:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1c2942;background:#f5f7fb;font-synthesis:none;--navy:#213b69;--blue:#325bab;--muted:#788298;--border:#e7ebf2;--success:#187452;--danger:#b74b46;--radius:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a{touch-action:manipulation}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,label[tabindex]:focus-visible{outline:3px solid #93b8f8;outline-offset:3px}input,select,textarea{border:1px solid #dbe1eb;border-radius:8px;background:#fff;color:inherit;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#6589c8;box-shadow:0 0 0 3px #dce8fc}input,select{min-height:42px;padding:10px 12px}textarea{padding:12px;resize:vertical;line-height:1.6;width:100%}input::placeholder,textarea::placeholder{color:#98a0af}label{font-size:13px;font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.7px;margin-bottom:10px;font-weight:700}h2{font-size:17px;margin:0;font-weight:650}h3{font-size:16px;margin-bottom:8px}p{line-height:1.75}small{font-size:12px}strong{font-weight:650}[hidden]{display:none!important}.muted{color:var(--muted);font-size:14px;margin-bottom:0}.eyebrow{font-size:11px;letter-spacing:1.8px;color:#8c98ad;display:block;font-weight:650;margin-bottom:11px}.button{border:1px solid transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 16px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s,box-shadow .15s}.button.primary{background:var(--navy);color:white;box-shadow:0 2px 4px #18386514}.button.primary:hover:enabled{background:#2e4b7d;box-shadow:0 3px 9px #18386524}.button.secondary{background:white;color:#334866;border-color:#dbe1eb}.button.secondary:hover:enabled{background:#f3f6fc}.button.subtle{background:transparent;color:#66768e}.button.subtle:hover:enabled{background:#edf2fa;color:#294f86}.button.danger-text{color:#b3423b}.button.small{min-height:32px;padding:6px 10px;font-size:12px}.icon-button{display:inline-flex;justify-content:center;align-items:center;background:transparent;border:0;border-radius:8px;min-width:34px;min-height:34px;color:#738096;font-size:21px}.icon-button:hover{background:#e9eef8;color:#27476f}.brand{display:flex;align-items:center;gap:11px;color:#253b5d;font-size:18px;letter-spacing:.1px;font-weight:700;white-space:nowrap}.brand-mark{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:37px;height:40px;border-radius:11px;background:var(--navy);color:#fff;font-size:26px}.brand small{display:block;color:#95a1b5;font-size:10px;letter-spacing:1.4px;margin-top:5px;font-weight:500}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;left:0;width:224px;border-right:1px solid var(--border);background:#fff;padding:32px 19px 18px;display:flex;flex-direction:column;z-index:10}.sidebar>.brand{margin-left:9px}.sidebar nav{margin-top:45px;display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;min-height:46px;border-radius:9px;padding:11px 13px;color:#798499;text-align:left;font-size:13px;font-weight:600}.nav-item:hover{background:#f5f7fb;color:#2e4c7b}.nav-item.active{background:#edf2fb;color:#294d87}.nav-icon{font-size:19px;font-weight:400;width:21px;text-align:center}.nav-count{margin-left:auto;background:#dfe9fa;min-width:23px;padding:2px 6px;border-radius:5px;font-size:10px}.sidebar-note{margin-top:auto;padding:20px 10px 25px;font-size:11px;line-height:1.7;color:#8190a5}.sidebar-note strong{color:#6c7c92}.sidebar-note p{font-size:11px;margin:8px 0 0}.note-dot{display:inline-block;width:6px;height:6px;background:#8aafd8;border-radius:50%;margin-right:6px;vertical-align:middle}.sidebar-account{border-top:1px solid var(--border);padding:19px 5px 0;display:flex;align-items:center;gap:9px;font-size:12px}.sidebar-account small{display:block;color:#97a1b0;margin-top:5px;font-size:10px}.sidebar-account .icon-button{margin-left:auto}.avatar{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:50%;color:#738bad;background:#edf2f9;font-size:12px}.workspace{margin-left:224px;flex:1;min-width:0}.topbar{height:74px;padding:0 37px;border-bottom:1px solid var(--border);background:#fff9;display:flex;align-items:center;justify-content:space-between;color:#8d97a9;font-size:12px}.sync-state{display:flex;align-items:center;gap:8px;color:#91a0b0;font-size:11px}.sync-dot{width:6px;height:6px;border-radius:50%;background:#74a68e}.sync-dot.offline{background:#d29365}.content{max-width:1650px;margin:auto;padding:33px 37px 52px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.page-heading .button{margin-top:12px}.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid var(--border);border-radius:12px;min-height:138px;padding:21px 20px;box-shadow:0 2px 3px #1b345502}.stat-card>span{font-size:12px;color:#78879c}.stat-card strong{font-size:31px;letter-spacing:-.8px;display:block;line-height:1.2;margin:12px 0 9px;font-variant-numeric:tabular-nums;font-weight:600}.stat-card small{font-size:10px;color:#a0a9b9}.stat-success strong{color:var(--success)}.surface{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 5px #243c5a02}.section-toolbar{padding:22px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px}.section-title{display:flex;align-items:center;gap:10px;white-space:nowrap}.section-title h2{font-size:15px}.count-chip{font-size:10px;background:#f0f3f8;color:#7d899a;border-radius:5px;padding:3px 7px;font-variant-numeric:tabular-nums}.filters{display:flex;align-items:center;gap:11px}.filters select{font-size:12px;min-height:37px;padding:8px 30px 8px 10px}.search-box{display:flex;align-items:center;position:relative}.search-box>span{position:absolute;left:12px;font-size:21px;font-weight:400;color:#9ca8ba;pointer-events:none}.search-box input{padding-left:36px;min-height:37px;width:225px;font-size:12px}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}.data-table th{font-weight:500;color:#92a0b3;background:#f9fafc;border-top:1px solid #f0f2f6;border-bottom:1px solid #edf0f5;padding:13px 21px;font-size:11px}.data-table td{padding:19px 21px;border-bottom:1px solid #f0f2f6;vertical-align:middle;color:#64748c}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcfe}.task-name{border:0;background:transparent;color:#263c5c;font-weight:600;text-align:left;padding:0;line-height:1.5;font-size:12px;display:block;max-width:340px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-name:hover{color:#3865a9;text-decoration:underline}.cell-subtitle{color:#9aa6b8;font-size:10px;margin-top:6px;display:block;max-width:340px;overflow:hidden;text-overflow:ellipsis}.source-label{color:#617898;background:#f0f4fa;border-radius:4px;display:inline-block;padding:3px 6px;font-size:10px;max-width:190px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:10px;line-height:1.2;white-space:nowrap;font-weight:500}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.badge.enabled,.badge.success{color:#2b8062;background:#eef8f2}.badge.paused,.badge.pending,.badge.cancelled{color:#8895a8;background:#f0f3f7}.badge.claimed,.badge.processing,.badge.ready{color:#426fac;background:#eef4fd}.badge.failed,.badge.error{color:#b85751;background:#fff0ef}.badge.duplicate{color:#9c8346;background:#fcf7e9}.number-pair{display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.number-pair .green{color:#40856a}.number-pair .red{color:#bc6761}.separator{color:#d6dce5}.align-right{text-align:right}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.row-actions .button{font-size:11px;padding:6px 8px;min-height:30px}.table-footer{border-top:1px solid var(--border);display:flex;gap:15px;justify-content:space-between;padding:15px 23px;font-size:10px;color:#99a4b5;line-height:1.6}.empty-state{text-align:center;padding:66px 24px 60px}.empty-state .empty-icon{display:flex;align-items:center;justify-content:center;background:#f2f5fb;border:1px solid #e6edf7;color:#91a7c8;border-radius:16px;width:56px;height:56px;margin:0 auto 22px;font-size:31px;font-weight:400}.empty-state h3{font-size:15px;color:#506783}.empty-state p{font-size:12px;color:#97a3b4;margin-bottom:21px}.empty-state.compact{padding:37px}.empty-state.compact p{margin-bottom:0}.notice{display:flex;gap:13px;border-radius:10px;padding:17px 20px;margin-bottom:23px;font-size:12px;line-height:1.7}.notice strong{font-size:12px}.notice p{margin:5px 0 0;font-size:11px}.notice.info{background:#edf3fc;border:1px solid #e0e9fa;color:#607aa2}.notice.danger{background:#fff0ef;border:1px solid #f6d9d6;color:#ae4b43}.notice-symbol{width:20px;height:20px;border-radius:50%;border:1px solid #9fb5d6;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:11px}.import-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px;margin-bottom:25px}.upload-surface{padding:20px;display:flex;flex-direction:column}.drop-zone{flex:1;min-height:255px;border:1.5px dashed #cfd9e8;border-radius:9px;background:#fafcff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 15px;text-align:center;cursor:pointer;transition:background .15s,border .15s}.drop-zone:hover,.drop-zone.dragging{border-color:#7d9bc5;background:#f1f6ff}.drop-zone.busy{opacity:.6;cursor:wait}.upload-icon{background:#eef3fb;border:1px solid #e0e8f5;display:flex;align-items:center;justify-content:center;width:50px;height:50px;font-size:29px;color:#6583b0;border-radius:12px;margin-bottom:18px}.drop-zone strong{font-size:15px;color:#405674;margin-bottom:10px}.drop-zone>span:not(.upload-icon){font-size:12px;color:#93a1b5;font-weight:400}.drop-zone b{color:#4b71a9;font-weight:500}.drop-zone small{margin-top:22px;color:#a2adbd;font-size:10px;font-weight:400;line-height:1.8}.upload-footnote{display:flex;justify-content:space-between;gap:12px;margin-top:16px;font-size:10px;color:#a4aebe;line-height:1.6}.manual-card{padding:26px}.mini-label{color:#97a5b7;font-size:10px;display:block;margin-bottom:10px}.manual-card h2{font-size:17px;margin-bottom:10px}.manual-card p{font-size:12px;margin-bottom:18px}.manual-card textarea{font-size:11px;min-height:112px;margin-bottom:12px}.manual-card .button{width:100%;font-size:12px}.toolbar-actions{display:flex;gap:9px;align-items:center}.import-summary{padding:0 23px 16px;font-size:11px;color:#8996a9;line-height:1.6}.decode-progress{padding:0 23px 19px}.decode-progress>div{display:flex;justify-content:space-between;font-size:11px;color:#778eae;margin-bottom:7px}progress{appearance:none;width:100%;height:5px;border:0;display:block;border-radius:10px;overflow:hidden;background:#eaf0f8}progress::-webkit-progress-bar{background:#eaf0f8}progress::-webkit-progress-value{background:#698dc7;border-radius:10px}progress::-moz-progress-bar{background:#698dc7}.file-cell{display:flex;align-items:center;gap:11px}.file-thumb{width:45px;height:50px;object-fit:contain;border-radius:5px;border:1px solid #e7ecf4;background:#fafbfe}.file-icon{width:45px;height:50px;background:#f3f6fb;border:1px solid #e8edf5;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#9cacc2;font-size:20px}.file-name{max-width:170px;text-overflow:ellipsis;overflow:hidden;font-size:11px;color:#6a7e98}.import-title{width:100%;min-width:170px;font-size:12px;min-height:34px;padding:8px}.import-url{display:block;margin-top:7px;color:#9ca8ba;max-width:430px;font-size:10px;overflow:hidden;text-overflow:ellipsis}.import-error{display:block;margin-top:6px;color:#b46a63;font-size:10px;max-width:250px;white-space:normal;line-height:1.5}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.form-error{color:#b3463d;font-size:12px;min-height:18px;line-height:1.6;margin:10px 0}.field-help{font-size:11px;line-height:1.7;color:#98a3b4;margin:8px 0 21px}.login-wrap{display:flex;min-height:100vh}.login-story{position:relative;width:46%;background:#213858;color:white;overflow:hidden;padding:45px 50px;display:flex;flex-direction:column}.brand-light{color:white;position:relative;z-index:1}.brand-light .brand-mark{background:#ffffff15;border:1px solid #ffffff18}.story-copy{margin:auto 0;position:relative;z-index:1;padding:80px 0}.story-copy .eyebrow{color:#90aacb;font-size:11px;letter-spacing:3px;margin-bottom:26px}.story-copy h1{font-size:clamp(30px,3.3vw,49px);font-weight:500;line-height:1.6;letter-spacing:1px;margin-bottom:24px}.story-copy p{color:#a6b7ce;font-size:13px;line-height:2.1}.story-track{display:flex;align-items:center;position:relative;z-index:1;gap:14px;color:#c5d2e2;font-size:10px;white-space:nowrap}.story-track span{display:flex;align-items:center;gap:7px}.story-track i{font-style:normal;color:#a7bad2;width:22px;height:22px;border-radius:50%;border:1px solid #7992b34d;display:flex;align-items:center;justify-content:center;font-size:10px}.story-track b{height:1px;width:30px;background:#7890b13d}.story-orbit{position:absolute;border:1px solid #adc6e50a;border-radius:50%;width:700px;height:700px;right:-410px;top:8%;pointer-events:none}.orbit-two{width:570px;height:570px;right:-300px;top:20%;background:radial-gradient(circle,#657da60d,transparent)}.login-panel{width:54%;display:flex;align-items:center;justify-content:center;background:#fafbfd;padding:50px 30px}.login-card{width:360px;max-width:100%}.login-card h2{font-size:28px;margin-bottom:12px}.login-card>.muted{margin-bottom:36px;font-size:12px}.login-card label{display:block;font-size:12px;margin:20px 0 10px;color:#51637c}.login-card input{width:100%;font-size:13px;min-height:45px}.login-button{width:100%;margin-top:4px;justify-content:space-between;min-height:45px}.login-note{text-align:center;color:#a8b1bf;font-size:10px;margin-top:25px}.mobile-brand{display:none}dialog{border:1px solid #e7ebf2;padding:0;border-radius:16px;color:inherit;box-shadow:0 24px 110px #0a20362e;max-height:90vh;background:#fff}dialog::backdrop{background:#17284059;backdrop-filter:blur(3px)}.detail-dialog{width:min(1000px,94vw)}.small-dialog{width:min(450px,94vw)}.credential-dialog{width:min(570px,94vw)}.dialog-header{padding:24px 27px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-header .eyebrow{font-size:10px;margin-bottom:7px}.dialog-header h2{font-size:19px;line-height:1.5;word-break:break-word}.dialog-header .icon-button{font-size:25px;flex-shrink:0}.dialog-body{padding:25px 27px;overflow:auto}.dialog-body>label,.dialog-body form>label{display:block;margin-bottom:10px;color:#5a6b82;font-size:12px}.dialog-body>input,.dialog-body form>input{width:100%;font-size:12px}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:17px 27px;background:#fafbfd;border-top:1px solid var(--border)}.copy-field{display:flex;align-items:center;gap:5px}.copy-field input{min-width:0;flex:1;font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px}.copy-field .button{padding:8px 10px;font-size:11px}.script-steps{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#8395ab;padding:19px 0;border-top:1px solid var(--border)}.script-steps span{display:flex;align-items:center;gap:6px}.script-steps b{width:17px;height:17px;border-radius:50%;background:#eef3fb;display:flex;align-items:center;justify-content:center;color:#6b89b1;font-size:9px}.detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:11px;color:#8c9ab0;margin-bottom:22px}.detail-top-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.detail-url{font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;background:#f8fafc;color:#7c8da6;min-height:69px;max-height:130px;word-break:break-all}.detail-title-form{display:flex;gap:8px;margin:14px 0 27px}.detail-title-form input{flex:1;min-width:0;font-size:12px}.detail-section{margin-top:26px}.detail-section h3{font-size:14px;margin-bottom:14px;color:#435a79}.detail-section .table-scroll{border:1px solid var(--border);border-radius:9px}.detail-section .data-table td{padding:14px 13px;font-size:11px}.detail-section .data-table th{padding:11px 13px;font-size:10px}.assignment-message{max-width:250px;white-space:normal;line-height:1.55}.detail-empty{font-size:12px;color:#99a6b9;padding:20px 0}.event-list{list-style:none;padding:0;margin:0}.event-list li{display:flex;gap:13px;padding:0 0 19px;position:relative;font-size:11px}.event-list li:before{content:"";position:absolute;top:10px;bottom:0;left:4px;width:1px;background:#e9eef5}.event-list li:last-child:before{display:none}.event-dot{position:relative;background:#a6b9d2;width:9px;height:9px;margin-top:4px;flex-shrink:0;border:2px solid white;box-shadow:0 0 0 1px #dfe6ef;border-radius:50%}.event-body{flex:1;min-width:0}.event-body strong{color:#607794;font-size:11px}.event-body p{font-size:10px;color:#92a1b5;word-break:break-word;margin:6px 0 0}.event-time{font-size:10px;color:#a5b0bf;white-space:nowrap;margin-top:2px}.toasts{position:fixed;bottom:25px;right:27px;display:grid;gap:10px;max-width:min(440px,calc(100vw - 36px));z-index:1000;pointer-events:none}.toast{padding:13px 19px;font-size:12px;line-height:1.7;background:#263e5f;color:#fff;border-radius:10px;box-shadow:0 6px 22px #1c345229;animation:toast-in .15s ease-out}.toast.error{background:#9d4b48}@keyframes toast-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.content{padding-top:42px}.stats-grid{gap:19px}.stat-card{padding:24px}.data-table td{padding-top:22px;padding-bottom:22px}}@media(max-width:1150px){.sidebar{width:198px;padding-left:12px;padding-right:12px}.sidebar>.brand{font-size:16px;margin-left:5px}.workspace{margin-left:198px}.content{padding:28px 24px}.topbar{padding:0 24px}.stat-card{padding:18px 14px}.stat-card small{font-size:9px}.stat-card strong{font-size:27px}.data-table td,.data-table th{padding-left:15px;padding-right:15px}.task-name{max-width:245px}.section-toolbar{padding-left:19px;padding-right:19px}.search-box input{width:185px}.import-layout{grid-template-columns:minmax(0,1.3fr) minmax(265px,1fr);gap:16px}.upload-footnote{display:block}.upload-footnote>span:last-child{display:none}.login-story{padding:40px 35px}.story-track{gap:8px}.story-track b{width:15px}}@media(max-width:900px){.sidebar{width:175px;padding-top:26px}.sidebar>.brand{font-size:14px;gap:7px}.brand-mark{width:31px;height:34px;font-size:22px}.brand small{font-size:9px;letter-spacing:.6px}.workspace{margin-left:175px}.content{padding:27px 20px}.topbar{height:65px;padding:0 20px}.nav-item{padding-left:10px;gap:9px;font-size:12px}.stats-grid{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{min-height:115px}.stat-card strong{font-size:25px;margin:9px 0 8px}.stat-card small{font-size:10px}.stats-grid .stat-card:nth-child(4),.stats-grid .stat-card:nth-child(5){display:block}.page-heading h1{font-size:26px}.page-heading .muted{font-size:12px}.section-toolbar{align-items:flex-start;flex-wrap:wrap;gap:15px}.filters{width:100%;justify-content:space-between}.search-box{flex:1}.search-box input{width:100%}.import-layout{grid-template-columns:1fr}.drop-zone{min-height:230px}.manual-card{padding:22px}.manual-card textarea{min-height:80px}.sidebar-note{font-size:10px;padding-left:7px;padding-right:7px}.sidebar-note p{font-size:10px}.sidebar-account{gap:6px}.story-track{flex-wrap:wrap}.story-track b{display:none}}@media(max-width:650px){.app-shell{display:block}.sidebar{position:relative;width:100%;padding:17px 18px 0;border-bottom:1px solid var(--border);border-right:0}.sidebar>.brand{font-size:16px;margin:0}.sidebar>.brand small{display:none}.brand-mark{width:30px;height:32px;border-radius:8px;font-size:22px}.sidebar nav{display:flex;margin-top:18px;gap:7px;padding-bottom:12px}.nav-item{flex:1;justify-content:center;min-height:40px;font-size:12px;padding:10px 6px;gap:7px}.nav-icon{font-size:16px;width:16px}.nav-count{margin-left:0;font-size:9px;min-width:18px;padding:2px 4px}.sidebar-note{display:none}.sidebar-account{position:absolute;right:16px;top:16px;padding:0;border:0}.sidebar-account>div{display:none}.sidebar-account .avatar{width:28px;height:28px;font-size:10px}.sidebar-account .icon-button{min-height:29px;min-width:29px;font-size:19px}.workspace{margin-left:0}.topbar{height:47px;padding:0 19px;font-size:10px;background:#f7f9fc}.sync-state{font-size:9px;gap:6px}.sync-state .icon-button{font-size:18px;min-width:28px;min-height:28px}.content{padding:27px 17px 36px}.page-heading{gap:11px;margin-bottom:24px;align-items:flex-start}.page-heading h1{font-size:24px;margin-bottom:10px;line-height:1.4}.page-heading .eyebrow{font-size:9px;margin-bottom:7px;letter-spacing:1.4px}.page-heading .muted{font-size:11px;line-height:1.8}.page-heading>.button{font-size:10px;min-height:33px;padding:8px 10px;gap:4px;flex-shrink:0;margin-top:23px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:23px}.stat-card{padding:16px;min-height:112px}.stat-card>span{font-size:11px}.stat-card strong{font-size:25px;margin-bottom:7px}.stat-card small{font-size:9px}.stat-card:first-child{grid-column:span 2;display:grid;grid-template-columns:1fr auto;align-items:center;min-height:85px;padding:17px}.stat-card:first-child strong{grid-row:span 2;grid-column:2;margin:0;font-size:30px}.stat-card:first-child small{grid-row:2;margin-top:8px}.section-toolbar{padding:18px 15px}.section-title h2{font-size:13px}.filters{gap:9px}.search-box input{min-height:36px;font-size:11px;padding-left:31px}.search-box>span{left:10px;font-size:18px}.filters select{min-height:36px;font-size:11px;padding-right:12px}.data-table th{font-size:10px;padding:11px 15px}.data-table td{font-size:11px;padding:15px}.task-name{max-width:225px;font-size:11px}.cell-subtitle{font-size:9px;max-width:225px}.table-footer{padding:12px 15px;font-size:9px}.table-footer>span:last-child:not(:first-child){display:none}.empty-state{padding:47px 17px 43px}.empty-state h3{font-size:14px}.empty-state p{font-size:11px}.notice{padding:14px;font-size:11px;gap:10px}.notice strong{font-size:11px}.notice p{font-size:10px}.notice-symbol{width:17px;height:17px;font-size:10px}.drop-zone{min-height:236px;padding:28px 12px}.drop-zone strong{font-size:14px}.drop-zone small{font-size:9px}.upload-surface{padding:14px}.upload-footnote{font-size:9px}.manual-card{padding:20px}.manual-card h2{font-size:16px}.manual-card p{font-size:11px}.toolbar-actions{gap:4px;justify-content:flex-end;width:100%;flex-wrap:wrap}.toolbar-actions .button{font-size:10px;padding:7px 9px;min-height:34px}.import-summary{padding:0 15px 15px;font-size:10px}.decode-progress{padding:0 15px 17px}.decode-progress>div{font-size:10px}.login-story{display:none}.login-panel{width:100%;min-height:100vh;padding:38px 29px}.mobile-brand{display:flex;margin-bottom:63px;font-size:17px}.login-card .eyebrow{font-size:10px}.login-card h2{font-size:28px}.login-card>.muted{font-size:12px;margin-bottom:32px}.login-card{width:360px}.login-note{font-size:10px}.dialog-header{padding:21px 18px}.dialog-header h2{font-size:17px}.dialog-body{padding:20px 18px}.dialog-footer{padding:15px 18px}.dialog-footer .button{font-size:12px}.credential-dialog .dialog-footer .button{width:100%}.detail-dialog{width:96vw;max-height:94dvh}.event-time{font-size:9px}.script-steps{font-size:9px;gap:5px;flex-wrap:wrap;row-gap:12px}.copy-field .button{font-size:10px;padding:8px 7px}.detail-meta{gap:8px;font-size:10px}.detail-title-form .button{font-size:11px;padding:9px}.toasts{bottom:18px;right:18px}.toast{font-size:11px}.detail-top-actions .button{font-size:10px;padding:8px 10px}.assignment-message{max-width:180px}}

