@charset "UTF-8";
:root{--orange:#ff6900;--orange-dark:#cc4d00;--pale:#fff0e4;--ink:#17191e;--muted:#777b85;--line:#e9e9ed;--bg:#fafaf9;--green:#267d58;--radius:20px;--shadow:0 8px 28px #24201b05;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:15px;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{border:1px solid var(--line);background:#fff;color:var(--ink);min-height:44px;padding:10px 16px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s}button:hover,.button:hover{border-color:#f5ac78;background:#fffaf6}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ff9d58;outline-offset:3px}.primary{background:var(--orange);color:#fff;border-color:var(--orange)}.primary:hover{background:var(--orange-dark);color:#fff;border-color:var(--orange-dark)}.secondary{border-color:#ffbb8a;color:var(--orange-dark)}.ghost{border-color:transparent;background:transparent}.danger{color:#b52e38}.icon-button{padding:10px;min-width:44px}.icon{width:21px;height:21px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.muted,small{color:var(--muted)}small{font-size:12px;line-height:1.5}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,40px);line-height:1.15;letter-spacing:-1.4px;margin-bottom:10px}h2{font-size:19px;letter-spacing:-.5px;margin:0}h3{font-size:16px;margin-bottom:8px}p{line-height:1.6}a{color:var(--orange-dark)}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.eyebrow{display:block;color:var(--orange-dark);font-size:12px;letter-spacing:1.6px;text-transform:uppercase;font-weight:700;margin-bottom:12px}.badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:12px;background:var(--pale);color:#b54b00;border-radius:7px;padding:5px 9px;line-height:1.4;white-space:normal}.badge.green{background:#e9f6ef;color:var(--green)}.badge.neutral{background:#f0f1f3;color:#6f737b}.pill{border-radius:100px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.card-title{display:flex;align-items:center;gap:10px}.card-title>.icon{color:var(--orange)}.flex{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:grid;gap:18px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.section-heading p{color:var(--muted);margin-bottom:0}.sidebar{width:238px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:32px 17px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:block;margin:0 8px 35px}.brand img{display:block;width:100%;height:auto}.sidebar nav{display:grid;gap:5px;overflow:auto}.nav-link{display:flex;align-items:center;gap:12px;color:#454850;text-decoration:none;padding:12px 13px;border-radius:11px;font-weight:500;min-height:47px;font-size:14px}.nav-link:hover{background:#faf7f3}.nav-link.active{background:var(--pale);color:var(--orange-dark)}.nav-link.active .icon{color:var(--orange)}.sidebar-footer{margin-top:auto;padding-top:24px}.sidebar-footer .members{border-top:1px solid var(--line);padding:18px 7px 0;margin-top:12px}.avatar{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:white;font-weight:650;font-size:12px;border:2px solid white;flex-shrink:0}.avatar.pink{background:#ffd8cd;color:#8c4a3e}.avatar-pair{display:flex}.avatar-pair .avatar+.avatar{margin-left:-7px}.members small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main-shell{margin-left:238px}.topbar{height:88px;border-bottom:1px solid var(--line);background:#ffffffd9;display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:16px}.breadcrumb{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.top-actions{display:flex;align-items:center;gap:14px}.content{max-width:1600px;margin:auto;padding:34px}.mobile-brand,.mobile-menu,.bottom-nav{display:none}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:20px;margin-top:25px}.dashboard-grid .hero-plan{padding:20px 20px 14px;display:flex;flex-direction:column;min-height:480px}.hero-plan .viewport{flex:1;min-height:330px;border-radius:12px;position:relative;overflow:hidden;background:linear-gradient(#fdfdfc,#f8f6f2)}.viewport canvas{display:block;width:100%;height:100%;touch-action:none}.viewport-note{position:absolute;bottom:10px;left:10px;font-size:11px;color:#7e817f;background:#ffffffce;padding:5px 8px;border-radius:5px;pointer-events:none}.hero-plan .card-head{margin-bottom:6px}.plan-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.dashboard-bottom{margin-top:20px}.segmented{display:flex;padding:4px;background:#f3f3f3;border-radius:11px;gap:3px;flex-shrink:0}.segmented button{min-height:34px;padding:6px 13px;border:0;background:transparent;font-size:13px;border-radius:8px;font-weight:500}.segmented button.active{background:var(--orange);color:#fff}.mini-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:12px;padding:13px;margin-bottom:10px}.mini-row:last-child{margin-bottom:0}.mini-row p{margin:0;font-size:13px}.mini-row small{display:block;margin-top:4px}.swatch{width:52px;height:52px;border-radius:10px;flex-shrink:0;background:linear-gradient(35deg,#d4b896,#e6d1b7);border:1px solid #00000007}.swatch.stone{background:repeating-linear-gradient(30deg,#efebe5,#efebe5 10px,#e2dfda 12px,#f5f3f0 25px)}.empty{padding:35px 18px;text-align:center;color:var(--muted);border:1px dashed #dedee3;border-radius:14px}.empty .icon{width:32px;height:32px;margin-bottom:10px;color:#bbbcc1}.empty p{margin:8px auto 16px;max-width:400px;font-size:14px}.empty h3{color:var(--ink)}.full{width:100%}.list-toolbar{display:flex;align-items:center;gap:12px;margin:20px 0}.list-toolbar input{flex:1}.list-toolbar select{width:auto;max-width:220px}.record-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.record-card{position:relative;display:flex;flex-direction:column}.record-card p{font-size:14px;color:#646872;white-space:pre-wrap;overflow-wrap:anywhere}.record-card .record-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.record-card .actions{display:flex;gap:6px;margin-top:auto;padding-top:15px;align-items:center}.record-card .actions button:first-child{flex:1}.record-card h3{font-size:18px;overflow-wrap:anywhere}.record-thumb{width:100%;height:150px;object-fit:cover;border-radius:12px;margin-bottom:15px}.price{font-weight:650;color:var(--ink)}.votes{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.votes button{font-size:12px;padding:6px 10px;min-height:36px}.votes button.chosen{border-color:var(--orange);background:var(--pale);color:var(--orange-dark)}.vote-summary{font-size:12px;line-height:1.7;color:var(--muted);margin-top:8px}label{display:grid;gap:8px;font-size:13px;font-weight:600;margin-bottom:16px;min-width:0}input,select,textarea{width:100%;min-width:0;font-size:16px;line-height:1.4;padding:12px 13px;border:1px solid #dedfe3;border-radius:10px;color:var(--ink);background:#fff;min-height:47px}textarea{resize:vertical;min-height:110px;font-weight:400}input[type=color]{padding:5px;height:47px}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--orange)}label.check{display:flex;align-items:center;gap:10px;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .span-2{grid-column:1/-1}.error{background:#fff0ef;color:#a12630;padding:13px;border-radius:10px}.info{background:#fff7ee;border:1px solid #ffe4cc;color:#945722;padding:13px 16px;border-radius:12px;font-size:13px;line-height:1.6}.success{color:var(--green);background:#eff8f1;padding:14px;border-radius:10px}dialog{padding:0;border:1px solid var(--line);border-radius:22px;max-width:660px;width:calc(100% - 32px);max-height:90dvh;box-shadow:0 30px 100px #0003;color:var(--ink);overflow:auto}dialog::backdrop{background:#22252966;backdrop-filter:blur(3px)}#modal-content{padding:26px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.modal-head h2{font-size:23px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.modal-actions .primary{min-width:150px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:#22252c;color:#fff;border-radius:12px;padding:14px 22px;box-shadow:0 5px 30px #0002;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:min(92%,580px);font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading img{width:240px}.loading p{color:var(--muted);margin-top:25px}.auth-page{min-height:100dvh;background:radial-gradient(ellipse at 20% 0%,#ffead8,transparent 55%),#faf9f6;padding:40px 16px;display:flex;align-items:center;justify-content:center}.auth-card{background:#fff;padding:38px;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 70px #66380009;width:460px;max-width:100%}.auth-card h1{font-size:30px;letter-spacing:-1px}.auth-card>p{font-size:14px;color:var(--muted)}.auth-logo{width:220px;max-width:100%;margin-bottom:38px;display:block}.auth-card form>.primary{width:100%}.install-card{width:660px}.install-card details{margin-bottom:24px;font-size:14px;color:var(--muted)}.install-card li{line-height:1.8}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f6f6f6;border-radius:12px;padding:18px;margin:20px 0}.recovery-codes code{font-size:14px;user-select:all}.comment{border-bottom:1px solid var(--line);padding:13px 0}.comment p{white-space:pre-wrap;font-size:14px;overflow-wrap:anywhere}.comment .muted{font-size:12px}.file-list{display:grid;gap:10px}.file-row{display:flex;align-items:center;gap:12px;padding:17px;background:#fff;border:1px solid var(--line);border-radius:14px;min-width:0}.file-row .file-icon{background:#fff0e7;color:var(--orange);padding:10px;border-radius:10px}.file-row .file-info{flex:1;min-width:0}.file-info strong{display:block;overflow-wrap:anywhere}.file-info small{display:block;margin-top:4px}.settings-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.account-row{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.account-row>div{flex:1}.account-row small{display:block}.settings-buttons{display:flex;flex-wrap:wrap;gap:10px}.audit-row{padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.audit-row small{display:block}.stat-number{font-size:28px;font-weight:650;letter-spacing:-1px}.tabs-wrap{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.tabs-wrap button.active{background:var(--pale);border-color:#ffc293;color:var(--orange-dark)}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:18px}.editor-main{padding:0;overflow:hidden}.editor-toolbar{padding:12px;display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);align-items:center}.editor-toolbar button{font-size:13px;padding:9px 11px}.editor-toolbar button.active{background:var(--pale);color:var(--orange-dark);border-color:#ffc494}.editor-toolbar .toolbar-spacer{flex:1}.editor-viewport{height:570px;position:relative;overflow:hidden;background:#f7f7f5}.editor-viewport canvas,.editor-viewport svg.plan-svg{display:block;width:100%;height:100%;touch-action:none}.editor-viewport svg.plan-svg{background:#fafaf8;user-select:none}.plan-controls{position:absolute;left:12px;top:12px;display:grid;gap:5px;z-index:2}.plan-controls button{box-shadow:0 2px 8px #0001;min-width:40px;min-height:40px;padding:8px}.editor-sidebar .card{padding:18px}.editor-sidebar label{font-size:12px;margin-bottom:12px}.editor-sidebar input,.editor-sidebar select{padding:9px 10px;min-height:44px}.editor-status{padding:12px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}.editor-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.editor-heading h1{margin:0;flex:1;font-size:30px}.property-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.property-grid label:last-child:nth-child(odd){grid-column:1/-1}.editor-help{font-size:13px;color:var(--muted);line-height:1.7}.object-palette{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.object-palette button{min-height:60px;display:flex;flex-direction:column;font-size:12px;gap:4px;padding:8px}.dirty{color:var(--orange-dark);font-weight:600}.walk-controls{position:absolute;bottom:30px;right:15px;display:grid;grid-template-columns:44px 44px 44px;gap:4px}.walk-controls button:first-child{grid-column:2}.walk-controls button:nth-child(2){grid-column:1}.hidden{display:none!important}.search-results{font-size:13px;color:var(--muted)}.document-thumb{max-width:100%;max-height:65dvh;object-fit:contain;border-radius:12px}.print-only{display:none}.visit-question{white-space:pre-wrap;line-height:1.7}.help-list{padding-left:20px;line-height:1.8;font-size:14px}.reminder-list{display:grid;gap:10px}.reminder{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.reminder .late{color:#b52e38}.plan-empty-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#fafaf6f2;text-align:center;padding:24px}.plan-empty-overlay>div{max-width:380px}.plan-empty-overlay p{font-size:14px;color:var(--muted)}
@media(min-width:1700px){.editor-viewport{height:650px}.dashboard-grid .hero-plan{min-height:570px}}
@media(max-width:1150px){.sidebar{width:210px}.main-shell{margin-left:210px}.content{padding:25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr)}.three-col{grid-template-columns:1fr 1fr}.three-col>.card:last-child{grid-column:1/-1}.editor-layout{grid-template-columns:minmax(0,1fr) 235px}.editor-toolbar button{padding:8px;font-size:12px}.settings-grid{grid-template-columns:1fr}.card{padding:18px}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px;box-shadow:20px 0 80px #0002}.sidebar.open{transform:translateX(0)}.main-shell{margin-left:0}.topbar{height:76px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:block;width:155px}.mobile-brand img{display:block;width:100%}.mobile-menu{display:inline-flex}.top-actions .avatar-pair,.top-actions>.import-label{display:none}.top-actions{gap:2px}.top-actions>.primary{padding:10px}.top-actions>.primary span{display:none}.content{padding:25px 20px 105px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fffffff5;border-top:1px solid var(--line);padding:8px 12px max(8px,env(safe-area-inset-bottom));justify-content:space-around;backdrop-filter:blur(15px)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:60px;min-height:44px;color:#767b86;text-decoration:none;font-size:10px;padding:3px 6px}.bottom-nav a.active{color:var(--orange)}.bottom-nav .icon{width:22px;height:22px}.editor-layout{grid-template-columns:1fr}.editor-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.editor-sidebar .card{margin:0}.editor-viewport{height:460px}.editor-heading h1{flex-basis:100%}#toast{bottom:95px}.section-heading h1{letter-spacing:-.8px}.auth-page{padding:22px 14px}}
@media(max-width:600px){.content{padding:25px 15px 102px}.topbar{padding:0 15px}.dashboard-grid{grid-template-columns:1fr;margin-top:20px}.dashboard-grid .hero-plan{min-height:370px;padding:14px}.hero-plan .viewport{min-height:280px}.dashboard-grid>.stack{grid-template-columns:1fr}.three-col,.two-col,.form-grid{grid-template-columns:1fr}.three-col>.card:last-child{grid-column:auto}.form-grid .span-2{grid-column:auto}.section-heading{display:block;margin-bottom:20px}.section-heading>button{margin-top:18px}.section-heading p{font-size:14px}h1{font-size:29px}.card{border-radius:16px;padding:17px}.card-head h2{font-size:17px}.hero-plan .card-head{align-items:center;gap:8px}.hero-plan .card-title{gap:7px}.hero-plan .card-title h2{font-size:15px}.segmented button{padding:6px 10px;font-size:12px}.plan-bottom{align-items:flex-start;flex-direction:column}.plan-bottom .primary{width:100%}.list-toolbar{flex-wrap:wrap}.list-toolbar input{flex-basis:100%}.list-toolbar select{max-width:none;width:100%}.record-grid{grid-template-columns:1fr}.record-card .actions{flex-wrap:wrap}.auth-card{padding:27px 22px}.auth-logo{width:200px;margin-bottom:30px}.auth-card h1{font-size:27px}.file-row{padding:12px;gap:8px;flex-wrap:wrap}.file-row .file-info{min-width:130px}.file-row .file-icon{padding:8px}.file-row button,.file-row .button{padding:10px}.editor-viewport{height:370px}.editor-sidebar{grid-template-columns:1fr}.editor-toolbar{gap:5px;padding:8px}.editor-toolbar button{min-height:44px;font-size:12px;padding:8px}.editor-heading{gap:7px}.editor-heading h1{font-size:27px}.editor-heading .segmented{order:3;flex-basis:100%}.editor-heading .segmented button{flex:1}.editor-help{font-size:12px}.editor-status{font-size:11px;flex-wrap:wrap}.recovery-codes{padding:12px;gap:12px 5px}.recovery-codes code{font-size:12px}.modal-actions{flex-wrap:wrap}.modal-actions button{flex:1}#modal-content{padding:21px}dialog{max-height:92dvh;width:calc(100% - 20px)}.top-actions .icon-button{min-width:40px;padding:8px}.desktop-only{display:none}.dashboard-bottom{gap:15px}.settings-buttons button,.settings-buttons .button{width:100%}.info{font-size:12px}.object-palette{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.bottom-nav,button,.actions,.list-toolbar{display:none!important}.main-shell{margin:0}.content{padding:0}.card{box-shadow:none;break-inside:avoid}body{background:white}.print-only{display:block}.record-grid{grid-template-columns:1fr 1fr}}
/* Reconstruction from the user's own source document. */
.plan-guidance{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff6ed;border:1px solid #ffdec2;border-radius:16px;padding:17px 20px;margin-bottom:18px}.plan-guidance p{margin:5px 0 0;color:#865e40;font-size:13px}.plan-guidance>button{flex-shrink:0}.reconstruction-dialog{max-width:1220px;width:calc(100% - 30px)}.recon-steps{display:flex;gap:10px;padding:0;margin:0 0 22px;list-style:none;flex-wrap:wrap}.recon-steps li{padding:8px 12px;border-radius:8px;background:#fff0e4;color:#9e4d16;font-size:13px}.recon-picker{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;gap:15px;align-items:end;margin-bottom:15px}.recon-picker label{margin-bottom:0}.recon-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px}.recon-toolbar{display:flex;gap:7px;flex-wrap:wrap}.recon-toolbar button{font-size:12px;min-height:44px;padding:8px 11px}.recon-toolbar button.active{border-color:#ff9c54;color:#b74a00;background:#fff1e6}#recon-hint{font-size:13px;margin:12px 0}.recon-canvas-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:200px;border:1px solid var(--line);background:#e9e9e6;border-radius:12px;overflow:hidden;margin-bottom:12px;padding:8px}#recon-canvas{display:block;max-width:100%;max-height:470px;width:auto;height:auto;touch-action:none;background:#fff}#recon-source-loading{position:absolute;inset:0;background:#fffffff0;display:flex;align-items:center;justify-content:center;color:var(--muted)}#recon-preview{height:470px;border-radius:12px;overflow:hidden;background:#faf9f6;margin-bottom:12px}#recon-preview canvas{display:block;width:100%;height:100%;touch-action:none}.recon-layout aside .card{padding:16px}.recon-layout aside p,.recon-layout aside small{font-size:12px}.recon-layout aside label{font-size:12px}.recon-layout aside h3{font-size:16px}#recon-feedback{margin:12px 0 0}.plan-guidance strong{font-size:15px}.reconstruction-dialog .modal-actions{position:sticky;bottom:-26px;padding:16px 0;background:#fff;border-top:1px solid var(--line);z-index:3}.editor-heading #cutaway-button{background:#fff;border:1px solid #ddd;color:#69503e}
@media(max-width:850px){.recon-layout{grid-template-columns:1fr}.recon-layout aside{grid-template-columns:1fr 1fr}.plan-guidance{flex-wrap:wrap}.recon-picker{grid-template-columns:1fr 100px}.recon-picker>button{grid-column:1/-1}#recon-preview{height:360px}}
@media(max-width:600px){.reconstruction-dialog{width:calc(100% - 12px);max-height:96dvh}.recon-steps li{font-size:11px;padding:7px 8px}.recon-layout aside{grid-template-columns:1fr}.recon-toolbar button{flex:1;min-width:130px}.recon-canvas-wrap{padding:3px}#recon-canvas{max-height:390px}.plan-guidance{padding:15px}.plan-guidance>button{width:100%}.reconstruction-dialog .modal-actions{bottom:-21px}.reconstruction-dialog .modal-actions button{font-size:13px;min-width:100%;min-height:46px}}
