:root {
  color-scheme: light;
  --ink: #2b2a2a;
  --muted: #746f67;
  --soft: #a79f94;
  --line: #e3ddd4;
  --line-strong: #cfc7ba;
  --surface: #fffaf3;
  --surface-2: #f7f2ea;
  --page: #efebe3;
  --rail: #fff8ee;
  --rail-2: #f6efe4;
  --green: #54aaa1;
  --green-2: rgba(90, 173, 166, 0.08);
  --amber: #b7792f;
  --amber-2: #fff0c6;
  --coral: #df806f;
  --blue: #5f7fa2;
  --pink: #e6b5c7;
  --lemon: #f6e7a3;
  --mint: #d8eee8;
  --sky: #dcebef;
  --shadow: 0 10px 24px rgba(45, 45, 45, 0.08);
  --window-opacity: 1;
  --sticker-shadow: 3px 4px 0 var(--lemon), 0 10px 18px rgba(45, 45, 45, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18px 18px, rgba(90, 173, 166, 0.12) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 33px 31px, rgba(230, 181, 199, 0.16) 0 2px, transparent 2px 100%),
    var(--page);
  background-size: 34px 34px, 68px 68px, auto;
  color: var(--ink);
  font: 14px/1.55 "Sandoll Gothic Neo", "Sandoll GothicNeo", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.rail {
  display: none;
  opacity: var(--window-opacity);
  min-height: 100vh;
  padding: 14px 12px;
  flex-direction: column;
  gap: 18px;
  background: var(--rail);
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.brand {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(45, 45, 45, 0.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small,
.railStatus small {
  color: var(--soft);
}

nav {
  display: grid;
  gap: 6px;
}

button,
.linkGrid a,
.miniPanel a,
select,
input,
textarea {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 11px;
  font: inherit;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(207, 199, 186, 0.72), 0 8px 18px rgba(45, 45, 45, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

button,
.linkGrid a,
.miniPanel a,
select {
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

button:not(:disabled):active,
.linkGrid a:active,
.miniPanel a:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(207, 199, 186, 0.72), 0 6px 14px rgba(45, 45, 45, 0.04);
}

.nav {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 9px;
  align-items: center;
  text-align: left;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.nav b {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(90, 173, 166, 0.12);
  color: var(--green);
  font-size: 12px;
}

.nav:hover,
.nav.is-active {
  background: var(--rail-2);
  color: var(--ink);
}

.nav.is-active {
  box-shadow: inset 3px 0 0 var(--green);
  font-weight: 760;
}

.railStatus {
  margin-top: auto;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

#clock {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0;
}

main {
  opacity: var(--window-opacity);
  width: min(100vw, 430px);
  min-height: 100vh;
  max-height: 100vh;
  padding: 12px;
  min-width: 0;
  overflow: auto;
}

.appChrome {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 14px;
  border: 2px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 24px 22px, rgba(230, 181, 199, 0.2) 0 3px, transparent 3px 100%),
    linear-gradient(135deg, rgba(246, 231, 163, 0.16) 0 12px, transparent 12px 24px),
    var(--surface);
  background-size: 42px 42px, 24px 24px, auto;
  box-shadow: 0 4px 0 rgba(207, 199, 186, 0.7), 0 16px 38px rgba(45, 45, 45, 0.1);
}

body:not(.is-mini) .pomodoroDock,
body:not(.is-mini) .topbar,
.detailDrawer {
  display: none;
}

#tab-intake,
#tab-approval,
#tab-queue,
#tab-chat,
#tab-rhythm,
#tab-setup {
  padding: 14px;
  border: 2px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 24px 22px, rgba(230, 181, 199, 0.2) 0 3px, transparent 3px 100%),
    linear-gradient(135deg, rgba(246, 231, 163, 0.14) 0 12px, transparent 12px 24px),
    var(--surface);
  background-size: 42px 42px, 24px 24px, auto;
  box-shadow: 0 4px 0 rgba(207, 199, 186, 0.68), 0 24px 60px rgba(45, 45, 45, 0.13);
}

#tab-intake.is-visible,
#tab-approval.is-visible,
#tab-queue.is-visible,
#tab-chat.is-visible,
#tab-rhythm.is-visible,
#tab-setup.is-visible {
  min-height: calc(100vh - 24px);
  align-content: start;
}

.pomodoroDock {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(270px, 330px);
  gap: 10px;
  align-items: center;
  margin: -14px -18px 10px;
  padding: 8px 18px 8px 26px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  background:
    linear-gradient(90deg, rgba(216, 235, 231, 0.82), rgba(250, 250, 248, 0.96) 34%),
    rgba(248, 250, 247, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.kitschSticker {
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 1;
  padding: 2px 9px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  transform: rotate(-2deg);
  box-shadow: var(--sticker-shadow);
}

.pomoTimeBlock,
.pomoTaskBlock,
.pomoControls {
  min-width: 0;
}

.pomoTimeBlock {
  display: grid;
  gap: 3px;
  align-content: center;
}

.pomoTimeBlock span,
.pomoTaskBlock span,
.opacityControl span {
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}

#pomodoroTimer {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(90, 173, 166, 0.12);
}

.pomoTaskBlock {
  display: grid;
  gap: 4px;
}

#pomodoroTask {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.28;
  max-height: 2.56em;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pomoDockActions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(250, 250, 248, 0.84);
  box-shadow: 0 8px 18px rgba(45, 45, 45, 0.06);
}

.pomoDockActions .command {
  min-height: 32px;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 12px;
  box-shadow: none;
  white-space: nowrap;
}

.pomoDockActions .is-done {
  background: var(--mint);
  color: var(--green);
  border-color: var(--green);
}

.dockOpacity {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) 44px;
  gap: 8px;
  align-items: center;
  padding: 2px 7px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.dockOpacity input {
  min-height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--green);
}

.dockOpacity b {
  justify-self: end;
  color: var(--ink);
  font-size: 12px;
}

.pomoControls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-2);
}

