:root {
  color-scheme: light;
  --ink: #112d50;
  --ink-soft: #405a78;
  --muted: #506984;
  --rule: #6285ad35;
  --blue: #0866ff;
  --blue-hover: #0454d9;
  --blue-ink: #084da8;
  --frost: linear-gradient(132deg, #ffffffef 3%, #f6fcffbc 62%, #e6f4ffbb);
  --shine: inset 0 1.5px 0 #fffffff5, inset 0 -1.5px 1px #8cb8e62a;
  --glass-shadow: 0 14px 30px -20px #245b9d57, 0 2px 8px -5px #3772b439;
  --button-glass: radial-gradient(ellipse at 96% 124%, #29afff70, transparent 37%),
    linear-gradient(173deg, #3284ff 0%, #116cfa 15%, var(--blue) 51%, #075cde 52%, #0758d7 100%);
  --secondary-glass: linear-gradient(163deg, #fffffff7, #ecf7ffec 56%, #d8ebffeb);
  --radius: 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background-color: #e9f4ff;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.45;
  background:
    radial-gradient(ellipse at 6% 2%, #ade2ffbd, transparent 38%),
    radial-gradient(ellipse at 96% -7%, #acd0ffb5, transparent 47%),
    radial-gradient(ellipse at 12% 110%, #bde7fcba, transparent 41%),
    linear-gradient(124deg, #dcecff 2%, #f6faff 55%, #deeeff);
  background-attachment: fixed;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { color: #657587; cursor: default; opacity: .65; }
:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
a { color: var(--blue-ink); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 670; color: var(--ink); line-height: 1.17; }
h1 { font-size: clamp(27px, 2.55vw, 40px); letter-spacing: -.048em; }
h2 { font-size: clamp(19px, 1.45vw, 24px); letter-spacing: -.034em; }
h3 { font-size: 16px; letter-spacing: -.025em; }
[hidden], dialog:not([open]) { display: none !important; }
svg { vertical-align: middle; }
svg.lucide, .nav-icon svg, .metric-icon svg, button > svg { flex-shrink: 0; }
.app-shell {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 38px);
  align-items: start;
  width: min(100%, 1900px);
  margin-inline: auto;
  padding: 18px clamp(18px, 2vw, 34px) 26px 16px;
}
.sidebar, .panel, .metric, dialog {
  border: 1px solid rgba(255,255,255,.85);
  background: var(--frost);
  box-shadow: var(--shine), var(--glass-shadow), 0 0 0 1px rgba(97, 117, 145, .055);
}
.sidebar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  height: calc(100dvh - 36px);
  min-height: 390px;
  padding: 23px 13px 13px;
  border-radius: 28px;
  background: radial-gradient(ellipse at 110% 94%, #b7ddff65, transparent 61%), linear-gradient(143deg, #ffffffdf 2%, #eff9ffac 50%, #deeeffb8);
  backdrop-filter: saturate(145%) blur(22px);
  -webkit-backdrop-filter: saturate(145%) blur(22px);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 3px 8px; color: var(--ink); text-decoration: none; }
.brand-icon { width: 39px; height: 39px; object-fit: contain; flex-shrink: 0; }
.brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.045em; }
.postuesi-wordmark { display: block; width: 142px; max-width: 100%; height: auto; }
.brand small, .brand-subtitle { display: block; font-size: 11px; font-weight: 550; color: var(--muted); }
.nav-list { display: grid; gap: 5px; margin: 36px 0 18px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 13px;
  appearance: none; border: 1px solid transparent; background: transparent;
  border-radius: 14px; width: 100%; text-align: left; text-decoration: none;
  font-size: 14px; font-weight: 550; color: #46536b;
}
.nav-item:hover { background: #ffffffcb; color: var(--blue-ink); }
.nav-item.active, .nav-item[aria-current=page] {
  color: #064ba6; border-color: #8fbff0b3;
  background: radial-gradient(ellipse at 90% 100%, #9edbff72, transparent 62%), linear-gradient(169deg, #f6fcffed, #d4eaff 84%);
  box-shadow: var(--shine), 0 4px 10px -6px #2167ae80;
}
.nav-icon, .nav-item > svg { display: grid; place-items: center; width: 19px; height: 19px; }
.nav-icon svg { width: 19px; height: 19px; }
.profile-button {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%;
  margin-top: auto; padding: 11px; text-align: left; font-size: 13px; font-weight: 610;
  border: 1px solid rgba(255, 255, 255, .91); border-radius: 16px;
  background: rgba(255, 255, 255, .68); box-shadow: 0 1px 5px rgba(35, 58, 102, .07);
}
.profile-button:hover { background: #fff; }
.workspace { min-width: 0; padding: 16px 0 0; }
.page-header, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-header { margin: 0 2px 20px; }
.eyebrow { color: var(--muted); font-weight: 610; font-size: 11px; letter-spacing: .065em; text-transform: uppercase; margin-bottom: 5px; }
.header-actions, .hero-actions, .queue-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.button, .icon-button, .button.secondary {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; border-radius: 12px; padding: 8px 14px;
  border: 1px solid #90b5dbbf; color: var(--blue-ink);
  font-weight: 600; font-size: 13px; line-height: 1.35; text-decoration: none;
  background: var(--secondary-glass);
  box-shadow: var(--shine), 0 3px 8px -5px #3772ac78;
  transition: background-color .14s, box-shadow .14s, transform .14s;
}
.button:not(:disabled):hover, .icon-button:not(:disabled):hover { border-color: #67a1df; box-shadow: var(--shine), 0 4px 10px -4px #3977bf60; }
.button:active, .icon-button:active { transform: translateY(1px); }
.button.primary, .source-actions .button {
  color: #fff; border-color: #0961db; background: var(--button-glass);
  box-shadow: inset 0 1px 1px #e8faffaa, inset 0 -1px 1px #114ab451, 0 4px 11px -4px #0866ff6b;
  text-shadow: 0 1px 2px #0044a26b;
}
.button.primary:not(:disabled):hover, .source-actions .button:not(:disabled):hover {
  background: radial-gradient(ellipse at 91% 112%, #2aa8ff96, transparent 41%), linear-gradient(173deg,#287dff,#0866ff 51%,#0757d7 52%,#0a4dc6);
  border-color: #045aca; box-shadow: inset 0 1px 1px #d7f5ffbd, 0 5px 14px -4px #0866ff80;
}
.icon-button { padding: 8px; width: 38px; height: 38px; }
button svg, .button svg { width: 17px; height: 17px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: 195px;
  padding: clamp(23px, 2.5vw, 36px); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.95);
  background: radial-gradient(ellipse at 90% 2%, #d0c8f1, transparent 55%),
    radial-gradient(ellipse at 65% 109%, #9bc5f1, transparent 65%), linear-gradient(105deg, #f2f8ff 7%, #e3effc 47%, #b7c5ed);
  box-shadow: inset 0 1px 1px #fff, 0 10px 28px -19px rgba(38, 81, 150, .42);
}
.hero-copy { position: relative; z-index: 2; max-width: 68%; }
.hero-title, .hero-copy h2 { margin: 9px 0 4px; font-size: clamp(25px,2.2vw,35px); font-weight: 660; letter-spacing: -.045em; line-height: 1.12; }
.hero-detail { color: #435b79; font-size: 14px; }
.hero-actions { margin-top: 16px; }
.hero-art {
  position: absolute; z-index: 0; pointer-events: none; right: -7%; top: -12%; width: 53%; height: 130%;
  background: radial-gradient(ellipse at 68% 55%, rgba(102,120,238,.65), transparent 58%);
}
.hero-art::before, .hero-art::after {
  content: ""; position: absolute; display: block;
  border: 2px solid rgba(245,251,255,.9);
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255,255,255,.85), rgba(197,229,254,.1) 26%, rgba(152,173,242,.22) 57%, rgba(105,109,206,.68) 79%, rgba(229,239,255,.87) 99%);
  box-shadow: inset 7px 5px 5px rgba(255,255,255,.78), inset -12px -11px 19px rgba(71, 88, 182,.37), inset -2px -4px 5px rgba(255,255,255,.9), 0 10px 20px -3px rgba(88,112,167,.19);
  transform: rotate(-38deg);
}
.hero-art::before { width: 112%; height: 68%; left: -8%; top: 3%; }
.hero-art::after { width: 125%; height: 78%; left: 4%; top: 32%; }
.status-pill, .badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 4px 9px; border-radius: 999px; font-size: 11px; line-height: 1.35; font-weight: 630;
  color: #465676; background: #edf1f8; border: 1px solid rgba(116, 139, 175, .17);
}
.status-pill { background: rgba(255,255,255,.72); }
.badge.ready, .badge.done, .status-pill.active { color: #136754; background: #e4f4ee; border-color: #c7e6da; }
.badge.scheduled, .badge.info { color: #255fa4; background: #e5effd; border-color: #d2e1f8; }
.badge.error, .badge.warning { color: #934e13; background: #fff2df; border-color: #f0dfc4; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(145px,100%),1fr)); gap: 13px; margin: 15px 0; }
.metric { display: flex; align-items: center; gap: 13px; min-width: 0; border-radius: 19px; padding: 18px 20px; }
.metric-icon {
  display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px;
  border: 1px solid rgba(95, 138, 207, .12); border-radius: 13px; color: #3867bd;
  background: linear-gradient(135deg,#eff5ff,#dae7fd); box-shadow: var(--shine);
}
.metric:nth-child(2) .metric-icon { color: #0855b2; background: linear-gradient(145deg,#fff 2%,#d7ebff 58%,#b6d8ff); }
.metric:nth-child(3) .metric-icon { color: #256e63; background: linear-gradient(135deg,#eaf8f4,#d8eee9); }
.metric-icon svg { width: 20px; height: 20px; }
.metric-label, .metric-value { display: block; }
.metric-label { color: var(--ink-soft); font-size: 12px; font-weight: 540; }
.metric-value { font-size: 26px; font-weight: 660; letter-spacing: -.04em; line-height: 1.14; font-variant-numeric: tabular-nums; }
.panel { border-radius: var(--radius); min-width: 0; overflow: hidden; padding: clamp(16px, 1.7vw, 26px); }
.panel + .panel { margin-top: 16px; }
.panel-heading { margin-bottom: 16px; }
.queue-tools { padding: 0 0 14px; }
.table-wrap, .table-scroll { max-width: 100%; overflow-x: auto; }
table { border-spacing: 0; border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
th { background: #eaf3fd; font-size: 11px; letter-spacing: .035em; font-weight: 650; color: #405c7c; padding: 10px 13px; white-space: nowrap; }
th:first-child { border-radius: 8px 0 0 8px; }
th:last-child { border-radius: 0 8px 8px 0; }
td { padding: 10px 13px; border-bottom: 1px solid rgba(112, 133, 163, .14); font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(221, 232, 250, .38); }
tbody tr.selected, tbody tr[aria-selected=true] { background: #e6effd; }
.vehicle-cell { display: flex; align-items: center; gap: 10px; }
.thumb { width: 54px; height: 39px; border-radius: 8px; border: 1px solid var(--rule); object-fit: cover; background: #e7edf5; flex: 0 0 auto; }
.vehicle-title { font-weight: 610; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  max-width: 100%; min-height: 37px; appearance: auto; border: 1px solid #abc2da; border-radius: 11px;
  color: var(--ink); padding: 8px 10px; background: #fbfdff; font-size: 13px;
  box-shadow: inset 0 1px 3px #284b7410, 0 1px 0 #fff;
}
input::placeholder, textarea::placeholder { color: #596e86; opacity: 1; }
input[type=checkbox], input[type=radio] { accent-color: var(--blue); }
input[type=number] { width: 75px; }
dialog { color: var(--ink); background: linear-gradient(155deg,#fff 2%,#f4faff 67%,#eaf4ff); max-width: min(480px,calc(100vw - 24px)); width: 100%; max-height: 90dvh; border-radius: 24px; padding: 0; box-shadow: 0 28px 80px -26px #16395880, var(--shine); }
dialog::backdrop { background: rgba(23, 48, 76, .37); backdrop-filter: blur(7px); }
.dialog-body { padding: 25px; }
.profile-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px; background: #fff; border: 1px solid var(--rule); border-radius: 14px; color: var(--ink); text-align: left; }
.profile-card:hover { background: #edf4ff; border-color: #b1c7ea; }
@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 187px minmax(0, 1fr); gap: 17px; padding: 12px; }
  .sidebar { top: 12px; height: calc(100dvh - 24px); }
  .metric { padding: 15px 12px; gap: 9px; }
  .brand { gap: 6px; padding-inline: 3px; }
  .hero-art { right: -12%; }
}
@media (max-width: 760px) {
  .app-shell { display: block; padding: 9px 10px 22px; }
  .sidebar { position: static; min-height: 0; height: auto; padding: 9px; border-radius: 20px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px; }
  .brand { gap: 7px; }
  .brand-icon { width: 30px; height: 30px; }
  .profile-button { margin: 0; width: auto; max-width: 170px; padding: 6px 9px; font-size: 12px; }
  .nav-list { grid-row: 2; grid-column: 1 / -1; display: flex; overflow-x: auto; margin: 4px 0 0; gap: 3px; scrollbar-width: thin; }
  .nav-item { width: auto; flex: 1 0 auto; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 9px; font-size: 12px; border-radius: 10px; }
  .nav-item > svg, .nav-icon, .nav-icon svg { width: 16px; height: 16px; }
  .workspace { padding: 18px 0 0; }
  .page-header { margin: 0 3px 14px; }
  .hero { min-height: 165px; padding: 20px; }
  .hero-copy { max-width: 76%; }
  .hero-art { right: -21%; opacity: .8; }
  .metrics { gap: 7px; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 10px 0; }
  .metric { flex-wrap: wrap; padding: 11px; gap: 6px; border-radius: 14px; }
  .metric-icon { width: 29px; height: 29px; flex-basis: 29px; border-radius: 9px; }
  .metric-icon svg { width: 16px; height: 16px; }
  .metric-label { font-size: 11px; }
  .metric-value { font-size: 21px; }
  .panel { padding: 14px; border-radius: 18px; }
  .panel-heading { flex-wrap: wrap; }
  th, td { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation: none !important; }
}

/* The public site uses the same surfaces and controls as the workspace. */
.landing {
  width: min(100% - 48px, 1200px); margin: 0 auto;
  padding: 22px 0 42px; --landing-gutter: clamp(26px, 4.6vw, 74px);
}
.marketing-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 9px 12px 9px 18px;
  border: 1px solid rgba(255,255,255,.95); border-radius: 22px;
  background: rgba(251,253,255,.72); box-shadow: var(--shine), var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.marketing-nav .brand { padding: 0; }
.marketing-nav .brand img { display: block; width: 39px; height: 39px; object-fit: contain; }
.marketing-nav .brand-name { font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 13px; color: var(--ink-soft); font-weight: 570; }
.nav-links a:hover { color: var(--blue); }
.landing-hero {
  min-height: clamp(435px, 43vw, 595px);
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  align-items: center; gap: 2%;
  padding: clamp(25px, 3.8vw, 58px) clamp(7px, 1.3vw, 24px) clamp(25px, 3.8vw, 58px) var(--landing-gutter);
}
.landing-hero .hero-copy { max-width: none; }
.landing-hero h1 {
  margin: 13px 0 20px; font-size: clamp(48px, 5.9vw, 82px);
  line-height: 1.005; letter-spacing: -.067em; font-weight: 640; text-wrap: balance;
}
.landing-hero h1 em, .landing-hero h1 span { color: #516bb8; font-style: normal; }
.landing-hero .hero-copy > p:not(.eyebrow) {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.54; letter-spacing: -.015em;
  color: #4b5b72; max-width: 450px;
}
.landing-hero .eyebrow { color: #425888; }
.landing-hero .hero-actions { margin-top: 26px; gap: 10px; }
.landing-hero .button, .marketing-nav .button { border-radius: 999px; }
.landing-hero .button { min-height: 44px; padding: 11px 19px; }
.hero-visual {
  min-width: 0; width: min(100%, 495px); justify-self: center;
  position: relative; isolation: isolate; display: grid; place-items: center;
  aspect-ratio: 1.12; overflow: hidden; margin: 0;
  background: radial-gradient(ellipse at 43% 53%, #a7bbee, #d7e2f3 60%, #ececfa);
  border: 1px solid rgba(255,255,255,.88); border-radius: clamp(28px,4vw,55px);
  box-shadow: inset 0 1px 2px #fff, 0 22px 65px -38px rgba(77,86,149,.55);
}
.hero-image, .hero-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-preview {
  position: relative; overflow: hidden; margin: 0 auto; max-width: 1080px;
  border: 1px solid rgba(255,255,255,.97); border-radius: 25px;
  background: rgba(255,255,255,.75); 
  box-shadow: inset 0 1px 0 #fff, 0 25px 80px -35px rgba(50,78,125,.28), 0 0 0 1px rgba(94,117,149,.08);
  scroll-margin-top: 24px;
}
.preview-top { display: flex; align-items: center; justify-content: space-between; min-height: 43px; padding: 10px 19px; border-bottom: 1px solid var(--rule); background: linear-gradient(120deg, #f6f9ffeb, #e9edfaeb); font-size: 12px; font-weight: 620; color: var(--ink-soft); }
.preview-layout { display: grid; grid-template-columns: 20% minmax(0,1fr); }
.preview-rail { padding: 21px 14px; background: rgba(225,234,249,.53); border-right: 1px solid var(--rule); font-size: 12px; color: var(--ink-soft); }
.preview-rail > * { margin: 0 0 6px; }
.preview-rail > div, .preview-rail > span, .preview-rail > li { display: flex; align-items: center; gap: 7px; border-radius: 9px; padding: 8px 10px; }
.preview-rail .active, .preview-rail [aria-current=page] { background: #dbe8fb; color: #1a519e; font-weight: 620; }
.preview-rail svg, .preview-top svg { width: 15px; height: 15px; }
.preview-board { background: linear-gradient(155deg, rgba(255,255,255,.92), rgba(241,246,255,.78)); min-width: 0; padding: 23px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.preview-heading h2 { font-size: clamp(18px,1.9vw,26px); }
.preview-days, .preview-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.preview-days { color: #5a6b83; font-size: 11px; font-weight: 620; padding-bottom: 8px; }
.preview-days > * { padding: 0 8px; }
.preview-grid { min-height: 115px; border-block: 1px solid var(--rule); background: rgba(249,251,255,.7); }
.preview-grid > div { padding: 8px 5px; border-right: 1px solid var(--rule); min-width: 0; }
.preview-grid > div:last-child { border-right: 0; }
.preview-event { border: 1px solid #ccdff4; border-radius: 9px; background: linear-gradient(130deg, #eef6ff, #dfeafb); padding: 8px; font-size: 12px; font-weight: 600; color: #2e4771; overflow-wrap: anywhere; }
.preview-event span, .preview-event small, .preview-event time { display: block; font-size: 10px; font-weight: 550; opacity: .82; }
.preview-event.violet, .preview-event.purple { background: #eee8fb; border-color: #e1d6f7; color: #605286; }
.preview-event.green, .preview-event.mint { background: #e5f3ed; border-color: #cce5d7; color: #356952; }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 34px auto; max-width: 1080px; }
.feature { padding: 23px; border: 1px solid rgba(255,255,255,.86); border-radius: 22px; background: rgba(255,255,255,.63); box-shadow: var(--shine), var(--glass-shadow); }
.feature h3 { margin: 9px 0; font-size: 18px; }
.feature p { font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.feature > svg { width: 21px; height: 21px; color: #476baf; }
.view-welcome { min-height: 100dvh; display: grid; align-items: center; justify-items: center; padding: 24px; }
.welcome-shell { width: min(100%,900px); display: grid; grid-template-columns: 42% minmax(0,1fr); border-radius: 32px; overflow: hidden; background: var(--frost); border: 1px solid white; box-shadow: 0 30px 85px -36px #20549063,0 4px 20px -10px #195fa855,var(--shine); backdrop-filter: blur(22px) saturate(130%); }
.welcome-visual { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 12px; overflow: hidden; min-height: 400px; padding: 30px 24px; background: radial-gradient(ellipse at 76% 16%, #eae5fe, transparent 62%), linear-gradient(135deg,#d3e5fa,#bdd7f3 38%,#c8cbf2); text-align: center; }
.welcome-visual::before, .welcome-visual::after { content: ""; position: absolute; z-index: -1; width: 125%; height: 34%; top: 24%; left: -12%; border-radius: 50%; border: 2px solid #eff9ffb3; box-shadow: inset 3px -8px 20px #a6b5ec80, 0 2px 0 #b3c4e9; transform: rotate(-37deg); }
.welcome-visual::after { top: 41%; transform: rotate(49deg); }
.welcome-logo { display: block; width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 10px 13px #33528c33); }
.welcome-wordmark { font-size: 18px; color: #22375f; font-weight: 680; letter-spacing: -.04em; }
.welcome-content { padding: clamp(24px,4vw,48px); align-self: center; }
.welcome-content > p { color: var(--ink-soft); margin: 9px 0; }
.profile-list { display: grid; gap: 9px; margin: 22px 0 14px; }
.profile-avatar { display: inline-grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; border-radius: 12px; color: #3961aa; background: linear-gradient(150deg,#edf3ff,#d5e2f7); font-weight: 660; }
.profile-info { flex: 1; font-weight: 630; }
.profile-info small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
@media(max-width:880px) {
  .landing { width: calc(100% - 30px); }
  .landing-hero { padding: 32px 10px; min-height: 380px; }
  .landing-hero h1 { font-size: clamp(46px,6.5vw,58px); }
}
@media(max-width:640px) {
  .landing { width: calc(100% - 22px); padding-top: 11px; }
  .marketing-nav { min-height: 53px; border-radius: 17px; padding: 6px 8px; gap: 7px; }
  .marketing-nav .brand img { width: 30px; height: 30px; }
  .marketing-nav .brand-name { font-size: 14px; }
  .nav-links { gap: 7px; }
  .nav-links a:not(.button) { display:none; }
  .marketing-nav .button { padding: 8px 12px; font-size: 12px; }
  .landing-hero { grid-template-columns: 1fr; padding: 29px 5px 22px; gap: 25px; }
  .landing-hero h1 { font-size: clamp(44px,11vw,60px); margin: 8px 0 14px; }
  .landing-hero .hero-copy { max-width: 550px; }
  .landing-hero .hero-actions { margin-top: 18px; }
  .hero-visual { width: 100%; max-width: 460px; aspect-ratio: 1.8; border-radius: 23px; }
  .preview-layout { grid-template-columns: 1fr; }
  .preview-rail { display: none; }
  .preview-board { padding: 14px 10px; overflow-x: auto; }
  .preview-grid, .preview-days { min-width: 430px; }
  .features { grid-template-columns: 1fr; gap: 9px; margin-top: 17px; }
  .feature { padding: 17px; }
  .view-welcome { padding: 14px; }
  .welcome-shell { grid-template-columns: 1fr; border-radius: 25px; }
  .welcome-visual { min-height: 125px; padding: 16px; }
  .welcome-logo { width: 53px; height: 53px; }
  .welcome-content { padding: 22px; }
}

.skip-link, .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;
}
.skip-link:focus { z-index: 50; top: 10px; left: 10px; width: auto; height: auto; padding: 10px 15px; clip: auto; background: white; border-radius: 10px; }
.nav-cta { color: #224a8e; }
.eyebrow-dot { display: inline-block; margin: 0 6px 1px 0; width: 7px; height: 7px; border-radius: 50%; background: #6384dc; box-shadow: inset 0 1px 1px #b3c7fc; }
.gradient-text { background: linear-gradient(100deg, #315ca2, #6c5ea9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.window-dots { display: flex; gap: 5px; }
.window-dots > span { display: block; width: 9px; height: 9px; border-radius: 50%; background: #e4a29f; border: 1px solid #0000000b; }
.window-dots > span:nth-child(2) { background: #e9cc88; }
.window-dots > span:nth-child(3) { background: #90c3aa; }
.preview-app, .back-link { display: inline-flex; align-items: center; gap: 7px; }
.preview-rail > .preview-profile { margin-bottom: 12px; padding: 2px 7px 11px; color: #253d63; gap: 9px; }
.preview-profile .profile-avatar { width: 29px; height: 29px; flex: 0 0 29px; border-radius: 10px; }
.preview-range { background: #eff3fa; border: 1px solid var(--rule); color: #536681; padding: 5px 10px; border-radius: 7px; font-size: 11px; }
.preview-grid .preview-day { padding: 0 6px 12px; }
.day-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin: 8px 3px; font-size: 10px; font-weight: 590; color: #617187; }
.day-heading strong { font-size: 18px; font-weight: 610; line-height: 1.15; color: #293952; }
.preview-event { display: grid; grid-template-columns: 14px minmax(0,1fr); align-items: center; column-gap: 4px; row-gap: 4px; }
.preview-event svg { width: 13px; height: 13px; }
.preview-event > strong { grid-column: 1/-1; font-size: 11px; line-height: 1.35; }
.feature-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; color: #4767ae; background: #e2eafa; }
.feature-icon svg { width: 18px; height: 18px; }
.feature:nth-child(2) .feature-icon { background: #eae4f5; color: #6d5996; }
.feature:nth-child(3) .feature-icon { background: #dff0e9; color: #477466; }
.site-footer { margin: 0 auto; padding: 16px 2px 0; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; max-width: 1080px; }
.site-footer > a { font-size: 12px; color: var(--ink-soft); text-decoration: none; }
.site-footer .brand { gap: 7px; font-weight: 620; }
.site-footer .brand-icon { width: 24px; height: 24px; }
.site-footer svg { width: 14px; height: 14px; }
#view-queue .metric { display: grid; grid-template-columns: 38px minmax(0,1fr); grid-template-rows: auto auto; gap: 2px 13px; }
#view-queue .metric-icon { grid-row: 1/3; }
#view-queue .metric-label { grid-column: 2; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
#view-queue .metric-value { grid-column: 2; }
#switch-profile svg:last-child { margin-left: auto; width: 16px; }
.profile-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#view-queue .panel-heading .queue-tools, #view-schedule .panel-heading .queue-tools { padding: 0; }
.search-field { position: relative; }
.search-field > svg { color: #72829a; position: absolute; top: 50%; left: 9px; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; }
.search-field > input[type=search] { width: min(200px,46vw); padding-left: 31px; }
.empty-state { padding: 34px 12px; color: var(--ink-soft); font-size: 14px; text-align: center; }
.empty-state:empty { display: none; }
.empty-state p { margin: 6px auto 13px; }
.settings-form { max-width: 740px; }
.preference-grid, .preference-media { display: grid; column-gap: 15px; align-items: end; }
.preference-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.preference-media { grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); }
#publishing-preferences label { margin: 15px 0 0; font-size: .875rem; }
#publishing-preferences label select { width: 100%; display: block; min-width: 0; margin-top: 6px; font-weight: 450; }
.preference-times, .preference-design-note { font-size: .875rem; color: var(--ink-soft); line-height: 1.5; }
.preference-times { margin: 10px 0 4px; }
.preference-times:empty { display: none; }
.preference-design-note { margin: 8px 0 18px; }
.preference-design-note a { color: #20589f; }
#preferences-status { margin-inline-start: 8px; font-size: .875rem; }
@media(max-width:500px){
  .preference-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .preference-grid label:first-child { grid-column: 1 / -1; }
  .preference-media { grid-template-columns: minmax(0,1fr); }
}
.settings-form label, .dialog-body > label { display: block; margin: 17px 0; font-size: 13px; font-weight: 600; color: #374960; }
.settings-form label input, .dialog-body label input, .dialog-body textarea { display: block; width: 100%; margin: 6px 0 0; font-weight: 450; }
.dialog-body textarea { resize: vertical; min-height: 70px; }
.dialog-header { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.dialog-header .icon-button { width: 32px; height: 32px; min-height: 32px; border-radius: 50%; }
.dialog-body h2 + p, .settings-form h2 + p { color: var(--ink-soft); margin: 10px 0; }
.dialog-body label > span, .signout-link { color: var(--muted); font-weight: 450; font-size: 12px; }
.form-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; margin-top: 20px; }
.button.danger { color: #962f40; background: linear-gradient(160deg,#fff,#fff0f2); border-color: #d9aab1; }
.button.danger:not(:disabled):hover { color: #872336; background: #ffe2e6; border-color: #c68791; }
.back-link { font-size: 12px; color: var(--ink-soft); text-decoration: none; margin: 0 0 14px; }
.back-link svg { width: 15px; height: 15px; }
.signout-link { display: inline-block; margin: 9px 0 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; }
.calendar-day { min-width: 0; min-height: 195px; padding: 10px 6px; background: linear-gradient(160deg,#fff9,#e5f1faaa); border: 1px solid var(--rule); border-radius: 12px; color: #355472; }
.calendar-day h3, .calendar-day > strong { display: block; font-size: 13px; font-weight: 630; padding: 1px 3px 7px; }
.calendar-day.today { background: linear-gradient(165deg,#e6f3ff,#f6fbff); border-color: #84b9f7; box-shadow: inset 0 3px 0 #0866ff; }
.calendar-post { display: block; width: 100%; padding: 8px; margin: 5px 0 0; border-radius: 8px; text-align: left; border: 1px solid #cbdcf2; color: #254977; background: #e1ecfb; overflow-wrap: anywhere; font-size: 12px; font-weight: 580; }
.calendar-post time, .calendar-post small { display: block; font-size: 10px; }
.activity-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.activity-row:last-child { border: 0; }
.activity-row time { color: var(--muted); font-size: 12px; min-width: 130px; }
.notice { position: fixed; bottom: 22px; left: 50%; z-index: 20; transform: translateX(-50%); max-width: calc(100vw - 30px); width: max-content; padding: 12px 20px; border: 1px solid #c5cee0; border-radius: 15px; background: #fff; box-shadow: 0 8px 26px #26375b27; font-size: 13px; }
@media (max-width:760px) {
  #view-queue .metric { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr auto; justify-items: start; row-gap: 3px; }
  #view-queue .metric-icon, #view-queue .metric-label, #view-queue .metric-value { grid-column: 1; grid-row: auto; }
  .calendar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .calendar-day { min-height: 80px; }
}
.hero-visual > .hero-image { position: absolute; inset: 0; object-position: center 53%; }
@media(max-width:640px) {
  .hero-visual { aspect-ratio: 1.58; }
  .preview-grid, .preview-days { min-width: 0; }
  .preview-grid .preview-day { padding: 0 2px 7px; }
  .preview-event { display: block; padding: 5px 3px; border-radius: 6px; }
  .preview-event svg { display: none; }
  .preview-event > strong { font-size: 10px; }
}
.thumb { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #6076a0; background: linear-gradient(155deg,#edf3fb,#e1e9f6); }
.thumb svg { width: 17px; height: 17px; }
.post-info { min-width: 0; max-width: clamp(160px,30vw,520px); }
.vehicle-title, .post-excerpt { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-excerpt { color: var(--muted); margin-top: 2px; font-size: 12px; }
.activity-row { align-items: baseline; }
.activity-row > span { min-width: 0; overflow-wrap: anywhere; }
.activity-row > svg { width: 16px; height: 16px; flex: 0 0 auto; align-self: center; color: var(--muted); }
.activity-row time { margin-left: auto; text-align: right; }
.form-error, .notice.error { color: #97384b; background: #fff2f4; border-radius: 10px; }
.form-error { margin-top: 10px; padding: 9px 12px; font-size: 13px; }
@media (max-width:420px) {
  .nav-item { padding-inline: 6px; gap: 5px; }
  .post-info { max-width: 125px; }
  .activity-row { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 5px 8px; }
  .activity-row > svg { align-self: start; margin-top: 2px; }
  .activity-row time { grid-column: 2; min-width: 0; margin: 0; text-align: start; }
}
@media (max-width:540px) {
  #view-queue .queue-tools input[type=search] { width: 100%; min-height: 44px; }
}
@media (min-width:761px) and (max-width:1100px) {
  #view-schedule .calendar-grid { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); }
  #view-schedule .calendar-day { min-height: 108px; }
  #view-schedule .calendar-post strong {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
}

.access-screen { background: radial-gradient(ellipse at 22% 40%,#b5ddff61,transparent 48%); }
.access-shell { grid-template-columns: 43% minmax(0,1fr); width: min(100%,880px); }
.access-art { display: grid; place-items: center; min-height: 410px; background: linear-gradient(145deg,#f4faff,#dfedff); }
.access-art .postuesi-wordmark { width: min(72%, 270px); }
.welcome-visual {
  background: radial-gradient(ellipse at 18% 8%, #fff 0, transparent 54%),
    radial-gradient(ellipse at 91% 92%, #c0dcff 0, transparent 62%), #e8f3ff;
}
.welcome-visual::before, .welcome-visual::after { display: none; }
.welcome-visual .postuesi-wordmark { width: min(76%, 260px); }
@media (max-width: 740px) {
  .brand .postuesi-wordmark { width: 114px; }
  .welcome-visual .postuesi-wordmark { width: 180px; }
}
.access-fields { display: grid; gap: 14px; margin-top: 23px; }
.access-fields label { color: #374960; font-weight: 600; font-size: 13px; }
.access-fields label input { display: block; width: 100%; margin-top: 5px; min-height: 43px; font-size: 15px; font-weight: 430; }
.access-fields button { width: 100%; min-height: 43px; margin-top: 4px; }
.access-fields .form-error { margin: 0; }
.access-fields small { margin-top: -10px; color: var(--muted); }
.access-password-card { width: min(100%,430px); background: var(--frost); border: 1px solid #fff; border-radius: 25px; padding: 30px; box-shadow: var(--glass-shadow); }
.access-password-card .brand-icon { margin-bottom: 17px; }
.access-password-card > p { margin: 10px 0; color: var(--ink-soft); }
button.signout-link { display: inline-block; background: transparent; border: 0; text-decoration: underline; padding: 5px 0; color: #425372; }
#share-access p { color: var(--ink-soft); }
#share-access button { margin-top: 10px; }
#client-details { width: 100%; resize: none; }
.design-hint, .design-status { color: var(--ink-soft); font-size: 13px; line-height: 1.45; margin: 5px 0 0; }
.design-status:empty, .design-grid:empty { display: none; }
.design-status:not(:empty) { padding: 8px 0; }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,190px),1fr)); gap: 15px; margin-top: 15px; }
.design-card { min-width: 0; overflow: hidden; background: #fbfdff; border: 1px solid #d6dfed; border-radius: 16px; }
.design-art { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #eaf0f7; }
.design-card-info { display: grid; justify-items: start; gap: 12px; padding: 13px; }
.design-card-info h3 { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; margin: 0; }
.design-card-info .button, .design-actions .button { font-size: 12px; min-height: 35px; }
.post-design { min-width: 0; margin: 17px 0; padding: 12px; border: 1px solid #cbd6e7; border-radius: 13px; }
.post-design legend { padding: 0 4px; font-weight: 600; font-size: 13px; color: #374960; }
.post-design legend span { font-weight: 450; color: var(--muted); }
.post-design select { display: block; width: 100%; min-width: 0; }
.design-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.post-design-preview { padding: 5px; border: 1px solid #dce3ee; background: #eaf0f7; border-radius: 9px; }
.post-design-preview + div:not([hidden]) { margin-top: 9px; }
.post-design-preview[hidden] + div { margin-top: 0; }
.post-design-preview img { display: block; height: 125px; width: 100%; object-fit: contain; }
img.thumb { object-fit: cover; }
.vehicle-import {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 24px; padding: 24px; border-radius: var(--radius); color: var(--ink); border: 1px solid #fff;
  background: radial-gradient(ellipse at 90% 5%,#91c8ff70,transparent 58%), linear-gradient(110deg,#fafdff 4%,#e4f2ff 49%,#c8e4ff);
  box-shadow: var(--glass-shadow), var(--shine);
}
.vehicle-import::before, .vehicle-import::after {
  content: ""; z-index: -1; position: absolute; pointer-events: none; top: -120%; right: 3%; width: 26%; height: 290%;
  border: 1px solid #fff9; border-radius: 45%; transform: rotate(36deg);
  background: linear-gradient(90deg,#fff3,#b6dcff0d 40%,#79b2ed29 83%,#e7f9ff8c);
  box-shadow: inset 7px 2px 12px #fff6, inset -4px 1px 8px #75a9e159;
}
.vehicle-import::after { right: 10%; width: 14%; top: -100%; }
.vehicle-source { display: flex; align-items: center; gap: 15px; flex: 1 1 260px; }
.source-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; color: white; background: var(--button-glass); border: 1px solid #579fff; border-radius: 15px; box-shadow: inset 0 1px 2px #fff9, 0 5px 11px -6px #0658bf8c; }
.source-icon svg { width: 25px; height: 25px; }
.vehicle-source h2 { margin: 0; color: var(--ink); font-size: 1.15rem; letter-spacing: -.025em; }
.vehicle-source p, .import-status { margin: 5px 0 0; color: #355271; font-size: .875rem; line-height: 1.5; }
.source-actions { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.source-more { padding: 4px; color: var(--blue-ink); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; font-size: .875rem; }
.import-status { flex-basis: 100%; margin: 0; }
.import-status:empty { display: none; }
.vehicle-preview { display: grid; gap: 8px; margin: 16px 0; }
.vehicle-preview img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 12px; background: #eaf0f6; }
.vehicle-preview a { width: fit-content; color: #1457aa; font-size: .875rem; }
.vehicle-cell img.vehicle-thumb { width: 64px; height: 46px; border-radius: 9px; }
.listing-title { max-width: 100%; min-height: 24px; padding: 0; border: 0; text-align: left; background: transparent; color: var(--ink); font-weight: 650; }
.listing-title:hover { text-decoration: underline; }
#facebook-shortcut span { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#page-choice { display: block; width: 100%; margin-top: 6px; }
#meta-fields .form-actions { justify-content: flex-start; margin: 12px 0; }
#platform-meta-settings { margin: 0 6px 6px 0; }
#platform-meta-welcome { margin-top: .5rem; }
#platform-secret-hint { display: block; color: var(--ink-soft); margin: -10px 0 16px; }
#meta-fields:not([hidden]) + #meta-connect { color: #285b9b; border: 1px solid #bacce1; background: white; }
@media (prefers-reduced-transparency: reduce) {
  .welcome-shell, .sidebar, .panel, .metric, .access-password-card { background: #f7fbff; backdrop-filter: none; }
  dialog::backdrop { backdrop-filter: none; }
}
@media(forced-colors:active) {
  .button, .source-icon, .calendar-day.today { border: 1px solid currentColor; }
  .nav-item[aria-current=page] { outline: 1px solid currentColor; }
}
@media(max-width:640px) {
  .vehicle-import { padding: 17px; gap: 14px; }
  .source-actions { align-items: start; }
  #dashboard .page-header { flex-wrap: wrap; }
  .vehicle-queue tr > :last-child { display: none; }
  .vehicle-queue .post-info { max-width: clamp(85px,31vw,180px); }
}
@media (max-width:760px) {
  .nav-item { flex: 1 0 auto; flex-direction: column; gap: 3px; font-size: 11px; min-width: 60px; white-space: nowrap; }
}
.meta-permissions { font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.meta-permissions summary { cursor: pointer; color: var(--blue-ink); font-weight: 600; }
.meta-permissions p { margin: .65em 0; }
@media (max-width:640px) {
  .access-shell { grid-template-columns: 1fr; }
  .access-art { min-height: 122px; }
  .access-art .postuesi-wordmark { width: min(56%, 185px); }
  .access-screen { align-items: safe center; }
}
