:root {
  --bg: #090b0e;
  --bg-2: #0e1116;
  --sidebar: rgba(14,17,22,.96);
  --panel: #14181e;
  --panel-2: #1a2028;
  --panel-3: #101419;
  --border: #29313b;
  --border-soft: rgba(255,255,255,.07);
  --text: #f4f5f7;
  --muted: #929ba7;
  --muted-2: #697380;
  --gold: #d9ad56;
  --gold-2: #f4d58e;
  --gold-3: #8e6527;
  --green: #42c982;
  --green-soft: rgba(66,201,130,.12);
  --red: #ff6b74;
  --red-soft: rgba(255,107,116,.12);
  --blue: #65a7ff;
  --blue-soft: rgba(101,167,255,.12);
  --purple: #aa8cff;
  --purple-soft: rgba(170,140,255,.12);
  --orange: #ffab61;
  --shadow: 0 30px 80px rgba(0,0,0,.38);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: radial-gradient(circle at 78% -10%, rgba(217,173,86,.09), transparent 27%), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
input, select, textarea { width: 100%; background: #0d1116; color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; outline: none; transition: .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,173,86,.12); }
textarea { min-height: 96px; resize: vertical; }
a { color: inherit; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-shell { display: grid; grid-template-columns: 262px minmax(0,1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; z-index: 45; display: flex; flex-direction: column; padding: 22px 15px 16px; overflow: hidden; background: var(--sidebar); border-right: 1px solid var(--border-soft); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 20px; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; font-weight: 900; font-size: 13px; letter-spacing: -.4px; color: #14100a; background: linear-gradient(135deg, #f7dda1, #c28f36 64%, #7a501b); box-shadow: 0 10px 30px rgba(217,173,86,.2); }
.brand strong, .brand span { display: block; }
.brand strong { max-width: 165px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.brand span { color: var(--muted); font-size: 9px; margin-top: 3px; letter-spacing: .04em; }
.nav-list { flex: 1; display: grid; align-content: start; gap: 3px; overflow-y: auto; padding-right: 3px; scrollbar-width: thin; }
.nav-item { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #8f98a4; text-align: left; font-size: 11px; font-weight: 650; transition: .2s; }
.nav-item svg { width: 17px; height: 17px; }
.nav-item:hover { color: var(--text); background: rgba(255,255,255,.035); }
.nav-item.active { color: var(--gold-2); background: linear-gradient(90deg, rgba(217,173,86,.13), rgba(217,173,86,.035)); border-color: rgba(217,173,86,.18); box-shadow: inset 3px 0 var(--gold); }
.sidebar-footer { padding: 16px 5px 0; border-top: 1px solid var(--border-soft); margin-top: 12px; }
.install-button { width: 100%; border: 1px solid rgba(217,173,86,.3); color: var(--gold-2); background: rgba(217,173,86,.08); border-radius: 11px; padding: 11px; margin-bottom: 12px; font-size: 10px; font-weight: 800; }
.sync-status { display: flex; align-items: center; gap: 10px; padding: 7px 5px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(66,201,130,.65); }
.sync-status strong, .sync-status small { display: block; }
.sync-status strong { font-size: 9px; }.sync-status small { font-size: 8px; color: var(--muted-2); margin-top: 2px; }
.main-content { min-width: 0; }
.topbar { height: 82px; position: sticky; top: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; border-bottom: 1px solid var(--border-soft); background: rgba(9,11,14,.83); backdrop-filter: blur(18px); }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 13px; }
.eyebrow { margin: 0 0 4px; color: var(--gold); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
h1 { margin: 0; font-size: 21px; letter-spacing: -.5px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); color: #c8cdd3; }
.notification-button { position: relative; }
.notification-badge { position: absolute; right: -4px; top: -5px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border-radius: 99px; color: #14100a; background: var(--gold-2); font-size: 8px; font-weight: 900; border: 2px solid var(--bg); }
.quick-add { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(217,173,86,.25); border-radius: 12px; background: rgba(217,173,86,.09); color: var(--gold-2); font-size: 10px; font-weight: 800; }
.quick-add svg { width: 15px; }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; }
.profile-avatar { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #17120b; background: linear-gradient(135deg,var(--gold-2),var(--gold-3)); font-size: 10px; font-weight: 900; }
.profile-copy strong, .profile-copy small { display: block; }.profile-copy strong { font-size: 10px; }.profile-copy small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.page { display: none; padding: 28px 30px 50px; animation: pageIn .22s ease; }.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(4px); } }
.hero-card { min-height: 202px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 34px; border-radius: 26px; border: 1px solid rgba(217,173,86,.2); background: radial-gradient(circle at 86% 10%, rgba(244,213,142,.2), transparent 24%), linear-gradient(125deg, #1c1a17, #121820 63%, #11151a); box-shadow: var(--shadow); }
.hero-card:after { content: "GA"; position: absolute; right: 3%; bottom: -38%; font-size: 180px; font-weight: 950; color: rgba(255,255,255,.018); letter-spacing: -18px; pointer-events: none; }
.hero-card > * { position: relative; z-index: 1; }
.hero-tag { display: inline-flex; padding: 6px 9px; border: 1px solid rgba(217,173,86,.27); border-radius: 999px; color: var(--gold-2); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.hero-card h2 { max-width: 620px; margin: 14px 0 8px; font-size: clamp(24px,3vw,38px); letter-spacing: -1.45px; line-height: 1.06; }
.hero-card p { max-width: 620px; color: #9ea5ae; margin: 0; font-size: 12px; line-height: 1.65; }
.hero-actions, .toolbar-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.button { min-height: 41px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border-radius: 11px; border: 1px solid transparent; font-size: 10px; font-weight: 800; transition: .18s; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 15px; height: 15px; }
.button.primary { color: #17120b; background: linear-gradient(135deg,var(--gold-2),#c8943d); box-shadow: 0 10px 24px rgba(217,173,86,.13); }
.button.secondary { color: #d5dae0; background: #161b21; border-color: var(--border); }
.button.danger { color: #ff9399; background: var(--red-soft); border-color: rgba(255,107,116,.24); }
.text-button { border: 0; background: transparent; color: var(--gold); font-size: 9px; font-weight: 800; }
.kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin: 18px 0; }
.kpi-grid.six { grid-template-columns: repeat(6,minmax(0,1fr)); }
.kpi-grid.compact { margin-top: 0; }
.kpi-card { min-width: 0; min-height: 118px; display: flex; align-items: center; gap: 13px; padding: 17px; border-radius: 18px; border: 1px solid var(--border-soft); background: linear-gradient(145deg,var(--panel),#11151a); }
.kpi-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--gold-2); background: rgba(217,173,86,.1); }.kpi-icon.warning { color: var(--red); background: var(--red-soft); }.kpi-icon.blue { color: var(--blue); background: var(--blue-soft); }.kpi-icon.purple { color: var(--purple); background: var(--purple-soft); }
.kpi-card small, .kpi-card strong, .kpi-card em { display: block; }.kpi-card small { color: var(--muted); font-size: 9px; }.kpi-card strong { margin-top: 7px; font-size: 19px; letter-spacing: -.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.kpi-card em { margin-top: 5px; color: var(--muted-2); font-size: 8px; font-style: normal; }
.dashboard-grid > *, .report-grid > * { min-width: 0; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }.wide { grid-column: span 2; }
.panel { min-width: 0; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: linear-gradient(145deg,var(--panel),#11151a); box-shadow: 0 14px 35px rgba(0,0,0,.12); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }.panel-header small { display: block; color: var(--gold); font-size: 8px; font-weight: 850; letter-spacing: .1em; }.panel-header h3 { margin: 4px 0 0; font-size: 14px; }.panel-pill { padding: 6px 9px; border-radius: 99px; color: var(--green); background: var(--green-soft); font-size: 9px; font-weight: 850; }
.bar-chart { height: 190px; display: flex; align-items: end; justify-content: space-around; gap: 10px; padding: 18px 5px 0; border-bottom: 1px solid var(--border); background-image: linear-gradient(to bottom, transparent 24%, rgba(255,255,255,.035) 25%, transparent 26%, transparent 49%, rgba(255,255,255,.035) 50%, transparent 51%, transparent 74%, rgba(255,255,255,.035) 75%, transparent 76%); }
.bar-group { flex: 1; max-width: 62px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 6px; }.bar { width: min(34px,72%); min-height: 4px; border-radius: 8px 8px 2px 2px; background: linear-gradient(to top,#8d6428,var(--gold-2)); box-shadow: 0 0 20px rgba(217,173,86,.08); }.bar-label,.bar-value { font-size: 8px; color: var(--muted); }.bar-value { color: #c8cdd3; white-space: nowrap; }
.compact-list { display: grid; gap: 7px; }.compact-item { display: grid; grid-template-columns: 55px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }.compact-item:last-child { border-bottom: 0; }.compact-item strong,.compact-item small { display: block; }.compact-item strong { font-size: 10px; }.compact-item small { color: var(--muted); font-size: 8px; margin-top: 3px; }.compact-time { color: var(--gold-2); font-size: 9px; font-weight: 800; }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; min-width: 660px; }th,td { padding: 12px 10px; border-bottom: 1px solid var(--border-soft); text-align: left; font-size: 10px; }th { color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }td { color: #cbd0d6; }
.status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 99px; font-size: 8px; font-weight: 800; white-space: nowrap; }.status.paid,.status.done,.status.online,.status.active { color: var(--green); background: var(--green-soft); }.status.pending,.status.review,.status.planning { color: var(--orange); background: rgba(255,171,97,.11); }.status.overdue,.status.high { color: var(--red); background: var(--red-soft); }.status.progress,.status.development,.status.executing { color: var(--blue); background: var(--blue-soft); }.status.maintenance,.status.backlog,.status.paused { color: var(--purple); background: var(--purple-soft); }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }.section-toolbar p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.filter-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }.filter-row.compact { margin: 0; }.filter { min-height: 33px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; background: #11161b; color: var(--muted); font-size: 9px; font-weight: 750; }.filter.active { color: var(--gold-2); border-color: rgba(217,173,86,.35); background: rgba(217,173,86,.09); }
.search-row { margin-bottom: 16px; }.search-box { min-width: min(100%,330px); position: relative; }.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); width: 16px; }.search-box input { padding-left: 40px; }
.toolbar-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px; margin-bottom: 16px; border: 1px solid var(--border-soft); border-radius: 16px; background: rgba(20,24,30,.75); }
.task-board { display: grid; gap: 10px; }.task-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 17px; border-radius: 16px; border: 1px solid var(--border-soft); background: linear-gradient(145deg,var(--panel),#11151a); }.task-card.completed { opacity: .58; }.task-card h4 { margin: 1px 0 5px; font-size: 12px; }.task-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }.task-check { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #3a424d; border-radius: 8px; background: #0e1217; color: #121712; }.task-check.checked { background: var(--green); border-color: var(--green); }.task-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }.meta-chip { font-size: 8px; color: #9ca4ae; border: 1px solid var(--border); border-radius: 999px; padding: 5px 7px; }.priority-high { color: #ff9ba1; border-color: rgba(255,107,116,.25); }
.task-actions { display: flex; gap: 6px; }.small-action { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--border); background: #10151a; color: #aeb5bd; }.small-action svg { width: 14px; }.small-action:hover { border-color: #46515e; color: white; }
.client-grid,.site-grid,.vault-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.client-card,.site-card,.vault-card { min-width: 0; padding: 17px; border-radius: 18px; border: 1px solid var(--border-soft); background: linear-gradient(145deg,var(--panel),#11151a); }.client-card:hover,.site-card:hover,.vault-card:hover { border-color: rgba(217,173,86,.2); }.client-head,.site-head,.vault-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 11px; }.client-identity,.site-identity { display: flex; gap: 10px; align-items: center; min-width: 0; }.client-avatar,.site-avatar { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #17120b; font-weight: 900; font-size: 10px; background: linear-gradient(135deg,var(--gold-2),var(--gold-3)); }.site-avatar { color: var(--blue); background: var(--blue-soft); }.client-card h4,.site-card h4,.vault-card h4 { margin: 0 0 3px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.client-card small,.site-card small,.vault-card small { color: var(--muted); font-size: 9px; }.client-details,.site-details,.vault-details { display: grid; gap: 8px; padding: 14px 0; margin-top: 14px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }.client-detail,.site-detail,.vault-detail { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; }.client-detail span,.site-detail span,.vault-detail span { color: var(--muted); }.client-detail strong,.site-detail strong,.vault-detail strong { min-width: 0; max-width: 65%; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.client-actions,.site-actions,.vault-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 13px; }.client-actions .button,.site-actions .button,.vault-actions .button { flex: 1; min-width: 80px; min-height: 36px; padding: 0 9px; font-size: 8px; }
.client-note { margin-top: 11px; padding: 10px; border-radius: 10px; color: #9ba4af; background: var(--panel-3); font-size: 9px; line-height: 1.45; }
.site-url { color: var(--blue); text-decoration: none; }.site-progress { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: #202731; }.site-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--gold)); }
.security-banner,.integration-note { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border-radius: 15px; color: #d2b981; background: rgba(217,173,86,.07); border: 1px solid rgba(217,173,86,.17); }.security-banner svg,.integration-note svg { width: 24px; height: 24px; flex: 0 0 auto; }.security-banner strong,.security-banner span { display: block; }.security-banner strong { font-size: 10px; }.security-banner span { color: #a8a19a; font-size: 9px; margin-top: 3px; }
.vault-unlock { max-width: 500px; margin: 42px auto; text-align: center; }.vault-lock-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 21px; color: var(--gold-2); background: rgba(217,173,86,.1); }.vault-lock-icon svg { width: 28px; height: 28px; }.vault-unlock h3 { margin: 0 0 7px; }.vault-unlock p { margin: 0 auto 16px; max-width: 370px; color: var(--muted); font-size: 10px; line-height: 1.55; }.vault-unlock form { display: grid; gap: 9px; max-width: 360px; margin: auto; }.vault-secret { display: flex; align-items: center; gap: 7px; }.vault-secret code { flex: 1; display: block; min-width: 0; padding: 9px; border-radius: 8px; color: var(--gold-2); background: #0b0f13; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.idea-board { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; align-items: start; }.idea-column { min-height: 230px; padding: 12px; border: 1px solid var(--border-soft); border-radius: 17px; background: rgba(16,20,25,.72); }.idea-column-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }.idea-column-head strong { font-size: 10px; }.idea-count { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; color: var(--muted); background: #1b222a; font-size: 8px; }.idea-list { display: grid; gap: 9px; }.idea-card { padding: 13px; border: 1px solid var(--border-soft); border-radius: 13px; background: var(--panel); }.idea-card h4 { margin: 0 0 6px; font-size: 11px; }.idea-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }.idea-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }.idea-actions { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
.agenda-layout { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 16px; align-items: start; }.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }.calendar-head button { width: 31px; height: 31px; border: 1px solid var(--border); background: #10151a; color: var(--text); border-radius: 9px; }.calendar-weekdays,.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }.calendar-weekdays span { color: var(--muted-2); text-align: center; font-size: 8px; padding-bottom: 7px; }.calendar-day { aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 9px; color: #b8bec6; background: transparent; font-size: 9px; position: relative; }.calendar-day:hover { background: #202731; }.calendar-day.muted { color: #404854; }.calendar-day.today { border: 1px solid var(--gold); }.calendar-day.selected { background: var(--gold); color: #0b0d10; font-weight: 900; }.calendar-day.has-event:after { content: ""; width: 4px; height: 4px; background: var(--gold-2); position: absolute; bottom: 4px; border-radius: 50%; }.calendar-day.selected.has-event:after { background: #0b0d10; }.timeline { display: grid; gap: 9px; }.timeline-item { display: grid; grid-template-columns: 62px 4px minmax(0,1fr) auto; gap: 13px; align-items: center; padding: 10px 0; }.timeline-time { color: var(--gold-2); font-size: 11px; font-weight: 850; }.timeline-line { width: 4px; height: 52px; border-radius: 10px; background: linear-gradient(var(--gold-2),var(--gold-3)); }.timeline-item h4 { margin: 0 0 4px; font-size: 11px; }.timeline-item p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.collection-list { display: grid; gap: 10px; }.collection-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--border-soft); border-radius: 17px; background: linear-gradient(145deg,var(--panel),#11151a); }.collection-card.overdue { border-color: rgba(255,107,116,.25); }.collection-card h4 { margin: 9px 0 5px; }.collection-card p { margin: 0; color: var(--muted); font-size: 9px; }.collection-amount { margin-top: 9px; color: var(--gold-2); font-size: 19px; font-weight: 850; }.collection-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.report-filters { display: flex; align-items: end; gap: 12px; margin-bottom: 16px; }.report-filters label { min-width: 190px; display: grid; gap: 6px; color: var(--muted); font-size: 9px; }.report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }.report-chart { height: 230px; }.rank-list,.insight-list { display: grid; gap: 10px; }.rank-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }.rank-item strong,.rank-item small { display: block; }.rank-item strong { font-size: 10px; }.rank-item small { color: var(--muted); font-size: 8px; margin-top: 3px; }.rank-value { color: var(--gold-2); font-size: 10px; font-weight: 800; }.rank-bar { grid-column: 1/-1; height: 5px; overflow: hidden; border-radius: 99px; background: #232a33; }.rank-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--gold),var(--gold-2)); }.insight-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }.insight-item span { color: var(--muted); font-size: 9px; }.insight-item strong { font-size: 10px; }
.automation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.automation-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: center; }.automation-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--gold-2); background: rgba(217,173,86,.09); }.automation-card h3 { margin: 0 0 5px; font-size: 12px; }.automation-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }.switch input { display: none; }.switch span { width: 44px; height: 24px; display: block; position: relative; border-radius: 99px; background: #303844; transition: .2s; }.switch span:after { content: ""; width: 18px; height: 18px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: #86909c; transition: .2s; }.switch input:checked + span { background: var(--gold); }.switch input:checked + span:after { transform: translateX(20px); background: #131313; }.automation-log-panel { margin-top: 16px; }.automation-log { display: grid; gap: 8px; }.log-item { display: grid; grid-template-columns: 75px minmax(0,1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }.log-item time { color: var(--gold); font-size: 8px; }.log-item span { color: #b6bdc5; font-size: 9px; }.integration-note { margin-top: 16px; align-items: flex-start; }.integration-note strong { font-size: 11px; }.integration-note p { margin: 5px 0 0; color: #999fa8; font-size: 9px; line-height: 1.55; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }.settings-card { display: grid; gap: 13px; }.settings-card label { display: grid; gap: 6px; color: #aeb5bd; font-size: 9px; }.setting-line,.toggle-row { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }.setting-line strong,.setting-line small,.toggle-row strong,.toggle-row small { display: block; }.setting-line strong,.toggle-row strong { font-size: 10px; }.setting-line small,.toggle-row small { margin-top: 4px; color: var(--muted); font-size: 8px; }.toggle-row input { width: 44px; height: 24px; appearance: none; border-radius: 999px; background: #303844; padding: 0; position: relative; }.toggle-row input:after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #86909c; position: absolute; left: 3px; top: 2px; transition: .2s; }.toggle-row input:checked { background: var(--gold); }.toggle-row input:checked:after { transform: translateX(20px); background: #111; }.mobile-note,.cloud-box { padding: 13px; border-radius: 12px; color: #a1a9b2; line-height: 1.55; font-size: 9px; background: #0f1419; border: 1px solid var(--border-soft); }.cloud-box { display: grid; gap: 5px; }.cloud-box strong { color: var(--text); }.button-stack { display: grid; gap: 8px; }.file-button { position: relative; overflow: hidden; }.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }.muted { color: var(--muted); line-height: 1.55; font-size: 10px; }
.notification-drawer { position: fixed; right: 0; top: 0; width: min(390px,92vw); height: 100vh; z-index: 60; padding: 22px; background: #11161b; border-left: 1px solid var(--border); transition: transform .24s; transform: translateX(105%); box-shadow: var(--shadow); }.notification-drawer.open { transform: translateX(0); }.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }.drawer-header h3 { margin: 0; }.drawer-header small { color: var(--gold); font-size: 8px; }.notification-list { display: grid; gap: 9px; max-height: calc(100vh - 150px); overflow-y: auto; }.notification-item { padding: 13px; border-radius: 13px; background: var(--panel); border: 1px solid var(--border-soft); }.notification-item strong { display: block; font-size: 10px; margin-bottom: 4px; }.notification-item p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }.notification-item small { display: block; margin-top: 7px; color: var(--muted-2); font-size: 8px; }.drawer-clear { width: 100%; margin-top: 12px; }.drawer-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.58); backdrop-filter: blur(2px); }
.modal-backdrop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }.modal { width: min(640px,100%); max-height: 92vh; overflow-y: auto; padding: 21px; border-radius: 21px; background: #12171c; border: 1px solid #333c47; box-shadow: var(--shadow); }.detail-modal { width: min(720px,100%); }.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }.modal-header small { color: var(--gold); font-size: 8px; }.modal-header h3 { margin: 4px 0 0; }.modal-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }.modal-form label { display: grid; gap: 6px; color: #aeb5bd; font-size: 9px; }.modal-form .full { grid-column: 1/-1; }.modal-form .form-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.detail-box { padding: 13px; border-radius: 12px; background: #0e1318; border: 1px solid var(--border-soft); }.detail-box.full { grid-column: 1/-1; }.detail-box span,.detail-box strong { display: block; }.detail-box span { color: var(--muted); font-size: 8px; margin-bottom: 5px; }.detail-box strong { font-size: 10px; line-height: 1.45; word-break: break-word; }.detail-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.toast-container { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 8px; }.toast { padding: 12px 14px; border-radius: 12px; color: var(--text); background: #1b2229; border: 1px solid #3a4652; box-shadow: var(--shadow); font-size: 10px; animation: toastIn .24s ease; }@keyframes toastIn { from { opacity: 0; transform: translateY(7px); } }
.empty-state { padding: 28px 15px; color: var(--muted); text-align: center; font-size: 10px; border: 1px dashed var(--border); border-radius: 13px; }.hidden { display: none !important; }.mobile-only { display: none; }
@media (max-width: 1320px) { .kpi-grid.six { grid-template-columns: repeat(3,minmax(0,1fr)); }.client-grid,.site-grid,.vault-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.idea-board { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 1050px) { .dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.wide { grid-column: span 2; }.kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.report-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; }.sidebar { position: fixed; left: -280px; transition: .24s; }.sidebar.open { left: 0; box-shadow: var(--shadow); }.mobile-only { display: grid; }.topbar { padding: 0 17px; }.page { padding: 22px 17px 42px; }.hero-card { align-items: flex-start; flex-direction: column; }.hero-actions { justify-content: flex-start; }.profile-copy,.quick-add span { display: none; }.quick-add { width: 40px; padding: 0; justify-content: center; }.agenda-layout,.settings-grid { grid-template-columns: 1fr; }.automation-grid { grid-template-columns: 1fr; }.toolbar-card { align-items: stretch; flex-direction: column; }.report-filters { align-items: stretch; flex-wrap: wrap; }.report-filters label { flex: 1; min-width: 180px; } }
@media (max-width: 650px) { .topbar { height: 74px; }.topbar-actions { gap: 8px; }h1 { font-size: 17px; }.eyebrow { font-size: 7px; }.hero-card { min-height: auto; padding: 23px; }.hero-card h2 { font-size: 27px; }.hero-actions { width: 100%; }.hero-actions .button { flex: 1; min-width: 125px; }.kpi-grid,.kpi-grid.six { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.kpi-card { min-height: 96px; padding: 13px; }.kpi-icon { display: none; }.kpi-card strong { font-size: 16px; }.dashboard-grid { grid-template-columns: 1fr; }.wide { grid-column: 1; }.client-grid,.site-grid,.vault-grid,.idea-board { grid-template-columns: 1fr; }.section-toolbar { align-items: stretch; flex-direction: column; }.section-toolbar > .button,.section-toolbar > .toolbar-actions { width: 100%; }.section-toolbar .toolbar-actions .button { flex: 1; }.task-card { grid-template-columns: auto minmax(0,1fr); }.task-actions { grid-column: 2; }.collection-card { grid-template-columns: 1fr; }.collection-actions { justify-content: flex-start; }.modal-form { grid-template-columns: 1fr; }.modal-form .full,.modal-form .form-actions { grid-column: 1; }.panel { min-width: 0; padding: 16px; }.timeline-item { grid-template-columns: 50px 3px minmax(0,1fr); }.timeline-item .task-actions { grid-column: 3; }.report-filters { display: grid; }.report-filters label { min-width: 0; }.detail-grid { grid-template-columns: 1fr; }.detail-box.full { grid-column: 1; }.automation-card { grid-template-columns: auto minmax(0,1fr); }.automation-card .switch { grid-column: 2; }.quick-add { display: none; } }
@media print { .sidebar,.topbar,.section-toolbar,.report-filters,.notification-drawer,.drawer-backdrop,.toast-container { display: none !important; }.app-shell { display: block; }.page { display: none !important; padding: 0; }.page#reports-page { display: block !important; }.report-kpis { grid-template-columns: repeat(3,1fr) !important; }.report-grid { grid-template-columns: repeat(2,1fr); }.panel,.kpi-card { break-inside: avoid; box-shadow: none; }.button { display: none; }body { background: #fff; color: #111; }.panel,.kpi-card { background: #fff; border-color: #ddd; }.panel h3,.kpi-card strong,.rank-item strong,.insight-item strong { color: #111; }.bar-chart { background: none; }.bar { background: #777; } }