.pomoControls .command {
  min-height: 38px;
  justify-content: center;
}

.pomoControls .is-focus {
  background: var(--green-2);
  color: var(--green);
  border-color: var(--green);
}

.pomoControls .is-complete {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.pomoControls .is-complete.is-done {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--green);
}

.pomoControls .is-focus-active {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(24, 33, 42, 0.12), inset 0 0 0 2px #ffffff;
}

.opacityControl {
  grid-column: span 2;
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(110px, 1fr) 48px;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(45, 45, 45, 0.05);
}

.opacityControl input {
  width: 100%;
  accent-color: var(--green);
}

.opacityControl b {
  justify-self: end;
  color: var(--ink);
  font-size: 13px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}

.focusHero {
  display: grid;
  grid-template-columns: clamp(42px, 5vw, 60px) minmax(0, 1fr);
  gap: clamp(10px, 1.8vw, 18px);
  align-items: start;
}

.focusLetter {
  width: clamp(42px, 5vw, 60px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green-2);
  color: var(--green);
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(45, 45, 45, 0.07);
}

.coachLine {
  margin-bottom: 7px;
  color: var(--green);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 780;
}

.titleBlock {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 107, 86, 0.13);
}

.topbar p,
.sectionHead span,
.miniPanel p {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.command {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: var(--line-strong);
}

.command:hover,
.linkGrid a:hover,
.miniPanel a:hover {
  border-color: var(--green);
}

.command.is-primary {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(90, 173, 166, 0.18);
}

.tab {
  display: none;
}

.tab.is-visible {
  display: grid;
  width: 100%;
  gap: 12px;
}

#tab-now.is-visible {
  justify-items: center;
}

.phoneDashboard {
  width: 100%;
}

.phoneShell {
  min-height: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 2px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(circle at 24px 22px, rgba(230, 181, 199, 0.22) 0 3px, transparent 3px 100%),
    radial-gradient(circle at 9px 9px, rgba(84, 170, 161, 0.12) 0 2px, transparent 2px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    var(--surface);
  background-size: 42px 42px, 28px 28px, auto, auto;
  box-shadow: 0 5px 0 rgba(207, 199, 186, 0.72), 0 16px 38px rgba(45, 45, 45, 0.1);
}

.phoneAppTitle {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 4px 2px 2px;
}

.appBadge {
  width: 50px;
  min-height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--sticker-shadow);
  transform: rotate(-3deg);
}

