@font-face {
  font-family: Roboto;
  src: url('/fonts/roboto-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url('/fonts/roboto-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url('/fonts/roboto-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #f7fafd;
  --color-surface: #fff;
  --color-text: #172b43;
  --color-text-secondary: #64778b;
  --color-muted: #64778b;
  --color-border: #dce4ed;
  --color-accent: #ee8621;
  --color-accent-border: #e58a1f;
  --color-accent-text: #1a1208;
  --color-blue: #236093;
  --color-blue-deep: #174062;
  --color-blue-soft: #eaf2fa;
  --color-blue-brand: #236093;
  --color-danger: #8d1d2c;
  --color-danger-bg: #fdecee;
  --color-danger-border: #f3c2c8;
  --color-warning-bg: #fff6ea;
  --color-warning-text: #6b3d10;
  --color-warning-border: #f0d2ae;
  --color-info-bg: #eaf2fa;
  --color-info-border: #dce4ed;
  --color-success-bg: #e8f6ee;
  --color-success-text: #145c38;
  --color-success-border: #b7e0c8;
  --font: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 32px;
  --space-7: 48px;
  --radius: 12px;
  --touch: 44px;
  --content: 1280px;
  --gutter: 20px;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0;
}

h1 {
  font-size: 1.75rem;
}

.page-heading {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
}

h2 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

a {
  color: var(--color-blue);
}

a:hover {
  color: var(--color-blue-deep);
}

:focus-visible {
  outline: 3px solid #236093;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgb(35 96 147 / 22%);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -48px;
  background: var(--color-surface);
  color: var(--color-blue-deep);
  padding: var(--space-2) var(--space-4);
  z-index: 2;
}

.skip-link:focus {
  top: var(--space-2);
}

.app-header {
  background: var(--color-bg);
  padding-top: env(safe-area-inset-top);
}

@media (display-mode: standalone) {
  body::before {
    content: '';
    position: fixed;
    z-index: 4;
    top: 0;
    right: 0;
    left: 0;
    height: env(safe-area-inset-top);
    background: var(--color-bg);
    pointer-events: none;
  }
}

.header-inner,
.main-inner,
.app-footer {
  width: min(var(--content), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.app-footer {
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.app-footer.is-ask {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 4px 0 2px;
}

.brand {
  min-width: 0;
}

.brand-name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-tag {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.header-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-lead .header-title {
  min-width: 0;
}

.desktop-brand {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.header-lead .desktop-brand {
  display: flex;
  flex: none;
}

.header-lead .desktop-brand-copy {
  display: none;
}

.desktop-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
}

.desktop-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.desktop-brand .brand-name {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.desktop-brand .brand-tag {
  display: block;
  line-height: 1.2;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.header-tools .icon-button {
  border: 1px solid #dce4ed;
  border-radius: 999px;
  background: #fff;
  color: #172b43;
  box-shadow: 0 1px 2px rgb(23 43 67 / 6%);
}

.header-tools .bell-button {
  color: #172b43;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-back {
  display: grid;
  width: var(--touch);
  height: var(--touch);
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.header-back svg {
  width: 22px;
  height: 22px;
}

.header-title-text {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-title-text:focus:not(:focus-visible) {
  outline: none;
}

.icon-button {
  position: relative;
  display: grid;
  width: var(--touch);
  height: var(--touch);
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
}

.bell-button {
  border-color: transparent;
  background: transparent;
}

.avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--color-blue-brand);
  color: #fff;
  font-weight: 700;
}

.avatar-button {
  width: var(--touch);
  height: var(--touch);
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.app-nav {
  position: fixed;
  z-index: 3;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(var(--nav-count, 4), minmax(0, 1fr));
  align-items: center;
  height: 68px;
  padding: 6px;
  border: 1px solid #dce4ed;
  border-radius: 34px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 8px 24px rgb(23 43 67 / 8%);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  height: 100%;
  padding: 4px 2px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--color-text);
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link svg {
  width: 22px;
  height: 22px;
}

.nav-link[aria-current='page'] {
  background: #eaf2fa;
  color: var(--color-accent);
  font-weight: 700;
  box-shadow: none;
}

.app-nav.is-solo {
  grid-template-columns: auto;
  width: max-content;
  min-width: 7.5rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

@media (max-width: 899px) {
  .app-nav.is-compact .nav-link {
    font-size: 0.6875rem;
    padding-inline: 0;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
  color: #172b43;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.experience-option.is-active {
  border-color: #236093;
  background: #eaf2fa;
}

.experience-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #eaf2fa;
  color: #236093;
}

.experience-option.is-active .experience-icon {
  background: #fff;
}

.experience-icon svg {
  width: 22px;
  height: 22px;
}

.experience-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.experience-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.experience-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.experience-soon {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff6ea;
  color: #6b3d10;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.experience-description {
  color: #64778b;
  font-size: 0.875rem;
  line-height: 1.35;
}

.experience-check {
  color: #236093;
}

.experience-check svg {
  width: 20px;
  height: 20px;
}

.experience-sheet {
  max-height: min(88dvh, 640px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app-nav {
    background: rgb(255 255 255 / 96%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .app-nav {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 899px) {
  html[data-keyboard] .app-nav {
    visibility: hidden;
    pointer-events: none;
  }

  html[data-keyboard] .app-footer {
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }

  html[data-keyboard] {
    scroll-padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }
}

@media (display-mode: standalone) and (max-width: 899px) {
  .app-nav {
    bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .app-footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .punch-toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  html {
    scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

.main-inner {
  padding: 4px 0 var(--space-5);
}

.page,
.day,
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.lede,
.meta,
.day-place,
.day-note {
  color: var(--color-text-secondary);
}

.lede {
  max-width: 65ch;
}

.day-context {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.day-date {
  font-size: 1.125rem;
}

.disclosure summary {
  min-height: var(--touch);
  padding: 10px 0;
  cursor: pointer;
  color: var(--color-blue-deep);
  font-weight: 500;
}

.disclosure-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
  color: var(--color-text-secondary);
  max-width: 65ch;
}

.workspace,
.workspace-main,
.supporting {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.mode-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: var(--touch);
  min-width: 0;
  padding: 8px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--color-text-secondary);
  text-align: left;
  cursor: pointer;
}

.mode-tab-label {
  font-weight: 500;
  color: var(--color-blue-deep);
}

.mode-tab-note {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.mode-tab[aria-selected='true'] {
  border-bottom-color: var(--color-accent);
  background: var(--color-blue-soft);
}

.entry-form,
.review-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-title {
  font-size: 1.25rem;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.time-block + .time-block {
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.time-block-label {
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.time-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.time-row > .field {
  min-width: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.field label,
.fieldset legend {
  font-weight: 500;
}

input[type='time'],
input[type='text'],
select,
textarea {
  min-height: var(--touch);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px 12px;
  background: var(--color-blue-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.field-hint,
.form-status {
  color: var(--color-text-secondary);
}

.form-status {
  font-weight: 500;
  color: var(--color-blue-deep);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.review-step h3:focus {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: transparent;
  border: 0;
  padding: 0;
}

.summary h2 {
  font-size: 1.125rem;
}

.summary:focus {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.day-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.day-kicker {
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.day-heading {
  font-size: clamp(1.5rem, 6.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.time-ring {
  /* 18% smaller than the 260px arch. Width and height stay equal. */
  --ring-scale: 0.82;
  --ring-size: min(calc(260px * var(--ring-scale)), calc((100vw - 80px) * var(--ring-scale)));
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: 0 auto;
  color: var(--color-accent);
}

.time-ring svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ring-track {
  stroke: rgb(242 154 46 / 28%);
}

.ring-fill {
  stroke: #f29a2e;
}

.time-ring-copy {
  position: absolute;
  inset: calc(28 / 260 * 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.time-figure {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text);
  white-space: nowrap;
}

.time-figure.is-long {
  font-size: 2.5rem;
}

.time-pill {
  margin: 2px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #236093;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.time-zone {
  margin: 0;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.time-contract {
  margin: 2px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-secondary);
}

.time-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--color-text-secondary);
  text-wrap: balance;
}

.time-sub {
  text-align: center;
}

.placement-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 16px 18px 20px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #172b43;
  text-align: left;
  cursor: pointer;
}

.placement-card.is-static {
  cursor: default;
}

.placement-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.card-kicker {
  color: #64778b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.placement-add {
  align-self: flex-start;
  min-height: 36px;
  margin-top: -8px;
  font-size: 0.875rem;
  font-weight: 700;
}

.placement-day-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
}

.placement-day-summary ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.placement-day-summary li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.placement-day-summary li > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.placement-day-summary strong {
  font-size: 0.875rem;
}

.placement-day-summary li span span,
.placement-day-summary p {
  color: #64778b;
  font-size: 0.75rem;
}

.placement-day-summary p {
  margin: 0;
  font-weight: 700;
}

.placement-sheet-backdrop {
  z-index: 28;
}

.placement-sheet {
  z-index: 29;
  gap: 12px;
}

.placement-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.placement-sheet-head h2 {
  font-size: 1.125rem;
}

.placement-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.placement-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
  color: #172b43;
  text-align: left;
  cursor: pointer;
}

.placement-option.is-selected {
  border-color: #236093;
  background: #eaf2fa;
}

.placement-option span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.placement-option strong {
  font-size: 1rem;
}

.placement-option span span {
  color: #64778b;
  font-size: 0.8125rem;
}

.placement-option svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: #236093;
}

.placement-name {
  color: #172b43;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.placement-place {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64778b;
  font-size: 0.9375rem;
}

.placement-place svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.placement-chevron {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: #eaf2fa;
  color: #236093;
}

.placement-chevron svg {
  width: 18px;
  height: 18px;
}

.placement-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-1);
  color: var(--color-text-secondary);
  font-variant-numeric: tabular-nums;
}

.clock-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: transparent;
  border: 0;
  padding: 0;
}

.clock-actions,
.lunch-choice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
}

.clock-actions .btn,
.lunch-choice .btn {
  min-height: var(--touch);
}

.clock-actions .btn-primary {
  min-height: 56px;
  font-size: 1.0625rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 18px;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blue);
}

.timeline li.is-open::before {
  background: var(--color-accent);
}

.summary-kicker {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.summary-total {
  margin-top: var(--space-1);
}

.summary-figure {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.summary .btn {
  margin-top: var(--space-2);
}

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: var(--space-4);
  box-shadow:
    0 1px 2px rgb(23 43 67 / 4%),
    0 8px 20px rgb(23 43 67 / 5%);
}

.panel .stack,
.panel .actions {
  margin-top: var(--space-4);
}

.paid-total {
  margin: var(--space-3) 0 0;
}

.paid-total-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-blue-deep);
}

.btn {
  min-height: var(--touch);
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--color-surface);
  cursor: pointer;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-primary {
  background: #f29a2e;
  border-color: #e58a1f;
  color: #1a1208;
  font-weight: 700;
  box-shadow: 0 8px 18px rgb(242 154 46 / 22%);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #e58a1f;
  border-color: #e58a1f;
  color: #1a1208;
}

.btn-action {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding-right: 52px;
  padding-left: 52px;
  border-radius: 999px;
  font-weight: 500;
}

.btn-action-label {
  display: block;
  text-align: center;
  line-height: 1.2;
}

.btn-action-icon {
  position: absolute;
  top: 50%;
  display: grid;
  transform: translateY(-50%);
}

.btn-action-icon svg {
  width: 20px;
  height: 20px;
}

.btn-action-icon.start {
  left: 18px;
}

.btn-action-icon.end {
  right: 18px;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-blue-soft);
}

.btn-text {
  min-height: var(--touch);
  padding: 10px 2px;
  border: 0;
  background: transparent;
  color: var(--color-blue);
  width: auto;
  text-align: left;
}

.btn-text:hover {
  text-decoration: underline;
}

.btn-text:disabled {
  text-decoration: none;
}

.banner {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: 10px var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.banner-label {
  font-weight: 500;
}

.banner-error {
  background: var(--color-danger-bg);
  border-color: var(--color-danger-border);
  color: var(--color-danger);
}

.banner-warning {
  background: var(--color-warning-bg);
  border-color: var(--color-warning-border);
  color: var(--color-warning-text);
}

.entry-issues {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-issue {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid #f0d2ae;
  border-radius: 12px;
  background: #fff6ea;
  color: #6b3d10;
}

.entry-issue h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #6b3d10;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.entry-issue-mark {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-issue p {
  margin: 0;
  padding-left: 26px;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.entry-issue-note {
  color: #174062;
  font-weight: 700;
}

.entry-issue.is-noted {
  background: #f7fafd;
  border-color: #d5e3f2;
  color: #174062;
}

.entry-issue.is-noted h3,
.entry-issue.is-noted p {
  color: #174062;
}

.entry-issue-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 6px;
  padding-left: 26px;
}

.entry-issue-actions .btn-text {
  min-height: 44px;
  padding: 8px 0;
  color: #174062;
  font-weight: 700;
}

.entry-issue-primary,
.entry-issue-submit {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: none;
}

.entry-issue-explain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding-left: 26px;
}

.entry-issue-explain .field,
.entry-issue-explain textarea {
  width: 100%;
  color: #172b43;
}

.banner-info {
  background: var(--color-info-bg);
  border-color: var(--color-info-border);
  color: var(--color-text);
}

.banner-success {
  background: var(--color-success-bg);
  border-color: var(--color-success-border);
  color: var(--color-success-text);
}

.issue-list {
  margin: 0;
  padding-left: 1.1rem;
}

.interval-list {
  margin: var(--space-2) 0 0;
  padding-left: 1.1rem;
}

.interval-list li + li {
  margin-top: var(--space-1);
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-3);
  color: var(--color-text-secondary);
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-list li {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.history {
  margin-top: var(--space-3);
}

.history summary {
  min-height: var(--touch);
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--color-blue-deep);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

caption {
  text-align: left;
  font-weight: 500;
  margin-bottom: var(--space-3);
}

th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

th {
  font-weight: 500;
  color: var(--color-text-secondary);
}

tr.is-today {
  background: var(--color-blue-soft);
}

.app-footer {
  margin-bottom: var(--space-6);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 799px) {
  .form-actions .btn-primary,
  .panel > .btn-primary,
  .clock-actions .btn-primary,
  .clock-actions .btn-secondary,
  .lunch-choice .btn {
    width: 100%;
  }
}

.dialog-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 16px;
  background: rgb(23 43 67 / 45%);
}

.dialog {
  width: min(440px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  color: #172b43;
  border: 1px solid #dce4ed;
  box-shadow: 0 8px 24px rgb(23 43 67 / 12%);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-head h2 {
  color: #172b43;
  font-size: 1.25rem;
}

.dialog-close {
  color: #236093;
  border-color: #dce4ed;
}

.dialog-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.dialog-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.dialog-note,
.dialog-body p {
  color: #64778b;
}

.dialog-name {
  color: #172b43;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-title {
  color: #174062;
  font-weight: 700;
}

.clock-panel > .btn-text {
  align-self: center;
  color: var(--color-blue);
  text-align: center;
}

.punch-toast {
  position: fixed;
  z-index: 4;
  top: auto;
  bottom: calc(104px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dce4ed;
  color: #172b43;
  box-shadow: 0 8px 24px rgb(23 43 67 / 12%);
  font-weight: 500;
  text-align: center;
  pointer-events: none;
}

.device-status {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

html {
  scroll-padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.clock-actions .btn,
.field-hint,
.disclosure summary {
  scroll-margin-bottom: calc(120px + env(safe-area-inset-bottom));
}

@media (min-width: 800px) {
  .clock-actions,
  .lunch-choice {
    flex-direction: column;
    align-items: stretch;
  }

  .clock-actions .btn-primary {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: var(--space-5);
  }

  .app-nav {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: center;
    height: auto;
    gap: var(--space-1);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-lead {
    justify-self: start;
  }

  .desktop-brand,
  .header-lead .desktop-brand {
    display: flex;
    justify-self: start;
  }

  .header-lead .desktop-brand-copy,
  .desktop-brand-copy {
    display: flex;
  }

  .header-tools {
    justify-self: end;
  }

  .header-title.page-heading,
  .header-title:not(.page-heading) .header-title-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .app-nav.is-solo {
    position: static;
    left: auto;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .nav-link {
    flex-direction: row;
    gap: 8px;
    height: auto;
    min-height: var(--touch);
    padding: 8px 14px;
    border-radius: 999px;
    color: #172b43;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
  }

  .nav-link[aria-current='page'] {
    background: #eaf2fa;
    color: var(--color-accent);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: none;
  }

  .punch-toast {
    bottom: 24px;
  }

  .dialog-backdrop {
    align-items: center;
  }

  .main-inner {
    padding-bottom: var(--space-6);
  }

  .app-footer {
    margin-bottom: var(--space-6);
    padding-bottom: 0;
  }

  html {
    scroll-padding-bottom: 0;
  }
}

@media (min-width: 960px) {
  .header-inner,
  .main-inner,
  .app-footer {
    width: min(var(--content), calc(100% - 64px));
  }
}

@media (min-width: 1100px) {
  .workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
    grid-template-areas:
      'main activity'
      'support activity';
    align-items: start;
    gap: 24px 32px;
  }

  .workspace-main {
    grid-area: main;
  }

  .supporting {
    grid-area: support;
  }

  .workspace-activity {
    grid-area: activity;
  }

  .workspace-activity .assistant-card {
    display: none;
  }

  .time-ring {
    --ring-size: 248px;
  }

  .time-ring-copy {
    inset: 28px;
  }
}

.workspace-activity {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.activity-card,
.assistant-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 1px 2px rgb(23 43 67 / 4%);
}

.activity-card h2,
.correction-title,
.assistant-toggle,
.ask-screen h1 {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
}

.activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.activity-head h2 {
  min-width: 0;
}

.activity-assist {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 10px 4px 8px;
  border: 1px solid #dce4ed;
  border-radius: 999px;
  background: #eaf2fa;
  color: #236093;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.activity-assist svg {
  width: 18px;
  height: 18px;
}

.activity-card.is-empty {
  padding-block: 14px;
}

.activity-card.is-empty .activity-empty {
  margin: 8px 0 0;
  color: #64778b;
}

.activity-edit {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #eaf2fa;
  color: #236093;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.activity-editor-head {
  align-items: flex-start;
}

.activity-sheet-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.activity-sheet-heading h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.activity-sheet-meta {
  color: #64778b;
  font-size: 0.875rem;
}

.activity-pay-picks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-editor.period-editor .manual-entry {
  flex: 0 1 auto;
}

.activity-editor .manual-save .btn {
  width: 100%;
}

.day-sheet.help-sheet {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  max-height: min(78dvh, 620px);
  overflow: hidden;
  padding: 0 0 calc(12px + env(safe-area-inset-bottom));
}

.help-sheet-frame {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.help-welcome {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px 0;
}

.help-sheet-log {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  min-height: 120px;
  padding: 12px 16px 14px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.help-sheet-log:empty {
  display: none;
}

.day-sheet.help-sheet .bubble {
  max-width: 85%;
  overflow-wrap: anywhere;
}

.day-sheet.help-sheet .ask-greeting,
.day-sheet.help-sheet .bubble-row.is-assistant .bubble {
  width: auto;
  max-width: 85%;
  border: 0;
  border-radius: 16px;
  background: #eef3f8;
  color: #172b43;
}

.day-sheet.help-sheet .bubble-row.is-user .bubble {
  border: 0;
  border-radius: 16px;
  background: #236093;
  color: #fff;
}

.help-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-sheet.help-sheet .chip {
  min-height: 40px;
  color: #236093;
  border-color: #d5dee8;
  white-space: normal;
}

.day-sheet.help-sheet .ask-composer {
  flex: none;
  margin: 0;
  padding: 0 16px;
}

.day-sheet.help-sheet .bubble .help-chips {
  margin-top: 8px;
}

.correction-heading {
  display: flex;
  align-items: center;
}

.assistant-thread:empty {
  display: none;
}

.correction-back {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -8px 0 -8px -12px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.correction-back:disabled {
  cursor: default;
  opacity: 0.45;
}

.correction-back svg {
  width: 22px;
  height: 22px;
}

.correction-heading + .assistant-lead {
  margin-top: 8px;
}

.assistant-card > .assistant-shortcuts,
.assistant-card > .assistant-composer {
  width: 100%;
}

.activity-card:focus {
  outline: 3px solid var(--color-text);
  outline-offset: 3px;
}

.activity-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 0;
}

.activity-figure {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.activity-note,
.activity-exception,
.activity-gap,
.assistant-lead,
.assistant-demo {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.activity-exception {
  color: var(--color-text);
}

.activity-bar {
  position: relative;
  height: 14px;
  margin: 14px 0 8px;
  border-radius: 999px;
  background: #eaf2fa;
  overflow: hidden;
}

.activity-seg {
  position: absolute;
  top: 0;
  bottom: 0;
}

.activity-seg.is-work {
  background: var(--color-accent);
}

.activity-seg.is-paid_break {
  background: var(--color-blue);
}

.activity-seg.is-unpaid_break {
  background: #8fb0cc;
}

.activity-seg.is-progress {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgb(23 43 67 / 18%) 4px,
    rgb(23 43 67 / 18%) 8px
  );
}

.activity-seg.is-selected {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.activity-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.activity-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.activity-swatch.is-work {
  background: var(--color-accent);
}

.activity-swatch.is-paid_break {
  background: var(--color-blue);
}

.activity-swatch.is-unpaid_break {
  background: #8fb0cc;
}

.activity-row-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.activity-row-label {
  font-weight: 700;
}

.activity-row-time,
.activity-row-meta {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.activity-row-time {
  white-space: nowrap;
}

.activity-row.is-selected .activity-row-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.assistant-toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.assistant-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
}

.chip:disabled {
  cursor: default;
  opacity: 0.55;
}

.chip.is-selected {
  background: #eaf2fa;
  border-color: #236093;
  color: #172b43;
  font-weight: 700;
}

.assistant-context {
  margin: 0 0 10px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.assistant-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble-row {
  display: flex;
}

.bubble-row.is-user {
  justify-content: flex-end;
}

.bubble-row.is-assistant {
  justify-content: flex-start;
}

.bubble {
  max-width: 92%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.4;
}

.bubble p {
  margin: 0;
}

.bubble-row.is-user .bubble {
  background: #236093;
  color: #fff;
  border-bottom-right-radius: 6px;
}

.bubble-row.is-assistant .bubble {
  background: #eaf2fa;
  color: #172b43;
  border: 1px solid #dce4ed;
  border-bottom-left-radius: 6px;
}

.bubble .assistant-shortcuts {
  margin-top: 8px;
}

.activity-edit-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
}

.activity-edit-line .activity-row {
  flex: 1;
  width: auto;
  min-width: 0;
}

.punch-edit {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.punch-edit svg {
  width: 20px;
  height: 20px;
}

.punch-missing {
  min-height: 44px;
  white-space: normal;
}

.punch-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-blue-soft);
  scroll-margin-bottom: calc(140px + env(safe-area-inset-bottom));
}

.punch-editor .field input,
.punch-editor .field select,
.punch-editor .field textarea {
  width: 100%;
  min-height: 44px;
}

.assistant-composer {
  margin-top: 14px;
}

.assistant-composer-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  scroll-margin-bottom: calc(140px + env(safe-area-inset-bottom));
}

.assistant-composer textarea,
.proposal-card textarea {
  width: 100%;
  min-height: 72px;
}

.proposal-card {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.assistant-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
  scroll-margin-bottom: calc(140px + env(safe-area-inset-bottom));
}

.assistant-actions .btn {
  width: 100%;
}

.ask-screen {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: var(--ask-available, calc(100dvh - 168px - env(safe-area-inset-bottom)));
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
}

.ask-head {
  display: grid;
  flex: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 12px 14px 16px;
  border-bottom: 1px solid #e6edf4;
}

.ask-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #eaf2fa;
  color: #236093;
}

.ask-avatar svg {
  width: 20px;
  height: 20px;
}

.ask-identity h2 {
  margin: 0;
  color: #172b43;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
}

.ask-identity p,
.ask-prompt,
.ask-menu-panel p {
  margin: 0;
  color: #64778b;
  font-size: 0.875rem;
}

.ask-menu {
  position: relative;
}

.ask-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #5c6f84;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  list-style: none;
  cursor: pointer;
}

.ask-menu summary::-webkit-details-marker {
  display: none;
}

.ask-menu summary::marker {
  content: '';
}

.ask-menu-panel {
  position: absolute;
  z-index: 2;
  top: 46px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(280px, 72vw);
  padding: 12px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(23 43 67 / 8%);
}

.ask-menu-panel .btn {
  align-self: flex-start;
}

.ask-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
  min-height: 0;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ask-screen .bubble {
  max-width: 85%;
  overflow-wrap: break-word;
}

.ask-screen .ask-greeting,
.ask-screen .bubble-row.is-assistant .bubble {
  width: auto;
  max-width: 85%;
  border: 0;
  border-radius: 16px;
  background: #eef3f8;
  color: #172b43;
}

.ask-screen .bubble-row.is-user .bubble {
  max-width: 85%;
  border-radius: 16px;
  background: #236093;
  color: #fff;
}

.ask-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ask-topic {
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid #d5dee8;
  border-radius: 999px;
  background: #fff;
  color: #236093;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.ask-topic:hover,
.ask-topic:focus-visible {
  background: #f7fafd;
}

.ask-composer {
  flex: none;
  margin: 0;
  padding: 0 16px 16px;
}

.ask-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: #f4f7fb;
  scroll-margin-bottom: calc(140px + env(safe-area-inset-bottom));
}

.ask-plus {
  flex: none;
  color: #64778b;
  font-size: 1.25rem;
  line-height: 1;
}

.ask-field textarea {
  flex: 1;
  width: auto;
  min-width: 0;
  min-height: 24px;
  max-height: 96px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  resize: none;
  font: inherit;
  line-height: 1.4;
}

.ask-field:focus-within {
  box-shadow: 0 0 0 3px rgb(35 96 147 / 22%);
}

.ask-send {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border: 1.5px solid #236093;
  border-radius: 50%;
  background: #fff;
  color: #236093;
  cursor: pointer;
}

.ask-send:disabled {
  cursor: default;
  opacity: 0.4;
}

.ask-send svg {
  width: 18px;
  height: 18px;
}

.ask-screen .bubble .assistant-shortcuts {
  display: grid;
  grid-template-columns: 1fr;
}

.ask-screen .bubble .chip {
  color: #236093;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.bell-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-bg);
}

.notifications-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 760px);
  margin-inline: auto;
}

.notifications-heading {
  display: none;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.notice-section h2 {
  margin: 0 0 12px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notice-list {
  display: grid;
  gap: 12px;
}

.notice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgb(23 43 67 / 4%);
}

.notice-card h2,
.notice-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.notice-card p,
.notice-empty {
  margin: 0;
  color: var(--color-text-secondary);
}

.main-inner:has(.guide-page) {
  padding-top: 0;
}

.guide-page {
  gap: 4px;
  width: 100%;
}

.guide-intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.guide-help {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.guide-help summary {
  min-height: 28px;
  padding: 0;
  color: var(--color-text-secondary);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}

.guide-help p,
.guide-help ul {
  margin: 4px 0 8px;
}

.guide-help ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 1.1rem;
}

.guide-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgb(23 43 67 / 4%);
}

.guide-step h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.guide-step p {
  margin: 0;
  line-height: 1.35;
}

.guide-step h2:focus:not(:focus-visible) {
  outline: none;
}

.notice-card .notice-status {
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-blue-soft);
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 700;
}

.notice-card .btn {
  width: 100%;
}

.guide-step-count {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.guide-frame {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.guide-media {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: max(162px, min(351px, calc((100svh - 520px) * 1.35)));
  object-fit: contain;
}

.guide-motion {
  align-self: center;
  min-height: 28px;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: var(--color-blue);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.guide-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin: 0;
  scroll-margin-bottom: calc(104px + env(safe-area-inset-bottom));
}

.guide-controls .btn {
  min-height: var(--touch);
  padding: 8px 12px;
}

.guide-finish .guide-controls {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .notifications-page {
    width: min(100%, 760px);
  }

  .notifications-heading {
    display: block;
  }
}

.drawer-backdrop {
  position: fixed;
  z-index: 24;
  inset: 0;
  background: rgb(23 43 67 / 45%);
}

.drawer {
  position: fixed;
  z-index: 25;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 400px);
  padding: calc(16px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
  overflow: auto;
  background: #f7fafd;
  color: var(--color-text);
  box-shadow: -16px 0 40px rgb(23 43 67 / 12%);
}

.drawer:focus:not(:focus-visible) {
  outline: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.drawer-date,
.drawer-note,
.persona-role,
.persona-next,
.review-note,
.review-place-meta {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.drawer-list,
.drawer-scenarios {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-scenarios h3 {
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drawer-scenarios [role='group'] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-scenarios .drawer-choice {
  padding: 20px 12px;
}

.drawer-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-height: var(--touch);
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}

.drawer-choice.is-selected {
  background: #eaf2fa;
  border-color: #236093;
  box-shadow: inset 0 0 0 1px #236093;
}

.drawer-choice-name {
  font-weight: 500;
}

.drawer-choice-role,
.drawer-selected {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.3;
}

.drawer-selected {
  color: var(--color-accent);
  font-weight: 700;
}

.persona-placeholder,
.review-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-role,
.persona-next {
  font-size: 1.05rem;
}

.persona-next {
  margin-top: 8px;
  color: var(--color-text);
  font-weight: 500;
}

.review-status {
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
}

.review-place {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.review-place span,
.review-periods li span:last-child,
.review-totals dd {
  color: var(--color-text-secondary);
  font-weight: 400;
}

.review-periods,
.review-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-periods li,
.review-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.review-totals {
  margin: 0;
}

.review-totals dt {
  font-weight: 500;
}

.review-totals dd {
  margin: 0;
}

.review-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-switch {
  position: relative;
  flex: 0 1 auto;
  max-width: 100%;
  margin-left: auto;
}

.entry-switch-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch);
  max-width: 100%;
  padding: 0 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #172b43;
  cursor: pointer;
}

.entry-switch-trigger:focus-visible,
.entry-switch-option:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.entry-switch-icon,
.entry-switch-option-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--color-accent);
}

.entry-switch-icon > span,
.entry-switch-option-icon > span {
  position: absolute;
  inset: 0;
  display: grid;
}

.entry-switch-icon svg,
.entry-switch-option-icon svg,
.entry-switch-check svg {
  width: 20px;
  height: 20px;
}

.entry-switch-copy {
  display: grid;
  min-width: 0;
}

.entry-switch-copy:has(.is-out) {
  overflow: hidden;
}

.entry-switch-sizer,
.entry-switch-label {
  grid-area: 1 / 1;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.entry-switch-sizer {
  visibility: hidden;
}

.entry-switch-chevron {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #172b43;
}

.entry-switch-chevron svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.25;
}

.entry-switch-menu {
  position: absolute;
  z-index: 6;
  top: calc(100% + 6px);
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(18rem, calc(100vw - 40px));
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: 0 10px 28px rgb(23 43 67 / 12%);
}

.entry-switch-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: var(--touch);
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}

.entry-switch-option[aria-selected='true'] {
  background: var(--color-blue-soft);
}

.entry-switch-option-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.entry-switch-option-name {
  font-weight: 500;
}

.entry-switch-option-detail {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.entry-switch-check {
  display: grid;
  flex: 0 0 20px;
  color: var(--color-accent);
}

.entry-switch-icon .is-out {
  animation: entry-icon-out 220ms cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
}

.entry-switch-icon .is-in {
  animation: entry-icon-in 220ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.entry-switch-label.is-out {
  animation: entry-label-out 220ms cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
}

.entry-switch-label.is-in {
  animation: entry-label-in 220ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

@keyframes entry-icon-out {
  from {
    opacity: 1;
    transform: rotate(0deg);
  }
  to {
    opacity: 0;
    transform: rotate(-14deg);
  }
}

@keyframes entry-icon-in {
  from {
    opacity: 0;
    transform: rotate(14deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes entry-label-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-80%);
  }
}

@keyframes entry-label-in {
  from {
    opacity: 0;
    transform: translateY(80%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-switch-icon .is-out,
  .entry-switch-icon .is-in,
  .entry-switch-label.is-out,
  .entry-switch-label.is-in {
    animation: none;
  }
}

.log-day {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 28rem);
  min-width: 0;
  overflow-x: clip;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.log-placement {
  padding: 10px 14px;
  border-radius: 16px;
}

.log-placement .placement-name {
  font-size: 1rem;
}

.log-placement .placement-place {
  font-size: 0.875rem;
}

.log-usual {
  align-self: flex-start;
  padding-block: 4px;
}

.log-template-note {
  margin: 0;
  color: var(--color-text-secondary);
}

.log-reason textarea {
  min-height: 72px;
}

.day-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  overflow: hidden;
}

.day-row-block + .day-row-block {
  border-top: 1px solid var(--color-border);
}

.day-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}

.day-row-icon,
.day-row-chevron {
  display: grid;
  flex: none;
  color: var(--color-accent);
}

.day-row-chevron {
  color: var(--color-text-secondary);
}

.day-row-icon svg,
.day-row-chevron svg {
  width: 20px;
  height: 20px;
}

.day-row-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.day-row-label {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-row-copy .is-prompt {
  color: var(--color-text-secondary);
}

.day-row-issue {
  margin: 0;
  padding: 0 14px 10px 46px;
  color: var(--color-danger);
  font-size: 0.875rem;
}

.day-card-total {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--color-border);
  font-weight: 500;
}

.day-card-total span {
  font-weight: 700;
}

.day-timeline {
  padding: 8px 14px 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
}

.day-timeline ul {
  margin: 0;
  padding-left: 1.1rem;
}

.day-more {
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.day-more summary {
  min-height: var(--touch);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 500;
}

.day-more-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 14px 8px;
}

.day-sheet-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  background: rgb(23 43 67 / 45%);
}

.day-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(88dvh, 640px);
  overflow: auto;
  padding: 18px 20px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid var(--color-border);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: var(--color-surface);
  color: var(--color-text);
}

.day-sheet h2 {
  margin: 0;
}

.day-sheet .time-row,
.day-sheet .field + .field {
  margin: 0;
}

.day-sheet input[type='time'],
.day-sheet textarea,
.day-sheet .log-choice label {
  background: var(--color-blue-soft);
}

.day-sheet-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin-top: 4px;
}

.day-sheet-actions .btn-primary {
  width: 100%;
}

.day-sheet-actions .btn-text {
  justify-content: center;
  text-align: center;
}

@media (min-width: 900px) {
  .day-sheet-backdrop {
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 24px;
  }

  .day-sheet {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(24rem, 100%);
    border-bottom: 1px solid var(--color-border);
    border-radius: 20px;
    padding-bottom: 20px;
  }

  .day-sheet.activity-editor {
    width: min(720px, calc(100vw - 48px));
    gap: 20px;
    padding: 24px 28px 24px;
  }

  .activity-editor .manual-entry-body {
    gap: 20px;
  }

  .activity-editor .manual-times {
    gap: 16px;
  }

  .activity-editor .manual-time {
    overflow: visible;
    min-height: 88px;
  }

  .activity-editor .manual-time-controls select {
    min-height: 44px;
  }

  .activity-editor .field textarea {
    min-height: 96px;
  }

  .experience-sheet {
    width: min(28rem, calc(100vw - 48px));
  }
}

.log-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.log-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--touch);
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
}

.log-session {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.log-session legend {
  padding: 0 4px;
}

.log-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: var(--touch);
}

.log-day .form-actions {
  scroll-margin-bottom: calc(160px + env(safe-area-inset-bottom));
}

.drawer-preference {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.drawer-preference h3 {
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preference-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.preference-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: var(--touch);
  padding: 8px 0;
}

.preference-choice input {
  margin-top: 4px;
}

.preference-choice span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (max-width: 420px) {
  .time-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Today keeps these measurements. The same colors now live on :root. */
html[data-today-light] {
  color-scheme: light;
  background: #f7fafd;
}

html[data-today-light] body {
  background: #f7fafd;
  color: #172b43;
}

html[data-today-light] body::before {
  background: #f7fafd;
}

html[data-today-light] .app-header {
  background: #f7fafd;
}

html[data-today-light] .header-inner {
  padding-top: 4px;
  padding-bottom: 2px;
}

html[data-today-light] .brand-name {
  color: #172b43;
  font-size: 1.0625rem;
}

html[data-today-light] .brand-tag {
  color: #64778b;
  font-size: 0.8125rem;
}

html[data-today-light] .demo-badge {
  border-color: #dce4ed;
  background: #eaf2fa;
  color: #64778b;
}

html[data-today-light] .bell-button {
  color: var(--color-accent);
}

html[data-today-light] .bell-dot {
  box-shadow: 0 0 0 2px #f7fafd;
}

html[data-today-light] .main-inner {
  padding-top: 4px;
}

html[data-today-light] :focus-visible {
  outline: 3px solid #236093;
  box-shadow: 0 0 0 5px rgb(35 96 147 / 22%);
}

html[data-today-light] .nav-link {
  color: #172b43;
}

html[data-today-light] .nav-link[aria-current='page'] {
  color: var(--color-accent);
}

@media (max-width: 899px) {
  html[data-today-light] .app-nav {
    border-color: #dce4ed;
    background: rgb(255 255 255 / 82%);
    box-shadow: 0 8px 24px rgb(23 43 67 / 8%);
  }

  html[data-today-light] .nav-link[aria-current='page'] {
    background: #eaf2fa;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html[data-today-light] .app-nav {
    background: rgb(255 255 255 / 96%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  html[data-today-light] .app-nav {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.today-light {
  --color-surface: #fff;
  --color-text: #172b43;
  --color-text-secondary: #64778b;
  --color-muted: #64778b;
  --color-border: #dce4ed;
  --color-blue: #236093;
  --color-blue-deep: #174062;
  --color-blue-soft: #eaf2fa;
  --color-danger: #8d1d2c;
  --color-danger-bg: #fdecee;
  --color-danger-border: #f3c2c8;
  --color-warning-bg: #fff6ea;
  --color-warning-text: #6b3d10;
  --color-warning-border: #f0d2ae;
  --color-info-bg: #eaf2fa;
  --color-info-border: #dce4ed;
  --color-success-bg: #e8f6ee;
  --color-success-text: #145c38;
  --color-success-border: #b7e0c8;
  gap: 10px;
}

.today-light .day-context {
  gap: 2px;
}

.today-light.is-greeting .workspace-main {
  gap: 10px;
}

.today-light .day-kicker {
  color: var(--color-accent);
}

.today-light .day-heading {
  font-weight: 500;
  letter-spacing: -0.03em;
}

.today-light .ring-track {
  stroke: rgb(242 154 46 / 28%);
}

.today-light .ring-fill {
  stroke: #f29a2e;
}

.today-light .clock-panel {
  gap: 12px;
}

.today-light .time-ring {
  margin-bottom: -6px;
}

@media (max-width: 1099px) {
  .today-light .time-ring {
    margin-top: 14px;
  }
}

.today-light .time-figure {
  font-weight: 500;
}

.today-light .time-pill {
  background: #236093;
}

.today-light .entry-switch-trigger {
  border: 0;
  background: transparent;
  color: #172b43;
  box-shadow: none;
}

.today-light .entry-switch-icon {
  color: var(--color-accent);
}

.today-light .entry-switch-chevron {
  color: #172b43;
}

.today-light .entry-switch-option-icon,
.today-light .entry-switch-check {
  color: #236093;
}

.today-light .entry-switch-menu {
  box-shadow: 0 10px 28px rgb(23 43 67 / 12%);
}

.today-light .placement-card {
  padding: 16px 14px 16px 18px;
  border: 1px solid #dce4ed;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(23 43 67 / 4%),
    0 8px 20px rgb(23 43 67 / 5%);
}

.today-light .card-kicker {
  color: #64778b;
  letter-spacing: 0.06em;
}

.today-light .placement-name {
  color: #172b43;
}

.today-light .placement-place {
  color: #64778b;
}

.today-light .placement-place svg {
  color: #236093;
}

.today-light .placement-chevron {
  background: #eaf2fa;
  color: #236093;
}

.today-light .clock-actions .btn-primary,
.today-light .manual-entry .btn-primary {
  background: #f29a2e;
  border-color: #e58a1f;
  color: #1a1208;
  font-weight: 700;
  box-shadow: 0 8px 18px rgb(242 154 46 / 22%);
}

.today-light .clock-actions .btn-primary:hover,
.today-light .clock-actions .btn-primary:focus-visible,
.today-light .manual-entry .btn-primary:hover,
.today-light .manual-entry .btn-primary:focus-visible {
  background: #e58a1f;
  border-color: #e58a1f;
  color: #1a1208;
}

.today-light .workspace-activity .activity-card,
.today-light .workspace-activity .assistant-card,
.today-light .workspace-activity .clock-timesheet {
  border-radius: 20px;
  box-shadow: 0 1px 2px rgb(23 43 67 / 4%);
}

.clock-timesheet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 1px 2px rgb(23 43 67 / 4%);
}

.clock-timesheet-heading h2 {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
}

.clock-timesheet-heading p {
  margin-top: 2px;
  color: #64778b;
  font-size: 0.875rem;
}

.clock-timesheet-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.clock-timesheet-stats div {
  min-width: 0;
}

.clock-timesheet-stats dt {
  color: #64778b;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.clock-timesheet-stats dd {
  margin: 2px 0 0;
  color: #172b43;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.clock-timesheet .week-switch {
  display: grid;
}

.clock-timesheet ol {
  margin: 0 -16px;
  padding: 0;
  list-style: none;
}

.clock-timesheet-day {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 8px 16px;
  border: 0;
  border-bottom: 1px solid #dce4ed;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  scroll-margin-bottom: calc(120px + env(safe-area-inset-bottom));
}

.clock-timesheet li:last-child .clock-timesheet-day {
  border-bottom: 0;
}

button.clock-timesheet-day {
  cursor: pointer;
}

.clock-timesheet-day.is-saved {
  background: var(--color-success-bg);
}

.clock-timesheet-day.is-today {
  background: #eaf2fa;
}

.clock-timesheet-date strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}

.clock-timesheet-date span,
.clock-timesheet-detail {
  color: #64778b;
  font-size: 0.75rem;
  line-height: 1.3;
}

.clock-timesheet-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.clock-timesheet-line {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
}

.clock-timesheet-line strong {
  font-size: 0.875rem;
  font-weight: 700;
}

.clock-timesheet-detail {
  overflow-wrap: anywhere;
}

.period-state.is-partial {
  color: #6b3d10;
}

@media (min-width: 900px) {
  .clock-timesheet {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 12px;
    align-items: start;
  }

  .clock-timesheet-heading {
    grid-column: 1;
    grid-row: 1;
  }

  .clock-timesheet-stats {
    grid-column: 1;
    grid-row: 2;
  }

  .clock-timesheet .week-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .clock-timesheet ol {
    grid-column: 2;
    grid-row: 2;
  }

  .clock-timesheet > .day-sheet-backdrop {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .workspace:has(.clock-timesheet) {
    grid-template-areas:
      'main activity'
      'timesheet timesheet';
  }

  .workspace-activity {
    display: contents;
  }

  .workspace-activity > .activity-card {
    grid-area: activity;
  }

  .clock-timesheet {
    grid-area: timesheet;
  }
}

.today-light .activity-bar {
  background: #eaf2fa;
}

.today-light .activity-seg.is-unpaid_break,
.today-light .activity-swatch.is-unpaid_break {
  background: #8fb0cc;
}

html[data-today-light] .punch-toast {
  background: #fff;
  border-color: #dce4ed;
  color: #172b43;
  box-shadow: 0 8px 24px rgb(23 43 67 / 12%);
}

.day-date {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  margin: 0;
  cursor: pointer;
}

.day-date input[type='date'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  font-size: 16px;
  cursor: pointer;
}

.log-aside {
  display: contents;
}

.period-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.period-days[data-selected='false'] {
  display: none;
}

@media (min-width: 900px) {
  .period-screen.is-hours .week-switch {
    display: none;
  }

  .period-screen.is-hours .period-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  .period-screen.is-hours .period-days[data-selected='false'] {
    display: block;
  }

  .period-screen.is-hours .period-week-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
}

.period-week-title {
  display: none;
  margin: 0;
  padding: 14px 16px 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

.period-week-title span:last-child {
  display: block;
  color: #64778b;
  font-size: 0.75rem;
  font-weight: 500;
}

.manual-entry {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.manual-entry-body {
  display: contents;
}

.manual-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
}

.manual-card h2 {
  font-size: 1.125rem;
}

.manual-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.manual-time {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-blue-soft);
  cursor: pointer;
}

.manual-time-label {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.manual-time-value {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
}

.manual-time-value svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #236093;
}

.manual-time-set {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 700;
}

.manual-time-placeholder {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.manual-time input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  opacity: 0;
  font-size: 16px;
  cursor: pointer;
}

.manual-time-controls {
  display: grid;
  grid-template-columns: minmax(4.5rem, 1.1fr) minmax(4.25rem, 1fr) 4.5rem;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.manual-time-controls select {
  min-width: 0;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #fff;
  color: #172b43;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
}

.lunch-break {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lunch-break > p {
  margin: 0;
  font-weight: 700;
}

.lunch-inline {
  margin: 0;
  color: #6b3d10;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.lunch-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.lunch-pick {
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 6px 4px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.lunch-pick.is-selected {
  background: var(--color-blue-soft);
  border-color: #236093;
  box-shadow: inset 0 0 0 1px #236093;
}

.lunch-pick.is-suggested {
  border-style: dashed;
  border-color: #236093;
}

.lunch-duration {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lunch-duration label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lunch-duration select {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.lunch-why textarea {
  min-height: 72px;
  font-size: 16px;
}

.manual-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.manual-total strong {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}

.manual-session-note {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.manual-session-note legend {
  padding: 0 4px;
  font-weight: 700;
}

.manual-save .btn-action {
  box-shadow: 0 8px 18px rgb(242 154 46 / 22%);
}

.period-screen {
  gap: 12px;
}

.period-hours-summary,
.period-hours-days {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.period-hours-days-title {
  display: none;
  margin: 0;
}

.period-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.period-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.period-nav-copy {
  min-width: 0;
  text-align: center;
}

.period-nav-copy h1 {
  font-size: clamp(1.25rem, 5vw, 1.5rem);
}

.period-nav-prev svg {
  transform: scaleX(-1);
}

.period-nav .icon-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.period-badge {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf2fa;
  color: #236093;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.period-badge.is-deadline_passed {
  background: #fff6ea;
  color: #6b3d10;
}

.period-badge.is-submitted {
  background: #e8f6ee;
  color: #145c38;
}

.period-badge.is-locked {
  background: #eaf2fa;
  color: #174062;
}

.period-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.period-total {
  margin: 0;
  color: #172b43;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.period-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.period-facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #64778b;
  font-size: 0.875rem;
  line-height: 1.35;
}

.period-facts svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  color: #236093;
}

.period-meter {
  height: 8px;
  margin-top: 4px;
  border-radius: 999px;
  background: #eaf2fa;
  overflow: hidden;
}

.period-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #236093;
}

.period-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid var(--color-accent);
}

.period-hours-lead h2 {
  color: #172b43;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.period-hours-caption,
.period-hours-count {
  color: #4e5055;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.period-hours-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.period-hours-figure {
  display: inline-block;
  color: #172b43;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: color 420ms ease;
}

.period-hours-figure.is-up {
  color: #145c38;
}

.period-hours-figure.is-settle {
  animation: period-total-settle 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes period-total-settle {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.period-hours-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaf2fa;
}

.period-hours-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #236093;
}

.period-day-blocks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 26rem;
}

.period-day-block-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.period-day-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 52px;
  padding: 4px 2px;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #f7fafd;
  color: #64778b;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 400ms ease,
    color 400ms ease,
    border-color 400ms ease;
}

.period-day-block-month {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.period-day-block-num {
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.period-day-block svg {
  width: 14px;
  height: 14px;
}

.period-day-block.is-recorded {
  border-color: #236093;
  background: #236093;
  color: #fff;
}

.period-day-block.is-review {
  border-color: #f0d2ae;
  background: #fff6ea;
  color: #6b3d10;
}

.period-day-block.is-closed {
  border-color: #e6e6e6;
  background: #f3f5f7;
  color: #8b97a6;
}

.period-day-block.is-empty {
  cursor: pointer;
}

div.period-day-block {
  cursor: default;
}

.period-day-block:focus-visible {
  outline: 2px solid #236093;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .period-hours-figure,
  .period-hours-figure.is-settle,
  .period-day-block {
    transition: none;
    animation: none;
  }
}

.geo-concept {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 40rem;
}

.geo-kicker {
  margin: 0;
  color: #6b3d10;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.geo-concept h2 {
  color: #172b43;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.geo-concept p {
  color: #172b43;
  font-size: 1rem;
  line-height: 1.45;
}

.geo-capabilities {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
  padding: 0;
  list-style: none;
}

.geo-capabilities li {
  padding: 12px 14px;
  border: 1px solid #d5e3f2;
  border-radius: 12px;
  background: #f7fafd;
  color: #174062;
  font-weight: 700;
}

.geo-concept .geo-note {
  color: #4e5055;
  font-size: 0.875rem;
}

.clock-greeting {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 24rem;
}

.clock-greeting-date {
  margin: 0;
  color: #4e5055;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

.clock-greeting-line {
  margin: 0;
  color: #172b43;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
}

.clock-greeting-status {
  margin: 2px 0 0;
  color: #4e5055;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (min-width: 900px) {
  .period-screen.is-hours {
    width: min(1080px, 100%);
    margin-inline: auto;
  }

  .period-hours {
    display: grid;
    grid-template-columns: minmax(16rem, 0.86fr) minmax(0, 1.14fr);
    gap: 28px 40px;
    align-items: center;
  }

  .period-hours-summary,
  .period-hours-days {
    gap: 14px;
  }

  .period-hours-days-title {
    display: block;
    color: #172b43;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .period-day-blocks {
    max-width: none;
    width: 100%;
  }

  .period-day-block {
    width: 100%;
    max-width: 4.75rem;
    margin-inline: auto;
  }

  .period-hours-figure {
    font-size: 2.75rem;
  }

  .clock-greeting-line {
    font-size: 1.75rem;
  }
}

.week-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #eaf2fa;
}

.week-switch button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 44px;
  min-width: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #172b43;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.week-switch button span:first-child {
  font-weight: 700;
}

.week-switch button span:last-child {
  color: #64778b;
  font-size: 0.75rem;
}

.week-switch button[aria-selected='true'] {
  background: #fff;
  box-shadow: 0 1px 2px rgb(23 43 67 / 8%);
}

.week-switch button[aria-selected='true'] span:last-child {
  color: #236093;
}

.period-days {
  padding: 0;
  overflow: hidden;
}

.period-days ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.period-day {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #dce4ed;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: background-color 0.4s ease;
}

.period-days li:last-child .period-day {
  border-bottom: 0;
}

button.period-day {
  cursor: pointer;
}

.period-day.is-today {
  background: #eaf2fa;
}

.period-day.is-saved {
  background: var(--color-success-bg);
}

.period-saved {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-success-text);
  font-size: 0.75rem;
  font-weight: 700;
}

.period-saved svg {
  width: 16px;
  height: 16px;
}

.period-day-date strong,
.period-day-line strong {
  display: block;
  font-weight: 700;
}

.period-day-date span,
.period-day-detail {
  color: #64778b;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.period-day-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.period-day-line {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
}

.period-day-line strong {
  display: inline;
}

.period-day-detail {
  overflow-wrap: anywhere;
}

.period-day-detail.is-attention {
  color: #6b3d10;
}

.period-state {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.period-state.is-recorded {
  color: #236093;
}

.period-state.is-not_recorded,
.period-state.is-not_worked {
  color: #64778b;
}

.period-state.is-needs_review,
.period-state.is-live {
  color: #6b3d10;
}

.period-state.is-requested {
  color: #174062;
}

.correction-sheet-backdrop {
  z-index: 32;
}

.correction-sheet {
  z-index: 33;
}

.correction-compare {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.correction-compare div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.correction-compare dt {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
}

.correction-compare dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
}

.correction-compare dd span:first-child {
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

.correction-compare dd span:last-child {
  font-weight: 500;
}

.saved-days {
  margin-top: 8px;
}

.saved-days h2 {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.entry-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
}

.entry-compact h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.entry-compact .meta,
.entry-compact .paid-total {
  margin: 0;
  font-size: 0.875rem;
}

.entry-compact .paid-total-value {
  font-size: 0.875rem;
}

.entry-compact .actions {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.entry-compact .history {
  grid-column: 1 / -1;
}

.period-day-action {
  justify-self: end;
  color: #236093;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.period-action {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
}

.period-editor-backdrop {
  z-index: 24;
  touch-action: none;
  overscroll-behavior: none;
}

.period-editor {
  z-index: 25;
  gap: 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
  max-height: min(92dvh, 760px);
  overflow: hidden;
  padding-bottom: 0;
  touch-action: pan-y;
  animation: sheet-up 280ms ease-out;
}

.period-editor.is-closing {
  animation: sheet-down 280ms ease-in forwards;
}

.period-editor-head {
  flex: none;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 12px;
}

.period-editor-head h2 {
  min-width: 0;
  overflow-wrap: break-word;
}

.period-editor .manual-entry {
  flex: 1 1 auto;
  gap: 0;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 0;
  overflow: hidden;
}

.period-editor .manual-entry-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  max-height: calc(92dvh - 168px - env(safe-area-inset-bottom));
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding-bottom: 8px;
}

.period-editor .manual-card,
.period-editor .hours-recommendation,
.period-editor .placement-card,
.period-editor .field,
.period-editor .manual-session-note,
.period-editor .manual-save,
.period-editor .btn-action {
  min-width: 0;
  max-width: 100%;
}

.period-editor .hours-recommendation-range,
.period-editor .hours-recommendation-meta,
.period-editor .placement-name,
.period-editor .manual-total,
.period-editor .btn-action-label {
  min-width: 0;
  overflow-wrap: break-word;
}

.period-editor .manual-save {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: none;
  padding-top: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: #fff;
}

.school-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.school-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
  color: #172b43;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.school-option[aria-pressed='true'] {
  border-color: #236093;
  background: #eaf2fa;
}

.school-option-name {
  max-width: 100%;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.school-option-district {
  max-width: 100%;
  color: #64778b;
  font-size: 0.75rem;
  line-height: 1.3;
}

.school-option-mark {
  display: inline-flex;
  margin-top: 4px;
  color: var(--color-success-text);
}

.school-option-mark svg {
  width: 16px;
  height: 16px;
}

.school-option-warn {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #c2410c;
}

.school-saved {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--color-success-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.school-saved svg {
  width: 16px;
  height: 16px;
}

.school-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.school-panel.is-next {
  animation: school-in-next 220ms ease;
}

.school-panel.is-prev {
  animation: school-in-prev 220ms ease;
}

.school-done {
  align-self: center;
  min-height: 40px;
}

.school-discard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.school-discard p {
  margin: 0;
  color: #4e5055;
  font-size: 0.875rem;
  text-align: center;
}

@keyframes school-in-next {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes school-in-prev {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hours-recommendation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
}

.hours-recommendation-kicker {
  margin: 0;
  color: #236093;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hours-recommendation-range {
  margin: 0;
  color: #172b43;
  font-size: 1.0625rem;
  font-weight: 700;
}

.hours-recommendation-meta {
  margin: 0;
  color: #64778b;
  font-size: 0.875rem;
}

.hours-recommendation-apply {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid #e58a1f;
  border-radius: 999px;
  background: #f29a2e;
  color: #1a1208;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: normal;
  cursor: pointer;
}

.hours-recommendation-apply:hover {
  background: #e58a1f;
}

@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes sheet-down {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

.schedule-backdrop {
  z-index: 26;
}

.schedule-sheet {
  z-index: 27;
  gap: 0;
  max-height: min(92dvh, 760px);
  padding: 8px 0 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  animation: schedule-up 280ms ease-out;
}

.schedule-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  overflow: auto;
  padding: 0 16px calc(20px + env(safe-area-inset-bottom));
}

.schedule-grab {
  flex: none;
  padding: 0 16px 0;
  touch-action: none;
}

.schedule-grabber {
  display: block;
  width: 36px;
  height: 4px;
  margin: 2px auto 8px;
  border-radius: 999px;
  background: #dce4ed;
}

.schedule-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
}

.schedule-head h2 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: center;
}

.schedule-close,
.schedule-month-nav .icon-button {
  border-radius: 999px;
  border-color: #dce4ed;
  background: #fff;
  color: #172b43;
}

.schedule-month-prev svg {
  transform: scaleX(-1);
}

.schedule-head-spacer {
  width: 44px;
  height: 44px;
}

.schedule-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.schedule-month h3,
.schedule-detail h3 {
  margin: 0;
  line-height: 1.2;
}

.schedule-month h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.schedule-detail h3 {
  font-size: 0.9375rem;
  font-weight: 500;
}

.schedule-month-nav {
  display: flex;
  gap: 4px;
}

.schedule-month-nav .icon-button {
  width: 32px;
  height: 32px;
}

.schedule-month-nav .icon-button svg {
  width: 18px;
  height: 18px;
}

.schedule-weekdays,
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.schedule-weekdays {
  margin-top: 10px;
}

.schedule-weekdays span {
  color: #64778b;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.schedule-grid {
  margin-top: 2px;
}

.schedule-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  min-width: 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #172b43;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.schedule-cell.is-out {
  color: #64778b;
}

.schedule-num {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
}

.schedule-cell.is-today .schedule-num {
  background: #eaf2fa;
}

.schedule-cell.is-selected .schedule-num {
  background: #172b43;
  color: #fff;
}

.schedule-dot {
  width: 5px;
  height: 5px;
  margin-top: 2px;
  border-radius: 999px;
  background: #236093;
}

.schedule-dot.is-half {
  background: #ee8621;
}

.schedule-dot.is-empty {
  background: transparent;
}

.schedule-dot.is-recorded {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #236093;
}

.schedule-cell.is-deadline .schedule-num {
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 3px #9f1239;
}

.schedule-cell.is-deadline .schedule-dot {
  margin-top: 4px;
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.schedule-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #64778b;
  font-size: 0.6875rem;
  font-weight: 600;
}

.schedule-deadline-swatch {
  width: 12px;
  height: 12px;
  border: 2px solid #9f1239;
  border-radius: 999px;
  background: #fff;
}

.schedule-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.schedule-event {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.schedule-event-time {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  color: #172b43;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}

.schedule-event-time span {
  margin-top: 1px;
  color: #64778b;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.15;
}

.schedule-event-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f6fa;
}

.schedule-event-card.is-half {
  background: #fff6ea;
}

.schedule-event-card.is-deadline {
  background: #fdf2f4;
}

.schedule-event-accent {
  width: 3px;
  flex: none;
  background: #236093;
}

.schedule-event-card.is-half .schedule-event-accent {
  background: #ee8621;
}

.schedule-event-card.is-deadline .schedule-event-accent {
  background: #9f1239;
}

.schedule-event-copy {
  min-width: 0;
  padding: 6px 10px;
}

.schedule-event-copy strong,
.schedule-event-copy span {
  display: block;
  overflow-wrap: anywhere;
}

.schedule-event-copy strong {
  color: #172b43;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.schedule-event-copy span {
  margin-top: 1px;
  color: #64778b;
  font-size: 0.75rem;
  line-height: 1.2;
}

.review-backdrop {
  z-index: 22;
  touch-action: none;
  overscroll-behavior: none;
}

.review-sheet {
  z-index: 23;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  min-width: 0;
  max-height: min(92dvh, 760px);
  overflow: hidden;
  padding: 18px 20px 0;
  touch-action: pan-y;
  animation: sheet-up 280ms ease-out;
}

.review-head {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding-bottom: 12px;
}

.review-head-copy {
  min-width: 0;
}

.review-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.review-head p,
.review-quiet,
.review-note {
  margin: 0;
  color: #64778b;
}

.review-head p {
  margin-top: 2px;
}

.review-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  max-height: calc(92dvh - 188px - env(safe-area-inset-bottom));
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding-bottom: 8px;
}

.review-summary,
.review-block,
.review-action {
  min-width: 0;
  max-width: 100%;
}

.review-summary p {
  margin: 0;
}

.review-total {
  color: #172b43;
  font-size: 1.75rem;
  font-weight: 700;
}

.review-block h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.review-rows {
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid #dce4ed;
  border-radius: 16px;
}

.review-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #dce4ed;
  background: #fff;
  color: #172b43;
  font: inherit;
  text-align: left;
}

.review-rows li:last-child .review-row {
  border-bottom: 0;
}

.review-row-date strong {
  display: block;
}

.review-row-date span {
  color: #64778b;
  font-size: 0.8125rem;
}

.review-row-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
  min-width: 0;
}

.review-row-note {
  flex-basis: 100%;
  color: #4e5055;
  font-size: 0.75rem;
  line-height: 1.35;
}

.review-row-action {
  color: #236093;
  font-size: 0.875rem;
  font-weight: 700;
}

.review-action {
  flex: none;
  padding-top: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: #fff;
}

.review-note {
  margin-top: 8px;
  font-size: 0.8125rem;
  text-align: center;
}

.schedule-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-top: 18px;
  padding-top: 0;
}

.schedule-empty {
  margin: 8px 0 0;
  padding: 0;
  color: #64778b;
}

@keyframes schedule-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-sheet,
  .period-editor,
  .period-editor.is-closing,
  .school-panel.is-next,
  .school-panel.is-prev {
    animation: none;
  }

  .period-day {
    transition: none;
  }
}

@media (min-width: 900px) {
  .ask-screen {
    width: min(760px, 100%);
    height: var(--ask-available, calc(100dvh - 140px));
    min-height: min(640px, calc(100dvh - 160px));
    margin-inline: auto;
  }

  .main-inner:has(.ask-screen):not(:has([hidden] .ask-screen)) {
    padding-bottom: 0;
  }
}

@media (min-width: 1100px) {
  .day .manual-entry {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    column-gap: 24px;
    row-gap: 16px;
    align-items: start;
  }

  .day .manual-entry-body {
    display: contents;
  }

  .day .log-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-column: 2;
    grid-row: 1;
  }

  .day .school-panel {
    grid-column: 1;
    grid-row: 1;
  }

  .day .manual-save {
    grid-column: 1;
    grid-row: 2;
  }

  .schedule-sheet {
    width: min(920px, calc(100vw - 48px));
    max-height: min(82dvh, 740px);
    border-radius: 24px;
  }

  .schedule-grabber {
    display: none;
  }

  .schedule-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 8px 28px;
    align-items: start;
  }

  .schedule-empty {
    grid-column: 1 / -1;
  }

  .schedule-calendar {
    min-width: 0;
  }

  .schedule-sheet .schedule-detail {
    margin-top: 4px;
    padding: 16px;
    border: 1px solid #dce4ed;
    border-radius: 16px;
    background: #f7fafc;
  }
}

@media (min-width: 1280px) {
  .week-switch {
    display: none;
  }

  .period-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  .period-days[data-selected='false'] {
    display: block;
  }

  .period-week-title {
    display: block;
  }

  .period-action {
    width: min(100%, 420px);
  }
}

@media (min-width: 900px) {
  .period-editor {
    width: min(720px, calc(100vw - 48px));
    max-height: min(88dvh, 840px);
  }

  .period-editor .manual-entry-body {
    max-height: calc(88dvh - 168px);
  }

  .day-sheet.help-sheet {
    width: min(26rem, calc(100vw - 48px));
    max-height: min(70dvh, 560px);
    padding-bottom: 16px;
  }

  .help-sheet-log {
    max-height: min(46dvh, 360px);
  }
}

.daily-home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.daily-home h2 {
  margin: 0;
  color: #172b43;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.daily-hero h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.daily-date,
.daily-note,
.daily-place p,
.daily-open-note,
.daily-period-range {
  margin: 0;
  color: #64778b;
}

.daily-date {
  font-size: 0.875rem;
  font-weight: 700;
}

.daily-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daily-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.daily-status span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.daily-status strong {
  color: #172b43;
  font-size: 1rem;
}

.daily-status-mark {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: #64778b;
}

.daily-status.is-in .daily-status-mark {
  background: #f29a2e;
}

.daily-status.is-lunch .daily-status-mark {
  background: #236093;
}

.daily-hours-card,
.daily-places,
.daily-period,
.daily-attention {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daily-hours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.daily-hours div {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: #eaf2fa;
}

.daily-hours dt {
  color: #64778b;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.daily-hours dd {
  margin: 4px 0 0;
  color: #172b43;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.daily-open-note {
  font-size: 0.875rem;
}

.daily-place-list,
.daily-attention-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-place + .daily-place {
  padding-top: 12px;
  border-top: 1px solid #dce4ed;
}

.daily-place-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.daily-current {
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf2fa;
  color: #236093;
  font-size: 0.75rem;
  font-weight: 700;
}

.daily-period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.employee-settings {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(40rem, 100%);
  margin-inline: auto;
}

.employee-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(23 43 67 / 4%);
}

.employee-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #174062;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 2px #ee8621;
}

.employee-identity-copy {
  min-width: 0;
}

.employee-identity h2 {
  margin: 0;
  color: #172b43;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.employee-role,
.employee-place,
.settings-note,
.settings-about,
.settings-help p,
.settings-help-action p,
.settings-rows span {
  margin: 0;
  color: #4e5055;
  font-size: 0.875rem;
  line-height: 1.4;
}

.employee-role {
  margin-top: 2px;
}

.employee-place {
  margin-top: 2px;
  color: #236093;
  font-weight: 500;
}

.employee-settings > section > h2 {
  margin: 0 0 8px;
  color: #172b43;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.settings-group {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.settings-group h3 {
  margin: 0;
  padding: 14px 16px 0;
  color: #172b43;
  font-size: 0.875rem;
  font-weight: 700;
}

.settings-group h3:not(:first-child) {
  padding-top: 16px;
  border-top: 1px solid #dce4ed;
}

.settings-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.settings-rows li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  padding: 10px 16px 12px;
}

.settings-rows li + li {
  border-top: 1px solid #dce4ed;
}

.settings-rows strong,
.settings-zone strong,
.settings-preference p:first-child {
  color: #172b43;
  font-weight: 700;
}

.settings-note {
  padding: 0 16px 12px;
}

.settings-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border-top: 1px solid #dce4ed;
}

.settings-zone span {
  color: #4e5055;
}

.settings-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 12px 16px;
}

.settings-preference .settings-note {
  padding: 2px 0 0;
}

.settings-switch {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.settings-switch-track {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #dce4ed;
}

.settings-switch-track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(23 43 67 / 24%);
  transition: transform 0.2s ease;
}

.settings-switch[aria-checked='true'] .settings-switch-track {
  background: #236093;
}

.settings-switch[aria-checked='true'] .settings-switch-track span {
  transform: translateX(18px);
}

.settings-help + .settings-help,
.settings-help-action {
  border-top: 1px solid #dce4ed;
}

.settings-help summary {
  min-height: 44px;
  padding: 12px 16px;
  color: #172b43;
  font-weight: 700;
  cursor: pointer;
}

.settings-help p,
.settings-help-action p {
  padding: 0 16px 12px;
}

.settings-help-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px 14px;
}

.settings-help-action p {
  padding: 0;
}

.settings-help-action .btn {
  min-width: 8.5rem;
}

.settings-about {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px 4px;
}

.settings-about strong {
  color: #172b43;
  font-size: 0.875rem;
}

@media (min-width: 900px) {
  .employee-identity {
    padding: 22px 24px;
  }

  .employee-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .employee-identity h2 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .settings-switch-track span {
    transition: none;
  }
}

.daily-attention-list {
  gap: 8px;
}

.daily-attention-list li {
  padding-left: 14px;
  position: relative;
}

.daily-attention-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f29a2e;
}

@media (min-width: 1100px) {
  .daily-home {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 380px);
    grid-template-areas:
      'hero places'
      'hours places'
      'period attention';
    align-items: start;
    column-gap: 24px;
    row-gap: 16px;
  }

  .daily-hero {
    grid-area: hero;
  }

  .daily-hours-card {
    grid-area: hours;
  }

  .daily-places {
    grid-area: places;
  }

  .daily-period {
    grid-area: period;
  }

  .daily-attention {
    grid-area: attention;
  }
}

.pay-home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pay-overview,
.pay-open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-overview h2,
.pay-open h2 {
  margin: 0;
  color: #172b43;
  letter-spacing: -0.02em;
}

.pay-overview h2 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.pay-overview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pay-overview-top .period-badge {
  margin-top: 0;
  flex: none;
}

.pay-total-label,
.pay-context,
.pay-week-range,
.pay-week-caption,
.pay-gap span span {
  margin: 0;
  color: #64778b;
  font-size: 0.875rem;
}

.pay-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.pay-actions .btn-secondary,
.pay-actions .btn-text {
  width: 100%;
  text-align: center;
}

.pay-weeks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pay-week {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-width: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pay-week-hours {
  color: #172b43;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pay-open-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay-gap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
  color: #172b43;
  font: inherit;
  text-align: left;
}

button.pay-gap {
  cursor: pointer;
}

button.pay-gap:hover,
.pay-week:hover {
  background: #eaf2fa;
}

.pay-gap span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pay-open-action {
  flex: none;
  color: #236093;
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 1100px) {
  .pay-home {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px);
    grid-template-areas:
      'overview weeks'
      'overview open';
    align-items: start;
    column-gap: 24px;
    row-gap: 16px;
  }

  .pay-overview {
    grid-area: overview;
  }

  .pay-weeks {
    grid-area: weeks;
    grid-template-columns: 1fr;
  }

  .pay-open {
    grid-area: open;
  }
}

.ask-speak {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #eaf2fa;
  color: #236093;
  cursor: pointer;
}

.ask-speak svg {
  width: 20px;
  height: 20px;
}

.ask-field .ask-speak {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
}

.assistant-card.ask-screen.is-workspace {
  width: 100%;
  height: auto;
  min-height: 0;
  margin-inline: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ai-workspace {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  height: auto;
}

.ai-record-column,
.ai-assist {
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgb(23 43 67 / 4%);
}

.ai-record-column {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 16px;
  overflow: visible;
}

.ai-assist {
  display: flex;
  flex: none;
  flex-direction: column;
  min-height: 0;
}

.ai-record-kicker {
  margin: 0;
  color: #64778b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-record-range {
  margin: 2px 0 0;
  color: #172b43;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ai-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 12px 0 0;
  padding: 8px 0;
  border-top: 1px solid #eef3f8;
  border-bottom: 1px solid #eef3f8;
}

.ai-totals div {
  padding: 0 10px;
  background: transparent;
}

.ai-totals div + div {
  border-left: 1px solid #e6edf4;
}

.ai-totals div:first-child {
  padding-left: 0;
}

.ai-totals dt {
  color: #64778b;
  font-size: 0.75rem;
}

.ai-totals dd {
  margin: 2px 0 0;
  color: #172b43;
  font-weight: 700;
}

.ai-weeks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 12px;
  padding: 3px;
  border-radius: 12px;
  background: #f4f7fb;
}

.ai-week {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #172b43;
  text-align: left;
  cursor: pointer;
}

.ai-week small {
  color: #64778b;
  font-size: 0.75rem;
}

.ai-week.is-selected {
  background: #fff;
  box-shadow: 0 1px 2px rgb(23 43 67 / 8%);
}

.ai-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-top: 12px;
}

.ai-day-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
  min-height: 64px;
  padding: 8px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #172b43;
  cursor: pointer;
}

.ai-day-name {
  color: #64778b;
  font-size: 0.7rem;
}

.ai-day-num {
  font-size: 1rem;
  font-weight: 700;
}

.ai-day-button.is-selected {
  background: #eaf2fa;
  box-shadow: none;
}

.ai-day-button.is-selected .ai-day-num {
  color: #236093;
}

.ai-day-button.is-proposed .ai-day-num {
  color: #ee8621;
}

.ai-day-status {
  color: #64778b;
  font-size: 0.65rem;
}

.ai-day-status.is-saved {
  color: #1d6b3a;
}

.ai-day-status.is-missing,
.ai-day-status.is-partial {
  color: #9a4d12;
}

.ai-selected,
.ai-school {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-selected-head,
.ai-school header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.ai-selected h3,
.ai-selected p,
.ai-school p {
  margin: 0;
}

.ai-selected {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e6edf4;
}

.ai-selected h3 {
  color: #172b43;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ai-selected-edit,
.ai-school header span {
  color: #64778b;
  font-size: 0.85rem;
}

.ai-school {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ai-school + .ai-school {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #eef3f8;
}

.ai-school-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
}

.ai-school-facts div {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.ai-school-facts dt {
  color: #64778b;
  font-size: 0.75rem;
}

.ai-school-facts dd {
  margin: 0;
  color: #172b43;
  font-weight: 700;
}

.ai-school-empty {
  color: #64778b;
}

.ai-school-proposal {
  padding: 8px 10px;
  border-radius: 12px;
  background: #eaf2fa;
  color: #236093;
}

.ask-screen.is-workspace .ask-plus {
  display: none;
}

.ask-screen.is-workspace .ask-body .bubble-row.is-assistant .bubble {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.ai-assist-lead {
  margin: 0 14px 8px;
  color: #172b43;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.ask-screen.is-workspace .ask-head.is-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 8px 0 14px;
  border-bottom: 0;
}

.ask-screen.is-workspace .ask-identity h2 {
  font-size: 0.9375rem;
}

.ask-screen.is-workspace .ai-assist-prompts {
  padding: 0 14px 10px;
  gap: 6px;
}

.ask-screen.is-workspace .ai-prompt {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 0.8125rem;
}

.ask-screen.is-workspace .ask-body {
  flex: 0 1 auto;
  min-height: 0;
  max-height: min(420px, 50vh);
  padding: 0 12px 8px;
  gap: 8px;
}

.ask-screen.is-workspace .ask-body:not(:has(.bubble-row)) {
  display: none;
}

.ask-screen.is-workspace .ask-composer {
  padding: 0 12px 12px;
}

@media (max-width: 899px) {
  .assistant-card.ask-screen.is-workspace {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1200px) {
  .assistant-card.ask-screen.is-workspace {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .ai-workspace {
    display: grid;
    grid-template-columns: minmax(0, 65fr) minmax(380px, 35fr);
    align-items: start;
    height: auto;
    column-gap: 20px;
  }

  .ai-record-column {
    align-self: start;
    height: auto;
    max-height: none;
    padding: 24px;
    overflow: visible;
  }

  .ai-record-column .ai-record-range {
    margin-top: 4px;
  }

  .ai-record-column .ai-totals {
    margin-top: 24px;
    padding: 14px 0;
  }

  .ai-record-column .ai-totals dd {
    margin-top: 6px;
  }

  .ai-record-column .ai-weeks {
    margin-top: 24px;
  }

  .ai-record-column .ai-week {
    gap: 4px;
    min-height: 48px;
    padding: 10px 14px;
  }

  .ai-record-column .ai-days {
    margin-top: 24px;
  }

  .ai-record-column .ai-day-button {
    gap: 4px;
    min-height: 84px;
    padding: 12px 4px;
  }

  .ai-record-column .ai-selected {
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .ai-record-column .ai-selected-head,
  .ai-record-column .ai-school header {
    gap: 12px;
  }

  .ai-record-column .ai-school {
    gap: 12px;
  }

  .ai-record-column .ai-school + .ai-school {
    margin-top: 4px;
    padding-top: 16px;
  }

  .ai-assist {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .ask-screen.is-workspace .ask-body {
    max-height: min(460px, 52vh);
  }

  .ask-screen.is-workspace .ai-result-actions,
  .ask-screen.is-workspace .proposal-card.is-product .assistant-actions:not([role='alert']) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .ask-screen.is-workspace .ai-result-actions .btn,
  .ask-screen.is-workspace .proposal-card.is-product .assistant-actions:not([role='alert']) .btn {
    width: auto;
    white-space: nowrap;
  }

  .ask-screen.is-workspace .ask-composer {
    padding-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-record-column,
  .ai-assist {
    transition: none;
  }
}

.ask-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ask-pills .ai-prompt {
  width: auto;
}

.ai-result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
  color: #172b43;
}

.ai-result.is-saved {
  background: #f7fafd;
}

.ai-result-kicker {
  margin: 0;
  color: #236093;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-result p {
  margin: 0;
}

.ai-result-issue {
  color: #8a3d12;
}

.ai-result-edit {
  display: grid;
  gap: 8px;
}

.ai-result-edit label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #64778b;
  font-size: 0.75rem;
  font-weight: 700;
}

.ai-result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proposal-card.is-product {
  padding: 12px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
}

.speak-kicker,
.speak-status {
  margin: 8px 0 0;
  color: #64778b;
}

.speak-kicker {
  color: #236093;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.speak-orb {
  width: 148px;
  height: 148px;
  margin: 18px auto 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #eaf2fa 46%, #236093 82%);
  box-shadow: 0 12px 32px rgb(35 96 147 / 18%);
}

.speak-orb.is-recording {
  animation: speak-pulse 1.2s ease-in-out infinite;
}

.speak-duration {
  margin: 8px 0 0;
  color: #172b43;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: center;
}

.speak-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 28px;
}

.speak-bars span {
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: #236093;
}

.speak-bars.is-recording span {
  animation: speak-bar 0.9s ease-in-out infinite;
}

.speak-bars span:nth-child(2) {
  animation-delay: 0.1s;
}

.speak-bars span:nth-child(3) {
  animation-delay: 0.2s;
}

.speak-bars span:nth-child(4) {
  animation-delay: 0.15s;
}

.speak-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  color: #172b43;
  font-size: 0.875rem;
  font-weight: 700;
}

.speak-field textarea {
  width: 100%;
  font-weight: 400;
}

.speak-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.dialog-backdrop:has(.speak-sheet),
.dialog-backdrop:has(.voice-sheet) {
  z-index: 30;
  padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
}

.dialog.speak-sheet {
  width: min(420px, 100%);
  max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  background: linear-gradient(180deg, #f7fafd 0%, #fff 48%);
}

.dialog.voice-sheet {
  width: min(560px, 100%);
  max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  background: linear-gradient(180deg, #f7fafd 0%, #fff 42%);
}

.voice-audio {
  display: none;
}

.voice-context {
  margin: 0;
  color: #236093;
  font-size: 0.875rem;
  font-weight: 700;
}

.voice-phase {
  margin: 8px 0 0;
  color: #172b43;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

.voice-proposal {
  margin: 8px 0 0;
  color: #174062;
  font-size: 0.875rem;
  text-align: center;
}

.voice-transcript {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  margin: 16px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.voice-transcript li {
  padding: 8px 10px;
  border: 1px solid #dce4ed;
  border-radius: 12px;
  background: #fff;
  color: #172b43;
  font-size: 0.875rem;
}

.voice-transcript li span {
  display: block;
  margin-bottom: 2px;
  color: #64778b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.voice-transcript li.is-user {
  background: #eaf2fa;
}

.speak-orb.is-listening,
.speak-orb.is-speaking,
.speak-orb.is-connecting {
  animation: speak-pulse 1.6s ease-in-out infinite;
}

.speak-bars.is-listening span,
.speak-bars.is-speaking span {
  animation: speak-bar 0.9s ease-in-out infinite;
}

.speak-orb.is-muted,
.speak-orb.is-error,
.speak-orb.is-expired {
  opacity: 0.72;
}

@keyframes speak-pulse {
  50% {
    transform: scale(1.04);
    box-shadow: 0 12px 36px rgb(242 154 46 / 28%);
  }
}

@keyframes speak-bar {
  50% {
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speak-orb.is-recording,
  .speak-orb.is-listening,
  .speak-orb.is-speaking,
  .speak-orb.is-connecting,
  .speak-bars.is-recording span,
  .speak-bars.is-listening span,
  .speak-bars.is-speaking span {
    animation: none;
  }
}

.ai-home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-hero,
.ai-brief,
.ai-activity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-hero h2,
.ai-brief h2,
.ai-activity h2 {
  margin: 0;
  color: #172b43;
  letter-spacing: -0.02em;
}

.ai-hero h2 {
  font-size: 1.75rem;
  line-height: 1.15;
}

.ai-brief h2,
.ai-activity h2 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.ai-date,
.ai-role,
.ai-ready,
.ai-source,
.ai-due,
.ai-empty {
  margin: 0;
  color: #64778b;
}

.ai-ready {
  max-width: 36rem;
}

.ai-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ai-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 92px;
  padding: 12px;
  border: 1px solid #dce4ed;
  border-radius: 18px;
  background: #fff;
  color: #172b43;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.ai-action-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #eaf2fa;
  color: #236093;
}

.ai-action-icon svg {
  width: 18px;
  height: 18px;
}

.ai-action.is-primary .ai-action-icon {
  background: #f29a2e;
  color: #1a1208;
}

.ai-action:hover,
.ai-action:focus-visible {
  background: #f7fafd;
}

.ai-activity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-activity-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-activity-list li > span:first-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ai-activity-list span span {
  color: #64778b;
  font-size: 0.875rem;
}

.ai-activity-state {
  flex: none;
  color: #236093;
  font-size: 0.75rem;
  font-weight: 700;
}

.ai-activity-state.is-saved {
  color: #1f6b45;
}

.ai-activity-state.is-cancelled {
  color: #64778b;
}

.ai-total {
  margin: 0;
  color: #172b43;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ai-brief-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-brief-top .period-badge {
  margin-top: 2px;
  flex: none;
}

.ai-brief-range,
.ai-overview-caption {
  margin: 0;
  color: #64778b;
  font-size: 0.875rem;
}

.ai-brief-range {
  margin-top: 4px;
}

.ai-overview-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 2px 0 0;
}

.ai-overview-split dt {
  color: #64778b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-overview-split dd {
  margin: 2px 0 0;
  color: #172b43;
  font-weight: 700;
}

.ai-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-prompt {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d5dee8;
  border-radius: 999px;
  background: #fff;
  color: #236093;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.ai-prompt:hover,
.ai-prompt:focus-visible {
  background: #eaf2fa;
}

@media (min-width: 1100px) {
  .ai-home {
    display: grid;
    width: min(100%, 1040px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 640px) minmax(280px, 360px);
    grid-template-areas:
      'hero actions'
      'brief activity'
      'prompts prompts';
    justify-content: center;
    align-items: start;
    column-gap: 24px;
    row-gap: 16px;
  }

  .ai-hero {
    grid-area: hero;
  }

  .ai-actions {
    grid-area: actions;
  }

  .ai-brief {
    grid-area: brief;
  }

  .ai-activity {
    grid-area: activity;
  }

  .ai-prompts {
    grid-area: prompts;
  }
}
