:root{--c-navy:#162842;--c-navy-hover:#0f1e33;--c-navy-soft:#e7ebf1;--c-ochre:#8b6d20;--c-ochre-dark:#6b5418;--c-ochre-light:#c9a75a;--c-ochre-soft:#f4eddb;--c-logo-red:red;--c-paper:#f3f1ec;--c-paper-gradient:linear-gradient(135deg, #f6f4ef 0%, #eeebe4 100%);--c-surface:#fff;--c-surface-muted:#f8f7f4;--c-line:#e4e1da;--c-line-strong:#cfcac0;--c-text:#22262e;--c-text-heading:#162842;--c-text-muted:#5f6673;--c-text-faint:#8a8f98;--c-white:#fff;--c-success:#1e7a55;--c-success-soft:#e3f2ea;--c-warning:#a86412;--c-warning-soft:#fbeedb;--c-danger:#b4232f;--c-danger-soft:#fbe5e6;--c-info:#162842;--c-info-soft:#e7ebf1;--r-sm:8px;--r-md:12px;--r-lg:16px;--r-xl:24px;--r-pill:999px;--sh-card:0 1px 2px #1628420a, 0 8px 24px #1628420f;--sh-raised:0 2px 4px #1628420f, 0 16px 40px #1628421a;--sh-nav-active:0 1px 2px #1628420f, 0 4px 12px #1628420f;--sh-focus-ring:0 0 0 3px #8b6d2059;--font-sans:"Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;--ease:cubic-bezier(.22, 1, .36, 1);--t-hover:.15s;--t-panel:.22s}@font-face{font-family:Roboto;src:url(/fonts/roboto-var.woff2)format("woff2");font-weight:300 700;font-style:normal;font-display:swap}*,:before,:after{box-sizing:border-box}html,body{margin:0}body{font-family:var(--font-sans);color:var(--c-text);background:var(--c-paper);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}@media (width<=640px){body{font-size:16px}}h1,h2,h3{color:var(--c-text-heading);margin:0}.num{font-variant-numeric:tabular-nums}.label-caps{letter-spacing:.14em;text-transform:uppercase;color:var(--c-text-muted);font-size:11px;font-weight:500}.page-title{letter-spacing:-.01em;font-size:32px;font-weight:300;line-height:1.15}@media (width<=1023px){.page-title{font-size:28px}}.section-title{font-size:20px;font-weight:400;line-height:1.3}.card-title{color:var(--c-text-heading);font-size:16px;font-weight:500;line-height:1.35}.small{font-size:13px;line-height:1.45}.muted{color:var(--c-text-muted)}:focus-visible{box-shadow:var(--sh-focus-ring);outline:none}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.app{background:var(--c-paper-gradient);grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{flex-direction:column;gap:4px;padding:24px 16px;display:flex}.sidebar .logo{width:196px;max-width:100%;margin:8px 6px 32px;display:block}.nav-item{border-radius:var(--r-md);height:40px;color:var(--c-text-muted);cursor:pointer;width:100%;transition:background var(--t-hover) var(--ease), color var(--t-hover) var(--ease);background:0 0;border:0;align-items:center;gap:12px;padding:0 12px;font-size:14px;text-decoration:none;display:flex;position:relative}.nav-item:hover{color:var(--c-navy);background:#fff9}.nav-item.active{background:var(--c-surface);color:var(--c-navy);box-shadow:var(--sh-nav-active)}.nav-item.active:before{content:"";background:var(--c-ochre);border-radius:50%;width:6px;height:6px;position:absolute;left:-8px}.user-card{background:var(--c-surface);border-radius:var(--r-md);box-shadow:var(--sh-card);align-items:center;gap:10px;margin-top:auto;padding:10px 12px;display:flex}.avatar{background:var(--c-navy-soft);width:32px;height:32px;color:var(--c-navy);border-radius:50%;place-items:center;font-size:13px;font-weight:500;display:grid}.workspace{border-radius:var(--r-xl);background:#ffffff8c;min-width:0;margin:16px 16px 16px 0;padding:32px}.mobile-bar{display:none}@media (width<=1023px){.app{grid-template-columns:72px 1fr}.sidebar .logo,.nav-item span,.user-card .who{display:none}.nav-item{justify-content:center;padding:0}}@media (width<=640px){.app{grid-template-columns:1fr}.sidebar{display:none}.mobile-bar{justify-content:space-between;align-items:center;height:56px;padding:0 16px;display:flex}.mobile-bar img{width:156px}.workspace{border-radius:var(--r-xl) var(--r-xl) 0 0;margin:0;padding:20px 16px}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px;display:flex}.page-head .actions{gap:8px;display:flex}.card{background:var(--c-surface);border-radius:var(--r-lg);box-shadow:var(--sh-card);padding:24px}@media (width<=640px){.card{padding:16px}}.grid{gap:16px;display:grid}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=1023px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:1fr 1fr}}@media (width<=640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}.stack{flex-direction:column;gap:8px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.between{justify-content:space-between}.btn{border-radius:var(--r-md);height:40px;font:500 14px/1 var(--font-sans);letter-spacing:.01em;cursor:pointer;transition:all var(--t-hover) var(--ease);white-space:nowrap;border:1px solid #0000;align-items:center;gap:8px;padding:0 20px;display:inline-flex}@media (width<=640px){.btn{height:44px}}.btn-primary{background:var(--c-navy);color:var(--c-white)}.btn-primary:hover{background:var(--c-navy-hover)}.btn-secondary{background:var(--c-surface);color:var(--c-navy);border-color:var(--c-line)}.btn-secondary:hover{border-color:var(--c-line-strong);box-shadow:var(--sh-card)}.btn-ghost{color:var(--c-navy);background:0 0}.btn-ghost:hover{background:var(--c-navy-soft)}.btn-danger{background:var(--c-surface);color:var(--c-danger);border-color:var(--c-danger)}.btn-success{background:var(--c-success-soft);color:var(--c-success);border-color:var(--c-success)}.btn:disabled{opacity:.5;cursor:default}.field{flex-direction:column;gap:6px;display:flex}.input{border:1px solid var(--c-line);border-radius:var(--r-md);background:var(--c-surface);height:44px;font:400 15px var(--font-sans);color:var(--c-text);transition:border-color var(--t-hover) var(--ease);width:100%;padding:0 14px}.input::placeholder{color:var(--c-text-faint)}.input:hover{border-color:var(--c-line-strong)}.input:focus{border-color:var(--c-ochre);box-shadow:var(--sh-focus-ring);outline:none}.input.error{border-color:var(--c-danger)}.input:disabled{background:var(--c-surface-muted);color:var(--c-text-faint)}.field .hint{color:var(--c-text-muted);font-size:13px}.field .err{color:var(--c-danger);font-size:13px}.money{position:relative}.money .input{text-align:right;font-variant-numeric:tabular-nums;padding-right:32px}.money:after{content:"₽";color:var(--c-text-muted);position:absolute;bottom:12px;right:14px}.segmented{background:var(--c-surface-muted);border-radius:var(--r-pill);gap:4px;padding:4px;display:inline-flex}.segmented button{border-radius:var(--r-pill);height:32px;font:500 13px var(--font-sans);color:var(--c-text-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 14px;display:inline-flex}.segmented button.on{background:var(--c-surface);color:var(--c-navy);box-shadow:var(--sh-nav-active)}.count{border-radius:var(--r-pill);background:var(--c-navy-soft);min-width:22px;height:20px;color:var(--c-navy);font-variant-numeric:tabular-nums;place-items:center;padding:0 6px;font-size:11px;display:inline-grid}.chip{border-radius:var(--r-pill);white-space:nowrap;align-items:center;gap:6px;height:24px;padding:0 10px;font-size:12px;font-weight:500;display:inline-flex}.chip:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.chip.navy{color:var(--c-navy);background:var(--c-navy-soft)}.chip.ochre{color:var(--c-ochre-dark);background:var(--c-ochre-soft)}.chip.success{color:var(--c-success);background:var(--c-success-soft)}.chip.warning{color:var(--c-warning);background:var(--c-warning-soft)}.chip.danger{color:var(--c-danger);background:var(--c-danger-soft)}.chip.muted{color:var(--c-text-muted);background:var(--c-surface-muted)}.stages{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.stages i{border-radius:var(--r-pill);background:var(--c-line);height:6px;display:block}.stages i.done{background:var(--c-navy)}.stages i.now{background:var(--c-ochre)}.stages small{letter-spacing:.12em;text-transform:uppercase;color:var(--c-text-muted);font-size:10px}.kpi{color:var(--c-navy);font-variant-numeric:tabular-nums;margin:8px 0 4px;font-size:32px;font-weight:300;line-height:1.1}.table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.table th{text-align:left;letter-spacing:.14em;text-transform:uppercase;color:var(--c-text-muted);background:var(--c-surface-muted);padding:10px 12px;font-size:11px;font-weight:500}.table th:first-child{border-radius:var(--r-sm) 0 0 var(--r-sm)}.table th:last-child{border-radius:0 var(--r-sm) var(--r-sm) 0}.table td{border-bottom:1px solid var(--c-line);padding:14px 12px}.table tr:hover td{background:var(--c-surface-muted)}.table .r{text-align:right}.table-wrap{overflow-x:auto}.thread{flex-direction:column;gap:10px;display:flex}.msg{border-radius:var(--r-lg);max-width:80%;padding:10px 14px;font-size:14px}.msg.client{background:var(--c-surface-muted);border-bottom-left-radius:4px;align-self:flex-start}.msg.studio{background:var(--c-navy-soft);border-bottom-right-radius:4px;align-self:flex-end}.msg .meta{color:var(--c-text-muted);margin-top:4px;font-size:11px;display:block}.swatch{border-radius:var(--r-md);box-shadow:var(--sh-card);background:var(--c-surface);overflow:hidden}.swatch div{height:64px}.swatch p{margin:0;padding:10px 12px;font-size:12px}.swatch b{color:var(--c-navy);font-weight:500;display:block}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sidebar{height:100vh;position:sticky;top:0}.table th,.table td{white-space:nowrap}.segmented{max-width:100%;overflow-x:auto}.segmented button{white-space:nowrap;flex:none}@media (width<=640px){.grid-4.swatches{grid-template-columns:1fr 1fr}}.landing{max-width:640px;margin:0 auto;padding:72px 16px}.landing-logo{width:100%;max-width:560px;height:auto;display:block}.lead{color:var(--c-text-muted);margin-top:32px;font-size:16px;line-height:1.5}
