:root {
  --ink: #282533;
  --muted: #85818c;
  --orange: #f57347;
  --purple: #7354bf;
  --line: #ece9e5;
  --paper: #faf8f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    15px "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b29cdf;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
aside {
  width: 230px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid var(--line);
  padding: 38px 26px;
}
.brand {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.brand b {
  color: var(--orange);
  margin-right: 8px;
}
.tag {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.5;
}
aside nav {
  margin-top: 60px;
  display: grid;
  gap: 12px;
}
aside nav button {
  text-align: left;
  padding: 14px;
  border-radius: 14px;
}
nav button.active {
  background: #f1eafa;
  color: var(--purple);
  font-weight: 700;
}
.sidefoot {
  position: absolute;
  bottom: 35px;
  left: 26px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 30px 38px 100px 268px;
  box-sizing: content-box;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 10px;
}
.persona {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  background: #e9e1f6;
  border-radius: 50%;
  font-weight: 700;
  color: #7055a4;
}
.persona select {
  background: none;
  border: 0;
  max-width: 155px;
  color: var(--ink);
  font-size: 13px;
}
.muted {
  color: var(--muted);
}
h1 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin: 8px 0 13px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
p {
  line-height: 1.55;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.section {
  margin-top: 30px;
}
.section > .row {
  margin-bottom: 16px;
}
.primary {
  background: var(--orange);
  color: white;
  padding: 14px 19px;
  border-radius: 15px;
  font-weight: 650;
  box-shadow: 0 6px 16px #f5734720;
}
.secondary {
  background: white;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 14px;
}
.link {
  color: var(--purple);
  font-weight: 600;
  font-size: 13px;
}
.hero {
  background: #eee5fb;
  border-radius: 26px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}
.hero:after {
  content: "✳";
  position: absolute;
  font-size: 190px;
  color: #d8c6f0;
  right: -20px;
  top: -5px;
  line-height: 1;
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero h2 {
  font-size: 28px;
  max-width: 300px;
  margin: 20px 0 10px;
  line-height: 1.15;
}
.hero .row {
  margin-top: 24px;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 9px;
  background: #ffffff8c;
  font-size: 11px;
  font-weight: 650;
}
.progress {
  height: 6px;
  background: #d9cbe9;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 9px;
  max-width: 250px;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--purple);
  border-radius: 10px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.priorities {
  display: grid;
  gap: 10px;
}
.priority {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  width: 100%;
}
.priority small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 14px;
  font-size: 22px;
  background: #fff0df;
}
.arrow {
  margin-left: auto;
  color: #aaa;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.dept {
  border-radius: 22px;
  padding: 20px;
  min-height: 160px;
  text-align: left;
  position: relative;
  width: 100%;
}
.dept h3 {
  margin-top: 16px;
}
.dept small {
  display: block;
  margin-top: 7px;
  opacity: 0.65;
}
.dept .progress {
  background: #ffffff80;
}
.dept.ready {
  box-shadow: inset 0 0 0 2px #6caa80;
}
.peach {
  background: #ffe8d7;
}
.lavender {
  background: #eae0f6;
}
.mint {
  background: #dfede2;
}
.yellow {
  background: #f8efca;
}
.blue {
  background: #dfeaf4;
}
.tabs {
  display: flex;
  background: #eeebe7;
  padding: 5px;
  border-radius: 15px;
  margin: 23px 0;
  gap: 4px;
}
.tabs button {
  flex: 1;
  border-radius: 11px;
  padding: 12px 8px;
  font-size: 13px;
}
.tabs button.active {
  background: white;
  box-shadow: 0 3px 8px #30203008;
  font-weight: 700;
}
.stage {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 17px;
  margin-bottom: 10px;
  text-align: left;
  transition: transform 0.15s;
  width: 100%;
}
.stage .time {
  font-size: 13px;
  color: var(--muted);
  width: 45px;
  flex-shrink: 0;
}
.stage .body {
  flex: 1;
}
.stage small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
}
.stage .handle {
  padding: 8px;
  color: #aaa;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.stage.moving {
  transform: scale(1.025);
  box-shadow: 0 12px 30px #35204630;
  border-color: var(--purple);
  z-index: 2;
  position: relative;
}
.hint {
  background: #f6efdf;
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
}
.hint p {
  font-size: 13px;
  margin: 9px 0 12px;
}
.hint button {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  background: white;
  margin-right: 6px;
}
.bottom {
  display: none;
}
.badge {
  background: #fbe4d9;
  color: #b65b36;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 8px;
}
.badge.green {
  background: #e0eee4;
  color: #477c57;
}
.back {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  padding: 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.check input {
  accent-color: var(--purple);
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.check label {
  flex: 1;
  line-height: 1.5;
}
.check small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.check.done label {
  text-decoration: line-through;
  color: var(--muted);
}
.check button {
  font-size: 12px;
  color: var(--muted);
}
.field {
  display: block;
  margin: 18px 0;
}
.field span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
input:not([type="checkbox"]):not([type="file"]),
textarea,
select.form {
  width: 100%;
  border: 1px solid #e3ded8;
  border-radius: 13px;
  padding: 13px;
  background: #fff;
  color: var(--ink);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}
.chip {
  border: 1px solid var(--line);
  background: white;
  padding: 13px 15px;
  border-radius: 14px;
}
.chip.selected {
  background: #eee4fa;
  border-color: #b49ace;
  color: #654593;
}
.modal-wrap {
  position: fixed;
  inset: 0;
  background: #28203366;
  backdrop-filter: blur(4px);
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--paper);
  border-radius: 25px;
  padding: 25px;
  width: 100%;
  max-width: 470px;
  max-height: 88vh;
  overflow: auto;
}
.modal .close {
  padding: 8px;
  font-size: 21px;
}
.modal footer {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.modal footer button {
  flex: 1;
}
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #30283d;
  color: white;
  border-radius: 14px;
  padding: 14px 22px;
  z-index: 40;
  max-width: 90vw;
  font-size: 13px;
}
.empty {
  padding: 35px;
  text-align: center;
  color: var(--muted);
}
.comment {
  background: #f0eaf6;
  padding: 12px 15px;
  border-radius: 14px;
  margin: 10px 0;
  font-size: 13px;
}
.demo {
  font-size: 11px;
  color: var(--muted);
}
.printonly {
  display: none;
}
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
}
.intro {
  max-width: 520px;
}
.note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
@media (min-width: 1450px) {
  main {
    margin-left: calc((100vw - 1400px) / 2);
  }
}
@media (max-width: 1050px) {
  main {
    padding-left: 260px;
    padding-right: 25px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 12px;
  }
  h1 {
    font-size: 30px;
  }
}
@media (max-width: 700px) {
  aside {
    display: none;
  }
  main {
    padding: 23px 20px 110px;
    max-width: 500px;
    margin: auto;
  }
  .top {
    margin-bottom: 29px;
  }
  .top .brand {
    font-size: 25px;
  }
  .top .tag {
    display: none;
  }
  h1 {
    font-size: 31px;
  }
  .hero {
    padding: 23px;
    margin-top: 22px;
  }
  .hero h2 {
    font-size: 26px;
    max-width: 250px;
  }
  .hero:after {
    font-size: 170px;
    right: -42px;
    top: 16px;
  }
  .hero .row {
    gap: 8px;
  }
  .hero .secondary {
    font-size: 12px;
    padding: 12px;
  }
  .dept {
    padding: 17px;
    min-height: 162px;
  }
  .dept h3 {
    font-size: 16px;
  }
  .bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: #ffffffed;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    padding: 12px 8px max(13px, env(safe-area-inset-bottom));
    z-index: 10;
  }
  .bottom button {
    display: grid;
    gap: 5px;
    font-size: 10px;
    min-width: 65px;
    color: #99919e;
  }
  .bottom button b {
    font-size: 21px;
    font-weight: 400;
  }
  .bottom button.active {
    color: var(--purple);
    background: none;
  }
  .section {
    margin-top: 26px;
  }
  .modal-wrap {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    border-radius: 27px 27px 0 0;
    max-height: 90vh;
    padding: 25px 22px 35px;
  }
  .persona select {
    max-width: 113px;
  }
  .stage {
    gap: 9px;
    padding: 14px 12px;
  }
  .stage .handle {
    padding: 6px;
  }
  .row h2 {
    font-size: 19px;
  }
  .card {
    padding: 19px;
  }
  .split {
    gap: 0;
  }
}
@media print {
  body {
    background: white;
  }
  aside,
  .top,
  .bottom,
  .back,
  .tabs,
  .noprint,
  .toast,
  .modal-wrap {
    display: none !important;
  }
  main {
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .printonly {
    display: block;
  }
  .stage {
    break-inside: avoid;
    border-radius: 0;
  }
  .stage .handle {
    display: none;
  }
  .section {
    margin-top: 10px;
  }
  @page {
    size: A4;
    margin: 18mm;
  }
}
.brand,
.top .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 0.98;
  letter-spacing: -0.6px;
  color: #d99500;
}
.brand-symbol {
  display: block;
  flex-shrink: 0;
  width: 37px;
  height: 35px;
  background: url("logowolrus.jpg") -9px -5px / 125px 50px no-repeat;
  mix-blend-mode: multiply;
}
.room-callout {
  margin: 18px 0;
  padding: 17px;
  background: #fff4dd;
  border: 1px solid #f1dfb5;
  border-radius: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.room-callout small {
  display: block;
  color: #8b7754;
  margin-top: 5px;
  line-height: 1.4;
}
.room-callout .arrow {
  color: #b77918;
}
.room-option {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
  padding: 15px;
  margin: 10px 0;
  cursor: pointer;
}
.room-option input {
  accent-color: var(--purple);
}
.room-option small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.hero:after {
  content: "";
  background: url("logowolrus.jpg") -39px -26px / 520px 208px no-repeat;
  width: 160px;
  height: 150px;
  opacity: 0.12;
  mix-blend-mode: multiply;
  top: 55px;
  right: -15px;
}
@media (max-width: 380px) {
  .persona {
    gap: 5px;
  }
  .persona .avatar {
    display: none;
  }
  .brand,
  .top .brand {
    font-size: 18px;
  }
}
.stage-note {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #77717d;
  margin-top: 9px;
}
.modal textarea#sdescription {
  min-height: 125px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 20px;
}
.weekday {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 0;
}
.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 53px;
  border-radius: 13px;
  position: relative;
}
.calendar-day:hover {
  background: #f4eff9;
}
.calendar-day.selected {
  background: var(--purple);
  color: white;
  font-weight: 700;
}
.day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  bottom: 7px;
}
.calendar-day.selected .day-dot {
  background: white;
}
.calendar .row h2 {
  font-size: 18px;
}
.calendar .secondary {
  padding: 8px 14px;
  font-size: 22px;
}
@media (max-width: 400px) {
  .calendar {
    padding: 14px;
  }
  .calendar-grid {
    gap: 3px;
  }
  .calendar-day {
    min-height: 43px;
  }
}
h1 {
  font-weight: 600;
  letter-spacing: -0.6px;
}
h2,
h3 {
  font-weight: 600;
  letter-spacing: 0;
}
.brand-symbol {
  width: 45px;
  height: 39px;
  background-size: 150px 60px;
  background-position: -11px -8px;
}