.phoneAppTitle strong,
.phoneAppTitle small {
  display: block;
  min-width: 0;
}

.phoneAppTitle strong {
  font-size: 22px;
  line-height: 1.05;
}

.phoneAppTitle small {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phoneTabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: inset 0 -2px 0 rgba(246, 231, 163, 0.64);
}

.phoneTab {
  min-height: 32px;
  padding: 6px 4px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  font-size: 12px;
  font-weight: 820;
}

.phoneTab.is-active {
  background: var(--green);
  color: #ffffff;
  box-shadow: 2px 3px 0 var(--lemon), 0 8px 18px rgba(90, 173, 166, 0.16);
}

.phoneStatus,
.phoneHero,
.phoneActions,
.phoneMetrics {
  display: flex;
  align-items: center;
}

.phoneStatus {
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.profileCard {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(230, 181, 199, 0.28), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)),
    #fffdf8;
  box-shadow: 3px 4px 0 rgba(246, 231, 163, 0.92), 0 12px 24px rgba(45, 45, 45, 0.08);
}

.profileAvatar {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.8) 0 18%, transparent 19%),
    var(--mint);
  background-position: center;
  background-size: cover;
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 2px 3px 0 var(--pink);
  overflow: hidden;
}

.profileAvatar.has-image {
  color: transparent;
}

.profileAvatar.has-emoji {
  background: var(--lemon);
  font-size: 26px;
}

.profileInfo {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.profileKicker,
.levelBadge span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.profileInfo strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  line-height: 1.15;
}

.profileInfo small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
}

.levelBadge {
  min-width: 70px;
  display: grid;
  justify-items: end;
  gap: 1px;
  padding: 7px 9px;
  border: 2px solid rgba(84, 170, 161, 0.22);
  border-radius: 14px;
  background: var(--mint);
}

.levelBadge strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1.1;
}

.phoneHero {
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 2px solid rgba(84, 170, 161, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(246, 231, 163, 0.34) 0 14px, transparent 14px 28px),
    var(--mint);
  background-size: 28px 28px, auto;
  box-shadow: inset 0 -4px 0 rgba(45, 45, 45, 0.05), 0 3px 0 rgba(207, 199, 186, 0.5);
}

.phoneHero span,
.phoneNotice span,
.phoneReport span {
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}

.phoneHero strong {
  color: var(--green);
  font-size: 29px;
  line-height: 1;
}

#phoneTask {
  min-height: 126px;
  display: grid;
  align-content: center;
  padding: 15px;
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  box-shadow: inset 0 0 0 4px rgba(246, 231, 163, 0.16);
}

.phoneNotice,
.phoneReport {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18px 18px, rgba(230, 181, 199, 0.16) 0 2px, transparent 2px 100%),
    rgba(247, 242, 234, 0.9);
  background-size: 36px 36px, auto;
  box-shadow: 0 3px 0 rgba(207, 199, 186, 0.5);
  overflow: hidden;
}

.phoneNotice {
  background-color: #fff1f5;
}

.phoneReport {
  background-color: #fff7df;
}

.phoneNotice::before,
.phoneReport::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -18px;
  width: 70px;
  height: 16px;
  opacity: 0.7;
  transform: rotate(16deg);
}

.phoneNotice::before {
  background: var(--pink);
}

.phoneReport::before {
  background: var(--lemon);
}

.phoneNotice p,
.phoneReport p {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.phoneActions {
  display: grid;
  grid-template-columns: 1fr 0.82fr 0.82fr;
  gap: 8px;
}

.phoneActions .command {
  min-height: 40px;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 3px 0 rgba(207, 199, 186, 0.72);
}

.phoneActions .command:nth-child(2) {
  background: #fff7df;
}

.phoneActions .command:nth-child(3) {
  background: #fff1f5;
}

.quickTaskForm {
  display: grid;
  gap: 7px;
  padding: 11px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(246, 231, 163, 0.22), rgba(255, 250, 243, 0)), var(--surface-2);
}

