@font-face{font-family:'Inter';src:url('../fonts/inter-400-cyrillic.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('../fonts/inter-500-cyrillic.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('../fonts/inter-600-cyrillic.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('../fonts/playfair-display-400-cyrillic.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('../fonts/playfair-display-400-cyrillic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('../fonts/playfair-display-500-cyrillic.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
:root{
  --cream:#f3ece1;--cream-2:#faf6ee;--paper:#fffdf8;--ink:#1d1a16;--ink-soft:#3f362b;
  --muted:#7d7164;--line:#ded1bf;--line-soft:#e9dfd0;--terracotta:#b24a2b;--terracotta-dark:#8e351d;
  --green:#2f6b4f;--green-soft:#e7f0e9;--ochre:#c9a227;--red:#a33a2a;--red-soft:#f6e5df;
  --sidebar:#17130f;--sidebar-soft:#211b15;--sidebar-text:#e9dfd0;--radius:18px;--radius-sm:12px;
  --shadow:0 18px 50px -30px rgba(29,26,22,.32);--shadow-soft:0 8px 26px -20px rgba(29,26,22,.28);
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--serif:'Playfair Display',Georgia,serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);background:var(--cream);color:var(--ink);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;letter-spacing:-.025em;margin:0;color:var(--ink)}
h1{font-size:36px;line-height:1.08}h2{font-size:30px;line-height:1.12}h3{font-size:20px;line-height:1.2}
p{margin:0}
strong,b{font-weight:600}
em{font-style:italic}
.muted{color:var(--muted)}
.danger-text{color:var(--red)}
.money{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.strong{font-weight:600}
.req{color:var(--terracotta);margin-left:3px}

/* app shell */
.app-body{background:var(--cream)}
.app-shell{min-height:100vh;display:flex}
.sidebar{width:252px;flex:0 0 252px;background:var(--sidebar);color:var(--sidebar-text);display:flex;flex-direction:column;padding:22px 14px 16px;position:fixed;inset:0 auto 0 0;z-index:40;overflow-y:auto}
.brand{display:flex;align-items:center;gap:11px;padding:2px 10px 20px}
.brand-mark{width:42px;height:42px;border:1px solid rgba(233,223,208,.22);border-radius:12px;display:grid;place-items:center;font-family:var(--serif);font-size:24px;color:#e8a78f;background:rgba(255,255,255,.03)}
.brand-mark.small{width:30px;height:30px;font-size:18px;border-radius:9px}
.brand-copy{display:flex;flex-direction:column;line-height:1.02}
.brand-copy strong{font-family:var(--serif);font-weight:400;font-size:26px;letter-spacing:-.03em;color:#fbf5ea}
.brand-copy small{font-size:9px;letter-spacing:.26em;text-transform:uppercase;color:rgba(233,223,208,.55);margin-top:4px}
.public-body{background:var(--cream)}
.public-header{display:flex;align-items:center;justify-content:space-between;gap:30px;max-width:1280px;margin:0 auto;padding:24px 40px}
.public-brand{padding:0;color:var(--ink)}
.public-brand .brand-mark{border-color:var(--line);color:var(--terracotta);background:var(--paper)}
.public-brand .brand-copy strong{color:var(--ink)}
.public-brand .brand-copy small{color:var(--muted)}
.public-nav{display:flex;gap:28px;font-size:13px;color:var(--muted)}
.public-nav a:hover{color:var(--ink)}
.public-actions{display:flex;gap:10px;align-items:center}
.public-footer{max-width:1280px;margin:70px auto 0;padding:28px 40px 40px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;color:var(--muted);font-size:12px}
.footer-brand{display:flex;align-items:center;gap:10px;color:var(--ink)}
.footer-links{display:flex;gap:18px}
.footer-links a:hover{color:var(--terracotta)}

/* sidebar */
.workspace-switch{position:relative;background:var(--sidebar-soft);border:1px solid rgba(233,223,208,.10);border-radius:12px;margin:0 4px 18px}
.workspace-switch summary{display:flex;align-items:center;gap:9px;padding:10px;cursor:pointer;list-style:none}
.workspace-switch summary::-webkit-details-marker{display:none}
.workspace-avatar{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:rgba(178,74,43,.18);color:#e8a78f;font-family:var(--serif);font-size:15px;flex:0 0 auto}
.workspace-avatar.small{width:25px;height:25px;font-size:12px;border-radius:7px}
.workspace-meta{display:flex;flex-direction:column;min-width:0;line-height:1.2;flex:1}
.workspace-meta small{font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:rgba(233,223,208,.45)}
.workspace-meta strong{font-size:11.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f1e7d8}
.chevron{color:rgba(233,223,208,.5);font-size:14px}
.workspace-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#211b15;border:1px solid rgba(233,223,208,.14);border-radius:12px;padding:6px;z-index:55;box-shadow:0 20px 40px -20px #000}
.workspace-menu a{display:flex;align-items:center;gap:8px;padding:8px;border-radius:8px;font-size:11.5px;color:var(--sidebar-text)}
.workspace-menu a:hover,.workspace-menu a.is-current{background:rgba(255,255,255,.06)}
.workspace-menu .check{margin-left:auto;color:#a9c9b1}
.workspace-settings-link{margin-top:5px;border-top:1px solid rgba(233,223,208,.10);padding-top:10px!important;color:rgba(233,223,208,.6)!important;font-size:10.5px!important}
.sidebar-nav{display:flex;flex-direction:column;gap:2px;padding:0 4px;flex:1}
.nav-label{font-size:8.5px;text-transform:uppercase;letter-spacing:.17em;color:rgba(233,223,208,.32);padding:15px 10px 6px}
.nav-link{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;font-size:12px;color:rgba(233,223,208,.68);transition:background .15s,color .15s}
.nav-link .icon{width:16px;height:16px;opacity:.75}
.nav-link:hover{background:rgba(255,255,255,.05);color:#f4ecdf}
.nav-link.is-active{background:rgba(178,74,43,.20);color:#f8efe2}
.nav-link.is-active .icon{opacity:1;color:#e8a78f}
.nav-badge{margin-left:auto;min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:rgba(178,74,43,.35);color:#f3d0c2;font-size:9px;display:grid;place-items:center}
.sidebar-footer{padding:15px 8px 0;border-top:1px solid rgba(233,223,208,.10);margin-top:12px}
.user-chip{display:flex;align-items:center;gap:8px}
.user-avatar{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#2c241d;border:1px solid rgba(233,223,208,.13);color:#e8a78f;font-family:var(--serif);font-size:14px;flex:0 0 auto}
.user-avatar.small{width:28px;height:28px;font-size:12px;border-radius:8px}
.user-meta{display:flex;flex-direction:column;min-width:0;line-height:1.2;flex:1}
.user-meta strong{font-size:11px;font-weight:500;color:#f2e8d9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-meta small{font-size:9px;color:rgba(233,223,208,.42)}
.user-settings{color:rgba(233,223,208,.4);display:flex;padding:4px}
.user-settings:hover{color:#f2e8d9}
.trial-note{margin-top:12px;padding:9px 10px;border-radius:9px;background:rgba(255,255,255,.035);font-size:9px;color:rgba(233,223,208,.45);display:flex;flex-direction:column;gap:3px}
.trial-note a{color:#e8a78f;font-size:9px}
.main{margin-left:252px;width:calc(100% - 252px);min-height:100vh;display:flex;flex-direction:column}
.topbar{height:76px;display:flex;align-items:center;gap:16px;padding:0 34px;border-bottom:1px solid var(--line);background:rgba(243,236,225,.86);backdrop-filter:blur(12px);position:sticky;top:0;z-index:30}
.topbar-title{min-width:0;display:flex;flex-direction:column;line-height:1.1}
.topbar-kicker{font-size:8px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.topbar-title h1{font-size:21px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:9px}
.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:var(--paper);display:grid;place-items:center;color:var(--ink-soft);position:relative}
.icon-button:hover{border-color:var(--ink);background:#fff}
.mobile-menu{display:none}
.notification-button .dot{position:absolute;right:8px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--terracotta);box-shadow:0 0 0 2px var(--paper)}
.user-menu{position:relative}
.user-menu summary{list-style:none;cursor:pointer}
.user-menu summary::-webkit-details-marker{display:none}
.user-menu-popover{position:absolute;right:0;top:calc(100% + 8px);width:230px;background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:8px;box-shadow:var(--shadow);z-index:60}
.popover-head{display:flex;flex-direction:column;padding:9px 10px;border-bottom:1px solid var(--line-soft);margin-bottom:4px}
.popover-head strong{font-size:12px}.popover-head small{font-size:10px;color:var(--muted)}
.user-menu-popover a,.user-menu-popover button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;border-radius:8px;font-size:12px;color:var(--ink-soft)}
.user-menu-popover a:hover,.user-menu-popover button:hover{background:var(--cream)}
.content{padding:30px 34px 54px;max-width:1500px;width:100%}
.mobile-overlay{display:none}

/* typography helpers */
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.eyebrow>span{width:24px;height:1px;background:var(--terracotta);display:inline-block}
.eyebrow.light{color:rgba(247,239,226,.6)}.eyebrow.light>span{background:#e8a78f}
.back-link{display:inline-block;color:var(--muted);font-size:11px;margin-bottom:9px}
.back-link:hover{color:var(--terracotta)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 17px;border-radius:10px;border:1px solid transparent;font-size:12px;font-weight:500;white-space:nowrap;transition:all .15s;background:transparent;color:var(--ink)}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--ink);color:#fbf5ea}
.btn-primary:hover{background:#2e2820}
.btn-ghost{border-color:var(--line);background:var(--paper);color:var(--ink-soft)}
.btn-ghost:hover{border-color:var(--ink);background:#fff}
.btn-danger{background:var(--red);color:#fff}
.btn-danger:hover{background:#8b2d20}
.btn-light{background:#fbf5ea;color:var(--ink)}
.btn-light:hover{background:#fff}
.btn-lg{height:48px;padding:0 22px;font-size:13px;border-radius:12px}
.btn-sm{height:34px;padding:0 12px;font-size:11px}
.btn-xs{height:28px;padding:0 9px;font-size:10px;border-radius:7px}
.btn-block{width:100%}
.btn .plus{font-size:16px;line-height:1}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* page head & filters */
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.page-head h2{margin-bottom:5px}
.page-head p{color:var(--muted);font-size:12.5px;max-width:720px}
.head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.filter-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:20px;background:rgba(255,253,248,.55);border:1px solid var(--line-soft);padding:9px;border-radius:13px}
.search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:0 11px;height:38px}
.search-field .icon{width:15px;height:15px;color:var(--muted)}
.search-field input{width:100%;border:0;outline:0;background:transparent;font-size:11.5px;color:var(--ink)}
.filter-bar .field-select{height:38px;width:auto;min-width:130px}
.filter-bar .field-input{height:38px;font-size:11px}
.check-inline{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);white-space:nowrap}
.filter-reset{font-size:10.5px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.filter-tabs{display:flex;gap:6px;margin-bottom:18px}
.filter-tabs a{padding:7px 13px;border-radius:8px;font-size:11px;color:var(--muted);border:1px solid transparent}
.filter-tabs a.is-active{background:var(--ink);color:#fbf5ea}

/* cards, panels */
.panel{background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:20px}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:15px}
.panel-kicker{display:block;font-size:8px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.panel-head h3{font-size:18px}
.panel-caption{font-size:9px;color:var(--muted);background:var(--cream);padding:4px 8px;border-radius:6px;white-space:nowrap}
.panel-link{border:0;background:transparent;color:var(--terracotta);font-size:10.5px;font-weight:500;white-space:nowrap;padding:2px 0}
.panel-link:hover{text-decoration:underline;text-underline-offset:3px}
.panel-wide{grid-column:1 / -1}
.empty-inline{display:flex;align-items:flex-start;gap:11px;padding:13px 4px;color:var(--muted)}
.empty-inline>span{width:28px;height:28px;border-radius:8px;background:var(--cream);display:grid;place-items:center;font-size:13px;flex:0 0 auto;color:var(--ink-soft)}
.empty-inline strong{display:block;font-size:11.5px;color:var(--ink);font-weight:500}
.empty-inline small{display:block;font-size:10px;line-height:1.45;margin-top:2px}
.empty-state{text-align:center;max-width:420px;margin:50px auto;padding:30px}
.empty-icon{width:64px;height:64px;border-radius:18px;background:var(--cream);display:grid;place-items:center;margin:0 auto 18px;color:var(--terracotta)}
.empty-icon .icon{width:28px;height:28px}
.empty-state h3{font-size:24px;margin-bottom:7px}.empty-state p{color:var(--muted);font-size:12px;margin-bottom:18px}
.notice{border-radius:12px;padding:12px 15px;font-size:11.5px;margin-bottom:18px;border:1px solid var(--line)}
.notice-warning{background:#fbf3df;border-color:#e7d3a4;color:#735b18}
.notice strong{display:block;margin-bottom:2px}
.messages{margin-bottom:16px;display:flex;flex-direction:column;gap:7px}
.message{padding:10px 13px;border-radius:9px;font-size:11.5px;border:1px solid var(--line);background:var(--paper)}
.message-success{background:var(--green-soft);border-color:#c7ddcc;color:#285c43}
.message-error{background:var(--red-soft);border-color:#e7c6bd;color:#8a3024}
.message-warning{background:#fbf3df;border-color:#e7d3a4;color:#735b18}

/* stats */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.stats-three{grid-template-columns:repeat(3,1fr)}
.stats-four{grid-template-columns:repeat(4,1fr)}
.stat-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:15px;padding:16px 17px;box-shadow:var(--shadow-soft);min-height:112px;display:flex;flex-direction:column;justify-content:space-between}
.stat-accent{background:var(--sidebar);border-color:var(--sidebar);color:#f7efe2}
.stat-accent .stat-top span,.stat-accent small{color:rgba(247,239,226,.55)}
.stat-accent .stat-icon{color:#e8a78f;border-color:rgba(247,239,226,.15)}
.stat-danger{border-color:#e4b7aa;background:#fdf5f1}
.stat-warning{border-color:#e7d3a4;background:#fdf9ed}
.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.04em;color:var(--muted);text-transform:uppercase}
.stat-icon{width:23px;height:23px;border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;font-size:10px;color:var(--ink-soft)}
.stat-card strong{display:block;font-family:var(--serif);font-size:26px;font-weight:400;line-height:1.1;letter-spacing:-.03em;margin:8px 0 2px}
.stat-card small{font-size:9px;color:var(--muted);line-height:1.35}
.meter{height:4px;border-radius:2px;background:var(--line-soft);margin-top:8px;overflow:hidden}
.meter span{display:block;height:100%;border-radius:2px;background:var(--green)}

/* dashboard */
.dashboard-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:4px 0 24px}
.dashboard-hero h2{font-size:34px;line-height:1.02}
.dashboard-hero h2 em{color:var(--terracotta)}
.dashboard-hero p{color:var(--muted);font-size:11.5px;margin-top:7px}
.hero-mini-actions{display:flex;gap:7px}
.dashboard-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
.dashboard-grid .panel-wide{grid-column:1 / -1}
.panel-chart{display:flex;flex-direction:column}.bar-chart{display:flex;align-items:flex-end;gap:16px;flex:1;min-height:220px;padding:12px 4px 0;border-bottom:1px solid var(--line-soft)}
.bar-group{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;justify-content:flex-end}
.bars{display:flex;align-items:flex-end;gap:4px;flex:1;min-height:150px;width:100%;justify-content:center}
.bar{width:12px;border-radius:3px 3px 0 0;min-height:3px;transition:height .4s}
.bar.income{background:var(--ink)}.bar.expense{background:#c7b39a}
.bar-group small{font-size:8px;color:var(--muted)}
.chart-legend{display:flex;gap:16px;justify-content:flex-end;padding-top:10px;font-size:9px;color:var(--muted)}
.legend{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:5px}
.legend.income{background:var(--ink)}.legend.expense{background:#c7b39a}
.timeline{display:flex;flex-direction:column}
.timeline-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line-soft)}
.timeline-item:last-child{border-bottom:0}
.timeline-date{width:40px;flex:0 0 auto;text-align:center;font-size:10px;font-weight:600;color:var(--ink);background:var(--cream);border-radius:6px;padding:5px 2px}
.timeline-date.is-overdue{background:var(--red-soft);color:var(--red)}
.timeline-item>div{flex:1;min-width:0}
.timeline-item strong{display:block;font-size:10.5px;font-weight:500;line-height:1.3}
.timeline-item small{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.timeline-check{width:24px;height:24px;border-radius:50%;border:1px solid var(--line);background:transparent;font-size:10px;color:var(--muted)}
.timeline-check:hover{background:var(--green-soft);border-color:var(--green);color:var(--green)}

/* tables */
.table-wrap{overflow-x:auto;margin:0 -4px}
.data-table{width:100%;border-collapse:collapse;font-size:11px}
.data-table th{font-size:8px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:600;text-align:left;padding:7px 8px 9px;border-bottom:1px solid var(--line);white-space:nowrap}
.data-table td{padding:10px 8px;border-bottom:1px solid var(--line-soft);vertical-align:middle}
.data-table tbody tr:last-child td{border-bottom:0}
.data-table tbody tr:hover{background:rgba(233,223,208,.18)}
.data-table a:hover{color:var(--terracotta)}
.table-sub{display:block;color:var(--muted);font-size:9px;margin-top:2px}
.table-empty{text-align:center;color:var(--muted);padding:24px!important;font-size:10.5px}
.entity-cell{display:flex;align-items:center;gap:9px;min-width:190px}
.entity-thumb{width:36px;height:30px;border-radius:7px;overflow:hidden;background:var(--cream);display:grid;place-items:center;flex:0 0 auto;color:var(--terracotta);font-family:var(--serif);font-size:14px}
.entity-thumb img{width:100%;height:100%;object-fit:cover}
.entity-name{font-weight:500;font-size:11.5px;display:block}
.occupancy-pill{padding:3px 7px;border-radius:5px;font-size:9px;font-weight:600;white-space:nowrap}
.occupancy-pill.good{background:var(--green-soft);color:var(--green)}
.occupancy-pill.mid{background:#f8eed3;color:#8a6a12}
.occupancy-pill.low{background:var(--red-soft);color:var(--red)}
.row-arrow{color:var(--muted);font-size:14px;display:inline-block;transition:transform .15s}
.row-arrow:hover{color:var(--terracotta);transform:translateX(2px)}
.row-link{font-size:9.5px;color:var(--terracotta);white-space:nowrap}
.row-actions{display:flex;gap:10px;flex-wrap:wrap}
.badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:5px;font-size:8.5px;font-weight:600;white-space:nowrap;line-height:1.35}
.badge-success{background:var(--green-soft);color:var(--green)}
.badge-warning{background:#fbf0d4;color:#806011}
.badge-danger{background:var(--red-soft);color:var(--red)}
.badge-info{background:#e9eff6;color:#345b82}
.badge-muted{background:#eee7dc;color:#6f6353}
.days-badge{display:inline-block;padding:3px 7px;border-radius:5px;background:var(--cream);color:var(--ink-soft);font-size:9px;font-weight:600;white-space:nowrap}
.days-badge.urgent{background:var(--red-soft);color:var(--red)}

/* empty / onboarding */
.onboarding-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:34px;display:flex;justify-content:space-between;gap:30px;box-shadow:var(--shadow);max-width:1100px;margin:20px auto}
.onboarding-copy h2{font-size:36px;line-height:1.05;margin:8px 0 10px;max-width:460px}
.onboarding-copy p{color:var(--muted);font-size:12px;max-width:480px}
.onboarding-actions{display:flex;gap:9px;margin-top:18px}
.onboarding-steps{display:flex;flex-direction:column;gap:1px;background:var(--line-soft);border-radius:12px;overflow:hidden;min-width:260px;align-self:center}
.onboarding-steps>div{background:var(--paper);padding:11px 15px;display:grid;grid-template-columns:25px 1fr;gap:2px 8px;align-items:center}
.onboarding-steps span{grid-row:span 2;font-family:var(--serif);font-size:17px;color:var(--terracotta)}
.onboarding-steps strong{font-size:11px}
.onboarding-steps small{font-size:9px;color:var(--muted)}

/* property grid */
.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.property-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-soft);transition:transform .18s,box-shadow .18s}
.property-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.property-cover{height:160px;position:relative;overflow:hidden;background:var(--cream)}
.property-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.property-card:hover .property-cover img{transform:scale(1.03)}
.property-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#eee2d1,#f8f2e8);color:#b5a28b}
.property-placeholder span{font-family:var(--serif);font-size:44px;color:#c4ae93}
.property-placeholder small{font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.property-placeholder.large{height:100%;min-height:280px}
.property-status{position:absolute;top:11px;left:11px;background:rgba(255,253,248,.92);backdrop-filter:blur(6px);padding:4px 8px;border-radius:5px;font-size:8.5px;font-weight:600;color:var(--ink-soft)}
.property-status.good{color:var(--green)}.property-status.mid{color:#8a6a12}
.property-card-body{padding:14px 15px 13px}
.property-card-top{display:flex;justify-content:space-between;color:var(--muted);font-size:8.5px;text-transform:uppercase;letter-spacing:.05em}
.property-card h3{font-size:19px;margin:7px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.property-address{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.property-card-footer{display:flex;align-items:flex-end;justify-content:space-between;border-top:1px solid var(--line-soft);margin-top:12px;padding-top:10px}
.property-card-footer small{display:block;font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.property-card-footer strong{font-family:var(--serif);font-size:18px;font-weight:400}
.property-unit-count{text-align:right}
.property-unit-count strong{font-family:var(--sans);font-size:12px;display:block;line-height:1.2}

/* property detail */
.property-hero{display:grid;grid-template-columns:340px 1fr;gap:24px;background:var(--paper);border:1px solid var(--line-soft);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-soft);margin-bottom:16px}
.property-hero-cover{min-height:300px;background:var(--cream)}
.property-hero-cover img{width:100%;height:100%;object-fit:cover;min-height:300px}
.property-hero-copy{padding:24px 26px 20px}
.property-hero-copy h2{font-size:34px;margin:5px 0 3px}
.property-hero-address{color:var(--muted);font-size:11px}
.property-hero-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:10px}
.property-hero-meta a{color:var(--terracotta)}
.property-kpis{display:flex;gap:22px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line-soft)}
.property-kpis strong{display:block;font-family:var(--serif);font-size:22px;font-weight:400;line-height:1.1}
.property-kpis small{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.detail-grid .panel-wide{grid-column:1 / -1}
.market-panel{margin-top:14px}
.comp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.comp-card{padding:11px;border:1px solid var(--line-soft);border-radius:10px;background:var(--cream-2);display:flex;flex-direction:column;gap:3px}
.comp-card span{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.comp-card strong{font-family:var(--serif);font-size:19px;font-weight:400}
.comp-card small{font-size:8.5px;color:var(--muted)}
.danger-zone{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #e7c6bd;background:#fdf7f4;border-radius:14px;padding:15px 18px;margin-top:16px}
.danger-zone strong{font-size:11px}
.danger-zone p{font-size:10px;color:var(--muted);margin-top:2px}
.danger-actions,.danger-zone form{display:flex;gap:7px;align-items:center}
.danger-details summary{list-style:none}.danger-details summary::-webkit-details-marker{display:none}
.danger-details form{margin-top:10px;background:var(--paper);padding:12px;border-radius:10px}

/* property inner lists */
.meter-list,.document-list,.expense-list,.maintenance-list,.statement-list,.lease-list{display:flex;flex-direction:column}
.meter-row,.expense-row,.maintenance-row,.statement-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line-soft)}
.meter-row:last-child,.expense-row:last-child,.maintenance-row:last-child,.statement-row:last-child{border-bottom:0}
.meter-row>div:first-child,.expense-row>div:first-child,.maintenance-row>div:first-child,.statement-row>div:first-child{flex:1;min-width:0}
.meter-row strong,.expense-row strong,.maintenance-row strong,.statement-row strong{display:block;font-size:10.5px;font-weight:500}
.meter-row small,.expense-row small,.maintenance-row small,.statement-row small{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.meter-value{text-align:right;margin-right:5px}
.meter-value strong{font-family:var(--serif);font-size:17px;font-weight:400}
.document-row{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid var(--line-soft)}
.document-row:last-child{border-bottom:0}
.document-row>div{flex:1;min-width:0}
.document-row strong{display:block;font-size:10px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.document-row small{display:block;font-size:8.5px;color:var(--muted);margin-top:1px}
.file-icon{width:34px;height:34px;border-radius:8px;background:var(--cream);color:var(--muted);display:grid;place-items:center;font-size:7.5px;font-weight:600;letter-spacing:.02em;flex:0 0 auto}
.file-icon.large{width:44px;height:44px;font-size:9px}
.maintenance-row .badge{margin-left:auto}
.priority-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:0 0 auto}
.priority-dot.danger{background:var(--red)}.priority-dot.warning{background:var(--ochre)}.priority-dot.muted{background:#b9aa96}

/* lease */
.lease-hero{display:flex;justify-content:space-between;gap:24px;background:var(--sidebar);color:#f7efe2;border-radius:18px;padding:22px 24px;margin-bottom:15px;box-shadow:var(--shadow)}
.lease-hero-main{display:flex;gap:36px;align-items:flex-end}
.lease-amount small,.lease-dates small,.lease-hero-side small{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:rgba(247,239,226,.48);margin-bottom:3px}
.lease-amount strong{font-family:var(--serif);font-size:34px;font-weight:400;line-height:1}
.lease-dates{display:flex;gap:24px}
.lease-dates strong{font-size:12px;font-weight:500}
.lease-hero-side{display:grid;grid-template-columns:1fr 1fr;gap:13px 26px;border-left:1px solid rgba(247,239,226,.14);padding-left:24px}
.lease-hero-side strong{font-size:11px;font-weight:500}
.lease-totals{display:flex;gap:22px;justify-content:flex-end;border-top:1px solid var(--line-soft);padding-top:10px;margin-top:8px;font-size:10px;color:var(--muted)}
.lease-totals strong{color:var(--ink);font-size:11px}
.lease-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line-soft)}
.lease-row:last-child{border-bottom:0}
.lease-row>div{flex:1;min-width:0}
.lease-row strong{display:block;font-size:10.5px;font-weight:500}
.lease-row small{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.inline-paid-form{display:flex;align-items:center;gap:4px}
.tiny{height:27px!important;padding:0 5px!important;font-size:9px!important;width:auto!important;min-width:0}
.inline-form{display:flex;flex-direction:column;gap:8px;min-width:280px}

/* people */
.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.person-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:14px;padding:15px;box-shadow:var(--shadow-soft)}
.person-card-head{display:flex;align-items:center;gap:10px}
.person-card-head>div{flex:1;min-width:0}
.person-card h3{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.person-card h3 a:hover{color:var(--terracotta)}
.person-card p{font-size:9.5px;color:var(--muted);margin-top:2px}
.person-avatar{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--cream);color:var(--terracotta);font-family:var(--serif);font-size:20px;flex:0 0 auto}
.person-avatar.small{width:28px;height:28px;font-size:13px;border-radius:8px}
.person-avatar.large{width:68px;height:68px;border-radius:18px;font-size:31px}
.person-card-stats{display:flex;gap:18px;border-top:1px solid var(--line-soft);margin-top:12px;padding-top:10px}
.person-card-stats strong{display:block;font-family:var(--serif);font-size:17px;font-weight:400}
.person-card-stats small{font-size:8px;color:var(--muted)}
.rating{font-size:10px;color:#8a6a12;background:#fbf0d4;padding:3px 6px;border-radius:5px}
.person-hero{display:flex;align-items:center;gap:18px;background:var(--paper);border:1px solid var(--line-soft);border-radius:18px;padding:20px 22px;margin-bottom:15px;box-shadow:var(--shadow-soft)}
.person-hero-copy{flex:1}
.person-hero-copy h2{font-size:30px;margin:3px 0}
.person-hero-copy p{font-size:10.5px;color:var(--muted)}
.person-hero-stats{display:flex;gap:26px}
.person-hero-stats strong{display:block;font-family:var(--serif);font-size:23px;font-weight:400;line-height:1.1}
.person-hero-stats small{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.person-cell{display:flex;align-items:center;gap:8px}
.contact-cell{font-size:10.5px}.contact-cell small{display:block;color:var(--muted);font-size:9px;margin-top:1px}
.detail-list{display:flex;flex-direction:column;gap:0;margin:0}
.detail-list>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid var(--line-soft);font-size:10.5px}
.detail-list>div:last-child{border-bottom:0}
.detail-list dt{color:var(--muted)}
.detail-list dd{margin:0;text-align:right;max-width:65%;word-break:break-word}

/* forms */
.form-layout{max-width:880px}
.form-panel{padding:24px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-grid.two{grid-template-columns:1fr 1fr}
.span-2{grid-column:1 / -1}
.field-group{display:flex;flex-direction:column;gap:5px;min-width:0}
.field-group>label{font-size:10px;font-weight:500;color:var(--ink-soft)}
.field-input{width:100%;border:1px solid var(--line);border-radius:8px;background:#fffdf9;padding:9px 10px;font-size:11.5px;color:var(--ink);outline:none;transition:border .15s,box-shadow .15s;height:38px}
.field-input:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(29,26,22,.06)}
.field-textarea{height:auto;min-height:82px;resize:vertical;line-height:1.5}
.field-select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7d7164 50%),linear-gradient(135deg,#7d7164 50%,transparent 50%);background-position:calc(100% - 14px) 16px,calc(100% - 10px) 16px;background-size:4px 4px,4px 4px;background-repeat:no-repeat;padding-right:26px}
.field-file{padding:6px;height:auto;background:#fbf8f2;border-style:dashed;font-size:10.5px}
.field-check{width:15px;height:15px;accent-color:var(--terracotta);margin:0}
.check-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--ink-soft);cursor:pointer}
.field-help{font-size:9px;color:var(--muted);line-height:1.4}
.field-error{font-size:9px;color:var(--red)}
.has-error .field-input,.has-error .field-file{border-color:var(--red);background:#fff8f6}
.form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line-soft);margin-top:20px;padding-top:15px}
.form-alert{background:var(--red-soft);color:var(--red);border-radius:8px;padding:9px 11px;font-size:10.5px;margin-bottom:12px}
.narrow-page{max-width:620px;margin:0 auto}
.danger-panel{text-align:center;padding:34px}
.danger-icon{width:48px;height:48px;border-radius:50%;background:var(--red-soft);color:var(--red);display:grid;place-items:center;font-size:22px;margin:0 auto 12px}
.danger-panel h2{margin-bottom:6px}.danger-panel p{color:var(--muted);font-size:11px;margin-bottom:18px}
.settings-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;max-width:900px}
.plan-panel{background:var(--sidebar);color:#f7efe2;border-color:var(--sidebar)}
.plan-panel .panel-kicker{color:rgba(247,239,226,.45)}
.plan-panel h3{color:#f7efe2;font-size:25px;margin:4px 0}
.plan-panel p{font-size:10px;color:rgba(247,239,226,.55);margin-bottom:14px}
.limit-row{display:flex;justify-content:space-between;font-size:10px;color:rgba(247,239,226,.68);margin-top:9px}
.limit-row strong{color:#f7efe2}
.limit-bar{height:4px;background:rgba(247,239,226,.13);border-radius:2px;margin:5px 0 12px;overflow:hidden}
.limit-bar span{display:block;height:100%;background:#e8a78f}
.plan-panel .btn-ghost{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);color:#f7efe2;margin-top:8px}
.plan-panel .btn-ghost:hover{background:rgba(255,255,255,.1)}

/* documents */
.document-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.document-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:14px;padding:15px;box-shadow:var(--shadow-soft)}
.document-card:hover{border-color:var(--line)}
.document-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}
.document-card h3{font-size:15px;margin:0 0 3px;line-height:1.25}
.document-card p{font-size:9.5px;color:var(--muted);min-height:28px}
.document-card-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line-soft);margin-top:10px;padding-top:8px;font-size:8.5px;color:var(--muted)}
.document-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-bottom:14px}
.document-preview-panel{min-height:420px}
.document-frame{width:100%;height:520px;border:1px solid var(--line-soft);border-radius:10px;background:#fff}
.document-image{width:100%;max-height:520px;object-fit:contain;border:1px solid var(--line-soft);border-radius:10px;background:#fff}
.extraction-list{display:flex;flex-direction:column}
.extraction-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line-soft)}
.extraction-row>div{display:flex;flex-direction:column;min-width:0}
.extraction-row span{font-size:8.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.extraction-row strong{font-size:10.5px;font-weight:500;overflow:hidden;text-overflow:ellipsis}
.confidence{padding:3px 6px;border-radius:4px;font-size:8px!important;white-space:nowrap;text-transform:none!important;letter-spacing:0!important}
.confidence-high{background:var(--green-soft);color:var(--green)}
.confidence-mid{background:#fbf0d4;color:#806011}
.confidence-low{background:var(--red-soft);color:var(--red)}
.quick-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.text-details summary{cursor:pointer;font-size:10px;color:var(--muted);padding:2px}
.text-details pre{white-space:pre-wrap;font-family:ui-monospace,monospace;font-size:9.5px;line-height:1.6;max-height:400px;overflow:auto;background:var(--cream);padding:12px;border-radius:8px;margin-top:10px}

/* imports */
.import-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;max-width:1000px}
.upload-zone{border:1.5px dashed var(--line);border-radius:14px;padding:30px;text-align:center;background:var(--cream-2)}
.upload-icon{width:42px;height:42px;border-radius:50%;background:var(--paper);border:1px solid var(--line);display:grid;place-items:center;margin:0 auto 10px;font-size:19px;color:var(--terracotta)}
.upload-zone h3{font-size:19px;margin-bottom:4px}.upload-zone p{font-size:10px;color:var(--muted);margin-bottom:14px}
.upload-zone .field-file{max-width:320px;margin:0 auto}
.import-help h3{font-size:18px;margin-bottom:10px}
.import-help ul{padding-left:17px;margin:0 0 12px;font-size:10.5px;color:var(--ink-soft);line-height:1.7}
.import-help p{font-size:10px;color:var(--muted)}

/* reminders / ops */
.request-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.request-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:14px;padding:15px;box-shadow:var(--shadow-soft)}
.request-card:hover{border-color:var(--line)}
.request-card-top{display:flex;align-items:center;gap:7px;margin-bottom:9px}
.request-date{margin-left:auto;font-size:8.5px;color:var(--muted)}
.request-card h3{font-size:16px;line-height:1.25;margin-bottom:3px}
.request-card p{font-size:9.5px;color:var(--muted)}
.request-card-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line-soft);margin-top:12px;padding-top:8px;font-size:9px;color:var(--muted)}
.request-card-footer strong{color:var(--ink);font-size:10px}
.priority-label{font-size:9px;padding:3px 7px;border-radius:5px;background:var(--cream);color:var(--muted)}
.priority-label.danger{background:var(--red-soft);color:var(--red)}.priority-label.warning{background:#fbf0d4;color:#806011}
.status-actions{display:flex;gap:6px;flex-wrap:wrap}
.long-text{font-size:11.5px;line-height:1.7;color:var(--ink-soft)}
.note-box{background:var(--cream);border-left:2px solid var(--terracotta);padding:10px 12px;border-radius:0 8px 8px 0;font-size:10.5px;margin-top:12px;color:var(--ink-soft)}
.reminder-table{display:flex;flex-direction:column}
.reminder-row{display:flex;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid var(--line-soft)}
.reminder-row:last-child{border-bottom:0}
.reminder-row.is-overdue{background:linear-gradient(90deg,rgba(163,58,42,.055),transparent)}
.reminder-date{width:43px;flex:0 0 auto;text-align:center;font-size:18px;font-family:var(--serif);line-height:1;color:var(--ink)}
.reminder-date small{display:block;font-family:var(--sans);font-size:8px;color:var(--muted);margin-top:3px}
.reminder-copy{flex:1;min-width:0}.reminder-copy strong{display:block;font-size:11px;font-weight:500}.reminder-copy small{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.activity-list{display:flex;flex-direction:column}
.activity-row{display:flex;gap:11px;padding:11px 2px;border-bottom:1px solid var(--line-soft)}
.activity-row:last-child{border-bottom:0}
.activity-dot{width:7px;height:7px;border-radius:50%;background:var(--terracotta);margin-top:5px;flex:0 0 auto}
.activity-row strong{font-size:10.5px;display:block}
.activity-desc{font-size:10px;color:var(--ink-soft);margin-left:6px}
.activity-row small{display:block;font-size:8.5px;color:var(--muted);margin-top:2px}

/* public landing */
.hero{max-width:1280px;margin:0 auto;padding:52px 40px 40px;display:grid;grid-template-columns:1.02fr .98fr;gap:50px;align-items:center}
.hero-copy h1{font-size:76px;line-height:.98;letter-spacing:-.055em;margin:18px 0 0}
.hero-copy h1 em{color:var(--terracotta)}
.hero-lead{font-size:16px;line-height:1.6;color:#5d5245;max-width:500px;margin-top:22px}
.hero-actions{display:flex;gap:10px;margin-top:25px}
.hero-proof{display:flex;gap:18px;margin-top:18px;font-size:10px;color:var(--muted)}
.hero-proof span{display:flex;align-items:center;gap:5px}
.hero-proof span::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--green)}
.hero-visual{position:relative}
.mock-window{background:var(--sidebar);border:1px solid rgba(255,255,255,.12);border-radius:20px;overflow:hidden;box-shadow:0 50px 90px -40px rgba(29,26,22,.6);transform:rotate(1.3deg)}
.mock-bar{display:flex;align-items:center;gap:6px;padding:13px 16px;border-bottom:1px solid rgba(247,239,226,.12)}
.mock-bar span{width:7px;height:7px;border-radius:50%;background:rgba(247,239,226,.18)}
.mock-bar span:first-child{background:var(--terracotta)}
.mock-bar small{margin-left:auto;font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:rgba(247,239,226,.45)}
.mock-body{padding:20px}
.mock-head{display:flex;justify-content:space-between;align-items:flex-start}
.mock-head small{display:block;font-size:7px;letter-spacing:.15em;color:rgba(247,239,226,.4);margin-bottom:2px}
.mock-head strong{display:block;font-family:var(--serif);font-size:28px;font-weight:400;color:#f7efe2}
.mock-avatar{width:30px;height:30px;border-radius:50%;background:rgba(247,239,226,.12);color:#f7efe2;display:grid;place-items:center;font-size:9px}
.mock-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:18px}
.mock-stats>div{background:#211b15;border:1px solid rgba(247,239,226,.1);border-radius:10px;padding:10px}
.mock-stats small{display:block;font-size:6.5px;text-transform:uppercase;letter-spacing:.08em;color:rgba(247,239,226,.4)}
.mock-stats strong{display:block;font-family:var(--serif);font-size:21px;font-weight:400;color:#f7efe2;margin-top:5px;line-height:1}
.mock-stats span{display:block;font-size:6.5px;color:rgba(247,239,226,.45);margin-top:5px}
.mock-chart{background:#f7efe2;border-radius:12px;padding:12px;margin-top:12px}
.mock-chart-head{display:flex;justify-content:space-between;font-size:7px;color:var(--muted)}
.mock-chart-head strong{font-size:9px;color:var(--ink)}
.mock-bars{display:flex;align-items:flex-end;gap:8px;height:74px;margin-top:8px}
.mock-bars i{flex:1;background:var(--ink);border-radius:2px 2px 0 0;opacity:.9}
.mock-bars i:nth-child(2n){background:#c7b39a}
.mock-list{margin-top:12px;display:flex;flex-direction:column;gap:1px;background:rgba(247,239,226,.08);border-radius:10px;overflow:hidden}
.mock-list>div{display:flex;align-items:center;gap:8px;background:#211b15;padding:8px 10px}
.mock-dot{width:6px;height:6px;border-radius:50%;flex:0 0 auto}
.mock-dot.terracotta{background:#e8a78f}.mock-dot.green{background:#8fbb9d}.mock-dot.ochre{background:#e0c26a}
.mock-list>div>div{flex:1}.mock-list strong{display:block;font-size:8px;color:#f7efe2;font-weight:500}.mock-list small{display:block;font-size:6.5px;color:rgba(247,239,226,.42);margin-top:1px}
.mock-list b{font-size:8px;color:#f7efe2;font-weight:500}
.floating-note{position:absolute;left:-24px;bottom:24px;background:#fffdf8;border:1px solid var(--line);border-radius:11px;padding:9px 11px;display:flex;gap:8px;align-items:center;box-shadow:0 20px 35px -25px rgba(29,26,22,.45);transform:rotate(-2deg)}
.note-icon{width:24px;height:24px;border-radius:7px;background:var(--cream);display:grid;place-items:center;color:var(--terracotta);font-size:11px}
.floating-note strong{display:block;font-size:8.5px}.floating-note small{display:block;font-size:7.5px;color:var(--muted);margin-top:1px}
.metrics-strip{max-width:1200px;margin:20px auto 0;padding:18px 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.metrics-strip strong{display:block;font-family:var(--serif);font-size:25px;font-weight:400;line-height:1.1}
.metrics-strip span{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.section{max-width:1160px;margin:0 auto;padding:70px 40px}
.section-head{max-width:580px;margin-bottom:30px}
.section-head h2{font-size:38px;margin:10px 0 9px}
.section-head p{color:var(--muted);font-size:12px;max-width:530px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.feature-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:14px;padding:18px;box-shadow:var(--shadow-soft)}
.feature-icon{width:38px;height:38px;border-radius:10px;background:var(--cream);display:grid;place-items:center;color:var(--terracotta);font-family:var(--serif);font-size:18px;margin-bottom:12px}
.feature-card h3{font-size:19px;margin-bottom:5px}.feature-card p{font-size:10.5px;color:var(--muted);line-height:1.55}
.section-warm{background:#ece2d3;border-radius:24px;max-width:1200px;padding:55px 40px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step span{font-family:var(--serif);font-size:30px;color:var(--terracotta);display:block;line-height:1;margin-bottom:12px}
.step h3{font-size:20px;margin-bottom:5px}.step p{font-size:10.5px;color:var(--muted);line-height:1.55}
.cta-band{max-width:1200px;margin:30px auto 0;background:var(--sidebar);border-radius:24px;padding:40px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:#f7efe2}
.cta-band h2{color:#f7efe2;font-size:38px;line-height:1.03;margin:8px 0}
.cta-band p{color:rgba(247,239,226,.55);font-size:11px}
.auth-wrap{display:flex;justify-content:center;padding:50px 24px 80px}
.auth-wide .auth-card{max-width:620px}
.auth-card{width:100%;max-width:420px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}
.auth-head h1{font-size:36px;margin:8px 0 6px}
.auth-head p{color:var(--muted);font-size:11px;margin-bottom:18px}
.auth-form{display:flex;flex-direction:column;gap:11px}
.auth-alt{text-align:center;font-size:10.5px;color:var(--muted);margin-top:16px}
.auth-alt a{color:var(--terracotta);text-decoration:underline;text-underline-offset:2px}

/* responsive */
@media (max-width:1180px){
  .property-grid,.people-grid,.request-grid{grid-template-columns:repeat(2,1fr)}
  .document-grid{grid-template-columns:repeat(3,1fr)}
  .stats-grid,.stats-four{grid-template-columns:repeat(2,1fr)}
  .stats-three{grid-template-columns:repeat(3,1fr)}
  .hero-copy h1{font-size:62px}
}
@media (max-width:960px){
  .sidebar{transform:translateX(-100%);transition:transform .22s}
  .sidebar.is-open{transform:translateX(0)}
  .main{margin-left:0;width:100%}
  .mobile-menu{display:grid}
  .mobile-overlay{display:none;position:fixed;inset:0;background:rgba(23,19,15,.42);z-index:35}
  .mobile-overlay.is-open{display:block}
  .content{padding:22px 18px 40px}
  .topbar{padding:0 18px}
  .topbar-title h1{font-size:19px}
  .hero{grid-template-columns:1fr;gap:35px;padding:35px 24px}
  .hero-copy h1{font-size:58px}
  .hero-visual{max-width:560px;margin:0 auto;width:100%}
  .public-header{padding:18px 24px}
  .public-nav{display:none}
  .dashboard-grid,.detail-grid,.document-layout,.settings-grid,.import-layout{grid-template-columns:1fr}
  .property-hero{grid-template-columns:1fr}
  .property-hero-cover{min-height:220px;max-height:300px}
  .property-hero-cover img{min-height:220px}
  .lease-hero{flex-direction:column}
  .lease-hero-side{border-left:0;border-top:1px solid rgba(247,239,226,.14);padding:14px 0 0}
  .onboarding-card{flex-direction:column}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .metrics-strip{padding:15px 24px;grid-template-columns:repeat(2,1fr)}
  .section{padding:50px 24px}
  .cta-band{flex-direction:column;align-items:flex-start;border-radius:0;max-width:none}
  .public-footer{margin-top:40px;padding:24px}
}
@media (max-width:680px){
  .topbar{height:66px}
  .topbar-actions .btn{display:none}
  .page-head{flex-direction:column;align-items:flex-start;gap:12px}
  .head-actions{width:100%}
  .stats-grid,.stats-three,.stats-four{grid-template-columns:1fr 1fr}
  .stat-card{min-height:100px}
  .property-grid,.people-grid,.request-grid,.document-grid,.feature-grid,.steps{grid-template-columns:1fr}
  .form-grid,.form-grid.two{grid-template-columns:1fr}
  .span-2{grid-column:auto}
  .form-panel{padding:18px}
  .filter-bar{align-items:stretch}
  .search-field{min-width:100%}
  .filter-bar .field-select{width:100%}
  .hero-copy h1{font-size:48px}
  .hero-lead{font-size:14px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .public-actions .btn-ghost{display:none}
  .public-header{padding:14px 16px}
  .metrics-strip{grid-template-columns:1fr 1fr;gap:15px}
  .lease-hero-main{flex-direction:column;align-items:flex-start;gap:15px}
  .lease-dates{gap:18px}
  .property-kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .person-hero{align-items:flex-start;flex-wrap:wrap}
  .person-hero-stats{width:100%;justify-content:flex-start;border-top:1px solid var(--line-soft);padding-top:12px}
  .danger-zone{flex-direction:column;align-items:flex-start}
  .inline-paid-form{flex-wrap:wrap}
  .public-footer{flex-direction:column;align-items:flex-start;gap:10px}
  .cta-band{padding:28px 22px}
  .cta-band h2{font-size:32px}
  .section-head h2{font-size:31px}
  .section-warm{padding:35px 22px;border-radius:0}
  .onboarding-card{padding:22px;margin:0}
  .onboarding-copy h2{font-size:29px}
  .dashboard-hero{flex-direction:column;align-items:flex-start}
  .dashboard-hero h2{font-size:30px}
  .dashboard-grid{grid-template-columns:1fr}
  .bar-chart{gap:8px}
  .bar{width:8px}
}
@media print{
  .sidebar,.topbar,.public-header,.public-footer,.no-print,.danger-zone,.detail-actions{display:none!important}
  .main{margin:0;width:100%}
  .content{padding:0}
  body{background:#fff}
  .panel{box-shadow:none;border-color:#ddd}
}
/* gallery */
.gallery-panel{background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);padding:18px 20px;margin-bottom:14px;box-shadow:var(--shadow-soft)}
.gallery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:12px}
.gallery-head h3{font-size:18px}
.gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.gallery-item{position:relative;border-radius:10px;overflow:hidden;background:var(--cream);aspect-ratio:4/3}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.gallery-item:hover img{transform:scale(1.04)}
.gallery-item span{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,rgba(23,19,15,.6));color:#fff;font-size:8px;padding:14px 7px 6px}
@media(max-width:680px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}
/* quick owner */
.input-with-action{display:flex;gap:6px;align-items:stretch}
.input-with-action .field-input{flex:1;min-width:0}
.quick-add{width:38px;flex:0 0 38px;border:1px solid var(--line);border-radius:8px;background:var(--cream);color:var(--terracotta);font-size:20px;line-height:1;display:grid;place-items:center}
.quick-add:hover{background:var(--paper);border-color:var(--terracotta)}
.modal-backdrop{position:fixed;inset:0;background:rgba(23,19,15,.48);z-index:100;display:grid;place-items:center;padding:20px;backdrop-filter:blur(4px)}
.modal-backdrop[hidden]{display:none}
.modal-card{width:100%;max-width:460px;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 30px 80px -30px rgba(23,19,15,.55)}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}
.modal-head h3{font-size:24px;margin-top:2px}
.modal-close{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:transparent;font-size:19px;line-height:1;color:var(--muted)}
.modal-fields{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.form-section-title{font-family:var(--serif);font-size:19px;margin:4px 0 11px;padding-top:4px}
.document-import-banner{margin-bottom:14px}
.document-import-banner a{color:var(--terracotta);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.small-note{font-size:9.5px;line-height:1.5;margin-top:12px}
.onboarding-steps.compact{min-width:0;background:transparent;gap:8px;border-radius:0}
.onboarding-steps.compact>div{padding:9px 0;background:transparent;border-bottom:1px solid var(--line-soft)}
.onboarding-steps.compact>div:last-child{border-bottom:0}
/* demo / logout */
.topbar-logout{margin:0}
.topbar-logout .btn{height:34px;font-size:10px}
.demo-card{max-width:520px}
.demo-roles{display:flex;flex-direction:column;gap:8px;margin:4px 0 16px}
.demo-role{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid var(--line-soft);border-radius:11px;background:var(--cream-2);transition:border .15s,transform .15s}
.demo-role:hover{border-color:var(--terracotta);transform:translateY(-1px)}
.demo-role-icon{width:34px;height:34px;border-radius:9px;background:var(--paper);display:grid;place-items:center;font-family:var(--serif);font-size:16px;color:var(--terracotta)}
.demo-role>div{flex:1}.demo-role strong{display:block;font-size:12px}.demo-role small{display:block;font-size:9px;color:var(--muted);margin-top:1px}
.demo-note{font-size:10px;color:var(--muted);background:var(--cream);border-radius:8px;padding:9px 10px;margin-bottom:12px}
.demo-note a{color:var(--terracotta);text-decoration:underline}
.demo-login-box{border-top:1px solid var(--line-soft);margin-top:16px;padding-top:14px}
.demo-login-box strong{display:block;font-size:12px;margin-top:3px}.demo-login-box p{font-size:10px;color:var(--muted);margin:3px 0 9px}
@media(max-width:680px){.topbar-logout{display:none}}
/* help */
.help-fab{position:fixed;right:24px;bottom:24px;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--terracotta);font-family:var(--serif);font-size:20px;box-shadow:0 12px 30px -15px rgba(29,26,22,.4);z-index:70}
.help-fab:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.help-layer{position:fixed;inset:0;z-index:95;display:flex;justify-content:flex-end}
.help-layer[hidden]{display:none}
.help-backdrop{position:absolute;inset:0;background:rgba(23,19,15,.32);backdrop-filter:blur(3px)}
.help-drawer{position:relative;width:390px;max-width:calc(100vw - 24px);height:100%;background:var(--paper);padding:24px 22px;box-shadow:-20px 0 60px -30px rgba(29,26,22,.5);overflow-y:auto;transform:translateX(18px);opacity:0;transition:transform .2s,opacity .2s}
.help-layer.is-open .help-drawer{transform:translateX(0);opacity:1}
.help-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.help-drawer-head h3{font-size:25px;margin-top:2px}
.help-intro{font-size:11.5px;line-height:1.6;color:var(--ink-soft);margin-bottom:14px}
.help-steps{padding-left:18px;margin:0 0 18px;color:var(--ink-soft);font-size:11px;line-height:1.7}
.help-steps li{padding-left:3px;margin-bottom:5px}
.help-steps li::marker{color:var(--terracotta);font-family:var(--serif)}
.help-video-link{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;padding:10px;background:var(--cream-2);margin-bottom:10px}
.help-video-link:hover{border-color:var(--terracotta)}
.help-video-icon{width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:10px;flex:0 0 auto}
.help-video-link>div{flex:1}.help-video-link strong{display:block;font-size:11px}.help-video-link small{display:block;font-size:9px;color:var(--muted);margin-top:1px}
.help-all-link{font-size:10px;color:var(--terracotta);text-decoration:underline;text-underline-offset:3px}
.help-page-head{max-width:720px;margin:10px 0 28px}
.help-page-head h2{font-size:48px;line-height:1.02;margin:9px 0 10px}.help-page-head h2 em{color:var(--terracotta)}
.help-page-head p{color:var(--muted);font-size:12px}
.help-topics{display:flex;flex-direction:column;gap:18px;max-width:1180px}
.help-topic{display:grid;grid-template-columns:1fr 1.1fr;gap:24px;background:var(--paper);border:1px solid var(--line-soft);border-radius:18px;padding:22px;box-shadow:var(--shadow-soft);scroll-margin-top:90px}
.help-topic-copy h3{font-size:27px;margin:5px 0 6px}.help-topic-copy p{font-size:11px;color:var(--muted);line-height:1.6}
.help-topic-copy .help-steps{margin-top:10px;margin-bottom:0}
.help-topic-video video{width:100%;aspect-ratio:16/9;background:#15120f;border-radius:12px;display:block}
.video-caption{display:flex;justify-content:space-between;gap:10px;padding-top:7px;font-size:9px;color:var(--muted)}
.video-caption a{color:var(--terracotta)}
.help-contact{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1180px;margin-top:18px;background:var(--sidebar);color:#f7efe2;border-radius:16px;padding:20px 22px}
.help-contact h3{color:#f7efe2;font-size:22px;margin:2px 0}.help-contact p{font-size:10px;color:rgba(247,239,226,.55)}
.help-contact .btn-primary{background:#f7efe2;color:var(--ink)}
@media(max-width:900px){.help-topic{grid-template-columns:1fr}.help-page-head h2{font-size:38px}}
@media(max-width:680px){.help-fab{right:14px;bottom:14px}.help-drawer{width:100%;max-width:none}.help-contact{flex-direction:column;align-items:flex-start}}
.video-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:7px;font-size:9px;color:var(--muted)}
.video-caption-label{flex:1}
.quality-control{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted)}
.quality-control select{border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);font-size:9px;padding:2px 4px;height:24px}
.video-toolbar a{color:var(--terracotta)}

/* Интерактивные туры */
.guide-layer{position:fixed;inset:0;z-index:120;pointer-events:none}
.guide-spotlight{position:fixed;border:2px solid rgba(255,250,242,.92);border-radius:14px;box-shadow:0 0 0 9999px rgba(16,13,10,.68),0 0 0 6px rgba(255,250,242,.08);transition:left .28s ease,top .28s ease,width .28s ease,height .28s ease;pointer-events:none}
.guide-cursor{position:fixed;width:22px;height:22px;z-index:122;transition:left .38s cubic-bezier(.2,.8,.2,1),top .38s cubic-bezier(.2,.8,.2,1);filter:drop-shadow(0 2px 4px rgba(0,0,0,.45));pointer-events:none}
.guide-cursor svg{width:22px;height:22px;fill:#fffaf2;stroke:#1d1a16;stroke-width:1.3}
.guide-cursor i{position:absolute;left:50%;top:50%;width:12px;height:12px;border:2px solid #fffaf2;border-radius:50%;transform:translate(-50%,-50%);opacity:0}
.guide-cursor.is-clicking i{animation:guide-click .55s ease-out}
@keyframes guide-click{0%{opacity:.9;transform:translate(-50%,-50%) scale(.6)}100%{opacity:0;transform:translate(-50%,-50%) scale(2.4)}}
.guide-tooltip{position:fixed;z-index:123;width:370px;max-width:calc(100vw - 28px);background:#fbf7ef;color:var(--ink);border:1px solid rgba(29,26,22,.18);border-radius:14px;padding:18px 18px 14px;box-shadow:0 22px 60px -20px rgba(0,0,0,.55);pointer-events:auto}
.guide-close{position:absolute;right:10px;top:8px;border:0;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.guide-kicker{display:block;font-size:8px;letter-spacing:.16em;text-transform:uppercase;color:var(--terracotta);font-weight:700;margin-bottom:6px}
.guide-tooltip h3{font-size:24px;line-height:1.1;margin:0 0 7px;padding-right:18px}
.guide-tooltip p{font-size:11px;line-height:1.55;color:var(--ink-soft);margin:0 0 12px}
.guide-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line-soft);padding-top:9px}
.guide-progress{font-size:9px;color:var(--muted);white-space:nowrap}
.guide-dots{display:flex;gap:5px}.guide-dot{display:block;width:5px;height:5px;border-radius:50%;background:var(--line)}
.guide-dot.is-active{background:var(--terracotta);width:16px;border-radius:3px}
.guide-actions{display:flex;justify-content:space-between;gap:8px;margin-top:12px}
.guide-actions button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:7px;padding:7px 12px;font-size:10px;cursor:pointer}
.guide-actions button:hover{border-color:var(--ink)}
.guide-actions button:disabled{opacity:.35;cursor:default}
.guide-actions .guide-next{background:var(--ink);color:#fffaf2;border-color:var(--ink);margin-left:auto}
.guide-actions .guide-next:hover{background:var(--terracotta);border-color:var(--terracotta)}

/* Справка: карточки интерактивных туров */
.guide-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1180px}
.guide-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:16px;padding:20px;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;min-height:190px}
.guide-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.guide-card-number{font-family:var(--serif);font-size:25px;color:var(--terracotta)}
.guide-card-count{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.guide-card h3{font-size:25px;line-height:1.08;margin:0 0 6px}
.guide-card p{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.guide-card-actions{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.guide-doc-link{font-size:9.5px;color:var(--terracotta);text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.guide-cards{grid-template-columns:1fr}.guide-tooltip{width:calc(100vw - 28px)}}
