/* ──────────────────────────────────────────────────────────────
   UWPA Glass Atrium — shared stylesheet
   Cream paper · bronze bokeh · white glass · editorial serif
   ────────────────────────────────────────────────────────────── */

:root {
  --bronze:       #a1907c;
  --bronze-deep:  #7d6d59;
  --bronze-warm:  #d4c3a8;
  --bronze-glow:  rgba(161,144,124,0.28);

  --ink:       #1a1712;
  --ink-soft:  #3d382e;
  --meta:      #7a7264;
  --hairline:  rgba(161,144,124,0.22);

  --paper:    #f5efe3;
  --paper-2:  #ece4d3;

  --glass:       rgba(255,255,255,0.78);
  --glass-soft:  rgba(255,255,255,0.62);
  --glass-deep:  rgba(255,255,255,0.88);

  --ok:    #2F7D5B;
  --warn:  #C07A1A;
  --risk:  #B84A3A;
  --info:  #3F6FA3;

  --f-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --f-sans:    'Poppins', system-ui, -apple-system, sans-serif;
  --f-mono:    'Poppins', system-ui, -apple-system, sans-serif;
}

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

/* ── Scrollbars (slim, themed) ─────────────────────────────── */
* { scrollbar-width: thin; scrollbar-color: rgba(161,144,124,0.4) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(161,144,124,0.35); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: rgba(125,109,89,0.55); background-clip: padding-box; border: 2px solid transparent; }
*::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--f-sans);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #fbf6eb 0%, #f2ead8 55%, #e9dfc8 100%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Bokeh scene ────────────────────────────────────────────── */
.bokeh { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bokeh span { position: absolute; border-radius: 50%; }
.bokeh span.l1 { width: 780px; height: 780px; top: -120px; left: -140px; filter: blur(120px); opacity: 0.9;
  background: radial-gradient(circle, var(--bronze-glow) 0%, rgba(161,144,124,0) 68%); }
.bokeh span.l2 { width: 520px; height: 520px; top: 22%; right: -80px; filter: blur(90px);
  background: radial-gradient(circle, rgba(212,195,168,0.55) 0%, rgba(212,195,168,0) 70%); }
.bokeh span.l3 { width: 420px; height: 420px; bottom: 8%; left: 30%; filter: blur(80px);
  background: radial-gradient(circle, rgba(125,109,89,0.22) 0%, rgba(125,109,89,0) 70%); }
.bokeh span.l4 { width: 280px; height: 280px; top: 55%; left: 5%; filter: blur(60px);
  background: radial-gradient(circle, rgba(255,245,225,0.55) 0%, rgba(255,245,225,0) 70%); }
.bokeh span.l5 { width: 200px; height: 200px; bottom: -60px; right: 15%; filter: blur(70px);
  background: radial-gradient(circle, rgba(161,144,124,0.32) 0%, rgba(161,144,124,0) 70%); }

/* ── Shell + sidebar ────────────────────────────────────────── */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; transition: grid-template-columns 220ms ease; }

/* Sidebar collapse — narrows to a 68px icon rail. State toggled via uwpa.js (initSidebarCollapse). */
body.sidebar-collapsed .shell { grid-template-columns: 68px 1fr; }
body.sidebar-collapsed .sidebar { padding: 24px 0; overflow: visible; }
body.sidebar-collapsed .sidebar__brand { padding: 4px 0 22px; justify-content: center; }
body.sidebar-collapsed .sidebar__brand span,
body.sidebar-collapsed .sidebar__brand small { display: none; }
body.sidebar-collapsed .sidebar__brand .mark { margin: 0 auto; }
body.sidebar-collapsed .sidebar .nav { padding: 0 8px; }
body.sidebar-collapsed .sidebar .nav-section { display: none; }
body.sidebar-collapsed .sidebar .nav a { padding: 11px 0; justify-content: center; font-size: 0; gap: 0; position: relative; }
body.sidebar-collapsed .sidebar .nav a > i,
body.sidebar-collapsed .sidebar .nav a > svg { font-size: 16px; }
body.sidebar-collapsed .sidebar .nav a:hover::after,
body.sidebar-collapsed .sidebar .nav a:focus-visible::after {
  content: attr(data-label); position: absolute; left: 60px; top: 50%; transform: translateY(-50%);
  background: rgba(26,23,18,0.96); color: #fff; font-family: var(--f-display); font-size: 12px; font-weight: 500;
  padding: 6px 10px; border-radius: 6px; white-space: nowrap; z-index: 1000; pointer-events: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08);
}
body.sidebar-collapsed .sidebar__footer { padding: 16px 8px 4px; text-align: center; }
body.sidebar-collapsed .sidebar__footer-label { display: none; }

