@charset "UTF-8";
:root{--bg:#f7f8f5;--paper:#fff;--ink:#1c3031;--muted:#748280;--line:#e2e8e2;--green:#23634f;--green-soft:#eaf2ec;--navy:#152b2c;--orange:#ba7e30;--radius:13px;font-family:"Segoe UI",system-ui,sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--green)}[hidden]{display:none!important}.sidebar{width:235px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:33px 23px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:25px;font-weight:650;letter-spacing:-1px;margin-bottom:55px}.brand-icon{width:41px;height:43px;border-radius:11px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:41px;line-height:1;padding-bottom:8px;letter-spacing:-5px;padding-right:5px}.brand-icon span{font-size:24px;align-self:flex-end;color:#bad6b9}.brand-sub{display:block;font-size:10px;font-weight:600;letter-spacing:3px;line-height:13px;color:var(--muted)}.workspace-label{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#83908b;margin-bottom:14px}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;text-align:left;padding:12px 11px;color:#65756f;border-radius:7px;font-size:12px;font-weight:550;width:100%;margin-bottom:7px}.nav-item span{font-size:20px;line-height:16px}.nav-item.active{background:var(--green-soft);color:var(--green)}.history-label{margin-top:42px;display:flex;justify-content:space-between;align-items:center;margin-bottom:3px}.history{overflow:auto;flex:1;max-height:55vh}.history-item{padding:11px 7px;background:none;border:0;border-bottom:1px solid #edf0eb;text-align:left;color:#4f6259;width:100%;font-size:12px;line-height:1.5}.history-item:hover{background:var(--bg)}.history-item small{display:block;color:var(--muted);font-size:10px}.history .subtle{font-size:11px;padding:12px 3px}.sidebar-bottom{border-top:1px solid var(--line);padding-top:20px;display:flex;gap:10px;align-items:center;font-size:11px;margin-top:25px}.local-dot{width:7px;height:7px;border-radius:50%;background:#77a087}.sidebar-bottom small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.shell{margin-left:235px}.topbar{height:75px;border-bottom:1px solid var(--line);padding:0 46px;display:flex;align-items:center;justify-content:space-between;background:#fff9}.breadcrumb{font-size:11px;color:#75817a}.breadcrumb span{margin:0 14px;color:#adb7af}.top-actions{display:flex;align-items:center;gap:17px}.status-pill{display:flex;gap:7px;align-items:center;padding:7px 11px;font-size:10px;border:1px solid #e4e9e2;border-radius:20px;color:#63746a;background:#fff}.status-pill i{width:5px;height:5px;border-radius:50%;background:#9faaa1}.status-pill.ready i{background:#448965}.status-pill.offline i{background:#b78c44}main{padding:42px 46px 22px;max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#6f8a75;margin-bottom:13px}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:39px;line-height:1.15;letter-spacing:-1.2px;margin:0 0 15px}h1>span{color:#6e9d72}.page-heading p{font-size:12px;line-height:1.9;color:#7c8881;margin:0}.heading-stamp{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #dce4da;border-radius:10px;transform:rotate(-5deg);color:#7c947c;margin-right:15px}.heading-stamp>span{font-family:Georgia,serif;font-size:28px;border-right:1px solid #dce4da;padding-right:12px}.heading-stamp small{line-height:1.6;font-size:9px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 15px #203a2010}.builder{padding:24px 25px 0}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}h2{margin:0;font-weight:600;letter-spacing:-.35px}.section-title h2{font-size:15px;display:flex;align-items:center;gap:11px}.step-number{font-size:10px;font-weight:500;color:#68856d;border:1px solid #dfe8dd;border-radius:6px;padding:6px}.subtle{color:var(--muted);font-size:10px}.input-grid{display:grid;grid-template-columns:1.7fr .7fr 1.1fr;gap:17px}label{display:block;font-size:10px;font-weight:600;color:#4b5e54}.optional{font-size:9px;font-weight:400;color:#a1aaa2;margin-left:4px}input[type=text],input:not([type]),select,textarea,input[type=password]{background:#fff;border:1px solid #dde4dc;border-radius:7px;padding:12px;color:var(--ink);width:100%;margin-top:9px;font-size:12px;transition:border-color .2s}input:focus,textarea:focus,select:focus{border-color:#7eac85}input::placeholder{color:#a4ada5;font-size:11px}.suggestions{display:flex;align-items:center;gap:8px;margin-top:13px;flex-wrap:wrap}.suggestions>span{font-size:9px;color:#a0aaa1;margin-right:4px}.suggestions button{border:1px solid #e8ece5;background:#fafbf8;color:#829080;font-size:9px;padding:5px 9px;border-radius:15px}.suggestions button:hover{background:var(--green-soft);color:var(--green)}.profile-details{border-top:1px solid #edf0e8;margin-top:21px;padding:16px 0;color:#6c7e6f}.profile-details summary{cursor:pointer;font-size:11px}.profile-details summary>span{font-size:9px;color:#9aa698;margin-left:12px}.facts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;padding-top:23px;padding-bottom:6px}.facts-grid label{font-weight:450;line-height:1.5}.facts-grid select{font-size:11px;padding:8px;margin-top:6px}.generation-footer{display:flex;justify-content:space-between;align-items:center;margin:0 -25px;padding:18px 25px;background:#fafbf8;border-top:1px solid #edf0e8;border-radius:0 0 var(--radius) var(--radius);gap:20px}.generation-options{display:flex;gap:24px}.check-label{display:flex;align-items:flex-start;gap:7px;font-size:10px;font-weight:500;line-height:1.6}.check-label input{accent-color:var(--green);width:12px;height:12px;margin:2px 0}.check-label small{display:block;color:#98a192;font-size:9px;font-weight:400}.primary-button{background:var(--green);color:#fff;border:1px solid var(--green);border-radius:7px;padding:13px 16px;display:inline-flex;align-items:center;justify-content:center;gap:23px;font-size:11px;font-weight:550;white-space:nowrap;transition:background .2s}.primary-button:hover{background:#174e3e}.primary-button span{font-size:16px}.secondary-button{background:#fff;border:1px solid #dce4da;border-radius:7px;padding:10px 14px;color:#516850;font-size:11px;white-space:nowrap}.secondary-button:hover{background:#f0f5ed}.compact{padding:10px 14px}.text-button{border:0;background:transparent;color:#71826f;font-size:10px;padding:7px 0}.icon-button{border:0;background:none;color:#8a988b;font-size:17px;padding:0 3px}.notice{border:1px solid #e8d9b9;background:#fffaf0;color:#8e6e31;border-radius:8px;padding:13px 17px;font-size:11px;line-height:1.7;margin-top:18px;white-space:pre-line}.notice.error{border-color:#ecc5bf;background:#fff4f0;color:#a5493c}.empty-state{display:flex;gap:42px;align-items:center;justify-content:center;padding:58px 15px 60px;min-height:250px}.empty-state h2{font-size:15px;font-weight:500;margin-bottom:12px}.empty-state p{font-size:11px;color:#94a08f;line-height:1.9;margin:0}.empty-features{display:flex;gap:20px;color:#8e9f87;font-size:9px;margin-top:18px}.paper-stack{position:relative;width:100px;height:117px;flex-shrink:0}.paper-back{position:absolute;inset:3px 5px 0;background:#e7eddf;border:1px solid #dde5d7;border-radius:6px;transform:rotate(-11deg)}.paper-front{position:absolute;inset:0 0 4px 10px;background:#fff;border:1px solid #dfe6d9;border-radius:6px;transform:rotate(4deg);padding:12px;box-shadow:0 7px 13px #2b4a2010}.paper-symbol{font-size:23px;font-family:Georgia,serif;display:block;color:#86a17d;margin-bottom:14px}.paper-front i{display:block;background:#e7ecdf;height:3px;width:90%;margin-bottom:8px}.paper-front i:nth-of-type(2){width:60%}.paper-front b{position:absolute;border-radius:50%;background:#e6f1dc;color:#6f9463;bottom:0;right:-12px;font-size:19px;padding:4px 9px;border:3px solid var(--bg)}.page-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:18px 0 0;color:#a0aa9a;font-size:9px;line-height:1.6;margin-top:15px}.page-footer b{margin:0 8px;font-weight:400}.progress-panel{display:flex;align-items:center;gap:16px;border:1px solid #dce8db;border-radius:10px;padding:22px;background:#eef5e9;margin-top:24px}.progress-panel strong{font-size:12px}.progress-panel p{font-size:11px;color:#71826b;margin:7px 0 0}.progress-panel>span{font-size:10px;margin-left:auto;color:#8a9c80}.spinner{width:23px;height:23px;border:2px solid #cfdec5;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.result-heading{display:flex;align-items:center;justify-content:space-between;margin:35px 0 20px;gap:20px}.result-heading h2{font-family:Georgia,serif;font-size:29px;font-weight:400;text-transform:none}.result-heading .eyebrow{margin-bottom:8px}.result-heading p{font-size:10px;color:#8e9a89;margin:8px 0 0}.export-actions{display:flex;gap:8px}.warnings{display:flex;flex-direction:column;gap:7px}.warning-line{font-size:10px;line-height:1.7;padding:10px 13px;background:#fbf4e4;border:1px solid #eee3c9;color:#92733b;border-radius:7px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;background:white;margin:22px 0;padding:21px 0}.metrics>div{padding:0 24px;border-right:1px solid #e9eee5}.metrics>div:last-child{border:0}.metrics span{font-family:Georgia,serif;font-size:30px;color:#315e43}.metrics p{font-size:10px;color:#8a9a82;margin:5px 0 0}.tabs{display:flex;gap:27px;border-bottom:1px solid #dfe6da;margin-bottom:15px}.tab{border:0;border-bottom:2px solid transparent;background:none;font-size:11px;color:#9aa38f;padding:12px 0}.tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.list-toolbar{display:flex;justify-content:space-between;align-items:center;margin:17px 0}.filter-pills{display:flex;gap:5px}.filter{font-size:9px;background:transparent;color:#829177;border:1px solid transparent;border-radius:20px;padding:7px 10px}.filter.active{border-color:#dfe7d9;background:#fff;color:#45633c}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.treatment-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;flex-direction:column;min-height:202px}.treatment-card.excluded{opacity:.65}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-index{font-size:9px;color:#a4ae9c}.badge{font-size:8px;font-weight:500;letter-spacing:.2px;background:#edf3e8;color:#6d8b5e;border-radius:4px;padding:5px 7px;display:inline-block}.badge.conditional{background:#f7f0df;color:#a08037}.badge.complementary{background:#f0eafa;color:#8d76a2}.badge.required_by_law{background:#f5e8e6;color:#9e685f}.treatment-card h3{font-size:13px;font-weight:600;line-height:1.5;margin:14px 0 7px}.card-description{font-size:10px;line-height:1.9;color:#85937b;flex:1;margin:0 0 17px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eff2eb;padding-top:12px}.card-bottom .check-label{font-size:9px;color:#94a085}.card-bottom button{background:none;border:0;color:#4c7950;font-size:10px}.card-meta{font-size:9px;color:#a49062;margin-bottom:13px}.source-card,.issue-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px;margin-bottom:12px}.source-card h3{font-size:12px;margin:0 0 10px}.source-card p{font-size:11px;color:#819176;line-height:1.8;margin:9px 0}.source-card a{font-size:10px;overflow-wrap:anywhere}.source-card .source-excerpt{max-height:100px;overflow:auto;background:#f7f9f4;padding:12px;color:#84947b;font-size:10px}.source-card details{font-size:10px;color:#789067;margin-top:12px}.issue-card{display:flex;gap:15px;align-items:flex-start;padding:14px 17px}.issue-dot{width:6px;height:6px;flex-shrink:0;background:#bca26b;border-radius:50%;margin-top:5px}.issue-dot.error{background:#b76c60}.issue-card strong{font-size:11px;font-weight:500}.issue-card p{font-size:10px;color:#8c9a82;margin:6px 0 0}.issue-card button{margin-left:auto;white-space:nowrap;border:0;background:none;color:#638754;font-size:10px}.editor{width:min(760px,95vw);max-height:92vh;border:1px solid #dce5d5;border-radius:14px;padding:0;color:var(--ink);box-shadow:0 20px 90px #152b2c44}.editor::backdrop{background:#152b2c66;backdrop-filter:blur(2px)}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid #e7eddf;position:sticky;top:0;background:#fff;z-index:2}.editor-header h2{font-size:19px;line-height:1.5}.editor-header .eyebrow{margin-bottom:7px}.edit-fields{padding:24px 28px;display:grid;grid-template-columns:1fr 1fr;gap:19px}.edit-fields label{font-size:10px;line-height:1.6}.edit-fields textarea{min-height:82px;resize:vertical;line-height:1.6}.edit-fields .full-width{grid-column:1/-1}.editor-footer{padding:17px 26px;border-top:1px solid #e5ebdf;display:flex;align-items:center;gap:12px;position:sticky;bottom:0;background:#fff}.editor-footer .subtle{flex:1;font-size:9px}.edit-context{padding:14px;background:#f5f8ef;border-radius:7px;font-size:11px;color:#7b9070;line-height:1.9}.edit-context strong{color:#516e44}.category-row{display:grid;grid-template-columns:1.1fr .6fr 1.5fr;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1e6}.category-row span{font-size:10px;color:#74856a}.category-row select,.category-row input{margin:0;font-size:10px;padding:8px}.empty-list{padding:25px;text-align:center;font-size:12px;color:#899c7d}.error-text{color:#a45243}.query-list{font-size:10px;color:#829775;line-height:1.9;margin-bottom:17px}.source-state{margin-top:15px;padding:13px 16px;border:1px solid #dce5d4;border-radius:7px;color:#7c8f70;font-size:11px;line-height:1.8}.legal-note{font-size:10px;color:#8a9b7b;line-height:1.8;margin:10px 0}.save-dot{font-size:9px;color:#86a073} @media(min-width:1500px){main{padding-top:50px}.page-heading{margin-bottom:38px}.empty-state{min-height:290px}}@media(max-width:1150px){.sidebar{width:195px;padding:28px 16px}.shell{margin-left:195px}main{padding:30px 28px}.topbar{padding:0 28px}.generation-options{gap:12px}.generation-footer{gap:12px}.check-label{font-size:9px}.heading-stamp{display:none}.primary-button{gap:12px}.input-grid{grid-template-columns:1.4fr .6fr 1fr}.page-footer{font-size:8px}.result-heading{align-items:flex-start;flex-direction:column}}@media(max-width:850px){.sidebar{width:75px;padding:25px 12px}.brand{justify-content:center;margin-bottom:30px}.brand>span:last-child,.workspace-label,.sidebar-bottom,.history{display:none}.nav-item{font-size:0;justify-content:center;padding:15px 0}.nav-item span{font-size:24px}.shell{margin-left:75px}.topbar{height:60px;padding:0 22px}.breadcrumb{font-size:9px}.top-actions .text-button{display:none}.top-actions{gap:6px}main{padding:28px 22px}.input-grid{grid-template-columns:1fr 1fr}.profession-field{grid-column:1/-1}.generation-footer{align-items:stretch;flex-direction:column}.generation-options{justify-content:space-between}.facts-grid{grid-template-columns:1fr 1fr}.section-title>.subtle{display:none}h1{font-size:35px}.empty-state{gap:27px;padding:45px 0}.empty-features{flex-direction:column;gap:8px}.cards{grid-template-columns:1fr}.page-footer{flex-direction:column;gap:8px}.metrics>div{padding:0 13px}.metrics p{font-size:9px}.progress-panel>span{display:none}}@media(max-width:520px){.sidebar{display:none}.shell{margin-left:0}main{padding:25px 17px}.topbar{padding:0 17px}.breadcrumb{max-width:50%;line-height:1.6}.status-pill{font-size:8px}.builder{padding:20px 17px 0}.generation-footer{margin:0 -17px;padding:17px}.page-heading{margin-bottom:23px}h1{font-size:32px}.eyebrow{font-size:8px}.page-heading p{font-size:11px}.empty-state{flex-direction:column;text-align:center;gap:25px;padding:42px 0}.empty-features{align-items:center}.profile-details summary{font-size:10px;line-height:1.8}.profile-details summary>span{display:block;margin-left:14px}.facts-grid{grid-template-columns:1fr}.metrics{padding:17px 0}.metrics span{font-size:25px}.metrics p{line-height:1.5}.tabs{gap:20px}.tab{font-size:10px}.export-actions{width:100%}.export-actions button{flex:1;font-size:10px;padding:10px}.list-toolbar{align-items:flex-start;gap:10px}.filter{padding:6px;font-size:8px}.edit-fields{grid-template-columns:1fr;padding:20px}.edit-fields .full-width{grid-column:auto}.editor-header{padding:20px}.editor-footer{padding:15px;gap:8px}.editor-footer .subtle{display:none}.category-row{grid-template-columns:1fr 75px}.category-row input{grid-column:1/-1}.heading-stamp{display:none}}
.mobile-nav{display:none}@media(max-width:520px){.mobile-nav{display:flex;align-items:center;gap:10px;padding:10px 17px;border-bottom:1px solid var(--line);background:#fff}.mobile-nav button{background:none;border:0;font-size:10px;color:var(--green);padding:5px 0;white-space:nowrap}.mobile-nav select{margin:0 0 0 auto;max-width:145px;padding:7px;font-size:10px}.top-actions .text-button{display:block;font-size:8px}.top-actions{gap:8px}}
.inference-row{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:0 0 16px}.inference-row>label{width:310px}.inference-row select{padding:9px;font-size:11px}input[type=url]{background:#fff;border:1px solid #dde4dc;border-radius:7px;padding:12px;color:var(--ink);width:100%;margin-top:9px;font-size:12px}@media(max-width:520px){.inference-row{align-items:start;flex-direction:column;gap:8px}.inference-row>label{width:100%}.inference-row .text-button{padding:0 0 5px}}
.naf-hint{display:block;margin-top:7px;font-size:10px;font-weight:400;line-height:1.5;color:var(--muted)}

.coverage-panel{margin:20px 0;padding:20px;border:1px solid #d9d5cc;border-radius:14px;background:#f7f5ef;overflow-wrap:anywhere}.coverage-panel h3{margin-top:0}.coverage-panel p{line-height:1.5}.coverage-item{padding:14px 0;border-top:1px solid #d9d5cc}.coverage-panel summary{cursor:pointer;font-weight:600}
