@charset "UTF-8";
:root{--bg:#f7f5f2;--ink:#202329;--muted:#6e6a65;--line:#e6e0d8;--blue:#a94608;--blue-dark:#873600;--navy:#292822;--white:#fff;--radius:14px;font-family:Arial,"Helvetica Neue",sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,3vw,2.65rem);line-height:1.15;letter-spacing:-.035em;margin-bottom:12px;overflow-wrap:anywhere}h2{font-size:1.4rem;line-height:1.3;letter-spacing:-.02em}h3{font-size:1.12rem;line-height:1.4;margin-bottom:4px}p{margin-bottom:16px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e9984d;outline-offset:3px}.topbar{height:84px;padding:0 4.5%;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:1.75rem;font-weight:750;letter-spacing:-.06em;color:var(--ink)}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;background:var(--blue);color:white;width:36px;height:36px;border-radius:9px;font-size:1.9rem;line-height:1;padding-bottom:5px}.brand-divider{height:23px;border-left:1px solid var(--line);margin:0 10px}.brand-caption,.header-label{font-size:.875rem;font-weight:400;color:var(--muted);letter-spacing:0}.account{display:flex;gap:22px;align-items:center;font-size:.875rem}.account-name{font-weight:600;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account form{margin:0}.account-link,.text-button{color:var(--muted);font-size:.875rem}.text-button{border:0;background:none;padding:8px 0}.workspace{max-width:1320px;margin:auto;padding:48px 48px 64px;min-height:calc(100vh - 150px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:34px}.page-heading .muted{margin:0}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.eyebrow.light{color:#ffd0a4}.muted{color:var(--muted);line-height:1.65}.count{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;min-width:32px;height:30px;padding:0 9px;margin-left:14px;border-radius:8px;background:#eee7de;font-size:.95rem;font-weight:500;letter-spacing:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);border:1px solid var(--blue);color:white;border-radius:8px;padding:12px 20px;font-size:.95rem;font-weight:600;line-height:1.45;text-align:center;white-space:normal;min-height:46px}.button:hover{background:var(--blue-dark);border-color:var(--blue-dark);text-decoration:none}.button.secondary{color:var(--ink);background:white;border-color:var(--line)}.button.secondary:hover{background:#f7f1e9}.button.small{font-size:.875rem;padding:9px 14px;min-height:42px}.button.wide{width:100%}.button.danger{background:#ae3038;border-color:#ae3038}.toolbar{display:flex;gap:20px;align-items:center;margin-bottom:26px;border-bottom:1px solid var(--line);padding-bottom:18px}.tabs{display:flex;gap:4px;background:#eee9e2;border-radius:8px;padding:4px}.tabs a{padding:8px 17px;color:var(--muted);font-size:.875rem;font-weight:600;border-radius:5px;white-space:nowrap}.tabs a.active{background:white;color:var(--ink);box-shadow:0 1px 4px #29282210}.search{display:flex;gap:6px;margin-left:auto;max-width:430px;flex:1}.search input{min-width:0;height:42px;font-size:.875rem}.search-button{border:1px solid var(--line);background:white;border-radius:7px;padding:8px 12px;font-size:.875rem;color:var(--ink)}.subtle-link{font-size:.875rem;color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project-card{display:block;min-width:0;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;color:var(--ink);transition:border-color .15s,box-shadow .15s}.project-card:hover{text-decoration:none;border-color:#e7a766;box-shadow:0 8px 24px #20232909}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.object-icon{width:40px;height:40px;background:#fff2e4;border:1px solid #f2d7b9;border-radius:10px;display:grid;place-items:center;font-size:1.7rem;line-height:1;color:var(--blue)}.badge{font-size:.75rem;color:#6e665d;border:1px solid var(--line);border-radius:5px;padding:4px 8px}.project-card h2{font-size:1.25rem;margin-bottom:7px;overflow-wrap:anywhere}.card-address{color:var(--muted);font-size:.875rem;min-height:42px;overflow-wrap:anywhere}.card-metrics{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;padding:18px 0 22px}.card-metrics strong{font-size:1.5rem;font-weight:600;display:block}.card-metrics small{font-size:.875rem;font-weight:400}.card-metrics span{color:var(--muted);font-size:.75rem}.card-bottom{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.75rem}.card-bottom span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{text-align:center;background:white;border:1px dashed #d9cdbc;border-radius:var(--radius);padding:70px 24px}.empty-state h2{font-size:1.5rem}.empty-state .button{margin-top:8px}.empty-plan{width:86px;height:66px;border:2px solid #bc8a52;display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:1fr 1fr;margin:0 auto 28px;gap:4px;padding:4px;transform:rotate(-6deg)}.empty-plan span{border:1px solid #ccaa80;background:#fff5e8}.empty-plan span:first-child{grid-row:span 2}.footer{padding:20px 4.5%;display:flex;justify-content:space-between;border-top:1px solid var(--line);color:var(--muted);font-size:.75rem}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:28px}.narrow{max-width:600px;margin:32px auto}.form-panel{max-width:720px}.form-heading{margin:26px 0}.back{display:inline-block;color:var(--muted);font-size:.875rem;margin-bottom:22px}.field{margin-bottom:22px}.field label{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:.875rem;font-weight:600}.optional{font-weight:400;color:var(--muted);font-size:.75rem}input,textarea{display:block;width:100%;background:#fff;border:1px solid #d7cec3;border-radius:7px;padding:11px 13px;color:var(--ink);min-height:46px}input::placeholder,textarea::placeholder{color:#827b73}textarea{resize:vertical;min-height:112px}.help{font-size:.8125rem;line-height:1.55;color:var(--muted);margin:8px 0 0}.help ul{padding-left:18px;margin:8px 0}.help li{margin-bottom:5px}.form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.form-errors,.field-errors{color:#9e2631;font-size:.875rem}.form-errors{padding:14px 16px;border:1px solid #f1c9cd;border-radius:8px;background:#fff3f4;margin-bottom:20px}.form-errors ul,.field-errors ul{list-style:none;padding:0;margin:0}.invalid input,.invalid textarea{border-color:#c93f4a}.field-errors{margin-top:6px}.notice{padding:14px 18px;border:1px solid #b8d8c7;border-radius:8px;background:#edf8f2;color:#245e41;font-size:.875rem;margin-bottom:24px}.object-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px}.object-main{min-width:0}.metrics-strip{display:grid;grid-template-columns:1fr 1fr .65fr;background:var(--navy);color:white;border-radius:var(--radius);padding:26px 28px;margin-bottom:34px;gap:16px}.metrics-strip>div+div{border-left:1px solid #ffffff24;padding-left:24px}.metrics-strip span{color:#d8ccbb;display:block;font-size:.8125rem;margin-bottom:8px}.metrics-strip strong{font-size:1.85rem;font-weight:600;font-variant-numeric:tabular-nums}.metrics-strip small{font-weight:400;font-size:.95rem}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-heading h2{margin:0}.room-card{padding:23px 25px;background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:16px}.room-top,.room-title{display:flex;align-items:center;gap:16px}.room-top{justify-content:space-between}.room-title{min-width:0}.room-title h3{overflow-wrap:anywhere}.room-number{color:var(--blue);background:#fff0df;align-self:flex-start;border-radius:7px;padding:8px 10px;font-size:.875rem;font-weight:650}.room-title p{font-size:.875rem;color:var(--muted);margin:0}.room-edit{font-size:.875rem}.room-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0 0;padding-top:20px;border-top:1px solid var(--line)}.room-metrics dt{color:var(--muted);font-size:.8125rem;margin-bottom:5px}.room-metrics dd{font-size:1.3rem;margin:0;font-weight:600;font-variant-numeric:tabular-nums}.room-metrics dd span{font-size:.875rem;font-weight:400;color:var(--muted)}.delete-room{display:inline-block;color:var(--muted);font-size:.75rem;margin-top:20px}.object-sidebar .panel{padding:24px}.object-details{margin:0 0 24px}.object-details dt{font-size:.75rem;color:var(--muted);margin-top:18px}.object-details dd{margin:4px 0 0;font-size:.875rem;overflow-wrap:anywhere}.comment{border-top:1px solid var(--line);padding-top:20px;font-size:.875rem;overflow-wrap:anywhere}.comment .eyebrow{font-size:.7rem}.comment p{margin-top:8px}.phase-note{padding:24px 6px}.phase-note>span{font-size:.875rem;font-weight:600}.phase-note p{font-size:.8125rem;color:var(--muted);line-height:1.6;margin-top:8px}.compact{padding:42px 20px}.room-editor{display:grid;grid-template-columns:minmax(0,580px) minmax(280px,360px);gap:28px;align-items:start}.geometry-panel{background:var(--navy);border-radius:var(--radius);color:white;padding:30px}.geometry-values{margin:20px 0}.geometry-values div{padding:14px 0;border-bottom:1px solid #ffffff20;display:flex;align-items:baseline;gap:12px;justify-content:space-between}.geometry-values dt{font-size:.875rem;color:#ead9c4}.geometry-values dd{font-size:1.4rem;margin:0;font-weight:600;font-variant-numeric:tabular-nums}.geometry-values small{font-size:.875rem;font-weight:400}.geometry-help{color:#d8c6af;font-size:.8125rem;margin:0}.room-sketch{margin:24px auto 18px;max-width:280px}.room-plan{display:block;width:100%;height:auto;overflow:visible}.room-plan text{fill:#ead9c4;font-size:14px;font-family:inherit}.room-plan .plan-view-label{fill:#d8c6af;font-size:13px}.plan-height-note{text-align:center;color:#d8c6af;font-size:.8125rem;margin:4px 0 0;line-height:1.5}.pagination{display:flex;gap:24px;justify-content:center;margin-top:30px;font-size:.875rem}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;max-width:1170px;margin:55px auto;min-height:650px;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:white}.auth-aside{background:var(--navy);color:white;padding:48px 48px 30px;overflow:hidden}.auth-aside h1{font-size:3.15rem;line-height:1.12;margin:20px 0 22px;font-weight:600}.auth-aside>p:not(.eyebrow){font-size:.9375rem;color:#ead9c4;max-width:350px;line-height:1.75}.auth-form{padding:74px 58px}.auth-form h2{font-size:1.85rem}.auth-form>.muted{font-size:.9375rem;margin-bottom:30px}.auth-note{font-size:.8125rem;color:var(--muted);margin-top:24px}.plan-art{height:185px;max-width:350px;position:relative;display:grid;grid-template-columns:1.3fr 1fr;grid-template-rows:1fr 1fr;gap:7px;margin-top:42px;border:1px solid #cda477;padding:8px;transform:rotate(-5deg)}.plan-room{border:1px solid #c29a6e;background:#ffffff05;padding:9px 13px;font-size:1.35rem;color:#ffd0a4}.plan-room span{display:block;font-size:.7rem;color:#ead9c4;margin-top:2px}.plan-room.one{grid-row:span 2;padding-top:37px}.plan-scale{position:absolute;bottom:-27px;left:0;font-size:.625rem;letter-spacing:.2em;color:#d5b995}.setup-layout{max-width:1050px;margin:60px auto;display:grid;grid-template-columns:1fr 1.1fr;gap:70px;padding:0 32px}.setup-intro{padding-top:26px}.setup-intro h1{font-size:2.8rem}.steps{list-style:none;padding:0;margin:40px 0}.steps li{padding:16px 0;color:var(--muted);font-size:.9375rem}.steps li span{margin-right:15px;border:1px solid var(--line);padding:7px 9px;border-radius:7px;font-size:.8125rem}.steps .current{color:var(--ink);font-weight:600}.steps .current span{color:white;background:var(--blue);border-color:var(--blue)}.setup-panel h2{margin-bottom:24px}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{position:absolute;z-index:10;top:8px;left:8px;padding:12px;background:white}.draft-status:empty{display:none}
@media(max-width:1050px){.workspace{padding:36px 28px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-layout{margin:30px 24px}.auth-aside{padding:38px 30px}.auth-form{padding:55px 34px}.object-layout{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.metrics-strip{padding:22px 20px}.metrics-strip strong{font-size:1.6rem}.metrics-strip>div+div{padding-left:16px}.dimension-note{display:none}}
@media(max-width:760px){.topbar{height:auto;min-height:72px;padding:16px 20px;flex-wrap:wrap;gap:12px}.brand-caption,.brand-divider,.header-label{display:none}.brand{font-size:1.6rem}.account{gap:14px;flex-wrap:wrap}.account-name{max-width:120px}.workspace{padding:28px 20px 44px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:18px;margin-bottom:26px}.page-heading h1{font-size:2rem}.page-heading .button{font-size:.875rem}.toolbar{flex-wrap:wrap;gap:14px}.search{order:3;flex-basis:100%;max-width:none}.toolbar>.subtle-link{margin-left:auto}.object-layout{grid-template-columns:1fr}.object-sidebar{display:grid;grid-template-columns:1fr}.metrics-strip{gap:10px;padding:22px 18px}.metrics-strip strong{font-size:1.35rem}.metrics-strip>div+div{padding-left:12px}.metrics-strip span{font-size:.75rem}.room-editor{grid-template-columns:1fr}.geometry-panel{order:-1;padding:22px}.room-sketch{display:none}.geometry-values{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:14px 0}.geometry-values div{display:block;border:0;padding:0}.geometry-values dt{font-size:.75rem}.geometry-values dd{font-size:1.2rem;margin-top:6px}.geometry-help{font-size:.75rem}.geometry-help br{display:none}.auth-layout{display:block;max-width:520px;margin:28px 20px;min-height:0}.auth-aside{padding:28px}.auth-aside h1{font-size:2rem;margin:12px 0}.auth-aside h1 br{display:none}.auth-aside>p:not(.eyebrow){display:none}.plan-art{display:none}.auth-form{padding:32px 28px}.auth-form h2{font-size:1.6rem}.setup-layout{display:block;margin:28px auto;padding:0 20px;max-width:580px}.setup-intro{padding:0}.setup-intro h1{font-size:2rem}.setup-intro h1 br{display:none}.steps{display:none}.setup-panel{margin-top:28px}.panel{padding:24px}.footer{padding:18px 20px}.room-card{padding:20px}.room-top{align-items:flex-start}.room-title{gap:10px}.room-edit{font-size:.8125rem}.room-metrics dd{font-size:1.1rem}.section-heading h2{font-size:1.25rem}}
@media(max-width:480px){.project-grid{grid-template-columns:1fr}.account-name{display:none}.topbar{gap:8px}.account{gap:14px}.empty-state{padding:44px 20px}.empty-state h2{font-size:1.3rem}.empty-state br{display:none}.room-number{display:none}.metrics-strip small{font-size:.75rem}.metrics-strip strong{font-size:1.2rem}.metrics-strip span{font-size:.7rem}.room-title p{font-size:.8125rem}.button{padding:11px 16px}.auth-layout{margin:20px 14px}.auth-form{padding:28px 22px}.field label{flex-wrap:wrap;gap:3px}.geometry-values dd{font-size:1.05rem}.section-heading{flex-wrap:wrap}.footer{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Work catalog and room estimates */
select{font:inherit;color:var(--ink);width:100%;min-height:46px;border:1px solid #d7cec3;border-radius:7px;padding:10px 12px;background:white}select:focus-visible{outline:3px solid #e9984d;outline-offset:3px}.catalog-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:24px}.catalog-filters>div{flex:1 1 200px;min-width:0}.catalog-filters label{display:block;font-size:.875rem;margin-bottom:8px;font-weight:600}.catalog-filters>.subtle-link{padding:12px 0}.result-count{font-size:.875rem;color:var(--muted)}.catalog-list{display:grid;gap:12px}.catalog-row{display:flex;align-items:center;gap:24px;background:white;border:1px solid var(--line);border-radius:12px;padding:22px 24px}.catalog-description{flex:1;min-width:0}.catalog-description h3{font-size:1rem;overflow-wrap:anywhere}.catalog-description .eyebrow{font-size:.7rem;margin-bottom:8px}.catalog-prices{display:flex;gap:24px;flex-shrink:0}.catalog-prices span,.estimate-numbers span,.work-summary span{display:block;color:var(--muted);font-size:.8125rem;margin-bottom:5px}.catalog-prices strong{font-size:.9375rem;white-space:nowrap;font-variant-numeric:tabular-nums}.work-summary{display:flex;flex-wrap:wrap;gap:24px 40px;padding:24px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:28px}.work-summary strong{font-size:1.45rem;font-weight:600;font-variant-numeric:tabular-nums}.estimate-item{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:16px}.estimate-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.estimate-heading h3{max-width:700px;overflow-wrap:anywhere}.estimate-heading .badge{flex-shrink:0}.estimate-numbers{display:flex;flex-wrap:wrap;gap:18px 32px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.estimate-numbers strong{font-size:1rem;font-weight:600;font-variant-numeric:tabular-nums}.internal-price{color:#72675b}.item-actions{display:flex;gap:24px;margin-top:22px;font-size:.875rem}.price-summary{display:flex;gap:20px;flex-wrap:wrap;font-size:.9375rem;margin:22px 0}.price-summary p{margin:0}.room-work-link{margin:18px 0 0}
@media(max-width:760px){.catalog-row{flex-wrap:wrap;gap:16px;padding:20px}.catalog-description{flex-basis:100%}.catalog-row>.button{margin-left:auto}.catalog-prices{gap:24px}.catalog-filters{padding:20px;gap:12px}.catalog-filters>div{flex-basis:100%}.estimate-heading{flex-wrap:wrap;gap:10px}.estimate-heading .badge{white-space:normal}.estimate-item{padding:20px}.estimate-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.work-summary{gap:18px 24px;padding:20px}.work-summary strong{font-size:1.2rem}}

/* Readable Cyrillic and explicit room navigation. */
.help,.phase-note p,.room-metrics dt,.estimate-numbers span,.work-summary span,.catalog-prices span,.delete-room,.footer{font-size:14px;line-height:1.6;letter-spacing:normal}
.room-work-link .button{min-height:48px;padding:12px 18px;justify-content:space-between;gap:20px}
.room-work-count{background:#ffffff25;color:white;border-radius:5px;padding:2px 8px;white-space:nowrap;font-size:14px}
.estimate-table-wrap{overflow-x:auto;margin:20px 0}.estimate-table{border-collapse:collapse;width:100%;font-size:14px}.estimate-table th,.estimate-table td{padding:12px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}.estimate-table th:first-child,.estimate-table td:first-child{text-align:left;min-width:240px}.estimate-table th{background:#f5eee5}.estimate-table td:first-child{overflow-wrap:anywhere}.estimate-table td:not(:first-child){white-space:nowrap}.document-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.estimate-totals{max-width:520px;margin:24px 0 0 auto}.estimate-totals div{display:flex;justify-content:space-between;gap:24px;padding:10px 0}.estimate-totals .grand-total{border-top:2px solid var(--ink);font-size:1.25rem}.estimate-section{margin-top:24px}.pricing-note{background:#fff0df;padding:16px;border-radius:8px}.room-total{font-weight:700;text-align:right}.estimate-meta{color:var(--muted);font-size:14px}.export-link{display:block;margin-top:14px}.discount-note{font-size:14px;color:var(--muted)}
@media(max-width:760px){.room-work-link .button{width:100%;gap:10px}.room-work-count{font-size:13px}.room-top{flex-wrap:wrap}.estimate-section{padding:18px}.estimate-totals{margin-left:0}.estimate-totals div{gap:12px}.document-actions .button{flex:1 1 160px}}

/* Compact estimate editing. */
.compact-heading{margin-bottom:20px}.compact-heading h1{font-size:1.9rem}.compact-total{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:14px}.compact-total strong{font-size:20px}.work-lines,.catalog-compact{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.work-line{display:grid;grid-template-columns:minmax(180px,1fr) 160px 115px 130px 25px;gap:12px;align-items:center;padding:7px 14px;border-bottom:1px solid var(--line);font-size:14px;line-height:1.35;min-height:43px}.work-line:last-child{border-bottom:0}.work-line-header{background:#f5eee5;color:var(--muted);font-size:12px;min-height:32px}.line-name{overflow-wrap:anywhere}.line-price,.line-amount{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.line-remove{color:#8992a0;text-align:center;font-size:23px}.inline-quantity{display:flex;align-items:center;gap:5px}.inline-quantity input{width:85px;min-height:30px;padding:4px 6px;font-size:14px}.inline-quantity span{font-size:12px;white-space:nowrap}.save-quantity{padding:3px;border:0;color:var(--blue);background:none}.auto-quantity{border:0;background:none;color:var(--blue);font-size:11px;padding:1px 0}.save-feedback{font-size:13px;min-height:20px;margin:6px 0;color:var(--muted)}.save-feedback.error,[data-save-feedback].error{color:#a32932}.catalog-status{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:var(--muted);margin:10px 0;min-height:20px}.catalog-group{font-size:14px;padding:8px 14px;margin:0;background:#f5eee5;line-height:1.4}.catalog-line{display:flex;align-items:center;gap:12px;padding:8px 14px;min-height:42px;border-bottom:1px solid #eee8e0;font-size:14px;line-height:1.35}.catalog-line:last-child{border:0}.catalog-line.is-selected{background:#fff3e5}.catalog-line form{flex:0 0 22px}.work-check{width:19px;height:19px;min-height:19px;margin:0;accent-color:var(--blue);cursor:pointer}.catalog-name{flex:1;min-width:0;overflow-wrap:anywhere;cursor:pointer}.catalog-unit{width:42px;flex-shrink:0;text-align:center;color:var(--muted);font-size:12px}.catalog-line strong{width:105px;flex-shrink:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.compact-filters{gap:12px;margin-bottom:10px}.compact-filters label{font-size:12px;margin-bottom:4px}.compact-filters input,.compact-filters select{min-height:38px;padding:7px 10px;font-size:14px}.compact-room{padding:16px 18px;margin-bottom:10px}.room-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.project-sections-heading{margin-top:28px}.project-sections{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.section-card{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:9px;background:white;padding:16px;color:var(--ink)}.section-card span{font-size:13px;color:var(--blue)}.internal-tab{display:inline-block;margin:24px 8px;color:#7b8490;font-size:12px}.pricing-layout{display:grid;grid-template-columns:minmax(0,680px) minmax(220px,300px);gap:28px;align-items:start}.pricing-reminder{color:var(--muted);font-size:14px;line-height:1.65;padding:20px 0}.pricing-reminder h2{font-size:16px;color:var(--ink)}.pricing-reminder ul{padding-left:18px}.pricing-reminder li{margin-bottom:8px}
@media(max-width:760px){.work-line{grid-template-columns:minmax(0,1fr) 110px 25px;gap:7px;padding:9px 12px}.line-name{grid-column:1/-1;padding-right:20px}.work-line-header{display:none}.work-line>div:nth-child(2){grid-column:1;grid-row:2}.line-price{display:none}.line-amount{grid-column:2;grid-row:2;font-size:13px}.line-remove{grid-column:3;grid-row:2}.catalog-line{gap:8px;padding:8px 10px;font-size:13px}.catalog-line strong{width:75px;font-size:12px}.catalog-unit{width:26px;font-size:11px}.catalog-line form{flex-basis:19px}.compact-filters>div{flex-basis:140px}.compact-filters{padding:0}.project-sections{grid-template-columns:1fr}.section-card{flex-direction:row;justify-content:space-between}.pricing-layout{grid-template-columns:1fr}.pricing-reminder{padding:0}.room-bottom .button{font-size:13px}.compact-total{font-size:13px}.compact-total strong{font-size:17px}}

.catalog-surface{font-size:12px;font-weight:600;margin:0;padding:4px 14px;background:#faf7f2;color:var(--muted)}.line-surface{font-size:11px;color:var(--muted);margin-left:6px}.estimate-table th,.estimate-table td{padding:6px 8px;font-size:13px}.estimate-section{margin-top:16px}

.team-panel{margin:20px 0}.team-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,1fr) auto;gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.team-row:last-child{border-bottom:0}.team-row p{margin:5px 0 0}.team-email{overflow-wrap:anywhere}.status-blocked{color:#aa2535}.status-active{color:#21643a}.invite-result input{width:100%;margin-bottom:12px}.invite-result [role=status]{margin-left:12px;font-size:14px}.team-history{margin-top:24px}.team-history summary{cursor:pointer}.join-panel{margin:40px auto}.join-panel h1{font-size:28px;overflow-wrap:anywhere}.team-row .badge{margin-left:8px}
@media(max-width:760px){.team-row{grid-template-columns:minmax(0,1fr);gap:10px}.team-row .button{width:100%}.account{flex-wrap:wrap}.team-panel{padding:18px}}

.production-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}.production-row:last-child{border-bottom:0}.production-row h3{overflow-wrap:anywhere}.act-list-row{display:flex;align-items:center;gap:24px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink)}.act-room{margin:26px 0}.act-room h2{font-size:20px;margin-bottom:12px}.source-quantity{flex:0 0 100px;text-align:right;font-size:13px;color:var(--muted)}.act-list-row strong{overflow-wrap:anywhere}.production-row form{flex-shrink:0}
@media(max-width:760px){.production-row{align-items:flex-start;flex-direction:column;gap:12px}.act-list-row{gap:12px;flex-wrap:wrap}.source-quantity{flex-basis:60px;font-size:12px}.work-line>form[data-quantity-form]{grid-column:1;grid-row:2}.work-line>form:last-child:not([data-quantity-form]){grid-column:3;grid-row:2}.account{justify-content:flex-end}}
.work-summary strong span{display:inline;color:inherit;font:inherit;margin:0}.work-summary strong{white-space:nowrap}

.act-destination{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.act-move-link{display:block;font-size:12px;margin-top:4px}.act-room .section-heading{gap:12px;flex-wrap:wrap}.act-room .section-heading h2{margin:0}

/* Project Kvartira brand: warm neutrals and orange actions. */
:root{--accent:#ff7414;--accent-hover:#ee6506;--radius:16px}
.brand{flex-shrink:0;letter-spacing:normal}.brand-logo{display:block;width:190px;height:auto}.brand-caption{max-width:110px;line-height:1.4}.topbar{min-height:90px;height:auto;padding-top:12px;padding-bottom:12px}.account{gap:18px}.account-link:hover,.text-button:hover{color:var(--blue)}
.button{background:var(--accent);border-color:var(--accent);color:#271a11;font-weight:700;border-radius:10px}.button:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#271a11}.button.secondary{background:white;border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:#f7f1e9;border-color:#d4bda4}.button.danger{background:#ae3038;border-color:#ae3038;color:white}.button.danger:hover{background:#92252d;border-color:#92252d;color:white}.room-work-count{background:#ffffff70;color:#271a11}
.panel,.project-card,.room-card{box-shadow:0 3px 16px #37270f04}.project-card:hover,.section-card:hover{border-color:#e7a766}.section-card:hover{text-decoration:none;background:#fffaf4}.metrics-strip{background:linear-gradient(110deg,#302e28,#494033);border-top:3px solid var(--accent)}.geometry-panel{background:#302e28;border-top:3px solid var(--accent)}.room-plan rect,.room-plan path{stroke:#d7ad79}
.auth-aside{background:radial-gradient(ellipse at 100% 0,#735435 0,transparent 65%),#302c25}.auth-aside h1{font-weight:750}.auth-aside h1 em{font-style:normal;color:#ff913d}.auth-layout{box-shadow:0 16px 60px #37270f0a}.plan-art{transform:none;border-color:#cda477;border-radius:6px}.plan-room{background:#ffffff08}.eyebrow{color:#846b50}.eyebrow.light{color:#ffd0a4}.account-link,.text-button{min-height:36px;display:inline-flex;align-items:center}.footer{gap:14px;flex-wrap:wrap}.catalog-line:hover{background:#fffaf4}.catalog-line.is-selected{background:#fff0df}.tabs a.active{color:#873600}.act-destination{background:#fff3e5;border-color:#efcca6;color:#69421f}
@media(max-width:1100px){.brand-caption,.brand-divider{display:none}.topbar{padding-left:24px;padding-right:24px}.account{gap:14px}}
@media(max-width:760px){.topbar{padding:12px 20px;gap:12px}.brand-logo{width:166px}.account{width:100%;justify-content:flex-start;gap:8px 18px}.account-name{margin-left:auto}.auth-aside{padding:30px 28px}.workspace{padding-top:28px}}
@media(max-width:480px){.brand-logo{width:158px}.account{gap:4px 14px}.account-link,.text-button{font-size:13px}.footer{font-size:12px}.auth-aside h1{font-size:2rem}}
.brand-logo{clip-path:inset(1px)}

[data-catalog-results][aria-busy="true"]{opacity:.55;pointer-events:none}[data-filter-feedback]:empty{display:none}[data-filter-feedback].error{color:#a32932}[hidden]{display:none!important}

.payment-summary{margin:20px 0}.payment-summary .estimate-totals{margin:0;max-width:640px}.account{flex-wrap:wrap}.team-row .internal-tab{display:block;margin:12px 0 0}input[type=checkbox]{width:20px;min-height:20px;display:inline-block;accent-color:var(--blue)}

.copy-choice{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid #eee;cursor:pointer}.copy-choice input{width:20px;height:20px;flex:0 0 20px;margin:2px 0}.copy-choice small{display:block}.copy-choice span{min-width:0;overflow-wrap:anywhere}

.quantity-result { display:block; margin-top:4px; font-size:12px; font-weight:600; color:#475569; }
.quantity-result[hidden] { display:none; }

.approval-alert { color:#a11a22; background:#fff0f0; border-radius:4px; padding:2px 5px; font-weight:700; }

.account-link.approval-nav-pending{background:#fff0e4;color:#9b3500;border:1px solid #ff7910;border-radius:8px;padding:8px 10px;font-weight:700}.approval-count{display:inline-block;min-width:22px;padding:2px 6px;border-radius:20px;background:#c62828;color:#fff;text-align:center}

.act-ledger{font-size:13px;line-height:1.4}.act-ledger th,.act-ledger td{padding:8px 10px;vertical-align:top}.act-ledger small{display:block;color:var(--muted,#69717a);font-size:11px;margin-top:4px}.act-ledger .ledger-money{white-space:nowrap;text-align:right}.act-ledger .ledger-object{min-width:180px;max-width:260px}.act-ledger .button.small{font-size:12px;padding:6px 10px;white-space:nowrap}.act-ledger .ledger-date th{background:#f5f2ed;text-align:left;padding:8px 10px;font-weight:600}.ledger-filters{align-items:end;margin:20px 0}.ledger-filters label{display:block;font-size:13px}.ledger-payment{max-width:640px}.ledger-payment .field{margin-bottom:16px}

.ledger-payment{max-width:780px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.ledger-payment .field{margin:0;min-width:0}.ledger-payment .field:has(textarea),.ledger-payment .form-errors,.ledger-payment>p,.ledger-payment>button{grid-column:1/-1}.ledger-payment textarea{min-height:64px}.ledger-payment>p{margin:0}.ledger-payment>button{justify-self:start}@media(max-width:640px){.ledger-payment{grid-template-columns:minmax(0,1fr)}}

/* Schedule payment states. Overdue dates do not change payment colors. */
.schedule-view .schedule-help { margin-bottom: 24px; }
.schedule-view .schedule-summary { gap: 32px; flex-wrap: wrap; }
.schedule-view .schedule-fill { min-width: 200px; flex: 1; max-width: 320px; }
.schedule-view .schedule-fill-column { min-width: 160px; }
.schedule-view .schedule-paid, .schedule-view .schedule-paid span { color: #208344; }
.schedule-view .schedule-unpaid, .schedule-view .schedule-unpaid span { color: #b42318; }
.schedule-view .schedule-money { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.schedule-view .schedule-dates { white-space: nowrap; }
.schedule-view .schedule-bar { display: block; width: 100%; height: 12px; overflow: hidden; border-radius: 4px; background: #e5e3df; margin: 8px 0; }
.schedule-view .schedule-bar-paid { fill: #208344; }
.schedule-view .schedule-bar-unpaid { fill: #c62828; }
.schedule-view .schedule-table > thead > tr > th:first-child, .schedule-view .schedule-table > tbody > tr > td:first-child { min-width: 160px; }
.schedule-view .schedule-table > tbody > tr > td:last-child { white-space: normal; min-width: 120px; }
.schedule-view .schedule-details { margin-top: 12px; }
.schedule-view .schedule-details th:first-child { min-width: 200px; }
.schedule-view .schedule-details td:nth-child(2) { min-width: 240px; white-space: normal; text-align: left; }

.calculation-fields{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px}.calculation-fields>.field{flex:1;min-width:200px}.calculation-fields label{display:block;margin-bottom:8px}.calculation-acts input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:12px}.calculation-acts label{cursor:pointer}.calculation-deductions{margin-bottom:24px}
