:root {
  --font-primary: "Titillium Web", sans-serif;
  --text: #000000;
  --primary: #c0c2c6;
  --secondary: #ececec;
  --cta: #ffea15;
  --bg: #eef0f2;
  --base: #ffffff;
  --dark: #47525a;
  --surface: #fff;
  --border: #d8dde2;
  --card: rgba(255, 255, 255, 0.75);
  --card-strong: rgba(255, 255, 255, 0.9);
  --input-surface: rgba(255, 255, 255, 0.85);
  --focus-ring: rgba(255, 234, 21, 0.4);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --shadow-xs: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 14px 35px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.18);
  --shadow-cta: 0 18px 35px rgba(255, 234, 21, 0.5);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.45;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.6), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.4), transparent 50%),
    var(--bg);
  color: var(--text);
}
.hidden { display: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

.view { min-height: 100vh; }

/* Legacy safety: hide obsolete login container if served from stale HTML cache. */
#loginView { display: none !important; }

.login-card {
  max-width: 420px;
  margin: 10vh auto;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  gap: 0.7rem;
}

.hint { color: var(--dark); font-size: 0.9rem; }
.error { color: #ad0000; min-height: 1.1rem; }

input, textarea, select {
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit;
  background: var(--input-surface);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px var(--focus-ring), inset 0 2px 6px rgba(0, 0, 0, 0.04);
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.btn {
  border: none;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--cta); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-cta); }
.btn-secondary { background: var(--primary); }

.brand-logo {
  position: fixed;
  top: 8px;
  left: 12px;
  width: 150px;
  z-index: 20;
}
.brand-wordmark {
  display: flex;
  align-items: center;
  font-family: "League Gothic", sans-serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 2px;
}
.brand-pro,
.brand-craft { color: #000; }
.brand-i { color: #ffe800; }

.topbar {
  padding: 0.8rem 1.2rem 0.8rem 176px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar h1 { font-size: 1.25rem; }
.topbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: end; }

.layout {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem 1.2rem;
  min-height: calc(100vh - 70px);
}

.card {
  background: var(--card);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.content {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  min-height: 68vh;
  padding: 2rem;
  background: transparent;
}


#dashboardContent.dashboard-mode {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.section-header { margin-bottom: 1rem; }
.section-header h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: none;
}

.question-grid { display: grid; gap: 1rem; }

.question-grid-single {
  grid-template-columns: 1fr;
}

.question-card small {
  color: var(--dark);
  font-size: 0.72rem;
}

.blueprint-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--base);
  border: 1px solid #d4d9de;
  padding: 1.1rem;
}
.section-header + .question-grid {
  background: var(--base);
  border: none;
  padding: 1.1rem;
}
.question-grid > label,
.question-card {
  background: var(--secondary);
  padding: 0.9rem;
}

.dashboard-shell {
  max-width: 900px;
  margin: auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.dashboard-create-block,
.dashboard-existing-block {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-create-block:hover,
.dashboard-existing-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dashboard-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.dashboard-heading h2,
.dashboard-heading h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: none;
}

.dashboard-heading p {
  font-size: 14px;
  color: #666;
}

.dashboard-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-type-row,
.dashboard-existing-actions,
.dashboard-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-type-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  box-shadow: var(--shadow-xs);
}

.dashboard-type-btn:hover,
.dashboard-type-btn.active {
  background: var(--cta);
}

.dashboard-date-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.dashboard-date-row .dashboard-field {
  flex: 1;
}

.dashboard-ghost-btn {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-xs);
}

.dashboard-existing-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.dashboard-existing-item {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.dashboard-existing-item.dashboard-empty {
  grid-template-columns: 1fr;
  text-align: center;
  color: #4f5b66;
}

@media (max-width: 700px) {
  .dashboard-existing-item {
    grid-template-columns: 1fr;
  }
}

.year-wheel-dialog {
  width: min(1200px, 95vw);
  border: none;
  border-radius: var(--radius-lg);
  background: var(--card-strong);
  box-shadow: var(--shadow-lg);
  padding: 0;
}

.year-wheel-dialog::backdrop {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
}

.year-wheel-content {
  margin: 0;
  padding: 20px;
  display: grid;
  gap: 16px;
}

.year-wheel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.year-wheel-intro {
  color: #4f5b66;
  font-size: 14px;
  margin-top: 6px;
}

.year-wheel-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.year-wheel-radar-wrap,
.year-wheel-side {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-xs);
}

.year-wheel-radar {
  position: relative;
  width: min(640px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0 20%, rgba(255,255,255,0.72) 20% 100%);
}

.year-wheel-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  inset: 8%;
}

.year-wheel-ring-mid { inset: 20%; }
.year-wheel-ring-inner { inset: 32%; }

