:root{--ink:#153e36;--green:#185c4a;--green-bright:#d0eee0;--green-soft:#edf6f0;--text:#263e38;--muted:#73817b;--line:#e2e9e3;--canvas:#f4f6f1;--white:#fff;--amber:#996020;--red:#b23d35;--radius:16px;--shadow:0 5px 22px #14392c05;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a{outline-offset:4px}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sidebar{width:252px;position:fixed;inset:0 auto 0 0;background:var(--ink);color:#e9f5ed;display:flex;flex-direction:column;padding:31px 22px 21px;z-index:50}.brand{display:flex;flex-direction:column;width:fit-content;margin-left:11px}.brand-name{font-weight:750;font-size:39px;letter-spacing:4px;line-height:1.03}.brand-dot{color:#b8dba8;letter-spacing:0}.brand-caption{font-size:9px;letter-spacing:6.5px;padding-top:7px;color:#bad0c4}.workspace-label{display:flex;gap:11px;align-items:center;margin:38px 6px 23px}.workspace-label strong{display:block;font-size:16px;font-weight:600}.workspace-label span:not(.workspace-square){display:block;font-size:11px;color:#a9c4b6;margin-top:5px}.workspace-square{width:37px;height:41px;background:#ffffff0c;border:1px solid #ffffff18;border-radius:10px;display:grid;place-items:center;color:#c8e3d3}.sidebar-divider{height:1px;background:#ffffff15;margin:0 5px 24px}.sidebar-section-title{display:flex;justify-content:space-between;align-items:center;padding:0 7px;margin-bottom:14px}.sidebar-section-title h2{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;margin:0;font-weight:500;color:#b0c6bb}.count-pill{font-size:10px;background:#ffffff12;padding:3px 7px;border-radius:6px;color:#cce1d4}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:0 16px;border-radius:9px;font-size:13px;line-height:1.25;font-weight:600;transition:background .15s,transform .15s,box-shadow .15s}.button:active{transform:translateY(1px)}.sidebar-new{background:#d5e9cc;color:#193d32;width:100%;min-height:42px;box-shadow:0 3px 8px #00000008}.sidebar-new:hover{background:#e2f1db}.sidebar-new svg{width:17px;height:17px}.sidebar-search{display:flex;gap:9px;align-items:center;background:#0b302a;border:1px solid #ffffff0c;border-radius:9px;margin:16px 0 14px;padding:10px 11px;color:#93aea0}.sidebar-search svg{width:15px;height:15px}.sidebar-search input{background:none;color:#e7f2ec;border:0;outline:0;min-width:0;width:100%;font-size:11px}.sidebar-search input::placeholder{color:#92b09f}.people-list{min-height:90px;overflow-y:auto;flex:1;margin:0 -5px;padding:0 5px;scrollbar-width:thin;scrollbar-color:#46695a transparent}.person-button{display:flex;gap:10px;align-items:center;text-align:left;width:100%;border:1px solid transparent;padding:13px 10px;border-radius:10px;margin:3px 0 6px;transition:background .15s}.person-button:hover{background:#ffffff07}.person-button.selected{background:#ffffff0d;border-color:#ffffff18}.person-initials{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#ffffff0a;color:#abc9b6;font-size:10px;font-weight:600;flex-shrink:0}.person-button.selected .person-initials{background:#d5e9cc;color:var(--ink)}.person-info{min-width:0;flex:1}.person-info strong{display:block;font-size:11px;line-height:1.5;font-weight:550;color:#e8f2ea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-info small{display:block;font-size:9px;color:#a7c1b2;margin-top:3px}.person-dot{height:6px;width:6px;border-radius:50%;background:#d1b980;flex:none}.person-dot.complete{background:#a1d5ad}.empty-search{font-size:11px;line-height:1.6;color:#b5cbbd;padding:10px}.sidebar-footer{padding-top:15px;margin-top:17px;border-top:1px solid #ffffff14}.sidebar-link{display:flex;gap:10px;align-items:center;color:#c4dbcc;width:100%;font-size:11px;text-align:left;padding:11px 8px;border-radius:7px}.sidebar-link:hover{background:#ffffff08;color:white}.sidebar-link svg{width:16px;height:16px}.local-note{display:flex;gap:9px;align-items:flex-start;padding:20px 7px 0;color:#8fae9d}.local-note svg{width:13px;height:13px;margin-top:2px}.local-note p{font-size:9px;line-height:1.7;margin:0}.main{margin-left:252px;min-height:100vh}.topbar{height:72px;border-bottom:1px solid var(--line);background:#f9faf6;display:flex;justify-content:space-between;align-items:center;padding:0 42px;gap:16px}.topbar-left{display:flex;align-items:center;gap:12px}.breadcrumb{font-size:11px;color:#8a968e;white-space:nowrap}.breadcrumb span{color:#b6c1b9;margin:0 13px}.breadcrumb strong{font-weight:500;color:#455a50}.save-status{display:inline-flex;gap:7px;align-items:center;font-size:10px;color:#6e8174;white-space:nowrap}.status-dot{width:6px;height:6px;background:#7fa68c;border-radius:50%;display:inline-block;flex-shrink:0}.save-status.saving{color:#8c773c}.save-status.saving .status-dot{background:#bca768}.save-status.failed{color:var(--red)}.save-status.failed .status-dot{background:var(--red)}.main-content{max-width:1470px;margin:auto;padding:34px 42px 0}.hero{display:flex;justify-content:space-between;align-items:center;padding:0 4px 33px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:650;color:#839185;display:flex;align-items:center;gap:8px}.hero .eyebrow span{height:6px;width:6px;border-radius:2px;background:#aec1a0}.hero h1{font-size:37px;line-height:1.16;letter-spacing:-1.35px;font-weight:550;margin:16px 0 13px;color:#213f33}.hero h1 span{color:#679071}.hero p{font-size:12px;line-height:1.8;color:#7a877d;margin:0}.hero-document-stack{position:relative;width:180px;height:161px;margin-right:26px;flex-shrink:0}.stack-card{position:absolute;border:1px solid #d8e3d5;border-radius:9px;background:#f9fbf6;width:92px;height:122px;left:41px;top:23px}.back-card{transform:rotate(14deg) translate(11px,-3px);background:#e0eadb}.middle-card{transform:rotate(-10deg) translate(-11px,0);background:#ebf2e6}.front-card{transform:rotate(4deg);box-shadow:0 8px 15px #1b4c2e08;display:flex;flex-direction:column;padding:14px;gap:7px}.front-card>svg{height:24px;width:24px;color:#729970;margin-bottom:3px}.front-card>span{height:3px;border-radius:3px;background:#d4dfd0;width:58px}.front-card>span.short-line{width:40px}.front-card>b{font-size:7px;letter-spacing:1px;color:#608569;margin-top:7px;display:flex;align-items:center;gap:5px}.front-card>b svg{width:12px;height:12px}.stack-number{position:absolute;right:6px;bottom:15px;background:#d7e6ca;color:#4b754b;border:4px solid var(--canvas);height:39px;width:39px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:600}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:24px;align-items:start}.form-card,.documents-card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.patient-header{display:flex;align-items:center;gap:12px;padding:23px 26px 19px}.patient-avatar{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dbe8de;border-radius:12px;background:#f2f7f1;color:#708d76;flex-shrink:0}.patient-avatar svg{width:20px;height:20px}.patient-title{min-width:0;flex:1}.patient-title>span{font-size:8px;letter-spacing:1.3px;color:#a0aaa2;font-weight:600}.patient-title h2{font-size:16px;font-weight:600;line-height:1.4;margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon-button{padding:7px;display:inline-grid;place-items:center;border-radius:7px;color:#8d9b90;min-width:31px;min-height:31px}.icon-button svg{width:17px;height:17px}.icon-button:hover{background:#edf3ed;color:var(--green)}.delete-button:hover{background:#fbefec;color:var(--red)}.delete-button{align-self:center}.form-progress{padding:0 26px 23px}.progress-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b978d;margin-bottom:9px}.progress-label strong{font-weight:600;color:#5b8061}.progress-track{height:4px;border-radius:8px;background:#eef3eb;overflow:hidden}.progress-track>div{height:100%;background:#91b88a;border-radius:8px;transition:width .25s;width:0}.step-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 26px;border-top:1px solid #edf0ea;border-bottom:1px solid var(--line);background:#fcfdfb}.step-tab{display:flex;align-items:center;gap:8px;padding:16px 0;border-bottom:2px solid transparent;margin-bottom:-1px;position:relative;color:#8a978c;font-size:11px;text-align:left}.step-tab b{font-weight:500}.step-tab>span{width:21px;height:21px;display:grid;place-items:center;border:1px solid #dee6dc;border-radius:50%;font-size:9px;color:#a0aca1}.step-tab small{margin-left:auto;margin-right:12px;font-size:8px;color:#9da99e}.step-tab.active{color:var(--green);border-bottom-color:#377452}.step-tab.active>span{background:var(--green);color:#fff;border-color:var(--green)}.step-tab.complete:not(.active)>span{background:#e5f0e1;border-color:#d4e4ce;color:#4d7851}.step-tab.complete:not(.active)>span:before{content:'✓';font-size:10px}.step-tab.complete:not(.active)>span{font-size:0}.step-tab:hover{color:var(--green)}.form-section{padding:26px}.section-heading{margin-bottom:24px}.section-heading h3{font-size:15px;letter-spacing:-.2px;font-weight:600;margin:0 0 7px}.section-heading p{font-size:10px;line-height:1.6;color:#8b978e;margin:0}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:20px}.field{min-width:0;position:relative}.field.full{grid-column:1/-1}.field>label,.label-row>label:not(.small-checkbox){display:block;font-size:10px;font-weight:550;margin-bottom:8px;color:#4b6356}.field label>span{font-size:10px;color:#8ca08c;margin-left:2px}.field label>em{font-size:9px;color:#a2aca3;font-style:normal;font-weight:400;padding-left:4px}input:not([type="checkbox"]),select,textarea{width:100%;min-width:0;height:43px;border:1px solid #dfe6dd;background:white;border-radius:7px;padding:0 12px;font-size:12px;color:#304e3e;outline:none;transition:border-color .15s,box-shadow .15s}textarea{height:auto;padding:11px 12px;resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#acb5ac;font-weight:400}input:focus,select:focus,textarea:focus{border-color:#87aa88;box-shadow:0 0 0 3px #7da87b14}input:disabled{background:#f4f6f1;color:#b8c0b7}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2398a597' stroke-width='1.5'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}select:has(option:first-child:checked){color:#a5b0a5}.field-error{display:block;line-height:1.45;font-size:9px;color:var(--red);margin-top:6px}.field-error:empty{display:none}.field input.invalid,.field select.invalid,.field textarea.invalid{border-color:#da9f93;background:#fffcfa}.field-success{display:flex;gap:4px;align-items:center;color:#6b9369;font-size:9px;margin-top:6px}.field-success svg{width:11px;height:11px}.label-row{display:flex;align-items:center;justify-content:space-between}.small-checkbox{display:inline-flex;align-items:center;gap:4px;font-size:8px;color:#899789;margin-bottom:8px}.small-checkbox input{accent-color:var(--green);width:11px;height:11px;margin:0}.form-footer{border-top:1px solid #edf1e9;padding:18px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fcfdfb;border-radius:0 0 var(--radius) var(--radius)}.form-footer>span{font-size:8px;color:#a1aca2;line-height:1.5;max-width:160px}.required-asterisk{color:#82917d}.form-footer>div{display:flex;align-items:center;gap:7px}.button-dark{background:#f0f5ec;color:#4e7850;border:1px solid #e1e9d9;min-height:37px;font-size:10px;padding:0 13px}.button-dark:hover{background:#e7efdf}.button-dark svg{width:14px;height:14px}.button-quiet{font-size:10px;min-height:37px;padding:0 9px;color:#8b9b8d}.button-quiet svg{width:14px;height:14px}.button-quiet:hover{background:#eef3e8}.representative-toggle{margin-top:27px;padding:18px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.representative-toggle strong{font-size:12px;font-weight:550}.representative-toggle p{font-size:10px;color:#8c998c;margin:6px 0 0;line-height:1.6}.switch{position:relative;width:35px;height:20px;flex:none}.switch input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer;z-index:2;margin:0}.switch span{position:absolute;inset:0;background:#dfe7dc;border-radius:30px;transition:.2s}.switch span:after{content:'';position:absolute;left:3px;top:3px;height:14px;width:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0001;transition:.2s}.switch input:checked+span{background:#437e54}.switch input:checked+span:after{transform:translateX(15px)}.switch input:focus-visible+span{outline:2px solid #94b88b;outline-offset:3px}.representative-fields{padding-top:9px}.signature-note{display:flex;align-items:flex-start;gap:10px;background:#f3f7ef;border-radius:8px;padding:13px 14px;margin-top:24px;color:#819678}.signature-note svg{width:17px;height:17px;margin-top:2px}.signature-note p{font-size:10px;line-height:1.7;margin:0}.documents-rail{display:flex;flex-direction:column;gap:18px}.documents-card{padding:23px 22px}.rail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.rail-heading .eyebrow{font-size:8px;letter-spacing:1.4px;color:#9ba79d}.rail-heading h2{font-size:15px;font-weight:550;margin:8px 0 0;letter-spacing:-.2px}.three-pill{font-size:12px;font-weight:600;width:32px;height:34px;display:grid;place-items:center;border-radius:8px;background:#edf4e8;color:#78946a}.rail-intro{font-size:10px;line-height:1.7;color:#94a08f;margin:14px 0 18px}.document-list{border-top:1px solid #edf1e9}.document-item{display:flex;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid #edf1e9}.document-icon{background:#f6f8f1;color:#8fa481;border:1px solid #e7eddc;border-radius:9px;width:34px;height:40px;display:grid;place-items:center;flex-shrink:0}.document-icon svg{height:20px;width:20px}.document-item>div:nth-child(2){flex:1;min-width:0}.document-item h3{font-size:10px;font-weight:550;margin:0 0 5px;white-space:nowrap}.document-item span{font-size:8px;color:#9ea998}.document-download{padding:5px;min-width:24px;color:#a1b195}.document-download svg{width:14px;height:14px}.document-item.generated .document-icon{color:#4a7c52;background:#edf5e8;border-color:#d9e8cf}.document-item.generated .document-icon:after{content:'✓';position:absolute;transform:translate(13px,16px);background:white;border-radius:50%;font-size:8px;padding:1px 3px}.document-state{display:flex;align-items:center;gap:7px;font-size:9px;color:#99a58e;margin:18px 0 15px;line-height:1.5}.document-state .status-dot{background:#b5c2a4;width:5px;height:5px}.document-state.ready{color:#4f8055}.document-state.ready .status-dot{background:#6eaa66}.generate-button{width:100%;min-height:44px;border-radius:8px;font-size:11px;gap:9px}.button-primary{background:#225f45;color:white;box-shadow:0 3px 8px #1a4a2d0e}.button-primary:hover{background:#174f38}.button-primary svg{height:16px;width:16px}.download-hint{font-size:8px;text-align:center;color:#9ca895;margin:9px 0 14px}.draft-button{display:block;width:100%;font-size:9px;color:#788b70;text-decoration:underline;text-decoration-color:#c0cdb6;text-underline-offset:3px;padding:5px}.draft-button:hover{color:var(--green)}.gov-card{background:#eaf0e4;border:1px solid #dfe7d7;border-radius:var(--radius);padding:22px}.gov-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.gov-word{font-weight:750;font-size:20px;letter-spacing:-1px;color:#1e4434}.gov-word span{color:#85a37a}.external-badge{font-size:6px;letter-spacing:.7px;color:#7a9170;border:1px solid #d0debf;padding:4px 5px;border-radius:4px}.gov-card h2{font-size:15px;font-weight:550;letter-spacing:-.3px;color:#4a6546;margin:20px 0 16px}.gov-card ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:13px}.gov-card li{display:flex;align-items:flex-start;gap:9px}.gov-card li>span{border:1px solid #cddcbe;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;font-size:7px;color:#8a9f7c;flex-shrink:0;margin-top:1px}.gov-card li p{font-size:9px;color:#7c9073;line-height:1.7;margin:0}.gov-card li strong{font-weight:550;color:#607c51}.gov-button{margin-top:22px;background:#f6f9f0;border:1px solid #d5e1c8;color:#5a774b;border-radius:7px;width:100%;min-height:37px;font-size:10px;justify-content:space-between;padding:0 12px}.gov-button svg{height:13px;width:13px}.gov-button:hover{background:#fff}.validate-link{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:13px;font-size:8px;color:#809574}.validate-link svg{height:10px;width:10px}.validate-link:hover{text-decoration:underline}.rail-footnote{font-size:8px;text-align:center;color:#a2ad98;line-height:1.7;margin:0}.page-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:8px;color:#a5b09d;line-height:1.6;padding:31px 1px 23px}.page-footer b{color:#b8c3ae;margin:0 7px}.validation-panel{background:#fff7ec;border:1px solid #eadac0;border-radius:9px;margin:20px 26px 0;padding:13px 15px}.validation-panel h3{font-size:11px;font-weight:600;margin:0 0 7px;color:#947241}.validation-panel>div{max-height:150px;overflow:auto;display:flex;flex-wrap:wrap;gap:5px}.validation-panel button{font-size:9px;line-height:1.5;color:#98743f;text-align:left;padding:3px 7px;border:1px solid #eadbc2;border-radius:5px;background:#fffaf2}.validation-panel button:hover{background:#f6e8d2}.toast{position:fixed;bottom:25px;left:calc(50% + 126px);transform:translateX(-50%);z-index:100;max-width:min(580px,calc(100vw - 40px));padding:14px 20px;background:#193d32;color:#f6faf4;border-radius:11px;box-shadow:0 5px 30px #123a3033;font-size:12px;line-height:1.5;animation:toast-in .2s ease-out}.toast.error{background:#884940}@keyframes toast-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}.storage-warning{display:flex;gap:10px;align-items:center;padding:12px 15px;background:#fff4e2;border:1px solid #e9d6b9;color:#99713d;font-size:11px;border-radius:10px;margin-bottom:20px}.storage-warning svg{width:17px;height:17px}.storage-warning span{flex:1}.storage-warning button{text-decoration:underline;text-underline-offset:3px;font-size:10px;white-space:nowrap}.app-dialog{border:1px solid #e0e8dc;border-radius:18px;max-width:520px;width:calc(100% - 40px);padding:27px;box-shadow:0 20px 100px #0c302c30;color:var(--text);margin:auto}.app-dialog::backdrop{background:#102d286e;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dialog-icon{background:#eef5e8;color:#729562;border-radius:11px;width:44px;height:44px;display:grid;place-items:center}.dialog-icon svg{height:23px;width:23px}.app-dialog h2{font-size:22px;letter-spacing:-.6px;font-weight:550;margin:0 0 10px}.app-dialog p{font-size:12px;color:#7b8a7d;line-height:1.8;margin:10px 0}.dialog-actions{display:flex;flex-direction:column;gap:8px;margin-top:23px}.dialog-actions button{display:flex;align-items:flex-start;justify-content:center;gap:2px;flex-direction:column;text-align:left;min-height:48px;padding:12px 14px;border:1px solid #dfe8d8;border-radius:9px;background:#f5f8f1;font-size:12px}.dialog-actions button small{display:block;font-size:10px;line-height:1.6;font-weight:400;margin-top:3px;color:#87967f}.dialog-actions button:hover{background:#edf4e5}.dialog-actions button.primary{background:#245e46;color:white;border-color:#245e46}.dialog-actions button.primary small{color:#c6dcc9}.dialog-actions button.danger{background:#a9473d;color:white;border-color:#a9473d}.dialog-actions button.cancel{border-color:transparent;background:none;align-items:center;font-size:11px;color:#8a9786;min-height:35px}.import-summary{display:flex;gap:10px;margin-top:17px}.import-summary>div{flex:1;background:#f5f8f1;border:1px solid #e6eddc;border-radius:9px;padding:14px}.import-summary strong{display:block;font-size:22px;font-weight:550;color:#527645}.import-summary span{font-size:10px;color:#92a085}.import-names{max-height:140px;overflow:auto;background:#fafbf8;border-radius:8px;padding:10px 13px;margin-top:12px;font-size:10px;line-height:1.9;color:#7f8f75}.mobile-menu{display:none}.sidebar-scrim{position:fixed;inset:0;background:#17392b66;z-index:45;backdrop-filter:blur(2px)}
@media(min-width:1500px){.main-content{padding-top:40px}.hero{padding-bottom:40px}.hero h1{font-size:42px}.hero p{font-size:13px}.workspace-grid{grid-template-columns:minmax(0,1fr) 340px;gap:28px}.field-grid{column-gap:23px;row-gap:24px}.form-section{padding:29px}.field>label,.label-row>label:not(.small-checkbox){font-size:11px}input:not([type="checkbox"]),select,textarea{font-size:13px;height:46px}.documents-card{padding:26px}.gov-card{padding:25px}.document-item h3{font-size:11px}.document-item span{font-size:9px}.rail-intro,.gov-card li p{font-size:11px}.gov-card li>span{margin-top:3px}.generate-button{font-size:12px}.rail-heading h2,.gov-card h2{font-size:17px}.hero-document-stack{margin-right:60px}}
@media(max-width:1190px){.sidebar{width:225px;padding-left:18px;padding-right:18px}.main{margin-left:225px}.topbar{padding:0 28px}.main-content{padding-left:28px;padding-right:28px}.workspace-grid{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.documents-card,.gov-card{padding:19px 17px}.patient-header{padding-left:21px;padding-right:21px}.form-progress{padding-left:21px;padding-right:21px}.step-tabs{padding:0 20px}.step-tab{gap:6px}.step-tab b{font-size:10px}.step-tab small{display:none}.form-section{padding:23px 21px}.form-footer{padding-left:21px;padding-right:21px}.form-footer>span{max-width:110px}.field-grid{gap:18px 13px}.hero-document-stack{margin-right:5px}.toast{left:calc(50% + 112.5px)}.document-item{gap:8px}.document-item h3{font-size:9px}.document-item span{font-size:7.5px}.document-icon{width:31px;height:37px}.page-footer>span:last-child{display:none}}
@media(max-width:1040px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.documents-rail{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:18px}.rail-footnote{grid-column:1/-1}.document-item h3{font-size:10px}.document-item span{font-size:8px}.form-section{padding:26px}.form-footer>span{max-width:none}.step-tabs{padding:0 26px}.step-tab small{display:block}.form-progress{padding:0 26px 23px}.patient-header{padding-left:26px;padding-right:26px}.hero{padding-bottom:27px}.hero h1{font-size:34px}.hero-document-stack{transform:scale(.9);margin-right:-10px}.page-footer{padding-top:24px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s ease-out;width:270px}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.topbar{height:62px;padding:0 20px}.mobile-menu{display:grid;margin-left:-7px}.breadcrumb{font-size:10px}.breadcrumb>span{margin:0 7px}.save-status{font-size:8px}.main-content{padding:27px 20px 0}.hero h1{font-size:33px}.hero p{font-size:11px}.hero-document-stack{width:125px;margin-right:0;transform:scale(.8);transform-origin:right center;left:-10px}.hero .eyebrow{font-size:8px;letter-spacing:1.3px}.toast{left:50%}.people-list{min-height:150px}.sidebar-footer{padding-top:12px}.form-section{padding:24px}.step-tabs{padding:0 24px}.patient-header{padding:21px 24px 17px}.form-progress{padding:0 24px 20px}.form-footer{padding:17px 24px}.documents-rail{gap:16px}.documents-card,.gov-card{padding:23px}.document-item h3{font-size:11px}.document-item span{font-size:9px}.rail-intro,.gov-card li p{font-size:11px}.document-item{padding:17px 0}.document-icon{width:34px;height:40px}.gov-card h2{font-size:17px}.generate-button{font-size:12px}.hero-document-stack .stack-number{right:-5px}.form-footer>span{font-size:8px}.sidebar .brand-name{font-size:42px}.sidebar .person-info strong{font-size:12px}.sidebar .person-info small{font-size:10px}.sidebar-search input{font-size:12px}.sidebar-link{font-size:12px}.sidebar-new{font-size:13px}.page-footer{font-size:8px}}
@media(max-width:540px){.hero-document-stack{display:none}.hero{padding-bottom:25px}.hero h1{font-size:35px}.hero p{font-size:12px}.desktop-break{display:none}.hero .eyebrow{font-size:8px}.main-content{padding:25px 15px 0}.topbar{padding:0 15px}.breadcrumb{font-size:9px}.breadcrumb>span{margin:0 5px}.save-status{font-size:0;gap:0}.save-status .status-dot{height:7px;width:7px}.form-section{padding:23px 19px}.field-grid{grid-template-columns:1fr;gap:20px}.field.full{grid-column:auto}.field>label,.label-row>label:not(.small-checkbox){font-size:11px}input:not([type="checkbox"]),select,textarea{height:46px;font-size:13px}textarea{height:auto}.patient-header{padding:20px 19px 17px}.form-progress{padding:0 19px 20px}.patient-title h2{font-size:14px}.step-tabs{padding:0 19px}.step-tab{gap:6px;padding:15px 0}.step-tab b{font-size:10px}.step-tab small{display:none}.step-tab>span{width:19px;height:19px;font-size:8px}.form-footer{padding:17px 19px;flex-wrap:wrap;row-gap:15px}.form-footer>span{max-width:140px;font-size:8px;line-height:1.6}.documents-rail{grid-template-columns:1fr}.documents-card,.gov-card{padding:24px}.rail-heading h2{font-size:18px}.document-item h3{font-size:12px}.document-item span{font-size:10px}.rail-intro{font-size:12px}.document-download svg{height:17px;width:17px}.document-download{width:35px}.document-icon{width:38px;height:44px}.document-item{gap:13px}.document-state{font-size:10px}.generate-button{font-size:13px;min-height:47px}.download-hint{font-size:9px}.draft-button{font-size:10px}.gov-card li p{font-size:12px}.gov-card li>span{font-size:9px;width:20px;height:20px;margin-top:0}.gov-card h2{font-size:19px}.gov-card ol{gap:16px}.gov-button{font-size:12px;min-height:44px}.validate-link{font-size:10px}.rail-footnote{font-size:9px}.small-checkbox{font-size:9px}.small-checkbox input{width:13px;height:13px}.validation-panel{margin:18px 19px 0}.signature-note p{font-size:11px}.representative-toggle p{font-size:11px}.storage-warning{align-items:flex-start;flex-wrap:wrap}.storage-warning button{margin-left:27px}.app-dialog{padding:23px}.app-dialog h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Destino local dos PDFs, dentro da pasta sincronizada escolhida. */
.folder-destination{margin:15px 0;padding:15px;background:#f4f8f1;border:1px solid #dfe9d9;border-radius:11px}.folder-heading{display:flex;align-items:center;gap:8px;color:var(--green)}.folder-heading svg{width:19px;height:19px}.folder-heading h3{margin:0;font-size:13px;font-weight:650}.folder-destination>p{font-size:11px;line-height:1.65;color:#667b61;margin:10px 0}.button-folder{min-height:40px;font-size:12px;border:1px solid #cadcc3;background:white;color:#315d3d;width:100%}.button-folder:hover{background:#e9f1e3}.folder-status{overflow-wrap:anywhere}.folder-status.ready{color:#316b42}.folder-path{border-top:1px solid #dce7d5;padding-top:10px;display:grid;gap:5px}.folder-path>span{font-size:10px;color:#7c8c70}.folder-path code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;color:#365a36;overflow-wrap:anywhere;user-select:all}.folder-new-tab{display:flex;gap:5px;align-items:center;font-size:10px;color:#6c8463;margin-top:12px;text-decoration:underline;text-underline-offset:3px}.folder-new-tab svg{height:11px;width:11px}.folder-support{color:#856b3d!important}.folder-result{margin-top:12px;padding:12px;background:#edf6e9;border:1px solid #cedfc6;border-radius:9px;font-size:11px;line-height:1.6;color:#31643a;overflow-wrap:anywhere}.folder-result strong,.folder-result code,.folder-result span{display:block}.folder-result code{font-size:11px;margin:5px 0;user-select:all}.folder-result.warning{background:#fff5e9;border-color:#e8d5b9;color:#875f2f}.folder-result .saved-file{font-size:10px}.button-download-alternative{border:1px solid #dbe6d4;background:#f7faf3;color:#4a7141}.button-download-alternative:hover{background:#edf4e5}#choose-folder:disabled,#save-pdfs-folder:disabled{cursor:not-allowed}
/* Textos de trabalho legíveis, inclusive em telas menores. */
.sidebar .sidebar-search input{height:22px;padding:0;border:0;background:none;box-shadow:none;color:#e7f2ec;font-size:12px;border-radius:0}
.sidebar .sidebar-search input::placeholder{color:#a9c1b3}.sidebar .person-info strong{font-size:12px}.sidebar .person-info small{font-size:10px;line-height:1.5}.sidebar-link{font-size:12px}.local-note p{font-size:10px;color:#adc7b6}
.hero p{font-size:14px;color:#6c7b70}.eyebrow{font-size:10px}.breadcrumb{font-size:12px}.save-status{font-size:11px;color:#64786a}
.progress-label{font-size:11px;color:#6c7d70}.step-tab{font-size:12px}.step-tab small{font-size:9px}.section-heading h3{font-size:17px}.section-heading p{font-size:12px;color:#6e7f73}
.field>label,.label-row>label:not(.small-checkbox){font-size:12px}.field label>em{font-size:10px;color:#7c897e}.field input:not([type="checkbox"]),.field select,.field textarea{font-size:14px;min-height:46px}.field textarea{height:auto}.field input::placeholder,.field textarea::placeholder{color:#8d9a8e}.field-error,.field-success{font-size:11px}.small-checkbox{font-size:10px;color:#677d6b}.small-checkbox input{height:13px;width:13px}
.form-footer>span{font-size:10px;color:#798976}.button-dark,.button-quiet{font-size:12px}.button-dark{min-height:40px}.patient-title>span{font-size:9px;color:#728572}.patient-title h2{font-size:17px}
.rail-heading h2{font-size:17px}.rail-heading .eyebrow{font-size:9px;color:#778974}.rail-intro{font-size:12px;color:#71826c}.document-item h3{font-size:12px;white-space:normal;line-height:1.4}.document-item span{font-size:10px;color:#71836b}.document-state{font-size:11px;color:#758568}.generate-button{font-size:13px}.download-hint{font-size:10px;color:#76876a}.draft-button{font-size:11px}.document-download{min-width:30px;min-height:34px}.document-download svg{width:17px;height:17px}
.gov-card h2{font-size:18px}.external-badge{font-size:7px}.gov-card li p{font-size:11px;color:#667c5d}.gov-card li>span{font-size:9px;height:18px;width:18px}.gov-button{font-size:12px;min-height:42px}.validate-link{font-size:10px}.rail-footnote{font-size:10px;color:#7c8d70}.page-footer{font-size:10px;color:#7d8b74}
.representative-toggle strong{font-size:14px}.representative-toggle p,.signature-note p{font-size:12px;color:#6f8267}.validation-panel h3{font-size:12px}.validation-panel button{font-size:11px}.app-dialog p{font-size:13px}.import-summary span,.import-names{font-size:12px}.dialog-actions button{font-size:13px}.dialog-actions button small{font-size:11px}
@media(max-width:1190px) and (min-width:1041px){.workspace-grid{grid-template-columns:minmax(0,1fr) 280px}.document-item{gap:7px}.document-item h3{font-size:11px}.form-footer{flex-wrap:wrap}.form-footer>span{max-width:none;width:100%}}
@media(max-width:760px){.breadcrumb{font-size:11px}.save-status{font-size:9px}.hero p{font-size:13px}.sidebar .sidebar-search input{font-size:13px}}
@media(max-width:540px){.save-status{font-size:0}.breadcrumb{font-size:10px}.field input:not([type="checkbox"]),.field select,.field textarea{font-size:16px;min-height:48px}.hero p{font-size:14px}.step-tab b{font-size:11px}.form-footer>span{max-width:150px}.patient-title h2{font-size:16px}.document-item h3{font-size:13px}.document-item span{font-size:11px}.gov-card li p{font-size:12px}.document-state{font-size:12px}}

/* Aplicativo local Windows. */
.email-account{margin:14px 0;padding:13px;border:1px solid #e0e8da;border-radius:10px;background:#fafcf7}.email-account>p{font-size:12px;line-height:1.65;overflow-wrap:anywhere;color:#657b6d;margin:0 0 10px}.email-account .button{font-size:12px;min-height:40px;padding:9px}.email-account>.email-account-help{font-size:10px;margin:10px 0 0}.email-account.connected{background:#f1f7ec;border-color:#cedfc3}.email-account.connected>p:first-child{color:#315e3d;font-weight:550}.email-account.account-error{border-color:#e7d4b2}.email-account.account-error>p:first-child{color:#845e30}.email-disconnect,.email-check-status{display:inline-block;font-size:11px;line-height:1.5;text-align:left;text-decoration:underline;text-underline-offset:3px;color:#42644b;padding:4px 0}.email-check-status{margin-top:3px;color:inherit}.email-account button:disabled,.email-check-status:disabled{opacity:.6;cursor:wait}.email-result strong+strong{margin-top:8px}
.email-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.email-heading{display:flex;align-items:center;gap:10px;color:var(--green)}.email-heading h2{font-size:17px;line-height:1.35;letter-spacing:-.3px;font-weight:600;margin:0}.email-card>p{font-size:12px;line-height:1.75;color:#657b6d;margin:12px 0}.email-sender{display:grid;gap:5px;margin:15px 0;padding:12px;border-radius:9px;background:#f3f7f0;overflow-wrap:anywhere}.email-sender span{font-size:10px;color:#72846e}.email-sender strong{font-size:12px;font-weight:550;color:#365f42}.email-button{white-space:normal;text-align:left;line-height:1.5;padding:11px;min-height:48px}.email-button svg{width:18px;height:18px}.email-card>.email-note{font-size:10px;line-height:1.7;margin-bottom:0}.email-result{display:grid;gap:6px;margin-top:14px;padding:12px;border:1px solid #cbdcc6;border-radius:9px;background:#edf6e9;color:#376346;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.email-result.warning{background:#fff5e9;border-color:#e8d5b9;color:#875f2f}.email-result code{font-size:10px;user-select:all}.email-dialog{max-width:720px;max-height:calc(100vh - 40px);overflow-y:auto}.email-meta{margin:16px 0;padding:14px;background:#f3f7f0;border:1px solid #e0e9db;border-radius:9px;font-size:13px;line-height:1.6}.email-meta>div{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;margin:4px 0}.email-meta dt{color:#748571;font-size:12px}.email-meta dd{margin:0;overflow-wrap:anywhere;color:#2f5541}.email-attachments{font-size:12px;color:#476a4f;padding:0 2px;margin:14px 0}.email-attachments strong{font-weight:600}.email-attachments ul{padding-left:20px;line-height:1.8;margin:6px 0;overflow-wrap:anywhere}.email-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:34vh;overflow-y:auto;padding:18px;border:1px solid #e0e6dc;border-radius:10px;background:#fff;font-size:13px;line-height:1.8;color:#365041;user-select:text}.app-dialog .email-guidance{font-size:12px;color:#697c6d;line-height:1.75}.app-dialog .email-unsent{padding:11px 14px;border-radius:9px;background:#eef4e8;color:#365e40;font-size:13px}.app-dialog .email-warning{padding:11px 14px;border:1px solid #e7d4b2;border-radius:9px;background:#fff6e9;color:#845e30;font-size:12px}.email-output-path{display:grid;gap:7px;padding:14px;background:#f5f8f1;border:1px solid #e1e9db;border-radius:9px;overflow-wrap:anywhere}.email-output-path span{font-size:11px;color:#71846c}.email-output-path code{font-size:12px;line-height:1.7;user-select:all}.email-dialog .dialog-actions{margin-top:18px}.email-dialog .dialog-top{margin-bottom:12px}
@media(max-width:1190px) and (min-width:1041px){.email-card{padding:20px 17px}.email-button{font-size:11px}}
@media(max-width:1040px){.email-card{margin-top:0}}
@media(max-width:540px){.email-card{padding:24px}.email-heading h2{font-size:18px}.email-card>p{font-size:13px}.email-sender strong{font-size:13px}.email-button{font-size:13px}.email-dialog{max-height:calc(100vh - 24px);width:calc(100% - 24px);padding:20px}.email-meta{font-size:12px;padding:11px}.email-meta>div{grid-template-columns:50px minmax(0,1fr);gap:6px}.email-body{max-height:38vh;font-size:13px;padding:14px}.email-card>.email-note{font-size:11px}.email-dialog .dialog-actions button{font-size:13px}}
.folder-open{display:flex;align-items:center;gap:7px;margin-top:12px;padding:5px 0;color:#315d3d;font-size:11px;text-decoration:underline;text-underline-offset:3px}.folder-open svg{width:16px;height:16px}.folder-open:disabled{cursor:not-allowed;text-decoration:none}.startup-status{display:none;position:fixed;inset:0;z-index:1000;background:#f4f6f1f5;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.app-loading .startup-status{display:flex}.app-loading{overflow:hidden}.startup-card{width:min(540px,100%);padding:38px;border:1px solid #dce5d8;background:white;border-radius:18px;box-shadow:0 12px 48px #14392c0d}.desktop-badge{display:inline-block;font-size:10px;letter-spacing:1.5px;font-weight:650;color:#537459}.startup-card h1{font-size:25px;line-height:1.25;letter-spacing:-.5px;margin:18px 0 12px;color:#213f33}.startup-card p{font-size:14px;line-height:1.75;color:#6e7f73;margin:0 0 22px}.startup-card .button{background:#245c46;color:white}.local-note{padding-top:12px}.sidebar-footer{margin-top:12px}#quit-app{margin-top:3px}#folder-path{white-space:normal}

/* Shared workspace */
.development-banner{background:#fff3d5;border:1px solid #e5c369;border-radius:10px;padding:14px 18px;margin-bottom:20px;color:#694c0b;font-size:13px;line-height:1.6}
.local-note strong{display:inline-block;max-width:185px;overflow-wrap:anywhere;color:inherit;font-size:12px}
.cloud-document-list{list-style:none;padding:0;margin:14px 0 24px}.cloud-document-list li{padding:12px 14px;border:1px solid #dce7e2;border-radius:8px;margin:8px 0;background:#f5faf7;overflow-wrap:anywhere}.cloud-document-list a,.folder-result a{color:#136650;text-decoration:underline;text-underline-offset:3px}.cloud-folder-label{font-weight:700;overflow-wrap:anywhere}.document-history{padding:12px 0;border-bottom:1px solid #e2e9e6}.document-history summary{cursor:pointer;font-weight:600}.document-history .cloud-document-list{margin-bottom:4px}
