@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }

.crm-root { --ink:#1C2024; --graphite:#15181B; --concrete:#EDEEEA; --surface:#FFFFFF;
  --line:#D9DAD3; --muted:#6B7280; --accent:#FF6A1A; --good:#1F7A4D; --warn:#B8860B; --taken:#8A8F98;
  display:flex; min-height:100vh; font-family:'Inter',sans-serif; color:var(--ink); background:var(--concrete); }
.loading-root { align-items:center; justify-content:center; width:100%; }
.loading-mark { width:28px; height:28px; border:3px solid #D9DAD3; border-top-color:#FF6A1A; border-radius:50%; animation:spin 0.8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

.sidebar { width:224px; flex-shrink:0; background:var(--graphite); color:#E8E9E6; display:flex; flex-direction:column; padding:20px 14px; }
.brand { display:flex; align-items:center; gap:10px; padding:6px 6px 20px; border-bottom:1px solid #2A2E32; margin-bottom:14px; }
.brand strong { display:block; font-family:'Oswald',sans-serif; font-size:17px; letter-spacing:0.03em; }
.brand small { display:block; font-size:10.5px; color:#9AA0A6; line-height:1.3; margin-top:2px; }
.nav { display:flex; flex-direction:column; gap:2px; flex:1; }
.nav-item { display:flex; align-items:center; gap:10px; padding:10px; min-height:40px; border-radius:4px; background:none; border:none; color:#C7CACD; font-size:13.5px; text-align:left; cursor:pointer; font-family:inherit; transition:background .12s, color .12s; }
.nav-item:hover { background:#1E2226; color:#fff; }
.nav-item:active { background:#262B2F; }
.nav-item.active { background:var(--accent); color:#1A0D00; font-weight:600; }
.nav-badge { margin-left:auto; background:#E5484D; color:#fff; font-size:10.5px; font-weight:700; padding:1px 6px; border-radius:10px; line-height:1.5; }
.nav-item.active .nav-badge { background:#1A0D00; color:#fff; }
.sidebar-foot { font-size:11px; color:#7D8288; padding:10px 6px 0; border-top:1px solid #2A2E32; }
.gsearch-wrap { position:relative; margin-bottom:14px; }
.gsearch-wrap input::placeholder { color:#7D8288; }
.gsearch-results { position:absolute; top:calc(100% + 4px); left:0; right:0; background:var(--surface); border:1px solid var(--line); border-radius:2px; box-shadow:0 8px 24px rgba(0,0,0,0.25); z-index:50; max-height:360px; overflow-y:auto; }
.gsearch-item { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:9px 12px; background:none; border:none; border-bottom:1px solid var(--line); cursor:pointer; color:var(--ink); font-family:inherit; font-size:13px; }
.gsearch-item:last-child { border-bottom:none; }
.gsearch-item:hover { background:var(--concrete); }
.mobile-logout-btn { display:none; }

.main { flex:1; overflow-y:auto; padding:34px 40px 60px; }
.page { max-width:1080px; }
.page-head { margin-bottom:22px; }
.page-head.row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.page-head h1 { font-family:'Oswald',sans-serif; font-size:26px; font-weight:600; margin:0 0 4px; }
.page-head p { color:var(--muted); font-size:13.5px; margin:0; }
h1 { font-family:'Oswald',sans-serif; font-size:22px; margin:6px 0 18px; }
h3 { font-family:'Oswald',sans-serif; font-size:15px; margin:0 0 12px; font-weight:600; }
.muted { color:var(--muted); }
.small { font-size:12px; }
.mono { font-family:'IBM Plex Mono',monospace; font-size:13px; }

.stat-row { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:22px; }
.stat-card { background:var(--surface); border:1px solid var(--line); border-radius:2px; padding:16px 18px; display:flex; flex-direction:column; gap:4px; border-left:3px solid var(--accent); }
.stat-num { font-family:'Oswald',sans-serif; font-size:28px; font-weight:600; }
.stat-label { font-size:12px; color:var(--muted); }

.two-col { display:grid; grid-template-columns:1.1fr 1.4fr; gap:16px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:2px; padding:18px 20px; margin-bottom:16px; }
.card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }

.bar-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.bar-list li { display:grid; grid-template-columns:150px 1fr 28px; align-items:center; gap:10px; font-size:12.5px; }
.bar-track { height:7px; background:var(--concrete); border-radius:4px; overflow:hidden; }
.bar-fill { height:100%; background:var(--accent); }

.table { width:100%; border-collapse:collapse; }
.table th { text-align:left; font-size:11px; color:var(--muted); font-weight:600; padding:8px 10px; border-bottom:1px solid var(--line); }
.table td { padding:10px; border-bottom:1px solid var(--line); font-size:13px; vertical-align:middle; }
.table.wide { background:var(--surface); border:1px solid var(--line); }
.obj-cell { display:flex; align-items:center; gap:10px; }
.obj-thumb { width:36px; height:36px; object-fit:cover; border-radius:2px; border:1px solid var(--line); flex-shrink:0; }

.badge { display:inline-block; padding:2px 9px; border-radius:20px; font-size:11px; font-weight:600; }
.badge-free { background:#E4F3EA; color:var(--good); }
.badge-hold { background:#FBF0DA; color:var(--warn); }
.badge-taken { background:#EDEEEE; color:var(--taken); }

.toolbar { display:flex; align-items:flex-end; gap:14px; margin-bottom:16px; flex-wrap:wrap; }
.search-box { display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:2px; padding:8px 12px; }
.search-box input { border:none; outline:none; font-size:13.5px; width:260px; font-family:inherit; }

.btn { display:inline-flex; align-items:center; gap:7px; font-size:13.5px; font-family:inherit; font-weight:600; padding:10px 16px; min-height:40px; border-radius:2px; cursor:pointer; border:1px solid transparent; transition:filter .12s, background .12s, border-color .12s; user-select:none; }
.btn-primary { background:var(--accent); color:#1A0D00; border-color:var(--accent); }
.btn-primary:hover { filter:brightness(0.95); }
.btn-primary:active { filter:brightness(0.88); }
.btn-ghost { background:transparent; border-color:var(--line); color:var(--ink); }
.btn-ghost:hover { background:#E4E5E0; }
.btn-ghost:active { background:#D6D7D0; }
.btn:focus-visible, .icon-btn:focus-visible, .nav-item:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

.row-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.icon-btn { display:inline-flex; align-items:center; gap:6px; background:none; border:1px solid var(--line); border-radius:2px; padding:7px 11px; min-height:34px; cursor:pointer; font-size:12.5px; font-family:inherit; color:var(--ink); transition:background .12s, border-color .12s; }
.icon-btn:hover { background:#F1F2ED; border-color:#C7C9C1; }
.icon-btn:active { background:#E4E5E0; }
.icon-btn.danger { color:#B4232C; border-color:#EBC3C5; }
.icon-btn.danger:hover { background:#FBEEEE; }

.empty-state { text-align:center; padding:48px 20px; background:var(--surface); border:1px dashed var(--line); border-radius:2px; }
.empty-mark { width:40px; height:40px; margin:0 auto 14px; border:2px solid var(--line); border-radius:2px; }
.empty-state h3 { margin-bottom:6px; }
.empty-state p { color:var(--muted); font-size:13px; margin-bottom:16px; }

.banner-info { display:flex; gap:10px; background:#FFF3EA; border:1px solid #FFD9B8; padding:12px 14px; border-radius:2px; margin-bottom:18px; color:#7A3E12; font-size:13px; }
.banner-info svg { flex-shrink:0; margin-top:2px; }
.banner-info p { margin:0; line-height:1.5; }

.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:20px; }
fieldset { border:1px solid var(--line); border-radius:2px; padding:16px 18px; background:var(--surface); }
fieldset.full { grid-column:1/-1; }
legend { font-family:'Oswald',sans-serif; font-size:13px; font-weight:600; padding:0 6px; color:var(--ink); }
.field { display:flex; flex-direction:column; gap:4px; margin-bottom:12px; font-size:12.5px; color:var(--muted); }
.field span { font-weight:500; }
.field input, .field select { font-family:inherit; font-size:13.5px; color:var(--ink); border:1px solid var(--line); border-radius:2px; padding:8px 10px; background:#fff; width:100%; }
textarea { font-family:inherit; font-size:13.5px; border:1px solid var(--line); border-radius:2px; padding:10px; width:100%; resize:vertical; }
.checkline { display:flex; align-items:center; gap:8px; font-size:13px; margin-bottom:10px; }
.form-actions { display:flex; gap:12px; justify-content:flex-start; margin:12px 0 24px; flex-wrap:wrap; }

.agent-card { display:flex; flex-direction:column; gap:10px; }
.agent-head { display:flex; align-items:center; gap:10px; }
.avatar { width:38px; height:38px; border-radius:50%; background:var(--graphite); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Oswald',sans-serif; font-weight:600; flex-shrink:0; }
.agent-contacts { display:flex; flex-direction:column; gap:4px; font-size:12.5px; color:var(--muted); }
.agent-contacts span { display:flex; align-items:center; gap:6px; }
.tel-link { color:inherit; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.tel-link:hover { text-decoration:underline; }
.wa-link { color:#1F7A4D; display:inline-flex; align-items:center; vertical-align:middle; margin-left:2px; }
.wa-link:hover { opacity:0.7; }
.role-toggle { margin-top:10px; width:100%; justify-content:center; font-size:11px; padding:6px 8px; }
.thread-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:16px; }
.thread-messages { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; max-height:420px; overflow-y:auto; padding:4px; }
.msg-bubble { max-width:70%; padding:10px 12px; border-radius:4px; font-size:13px; line-height:1.5; }
.msg-in { background:var(--concrete); align-self:flex-start; }
.msg-out { background:#FFE7D6; align-self:flex-end; text-align:right; }
.msg-meta { font-size:10.5px; color:var(--muted); margin-top:4px; }
.thread-reply textarea { margin-bottom:10px; }
.photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:10px; }
.photo-thumb { position:relative; border:1px solid var(--line); border-radius:2px; overflow:hidden; background:var(--concrete); }
.photo-thumb img { width:100%; height:90px; object-fit:cover; display:block; }
.photo-thumb.is-cover { border-color:var(--accent); border-width:2px; }
.photo-cover-badge { position:absolute; top:4px; left:4px; background:var(--accent); color:#1A0D00; font-size:10px; font-weight:600; padding:2px 6px; border-radius:10px; }
.photo-thumb-actions { display:flex; gap:4px; padding:5px; background:var(--surface); flex-wrap:wrap; }
.photo-thumb-actions .icon-btn { font-size:10.5px; padding:4px 6px; }
.slide-photo { width:100%; max-height:280px; object-fit:cover; border-radius:2px; margin-bottom:18px; display:block; }

.showcase-root { width:100%; min-height:100vh; background:var(--concrete); font-family:'Inter',sans-serif; color:var(--ink); }
.showcase-header { display:flex; align-items:center; justify-content:space-between; padding:18px 40px; background:var(--surface); border-bottom:1px solid var(--line); }
.showcase-brand { display:flex; align-items:center; gap:10px; font-family:'Oswald',sans-serif; font-weight:600; font-size:17px; letter-spacing:0.03em; }
.showcase-main { max-width:1080px; margin:0 auto; padding:34px 40px 60px; }
.showcase-hero { text-align:left; margin-bottom:28px; }
.showcase-hero h1 { font-family:'Oswald',sans-serif; font-size:30px; margin:0 0 8px; }
.showcase-hero p { color:var(--muted); font-size:14px; margin:0; max-width:560px; }
.showcase-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
.showcase-card { background:var(--surface); border:1px solid var(--line); border-radius:2px; cursor:pointer; overflow:hidden; transition:border-color 0.15s; }
.showcase-card:hover { border-color:var(--accent); }
.showcase-card-img { position:relative; height:160px; background:var(--concrete); }
.showcase-card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.showcase-noimg { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted); background:var(--concrete); }
.showcase-noimg.large { height:340px; }
.showcase-tag { position:absolute; top:8px; left:8px; background:var(--warn); color:#fff; font-size:11px; padding:3px 9px; border-radius:20px; }
.showcase-card-body { padding:14px 16px; }
.showcase-card-body h3 { font-family:'Oswald',sans-serif; font-size:15px; margin:0 0 6px; font-weight:600; }
.showcase-price { font-family:'IBM Plex Mono',monospace; font-size:15px; color:var(--accent); font-weight:600; margin:6px 0; }
.showcase-agent { display:flex; align-items:center; gap:8px; font-size:12.5px; margin-top:8px; }
.avatar-sm { width:22px; height:22px; border-radius:50%; background:var(--graphite); color:#fff; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:600; flex-shrink:0; }
.showcase-detail { display:grid; grid-template-columns:1.1fr 1fr; gap:30px; align-items:start; }
.showcase-carousel { position:relative; background:var(--concrete); border-radius:2px; overflow:hidden; }
.showcase-carousel img { width:100%; height:340px; object-fit:cover; display:block; }
.showcase-car-btn { position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; border:none; background:rgba(255,255,255,0.85); display:flex; align-items:center; justify-content:center; cursor:pointer; }
.showcase-car-btn.prev { left:10px; }
.showcase-car-btn.next { right:10px; }
.showcase-dots { position:absolute; bottom:10px; left:0; right:0; display:flex; justify-content:center; gap:6px; }
.showcase-dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.6); cursor:pointer; }
.showcase-dot.active { background:#fff; }
.showcase-price-big { font-family:'IBM Plex Mono',monospace; font-size:22px; color:var(--accent); font-weight:600; margin:14px 0 18px; }
.showcase-agent-card { display:flex; align-items:center; gap:12px; }
.showcase-lead-sent { color:var(--good); background:#E4F3EA; padding:12px 14px; border-radius:2px; font-size:13.5px; display:flex; align-items:center; gap:8px; }

.dist-board { display:flex; gap:14px; overflow-x:auto; padding-bottom:10px; }
.dist-column { flex:0 0 250px; background:var(--surface); border:1px solid var(--line); border-radius:2px; display:flex; flex-direction:column; max-height:640px; transition:border-color 0.15s, background 0.15s; }
.dist-column.drag-over { border-color:var(--accent); background:#FFF6EE; }
.dist-column-head { display:flex; align-items:center; gap:8px; padding:10px 12px; border-bottom:1px solid var(--line); font-size:13px; font-weight:600; }
.dist-column-body { padding:10px; display:flex; flex-direction:column; gap:8px; overflow-y:auto; min-height:90px; }
.dist-card { border:1px solid var(--line); border-radius:2px; padding:8px 10px; background:var(--concrete); cursor:grab; display:flex; flex-direction:column; gap:4px; }
.dist-card-top { display:flex; align-items:center; gap:6px; font-size:12.5px; }
.dist-card select { margin-top:4px; font-size:11.5px; padding:4px 6px; border:1px solid var(--line); border-radius:2px; font-family:inherit; }
.property-type-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; margin-top:16px; }
.property-type-card { display:flex; flex-direction:column; align-items:center; gap:12px; padding:28px 16px; background:var(--surface); border:1px solid var(--line); border-radius:2px; cursor:pointer; font-family:inherit; font-size:14px; font-weight:600; color:var(--ink); transition:border-color .12s, background .12s; }
.property-type-card:hover { border-color:var(--accent); background:#FFF6EE; }
.pipeline-tabs { display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; }
.pipeline-tab { background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:8px 16px; font-size:13px; font-family:inherit; cursor:pointer; color:var(--muted); }
.pipeline-tab.active { background:var(--graphite); border-color:var(--graphite); color:#fff; font-weight:600; }
.type-tabs-showcase { display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.filters-row { margin-bottom:18px; }
.deal-card { cursor:pointer; }
.deal-card:hover { border-color:var(--accent); }
.changelog-list { display:flex; flex-direction:column; gap:12px; }
.price-history { margin-top:10px; padding-top:10px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:3px; max-height:140px; overflow-y:auto; }
.timeline { display:flex; flex-direction:column; gap:2px; max-height:420px; overflow-y:auto; }
.timeline-item { display:flex; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); }
.timeline-item:last-child { border-bottom:none; }
.timeline-icon { width:26px; height:26px; border-radius:50%; background:var(--concrete); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--muted); }
.timeline-title { font-size:13px; font-weight:500; }
.merge-field-list { display:flex; flex-wrap:wrap; gap:8px; }
.merge-field-list .icon-btn { font-family:'IBM Plex Mono',monospace; font-size:11px; }
.doc-merged { background:#FFF3EA; color:#7A3E12; padding:1px 3px; border-radius:2px; }
.changelog-entry { border-bottom:1px solid var(--line); padding-bottom:10px; }
.changelog-entry:last-child { border-bottom:none; padding-bottom:0; }
.changelog-head { display:flex; align-items:center; gap:10px; }
.capture-card { margin-bottom:12px; }
.capture-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; flex-wrap:wrap; }
.capture-body { display:flex; gap:14px; flex-wrap:wrap; font-size:13px; margin-bottom:6px; }
.task-card { margin-bottom:12px; }
.task-card.task-done { opacity:0.6; }
.task-overdue { color:#B4232C; font-weight:600; }
.task-today { color:var(--warn); font-weight:600; }
.cal-nav { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.cal-grid-head { margin-bottom:6px; }
.cal-weekday { text-align:center; font-size:11px; color:var(--muted); font-weight:600; }
.cal-cell { position:relative; aspect-ratio:1; border:1px solid var(--line); border-radius:2px; background:var(--surface); padding:6px; cursor:pointer; display:flex; flex-direction:column; }
.cal-cell.cal-empty { border:none; background:transparent; cursor:default; }
.cal-cell:hover:not(.cal-empty) { border-color:var(--accent); }
.cal-cell.cal-today { border-color:var(--graphite); border-width:2px; }
.cal-cell.cal-selected { background:#FFF6EE; border-color:var(--accent); }
.cal-daynum { font-size:12px; font-family:'IBM Plex Mono',monospace; }
.cal-dot { position:absolute; bottom:6px; right:6px; background:var(--accent); color:#1A0D00; font-size:10px; font-weight:600; border-radius:50%; width:18px; height:18px; display:flex; align-items:center; justify-content:center; }
@media (max-width:760px){ .cal-cell { padding:4px; } .cal-daynum { font-size:11px; } }

.login-root { width:100%; min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--graphite); padding:20px; }
.login-card { width:100%; max-width:340px; background:var(--surface); border-radius:4px; padding:30px 28px; }
.login-brand { display:flex; align-items:center; gap:10px; font-family:'Oswald',sans-serif; font-weight:600; font-size:18px; }
.login-error { background:#FBE4E5; color:#B4232C; font-size:12.5px; padding:9px 12px; border-radius:2px; margin-bottom:12px; }
.login-hint { font-size:11.5px; color:var(--muted); margin-top:16px; line-height:1.5; }
.current-user-row { display:flex; align-items:center; gap:8px; margin-top:12px; font-size:12.5px; }
.agent-stats { font-size:12.5px; display:flex; align-items:center; gap:8px; }

.platform-list { display:flex; flex-direction:column; gap:8px; }
.ok-line { color:var(--good); display:flex; align-items:center; gap:6px; font-size:13px; margin:0; }
.warn-list { margin:0; padding-left:18px; color:var(--warn); font-size:13px; }
.feed-preview { margin-top:14px; font-family:'IBM Plex Mono',monospace; font-size:12px; background:#111; color:#D8F0C8; }

.slide { background:var(--surface); border:1px solid var(--line); padding:34px 38px; max-width:760px; }
.slide-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.slide-brand { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); font-weight:600; }
.slide h2 { font-family:'Oswald',sans-serif; font-size:28px; margin:0 0 4px; }
.slide-sub { color:var(--muted); margin:0 0 2px; font-size:13.5px; }
.slide-address { margin:0 0 16px; font-size:13.5px; }
.slide-price { font-family:'IBM Plex Mono',monospace; font-size:20px; color:var(--accent); font-weight:600; margin-bottom:22px; }
.spec-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px 20px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0; margin-bottom:18px; }
.spec-grid div { display:flex; flex-direction:column; gap:3px; }
.spec-grid span { font-size:11px; color:var(--muted); }
.slide-desc h4 { font-family:'Oswald',sans-serif; font-size:13px; margin:0 0 6px; }
.slide-desc p { font-size:13px; line-height:1.6; margin:0 0 18px; }
.slide-foot { display:flex; justify-content:space-between; border-top:1px solid var(--line); padding-top:14px; font-size:13px; }

@media print {
  body * { visibility:hidden; }
  .printable-presentation, .printable-presentation * { visibility:visible; }
  .printable-presentation { position:absolute; top:0; left:0; width:100%; }
}

@media (max-width: 760px) {
  .crm-root { flex-direction:column; }
  .sidebar { width:100%; flex-direction:row; align-items:center; gap:10px; padding:10px 12px; overflow:visible; }
  .brand { border-bottom:none; margin-bottom:0; padding:0; flex-shrink:0; }
  .brand small { display:none; }
  .nav { flex-direction:row; flex:1; min-width:0; gap:4px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .nav-item span { display:none; }
  .nav-item { padding:11px; min-width:44px; min-height:44px; display:flex; align-items:center; justify-content:center; }
  .sidebar-foot { display:none; }
  .gsearch-wrap { display:none; }
  .mobile-logout-btn { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:42px; height:42px; border-radius:50%; border:none; background:#3B1414; color:#FF9B85; cursor:pointer; }
  .btn { min-height:44px; padding:11px 16px; font-size:14px; }
  .icon-btn { min-height:38px; padding:9px 12px; font-size:13px; }
  .checkline { min-height:32px; }
  .checkline input[type="checkbox"] { width:20px; height:20px; }
  .field input, .field select, textarea { min-height:44px; font-size:16px; }
  .main { padding:20px 16px 40px; }
  .page-head.row { flex-direction:column; align-items:stretch; }
  .stat-row { grid-template-columns:repeat(2,1fr); }
  .two-col { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
  .card-grid { grid-template-columns:1fr; }
  .spec-grid { grid-template-columns:repeat(2,1fr); }
  .table.wide { display:block; overflow-x:auto; white-space:nowrap; }
  .slide { padding:22px 18px; }
  .toolbar { align-items:stretch; }
  .search-box input { width:100%; }
  .showcase-header { padding:14px 16px; }
  .showcase-main { padding:20px 16px 40px; }
  .showcase-detail { grid-template-columns:1fr; }
  .showcase-carousel img { height:220px; }
  .dist-column { flex:0 0 220px; }
}