/* Stark: mobile priority stack, quiet surfaces, explicit next actions. */
:root {
  --ink: #2e3430;
  --muted: #72766e;
  --orange: #b85232;
  --purple: #476555;
  --line: #e5e5dd;
  --paper: #f7f7f2;
  --accent-soft: #f1e1ce;
  --focus: #365c47;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
h1 {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.15;
}
h2 {
  font-size: 20px;
  font-weight: 550;
}
h3 {
  font-weight: 600;
}
b {
  font-weight: 600;
}
.tag {
  font-size: 12px;
  color: #6e746b;
  letter-spacing: 0;
  text-transform: none;
}
.note {
  color: #74786f;
  font-size: 12px;
}
.muted {
  color: #6f756b;
}
button {
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
button:active {
  transform: translateY(1px);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #547c61;
  outline-offset: 3px;
}
.primary {
  background: #b85232;
  border-radius: 12px;
  box-shadow: none;
  font-weight: 600;
  min-height: 46px;
}
.primary:hover {
  background: #994126;
}
.secondary {
  border-radius: 12px;
  min-height: 44px;
  background: #fff;
}
.link {
  color: #466450;
  min-height: 40px;
  padding: 7px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.icon-svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.top {
  margin-bottom: 35px;
}
.avatar {
  background: #e5eadd;
  color: #4d6246;
  width: 35px;
  height: 35px;
  font-size: 12px;
}
.persona select {
  font-size: 12px;
}
.persona-label {
  display: block;
  font-size: 10px;
  color: #858a80;
  margin-left: 4px;
}
.brand-symbol {
  width: 43px;
  height: 37px;
  background-size: 146px 58px;
  background-position: -11px -8px;
}
aside {
  background: #eeefe7;
  border: 0;
  width: 215px;
  padding: 35px 24px;
}
aside nav {
  margin-top: 48px;
  gap: 6px;
}
aside nav button {
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 11px;
  font-size: 14px;
}
aside nav button.active {
  background: #dde5d8;
  color: #304f3e;
}
.sidefoot {
  line-height: 1.65;
  color: #727b6b;
}
main {
  padding: 28px 40px 80px 255px;
  max-width: 1060px;
  margin: 0 auto;
  box-sizing: content-box;
}
.top .brand {
  min-height: 40px;
}
.section {
  margin-top: 30px;
}
.card {
  border-radius: 16px;
  box-shadow: none;
  padding: 22px;
}
.tabs {
  background: #eaece4;
  border-radius: 12px;
  margin: 23px 0;
  padding: 4px;
}
.tabs button {
  border-radius: 9px;
  min-height: 44px;
  padding: 9px 12px;
  color: #66705f;
}
.tabs button.active {
  color: #2f4235;
  background: #fff;
  box-shadow: 0 1px 3px #263c2510;
}
.pill {
  background: #ffffff70;
  border-radius: 7px;
  color: #59614f;
  font-size: 11px;
  padding: 5px 9px;
}
.badge {
  background: #f4e4d6;
  color: #914423;
  line-height: 1.5;
}
.badge.green {
  background: #e6eddf;
  color: #3a6044;
}
.hero:after {
  display: none;
}
.room-callout {
  background: #fff;
  border: 1px solid #e2dfce;
  border-radius: 13px;
  padding: 14px;
  margin: 16px 0;
  gap: 12px;
}
.room-callout small {
  color: #7e7764;
  font-size: 12px;
}
.room-callout .arrow {
  color: #6a7962;
}
.room-callout .room-icon {
  background: #efe8d9;
  color: #7a6746;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.calendar {
  border: 0;
  border-radius: 17px;
}
.calendar-day {
  min-height: 45px;
}
.calendar-day.selected {
  background: #45624f;
}
.day-dot {
  background: #b85232;
}
.calendar-grid {
  gap: 4px;
}
.weekday {
  font-size: 11px;
}
.calendar .row h2 {
  font-size: 17px;
}
.priority {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 17px 0;
  background: transparent;
  min-height: 76px;
}
.priority b {
  font-size: 14px;
}
.priority small {
  color: #747a70;
  font-size: 12px;
  line-height: 1.45;
}
.priorities {
  gap: 0;
}
.priority .icon {
  background: #eeeee5;
  color: #6c735e;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.priority:hover {
  background: #eeeee650;
}
.priority .arrow {
  color: #7e8878;
}
.grid {
  gap: 12px;
}
.dept {
  border-radius: 17px;
  padding: 19px;
  min-height: 154px;
  border: 1px solid #ffffff40;
}
.dept h3 {
  margin-top: 14px;
  font-size: 16px;
}
.dept small {
  opacity: 1;
  color: #5b6557;
  font-size: 11px;
}
.dept .progress {
  height: 4px;
  background: #ffffff80;
}
.dept .progress span {
  background: #60785a;
}
.dept .pill {
  background: #ffffff65;
  font-size: 11px;
}
.dept.ready {
  box-shadow: inset 0 0 0 1px #84a482;
}
.peach {
  background: #f2e2d2;
}
.lavender {
  background: #eae5f1;
}
.mint {
  background: #e2ebdd;
}
.yellow {
  background: #f0ecd4;
}
.blue {
  background: #e1e9ec;
}
.check {
  padding: 18px 0;
}
.check input {
  accent-color: #496b51;
}
.check button {
  min-width: 40px;
  min-height: 40px;
}
.hint {
  background: #eeefdf;
  border-radius: 16px;
  padding: 19px;
  border-left: 3px solid #a1af7e;
}
.hint b {
  font-size: 14px;
}
.hint p {
  font-size: 13px;
  color: #647058;
}
.hint button {
  min-height: 40px;
  border: 1px solid #dde0cc;
  border-radius: 9px;
  font-size: 12px;
}
.back {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}
.stage {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #e7e8df;
  background: transparent;
  padding: 18px 0;
  gap: 16px;
  margin: 0;
  position: relative;
}
.stage .time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #697563;
  align-self: flex-start;
  padding-top: 4px;
  width: 44px;
}
.stage .body {
  padding-left: 16px !important;
  border-left: 2px solid #dbe1d3;
  min-height: 40px;
}
.stage .body b {
  font-size: 15px;
}
.stage small {
  font-size: 12px;
  line-height: 1.5;
}
.stage-note {
  font-size: 12px;
  line-height: 1.6;
  color: #73796d;
  max-width: 550px;
}
.stage .handle {
  min-width: 40px;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: #858d7e;
}
.stage.moving {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px #34432e20;
}
.stage:first-child .body {
  border-color: #b85232;
}
.event-title {
  margin: 8px 0 14px;
}
.event-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #6d7568;
}
.event-ready {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.event-ready:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #b08b42;
  border-radius: 50%;
}
.field span {
  color: #606b59;
  font-size: 12px;
}
.field input,
.field textarea,
.field select {
  border-color: #dfe3d7 !important;
  border-radius: 11px !important;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus {
  background: #fff;
}
.modal-wrap {
  background: #27342655;
  backdrop-filter: blur(3px);
}
.modal {
  background: #fafbf7;
  border-radius: 22px;
  padding: 26px;
  max-width: 520px;
}
.modal .row h2 {
  font-size: 20px;
}
.modal footer {
  position: sticky;
  bottom: -26px;
  background: #fafbf7;
  padding: 15px 0 10px;
  border-top: 1px solid #e7e9df;
}
.modal footer button {
  font-size: 13px;
}
.modal .close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #edf0e6;
}
.field-error {
  font-size: 12px;
  color: #a63f2a;
  margin-top: 6px;
}
.field [aria-invalid="true"] {
  border-color: #b34b32 !important;
}
.toast {
  background: #304b3b;
  box-shadow: 0 8px 30px #263e2820;
  border-radius: 12px;
  bottom: 95px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.toast button {
  color: #fff;
  text-decoration: underline;
  min-height: 35px;
}
.chips {
  gap: 8px;
}
.chip {
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 45px;
  font-size: 13px;
  background: #fff;
}
.chip.selected {
  background: #e3ecdd;
  color: #3b5b41;
  border-color: #91a983;
}
.create-details {
  margin-top: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
}
.create-details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  min-height: 30px;
}
.create-details summary small {
  display: block;
  font-weight: 400;
  color: #7c8375;
  margin: 7px 0 0 18px;
}
.intro {
  font-size: 14px;
  max-width: 440px;
}
.home-heading {
  margin-bottom: 22px;
}
.home-heading h1 {
  margin: 4px 0 6px;
  font-size: 31px;
}
.home-heading p {
  font-size: 13px;
  margin: 0;
  color: #7b8275;
}
.home-heading .row {
  align-items: flex-start;
}
.welcome-line {
  font-size: 12px;
  color: #6f7966;
  margin-bottom: 10px;
}
.next-event {
  background: #eeeadc;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e7e2d1;
  position: relative;
}
.next-event .event-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #7c795e;
}
.next-event .event-title-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 20px 0;
}
.date-tile {
  background: #fff9ed;
  min-width: 57px;
  border-radius: 13px;
  padding: 10px;
  text-align: center;
}
.date-tile strong {
  display: block;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}