/* Reserve room for all task actions at common desktop widths. */
#tasks-view .data-table{table-layout:fixed;min-width:740px}
#tasks-view .data-table th,#tasks-view .data-table td{padding-left:14px;padding-right:14px}
#tasks-view .data-table th:nth-child(2){width:90px}
#tasks-view .data-table th:nth-child(3){width:88px}
#tasks-view .data-table th:nth-child(4){width:94px}
#tasks-view .data-table th:nth-child(5){width:105px}
#tasks-view .data-table th:nth-child(6){width:163px}
#tasks-view .task-name,#tasks-view .cell-subtitle{width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis}
#tasks-view .row-actions{gap:4px}
#tasks-view .row-actions .button{padding-left:8px;padding-right:8px}
.mobile-table-hint{display:none}
@media(max-width:900px){
  #tasks-view .table-footer{flex-wrap:wrap;gap:7px 15px}
  #tasks-view .table-footer .mobile-table-hint{display:block;width:100%;color:#8196b3}
}
@media(min-width:1000px){#tasks-view .data-table{min-width:0}}

.task-period{display:block;max-width:100%;margin-top:7px;font-size:10px;line-height:1.7;white-space:normal}
.task-period-label{color:#95a3b6;margin-right:8px}
.task-period-value{color:#637d9d;font-variant-numeric:tabular-nums}
.task-period-unknown{color:#9aa8ba}
.detail-task-period{display:flex;flex-wrap:wrap;gap:9px 14px;align-items:center;padding:14px 16px;margin-bottom:20px;border:1px solid #e3ebf6;border-left:3px solid #8ba5c8;border-radius:7px;background:#f5f8fd;font-size:12px;line-height:1.7;color:#486687;font-variant-numeric:tabular-nums}
.detail-task-period strong{font-size:11px;color:#7288a5}

/* Keep device details readable on narrow screens; scroll the table as a whole. */
.detail-section .data-table{min-width:880px}
.detail-section .data-table td{vertical-align:top}
.detail-section .data-table td.assignment-message{width:220px;min-width:200px;max-width:280px;white-space:normal;overflow-wrap:anywhere;line-height:1.65}

.account-password-button{align-self:flex-start;margin:8px 0 0 41px;padding:7px 8px;border:0;border-radius:6px;background:transparent;color:#8394ac;font-size:11px;line-height:1.4}
.account-password-button:hover{background:#f0f4fa;color:#355985}
.form-error.success{color:var(--success)}
.stacked-field-label{margin-top:19px}
.password-help{margin-bottom:19px}
.note-device-name{margin-bottom:22px;color:#768ba6;font-size:11px;line-height:1.75;overflow-wrap:anywhere}
.note-dialog-footer{gap:8px}
.note-dialog-footer #clear-device-note-button{margin-right:auto;padding-left:0;font-size:11px}
.device-table{table-layout:fixed;min-width:840px}
.device-table th,.device-table td{padding-left:14px;padding-right:14px}
.device-table th:first-child{width:190px}
.device-table th:nth-child(3){width:80px}
.device-table th:nth-child(4){width:100px}
.device-table th:nth-child(5){width:135px}
.device-table th:nth-child(6){width:165px}
.device-auto-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526984}
.device-table .cell-subtitle{width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.device-table .row-actions{gap:4px}
.device-table .row-actions .button{padding-left:7px;padding-right:7px}
.device-note-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:5.1em;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.7;color:#687d98}
.device-note-text.empty{color:#a3afc0}
.device-note-cell .note-edit-button{margin-top:5px;padding:3px 0;min-height:24px;font-size:10px}
@media(max-width:650px){
  .account-password-button{position:absolute;top:18px;right:87px;margin:0;padding:7px 6px;font-size:10px}
  .note-dialog-footer .button{font-size:11px;padding-left:10px;padding-right:10px}
  #device-dialog .dialog-body textarea,#device-note-dialog .dialog-body textarea{font-size:12px}
}

.script-download-dialog{width:min(540px,94vw)}
.qr-device-meta{margin:0 0 21px;display:grid;gap:9px;font-size:11px;line-height:1.7}
.qr-device-meta>div{display:grid;grid-template-columns:65px minmax(0,1fr);gap:10px}
.qr-device-meta dt{color:#95a3b7}
.qr-device-meta dd{margin:0;color:#5a718f;overflow-wrap:anywhere;white-space:pre-wrap}
.qr-device-meta .qr-device-id{font-size:10px;font-family:ui-monospace,SFMono-Regular,monospace;color:#8b9caf}
.download-qr-box{display:flex;align-items:center;justify-content:center;min-height:280px;width:100%;border:1px solid #e6ecf5;border-radius:12px;background:#fff;padding:8px}
.download-qr-box canvas{display:block;width:min(264px,100%);height:auto;image-rendering:pixelated}
.download-qr-box p{margin:0;padding:24px 10px;font-size:13px;color:#8c9eb6;text-align:center;line-height:1.8}
.qr-expiry{margin:13px 0 0;color:#597da8;font-size:11px;line-height:1.7;text-align:center;font-variant-numeric:tabular-nums}
.qr-download-help{margin:17px 0 0;font-size:11px;color:#8c9cb2;line-height:1.8}
.qr-regenerate-help{margin:0;font-size:10px}
.qr-dialog-footer{gap:8px}
.qr-dialog-footer #regenerate-qr-button{margin-right:auto;padding-left:0;font-size:11px}
.device-table{min-width:880px}
.device-table th:first-child{width:180px}
.device-table th:nth-child(6){width:225px}
@media(max-width:650px){
  .script-download-dialog .dialog-body{padding-top:18px}
  .download-qr-box{min-height:260px}
  .download-qr-box canvas{width:min(244px,100%)}
  .qr-dialog-footer .button{font-size:11px;padding-left:10px;padding-right:10px}
  .credential-dialog .dialog-footer{flex-wrap:wrap}
}
@media(max-width:650px){
  .qr-dialog-footer{flex-wrap:wrap}
  .qr-dialog-footer #regenerate-qr-button{flex-basis:100%;margin-right:0;justify-content:flex-start}
}
