:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --line: #dde5ef;
  --text: #111827;
  --muted: #68758a;
  --azo: #004c93;
  --azo-2: #0b75d1;
  --infused: #1b2838;
  --green: #16823b;
  --green-bg: #e9f8ef;
  --red: #c73d33;
  --red-bg: #fff0ee;
  --amber: #9a6500;
  --amber-bg: #fff6dd;
  --shadow: 0 18px 42px rgba(17, 24, 39, .08);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 15% 0%, #e9f4ff 0, transparent 28%), linear-gradient(180deg, #fbfdff, var(--bg)); font-family: Arial, sans-serif; }
a { color: var(--azo); text-decoration: none; }
.app-shell { max-width: 1680px; margin: 0 auto; padding: 24px; }
.topbar, .calendar-strip, .stats, .editor-panel, .post-card, .login-card, .ideas-panel, .stats-hero, .stats-panel { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; margin-bottom: 14px; }
.brand-group { display: flex; align-items: center; gap: 18px; }
.logo-link { display: inline-flex; align-items: center; border-radius: 8px; }
.logo-link:focus-visible { outline: 3px solid rgba(11,117,209,.35); outline-offset: 4px; }
.azo-logo { width: 190px; max-width: 36vw; }
.eyebrow { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 1.1; }
h1 { font-size: 29px; letter-spacing: 0; }
h2 { font-size: 20px; margin-bottom: 14px; }
.account-box { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left; color: var(--muted); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; }
.account-box span { color: var(--text); font-weight: 700; }
.account-box small,
.account-box a { grid-column: 2; }
.user-avatar { grid-row: 1 / span 3; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; overflow: hidden; }
.user-avatar img { max-width: 74%; max-height: 74%; object-fit: contain; }
.calendar-strip { padding: 12px 16px; color: var(--muted); font-size: 13px; }
.calendar-strip strong { color: var(--text); margin-right: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; }
.stats div { padding: 17px; background: linear-gradient(180deg, #ffffff, #f8fbff); }
.stats strong { display: block; font-size: 30px; margin-bottom: 4px; }
.stats span { color: var(--muted); font-size: 14px; }
.editor-panel { padding: 18px; margin-bottom: 18px; }
.post-form, .feedback-form, .form-grid, .ideas-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.two-column-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.checkbox-label { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--azo); }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; color: var(--text); background: #fff; font: 400 14px/1.45 Arial, sans-serif; }
textarea { resize: vertical; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-weight: 800; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button svg { width: 16px; height: 16px; margin-right: 7px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(17, 24, 39, .08); }
.button-primary { background: linear-gradient(135deg, var(--azo), var(--azo-2)); border-color: var(--azo); color: #fff; }
.button-secondary { background: #f8fafc; }
.button-danger { color: var(--red); border-color: #f2c5c0; background: var(--red-bg); }
.reply-button { color: #fff; border-color: #128c7e; background: linear-gradient(135deg, #25d366, #128c7e); }
.workspace-layout { display: grid; grid-template-columns: minmax(280px, 25%) minmax(0, 75%); gap: 18px; align-items: start; }
.content-column { display: grid; gap: 18px; min-width: 0; }
.dashboard-sidebar { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow: auto; display: grid; gap: 12px; }
.sidebar-menu { display: grid; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.sidebar-menu a { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border-radius: 9px; color: var(--muted); font-weight: 800; }
.sidebar-menu a:hover,
.sidebar-menu a.is-active { color: #fff; background: linear-gradient(135deg, var(--azo), var(--azo-2)); }
.sidebar-menu svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.upcoming-events { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.upcoming-events > strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.upcoming-events > span { color: var(--muted); font-size: 13px; }
.event-mini { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 34px; padding: 6px 8px; border-radius: 9px; border-left: 4px solid #9db4d1; background: #f5f8fc; color: var(--text); }
.event-mini small { color: var(--muted); font-weight: 900; }
.event-mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }
.event-mini em { padding: 3px 7px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.event-attending { --event-line: #8fb6da; --event-bg: #eef6ff; --event-text: #245987; }
.event-exhibiting { --event-line: #9bcf9f; --event-bg: #effaf0; --event-text: #27652e; }
.event-mini.event-attending,
.calendar-event-line.event-attending,
.idea-card.event-attending { border-left-color: var(--event-line); background: var(--event-bg); }
.event-mini.event-exhibiting,
.calendar-event-line.event-exhibiting,
.idea-card.event-exhibiting { border-left-color: var(--event-line); background: var(--event-bg); }
.event-mini em,
.event-badge { color: var(--event-text); background: rgba(255,255,255,.72); }
.mini-stat { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; padding: 7px 9px; border-radius: 9px; background: #f8fbff; }
.mini-stat span { color: var(--muted); font-size: 12px; font-weight: 800; }
.mini-stat b { color: var(--azo); font-size: 15px; }
.calendar-sidebar { padding: 12px; border: 1px solid rgba(221,229,239,.9); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 18px 42px rgba(17,24,39,.06); }
.calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 2px 2px 10px; border-bottom: 1px solid #edf1f6; }
.calendar-heading span { color: var(--azo); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.calendar-heading strong { font-size: 18px; letter-spacing: 0; }
.calendar-heading::after { content: "Approved only"; grid-column: 1 / -1; color: #7a8798; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.calendar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.calendar-page .calendar-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-page .calendar-day { min-height: 150px; }
.calendar-day { min-height: 112px; padding: 8px; border: 1px solid #edf1f6; border-radius: 12px; background: #fbfcfe; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.calendar-day:hover { transform: translateY(-1px); border-color: #cfdbea; background: #fff; }
.calendar-day.is-today { border-color: var(--azo); background: #f7fbff; box-shadow: inset 0 0 0 1px rgba(0, 76, 147, .12); }
.calendar-day.has-posts { background: #fff; }
.day-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.day-top span { color: #8a96a8; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.day-top strong { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #273142; font-size: 12px; background: #f2f5f9; }
.calendar-day.is-today .day-top strong { color: #fff; background: var(--azo); }
.calendar-day em { color: #b1bac8; font-size: 11px; font-style: normal; }
.calendar-post { display: grid; gap: 2px; padding: 7px 8px; margin-top: 6px; border-radius: 9px; border: 1px solid rgba(154,101,0,.12); border-left: 3px solid var(--amber); background: rgba(255,246,221,.75); color: var(--text); }
.calendar-post.status-approved { border-left-color: var(--green); background: var(--green-bg); }
.calendar-post.status-rejected { border-left-color: var(--red); background: var(--red-bg); }
.calendar-post.status-draft { border-left-color: #64748b; background: #f1f5f9; }
.calendar-post small { color: var(--muted); font-size: 11px; font-weight: 800; }
.calendar-post span { font-size: 12px; line-height: 1.35; }
.calendar-event-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; min-height: 22px; margin-top: 5px; padding: 3px 6px; border-left: 4px solid var(--event-line); border-radius: 6px; color: var(--text); }
.calendar-event-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 800; }
.calendar-event-line em { color: var(--event-text); font-size: 9px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(320px, 1fr)); gap: 16px; }
.stats-hero { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(238,246,255,.94)); }
.stats-hero span { color: var(--azo); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.stats-hero h2 { margin: 6px 0 8px; font-size: 30px; }
.stats-hero p { margin: 0; color: var(--muted); }
.stats-orbit { position: relative; width: 160px; aspect-ratio: 1; flex: 0 0 160px; display: grid; place-items: center; align-content: center; border-radius: 50%; color: #fff; background: conic-gradient(from 160deg, #004c93, #25d366, #facc15, #004c93); box-shadow: 0 18px 42px rgba(0,76,147,.18); }
.stats-orbit::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #111827; }
.stats-orbit strong,
.stats-orbit span { position: relative; z-index: 1; color: #fff; text-align: center; }
.stats-orbit strong { font-size: 30px; line-height: 1; }
.stats-orbit span { max-width: 100px; font-size: 10px; letter-spacing: .08em; }
.stats-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.stats-metrics div { min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #fff, #f8fbff); box-shadow: 0 12px 28px rgba(17,24,39,.05); }
.stats-metrics span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.stats-metrics strong { display: block; margin-top: 12px; font-size: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stats-panel { padding: 18px; }
.chart-post { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf1f6; }
.chart-post:last-child { border-bottom: 0; }
.chart-post-title,
.compact-stat-row a { display: block; color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.35; }
.chart-post-title:hover,
.compact-stat-row a:hover { color: var(--azo); text-decoration: underline; }
.chart-post span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 800; }
.chart-post b { color: var(--green); font-size: 18px; }
.chart-track { grid-column: 1 / -1; height: 11px; padding: 2px; border-radius: 999px; background: #ecfdf3; box-shadow: inset 0 0 0 1px rgba(22,130,59,.08); }
.chart-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #25d366, #128c7e); }
.chart-post.blue-rank b { color: var(--azo); }
.chart-post.blue-rank .chart-track { background: #edf6ff; box-shadow: inset 0 0 0 1px rgba(0,76,147,.08); }
.chart-post.blue-rank .chart-track i { background: linear-gradient(90deg, #0b75d1, #004c93); }
.compact-stat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf1f6; }
.compact-stat-row:last-child { border-bottom: 0; }
.compact-stat-row strong { color: var(--azo); font-size: 18px; }
.ideas-panel { padding: 18px; }
.ideas-head h2 { margin-bottom: 4px; }
.ideas-head p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.ideas-list { display: grid; gap: 12px; }
.lined-paper { margin-top: 16px; border: 1px solid #d9e4f0; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(#fff 0 35px, #e8eef7 36px), linear-gradient(90deg, transparent 0 76px, #f6c7c7 77px, transparent 78px); }
.idea-card { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(210px, auto); gap: 14px; padding: 14px; border: 1px solid #d9e4f0; border-left: 5px solid #ccd8e8; border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgba(17, 24, 39, .05); }
.idea-card.is-included { border-left-color: var(--green); background: linear-gradient(180deg, #effaf0, #ffffff); }
.idea-date { display: grid; align-content: start; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 800; }
.idea-date time { color: var(--azo); font-size: 13px; }
.idea-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.idea-title-row strong { font-size: 16px; }
.idea-type-badge,
.event-badge,
.included-note { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: #eef2f7; color: #475569; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.idea-body p { margin: 0 0 8px; line-height: 1.45; }
.idea-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; margin: 9px 0; }
.idea-details div { display: grid; gap: 2px; }
.idea-details dt { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.idea-details dd { margin: 0; font-size: 13px; }
.idea-review-form { align-self: start; }
.review-check { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 9px 11px; border: 1px solid #b7dfbf; border-radius: 999px; background: rgba(255,255,255,.72); color: #27652e; }
.review-check input { width: 18px; height: 18px; accent-color: var(--green); }
.idea-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); min-height: 74px; padding: 12px 14px; border-bottom: 1px solid rgba(216,228,240,.72); }
.idea-row:last-child { border-bottom: 0; }
.idea-row time { color: var(--azo); font-size: 12px; font-weight: 900; padding-top: 3px; }
.idea-row strong { display: block; margin-bottom: 4px; }
.idea-row p { margin: 0 0 4px; line-height: 1.45; }
.idea-row small { color: var(--muted); font-weight: 800; }
.empty-idea { color: var(--muted); font-weight: 800; }
.idea-attachment { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-top: 8px; padding: 7px 10px; border: 1px solid #cbd8e7; border-radius: 999px; background: rgba(255,255,255,.82); font-size: 12px; font-weight: 900; }
.idea-attachment svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-card { position: relative; padding: 15px; border-top: 5px solid var(--amber); }
.boosted-badge { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #111827, #004c93); font-size: 12px; font-weight: 900; box-shadow: 0 10px 20px rgba(17,24,39,.16); }
.boosted-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-card.status-approved { border-top-color: var(--green); }
.post-card.status-rejected { border-top-color: var(--red); }
.post-card.status-draft { border-top-color: #64748b; }
.post-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.post-meta span { color: var(--text); font-weight: 800; }
.status-banner { border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; color: var(--amber); background: var(--amber-bg); font-size: 13px; font-weight: 800; }
.status-approved .status-banner { color: var(--green); background: var(--green-bg); }
.status-rejected .status-banner { color: var(--red); background: var(--red-bg); }
.status-draft .status-banner { color: #475569; background: #f1f5f9; }
.preview { border: 1px solid #ccd6e3; border-radius: 12px; background: #fff; overflow: hidden; margin: 0 auto 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.65); }
.preview.facebook,
.preview.linkedin { max-width: 520px; }
.preview.instagram { max-width: 390px; }
.preview-head { display: flex; align-items: center; gap: 10px; padding: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--azo); color: #fff; font-weight: 800; }
.preview-head small { display: block; color: var(--muted); margin-top: 2px; }
.preview p { margin: 0; padding: 0 12px 12px; line-height: 1.45; }
.preview img, .preview video { width: 100%; display: block; background: #eef3f8; object-fit: cover; }
.preview.facebook img,
.preview.facebook video,
.preview.linkedin img,
.preview.linkedin video { aspect-ratio: 4 / 5; max-height: none; }
.preview.instagram img,
.preview.instagram video { aspect-ratio: 4 / 5; max-height: none; }
.media-placeholder { aspect-ratio: 4 / 5; min-height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, #e8f1fa, #f8fafc); color: var(--muted); font-weight: 800; }
.link-preview { display: grid; gap: 4px; padding: 10px 12px; background: #f3f6fa; color: var(--text); }
.link-preview small { color: var(--muted); text-transform: uppercase; }
.post-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.approve { color: #fff; background: linear-gradient(135deg, var(--green), #20a253); border-color: var(--green); }
.reject { color: #fff; background: linear-gradient(135deg, var(--red), #e35b4f); border-color: var(--red); }
.approval-cannon { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; pointer-events: none; background: rgba(7,17,31,.18); backdrop-filter: blur(3px); animation: cannon-fade 1.7s ease forwards; }
.approval-cannon i { position: absolute; top: -18px; width: 10px; height: 18px; border-radius: 3px; transform: translateX(var(--x)) rotate(var(--r)); animation: confetti-drop 1.45s cubic-bezier(.16,.84,.3,1) var(--d) forwards; }
.cannon-message { display: grid; gap: 7px; max-width: min(480px, calc(100vw - 32px)); padding: 26px 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; color: #fff; text-align: center; background: linear-gradient(135deg, #16823b, #0b75d1); box-shadow: 0 26px 70px rgba(17,24,39,.28); animation: cannon-pop .42s ease both; }
.cannon-message strong { font-size: 34px; line-height: 1; }
.cannon-message span { font-size: 15px; font-weight: 800; }
@keyframes confetti-drop {
  0% { opacity: 0; transform: translate3d(0, -20px, 0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--x), 110vh, 0) rotate(var(--r)); }
}
@keyframes cannon-pop {
  0% { opacity: 0; transform: scale(.86) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes cannon-fade {
  0%, 78% { opacity: 1; }
  100% { opacity: 0; }
}
.conversation-panel { margin: 12px 0; padding: 12px; border: 1px solid #d8f3e1; border-radius: 14px; background: linear-gradient(180deg, #f7fff9, #ffffff); }
.conversation-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.conversation-heading strong { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.conversation-heading svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.conversation-heading span { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #128c7e; font-size: 12px; font-weight: 900; }
.empty-replies { padding: 10px; border-radius: 10px; color: #6a7b73; background: #ecfff2; font-size: 13px; }
.feedback-form { border-top: 1px solid var(--line); padding-top: 12px; }
.feedback-list { display: grid; gap: 9px; }
.reply-bubble { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; align-items: start; border: 1px solid #d8f3e1; border-radius: 16px 16px 16px 5px; padding: 10px; background: #ecfff2; box-shadow: 0 8px 16px rgba(18,140,126,.08); }
.reply-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #128c7e; font-weight: 900; overflow: hidden; }
.reply-avatar img { max-width: 78%; max-height: 78%; object-fit: contain; }
.feedback-list span { color: #4f7c68; font-size: 12px; margin-left: 6px; }
.feedback-list p { margin: 6px 0; color: var(--text); line-height: 1.45; }
.login-page { position: relative; display: grid; place-items: center; padding: 20px; overflow: hidden; background: #07111f; }
.abstract-bg { position: fixed; inset: 0; overflow: hidden; }
.pulse-film { position: absolute; width: 78vmax; aspect-ratio: 1; border-radius: 38% 62% 46% 54%; filter: blur(12px); opacity: .62; animation: pulse-drift 14s ease-in-out infinite; }
.pulse-film-a { left: -18vmax; top: -20vmax; background: radial-gradient(circle at 38% 36%, rgba(37, 116, 220, .95), rgba(82, 214, 190, .46) 38%, transparent 68%); }
.pulse-film-b { right: -24vmax; bottom: -26vmax; background: radial-gradient(circle at 58% 48%, rgba(250, 204, 21, .8), rgba(0, 76, 147, .58) 42%, transparent 70%); animation-delay: -5s; }
.pulse-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle at center, black, transparent 76%); animation: grid-pulse 8s ease-in-out infinite; }
@keyframes pulse-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(7vmax, 5vmax, 0) scale(1.12) rotate(12deg); }
}
@keyframes grid-pulse {
  0%, 100% { opacity: .28; transform: scale(1); }
  50% { opacity: .52; transform: scale(1.035); }
}
.login-card { position: relative; z-index: 1; width: min(460px, 100%); padding: 26px; background: rgba(255,255,255,.92); }
.login-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); }
.login-logos img { width: 160px; }
.prepared-by { display: block; width: 100%; font-size: 12px; color: var(--muted); }
.login-card h1 { margin-bottom: 8px; }
.login-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.login-slogan { font-size: 16px; font-weight: 800; color: var(--text) !important; }
.login-footer-logo { display: flex; justify-content: center; padding-top: 18px; margin-top: 6px; border-top: 1px solid var(--line); }
.login-footer-logo img { width: 72px; height: auto; opacity: .8; }
.error { color: var(--red); font-weight: 700; }
.app-footer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 0 4px; color: rgba(104,117,138,.9); font-size: 13px; }
.app-footer img { width: 76px; height: auto; opacity: .72; }
@media (max-width: 1100px) {
  .workspace-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; max-height: none; }
  .calendar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calendar-page .calendar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(280px, 1fr)); }
  .stats-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-shell { padding: 12px; }
  .topbar, .brand-group { align-items: flex-start; flex-direction: column; }
  .account-box { text-align: left; }
  .stats, .form-row, .post-grid, .calendar-grid { grid-template-columns: 1fr; }
  .calendar-page .calendar-grid { grid-template-columns: 1fr; }
  .stats-hero { align-items: flex-start; flex-direction: column; }
  .stats-orbit { width: 130px; flex-basis: 130px; }
  .stats-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 23px; }
  .workspace-layout { gap: 12px; }
  .sidebar-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-menu a { justify-content: center; min-height: 46px; padding: 0 8px; font-size: 13px; }
  .calendar-day { min-height: auto; }
  .idea-card { grid-template-columns: 1fr; }
  .idea-details { grid-template-columns: 1fr; }
  .post-card { padding: 14px; }
  .boosted-badge { position: static; width: fit-content; margin-left: auto; margin-bottom: 10px; }
  .post-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .account-box { width: 100%; }
}