.quickTaskForm label,
.taskIntakeForm label > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}

.quickTaskForm textarea {
  min-height: 56px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.35;
}

.quickTaskBar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 90px;
  gap: 7px;
}

.quickTaskBar select,
.quickTaskBar .command {
  min-height: 38px;
  border-radius: 12px;
  box-shadow: none;
}

.quickTaskForm small,
.taskIntakeForm small,
.calendarPanel small {
  color: var(--muted);
  font-size: 12px;
}

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

.phoneMetrics div {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: 0 3px 0 rgba(207, 199, 186, 0.5);
}

.phoneMetrics div:nth-child(1) {
  background: #fff1f5;
}

.phoneMetrics div:nth-child(2) {
  background: #fff7df;
}

.phoneMetrics div:nth-child(3) {
  background: #eef8f5;
}

.phoneMetrics div:nth-child(4) {
  background: #edf5fb;
}

.phoneMetrics strong {
  font-size: 20px;
  line-height: 1;
}

.phoneMetrics span {
  color: var(--muted);
  font-size: 12px;
}

.detailDrawer {
  width: min(100%, 980px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(250, 250, 248, 0.54);
}

.detailDrawer summary {
  min-height: 44px;
  display: grid;
  align-items: center;
  padding: 0 16px;
  color: var(--muted);
  font-weight: 760;
  cursor: pointer;
}

.detailDrawer .dashboardGrid {
  padding: 0 14px 14px;
}

.dashboardGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: stretch;
}

.focusPanel {
  min-height: min(54vh, 500px);
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.focusMeta,
.miniHead,
.sectionHead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.label {
  color: var(--green);
  font-weight: 780;
}

.timerPill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--green);
  font-weight: 760;
  white-space: nowrap;
}

#nowText {
  max-width: 760px;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.36;
  letter-spacing: 0;
}

.focusRows {
  display: grid;
  gap: 10px;
}

.signal,
.sectionHead,
.list article,
.pre,
.metricGrid > div,
.linkGrid a,
.miniPanel {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(45, 45, 45, 0.05);
}

.signal {
  display: grid;
  grid-template-columns: 20px minmax(104px, 156px) 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
}

.signal span {
  font-weight: 760;
  color: var(--green);
}

.stopLine .ico {
  color: var(--coral);
}

.reportLine .ico {
  color: var(--blue);
}

.focusStats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.focusStats > div {
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: 0 8px 18px rgba(45, 45, 45, 0.05);
}

.focusStats strong,
.focusStats span,
.metricGrid strong,
.metricGrid span {
  display: block;
}

.focusStats strong,
.metricGrid strong {
  font-size: 22px;
  line-height: 1.1;
}

.focusStats span,
.metricGrid span {
  color: var(--muted);
}

body.is-task-complete #pomodoroTask,
body.is-task-complete #nowText {
  color: var(--green);
}

body.is-task-complete .timerPill {
  background: var(--mint);
  color: var(--ink);
}

.sideStack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.miniPanel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.miniPanel a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--green);
  font-weight: 720;
}

.visualPanel {
  background: var(--surface-2);
}

.visualPanel img {
  width: 100%;
  max-width: 180px;
  justify-self: center;
}

.visualPanel strong {
  display: block;
  margin-bottom: 2px;
}

.sectionHead {
  padding: 16px;
}

.intakeGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
}