.year-wheel-tick {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 48%;
  background: rgba(0, 0, 0, 0.08);
  transform: translate(-50%, -100%) rotate(var(--angle));
  transform-origin: bottom center;
}

.year-wheel-month-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: rotate(var(--angle)) translate(0, -47%) rotate(calc(-1 * var(--angle)));
  transform-origin: center;
  font-size: 12px;
  font-weight: 700;
  background: #2f3578;
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
}

.year-wheel-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: none;
  background: var(--marker, #000);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
  transform: rotate(var(--angle)) translateY(calc(var(--radius) * -1px)) rotate(calc(-1 * var(--angle)));
  transform-origin: center;
  cursor: default;
}

.year-wheel-marker.is-clickable { cursor: pointer; }
.year-wheel-marker.is-tentative { opacity: 0.45; }

.year-wheel-center {
  position: absolute;
  inset: 39%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.year-wheel-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.year-wheel-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 4px 9px;
}

.year-wheel-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--marker, #000);
}

.year-wheel-legend i.tentative {
  border: 2px solid #666;
  background: transparent;
}

.year-wheel-side h4 {
  margin: 4px 0 8px;
  font-size: 15px;
}

.year-wheel-gap-list,
.year-wheel-list {
  display: grid;
  gap: 8px;
}

.year-wheel-gap-item,
.year-wheel-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 4px;
}

.year-wheel-gap-item span,
.year-wheel-item span {
  color: #4f5b66;
  font-size: 13px;
}

.year-wheel-item a {
  color: #1b4dbf;
  font-size: 13px;
  text-decoration: none;
}

.year-wheel-item.is-tentative {
  opacity: 0.7;
}

@media (max-width: 980px) {
  .year-wheel-layout {
    grid-template-columns: 1fr;
  }
}

.compact-card {
  display: grid;
  gap: 0.45rem;
}
.question-title {
  font-weight: 600;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.question-hint {
  margin: -0.2rem 0 0.45rem;
  font-size: 0.78rem;
  color: var(--dark);
  line-height: 1.35;
}

.nav-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.step-nav {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  background: transparent;
}
.step-nav-top {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.step-caption {
  font-size: 0.74rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.progress-track {
  height: 6px;
  background: #d4d9de;
}
.progress-fill {
  height: 100%;
  background: #000;
}
.step-list {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}
.step-link {
  border: none;
  background: var(--primary);
  padding: 0.6rem 0.72rem;
  font: inherit;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
}
.step-link.active { background: var(--cta); }

.legend {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.7rem 0;
}
.legend span {
  border-radius: 0;
  border: none;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
}

.gantt-page-wrap {
  width: min(90vw, 1600px);
  margin: 0 auto;
}
.gantt-timeline-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(140px, 1fr));
  gap: 0;
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: none;
}
.gantt-week-chip {
  padding: 0.45rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  border-right: 1px solid #eceff2;
  white-space: nowrap;
}
.gantt {
  border: 1px solid var(--border);
  overflow: auto;
  background: #fff;
  max-height: 68vh;
  cursor: grab;
}
.gantt.is-panning { cursor: grabbing; }
.gantt-grid {
  min-width: 1680px;
  display: grid;
  grid-template-columns: 420px repeat(12, minmax(100px, 1fr));
}
.gantt-cell {
  border-right: 1px solid #eceff2;
  border-bottom: 1px solid #eceff2;
  padding: 0.4rem;
  min-height: 44px;
  font-size: 0.78rem;
}
.gantt-head { background: #f4f6f8; font-weight: 700; position: sticky; top: 0; z-index: 2; }
.gantt-task-col-head,
.gantt-task-col { background: #fff; }
.task-title { font-weight: 400; font-size: 0.84rem; }
.bar {
  width: 100%;
  border: 1px solid #0000001a;
  border-radius: 2px;
  min-height: 26px;
  font-size: 0.74rem;
  text-align: left;
  padding: 0.25rem 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.bar.done { outline: 2px solid #188134; }
.gantt-section { border: 1px solid var(--border); border-top: none; }
.gantt-section-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef1f5;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}
.gantt-section-title { font-size: 1rem; font-weight: 700; }
.gantt-section-count { font-size: 0.75rem; background: #dfe3e8; padding: 0.1rem 0.4rem; }
.gantt-section-panel.collapsed { display: none; }
.gantt-empty { padding: 1rem; font-size: 0.92rem; }
.duration-row { display: grid; grid-template-columns: 1fr 180px; gap: 0.6rem; }


.stack-field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.day-row {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
  padding: 0.55rem;
  border: 1px solid #d6dbe0;
  background: #f5f7f9;
}
.sub-label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.choice-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}
.choice-btn {
  border: 1px solid #000;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  cursor: pointer;
}
.choice-btn.active {
  background: var(--cta);
  font-weight: 700;
}
.range-field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}
.range-value {
  font-size: 0.82rem;
  color: var(--dark);
}
.range-labels {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.2rem;
}
.range-labels span {
  font-size: 0.74rem;
  color: #5b646c;
}
.range-labels span.active {
  color: #000;
  font-weight: 700;
}
.check-single {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  text-transform: none;
  font-size: 0.86rem;
  letter-spacing: 0;
  background: var(--cta);
  color: #000;
  border: 1px solid #000;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.day-number-grid {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}
.day-number-grid label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.check-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-transform: none;
  font-size: 0.82rem;
  letter-spacing: 0;
  cursor: pointer;
  font: inherit;
}
.check-chip input[type="checkbox"] {
  display: none;
}
.check-chip.active {
  background: #f5df00;
  font-weight: 700;
}
.custom-chip {
  border-style: dashed;
}
.tag-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
}
.tag-input-row .btn {
  white-space: nowrap;
}

.zone-configurator {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  background: var(--base);
  border: 1px solid #d4d9de;
  padding: 1.1rem;
}
.zone-configurator h3 {
  font-size: 1rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.zone-configurator > p {
  color: var(--dark);
  font-size: 0.9rem;
}
.zone-card {
  display: grid;
  gap: 0.55rem;
}
.group-block {
  display: grid;
  gap: 0.35rem;
}
.group-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  font-weight: 600;
}

dialog {
  width: min(720px, 94vw);
  border: none;
  border-radius: 0;
  padding: 0;
}
#taskForm {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  background: #fff;
}
menu {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (min-width: 760px) {
  .day-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .brand-logo { width: 120px; top: 8px; left: 8px; }
  .brand-wordmark { font-size: 32px; }
  .topbar { flex-wrap: wrap; padding-left: 128px; }
  .content { padding: 1rem; }
}

.structured-grid {
  gap: 0.8rem;
}
.structured-card {
  display: grid;
  gap: 0.6rem;
  border-left: 4px solid #000;
}
.inline-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
}
.sub-section {
  padding: 0.6rem;
  border: 1px solid #c9ced3;
  background: #f5f7f8;
  display: grid;
  gap: 0.45rem;
}
.sub-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}
.deadline-box {
  margin-top: 1rem;
  border: 1px solid #000;
  padding: 0.9rem;
  background: #fff8cc;
}
.deadline-box h3 {
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.deadline-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 0.5rem;
}
.deadline-item {
  display: grid;
  gap: 0.3rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  background: #fff;
  border: 1px solid #d3d8dd;
  padding: 0.55rem;
}
.deadline-item.critical {
  border-left: 4px solid #ad0000;
}
.deadline-item small {
  color: #4e565d;
}

