@charset "UTF-8";
svg{width:19px;height:19px;flex-shrink:0;display:inline-block;vertical-align:middle}
.hero-label svg{width:13px;height:13px}.workspace>svg{width:19px;height:19px}.nav a>svg{width:19px;height:19px}.sidebar{overflow-y:auto}
:root{--ink:#1c3029;--muted:#7c8781;--green:#237653;--green-light:#e9f4ec;--line:#e3e7e2;--paper:#fff;--bg:#f6f7f4;--side:#153b31;--amber:#b27b20;--shadow:0 12px 42px #20382b0a;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:var(--green);text-decoration:none}button svg,.icon{width:19px;height:19px;flex:none}svg{stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.app{min-height:100vh;display:grid;grid-template-columns:226px minmax(0,1fr)}.sidebar{background:var(--side);color:#d8e4de;padding:31px 20px 20px;position:fixed;inset:0 auto 0 0;width:226px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;color:white;padding:0 7px}.brand-mark{width:37px;height:37px;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px}.brand-mark i{background:#9ce2be;border-radius:3px}.brand-mark i:last-child{opacity:.45}.brand strong{font-size:21px;letter-spacing:-.7px}.brand small{font-size:10px;letter-spacing:2.5px;color:#9eb9ad;display:block;margin-top:4px}.workspace{margin:35px 6px 27px;padding:12px 13px;border:1px solid #ffffff18;border-radius:8px;display:flex;gap:10px;align-items:center;font-size:12px;color:#e1eee6}.workspace small{display:block;color:#8eafa0;font-size:10px;margin-top:4px}.workspace>span:last-child{margin-left:auto;color:#8ab49e}.nav-caption{font-size:10px;letter-spacing:1px;color:#7fa08e;margin:0 13px 10px}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:12px;color:#a9c1b5;font-size:13px;padding:12px 14px;border-radius:7px;transition:.15s}.nav a:hover{background:#ffffff08;color:white}.nav a.active{background:#a1dfb217;color:#bdedc6}.nav a.active:before{content:"";width:3px;height:17px;position:absolute;left:20px;background:#8bdd9f;border-radius:4px}.nav .count{margin-left:auto;font-size:10px;background:#e3f5e620;border-radius:4px;padding:2px 6px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff15;padding:21px 9px 0}.local-note{display:flex;align-items:center;gap:8px;color:#8db4a0;font-size:11px;margin-bottom:20px}.dot{display:inline-block;background:#72cb9b;width:6px;height:6px;border-radius:50%;flex:none}.dot.off{background:#c8b66f}.account{border:0;background:none;color:#e1eae4;padding:0;display:flex;align-items:center;gap:10px;width:100%;text-align:left}.avatar{width:32px;height:32px;border:1px solid #688471;border-radius:50%;display:grid;place-items:center;color:#bdceb9;font-size:11px}.account strong{font-size:12px;font-weight:500;display:block}.account small{display:block;font-size:10px;color:#89a996;margin-top:2px}.account>svg{margin-left:auto}.main{grid-column:2;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffb0;display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:15px}.crumb{font-size:12px;color:#8c968f;display:flex;align-items:center;gap:13px}.crumb strong{color:#3c5346;font-weight:500}.top-actions{display:flex;gap:17px;align-items:center;font-size:11px;color:#7e8b81}.status-dot{display:flex;align-items:center;gap:6px}.top-actions a{color:#708678;display:flex;gap:5px;align-items:center}.top-actions a svg{width:14px;height:14px}.content{max-width:1550px;margin:auto;padding:35px 42px 42px}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a958c;margin-bottom:10px}.page-header h1{font-size:27px;font-weight:600;letter-spacing:-.7px;margin:0 0 9px}.page-header p{color:var(--muted);font-size:12px;margin:0;line-height:1.7}.actions{display:flex;gap:9px;align-items:center}.btn{border:1px solid var(--line);background:white;color:#506455;border-radius:6px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:500;white-space:nowrap;line-height:1.3;transition:.15s}.btn:hover{border-color:#b2c9b7;background:#fbfcfa}.btn.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 6px #1a523911}.btn.primary:hover{background:#1c6244}.btn.sm{padding:7px 10px;font-size:11px}.btn.ghost{background:transparent;border-color:transparent;padding:6px 8px}.btn.danger{color:#b65449}.btn svg{width:15px;height:15px}.hero{border:1px solid #d5e5d7;background:#edf3e9;border-radius:10px;padding:28px 32px;display:flex;justify-content:space-between;gap:20px;overflow:hidden;position:relative;min-height:165px;margin-bottom:27px}.hero:after{content:"";position:absolute;right:-65px;top:-55px;border:1px solid #bfcfbc80;border-radius:50%;width:350px;height:350px;pointer-events:none}.hero-label{color:#638066;display:flex;gap:6px;font-size:10px;align-items:center;letter-spacing:1px;margin-bottom:12px}.hero h2{font-size:22px;font-weight:500;margin:0 0 10px;letter-spacing:-.6px}.hero p{font-size:12px;color:#7b8a75;margin:0;line-height:1.8}.hero .btn{margin-top:18px;background:#fff9;border-color:#c6d8c4}.hero-flow{display:flex;align-items:center;gap:15px;z-index:1;padding:15px 18px}.flow-node{background:#ffffff70;border:1px solid #cfddcd;border-radius:9px;text-align:center;width:76px;height:83px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;font-size:10px;color:#617558;box-shadow:0 8px 16px #4b654807}.flow-node svg{width:25px;height:25px;stroke-width:1.3}.flow-arrow{color:#9fb095;font-size:17px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:9px;padding:24px 10px;margin-bottom:30px;box-shadow:var(--shadow)}.metric{padding:0 22px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric .label{color:#839185;font-size:11px;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.metric .label svg{width:16px;height:16px;color:#b1bcb0}.metric .number{font-size:29px;letter-spacing:-1.1px;font-weight:500;font-variant-numeric:tabular-nums}.metric .unit{font-size:11px;color:#849083;margin-left:7px}.metric small{display:block;font-size:10px;color:#9aa297;margin-top:8px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.section-title h2{font-size:15px;font-weight:600;margin:0;display:flex;align-items:center;gap:10px}.section-title .sub{font-size:11px;color:#a1a99e;font-weight:400}.section-title a{font-size:11px;display:flex;align-items:center;gap:5px}.section-title a svg{width:13px;height:13px}.panel{background:white;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:19px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:500}.panel-body{padding:24px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}.data-table th{font-weight:500;font-size:10px;color:#8e998b;background:#fbfcfa;padding:14px 22px;border-bottom:1px solid var(--line)}.data-table td{padding:17px 22px;border-bottom:1px solid #edf0e9;color:#63745f}.data-table tbody tr:last-child td{border-bottom:0}.data-table tr:hover td{background:#fafcf8}.dataset-cell{display:flex;gap:11px;align-items:center;color:#364e3a}.file-badge{width:33px;height:37px;border:1px solid #d3dfcf;border-radius:5px;display:grid;place-items:center;color:#719c6b;background:#f3f8ef}.file-badge svg{width:18px;height:18px}.dataset-cell strong{font-weight:500;font-size:12px;display:block;max-width:270px;overflow:hidden;text-overflow:ellipsis}.dataset-cell small{color:#9ba897;font-size:10px;display:block;margin-top:5px}.pill{padding:4px 8px;border-radius:4px;background:#edf5e9;color:#668558;font-size:10px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.pill.warning{color:#a98537;background:#fbf3e2}.pill.error{color:#b26359;background:#f9ece7}.pill.neutral{color:#899382;background:#f0f2ec}.empty{padding:43px 24px;text-align:center;color:#929d8d}.empty .empty-icon{width:49px;height:49px;border:1px solid #e0e7db;display:grid;place-items:center;border-radius:10px;margin:0 auto 15px;background:#f8faf5;color:#b0bea9}.empty .empty-icon svg{width:24px;height:24px}.empty h3{font-size:13px;color:#657b5e;font-weight:500;margin:0 0 8px}.empty p{font-size:11px;line-height:1.8;margin:0 auto 17px;max-width:450px}.overview-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:23px;margin-top:28px}.small-job{display:flex;gap:12px;align-items:center;padding:15px 23px;border-bottom:1px solid #edf0e9}.small-job:last-child{border:0}.small-job .details{flex:1}.small-job strong{display:block;font-size:11px;font-weight:500;margin-bottom:5px}.small-job small{font-size:10px;color:#9ca794}.small-job .job-symbol{width:29px;height:29px;border-radius:50%;background:#eef4e8;display:grid;place-items:center;color:#799b66}.small-job svg{width:14px;height:14px}.guide{padding:23px 24px;display:grid;gap:20px}.guide-step{display:flex;gap:13px}.guide-step b{border:1px solid #d9e3d2;background:#f6f9f1;color:#8aa477;font-size:10px;font-weight:500;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex:none}.guide-step strong{display:block;font-size:11px;font-weight:500;margin:2px 0 6px;color:#506b46}.guide-step p{font-size:10px;color:#98a38e;line-height:1.7;margin:0}.footnote{margin-top:28px;font-size:10px;color:#a0a99a;display:flex;align-items:center;gap:6px}.footnote svg{width:12px;height:12px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}.input-search{position:relative;max-width:320px;width:100%}.input-search svg{position:absolute;left:12px;top:12px;width:15px;height:15px;color:#a3af9a}.input-search input{padding-left:37px}.input,select{width:100%;padding:10px 12px;border:1px solid #dce3d7;border-radius:6px;background:#fff;color:#4a6241;font-size:12px;min-height:38px}.input:focus,select:focus{outline:2px solid #a3c49b55;border-color:#7ba76d}.input::placeholder{color:#a9b29f}.form-label{display:block;font-size:11px;color:#74836a;margin-bottom:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.help{font-size:10px;color:#9ba88f;line-height:1.8;margin:8px 0 0}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:25px}.step{display:flex;align-items:center;gap:9px;color:#a8b19b;font-size:11px;position:relative;padding-right:20px}.step:not(:last-child):after{content:"";height:1px;background:#e0e6d7;flex:1;margin:0 4px 0 11px}.step b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;border:1px solid #dbe3d2;color:#9baa8b;font-size:10px;font-weight:500;flex:none}.step.active{color:#5a7a47}.step.active b{background:#e5f2dd;color:#668b4f;border-color:#bed4b1}.step.done b{background:#6c9560;color:white;border-color:#6c9560}.import-grid{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:24px;align-items:start}.dropzone{margin:23px;border:1px dashed #c8d8be;background:#f8fbf4;border-radius:8px;min-height:202px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;cursor:pointer;transition:.15s}.dropzone:hover,.dropzone.drag{background:#eff7e7;border-color:#87ac70}.upload-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:11px;background:#e9f2df;color:#8aa970;margin-bottom:15px}.upload-icon svg{width:25px;height:25px}.dropzone strong{font-size:12px;color:#687c58;font-weight:500}.dropzone p{font-size:10px;color:#a0ac91;margin:8px 0 0}.selected-file{display:flex;align-items:center;gap:14px;margin:23px;padding:17px;border:1px solid #dce7d5;border-radius:7px;background:#f9fbf6}.selected-file .file-details{min-width:0;flex:1}.selected-file strong{display:block;font-size:12px;font-weight:500;word-break:break-all}.selected-file small{display:block;color:#96a486;font-size:10px;margin-top:5px}.progress-area{padding:0 23px 23px}.progress-header{display:flex;justify-content:space-between;font-size:10px;color:#8aa277;margin-bottom:8px}.progress-track{height:5px;border-radius:8px;background:#e8eee1;overflow:hidden}.progress-track div{height:100%;background:#87ac6d;border-radius:8px;transition:width .2s}.upload-options{padding:0 23px 23px}.mapping-table input{padding:7px 9px;font-size:11px;max-width:180px;min-height:31px}.mapping-table select{font-size:11px;min-height:31px;padding:6px 8px;min-width:90px}.mapping-table td,.mapping-table th{padding:11px 14px}.check{width:14px;height:14px;accent-color:#6d925b}.mapping-scroll{max-height:400px;overflow:auto}.mapping-scroll th{position:sticky;top:0;z-index:1}.import-aside .panel{margin-bottom:17px}.aside-copy{padding:22px}.aside-copy h3{font-size:12px;font-weight:500;margin:0 0 12px}.aside-copy p{font-size:10px;color:#96a28a;line-height:1.9;margin:0 0 13px}.aside-stat{padding:12px 0;display:flex;justify-content:space-between;font-size:10px;border-top:1px solid #e7ecdf;color:#9ba78e}.aside-stat strong{font-weight:500;color:#60784e}.notice{border:1px solid #e8ddb8;background:#fbf8ed;color:#9b8650;padding:11px 14px;border-radius:6px;font-size:11px;line-height:1.7;margin-top:16px}.notice.error{color:#ad6c58;border-color:#ebd6cb;background:#fcf2eb}.notice.info{color:#739267;border-color:#dbe6d2;background:#f4f9ee}.mapping-footer{padding:20px 23px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);gap:12px}.mapping-footer small{color:#9aaa8d;font-size:10px}.section-gap{margin-top:22px}.query-panel{padding:23px;margin-bottom:24px}.query-heading{display:grid;grid-template-columns:minmax(190px,320px) 1fr;gap:20px;align-items:end;margin-bottom:19px;padding-bottom:20px;border-bottom:1px solid var(--line)}.query-hint{color:#9baa8e;font-size:10px;line-height:1.8}.filter-row{display:grid;grid-template-columns:1fr 130px 1.6fr 28px;gap:10px;margin-bottom:10px}.filter-remove{border:0;background:transparent;color:#a4b596;display:grid;place-items:center}.filter-remove svg{width:15px;height:15px}.query-actions{display:flex;justify-content:space-between;align-items:center;margin-top:17px;gap:10px}.result-meta{display:flex;gap:10px;font-size:10px;color:#8f9e80;align-items:center}.result-table td{max-width:330px;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;white-space:pre;vertical-align:top}.result-table .row-number{color:#b0b9a6;font-size:10px}.result-table th svg{width:10px;height:10px;vertical-align:middle;color:#a5b995;margin-left:5px}.pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 23px;border-top:1px solid var(--line);font-size:10px;color:#9ca98c}.job-progress{min-width:130px}.job-progress small{font-size:10px;color:#9faa94;display:block;margin-top:7px}.job-progress .progress-track{height:3px;margin-top:8px}.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.setting-line{display:flex;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);font-size:11px;color:#95a285}.setting-line:last-child{border:0}.setting-line strong{font-weight:500;color:#5e7551}.mono{font-family:Consolas,"Cascadia Mono",monospace;font-size:10px;color:#8ea17d}.toasts{position:fixed;right:25px;bottom:25px;z-index:100;display:grid;gap:8px;max-width:min(400px,90vw)}.toast{border:1px solid #d8e4cd;border-radius:7px;box-shadow:0 10px 35px #273c2220;padding:14px 18px;background:white;font-size:12px;line-height:1.6;color:#60794e;animation:toast-in .2s ease}.toast.error{border-color:#efd2c4;color:#ac735e}.toast.info{color:#85956d}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}dialog{border:1px solid #dce5d4;padding:0;border-radius:12px;background:white;color:var(--ink);width:min(570px,calc(100vw - 36px));box-shadow:0 25px 100px #1c301f33}dialog::backdrop{background:#15332266;backdrop-filter:blur(3px)}.dialog-head{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-size:17px;font-weight:500;margin:0}.dialog-body{padding:24px 26px}.dialog-body p{font-size:12px;color:#8a9b79;line-height:1.9;margin:0 0 20px}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.dialog-close{border:0;background:transparent;color:#9aab8a;padding:4px}.dialog-close svg{width:18px;height:18px}.login-icon{width:42px;height:42px;border:1px solid #d2e2c6;background:#f3f8ec;border-radius:9px;display:grid;place-items:center;margin-bottom:16px;color:#86a471}.login-icon svg{width:22px;height:22px}.error-text{font-size:11px;color:#b67d66;margin:12px 0 0}.mobile-menu{display:none;border:0;background:transparent;color:#7a9164;padding:4px}.loading{opacity:.55;pointer-events:none}.busy-mark{display:inline-block;width:12px;height:12px;border:1.5px solid #c9dac2;border-top-color:var(--green);border-radius:50%;animation:spin .9s linear infinite;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.muted{color:#a1af92!important}.hidden{display:none!important}button:focus-visible,a:focus-visible{outline:2px solid #85b371}::selection{background:#dceecb}
@media(min-width:1550px){.content{padding-top:43px}.hero{min-height:180px}}@media(max-width:1100px){.content{padding:28px}.topbar{padding:0 28px}.hero-flow{gap:9px;padding-right:0}.flow-node{width:60px;height:72px}.import-grid{grid-template-columns:1fr}.import-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.metric{padding:0 15px}.metric .number{font-size:24px}.overview-bottom{grid-template-columns:1fr 1fr}}@media(max-width:800px){.app{grid-template-columns:1fr}.main{grid-column:1}.sidebar{transform:translateX(-100%);transition:transform .2s;width:226px}.app.menu-open .sidebar{transform:translateX(0);box-shadow:10px 0 40px #172d2333}.topbar{height:64px;padding:0 20px}.mobile-menu{display:inline-flex}.crumb{margin-right:auto}.top-actions{gap:12px}.top-actions .docs-label{display:none}.content{padding:25px 20px}.page-header h1{font-size:24px}.hero{padding:25px}.hero-flow{display:none}.hero h2{font-size:21px}.metrics{grid-template-columns:1fr 1fr;row-gap:25px;padding:22px 5px}.metric:nth-child(2){border:0}.metric .number{font-size:25px}.overview-bottom,.system-grid{grid-template-columns:1fr}.data-table td,.data-table th{padding-left:16px;padding-right:16px}.import-aside{grid-template-columns:1fr}.import-aside .panel{margin:0}.steps{gap:5px}.step{gap:5px;padding-right:0;font-size:10px}.step:not(:last-child):after{display:none}.form-grid{grid-template-columns:1fr}.filter-row{grid-template-columns:1fr 90px 1.2fr 23px;gap:6px}.query-heading{grid-template-columns:1fr}.query-hint{display:none}.query-panel{padding:18px}.filter-row .input,.filter-row select{font-size:11px;padding:8px}.page-header{align-items:flex-start}.actions{flex-wrap:wrap;justify-content:flex-end}.page-header p{max-width:250px}.mapping-footer{align-items:flex-end}.section-title .sub{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Readable secondary text on light surfaces. */
.query-annotation-help{margin:14px 23px}.result-table td.query-note{min-width:180px;max-width:360px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.result-table td.query-mark{min-width:100px}
.extract-controls,.user-create{display:grid;grid-template-columns:minmax(180px,1fr) 180px auto;gap:18px;align-items:end}.batch-toolbar{display:flex;gap:12px;align-items:center;margin-top:20px;font-size:12px}.batch-toolbar select{max-width:480px}.extract-scroll{max-height:680px;overflow:auto}.extract-table th{position:sticky;top:0;z-index:1}.extract-value{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:pre}.extract-table td{vertical-align:top}.extract-table .note-cell{min-width:280px;white-space:normal}.note-cell textarea{resize:vertical;min-width:240px;font:inherit;font-size:12px;line-height:1.5}.note-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}.note-actions small{font-size:10px;color:#68765f}.note-actions .error-text{color:#ad6c58}.mark-button{min-width:80px}.mark-button.marked{background:#e7f3e8;border-color:#bed8bc;color:#367b45}.user-create{margin-top:20px;grid-template-columns:1fr 1fr auto}.token-login{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:12px}.token-login summary{cursor:pointer;margin-bottom:12px}.token-login .help{font-size:11px;margin-bottom:15px}.logout-button{width:100%;margin-bottom:12px;background:transparent;color:#dce9d7;border-color:#678375}.logout-button:hover{background:#365744}.extract-table .row-number{font-size:11px;color:#68765f}
@media(max-width:800px){.extract-controls,.user-create{grid-template-columns:1fr}.batch-toolbar{flex-wrap:wrap}.batch-toolbar select{max-width:100%;flex:1;min-width:160px}.extract-scroll{max-height:65vh}.extract-controls .btn{justify-self:end}}
:root{--muted:#66735f}.help,.query-hint,.guide-step p,.empty p,.metric small,.metric .label,.footnote,.dataset-cell small,.data-table th,.selected-file small,.dropzone p,.aside-copy p,.aside-stat,.mapping-footer small,.result-meta,.pagination{color:#68765f}.hero p{color:#63705b}.muted{color:#68765f!important}
.user-metrics{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:12px}.user-metrics .metric{min-width:0;padding:0 16px}.user-metrics .number{overflow-wrap:anywhere}.overview-period{font-size:11px;color:var(--muted);margin:0 0 28px}.user-statistics-table th:not(:first-child),.user-statistics-table td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.user-statistics-table td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:160px}.user-statistics-table td .pill{margin-left:10px}.user-statistics-help{margin:0}#user-work-statistics .panel-head{flex-wrap:wrap;gap:10px}
@media(max-width:1499px){.user-metrics{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:25px}.user-metrics .metric:nth-child(3n){border-right:0}}
@media(max-width:800px){.user-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.user-metrics .metric,.user-metrics .metric:nth-child(3n){border-right:1px solid var(--line)}.user-metrics .metric:nth-child(2n){border-right:0}.user-metrics .label{gap:8px;line-height:1.5}.user-metrics small{line-height:1.5}}
.login-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;background:#f5f7f5}.login-card{width:100%;max-width:380px;padding:34px 32px 25px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 32px #203b2e08}.login-brand{font-size:15px;font-weight:600;color:var(--green);letter-spacing:.3px;margin-bottom:27px}.login-card h1{font-size:26px;letter-spacing:0;margin:0 0 7px;line-height:1.3}.login-subtitle{font-size:13px;color:var(--muted);margin:0 0 26px}.login-card .form-label{font-size:12px;margin:0 0 8px}.login-card .input{height:42px;font-size:14px}.login-card #login-password+.login-submit{margin-top:24px}.login-card label[for="login-password"]{margin-top:18px}.login-submit{width:100%;justify-content:center;min-height:42px;margin-top:16px}.login-message{font-size:12px;color:var(--muted);line-height:1.5;min-height:18px;margin:13px 0 0}.login-message.error-text{color:#ad6c58}.login-admin{border-top:1px solid var(--line);margin-top:20px;padding-top:17px;font-size:11px;color:var(--muted)}.login-admin summary{cursor:pointer;width:fit-content}.login-admin form{padding-top:18px}.login-card noscript{display:block;margin-top:15px;font-size:12px}.session-loading{min-height:100vh;display:grid;place-items:center;font-size:13px;color:var(--muted)}
@media(max-width:420px){.login-page{padding:18px}.login-card{padding:30px 24px 23px}}

/* Owner-scoped CRM and allocation controls. */
.crm-nav{margin-top:24px}.crm-subnav{padding-left:8px}.crm-subnav a{font-size:12px}.crm-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.crm-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.crm-shortcut{display:flex;align-items:center;gap:16px;padding:24px;text-decoration:none;color:var(--ink)}.crm-shortcut>svg{margin-left:auto;width:16px;color:var(--muted)}.crm-shortcut h2{font-size:15px;margin:0 0 8px}.crm-shortcut p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.crm-shortcut-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;background:#edf5ee;border-radius:10px;color:var(--green)}.crm-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.crm-tabs a{padding:12px 2px;color:var(--muted);text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent;font-size:13px}.crm-tabs a.active{border-color:var(--green);color:var(--green);font-weight:600}.crm-query-panel{padding:22px;margin-bottom:22px}.crm-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) 120px;gap:14px}.crm-table-scroll{max-height:65vh;overflow:auto}.crm-table th{position:sticky;top:0;z-index:1}.crm-table td{vertical-align:top}.crm-value{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:pre}.crm-name-cell{white-space:normal}.crm-name-link{appearance:none;border:0;background:transparent;padding:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:inherit;color:var(--green);font:inherit;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:#afc9b5;text-underline-offset:3px}.crm-name-link:hover{color:#145b3a;text-decoration-color:currentColor}.crm-name-link:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:2px}.crm-row-actions{display:flex;gap:7px;align-items:center;white-space:nowrap}.crm-table .note-cell{min-width:280px;white-space:normal}.crm-field-settings{font-size:12px;margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.crm-field-settings summary{cursor:pointer;margin-bottom:16px}.crm-field-settings .help{margin-bottom:16px}.crm-record-details{display:grid;grid-template-columns:minmax(90px,1fr) 2fr;gap:0;margin:0}.crm-record-details dt,.crm-record-details dd{padding:12px 8px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.crm-record-details dt{color:var(--muted)}
@media(max-width:1150px){.crm-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-shortcuts{grid-template-columns:1fr}.crm-shortcut{padding:20px}.crm-metrics .metric{padding:0 14px}}@media(max-width:800px){.crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-metrics .metric:nth-child(2n){border-right:0}.crm-filter-grid{grid-template-columns:1fr}.crm-query-panel{padding:18px}.crm-tabs{gap:18px}.crm-tabs a{font-size:12px}.crm-query-panel .query-actions{align-items:flex-start;flex-direction:column}.crm-query-panel .actions{align-self:flex-end}.crm-metrics .label{line-height:1.5}.crm-record-details{grid-template-columns:100px 1fr}}

.crm-table th:first-child,.crm-table td:first-child{position:sticky;left:0;background:#fff;z-index:2}.crm-table th:first-child{z-index:3;background:#f7f9f5}

/* Complete records, ordered recipient queue and three-state CRM marks. */
.crm-filter-grid{grid-template-columns:repeat(4,minmax(100px,1fr)) 115px 110px}.crm-fields-hint{padding:16px 20px 0}.crm-status-select{min-width:98px;padding:8px 28px 8px 12px;font-size:12px;height:35px;border-radius:7px;background-color:#fff}.crm-status-select[data-status="following"]{color:var(--green);border-color:#b3cebd;background-color:#f1f7f2}.crm-status-select[data-status="not_following"]{color:#9c624f;border-color:#e5c7bb;background-color:#fcf5f1}.allocation-entry{display:grid;grid-template-columns:26px minmax(110px,1fr) 110px auto;gap:10px;align-items:end;margin:16px 0}.allocation-order{width:25px;height:36px;display:grid;place-items:center;color:var(--green);font-weight:600}.allocation-row-actions{display:flex;gap:4px;padding-bottom:2px}.allocation-row-actions .btn{padding:7px 8px}.allocation-review{white-space:pre-line;line-height:1.8}#allocation-total{margin-top:16px}.allocation-entry .form-label{font-size:11px}
@media(max-width:1250px){.crm-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.crm-filter-grid{grid-template-columns:1fr}.allocation-entry{grid-template-columns:24px minmax(0,1fr) 100px}.allocation-row-actions{grid-column:2 / -1;justify-content:flex-end}.crm-fields-hint{padding:14px 18px 0}}

.crm-filter-fields{border:0;padding:0;margin:0;min-width:0}.crm-admin-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-readonly-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.crm-table .crm-readonly-note{max-width:360px}
@media(max-width:1050px){.crm-admin-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.crm-admin-filters{grid-template-columns:1fr}}

.crm-selection-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:15px 18px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px}.crm-select-cell{width:46px;min-width:46px;max-width:46px;text-align:center}.crm-select-cell .check{margin:0;cursor:pointer}
@media(max-width:800px){.crm-selection-tools{align-items:flex-start;flex-direction:column}.crm-selection-tools .actions{flex-wrap:wrap}}

.admin-work-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.admin-work-metrics .metric{padding:26px 24px}.admin-work-metrics .label{font-size:13px}.admin-work-metrics .number{font-size:34px}
@media(max-width:1250px){.admin-work-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-work-metrics .metric:nth-child(3){border-right:0}}
@media(max-width:800px){.admin-work-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-work-metrics .metric{padding:20px}.admin-work-metrics .metric:nth-child(3){border-right:1px solid var(--line)}.admin-work-metrics .metric:nth-child(2n){border-right:0}.admin-work-metrics .number{font-size:29px}}
@media(max-width:420px){.admin-work-metrics{grid-template-columns:1fr}.admin-work-metrics .metric{border-right:0!important}}