.intakePanel {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.taskIntakeForm {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.taskIntakeForm label {
  display: grid;
  gap: 6px;
}

.taskIntakeForm textarea,
.taskIntakeForm input,
.taskIntakeForm select {
  padding: 11px 12px;
  background: var(--surface-2);
  color: var(--ink);
}

.taskIntakeForm textarea {
  min-height: 150px;
  line-height: 1.45;
}

.taskIntakeForm textarea:focus,
.taskIntakeForm input:focus,
.taskIntakeForm select:focus,
.quickTaskForm textarea:focus,
.quickTaskForm select:focus {
  outline: 3px solid rgba(90, 173, 166, 0.22);
  border-color: var(--green);
}

.taskIntakeOptions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

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

.taskIntakeActions .command {
  min-height: 44px;
}

.intakeSide {
  display: grid;
  gap: 14px;
  align-content: start;
}

.calendarPanel .command {
  justify-content: center;
}

.list {
  display: grid;
  gap: 10px;
}

.list article {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
}

.list article strong {
  overflow-wrap: anywhere;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
}

.approvalActions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.approvalActions .command {
  min-height: 38px;
}

.approvalSafety {
  flex-basis: 100%;
  color: var(--muted);
}

.decisionPill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 820;
  box-shadow: 0 8px 18px rgba(24, 33, 42, 0.08);
}

.decisionPill.approved {
  background: var(--mint);
  color: var(--ink);
}

.decisionPill.deferred {
  background: var(--amber-2);
  color: var(--amber);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #edf2f5;
  color: #334155;
}

.metricGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metricGrid > div {
  padding: 16px;
}

.pre {
  margin: 0;
  min-height: 180px;
  max-height: 46vh;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
  font-size: 13px;
}

.linkGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.linkGrid a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 54px;
  color: var(--green);
  font-weight: 720;
}

.sourceList {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sectionHint {
  margin: -4px 0 14px;
  color: var(--muted);
  font-weight: 650;
}

.adminLinks {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 250, 248, 0.72);
  overflow: hidden;
}

.adminLinks summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 760;
}

.adminLinks .linkGrid {
  padding: 0 12px 12px;
}

.sourceItem {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 13px;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: 0 3px 0 rgba(207, 199, 186, 0.58), 0 8px 18px rgba(45, 45, 45, 0.05);
}

.sourceItem:nth-child(3n + 1) {
  background-color: #fff7df;
}

.sourceItem:nth-child(3n + 2) {
  background-color: #eef8f5;
}

.sourceItem:nth-child(3n) {
  background-color: #fff1f5;
}

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

.sourceHead strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sourceItem p {
  color: var(--muted);
  font-size: 12px;
}

.chatGrid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
}

.chatPanel {
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chatPanel .sectionHead {
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}

.chatMessages {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  overflow: auto;
}

.chatEmpty {
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  border: 2px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-2);
}

.chatBubble {
  width: min(720px, 86%);
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 9px 18px rgba(24, 33, 42, 0.08);
}

.chatBubble.is-user {
  justify-self: end;
  background: var(--green-2);
}

.chatBubble.is-jessi {
  justify-self: start;
  background: var(--surface-2);
}

.chatMeta {
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}

.chatBubble p {
  overflow-wrap: anywhere;
}

.chatComposer {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 2px solid var(--ink);
  background: var(--surface-2);
}

.chatComposer textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  box-shadow: inset 3px 3px 0 rgba(24, 33, 42, 0.08);
}

.chatComposer textarea:focus {
  outline: 3px solid rgba(55, 214, 164, 0.34);
}

.chatComposerBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chatComposerBar span {
  color: var(--muted);
  font-size: 13px;
}

.chatSide {
  display: grid;
  gap: 14px;
  align-content: start;
}

.chatChannelList {
  display: grid;
  gap: 8px;
}

.chatChannel {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  align-items: center;
  text-align: left;
}

.chatChannel strong,
.chatChannel small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatChannel small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.chatChannel.is-selected {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(24, 33, 42, 0.12);
}

.chatChannel.is-selected small {
  color: #eff8f4;
}

.chatStatus {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #edf2f5;
  color: var(--ink);
  font-size: 11px;
  font-weight: 820;
}

.chatStatus.ready {
  background: var(--mint);
}

.chatStatus.export {
  background: var(--amber-2);
  color: var(--amber);
}

.webTimerHud {
  position: fixed;
  top: 10px;
  right: 14px;
  left: auto;
  z-index: 9000;
  width: min(340px, calc(100vw - 24px));
  min-height: 48px;
  transform: none;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(250, 250, 248, 0.94);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(45, 45, 45, 0.18);
  cursor: move;
  user-select: none;
  touch-action: none;
}

