:root{--paper:#F7F6F2;--white:#fff;--ink:#242420;--muted:#92969e;--line:#e4e5e8;--accent:#80848c;--dark:#24272f;--soft:#eeeff2;--shadow:0 15px 45px rgba(48,38,26,.045);font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{opacity:.42;cursor:not-allowed}input,textarea,select{accent-color:var(--accent)}.shell{display:grid;grid-template-columns:76px minmax(0,1fr);height:100vh;height:100dvh}.rail{background:#282723;display:flex;flex-direction:column;align-items:center;padding:27px 0 18px;gap:10px;z-index:20}.rail .logo{width:40px;height:40px;border:1px solid #585c64;border-radius:12px;background:none;color:#f7f8fb;font-size:23px;letter-spacing:-.12em;padding-right:5px;font-weight:600}.rail .logo i{color:#b6b9bf;font-style:normal}.rail-divider{height:1px;width:28px;background:#454850;margin:20px 0 15px}.rail-btn{color:#a2a6ae;border:0;background:transparent;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;position:relative;transition:.2s}.rail-btn:hover{background:#353840;color:white}.rail-btn.active{background:#eeeff2;color:#282723}.rail-btn.active:before{content:'';width:3px;height:19px;background:#a5a9b1;position:absolute;left:-16px;border-radius:3px}.rail-footer{margin-top:auto;display:grid;gap:12px}.avatar{border-radius:50%;width:34px;height:34px;border:1px solid #6e727a;color:#e9eaed;display:grid;place-items:center;font-size:12px}.app-main{min-width:0;display:flex;flex-direction:column}.topbar{height:78px;min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.72);backdrop-filter:blur(15px);z-index:4}.breadcrumbs{display:flex;gap:13px;align-items:center;min-width:0;font-size:13px}.breadcrumbs strong{font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slash{color:#c1c4ca}.crumb-btn{border:0;background:transparent;color:#7e828a;padding:8px 2px}.top-actions{display:flex;gap:13px;align-items:center}.top-pill{display:flex;align-items:center;gap:8px;font-size:11px;color:#70747c;background:#f0f1f4;border:1px solid #e8e9ec;padding:8px 12px;border-radius:50px}.dot{width:6px;height:6px;border-radius:50%;background:#8f939b;display:inline-block}.text-btn{border:0;background:transparent;color:#646870;font-size:12px;padding:9px 6px}.iconbtn{width:35px;height:35px;border:1px solid #e3e4e7;background:white;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#5a5e66}.iconbtn:hover,.outline:hover{background:#f3f4f7}.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #272622;color:#fff;background:#292824;padding:12px 18px;border-radius:10px;font-size:12px;font-weight:600;min-height:41px;transition:transform .18s,background .18s}.primary:hover{background:#42454d;transform:translateY(-1px)}.primary.light{background:#f4f5f8;color:#282723;border-color:#f4f5f8}.outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:#fff;color:#3f424a;padding:11px 15px;border-radius:10px;font-size:12px;font-weight:550;min-height:40px}.ghost{border:0;background:transparent;color:#767a82;padding:8px 10px;font-size:12px}.ghost:hover{color:#242420}.content{flex:1;overflow-y:auto;overflow-x:hidden}.page{max-width:1510px;margin:0 auto;padding:43px 52px 75px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.19em;color:#888c94;font-weight:700}.h1{font-size:clamp(31px,3vw,47px);letter-spacing:-.056em;font-weight:520;line-height:1.09;margin:12px 0 12px}.sub{font-size:13px;color:#888c94;line-height:1.7;margin:0}.page-head{display:flex;justify-content:space-between;gap:25px;align-items:flex-end;margin-bottom:32px}.page-head .h1{margin-bottom:0}.section-title{font-size:16px;font-weight:620;letter-spacing:-.025em;margin:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:34px 0 17px}.muted{color:#898d95}.tiny{font-size:11px;color:#8e929a}.count{font-size:11px;color:#9fa3ab}.badge{font-size:10px;font-weight:550;display:inline-flex;align-items:center;gap:6px;border:1px solid #dde0e6;background:#f4f5f8;color:#686c74;border-radius:30px;padding:7px 10px;white-space:nowrap}.badge.dark{color:white;background:#494c54;border-color:#494c54}.badge.good{background:#EDF0E8;color:#5C755C;border-color:#DFE8DA}.badge.warn{background:#f4f5f8;color:#7f838b;border-color:#e5e6e9}.metric{padding:26px;background:white;border:1px solid var(--line);border-radius:15px;min-width:0}.metric .k{font-size:10px;color:#888c94;letter-spacing:.045em}.metric strong{display:block;font-size:26px;letter-spacing:-.05em;font-weight:560;margin:15px 0 8px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.divider{height:1px;background:var(--line)}
/* Home */
.home-lead{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,.9fr);gap:24px;margin:30px 0 39px;align-items:stretch}.editorial-card{background:#2A2926;color:#f4f5f8;min-height:290px;border-radius:20px;position:relative;overflow:hidden;padding:36px 37px;display:flex;flex-direction:column;justify-content:space-between}.editorial-card:after{content:'';position:absolute;width:410px;height:410px;right:-90px;top:-110px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 130px rgba(255,255,255,.015)}.editorial-card h2{font-size:clamp(26px,2.6vw,40px);font-weight:450;line-height:1.12;letter-spacing:-.06em;max-width:450px;margin:16px 0 20px;position:relative;z-index:1}.editorial-card .small-overline{font-size:10px;letter-spacing:.2em;color:#b8bbc1;position:relative;z-index:1}.editorial-foot{display:flex;align-items:center;justify-content:space-between;z-index:1;position:relative}.editorial-foot span{font-size:11px;color:#b6b9bf}.note-card{border-radius:20px;border:1px solid var(--line);background:#eaebee;padding:32px 30px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.note-card:after{content:'◜';font-size:270px;font-family:Georgia,serif;line-height:.75;color:#d8dbe1;position:absolute;right:-10px;bottom:-48px;z-index:0}.note-card .small-overline{font-size:10px;letter-spacing:.18em;color:#767a82;z-index:1}.note-card h3{font-weight:510;font-size:24px;letter-spacing:-.045em;z-index:1;line-height:1.25;max-width:270px;margin:0}.note-card .tiny{z-index:1}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;min-width:0;transition:border .2s,transform .2s,box-shadow .2s}.project-card:hover{border-color:#b4b7bd;box-shadow:var(--shadow);transform:translateY(-2px)}.project-art{height:183px;background:#e9eaed;position:relative;overflow:hidden;display:grid;place-items:center}.project-art .floor{width:165px;height:115px;position:relative;background:#b6b9bf;transform:skewY(-24deg) rotate(0deg);box-shadow:19px 21px 0 -1px #a3a7af,0 25px 36px #c2c5cb}.project-art .floor:before{content:'';position:absolute;left:0;top:-64px;width:100%;height:65px;background:#e4e5e8;transform:skewX(37deg);transform-origin:bottom;box-shadow:inset 0 0 0 1px #d1d4da}.project-art .floor:after{content:'';position:absolute;left:-45px;top:-44px;width:45px;height:160px;background:#d2d5db;transform:skewY(55deg);box-shadow:inset 0 0 0 1px #c3c6cc}.furn-art{position:absolute;width:65px;height:30px;background:#abaeb4;left:55px;top:33px;box-shadow:5px 6px 0 #92969e;border-radius:4px}.project-card .project-body{padding:23px 24px}.project-body h3{font-size:16px;letter-spacing:-.03em;font-weight:600;margin:12px 0 8px}.project-meta{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-top:24px;font-size:11px;color:#92969e}.project-card .project-actions{display:flex;gap:6px}.project-card .project-actions button{border:none;background:none;color:#9a9ea6;font-size:12px;padding:2px 5px}.empty-state{border:1px dashed #cbced4;border-radius:16px;padding:55px 30px;text-align:center;background:#fafbfe}.empty-state h3{font-weight:600}
/* Overview */
.overview-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);gap:19px}.overview-hero{min-height:310px;border-radius:18px;background:#d2d5db;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:32px}.overview-hero .project-art{position:absolute;inset:0;height:auto;background:linear-gradient(140deg,#dadde3,#bdc0c6)}.overview-hero .project-art .floor{transform:scale(1.8) skewY(-24deg);filter:drop-shadow(4px 16px 15px #80848c50)}.overview-overlay{z-index:1;padding:19px 22px;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-radius:12px;display:flex;gap:21px;align-items:center;max-width:100%}.overview-overlay h3{font-weight:600;margin:0 0 5px;font-size:15px}.overview-right{display:flex;flex-direction:column;gap:15px}.status-panel{border:1px solid var(--line);background:white;border-radius:17px;padding:26px;flex:1}.status-panel h3{margin:11px 0 20px;font-size:23px;font-weight:560;letter-spacing:-.045em}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #eeeff2;font-size:12px}.list-row:last-child{border-bottom:0}.list-row span:first-child{color:#7a7e86}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{border:1px solid var(--line);background:white;border-radius:16px;padding:24px}.panel h3{font-size:15px;font-weight:600;margin:0 0 20px}.activity{border-left:1px solid #d7dae0;margin-left:6px;padding-left:20px}.activity-row{position:relative;padding:0 0 25px;font-size:12px}.activity-row:before{content:'';position:absolute;left:-25px;top:4px;width:9px;height:9px;border-radius:50%;background:#adb0b6;box-shadow:0 0 0 5px white}.activity-row:last-child{padding-bottom:0}.activity-row small{display:block;font-size:10px;color:#9a9ea6;margin-top:6px}
/* editor */
.editor-page{height:calc(100dvh - 78px);display:grid;grid-template-columns:260px minmax(0,1fr) 270px;min-height:480px}.editor-left,.editor-right{background:#FBFAF7;overflow-y:auto;min-width:0}.editor-left{border-right:1px solid var(--line)}.editor-right{border-left:1px solid var(--line)}.editor-panel-title{padding:25px 22px 20px;display:flex;justify-content:space-between;align-items:center}.editor-panel-title h3{font-size:13px;margin:0;font-weight:670}.editor-section{padding:19px 21px;border-top:1px solid var(--line)}.editor-section h4{margin:0 0 17px;font-size:10px;letter-spacing:.08em;font-weight:700;text-transform:uppercase;color:#898d95}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lib-item{min-width:0;border:1px solid #e6e7ea;border-radius:10px;padding:10px 7px 9px;background:#fff;text-align:left;color:inherit;transition:.2s}.lib-item:hover{border-color:#8c9098;background:#f8f9fc}.lib-thumb{height:55px;display:flex;align-items:center;justify-content:center;margin-bottom:6px}.lib-shape{width:59px;height:27px;border-radius:9px;transform:skewY(-12deg);box-shadow:5px 5px 0 #979ba350,0 8px 10px #a2a6ae1F;position:relative}.lib-shape:after{content:'';position:absolute;left:8px;right:8px;top:6px;height:5px;background:#FFFFFF40;border-radius:12px}.lib-item span{display:block;text-align:center;font-size:10px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-item small{display:block;text-align:center;font-size:9px;color:#9b9fa7;margin-top:4px}.editor-center{display:flex;flex-direction:column;min-width:0;min-height:0;background:#EEEDE9}.editor-tools{height:67px;min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 20px;background:#F6F5F1;border-bottom:1px solid #e2e3e6}.toggle{display:flex;align-items:center;gap:3px;padding:4px;background:#e7e8eb;border-radius:10px}.toggle button{padding:9px 13px;border:0;background:none;border-radius:7px;font-size:11px;color:#92969e}.toggle button.selected{background:white;color:#2b2e36;box-shadow:0 2px 5px #0000000C;font-weight:650}.editor-stage{flex:1;position:relative;overflow:hidden;min-height:230px}.editor-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.editor-stage canvas:active{cursor:grabbing}.stage-stamp{position:absolute;left:22px;top:20px;pointer-events:none}.stage-stamp strong{display:block;font-size:13px;letter-spacing:-.035em}.stage-stamp small{font-size:10px;color:#777b83}.stage-help{position:absolute;left:20px;bottom:22px;display:flex;gap:9px;pointer-events:none;flex-wrap:wrap}.stage-help span{font-size:10px;background:#FFFFFFDB;border:1px solid #FFFFFFDB;box-shadow:0 3px 17px #00000008;border-radius:6px;padding:8px 10px;color:#6e727a}.stage-floating{position:absolute;right:18px;bottom:18px;display:flex;gap:7px}.stage-floating button{background:#FFFFFFE8;border:1px solid #dde0e6;border-radius:9px;padding:10px;color:#363941}.editor-status{height:37px;min-height:37px;background:#F9F8F5;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 19px;font-size:10px;color:#8b8f97}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{color:#8d9199;font-size:10px}.input,.select,.textarea{width:100%;border:1px solid #dbdee4;background:white;color:#31343c;border-radius:9px;min-height:39px;padding:10px 11px;font-size:12px;outline:0}.input:focus,.select:focus,.textarea:focus{border-color:#82868e;box-shadow:0 0 0 3px #9b9fa719}.textarea{min-height:100px;resize:vertical}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.swatch{height:36px;border:1px solid #FFFFFF!important;border-radius:9px;box-shadow:0 0 0 1px #d1d4da;position:relative}.swatch.selected:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#464951;font-size:16px;text-shadow:0 1px #FFFFFFA0}.inspector-empty{text-align:center;padding:40px 12px;font-size:12px;line-height:1.8;color:#888c94}.side-stat{display:flex;justify-content:space-between;font-size:11px;margin:14px 0;color:#7b7f87}.side-stat strong{color:#30333b}.editor-right .outline,.editor-right .primary{width:100%}
/* build estimate supply */
.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:start}.board-col{background:#edeef1;border:1px solid #e7e8eb;border-radius:15px;padding:15px;min-height:290px}.board-title{display:flex;justify-content:space-between;align-items:center;margin:5px 5px 15px;font-size:12px;font-weight:650}.task-card{padding:17px;background:white;border:1px solid #e3e4e7;border-radius:11px;margin-bottom:10px}.task-card h4{font-size:12px;margin:8px 0 14px;line-height:1.45;font-weight:580}.task-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-foot select{width:112px;border:0;background:#f2f3f6;padding:6px 7px;border-radius:6px;color:#575b63;font-size:10px}.table-scroll{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:14px}.data-table{width:100%;border-collapse:collapse;font-size:12px;min-width:620px}.data-table th{text-align:left;background:#F9F8F5;color:#91959d;font-size:10px;text-transform:uppercase;letter-spacing:.045em;font-weight:650;padding:17px 20px}.data-table td{padding:16px 20px;border-top:1px solid #eeeff2}.data-table td:last-child,.data-table th:last-child{text-align:right}.data-table .number{font-variant-numeric:tabular-nums;text-align:right}.data-table .muted-row{color:#8f939b}.data-table .total td{font-size:16px;font-weight:700;background:#f5f6f9}.data-table .input{width:112px;min-height:32px;padding:5px 8px;text-align:right}.toolbar-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.summary-dark{background:#282b33;color:white;border-radius:16px;padding:25px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.summary-dark strong{display:block;font-size:27px;letter-spacing:-.05em;margin-top:10px;font-weight:530}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{border:1px solid var(--line);border-radius:15px;background:white;overflow:hidden}.product-image{height:154px;background:#eaebee;display:grid;place-items:center;position:relative}.product-shape{width:110px;height:57px;border-radius:14px;transform:skewY(-9deg);box-shadow:12px 12px 0 #60646c2B,0 21px 30px #8c909833}.product-shape:after{content:'';position:absolute;top:10px;left:11px;right:11px;height:15px;background:#ffffff36;border-radius:10px}.product-card-body{padding:20px}.product-card h3{font-size:13px;font-weight:650;margin:12px 0 6px}.product-card .outline{width:100%;margin-top:18px}.product-card p{font-size:11px;margin:0;color:#a0a4ac}.product-price{font-size:15px;font-weight:650;margin-top:18px}
/* Chat palette and modals */
.overlay{position:fixed;inset:0;z-index:60;background:#23211FD9;display:flex;align-items:flex-start;justify-content:center;padding:10vh 18px 30px;overflow-y:auto;backdrop-filter:blur(5px)}.modal{width:min(520px,100%);border-radius:18px;background:#FCFBF8;box-shadow:0 25px 90px #0002;padding:29px;max-height:85vh;overflow-y:auto}.modal.large{width:min(650px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.modal h2{font-size:21px;font-weight:600;letter-spacing:-.04em;margin:6px 0}.modal .form-stack{display:grid;gap:16px}.modal-foot{display:flex;justify-content:flex-end;gap:9px;margin-top:26px}.cmd-search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:11px;padding:9px 13px;margin-bottom:13px}.cmd-search input{border:0;outline:0;width:100%;font-size:15px;color:#282b33;min-height:30px}.cmd-option{width:100%;border:0;background:transparent;padding:13px 10px;text-align:left;border-radius:9px;color:#44474f;font-size:12px;display:flex;justify-content:space-between;align-items:center}.cmd-option:hover{background:#eeeff2}.cmd-label{font-size:10px;color:#979ba3;letter-spacing:.07em;margin:18px 0 6px}.assist-panel{border:1px solid #dde0e6;background:#f0f1f4;border-radius:14px;padding:19px;margin-top:18px}.assist-panel h4{font-size:11px;letter-spacing:.04em;margin:0 0 10px}.assist-panel p{font-size:12px;line-height:1.7;color:#595d65;margin:0 0 12px}.assist-input{display:flex;gap:7px}.assist-input input{flex:1;min-width:0}.toast{position:fixed;z-index:100;bottom:26px;right:27px;background:#282b33;color:#fff;border-radius:10px;padding:14px 17px;font-size:12px;box-shadow:0 10px 28px #0002;max-width:min(400px,calc(100vw - 50px))}.toast.warn{background:#945F46}.startup{height:100vh;display:grid;place-content:center;text-align:center;gap:22px;background:#f4f5f8}.startup .brand-mark{font-size:70px;letter-spacing:-.1em;font-weight:640}.startup .brand-mark span{color:#9b9fa7}.startup .load-line{height:2px;width:125px;background:#8c9098;margin:auto}.startup>span{color:#878b93;font-size:10px;letter-spacing:.23em}
@media(max-width:1230px){.page{padding:34px 30px}.topbar{padding:0 25px}.editor-page{grid-template-columns:215px minmax(0,1fr) 232px}.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:940px){.shell{grid-template-columns:62px 1fr}.rail-btn{width:40px}.rail-btn.active:before{left:-11px}.topbar{height:64px;min-height:64px}.editor-page{height:calc(100dvh - 64px);grid-template-columns:205px minmax(0,1fr)}.editor-right{display:none}.editor-left{width:205px}.home-lead,.overview-grid{grid-template-columns:1fr}.projects-grid,.products-grid{grid-template-columns:repeat(2,1fr)}.board{grid-template-columns:1fr 1fr}.editorial-card{min-height:230px}}
@media(max-width:630px){.shell{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 61px}.rail{grid-row:2;grid-column:1;flex-direction:row;padding:7px 9px;justify-content:space-around}.rail .logo,.rail-divider,.rail-footer{display:none}.rail-btn.active:before{display:none}.rail-btn{height:44px;width:44px}.app-main{grid-row:1;grid-column:1;min-height:0}.topbar{padding:0 15px}.top-pill,.text-btn{display:none}.breadcrumbs{gap:7px}.page{padding:29px 17px 50px}.page-head{flex-wrap:wrap;gap:15px}.page-head .primary{width:100%}.metrics,.projects-grid,.products-grid,.two-col{grid-template-columns:1fr}.home-lead{gap:12px}.editorial-card{min-height:260px;padding:26px}.note-card{min-height:190px;padding:23px}.project-art{height:170px}.editor-page{height:calc(100dvh - 64px - 61px);grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 0}.editor-left{display:none}.editor-right{display:none}.editor-tools{padding:0 9px}.editor-tools .outline{padding:8px}.stage-help span{font-size:9px;padding:6px}.board{grid-template-columns:1fr}.summary-dark{align-items:flex-start;flex-direction:column}.overview-hero{min-height:245px}}
@media(max-width:630px){
 .rail{gap:1px;padding:7px 8px}.rail-btn{width:auto;max-width:44px;min-width:0;flex:1}
 .breadcrumbs{flex:1;min-width:0}.breadcrumbs .crumb-btn{max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .top-actions{flex-shrink:0;gap:5px}
 .editor-tools{height:auto;min-height:67px;flex-wrap:wrap;gap:5px;padding:8px}
 .editor-tools .toolbar-line{gap:4px;flex-wrap:wrap}.editor-tools .outline{padding:8px 10px}
 .editor-stage{min-height:160px}.editor-status{padding:0 9px;white-space:nowrap;font-size:9px}
 .editor-status>span:first-child{display:none}.stage-stamp{left:12px;top:13px}
}