.schedule-settings {
  border: 1px solid var(--border);
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  background: #f7f9fb;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.risk-box {
  border: 1px solid #d9534f;
  background: #fff5f5;
  padding: 0.7rem;
  margin-bottom: 0.8rem;
}
.gantt-grid-blocks {
  min-width: 1280px;
  grid-template-columns: 360px 120px 120px 90px minmax(340px, 1fr) 100px;
}
.block-chip {
  display: block;
  margin-bottom: 0.3rem;
  text-align: left;
  background: #eef3f8;
  color: #1d2a35;
}
.risk-pill,
.ok-pill {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 0.72rem;
}
.risk-pill { background: #ffd9d9; color: #8f1f1f; }
.ok-pill { background: #e0f5e4; color: #1f6d38; }

.mention-suggest {
  position: absolute;
  z-index: 60;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: grid;
}
.mention-item {
  border: none;
  border-bottom: 1px solid #eceff2;
  background: #fff;
  padding: 0.45rem 0.6rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.mention-item:last-child {
  border-bottom: none;
}
.mention-item:hover {
  background: #fff6b8;
}

.row-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.6rem 0 0.3rem;
}

/* Design System v1 - global component overrides for future screens */
.question-grid > label,
.question-card,
.blueprint-grid,
.zone-configurator,
.sub-section,
.schedule-settings,
.risk-box,
.deadline-item,
.day-row,
.gantt,
.gantt-timeline-head,
.gantt-section {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.question-title,
.step-caption,
.step-link,
.sub-label,
.day-number-grid label,
.zone-configurator h3,
.group-label,
.sub-title,
.deadline-box h3 {
  text-transform: none;
  letter-spacing: 0;
}

.choice-btn,
.check-chip,
#taskForm .btn,
.step-link,
.gantt-section-toggle,
.mention-item,
.block-chip {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.choice-btn:hover,
.check-chip:hover,
.step-link:hover,
.gantt-section-toggle:hover {
  transform: translateY(-1px);
}

.deadline-box,
.mention-suggest {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

dialog,
#taskForm {
  border-radius: var(--radius-md);
}

.boot-status-screen,
.boot-fatal-screen {
  max-width: 980px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.boot-status-screen ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.boot-fatal-screen pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font-size: 12px;
}
