:root{--bg:#f5f7f8;--panel:#fff;--ink:#1d2d34;--line:#e3e9eb;--teal:#157f79;--teal-dark:#106560;--amber:#9b6920;--amber-bg:#fcf4e7;--radius:12px;--font:"Manrope Variable",sans-serif}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}button{cursor:pointer}a{text-decoration:none}a,button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #64b5b0;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}img{max-width:100%;display:block}button{border:0;background:none}table{border-collapse:collapse;width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:15px;top:-80px;z-index:100;background:var(--teal);color:white;padding:12px}.skip-link:focus{top:10px}.app-shell{display:flex;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 18px 0;z-index:30}.brand{display:block;padding:0 17px 26px}.brand img{width:164px;height:auto}.brand>span{display:block;color:#52636b;font-size:.875rem;font-weight:700;letter-spacing:.22em;margin-top:14px}.workspace-switch{display:flex;align-items:center;gap:10px;padding:15px 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 3px 27px}.workspace-switch>svg{color:#52636b;margin-left:auto;flex-shrink:0}.workspace-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid #d4e9e5;background:var(--teal-soft);border-radius:8px;font-weight:800;color:var(--teal)}.workspace-switch strong{font-size:1rem;display:block}.workspace-switch div>span{display:block;font-size:.875rem;color:var(--muted);margin-top:3px}.nav-label{font-size:.875rem;font-weight:700;letter-spacing:.14em;color:#52636b;margin:0 13px 13px}.nav-item{display:flex;align-items:center;gap:11px;min-height:45px;padding:10px 13px;border-radius:8px;color:#52636b;font-weight:600;margin:3px 0;transition:background .15s,color .15s}.nav-item:hover{background:#f4f7f7;color:var(--ink)}.nav-item.active{background:var(--teal-soft);color:var(--teal-dark)}.nav-count{margin-left:auto;font-size:.875rem;background:white;padding:2px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto}.sidebar-note{font-size:.875rem;color:#52636b;padding:22px 13px;line-height:1.7;border-bottom:1px solid var(--line)}.sidebar-note>span:last-child{display:block;color:#52636b;padding-left:12px;font-size:.875rem}.tiny-dot{display:inline-block;width:5px;height:5px;background:#549f94;border-radius:50%;margin-right:7px;vertical-align:2px}.profile{display:flex;align-items:center;gap:10px;margin:0 -3px;padding:18px 9px}.profile>div{flex:1 1}.profile strong{font-size:1rem;display:block}.profile div>span{font-size:.875rem;display:block;color:var(--muted);margin-top:3px}.avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#edf2f2;color:#54706f;font-size:1rem;font-weight:800;border:1px solid #e2eae9}.avatar.small{width:26px;height:26px;font-size:.875rem}.app-right{margin-left:246px;min-width:0;flex:1 1}.topbar{height:70px;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.8);gap:15px}.breadcrumb,.topbar{display:flex;align-items:center}.breadcrumb{gap:11px;font-size:.875rem;color:#52636b}.breadcrumb strong{font-weight:600;color:#4b5d66}.topbar-right{display:flex;align-items:center;gap:19px}.today-label{font-size:1rem;color:#52636b}.demo-pill{border:1px solid #d9e8e4;color:#47766c;background:#f0f7f4;font-size:.875rem;letter-spacing:.1em;font-weight:800;border-radius:4px;padding:5px 7px}.main-content{padding:36px 38px 0;max-width:1640px;margin:0 auto}.eyebrow{font-size:.875rem;letter-spacing:.16em;font-weight:800;color:#52636b;display:block;margin-bottom:11px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 29px}.page-heading h1{font-size:2rem;font-weight:700;line-height:1.25}.page-heading p{font-size:1rem;color:#52636b;margin-top:9px;line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:38px;padding:9px 14px;border:1px solid #dce4e5;background:#fff;border-radius:7px;font-size:1rem;font-weight:700;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}.button:hover{background:#f6f9f9;border-color:#b8cdca}.button.primary{background:var(--teal);border-color:var(--teal);color:#fff}.button.primary:hover{background:var(--teal-dark)}.button.ghost{border-color:transparent;background:transparent;color:#52636b}.small-button{font-size:.875rem;min-height:31px;padding:7px 10px}.icon-button{display:inline-grid;place-items:center;min-width:30px;min-height:30px;padding:5px;border-radius:6px;color:#52636b;transition:background .15s,color .15s}.icon-button:hover{color:var(--teal);background:#edf4f2}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:24px}.stat{padding:23px 25px;position:relative}.stat+.stat{border-left:1px solid var(--line)}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;font-weight:600}.stat-top,.stat-top svg{color:#52636b}.stat>strong{display:block;font-size:2rem;letter-spacing:-.06em;font-weight:600;margin:10px 0 6px}.stat>span{font-size:.875rem;color:#52636b}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden;margin-bottom:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 25px;border-bottom:1px solid #eef1f2}.panel-heading h2{font-size:1.125rem;font-weight:700}.panel-heading p{color:#52636b;font-size:.875rem;margin-top:6px}.panel-heading>a{display:flex;align-items:center;gap:7px;font-size:.875rem;font-weight:600;color:var(--teal)}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:24px}.task-list{padding:0 24px}.task-row{display:flex;align-items:center;gap:13px;padding:20px 0;min-height:83px}.task-row+.task-row{border-top:1px solid #edf1f2}.task-marker{flex-shrink:0;width:18px;height:18px;display:grid;place-items:center;border:1px solid #dce3e4;border-radius:5px;color:transparent}.task-marker.checked{color:var(--teal);background:var(--teal-soft);border-color:#cde4de}.task-main{flex:1 1;min-width:0}.task-main strong{font-size:1rem;font-weight:650;line-height:1.6}.task-main>span{display:block;margin-top:5px}.task-main p,.task-main>span{font-size:.875rem;color:#52636b}.task-main p{margin-top:7px;white-space:pre-line}.task-date{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:.875rem;color:#52636b}.task-row.done strong{text-decoration:line-through;color:#52636b}.overdue{color:#ad7637!important}.intake-panel{align-self:start}.intake-row{display:flex;align-items:center;text-align:left;gap:13px;padding:20px 24px;width:100%}.intake-row+.intake-row{border-top:1px solid #edf1f2}.intake-row:hover{background:#f9fbfb}.intake-row>span:nth-child(2){flex:1 1}.intake-row strong{display:block;font-size:1rem;font-weight:650}.intake-row small{display:block;font-size:.875rem;color:#52636b;margin-top:6px}.intake-row>svg{color:#52636b}.table-scroll{overflow-x:auto;scrollbar-width:thin}.data-table{text-align:left;min-width:800px}.data-table th{font-weight:650;padding:14px 20px;border-bottom:1px solid var(--line);background:#fcfdfd;white-space:nowrap}.data-table td:first-child,.data-table th:first-child{padding-left:25px}.data-table td:last-child,.data-table th:last-child{padding-right:25px}.data-table td{padding:19px 20px;border-bottom:1px solid #edf1f2;font-size:.875rem;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfdfd}.record-link{display:flex;flex-direction:column;gap:4px;min-width:190px;max-width:260px}.record-code{font-size:.875rem;color:#52636b;letter-spacing:.06em}.record-link strong{font-size:1rem;font-weight:750}.record-link>span:last-child{font-size:.875rem;color:#52636b;line-height:1.5}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;font-weight:600;line-height:1.2;border-radius:5px;white-space:nowrap;color:#52636b;background:#f0f3f4}.badge-dot{width:4px;height:4px;background:currentColor;border-radius:50%;flex-shrink:0}.badge.teal{background:#eaf5f1;color:#52636b}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.blue{background:#edf2fa;color:#52636b}.person{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.person,.secondary{font-size:.875rem;color:#52636b}.secondary{display:block;line-height:1.5;margin-top:5px}.table-action{display:block;max-width:220px;font-size:.875rem;color:#52636b}.section-tabs{display:flex;align-items:center;gap:24px}.section-tabs>button{display:flex;align-items:center;gap:7px;font-size:1rem;font-weight:600;color:#52636b;padding:17px 0;border-bottom:2px solid transparent;white-space:nowrap}.section-tabs>button.selected{color:var(--teal);border-color:var(--teal)}.section-tabs button>span{border-radius:4px;background:#edf2f1;padding:3px 5px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;border-bottom:1px solid var(--line);min-height:70px}.section-tabs.compact{gap:20px}.section-tabs.compact>button{padding:24px 0;font-size:.875rem}.search-input{display:flex;gap:8px;color:#52636b;min-width:180px;font-size:.875rem}.search-input input{border:0;background:transparent;padding:9px 0;outline-offset:1px;width:170px;font-size:.875rem;color:#4c666c}.search-input input::placeholder{color:#52636b}.contact-button{display:flex;align-items:center;text-align:left;gap:11px;padding:0;min-width:205px}.contact-button strong{display:block;font-size:1rem;font-weight:700}.contact-button small{display:block;margin-top:5px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-button small,.source-label{color:#52636b;font-size:.875rem}.leads-table td{padding-top:23px;padding-bottom:23px}.list-footer{justify-content:space-between;gap:15px;padding:16px 24px;border-top:1px solid #edf1f2;font-size:.875rem;line-height:1.8;color:#52636b}.empty-state,.list-footer{display:flex;align-items:center}.empty-state{text-align:center;padding:55px 25px;flex-direction:column;gap:10px}.empty-state>svg{color:#52636b;margin-bottom:5px}.empty-state h3{font-size:1.125rem;font-weight:650}.empty-state p{color:#52636b;max-width:380px;font-size:1rem;line-height:1.8}.empty-state .button{margin-top:8px}.workspace-footer{display:flex;justify-content:space-between;gap:15px;margin-top:40px;padding:22px 0;border-top:1px solid var(--line);letter-spacing:.02em}.back-link,.workspace-footer{align-items:center;font-size:.875rem;color:#52636b}.back-link{display:inline-flex;gap:7px;margin-bottom:22px}.back-link:hover{color:var(--teal)}.dossier-heading h1{font-size:2rem}.dossier-heading .eyebrow{color:var(--teal);font-size:.875rem}.next-step{display:flex;align-items:center;gap:16px;background:#e8f3ef;border:1px solid #d2e7df;border-radius:var(--radius);padding:24px;margin-bottom:20px}.next-step-icon{width:43px;height:43px;background:#d6ebe3;color:#52636b;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.next-step>div:nth-child(2){flex:1 1}.next-step .eyebrow{color:#52636b;margin-bottom:6px}.next-step h3{font-size:1rem;font-weight:700;line-height:1.6}.next-step p{font-size:.875rem;color:#52636b;margin-top:6px}.next-step .button{background:#f8fcfa;border-color:#cee3da;color:#52636b}.summary-panel>p{padding:23px 25px;font-size:1rem;line-height:1.9;color:#52636b;white-space:pre-line}.facts-panel{padding:24px}.facts-panel h2{font-size:1rem;margin-bottom:22px}.facts-panel dl{padding:0;margin:0}.facts-panel dl>div+div{padding-top:19px;margin-top:19px;border-top:1px solid #edf1f2}.facts-panel dt{font-size:.875rem;color:#52636b;margin-bottom:8px}.facts-panel dd{margin:0;font-size:1rem;line-height:1.6;color:#52636b}.dossier-disclaimer{display:flex;align-items:flex-start;gap:8px;font-size:.875rem;line-height:1.8;color:#52636b;padding:0 8px}.dossier-disclaimer svg{flex-shrink:0;margin-top:2px}.notes-list{padding:0 24px}.note{display:flex;gap:15px;padding:24px 0}.note+.note{border-top:1px solid #edf1f2}.note>div:last-child{flex:1 1;min-width:0}.note-icon{width:32px;height:32px;background:#f2f6f6;border:1px solid #e9efee;border-radius:8px;display:grid;place-items:center;color:#52636b;flex-shrink:0}.note-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.note-meta strong{font-size:1rem}.note-meta span{font-size:.875rem}.note p{font-size:1rem;line-height:1.9;margin-top:11px;overflow-wrap:anywhere}.note p,.note-outcome{color:#52636b;white-space:pre-line}.note-outcome{font-size:.875rem;background:#f5f8f7;padding:10px 12px;border-radius:6px;margin-top:12px;line-height:1.7}.note-outcome>span{display:block;font-weight:800;letter-spacing:.1em;color:#52636b;text-transform:uppercase;margin-bottom:3px}.document-row{display:flex;align-items:center;gap:14px;padding:22px 25px;color:#52636b}.document-row+.document-row{border-top:1px solid var(--line)}.document-row>div{flex:1 1}.document-row strong{font-size:1rem;display:block}.document-row span{font-size:.875rem;color:#52636b;display:block;margin-top:5px}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1100px}.integration-card{padding:28px}.integration-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.provider-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#edf4f2;color:var(--teal);font-weight:900;font-size:1rem}.integration-card h2{font-size:1.25rem;margin-bottom:11px}.integration-card>p{font-size:1rem;line-height:1.9;color:#52636b}.integration-card ul{list-style:none;padding:20px 0;margin:0 0 12px;display:grid;gap:14px}.integration-card li{display:flex;align-items:center;gap:9px;color:#52636b;font-size:.875rem}.integration-card li svg{color:#52636b}.integration-footnote{font-size:.875rem;line-height:1.9;color:#52636b;display:block;padding-top:12px;border-top:1px solid var(--line)}.modal{width:min(700px,calc(100vw - 28px));max-height:calc(100dvh - 44px);border:1px solid #dce5e5;border-radius:15px;box-shadow:0 24px 100px #153e3c24;padding:0;overflow:auto;color:var(--ink);background:white}.modal::backdrop{background:#15313652;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 29px;border-bottom:1px solid var(--line);gap:20px;position:sticky;top:0;background:white;z-index:2}.modal-heading h2{font-weight:700}.modal-heading .eyebrow{font-size:.875rem;margin-bottom:7px}.modal-content{padding:26px 29px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .span-2{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#52636b}label input,label select,label textarea{width:100%;background:#fff;border:1px solid #dce5e5;border-radius:7px;color:#486169;padding:11px 12px;min-height:40px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#52636b;font-weight:400}textarea{resize:vertical;line-height:1.8}select{appearance:auto}label input:focus,label select:focus,label textarea:focus{border-color:#81bab2}.form-note{display:flex;align-items:flex-start;gap:9px;padding:15px;background:#f4f8f6;border-radius:7px;line-height:1.8;font-size:.875rem;color:#52636b;margin-top:24px}.form-note>svg{flex-shrink:0;margin-top:2px}.form-section-label{align-items:center;gap:8px;padding:23px 0 17px;margin-top:20px;font-size:1rem;color:#52636b;font-weight:700}.form-section-label,.modal-actions{display:flex;border-top:1px solid var(--line)}.modal-actions{justify-content:flex-end;gap:10px;margin:26px -29px 0;padding:19px 29px;position:sticky;bottom:0;background:#fff}.form-error{display:flex;gap:8px;align-items:flex-start;margin-top:20px;color:#aa544a;line-height:1.8;padding:11px 12px;background:#fdf1ef;border:1px solid #f2d8d2;border-radius:7px}.form-error>svg{flex-shrink:0;margin-top:2px}.helper-text{line-height:1.8;margin-top:17px}.helper-text,.lead-summary{font-size:.875rem;color:#52636b}.lead-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:10px}.modal-content>h3{font-size:1.25rem;margin-bottom:15px}.lead-notes{font-size:1rem;line-height:1.9;color:#52636b;white-space:pre-line}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px 0 0;margin-top:20px;border-top:1px solid var(--line)}.info-grid>div{display:flex;flex-direction:column;gap:7px}.info-grid span{font-size:.875rem;color:#52636b;margin-top:7px}.info-grid strong{font-size:1rem;font-weight:600;color:#52636b;overflow-wrap:anywhere}.toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translateX(-50%);max-width:calc(100vw - 32px);display:flex;align-items:center;gap:12px;background:#214d47;color:#f4faf7;border-radius:9px;border:1px solid #39665c;box-shadow:0 10px 30px #25494122;padding:13px 17px;z-index:200}.toast .icon-button{color:#b8d3cb}.empty-page{max-width:700px;margin:100px auto;padding:30px}.empty-page h1{font-size:1.75rem}.empty-page>p{margin:18px 0;line-height:1.9;color:var(--muted)}.mobile-menu,.mobile-shade{display:none}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:100dvh;background:white}.login-story{display:flex;flex-direction:column;padding:65px 12%;background:#eaf2ee;border-right:1px solid #dce7e2;position:relative}.login-story>img{width:184px}.login-story>div{margin:auto 0;padding:90px 0}.login-story h1{font-size:clamp(36px,4vw,64px);font-weight:600;line-height:1.2;letter-spacing:-.065em;color:#254b45}.login-story .eyebrow{color:#52636b;letter-spacing:.18em;font-size:.875rem;margin-bottom:24px}.login-story p{max-width:340px;font-size:1rem;line-height:2;color:#52636b;margin-top:28px}.login-foot{display:flex;align-items:center;gap:9px;color:#52636b;font-size:.875rem}.login-form{align-self:center;justify-self:center;max-width:400px;width:100%;padding:50px 24px}.login-icon{background:#eff7f3;border:1px solid #deeee7;color:#52636b;display:grid;place-items:center;width:56px;height:56px;border-radius:14px;margin-bottom:25px}.login-form h2{font-size:1.5rem;letter-spacing:-.04em;margin-bottom:12px}.login-form>p{font-size:1rem;line-height:1.9;color:#52636b}.login-form label{margin-top:19px}.login-submit{width:100%;justify-content:space-between;margin-top:14px;min-height:46px}.login-submit.ghost{justify-content:center;font-weight:600;font-size:.875rem}.demo-notice{margin:28px 0 20px;border:1px solid #dbe9e3;background:#f4f9f6;border-radius:8px;padding:15px;color:#52636b;font-size:1rem;line-height:1.8}.demo-notice>strong{font-weight:700;display:block;font-size:.875rem}.demo-notice>span{font-size:.875rem;display:block;margin-top:3px;color:#52636b}.login-form .login-small{font-size:.875rem;margin-top:27px;padding-top:20px;border-top:1px solid var(--line);line-height:1.9}@media(min-width:1650px){.main-content{padding-top:43px}.page-heading{margin-bottom:32px}}@media(max-width:1200px){.sidebar{width:220px;padding-left:12px;padding-right:12px}.app-right{margin-left:220px}.topbar{padding:0 25px}.main-content{padding:28px 25px 0}.overview-grid{grid-template-columns:1fr}.intake-panel{display:none}.facts-panel,.stat{padding:20px}.section-tabs{gap:18px}.next-step{padding:20px}}@media(max-width:900px){.sidebar{width:200px}.app-right{margin-left:200px}.brand{padding-left:12px;padding-right:12px}.brand img{width:150px}.workspace-switch{padding-left:5px;padding-right:5px;gap:7px}.workspace-switch>svg{display:none}.workspace-switch div>span{font-size:.875rem}.topbar{padding:0 20px}.today-label{display:none}.main-content{padding:25px 20px 0}.page-heading h1{font-size:1.75rem}.page-heading p{max-width:380px}.stats-row{grid-template-columns:1fr 1fr}.stat:nth-child(3){border-left:0}.stat:nth-child(3),.stat:nth-child(4){border-top:1px solid var(--line)}.stat>strong{font-size:1.75rem}.list-toolbar{flex-wrap:wrap;padding-bottom:13px;gap:6px}.list-toolbar .search-input{margin:0 0 0 auto}.list-toolbar .section-tabs{width:100%;gap:20px}.section-tabs.compact>button{padding:20px 0}.integration-grid{grid-template-columns:1fr}.toast{left:50%}.topbar-right{gap:10px}.breadcrumb{font-size:.875rem;gap:8px}.note-meta{align-items:flex-start;flex-direction:column;gap:4px}}@media(max-width:650px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px}.sidebar.mobile-open{transform:translateX(0)}.mobile-shade{display:block;position:fixed;inset:0;background:#213b3f4d;z-index:25}.app-right{margin-left:0}.mobile-menu{display:inline-grid}.topbar{height:61px;padding:0 17px;gap:8px}.breadcrumb{flex:1 1}.breadcrumb>strong{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb>svg{display:none}.breadcrumb{font-size:0}.breadcrumb>strong{font-size:.875rem}.topbar-right>.avatar{display:none}.demo-pill{font-size:.875rem;padding:4px 6px}.main-content{padding:25px 17px 0}.eyebrow{font-size:.875rem;margin-bottom:9px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:17px;margin-bottom:22px}.page-heading h1{font-size:1.75rem}.page-heading p{font-size:.875rem;max-width:90%;margin-top:8px}.page-heading>.button{min-height:35px;font-size:.875rem}.stat{padding:18px}.stat-top,.stat>span{font-size:.875rem}.stat>strong{font-size:2rem}.panel,.stats-row{margin-bottom:19px}.panel-heading{padding:20px 18px}.panel-heading h2{font-size:1rem}.panel-heading p,.panel-heading>a{font-size:.875rem}.panel-heading>a{white-space:nowrap}.task-list{padding:0 18px}.task-row{gap:9px;padding:17px 0;flex-wrap:wrap}.task-main{flex-basis:calc(100% - 35px)}.task-row .task-date{margin-left:27px}.task-row .icon-button{margin-left:auto;margin-top:-32px}.task-main strong,.task-main>span{font-size:.875rem}.task-row .small-button{margin-left:auto}.list-toolbar{padding:0 18px 10px}.list-toolbar .section-tabs{overflow-x:auto;gap:18px}.list-toolbar .section-tabs>button{font-size:.875rem;padding:19px 0}.list-footer,.search-input input{font-size:.875rem}.list-footer{padding:14px 18px;align-items:flex-start;flex-direction:column;gap:5px}.workspace-footer{font-size:.875rem;margin-top:28px;padding-top:20px}.dossier-heading h1{font-size:1.75rem}.next-step{padding:18px;gap:10px;flex-wrap:wrap}.next-step-icon{width:32px;height:32px}.next-step h3{font-size:1rem}.next-step .button{margin-left:42px}.next-step p{font-size:.875rem}.note{gap:10px}.notes-list{padding:0 18px}.note p,.note-meta span,.note-outcome{font-size:.875rem}.summary-panel>p{padding:20px 18px;font-size:1rem}.integration-card{padding:23px}.modal{max-height:calc(100dvh - 24px);width:calc(100vw - 20px);border-radius:12px}.modal-heading{padding:21px 20px}.modal-heading h2{font-size:1.25rem}.modal-content{padding:22px 20px 0}.form-grid{grid-template-columns:1fr;gap:17px}.form-grid .span-2{grid-column:auto}.modal-actions{margin-left:-20px;margin-right:-20px;padding:17px 20px}.info-grid{grid-template-columns:1fr}.lead-summary{align-items:flex-start;flex-direction:column;gap:12px}.toast{font-size:.875rem;bottom:15px;padding:11px;min-width:300px}.toast>svg{flex-shrink:0}.login-layout{display:block;min-height:100dvh}.login-story{padding:27px 26px;border-right:0;border-bottom:1px solid var(--line);min-height:auto}.login-story>img{width:135px}.login-story>div{padding:30px 0 0}.login-story .eyebrow{font-size:.875rem;margin-bottom:12px}.login-story h1{font-size:2rem}.login-foot,.login-story p{display:none}.login-form{margin:auto;padding:30px 26px;max-width:450px}.login-icon{display:none}.login-form h2{font-size:1.5rem}.login-form>p{font-size:1rem}.demo-notice{margin:20px 0 15px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}body,html{font-size:1rem;line-height:1.5}:root{--muted:#52636b;--teal-soft:#e8f4f1}button:disabled{opacity:1}.sidebar{width:260px;padding-left:18px;padding-right:18px}.app-right{margin-left:260px}.nav-item{font-size:1rem;line-height:1.4;min-height:3rem}.brand>span,.nav-label{font-size:.875rem;letter-spacing:.08em}.profile strong,.workspace-switch strong{font-size:1rem}.profile div>span,.workspace-switch div>span{font-size:.875rem}.workspace-switch{align-items:flex-start}.workspace-mark{flex-shrink:0}.button,.icon-button,.small-button{min-height:2.75rem}.button,.small-button{font-size:1rem;padding:.65rem 1rem;line-height:1.4}.icon-button{min-width:2.75rem}.button:disabled{background:#e5eeed;border-color:#c4d8d5;color:#40585b}label{font-size:.875rem;line-height:1.5}label input,label select,label textarea{font-size:1rem;min-height:2.75rem;line-height:1.5}input::placeholder,textarea::placeholder{color:#5c6d74}.empty-state p,.integration-card>p,.lead-notes,.note p,.page-heading p,.summary-panel>p{font-size:1rem;color:#475b64;line-height:1.65}.facts-panel h2,.panel-heading h2{font-size:1.125rem;line-height:1.4}.data-table{min-width:920px}.data-table th{font-size:.875rem;color:#52636b;padding:1rem}.data-table td{padding:1.05rem 1rem}.contact-button strong,.data-table td,.facts-panel dd,.info-grid strong,.record-link strong,.task-main strong{font-size:1rem;line-height:1.5}.contact-button small,.facts-panel dt,.person,.record-code,.record-link>span:last-child,.secondary,.source-label,.task-date,.task-main>span{font-size:.875rem;color:#52636b;line-height:1.5}.record-link{max-width:290px;gap:.3rem}.contact-button{min-width:230px}.contact-button small{max-width:290px;white-space:normal;overflow:visible;text-overflow:clip}.table-action{font-size:1rem;color:#475b64;max-width:250px;line-height:1.5}.badge{font-size:.875rem;line-height:1.4;padding:.35rem .5rem;white-space:normal}.badge.teal{color:#246451}.badge.blue{color:#355b86}.overdue{color:#875319!important}.section-tabs.compact>button,.section-tabs>button{font-size:1rem;min-height:2.75rem;line-height:1.4}.section-tabs button>span{font-size:.875rem}.search-input{flex-direction:row;align-items:center;gap:.6rem;min-height:2.75rem}.search-input input{font-size:1rem;width:220px;min-height:2.75rem;color:#344b55}.list-toolbar{gap:1rem;flex-wrap:wrap;padding-top:.5rem;padding-bottom:.5rem}.task-list{padding:0 1.25rem}.task-row{gap:1rem;padding:1.25rem 0}.dossier-disclaimer,.form-note,.helper-text,.list-footer,.note-meta span,.note-outcome,.task-main p,.workspace-footer{font-size:.875rem;color:#52636b;line-height:1.6}.next-step h3{font-size:1.125rem;line-height:1.5}.next-step p{font-size:1rem;color:#386451}.next-step .eyebrow{font-size:.875rem;color:#386451}.lead-notes,.note p,.note-meta strong,.note-outcome{font-size:1rem}.note-outcome>span{font-size:.875rem;color:#386451}.note-meta{flex-wrap:wrap}.note-meta span{color:#52636b}.summary-panel>p{max-width:80ch}.facts-panel{padding:1.5rem}.facts-panel dt{margin-bottom:.5rem}.modal-heading h2{font-size:1.5rem}.modal-content{padding-top:1.5rem}.form-grid{gap:1.25rem}.form-error{font-size:1rem;color:#963e34}.toast{font-size:1rem;line-height:1.5}.mobile-shade{cursor:default}@media(max-width:1200px){.sidebar{width:240px}.app-right{margin-left:240px}.main-content{padding-left:1.5rem;padding-right:1.5rem}.list-toolbar .section-tabs{overflow-x:auto;max-width:100%}}@media(max-width:1050px){.page-heading h1{font-size:1.875rem}.stats-row{grid-template-columns:1fr 1fr}.stat:nth-child(3){border-left:0}.stat:nth-child(3),.stat:nth-child(4){border-top:1px solid var(--line)}}@media(max-width:900px){.sidebar{width:280px;max-width:85vw;transform:translateX(-100%);transition:transform .2s;overflow-y:auto}.sidebar.mobile-open{transform:translateX(0)}.mobile-shade{display:block;position:fixed;inset:0;background:#213b3f4d;z-index:25}.app-right{margin-left:0}.mobile-menu{display:inline-grid}.sidebar-bottom{padding-top:1rem}.workspace-switch>svg{display:none}.topbar{padding:0 1rem}.breadcrumb{font-size:.875rem;min-width:0}.breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40vw}.main-content{padding:1.5rem 1.25rem 0}.page-heading p{max-width:65ch}.today-label{display:none}}@media(max-width:650px){.main-content{padding:1.25rem 1rem 0}.topbar{min-height:4rem;height:auto}.breadcrumb{font-size:0}.breadcrumb strong{font-size:.875rem}.dossier-heading h1,.page-heading h1{font-size:1.75rem}.page-heading p{font-size:1rem;max-width:100%}.page-heading>.button{font-size:1rem;min-height:2.75rem}.list-toolbar .section-tabs>button,.task-date,.task-main strong,.task-main>span{font-size:1rem}.task-main>span{font-size:.875rem}.task-main p{font-size:1rem}.task-row .small-button{margin-left:2rem}.next-step{align-items:flex-start;gap:.75rem}.next-step>div:nth-child(2){min-width:0;flex-basis:calc(100% - 50px)}.next-step .button{margin-left:2.75rem}.next-step h3{font-size:1.125rem}.next-step p{font-size:1rem}.panel-heading{padding:1.25rem 1rem;gap:.75rem;flex-wrap:wrap}.panel-heading p,.panel-heading>a{font-size:.875rem}.note p,.note-outcome{font-size:1rem}.note-meta span{font-size:.875rem}.summary-panel>p{font-size:1rem;padding:1.25rem 1rem}.modal{max-height:calc(100dvh - 1rem);width:calc(100vw - 1rem)}.modal-heading{padding:1.25rem 1rem}.modal-heading h2{font-size:1.375rem}.modal-content{padding:1.25rem 1rem 0}.modal-actions{margin-left:-1rem;margin-right:-1rem;padding:1rem;gap:.75rem}.modal-actions .button{min-width:0;white-space:normal}.toast{min-width:0;width:calc(100vw - 2rem);max-width:30rem;font-size:.875rem}.login-form h2{font-size:1.5rem}.login-form>p{font-size:1rem}.demo-notice>span,.demo-notice>strong,.login-form .login-small{font-size:.875rem}}@media(max-width:900px){.sidebar:not(.mobile-open){visibility:hidden}.sidebar.mobile-open{visibility:visible}}.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar-bottom,.sidebar>.brand,.sidebar>.nav-label,.sidebar>.workspace-switch,.sidebar>nav{flex-shrink:0}@media(max-width:650px){.breadcrumb{font-size:.875rem;overflow:hidden}.breadcrumb-prefix{display:none}.breadcrumb strong{min-width:0;max-width:100%;font-size:.875rem}}.login-options{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px;font-size:1rem}.login-options a{color:var(--teal-dark);text-decoration:underline}.login-form .login-check{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;font-weight:500;margin:0}.login-check input{width:20px;height:20px;accent-color:var(--teal)}.login-done{background:#edf6f2;border:1px solid #c8e1d6;padding:14px 16px;border-radius:7px;margin-top:18px;line-height:1.7}.registry-form{display:grid;gap:12px;margin:14px 0}.registry-form label{display:flex;flex-direction:column;gap:6px;font-size:1rem;font-weight:650}.registry-form input,.registry-form select,.registry-form textarea{min-height:44px;padding:10px 12px;border:1px solid #cbd8d7;border-radius:7px;font-size:1rem;background:#fff;color:var(--ink);font-weight:400}.registry-form input[type=checkbox]{width:20px;height:20px;min-height:0;padding:0;margin:0;flex:none;border:0;background:transparent;accent-color:var(--teal)}.registry-form .ghs-meta{font-weight:400;margin:0}.facts-panel dd .button{margin-top:10px}.facts-panel>.button,.facts-panel>p,.note-sync{margin-top:12px}.note-sync{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.note-sync .secondary{margin:0}.reg-card{padding:16px 0;border-top:1px solid #edf1f2}.reg-card:first-of-type{border-top:0;padding-top:0}.reg-role{font-size:.875rem;color:#52636b;margin:0 0 6px;line-height:1.5}.reg-card h3{font-size:1.0625rem;line-height:1.4;margin:0;overflow-wrap:anywhere}.reg-sub{font-size:.875rem;color:#52636b;margin:4px 0 0}.reg-key{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:12px 0 6px;font-size:1rem}.reg-label{font-size:.875rem;font-weight:700;color:#52636b}.reg-value{overflow-wrap:anywhere;color:var(--ink)}.reg-details{border:1px solid #e3eae9;border-radius:8px;margin-top:8px;background:#fbfcfc}.reg-details>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;font-size:.9375rem;font-weight:650;cursor:pointer;list-style:none}.reg-details>summary::-webkit-details-marker{display:none}.reg-details>summary:after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid #6b7c84;border-bottom:2px solid #6b7c84;transform:rotate(45deg);transition:transform .15s}.reg-details[open]>summary:after{transform:rotate(-135deg)}.reg-count{font-size:.8125rem;font-weight:600;color:#52636b;background:#edf2f1;border-radius:4px;padding:1px 6px}.reg-details>dl,.reg-details>p{margin:0;padding:4px 12px 12px;font-size:.9375rem;line-height:1.6;overflow-wrap:anywhere}.facts-panel .reg-details dl>div{padding:8px 0;margin:0;border-top:1px solid #edf1f2}.facts-panel .reg-details dl>div:first-child{border-top:0}.facts-panel .reg-details dt{font-size:.875rem;margin:0 0 2px}.facts-panel .reg-details dd{font-size:.9375rem;color:var(--ink);overflow-wrap:anywhere}.reg-details a{color:var(--teal-dark);text-decoration:underline;overflow-wrap:anywhere}.reg-actions{margin-top:10px}.reg-actions .button{padding-left:0;color:#52636b;min-height:44px}.contact-panel h2{display:flex;align-items:center;gap:8px}.contact-list{list-style:none;padding:0;margin:12px 0 0}.contact-item{padding:14px 0;border-top:1px solid #edf1f2;display:grid;gap:6px}.contact-item:first-child{border-top:0;padding-top:0}.contact-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.contact-channel{font-size:.8125rem;color:#52636b}.contact-item>strong{font-size:1.0625rem;line-height:1.4;overflow-wrap:anywhere}.contact-links{display:flex;flex-direction:column;gap:3px;font-size:.9375rem;line-height:1.5}.contact-links a{color:var(--teal-dark);text-decoration:underline;overflow-wrap:anywhere}.contact-links .secondary{margin:0}.contact-notes{font-size:.875rem;color:#52636b;line-height:1.55;margin:0;white-space:pre-line}.contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px}.contact-actions .button{min-height:32px;padding:5px 11px;font-size:.875rem;margin:0;display:inline-flex;align-items:center;gap:6px}.contact-actions .button.link-button{border-color:#d4e9e5;background:var(--teal-soft);color:var(--teal-dark)}.contact-actions .button.ghost{color:#52636b;padding-left:8px}.contact-form{margin:6px 0 4px}.contact-hint{font-size:.875rem;color:#52636b;line-height:1.55;margin:12px 0 0}.contact-chips{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 0}.contact-chips .button{min-height:32px;padding:4px 10px;font-size:.8125rem;margin:0}.contact-chips-label{font-size:.8125rem;color:#52636b;font-weight:400;flex-basis:100%}.registry-toolbar{flex-wrap:wrap;gap:12px;padding:0 24px}.registry-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.registry-tools .search-input{border:1px solid #cbd8d7;border-radius:7px;padding:0 12px;min-height:44px;background:#fff;min-width:260px}.registry-tools .search-input input{width:100%}.registry-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px;margin-top:4px}.registry-card{display:flex;flex-direction:column;border:1px solid #e1e9e8;border-radius:10px;padding:18px 20px;background:#fff}.registry-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.registry-card>header .icon-button{flex-shrink:0;min-width:36px;min-height:36px}.registry-kind{display:block;font-size:.8125rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#52636b;margin-bottom:4px}.registry-card h3{font-size:1.125rem;line-height:1.35;overflow-wrap:anywhere}.registry-sub{font-size:.9375rem;color:#52636b;margin-top:3px}.registry-facts{margin:0;padding:0}.registry-facts>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:4px 12px;padding:9px 0;border-top:1px solid #edf1f2}.registry-facts dt{display:flex;align-items:center;gap:7px;font-size:.875rem;font-weight:650;color:#52636b;line-height:1.5}.registry-facts dt svg{flex-shrink:0;color:#6b7c84}.registry-facts dd{margin:0;font-size:.9375rem;line-height:1.55;color:var(--ink);overflow-wrap:anywhere;display:flex;flex-direction:column;gap:4px;align-items:flex-start}.registry-facts dd a{color:var(--teal-dark);text-decoration:underline}.registry-facts dd .badge{margin-top:2px}.registry-extra{font-size:.875rem;color:#52636b}.registry-fact-missing dd{color:#8a6d2f;font-style:italic}.registry-notes{font-size:.875rem;color:#52636b;line-height:1.6;padding-top:12px}.registry-card>footer,.registry-notes{margin-top:12px;border-top:1px solid #edf1f2}.registry-card>footer{padding-top:10px}.registry-card-inactive{opacity:.7}.registry-card-edit{grid-column:1/-1}.registry-form-title{font-size:1.125rem;margin-bottom:6px}.registry .registry-form{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));border:1px solid #e1e9e8;border-radius:10px;padding:18px 20px;background:#fbfcfc;margin-bottom:18px}.registry .registry-form label{min-width:0}.registry .registry-form .ghs-buttons,.registry .registry-form label:has(textarea),.registry .registry-form-title{grid-column:1/-1}@media(max-width:650px){.registry-tools{width:100%}.registry-tools .search-input{flex:1 1;min-width:0}.registry-facts>div,.registry-grid{grid-template-columns:1fr}}.leads-table-wide{min-width:1100px}.leads-table-wide td{vertical-align:top;font-size:.9375rem}.leads-table-wide .contact-button{min-width:180px}.leads-subject{min-width:220px;max-width:360px;line-height:1.55}.leads-table-wide .recovered-contacts{display:flex;flex-direction:column;gap:4px;white-space:nowrap}.leads-table-wide .recovered-contacts a{color:var(--teal-dark);text-decoration:underline}.account-actions{display:flex;flex-wrap:wrap;gap:8px}.prompt-box{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.9375rem;line-height:1.65;background:#f6f8f8;border:1px solid #e1e9e8;border-radius:8px;padding:16px 18px;max-height:360px;overflow:auto;-webkit-user-select:all;user-select:all}.process-panel{padding:24px}.process-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.process-head h2{font-size:1.375rem;margin:4px 0 8px}.process-head p{color:#52636b;line-height:1.65;max-width:720px}.process-track{display:flex;gap:6px;list-style:none;padding:0;margin:18px 0 14px}.process-track li{flex:1 1;height:8px;border-radius:4px;background:#e3eae9;position:relative}.process-track li span{position:absolute;left:0;top:12px;font-size:.75rem;color:#8a979c}.process-track li.done{background:#8fc0b5}.process-track li.current{background:var(--teal)}.process-track li.current span{color:var(--teal-dark);font-weight:700}.process-missing{margin:28px 0 8px;padding:14px 16px;background:#fff7e8;border:1px solid #f1dfb8;border-radius:8px;line-height:1.6}.process-missing ul{margin:6px 0 0 18px}.process-ready{display:flex;align-items:center;gap:8px;margin:28px 0 8px;color:var(--teal-dark);font-weight:600}.process-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-top:18px}.process-columns h3,.process-decisions h3,.process-judicial h3{display:flex;align-items:center;gap:8px;font-size:1.0625rem;margin-bottom:10px}.process-columns h3 span,.process-decisions h3 span{margin-left:auto;font-size:.8125rem;font-weight:600;color:#52636b;background:#edf2f1;border-radius:4px;padding:2px 7px}.checklist{list-style:none;padding:0;margin:0}.checklist li{display:flex;gap:10px;padding:10px 0;border-top:1px solid #edf1f2}.checklist li:first-child{border-top:0}.checklist .check{flex-shrink:0;width:28px;height:28px;display:grid;place-items:center;border:1px solid #cbd8d7;border-radius:6px;color:var(--teal-dark)}.checklist li.done strong{color:#52636b;text-decoration:line-through}.checklist li>div{flex:1 1;min-width:0}.checklist strong{font-size:.9375rem;line-height:1.5;display:block}.checklist em{font-style:normal;font-weight:400;color:#52636b}.checklist .secondary{margin-top:2px;line-height:1.5}.doc-link{display:inline-block;margin-top:4px;color:var(--teal-dark);text-decoration:underline;font-size:.9375rem}.inline-form{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;align-items:center}.inline-form input,.inline-form select{min-height:38px;padding:6px 10px;border:1px solid #cbd8d7;border-radius:6px;font-size:.9375rem;background:#fff;flex:1 1;min-width:140px}.process-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:14px 0;padding:16px;border:1px solid #e1e9e8;border-radius:8px;background:#fbfcfc}.process-form label{display:flex;flex-direction:column;gap:6px;font-size:.9375rem;font-weight:650}.process-form input,.process-form select,.process-form textarea{min-height:40px;padding:8px 10px;border:1px solid #cbd8d7;border-radius:6px;font-size:.9375rem;font-weight:400;background:#fff}.process-form .ghs-buttons{grid-column:1/-1}.process-decisions,.process-judicial{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.decision{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #e1e9e8;border-radius:8px;margin-bottom:10px;background:#fff}.decision.pending{border-color:#f1dfb8;background:#fffaf0}.decision p{margin-top:6px;line-height:1.55;white-space:pre-line}.decision strong{text-transform:none}.judicial-events{list-style:none;padding:0;margin:12px 0}.judicial-events li{display:flex;flex-direction:column;gap:2px;padding:8px 0;border-top:1px solid #edf1f2;font-size:.9375rem}@media(max-width:650px){.process-panel{padding:18px}.decision,.process-head{flex-direction:column}}.check-progress{height:4px;border-radius:2px;background:#e6edec;margin:-4px 0 10px;overflow:hidden}.check-progress span{display:block;height:100%;background:var(--teal);border-radius:2px;transition:width .3s}.checklist li{align-items:flex-start;gap:12px;padding:11px 0}.checklist .check{width:24px;height:24px;margin-top:1px;border:1.5px solid #b9c9c8;border-radius:7px;background:#fff;color:#fff;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.checklist .check:hover:not(:disabled){border-color:var(--teal);box-shadow:0 0 0 3px #157f7922}.checklist .check:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.checklist .check:disabled{cursor:default;opacity:.55}.checklist li.done .check{background:var(--teal);border-color:var(--teal)}.check-body{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:3px}.check-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.check-title strong{font-size:.9375rem;line-height:1.45;display:inline}.checklist li.done .check-title strong{color:#52636b;text-decoration:line-through;text-decoration-color:#9fb3b1}.check-tag{font-size:.75rem;font-weight:650;background:#edf2f1;border-radius:4px;padding:1px 6px}.check-meta,.check-tag{color:#52636b;line-height:1.5}.check-meta{font-size:.8125rem}.check-actions{flex-shrink:0;display:flex;align-items:center;gap:6px;padding-top:1px}.check-actions .button,.checklist .inline-form .button{min-height:32px;padding:5px 11px;font-size:.875rem;margin-left:0;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.check-actions .button.link-button{border-color:#d4e9e5;background:var(--teal-soft);color:var(--teal-dark)}.check-actions .button.link-button:hover{background:#dcefeb}.checklist .inline-form{margin-top:6px}.process-columns>div>.button.ghost{margin:8px 0 0;padding-left:0;min-height:32px;font-size:.875rem}@media(max-width:560px){.checklist li{flex-wrap:wrap}.check-actions{width:100%;padding-left:36px}}.doc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.viewer-modal{width:min(1100px,calc(100vw - 28px));height:calc(100dvh - 44px);max-height:none;display:flex;flex-direction:column;overflow:hidden}.viewer-modal:not([open]){display:none}.viewer-modal .modal-heading{padding:16px 22px;position:static}.viewer-modal .modal-heading h2{font-size:1.0625rem;overflow-wrap:anywhere;line-height:1.35}.viewer-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.viewer-actions .button{display:inline-flex;align-items:center;gap:6px;margin-left:0;min-height:36px;font-size:.875rem;padding:6px 12px}.viewer-body{flex:1 1;min-height:0;background:#eef1f2;display:flex;align-items:stretch;justify-content:center}.viewer-body iframe{width:100%;height:100%;border:0;display:block}.viewer-body img{max-width:100%;max-height:100%;object-fit:contain;margin:auto;display:block}.registry-filters{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;padding:0 24px 14px}.registry-filters label{display:flex;align-items:center;gap:6px;font-size:.875rem;color:#52636b;font-weight:600}.registry-filters select{min-height:36px;padding:4px 8px;border:1px solid #cbd8d7;border-radius:6px;font-size:.875rem;background:#fff;color:var(--ink);font-weight:500}.registry-count{margin-left:auto;font-size:.875rem;color:#52636b}.registry .table-scroll{border-top:1px solid var(--line)}.registry-table{min-width:900px}.registry-table th{white-space:nowrap;padding:.85rem 1rem}.registry-table td{vertical-align:top;font-size:.9375rem;padding:.9rem 1rem;line-height:1.45}.registry-table tr.editing td{background:#f3faf8}.registry-table tbody tr:hover td{background:#fbfcfc}.registry-table tr.editing:hover td{background:#f3faf8}.registry-table td strong{display:block;font-weight:700;line-height:1.4}.cell-sub{display:block;font-size:.8125rem;color:#52636b;margin-top:2px}.cell-missing{color:var(--amber);font-style:italic;font-size:.875rem}.cell-lines{display:flex;flex-direction:column;gap:2px}.cell-lines .badge{align-self:flex-start;margin-top:2px}.cell-notes{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#52636b;font-size:.875rem}.sort-button{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:0;font:inherit;font-weight:650;color:inherit;cursor:pointer}.sort-button svg{color:#9aacb0;flex-shrink:0}.sort-button.active,.sort-button.active svg{color:var(--teal-dark)}.sort-button:hover{color:var(--ink)}.registry-table .icon-button{min-width:36px;min-height:36px}.registry-table td:first-child,.registry-table th:first-child{min-width:300px;width:24%}.registry-table td:first-child strong{font-size:1rem}.registry-table{min-width:1100px}.data-table td select{min-width:124px;max-width:100%;min-height:38px;padding:6px 8px;border:1px solid #cbd8d7;border-radius:6px;font-size:.875rem;background:#fff;color:var(--ink)}.data-table td select:disabled{color:#52636b;background:#f4f7f7}.data-table td input[type=checkbox]{width:22px;height:22px;accent-color:var(--teal)}.tag-filter{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border:0;padding:0;margin:0;flex-basis:100%}.tag-filter legend{float:left;font-size:.875rem;font-weight:600;color:#52636b;margin-right:6px;padding:0}.tag-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;border:1px solid #dfe7e5;margin:0;min-height:32px;padding:4px 10px;color:#3f5157;background:#f4f7f6;font:inherit;font-size:.8125rem}.tag-toggle span{font-size:.75rem;color:#52636b;background:#fff;border-radius:4px;padding:0 5px}.tag-toggle:hover{border-color:#b8cdca}.tag-toggle.on{background:var(--teal);border-color:var(--teal);color:#fff}.tag-toggle.on span{background:#ffffff33;color:#fff}.tag-filter .small-button{min-height:32px}.recovered-tags-filter{margin:0 0 14px}.tag-chip{display:inline-block;margin:0 6px 6px 0;padding:3px 8px;border-radius:5px;background:#edf2f1;color:#3f5157;font-size:.8125rem;line-height:1.4;white-space:nowrap}.settings-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 24px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:10px;position:sticky;top:8px;z-index:5}.settings-nav a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border-radius:7px;font-size:.9375rem;font-weight:650;color:#52636b}.settings-nav a:hover{background:#f4f7f7;color:var(--ink)}.settings-section{scroll-margin-top:84px}.settings-section .table-scroll{position:relative}.settings-section .panel-heading .eyebrow{margin-bottom:6px}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;padding:22px 25px}.settings-fact{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #e1e9e8;border-radius:10px;background:#fbfcfc}.settings-fact dt{font-size:.875rem;font-weight:650;color:#52636b}.settings-fact dd{margin:0;font-size:1.0625rem;font-weight:700;overflow-wrap:anywhere}.settings-fact .secondary{margin-top:2px}.settings-status{list-style:none;padding:0 25px 22px;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.settings-status li{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid #e1e9e8;border-radius:10px;background:#fbfcfc;font-size:.9375rem;line-height:1.5}.settings-status li strong{font-size:1rem}.settings-status .badge{align-self:flex-start}.settings-preview{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid #e1e9e8;border-radius:10px;background:#fbfcfc;max-width:360px;margin-top:4px}.settings-preview strong{display:block;font-size:1rem}.settings-preview span{display:block;font-size:.875rem;color:var(--muted);margin-top:3px}@media(max-width:650px){.settings-nav{position:static}.settings-grid{padding:18px}.settings-status{padding:0 18px 18px}}.cases-filters label input{border:1px solid #cbd8d7;border-radius:6px;background:#fff;color:var(--ink);font-weight:500;width:180px}.cases-filters .button.ghost,.cases-filters label input{min-height:36px;padding:4px 8px;font-size:.875rem}.cases-panel .table-scroll{border-top:1px solid var(--line)}.cell-waiting{max-width:220px;font-size:.875rem;line-height:1.5;color:var(--ink)}.cell-muted{color:#52636b;font-size:.875rem}.process-reports{margin:22px 0 6px;border:1px solid #e1e9e8;border-radius:10px;background:#fbfcfc}.process-reports>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 16px;font-size:1.0625rem;font-weight:700;cursor:pointer;list-style:none;flex-wrap:wrap}.process-reports>summary::-webkit-details-marker{display:none}.process-reports>summary:after{content:"";margin-left:auto;width:9px;height:9px;border-right:2px solid #6b7c84;border-bottom:2px solid #6b7c84;transform:rotate(45deg);transition:transform .15s}.process-reports[open]>summary:after{transform:rotate(-135deg)}.reports-summary{font-size:.8125rem;font-weight:600;color:#52636b;background:#edf2f1;border-radius:4px;padding:2px 7px}.process-reports>.secondary{margin:0;padding:0 16px 10px;max-width:80ch}.reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;padding:0 16px 16px}.report-card{display:flex;flex-direction:column;gap:8px;border:1px solid #e1e9e8;border-radius:8px;background:#fff;padding:14px 16px;min-width:0}.report-card.completo{border-color:#cde4de}.report-card.bozza{border-color:#f1dfb8}.report-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}.report-card>header strong{font-size:1rem;line-height:1.4}.report-text{font-size:.9375rem;line-height:1.65;color:var(--ink);white-space:pre-line;overflow-wrap:anywhere;max-height:14em;overflow:auto}.report-card .check-actions{padding-top:4px}.report-form{display:flex;flex-direction:column;gap:10px}.report-form textarea{width:100%;min-height:9em;padding:10px 12px;border:1px solid #cbd8d7;border-radius:7px;font-size:1rem;line-height:1.6;background:#fff;color:var(--ink);resize:vertical}.report-form-row{display:flex;gap:12px 16px;align-items:flex-end;flex-wrap:wrap}.report-form-row label{display:flex;flex-direction:column;gap:6px;font-size:.875rem;font-weight:650;color:#52636b;min-width:0;flex:1 1}.report-form-row select{min-height:38px;padding:6px 8px;border:1px solid #cbd8d7;border-radius:6px;font-size:.9375rem;background:#fff;color:var(--ink);font-weight:500;max-width:100%}.report-form-row .report-check{flex-direction:row;align-items:center;gap:8px;min-height:38px;flex:0 0 auto;font-weight:600}.report-check input{width:18px;height:18px;accent-color:var(--teal)}.link-inline{background:none;border:0;padding:0;font:inherit;color:var(--teal-dark);text-decoration:underline;cursor:pointer}.file-pick,.receive-form{flex-wrap:wrap}.file-pick{display:inline-flex;align-items:center;gap:6px;font-size:.8125rem;color:#52636b;font-weight:600}.file-pick input{font-size:.8125rem;max-width:240px}.upcode-panel{display:grid;gap:12px;align-content:start;min-width:0}.upcode-panel h2{display:flex;align-items:flex-start;gap:8px;margin:0}.upcode-panel h2 svg{flex-shrink:0;margin-top:2px}.upcode-panel>.secondary{margin:0;line-height:1.5;overflow-wrap:anywhere}.upcode-panel>.button{justify-self:start;margin:0;min-height:44px}.upcode-panel>.registry-form{margin:0}.upcode-privacy{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0}.upcode-privacy .badge{display:inline-flex;align-items:center;gap:5px;font-size:.875rem}.upcode-created{background:var(--teal-soft);border:1px solid #cfe5df;border-radius:9px;padding:16px;margin:0;display:grid;gap:8px;min-width:0}.upcode-created .eyebrow{margin-bottom:0;color:var(--teal-dark)}.upcode-code{font-size:1.75rem;letter-spacing:.14em;font-weight:800;color:var(--teal-dark);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.upcode-created textarea{width:100%;font:inherit;font-size:.875rem;line-height:1.6;padding:10px 12px;border:1px solid #cbd8d7;border-radius:7px;background:#fff;color:var(--ink);resize:vertical}.upcode-created .secondary{margin:0}.upcode-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}.upcode-list li{border-top:1px solid #edf1f2;padding-top:14px;display:grid;gap:6px}.upcode-list li>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.upcode-list strong{font-size:1rem}.carica{max-width:540px;margin:0 auto;padding:max(16px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));min-height:100dvh;display:flex;flex-direction:column;gap:16px}.carica-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0}.carica-head img{width:132px;height:auto}.carica-head span{font-size:.875rem;font-weight:700;letter-spacing:.14em;color:var(--muted);text-transform:uppercase}.carica h1{font-size:1.5rem;font-weight:750;line-height:1.3}.carica h2{font-size:1.25rem;font-weight:700}.carica p{line-height:1.6}.carica-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px 18px;display:grid;gap:14px}.carica-case{padding:4px 2px}.carica-case p{color:var(--muted);font-size:.9375rem;margin-top:8px}.carica-eyebrow{display:block;font-size:.8125rem;letter-spacing:.16em;font-weight:800;color:var(--teal-dark);margin-bottom:8px}.carica-section{margin-top:6px}.carica-code input{width:100%;min-height:64px;font-size:1.75rem;letter-spacing:.18em;text-align:center;font-weight:800;text-transform:uppercase;border:2px solid #cbd8d7;border-radius:10px;padding:10px 12px;color:var(--ink);background:#fff;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.carica-code input:focus-visible{border-color:var(--teal)}.carica-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:56px;padding:14px 18px;border:1px solid #cbd8d7;border-radius:12px;background:#fff;font-size:1.0625rem;font-weight:700;color:var(--ink)}.carica-button.primary{background:var(--teal);border-color:var(--teal);color:#fff}.carica-button.big{min-height:64px;font-size:1.125rem}.carica-button.ghost{border-color:transparent;background:transparent;color:var(--muted)}.carica-actions,.carica-list{display:grid;gap:10px}.carica-list{list-style:none;margin:0;padding:0}.carica-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:64px;padding:14px 16px;text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:12px}.carica-row>span:first-child{display:grid;gap:3px;min-width:0}.carica-row strong{font-size:1.0625rem;line-height:1.35}.carica-row small{color:var(--muted);font-size:.875rem}.carica-chevron{font-size:1.75rem;color:var(--muted);line-height:1}.carica-other{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;gap:12px}.carica-other label{display:grid;gap:8px;font-weight:650}.carica-other input{min-height:52px;padding:10px 14px;border:1px solid #cbd8d7;border-radius:10px;font-size:1.0625rem;font-weight:400;color:var(--ink);background:#fff}.carica-received summary{min-height:48px;display:flex;align-items:center;font-weight:700;cursor:pointer;color:var(--muted)}.carica-received ul{list-style:none;margin:0;padding:0 0 8px;display:grid;gap:10px}.carica-received li{display:grid;gap:2px;padding:10px 12px;background:#eef3f2;border-radius:10px}.carica-received small{color:var(--muted);font-size:.875rem}.carica-thumbs{list-style:none;margin:0;padding:0;display:grid;gap:10px}.carica-thumbs li{display:grid;border:1px solid var(--line);border-radius:10px;background:#fafcfc}.carica-filebox,.carica-thumbs img{width:72px;height:72px;border-radius:8px}.carica-filebox{display:grid;place-items:center;font-weight:800;color:var(--teal-dark)}.carica-thumbname{font-size:.9375rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carica-thumbtools{display:flex;gap:4px}.carica-thumbtools button{border:1px solid var(--line);border-radius:8px;background:#fff;font-size:1rem;color:var(--ink)}.carica-summary{background:var(--teal-soft);padding:12px 14px;border-radius:10px}.carica-progress,.carica-summary{font-size:.9375rem;color:var(--muted)}.carica-progress{display:grid;gap:8px}.carica-progress>div{height:10px;border-radius:5px;background:#e3e9eb;overflow:hidden}.carica-progress i{display:block;height:100%;background:var(--teal);transition:width .2s}.carica-error{color:#aa544a;background:#fdf1ef;border:1px solid #f2d8d2}.carica-error,.carica-notice{border-radius:10px;padding:12px 14px;font-size:1rem}.carica-notice{color:var(--teal-dark);background:var(--teal-soft);display:flex;flex-wrap:wrap;gap:8px;align-items:center}.carica-offline{color:var(--amber);background:var(--amber-bg);border-radius:10px;padding:12px 14px;font-size:1rem}.carica-link{min-height:44px;padding:0 8px;font-weight:700;color:var(--teal-dark);text-decoration:underline}.carica-small{color:var(--muted);font-size:.9375rem}.carica-wait{color:var(--muted);text-align:center;padding:40px 0}.carica-done ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.carica-done li{display:grid;gap:2px;padding:12px 14px;background:var(--teal-soft);border-radius:10px}.carica-done small{color:var(--muted);font-size:.875rem;overflow-wrap:anywhere}.carica-foot{margin-top:auto;padding-top:8px}@keyframes carica-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes carica-fade{0%{opacity:0}to{opacity:1}}@keyframes carica-pop{0%{opacity:0;transform:scale(.6)}70%{transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes carica-draw{to{stroke-dashoffset:0}}@keyframes carica-dot{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.5);opacity:.55}}@keyframes carica-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.carica-head img{animation:carica-fade .6s ease-out both}.carica-brand{display:inline-flex;align-items:center;gap:8px;animation:carica-fade .6s ease-out .15s both}.carica-brand-dot{width:8px;height:8px;border-radius:50%;background:var(--teal);animation:carica-dot 2.4s ease-in-out infinite}.carica-screen{animation:carica-rise .45s cubic-bezier(.2,.7,.2,1) both}.carica-tagline{font-size:1.0625rem;line-height:1.5;color:var(--teal-dark);font-weight:650;margin-bottom:2px;animation:carica-rise .5s cubic-bezier(.2,.7,.2,1) .1s both}.carica-list>li{animation:carica-rise .4s cubic-bezier(.2,.7,.2,1) both}.carica-list>li:first-child{animation-delay:.04s}.carica-list>li:nth-child(2){animation-delay:.08s}.carica-list>li:nth-child(3){animation-delay:.12s}.carica-list>li:nth-child(4){animation-delay:.16s}.carica-list>li:nth-child(5){animation-delay:.2s}.carica-list>li:nth-child(6){animation-delay:.24s}.carica-list>li:nth-child(7){animation-delay:.28s}.carica-list>li:nth-child(8){animation-delay:.32s}.carica-list>li:nth-child(n+9){animation-delay:.36s}.carica-row{transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.carica-row:active{transform:scale(.985)}.carica-row:hover{border-color:#bcd7d2;box-shadow:0 6px 18px #10656014}.carica-button{transition:transform .12s ease,filter .15s ease,box-shadow .15s ease}.carica-button:active:not(:disabled){transform:scale(.97)}.carica-button.primary:not(:disabled):hover{filter:brightness(1.06);box-shadow:0 8px 20px #157f7933}.carica-code input{transition:border-color .2s ease,box-shadow .2s ease,letter-spacing .2s ease}.carica-code input:focus{border-color:var(--teal);box-shadow:0 0 0 4px #157f7922;outline:none}.carica-thumbs>*{animation:carica-pop .35s cubic-bezier(.2,.7,.2,1) both}.carica-progress span{background-image:linear-gradient(90deg,var(--teal) 0,#4fb3ab 50%,var(--teal) 100%);background-size:200% 100%;animation:carica-shimmer 1.4s linear infinite;transition:width .3s ease}.carica-done{text-align:center;justify-items:center}.carica-done ul{text-align:left;width:100%}.carica-check{display:inline-grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--teal-soft);color:var(--teal);animation:carica-pop .5s cubic-bezier(.2,.7,.2,1) both}.carica-check path{stroke-dasharray:48;stroke-dashoffset:48;animation:carica-draw .45s ease-out .35s forwards}.carica-check circle{stroke-dasharray:184;stroke-dashoffset:184;animation:carica-draw .7s ease-out .1s forwards}@media(prefers-reduced-motion:reduce){.carica-brand,.carica-brand-dot,.carica-check,.carica-check circle,.carica-check path,.carica-head img,.carica-list>li,.carica-progress span,.carica-screen,.carica-tagline,.carica-thumbs>*{animation:none!important;stroke-dashoffset:0}.carica-button,.carica-code input,.carica-row{transition:none}}.carica-welcome{font-size:1.125rem;color:var(--muted);margin-bottom:10px;animation:carica-fade .6s ease-out both}.carica-welcome strong{color:var(--ink);font-weight:750}.carica-person{font-size:1.75rem;line-height:1.2;letter-spacing:-.01em;animation:carica-rise .5s cubic-bezier(.2,.7,.2,1) .08s both}.carica-case-title{color:var(--ink);font-size:1rem;line-height:1.45;margin-top:6px}.carica-case .carica-eyebrow{display:inline-block;padding:3px 8px;border-radius:6px;background:var(--teal-soft);color:var(--teal-dark)}@media(prefers-reduced-motion:reduce){.carica-person,.carica-welcome{animation:none!important}}.carica-consents{border:0;margin:0;padding:0;display:grid;gap:12px;min-width:0}.carica-consents label{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;min-height:44px;padding:4px 0;font-size:1rem;line-height:1.5;color:var(--ink);cursor:pointer}.carica-consents input{width:28px;height:28px;margin:0;accent-color:var(--teal);cursor:pointer}.carica-consents input:focus-visible{outline:3px solid #157f7955;outline-offset:2px;border-radius:6px}.carica-consents a{color:var(--teal-dark);font-weight:650;text-decoration:underline}.carica-prose{display:grid;gap:14px}.carica-prose h1{font-size:1.5rem}.carica-prose h2{font-size:1.125rem;margin-top:6px}.carica-prose li,.carica-prose p{font-size:1rem;line-height:1.6}.carica-prose ul{margin:0;padding-left:20px;display:grid;gap:6px}.carica-prose .carica-small{margin-top:4px}.upcode-access{margin-top:16px}.upcode-access ul{list-style:none;margin:0;padding:4px 12px 12px;display:grid;gap:10px}.upcode-access li{display:grid;gap:4px;padding-top:10px;border-top:1px solid #edf1f2}.upcode-access li:first-child{border-top:0;padding-top:0}.upcode-access li>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.upcode-access time{font-size:.9375rem;font-weight:650;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.upcode-access .check-meta{overflow-wrap:anywhere}.carica{padding-top:calc(28px + env(safe-area-inset-top,0px))}.carica-head{padding:10px 0 14px}.carica-icon{width:24px;height:24px;flex:0 0 24px}.carica-button.outline{border:2px solid var(--teal);color:var(--teal-dark);background:#fff}.carica-button.ghost{min-height:48px}.carica-button.dark{background:#1c2a2e;border-color:#34464b;color:#fff}.carica-button.dark:not(:disabled):active{background:#24353a}.carica-doc-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.carica-doc-head .carica-eyebrow{margin-bottom:0}.carica-badge{display:inline-flex;align-items:center;min-height:28px;padding:2px 10px;border-radius:14px;background:var(--teal-soft);color:var(--teal-dark);font-size:.875rem;font-weight:800;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;animation:carica-pop .35s cubic-bezier(.2,.7,.2,1) both}.carica-thumbs li{grid-template-columns:72px minmax(0,1fr) auto}.carica-thumbmeta{display:grid;gap:4px;min-width:0}.carica-thumbcrop{display:inline-flex;align-items:center;gap:6px;justify-self:start;padding:0 10px 0 6px;margin-left:-6px;border-radius:8px;font-size:.9375rem;font-weight:700;background:transparent;border:0;transition:transform .12s ease,background-color .15s ease}.carica-thumbcrop .carica-icon{width:20px;height:20px;flex-basis:20px}.carica-thumbtools{gap:8px}.carica-thumbtools button{display:grid;place-items:center;width:44px;height:44px;transition:transform .12s ease}.carica-thumbtools button:not(:disabled):active{transform:scale(.94)}.carica-chevron .carica-icon{color:var(--muted)}.carica-section{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.carica-stage{font-size:.875rem;font-weight:700;color:var(--teal-dark);background:var(--teal-soft);padding:3px 8px;border-radius:6px;letter-spacing:.02em}.carica-received summary{justify-content:space-between;list-style:none;gap:10px;color:var(--ink)}.carica-received summary::-webkit-details-marker{display:none}.carica-received summary .carica-icon{color:var(--muted);transition:transform .2s ease}.carica-received[open] summary .carica-icon{transform:rotate(90deg)}.carica-others{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:2px 0}.carica-group{display:grid;gap:10px;padding:6px 0 14px}.carica-group h3{font-size:.875rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.carica-editor{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;background:#0b1214;color:#fff;padding:max(10px,env(safe-area-inset-top)) 0 max(14px,env(safe-area-inset-bottom));animation:carica-fade .25s ease-out both;touch-action:none;overscroll-behavior:contain}.carica-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 16px 8px}.carica-pagecount{font-size:1.125rem;font-weight:800;letter-spacing:.02em;padding:6px 12px;border-radius:10px;background:#ffffff14}.carica-editor-close{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffffff14;color:#fff;border:0;transition:transform .12s ease,background-color .15s ease}.carica-editor-close:not(:disabled):active{transform:scale(.94);background:#ffffff24}.carica-editor-stage{position:relative;flex:1 1;min-height:0;overflow:hidden;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}.carica-editor-photo{position:absolute;animation:carica-rise .3s cubic-bezier(.2,.7,.2,1) both}.carica-editor-photo canvas{display:block;background:#1c2a2e}.carica-crop{position:absolute;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 0 4000px #0b1214a6;will-change:transform}.carica-crop-grid{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(90deg,transparent calc(33.333% - .5px),#ffffff59 calc(33.333% - .5px),#ffffff59 calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff59 calc(66.666% - .5px),#ffffff59 calc(66.666% + .5px),transparent calc(66.666% + .5px)),linear-gradient(180deg,transparent calc(33.333% - .5px),#ffffff59 calc(33.333% - .5px),#ffffff59 calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff59 calc(66.666% - .5px),#ffffff59 calc(66.666% + .5px),transparent calc(66.666% + .5px))}.carica-crop-handle{position:absolute;width:28px;height:28px;border-radius:50%;background:#fff;border:3px solid var(--teal);box-shadow:0 2px 10px #00000080;pointer-events:none}.carica-crop-handle.nw{left:-14px;top:-14px}.carica-crop-handle.ne{right:-14px;top:-14px}.carica-crop-handle.sw{left:-14px;bottom:-14px}.carica-crop-handle.se{right:-14px;bottom:-14px}.carica-crop:after,.carica-crop:before{content:"";position:absolute;width:26px;height:26px;border:4px solid #fff;pointer-events:none}.carica-crop:before{left:-4px;top:-4px;border-right:0;border-bottom:0;border-radius:4px 0 0 0}.carica-crop:after{right:-4px;bottom:-4px;border-left:0;border-top:0;border-radius:0 0 4px 0}.carica-editor-foot{display:grid;gap:10px;padding:6px 16px 0}.carica-editor-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.carica-editor .carica-button{min-height:56px}.carica-editor .carica-button.primary{box-shadow:0 10px 28px #157f7955}@media(prefers-reduced-motion:reduce){.carica-badge,.carica-editor,.carica-editor-photo{animation:none!important}.carica-editor-close,.carica-received summary .carica-icon,.carica-thumbcrop,.carica-thumbtools button{transition:none}}.carica-pull{display:flex;align-items:center;justify-content:center;gap:8px;overflow:hidden;height:0;margin:-8px 0 0;color:var(--muted);font-size:.875rem;font-weight:600;transition:height .15s ease}.carica-pull-icon{width:18px;height:18px;border-radius:50%;border:2px solid #cbd8d7;border-top:2px solid var(--teal);transition:transform .2s ease}.carica-pull.ready .carica-pull-icon{transform:rotate(180deg);border-color:var(--teal) #cbd8d7 #cbd8d7}.carica-pull.refreshing .carica-pull-icon{animation:carica-spin .8s linear infinite}@keyframes carica-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.carica-pull-icon{animation:none!important}}.carica-nav{position:sticky;top:0;z-index:20;display:grid;gap:8px;margin:0 -16px;padding:8px 16px 10px;background:#f5f7f8f2;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line);animation:carica-fade .3s ease-out both}.carica-nav-row{display:flex;align-items:center;gap:6px;min-height:44px}.carica-nav-back,.carica-nav-spacer{flex:0 0 44px;width:44px;height:44px}.carica-nav-back{display:grid;place-items:center;margin-left:-6px;border-radius:50%;color:var(--teal-dark);background:var(--teal-soft);border:0;transition:transform .12s ease,background-color .15s ease}.carica-nav-back:not(:disabled):active{transform:scale(.92);background:#d5ebe6}.carica-nav-back .carica-icon{width:26px;height:26px;flex-basis:26px}.carica-nav-spacer{margin-left:-6px;width:8px;flex-basis:8px}.carica-nav-title{flex:1 1;min-width:0;display:flex;align-items:baseline;gap:8px;font-size:1.0625rem;font-weight:800;letter-spacing:-.01em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carica-nav-title small{font-size:.8125rem;font-weight:700;letter-spacing:.08em;color:var(--muted)}.carica-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.carica-step{display:grid;gap:6px;min-width:0}.carica-step-bar{display:block;height:5px;border-radius:3px;background:#d7e0e2;transition:background-color .3s ease}.carica-step.done .carica-step-bar{background:var(--teal)}.carica-step.current .carica-step-bar{background:linear-gradient(90deg,var(--teal) 0,#4fb3ab 50%,var(--teal) 100%);background-size:200% 100%;animation:carica-shimmer 1.6s linear infinite}.carica-step-text{font-size:.75rem;line-height:1.3;font-weight:650;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carica-step-text b{font-weight:800}.carica-step.current .carica-step-text{color:var(--teal-dark)}.carica-step.done .carica-step-text{color:var(--ink)}.carica-count{font-weight:800;color:var(--teal-dark);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.carica-sent{font-weight:650}.carica-sent .carica-icon{color:var(--teal);flex-basis:22px;width:22px;height:22px}.carica-received li{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px}.carica-received li>span:last-child{display:grid;gap:2px;min-width:0}.carica-received-check{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--teal);color:#fff}.carica-received-check .carica-icon{width:18px;height:18px;flex-basis:18px}.carica-sheet-backdrop{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;background:#0b121499;animation:carica-fade .2s ease-out both}.carica-sheet{width:100%;max-width:540px;display:grid;gap:12px;padding:22px 18px max(22px,env(safe-area-inset-bottom));background:var(--panel);border-radius:18px 18px 0 0;box-shadow:0 -12px 40px #00000033;animation:carica-rise .3s cubic-bezier(.2,.7,.2,1) both}.carica-sheet h2{font-size:1.375rem}.carica-sheet p{color:var(--muted);font-size:1rem}.carica-sheet .carica-actions{margin-top:6px}.carica-button.danger{border:2px solid #e3b5ad;color:#aa544a;background:#fff}.carica-button.danger:not(:disabled):active{background:#fdf1ef}.carica-thumbs li{grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px}.carica-filebox,.carica-thumbs img{width:96px;height:96px;object-fit:cover;border-radius:10px;background:#e8eeed;box-shadow:inset 0 0 0 1px #0000000f}.carica-thumbmeta{gap:8px}.carica-thumbcrop{min-height:44px;padding:0 14px 0 10px;margin-left:0;border:2px solid var(--teal);border-radius:10px;background:#fff;color:var(--teal-dark);font-size:1rem}.carica-thumbcrop:not(:disabled):active{background:var(--teal-soft);transform:scale(.97)}.carica-thumbtools{flex-direction:column;gap:6px}@media(min-width:420px){.carica-thumbtools{flex-direction:row}}.carica-editor-tip{position:absolute;left:50%;top:14px;transform:translateX(-50%);max-width:calc(100% - 32px);margin:0;padding:12px 16px;border-radius:14px;background:#ffffffeb;color:#0b1214;font-size:1rem;line-height:1.4;text-align:center;box-shadow:0 10px 30px #00000066;pointer-events:none;animation:carica-rise .35s cubic-bezier(.2,.7,.2,1) .15s both}.carica-editor-tip strong{color:var(--teal-dark)}.carica-crop{border-color:#fff;box-shadow:0 0 0 1px #0b121480,0 0 0 4000px #0b1214a6}.carica-crop-handle{width:30px;height:30px;background:var(--teal);border:3px solid #fff;box-shadow:0 0 0 3px #ffffff66,0 3px 12px #00000099}.carica-crop-handle.nw{left:-15px;top:-15px}.carica-crop-handle.ne{right:-15px;top:-15px}.carica-crop-handle.sw{left:-15px;bottom:-15px}.carica-crop-handle.se{right:-15px;bottom:-15px}.carica-crop:after,.carica-crop:before{filter:drop-shadow(0 0 2px #0b1214)}.carica-editor-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.carica-editor-row .carica-button{padding:10px 6px;font-size:.9375rem;flex-direction:column;gap:4px;min-height:60px}.carica-editor-row .carica-button[aria-pressed=true]{opacity:.45}@media(prefers-reduced-motion:reduce){.carica-editor-tip,.carica-nav,.carica-sheet,.carica-sheet-backdrop,.carica-step.current .carica-step-bar{animation:none!important}.carica-nav-back,.carica-step-bar{transition:none}}.mobile-list-controls,.mobile-records,.mobile-sort,.sidebar-close{display:none}.registry-trash>summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:1rem;font-weight:700}.registry-trash-list{list-style:none;margin:8px 0 0;padding:0}.registry-trash-list>li{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--line)}.registry-trash-list>li>div{min-width:0;overflow-wrap:anywhere}.registry-trash-list strong{font-size:1rem;display:block}.registry-trash-list p,.registry-trash-list span{font-size:.875rem;line-height:1.6;color:var(--muted);display:block;margin:4px 0 0}.registry-trash-list .button{flex-shrink:0}@media(max-width:900px){.app-right,.app-shell,.main-content,.panel{min-width:0;max-width:100%}.app-shell .sidebar{width:min(21rem,88vw);max-width:88vw;padding-top:max(1.25rem,env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);overscroll-behavior:contain}.sidebar .sidebar-close{display:inline-grid;position:absolute;right:.5rem;top:max(.75rem,env(safe-area-inset-top));min-width:44px;min-height:44px}.sidebar .brand{padding-right:2.5rem}.sidebar .profile>div,.sidebar .workspace-switch>div{min-width:0;overflow-wrap:anywhere}.app-shell .nav-item{min-height:48px}.app-shell .topbar{position:sticky;top:0;z-index:20;background:#fff;min-height:64px;padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right))}.app-shell .mobile-shade{touch-action:none}.app-shell .main-content{padding-bottom:max(1rem,env(safe-area-inset-bottom))}.app-shell .button,.app-shell .icon-button,.app-shell .small-button,.app-shell .tag-toggle{min-height:44px}.app-shell .icon-button{min-width:44px}.app-shell input:not([type=checkbox]):not([type=radio]),.app-shell select,.app-shell textarea{font-size:1rem;min-width:0;max-width:100%;min-height:44px}.app-shell input[type=checkbox],.app-shell input[type=radio]{width:1.25rem;min-height:1.25rem;flex-shrink:0}.app-shell .section-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.app-shell .section-tabs>button{min-height:48px;flex-shrink:0;white-space:nowrap}.app-shell .table-scroll{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.app-shell .table-scroll:focus-visible{outline:2px solid var(--teal);outline-offset:2px}}@media(max-width:760px){.app-shell .main-content{padding-left:max(.875rem,env(safe-area-inset-left));padding-right:max(.875rem,env(safe-area-inset-right));padding-top:1.125rem}.app-shell .page-heading{gap:12px;align-items:flex-start;margin-bottom:18px}.app-shell .page-heading h1{font-size:1.75rem;line-height:1.2;overflow-wrap:anywhere}.app-shell .page-heading p{font-size:1rem;line-height:1.5;margin-top:8px;max-width:100%;overflow-wrap:anywhere}.app-shell .page-heading>.button{min-height:44px;font-size:1rem;margin-left:0}.app-shell .desktop-records{display:none}.app-shell .mobile-records{display:grid;gap:12px;list-style:none;margin:0;padding:12px}.mobile-records>li{min-width:0}.mobile-record{padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0;overflow-wrap:anywhere}.mobile-record.editing{background:#f3faf8;border-color:#add5ca}.mobile-record-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.mobile-record .record-code,.mobile-record-source{font-size:.875rem;color:var(--muted);line-height:1.5}.mobile-record .badge{font-size:.875rem;max-width:100%}.mobile-record .badge,.mobile-record-title{white-space:normal;text-align:left;line-height:1.4}.mobile-record-title{display:block;width:100%;min-height:44px;padding:8px 0;margin:2px 0 0;border:0;background:none;color:var(--ink);font-size:1.125rem;font-weight:750;overflow-wrap:anywhere}.mobile-record-title:hover{color:var(--teal-dark)}.mobile-record-subject{font-size:1rem;color:#475b64;line-height:1.55;margin:2px 0 14px}.mobile-record-facts{display:grid;gap:10px;margin:14px 0;padding:0}.mobile-record-facts>div{display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:4px 10px;min-width:0}.mobile-record-facts dt{font-size:.875rem;color:var(--muted);font-weight:600;line-height:1.6}.mobile-record-facts dd{font-size:1rem;margin:0;min-width:0;line-height:1.5;overflow-wrap:anywhere}.mobile-record-facts dd.person{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mobile-record-next{padding:12px;background:#f4f8f7;border-left:3px solid var(--teal);border-radius:0 7px 7px 0}.mobile-record-next>span,.mobile-record-waiting>span{display:block;font-size:.875rem;color:var(--muted);font-weight:650;margin-bottom:4px}.mobile-record-next p{font-size:1rem;line-height:1.55;margin:0}.mobile-record-next strong{display:block;font-size:.875rem;font-weight:650;margin-top:7px}.mobile-record-waiting{font-size:1rem;line-height:1.55;margin:14px 0 0}.mobile-record footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.mobile-record footer>span{font-size:.875rem;line-height:1.5;color:var(--muted)}.mobile-record footer .button{margin:0;white-space:normal}.mobile-record-contacts{display:grid;gap:4px;margin:10px 0;font-size:1rem}.mobile-record-contacts a{display:flex;align-items:center;min-height:44px;padding:8px 0;color:var(--teal-dark);text-decoration:underline;overflow-wrap:anywhere}.mobile-record-contacts>span{font-size:.875rem;color:var(--muted)}.app-shell .mobile-list-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 12px}.mobile-list-controls>span{font-size:.875rem;color:var(--muted)}.app-shell .cases-filters.mobile-collapsed{display:none}.app-shell .cases-filters.mobile-expanded{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:4px 16px 16px}.app-shell .registry-filters label{align-items:stretch;min-width:0;font-size:.875rem}.app-shell .registry-filters input,.app-shell .registry-filters select{width:100%;font-size:1rem;min-height:44px;min-width:0;max-width:100%}.app-shell .mobile-sort{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;grid-column:1/-1}.mobile-sort label{min-width:0}.app-shell .cases-filters .registry-count{display:none}.app-shell .cases-filters>.button{grid-column:1/-1;justify-content:center;min-height:44px;font-size:1rem}.app-shell .list-toolbar,.app-shell .registry-toolbar{gap:12px;padding:0 16px 12px;min-width:0}.app-shell .list-toolbar>.search-input,.app-shell .registry-tools{width:100%;min-width:0;margin:0}.app-shell .search-input{max-width:100%;min-width:0;min-height:44px}.app-shell .search-input input{width:100%;font-size:1rem;min-height:44px;padding-top:8px;padding-bottom:8px}.app-shell .registry-tools{flex-wrap:wrap;gap:10px}.app-shell .registry-tools .search-input{flex:1 1 100%}.app-shell .list-toolbar .section-tabs{width:100%;gap:18px}.app-shell .list-toolbar .section-tabs>button{font-size:1rem;padding-top:14px;padding-bottom:14px}.app-shell .task-list{padding:0 16px}.app-shell .task-row{display:grid;grid-template-columns:24px minmax(0,1fr) 44px;gap:10px;padding:18px 0;align-items:start}.app-shell .task-row>.task-marker{grid-column:1;grid-row:1;margin-top:12px}.app-shell .task-row>.task-main{grid-column:2/-1;min-width:0;flex-basis:auto}.app-shell .task-main>a{display:block;min-height:44px;padding:8px 0}.app-shell .task-main strong{font-size:1rem;line-height:1.5;overflow-wrap:anywhere}.app-shell .task-main>span{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}.app-shell .task-main .task-owner{display:block;margin-top:4px}.app-shell .task-row>.task-date{grid-column:2;grid-row:2;align-self:center;margin:0;font-size:.875rem;white-space:normal;line-height:1.5}.app-shell .task-row>.icon-button{grid-column:3;grid-row:2;margin:0}.app-shell .task-row>.small-button{grid-column:2/-1;justify-self:start;margin:0;max-width:100%}.app-shell .facts-panel,.app-shell .process-panel{padding:16px}.app-shell .process-head{flex-direction:column;gap:12px}.app-shell .process-columns,.app-shell .process-form,.app-shell .registry .registry-form,.app-shell .settings-grid,.app-shell .settings-status{grid-template-columns:minmax(0,1fr);min-width:0;gap:16px}.app-shell .ghs-case-content,.app-shell .ghs-content,.app-shell .inline-form,.app-shell .process-columns>div,.app-shell .registry-form>label{min-width:0;max-width:100%}.app-shell .inline-form input,.app-shell .inline-form select{flex-basis:100%;width:100%;min-width:0}.app-shell .cell-sub,.app-shell .check-meta,.app-shell .check-tag,.app-shell .process-columns h3 span,.app-shell .process-track li span{font-size:.875rem}.app-shell .checklist .check{width:44px;height:44px;flex-basis:44px}.app-shell .check-title strong,.app-shell .doc-link,.app-shell .registry-facts dd{font-size:1rem}.app-shell .check-actions{width:100%;padding-left:0;flex-wrap:wrap}.app-shell .check-actions .button,.app-shell .checklist .inline-form .button{min-height:44px;font-size:1rem;white-space:normal}.app-shell .checklist li{flex-wrap:wrap}.app-shell .check-body{flex-basis:calc(100% - 56px)}.app-shell .next-step{display:grid;grid-template-columns:36px minmax(0,1fr);padding:16px;gap:12px}.app-shell .next-step>div:nth-child(2){min-width:0}.app-shell .next-step h3{font-size:1.125rem;line-height:1.5;overflow-wrap:anywhere}.app-shell .next-step p{font-size:1rem;overflow-wrap:anywhere}.app-shell .next-step .button{grid-column:2;justify-self:start;margin:0;max-width:100%}.app-shell .notes-list{padding:0 16px}.app-shell .note{gap:10px}.app-shell .note>div{min-width:0}.app-shell .note p,.app-shell .note-outcome{font-size:1rem;line-height:1.7;overflow-wrap:anywhere}.app-shell .document-row{flex-wrap:wrap;padding:16px;gap:12px}.app-shell .document-row>div{min-width:0;overflow-wrap:anywhere}.app-shell .doc-actions,.app-shell .ghs-buttons{gap:10px}.app-shell .doc-actions>.button{flex:1 1 auto;white-space:normal}.app-shell .modal{width:calc(100vw - 12px);max-width:none;max-height:calc(100dvh - 12px);margin:auto;border-radius:12px}.app-shell .modal-heading{padding:16px;gap:10px;align-items:flex-start}.app-shell .modal-heading>div{min-width:0}.app-shell .modal-heading h2{font-size:1.375rem;line-height:1.35;overflow-wrap:anywhere}.app-shell .modal-content{padding:18px 16px 0;min-width:0}.app-shell .form-grid{grid-template-columns:minmax(0,1fr);gap:16px}.app-shell .form-grid .span-2{grid-column:auto}.app-shell .modal-actions{margin-left:-16px;margin-right:-16px;padding:14px 16px max(14px,env(safe-area-inset-bottom));gap:10px;flex-wrap:wrap}.app-shell .modal-actions>.button{flex:1 1;min-width:0;white-space:normal;justify-content:center;font-size:1rem}.app-shell .viewer-modal{height:calc(100dvh - 12px)}.app-shell .viewer-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.app-shell .info-grid{grid-template-columns:minmax(0,1fr)}.app-shell .registry .registry-form{padding:16px}.app-shell .registry-facts>div,.app-shell .registry-grid{grid-template-columns:minmax(0,1fr)}.mobile-registry-heading{font-size:1.125rem;line-height:1.5}.mobile-registry-heading strong{font-size:1.125rem}.mobile-registry-heading .cell-sub{font-size:1rem;line-height:1.5;margin-top:5px}.mobile-registry-details{margin-top:12px}.mobile-registry-details>summary{min-height:44px;padding:10px 0;font-size:1rem;font-weight:650;color:var(--teal-dark);cursor:pointer}.mobile-registry-details .mobile-record-facts>div{grid-template-columns:minmax(0,1fr)}.mobile-registry-details .cell-notes{white-space:normal;max-width:none;font-size:1rem;overflow-wrap:anywhere}.app-shell .registry-trash-list>li{flex-direction:column;gap:12px}.app-shell .registry-trash-list .button{align-self:flex-start}.app-shell .workspace-footer{gap:8px;flex-wrap:wrap;font-size:.875rem}}@media(max-width:430px){.app-shell .cases-filters.mobile-expanded,.app-shell .mobile-sort{grid-template-columns:minmax(0,1fr)}.app-shell .mobile-sort>.button{justify-self:start}.app-shell .stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .stat{padding:14px 12px;min-width:0}.app-shell .stat-top{font-size:.875rem;line-height:1.5;align-items:flex-start;gap:6px}.app-shell .stat-top>svg{display:none}.app-shell .stat>strong{font-size:1.875rem}.app-shell .stat>span{font-size:.875rem;line-height:1.5}.app-shell .mobile-records{padding:10px;gap:10px}.mobile-record{padding:14px}.mobile-record-facts>div{grid-template-columns:minmax(0,1fr);gap:4px}.mobile-record footer{align-items:flex-start}.mobile-record footer>.button{width:100%;justify-content:center}.app-shell .modal-actions>.button{flex-basis:100%}}@media(max-width:760px){.app-shell .clients-table,.app-shell .recovered-table-wide{display:block;min-width:0;width:100%;border:0}.app-shell .clients-table thead,.app-shell .recovered-table-wide thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0}.app-shell .clients-table tbody,.app-shell .recovered-table-wide tbody{display:grid;gap:12px;padding:12px;min-width:0}.app-shell .clients-table tbody tr,.app-shell .recovered-table-wide tbody tr{display:block;min-width:0;border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff}.app-shell .clients-table td,.app-shell .clients-table td:first-child,.app-shell .recovered-table-wide td{display:block;min-width:0;max-width:100%;width:auto;padding:8px 0;border:0;font-size:1rem;line-height:1.55;white-space:normal;overflow-wrap:anywhere}.app-shell .clients-table td:first-child,.app-shell .recovered-table-wide td:first-child{padding-top:0}.app-shell .clients-table td:before,.app-shell .recovered-table-wide td:before{display:block;font-size:.875rem;line-height:1.5;color:var(--muted);font-weight:650;margin-bottom:4px}.app-shell .clients-table td:nth-child(2):before,.app-shell .recovered-table-wide td:nth-child(2):before{content:"Recapiti"}.app-shell .recovered-table-wide td:nth-child(3):before{content:"Creato"}.app-shell .recovered-table-wide td:nth-child(4):before{content:"Fonte"}.app-shell .recovered-table-wide td:nth-child(5):before{content:"Tag"}.app-shell .recovered-table-wide td:nth-child(6):before{content:"Assegnato a"}.app-shell .clients-table td:nth-child(3):before{content:"Tag"}.app-shell .clients-table td:nth-child(4):before{content:"Fase e pipeline"}.app-shell .clients-table td:nth-child(5):before{content:"Assegnato a"}.app-shell .clients-table td:nth-child(6):before{content:"Aggiornato"}.app-shell .clients-table td:nth-child(7):before{content:"Nel gestionale"}.app-shell .clients-table .recovered-contacts,.app-shell .recovered-table-wide .recovered-contacts{white-space:normal}.app-shell .contact-case,.app-shell .recovered-contacts a{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere;padding:6px 0}.app-shell .contact-name-button{min-height:44px;font-size:1.125rem;text-align:left;white-space:normal}.app-shell .tag-chip,.app-shell .tag-toggle span{max-width:100%;white-space:normal;font-size:.875rem;overflow-wrap:anywhere}.app-shell .clients-search .search-input{min-width:0;width:100%;max-width:100%}.app-shell .contact-facts,.app-shell .contact-facts-wide{grid-template-columns:minmax(0,1fr)}.app-shell .contact-tag-add input{min-width:0;max-width:100%;flex-basis:100%}}.nav-group{margin:12px 0 8px;padding-top:8px;border-top:1px solid var(--line)}.nav-group-toggle{cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.nav-group-toggle::-webkit-details-marker{display:none}.nav-group-toggle:focus-visible{outline:3px solid #64b5b0;outline-offset:3px}.nav-group-caret{margin-left:auto;transition:transform .15s}.nav-group[open] .nav-group-caret{transform:rotate(90deg)}.nav-group-items{margin-left:22px;padding-left:8px;border-left:1px solid var(--line)}.nav-group-items .nav-item{font-size:1rem;min-height:44px}.nav-settings{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.workspace-refresh{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-10px 0 20px}.workspace-refresh>span{font-size:.875rem;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}@media(max-width:760px){.workspace-refresh{gap:8px 12px;margin:0 0 18px}.workspace-refresh .button{min-height:44px;white-space:normal}.sidebar .nav-group{flex-shrink:0}}.main-content.cases-workspace{max-width:none}.cases-controls{padding:0 24px 22px}.cases-view-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:20px}.cases-view-row .section-tabs{gap:24px}.cases-view-row .section-tabs>button{padding:18px 0}.cases-results{font-size:.875rem;line-height:1.5;color:var(--muted);padding:12px 0;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cases-results strong{font-size:1rem;color:var(--ink)}.cases-primary-filters{display:grid;grid-template-columns:minmax(240px,1.8fr) minmax(160px,1fr) minmax(190px,1.15fr) auto;align-items:end;gap:16px}.cases-advanced-filters>label,.cases-primary-filters>label,.cases-search,.cases-sort>label{display:grid;gap:7px;min-width:0;font-size:.875rem;line-height:1.5;font-weight:650;color:#475b64}.cases-advanced-filters input,.cases-advanced-filters select,.cases-primary-filters select{width:100%;min-width:0;max-width:100%;min-height:44px;border:1px solid #cbd8d7;border-radius:7px;background:#fff;padding:9px 11px;font-size:1rem;line-height:1.5;color:var(--ink);font-weight:500}.cases-search .search-input{display:flex;min-width:0;width:100%;min-height:44px;border:1px solid #cbd8d7;border-radius:7px;padding:0 12px;background:#fff}.cases-search .search-input:focus-within{outline:3px solid #64b5b0;outline-offset:2px}.cases-search .search-input input{width:100%;min-width:0;flex:1 1;min-height:44px;outline:none}.cases-search .search-input>svg{flex-shrink:0}.cases-search .icon-button{margin-right:-8px;flex-shrink:0}.cases-filter-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.cases-filter-actions>.button{min-height:44px}.cases-filter-actions>.button.selected{background:var(--teal-soft);border-color:#a9cfc4;color:var(--teal-dark)}.cases-advanced-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.cases-advanced-filters[hidden]{display:none}.cases-sort{display:flex;align-items:end;gap:8px;min-width:0}.cases-sort>label{flex:1 1}.cases-sort>.button{min-width:44px;padding:9px}.cases-table{min-width:1400px;table-layout:fixed;width:100%}.cases-table th{white-space:normal}.cases-table .case-col-person{width:17%}.cases-table .case-col-owner,.cases-table .case-col-referent,.cases-table .case-col-stage{width:9%}.cases-table .case-col-doctor{width:8%}.cases-table .case-col-action{width:18%}.cases-table .case-col-waiting{width:11%}.cases-table .case-col-priority{width:6%}.cases-table .case-col-updated{width:8%}.cases-table .case-col-open{width:5%}.cases-table td,.cases-table th{padding-left:12px;padding-right:12px;overflow-wrap:anywhere;vertical-align:top}.cases-table td:first-child,.cases-table th:first-child{padding-left:20px}.cases-table td:last-child,.cases-table th:last-child{padding-right:12px}.cases-table .record-link{min-width:0;max-width:none}.cases-table .person{white-space:normal;align-items:flex-start}.cases-table .cell-waiting{max-width:none}.cases-table .sort-button{white-space:normal;text-align:left}@media(min-width:901px){.app-shell .main-content.cases-workspace{padding-left:24px;padding-right:24px}}@media(min-width:761px){.cases-panel .cases-table .case-next-action .table-action{font-size:.875rem;line-height:1.5;max-width:none}}@media(min-width:1600px){.cases-advanced-filters{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:1220px){.cases-primary-filters{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.15fr)}.cases-filter-actions{grid-column:1/-1;justify-content:flex-end}}@media(max-width:760px){.cases-controls{padding:0 16px 18px}.cases-view-row{gap:0 14px;margin-bottom:16px}.cases-view-row .section-tabs{gap:20px}.cases-view-row .section-tabs>button{padding:16px 0}.cases-results{padding:0 0 14px}.cases-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cases-search{grid-column:1/-1}.cases-filter-actions{justify-content:space-between}.cases-filter-actions>.button{font-size:1rem}.cases-advanced-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;padding-top:16px}.cases-panel .mobile-record-next p{font-size:1rem}}@media(max-width:420px){.cases-advanced-filters{grid-template-columns:minmax(0,1fr)}.cases-filter-actions{gap:8px}.cases-filter-actions>.button:first-child{flex:1 1}.cases-results>span{display:block}}.form-grid label input[type=checkbox],.modal-content input[type=checkbox]{display:inline-block;width:1.25rem;height:1.25rem;min-height:0;margin:0 .5rem 0 0;vertical-align:middle;accent-color:var(--teal)}.ov{display:flex;flex-direction:column;gap:18px}.ov-welcome{position:relative;overflow:hidden;padding:24px 28px;border-radius:16px;color:#fff;background:radial-gradient(120% 160% at 100% 0,#1f9a92 0,var(--teal) 42%,var(--teal-dark) 100%);box-shadow:0 14px 34px -22px rgba(16,101,96,.75)}.ov-welcome:after{content:"";position:absolute;inset:auto -60px -140px auto;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.07);pointer-events:none}.ov-welcome p{position:relative;margin:0}.ov-welcome-date{font-size:.8rem;font-weight:600;letter-spacing:.04em;color:rgba(255,255,255,.85);margin-bottom:6px!important}.ov-welcome-hello{font-size:1.75rem;font-weight:700;letter-spacing:-.02em;line-height:1.2}.ov-welcome-line{margin-top:6px!important;font-size:1.02rem;line-height:1.5;max-width:62ch;color:rgba(255,255,255,.92)}@media(max-width:760px){.ov-welcome{padding:20px}.ov-welcome-hello{font-size:1.4rem}}.ov-agenda-later{margin:0;padding:4px 25px 16px;border-top:1px solid #eef1f2}.ov-agenda-later a{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:.875rem;font-weight:600;color:var(--teal-dark)}.ov-presidio{scroll-margin-top:16px}.ov-presidio .workflow-overview{padding:0;margin:0}.ov-presidio .workflow-heading{padding:16px 20px;margin:0;border-bottom:1px solid #eef1f2}.ov-presidio .workflow-filters{display:flex;flex-direction:column;gap:0;padding:6px 10px}.ov-presidio .workflow-filters button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 10px;border:0;border-radius:8px;background:transparent;transition:background .15s}.ov-presidio .workflow-filters button:hover{background:#f4f7f8}.ov-presidio .workflow-filters button>strong{order:2;font-size:1.0625rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:2ch;text-align:right}.ov-presidio .workflow-filters button>span{order:1;font-size:.9375rem;font-weight:600;text-align:left}.ov-presidio .workflow-filters button.is-zero>span,.ov-presidio .workflow-filters button.is-zero>strong{color:var(--muted);font-weight:500}.ov-presidio .workflow-filters button:not(.is-zero)>strong{color:var(--teal-dark)}.ov-presidio .workflow-filters button.selected{background:var(--teal-soft)}.ov-presidio .workflow-results{margin:0;padding:4px 20px 8px;border-top:1px solid #eef1f2}.ov-presidio .workflow-details{margin:0;padding:4px 20px 10px}.ov-rise{animation:ov-rise .32s cubic-bezier(.2,.7,.2,1) both}@keyframes ov-rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.ov-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.ov-kpi{display:flex;flex-direction:column;gap:8px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);min-height:118px;cursor:pointer;transition:border-color .2s,box-shadow .2s}.ov-kpi:hover{border-color:#c5d6d3;box-shadow:0 10px 26px -18px rgba(29,45,52,.45);transform:none}.ov-kpi:focus-visible{outline:3px solid var(--teal);outline-offset:2px}.ov-kpi-top{display:flex;align-items:center;gap:10px}.ov-kpi-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--teal-soft);color:var(--teal-dark);flex-shrink:0}.ov-kpi-amber .ov-kpi-icon{background:var(--amber-bg);color:var(--amber)}.ov-kpi-blue .ov-kpi-icon{background:#e9f0f8;color:#355b86}.ov-kpi-label{font-size:.82rem;font-weight:600;color:var(--muted);line-height:1.3}.ov-kpi-value{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.ov-kpi-value strong{font-size:2.3rem;font-weight:700;letter-spacing:-.03em;line-height:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ov-kpi-amber .ov-kpi-value strong{color:var(--amber)}.ov-delta{display:inline-flex;align-items:center;gap:4px;font-size:.78rem;font-weight:600;color:var(--muted)}.ov-delta.up{color:#246451}.ov-delta.down{color:#875319}.ov-spark{flex-shrink:1;min-width:40px;width:76px;height:28px;overflow:visible}.ov-spark-line{fill:none;stroke:var(--teal);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;animation:ov-draw 1s ease-out .3s forwards}.ov-spark-area{fill:var(--teal);opacity:0;animation:ov-fill .6s ease-out 1s forwards}.ov-spark-dot{fill:var(--teal);opacity:0;animation:ov-fill .3s ease-out 1.2s forwards}.ov-spark-amber .ov-spark-area,.ov-spark-amber .ov-spark-dot,.ov-spark-amber .ov-spark-line{stroke:var(--amber);fill:var(--amber)}.ov-spark-amber .ov-spark-line{fill:none}.ov-spark-blue .ov-spark-area,.ov-spark-blue .ov-spark-dot,.ov-spark-blue .ov-spark-line{stroke:#355b86;fill:#355b86}.ov-spark-blue .ov-spark-line{fill:none}@keyframes ov-draw{to{stroke-dashoffset:0}}@keyframes ov-fill{to{opacity:.12}}.ov-spark-dot{animation-name:ov-dot}@keyframes ov-dot{to{opacity:1}}.ov-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:18px;align-items:start}.ov-main,.ov-side{display:flex;flex-direction:column;gap:18px;min-width:0}.ov-main .ov-rise:first-child{animation-delay:.12s}.ov-main .ov-rise:nth-child(2){animation-delay:.18s}.ov-wide{animation-delay:.24s}.ov-side .ov-rise:first-child{animation-delay:.14s}.ov-side .ov-rise:nth-child(2){animation-delay:.18s}.ov-side .ov-rise:nth-child(3){animation-delay:.22s}.ov-side .ov-rise:nth-child(4){animation-delay:.26s}.ov-empty{margin:0;padding:22px 25px;color:var(--muted);font-size:.95rem}.ov-agenda-group{padding:6px 25px 10px}.ov-agenda-group+.ov-agenda-group{border-top:1px solid #eef1f2}.ov-agenda-group h3{display:flex;align-items:center;gap:10px;margin:12px 0 4px;font-size:.85rem;font-weight:600;color:var(--muted)}.ov-agenda{list-style:none;margin:0;padding:0}.ov-agenda li{display:flex;align-items:center;gap:14px;padding:12px 0;min-height:60px}.ov-agenda li+li{border-top:1px solid #f1f4f5}.ov-agenda-main{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.ov-agenda-main a{color:var(--ink);text-decoration:none;font-weight:600;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}.ov-agenda-main a:hover{color:var(--teal-dark);text-decoration:underline}.ov-agenda-main span{overflow:hidden;text-overflow:ellipsis}.ov-agenda-due,.ov-agenda-main span{font-size:.82rem;color:var(--muted);white-space:nowrap}.ov-agenda-due{display:inline-flex;align-items:center;gap:5px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ov-agenda li.late .ov-agenda-due{color:var(--amber)}.ov-agenda .small-button{min-height:36px;cursor:pointer;white-space:nowrap}.ov-agenda-more{justify-content:flex-end;min-height:0!important;padding:8px 0 2px!important}.ov-agenda-more a{display:inline-flex;align-items:center;gap:2px;font-size:.85rem;font-weight:600;color:var(--teal-dark);text-decoration:none}.ov-stages{padding:18px 25px 22px}.ov-stage-bar{display:flex;gap:3px;height:14px;border-radius:7px;overflow:hidden;background:#eef1f2;margin-bottom:18px}.ov-stage-seg{display:block;flex-basis:0;min-width:6px;transform-origin:left;animation:ov-grow .6s cubic-bezier(.2,.7,.2,1) both}@keyframes ov-grow{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.ov-stage-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 24px}.ov-stage-list li a{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 6px;min-height:40px;border-radius:8px;text-decoration:none;color:var(--ink);font-size:.9rem;cursor:pointer;transition:background .15s}.ov-stage-list li a:hover{background:#f4f7f8}.ov-stage-list li a:focus-visible{outline:3px solid var(--teal);outline-offset:-3px}.ov-stage-list li.empty a,.ov-stage-n{color:var(--muted)}.ov-stage-n{font-size:.72rem;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ov-stage-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ov-stage-list li strong{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:.95rem}.ov-stage-list li i{position:absolute;left:38px;right:6px;bottom:3px;height:2px;border-radius:1px;background:var(--teal);opacity:.55;transform-origin:left;transition:width .6s}.ov-stage-list li.empty i{display:none}.ov-load{list-style:none;margin:0;padding:10px 25px 6px}.ov-load li{display:flex;align-items:center;gap:12px;padding:10px 0;min-height:56px}.ov-load li+li{border-top:1px solid #f1f4f5}.ov-load-main{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:7px}.ov-load-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:.9rem}.ov-load-top span{font-size:.8rem;color:var(--muted);white-space:nowrap}.ov-load-top em{font-style:normal;color:var(--amber);font-weight:600}.ov-load-bar{display:flex;gap:3px;height:8px;border-radius:4px;overflow:hidden;background:#eef1f2}.ov-load-bar i{display:block;height:100%;transform-origin:left;animation:ov-grow .7s cubic-bezier(.2,.7,.2,1) .4s both}.ov-legend i.cases,.ov-load-bar i.cases{background:var(--teal)}.ov-legend i.tasks,.ov-load-bar i.tasks{background:#9bcdc6}.ov-legend{display:flex;align-items:center;gap:6px;margin:0;padding:0 25px 18px;font-size:.78rem;color:var(--muted)}.ov-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:8px}.ov-legend i:first-child{margin-left:0}.ov-intake{list-style:none;margin:0;padding:6px 10px 10px}.ov-intake button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 15px;min-height:56px;border:0;border-radius:10px;background:transparent;text-align:left;font:inherit;color:var(--ink);cursor:pointer;transition:background .15s}.ov-intake button:hover{background:#f4f7f8}.ov-intake button:focus-visible{outline:3px solid var(--teal);outline-offset:-3px}.ov-intake-main{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.ov-intake .badge{white-space:nowrap;flex-shrink:0}.ov-intake strong{font-size:.93rem;line-height:1.3}.ov-intake small{font-size:.8rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ov-intake svg:last-child{color:var(--muted);flex-shrink:0}@media(min-width:901px) and (max-width:1150px){.ov-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1024px){.ov-grid,.ov-stage-list{grid-template-columns:1fr}}@media(max-width:760px){.ov-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ov-agenda li{flex-wrap:wrap}.ov-agenda-main{flex-basis:100%;order:-1}.ov-agenda .small-button{margin-left:auto}.ov-agenda-later{padding:4px 16px 12px}.ov-presidio .workflow-heading{padding:14px 16px}.ov-presidio .workflow-filters{padding:4px 6px}.ov-kpi:last-child{grid-column:1/-1}.ov-kpi{padding:14px;min-height:110px}.ov-kpi-label{font-size:.875rem}.ov-kpi-value strong{font-size:2rem}.ov-delta{font-size:.8125rem}.ov-kpi-icon{width:28px;height:28px}.ov-grid,.ov-main,.ov-side{gap:16px}.ov-agenda-group{padding:4px 16px 8px}.ov-agenda-due,.ov-agenda-main span{font-size:.875rem}}@media(prefers-reduced-motion:reduce){.ov-load-bar i,.ov-rise,.ov-spark-area,.ov-spark-dot,.ov-spark-line,.ov-stage-seg{animation:none}.ov-spark-line{stroke-dashoffset:0}.ov-spark-area{opacity:.12}.ov-spark-dot{opacity:1}.ov-kpi:hover{transform:none}}.app-shell .main-content{padding-top:24px}.app-shell .page-heading{margin-bottom:16px;gap:16px}.app-shell .panel-heading{padding:16px 20px;gap:12px}.app-shell .workspace-refresh{margin:0 0 14px}.page-actions{display:flex;flex-wrap:wrap;gap:8px}.page-actions .button{min-height:44px}.dossier-topline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:14px}.dossier-topline .back-link{display:inline-flex;align-items:center;min-height:44px;margin:0}.app-shell .dossier-topline .workspace-refresh{margin:0}.app-shell .dossier-strip{margin-bottom:12px;padding:12px 16px;gap:10px 26px}.app-shell .next-step.dossier-next{margin-bottom:4px;padding:12px 16px}.app-shell .dossier-tabs{gap:0 22px;margin-bottom:18px}.dossier-story{display:grid;gap:18px;min-width:0}.dossier-story .panel{margin-bottom:0}.dossier-overview .summary-panel>p{padding:16px 20px 20px}.dossier-summary-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.7}.dossier-note-body{padding:16px 20px 20px}.dossier-note-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0 0 10px;color:var(--muted);font-size:.875rem}.dossier-note-meta .badge{margin-left:4px}.dossier-note-outcome,.dossier-note-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.65}.dossier-note-outcome{margin-top:12px;-webkit-line-clamp:3}.dossier-overview .facts-panel{padding:20px}.dossier-overview .facts-panel h2{margin-bottom:18px}.dossier-overview .facts-grid{grid-template-columns:minmax(0,1fr);gap:14px}.case-edit-details,.registry-form-details{grid-column:1/-1;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff}.case-edit-details>summary,.registry-form-details>summary{padding:12px 14px;min-height:44px;font-weight:650;cursor:pointer;color:var(--ink)}.case-edit-details>.form-grid,.registry-form-fields{padding:4px 14px 16px}.registry-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.registry-form-fields>label{min-width:0}.registry-form-fields input,.registry-form-fields select{width:100%}.cases-table-scroll{position:relative;isolation:isolate}.cases-table-scroll:focus-visible{outline:3px solid var(--teal);outline-offset:-3px}.cases-table td:first-child,.cases-table th:first-child{position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid var(--line)}.cases-table th:first-child{background:#f8fafb;z-index:2}.cases-table tr:hover>td:first-child{background:#f8fbfa}.upload-queue{border:1px solid var(--line);border-radius:10px;margin:0 0 18px;background:#fff}.upload-queue-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:16px}.upload-queue-heading h3{margin:0 0 4px;font-size:1rem}.upload-queue-heading p,.upload-queue-help{margin:0;color:var(--muted);font-size:.875rem}.upload-queue-actions{display:flex;flex-wrap:wrap;gap:8px}.upload-queue-help{padding:0 16px 14px}.upload-queue>ul{list-style:none;margin:0;padding:0 16px;max-height:340px;overflow-y:auto}.upload-queue-item{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-top:1px solid var(--line)}.upload-queue-item>div{min-width:0;flex:1 1}.upload-queue-item strong{display:block;font-size:.9375rem;overflow-wrap:anywhere}.upload-queue-item p{margin:3px 0 0;color:var(--muted);font-size:.875rem;overflow-wrap:anywhere}.upload-state-dot{width:9px;height:9px;border-radius:50%;margin-top:7px;flex-shrink:0;background:#71838b}.upload-queue-item.complete .upload-state-dot{background:var(--teal)}.upload-queue-item.uploading .upload-state-dot{background:#355b86}.upload-queue-item.error .upload-state-dot{background:var(--amber)}.upload-state-label{flex-shrink:0;font-size:.8125rem;color:var(--muted);padding-top:2px}.upload-queue-item.error .upload-state-label{color:var(--amber)}@media(max-width:900px){.app-shell .main-content{padding-top:18px}.app-shell .dossier-tabs{flex-wrap:nowrap;overflow-x:auto}.dossier-topline{margin-bottom:10px}}@media(max-width:650px){.app-shell .page-heading{gap:12px}.page-actions{width:100%}.page-actions .button{flex:1 1;justify-content:center}.registry-form-fields{grid-template-columns:minmax(0,1fr)}.dossier-story{gap:16px}.dossier-note-body,.dossier-overview .facts-panel,.dossier-overview .summary-panel>p{padding:16px}.upload-state-label{max-width:76px;text-align:right}.upload-queue-item strong{font-size:1rem}}.app-shell .table-scroll{position:relative}.settings-case-sharing{min-width:220px;border:0;padding:12px 0 0;margin:0}.settings-case-sharing legend{padding:0;margin-bottom:8px;font-size:.875rem;font-weight:650}.settings-case-sharing>label{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:.875rem}.settings-case-sharing input[type=checkbox]{flex-shrink:0;width:18px;height:18px;min-height:0;margin:0;accent-color:var(--teal)}.list-toolbar .search-input{border:1px solid #cbd8d7;border-radius:7px;padding:0 12px;background:#fff}.list-toolbar .search-input:focus-within{outline:3px solid #64b5b0;outline-offset:2px}.list-toolbar .search-input input{outline:none}.task-list .task-row:not(.workflow-task-row)>.small-button{flex-shrink:0}@media(max-width:900px){.list-toolbar{padding-bottom:12px}.list-toolbar .section-tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.list-toolbar .search-input{flex:1 1 100%;margin:0}.list-toolbar .search-input input{width:100%}}@media(max-width:650px){.task-list .task-row:not(.workflow-task-row){align-items:center}.task-list .task-row:not(.workflow-task-row)>.small-button{margin-left:auto}.task-list .task-row:not(.workflow-task-row)>.small-button+.icon-button{margin:0}}.lq{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfdfc}.lq-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px}.lq-head h4{margin:0;font-size:1rem}.lq-head span{font-size:.85rem;color:var(--muted)}.lq-note{font-size:.875rem;color:var(--muted);margin:8px 0}.lq-signals{list-style:none;margin:8px 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.lq-signals li{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--amber-bg);color:var(--amber);font-size:.85rem;font-weight:700}.lq-levels{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}.lq-levels>li{border:1px solid var(--line);border-radius:10px;background:#fff}.lq-level-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 12px;border:0;background:transparent;text-align:left;cursor:pointer}.lq-level-toggle strong{flex:1 1;font-size:.95rem}.lq-level-toggle:disabled{opacity:1;cursor:default}.lq-count{font-size:.85rem;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.lq-order{margin:0 12px 8px;font-size:.875rem;color:var(--amber)}.lq-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 12px}.lq-blocks{padding:4px 12px 12px;border-top:1px solid #eef1f2}.lq-blocks h5{margin:12px 0 6px;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--teal-dark)}.lq-blocks dl{margin:0;display:grid;gap:8px}.lq-blocks dt{font-weight:650;font-size:.9rem}.lq-blocks dd{margin:2px 0 0;white-space:pre-wrap;font-size:.9rem;line-height:1.5;color:#33464e}.lq-loading{font-size:.875rem;color:var(--muted)}.qs-form{display:grid;gap:16px;padding:4px 25px 20px}.qs-form label{display:grid;gap:6px;font-weight:600}.qs-form input:not([type=checkbox]),.qs-form select{min-height:44px;padding:8px 12px;border:1px solid #cdd8da;border-radius:8px;background:#fff;font-weight:500}.qs-level{display:grid;gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:0}.qs-level legend{font-weight:700;padding:0 6px}.qs-switch{display:flex!important;flex-direction:row!important;justify-content:flex-start;align-items:center;gap:10px;min-height:44px}.qs-switch input{width:20px;height:20px;accent-color:var(--teal)}.qs-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}