.date-tile span {
  font-size: 10px;
  color: #847d66;
}
.next-event h2 {
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.next-event .event-time {
  font-size: 12px;
  color: #7d7964;
}
.next-event .primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 12px 16px;
}
.readiness {
  margin: 22px 0 18px;
}
.readiness .row {
  font-size: 12px;
  color: #626c58;
}
.readiness .progress {
  max-width: none;
  background: #d9ddca;
  height: 5px;
}
.readiness .progress span {
  background: #647951;
}
.section-caption {
  font-size: 12px;
  color: #818779;
  margin-top: 6px;
}
.section-count {
  font-size: 12px;
  color: #7a8570;
  background: #e8ecdf;
  padding: 4px 9px;
  border-radius: 7px;
}
.home-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}
.home-layout .section:first-child {
  margin-top: 0;
}
.home-main {
  min-width: 0;
}
.home-side {
  min-width: 0;
}
.home-room {
  margin-top: 12px;
}
.home-room .room-callout {
  background: #fffefb;
  margin: 0;
}
.small-avatars {
  display: flex;
}
.small-avatars span {
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-left: -7px;
  background: #e5e8d9;
  font-size: 9px;
  color: #56664c;
}
.section .row h2 {
  font-size: 18px;
}
.empty {
  font-size: 13px;
}
.bottom {
  box-shadow: none;
  background: #fafbf7f5;
  backdrop-filter: blur(12px);
}
.bottom button {
  gap: 5px;
  min-height: 48px;
}
.bottom button.active {
  color: #365b40;
}
.bottom button.active .icon-svg {
  stroke-width: 2.3;
}
.bottom button .nav-icon {
  padding: 3px 15px;
  border-radius: 13px;
  display: flex;
  justify-content: center;
}
.bottom button.active .nav-icon {
  background: #e5ecdd;
}
.nav-count {
  font-size: 10px;
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #b85232;
  color: #fff;
}
.sidefoot .demo-mark {
  display: inline-flex;
  background: #e3e7d8;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
  margin-bottom: 7px;
}
@media (min-width: 1450px) {
  main {
    margin: 0 auto;
  }
}
@media (max-width: 1050px) {
  main {
    padding-left: 245px;
    padding-right: 28px;
  }
  .home-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-side .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  main {
    box-sizing: border-box;
    padding: 22px 22px 105px;
    max-width: 540px;
    margin: 0 auto;
  }
  .top {
    margin-bottom: 28px;
  }
  .home-heading h1 {
    font-size: 29px;
  }
  .home-heading .secondary {
    font-size: 12px;
    min-height: 41px;
    padding: 10px 13px;
  }
  .home-layout {
    gap: 27px;
  }
  .home-side .grid {
    grid-template-columns: 1fr 1fr;
  }
  .next-event {
    padding: 20px;
    border-radius: 18px;
  }
  .next-event h2 {
    font-size: 23px;
  }
  .next-event .event-title-row {
    margin: 17px 0;
  }
  .home-side .section {
    margin-top: 0;
  }
  .home-side .dept {
    min-height: 151px;
  }
  .event-title {
    font-size: 29px;
  }
  .section {
    margin-top: 26px;
  }
  .stage {
    gap: 10px;
    padding: 17px 0;
  }
  .stage .body {
    padding-left: 13px !important;
  }
  .stage .handle {
    min-width: 36px;
  }
  .modal {
    border-radius: 22px 22px 0 0;
    padding: 23px 22px 25px;
    max-height: 92dvh;
  }
  .modal footer {
    bottom: -25px;
    padding-bottom: 14px;
  }
  .calendar-grid {
    gap: 2px;
  }
  .calendar-day {
    min-height: 40px;
  }
  .calendar {
    padding: 18px;
  }
  .calendar .row h2 {
    font-size: 16px;
  }
  .tabs {
    margin: 20px 0;
  }
  .tabs button {
    font-size: 12px;
  }
  .room-callout {
    padding: 13px;
  }
  .top .persona select {
    max-width: 127px;
  }
  .section > .row {
    margin-bottom: 11px;
  }
  .home-layout .priorities .priority {
    min-height: 78px;
  }
  .grid .field {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none;
  }
  .stage .body {
    border-left: 0;
  }
  .stage {
    padding: 10px 0;
  }
  .event-ready {
    display: none;
  }
}

