/* finesse · register=product · palette=warm-stone+ink · shell=sidebar-workflow · SOUL=4 SPECTACLE=2 DENSITY=8 */
:root {
  --page: #e8e8e3; --surface: #f4f4ef; --panel: #fbfbf7; --panel-2: #ecece7;
  --ink: #202522; --ink-2: #56605a; --ink-3: #7e8781; --line: rgba(32,37,34,.11);
  --accent: #9b5b36; --accent-soft: rgba(155,91,54,.13); --accent-deep: #703f27;
  --good: #4e7b63; --warn: #aa742d; --bad: #aa4d4a; --shadow: 0 16px 32px rgba(37,45,37,.07);
  --radius: 18px; --small: 11px; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--page); color: var(--ink); overflow-x: clip; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 236px; background: #252b28; color: #eef0e9; padding: 26px 14px 18px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 10px 30px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #d1a585; color: #252b28; font-weight: 800; }
.brand strong { display: block; font-size: 14px; letter-spacing: -.02em; }.brand small { display: block; color: #9ea9a0; font-size: 9px; letter-spacing: .14em; margin-top: 3px; }
nav { display: grid; gap: 5px; }.nav-item { border: 0; background: transparent; color: #aeb8b0; padding: 12px 12px; border-radius: 11px; text-align: left; display: flex; align-items: center; gap: 11px; font-size: 13px; }.nav-item span { width: 18px; color: #cad2ca; text-align: center; }.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }.nav-item.active { background: #d1a585; color: #252b28; font-weight: 700; }.nav-item.active span { color: #252b28; }
.sidebar-foot { margin-top: auto; color: #93a097; font-size: 11px; padding: 12px 12px 0; }.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #83b891; margin-right: 6px; }
.main { flex: 1; min-width: 0; }.topbar { height: 70px; display: flex; justify-content: space-between; align-items: center; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(244,244,239,.82); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 3; }.crumb { color: var(--ink-3); font-size: 12px; }.slash { color: #abb1ac; padding: 0 10px; }.topbar strong { font-size: 14px; }.top-actions { display: flex; align-items: center; gap: 16px; color: var(--ink-3); font-size: 12px; }.avatar { border: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; }
.content { max-width: 1480px; margin: 0 auto; padding: 30px 34px 50px; }.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.page-intro h1 { margin: 8px 0 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.055em; line-height: 1.05; }.page-intro p { color: var(--ink-2); margin: 9px 0 0; font-size: 13px; }.primary { border: 0; background: var(--accent); color: #fff8f0; border-radius: 11px; padding: 12px 16px; font-weight: 700; box-shadow: 0 9px 18px rgba(155,91,54,.2); }.primary:hover { background: var(--accent-deep); }.secondary { border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 10px; padding: 10px 13px; font-weight: 650; }.ghost { border: 0; background: transparent; color: var(--accent-deep); padding: 8px 0; font-weight: 700; }
.conclusion { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }.conclusion-card, .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }.conclusion-card { padding: 17px 18px; min-height: 118px; }.conclusion-card .label { color: var(--ink-3); font-size: 11px; }.conclusion-card .value { font-size: 29px; font-weight: 800; letter-spacing: -.04em; margin-top: 12px; }.conclusion-card .hint { color: var(--ink-2); font-size: 11px; margin-top: 5px; }.conclusion-card.key { background: #313b34; color: #edf2e9; border: 0; }.conclusion-card.key .label, .conclusion-card.key .hint { color: #bdcbbb; }.conclusion-card.key .value { color: #f5c29d; }
.grid { display: grid; gap: 16px; }.grid.two { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }.card { padding: 20px; }.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }.card-head h2 { margin: 0; font-size: 15px; letter-spacing: -.02em; }.table-summary { margin-top: 4px; margin-bottom: 4px; }.muted { color: var(--ink-3); font-size: 12px; }.table-wrap { overflow-x: auto; }table { border-collapse: collapse; width: 100%; font-size: 12px; }th { text-align: left; color: var(--ink-3); font-weight: 600; padding: 10px 11px; border-bottom: 1px solid var(--line); }td { padding: 13px 11px; border-bottom: 1px solid rgba(32,37,34,.07); vertical-align: middle; }tr:last-child td { border-bottom: 0; }td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }.product-cell { display: flex; align-items: center; gap: 10px; }.thumb { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; background: var(--panel-2); }.thumb.empty { display: grid; place-items: center; color: var(--ink-3); }.management-table .thumb { width: 48px; height: 48px; }.management-table td { white-space: nowrap; }.management-table td:nth-child(3) { white-space: normal; min-width: 190px; }.status { display: inline-flex; gap: 5px; align-items: center; border-radius: 99px; padding: 5px 8px; font-size: 10px; font-weight: 700; }.status.draft { background: rgba(170,116,45,.12); color: #8b5b1e; }.status.published { background: rgba(78,123,99,.14); color: #386247; }.status .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.missing { color: var(--bad); font-size: 11px; }.good-text { color: var(--good); font-size: 11px; }.row-actions { display: flex; gap: 5px; }.row-actions button { border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 5px 7px; font-size: 10px; }.row-actions .action-edit { color: #1c8ca0; border-color: rgba(28,140,160,.35); }.row-actions .action-copy { color: var(--good); border-color: rgba(78,123,99,.35); }.row-actions .action-delete { color: var(--bad); border-color: rgba(170,77,74,.35); }.category-list { display: grid; gap: 8px; }.category-row { width: 100%; display: grid; grid-template-columns: 1fr auto 20px; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; padding: 13px 14px; color: var(--ink); }.category-row small { color: var(--ink-3); }.category-row b { color: var(--accent); }.empty { padding: 32px 12px; text-align: center; color: var(--ink-3); }.empty strong { display: block; color: var(--ink-2); margin-bottom: 6px; }
.list { display: grid; gap: 10px; }.issue { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; background: var(--surface); border-radius: 12px; }.issue strong { font-size: 12px; display: block; }.issue span { display: block; color: var(--ink-3); font-size: 11px; margin-top: 4px; }.issue em { color: var(--bad); font-size: 11px; font-style: normal; white-space: nowrap; }.thumb img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 10px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }.search { min-width: 220px; flex: 1; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 10px 12px; outline: none; }.search:focus, input:focus, textarea:focus, select:focus { border-color: rgba(155,91,54,.55); box-shadow: 0 0 0 3px var(--accent-soft); }.select { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 10px 12px; color: var(--ink-2); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 16px; }.form-column { display: grid; gap: 14px; max-width: 820px; }.section-card { padding: 20px; }.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }.section-number { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 800; }.section-title h2 { margin: 0; font-size: 15px; }.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.field.full { grid-column: 1/-1; }.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }.field label span { color: var(--bad); }.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 11px 12px; color: var(--ink); outline: none; }.field textarea { resize: vertical; min-height: 106px; line-height: 1.55; }.field small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 11px; }.dropzone { border: 1.5px dashed rgba(155,91,54,.35); background: rgba(155,91,54,.04); border-radius: 13px; min-height: 124px; display: grid; place-items: center; text-align: center; padding: 16px; }.dropzone.compact { min-height: 94px; margin-top: 12px; }.dropzone input { display: none; }.dropzone label { color: var(--accent-deep); font-weight: 750; cursor: pointer; }.dropzone small { color: var(--ink-3); display: block; margin-top: 7px; font-weight: 500; }.upload-state { margin-top: 10px; }.upload-grid, .asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 9px; margin-top: 12px; }.upload-preview { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 11px; background: var(--panel-2); }.upload-preview img, .asset-card img { width: 100%; height: 100%; object-fit: cover; display: block; }.upload-preview button { position: absolute; right: 5px; top: 5px; width: 23px; height: 23px; border: 0; border-radius: 50%; background: rgba(32,37,34,.76); color: #fff; line-height: 1; }.asset-card { overflow: hidden; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); }.asset-card img { aspect-ratio: 1; }.asset-card span { display: block; padding: 8px 9px; color: var(--ink-2); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.preview { position: sticky; top: 88px; }.preview-phone { border: 7px solid #2e3531; border-radius: 28px; padding: 10px; background: #f5f2eb; min-height: 470px; box-shadow: 0 20px 30px rgba(31,42,33,.16); }.preview-cover { width: 100%; aspect-ratio: 1.05; border-radius: 17px; background: #dddcd2; overflow: hidden; display: grid; place-items: center; color: var(--ink-3); }.preview-cover img { width: 100%; height: 100%; object-fit: cover; }.preview-gallery { display: flex; gap: 5px; overflow: hidden; margin-top: 7px; }.preview-gallery img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }.preview-phone h3 { font-size: 17px; line-height: 1.15; letter-spacing: -.035em; margin: 15px 4px 4px; }.preview-phone p { margin: 0 4px; font-size: 11px; color: var(--ink-2); line-height: 1.6; }.check-list { display: grid; gap: 9px; }.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; }.check-row .icon { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: rgba(78,123,99,.14); color: var(--good); font-size: 10px; flex: 0 0 auto; }.check-row.fail .icon { background: rgba(170,77,74,.12); color: var(--bad); }.check-row small { color: var(--ink-3); display: block; margin-top: 2px; }.action-bar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 0; margin-top: 2px; background: linear-gradient(transparent, var(--surface) 30%); }.action-bar .right { display: flex; gap: 8px; }
.login { min-height: 100vh; display: grid; place-items: center; background: var(--page); }.login-card { width: min(400px, calc(100vw - 34px)); padding: 28px; background: var(--panel); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }.login-card h1 { margin: 0; font-size: 26px; letter-spacing: -.05em; }.login-card p { color: var(--ink-2); font-size: 13px; line-height: 1.6; }.login-card input { width: 100%; margin: 12px 0; padding: 12px; border-radius: 10px; border: 1px solid var(--line); }.login-card button { width: 100%; }
.toast { position: fixed; right: 24px; bottom: 24px; background: #29322c; color: #f4f6ee; padding: 11px 14px; border-radius: 10px; box-shadow: var(--shadow); font-size: 12px; transform: translateY(16px); opacity: 0; pointer-events: none; transition: .2s ease; z-index: 9; }.toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) { .sidebar { width: 68px; padding-inline: 9px; }.brand { justify-content: center; padding-inline: 0; }.brand > div, .nav-item:not(.active)::after, .nav-item { font-size: 0; }.nav-item { justify-content: center; padding-inline: 0; }.nav-item span { font-size: 17px; }.brand-mark { width: 36px; }.sidebar-foot { font-size: 0; text-align: center; padding-inline: 0; }.sidebar-foot .status-dot { margin: 0; }.topbar { padding-inline: 22px; }.content { padding-inline: 22px; }.form-layout { grid-template-columns: 1fr; }.preview { position: static; }.preview-phone { max-width: 320px; } }
@media (max-width: 680px) { .top-actions span { display: none; }.conclusion, .grid.two { grid-template-columns: 1fr; }.page-intro { align-items: flex-start; flex-direction: column; }.fields { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.content { padding: 22px 16px 36px; }.topbar { height: 60px; padding-inline: 16px; }table { min-width: 650px; } }
