:root{color-scheme:light;--ink:#20272d;--muted:#687279;--accent:#16685e;--accent-deep:#104e47;--paper:#f4f5f7;--line:#e1e5e8;--green-bg:#e8f3ed;--amber:#93601f;--amber-bg:#fbf2df;--blue:#426d9e;--blue-bg:#edf3fa;--red:#ad4c40;--shadow:0 12px 40px #182f3510;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #76bdb1;outline-offset:3px}button,a{ -webkit-tap-highlight-color:transparent}a{color:var(--accent);text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:1.85rem;line-height:1.2;font-weight:650;letter-spacing:-.055em}h2{font-size:1.08rem;font-weight:650;letter-spacing:-.025em}h3{font-size:1rem;font-weight:600}p{color:var(--muted)}small{font-size:.8125rem}.skip-link{position:fixed;top:-100px;left:16px;background:var(--accent);padding:12px;color:white;z-index:100}.skip-link:focus{top:12px}.topbar{position:fixed;inset:0 0 auto;height:76px;display:flex;align-items:center;gap:22px;padding:0 30px;background:white;border-bottom:1px solid var(--line);z-index:30}.brand{display:flex;align-items:center;width:180px;flex-shrink:0}.brand img{width:180px;height:auto;max-height:36px;object-fit:contain}.top-divider{height:24px;width:1px;background:var(--line)}.workspace-name{font-size:.875rem;color:var(--muted)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.local-label{font-size:.8125rem;color:var(--muted)}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;height:38px;width:38px;flex:0 0 38px;background:#e9eeed;color:#457066;font-size:.8125rem;font-weight:650}.workspace-avatar{background:#edf2f0;border:1px solid #d6e5e1}.sidebar{position:fixed;top:76px;bottom:0;left:0;width:230px;background:#fff;border-right:1px solid var(--line);padding:30px 16px 20px;z-index:20;display:flex;flex-direction:column}.nav-label{font-size:.6875rem;letter-spacing:.12em;font-weight:650;color:#8a949a;padding:0 14px 16px}.sidebar nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:7px;color:#687279;font-size:.875rem;font-weight:500;white-space:nowrap}.nav-link:hover{background:#f6f8f7}.nav-link[aria-current=page]{background:#e9f1ef;color:var(--accent);font-weight:650}.nav-link .icon{width:20px;height:20px}.sidebar-bottom{margin-top:auto;padding:24px 14px 0}.demo-pill{display:inline-block;color:var(--accent);font-size:.6875rem;letter-spacing:.08em;font-weight:700;border:1px solid #bfd6cf;background:#f3f8f6;padding:4px 8px;border-radius:4px}.sidebar-bottom p{font-size:.8125rem;line-height:1.65;margin:13px 0 12px}.byline{margin-top:28px;border-top:1px solid var(--line);padding-top:18px;font-size:.6875rem;color:#8a949a}.byline strong{color:#64716c;font-size:.625rem;letter-spacing:.12em;margin-left:4px}main{margin:76px 0 0 230px;padding:25px 34px 22px;max-width:1820px;min-height:calc(100vh - 76px)}.demo-banner{display:flex;align-items:center;gap:13px;border:1px solid #cbded7;background:#edf5f1;border-radius:7px;padding:12px 16px;margin-bottom:29px}.demo-icon{font-size:1.4rem;color:var(--accent)}.demo-banner p{font-size:.8125rem;color:#526a60;display:flex;gap:13px;flex-wrap:wrap}.demo-banner strong{color:#28614f;font-weight:650}.demo-browser{font-size:.75rem;white-space:nowrap;color:#648073;margin-left:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:.6875rem;letter-spacing:.13em;font-weight:650;text-transform:uppercase;color:#7d888e;margin:0 0 9px}.page-heading p{font-size:.875rem;margin-top:9px}.heading-actions{display:flex;gap:9px;align-items:center;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--accent);background:var(--accent);color:#fff;padding:10px 16px;border-radius:6px;font-weight:550;font-size:.875rem;line-height:1.45;min-height:42px;white-space:nowrap}.button:hover{background:var(--accent-deep);border-color:var(--accent-deep)}.button .icon{width:16px;height:16px}.button.secondary{color:#46545c;background:#fff;border-color:#d8dfe1}.button.secondary:hover{background:#f5f8f7;border-color:#b3c8c1}.button.subtle{color:#59666c;background:transparent;border-color:transparent}.button.subtle:hover{background:#f0f4f2}.button.small{padding:7px 11px;min-height:34px;font-size:.8125rem}.text-button{border:0;padding:0;background:none;font-weight:600;color:var(--accent);font-size:.8125rem;text-align:left}.text-button:hover{text-decoration:underline}.icon-button{height:36px;width:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;background:#fff}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:23px}.stat{background:#fff;border:1px solid var(--line);border-radius:9px;padding:19px 22px}.stat-top{display:flex;justify-content:space-between;color:var(--muted);font-size:.875rem;gap:10px}.stat-top .icon{color:#91a09c;width:18px;height:18px}.stat-value{font-size:2rem;letter-spacing:-.05em;font-weight:600;line-height:1.25;margin:9px 0 7px}.stat-note{font-size:.75rem;color:#8a949a}.stat-note.good{color:#488371}.stat-note.warning{color:var(--amber)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:23px;margin-bottom:23px}.surface{background:#fff;border:1px solid var(--line);border-radius:9px;padding:23px}.surface-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.surface-header p{font-size:.8125rem;margin-top:5px}.subtle-meta{font-size:.75rem;color:#8a949a}.chart-summary{display:flex;align-items:baseline;gap:10px;margin:13px 0}.chart-summary strong{font-size:1.7rem;letter-spacing:-.04em;font-weight:600}.chart-summary span{font-size:.8125rem;color:var(--muted)}.bar-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:18px;height:144px;border-bottom:1px solid var(--line);padding:0 12px;background:repeating-linear-gradient(to top,transparent 0px,transparent 35px,#eff2f3 36px);align-items:end}.chart-column{height:100%;display:flex;align-items:flex-end;justify-content:center;position:relative}.bar{width:100%;max-width:38px;background:#bcd7ce;border-radius:4px 4px 0 0;position:relative;min-height:6px}.bar.current{background:var(--accent)}.chart-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:18px;text-align:center;font-size:.75rem;color:#90999e;padding:10px 12px 0}.chart-note{font-size:.75rem;color:#8a949a;margin-top:16px}.scenario-card{border-radius:9px;background:#164c44;color:#fff;padding:25px;position:relative;overflow:hidden;display:flex;flex-direction:column}.scenario-card::after{content:'';position:absolute;width:220px;height:220px;border:1px solid #ffffff0a;border-radius:50%;right:-110px;top:-100px;box-shadow:0 0 0 28px #ffffff04,0 0 0 56px #ffffff04}.scenario-label{color:#abc8bf;font-size:.6875rem;font-weight:600;letter-spacing:.12em;margin-bottom:20px}.scenario-card h2{font-size:1.4rem;line-height:1.3;letter-spacing:-.035em;max-width:250px;font-weight:550}.scenario-card p{font-size:.875rem;color:#c2d7d0;margin:12px 0 22px;max-width:320px}.scenario-card .button{align-self:flex-start;margin-top:auto;background:#fff;color:#174d43;border-color:white}.scenario-card .scenario-foot{font-size:.75rem;color:#b0cbc2;margin:13px 0 0}.workflow-strip{display:flex;align-items:center;gap:9px;margin-bottom:20px;color:#bdd6cc;font-size:.8125rem;flex-wrap:wrap}.workflow-strip span{height:28px;border:1px solid #ffffff25;padding:3px 9px;border-radius:4px}.workflow-line{height:1px;background:#6e988a;width:16px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0}.segmented{display:flex;gap:4px;flex-wrap:wrap}.filter-button{border:0;background:transparent;color:var(--muted);border-radius:5px;font-size:.8125rem;padding:8px 12px;min-height:35px;display:inline-flex;gap:7px;align-items:center}.filter-button.active{background:#e9f1ef;color:var(--accent);font-weight:600}.filter-button span{font-size:.6875rem;background:#e8ebec;color:#728078;min-width:17px;padding:1px 4px;border-radius:4px}.filter-button.active span{background:#d5e7e1;color:#3f7262}.input-wrap{position:relative;max-width:260px;flex:1}.input-wrap .icon{position:absolute;left:12px;top:12px;width:16px;height:16px;color:#8a949a}input[type=search]{padding:10px 12px 10px 37px;width:100%;background:#fff;border:1px solid var(--line);border-radius:6px;font-size:.8125rem;min-height:40px;color:var(--ink)}.table-wrap{position:relative;overflow-x:auto;margin:0 -23px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:.75rem;font-weight:500;color:#879095;background:#fafbfc;padding:11px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{font-size:.875rem;padding:15px 22px;border-bottom:1px solid #edf0f1;vertical-align:middle}tr:last-child td{border-bottom:0}.person-cell{display:flex;align-items:center;gap:12px}.person-cell strong{display:block;font-size:.875rem;font-weight:600;line-height:1.4}.person-cell small{display:block;font-size:.75rem;color:#8a949a;margin-top:2px}.person-link{border:0;background:none;padding:0;text-align:left;color:var(--ink);cursor:pointer}.person-link:hover strong{color:var(--accent)}.person-cell .avatar{height:34px;width:34px;flex-basis:34px;font-size:.75rem}.avatar.tone-1{background:#ececf5;color:#7b6f9c}.avatar.tone-2{background:#f4eee7;color:#ab8868}.avatar.tone-3{background:#e5edf5;color:#6d8ca8}.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:5px;font-size:.75rem;font-weight:500;line-height:1.4;white-space:nowrap;background:#eff1f3;color:#71808a}.badge .icon{width:12px;height:12px}.badge.synced,.badge.success,.badge.approved{background:var(--green-bg);color:#3d7c61}.badge.attention,.badge.warning{background:var(--amber-bg);color:#956b2f}.badge.queued,.badge.info{background:var(--blue-bg);color:#5e7ea4}.badge.review{background:#f0edf7;color:#85729f}.badge.neutral{color:#788188;background:#f2f4f5}.level-tag{display:inline-flex;font-size:.75rem;border:1px solid #e0e5e7;color:#738087;padding:3px 8px;border-radius:4px}.destination-marks{display:flex;gap:5px}.destination-mark{display:inline-flex;align-items:center;justify-content:center;font-size:.625rem;font-weight:700;width:26px;height:26px;border-radius:5px;border:1px solid #e4e7e8;color:#6c7f7c;background:#fafbfb}.destination-mark.drive{color:#477b62}.destination-mark.kdrive{color:#4a8ca6}.table-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:17px;font-size:.75rem;color:#8a949a}.table-empty{text-align:center;padding:40px 16px;color:var(--muted)}.footer{padding:24px 0 0;display:flex;justify-content:space-between;gap:16px;font-size:.6875rem;color:#959da2}.live-state{display:inline-flex;align-items:center;gap:7px;font-size:.75rem;color:#638574;white-space:nowrap}.live-state::before{content:'';width:6px;height:6px;border-radius:50%;background:#6eaa85}.live-state.paused{color:var(--amber)}.live-state.paused::before{background:#bc9651}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.integration-card{display:flex;flex-direction:column}.integration-top{display:flex;align-items:flex-start;gap:15px;margin-bottom:18px}.provider-logo{width:46px;height:46px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1rem;font-weight:650;color:var(--accent);background:#f4f8f6}.provider-logo.gdrive{color:#43866b;background:#f4f8ed}.provider-logo.kdrive{color:#3b87a3;background:#edf7fb}.provider-logo.signnow{color:#c68935;background:#fff8eb}.provider-logo.slack{color:#865679;background:#f7eff4}.integration-top h2{margin-top:2px}.integration-top p{font-size:.8125rem;margin-top:4px}.integration-card>p{font-size:.875rem;min-height:42px}.integration-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#84918d;margin-top:22px;padding-top:17px;border-top:1px solid #edf0f1;gap:12px}.integration-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.toggle{display:inline-flex;align-items:center;gap:10px;font-size:.8125rem;color:#6c7779;cursor:pointer}.toggle input{appearance:none;width:34px;height:20px;border-radius:20px;background:#d4dce0;position:relative;margin:0;cursor:pointer;flex-shrink:0}.toggle input::before{content:'';position:absolute;top:3px;left:3px;height:14px;width:14px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:transform .18s}.toggle input:checked{background:var(--accent)}.toggle input:checked::before{transform:translateX(14px)}.notice{font-size:.875rem;padding:14px 17px;border:1px solid #ded6bd;border-radius:7px;background:#fcf8ec;color:#91763b;margin:18px 0}.notice.success{background:#edf5f1;border-color:#cbded7;color:#48745e}.rules-intro{display:flex;gap:22px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:22px}.rules-intro p{font-size:.875rem;max-width:640px}.rule-card{padding:21px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px}.rule-card:last-child{border-bottom:0}.rule-symbol{width:43px;height:43px;border-radius:9px;background:#edf4f1;display:flex;align-items:center;justify-content:center;color:#538c77;flex-shrink:0}.rule-info{flex:1}.rule-info h3{font-size:.9375rem;margin-bottom:5px}.rule-info p{font-size:.8125rem}.chip-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.chip{font-size:.75rem;border-radius:4px;background:#f2f4f6;padding:3px 7px;color:#7c8791}.rule-actions{display:flex;gap:20px;align-items:center}.two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:23px}.field{display:block;margin:0 0 20px;font-size:.875rem;font-weight:550}.field input,.field select{display:block;margin-top:8px;width:100%;padding:11px 12px;border:1px solid #dbe1e4;border-radius:6px;background:#fff;font-size:.875rem;color:#50616a}.field small{display:block;margin-top:7px;font-size:.75rem;color:#8a949a;font-weight:400}.field select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23708088' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.routing-preview{background:#fafcfa;border:1px solid #e4ebe7;padding:21px;border-radius:8px;margin-top:20px}.tree-row{display:flex;gap:10px;align-items:center;font-size:.875rem;color:#687a70;min-height:37px}.tree-row.root{color:var(--ink);font-weight:600}.tree-row.level-1{padding-left:24px}.tree-row.level-2{padding-left:48px}.tree-row.level-3{padding-left:72px}.tree-row .icon{width:18px;color:#a2b6a6}.path-output{margin-top:18px;border-top:1px solid #e1e8e3;padding-top:16px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:.75rem;line-height:1.7;color:#668573;overflow-wrap:anywhere}.activity-list{display:grid}.activity-item{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:start;gap:14px;padding:18px 0;border-bottom:1px solid #edf0f1}.activity-item:last-child{border-bottom:0}.activity-icon{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--green-bg);color:#65977d}.activity-icon.warning{color:#a68246;background:#fcf3df}.activity-icon.info{color:#7793b6;background:#edf3fb}.activity-icon .icon{width:14px;height:14px}.activity-copy strong{font-size:.875rem;font-weight:550}.activity-copy p{font-size:.8125rem;margin-top:5px}.activity-copy small{display:block;margin-top:5px;color:#8a949a;font-size:.75rem}.activity-time{color:#929b9f;font-size:.75rem;white-space:nowrap;padding-top:2px}.checkbox{accent-color:var(--accent);width:16px;height:16px;cursor:pointer}.selection-bar{display:flex;gap:16px;align-items:center;padding:13px 16px;margin:16px 0;background:#edf5f1;border:1px solid #cbded7;border-radius:6px;font-size:.875rem;color:#547968}.selection-bar .button{margin-left:auto}.selection-bar[hidden]{display:none}.cell-secondary{font-size:.8125rem;color:#899399}.button-row{display:flex;gap:10px;flex-wrap:wrap}.empty{padding:44px 20px;text-align:center}.empty p{font-size:.875rem;margin-top:9px}.empty .icon{height:30px;width:30px;margin-bottom:12px;color:#b0beb9}dialog{padding:0;border:1px solid #dbe2df;border-radius:12px;width:min(760px,calc(100vw - 36px));max-height:88vh;color:var(--ink);box-shadow:0 25px 100px #17352c38}dialog::backdrop{background:#172d355f;backdrop-filter:blur(3px)}.modal-head{padding:25px 27px 20px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:1.25rem;letter-spacing:-.035em}.modal-head p{font-size:.8125rem;margin-top:5px}.modal-body{padding:24px 27px}.modal-foot{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid var(--line);padding:18px 27px;background:#fafcfb}.modal-foot p{font-size:.75rem;margin-right:auto}.modal-body>p{font-size:.9375rem;line-height:1.7;margin-bottom:18px}.modal-body .surface-header{margin-top:25px}.detail-summary{display:flex;align-items:center;gap:16px}.detail-summary .avatar{height:50px;width:50px;flex-basis:50px;font-size:1rem}.detail-summary p{font-size:.875rem;margin-top:4px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.detail-meta span{display:block;font-size:.75rem;color:#929b9f;margin-bottom:6px}.detail-meta strong{font-weight:500;font-size:.875rem}.document-list{border:1px solid var(--line);border-radius:7px}.document-item{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #edf0f1}.document-item:last-child{border-bottom:0}.document-item>.icon{color:#9aaea6}.document-name{flex:1;min-width:0}.document-name strong{display:block;font-size:.8125rem;font-weight:500;overflow-wrap:anywhere}.document-name small{color:#98a29f;display:block;font-size:.75rem;margin-top:3px}.document-item .badge{font-size:.6875rem}.document-item .text-button{white-space:nowrap}.doc-paper{position:relative;overflow:hidden;border:1px solid var(--line);background:#fff;padding:30px;min-height:340px;border-radius:7px}.doc-watermark{font-size:4rem;letter-spacing:.1em;color:#e7ede9;position:absolute;top:150px;left:40px;transform:rotate(-24deg);font-weight:700;pointer-events:none;z-index:0}.doc-content{position:relative;z-index:1}.doc-paper .paper-top{display:flex;justify-content:space-between;font-size:.75rem;color:#7c9286;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:24px}.doc-paper h3{font-size:1.25rem;margin-bottom:20px}.doc-paper dl{display:grid;grid-template-columns:130px 1fr;gap:12px;font-size:.875rem;margin-bottom:28px}.doc-paper dt{color:#819087}.doc-paper dd{margin:0;color:#435d4b}.doc-paper p{font-size:.8125rem;max-width:420px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:10px}.check-label{display:flex;gap:10px;align-items:center;font-size:.875rem;color:#64766d}.check-label input{accent-color:var(--accent);height:17px;width:17px}.form-legend{font-size:.875rem;font-weight:550;margin-bottom:14px}.form-error{font-size:.875rem;color:var(--red);margin-top:15px}.steps{display:grid;gap:13px;margin:24px 0}.step{display:flex;align-items:center;gap:13px;font-size:.875rem;color:#9ba59f;min-height:35px}.step.done{color:#4b8267}.step.active{color:var(--accent)}.step-mark{width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid #dce5df;font-size:.75rem;flex-shrink:0}.step.done .step-mark{background:#e5f3e9;border-color:#e5f3e9}.step.active .step-mark{border:2px solid #bdd8cc;border-top-color:var(--accent);animation:spin .7s linear infinite}.sync-complete{display:flex;align-items:center;gap:12px;padding:15px;background:#edf6f0;border-radius:7px;color:#4a7c62;font-size:.875rem}.sync-complete.warning{color:#906926;background:#fbf4e5}.about-list{padding:0;list-style:none;display:grid;gap:18px;margin:25px 0}.about-list li{display:flex;align-items:flex-start;gap:13px;font-size:.875rem;color:#6d7e74}.about-list .icon{color:#558a70;margin-top:2px}.about-list strong{display:block;color:#375646;margin-bottom:4px}.toast{position:fixed;bottom:25px;left:calc(50% + 90px);transform:translateX(-50%);padding:13px 20px;border-radius:7px;background:#214d42;color:#fff;box-shadow:var(--shadow);font-size:.875rem;z-index:100;max-width:min(560px,calc(100vw - 32px))}.noscript{position:fixed;inset:120px 20% auto;background:white;border:1px solid var(--line);padding:32px;z-index:50}[hidden]{display:none!important}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){main{padding:32px 48px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr)}}
@media(max-width:1190px){main{padding:24px}.sidebar{width:205px}main{margin-left:205px}.topbar{padding:0 24px}.stats-grid{gap:12px}.stat{padding:17px}.demo-browser,.local-label{display:none}.dashboard-grid{gap:18px;grid-template-columns:1.25fr 1fr}.surface{padding:20px}.table-wrap{margin:0 -20px}th,td{padding-left:18px;padding-right:18px}.heading-actions{gap:7px}.button{padding:9px 12px}.page-heading h1{font-size:1.7rem}.toast{left:calc(50% + 90px)}}
@media(max-width:950px){.sidebar{width:185px;padding-left:10px;padding-right:10px}main{margin-left:185px;padding:20px}.nav-link{font-size:.8125rem;gap:9px;padding:12px}.nav-link .icon{width:18px}.sidebar-bottom{padding:18px 12px}.dashboard-grid,.two-column{grid-template-columns:1fr}.scenario-card{min-height:230px}.scenario-card h2,.scenario-card p{max-width:100%}.scenario-card .scenario-label{margin-bottom:12px}.scenario-card .workflow-strip{margin-bottom:14px}.scenario-card .scenario-foot{position:absolute;right:24px;bottom:26px}.stats-grid{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.topbar{gap:15px}.brand{width:157px}.brand img{width:157px}.rule-actions{gap:12px}.demo-banner p{display:block}.demo-banner p span{display:block;margin-top:3px}.integration-grid{grid-template-columns:1fr}.list-toolbar{flex-wrap:wrap}.input-wrap{max-width:100%;min-width:200px}.detail-meta{gap:10px}.footer{flex-direction:column;gap:6px}}
@media(max-width:650px){.topbar{height:64px;padding:0 16px;gap:12px}.brand,.brand img{width:151px}.top-divider,.workspace-name,.workspace-avatar{display:none}.top-actions{gap:0}.sidebar{position:sticky;top:64px;bottom:auto;margin-top:64px;width:auto;padding:7px 10px;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar .nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:3px;scrollbar-width:none}.nav-link{padding:10px 11px;font-size:.8125rem}.nav-link .icon{display:none}main{margin:0;padding:18px 16px;min-height:calc(100vh - 120px)}.demo-banner{margin-bottom:24px;padding:11px 12px;gap:10px;align-items:flex-start}.demo-banner p{font-size:.75rem}.demo-icon{font-size:1.2rem}.page-heading{flex-direction:column;gap:16px;margin-bottom:20px}.page-heading h1{font-size:1.75rem}.page-heading p{font-size:.8125rem}.heading-actions{justify-content:flex-start;width:100%;gap:9px}.heading-actions .live-state{margin-left:auto}.stats-grid{gap:10px;margin-bottom:18px}.stat{padding:16px}.stat-top{font-size:.75rem}.stat-top .icon{display:none}.stat-value{font-size:1.8rem}.stat-note{font-size:.6875rem}.surface{padding:18px}.surface-header h2{font-size:1rem}.surface-header p{font-size:.75rem}.dashboard-grid{gap:18px;margin-bottom:18px}.scenario-card{padding:22px;min-height:260px}.scenario-card .scenario-foot{position:static}.bar-chart{gap:12px;padding-left:3px;padding-right:3px}.chart-labels{gap:12px;padding-left:3px;padding-right:3px}.list-toolbar{margin-top:16px;gap:12px}.segmented{flex-wrap:nowrap;overflow-x:auto;width:100%;gap:0}.filter-button{white-space:nowrap;padding:8px 10px;font-size:.75rem}.input-wrap{width:100%}.table-wrap{margin:0 -18px}th,td{padding:13px 16px}.table-bottom{align-items:flex-start;font-size:.6875rem}.rule-card{flex-wrap:wrap;gap:12px}.rule-info{flex:1;min-width:180px}.rule-actions{width:100%;justify-content:flex-end}.integration-meta{flex-wrap:wrap;gap:9px}.integration-top{gap:12px}.integration-top h2{font-size:1rem}.integration-top p{font-size:.75rem}.selection-bar{font-size:.8125rem;gap:9px;flex-wrap:wrap}.selection-bar .button{margin-left:0}.activity-time{font-size:.6875rem;max-width:60px;white-space:normal;text-align:right}.activity-item{gap:10px;grid-template-columns:28px 1fr auto}.activity-copy strong{font-size:.8125rem}.activity-copy p{font-size:.75rem}.modal-head,.modal-body,.modal-foot{padding:20px}.modal-body>p{font-size:.875rem}.detail-meta{grid-template-columns:1fr 1fr}.document-item{padding:12px;gap:8px}.document-item>.icon{display:none}.document-item .badge{display:none}.doc-paper{padding:20px}.doc-paper dl{grid-template-columns:90px 1fr;font-size:.8125rem}.doc-watermark{font-size:3rem;left:12px}.checks{grid-template-columns:1fr}.modal-foot{flex-wrap:wrap}.modal-foot p{width:100%;margin-bottom:5px}.toast{left:50%;bottom:16px;width:max-content}.tree-row.level-3{padding-left:48px}.tree-row.level-2{padding-left:32px}.tree-row.level-1{padding-left:16px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.field-note{font-size:.8125rem;line-height:1.65;color:#7a8980;margin-top:20px}.test-feedback{font-size:.8125rem!important;color:#397c62;min-height:0!important;margin-top:14px}.test-feedback:empty{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep workspace actions and document status readable at every viewport. */
.nav-link,.button.small,.text-button,.filter-button,.filter-button span,
input[type=search],th,.badge,.document-item .badge,.level-tag,.chip,.toggle,
.stat-top,.live-state,.integration-meta,.document-name strong,.document-name small,
.detail-meta span,.activity-copy strong,.activity-copy p,.activity-time,
.demo-banner p,.demo-browser,.table-bottom,.selection-bar{font-size:.875rem}
.test-feedback{font-size:.875rem!important}
th,.filter-button,.toggle,.cell-secondary,.level-tag,.document-name small,
.detail-meta span,.activity-copy small,.activity-time,.table-bottom,.field small,
.field-note,.subtle-meta{color:var(--muted)}
.badge,.badge.neutral,.chip{color:#59666e}
.badge.synced,.badge.success,.badge.approved{color:#326a50}
.badge.attention,.badge.warning{color:#805920}
.badge.queued,.badge.info{color:#365e89}
.badge.review{color:#655181}
.filter-button span{color:#526068}
.filter-button.active span{color:#305e50}
.live-state{color:#3d6d58}
.live-state.paused{color:var(--amber)}
.detail-meta .badge{display:inline-flex;margin-bottom:0}
@media(max-width:650px){
  .document-item{flex-wrap:wrap;align-items:center;gap:10px}
  .document-name{flex:1 1 100%;min-width:0}
  .document-item .badge{display:inline-flex;max-width:100%;white-space:normal}
  .document-item .text-button{margin-left:auto;min-height:36px;display:inline-flex;align-items:center}
  .activity-item{grid-template-columns:28px minmax(0,1fr)}
  .activity-time{grid-column:2;max-width:none;white-space:normal;text-align:left;padding-top:0}
  .integration-actions{flex-wrap:wrap}
  .demo-banner p{line-height:1.55}
}

.integration-group{margin-top:30px}.integration-group-heading{margin-bottom:16px}.integration-group-heading h2{font-size:1.125rem}.integration-group-heading p{font-size:.875rem;margin-top:5px}.integration-top h3{font-size:1.0625rem;margin-top:2px}.provider-logo.email{color:#365e89;background:#edf3fa}.integration-meta{margin-top:auto}.integration-card>p{margin-bottom:20px}

/* Dashboard filters and charts share the successful-applicant view. */
.dashboard-filters{margin-bottom:28px}.dashboard-toolbar{display:flex;gap:18px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}.dashboard-ranges{background:#e9edef;padding:4px;border-radius:7px;gap:2px}.dashboard-ranges .active{background:#fff;box-shadow:0 1px 3px #20272d12}.dashboard-scope{display:flex;gap:12px;flex-wrap:wrap}.dashboard-filter-field{display:flex;flex-direction:column;gap:6px;font-size:.875rem;color:var(--muted);position:relative}.dashboard-filter-field select{appearance:none;-webkit-appearance:none;padding:9px 35px 9px 12px;min-height:42px;border:1px solid #d8dfe1;background:#fff;color:var(--ink);border-radius:6px;font-size:.875rem;max-width:100%}.dashboard-filter-field::after{content:'';position:absolute;right:14px;bottom:18px;width:6px;height:6px;border-right:1.5px solid #687279;border-bottom:1.5px solid #687279;transform:rotate(45deg);pointer-events:none}.dashboard-filter-field select:disabled{background:#eef1f2;color:#6c777d}.dashboard-range-label{font-size:.875rem;margin:14px 0}.dashboard-extra-filters{display:flex;align-items:flex-start;gap:22px}.dashboard-extra-filters .toggle{flex-shrink:0;min-height:24px}.dashboard-extra-filters p{font-size:.875rem;max-width:700px}.dashboard-section-heading{margin-bottom:16px}.dashboard-metric{min-width:0}.dashboard-metric .surface-header{align-items:flex-start}.dashboard-source{flex-shrink:0}.dashboard-total{font-size:2.75rem;line-height:1.15;letter-spacing:-.06em;font-weight:650;margin-top:12px}.dashboard-metric-caption{font-size:.9375rem;margin-top:8px}.dashboard-breakdown,.dashboard-overall{font-size:.875rem;margin-top:8px}.dashboard-chart{width:100%;min-width:0;margin-top:24px;overflow:hidden}.dashboard-plot{display:block;width:100%;height:160px;max-width:100%;overflow:hidden}.dashboard-chart-labels{display:flex;justify-content:space-around;gap:8px;font-size:.875rem;color:var(--muted);white-space:nowrap}.dashboard-sample-note{font-size:.8125rem;line-height:1.6;margin-top:10px}.dashboard-metric .chart-note{color:var(--muted);font-size:.875rem;line-height:1.6}.health-details{margin:0;display:grid;gap:0}.health-details>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #edf0f1;font-size:.875rem}.health-details dt{color:var(--muted)}.health-details dd{margin:0;color:var(--accent);font-weight:600}.health-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.health-counts>div{padding:14px;background:#f5f8f7;border-radius:6px}.health-counts strong{font-size:1.5rem;display:block;font-weight:600}.health-counts span{font-size:.875rem;color:var(--muted)}.dashboard-health .field-note{font-size:.875rem;margin-top:16px}.dashboard-try{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.dashboard-try p{font-size:.875rem;margin:8px 0 16px}.dashboard-try small{display:block;margin-top:10px;color:var(--muted)}.dashboard-applicants-header{flex-wrap:wrap}.dashboard-applicants-header .input-wrap{min-width:260px;max-width:320px}.dashboard-client-email{display:block;margin:5px 0 0 46px;font-size:.8125rem;color:var(--muted)}
@media(max-width:1190px){.dashboard-toolbar{align-items:flex-start}.dashboard-scope{width:100%}.dashboard-metric .surface-header{flex-wrap:wrap}}
@media(max-width:650px){.dashboard-ranges{width:100%;flex-wrap:wrap;overflow:visible}.dashboard-ranges .filter-button{flex:1 1 30%;justify-content:center;padding:9px 6px}.dashboard-scope{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dashboard-filter-field{min-width:0}.dashboard-filter-field select{width:100%;padding-left:9px}.dashboard-extra-filters{flex-direction:column;gap:12px}.dashboard-chart-labels{font-size:.875rem;gap:3px}.dashboard-applicants-header .input-wrap{min-width:0;max-width:100%;flex-basis:100%}.dashboard-client-email{margin-left:0}.dashboard-source{max-width:100%}.dashboard-total{font-size:2.5rem}.dashboard-plot{height:160px}.nav-link[href="#integrations"] .icon{display:inline-block;width:17px;height:17px}.integration-group{margin-top:26px}}

.dashboard-chart-labels{gap:0;padding:0 1.6129%;height:22px}.dashboard-chart-label-cell{flex:1;min-width:0;position:relative}.dashboard-chart-label-cell span{position:absolute;left:50%;transform:translateX(-50%)}.dashboard-chart-label-cell:first-child span{left:0;transform:none}.dashboard-chart-label-cell:last-child span{right:0;left:auto;transform:none}

.dashboard-chart-label-cell:only-child span{left:50%;right:auto;transform:translateX(-50%)}

/* Folder setup keeps the shared naming and nested layout in one settings form. */
.folder-settings.surface{padding:0;min-width:0;overflow:hidden}
.folder-settings .settings-section{padding:25px 26px}
.folder-settings .settings-section+.settings-section{border-top:1px solid var(--line)}
.folder-settings .settings-section>h2{font-size:1.0625rem;margin-bottom:9px}
.folder-settings .settings-section p,.settings-note,.settings-feedback,.rule-folder-summary{font-size:.875rem;line-height:1.6}
.folder-settings .settings-section>p{max-width:960px;margin-bottom:20px}
.settings-controls{display:grid;gap:18px;margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}
.settings-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.875rem;font-weight:500;color:var(--ink)}
.settings-field input:not([type=checkbox]):not([type=radio]),.settings-field select,.settings-field textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:42px;border:1px solid #d8dfe1;border-radius:6px;background-color:#fff;padding:10px 12px;color:var(--ink);font:inherit;font-size:.875rem;font-weight:400;line-height:1.5}
.settings-field select{appearance:none;-webkit-appearance:none;padding-right:36px;background-image:linear-gradient(45deg,transparent 50%,#687279 50%),linear-gradient(135deg,#687279 50%,transparent 50%);background-position:calc(100% - 17px) 19px,calc(100% - 12px) 19px;background-size:5px 5px;background-repeat:no-repeat;text-overflow:ellipsis}
.settings-field textarea{min-height:116px;resize:vertical}
.settings-field input::placeholder,.settings-field textarea::placeholder{color:var(--muted);opacity:1}
.settings-field input:disabled,.settings-field select:disabled,.settings-field textarea:disabled{background-color:#eef1f2;color:var(--muted);cursor:not-allowed}
.settings-field small{font-size:.875rem;font-weight:400;color:var(--muted)}
.settings-options{display:grid;gap:12px;padding:16px 18px;background:#f6f8f7;border:1px solid var(--line);border-radius:7px}
.settings-options p,.settings-note{color:var(--muted)}
.settings-toggle{align-items:flex-start;min-height:24px;font-size:.875rem;line-height:1.6}
.settings-toggle input{flex-shrink:0;margin-top:2px}
.folder-subfolders{margin:6px 0 18px;min-width:0}
.folder-subfolders .subfolder-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}
.folder-subfolders .subfolder-row:last-child{border-bottom:0}
.folder-subfolders .subfolder-row .settings-field{margin:0}
.folder-subfolders .subfolder-row button{min-height:42px;margin:0;white-space:nowrap}
.suggested-folders,.folder-preview-details{margin-top:20px;padding:16px 18px;background:#f5f8f6;border:1px solid var(--line);border-radius:7px;min-width:0}
.suggested-folders>summary,.folder-preview-details>summary{cursor:pointer;font-size:.875rem;font-weight:600;color:var(--accent);line-height:1.6}
.suggested-folders[open]>summary,.folder-preview-details[open]>summary{margin-bottom:14px}
.suggested-folders p,.folder-preview-details p{font-size:.875rem;margin-bottom:16px}
.suggested-folders .settings-field,.folder-preview-details .settings-field{margin-bottom:14px}
.folder-preview-details{background:#fafbfb}
.folder-tree,.folder-tree ul{list-style:none;min-width:0;padding:0;margin:0;font-size:.875rem}
.folder-tree{margin-top:18px}
.folder-tree ul{padding-left:18px;margin-left:8px;border-left:1px solid #d9e3df}
.folder-tree li{min-width:0;padding:3px 0}
.tree-label{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:6px 0;color:#435d52;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
.tree-label svg{width:18px;height:18px;flex:0 0 18px;margin-top:1px;color:var(--accent)}
.settings-save-bar{position:sticky;bottom:0;z-index:15;display:flex;align-items:center;gap:12px;margin-top:18px;padding:17px 22px;border:1px solid var(--line);border-radius:9px;background:#fffffff5;box-shadow:0 -5px 20px #1d303208}
.settings-save-bar .settings-feedback{flex:1;min-width:0;color:var(--muted);margin:0}
.settings-feedback.error{color:var(--red)}
.settings-feedback:empty{display:none}
.settings-save-bar button{flex-shrink:0;min-height:42px;font-size:.875rem}
.settings-save-bar button:first-of-type{margin-left:auto}
.rule-folder-summary{display:block;margin-top:8px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:650px){
  .folder-settings .settings-section{padding:22px 18px}
  .settings-controls{gap:16px;margin-top:18px;padding-top:18px}
  .settings-options,.suggested-folders,.folder-preview-details{padding:14px}
  .folder-subfolders .subfolder-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px 0}
  .folder-subfolders .subfolder-row button{justify-self:start}
  .settings-field{width:100%}
  .folder-tree ul{padding-left:12px;margin-left:6px}
  .settings-save-bar{flex-wrap:wrap;gap:10px;padding:14px 15px max(14px,env(safe-area-inset-bottom));margin-top:16px}
  .settings-save-bar .settings-feedback{flex:1 1 100%}
  .settings-save-bar button{flex:1 1 auto}
  .settings-save-bar button:first-of-type{margin-left:0}
}