.sidebar-collapse-btn {
  position: absolute; top: 22px; right: -12px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(26,23,18,0.96); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  font-family: var(--f-mono); font-size: 13px; line-height: 1; z-index: 50;
  transition: all 160ms ease; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.sidebar-collapse-btn:hover { color: #fff; background: var(--bronze); border-color: var(--bronze); }
.sidebar { position: relative; }

.sidebar {
  background: rgba(26,23,18,0.86);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 24px 0; display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.sidebar__brand { display: flex; align-items: center; gap: 12px; padding: 4px 24px 28px; }
.sidebar__brand .mark { width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--bronze-warm) 0%, var(--bronze) 50%, var(--bronze-deep) 100%);
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 14px rgba(161,144,124,0.4); }
.sidebar__brand span { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: -0.005em; color: #fff; }
.sidebar__brand small { display: block; font-family: var(--f-sans); font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-warm); opacity: 0.72; margin-top: 2px; }

.nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.nav-section { font-family: var(--f-sans); font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-warm); opacity: 0.55; padding: 16px 14px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: rgba(255,255,255,0.62); font-size: 13px; font-weight: 500; transition: all 160ms ease; }
.nav a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav a.active { color: var(--paper); background: rgba(161,144,124,0.18); box-shadow: inset 3px 0 0 var(--bronze); }
.nav a svg { width: 16px; height: 16px; flex-shrink: 0; }

.sidebar__footer { margin-top: auto; padding: 20px 24px 4px; border-top: 1px solid rgba(255,255,255,0.06); }
.sidebar__footer-label { font-family: var(--f-sans); font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-warm); opacity: 0.72; }
.sidebar__footer-mark { font-family: var(--f-display); font-style: italic; font-size: 13px; color: #fff; margin-top: 4px; }

/* ── Main area ──────────────────────────────────────────────── */
.main { padding: 32px 48px 64px; min-width: 0; }

.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--meta); letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb__current { color: var(--ink); font-weight: 600; }
.user-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline); border-radius: 999px;
  font-size: 12px; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.user-chip__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-deep) 100%);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
}

/* ── Page heading (display serif) ───────────────────────────── */
.page-title { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--ink); letter-spacing: -0.015em; margin: 0; }
.page-subtitle { margin-top: 8px; font-size: 12px; color: var(--meta); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* ── Glass card ─────────────────────────────────────────────── */
.gc {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(130%); -webkit-backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.03),
    0 2px 8px rgba(161,144,124,0.08),
    0 24px 56px -12px rgba(125,109,89,0.22);
  transition: transform 240ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 240ms cubic-bezier(0.2,0.8,0.2,1);
}
.gc--lift:hover { transform: translateY(-4px); box-shadow:
  0 1px 2px rgba(0,0,0,0.04),
  0 4px 14px rgba(161,144,124,0.12),
  0 32px 72px -12px rgba(125,109,89,0.34); }
.gc--warm { background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(245,233,210,0.7) 100%); }