.webTimerHud.is-dragging {
  opacity: 0.9;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
}

.webTimerHud strong {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.webTimerHud span {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focusShield {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 15, 18, 0.88);
  color: #ffffff;
}

.focusShieldBox {
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(18, 32, 31, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.focusShieldKicker {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.16);
  color: #f2c94c;
  font-weight: 820;
}

.focusShield h2 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
}

.focusShield p {
  max-width: 620px;
  color: #dce7f0;
  font-size: clamp(18px, 2vw, 24px);
}

.focusShieldActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.focusShield .command {
  min-height: 48px;
  font-weight: 780;
}

body.is-mini {
  display: block;
  overflow: hidden;
}

body.is-mini .rail,
body.is-mini .topbar,
body.is-mini .tab,
body.is-mini .tab.is-visible,
body.is-mini .pomoControls {
  display: none;
}

body.is-mini main {
  min-height: 100vh;
  padding: 0;
  opacity: 1;
}

body.is-mini .pomodoroDock {
  position: fixed;
  inset: 0;
  min-height: 100dvh;
  margin: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-content: center;
  border: 0;
  overflow: hidden;
  background: var(--page);
}

body.is-mini .kitschSticker {
  top: 18px;
  left: 18px;
}

body.is-mini .pomoTimeBlock,
body.is-mini .pomoTaskBlock {
  justify-items: center;
  text-align: center;
}

body.is-mini .pomoDockActions {
  width: min(520px, calc(100vw - 56px));
  justify-self: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.is-mini #pomodoroTimer {
  font-size: 62px;
  text-shadow: 0 6px 0 rgba(90, 173, 166, 0.1);
}

body.is-mini #pomodoroTask {
  width: min(760px, calc(100vw - 48px));
  max-height: calc(100dvh - 220px);
  display: block;
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  font-size: 19px;
  box-shadow: 0 16px 38px rgba(45, 45, 45, 0.1);
}

@media (max-width: 720px), (max-height: 520px) {
  body.is-mini .pomodoroDock {
    padding: 18px;
    gap: 12px;
    align-content: start;
  }

  body.is-mini .kitschSticker {
    top: 12px;
    left: 12px;
    transform: rotate(-5deg) scale(0.88);
  }

  body.is-mini .pomoTimeBlock {
    margin-top: 22px;
  }

  body.is-mini .pomoTimeBlock span,
  body.is-mini .pomoTaskBlock span {
    font-size: 11px;
  }

  body.is-mini #pomodoroTimer {
    font-size: 46px;
    text-shadow: 0 4px 0 rgba(90, 173, 166, 0.1);
  }

  body.is-mini #pomodoroTask {
    width: min(100%, 680px);
    max-height: calc(100dvh - 138px);
    padding: 14px;
    font-size: 16px;
    line-height: 1.22;
    box-shadow: 0 12px 28px rgba(24, 33, 42, 0.12);
  }
}