/* UI UX Pro Max — flat productivity workspace; locally available Cyrillic typography. */
:root {
  --ink: #183b3b;
  --muted: #52656a;
  --paper: #f4f8f8;
  --line: #dce6e6;
  --orange: #0f766e;
  --purple: #0f766e;
  --focus: #0f766e;
  --surface: #fff;
  --soft: #e5f4f1;
  --accent: #ffb000;
}
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
h1,
h2,
h3 {
  letter-spacing: -0.025em;
  font-weight: 650;
}
h1 {
  font-size: 34px;
}
button {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
  cursor: pointer;
}
button:active {
  transform: none;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
main {
  max-width: 1160px;
  padding-top: 24px;
}
aside {
  background: var(--surface);
  border-right: 1px solid var(--line);
}
aside nav button {
  font-weight: 500;
  border-radius: 8px;
  min-height: 48px;
}
aside nav button.active {
  background: var(--soft);
  color: var(--purple);
}
aside .tag,
.sidefoot,
.welcome-line,
.tag,
.muted,
.note,
.section-caption {
  color: var(--muted);
}
.top {
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.avatar {
  color: var(--purple);
  background: var(--soft);
}
.persona select {
  font-size: 13px;
}
.home-heading h1 {
  font-size: 32px;
}
.home-heading p {
  font-size: 14px;
  color: var(--muted);
}
.welcome-line {
  font-size: 13px;
}
.home-heading {
  margin-bottom: 24px;
}
.home-layout {
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.next-event {
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
}
.next-event .event-kicker {
  font-size: 13px;
  color: var(--muted);
}
.pill {
  background: var(--soft);
  color: #245c55;
  font-size: 12px;
}
.next-event h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.next-event .event-time {
  font-size: 14px;
  color: var(--muted);
}
.date-tile {
  background: #fff4d6;
  color: #725000;
  border-radius: 8px;
  min-width: 62px;
  padding: 12px;
}
.date-tile strong {
  font-size: 30px;
  font-weight: 650;
}
.date-tile span {
  font-size: 12px;
  color: #725000;
}
.next-event .event-title-row {
  margin: 24px 0;
  gap: 16px;
}
.readiness {
  background: var(--paper);
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
}
.readiness .row {
  font-size: 13px;
  color: var(--muted);
}
.readiness .row b {
  font-size: 20px;
  color: var(--purple);
}
.readiness .progress {
  background: #d3e6e1;
  height: 7px;
  margin-top: 8px;
}
.readiness .progress span,
.dept .progress span {
  background: var(--purple);
}
.primary {
  background: var(--purple);
  color: #fff;
  border-radius: 8px;
  min-height: 48px;
}
.primary:hover {
  background: #115e59;
}
.next-event .primary {
  font-size: 15px;
  padding: 13px 16px;
}
.secondary {
  border-radius: 8px;
  border-color: var(--line);
  min-height: 44px;
}
.secondary:hover {
  background: var(--soft);
}
.link {
  color: var(--purple);
  font-size: 13px;
}
.room-callout,
.home-room .room-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.room-callout small {
  color: var(--muted);
  font-size: 13px;
}
.room-callout .room-icon {
  background: var(--soft);
  color: var(--purple);
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.room-callout .arrow {
  color: var(--purple);
}
.section .row h2 {
  font-size: 20px;
}
.section-caption {
  font-size: 13px;
}
.section-count {
  background: var(--soft);
  color: var(--purple);
}
.priorities {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 16px;
}
.priority {
  padding: 18px 0;
  min-height: 82px;
}
.priority:last-child {
  border-bottom: 0;
}
.priority b {
  font-size: 15px;
  font-weight: 600;
}
.priority small {
  font-size: 13px;
  color: var(--muted);
}
.priority .icon {
  background: var(--soft);
  color: var(--purple);
  border-radius: 8px;
  font-size: 14px;
  min-width: 36px;
}
.priority:hover {
  background: #edf7f4;
}
.priority .arrow {
  color: var(--purple);
}
.home-side .grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.home-side .dept {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 3px 12px;
  min-height: 100px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}
.home-side .dept:last-child {
  border-bottom: 0;
}
.home-side .dept:hover {
  background: #f2f9f7;
}
.home-side .dept > .row {
  display: contents;
}
.home-side .dept > .row > span:first-child {
  grid-column: 1;
  grid-row: 1/4;
  background: var(--soft);
  color: var(--purple);
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.home-side .dept .pill {
  grid-column: 3;
  grid-row: 1;
  font-size: 13px;
  background: none;
  padding: 0;
  color: var(--purple);
  font-weight: 600;
}
.home-side .dept h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 16px;
}
.home-side .dept > small:first-of-type {
  grid-column: 2;
  grid-row: 2;
}
.home-side .dept > small:last-child {
  grid-column: 2/4;
  grid-row: 3;
}
.home-side .dept > .progress {
  grid-column: 2/4;
  grid-row: 4;
  margin: 5px 0 0;
  height: 4px;
}
.dept small {
  font-size: 12px;
  color: var(--muted);
}
.dept {
  border-radius: 10px;
}
.dept .progress {
  background: #d5e6e2;
}
.badge {
  background: #fff1d2;
  color: #7d5100;
}
.badge.green {
  background: var(--soft);
  color: #175e50;
}
.tabs {
  background: #e7efee;
  border-radius: 8px;
  padding: 4px;
}
.tabs button {
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
}
.tabs button.active {
  color: var(--purple);
  box-shadow: none;
  background: #fff;
}
.calendar {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.calendar-day {
  border-radius: 8px;
}
.calendar-day.selected {
  background: var(--purple);
  color: #fff;
}
.day-dot {
  background: #a76300;
}
.weekday {
  font-size: 12px;
  color: var(--muted);
}
.stage {
  background: #fff;
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
}
.stage:first-child {
  border-radius: 10px 10px 0 0;
}
.stage .time {
  font-size: 13px;
  color: var(--muted);
}
.stage .body b {
  font-size: 16px;
}
.stage .body {
  border-color: #d7e8e3;
}
.stage:first-child .body {
  border-color: var(--purple);
}
.stage small,
.stage-note {
  font-size: 13px;
  color: var(--muted);
}
.event-meta {
  font-size: 14px;
  color: var(--muted);
}
.event-ready {
  font-size: 13px;
}
.hint {
  background: var(--soft);
  border-left-color: var(--purple);
  border-radius: 10px;
}
.hint p {
  color: #355e58;
  font-size: 14px;
}
.field span {
  font-size: 14px;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  font-size: 16px;
  border-radius: 8px !important;
  border-color: #acbdbd !important;
}
.modal,
.modal footer {
  background: #fff;
}
.modal {
  border-radius: 14px;
}
.modal footer button {
  font-size: 15px;
}
.modal .close {
  background: var(--soft);
}
.chip {
  font-size: 14px;
  border-radius: 8px;
}
.chip.selected {
  background: var(--soft);
  color: var(--purple);
  border-color: var(--purple);
}
.check input {
  accent-color: var(--purple);
}
.intro {
  font-size: 16px;
}
.card,
.create-details {
  border-radius: 10px;
}
.bottom {
  background: #fff;
  border-top: 1px solid var(--line);
  backdrop-filter: none;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom button {
  font-size: 12px;
  color: var(--muted);
}
.bottom button.active {
  color: var(--purple);
}
.bottom button.active .nav-icon {
  background: var(--soft);
}
.bottom button .nav-icon {
  border-radius: 8px;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 1000;
  padding: 12px;
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.skip-link:focus {
  top: 12px;
}
.field-error {
  color: #b42318;
}
.toast {
  background: #134e4a;
}
#app {
  scroll-margin-top: 16px;
}
.pro-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.pro-summary span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--muted);
}
.pro-summary b {
  color: var(--purple);
}
@media (max-width: 1050px) {
  .home-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  main {
    padding: 20px 20px 110px;
  }
  .top {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  .home-heading h1 {
    font-size: 28px;
  }
  .home-heading .row {
    gap: 16px;
    flex-wrap: wrap;
  }
  .home-heading .secondary {
    font-size: 14px;
    min-height: 44px;
  }
  .next-event {
    padding: 20px;
  }
  .next-event h2 {
    font-size: 24px;
  }
  .next-event .event-title-row {
    align-items: flex-start;
    gap: 12px;
  }
  .date-tile {
    min-width: 54px;
    padding: 10px;
  }
  .next-event .event-time {
    font-size: 13px;
  }
  .readiness {
    padding: 12px;
  }
  .home-layout {
    gap: 28px;
  }
  .home-side .dept {
    min-height: 108px;
  }
  .stage {
    padding: 18px 10px;
    gap: 8px;
  }
  .stage .time {
    width: 40px;
  }
  .stage .handle {
    min-width: 32px;
  }
  .modal {
    border-radius: 16px 16px 0 0;
  }
  .calendar {
    padding: 14px;
  }
  .event-title {
    font-size: 28px;
  }
  .tabs button {
    font-size: 13px;
  }
  .pro-summary {
    margin-bottom: 20px;
    gap: 6px;
  }
  .pro-summary span {
    padding: 6px 9px;
  }
  .section {
    margin-top: 24px;
  }
}
@media print {
  .skip-link,
  .pro-summary {
    display: none;
  }
  .stage {
    background: #fff;
  }
  .top {
    border: 0;
  }
}

/* Approved Team in Motion concept */
:root {
  --paper: #fff;
  --ink: #141722;
  --muted: #606b82;
  --line: #e7eaf2;
  --purple: #0646ed;
  --orange: #0646ed;
  --focus: #0646ed;
  --soft: #eef2ff;
}
body {
  background: #fff;
  color: var(--ink);
}
main {
  max-width: 1200px;
  padding: 24px 32px 80px 247px;
}
.top {
  border: 0;
  margin-bottom: 24px;
  padding-bottom: 0;
}
aside {
  background: #fafbff;
}
.primary {
  background: #0646ed;
}
.primary:hover {
  background: #0036bd;
}
.link {
  color: #0646ed;
}
.avatar {
  background: #eee8dc;
  color: #28241d;
}
.bottom button.active {
  color: #0646ed;
}
.bottom button.active .nav-icon {
  background: #eaf0ff;
}
.v-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.v-hero {
  grid-column: 1;
  grid-row: 1;
  background: #0646ed;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.v-hero:after {
  content: "";
  position: absolute;
  right: -22px;
  top: -32px;
  width: 160px;
  height: 85px;
  border: 15px solid #ffffff12;
  border-radius: 50%;
  box-shadow:
    0 24px 0 #ffffff0c,
    0 48px 0 #ffffff08;
  pointer-events: none;
}
.v-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.v-hero h1 {
  font-size: clamp(32px, 3.7vw, 54px);
  font-weight: 750;
  line-height: 1.08;
  margin: 20px 0 24px;
  color: #fff;
  letter-spacing: -0.035em;
  position: relative;
  z-index: 1;
}
.v-hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.v-date {
  color: #ffda34;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 12px;
}
.v-date .icon-svg {
  width: 28px;
  height: 28px;
  color: #fff;
}
.v-time {
  font-size: 22px;
  font-weight: 650;
  margin: 5px 0 0 40px;
}
.v-ring {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  background: conic-gradient(#ffce20 var(--pct), #0035b8 0);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.v-ring > div {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #0646ed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.v-ring b {
  font-size: 30px;
  line-height: 1.1;
}
.v-ring span {
  font-size: 11px;
  margin-top: 5px;
}
.v-room {
  grid-column: 2;
  grid-row: 1;
  background: #ebe7ff;
  border-radius: 20px;
  padding: 24px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.v-room .v-eyebrow {
  color: #3541a0;
}
.v-room h2 {
  font-size: 30px;
  margin: 0 0 12px;
}
.v-room-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.v-room .secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #fff;
  font-weight: 650;
  padding: 13px 16px;
}
.v-booking {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff2d5;
  color: #735000;
  border-radius: 24px;
  padding: 6px 10px;
  font-size: 12px;
}
.v-booking:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ffae00;
  border-radius: 50%;
  flex: none;
}
.v-room > small {
  font-size: 12px;
  color: #5b5e83;
}
.v-prep {
  grid-column: 1;
  grid-row: 2;
}
.v-section-head {
  margin-bottom: 16px;
  gap: 12px;
}
.v-section-head h2 {
  font-size: 20px;
  margin: 0;
}
.v-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.v-filter {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 650;
  border: 2px solid transparent;
  border-radius: 12px;
  line-height: 1.25;
}
.v-filter.todo {
  background: #fff1b9;
  color: #664b00;
}
.v-filter.waiting {
  background: #ebe7ff;
  color: #3e2ba4;
}
.v-filter.done {
  background: #dff8e6;
  color: #166236;
}
.v-filter.selected {
  border-color: currentColor;
}
.v-filter span {
  border: 1px solid currentColor;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.v-task-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.v-task {
  display: flex;
  gap: 14px;
  padding: 18px;
  text-align: left;
  align-items: flex-start;
  width: 100%;
  border-bottom: 1px solid var(--line);
}
.v-task:last-child {
  border-bottom: 0;
}
.v-task:hover {
  background: #f7f9ff;
}
.v-task-state {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1.5px solid #96a0b5;
  border-radius: 50%;
  margin-top: 2px;
  display: grid;
  place-items: center;
}
.v-task-state.done {
  background: #139544;
  color: #fff;
  border-color: #139544;
}
.v-task-state.waiting {
  background: #eeeaff;
  color: #4f35be;
  border-color: #8c77dc;
}
.v-task-content {
  flex: 1;
  min-width: 0;
}
.v-task-content b {
  font-size: 16px;
  line-height: 1.35;
  display: block;
}
.v-task-content > small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0;
}
.v-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4c5872;
  font-size: 12px;
  margin-top: 9px;
}
.v-owner i {
  font-style: normal;
  background: #e9e1ff;
  color: #563c9e;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 650;
}
.v-task > .icon-svg {
  width: 17px;
  align-self: center;
  color: #6c7893;
}
.v-empty {
  padding: 28px 20px;
  color: var(--muted);
}
.v-program {
  grid-column: 2;
  grid-row: 2;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fafbff;
}
.v-program .v-section-head h2 {
  font-size: 17px;
}
.v-agenda button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 19px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.v-agenda button:last-child {
  border: 0;
}
.v-agenda time {
  font-size: 18px;
  color: #0646ed;
  font-weight: 750;
  min-width: 52px;
  font-variant-numeric: tabular-nums;
}
.v-agenda button > span {
  flex: 1;
  padding-left: 14px;
  border-left: 2px solid #ffd248;
  min-width: 0;
}
.v-agenda b {
  display: block;
  font-size: 16px;
}
.v-agenda small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.v-agenda em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.v-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffcf28;
  color: #231d00;
  font-weight: 700;
  padding: 15px 18px;
  border-radius: 10px;
  margin-top: 16px;
  min-height: 48px;
}
.v-cta:hover {
  background: #ffbd0a;
}
.v-departments {
  grid-column: 1/-1;
}
.v-departments .grid {
  grid-template-columns: repeat(3, 1fr);
}
.dept {
  min-height: 145px;
  border-radius: 14px;
}
.dept small {
  color: #46526c;
}
.dept .progress span {
  background: #0646ed;
}
.dept .pill {
  color: #18388b;
  background: #ffffffb0;
}
.peach {
  background: #fff0ca;
}
.yellow {
  background: #fff5c6;
}
.lavender {
  background: #eee9ff;
}
.blue {
  background: #e5efff;
}
.mint {
  background: #e1f6e7;
}
.tabs button.active {
  color: #0646ed;
}
.calendar-day.selected {
  background: #0646ed;
}
.stage:first-child .body {
  border-color: #ffbd00;
}
.hint {
  background: #eef1ff;
  border-color: #5a71ed;
}
.hint p {
  color: #414e7c;
}
.room-callout {
  background: #eeeaff;
}
.room-callout .room-icon {
  background: #fff;
  color: #0646ed;
}
.room-callout .arrow {
  color: #0646ed;
}
.chip.selected {
  background: #eaf0ff;
  color: #0646ed;
  border-color: #0646ed;
}
.check input {
  accent-color: #0646ed;
}
.toast {
  background: #153487;
}
.modal .close {
  background: #edf1ff;
}
.bottom {
  z-index: 30;
}
@media (max-width: 1050px) {
  .v-workspace {
    grid-template-columns: 1fr;
  }
  .v-hero,
  .v-room,
  .v-prep,
  .v-program,
  .v-departments {
    grid-column: 1;
    grid-row: auto;
  }
  .v-hero h1 {
    font-size: 42px;
  }
  .v-room {
    padding: 22px;
  }
  .v-departments .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  main {
    padding: 18px 16px 110px;
    max-width: 560px;
  }
  .top {
    margin-bottom: 20px;
  }
  .v-workspace {
    gap: 20px;
  }
  .v-hero {
    border-radius: 16px;
    padding: 20px;
  }
  .v-eyebrow {
    font-size: 11px;
  }
  .v-hero h1 {
    font-size: 34px;
    margin: 16px 0 20px;
  }
  .v-date {
    font-size: 27px;
    gap: 8px;
  }
  .v-date .icon-svg {
    width: 22px;
    height: 22px;
  }
  .v-time {
    font-size: 18px;
    margin-left: 30px;
  }
  .v-ring {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
  }
  .v-ring > div {
    width: 66px;
    height: 66px;
  }
  .v-ring b {
    font-size: 24px;
  }
  .v-ring span {
    font-size: 9px;
  }
  .v-room {
    border-radius: 16px;
    padding: 18px;
    gap: 12px;
  }
  .v-room h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .v-room-line {
    gap: 12px;
  }
  .v-room .secondary {
    font-size: 13px;
    padding: 11px 12px;
    gap: 7px;
  }
  .v-room .secondary .icon-svg {
    width: 17px;
    height: 17px;
  }
  .v-filter {
    font-size: 11px;
    gap: 5px;
    min-height: 52px;
    padding: 8px 5px;
    border-radius: 10px;
  }
  .v-filter span {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .v-filters {
    gap: 6px;
  }
  .v-section-head {
    margin-bottom: 12px;
  }
  .v-section-head h2 {
    font-size: 19px;
  }
  .v-task {
    padding: 16px 14px;
    gap: 10px;
  }
  .v-task-content b {
    font-size: 15px;
  }
  .v-task-state {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .v-program {
    padding: 17px;
    border-radius: 16px;
  }
  .v-program .v-section-head h2 {
    font-size: 15px;
  }
  .v-program .link {
    font-size: 12px;
  }
  .v-agenda button {
    gap: 10px;
  }
  .v-agenda time {
    font-size: 16px;
    min-width: 46px;
  }
  .v-agenda b {
    font-size: 15px;
  }
  .v-agenda em {
    font-size: 11px;
  }
  .v-departments .grid {
    gap: 10px;
  }
  .v-departments .dept {
    padding: 15px;
  }
  .v-departments .link {
    font-size: 12px;
  }
  .v-cta {
    font-size: 15px;
  }
  .bottom button {
    font-size: 11px;
  }
  .bottom button .nav-icon {
    padding: 4px 13px;
  }
}
@media (max-width: 360px) {
  .v-hero h1 {
    font-size: 30px;
  }
  .v-date {
    font-size: 23px;
  }
  .v-time {
    font-size: 16px;
  }
  .v-ring {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
  .v-ring > div {
    width: 58px;
    height: 58px;
  }
  .v-ring b {
    font-size: 21px;
  }
  .v-filter {
    flex-direction: column;
  }
}

.bottom button {
  position: relative;
}
.bottom .nav-count {
  position: absolute;
  top: 2px;
  right: 16%;
  background: #ffce20;
  color: #241d00;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
}
.v-departments .progress {
  max-width: none;
}
.brand-symbol {
  background-image: url("/team/assets/logowolrus.jpg");
}
[hidden] {
  display: none !important;
}
body.auth main {
  max-width: 510px;
  padding: 24px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.auth-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.auth-panel h1 {
  font-size: 28px;
}
.auth-panel form {
  margin-top: 24px;
}
.auth-panel .primary {
  width: 100%;
}
.auth-panel p {
  font-size: 14px;
  color: var(--muted);
}
.form-error {
  color: #a62115;
  background: #fff1ed;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin: 12px 0;
}
.account-button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-height: 44px;
}
.event-picker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.event-picker select {
  max-width: 100%;
  font-size: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.event-picker label {
  min-width: 0;
}
.event-picker .primary {
  font-size: 13px;
  padding: 10px 14px;
}
.task-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.task-actions button {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.task-actions .accepted {
  background: #dff8e6;
  color: #166236;
}
.task-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.task-row:last-child {
  border: 0;
}
.task-row label {
  display: flex;
  gap: 12px;
  align-items: start;
}
.task-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #0646ed;
  flex-shrink: 0;
}
.task-row small {
  display: block;
  color: var(--muted);
  margin: 6px 0;
  font-size: 12px;
}
.task-row.done .task-title {
  text-decoration: line-through;
  color: var(--muted);
}
.task-editor {
  display: flex;
  gap: 8px;
  align-items: center;
}
.task-editor .link {
  margin-left: auto;
}
.member-card {
  margin-top: 12px;
  border: 1px solid var(--line);
}
.member-card .row {
  gap: 12px;
  flex-wrap: wrap;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checks label {
  display: flex;
  gap: 8px;
  font-size: 14px;
}
.checks input {
  width: 18px;
  height: 18px;
}
.program-actions {
  display: flex;
  gap: 5px;
}
.program-actions button {
  min-width: 36px;
  min-height: 40px;
  font-size: 18px;
  border-radius: 6px;
}
.empty-panel {
  padding: 28px;
  background: #f5f7ff;
  border-radius: 16px;
  margin: 20px 0;
}
.empty-panel h2 {
  margin: 0 0 12px;
}
.small-text {
  font-size: 12px;
  color: var(--muted);
}
.file-link {
  display: block;
  padding: 12px;
  background: #eff3ff;
  margin: 8px 0;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.refresh-note {
  font-size: 12px;
  color: #63708a;
}
.modal .error-slot:empty {
  display: none;
}
.modal footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.nav-count {
  background: #ffcf28;
  color: #302800;
}
.stale {
  padding: 12px;
  background: #fff1c8;
  color: #664b00;
}
.v-agenda button > span {
  min-width: 0;
}
.room-status {
  font-size: 13px;
  line-height: 1.5;
}
.v-departments .dept {
  background: #eef1ff;
}
.v-owner {
  overflow-wrap: anywhere;
}
.event-card {
  width: 100%;
  text-align: left;
  margin: 12px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: block;
}
.event-card:hover {
  background: #f5f7ff;
}
.modal input,
.modal select,
.modal textarea {
  max-width: 100%;
}
.top .brand-symbol {
  flex: none;
}
.mobile-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-day {
  min-height: 44px;
}
.print-only {
  display: none;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.chip.selected {
  background: #eaf0ff;
  color: #0646ed;
}
.request-status {
  margin-top: 8px;
}
.pending-banner {
  background: #fff3cc;
  padding: 14px;
  border-radius: 12px;
  margin: 14px 0;
  font-size: 14px;
}
.body-wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.field textarea {
  min-height: 110px;
}
.inline-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .event-picker {
    align-items: flex-end;
  }
  .event-picker select {
    max-width: 235px;
    font-size: 13px;
  }
  .event-picker .primary {
    padding: 10px;
    font-size: 12px;
  }
  .mobile-name {
    max-width: 130px;
  }
  .modal {
    max-height: 92dvh;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .program-actions {
    flex-direction: column;
  }
  .stage .body {
    min-width: 0;
  }
  .stage .body b {
    overflow-wrap: anywhere;
  }
  .event-title {
    overflow-wrap: anywhere;
  }
  .v-hero h1 {
    overflow-wrap: anywhere;
  }
  .v-filter {
    font-size: 11px;
  }
  .v-room h2 {
    overflow-wrap: anywhere;
  }
  .v-section-head {
    flex-wrap: wrap;
  }
  .v-task-content b {
    overflow-wrap: anywhere;
  }
}
@media print {
  body {
    background: #fff;
  }
  .top,
  aside,
  .bottom,
  .noprint,
  #account,
  .event-picker,
  .event-meta-tools,
  .tabs,
  #toast,
  #overlay,
  .event-ready,
  .room-callout {
    display: none !important;
  }
  main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }
  .print-only {
    display: block;
  }
  .stage {
    break-inside: avoid;
  }
  .program-actions {
    display: none !important;
  }
  .stage .body {
    border: 0 !important;
  }
  .stage {
    padding: 10px 0 !important;
  }
  .stage small {
    font-size: 11px;
  }
  .stage-note {
    white-space: pre-wrap;
  }
  h1 {
    font-size: 24px !important;
  }
  @page {
    size: A4;
    margin: 15mm;
  }
}

/* QA: explicit navigation, loading and recoverable event actions. */
.event-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  align-items: center;
}
.event-navigation button,
.event-navigation span {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  background: #f1f3f9;
  color: #334155;
}
.event-navigation .active {
  background: #e8edff;
  color: #173eb6;
  font-weight: 700;
  box-shadow: inset 0 -3px #2444e7;
}
.event-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 12px 0;
  padding-right: 16px;
}
.event-list-row .event-card {
  border: 0;
  margin: 0;
  min-width: 0;
  flex: 1;
}
.event-list-row .trash-action {
  flex: none;
  color: #a52620;
}
.modal .close {
  width: auto;
  min-width: 108px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #334155;
  flex-shrink: 0;
  background: #f4f6fa;
}
.origin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #edf2ff;
  color: #173eb6;
  font-size: 13px;
  margin: 6px 0;
  max-width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}
.loading-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #edf2ff;
  color: #173eb6;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.loading-status:before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #afbef5;
  border-top-color: #2444e7;
  border-radius: 50%;
  animation: status-spin 1s linear infinite;
  flex-shrink: 0;
}
.skeleton {
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e7ecf7, #f4f6fc, #e7ecf7);
  background-size: 200% 100%;
  animation: status-pulse 1.5s linear infinite;
}
.extra-departments {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
.extra-departments legend {
  font-weight: 600;
  font-size: 15px;
}
.extra-departments label {
  min-height: 44px;
  align-items: center;
}
.stage:focus {
  outline: 3px solid #2444e7;
  outline-offset: 4px;
}
@keyframes status-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes status-pulse {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loading-status:before,
  .skeleton {
    animation: none;
  }
}
@media (max-width: 700px) {
  .event-list-row {
    flex-wrap: wrap;
    padding: 0 12px 12px;
    gap: 0;
  }
  .event-list-row .event-card {
    flex-basis: 100%;
    padding: 16px 4px;
  }
  .event-list-row .trash-action {
    margin-left: auto;
  }
  .event-navigation button,
  .event-navigation span {
    font-size: 13px;
  }
  .modal .row {
    gap: 8px;
  }
  .modal .close {
    min-width: 94px;
  }
  .modal footer {
    flex-wrap: wrap;
  }
}

.readiness-panel {
  margin-bottom: 20px;
  border: 1px solid #dce3f5;
}
.blocker-list {
  display: grid;
  gap: 8px;
}
.blocker {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  min-height: 52px;
  padding: 12px;
  background: #fff5df;
  border-radius: 10px;
  width: 100%;
  color: #513900;
}
.blocker span:last-child {
  margin-left: auto;
}
.blocker-priority {
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #d4b365;
  border-radius: 6px;
  padding: 4px 7px;
}
.dependency {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  margin: 8px 0;
  background: #fff5df;
  color: #513900;
  border-radius: 10px;
  font-size: 14px;
}
.dependency.ready {
  background: #edf7ee;
  color: #245630;
}
.stage-warning {
  display: block;
  color: #8c3a10;
  background: #fff0dc;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 8px;
}
.artifact-version {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.artifact-version b {
  overflow-wrap: anywhere;
}
.artifact-card {
  scroll-margin-top: 16px;
}
.artifact-card:focus {
  outline: 2px solid #2444e7;
  outline-offset: 3px;
}
.artifact-version .secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.file-preview {
  width: 100%;
  height: 65vh;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.image-preview {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.my-assignments {
  margin-bottom: 20px;
}
.my-task {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.my-task .inline-tools {
  margin-top: 12px;
}
.assignment-row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.assignment-row small {
  color: var(--muted);
}
.conflict-wrap {
  z-index: 10000;
  background: #0b173ca8;
}
.conflict-wrap .modal {
  box-shadow: 0 12px 50px #0003;
}
.modal-wrap:has(#conflict-dialog) {
  z-index: 10000;
}
@media (max-width: 700px) {
  .readiness-panel .row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .blocker {
    gap: 8px;
    font-size: 14px;
  }
  .dependency {
    align-items: flex-start;
    flex-direction: column;
  }
  .dependency button,
  .my-task .inline-tools button {
    min-height: 48px;
  }
  .artifact-version .inline-tools {
    gap: 8px;
  }
  .modal footer button {
    min-height: 48px;
  }
  .tabs {
    flex-wrap: wrap;
  }
}

/* Task workflow actions remain usable on narrow screens. */
.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.workflow-actions button {
  min-height: 44px;
}
.task-help {
  background: #fff6dd;
  color: #4b3500;
  border-left: 3px solid #a56a00;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.task-help button {
  margin-top: 8px;
}
.notice-unread {
  border-left: 3px solid var(--blue, #0646ed);
  padding-left: 12px;
}
.notification-button {
  min-height: 44px;
}
#account {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
@media (max-width: 600px) {
  .workflow-actions > button {
    flex: 1 1 140px;
  }
  .notification-button {
    font-size: 13px;
  }
}
.worship-format[hidden] {
  display: none;
}
.events-heading {
  flex-wrap: wrap;
}
.events-heading h1 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.events-heading > .primary {
  flex-shrink: 0;
}
.event-list-row,
.member-card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.draft-durations {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.timing-summary {
  background: var(--surface, #f0f4ff);
  border-radius: 12px;
  padding: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.file-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 44px;
}
.file-control input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-control:focus-within {
  outline: 2px solid #0646ed;
  outline-offset: 4px;
  border-radius: 8px;
}
.file-name {
  overflow-wrap: anywhere;
  min-width: 0;
}
@media (max-width: 600px) {
  .events-heading > .primary {
    width: 100%;
  }
  .member-card .row {
    flex-wrap: wrap;
  }
}
.hall-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 18px 0;
}
.hall-filters .field {
  margin: 0;
  flex: 1;
  min-width: 130px;
}
.hall-filters select,
.hall-filters input,
.event-booking select {
  width: 100%;
  min-height: 48px;
  font: inherit;
}
.hall-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.hall-day {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  min-width: 0;
  background: var(--paper);
}
.hall-day h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.hall-day h2 small {
  font-size: 13px;
  font-weight: 400;
}
.booking-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  gap: 6px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-left: 4px solid #b87900;
  border-radius: 12px;
  background: #fff9ed;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.booking-card span,
.booking-card small {
  font-size: 13px;
}
.booking-approved {
  background: #eef8f2;
  border-left-color: #287343;
}
.booking-cancelled,
.booking-rejected {
  background: var(--soft);
  border-left-color: #6b7280;
}
.hall-catalog,
.booking-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.hall-catalog button {
  text-align: left;
}
.event-booking {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.event-booking legend {
  font-weight: 700;
}
.booking-availability {
  font-size: 14px;
  line-height: 1.5;
  background: var(--soft);
  border-radius: 8px;
  padding: 12px;
}
@media (max-width: 600px) {
  .hall-calendar,
  .hall-catalog,
  .booking-list {
    grid-template-columns: 1fr;
  }
  .bottom button {
    min-width: 0;
  }
}

/* Compact song names, visible directly in Media tasks. */
.field textarea.songs-text {
  min-height: 80px;
  height: 88px;
  padding: 10px 12px;
  line-height: 1.4;
}
.dependency:has(.songs-readout) {
  flex-wrap: wrap;
}
.songs-readout {
  flex: 0 0 100%;
  min-width: 0;
  margin: 8px 0 0;
}

/* End times remain visible on narrow screens and printed programs. */
.stage .time {
  min-width: 64px;
  width: 64px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.block-end {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
}
.v-agenda time {
  min-width: 64px;
}
.block-detail-time .block-end {
  display: inline;
  margin-left: 6px;
  font-size: inherit;
}