/* ── KPI ────────────────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kpi { padding: 24px; }
.kpi__label { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--meta); margin-bottom: 14px; }
.kpi__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.kpi__value {
  font-family: var(--f-mono); font-weight: 500; font-size: 36px; line-height: 1;
  color: var(--ink); letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--ink) 20%, var(--bronze-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kpi__value--warn { background: linear-gradient(180deg, var(--warn) 20%, #8f560d 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi__value--ok   { background: linear-gradient(180deg, var(--ok) 20%, #1e5a3f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi__value--risk { background: linear-gradient(180deg, var(--risk) 20%, #7e2e22 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi__unit { font-family: var(--f-display); font-style: italic; font-size: 14px; color: var(--bronze-deep); font-weight: 400; }
.kpi__spark { width: 72px; height: 28px; opacity: 0.9; }
.kpi__meta { margin-top: 10px; font-size: 11px; color: var(--meta); letter-spacing: 0.02em; }
.kpi__meta strong { color: var(--ok); font-weight: 600; }
.kpi__meta .risk { color: var(--risk); font-weight: 600; }

/* ── Panels ─────────────────────────────────────────────────── */
.panel { padding: 26px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.panel__title { font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.005em; margin: 0; }
.panel__title--sm { font-size: 14px; letter-spacing: 0; }
.panel__sub { font-size: 10px; color: var(--meta); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }

/* ── Pills ──────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--f-sans); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(161,144,124,0.1); color: var(--bronze-deep);
  white-space: nowrap;
}
.pill--ok    { background: rgba(47,125,91,0.1);   color: var(--ok);    border: 1px solid rgba(47,125,91,0.18); }
.pill--warn  { background: rgba(192,122,26,0.1);  color: var(--warn);  border: 1px solid rgba(192,122,26,0.2); }
.pill--risk  { background: rgba(184,74,58,0.1);   color: var(--risk);  border: 1px solid rgba(184,74,58,0.2); }
.pill--info  { background: rgba(63,111,163,0.1);  color: var(--info);  border: 1px solid rgba(63,111,163,0.2); }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.status-pill--warn { background: rgba(192,122,26,0.12); border: 1px solid rgba(192,122,26,0.2); color: var(--warn); }
.status-pill--ok   { background: rgba(47,125,91,0.12);  border: 1px solid rgba(47,125,91,0.2);  color: var(--ok); }
.status-pill--risk { background: rgba(184,74,58,0.12);  border: 1px solid rgba(184,74,58,0.22); color: var(--risk); }
.status-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(192,122,26,0.2); animation: pulse 2s infinite; }
.status-pill--ok .status-pill__dot { box-shadow: 0 0 0 4px rgba(47,125,91,0.2); }
.status-pill--risk .status-pill__dot { box-shadow: 0 0 0 4px rgba(184,74,58,0.2); }

/* ── Tabs ───────────────────────────────────────────────────── */
.tabs {
  display: flex; gap: 6px; padding: 6px;
  background: var(--glass-soft);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  width: fit-content;
}
.tabs button {
  background: transparent; border: none; cursor: pointer;
  padding: 9px 18px; border-radius: 10px;
  font-family: var(--f-sans); font-size: 12px; font-weight: 600;
  color: var(--meta); letter-spacing: 0.04em; transition: all 180ms;
}
.tabs button:hover { color: var(--ink); }
.tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(161,144,124,0.3); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; border: none; cursor: pointer;
  font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  transition: transform 180ms, box-shadow 180ms, background 180ms;
}
.btn--primary {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 4px 14px rgba(26,23,18,0.25);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,23,18,0.35); }
.btn--bronze {
  background: linear-gradient(135deg, var(--bronze-warm) 0%, var(--bronze) 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 14px rgba(161,144,124,0.35);
}
.btn--bronze:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn--ghost {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--hairline); backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: var(--glass-deep); }
.btn svg { width: 13px; height: 13px; }

