@charset "UTF-8";
:root{--bg:var(--brand-background,#f6f5f2);--surface:#fff;--ink:var(--brand-ink,#171717);--muted:var(--brand-muted,#625e59);--accent:var(--brand-action,#c92f1d);--accent-hover:#a72316;--line:var(--brand-border,#e4e1dc);--soft:#f1efeb;--lime:#f6d5ca;--amber:#805818;--radius:18px;--shadow:0 16px 48px #1717170a;font-family:var(--brand-font, "Segoe UI", Arial, sans-serif);color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #c92f1d;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,3vw,36px);line-height:1.18;letter-spacing:-1.2px;font-weight:650}h2{font-size:20px;line-height:1.3;letter-spacing:-.4px}h3{font-size:16px;line-height:1.4}svg.icon{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;background:#fff;padding:10px 20px}.skip-link:focus{top:10px}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--accent);color:#fff;font-size:29px;font-weight:650}.spinner{width:22px;height:22px;display:inline-block;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.btn{border:1px solid transparent;border-radius:10px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 17px;background:var(--accent);color:#fff;font-size:14px;font-weight:550;transition:background .15s,transform .15s;text-decoration:none}.btn:hover{background:var(--accent-hover);text-decoration:none}.btn.secondary{border-color:var(--line);color:var(--ink);background:#fff}.btn.secondary:hover{background:var(--soft)}.btn.ghost{color:var(--muted);background:transparent}.btn.ghost:hover{color:var(--accent);background:var(--soft)}.btn.danger{background:#a72316}.btn.compact{padding:7px 11px;min-height:36px;font-size:13px}.btn.full{width:100%}.icon-btn{width:40px;height:40px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}.text-btn{border:0;background:transparent;padding:0;color:var(--accent);text-align:left;cursor:pointer}.text-btn:hover{text-decoration:underline}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.divider{height:1px;background:var(--line);margin:24px 0}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.02fr 1fr;padding:24px;gap:24px}.auth-story{background:var(--accent);color:#f3f4ea;border-radius:24px;padding:44px;display:flex;flex-direction:column;justify-content:space-between;min-height:690px;overflow:hidden;position:relative}.wordmark{display:inline-flex;align-items:center;gap:10px;font-size:23px;font-weight:700;letter-spacing:3px;line-height:1}.wordmark img{width:34px;height:34px}.auth-story .wordmark{position:relative;z-index:1}.story-text{max-width:470px;position:relative;z-index:1}.story-text h1{font-size:clamp(36px,4.2vw,62px);font-weight:500;letter-spacing:-2px;line-height:1.07;margin:0 0 22px}.story-text p{max-width:350px;font-size:16px;color:#d2ded0}.story-foot{display:flex;justify-content:space-between;gap:15px;color:#b8cbbd;font-size:12px;position:relative;z-index:1}.furniture-art{height:255px;position:relative;width:90%;max-width:420px;align-self:center;margin:35px 0 40px;perspective:800px}.furniture-art:after{content:"";position:absolute;bottom:-16px;left:2%;height:25px;width:95%;background:#08261d38;border-radius:50%;filter:blur(12px)}.cabinet{position:absolute;inset:12px 30px 12px 10px;background:linear-gradient(105deg,#d6c5a5,#b6a68a);border:1px solid #eadbbe80;transform:rotateY(-14deg) rotateX(2deg);display:grid;grid-template-columns:1fr 1fr 1fr;box-shadow:19px 11px 0 #ad9e81}.cabinet:before,.cabinet:after{content:"";position:absolute;bottom:-23px;width:8px;height:22px;background:#c6b89b}.cabinet:before{left:15px}.cabinet:after{right:15px}.cabinet span{border-right:1px solid #7c745855;position:relative;background:repeating-linear-gradient(92deg,transparent 0 19px,#b2a17e22 20px 21px)}.cabinet span:after{content:"";position:absolute;right:10px;top:42%;height:27px;width:3px;background:#675f49;border-radius:3px}.art-tag{position:absolute;z-index:1;right:0;bottom:25px;color:#e4ecde;border:1px solid #8cab9655;border-radius:8px;padding:8px 12px;background:#184d40eb;font-size:11px;letter-spacing:1px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:35px}.auth-content{width:100%;max-width:360px}.auth-content h2{font-size:29px;letter-spacing:-.8px;margin-bottom:10px}.auth-content>.muted{margin-bottom:30px}.auth-content .mobile-brand{display:none}.auth-note{padding:16px;border-radius:12px;background:#f1efeb;display:flex;gap:10px;font-size:13px;color:#625e59;margin-top:25px}.auth-note p{margin:0}.copyright{font-size:12px;color:var(--muted);margin-top:40px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.field label,.field-label{font-size:13px;font-weight:550;color:#45413d}.field input,.field textarea,.field select,.search-input{border:1px solid #d9d5cf;border-radius:10px;background:#fff;padding:12px 13px;color:var(--ink);width:100%;min-width:0;transition:border-color .15s}.field input:hover,.field textarea:hover{border-color:#aaa39a}.field textarea{resize:vertical;min-height:110px}.field small{font-size:12px;color:var(--muted)}.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.field-grid .field{min-width:0}.form-error{color:#a72316;background:#fff0eb;border:1px solid #f0c7bc;padding:11px 13px;border-radius:10px;font-size:13px;margin-bottom:18px}.form-error:empty{display:none}.form-info{background:var(--soft);padding:12px 15px;border-radius:10px;font-size:13px;color:#625e59}
.layout{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;border-right:1px solid var(--line);background:#ffffff;padding:34px 21px 20px;display:flex;flex-direction:column;z-index:20}.sidebar .wordmark{font-size:21px;letter-spacing:2.1px;padding:0 10px}.workspace-label{font-size:11px;margin:18px 10px 35px;color:var(--muted);letter-spacing:.3px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-btn{border:0;background:transparent;display:flex;gap:11px;align-items:center;padding:12px 14px;border-radius:10px;color:#625e59;text-align:left;font-size:14px}.nav-btn.active{background:#fbe9e4;color:var(--accent);font-weight:600}.nav-btn:hover{background:var(--soft)}.sidebar-help{margin-top:auto;background:#f6f5f2;padding:17px;border-radius:14px;font-size:13px;color:#625e59}.sidebar-help strong{color:#171717;display:block;margin:9px 0 7px}.sidebar-help p{margin:0}.sidebar-foot{display:flex;align-items:center;gap:10px;margin:24px 4px 0;min-width:0}.avatar{width:37px;height:37px;border-radius:50%;background:#eeeae4;color:#625e59;display:grid;place-items:center;font-size:13px;font-weight:700;flex:0 0 auto}.user-text{min-width:0;flex:1}.user-text strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-text span{display:block;font-size:11px;color:var(--muted)}.sidebar-foot .icon-btn{background:transparent;border:0;width:30px}.workspace{grid-column:2;min-width:0}.topbar{height:83px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#ffffffcc}.topbar-label{font-size:13px;color:var(--muted)}.topbar-label b{font-weight:500;color:var(--ink)}.connection{font-size:12px;display:flex;align-items:center;gap:7px;color:#625e59}.connection:before{content:"";width:6px;height:6px;border-radius:50%;background:#477153}.connection.offline{color:#987330}.connection.offline:before{background:#ca9c46}.topbar-mobile{display:none}.main-content{max-width:1440px;padding:38px 42px 55px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-head h1{margin-bottom:8px}.page-head p{margin:0;color:var(--muted);font-size:14px}.page-head .eyebrow{margin-bottom:8px}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat{padding:21px 23px;background:var(--surface);border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:16px}.stat-icon{width:43px;height:43px;border-radius:12px;background:#fbe9e4;color:#c92f1d;display:grid;place-items:center}.stat-value{font-size:26px;font-weight:600;line-height:1.1;letter-spacing:-.5px}.stat-label{font-size:12px;color:var(--muted);margin-top:5px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter-btn{border:0;background:transparent;padding:9px 13px;border-radius:9px;font-size:13px;color:var(--muted)}.filter-btn.active{background:#fbe9e4;color:var(--accent);font-weight:600}.search{position:relative;min-width:190px;max-width:280px;flex:1}.search>.icon{position:absolute;left:12px;top:12px;color:#625e59;width:17px}.search-input{padding:10px 12px 10px 37px;background:transparent;font-size:13px}.order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.order-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden;transition:box-shadow .15s,border-color .15s;min-width:0;display:flex;flex-direction:column}.order-card:hover{border-color:#c5beb5;box-shadow:var(--shadow)}.order-card-art{height:126px;background:#f1efeb;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.order-card-art:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 50%,#ffffff45 50%)}.order-card-art .icon{width:74px;height:74px;stroke-width:.7;color:#aaa197;position:relative}.order-card-art .revision{position:absolute;right:16px;top:14px;font-size:10px;background:#ffffffb3;padding:4px 8px;border-radius:5px;color:#625e59;letter-spacing:.6px}.order-card:nth-child(3n+2) .order-card-art{background:#f1efeb}.order-card:nth-child(3n+2) .order-card-art .icon{color:#aaa197}.order-card:nth-child(3n+3) .order-card-art{background:#f1efeb}.order-card:nth-child(3n+3) .order-card-art .icon{color:#aaa197}.order-card-body{padding:21px 22px;display:flex;flex-direction:column;flex:1}.order-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;margin-bottom:12px;color:var(--muted)}.order-card h2{margin-bottom:8px;font-size:19px;overflow-wrap:anywhere}.order-card h2 button{font:inherit;font-weight:600;color:inherit}.order-brief{font-size:13px;color:var(--muted);min-height:38px;margin-bottom:21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.order-card-foot{border-top:1px solid var(--line);padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;color:var(--muted);font-size:11px}.order-card-foot .text-btn{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:550}.badge{font-size:10px;padding:5px 8px;border-radius:6px;display:inline-flex;align-items:center;gap:5px;background:#f1efeb;color:#625e59;white-space:nowrap}.badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.badge.review{background:#fff4dc;color:#805818}.badge.approved{background:#edf3ee;color:#42684d}.empty{padding:58px 25px;border:1px dashed #cfc8bf;border-radius:var(--radius);text-align:center;background:#ffffff60}.empty>.icon{width:42px;height:42px;color:#978d80;margin-bottom:15px;stroke-width:1.2}.empty h2{font-size:20px;margin-bottom:9px}.empty p{max-width:410px;margin:0 auto 22px;color:var(--muted);font-size:14px}.empty .btn{margin-top:3px}.empty.compact{padding:30px 20px}.loading-panel{padding:50px;text-align:center;color:var(--muted)}.loading-panel p{margin:15px 0 0}.error-panel{padding:22px;border:1px solid #ecd7c1;background:#fff7ec;border-radius:14px;color:#805e3c}.error-panel p{margin:0 0 15px}.offline-banner{padding:12px 20px;text-align:center;font-size:13px;background:#fff3d7;color:#8b692d}.bottom-nav{display:none}
.back-link{display:flex;gap:7px;align-items:center;margin-bottom:22px;color:var(--muted);font-size:13px}.back-link .icon{width:16px}.detail-head{margin-bottom:22px}.detail-head h1{margin:9px 0 10px;overflow-wrap:anywhere}.detail-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow-x:auto;scrollbar-width:none}.tab-btn{border:0;border-bottom:2px solid transparent;padding:14px 0;background:transparent;color:var(--muted);font-size:13px;white-space:nowrap}.tab-btn.active{border-bottom-color:var(--accent);color:var(--accent);font-weight:600}.detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:20px;min-width:0}.panel>h2{font-size:17px;margin-bottom:19px}.panel-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.panel-head h2{font-size:17px;margin:0}.brief-text{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#625e59}.spec-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:21px;margin-top:22px;border-top:1px solid var(--line)}.spec-grid span{font-size:11px;color:var(--muted);display:block}.spec-grid strong{font-size:15px;display:block;margin-top:5px;font-weight:550}.material-row{margin-top:19px;font-size:13px;color:var(--muted)}.material-row strong{color:var(--ink);font-weight:500}.step{display:flex;gap:12px;position:relative;padding:0 0 24px}.step:last-child{padding-bottom:0}.step:not(:last-child):before{content:"";position:absolute;width:1px;background:var(--line);left:13px;top:29px;bottom:5px}.step-dot{width:27px;height:27px;border-radius:50%;background:#f1efeb;display:grid;place-items:center;font-size:11px;color:#625e59;flex:0 0 auto}.step.done .step-dot{background:#edf3ee;color:#42684d}.step.current .step-dot{background:var(--accent);color:#fff}.step strong{font-size:13px;display:block;font-weight:550}.step p{font-size:11px;color:var(--muted);margin:4px 0 0}.callout{padding:19px;background:#fbe9e4;border-radius:13px;font-size:13px;color:#625e59}.callout strong{display:block;margin-bottom:7px;color:#171717}.callout p{margin-bottom:15px}.callout p:last-child{margin-bottom:0}.file-list{display:grid;gap:10px}.file-row{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--line);border-radius:12px;min-width:0}.file-icon{height:41px;width:41px;display:grid;place-items:center;background:var(--soft);border-radius:10px;color:#625e59;flex:0 0 auto}.file-info{min-width:0;flex:1}.file-info strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere}.file-info span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.file-preview{width:54px;height:44px;object-fit:cover;border-radius:7px;background:var(--soft);flex:0 0 auto}.file-row a{flex:0 0 auto}.upload-box{border:1px dashed #cfc8bf;border-radius:13px;background:#faf9f7;padding:25px;text-align:center;margin-bottom:20px}.upload-box>.icon{width:30px;height:30px;color:#978d80;margin-bottom:8px}.upload-box p{font-size:13px;color:var(--muted);margin:8px 0 15px}.upload-box .field{text-align:left;max-width:300px;margin:15px auto}.upload-progress{height:8px;background:#e4e1dc;border-radius:5px;overflow:hidden;margin-top:16px}.upload-progress>span{display:block;height:100%;background:var(--accent);width:0;transition:width .2s}.capture-note{font-size:12px;color:var(--muted);margin:14px 0 0}.message{display:flex;gap:12px;margin-bottom:23px}.message:last-child{margin-bottom:0}.message .avatar{width:32px;height:32px;font-size:11px}.message-body{min-width:0;flex:1}.message-meta{display:flex;gap:10px;align-items:baseline;margin-bottom:5px;flex-wrap:wrap}.message-meta strong{font-size:12px;font-weight:550}.message-meta time{font-size:10px;color:var(--muted)}.message p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.message-compose{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.message-compose .field{margin-bottom:12px}.message-compose textarea{min-height:85px}.timeline{list-style:none;padding:0;margin:0}.timeline li{display:flex;gap:15px;position:relative;padding-bottom:24px}.timeline li:last-child{padding-bottom:0}.timeline li:not(:last-child):before{content:"";position:absolute;left:15px;top:33px;bottom:3px;width:1px;background:var(--line)}.timeline .file-icon{width:32px;height:32px;border-radius:50%}.timeline .icon{width:16px}.timeline p{font-size:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.timeline time{font-size:11px;color:var(--muted)}.activity-row{display:flex;align-items:center;gap:16px;padding:19px 0;border-bottom:1px solid var(--line)}.activity-row:last-child{border:0;padding-bottom:0}.activity-row:first-child{padding-top:0}.activity-row>div:nth-child(2){flex:1;min-width:0}.activity-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.activity-row time{font-size:11px;color:var(--muted)}.member-row{display:flex;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.member-row:last-child{border:0}.member-info{flex:1;min-width:0}.member-info strong{font-size:14px;font-weight:550;display:block}.member-info span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.role-label{font-size:11px;background:var(--soft);border-radius:5px;padding:4px 8px;color:#625e59}.invite-result{padding:16px;border:1px solid #d9c4bd;background:#fbe9e4;border-radius:12px;margin-top:20px}.invite-result .field{margin-bottom:12px}.invite-result input{font-size:12px}.capability-list{display:grid;gap:12px;font-size:13px}.capability-row{display:flex;align-items:center;gap:10px}.capability-row .icon{color:#42684d;width:17px}.capability-row.unavailable{color:var(--muted)}.capability-row.unavailable .icon{color:#978d80}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.account-grid .panel{margin:0}.account-profile{display:flex;align-items:center;gap:15px;margin-bottom:25px}.account-profile .avatar{width:52px;height:52px;font-size:19px}.account-profile h2{margin:0 0 4px;font-size:20px}.account-profile p{margin:0;font-size:13px;overflow-wrap:anywhere}.install-hint{padding:15px;border-radius:12px;background:var(--soft);color:#625e59;font-size:13px;margin:18px 0 0}
dialog{width:min(550px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:20px;box-shadow:0 30px 110px #17171726;background:var(--bg);color:var(--ink)}dialog::backdrop{background:#17171770;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:2}.modal-head h2{margin:0;font-size:21px}.modal-content{padding:24px 25px}.modal-content>p{font-size:14px;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.toast-region{position:fixed;right:25px;bottom:25px;z-index:100;display:grid;gap:10px;max-width:min(410px,calc(100vw - 40px))}.toast{padding:15px 20px;background:var(--accent);color:#fff;border-radius:12px;box-shadow:0 8px 30px #17171726;font-size:13px;animation:toast-in .2s ease-out}.toast.error{background:#a72316}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.noscript{padding:24px;text-align:center}
.story-text .story-eyebrow{color:#b3c6af}.invite-cancel{margin-top:12px}.button-row.centered{justify-content:center}.button-row.end{justify-content:flex-end}.approve-error{margin-top:18px}.consent-check{display:flex;gap:10px;margin-top:20px;align-items:flex-start}.consent-check input{margin-top:4px}.upload-box .upload-caption{margin:18px 0 0}.upload-cancel{margin-top:9px}progress.upload-progress{display:block;width:100%;appearance:none;border:0;color:var(--accent);background:#e4e1dc}progress.upload-progress::-webkit-progress-bar{background:#e4e1dc;border-radius:5px}progress.upload-progress::-webkit-progress-value{background:var(--accent);border-radius:5px}progress.upload-progress::-moz-progress-bar{background:var(--accent);border-radius:5px}
@media(min-width:1450px){.order-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-card-art{height:150px}}
@media(max-width:1100px){.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px;padding:30px 15px 18px}.sidebar .wordmark{font-size:18px;letter-spacing:1.8px;padding:0 7px}.sidebar .wordmark img{width:29px}.topbar{padding:0 28px}.main-content{padding:30px 28px 45px}.detail-grid{grid-template-columns:1fr}.detail-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.overview-grid{gap:12px}.stat{padding:17px 15px;gap:12px}.account-grid{grid-template-columns:1fr}.auth-story{padding:35px}.auth-panel{padding:25px}.toolbar{align-items:flex-start;flex-direction:column}.search{max-width:none;width:100%}}
@media(max-width:760px){.auth-layout{display:block;padding:0}.auth-story{display:none}.auth-panel{padding:40px 25px;min-height:100dvh}.auth-content .mobile-brand{display:block;margin-bottom:45px;font-size:22px;letter-spacing:3px;font-weight:700;color:var(--accent)}.auth-content h2{font-size:28px}.layout{display:block}.sidebar{display:none}.workspace{display:block}.topbar{height:70px;padding:0 20px;background:#ffffff}.topbar-label{display:none}.topbar-mobile{display:flex}.topbar-mobile .wordmark{font-size:18px;letter-spacing:2px}.topbar-mobile .wordmark img{width:28px;height:28px}.connection{font-size:10px}.main-content{padding:28px 20px calc(100px + env(safe-area-inset-bottom))}.page-head{align-items:flex-start;margin-bottom:22px;gap:12px}.page-head h1{font-size:28px;letter-spacing:-.7px}.page-head p{font-size:12px;max-width:250px}.page-head>.btn{font-size:12px;min-height:40px;padding:9px 12px;white-space:nowrap}.page-head>.btn .icon{width:16px}.page-head .eyebrow{font-size:9px}.overview-grid{gap:8px;margin-bottom:23px}.stat{padding:14px 12px;display:block;border-radius:12px}.stat-icon{display:none}.stat-value{font-size:23px}.stat-label{font-size:10px;margin-top:7px}.filters{gap:3px;flex-wrap:nowrap;width:100%;overflow-x:auto}.filter-btn{padding:8px 10px;font-size:11px;white-space:nowrap}.toolbar{gap:14px;margin-bottom:17px}.order-grid{grid-template-columns:1fr;gap:16px}.order-card-art{height:110px}.order-card-art .icon{width:65px;height:65px}.order-card-body{padding:19px 20px}.order-card h2{font-size:18px}.order-brief{min-height:0}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:30;backdrop-filter:blur(12px);justify-content:space-around}.bottom-nav .nav-btn{display:flex;flex-direction:column;gap:4px;font-size:9px;padding:6px 13px;border-radius:10px;min-width:65px;text-align:center}.bottom-nav .nav-btn .icon{width:20px;height:20px}.bottom-nav .nav-btn.active{background:transparent;color:var(--accent)}.detail-head h1{font-size:28px}.detail-meta{font-size:11px;gap:8px}.tabs{gap:23px;margin:0 -20px 22px;padding:0 20px}.tab-btn{font-size:12px}.panel{padding:20px;border-radius:15px}.detail-grid>aside{display:block}.spec-grid strong{font-size:14px}.spec-grid span{font-size:10px}.field-grid{gap:8px}.field-grid .field label{font-size:11px}.field-grid input{padding:11px 8px}.file-row{padding:11px;gap:9px}.file-info strong{font-size:12px}.file-info span{font-size:10px}.file-preview{display:none}.file-icon{width:35px;height:35px}.file-row .icon-btn{width:33px;height:36px}.upload-box{padding:20px 15px}.toast-region{right:20px;bottom:calc(88px + env(safe-area-inset-bottom))}.modal-head{padding:20px}.modal-content{padding:20px}.modal-head h2{font-size:19px}.member-row{gap:9px}.member-info span{font-size:11px}.role-label{font-size:9px}.activity-row{gap:11px}.activity-row .badge{font-size:9px}.activity-row strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.project-overview-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid var(--line);border-radius:9px;color:var(--accent);font-size:12px;text-decoration:none;white-space:nowrap}.project-overview-link:hover{background:var(--soft)}.project-overview-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.auth-content>.project-overview-link{display:flex;margin:20px auto 0;width:fit-content}.topbar>.project-overview-link{margin-left:auto;margin-right:16px}@media(max-width:760px){.topbar>.project-overview-link{font-size:11px;padding:7px 9px;margin-right:0}.topbar:has(.project-overview-link) .connection{display:none}}

/* «Свой почерк» — shared SAMDELA identity. */
:root {
  --bg: var(--brand-background, #f6f5f2);
  --surface: var(--brand-paper, #fff);
  --ink: var(--brand-ink, #171717);
  --muted: var(--brand-muted, #625e59);
  --line: var(--brand-border, #e4e1dc);
  --accent: var(--brand-action, #c92f1d);
  --accent-hover: var(--brand-action-hover, #ab2516);
  --soft: #f1efeb;
  --radius: 18px;
  --shadow: 0 12px 36px #1717170a;
  font-family: var(--brand-font, "Segoe UI", Arial, sans-serif);
}
body { line-height: 1.6; }
h1, h2, h3 { color: var(--ink); }
h1 { font-weight: 600; letter-spacing: -.045em; }
button, input, textarea, select { accent-color: var(--accent); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 4px;
}
.btn { border-radius: 12px; min-height: 46px; font-weight: 600; }
.btn.compact, .icon-btn { min-height: 40px; border-radius: 12px; }
.btn.ghost { color: var(--muted); }
.btn.danger { background: var(--brand-danger, #ac2035); }
.wordmark { line-height: 1; display: inline-flex; max-width: 100%; }
.wordmark img, .sidebar .wordmark img { display: block; width: 184px; height: auto; max-width: 100%; }
.boot-brand { width: 240px; max-width: calc(100vw - 64px); height: auto; }
.boot p { color: var(--muted); }
.brand-mark { background: transparent; }
.auth-layout { gap: 28px; padding: 28px; max-width: 1800px; margin: auto; }
.auth-story {
  background: #eeebe5; color: var(--ink); border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 64px); border-radius: 20px; min-height: 720px;
}
.auth-story:before {
  content: ""; position: absolute; right: -110px; top: 17%; width: 300px; height: 300px;
  border: 1px solid #d9d2c8; border-radius: 50%; pointer-events: none;
}
.auth-story .wordmark img { width: 220px; }
.story-text { margin-top: 44px; max-width: 550px; }
.story-text h1 { font-size: clamp(36px, 4vw, 62px); font-weight: 600; line-height: 1.08; }
.story-text .story-eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .13em; margin-bottom: 22px; }
.story-text p { color: var(--muted); font-size: 16px; max-width: 400px; line-height: 1.7; }
.story-foot { color: var(--muted); padding-top: 20px; border-top: 1px solid #d8d1c7; }
.furniture-art { margin: 32px 0 44px; height: 230px; width: 90%; }
.furniture-art:after { background: #483c2724; }
.cabinet { border-color: #eadfcf; border-radius: 3px; box-shadow: 16px 10px 0 #b3a089; }
.art-tag { background: var(--surface); border: 1px solid var(--line); color: var(--accent); padding: 10px 14px; border-radius: 12px; letter-spacing: .08em; }
.auth-panel { padding: 40px; }
.auth-content { max-width: 390px; }
.auth-content h2 { font-size: 34px; font-weight: 600; letter-spacing: -.045em; }
.auth-content > .eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 12px; }
.auth-content > .muted { font-size: 15px; line-height: 1.7; margin-bottom: 30px; }
.field { margin-bottom: 20px; }
.field label, .field-label { font-size: 13px; color: var(--ink); font-weight: 600; }
.field input, .field textarea, .field select, .search-input { border-radius: 12px; border-color: #d9d5cf; min-height: 46px; }
.field input::placeholder, .field textarea::placeholder, .search-input::placeholder { color: #7b756e; opacity: 1; }
.auth-note { background: #eeece7; color: var(--muted); border-radius: 14px; padding: 18px; }
.auth-note > .icon { color: var(--accent); margin-top: 2px; }
.copyright { margin-top: 30px; }
.sidebar { background: var(--surface); padding-top: 32px; }
.sidebar .wordmark { padding: 0 9px; }
.workspace-label { margin-bottom: 30px; }
.nav-btn { color: var(--muted); border-radius: 12px; min-height: 46px; }
.nav-btn.active { background: var(--brand-tint, #fff0eb); color: var(--accent); }
.sidebar-help { background: var(--bg); padding: 19px; border: 1px solid var(--line); }
.sidebar-help > .icon { color: var(--accent); }
.sidebar-help strong { color: var(--ink); }
.sidebar-foot { padding-top: 20px; border-top: 1px solid var(--line); }
.topbar { background: #ffffffb3; }
.main-content { padding-top: 42px; }
.page-head { margin-bottom: 30px; }
.page-head p { font-size: 15px; }
.stat { padding: 24px; border-radius: 16px; }
.stat-value { font-size: 30px; font-weight: 600; }
.stat-label { font-size: 13px; }
.stat-icon { background: var(--bg); color: var(--accent); }
.filter-btn { min-height: 44px; border-radius: 12px; }
.filter-btn.active { background: var(--brand-tint, #fff0eb); }
.search-input { background: var(--surface); }
.search > .icon { top: 14px; }
.order-card { box-shadow: 0 2px 2px #17171702; }
.order-card-art, .order-card:nth-child(3n+2) .order-card-art, .order-card:nth-child(3n+3) .order-card-art {
  background: #eeebe5; height: 126px;
}
.order-card-art:before { background: linear-gradient(125deg, transparent 54%, #ffffff55 54%); }
.order-card-art .icon, .order-card:nth-child(3n+2) .order-card-art .icon, .order-card:nth-child(3n+3) .order-card-art .icon { color: #9c9080; }
.order-card-art .revision { color: var(--muted); border-radius: 8px; font-size: 11px; }
.order-card h2 { font-size: 20px; }
.order-meta, .order-card-foot { font-size: 12px; }
.badge { font-size: 11px; padding: 5px 9px; border-radius: 8px; }
.badge.review { color: var(--brand-warning, #835300); background: #fbf1df; }
.badge.approved { color: var(--brand-success, #23704b); background: #edf3ee; }
.empty { background: var(--surface); padding: 64px 25px; }
.empty > .icon { color: var(--accent); }
.panel { border-radius: 18px; }
.panel > h2, .panel-head h2 { font-size: 18px; }
.step-dot { color: var(--muted); }
.callout { background: var(--brand-tint, #fff0eb); color: var(--muted); }
.callout strong { color: var(--ink); }
.upload-box { background: #faf9f7; }
.upload-box > .icon { color: var(--accent); }
.file-icon { color: var(--muted); background: var(--bg); }
.member-info strong, .account-profile h2 { overflow-wrap: anywhere; }
.account-profile > div:last-child { min-width: 0; }
.role-label { color: var(--muted); border-radius: 8px; }
.install-hint, .invite-result { color: var(--muted); }
.toast { background: var(--ink); }
.toast.error { background: var(--brand-danger, #ac2035); }
dialog { background: var(--surface); }
.modal-head { background: var(--surface); }
.consent-check { font-size: 14px; }
.consent-check input { flex: 0 0 auto; width: 18px; height: 18px; }
.project-overview-link { min-height: 44px; border-radius: 12px; }
@media (max-width: 1100px) {
  .auth-layout { gap: 16px; padding: 18px; }
  .auth-story { padding: 32px; }
  .auth-panel { padding: 28px; }
  .sidebar .wordmark img { width: 165px; }
  .stat { padding: 19px 16px; }
}
@media (max-width: 760px) {
  .auth-layout { padding: 0; background: var(--surface); }
  .auth-panel { padding: 36px 24px; align-items: flex-start; }
  .auth-content { max-width: 440px; padding-top: clamp(0px, 5vh, 50px); }
  .auth-content .mobile-brand { display: block; margin-bottom: 42px; }
  .mobile-brand .wordmark img { width: 210px; }
  .auth-content h2 { font-size: 32px; }
  .auth-content > .eyebrow { font-size: 10px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .topbar { height: 76px; padding: 0 20px; gap: 14px; }
  .topbar-mobile .wordmark img { width: 146px; height: auto; }
  .topbar > .project-overview-link { font-size: 12px; }
  .main-content { padding-top: 30px; }
  .page-head { flex-wrap: wrap; }
  .page-head h1 { font-size: 30px; }
  .page-head p { font-size: 13px; max-width: 300px; }
  .page-head > .btn { min-height: 44px; font-size: 13px; }
  .stat { padding: 16px 11px; }
  .stat-value { font-size: 26px; }
  .stat-label { font-size: 11px; line-height: 1.5; }
  .filter-btn { font-size: 12px; padding: 9px 10px; }
  .order-card-art { height: 110px; }
  .order-card h2 { font-size: 20px; }
  .bottom-nav { background: #fffffff5; padding-left: 8px; padding-right: 8px; width: 100%; max-width: 100vw; box-sizing: border-box; }
  .bottom-nav .nav-btn { flex: 1; min-width: 0; font-size: 10px; padding: 8px; }
  .bottom-nav .nav-btn.active { background: var(--brand-tint, #fff0eb); color: var(--accent); }
  .tabs { gap: 24px; margin-inline: 0; padding-inline: 0; width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; }
  .tab-btn { flex: 0 0 auto; }
  .tab-btn { min-height: 48px; font-size: 13px; }
  .file-row .icon-btn { width: 40px; min-height: 40px; }
  .member-info span { font-size: 12px; }
  .role-label { font-size: 10px; }
}
@media (max-width: 380px) {
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar-mobile .wordmark img { width: 132px; }
  .topbar > .project-overview-link { padding: 7px 9px; font-size: 11px; }
  .main-content { padding-left: 16px; padding-right: 16px; }
  .stat { padding: 14px 9px; }
  .stat-label { font-size: 10px; }
  .order-meta { flex-wrap: wrap; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .modal-actions { flex-wrap: wrap; }
  .modal-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.direction-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 23px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.member-grants{font-size:12px;color:var(--accent);margin:5px 0 0}
.grants-fieldset{border:1px solid var(--line);border-radius:12px;padding:17px;margin:0 0 22px;min-width:0}
.grants-fieldset legend{font-size:14px;font-weight:600;padding:0 6px}
.grant-row{padding:16px 0;border-top:1px solid var(--line)}.grant-row>strong{font-size:14px}.grant-row>.field{margin:13px 0 0}
.grant-options{display:flex;flex-wrap:wrap;gap:20px;margin-top:12px;font-size:13px}.grant-options label{display:flex;align-items:center;gap:6px;min-height:30px}.grant-options input{width:18px;height:18px;accent-color:var(--accent)}
.presentation-links{max-height:420px;overflow-y:auto}.presentation-links .member-row{gap:20px}
@media(max-width:760px){.member-row{flex-wrap:wrap}.member-row>.member-info{flex-basis:calc(100% - 60px)}.member-row>.btn{margin-left:50px}.panel-head{flex-wrap:wrap}.panel-head>div{min-width:0}.direction-tabs{gap:3px}.direction-tabs .filter-btn{font-size:12px}}
