:root{color-scheme:light;--ink:#142433;--muted:#62737f;--subtle:#8b98a3;--line:#e4e8e9;--paper:#f3f6f6;--white:#fff;--forest:#1e7568;--forest-dark:#12574e;--forest-soft:#e7f3ef;--amber:#b16c16;--amber-bg:#fbf1de;--red:#b64444;--red-bg:#fbecec;--navy:#1e3545;--radius:17px;--shadow:0 9px 30px rgba(24,43,54,.045)}
*{box-sizing:border-box}html{font-size:16px;-webkit-text-size-adjust:100%}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;line-height:1.47}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,textarea,select{touch-action:manipulation}input,textarea,select{outline:none}a{color:var(--forest)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a1dbce;outline-offset:2px}svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.85rem,4vw,2.6rem);letter-spacing:-.06em;line-height:1.06}h2{font-size:1.28rem;letter-spacing:-.035em}h3{font-size:1rem;letter-spacing:-.015em}.sans-small{font-size:.83rem}.muted{color:var(--muted)}.subtle{color:var(--subtle)}.overline{font-size:.68rem;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:var(--forest)}.container{max-width:1060px;margin:0 auto;padding:0 25px}.app-shell{min-height:100dvh;padding-bottom:94px}.topbar{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.topbar-inner{max-width:1060px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:77px;padding:13px 25px}.logo-wrap{display:flex;align-items:center;gap:12px}.brand-mark{width:42px;height:42px;background:var(--navy);color:#fff;border-radius:12px;display:grid;place-items:center;font-family:Georgia,serif;font-size:1.8rem;line-height:1;letter-spacing:-.11em;padding-right:4px}.brand-name{font-weight:850;letter-spacing:.06em;font-size:1.04rem;line-height:1}.brand-subtitle{font-size:.7rem;color:var(--muted);margin-top:5px;letter-spacing:.025em}.top-actions{display:flex;gap:8px;align-items:center}.icon-btn{border:1px solid var(--line);background:#fff;color:var(--ink);width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.icon-btn:hover,.soft-btn:hover{background:#f5f8f8}.icon-btn svg,.btn svg{width:17px;height:17px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;min-height:45px;border:1px solid transparent;border-radius:12px;font-size:.87rem;font-weight:750;text-align:center;white-space:nowrap;transition:background .15s ease,transform .15s ease}.btn:active{transform:scale(.985)}.btn-primary{background:var(--forest);color:#fff}.btn-primary:hover{background:var(--forest-dark)}.btn-dark{background:var(--navy);color:white}.btn-dark:hover{background:#142734}.btn-outline{background:white;color:var(--ink);border-color:#d6dfdf}.btn-outline:hover{background:#f6f8f8}.btn-danger{background:var(--red-bg);color:var(--red)}.btn-ghost{background:transparent;color:var(--muted);padding:10px 8px}.btn-large{min-height:51px}.btn-full{width:100%}.main{padding-top:36px;padding-bottom:32px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}.hero h1{margin:8px 0 10px}.hero p{margin:0;color:var(--muted);font-size:.94rem}.hero-cta{margin-bottom:3px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:22px}.stat{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:21px 22px;min-height:108px;box-shadow:var(--shadow)}.stat-value{font-size:1.75rem;font-weight:800;letter-spacing:-.06em;line-height:1.1}.stat-label{font-size:.79rem;color:var(--muted);margin-top:7px}.controls{display:flex;align-items:center;gap:11px;margin-bottom:19px;flex-wrap:wrap}.search-wrap{position:relative;flex:1;min-width:200px}.search-wrap svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--subtle);width:18px;height:18px}.search-wrap input{width:100%;border:1px solid var(--line);border-radius:12px;height:48px;padding:0 15px 0 43px;background:#fff}.controls select{border:1px solid var(--line);background:#fff;border-radius:12px;height:48px;padding:0 35px 0 13px;min-width:170px}.list{display:grid;gap:12px}.property-card{width:100%;text-align:left;border:1px solid var(--line);background:#fff;display:grid;grid-template-columns:58px 1fr auto;gap:17px;align-items:center;padding:18px;border-radius:16px;color:var(--ink);box-shadow:var(--shadow);transition:border-color .15s ease,transform .15s ease}.property-card:hover{border-color:#bad2cc;transform:translateY(-1px)}.property-icon{width:58px;height:58px;background:#e9f1f0;display:grid;place-items:center;border-radius:13px;color:var(--forest)}.property-icon svg{width:26px;height:26px}.property-main{min-width:0}.property-title{font-size:1.07rem;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere}.property-meta{font-size:.79rem;color:var(--muted);margin-top:4px}.property-tail{display:flex;align-items:center;gap:18px}.property-pct{font-size:.84rem;font-weight:800;text-align:right}.mini-progress{width:74px;height:5px;border-radius:99px;background:#eaf0ef;margin-top:7px;overflow:hidden}.mini-progress>span{height:100%;background:var(--forest);display:block;border-radius:99px}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:50px;padding:5px 10px;font-size:.7rem;font-weight:800;white-space:nowrap}.pill-draft{background:#eff2f4;color:#566b76}.pill-awaiting{background:var(--amber-bg);color:#976018}.pill-ready{background:var(--forest-soft);color:var(--forest-dark)}.pill-live{background:#e8eef8;color:#415a93}.empty{border:1px dashed #c8d6d2;border-radius:18px;padding:45px 25px;text-align:center;background:#fff}.empty-visual{width:72px;height:72px;border-radius:23px;background:var(--forest-soft);color:var(--forest);display:grid;place-items:center;margin:0 auto 17px}.empty-visual svg{width:32px;height:32px}.empty h2{margin-bottom:8px}.empty p{color:var(--muted);margin:0 auto 20px;max-width:360px;font-size:.9rem}.tip{margin-top:24px;border-radius:13px;background:#e7eff1;padding:17px 19px;font-size:.82rem;color:#345163;display:flex;gap:10px;align-items:flex-start}.tip svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:55;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav-inner{display:flex;justify-content:center;max-width:620px;margin:0 auto}.bottom-nav button{flex:1;min-height:61px;border:0;background:none;color:#72838d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.67rem;font-weight:750}.bottom-nav button svg{width:21px;height:21px}.bottom-nav button.active{color:var(--forest)}.bottom-nav button.active svg{stroke-width:2.35}.backlink{border:0;background:none;color:var(--muted);display:inline-flex;align-items:center;gap:7px;padding:0;margin:0 0 20px;font-size:.82rem;font-weight:750}.backlink svg{width:16px;height:16px}.detail-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.detail-hero h1{font-size:clamp(1.6rem,4vw,2.2rem);margin:8px 0}.detail-hero .subline{font-size:.85rem;color:var(--muted)}.status-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-progress{display:flex;align-items:center;gap:19px;background:#fff;border:1px solid var(--line);padding:17px 19px;border-radius:15px;margin:26px 0 19px}.progress-ring{width:59px;height:59px;border-radius:50%;display:grid;place-items:center;position:relative;flex:none;font-size:.82rem;font-weight:850;background:conic-gradient(var(--forest) var(--pct),#e6eeec 0)}.progress-ring:after{content:"";position:absolute;inset:6px;background:#fff;border-radius:50%}.progress-ring span{position:relative;z-index:1}.progress-track{height:7px;border-radius:100px;background:#eaf0ef;overflow:hidden;margin:8px 0}.progress-track span{height:100%;background:var(--forest);display:block;border-radius:100px}.detail-progress .pct-descr{font-size:.8rem;color:var(--muted)}.tabs{display:flex;overflow-x:auto;scrollbar-width:thin;gap:4px;padding:3px;margin-bottom:18px;border-radius:13px;background:#e8eeee}.tabs button{border:0;background:transparent;color:#5a6d77;border-radius:10px;padding:11px 15px;white-space:nowrap;font-size:.78rem;font-weight:750;min-height:42px}.tabs button[aria-selected="true"]{background:#fff;color:var(--forest-dark);box-shadow:0 2px 8px #27423b14}.sheet{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px 25px;box-shadow:var(--shadow)}.sheet-heading{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:23px}.sheet-heading-icon{width:43px;height:43px;border-radius:12px;background:var(--forest-soft);display:grid;place-items:center;color:var(--forest)}.sheet-heading-icon svg{width:22px;height:22px}.sheet-heading h2{margin:0 0 5px}.sheet-heading p{font-size:.83rem;color:var(--muted);margin:0}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 20px}.field{min-width:0}.field.full{grid-column:1/-1}.field label{font-size:.82rem;font-weight:750;display:block;margin:0 0 8px}.field .required{color:var(--forest);margin-left:3px}.field input,.field textarea,.field select{display:block;width:100%;border:1px solid #dbe3e4;border-radius:11px;background:#fbfcfc;color:var(--ink);padding:12px 13px;min-height:48px;font-size:.9rem;transition:border-color .15s ease,box-shadow .15s ease}.field textarea{resize:vertical;min-height:99px;line-height:1.55}.field input:focus,.field textarea:focus,.field select:focus{border-color:#67a99e;background:#fff;box-shadow:0 0 0 3px #d7ede8}.field .help{font-size:.73rem;color:var(--muted);margin-top:6px}.note-strip{border-left:3px solid #83b8af;background:#f1f7f5;padding:12px 16px;margin:21px 0 2px;font-size:.83rem;color:#315e57;border-radius:0 10px 10px 0}.section-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:23px}.save-indicator{display:flex;gap:7px;align-items:center;font-size:.75rem;color:var(--muted)}.save-indicator svg{width:15px;height:15px;color:var(--forest)}.docs-head{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:25px 0 15px}.docs-head h3{margin:0}.doc-list{display:grid;gap:9px}.doc{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:13px 14px}.doc-title{font-size:.84rem;font-weight:750}.doc-desc{font-size:.73rem;color:var(--muted);margin-top:4px}.doc select{height:44px;min-width:122px;max-width:160px;border:1px solid var(--line);background:#f8fafa;padding:5px 8px;border-radius:9px;font-size:.76rem;font-weight:750}.doc select.status-received{background:var(--forest-soft);color:var(--forest-dark);border-color:#cbe3dd}.doc select.status-requested{background:var(--amber-bg);color:var(--amber);border-color:#f0d8a7}.doc select.status-na{color:#6a7b83}.files-list{margin-top:17px;display:grid;gap:8px}.file-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:10px 12px}.file-row .file-icon{width:35px;height:35px;border-radius:9px;background:#edf3f3;display:grid;place-items:center;color:var(--forest)}.file-row .filename{font-size:.79rem;font-weight:750;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:250px}.file-row .filesize{color:var(--muted);font-size:.7rem}.file-actions{margin-left:auto;display:flex;gap:4px}.file-actions button{background:none;border:none;width:42px;height:42px;display:grid;place-items:center;color:var(--muted)}.file-actions button svg{height:17px;width:17px}.file-input-label{cursor:pointer;border:1px dashed #b9d4cc;background:#f7faf9;padding:17px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--forest);font-size:.84rem;font-weight:750}.file-input-label input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.file-input-label svg{width:18px}.helper-text{font-size:.77rem;color:var(--muted)}.task-list{display:grid;gap:9px;margin-top:14px}.task-row{display:flex;gap:11px;align-items:flex-start;background:#f8fafa;border:1px solid var(--line);border-radius:11px;padding:12px}.task-row input{accent-color:var(--forest);width:18px;height:18px;flex-shrink:0;margin-top:2px}.task-row label{flex:1;font-size:.84rem;cursor:pointer}.task-row .done{text-decoration:line-through;color:var(--subtle)}.task-row button{background:none;border:0;color:var(--subtle);padding:3px}.add-task{display:flex;gap:8px;margin-top:17px}.add-task input{flex:1;min-width:0;border:1px solid var(--line);border-radius:11px;min-height:46px;padding:0 12px}.settings-cards{display:grid;gap:16px}.setting-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:23px}.setting-card h2{margin:0 0 7px}.setting-card p{color:var(--muted);font-size:.86rem}.warning{padding:13px 15px;border-radius:12px;background:var(--amber-bg);color:#845513;font-size:.82rem}.security-banner{background:#f1f6f6;border:1px solid #cfdfdf;border-radius:12px;padding:13px 14px;display:flex;gap:10px;align-items:flex-start;font-size:.83rem;color:#425f61;margin-top:20px}.security-banner svg{width:19px;height:19px;flex-shrink:0}.auth-wrap{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,1fr);background:#fff}.auth-panel{background:var(--navy);color:white;padding:clamp(28px,6vw,86px);display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;position:relative;overflow:hidden}.auth-panel:before{content:"";position:absolute;width:620px;height:620px;border:1px solid #8baab33c;border-radius:50%;right:-220px;top:-110px;box-shadow:0 0 0 100px #284a5422,0 0 0 200px #284a5418}.auth-panel>*{position:relative;z-index:1}.auth-logo{display:flex;align-items:center;gap:11px;font-size:1.25rem;font-weight:850;letter-spacing:.08em}.auth-logo .brand-mark{border:1px solid #a6c9c963;background:#ffffff15}.auth-logo small{font-size:.7rem;font-weight:500;display:block;letter-spacing:0;color:#bed1d5;margin-top:3px}.auth-panel h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.05em;line-height:1.08;font-size:clamp(2.5rem,4vw,4.9rem);margin:0 0 22px;max-width:590px}.auth-panel p{color:#c9d8db;font-size:.93rem;max-width:470px;line-height:1.7}.auth-panel footer{color:#b6c9cf;font-size:.78rem}.auth-form{display:flex;align-items:center;justify-content:center;padding:50px 35px}.auth-card{width:min(430px,100%)}.auth-card .eyebrow{font-size:.71rem;font-weight:850;letter-spacing:.11em;color:var(--forest);text-transform:uppercase;margin-bottom:14px}.auth-card h2{font-size:1.9rem;margin:0 0 13px;line-height:1.2;letter-spacing:-.05em}.auth-card>p{color:var(--muted);font-size:.92rem;margin-bottom:28px}.auth-card form{display:grid;gap:17px}.auth-card label{display:block;font-weight:750;font-size:.84rem;margin-bottom:8px}.auth-card input{width:100%;border:1px solid #d9e3e1;border-radius:11px;min-height:49px;padding:0 14px}.auth-card .btn{min-height:50px}.auth-foot{border-top:1px solid var(--line);padding-top:18px;margin-top:24px;font-size:.79rem;color:var(--muted)}.auth-error{background:var(--red-bg);color:#913b3b;border-radius:10px;padding:10px 13px;font-size:.81rem;display:none}.auth-error:not(:empty){display:block}.modal-overlay{position:fixed;inset:0;background:#142b37a8;z-index:200;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#fff;border-radius:19px;width:min(470px,100%);padding:27px;max-height:90dvh;overflow:auto;box-shadow:0 20px 70px #11242f3b}.modal h2{margin:0 0 8px}.modal p{font-size:.86rem;color:var(--muted)}.modal .field{margin:16px 0}.modal-buttons{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.boot-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center}.boot-screen .brand-mark{width:60px;height:60px;font-size:2.45rem;margin-bottom:20px}.boot-title{font-size:1.28rem;font-weight:850}.boot-title span{font-weight:400}.boot-screen p{font-size:.82rem;color:var(--muted);margin-top:10px}#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,15px);background:var(--navy);color:#fff;padding:12px 17px;border-radius:11px;box-shadow:0 10px 30px #19364435;z-index:500;font-size:.83rem;font-weight:750;opacity:0;pointer-events:none;transition:.2s ease;max-width:calc(100% - 40px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.print-document{display:none}.flex{display:flex}.between{justify-content:space-between}.gap8{gap:8px}.mt18{margin-top:18px}.mt25{margin-top:25px}.center{text-align:center}.no-results{font-size:.9rem;color:var(--muted);text-align:center;padding:50px 0}.btn-row{display:flex;gap:10px;flex-wrap:wrap}.doc-tally{display:flex;gap:13px;flex-wrap:wrap;margin:12px 0 20px}.doc-tally span{font-size:.74rem;color:var(--muted);border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 9px}.offline-badge{font-size:.67rem;color:#9d621c;background:var(--amber-bg);padding:4px 8px;border-radius:30px;font-weight:750}.section-kicker{font-size:.74rem;color:var(--muted);margin:3px 0 0}.steps-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0 25px}.step-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.step-number{font-size:1.3rem;font-weight:850}.step-desc{font-size:.74rem;color:var(--muted)}
@media (max-width:780px){.auth-wrap{display:block;background:var(--paper)}.auth-panel{min-height:auto;padding:30px 24px 28px}.auth-panel h1{font-size:2.05rem;max-width:470px;margin:40px 0 12px}.auth-panel p{font-size:.83rem}.auth-panel footer{display:none}.auth-panel:before{width:330px;height:330px;right:-130px;top:-80px}.auth-form{align-items:flex-start;padding:34px 25px 50px}.auth-card h2{font-size:1.6rem}.main{padding-top:26px}.container{padding:0 18px}.topbar-inner{padding:10px 18px;min-height:66px}.hero{align-items:flex-start}.stat{padding:18px}.detail-hero{display:block}.detail-actions{margin-top:16px}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.sheet{padding:20px}.sheet-heading{gap:10px}}
@media (max-width:510px){.brand-mark{width:36px;height:36px;font-size:1.52rem;border-radius:10px}.brand-name{font-size:.96rem}.brand-subtitle{font-size:.63rem}.topbar-inner{padding:10px 16px}.container{padding:0 15px}.top-actions .btn{padding:9px 11px;min-height:38px;font-size:.76rem}.top-actions .btn svg{height:15px;width:15px}.icon-btn{width:38px;height:38px}.hero{display:block}.hero h1{font-size:2rem}.hero-cta{margin-top:18px;width:100%}.hero-cta .btn{width:100%}.stat-grid{gap:8px}.stat{padding:14px 12px;min-height:94px;border-radius:12px}.stat-value{font-size:1.47rem}.stat-label{font-size:.7rem}.property-card{grid-template-columns:44px 1fr;gap:11px;padding:14px}.property-icon{width:44px;height:44px}.property-icon svg{width:21px;height:21px}.property-tail{grid-column:2/-1;justify-content:space-between}.property-title{font-size:.96rem}.property-meta{font-size:.73rem}.mini-progress{width:90px}.sheet{padding:18px 15px}.sheet-heading-icon{width:38px;height:38px;flex:none}.detail-progress{padding:14px 13px;gap:12px}.progress-ring{height:52px;width:52px}.detail-hero h1{font-size:1.8rem}.detail-actions .btn{flex:1;font-size:.78rem;padding:10px 12px}.modal{padding:22px}.doc{display:block}.doc select{width:100%;max-width:100%;margin-top:10px}.steps-overview{grid-template-columns:repeat(3,1fr)}.step-box{padding:11px 9px}.doc-tally{gap:7px}.file-row .filename{max-width:165px}.btn-row .btn{flex:1}.section-footer{align-items:stretch;flex-direction:column-reverse}.section-footer .btn{width:100%}.auth-panel h1{font-size:1.9rem}.auth-panel p{font-size:.79rem}}
@media print{body{background:#fff!important}#app,.bottom-nav,.modal-overlay,#toast{display:none!important}.print-document{display:block!important;color:#151b1f;font:11px/1.5 Arial,sans-serif;padding:0}.print-document h1{font-size:25px;letter-spacing:0}.print-document h2{font-size:14px;margin:16px 0 6px;border-bottom:1px solid #bbb;padding-bottom:5px}.print-document p{margin:0 0 4px}.print-document .print-key{font-weight:bold}.print-document .print-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px}.print-document .print-value{overflow-wrap:anywhere}.print-document .print-keep{break-inside:avoid}.print-document footer{border-top:1px solid #bbb;margin-top:30px;padding-top:10px;font-size:9px;color:#444}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

@media(min-width:900px){.bottom-nav{display:none}.app-shell{padding-bottom:28px}}