/* ── Events / activity ──────────────────────────────────────── */
.event {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 12px; border-radius: 12px; transition: background 180ms;
}
.event:hover { background: rgba(255,255,255,0.4); }
.event__icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-deep); border: 1px solid var(--hairline);
  box-shadow: 0 4px 12px -4px rgba(161,144,124,0.2);
}
.event__icon svg { width: 15px; height: 15px; }
.event__icon--xero    { color: #13b5ea; background: rgba(19,181,234,0.08); border-color: rgba(19,181,234,0.2); }
.event__icon--trello  { color: #0079bf; background: rgba(0,121,191,0.08); border-color: rgba(0,121,191,0.2); }
.event__icon--outlook { color: #0072c6; background: rgba(0,114,198,0.08); border-color: rgba(0,114,198,0.2); }
.event__icon--adobe   { color: #ed1c24; background: rgba(237,28,36,0.08); border-color: rgba(237,28,36,0.2); }
.event__icon--onedrive{ color: #0061e0; background: rgba(0,97,224,0.08); border-color: rgba(0,97,224,0.2); }
.event__icon--ato     { color: var(--ink); background: rgba(26,23,18,0.05); border-color: rgba(26,23,18,0.15); }
.event__icon--arcitex { color: var(--bronze-deep); background: rgba(161,144,124,0.14); border-color: rgba(161,144,124,0.3); }
.event__body { min-width: 0; }
.event__title { font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.event__meta { margin-top: 3px; font-family: var(--f-mono); font-size: 10px; color: var(--meta); letter-spacing: 0.04em; }

/* ── Week divider ───────────────────────────────────────────── */
.week { position: relative; margin-bottom: 20px; }
.week__label {
  font-family: var(--f-sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-deep);
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(161,144,124,0.1) 0%, rgba(161,144,124,0) 80%);
  border-left: 2px solid var(--bronze); border-radius: 6px;
  margin-bottom: 4px;
}

/* ── Tool chips (connected apps) ────────────────────────────── */
.tool { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(161,144,124,0.14); }
.tool:last-child { border-bottom: none; }
.tool__left { display: flex; align-items: center; gap: 12px; }
.tool__logo { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 13px; font-weight: 700; }
.tool__logo--xero    { background: rgba(19,181,234,0.12); color: #13b5ea; }
.tool__logo--trello  { background: rgba(0,121,191,0.12); color: #0079bf; }
.tool__logo--outlook { background: rgba(0,114,198,0.12); color: #0072c6; }
.tool__logo--onedrive{ background: rgba(0,97,224,0.12); color: #0061e0; }
.tool__logo--ato     { background: rgba(26,23,18,0.06); color: var(--ink); }
.tool__logo--adobe   { background: rgba(237,28,36,0.12); color: #ed1c24; }
.tool__name { font-size: 13px; color: var(--ink); font-weight: 600; }
.tool__status { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.tool__status--ok   { color: var(--ok); }
.tool__status--warn { color: var(--warn); }
.tool__status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(47,125,91,0.15); }
.tool__status--warn::before { box-shadow: 0 0 0 3px rgba(192,122,26,0.15); }

/* ── Contact rows ───────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(161,144,124,0.14); cursor: pointer; }
.contact:last-child { border-bottom: none; }
.contact:hover .contact__name { color: var(--bronze-deep); }
.contact__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze-warm) 0%, var(--bronze) 100%);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 4px 12px -4px rgba(161,144,124,0.4);
}
.contact__name { font-size: 13px; color: var(--ink); font-weight: 600; transition: color 160ms; }
.contact__role { font-size: 11px; color: var(--meta); margin-top: 1px; }
.contact__action { width: 32px; height: 32px; border-radius: 50%; background: rgba(161,144,124,0.1); display: inline-flex; align-items: center; justify-content: center; color: var(--bronze-deep); transition: background 160ms; cursor: pointer; text-decoration: none; }
.contact__action:hover { background: rgba(161,144,124,0.25); color: var(--ink); }

/* ── Client 360 tab panels ───────────────────────────────── */
.c360-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.c360-table th { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--meta); padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--hairline); font-weight: 600; }
.c360-table td { padding: 12px; border-bottom: 1px solid rgba(161,144,124,0.1); color: var(--ink); vertical-align: middle; }
.c360-table tr:last-child td { border-bottom: none; }
.c360-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.04em; background: rgba(161,144,124,0.14); color: var(--bronze-deep); font-weight: 600; }
.c360-pill--ok   { background: rgba(103,143,112,0.14); color: #2F7D5B; }
.c360-pill--warn { background: rgba(192,122,26,0.14);  color: #a06a10; }
.c360-pill--risk { background: rgba(184,74,58,0.14);   color: #B84A3A; }
.c360-empty { padding: 24px; background: rgba(161,144,124,0.06); border: 1px dashed var(--hairline); border-radius: 12px; color: var(--meta); font-size: 12.5px; line-height: 1.6; text-align: center; }
.c360-files { display: flex; flex-direction: column; gap: 8px; }
.c360-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; background: rgba(255,255,255,0.4); }
.c360-file:hover { background: rgba(255,255,255,0.7); }
.c360-file__title { font-size: 13px; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c360-file__meta  { font-size: 10px; color: var(--meta); font-family: var(--f-mono); margin-top: 2px; letter-spacing: 0.02em; }
.c360-bill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.c360-bill-card { padding: 16px 18px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,0.45); }
.c360-bill-lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--meta); font-weight: 600; }
.c360-bill-val { font-family: var(--f-mono); font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 8px; letter-spacing: -0.01em; }
.c360-bill-sub { font-size: 11px; color: var(--meta); margin-top: 4px; }
.contact:hover .contact__action { background: rgba(161,144,124,0.2); }
.contact__action svg { width: 13px; height: 13px; }

/* ── Tabular data row ──────────────────────────────────────── */
.row-item {
  display: grid; grid-template-columns: 44px 1fr auto auto auto; gap: 16px;
  align-items: center; padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
  transition: background 160ms;
}
.row-item:hover { background: rgba(255,255,255,0.45); }
.row-item:last-child { border-bottom: none; }
.row-item__lead {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--bronze-warm) 0%, var(--bronze) 100%);
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.row-item__title { font-size: 14px; color: var(--ink); font-weight: 600; }
.row-item__meta { font-size: 11px; color: var(--meta); margin-top: 2px; letter-spacing: 0.02em; }

/* ── Footer mark ────────────────────────────────────────────── */
.footer-mark { text-align: center; padding: 48px 0 16px; font-family: var(--f-display); font-style: italic; font-size: 11px; color: var(--meta); letter-spacing: 0.16em; }
.footer-mark span { color: var(--bronze-deep); font-weight: 600; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
@keyframes shimmer { 0% { background-position: 200% 0; opacity: 0; } 20% { opacity: 1; } 100% { background-position: -200% 0; opacity: 0; } }

.rise { opacity: 0; animation: rise 700ms cubic-bezier(0.2,0.8,0.2,1) forwards; }
.rise-80 { animation-delay: 80ms; }
.rise-160 { animation-delay: 160ms; }
.rise-240 { animation-delay: 240ms; }
.rise-320 { animation-delay: 320ms; }
.rise-400 { animation-delay: 400ms; }
.rise-480 { animation-delay: 480ms; }
.rise-560 { animation-delay: 560ms; }
.rise-640 { animation-delay: 640ms; }

/* ── Utility ────────────────────────────────────────────────── */
.mono { font-family: var(--f-mono); }
.display { font-family: var(--f-display); }
.italic { font-style: italic; }
.dim { color: var(--meta); }
.ink { color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; align-items: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; }
.ml-auto { margin-left: auto; }