@media (max-height: 300px) {
  body.is-mini .pomodoroDock {
    gap: 8px;
    padding: 14px;
  }

  body.is-mini .pomoTimeBlock {
    margin-top: 16px;
  }

  body.is-mini #pomodoroTimer {
    font-size: 38px;
    text-shadow: 0 4px 0 rgba(23, 107, 86, 0.12);
  }

  body.is-mini #pomodoroTask {
    max-height: max(96px, calc(100dvh - 150px));
    display: -webkit-box;
    overflow: hidden;
    padding: 12px;
    font-size: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.is-mini .pomoDockActions {
    width: min(100%, 520px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.is-mini .pomoDockActions .command span {
    display: none;
  }

  body.is-mini .dockOpacity {
    grid-template-columns: auto minmax(72px, 1fr) 42px;
  }
}

@media (max-width: 980px) {
  body {
    grid-template-columns: 1fr;
  }

  .rail {
    min-height: auto;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .brand,
  .railStatus {
    display: none;
  }

  nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav {
    min-width: 112px;
    grid-template-columns: 20px 1fr auto;
  }

  .dashboardGrid {
    grid-template-columns: 1fr;
  }

  .intakeGrid,
  .taskIntakeOptions {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px), (max-height: 360px) {
  .rail,
  .topbar,
  body:not(.is-mini) .pomodoroDock,
  .pomoControls,
  .detailDrawer {
    display: none;
  }

  body {
    display: block;
    overflow: auto;
  }

  body.is-mini {
    overflow: hidden;
  }

  main {
    min-height: 100vh;
    padding: 12px;
    opacity: 1;
  }

  .tab {
    display: none;
  }

  .tab.is-visible {
    display: grid;
    gap: 12px;
  }

  .phoneDashboard {
    width: 100%;
  }

  .phoneShell {
    min-height: calc(100dvh - 24px);
    border-radius: 22px;
    box-shadow: none;
  }

  #phoneTask {
    min-height: 180px;
    font-size: 18px;
  }

  .phoneHero strong {
    font-size: 30px;
  }

  .phoneActions {
    grid-template-columns: 1fr;
  }

  .quickTaskBar {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  main {
    padding: 16px;
  }

  .pomodoroDock {
    grid-template-columns: 1fr;
    margin: -16px -16px 16px;
    padding: 12px 16px;
  }

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

  .opacityControl {
    grid-column: 1 / -1;
  }

  #pomodoroTimer {
    font-size: 26px;
  }

  #pomodoroTask {
    font-size: 16px;
  }

  .topbar {
    display: grid;
  }

  .actions {
    justify-content: stretch;
  }

  .command {
    flex: 1 1 150px;
    justify-content: center;
  }

  .focusPanel {
    min-height: auto;
    padding: 18px;
  }

  .chatGrid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .chatPanel {
    min-height: 560px;
  }

  .chatBubble {
    width: 100%;
  }

  .chatComposerBar {
    display: grid;
  }

  #nowText {
    font-size: 18px;
  }

  .focusHero {
    grid-template-columns: 1fr;
  }

  .focusLetter {
    width: 48px;
  }

  .signal {
    grid-template-columns: 22px 1fr;
  }

  .signal p {
    grid-column: 1 / -1;
  }

  .focusStats,
  .metricGrid,
  .linkGrid,
  .sourceList,
  .sideStack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px), (max-height: 360px) {
  .rail,
  .topbar,
  body:not(.is-mini) .pomodoroDock,
  .detailDrawer {
    display: none;
  }

  body.is-mini .pomodoroDock {
    display: grid;
  }

  main {
    padding: 12px;
  }

  #tab-now.is-visible {
    min-height: calc(100dvh - 24px);
    align-items: stretch;
  }

  .phoneDashboard {
    width: 100%;
  }

  .phoneShell {
    min-height: calc(100dvh - 24px);
  }
}

/* Y2K game skin */
:root {
  --ink: #23201b;
  --muted: #8c8472;
  --soft: #b2a891;
  --line: #d9cdb1;
  --line-strong: #23201b;
  --surface: #fbf7ec;
  --surface-2: #f3ecdd;
  --page: #e4dcc9;
  --rail: #fbf7ec;
  --rail-2: #f3ecdd;
  --green: #c2f03c;
  --green-2: #eaf7be;
  --amber: #fac775;
  --amber-2: #fbebcb;
  --coral: #ff5fa2;
  --blue: #3d6bff;
  --pink: #ff5fa2;
  --lemon: #fac775;
  --mint: #eaf7be;
  --sky: #e6edff;
  --chrome: #fbf7ec;
  --y2k-glow: 0 7px 0 rgba(35, 32, 27, 0.18), 0 16px 34px rgba(35, 32, 27, 0.1);
  --shadow: 6px 8px 0 rgba(35, 32, 27, 0.14), 0 18px 34px rgba(35, 32, 27, 0.08);
  --sticker-shadow: 3px 4px 0 var(--pink), 0 10px 18px rgba(35, 32, 27, 0.12);
}

html,
body {
  background:
    radial-gradient(circle at 1px 1px, rgba(35, 32, 27, 0.08) 1px, transparent 0) 0 0 / 18px 18px,
    var(--page);
}

