:root{--ink:#19344c;--muted:#6a7c8a;--line:#dde5eb;--paper:#fff;--bg:#f3f6f9;--nav:#092c51;--teal:#0756a1;--teal-dark:#034382;--pale:#e9f1fa;--gold:#c2a47a;--danger:#a13b39;--radius:14px;--shadow:0 9px 30px #132f3a0a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4b9a9580;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:clamp(26px,3.6vw,37px);font-weight:650;line-height:1.15}h2{font-size:22px;font-weight:650}h3{font-size:17px;font-weight:650}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:10px;font-weight:750;color:var(--teal);margin-bottom:9px}.icon{width:19px;height:19px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.brand-word{font-weight:700;font-size:23px;letter-spacing:-1.2px}.brand-word .dot{color:#61b5a6}.als-mark{font-size:35px;font-weight:800;font-style:italic;letter-spacing:-3px;line-height:1}.brand-divider{width:1px;background:var(--line);height:28px}.brand-pair{display:flex;gap:19px;align-items:center}.brand-note{font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:var(--muted);margin-top:6px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid transparent;border-radius:9px;padding:10px 16px;font-size:12.5px;font-weight:650;text-decoration:none!important;white-space:nowrap;background:var(--teal);color:#fff;transition:background .18s,transform .18s}.btn:hover{background:var(--teal-dark)}.btn:active{transform:translateY(1px)}.btn.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:#edf2ef}.btn.ghost{background:transparent;color:var(--muted);border-color:transparent}.btn.ghost:hover{background:#e9eeee;color:var(--ink)}.btn.danger{background:#fff;color:var(--danger);border-color:#e9d6d5}.btn.compact{padding:7px 10px;min-height:34px;font-size:11.5px}.icon-btn{border:0;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px}.icon-btn:hover{background:#eaf0ed}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:650;background:#edf0f0;color:#64777b;white-space:nowrap}.badge.published,.badge.accepted{background:#e4f1e8;color:#286347}.badge.refused,.badge.closed,.badge.withdrawn{background:#eceff1;color:#5c6d77}.badge.awaiting_cosignature,.badge.pending{background:#f5edde;color:#8b6f3c}.badge.draft{background:#f2eee6;color:#867449}.badge .dot-status{width:5px;height:5px;border-radius:50%;background:currentColor}.demo-strip{display:flex;align-items:center;gap:6px;font-size:10.5px;color:#806c43;background:#f5f0e4;border:1px solid #e8dfcb;border-radius:6px;padding:6px 9px;white-space:nowrap}
.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--nav);color:#d9e6e9;padding:33px 19px 22px;display:flex;flex-direction:column}.sidebar .brand-word{font-size:25px;color:#fff;padding-left:16px}.sidebar-kicker{font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#829aa5;padding:9px 16px 33px}.sidebar-section{font-size:9px;letter-spacing:.15em;color:#78919d;padding:15px 16px 11px;text-transform:uppercase}.nav-item{width:100%;border:0;border-radius:9px;display:flex;align-items:center;gap:12px;background:transparent;color:#99b0b9;padding:13px 16px;text-align:left;font-size:12px;font-weight:550}.nav-item.active{color:#f2f8f5;background:#25444d;box-shadow:inset 3px 0 #74b8a4}.nav-item:hover{background:#203e48;color:#e7f1ee}.sidebar-bottom{margin-top:auto;padding:24px 15px 0}.client-lockup{border-top:1px solid #37515a;padding-top:23px}.client-lockup .als-mark{color:white;font-size:31px}.client-lockup p{font-size:10px;color:#8aa4af;line-height:1.55;margin-top:10px}.sidebar .version{font-size:9px;color:#65818c;margin-top:23px}.main{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:#ffffffb5;gap:16px}.breadcrumbs{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);min-width:0}.breadcrumbs strong{color:var(--ink);font-weight:550;max-width:300px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.topbar-right{display:flex;align-items:center;gap:18px}.user-pill{display:flex;align-items:center;gap:9px}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#dde9e3;color:#376658;font-size:11px;font-weight:700}.user-name{font-size:11px;max-width:130px;overflow:hidden;text-overflow:ellipsis}.workspace{padding:37px 42px 50px;max-width:1510px;margin:auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading p{margin-top:9px;font-size:12px;color:var(--muted);max-width:650px}.heading-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:25px 0 30px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 21px;position:relative;box-shadow:var(--shadow)}.stat-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}.stat-label .icon{width:17px;height:17px;color:#8ba299}.stat-value{font-size:29px;letter-spacing:-.045em;font-weight:650;margin-top:15px}.stat-caption{font-size:10px;color:#81918e;margin-top:5px}.section-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.section-title{font-size:17px}.section-title span{color:#91a19f;font-size:11px;letter-spacing:0;margin-left:8px}.search-wrap{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 11px;min-width:245px}.search-wrap .icon{width:16px;height:16px;color:#93a29e}.search-wrap input{width:100%;border:0;outline:none;background:transparent;min-height:38px;font-size:11px;color:var(--ink)}.study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.study-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.study-card:hover{box-shadow:0 13px 32px #18343e10;transform:translateY(-2px)}.study-card-inner{padding:21px 21px 18px;flex:1}.card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.study-symbol{width:34px;height:38px;display:grid;place-items:center;border-radius:9px;background:#edf4ef;color:#597f6a}.study-code{font-size:10px;letter-spacing:.09em;color:#879692;font-weight:600;margin-bottom:6px}.study-card h3{font-size:20px;line-height:1.25;word-break:break-word}.study-meta{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;margin-top:11px}.study-meta .icon{width:13px;height:13px}.card-counts{display:flex;gap:20px;border-top:1px solid #edf1ef;margin-top:23px;padding-top:15px;font-size:10px;color:#88958f}.card-counts strong{display:block;color:var(--ink);font-weight:650;font-size:18px;letter-spacing:-.04em;margin-bottom:2px}.card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px;border-top:1px solid #e8edeb;background:#fbfcfb}.card-actions .btn{font-size:11px}.text-link{display:inline-flex;gap:5px;align-items:center;font-size:11px;font-weight:600;color:var(--teal);border:0;background:transparent;padding:7px 2px}.text-link .icon{width:15px;height:15px}.helper-panel{margin-top:28px;background:#eaf0eb;border:1px solid #dae5dc;border-radius:12px;padding:20px 23px;display:flex;gap:17px;align-items:flex-start}.helper-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#d9e7dc;color:#567a61;flex:none}.helper-panel h3{font-size:12px;letter-spacing:0;margin:1px 0 4px}.helper-panel p{font-size:11px;color:#61776b;max-width:800px}.empty-state{background:#fff;border:1px dashed #cddad3;padding:48px 24px;text-align:center;border-radius:var(--radius)}.empty-state .empty-icon{display:grid;place-items:center;width:55px;height:55px;background:#edf3ef;color:#6c8c77;border-radius:16px;margin:0 auto 20px}.empty-state h2{font-size:19px}.empty-state p{max-width:420px;margin:10px auto 20px;font-size:12px;color:var(--muted)}.workspace-footer{margin-top:35px;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:17px;font-size:9px;color:#8c9a96}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:18px;box-shadow:var(--shadow)}.panel h2{font-size:18px}.panel-intro{font-size:11px;color:var(--muted);margin:7px 0 20px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field>label,.field-label{font-size:11px;font-weight:650}.field input,.field select,.field textarea{min-height:43px;border:1px solid #d8e1dd;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);width:100%;font-size:12px;line-height:1.5}.field textarea{resize:vertical;min-height:85px}.field small{font-size:10px;color:var(--muted);line-height:1.55}.check-line{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:var(--ink);line-height:1.55}.check-line input{width:16px;height:16px;margin:1px 0 0;accent-color:var(--teal);flex:none}.editor-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;margin:22px 0}.editor-step{border:0;border-right:1px solid var(--line);padding:15px 10px;color:#7a8c83;background:#fff;font-size:11px;font-weight:550;display:flex;gap:8px;align-items:center;justify-content:center}.editor-step:last-child{border:0}.editor-step.active{background:#e8f1eb;color:#285f43}.step-no{display:grid;place-items:center;background:#f1f4f2;border-radius:50%;width:20px;height:20px;font-size:9px}.editor-step.active .step-no{background:#cfe3d4}.editor-bottom{display:flex;justify-content:space-between;gap:14px;margin-top:20px}.upload-zone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:27px;border:1.5px dashed #bdcfc4;border-radius:11px;background:#f8fbf8;cursor:pointer;text-align:center}.upload-zone .icon{width:27px;height:27px;color:#6d9278}.upload-zone strong{font-size:12px}.upload-zone span{font-size:10px;color:var(--muted)}.upload-zone input{width:min(100%,300px);font-size:11px;margin-top:8px}.doc-card{border:1px solid var(--line);border-radius:10px;margin-top:14px;overflow:hidden}.doc-card-header{display:flex;align-items:center;gap:12px;padding:14px 15px;background:#f9fbfa}.doc-card-header input{flex:1;min-width:0;border:1px solid transparent;background:transparent;padding:6px;border-radius:5px;color:var(--ink);font-size:12px;font-weight:600}.doc-card-header input:focus{background:#fff;border-color:var(--line)}.doc-summary{font-size:10px;color:var(--muted);padding:0 20px 14px}.warning-list{margin:12px 0 0;padding:12px 14px 12px 30px;background:#f8f2e8;color:#866d41;border:1px solid #eddfc8;border-radius:8px;font-size:10px;line-height:1.6}.doc-preview{margin:0 17px 15px;max-height:200px;overflow:auto;padding:15px;border:1px solid var(--line);background:#fcfdfc;font-size:11px;line-height:1.8;white-space:pre-wrap}.question-card{border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:13px}.question-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.question-card-top strong{font-size:10px;color:var(--muted);font-weight:600}.question-card .field-grid{gap:13px}.question-flags{display:flex;flex-wrap:wrap;gap:17px;margin-top:14px}.preview-frame{max-width:800px;margin:0 auto;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg);padding:20px}.preview-label{text-align:center;font-size:10px;color:var(--muted);padding-bottom:17px}.publish-link{padding:13px 15px;background:#edf3ef;border:1px solid #d3e0d6;border-radius:8px;font-family:ui-monospace,monospace;font-size:11px;word-break:break-all;color:#32654a;margin:15px 0}.publish-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:19px 0}.publish-summary>div{background:#f5f8f6;border-radius:8px;padding:15px;font-size:10px;color:var(--muted)}.publish-summary strong{display:block;font-size:20px;color:var(--ink);margin-bottom:4px}.notice{display:flex;gap:9px;border:1px solid #d7e5dc;border-radius:9px;background:#f2f7f3;padding:13px 15px;font-size:11px;color:#567262;line-height:1.6;margin:15px 0}.notice.warning{background:#f8f2e8;border-color:#eadcc6;color:#856a3c}.notice.error{background:#fbefee;border-color:#edceca;color:#a0443e}.notice .icon{margin-top:1px;flex:none;width:17px;height:17px}.table-scroll{overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.data-table th{text-align:left;color:#7a8b83;font-size:9px;letter-spacing:.05em;text-transform:uppercase;font-weight:650;border-bottom:1px solid var(--line);padding:13px 12px}.data-table td{padding:15px 12px;border-bottom:1px solid #edf1ef;vertical-align:middle}.data-table tbody tr:last-child td{border:0}.data-table td:first-child{padding-left:0}.data-table th:first-child{padding-left:0}.data-table .person{font-weight:600}.data-table .protocol{font-family:ui-monospace,monospace;color:#819087;font-size:9px;margin-top:4px}.submissions-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.submissions-actions{display:flex;gap:7px}
.loading-screen{min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;color:var(--muted);font-size:12px}.spinner{display:block;width:24px;height:24px;border:2px solid #dce8e0;border-top-color:var(--teal);border-radius:50%;animation:spin .65s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-aside{padding:55px 10%;background:var(--nav);color:#e5eeea;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-aside:after{content:"";position:absolute;width:430px;height:430px;border:1px solid #557f7f35;border-radius:50%;right:-210px;bottom:-100px;box-shadow:0 0 0 65px #557f7f0a,0 0 0 130px #557f7f08;pointer-events:none}.login-aside .brand-word{color:#fff}.login-aside-content{margin:auto 0;padding:70px 0}.login-aside .eyebrow{color:#75bca4}.login-aside h1{font-size:clamp(34px,4vw,51px);font-weight:500;line-height:1.2;max-width:430px}.login-aside p{color:#8faab2;font-size:13px;max-width:340px;margin-top:25px}.login-aside-footer{font-size:10px;color:#6e8a95;display:flex;align-items:center;gap:20px}.login-aside-footer .als-mark{font-size:30px;color:#c8d8db}.login-main{display:flex;align-items:center;justify-content:center;padding:45px 35px}.login-card{width:100%;max-width:360px}.login-card .eyebrow{margin-bottom:16px}.login-card h2{font-size:28px;margin-bottom:10px}.login-card>.muted{font-size:12px;margin-bottom:28px}.login-card .field{margin-bottom:18px}.login-card .btn{width:100%;margin-top:5px}.login-security{display:flex;gap:7px;font-size:10px;line-height:1.7;color:#8a9892;margin-top:25px}.login-security .icon{width:14px;height:14px;margin-top:2px}.login-card .demo-strip{white-space:normal;margin-bottom:22px}.form-error{font-size:11px;line-height:1.6;color:var(--danger);margin:12px 0;min-height:0}
.public-page{min-height:100vh;background:#f0f4f1;padding-bottom:35px}.public-topbar{height:83px;background:#fff;border-bottom:1px solid #dce5dd;display:flex;justify-content:space-between;align-items:center;padding:0 max(25px,calc((100vw - 880px)/2));gap:25px}.public-topbar .brand-word{font-size:20px}.public-topbar .als-mark{font-size:31px}.public-topbar .brand-divider{height:24px}.public-topbar .small{font-size:10px;color:#83918a}.public-container{max-width:850px;margin:34px auto 0;padding:0 20px}.public-intro{padding:4px 6px 25px}.public-intro h1{font-size:31px}.public-intro .muted{font-size:12px;margin-top:13px;max-width:650px}.public-code{font-size:10px;color:#809286;margin-bottom:8px;letter-spacing:.1em}.public-panel{padding:27px 30px;background:#fff;border:1px solid #dce4dc;border-radius:12px;margin-bottom:17px;box-shadow:0 7px 22px #1f473d04}.public-panel-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.public-panel-title .number{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#e8f0e9;color:#577d60;font-size:10px;font-weight:650;flex:none}.public-panel h2{font-size:18px}.public-panel .intro{font-size:11px;color:var(--muted);margin:-4px 0 19px}.term-content{font-size:12px;line-height:1.9;color:#45584c}.term-content p{white-space:pre-wrap;margin-bottom:13px;line-height:1.9}.term-content table{border-collapse:collapse;width:100%;margin:15px 0;font-size:11px;white-space:pre-wrap}.term-content td{padding:9px;border:1px solid #d9e1da;vertical-align:top}.term-table-scroll{overflow:auto}.term-content strong{font-weight:650}.consent-question{border:1px solid #d9e5db;border-radius:9px;background:#f8fbf8;padding:18px;margin-top:20px}.consent-question legend{display:block;width:100%;font-size:12px;line-height:1.65;font-weight:600;padding:0;float:left;margin-bottom:12px}.consent-question:after{content:"";display:table;clear:both}.question-owner{font-size:9px;letter-spacing:.05em;text-transform:uppercase;color:#819585;font-weight:650;margin-bottom:8px}.consent-options{display:flex;gap:12px;clear:both;flex-wrap:wrap}.radio-option{display:flex;align-items:center;gap:8px;border:1px solid #d6e1d7;background:#fff;border-radius:7px;padding:11px 14px;font-size:11px;color:#4e6353;cursor:pointer;min-width:140px}.radio-option input{margin:0;accent-color:var(--teal);width:16px;height:16px}.radio-option:has(input:checked){border-color:#73a180;background:#eaf3ed;color:#285e3c}.question-optional{font-size:10px;color:#7c8b80;margin-top:9px}.public-submit-area{padding:7px 5px 0}.public-submit-area>.btn{width:100%;min-height:49px;font-size:13px}.public-submit-area .small{display:flex;justify-content:center;gap:7px;color:#8b9990;font-size:10px;margin-top:13px;line-height:1.5}.public-submit-area .icon{width:13px;height:13px}.public-footer{text-align:center;color:#8b9a90;font-size:10px;margin-top:27px}.public-footer a{color:#6f8877}.actor-group{border-top:1px solid #e9efea;margin-top:23px;padding-top:21px}.actor-group h3{font-size:13px;margin-bottom:14px}.public-preview .public-panel{padding:22px;box-shadow:none}.public-preview .public-intro{padding:5px 0 20px}.public-preview .public-intro h1{font-size:25px}.public-preview .public-container{margin:0;padding:0}.public-preview input:disabled{background:#f8faf8}.public-error{max-width:600px;margin:90px auto;padding:35px;text-align:center}.public-error h1{font-size:27px}.public-error p{margin:16px 0;color:var(--muted);font-size:13px}.public-error .icon{width:35px;height:35px;color:#94aa98;margin-bottom:20px}
.receipt-wrap{max-width:650px;margin:40px auto;padding:0 20px}.receipt-paper{background:#fff;border:1px solid #d7e2d9;border-radius:13px;padding:43px 40px 32px;text-align:center;box-shadow:0 12px 45px #203e3010}.receipt-symbol{margin:0 auto 20px;display:grid;place-items:center;width:62px;height:62px;background:#e6f2e8;color:#3c7c4c;border-radius:50%}.receipt-symbol .icon{width:29px;height:29px}.receipt-paper.refused .receipt-symbol,.receipt-paper.withdrawn .receipt-symbol{background:#edf0f0;color:#71838a}.receipt-paper.awaiting_cosignature .receipt-symbol{background:#f6f0e5;color:#9b8354}.receipt-paper .eyebrow{font-size:9px;color:#8ba08e}.receipt-paper h1{font-size:29px}.receipt-name{font-size:20px;font-weight:600;margin:25px 0 8px;word-break:break-word;letter-spacing:-.025em}.receipt-body{font-size:12px;color:#708074;max-width:420px;margin:0 auto}.receipt-details{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:18px 25px;margin:29px 0 0;padding-top:25px;border-top:1px solid #e5ece6}.receipt-details dt{font-size:9px;letter-spacing:.05em;text-transform:uppercase;color:#91a093;margin-bottom:7px}.receipt-details dd{margin:0;font-size:12px;color:#45604d;line-height:1.6;word-break:break-word}.receipt-protocol{font-family:ui-monospace,monospace;font-size:10px!important}.receipt-note{font-size:10px;color:#9aa79c;line-height:1.6;margin-top:27px}.receipt-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}.receipt-actions .btn{font-size:11px}.withdraw-control{text-align:center;margin-top:23px}.withdraw-control .text-link{font-weight:400;font-size:10px;color:#8c998f}.receipt-bottom-brand{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:30px;color:#8e9e92}.receipt-bottom-brand .brand-word{font-size:17px}.receipt-bottom-brand .als-mark{font-size:25px}.receipt-bottom-brand .brand-divider{height:20px}
.modal-backdrop{position:fixed;inset:0;z-index:50;background:#102b36a6;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:#fff;border-radius:16px;box-shadow:0 25px 100px #102b3633;padding:28px;max-width:560px;width:100%;max-height:90vh;overflow:auto}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:23px}.modal h2{font-size:23px}.modal .field{margin-bottom:16px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.modal .field-grid .field{margin-bottom:0}.toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:9px;background:#183b37;color:#fff;font-size:12px;box-shadow:0 8px 30px #0c252a25;max-width:calc(100vw - 30px);line-height:1.5}.toast.error{background:#8a4741}.mobile-menu{display:none}
@media(min-width:1450px){.workspace{padding-left:55px;padding-right:55px}.study-grid{gap:22px}.stat-card{padding:23px 25px}.study-card-inner{padding:25px}}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.workspace{padding:28px 25px}.topbar{padding:0 25px}.sidebar{padding-left:12px;padding-right:12px}.study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:11px}.stat-card{padding:17px}.page-heading h1{font-size:31px}.topbar-right{gap:10px}.demo-strip{font-size:9px}.user-name{max-width:100px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{height:auto;position:relative;padding:18px 20px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:15px}.sidebar .brand-word{padding:0;font-size:22px}.sidebar-kicker,.sidebar-section,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:7px}.nav-item{padding:8px;font-size:10px;gap:7px}.nav-item .icon{width:15px;height:15px}.nav-item.help-nav{display:none}.topbar{height:58px;padding:0 20px}.breadcrumbs{font-size:10px}.breadcrumbs strong{max-width:150px}.topbar-right{gap:5px}.topbar .demo-strip{display:none}.user-name{display:none}.avatar{width:27px;height:27px}.topbar .icon-btn{width:28px}.workspace{padding:26px 20px 35px}.page-heading{margin-bottom:21px;gap:15px;align-items:center}.page-heading h1{font-size:27px}.page-heading p{font-size:11px}.page-heading .btn{font-size:11px;min-height:38px;padding:9px 12px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 26px}.stat-card{padding:16px}.stat-value{font-size:25px;margin-top:10px}.stat-label{font-size:10px}.stat-caption{font-size:9px}.study-grid{gap:13px}.study-card-inner{padding:18px}.study-card h3{font-size:18px}.card-counts{gap:15px;margin-top:18px}.card-actions{padding:10px 14px}.section-toolbar{flex-wrap:wrap}.search-wrap{min-width:190px;flex:1}.helper-panel{padding:17px;gap:12px}.helper-panel p{font-size:10px}.workspace-footer{font-size:8px}.editor-steps{overflow:auto;display:flex}.editor-step{min-width:102px;padding:12px 7px;font-size:10px}.panel{padding:21px}.field-grid{gap:15px}.heading-actions{gap:5px}.page-heading.editor-heading{display:block}.editor-heading .heading-actions{justify-content:flex-start;margin-top:18px}.publish-summary{gap:6px}.publish-summary>div{padding:12px}.login-page{display:block}.login-aside{padding:25px 30px}.login-aside-content{padding:38px 0 20px}.login-aside h1{font-size:32px;max-width:430px}.login-aside p{font-size:11px;margin-top:15px;max-width:430px}.login-aside-footer{display:none}.login-main{padding:34px 25px 45px}.login-card{max-width:430px}.login-card h2{font-size:25px}.login-aside:after{bottom:-280px}.public-topbar{height:70px;padding:0 22px}.public-topbar>.small{display:none}.public-container{margin-top:24px;padding:0 16px}.public-intro{padding-bottom:22px}.public-intro h1{font-size:27px}.public-panel{padding:23px 21px}.public-panel h2{font-size:16px}.public-panel .field-grid{grid-template-columns:1fr}.term-content{font-size:12px}.consent-question{padding:15px}.radio-option{flex:1;min-width:118px;padding:11px}.receipt-wrap{margin-top:27px;padding:0 16px}.receipt-paper{padding:32px 24px 25px}.receipt-paper h1{font-size:26px}.receipt-name{font-size:19px}.receipt-details{gap:17px}.modal{padding:23px}.modal-backdrop{padding:16px}.submissions-toolbar{flex-wrap:wrap;align-items:flex-start}}
@media(max-width:460px){.study-grid{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.card-topline{margin-bottom:18px}.study-card-inner{padding:20px}.card-counts strong{font-size:20px}.stat-label .icon{display:none}.page-heading .btn .icon{width:15px}.heading-actions{flex-wrap:wrap}.publish-summary{grid-template-columns:1fr}.publish-summary>div{display:flex;gap:10px;align-items:center}.publish-summary strong{margin:0}.receipt-details{grid-template-columns:1fr}.receipt-actions .btn{flex:1;min-width:120px}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1}.public-code{line-height:1.6}.consent-options{gap:9px}.login-aside h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.spinner{border-color:var(--teal)}}
@media print{body{background:white}.public-topbar,.receipt-actions,.withdraw-control,.public-footer,.demo-strip,.toast{display:none!important}.receipt-wrap{padding:0;margin:0;max-width:none}.receipt-paper{border:0;box-shadow:none;border-radius:0;padding:30px}.receipt-bottom-brand{margin-top:40px}.public-page{background:#fff}.receipt-details{grid-template-columns:1fr 1fr}a{color:inherit}}
.doc-edit-actions{padding:0 19px 12px}.doc-edit-actions .text-link{font-size:10px}.doc-text-edit{padding:0 18px 18px}.public-text-editor{font-size:11px!important;line-height:1.8!important;min-height:340px!important;white-space:pre-wrap}.doc-text-edit .notice{font-size:10px;margin-top:0}.doc-text-edit[hidden]{display:none}

.mt-17{margin-top:17px}.mt-18{margin-top:18px}.mt-20{margin-top:20px}.mb-17{margin-bottom:17px}.mb-12{margin-bottom:12px}.doc-warnings{padding:0 17px 15px}.publish-link-actions{justify-content:flex-start;margin-bottom:24px}.collection-close{margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.public-contact{margin-top:19px}.text-center{text-align:center}.clipboard-copy{position:fixed;left:-9999px}.stg-details{border:1px solid var(--line);border-radius:10px;margin-top:25px;padding:17px}.stg-details summary{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;cursor:pointer;list-style:none}.stg-details summary::-webkit-details-marker{display:none}.stg-details[open] summary{margin-bottom:17px}.stg-details summary:after{content:"+";margin-left:auto;font-size:17px;color:#7992a4}.stg-details[open] summary:after{content:"−"}.stg-details summary .icon{width:16px;height:16px;color:#6886a2}.doc-edit-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bar-height-0{height:0%}.bar-height-1{height:1%}.bar-height-2{height:2%}.bar-height-3{height:3%}.bar-height-4{height:4%}.bar-height-5{height:5%}.bar-height-6{height:6%}.bar-height-7{height:7%}.bar-height-8{height:8%}.bar-height-9{height:9%}.bar-height-10{height:10%}.bar-height-11{height:11%}.bar-height-12{height:12%}.bar-height-13{height:13%}.bar-height-14{height:14%}.bar-height-15{height:15%}.bar-height-16{height:16%}.bar-height-17{height:17%}.bar-height-18{height:18%}.bar-height-19{height:19%}.bar-height-20{height:20%}.bar-height-21{height:21%}.bar-height-22{height:22%}.bar-height-23{height:23%}.bar-height-24{height:24%}.bar-height-25{height:25%}.bar-height-26{height:26%}.bar-height-27{height:27%}.bar-height-28{height:28%}.bar-height-29{height:29%}.bar-height-30{height:30%}.bar-height-31{height:31%}.bar-height-32{height:32%}.bar-height-33{height:33%}.bar-height-34{height:34%}.bar-height-35{height:35%}.bar-height-36{height:36%}.bar-height-37{height:37%}.bar-height-38{height:38%}.bar-height-39{height:39%}.bar-height-40{height:40%}.bar-height-41{height:41%}.bar-height-42{height:42%}.bar-height-43{height:43%}.bar-height-44{height:44%}.bar-height-45{height:45%}.bar-height-46{height:46%}.bar-height-47{height:47%}.bar-height-48{height:48%}.bar-height-49{height:49%}.bar-height-50{height:50%}.bar-height-51{height:51%}.bar-height-52{height:52%}.bar-height-53{height:53%}.bar-height-54{height:54%}.bar-height-55{height:55%}.bar-height-56{height:56%}.bar-height-57{height:57%}.bar-height-58{height:58%}.bar-height-59{height:59%}.bar-height-60{height:60%}.bar-height-61{height:61%}.bar-height-62{height:62%}.bar-height-63{height:63%}.bar-height-64{height:64%}.bar-height-65{height:65%}.bar-height-66{height:66%}.bar-height-67{height:67%}.bar-height-68{height:68%}.bar-height-69{height:69%}.bar-height-70{height:70%}.bar-height-71{height:71%}.bar-height-72{height:72%}.bar-height-73{height:73%}.bar-height-74{height:74%}.bar-height-75{height:75%}.bar-height-76{height:76%}.bar-height-77{height:77%}.bar-height-78{height:78%}.bar-height-79{height:79%}.bar-height-80{height:80%}.bar-height-81{height:81%}.bar-height-82{height:82%}.bar-height-83{height:83%}.bar-height-84{height:84%}.bar-height-85{height:85%}.bar-height-86{height:86%}.bar-height-87{height:87%}.bar-height-88{height:88%}.bar-height-89{height:89%}.bar-height-90{height:90%}.bar-height-91{height:91%}.bar-height-92{height:92%}.bar-height-93{height:93%}.bar-height-94{height:94%}.bar-height-95{height:95%}.bar-height-96{height:96%}.bar-height-97{height:97%}.bar-height-98{height:98%}.bar-height-99{height:99%}.bar-height-100{height:100%}
.sync-warnings{margin:3px 0 17px}.sync-warnings h3{font-size:11px;letter-spacing:0;font-weight:600;color:#8b7347}.sync-warnings .warning-list{margin-top:8px}
.privacy-notice{display:flex;gap:12px;border:1px solid #d8e3ef;border-radius:10px;background:#eaf1f8;padding:17px 20px;margin-bottom:18px;color:#5c758b}.privacy-notice>.icon{width:18px;height:18px;margin-top:2px;flex:none;color:#6b8cab}.privacy-notice h2{font-size:11px;font-weight:650;letter-spacing:0;color:#496b87;margin-bottom:7px}.privacy-notice p{font-size:10px;line-height:1.7;margin-top:5px}.privacy-notice p:first-of-type{margin-top:0}@media(max-width:760px){.privacy-notice{padding:16px;gap:10px}.privacy-notice p{font-size:10px}}

/* Declarações individuais e identificação de entrada. */
.public-entry[hidden],.public-contract[hidden],.public-contract .notice[hidden]{display:none!important}
.identification-settings{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.identification-settings .field-grid{margin-top:18px}
.template-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}
.template-actions select{max-width:300px;min-width:190px}
.declaration-editor{min-height:220px;line-height:1.7;white-space:pre-wrap}
.declaration-text{white-space:pre-wrap;font-size:13px;line-height:1.85;color:#21394f;margin:16px 0 20px;overflow-wrap:anywhere}
.reading-document+.reading-document,.document-decisions+.document-decisions{margin-top:30px;padding-top:25px;border-top:1px solid var(--line)}
.reading-document h3,.document-decisions h3{font-size:15px;line-height:1.6;color:#17334b;margin-bottom:15px}
.public-contract .radio-option{align-items:flex-start;line-height:1.6;min-width:0}
.public-contract .radio-option input{flex:none;margin-top:3px}
.public-contract .radio-option>span{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.public-entry .field{margin:22px 0}
.public-entry .btn{margin-top:15px}
.public-contract input[readonly]{background:#f0f5f8;color:#345169}
@media(max-width:760px){.declaration-text{font-size:13px}.public-contract .consent-options{flex-direction:column}.template-actions select{width:100%;max-width:none}}

/* Montagem do formulário e prévia do rascunho. */
[hidden]{display:none!important}
.paste-callout{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#f3f7fb;border:1px solid #dce6ef;border-radius:10px;padding:18px;margin:18px 0}
.paste-callout h3{font-size:14px;letter-spacing:0;margin-bottom:6px}
.modal.modal-wide{width:min(1280px,calc(100vw - 46px));max-width:1280px;max-height:calc(100vh - 46px);overflow:auto}
.builder-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:24px;margin:20px 0}
.builder-editing,.builder-preview-column{min-width:0;max-height:66vh;overflow:auto;overscroll-behavior:contain;padding:2px 8px 10px 2px}
.builder-editing>p{margin:12px 0;line-height:1.7}
.builder-toolbar{display:flex;flex-wrap:wrap;gap:9px}
.builder-tool{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;padding:10px;background:#f4f7fa;border:1px solid #dbe5ec;border-radius:8px;flex:1 1 46%}
.builder-tool>span{font-size:10px;font-weight:650;color:#4d6980;flex-basis:100%}
.builder-tool select{flex:1;min-width:110px;max-width:100%;font-size:11px;padding:7px}
.builder-tool .btn{font-size:10px;min-height:32px;padding:7px 9px;white-space:normal}
.builder-values{flex-basis:100%;display:block}.builder-values summary{cursor:pointer;font-size:11px;color:#356485;font-weight:600}.builder-values[open] select{margin:9px 8px 0 0;max-width:260px}
.builder-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.builder-block{border:1px solid #d6e2eb;border-radius:10px;background:#fff;padding:13px;outline:none;transition:border-color .15s}
.builder-block.selected{border-color:#1767a6;box-shadow:inset 3px 0 #1767a6}
.builder-block-heading{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:10px}
.builder-block-heading>strong{font-size:10px;letter-spacing:.08em;color:#617a8f}
.builder-order{display:flex;align-items:center;gap:2px}.builder-order .btn{font-size:9px;min-height:28px;padding:4px 6px}.builder-order .icon-btn{width:27px;height:27px}
.builder-block textarea.builder-text{width:100%;font-size:12px;line-height:1.8;resize:vertical;min-height:85px;white-space:pre-wrap}
.builder-block .field label{font-size:10px}.builder-block .field{margin-bottom:12px}.builder-block .field:last-child{margin-bottom:0}
.builder-block .field input,.builder-block .field textarea{font-size:12px}
.builder-consent-title{font-size:13px;font-weight:600;color:#204563;margin-bottom:10px}
.builder-consent-settings>summary{font-size:11px;color:#16649e;font-weight:600;cursor:pointer;padding:5px 0 12px}
.builder-consent-settings .check-line{font-size:11px}
.builder-preview{border:1px solid #dce5ed;border-radius:12px;padding:10px;background:#f4f7fa;margin:0 auto}
.builder-preview-column>.preview-label{position:sticky;top:0;z-index:2;background:#fff;padding:0 0 12px;color:#5a758b;font-size:10px}
.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0}
.preview-toolbar>div{display:flex;gap:7px}.preview-toolbar button[aria-pressed=true]{background:#173d61;color:#fff;border-color:#173d61}
.preview-device{max-width:100%;margin:0 auto;transition:max-width .2s;background:#f4f7fa}
.preview-device.desktop{width:100%}.preview-device.phone{width:390px;max-width:100%}
.preview-device .public-container{max-width:100%;padding:0 14px 20px}
.preview-device .public-intro{padding-top:24px}.preview-device .public-intro h1{font-size:29px}
.preview-device.phone .public-intro h1{font-size:24px}.preview-device.phone .public-panel{padding:19px 16px}
.preview-device.phone .field-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.preview-device.phone .consent-options{display:flex;flex-direction:column}
.preview-device.phone .public-panel-title{gap:9px;align-items:flex-start}.preview-device.phone .public-panel-title h2{font-size:15px;line-height:1.5}
.preview-device.phone .public-panel-title .number{flex:none}.preview-device.phone .btn{white-space:normal}
.preview-device.phone .public-submit-area{align-items:stretch}.preview-device.phone .public-submit-area .btn{width:100%}
.preview-device.phone .declaration-text{font-size:12px}.preview-device.phone .consent-question{padding:17px 12px}
.preview-device.phone .radio-option{font-size:12px;padding:10px}.preview-device.phone .term-content p{font-size:12px;line-height:1.85}
.preview-device.phone .reading-document h3,.preview-device.phone .document-decisions h3{font-size:14px;overflow-wrap:anywhere}
.preview-device .public-entry input,.preview-device .public-contract input{min-width:0;max-width:100%}
.placed-identity-field{max-width:560px;margin:18px 0 24px}.placed-identity-field .field{width:100%}
.preview-simulation-note{border:1px dashed #b8cbdb;background:#edf4fa;border-radius:9px;padding:12px;margin:16px 0}
.preview-simulation-note .notice{border:0;background:transparent;padding:0;margin:0 0 12px}
.preview-result{background:#fff;border:1px solid #cddce8;border-radius:12px;padding:27px;margin:20px 0;line-height:1.8;overflow-wrap:anywhere}
.preview-result h2{font-size:24px;line-height:1.4;margin:17px 0}.preview-result .receipt-name{font-size:22px}
.preview-result ul{margin:18px 0;padding-left:19px}.preview-result li{margin:9px 0}.preview-result .btn{margin-top:12px}
.preview-result-banner{font-size:10px;letter-spacing:.1em;color:#5c7590;font-weight:650}
@media(max-width:1000px){.builder-layout{grid-template-columns:minmax(0,1fr)}.builder-editing{max-height:65vh}.builder-preview-column{max-height:60vh;border-top:1px solid #dbe5ed;padding-top:20px}.modal.modal-wide{width:calc(100vw - 26px);max-height:calc(100vh - 26px)}}
@media(max-width:600px){.paste-callout,.preview-toolbar{align-items:flex-start;flex-direction:column}.builder-tool{flex-basis:100%}.builder-order .btn{font-size:9px;padding:4px}.builder-block{padding:10px}.builder-block-heading{gap:3px}.builder-block-heading>strong{font-size:9px}.modal.modal-wide{padding:18px 14px}.modal-wide .modal-actions{flex-wrap:wrap}.preview-frame.public-preview{padding:10px 0}}

/* Fluxo TCLE padronizado: marca, projetos por ano, texto e identificação final. */
.document-identification{border-top:1px solid var(--line);padding-top:24px;margin-top:27px}.document-identification>h3{font-size:16px;margin:0 0 14px;color:#17334b;line-height:1.5}.document-identification>.intro{margin:0 0 20px}.document-inline-decisions{border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.document-inline-decisions>h3{font-size:15px;margin-bottom:17px}.presentation-settings>.field{margin:20px 0 12px}.presentation-settings>.panel-intro{margin-bottom:12px}
@media(max-width:600px){.document-identification,.document-inline-decisions{padding-top:20px;margin-top:23px}.document-identification>h3,.document-inline-decisions>h3{font-size:14px}}
.decision-accept{color:#0756a1;font-weight:700}.decision-refuse{color:#b42318;font-weight:700}
.receipt-decisions{padding-left:20px;margin:22px 0;line-height:1.8;font-size:13px}.receipt-decisions li+li{margin-top:10px}
.declaration-rich-editor .rich-editor-paper{min-height:180px;max-height:390px;padding:18px}.declaration-rich-editor .rich-toolbar{gap:5px;padding:8px}.declaration-rich-editor .rich-toolbar>.btn{font-size:10px;padding:5px 8px}
.consent-question .term-content .rich-content{font-size:12px;line-height:1.85;margin:16px 0}.consent-question .term-content .rich-content p{white-space:normal}
.als-logo{display:block;width:52px;height:52px;max-width:100%;object-fit:contain;flex:none}
.sidebar{overflow:hidden}.sidebar .brand-word{flex:none}.sidebar-kicker,.sidebar-section{flex:none}
.sidebar .project-nav{min-height:70px;flex:1;overflow-y:auto;overflow-x:hidden;margin:0 -3px;padding:0 3px 10px;scrollbar-width:thin;scrollbar-color:#416887 transparent}
.project-year{border:0;margin-bottom:9px}.project-year>summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;color:#aac0d3;font-size:11px;font-weight:650;letter-spacing:.08em;padding:10px 12px}
.project-year>summary::-webkit-details-marker{display:none}.project-year>summary::before{content:'›';display:inline-block;margin-right:8px;transform:rotate(0);font-size:16px}.project-year[open]>summary::before{transform:rotate(90deg)}.project-year>summary>span{flex:1}.project-year>summary small{border-radius:8px;padding:2px 6px;background:#173f63;font-size:9px;color:#bed2e3}
.project-year-items{display:flex;flex-direction:column;gap:5px}.project-item{appearance:none;width:100%;display:flex;align-items:flex-start;gap:9px;min-width:0;max-width:100%;border:1px solid transparent;border-radius:9px;background:transparent;color:#bed0df;text-align:left;padding:12px 10px;font:inherit;font-size:11px;line-height:1.55;cursor:pointer}
.project-item:hover{background:#103a61;color:white}.project-item.selected{background:#174b76;border-color:#2d5c83;color:#fff;box-shadow:inset 3px 0 #6bb9c5}.project-title{display:block;min-width:0;overflow-wrap:anywhere;font-weight:600}.project-dot{width:5px;height:5px;flex:none;border-radius:50%;background:#84a8c7;margin-top:6px}.project-dot.published{background:#7bc3ab}.project-dot.closed{background:#8e9ca8}
.sidebar-bottom{flex:none;min-width:0;padding-top:14px}.sidebar .client-lockup{padding-top:16px;min-width:0}.sidebar .client-lockup .als-logo{width:64px;height:64px;max-height:64px;margin:0 0 9px}.sidebar .client-lockup p{font-size:9px;line-height:1.6;overflow-wrap:anywhere}.sidebar .version{margin-top:13px;line-height:1.6}
.brand-pair .als-logo{width:42px;height:42px}.brand-divider{display:block;width:1px;height:25px;background:#d8e2eb}.login-aside-footer .als-logo{width:100px;height:100px}
.document-primary-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.file-import-option{padding:15px 0;border-top:1px solid #e0e7ee;margin-bottom:18px}.file-import-option>summary{cursor:pointer;font-size:11px;color:#4c6c87;font-weight:600}.file-import-option[open] input{display:block;margin:15px 0}.file-import-option .btn{margin-top:10px}
.document-text-card{border:1px solid #dbe5ed;border-radius:12px;background:white;padding:20px;margin-top:22px}.document-text-heading{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.document-text-heading>div:first-child{flex:1;min-width:0}.document-text-heading .eyebrow{font-size:9px}.document-text-heading input{font-size:16px;font-weight:650;margin-top:9px;width:100%}.document-order-actions{display:flex;gap:2px;flex:none}.document-order-actions .btn{font-size:10px;min-height:32px;padding:5px 7px}
.document-text-heading input{display:block;min-height:43px;border:1px solid #d4e0e9;border-radius:8px;background:#fff;color:#193d5c;padding:10px 12px;font-family:inherit;outline:none}.document-text-heading input:focus{border-color:#6d9fc5;box-shadow:0 0 0 3px #dbe9f5}.editor-heading .badge{margin-right:8px}
.document-reading-preview{margin:20px 0;padding:20px;background:#f8fafc;border:1px solid #e8eef3;border-radius:9px;max-height:330px;overflow:auto}.document-text-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.document-text-actions>.icon-btn{margin-left:auto}.document-text-actions .btn{font-size:11px}
.author-flow{display:flex;gap:22px;flex-wrap:wrap;margin:25px 0 0;padding:0;list-style:none;counter-reset:flow}.author-flow li{display:flex;align-items:center;gap:8px;font-size:11px;color:#52718b;counter-increment:flow}.author-flow li::before{content:counter(flow);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e4eef6;font-size:10px;font-weight:650}
.rich-content{font-size:13px;line-height:1.8;color:#24415a;overflow-wrap:anywhere;white-space:normal}.rich-content p,.term-content .rich-content p{font-size:inherit;line-height:inherit;margin:0 0 .7em;white-space:normal}.rich-content p:last-child{margin-bottom:0}.rich-content strong{font-weight:700;color:inherit}.rich-content em{font-style:italic}.rich-content h2,.rich-content h3,.rich-content h4{color:#173c60;font-size:16px;line-height:1.55;margin:1em 0 .6em;letter-spacing:0}.rich-content h2:first-child,.rich-content h3:first-child{margin-top:0}
.rich-content ul,.rich-content ol{padding-left:24px;margin:.6em 0 .9em}.rich-content li{margin:.25em 0}.rich-content li>p{margin-bottom:.25em}.rich-content a{color:#0756a1;text-decoration:underline;text-underline-offset:2px}.rich-content blockquote{margin:12px 0;padding-left:16px;border-left:3px solid #bfd2e1;color:#4f6c83}.rich-content table{border-collapse:collapse;max-width:100%;width:100%;margin:14px 0;font-size:12px}.rich-content td,.rich-content th{border:1px solid #d8e2eb;padding:8px;vertical-align:top;overflow-wrap:anywhere}.rich-content th{background:#edf3f8;text-align:left}
.rich-editor{border:1px solid #cbd9e5;border-radius:10px;overflow:hidden;background:#fff}.rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px;background:#f1f5f9;border-bottom:1px solid #dce5ed}.rich-toolbar>.btn{min-height:32px;font-size:10px;padding:6px 10px}.rich-toolbar>.btn:first-child{font-weight:750}.rich-toolbar>.btn:nth-child(2){font-style:italic}.rich-link-tool{font-size:11px;color:#315b7b}.rich-link-tool summary{cursor:pointer;padding:6px;font-weight:650}.rich-link-tool[open]{flex-basis:100%;display:flex;gap:8px}.rich-link-tool input{min-width:180px;max-width:100%;font-size:12px;margin:7px 7px 7px 0}.rich-editor-paper{min-height:340px;max-height:62vh;overflow:auto;padding:24px;outline:none}.rich-editor-paper:focus{box-shadow:inset 0 0 0 2px #70a0c5}.rich-editor-paper:empty::before{content:'Cole ou digite o texto do documento aqui…';color:#8a9cad;pointer-events:none}
.text-edit-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:22px;margin:20px 0}.text-edit-layout>section,.text-edit-layout>aside{min-width:0}.text-edit-layout>aside{max-height:65vh;overflow:auto;background:#f4f7fa;border-radius:10px;border:1px solid #dce5ed;padding:12px}.text-edit-layout .preview-label{font-size:9px;color:#59778f;margin-bottom:12px}.text-preview .public-container{padding:0 4px 12px}.text-preview .public-panel{padding:17px 13px}
.data-consent-layout>.panel+.panel{margin-top:25px}.fixed-data-fields{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.fixed-data-fields>span{display:flex;gap:7px;align-items:center;background:#edf5f9;border:1px solid #d9e8f0;color:#315f7d;border-radius:8px;padding:10px 13px;font-size:11px}.fixed-data-fields .icon{width:14px;height:14px}
.additional-data-card{padding:18px;margin:17px 0;border:1px solid #dbe5ed;border-radius:10px;background:#f8fafc}.additional-data-options{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:13px}.additional-data-options>.btn{margin-left:auto}.additional-data-options .check-line{font-size:11px}
.consent-editor-card{padding:23px;margin:23px 0;border:1px solid #d8e4ed;border-radius:12px;background:#fff}.consent-editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.consent-editor-heading>strong{font-size:10px;color:#5c7b93;letter-spacing:.1em}.consent-editor-card>.field{margin-top:18px}.consent-editor-card textarea{min-height:130px;font-size:12px;line-height:1.8}.consent-editor-card .notice{margin:16px 0}.declaration-preview-caption{font-size:9px;font-weight:650;letter-spacing:.1em;color:#698197;margin-top:20px}.declaration-author-preview{white-space:pre-wrap;background:#edf5f2;border:1px solid #d5e5de;color:#295447;border-radius:9px;padding:18px;line-height:1.8;font-size:12px;margin:9px 0 22px;overflow-wrap:anywhere}
@media(max-width:1050px){.text-edit-layout{grid-template-columns:minmax(0,1fr)}.text-edit-layout>aside{max-height:55vh}.rich-editor-paper{min-height:280px;max-height:50vh}}
@media(max-width:600px){.document-primary-actions{flex-direction:column;align-items:stretch}.document-text-card{padding:15px}.document-text-heading{flex-wrap:wrap}.document-order-actions{width:100%;justify-content:flex-end}.document-reading-preview{padding:15px}.rich-editor-paper{padding:17px}.rich-toolbar{gap:5px;padding:8px}.rich-toolbar>.btn{font-size:9px;padding:5px 7px}.consent-editor-card{padding:16px}.additional-data-options{align-items:flex-start;flex-direction:column}.additional-data-options>.btn{margin-left:0}.author-flow{gap:10px}.rich-content{font-size:12px}.brand-pair{gap:12px}}

/* Participant reading and neutral choices, including small device previews. */
.public-container .term-content,.public-container .term-content .rich-content,.preview-device.phone .term-content,.preview-device.phone .term-content .rich-content{font-size:16px;line-height:1.7;color:#203f58;text-align:left;overflow-wrap:anywhere}
.public-container .term-content p,.preview-device.phone .term-content p{font-size:inherit;line-height:1.7;margin-bottom:.85em}
.public-container .term-content .rich-content h2{font-size:22px}.public-container .term-content .rich-content h3{font-size:20px}.public-container .term-content .rich-content h4{font-size:18px}
.public-container .term-content table{font-size:15px}.public-container .term-content a{overflow-wrap:anywhere}
.public-container .field label{font-size:14px}.public-container input,.public-container select{font-size:16px;min-height:48px}
.public-container .consent-question{font-size:16px}.public-container .consent-question legend{font-size:16px;line-height:1.55}
.public-container .declaration-text{font-size:16px;line-height:1.7}.public-container .question-owner{font-size:11px}
.public-container .radio-option,.preview-device.phone .radio-option{font-size:16px;line-height:1.5;min-height:48px;color:#203f58;font-weight:500;padding:12px}
.public-container .radio-option span{font-weight:500;color:inherit}.public-container .radio-option input{accent-color:#335f80;width:20px;height:20px;min-height:0}
.public-container .radio-option:has(input:checked){border-color:#335f80;background:#edf3f7;color:#203f58}
.public-container .consent-question:disabled .radio-option{opacity:.68;cursor:wait;background:#f5f6f7}
.public-container .question-optional,.public-container .public-panel .intro{font-size:14px;line-height:1.6}
.reading-wait{position:sticky;top:0;z-index:3;padding:12px 15px;background:#f6f8fa;border:1px solid #cbd8e2;border-radius:8px;margin:0 0 16px;font-size:14px;line-height:1.5;color:#24445e}
.participant-privacy{font-size:13px;line-height:1.6;color:#49657a;margin:22px 4px}.participant-privacy summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.participant-privacy p{margin:12px 0}
.receipt-study{font-size:22px;line-height:1.4;margin:16px 0 24px;overflow-wrap:anywhere}.receipt-share-controls{margin-top:18px}.receipt-share-controls>.small{font-size:13px;line-height:1.6;text-align:center;padding:0 8px}.receipt-share-controls .receipt-actions{flex-wrap:wrap}
.inline-consent{margin:22px 0}.inline-consent .document-identification{font-family:inherit}.editor-consent-marker{display:inline-block;max-width:100%;padding:8px 12px;margin:12px 0;border:1px dashed #526f87;border-radius:6px;background:#edf3f7;color:#24445e;font:600 13px/1.5 Arial,sans-serif;overflow-wrap:anywhere;user-select:all}
.inline-placement-tools{padding:14px;background:#f4f7fa;border:1px solid #d9e3eb;border-radius:8px;margin-bottom:12px;display:flex;flex-wrap:wrap;gap:8px}.inline-placement-tools p{font-size:13px;line-height:1.6;flex-basis:100%}.inline-placement-tools select{max-width:100%;min-width:0;flex:1}.consent-position-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:12px;color:#49657a}
@media(max-width:600px){.public-container{padding:0 8px;margin-top:18px}.public-container .public-panel,.public-preview .public-panel,.preview-device.phone .public-panel{padding:20px 14px}.public-container .consent-question{padding:14px 10px}.public-container .consent-options,.preview-device.phone .consent-options{flex-direction:column;gap:10px}.public-container .radio-option{width:100%}.public-container .public-intro h1{font-size:25px;line-height:1.35}.public-container .public-intro .muted{font-size:14px}.receipt-actions{flex-direction:column}.receipt-actions>.btn{width:100%}.receipt-paper{padding:26px 17px}.receipt-details{grid-template-columns:1fr}.receipt-study{font-size:21px}.receipt-wrap{padding:0 8px}.receipt-share-controls .receipt-actions{gap:10px}}
.preview-device.phone .consent-options{flex-direction:column}.preview-device.phone .public-container{padding:0 8px 16px}.preview-device.phone .public-panel{padding:20px 14px}.preview-device.phone .consent-question{padding:14px 10px}.preview-device.phone input,.preview-device.phone select{font-size:16px}
@media print{.receipt-share-controls,.participant-privacy,.reading-wait{display:none!important}}
.reading-wait.ready{position:static;background:transparent;border:0;padding:0 4px 10px;margin-bottom:0;font-size:13px;color:#49657a}
.reconciliation-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.reconciliation-table{max-height:52vh;overflow:auto;margin:16px 0}.reconciliation-table td{vertical-align:top;overflow-wrap:anywhere}.reconciliation-summary{border-top:1px solid #dce5ed;padding-top:16px;margin-top:16px}.reconciliation-summary p{margin-bottom:12px}
/* Portal 0.7: estudos em árvore, consentimentos e acompanhamento independentes. */
.app-shell{grid-template-columns:248px minmax(0,1fr)}.sidebar{padding:28px 15px 20px}.sidebar .brand-word{padding-left:14px}.sidebar-kicker{padding-left:14px}.sidebar .project-nav{max-height:none;padding-bottom:12px}.project-year>summary{font-size:12px;padding:11px 12px}.project-year-items{gap:7px}.project-branch{border-radius:9px;background:transparent;min-width:0}.project-branch.selected{background:#103a60}.project-branch-title{list-style:none;display:flex;gap:9px;padding:12px 10px;cursor:pointer;color:#c3d4e1;font-size:12px;line-height:1.55}.project-branch-title::-webkit-details-marker{display:none}.project-branch-title:after{content:'›';font-size:16px;color:#7899b7;margin-left:auto;align-self:flex-start;flex:none}.project-branch[open]>.project-branch-title:after{transform:rotate(90deg)}.project-branch.selected>.project-branch-title{color:#fff}.project-branch-title .project-title{font-size:12px;font-weight:600;overflow-wrap:anywhere}.project-children{display:flex;flex-direction:column;gap:3px;margin:0 8px 9px 23px;border-left:1px solid #34597a;padding-left:8px}.project-child{appearance:none;border:0;border-radius:6px;background:transparent;color:#95b2ca;display:flex;align-items:center;gap:8px;padding:9px 10px;font-size:11px;font-weight:500;text-align:left;cursor:pointer}.project-child>.icon{width:14px;height:14px}.project-child:hover{background:#1b4b73;color:#fff}.project-child.active{background:#245981;color:#fff;font-weight:650}.sidebar .add-project{margin-top:12px;flex:none}.sidebar .sidebar-bottom{padding-top:17px}.portal-heading{margin-bottom:19px;align-items:flex-start}.portal-heading h1{font-size:30px;line-height:1.3;font-weight:650}.portal-heading .eyebrow{font-size:10px;margin-bottom:10px}.portal-heading .study-heading-note{font-size:12px}.portal-heading p{margin-top:12px}.portal-heading .heading-actions{margin-top:5px}.participant-link-bar{display:flex;align-items:center;gap:10px;padding:15px 17px;background:#fff;border:1px solid #d8e4ee;border-radius:11px;margin:19px 0 27px;box-shadow:0 3px 12px #112e4503}.participant-link-caption{display:flex;gap:8px;align-items:center;flex:none;color:#50718b}.participant-link-caption .icon{width:16px;height:16px}.participant-link-caption strong{font-size:11px;font-weight:650}.participant-link-bar>input{min-width:0;flex:1;color:#6e8497;border:0;border-left:1px solid #dce6ef;background:transparent;padding:8px 10px;font-size:11px;outline:none}.participant-link-bar>.btn{font-size:11px;min-height:37px;padding:8px 12px}.stats-grid{gap:17px;margin-top:25px;margin-bottom:25px}.stat-card{padding:22px}.stat-label{font-size:12px;line-height:1.5}.stat-value{font-size:34px;margin-top:14px}.stat-caption{font-size:10px;line-height:1.65;margin-top:8px}.panel{padding:25px;border-radius:13px}.panel h2{font-size:20px;line-height:1.35}.panel-intro{font-size:12px;line-height:1.65;margin-top:9px;margin-bottom:21px}.tcle-workspace-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;align-items:start}.tcle-workspace-grid>.panel{min-width:0}.record-count{color:#8496a5;font-size:11px;white-space:nowrap;margin-top:5px}.record-filters{display:flex;gap:11px;margin:7px 0 19px;align-items:center}.record-filters .search-wrap{flex:1;min-width:160px}.record-filters .search-wrap input{font-size:12px;min-height:41px}.record-filters>select{border:1px solid #d9e3ec;border-radius:8px;background:#fff;padding:10px 11px;font-size:11px;color:#5c768b;min-width:145px}.participants-table{font-size:12px}.participants-table th{font-size:10px;padding-top:12px;padding-bottom:15px}.participants-table td{padding-top:17px;padding-bottom:17px}.participants-table td:first-child{min-width:145px;white-space:normal}.participant-name-link{appearance:none;border:0;background:none;padding:0;text-align:left;color:#244d6d;line-height:1.45;font-size:12px;font-weight:600;cursor:pointer}.participant-name-link:hover{text-decoration:underline;text-underline-offset:3px}.record-id{font-size:10px;color:#8d9eab;line-height:1.6;margin-top:5px;white-space:normal;overflow-wrap:anywhere}.record-date{font-size:11px;color:#6f8496;line-height:1.65;max-width:140px;white-space:normal}.record-row-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.record-row-actions .btn{font-size:10px;min-height:33px;padding:7px 8px}.record-row-actions .icon{width:14px;height:14px}.records-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:38px 20px;background:#f8fafc;border:1px dashed #dce6ee;border-radius:10px;text-align:center;gap:13px}.records-empty>.icon{width:25px;height:25px;color:#8da5b8}.records-empty p{font-size:12px;color:#8195a6;line-height:1.7;max-width:370px}.records-archive{display:flex;gap:19px;align-items:center;justify-content:space-between;border-top:1px solid #e4ebf1;margin-top:22px;padding-top:21px}.records-archive strong{font-size:12px;font-weight:600;color:#45647e}.records-archive p{font-size:10px;line-height:1.7;color:#8a9aa8;margin-top:5px;max-width:330px}.records-archive>.btn{font-size:10px;min-height:37px;padding:9px 12px}.badge.cancelled{background:#f1eceb;color:#7d6761}.cancelled-record td{background:#fbfaf9}.cancelled-record .participant-name-link{color:#7c7775}.original-documents-card{margin-top:3px}.original-documents-card>summary{display:flex;align-items:center;justify-content:space-between;gap:17px;cursor:pointer;list-style:none;padding:0}.original-documents-card>summary::-webkit-details-marker{display:none}.original-documents-card>summary:after{content:'+';font-size:21px;color:#95a7b5;font-weight:400}.original-documents-card[open]>summary:after{content:'−'}.original-documents-card>summary>div{flex:1}.original-documents-card>summary h2{font-size:17px}.original-documents-card>summary p{font-size:11px;color:#8a9aa8;margin-top:6px}.original-documents-list{margin-top:20px;border-top:1px solid #e4ebf1}.original-document-row{display:flex;gap:11px;align-items:center;padding:18px 0;border-bottom:1px solid #edf1f5}.original-document-row:last-child{border-bottom:0;padding-bottom:0}.original-document-row>.icon{color:#88a0b4;width:18px;height:18px}.original-document-name{min-width:0;flex:1}.original-document-name strong{display:block;font-size:12px;color:#456581;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.original-document-name span{display:block;font-size:10px;color:#90a0ac;margin-top:5px;overflow-wrap:anywhere;line-height:1.6}.original-document-actions{display:flex;align-items:center;gap:5px;flex:none}.original-document-actions .btn{font-size:10px}.record-detail-heading{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.record-detail-heading h3{font-size:22px;line-height:1.4}.record-detail-heading p{font-size:11px;color:#8598a7;margin-top:6px}.record-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;background:#f5f8fb;padding:18px;border-radius:9px;margin:0 0 27px}.record-facts dt{font-size:10px;color:#8b9aa6;line-height:1.5}.record-facts dd{font-size:12px;color:#47647e;line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}.record-detail-section{font-size:14px;letter-spacing:0;margin-bottom:14px}.record-response-list>article{border:1px solid #dce6ee;background:#fff;border-radius:9px;padding:17px 18px;margin-bottom:12px}.record-response-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.record-response-heading strong{font-size:13px;line-height:1.6;font-weight:600;color:#3c5d78}.record-response-heading>.badge{flex:none}.record-response-list p{font-size:11px;color:#8295a5;line-height:1.7;margin-top:9px}.record-response-list p.record-declaration{color:#49657d;white-space:pre-wrap;font-size:12px;background:#f6f8fa;padding:13px;border-radius:6px}.record-history{border-top:1px solid #e1e9f0;padding-top:19px;margin-top:25px}.record-history>summary{cursor:pointer;font-size:12px;font-weight:600;color:#5d7b93}.record-history-entry{border-left:2px solid #dce7ef;padding-left:13px;margin:19px 0}.record-history-entry strong{font-size:12px;color:#59778e;font-weight:600}.record-history-entry p{font-size:11px;color:#8194a5;line-height:1.7;margin-top:6px}.record-history-entry p:last-child{color:#5e778d}.cancel-record-person{font-size:16px;color:#3a5b74;font-weight:600;margin:19px 0}.record-detail .modal-actions{flex-wrap:wrap}.modal:has(.record-detail){max-width:920px}.data-updated-line{display:flex;align-items:center;gap:8px;color:#8b9da9;font-size:11px;line-height:1.7;margin:0 0 25px;flex-wrap:wrap}.data-updated-line .icon{width:14px;height:14px;color:#9badba}.data-updated-divider{width:1px;height:12px;background:#d5e0e8;margin:0 5px}.field-empty,.status-upload-card{text-align:center;padding:45px 25px}.field-empty>.icon,.status-upload-card>.icon{width:31px;height:31px;color:#8ba5b9;margin-bottom:19px}.field-empty h2,.status-upload-card h2{font-size:23px}.field-empty p,.status-upload-card p{font-size:13px;color:#8396a5;line-height:1.8;max-width:580px;margin:14px auto 24px}.field-source-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:6px 0 25px;margin-bottom:21px;border-bottom:1px solid #e4ebf1}.field-source-metrics strong{font-size:28px;letter-spacing:-.04em;color:#355c7d;font-weight:600}.field-source-metrics span{display:block;font-size:11px;color:#8a9eae;line-height:1.6;margin-top:8px}.field-chart-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:30px}.field-chart-layout h3{font-size:13px;letter-spacing:0;margin:2px 0 23px;color:#58758d}.field-production{height:212px;overflow-x:auto;gap:12px}.field-production .graph-day{min-width:25px}.field-distribution{font-size:12px;color:#6f879b}.field-distribution>div{display:flex;gap:20px;justify-content:space-between;align-items:center;border-bottom:1px solid #eaf0f5;padding:10px 0}.field-distribution>div:last-child{border-bottom:0}.field-distribution strong{font-size:12px;font-weight:600;color:#416b8c}.field-breakdown>.muted{font-size:12px;line-height:1.8}.field-status-breakdown{border-top:1px solid #e5ecf2;padding-top:18px;margin-top:23px}.field-status-breakdown>summary{cursor:pointer;font-size:11px;color:#7e95a8}.field-config-source{border:1px solid #dce6ee;border-radius:11px;padding:23px;margin:21px 0}.field-config-source h3{font-size:17px;margin-bottom:22px}.field-config-source .field-grid{gap:20px}.status-upload-controls{display:flex;justify-content:center;gap:15px;align-items:center;flex-wrap:wrap}.status-upload-controls input{font-size:12px;max-width:100%}.quota-table th{font-size:10px}.quota-table td{font-size:12px;padding-top:20px;padding-bottom:20px}.quota-table td:first-child{min-width:180px}.quota-table td:first-child strong{display:block;font-size:13px;font-weight:600}.quota-table td:first-child small{display:block;font-size:10px;color:#92a1ad;margin-top:6px}.quota-actual{font-size:18px;font-weight:650;color:#326b91}.template-reference-sheets{margin-top:23px;border-top:1px solid #e0e8ef}.template-reference-sheets>details{padding:18px 0;border-bottom:1px solid #e8eef3}.template-reference-sheets>details>summary{font-size:12px;color:#5c7b94;cursor:pointer}.template-reference-sheets .data-table{margin-top:15px;white-space:normal}.template-reference-sheets .data-table td{overflow-wrap:anywhere;max-width:600px}.mapping-filter-list{border-top:1px solid #e2eaf1;padding-top:21px;margin-top:23px}.mapping-filter-list>h3{font-size:14px;letter-spacing:0;margin-bottom:9px}.mapping-filter-list>.muted{line-height:1.8;font-size:11px;margin-bottom:15px}.mapping-filter-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 34px;gap:13px;align-items:center;margin-bottom:14px}.mapping-filter-row .field{margin:0}.mapping-filter-row>.icon-btn{margin-top:22px}
@media(max-width:1300px){.tcle-workspace-grid{grid-template-columns:minmax(0,1fr)}.tcle-workspace-grid>.panel:nth-child(2){margin-top:0}.app-shell{grid-template-columns:230px minmax(0,1fr)}.workspace{padding-left:30px;padding-right:30px}.field-chart-layout{gap:23px}.participant-link-caption strong{font-size:10px}.records-archive p{max-width:none}.record-row-actions{flex-wrap:nowrap}}
@media(max-width:1000px){.portal-heading{display:block}.portal-heading .heading-actions{margin-top:19px;justify-content:flex-start}.field-chart-layout{grid-template-columns:minmax(0,1fr)}.field-source-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.participant-link-bar{flex-wrap:wrap}.participant-link-caption{width:100%}.participant-link-bar>input{flex-basis:50%;border-left:0;padding-left:0}.field-breakdown{border-top:1px solid #e8eef3;padding-top:18px}.original-document-actions{flex-wrap:wrap;justify-content:flex-end}.record-facts{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.app-shell{display:block}.sidebar{height:auto;max-height:42vh;display:flex;flex-direction:column;align-items:stretch;padding:18px 15px 13px;position:relative}.sidebar .brand-word{padding-left:4px;min-height:27px}.sidebar .project-nav{display:block;width:100%;max-height:28vh;min-height:0;flex:auto;margin:1px 0 0;padding:0;order:2;overflow-y:auto}.sidebar .add-project{position:absolute;right:16px;top:12px;width:auto;min-height:31px;margin:0;font-size:9px}.sidebar .sidebar-bottom{display:none}.project-year{margin-bottom:5px}.project-year>summary{padding:6px 5px;font-size:11px}.project-year-items{gap:4px}.project-branch-title{padding:9px 8px;font-size:11px}.project-branch-title .project-title{font-size:11px}.project-children{margin-bottom:8px;margin-left:20px;flex-direction:row;flex-wrap:wrap}.project-child{font-size:10px;min-width:72px;padding:8px 10px}.project-child .icon{width:13px;height:13px}.workspace{padding:25px 18px 35px}.portal-heading h1{font-size:26px}.portal-heading .heading-actions .btn{font-size:11px}.participant-link-bar{margin-bottom:24px;padding:14px}.participant-link-bar>input{flex-basis:100%;padding:5px 0;font-size:10px;min-height:30px}.participant-link-bar>.btn{flex:1}.stats-grid{gap:11px}.stat-card{padding:18px 15px}.stat-label{font-size:11px}.stat-value{font-size:29px}.stat-caption{font-size:9px}.panel{padding:21px 18px}.panel h2{font-size:18px}.panel-intro{font-size:11px}.record-filters{flex-wrap:wrap}.record-filters .search-wrap{flex-basis:100%}.record-filters>select{width:100%;font-size:11px}.records-archive{align-items:flex-start;flex-direction:column;gap:14px}.records-archive>.btn{width:100%}.record-detail-heading h3{font-size:19px}.record-facts{grid-template-columns:1fr;gap:15px}.record-response-heading{display:block}.record-response-heading .badge{margin-top:9px}.original-documents-card>summary{gap:10px}.original-documents-card>summary h2{font-size:16px}.original-documents-card>summary>.badge{display:none}.original-document-row{flex-wrap:wrap;align-items:flex-start}.original-document-name{flex-basis:75%}.original-document-actions{flex-basis:100%;justify-content:flex-start;margin-left:29px}.field-source-metrics strong{font-size:25px}.field-source-metrics span{font-size:10px}.field-config-source{padding:18px 14px}.field-source-card .overview-section-title{flex-wrap:wrap}.status-upload-controls{align-items:stretch;flex-direction:column}.status-upload-controls .btn{width:100%}.mapping-filter-row{grid-template-columns:minmax(0,1fr) 34px;gap:10px}.mapping-filter-row .field:first-child{grid-column:1/3}.mapping-filter-row>.icon-btn{margin-top:15px}.field-production{gap:10px}.field-production .graph-day{min-width:29px}.record-row-actions .btn{font-size:10px}.records-empty{padding:30px 15px}}

/* Participant 0.8: compact ALS identity and a concise decision card. */
.public-page{min-height:100svh;background:#f3f6f9;padding:1px 0 22px}
.public-environment{max-width:810px;margin:10px auto 0;padding:0 16px;display:flex;justify-content:flex-end}
.public-environment .demo-strip{font-size:10px;padding:4px 7px}
.public-container{max-width:810px;margin:22px auto 0;padding:0 16px}
.public-container .public-intro,.preview-device .public-intro{display:flex;align-items:center;gap:14px;padding:0 2px 19px}
.public-intro .als-logo{width:48px;height:48px}
.public-heading{min-width:0}.public-code{font-size:10px;line-height:1.4;letter-spacing:.08em;color:#638198;margin:0 0 5px}
.public-container .public-intro h1,.preview-device.phone .public-intro h1{font-size:24px;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere}
.public-container .public-panel{padding:22px 24px}.public-panel-title{margin-bottom:16px}
.public-entry .public-panel{max-width:560px;margin-left:auto;margin-right:auto}
.public-entry .field{margin:17px 0 0}.public-entry .btn{margin-top:18px;min-height:46px}
.public-entry .form-error:empty{display:none}.public-container .field input,.public-container .field select,.public-container .field textarea,.preview-device.phone .field input,.preview-device.phone .field select,.preview-device.phone .field textarea{font-size:16px;scroll-margin-top:14px}
.public-container .term-content table{font-size:16px}.participant-privacy{margin:16px 4px;font-size:12px}
.receipt-wrap{max-width:590px;margin:22px auto 0;padding:0 16px}
.receipt-paper{padding:24px 27px 23px;text-align:left;border-color:#dbe5ee;box-shadow:0 9px 30px #17365008}
.receipt-card-header{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.receipt-card-header .als-logo{width:42px;height:42px}.receipt-card-header .eyebrow{font-size:9px;letter-spacing:.1em;line-height:1.5;flex:1;margin:0;color:#69849a}
.receipt-card-header .receipt-symbol{margin:0;width:34px;height:34px;flex:none}.receipt-card-header .receipt-symbol .icon{width:18px;height:18px}
.receipt-paper .receipt-study{font-size:19px;line-height:1.35;margin:0 0 12px;color:#395e7d;font-weight:600}
.receipt-paper h1{font-size:25px;line-height:1.2;margin:0;letter-spacing:-.035em}
.receipt-name{font-size:20px;line-height:1.4;margin:14px 0 5px;color:#203f58}
.receipt-body{font-size:12px;line-height:1.55;max-width:none;margin:0;color:#668196}
.receipt-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px;margin:18px 0 0;padding-top:17px;border-color:#e2eaf1}
.receipt-details>div{min-width:0}.receipt-details .receipt-full{grid-column:1/-1}.receipt-details dt{font-size:9px;line-height:1.45;margin-bottom:4px;letter-spacing:.03em;color:#8295a5}
.receipt-details dd{font-size:12px;line-height:1.5;color:#385a76;overflow-wrap:anywhere}.receipt-details .receipt-protocol{font-size:11px!important}
.receipt-share-controls{margin-top:13px}.receipt-share-controls .receipt-actions{display:flex;flex-direction:row;gap:8px;margin-top:0}
.receipt-share-controls .receipt-actions>.btn{min-width:0;flex:1;font-size:11px;min-height:42px;padding:9px 11px}
.receipt-share-controls .receipt-actions>.btn .icon{width:15px;height:15px}.receipt-share-controls>.small{font-size:11px;line-height:1.5;margin-top:10px;padding:0 4px}
.preview-result .receipt-paper{margin-top:0}.preview-result .receipt-name{font-size:20px}.preview-result .receipt-study{margin:0 0 12px}
.sidebar .client-lockup{display:flex;justify-content:center}.sidebar .client-lockup .als-logo{margin:0}.sidebar .version{text-align:center}
.login-aside-footer{justify-content:center}
.stg-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:20px 0;padding:18px 0;border-top:1px solid #e4ebf1;border-bottom:1px solid #e4ebf1}
.stg-metrics>div{min-width:0;display:flex;flex-direction:column;gap:7px;align-items:flex-start}.stg-metrics strong{font-size:25px;font-weight:650;letter-spacing:-.04em;color:#355d7d;line-height:1.15}.stg-metrics span{font-size:11px;line-height:1.55;color:#8095a5}
.mapping-formula-confirm:empty{display:none}.mapping-formula-confirm{margin:20px 0}.mapping-formula-confirm .notice{margin:0 0 13px}.mapping-formula-confirm .check-line{font-size:12px;line-height:1.65}.mapping-formula-confirm input{margin-top:3px}
.quota-template-variables { margin: 17px 0; }
.quota-template-preview { margin: 0 0 16px; }
.quota-template-preview .table-scroll { max-height: 260px; }
.quota-template-preview .data-table td { white-space: normal; }
.quota-template-value-group + .quota-template-value-group { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.quota-template-value-group h3 { margin-bottom: 6px; font-size: 13px; }
.quota-template-value-group .field-grid { margin-top: 10px; }
.quota-template-values .field textarea { min-height: 43px; }
.quota-template-final { padding: 13px 15px; background: #f5f9fc; border: 1px solid #dce7ef; border-radius: 9px; }
.quota-template-final .check-line { margin: 0; }
.quota-template-final p { margin: 6px 0 0; }
.quota-template-reapply { margin: 0 0 10px; }
.status-model-line { flex-wrap: wrap; }
@media(max-width:600px){.public-page{padding-bottom:16px}.public-environment{padding:0 12px;margin-top:8px}.public-container{padding:0 12px;margin-top:16px}.public-container .public-intro,.preview-device.phone .public-intro{gap:11px;padding:0 1px 16px}.public-intro .als-logo{width:42px;height:42px}.public-container .public-intro h1,.preview-device.phone .public-intro h1{font-size:21px;line-height:1.3}.public-code{font-size:9px;letter-spacing:.06em;margin-bottom:4px}.public-container .public-panel,.public-preview .public-panel,.preview-device.phone .public-panel{padding:18px 15px}.public-entry .public-panel-title{margin-bottom:13px}.public-entry .btn{width:100%;margin-top:17px}.public-container .public-panel .intro{font-size:14px;margin-bottom:0}.public-container .field label{font-size:13px}.public-container .field-grid{gap:15px}.public-container .public-contract>.btn.ghost{margin:0 0 12px;padding-left:0;white-space:normal;text-align:left;justify-content:flex-start}.receipt-wrap{padding:0 12px;margin-top:16px}.receipt-paper{padding:19px 17px 18px}.receipt-card-header{margin-bottom:13px}.receipt-card-header .als-logo{width:36px;height:36px}.receipt-card-header .eyebrow{font-size:8px;letter-spacing:.08em}.receipt-paper .receipt-study{font-size:17px;margin-bottom:10px}.receipt-paper h1{font-size:23px}.receipt-name{font-size:19px;margin-top:12px}.receipt-body{font-size:12px}.receipt-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 14px;margin-top:16px;padding-top:15px}.receipt-details dd{font-size:12px}.receipt-details dt{font-size:8px}.receipt-share-controls .receipt-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.receipt-share-controls .receipt-actions>.btn{width:100%;font-size:11px}.receipt-share-controls .receipt-actions>.btn:last-child{grid-column:1/-1}.receipt-share-controls .receipt-actions>.btn[hidden]{display:none}.stg-metrics{gap:14px}.stg-metrics strong{font-size:23px}.stg-metrics span{font-size:10px}}
@media print{.public-environment{display:none!important}.receipt-wrap{padding:0;margin:0;max-width:none}.receipt-paper{padding:20px;border:0;box-shadow:none}.receipt-card-header .als-logo{width:45px;height:45px}}

/* Portal 0.9: one field source, dimensions and quotas by city. */
.badge.active{background:#e4f1e8;color:#286347}.project-dot.active{background:#69aa8b}
.project-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0 25px}
.project-mode-options>button{appearance:none;display:flex;align-items:flex-start;flex-direction:column;gap:10px;text-align:left;border:1px solid #d9e4ed;border-radius:12px;background:#fff;padding:22px;color:#355c79}
.project-mode-options>button:hover{border-color:#87abc5;background:#f4f8fb}.project-mode-options .icon{width:24px;height:24px;color:#6c94b2}
.project-mode-options strong{font-size:16px;font-weight:650}.project-mode-options span{font-size:12px;line-height:1.7;color:#7e94a5}
.florenca-preset{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:20px;border:1px solid #dce7ee;background:#f4f8fb;border-radius:11px}
.florenca-preset strong{font-size:13px;color:#476e8c}.florenca-preset p{font-size:11px;line-height:1.7;color:#7d94a5;margin-top:7px;max-width:430px}.florenca-preset .btn{font-size:11px;flex:none}
.project-activation-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 23px;border:1px solid #e5d9bd;border-radius:11px;background:#fcf8ef;margin:0 0 23px}
.project-activation-panel strong{font-size:13px;color:#806c42}.project-activation-panel p{font-size:11px;line-height:1.7;color:#9b895e;margin-top:6px;max-width:620px}.project-activation-panel .btn{flex:none;font-size:11px}
.view-filter-bar{display:flex;align-items:center;gap:24px;flex-wrap:wrap;border:1px solid #dbe6ee;border-radius:11px;padding:15px 20px;background:#fff;margin:0 0 23px}
.view-filter-caption{display:flex;align-items:center;gap:9px;color:#718ea4;font-size:11px;margin-right:auto}.view-filter-caption .icon{width:16px;height:16px}
.view-filter-bar .field{min-width:210px;max-width:320px;flex:1;gap:5px}.view-filter-bar .field>label{font-size:10px;color:#7c93a5}.view-filter-bar .field select{font-size:12px;min-height:39px;padding:8px 11px}
.field-stats-grid{margin-top:0}.field-stats-grid .stat-value{font-size:30px}.single-field-chart-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr);gap:20px;align-items:stretch;margin:0 0 18px}
.single-field-chart-grid:has(>.panel:only-child){grid-template-columns:minmax(0,1fr)}.single-field-chart-grid>.panel{min-width:0;margin-bottom:0}
.single-field-chart-grid h2{font-size:18px}.single-field-chart-grid .panel-intro{margin-bottom:24px}.dimension-production-list{display:flex;flex-direction:column;gap:14px}
.dimension-production-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e2eaf1;border-radius:9px;padding:15px;background:#f8fafc}
.dimension-production-list span{font-size:12px;line-height:1.6;color:#637f96}.dimension-production-list strong{font-size:25px;color:#386a8e;font-weight:650;letter-spacing:-.04em}
.field-operational-details>summary{cursor:pointer;font-size:12px;color:#6f8aa0}.field-operational-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:22px}.field-operational-grid h3{font-size:13px;letter-spacing:0;margin-bottom:15px;color:#597b95}
.status-export-note{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.7;color:#8296a6;margin:-4px 0 22px}.status-export-note .icon{width:15px;height:15px;margin-top:2px}
.quota-city-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px;align-items:start}.quota-city-panel{min-width:0;padding:23px 20px;margin-bottom:0}.quota-city-panel h2{font-size:19px}.quota-city-panel .panel-intro{font-size:11px;margin-bottom:18px}
.friendly-quota-table{white-space:normal;width:100%;min-width:0}.friendly-quota-table thead th{font-size:9px;padding:11px 7px;text-align:right;white-space:nowrap}.friendly-quota-table thead th:first-child{text-align:left}
.friendly-quota-table td{font-size:11px;line-height:1.6;padding:12px 7px;text-align:right;vertical-align:middle}.friendly-quota-table td:first-child{text-align:left;min-width:90px;overflow-wrap:anywhere;color:#58778f}
.friendly-quota-table .quota-actual{font-size:15px}.friendly-quota-table .quota-group-heading th{font-size:10px;font-weight:650;letter-spacing:.02em;text-align:left;background:#f0f5f9;color:#64829a;padding:10px 9px;border-bottom:1px solid #e2eaf1;border-top:1px solid #e2eaf1}
.friendly-quota-table .quota-group-total td{background:#f7fafc;font-weight:600;color:#587994}.friendly-quota-table .quota-group-total td:first-child{font-size:10px}
@media(max-width:1100px){.single-field-chart-grid{grid-template-columns:minmax(0,1fr)}.dimension-production-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.dimension-production-list>div{align-items:flex-start;flex-direction:column;gap:10px}.dimension-production-list span{font-size:11px}}
@media(max-width:760px){.project-mode-options{gap:12px}.project-mode-options>button{padding:18px}.project-mode-options strong{font-size:14px}.project-mode-options span{font-size:11px}.florenca-preset{align-items:stretch;flex-direction:column;padding:18px}.florenca-preset .btn{width:100%}.project-activation-panel{align-items:stretch;flex-direction:column;gap:15px;padding:18px}.project-activation-panel .btn{width:100%}.view-filter-bar{padding:15px 16px;gap:13px}.view-filter-caption{width:100%;font-size:10px}.view-filter-bar .field{max-width:none;min-width:0;flex-basis:100%}.view-filter-bar .field select{font-size:16px;min-height:43px}.field-stats-grid .stat-value{font-size:25px}.single-field-chart-grid{gap:17px}.single-field-chart-grid .panel{padding:20px 16px}.dimension-production-list{grid-template-columns:1fr}.dimension-production-list>div{flex-direction:row;align-items:center}.dimension-production-list strong{font-size:23px}.field-operational-grid{grid-template-columns:1fr;gap:22px}.quota-city-grid{grid-template-columns:minmax(0,1fr);gap:17px}.quota-city-panel{padding:20px 14px}.quota-city-panel h2{font-size:18px}.friendly-quota-table td{padding:12px 6px;font-size:11px}.friendly-quota-table thead th{padding:10px 6px;font-size:8px}.friendly-quota-table td:first-child{min-width:75px}.friendly-quota-table .quota-actual{font-size:14px}.status-export-note{font-size:10px}}
@media(max-width:460px){.project-mode-options{grid-template-columns:1fr}.project-mode-options>button{gap:8px;padding:17px}}

/* Status 0.9.1: accessible context and a monotonic production scale. */
.quota-legend{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin:2px 0 22px;color:#7a91a3;font-size:10px;line-height:1.6}
.quota-legend>span{display:inline-flex;align-items:center;gap:6px}.quota-legend-swatch{display:block;width:13px;height:10px;border:1px solid #d9e4ed;border-radius:3px;flex:none}
.quota-legend-progress{background:linear-gradient(90deg,#edf6fd,#2e6d9e)}
.quota-measure{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:50px;min-height:39px;padding:5px 7px;border:1px solid transparent;border-radius:7px;vertical-align:middle;line-height:1.2}
.quota-measure .quota-actual{color:inherit;font-size:15px;font-weight:650;line-height:1.3}.quota-progress-svg{display:block;width:40px;height:3px;overflow:hidden;color:inherit;flex:none}
.quota-tone-unknown{color:#60788a;background:#fff;border-color:#dce6ee;border-style:dashed}.quota-tone-zero{color:#526777;background:#eef2f5}
.quota-tone-unscoped{color:#466781;background:#eaf0f5}.quota-tone-progress-1{color:#466e8e;background:#edf6fd}.quota-tone-progress-2{color:#355f80;background:#d8eafa}
.quota-tone-progress-3{color:#244e70;background:#a9cee8}.quota-tone-progress-4{color:#052239;background:#5c93bd}.quota-tone-progress-5{color:#fff;background:#2e6d9e}
.quota-tone-reached{color:#fff;background:#1f7a52}.quota-legend-swatch.quota-tone-reached{border-color:#1f7a52}
.quota-tone-exceeded{color:#fff;background:#b42318}.quota-legend-swatch.quota-tone-exceeded{border-color:#b42318}
.interactive-quota-table{isolation:isolate}.interactive-quota-table tr[data-quota-record]{outline:none;scroll-margin-top:118px}.interactive-quota-table td{transition:background-color .12s}
.interactive-quota-table .quota-production-cell{padding-top:8px;padding-bottom:8px}.interactive-quota-table tr.quota-row-active>td{box-shadow:inset 0 1px #bdd2e1,inset 0 -1px #bdd2e1;background:#f6f9fc}
.interactive-quota-table .quota-col-active{background:#edf4fa!important}.interactive-quota-table .quota-cell-active{box-shadow:inset 0 0 0 2px #96b6cd!important;background:#e8f1f8!important}
.interactive-quota-table thead .quota-col-active{color:#2f5e81}.interactive-quota-table tr.quota-row-active>td:first-child{box-shadow:inset 1px 0 #bdd2e1,inset 0 1px #bdd2e1,inset 0 -1px #bdd2e1}
.interactive-quota-table tr.quota-row-active>td:last-child{box-shadow:inset -1px 0 #bdd2e1,inset 0 1px #bdd2e1,inset 0 -1px #bdd2e1}
.quota-table-shell{min-width:0}.quota-context{position:sticky;top:8px;z-index:2;height:98px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;border:1px solid #dce7ef;background:#f7fafdf5;border-radius:8px;padding:11px 12px;margin-bottom:11px;box-shadow:0 3px 9px #16365304}
.quota-context-help{font-size:11px;line-height:1.7;color:#597184;max-width:390px}.quota-context-heading{min-width:0;line-height:1.4}.quota-context-heading>strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#4e718d;font-size:11px;font-weight:650}
.quota-context-heading>span{display:block;font-size:9px;color:#597184;margin-top:2px}.quota-context-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:8px 0 0}
.quota-context-metrics>div{min-width:0}.quota-context-metrics dt{font-size:9px;color:#597184;line-height:1.3}.quota-context-metrics dd{font-size:12px;font-weight:600;color:#4d718e;margin:3px 0 0;line-height:1.4;overflow-wrap:anywhere}
.quota-context-metrics:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.recent-production{width:100%;min-width:0}.recent-production-summary{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 9px}
.recent-production-summary strong{font-size:12px;font-weight:600;color:#4d7290;line-height:1.6}.recent-production-summary span{font-size:10px;color:#597184;line-height:1.6}
.recent-production-svg{display:block;width:100%;height:auto;max-height:300px;overflow:visible}.daily-svg-day{outline:none}.daily-svg-day .daily-svg-focus{transition:fill .15s,stroke .15s}
.daily-svg-day:hover .daily-svg-focus{fill:#f1f7fb}.daily-svg-day:focus .daily-svg-focus{fill:#edf5fb;stroke:#8fb4cf;stroke-width:1.5}.daily-svg-day:focus .daily-svg-bar{fill:#276b9b}
@media(max-width:760px){.quota-legend{gap:10px 15px;font-size:9px;margin-bottom:19px}.quota-legend-swatch{width:12px;height:9px}.quota-measure{min-width:46px;min-height:38px;padding:5px}.quota-measure .quota-actual{font-size:14px}.quota-progress-svg{width:34px}.quota-context{top:6px;height:98px;padding:10px;margin-bottom:10px}.quota-context-heading>strong{font-size:11px}.quota-context-help{font-size:11px}.quota-context-metrics{gap:9px}.quota-context-metrics dd{font-size:12px}.recent-production-summary{gap:4px;margin-bottom:7px}.recent-production-summary strong{font-size:12px}.recent-production-summary span{font-size:10px}.recent-production-svg{max-height:none}}
@media(prefers-reduced-motion:reduce){.interactive-quota-table td,.daily-svg-day .daily-svg-focus{transition:none}}
@media print{.quota-context{display:none}.quota-legend{color:#49657b}.recent-production-svg{max-height:none}.interactive-quota-table .quota-col-active,.interactive-quota-table .quota-cell-active,.interactive-quota-table tr.quota-row-active>td{background:transparent!important;box-shadow:none!important}}

.quota-matrix-blocks { display: grid; gap: 18px; }
.quota-matrix-panel { min-width: 0; }
.quota-matrix-panel > h2 { margin-bottom: 14px; }
.quota-matrix-table { min-width: 550px; white-space: normal; font-variant-numeric: tabular-nums; }
.quota-matrix-table th, .quota-matrix-table td { padding: 9px 12px; text-align: center; }
.quota-matrix-table thead th { white-space: nowrap; }
.quota-matrix-table th[scope="row"], .quota-matrix-table th[rowspan] { text-align: left; }
.quota-matrix-table th[scope="colgroup"] { color: #2b5c7e; background: #edf4f9; font-size: 13px; }
.quota-matrix-table .quota-matrix-group-start { border-left: 1px solid #e0eaf1; }
.quota-matrix-table tbody th[scope="row"] { color: #43647e; font-size: 12px; font-weight: 600; letter-spacing: normal; text-transform: none; }
.quota-matrix-table .quota-matrix-section th { padding: 9px 12px; text-align: left; background: #f5f8fb; color: #4a6c87; }
.quota-matrix-table .quota-matrix-total > * { background: #f6f9fc; font-weight: 650; }
.quota-matrix-final { font-weight: 650; color: #355e7d; }
.quota-matrix-edit { border: 0; padding: 0; border-radius: 7px; background: transparent; cursor: pointer; }
.quota-matrix-edit:hover .quota-measure, .quota-matrix-edit:focus-visible .quota-measure { box-shadow: inset 0 0 0 1px #6386a3; }
@media (max-width: 760px) {
  .quota-matrix-panel { padding: 17px 12px; }
  .quota-matrix-table th, .quota-matrix-table td { padding-inline: 8px; }
}

/* Field setup and monitoring */
.field-onboarding {
  display: grid;
  gap: 13px;
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid #e0e8ef;
}
.field-onboarding .field { margin: 0; }
.field-onboarding [hidden], .history-stage-fields[hidden], .history-stage-fields [hidden] { display: none !important; }
.field-onboarding .check-line { margin: 3px 0; font-size: 12px; }
.modal:has(.field-config-body) { max-width: 950px; }
.field-layout-note { margin: -4px 0 13px; }
.field-layout-note:empty { display: none; }
.field-mapping-reuse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 13px;
  padding: 15px;
  border: 1px solid #dbe7ef;
  border-radius: 10px;
  background: #f4f8fb;
}
.field-mapping-reuse .field { margin: 0; }
.field-mapping-reuse .form-error { grid-column: 1 / -1; margin: 0; }
.field-mapping-reuse .form-error:empty { display: none; }
.field-config-details {
  margin-top: 17px;
  border: 1px solid #e0e8ef;
  border-radius: 9px;
  padding: 13px 14px;
  background: #fbfcfd;
}
.field-config-details > summary {
  cursor: pointer;
  color: #436982;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 650;
}
.field-config-details[open] > summary { margin-bottom: 14px; }
.field-config-details .panel-intro { margin: 0 0 15px; }
.dimension-editor-list { display: grid; gap: 13px; justify-items: start; }
.dimension-editor-card, .history-stage-editor, .history-link-editor {
  width: 100%;
  min-width: 0;
  border: 1px solid #e0e8ef;
  background: #fff;
  border-radius: 8px;
  padding: 14px;
}
.dimension-editor-heading, .history-stage-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: #4b6e86;
  font-size: 12px;
}
.dimension-options { margin-top: 14px; }
.dimension-option-row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr) 34px;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}
.dimension-option-row .field { margin: 0; }
.dimension-option-row .icon-btn { margin-bottom: 4px; }
.history-config-editor { margin-top: 17px; }
.history-stage-list { display: grid; gap: 11px; justify-items: start; }
.history-stage-editor > .check-line { font-size: 12px; font-weight: 600; }
.history-stage-fields { margin-top: 13px; }
.history-first-stage-note { grid-column: 1 / -1; color: #6d8293; font-size: 11px; }
.history-link-editor { margin-top: 13px; }
.history-link-editor h4 { margin: 0 0 12px; color: #4c6b83; font-size: 12px; }
.field-interviewer-details > .btn { margin-top: 10px; }
.quota-matrix-pending { display:flex; align-items:center; flex-wrap:wrap; gap:10px 18px; padding:12px 15px; margin:14px 0; border:1px solid #e8d7ba; border-radius:8px; background:#faf5ec; color:#6a5739; }
.quota-matrix-pending p { flex:1 1 260px; margin:0; line-height:1.6; }
.field-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field-insight-card { min-width: 0; }
.field-assessment-section > h2 { margin: 10px 0 14px; }
.field-assessment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-assessment-card { min-width: 0; margin: 0; }
.field-assessment-count { margin: 14px 0; }
.field-assessment-config { padding: 10px 0 3px; border-bottom: 1px solid #e1eaf1; }
.assessment-config-rows:not(:empty) { margin-bottom: 12px; }
@media (max-width: 760px) { .field-assessment-grid { grid-template-columns: minmax(0, 1fr); } }
.field-chart-layout.field-chart-layout-wide { grid-template-columns: minmax(0, 1fr); }
.insight-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 11px;
  margin: 16px 0;
}
.insight-metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e1eaf1;
  border-radius: 8px;
  background: #f7fafc;
}
.insight-metric > strong { font-size: 21px; line-height: 1.15; color: #34688c; }
.insight-metric > span { font-size: 11px; line-height: 1.5; color: #536f83; overflow-wrap: anywhere; }
.geography-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.geo-map-box { min-width: 0; }
.geo-source-picker { max-width: 280px; margin: 14px 0; }
.geo-layer-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 12px 14px; margin: 0 0 12px; border: 1px solid #e1eaf1; border-radius: 8px; }
.geo-layer-copy { flex: 1 1 320px; min-width: 0; }
.geo-layer-status { color: #426981; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.geo-layer-copy > .small { margin-top: 4px; line-height: 1.5; }
.geo-layer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-reference { pointer-events: none; }
.geo-reference-street, .geo-reference-boundary { fill: none; vector-effect: non-scaling-stroke; }
.geo-reference-street { stroke: #9ab3b8; stroke-width: 1; }
.geo-reference-boundary { stroke: #688e89; stroke-width: 1.5; }
.geo-reference-name { fill: #365c57; stroke: #f3f8fb; stroke-width: 2; vector-effect: non-scaling-stroke; paint-order: stroke; text-anchor: middle; }
.geo-map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.geo-map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.geo-map-controls .btn { min-width: 34px; min-height: 34px; font-size: 13px; padding: 7px 9px; }
.geo-direction, .geo-zoom-level { color: #53768f; font-size: 11px; line-height: 1.5; }
.geo-zoom-level { min-width: 34px; text-align: center; }
.field-heatmap {
  display: block;
  width: 100%;
  height: auto;
  max-height: 425px;
  overflow: hidden;
  background: #f3f8fb;
  border: 1px solid #dce9f1;
  border-radius: 9px;
}
.heatmap-cell { cursor: pointer; }
.heatmap-cell:focus, .heatmap-cell:hover { outline: none; stroke: #153c5c; stroke-width: 2; }
.geo-map-axes { font-size: 10px; color: #607d93; margin: 6px 0 0; }
.geo-context { min-height: 24px; margin: 8px 0; font-size: 11px; color: #3f6581; }
.geo-map-caption { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 10px; color: #637f93; margin-bottom: 9px; }
.geo-map-caption i { width: 65px; height: 8px; border-radius: 4px; background: linear-gradient(90deg,#b5d9ed,#174f7c); }
.geo-empty { display: flex; align-items: center; gap: 10px; padding: 17px; background: #f7fafc; border-radius: 8px; color: #617c91; font-size: 12px; }
.geo-interviewer-details { border-top: 1px solid #e0e8ef; margin-top: 16px; padding-top: 14px; }
.geo-interviewer-details > summary { cursor: pointer; font-size: 12px; font-weight: 650; color: #476e89; }
.geo-interviewer-details .panel-intro { margin: 10px 0; }
.history-view-options, .history-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.history-controls { margin-bottom: 16px; }
.history-view-options { align-items: flex-end; }
.history-view-options > .field { min-width: 144px; }
.history-view-options .field select { min-height: 36px; padding: 7px 10px; }
.history-view-options > .btn { margin-left: auto; }
.history-sort-note { color: #607c92; font-size: 11px; line-height: 1.55; margin-top: 9px; }
.history-pagination { justify-content: space-between; margin-top: 15px; }
.history-pagination > div { display: flex; gap: 8px; }
.history-pagination > span { color: #607c92; font-size: 11px; }
.history-table-scroll { max-height: 65vh; }
.history-table { min-width: 100%; border-collapse: separate; border-spacing: 0; }
.history-table th, .history-table td {
  min-width: 110px;
  padding: 11px 14px;
  white-space: normal;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #e8eef3;
}
.history-table thead th { position: sticky; top: 0; z-index: 1; background: #f2f6f9; }
.history-table thead th:first-child { z-index: 2; }
.history-table th:first-child { position: sticky; left: 0; min-width: 82px; padding-left: 14px; }
.history-table tbody th { z-index: 1; background: #fff; color: #375a73; font-size: 12px; letter-spacing: 0; }
.history-table tbody th, .history-table tbody td { padding-top: 22px; }
.history-table tbody td:nth-child(2) { overflow-wrap: anywhere; }
.history-table tbody tr:hover > * { background: #f8fafc; }
.history-table tbody tr:last-child > * { border-bottom: 1px solid #e8eef3; }
.history-table td.history-stage-cell { position: relative; }
.history-stage-cell time { color: #3a5e79; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.history-stage-unrecorded { color: #798e9f; }
.history-stage-date-issue { display: grid; gap: 3px; color: #9e4338; font-size: 10px; line-height: 1.4; }
.history-stage-date-issue time { color: inherit; font-size: 11px; }
.history-diagnostics { margin: 0 0 16px; padding: 10px 14px; border: 1px solid #dce7ef; border-radius: 9px; color: #486a85; }
.history-diagnostics > summary { width: fit-content; cursor: pointer; font-size: 12px; font-weight: 650; }
.history-diagnostics p, .history-diagnostics ul, .history-format-evidence { margin-top: 8px; font-size: 11px; line-height: 1.55; }
.history-diagnostics ul { padding-left: 17px; }
.history-format-evidence { color: #486a85; }
.history-stage-details { display: none; }
.history-table.is-detailed .history-stage-details { display: block; }
.history-stage-details small { display: block; margin-top: 4px; color: #59758b; font-size: 10px; line-height: 1.5; }
.history-stage-details .history-stage-delay { color: #a0443e; }
.history-stage-band {
  position: absolute;
  top: 11px;
  height: 2px;
  background: linear-gradient(90deg, var(--history-track-from, var(--history-track-to)), var(--history-track-to));
  pointer-events: none;
}
.history-band-in { inset-inline: 0 auto; width: 17px; }
.history-band-out { inset-inline: 17px 0; }
.history-stage-point {
  position: absolute;
  inset-inline-start: 14px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--history-track-to);
  pointer-events: none;
}
.history-track-early { --history-track-to: #dcae3f; }
.history-track-on-time { --history-track-to: #55a374; }
.history-track-late { --history-track-to: #d47b71; }
.history-track-critical { --history-track-to: #9b3d36; }
.history-track-from-neutral { --history-track-from: #b8c5ce; }
.history-track-from-early { --history-track-from: #dcae3f; }
.history-track-from-on-time { --history-track-from: #55a374; }
.history-track-from-late { --history-track-from: #d47b71; }
.history-track-from-critical { --history-track-from: #9b3d36; }
.history-track-neutral { --history-track-to: #b8c5ce; }
.history-forecast {
  margin-bottom: 16px;
  padding: 16px 19px;
  background: #f3f7fa;
  border: 1px solid #dce7ef;
  border-radius: 10px;
}
.history-forecast h2 { font-size: 17px; color: #284e6c; }
.history-forecast p { color: #50718b; font-size: 11px; line-height: 1.6; margin-top: 6px; }
.history-forecast .history-forecast-sample { font-weight: 650; }
.history-forecast .history-forecast-reference { color: #59758b; }
.history-forecast-options { margin-top: 10px; }
.history-forecast-options > summary { cursor: pointer; width: fit-content; color: #315d7c; font-size: 12px; font-weight: 650; }
.history-forecast-assumptions { margin: 8px 0 0; padding-left: 16px; color: #50718b; font-size: 11px; line-height: 1.7; }
.history-forecast-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: start; margin-top: 14px; }
.history-forecast-form > .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 760px) {
  .field-insights-grid { grid-template-columns: 1fr; gap: 0; }
  .geography-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-map-controls .btn { min-width: 38px; min-height: 40px; }
  .geo-map-toolbar { align-items: flex-start; }
  .field-mapping-reuse { grid-template-columns: minmax(0, 1fr); }
  .field-mapping-reuse .btn { justify-self: start; }
  .field-config-details { padding: 12px; }
  .history-table-scroll { max-height: 59vh; }
}
@media (max-width: 460px) {
  .dimension-option-row { grid-template-columns: minmax(0, 1fr) 34px; }
  .dimension-option-row .field:first-child { grid-column: 1 / -1; }
  .history-pagination > div { flex-wrap: wrap; }
  .history-view-options > .field { flex: 1 0 120px; min-width: 0; }
  .history-view-options > .btn { margin-left: 0; }
}
