:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --aqua: #85ced1;
  --aqua-deep: #5daeb4;
  --aqua-wash: #d8eedd;
  --estuary: #17343b;
  --estuary-2: #244750;
  --paper: #f4f7f5;
  --white: #fff;
  --coral: #ef8879;
  --leaf: #668b73;
  --stone: #667478;
  --princess: #0b5ca4;
  --hibiscus: #c13279;
  --chili: #9e142e;
  --text: #20363a;
  --muted: #718084;
  --line: #e2eae7;
  --soft-line: #edf2ef;
  --surface: #fff;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(23, 52, 59, .07);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); color: var(--text); }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(93, 174, 180, .55); outline-offset: 3px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Skote-inspired SaaS frame: vertical navigation, calm header, metric cards and a dominant work surface. */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 4; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 264px; padding: 24px 18px 16px; color: #eaf5f2; background: var(--estuary); border-right: 1px solid rgba(255,255,255,.07); }
.brand-lockup { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 0 7px 22px; color: inherit; text-decoration: none; }
.brand-symbol { display: block; width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.brand-name { display: inline-flex; align-items: baseline; color: #f5fbf9; font-size: 19px; font-weight: 780; letter-spacing: -.8px; line-height: 1; }
.brand-name-i { color: var(--aqua); }
.brand-name-tail { color: #c5d7d4; font-weight: 560; }
.workspace-switch { display: flex; align-items: center; gap: 11px; min-height: 62px; padding: 10px 11px; margin: 0 0 28px; border: 1px solid rgba(216,238,221,.18); border-radius: 12px; background: rgba(255,255,255,.055); }
.workspace-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; color: var(--estuary); background: var(--aqua); font-size: 14px; font-weight: 760; }
.workspace-switch b, .workspace-switch small, .profile b, .profile small { display: block; }
.workspace-switch b { max-width: 150px; overflow: hidden; color: #f6fbf9; font-size: 12px; letter-spacing: .15px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switch small, .profile small { margin-top: 4px; color: #abc2be; font-size: 10px; }
.chevron { margin-left: auto; color: #a9c2bd; font-size: 17px; }
.nav-label { padding: 0 11px; margin-bottom: 9px; color: #8eaaa5; font-size: 9px; font-weight: 760; letter-spacing: 1.25px; }
.second-label { margin-top: 28px; }
.main-nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; color: #c4d5d2; background: transparent; text-align: left; font-size: 12px; font-weight: 560; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.075); }
.nav-item.active { color: #f8ffff; background: rgba(133,206,209,.15); border-color: rgba(133,206,209,.28); box-shadow: inset 3px 0 var(--aqua); }
.nav-icon { display: grid; place-items: center; width: 20px; color: var(--aqua); font-size: 16px; }
.nav-count { min-width: 23px; margin-left: auto; padding: 4px 7px; border-radius: 8px; color: var(--estuary); background: var(--aqua); text-align: center; font-size: 10px; font-weight: 750; }
.sidebar-bottom { margin-top: auto; }
.plan-card { padding: 15px 14px; margin: 0 1px 14px; border: 1px solid rgba(216,238,221,.15); border-radius: 14px; background: linear-gradient(145deg, rgba(133,206,209,.15), rgba(255,255,255,.035)); }
.plan-card-icon { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 11px; border-radius: 9px; color: var(--estuary); background: var(--aqua); font-size: 15px; }
.plan-card>b { color: #f7fbfa; font-size: 11px; }
.plan-card p { margin: 6px 0 13px; color: #bad0cc; font-size: 10px; line-height: 1.55; }
.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.17); }
.progress-track i { display: block; width: 58%; height: 100%; border-radius: inherit; background: var(--aqua); }
.plan-card small { display: block; margin-top: 9px; color: #abc2be; font-size: 9px; }
.profile { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 6px 2px; border: 0; border-top: 1px solid rgba(255,255,255,.1); color: inherit; background: transparent; text-align: left; }
.profile-avatar { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; border-radius: 50%; color: var(--estuary); background: var(--aqua-wash); font-size: 11px; font-weight: 750; }
.profile b { max-width: 145px; overflow: hidden; color: #f6fbf9; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.main-area { min-width: 0; min-height: 100vh; margin-left: 264px; }
.topbar { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 clamp(22px, 3.2vw, 48px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.93); backdrop-filter: blur(14px); }
.breadcrumbs { display: flex; align-items: center; gap: 11px; color: #8a9899; font-size: 11px; }
.breadcrumbs b { color: #bdc9c7; font-weight: 450; }
.breadcrumbs strong { color: var(--estuary); font-weight: 680; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.today-label { color: #79888a; font-size: 11px; }
.logout-button { min-height: 37px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--estuary); background: #fff; font-size: 10px; font-weight: 650; cursor: pointer; }
.logout-button:hover { border-color: var(--aqua-deep); background: #f2fbfa; }
.profile-avatar.small { width: 34px; height: 34px; color: var(--estuary); background: var(--aqua-wash); }
.page-content { width: min(1540px, 100%); padding: 34px clamp(22px, 3.2vw, 48px) 28px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--leaf); font-size: 9px; font-weight: 760; letter-spacing: 1.15px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua-deep); box-shadow: 0 0 0 4px rgba(133,206,209,.2); }
.page-heading h1 { margin: 10px 0 6px; color: var(--estuary); font-size: clamp(26px, 3vw, 34px); font-weight: 740; letter-spacing: -1.1px; line-height: 1.13; }
.page-heading p { max-width: 610px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 17px; border: 1px solid var(--aqua); border-radius: 10px; color: var(--estuary); background: var(--aqua); box-shadow: 0 7px 16px rgba(93,174,180,.2); font-size: 11px; font-weight: 720; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.primary-button:hover { transform: translateY(-1px); background: #95d7d9; box-shadow: 0 10px 20px rgba(93,174,180,.26); }
.primary-button>span:first-child { font-size: 17px; line-height: 1; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 22px; }
.summary-card { position: relative; min-height: 132px; overflow: hidden; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 4px 16px rgba(23,52,59,.025); }
.summary-card::after { position: absolute; right: -24px; bottom: -48px; width: 118px; height: 118px; border: 1px solid rgba(133,206,209,.22); border-radius: 50%; content: ""; }
.summary-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: #718084; font-size: 11px; font-weight: 600; }
.summary-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
.summary-icon.aqua { color: var(--estuary); background: var(--aqua-wash); }
.summary-icon.coral { color: #963f35; background: #fff0ec; }
.summary-icon.leaf { color: #41624b; background: #edf4ee; }
.summary-card>strong { position: relative; z-index: 1; display: block; margin-top: 8px; color: var(--estuary); font-size: 28px; font-weight: 730; letter-spacing: -.8px; line-height: 1; }
.summary-card>small { position: relative; z-index: 1; display: block; margin-top: 7px; color: #899496; font-size: 9px; }
.mini-bars { position: absolute; right: 21px; bottom: 17px; display: flex; align-items: end; gap: 4px; height: 38px; opacity: .8; }
.mini-bars i { width: 5px; border-radius: 5px 5px 1px 1px; background: var(--aqua); }
.mini-bars i:nth-child(3n) { background: var(--aqua-deep); }
.avatar-stack { position: absolute; right: 21px; bottom: 20px; display: flex; }
.avatar-stack span { display: grid; place-items: center; width: 25px; height: 25px; margin-left: -6px; border: 2px solid #fff; border-radius: 50%; color: #70443d; background: #f9d6cb; font-size: 8px; font-weight: 700; }
.avatar-stack span:nth-child(2) { color: #365772; background: #d9e8f1; }
.avatar-stack span:nth-child(3) { color: var(--estuary); background: var(--aqua-wash); }
.sparkline { position: absolute; right: 20px; bottom: 16px; width: 108px; height: 31px; }
.sparkline svg { width: 100%; height: 100%; overflow: visible; }
.sparkline path { fill: none; stroke: var(--leaf); stroke-width: 2; vector-effect: non-scaling-stroke; }

.planner-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: var(--shadow); }
.planner-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 12px 18px; border-bottom: 1px solid var(--soft-line); }
.view-switch { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.view-option { min-height: 33px; padding: 0 13px; border: 0; border-radius: 7px; color: #788487; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.view-option.active { color: var(--estuary); background: #fff; box-shadow: 0 2px 6px rgba(23,52,59,.09); }
.filters { display: flex; align-items: center; gap: 8px; }
.filter-wrap select, .filter-button, .more-button { min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: #617175; background: #fff; font-size: 10px; }
.filter-wrap select { max-width: 170px; cursor: pointer; }
.filter-button, .more-button { cursor: pointer; }
.filter-button:hover, .more-button:hover { border-color: var(--aqua-deep); color: var(--estuary); }
.filter-button.active { color: var(--estuary); background: var(--aqua-wash); border-color: var(--aqua); }
.filter-chevron { margin-left: 9px; color: #91a0a0; }
.more-button { width: 38px; padding: 0; font-size: 18px; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 18px; }
.month-title { display: flex; align-items: center; gap: 9px; }
.month-title h2 { min-width: 155px; margin: 0 4px; color: var(--estuary); font-size: 16px; font-weight: 690; letter-spacing: -.25px; }
.arrow-button { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid transparent; border-radius: 8px; color: #718084; background: transparent; font-size: 20px; cursor: pointer; }
.arrow-button:hover { border-color: var(--line); color: var(--estuary); background: var(--paper); }
.arrow-button.muted { border-color: var(--line); font-size: 15px; }
.today-button { min-height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: #647477; background: #fff; font-size: 9px; font-weight: 600; cursor: pointer; }
.today-button:hover { color: var(--estuary); background: var(--aqua-wash); border-color: var(--aqua); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); min-width: 700px; border-top: 1px solid var(--soft-line); border-left: 1px solid var(--soft-line); }
.planner-card { overflow-x: auto; }
.weekday { display: grid; place-items: center; min-height: 38px; border-right: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); color: #879394; background: #fbfcfb; font-size: 9px; font-weight: 680; }
.day-cell { min-width: 0; min-height: 103px; padding: 8px 7px 6px; border-right: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); background: #fff; }
.day-cell.other-month { background: #fbfcfb; }
.day-cell.weekend { background: #fcfdfc; }
.day-number { display: grid; place-items: center; width: 25px; height: 25px; margin: 0 0 5px auto; border-radius: 8px; color: #728083; font-size: 9px; }
.day-cell.is-today .day-number { color: var(--estuary); background: var(--aqua); font-weight: 760; }
.event-pill { display: block; width: 100%; overflow: hidden; margin: 4px 0; padding: 6px 7px; border: 0; border-left: 3px solid var(--hibiscus); border-radius: 6px; color: #563a4a; background: #faedf3; text-align: left; cursor: pointer; }
.event-pill[data-platform="facebook"] { border-left-color: var(--princess); color: #274c6c; background: #edf5fb; }
.event-pill[data-platform="tiktok"] { border-left-color: var(--estuary); color: #31484c; background: #edf2f1; }
.event-pill:hover { filter: brightness(.97); }
.event-time { display: inline; margin-right: 4px; color: #849092; font-size: 8px; }
.event-name { display: inline; max-width: calc(100% - 35px); overflow: hidden; color: inherit; font-size: 8px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.calendar-footer { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 17px; }
.legend { display: flex; flex-wrap: wrap; gap: 15px; }
.legend span, .timezone { display: flex; align-items: center; gap: 6px; color: #859294; font-size: 9px; }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; }
.instagram-dot { background: var(--hibiscus); }
.facebook-dot { background: var(--princess); }
.tiktok-dot { background: var(--estuary); }
.list-view { padding: 0 18px 14px; }
.list-item { display: grid; grid-template-columns: 90px minmax(150px,1fr) 150px 120px; align-items: center; gap: 12px; width: 100%; padding: 14px 9px; border: 0; border-bottom: 1px solid var(--soft-line); color: var(--text); background: #fff; text-align: left; cursor: pointer; }
.list-item:hover { background: #f8fbf9; }
.list-date { color: #78888b; font-size: 10px; }
.list-post { font-size: 11px; font-weight: 650; }
.list-post small { display: block; margin-top: 4px; color: #899597; font-size: 9px; font-weight: 450; }
.platform-tag { color: #6f7e81; font-size: 9px; }
.status-tag { justify-self: end; padding: 5px 9px; border-radius: 999px; color: #52666a; background: #edf2f1; font-size: 9px; }
.status-tag.review, .status-tag.requested { color: #8c4e44; background: #fff0ec; }
.status-tag.approved, .status-tag.published { color: #3e634b; background: #edf4ee; }
.status-tag.scheduled { color: #285d78; background: #edf5fb; }
.status-tag.failed { color: #8d2938; background: #fbeef0; }
.bottom-note { display: flex; align-items: center; gap: 10px; padding: 17px 4px; color: #7d8b8d; font-size: 10px; }
.note-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: var(--estuary); background: var(--aqua-wash); }
.bottom-note b { color: var(--estuary); font-weight: 680; }
.bottom-note button { margin-left: auto; border: 0; color: #467f83; background: transparent; font-size: 10px; font-weight: 650; cursor: pointer; }
.bottom-note button span { margin-left: 5px; font-size: 14px; }

/* Shared accessible dialogs and content editing forms. */
.post-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: #fff; box-shadow: 0 24px 80px rgba(23,52,59,.22); }
.post-dialog::backdrop { background: rgba(15,38,43,.56); backdrop-filter: blur(4px); }
.post-dialog form, .legacy-import-content { padding: 24px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.dialog-eyebrow { color: #59878a; font-size: 9px; font-weight: 750; letter-spacing: 1.1px; }
.dialog-header h2 { margin: 5px 0 0; color: var(--estuary); font-size: 21px; font-weight: 710; letter-spacing: -.45px; }
.close-dialog { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 9px; color: #708084; background: #fff; font-size: 21px; cursor: pointer; }
.login-copy { color: var(--muted); font-size: 11px; line-height: 1.65; }
.field-label { display: block; margin: 14px 0; color: #536468; font-size: 10px; font-weight: 650; }
.field-label input, .field-label select, .field-label textarea { display: block; width: 100%; min-height: 42px; margin-top: 7px; padding: 10px 12px; border: 1px solid #dfe8e5; border-radius: 9px; outline: none; color: var(--estuary); background: #fff; font-size: 11px; }
.field-label input:focus, .field-label select:focus, .field-label textarea:focus { border-color: var(--aqua-deep); box-shadow: 0 0 0 3px rgba(133,206,209,.2); }
.field-label textarea { resize: vertical; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-hint { display: block; margin-top: 5px; color: #899597; font-size: 9px; font-weight: 430; }
.platform-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-picks label { display: flex; align-items: center; gap: 7px; min-height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: #59696d; font-size: 9px; cursor: pointer; }
.platform-picks input { accent-color: var(--aqua-deep); }
.platform-logo { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; font-weight: 720; }
.platform-logo.ig { color: var(--hibiscus); background: #faedf3; }
.platform-logo.fb { color: var(--princess); background: #edf5fb; }
.platform-logo.tt { color: var(--estuary); background: #edf2f1; }
.variant-editor { padding: 12px 13px; margin-top: 12px; border: 1px solid var(--soft-line); border-radius: 11px; background: #fafcfb; }
.variant-editor h3 { margin: 0 0 9px; color: var(--estuary); font-size: 11px; }
.variant-editor .field-label { margin-bottom: 0; }
.dialog-footer { display: flex; align-items: center; gap: 8px; padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--soft-line); }
.save-hint { max-width: 170px; margin-right: auto; color: #879395; font-size: 9px; line-height: 1.4; }
.secondary-button, .delete-button { min-height: 39px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: #5e6f73; background: #fff; font-size: 10px; font-weight: 580; cursor: pointer; }
.secondary-button:hover { border-color: var(--aqua-deep); background: #f4fbfa; }
.delete-button { color: #a1424b; border-color: #f0d7d9; }
.login-error { min-height: 18px; margin: 6px 0 10px; color: #a0343f; font-size: 10px; line-height: 1.45; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: #f4fbf9; background: var(--estuary); box-shadow: 0 10px 28px rgba(23,52,59,.24); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Branded full-screen session login. */
.auth-dialog { width: min(1080px, calc(100vw - 32px)); height: min(690px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 24px; color: var(--text); background: var(--paper); box-shadow: 0 30px 100px rgba(8,29,33,.3); }
.auth-dialog::backdrop { background: rgba(13,35,39,.73); backdrop-filter: blur(8px); }
.auth-layout { display: grid; grid-template-columns: .92fr 1.08fr; width: 100%; height: 100%; min-height: 0; }
.auth-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 34px 38px; color: #f4fbf9; background: radial-gradient(circle at 22% 10%, rgba(133,206,209,.95), transparent 34%), linear-gradient(145deg, #5daeb4 0%, #244750 44%, #17343b 100%); }
.auth-visual::before { position: absolute; inset: 0; background: url("assets/aqua-texture-source.png") 38% center / cover no-repeat; content: ""; filter: hue-rotate(240deg) saturate(.62); opacity: .22; mix-blend-mode: screen; }
.auth-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,52,59,.03), rgba(23,52,59,.54)); content: ""; }
.auth-brand, .auth-visual-copy, .auth-color-note { position: relative; z-index: 1; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; color: #fff; text-decoration: none; font-size: 17px; font-weight: 760; letter-spacing: -.5px; }
.auth-brand img { width: 38px; height: 38px; object-fit: contain; }
.auth-visual-copy { max-width: 400px; margin: auto 0; padding: 46px 0 36px; }
.auth-kicker { display: inline-flex; align-items: center; gap: 8px; color: #d8efeb; font-size: 9px; font-weight: 730; letter-spacing: 1.4px; }
.auth-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(239,136,121,.15); }
.auth-visual-copy h2 { margin: 19px 0 14px; color: #fff; font-size: clamp(31px, 4vw, 48px); font-weight: 690; letter-spacing: -1.8px; line-height: 1.02; }
.auth-visual-copy h2 em { color: var(--aqua); font-style: normal; }
.auth-visual-copy p { max-width: 330px; margin: 0; color: #d1e2df; font-size: 12px; line-height: 1.7; }
.auth-color-note { display: flex; align-items: center; gap: 11px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); color: #eff8f6; font-size: 10px; font-weight: 650; }
.auth-color-note small { display: block; margin-top: 4px; color: #c1d9d4; font-size: 9px; font-weight: 450; }
.auth-color-chip { width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.6); border-radius: 9px; background: var(--aqua); box-shadow: 0 5px 15px rgba(0,0,0,.13); }
.auth-panel { display: flex; flex-direction: column; min-width: 0; padding: 34px clamp(28px,5.5vw,68px) 22px; background: #fbfdfc; }
.auth-panel-top { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.auth-mobile-brand { display: none; align-items: center; gap: 8px; color: var(--estuary); font-size: 13px; }
.auth-mobile-brand img { width: 31px; height: 31px; object-fit: contain; }
.auth-secure { display: inline-flex; align-items: center; gap: 7px; color: #708184; font-size: 9px; }
.auth-secure span { color: var(--leaf); font-size: 10px; }
.auth-form-wrap { width: min(100%, 390px); margin: auto; }
.auth-eyebrow { color: #60878a; font-size: 9px; font-weight: 750; letter-spacing: 1.2px; }
.auth-form-wrap h1 { margin: 10px 0 8px; color: var(--estuary); font-size: 31px; font-weight: 740; letter-spacing: -1px; }
.auth-intro { margin: 0 0 26px; color: #778588; font-size: 11px; line-height: 1.65; }
.auth-field { display: block; margin: 17px 0; color: #496065; font-size: 10px; font-weight: 680; }
.auth-field input { display: block; width: 100%; min-height: 47px; margin-top: 8px; padding: 0 13px; border: 1px solid #dce7e4; border-radius: 10px; outline: none; color: var(--estuary); background: #fff; font-size: 11px; transition: border-color .16s ease, box-shadow .16s ease; }
.auth-field input::placeholder { color: #a5b0b0; }
.auth-field input:focus { border-color: var(--aqua-deep); box-shadow: 0 0 0 4px rgba(133,206,209,.2); }
.login-submit { display: flex; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 14px; padding: 0 15px; }
.login-submit>span:first-child { font-size: 11px; }
.login-submit>span:last-child { font-size: 17px; }
.auth-footnote { margin: 18px 0 0; color: #849295; font-size: 9px; line-height: 1.55; }
.auth-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); color: #879496; font-size: 8px; letter-spacing: .3px; }

@media (max-width: 1120px) {
  .sidebar { width: 232px; }
  .main-area { margin-left: 232px; }
  .page-content { padding-inline: 24px; }
  .summary-grid { gap: 11px; }
  .summary-card { padding-inline: 15px; }
  .planner-toolbar { align-items: flex-start; }
  .filters { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 760px) {
  .sidebar { position: static; width: auto; padding: 14px 16px 9px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .brand-lockup { min-height: 43px; padding: 0 2px 11px; }
  .brand-symbol { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }
  .workspace-switch, .nav-label, .sidebar-bottom { display: none; }
  .main-nav { display: flex; gap: 5px; overflow-x: auto; padding: 2px 0 1px; scrollbar-width: thin; }
  .nav-item { width: auto; min-width: max-content; min-height: 38px; padding-inline: 10px; font-size: 10px; }
  .nav-icon { width: 16px; }
  .main-area { margin-left: 0; }
  .topbar { min-height: 56px; padding-inline: 16px; }
  .breadcrumbs { font-size: 10px; }
  .today-label { display: none; }
  .top-actions { gap: 8px; }
  .logout-button { min-height: 34px; padding-inline: 10px; }
  .profile-avatar.small { width: 31px; height: 31px; }
  .page-content { padding: 24px 16px 24px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 18px; }
  .page-heading h1 { margin-top: 8px; font-size: 27px; }
  .summary-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
  .summary-card { min-height: 120px; padding: 14px; }
  .summary-card:last-child { grid-column: span 2; }
  .planner-toolbar { flex-direction: column; }
  .filters { justify-content: flex-start; width: 100%; }
  .filter-wrap select { max-width: 130px; }
  .calendar-head { min-height: 58px; padding-inline: 10px; }
  .month-title { gap: 4px; }
  .month-title h2 { min-width: 125px; font-size: 14px; }
  .bottom-note { align-items: flex-start; }
  .bottom-note button { max-width: 110px; text-align: right; }
  .auth-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 17px; }
  .auth-layout { grid-template-columns: 1fr; grid-template-rows: minmax(160px, 28vh) 1fr; overflow-y: auto; }
  .auth-visual { min-height: 160px; padding: 19px 22px; }
  .auth-brand { font-size: 14px; }
  .auth-brand img { width: 31px; height: 31px; }
  .auth-visual-copy { margin: auto 0 0; padding: 13px 0 0; }
  .auth-visual-copy h2 { margin: 7px 0 5px; font-size: 24px; letter-spacing: -.7px; }
  .auth-visual-copy p, .auth-color-note { display: none; }
  .auth-kicker { font-size: 8px; }
  .auth-panel { padding: 18px 24px 14px; }
  .auth-mobile-brand { display: inline-flex; }
  .auth-secure { font-size: 8px; }
  .auth-form-wrap { margin-block: 22px; }
  .auth-form-wrap h1 { font-size: 27px; }
  .auth-intro { margin-bottom: 17px; }
  .auth-field { margin: 13px 0; }
  .auth-field input { min-height: 44px; }
  .auth-panel-footer { margin-top: auto; }
}
@media (max-width: 420px) {
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card:last-child { grid-column: auto; }
  .filters { gap: 6px; }
  .filter-wrap select { max-width: 111px; min-height: 34px; padding-inline: 7px; font-size: 9px; }
  .filter-button { min-height: 34px; padding-inline: 8px; }
  .more-button { min-height: 34px; width: 34px; }
  .calendar-footer { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .dialog-footer { flex-wrap: wrap; }
  .save-hint { order: 2; width: 100%; max-width: none; }
  .auth-visual-copy h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