body::before {
  display: none;
}

main {
  width: min(100vw, 408px);
  filter: saturate(1.05);
}

button,
.linkGrid a,
.miniPanel a,
select,
input,
textarea {
  border: 2px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 4px 0 rgba(35, 32, 27, 0.18);
}

.appChrome,
#tab-intake,
#tab-approval,
#tab-queue,
#tab-chat,
#tab-rhythm,
#tab-setup,
.phoneShell {
  border: 3px solid var(--line-strong);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 95, 162, 0.14) 1px, transparent 0) 0 0 / 22px 22px,
    var(--surface);
  box-shadow: var(--y2k-glow);
}

.appChrome,
.phoneShell {
  border-radius: 26px;
}

.appBadge,
.kitschSticker {
  border: 2px solid #171821;
  background: var(--green);
  color: #34420a;
  text-shadow: none;
}

.phoneTabs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  border: 2px solid var(--line);
  background: rgba(251, 247, 236, 0.94);
  box-shadow: inset 0 -2px 0 rgba(250, 199, 117, 0.42);
}

.phoneTab {
  padding-inline: 2px;
  color: var(--muted);
  font-size: 11px;
}

.phoneTab.is-active,
.command.is-primary,
.phoneActions .command:first-child {
  border-color: var(--line-strong);
  background: var(--green);
  color: #34420a;
  text-shadow: none;
  box-shadow: 0 4px 0 rgba(35, 32, 27, 0.18);
}

.profileCard,
.phoneHero,
#phoneTask,
.phoneNotice,
.phoneReport,
.quickTaskForm,
.miniPanel,
.list article,
.metricGrid > div,
.sourceItem,
.chatPanel,
.chatSide .miniPanel {
  border: 2px solid var(--line-strong);
  background:
    radial-gradient(circle at 1px 1px, rgba(35, 32, 27, 0.06) 1px, transparent 0) 0 0 / 16px 16px,
    #fffdf8;
  box-shadow: 3px 4px 0 rgba(250, 199, 117, 0.72), 0 10px 22px rgba(35, 32, 27, 0.08);
}

.profileCard {
  position: relative;
  overflow: hidden;
}

.profileCard::after {
  display: none;
}

.profileAvatar {
  border-radius: 16px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.95) 0 15%, transparent 16%),
    var(--green-2);
  box-shadow: 0 0 0 2px var(--line-strong), 3px 4px 0 var(--pink);
}

.profileKicker,
.levelBadge span,
.phoneHero span,
.phoneNotice span,
.phoneReport span,
.quickTaskForm label,
.taskIntakeForm label > span {
  color: #007d89;
  text-transform: none;
}

.levelBadge {
  border-color: var(--line-strong);
  background: var(--sky);
  box-shadow: 2px 3px 0 rgba(35, 32, 27, 0.14);
}

.levelBadge strong,
.phoneHero strong {
  color: #4267ff;
  text-shadow: none;
}

#phoneTask {
  border-radius: 20px 20px 20px 7px;
  background: #fffdf8;
  box-shadow: inset 0 0 0 3px rgba(234, 247, 190, 0.75), 0 10px 22px rgba(35, 32, 27, 0.09);
}

.phoneActions .command:nth-child(2) {
  background: var(--amber-2);
}

.phoneActions .command:nth-child(3) {
  background: var(--pink);
  color: #5c1130;
}

.quickTaskForm textarea,
.chatComposer textarea,
.taskIntakeForm textarea,
input,
select {
  background: rgba(255, 255, 255, 0.92);
}

.webTimerHud {
  border: 2px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 7px 0 rgba(35, 32, 27, 0.18), 0 16px 42px rgba(35, 32, 27, 0.22);
}

.focusShieldBox {
  border: 1px solid rgba(198, 251, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(27, 34, 50, 0.96), rgba(8, 13, 24, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(255, 122, 200, 0.24), transparent 42%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 0 42px rgba(0, 210, 224, 0.22), 0 30px 90px rgba(0, 0, 0, 0.45);
}
