:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e2330;
  background: #f6f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --muted: #747b8d;
  --line: #e8eaf0;
  --purple: #7256df;
  --purple-soft: #f0edff;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f6f7fb; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.hidden, [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; }

.auth-layout { width: min(1180px, calc(100% - 64px)); min-height: 100vh; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,430px); grid-template-rows: 86px 1fr; column-gap: clamp(48px,9vw,128px); align-items: center; }
.auth-brand { grid-column: 1 / -1; display: flex; align-items: center; border-bottom: 1px solid #e6e8ef; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #252a37; text-decoration: none; font-size: 17px; font-weight: 760; letter-spacing: -.04em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(145deg,#8065eb,#5c49c8); font-size: 18px; }
.intro { max-width: 570px; padding: 70px 0; }
.eyebrow { color: #7a63cc; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.intro h1 { margin: 22px 0 18px; color: #222736; font-size: clamp(42px,6.3vw,70px); line-height: 1.02; letter-spacing: -.065em; }
.intro h1 span { color: #755cdf; }
.intro>p,.planner-heading>div>p { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.7; }
.feature-list { display: grid; gap: 13px; margin-top: 32px; color: #495164; font-size: 13px; }
.panel,.auth-panel,.calendar-card { border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 4px 18px #28314a08; }
.auth-panel { width: 100%; padding: 30px; }
.form-heading { margin-bottom: 24px; }
.form-heading h2 { margin: 11px 0 7px; font-size: 24px; letter-spacing: -.045em; }
.form-heading>p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-panel label,.compose-form label { display: block; margin: 17px 0 7px; color: #434a5a; font-size: 12px; font-weight: 700; }
.auth-panel input,.compose-form textarea { width: 100%; border: 1px solid #dfe2e9; border-radius: 8px; background: white; color: #252a37; padding: 12px 13px; outline: none; font-size: 13px; transition: border .15s,box-shadow .15s; }
.auth-panel input:focus,.compose-form textarea:focus { border-color: #8977e2; box-shadow: 0 0 0 3px #8977e21c; }
.button { min-height: 38px; border: 1px solid transparent; border-radius: 7px; padding: 9px 14px; font-size: 12px; font-weight: 720; transition: background .15s,box-shadow .15s,transform .15s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; }
.primary { color: #fff; background: var(--purple); box-shadow: 0 3px 8px #7256df25; }
.primary:hover:not(:disabled) { background: #6247d0; }
.auth-panel>.button { width: 100%; margin-top: 20px; }
.text-button { border: 0; background: transparent; color: #6c50d1; font-size: 12px; font-weight: 700; }
.switch-auth { margin: 17px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.fine-print { color: #8990a0; font-size: 10px; line-height: 1.5; }
.auth-note { margin: 18px 0 0; text-align: center; }
.form-message { min-height: 17px; margin: 10px 0 0; color: #32845f; font-size: 11px; line-height: 1.5; }
.error-message { color: #c74355 !important; }

.workspace { min-height: 100vh; display: flex; background: #f7f8fb; }
.sidebar { width: 228px; flex: 0 0 228px; min-height: 100vh; display: flex; flex-direction: column; padding: 24px 15px 16px; background: #fff; border-right: 1px solid var(--line); }
.sidebar .brand { padding: 0 9px 26px; }
.sidebar-label { padding: 0 10px 10px; color: #9aa0ad; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.side-nav { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 7px; color: #657083; text-decoration: none; font-size: 12px; font-weight: 620; }
.nav-item:hover { background: #f7f6fd; }
.nav-item.active { color: #654bd0; background: #f0edff; }
.nav-icon { width: 18px; text-align: center; font-size: 17px; }
.sidebar-bottom { display: grid; gap: 13px; margin-top: auto; }
.mini-profile { display: flex; align-items: center; gap: 10px; padding: 13px 7px 0; border-top: 1px solid var(--line); min-width: 0; }
.avatar { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 50%; background: #eeeaff; color: #6b52d0; font-size: 14px; font-weight: 800; }
.mini-profile>div { display: grid; gap: 3px; min-width: 0; }
.mini-profile strong { font-size: 11px; }
.mini-profile>div>span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.sign-out { width: 100%; border-color: #e5e7ed; color: #657083; background: #fff; }
.sign-out:hover { background: #f7f8fb; }
.planner-main { width: min(1570px,100%); min-width: 0; margin: 0 auto; padding: 29px 34px 34px; }
.planner-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.planner-heading h1 { margin: 5px 0 4px; font-size: 26px; letter-spacing: -.05em; }
.planner-heading>div>p { font-size: 12px; }
.connection { display: inline-flex; align-items: center; gap: 7px; color: #798194; font-size: 10px; white-space: nowrap; }
.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: #54bd86; }
.connection-dot.error { background: #e75b69; }
.planner-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.period-controls,.toolbar-right { display: flex; align-items: center; gap: 8px; }
.period-controls h2 { min-width: 150px; margin: 0 5px; font-size: 16px; font-weight: 720; letter-spacing: -.025em; text-transform: capitalize; }
.icon-button { width: 31px; height: 31px; display: inline-grid; place-items: center; border: 1px solid #e3e6ed; border-radius: 7px; background: #fff; color: #555e70; font-size: 22px; line-height: 1; }
.icon-button:hover { background: #f5f4fb; border-color: #d9d4f1; }
.today-button,.view-switch { border: 1px solid #e3e6ed; color: #515a6d; background: #fff; }
.today-button { min-height: 31px; padding: 6px 11px; font-size: 10px; }
.timezone-label { margin-right: 5px; color: #838a99; font-size: 10px; }
.view-switch { display: flex; overflow: hidden; border-radius: 7px; }
.view-switch button { min-height: 30px; border: 0; padding: 0 10px; background: transparent; color: #737a8a; font-size: 10px; }
.view-switch button.selected { color: #5f48c3; background: #f0edff; font-weight: 750; }
.view-switch button:disabled { cursor: default; opacity: .55; }
.new-post-button { min-height: 34px; margin-left: 3px; }
.new-post-button span { margin-right: 4px; font-size: 15px; }
.planner-layout { display: grid; grid-template-columns: minmax(0,1fr) 264px; gap: 17px; align-items: start; }
.calendar-card { min-width: 0; overflow: hidden; padding: 0 17px 12px; }
.calendar-weekdays,.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.calendar-weekdays { min-height: 37px; align-items: center; border-bottom: 1px solid var(--line); color: #858c9b; font-size: 9px; font-weight: 720; text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.calendar-day { min-width: 0; min-height: 104px; padding: 7px 6px; border-right: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; background: #fff; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:nth-last-child(-n+7) { border-bottom: 0; }
.calendar-day.outside-month { background: #fbfbfd; }
.day-heading { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 6px; }
.day-number { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #646c7d; font-size: 10px; }
.outside-month .day-number { color: #b6bbc5; }
.is-today .day-number { color: #fff; background: var(--purple); font-weight: 750; }
.calendar-post { overflow: hidden; margin: 4px 0; padding: 5px 6px; border-left: 2px solid #8b7ae4; border-radius: 3px; color: #545a6b; background: #f2efff; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; line-height: 1.35; }
.calendar-post.published { border-color: #4eae7b; background: #eaf7ef; }
.calendar-post.failed { border-color: #e05a68; background: #fff0f1; }
.calendar-more { color: #777f90; font-size: 9px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 15px; padding: 11px 0 0; color: #7e8593; font-size: 9px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: #8b7ae4; }
.legend-dot.draft { background: #9ca3af; }
.legend-dot.published { background: #4eae7b; }
.legend-dot.failed { background: #e05a68; }
.planner-rail { display: grid; gap: 13px; }
.planner-rail .panel { padding: 15px; }
.social-heading { display: flex; align-items: center; gap: 9px; }
.instagram-glyph { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #d94878; background: #fff0f5; font-size: 24px; line-height: 1; }
.social-heading>div { display: grid; gap: 3px; min-width: 0; }
.social-heading strong { color: #313747; font-size: 11px; }
.social-heading>div>span { color: #8a91a0; font-size: 9px; }
.connected-pill { margin-left: auto; padding: 4px 7px; border-radius: 20px; color: #775cce; background: #f1edff; font-size: 8px; font-weight: 730; }
.connected-pill.is-connected { color: #287f58; background: #eaf7ef; }
.instagram-panel>p:not(.form-message) { margin: 13px 0 11px; color: #777f90; font-size: 10px; line-height: 1.55; }
.connect-button { width: 100%; min-height: 32px; border-color: #ded9f4; color: #654bd0; background: #faf9ff; font-size: 10px; }
.connect-button:hover { background: #f0edff; }
.instagram-panel .form-message { margin-top: 7px; font-size: 9px; }
.rail-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rail-heading h2 { margin: 5px 0 0; font-size: 13px; letter-spacing: -.025em; }
.draft-count { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #6d55cb; background: #f0edff; font-size: 9px; font-weight: 750; }
.draft-list { display: grid; gap: 8px; }
.empty-state { margin: 0; padding: 13px 10px; border: 1px dashed #e3e6ed; border-radius: 7px; color: #9298a5; text-align: center; font-size: 10px; line-height: 1.5; }
.draft-item { padding: 10px; border: 1px solid #eceef3; border-radius: 7px; background: #fff; }
.draft-item p { display: -webkit-box; overflow: hidden; margin: 0 0 8px; color: #454c5b; font-size: 10px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.draft-item span { color: #989eaa; font-size: 9px; }
.rail-tip { margin: 0; padding: 4px 2px; color: #838a99; font-size: 9px; line-height: 1.55; }
.rail-tip span { color: #886fe0; }

.post-dialog { width: min(560px,calc(100% - 28px)); max-height: min(90vh,720px); padding: 0; overflow: auto; border: 1px solid #e3e5ed; border-radius: 13px; color: #252a37; background: white; box-shadow: 0 24px 80px #17203936; }
.post-dialog::backdrop { background: #1b203566; backdrop-filter: blur(2px); }
.compose-form { padding: 24px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.dialog-heading h2 { margin: 6px 0 0; font-size: 21px; letter-spacing: -.04em; }
.close-dialog { font-size: 20px; }
.compose-social { display: flex; align-items: center; gap: 8px; margin: 21px 0 12px; padding: 9px; border: 1px solid #eff0f4; border-radius: 8px; color: #4d5566; font-size: 11px; font-weight: 700; }
.compose-social .instagram-glyph { width: 27px; height: 27px; font-size: 19px; }
.post-type { margin-left: auto; color: #858c9b; font-size: 9px; font-weight: 500; }
.compose-form textarea { display: block; min-height: 170px; resize: vertical; line-height: 1.6; }
.compose-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
.compose-footer .fine-print { max-width: 245px; }

@media (max-width:1150px) { .planner-main { padding: 25px 22px; } .planner-layout { grid-template-columns: minmax(0,1fr) 238px; gap: 12px; } .calendar-card { padding-right: 10px; padding-left: 10px; } .calendar-day { min-height: 91px; padding: 6px 4px; } .timezone-label { display: none; } }
@media (max-width:850px) { .sidebar { width: 190px; flex-basis: 190px; } .planner-layout { grid-template-columns: 1fr; } .planner-rail { grid-template-columns: repeat(2,minmax(0,1fr)); } .rail-tip { grid-column: 1/-1; } .calendar-day { min-height: 95px; } }
@media (max-width:650px) { .auth-layout { width: min(100% - 32px,480px); grid-template-columns: 1fr; grid-template-rows: 70px auto auto; row-gap: 0; } .auth-brand { grid-column: 1; } .intro { padding: 40px 0 24px; } .intro h1 { font-size: 44px; } .feature-list { gap: 9px; margin-top: 22px; font-size: 11px; } .auth-panel { margin: 0 0 28px; padding: 23px; } .workspace { display: block; } .sidebar { width: 100%; min-height: auto; flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); } .sidebar .brand { padding: 0; font-size: 14px; } .sidebar .brand-mark { width: 31px; height: 31px; } .sidebar-label,.side-nav,.mini-profile { display: none; } .sidebar-bottom { display: flex; align-items: center; margin: 0; } .sign-out { width: auto; min-height: 31px; padding: 6px 9px; font-size: 10px; } .planner-main { padding: 22px 12px; } .planner-heading { align-items: flex-start; margin-bottom: 17px; } .planner-heading h1 { font-size: 23px; } .planner-heading>div>p { font-size: 10px; } .connection { margin-top: 2px; font-size: 0; } .connection-dot { width: 9px; height: 9px; } .planner-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; } .period-controls { width: 100%; } .period-controls h2 { min-width: 0; flex: 1; font-size: 15px; } .toolbar-right { width: 100%; justify-content: space-between; } .new-post-button { margin-left: auto; } .calendar-card { padding: 0 5px 9px; border-radius: 9px; } .calendar-weekdays { min-height: 31px; font-size: 8px; } .calendar-day { min-height: 62px; padding: 3px 2px; } .day-heading { margin-bottom: 2px; } .day-number { width: 19px; height: 19px; font-size: 9px; } .calendar-post { margin: 2px 0; padding: 3px 2px; font-size: 0; } .calendar-post::before { content: ""; display: block; width: 5px; height: 5px; margin: auto; border-radius: 50%; background: currentColor; } .calendar-more { font-size: 7px; } .calendar-legend { gap: 9px; padding: 9px 3px 0; font-size: 8px; } .planner-rail { grid-template-columns: 1fr; } .rail-tip { grid-column: auto; } }

/* Weekly planner inspired by Metricool's calendar workspace */
.workspace { display: block; min-height: 100vh; background: #f0f2f2; }
.app-topbar { height: 51px; display: flex; align-items: center; gap: 34px; padding: 0 25px; border-bottom: 3px solid #d7ff42; color: #f8f7fa; background: #1b1720; }
.app-topbar .brand { padding: 0; color: #fff; font-size: 15px; }
.app-topbar .brand-mark { width: 28px; height: 28px; border-radius: 8px; color: #24231e; background: #d7ff42; font-size: 15px; }
.global-nav { height: 100%; display: flex; align-items: stretch; gap: 7px; }
.global-nav a { width: 44px; display: grid; place-items: center; border-bottom: 3px solid transparent; color: #e1dfe4; text-decoration: none; font-size: 21px; }
.global-nav a:hover,.global-nav a.active { color: #fff; background: #ffffff12; }
.global-nav a.active { border-bottom-color: #d7ff42; }
.topbar-user { display: flex; align-items: center; gap: 13px; margin-left: auto; }
.topbar-user>span { max-width: 240px; overflow: hidden; color: #c8c5ce; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.topbar-user .sign-out { min-height: 29px; border-color: #ffffff3b; color: #eee; background: transparent; }
.planner-tabs { height: 45px; display: flex; align-items: stretch; gap: 10px; padding: 0 32px; border-bottom: 1px solid #dfe2e2; background: #f5f6f6; }
.planner-tabs a { display: grid; place-items: center; padding: 0 13px; border-bottom: 2px solid transparent; color: #687078; text-decoration: none; font-size: 11px; }
.planner-tabs a.selected { border-bottom-color: #25212a; color: #28242d; font-weight: 740; }
.planner-main { width: min(1600px,100%); padding: 21px 29px 30px; }
.planner-heading { margin-bottom: 17px; }
.planner-heading .eyebrow { color: #757b80; }
.planner-heading h1 { font-size: 22px; }
.planner-heading>div>p { font-size: 11px; }
.planner-toolbar { justify-content: flex-start; flex-wrap: wrap; min-height: 42px; gap: 9px; margin-bottom: 12px; }
.toolbar-search { width: 180px; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #dadddf; border-radius: 6px; color: #687078; background: #fff; }
.toolbar-search>span { font-size: 18px; line-height: 1; }
.toolbar-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #343941; background: transparent; font-size: 10px; }
.period-controls { gap: 5px; }
.period-controls h2 { min-width: 144px; margin: 0 4px; font-size: 11px; text-align: center; }
.icon-button { width: 32px; height: 34px; border-radius: 6px; }
.date-picker { font-size: 14px; }
.today-button { height: 34px; padding: 6px 10px; }
.toolbar-right { gap: 6px; margin-left: auto; }
.filter-button,.best-times { min-height: 34px; border-color: #dadddf; color: #697078; background: #fff; }
.best-times { color: #43404a; }
.filter-button:disabled,.best-times:disabled { opacity: .76; cursor: default; }
.new-post-button { min-height: 34px; color: #251d27; background: #d7ff42; box-shadow: none; }
.new-post-button:hover:not(:disabled) { background: #cbf32e; }
.planner-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 13px; }
.calendar-card { padding: 0 0 10px; overflow: hidden; border-color: #dce0e0; border-radius: 8px; box-shadow: 0 2px 8px #20272a08; }
.week-calendar { max-height: calc(100vh - 265px); min-height: 440px; overflow: auto; }
.week-header { position: sticky; z-index: 3; top: 0; display: grid; grid-template-columns: 50px repeat(7,minmax(110px,1fr)); min-width: 820px; height: 45px; border-bottom: 1px solid #d9dddd; background: #fff; }
.week-time-heading { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; color: #858b90; font-size: 8px; }
.week-day-heading { display: flex; align-items: center; justify-content: center; gap: 6px; border-left: 1px solid #eceeee; color: #525960; text-transform: capitalize; font-size: 9px; }
.week-day-heading>strong { font-size: 10px; }
.week-day-heading.is-today { color: #26232b; background: #d7ff42; font-weight: 750; }
.week-body { display: grid; grid-template-columns: 50px minmax(0,1fr); min-width: 820px; }
.time-column { display: grid; grid-template-rows: repeat(17,60px); color: #737a80; background: #fff; text-align: center; }
.time-label { position: relative; top: -6px; font-size: 8px; }
.week-columns { display: grid; grid-template-columns: repeat(7,minmax(110px,1fr)); }
.day-column { position: relative; border-left: 1px solid #e4e7e7; background: #fff; }
.day-column.is-today { background-color: #fffef8; }
.hour-line { position: absolute; z-index: 0; right: 0; left: 0; height: 1px; border-top: 1px solid #eceeee; pointer-events: none; }
.calendar-post { position: absolute; z-index: 1; right: 3px; left: 3px; min-height: 46px; margin: 0; padding: 5px 6px; overflow: hidden; border-left: 3px solid #dc577d; border-radius: 4px; color: #4b4850; background: #fff0f4; white-space: normal; text-overflow: ellipsis; font-size: 8px; line-height: 1.45; }
.calendar-post.scheduled { border-left-color: #c84972; background: #fff0f4; }
.calendar-post.published { border-left-color: #55ab7d; background: #eff8f2; }
.calendar-post.failed { border-left-color: #df5663; background: #fff0f0; }
.calendar-empty { margin: 0; padding: 8px 12px 0; color: #8c9196; text-align: center; font-size: 9px; }
.calendar-legend { justify-content: center; gap: 17px; padding-top: 9px; font-size: 8px; }
.planner-rail .panel { border-radius: 8px; }
.connected-pill { color: #626a70; background: #eef0f0; }
.connected-pill.is-connected { color: #465725; background: #e6f4b8; }
.instagram-glyph { color: #c74871; background: #fff0f4; }
.draft-count { color: #3f432f; background: #e8f4ba; }
.post-dialog { border-radius: 9px; }

@media (max-width:1150px) {
  .planner-main { padding: 20px 18px; }
  .planner-toolbar { gap: 7px; }
  .toolbar-search { width: 150px; }
  .planner-layout { grid-template-columns: minmax(0,1fr) 225px; }
  .toolbar-right { margin-left: 0; }
  .week-calendar { max-height: calc(100vh - 300px); }
}
@media (max-width:850px) {
  .app-topbar { padding: 0 15px; gap: 15px; }
  .planner-layout { grid-template-columns: 1fr; }
  .planner-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rail-tip { grid-column: 1/-1; }
  .week-calendar { max-height: 560px; }
}
@media (max-width:650px) {
  .auth-layout { width: min(100% - 32px,480px); grid-template-columns: 1fr; grid-template-rows: 70px auto auto; row-gap: 0; }
  .auth-brand { grid-column: 1; }
  .intro { padding: 40px 0 24px; }
  .intro h1 { font-size: 44px; }
  .feature-list { gap: 9px; margin-top: 22px; font-size: 11px; }
  .auth-panel { margin: 0 0 28px; padding: 23px; }
  .app-topbar { height: 47px; gap: 11px; padding: 0 10px; }
  .app-topbar .brand { gap: 6px; font-size: 12px; }
  .app-topbar .brand-mark { width: 25px; height: 25px; }
  .global-nav { gap: 0; }
  .global-nav a { width: 30px; font-size: 17px; }
  .topbar-user>span { display: none; }
  .topbar-user .sign-out { min-height: 27px; padding: 5px 7px; font-size: 9px; }
  .planner-tabs { height: 40px; gap: 0; padding: 0 8px; }
  .planner-tabs a { padding: 0 9px; font-size: 10px; }
  .planner-main { padding: 17px 10px 24px; }
  .planner-heading { align-items: flex-start; margin-bottom: 12px; }
  .planner-heading h1 { font-size: 20px; }
  .planner-heading>div>p { display: none; }
  .connection { margin-top: 2px; font-size: 0; }
  .connection-dot { width: 9px; height: 9px; }
  .planner-toolbar { align-items: stretch; flex-direction: row; }
  .toolbar-search { flex: 1; width: auto; }
  .period-controls { order: 2; width: 100%; }
  .period-controls h2 { min-width: 0; flex: 1; }
  .toolbar-right { order: 3; width: 100%; justify-content: space-between; }
  .best-times,.filter-button { display: none; }
  .new-post-button { margin-left: auto; }
  .planner-rail { grid-template-columns: 1fr; }
  .rail-tip { grid-column: auto; }
  .week-calendar { max-height: 52vh; min-height: 390px; }
  .week-header { grid-template-columns: 39px repeat(7,minmax(100px,1fr)); }
  .week-body { grid-template-columns: 39px minmax(0,1fr); }
  .time-column { grid-template-rows: repeat(17,56px); }
  .week-day-heading { flex-direction: column; gap: 1px; }
  .calendar-legend { gap: 10px; }
  .compose-form { padding: 19px; }
}
.global-nav>span{width:44px;display:grid;place-items:center;color:#9b97a1;font-size:21px}.planner-tabs>span{display:grid;place-items:center;padding:0 13px;color:#9aa0a2;font-size:11px}.week-picker-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}@media(max-width:650px){.global-nav>span{width:30px;font-size:17px}.planner-tabs>span{padding:0 9px;font-size:10px}.time-column{grid-template-rows:repeat(17,60px)}}
