:root {
  --bg: #fff9f3;
  --surface: #fff;
  --peach: #f2a38f;
  --peach-deep: #e58e79;
  --mint: #b8dccb;
  --mint-deep: #559d82;
  --ink: #654b42;
  --muted: #a48f85;
  --line: #f0e5dd;
  --pale: #fff0e8;
  --green: #edf7f1;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  background: #fcf9f6;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px #b8dccb33;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 750;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stack {
  display: grid;
  gap: 14px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 4px 20px #654b4204;
}
.section {
  margin: 24px 0 13px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 12px 23px;
  border-radius: 30px;
  background: linear-gradient(125deg, #f7b39e, var(--peach));
  color: #fff;
  font-weight: 650;
  box-shadow: 0 6px 18px #f2a38f20;
}
.secondary {
  padding: 12px 20px;
  background: var(--green);
  border: 1px solid #dceee4;
  border-radius: 24px;
  color: #547c68;
}
.subtle {
  padding: 9px 14px;
  background: #fbf4ee;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.danger {
  color: #bd6a64;
}
.wide {
  width: 100%;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  background: #edf7f1;
  color: #5c927b;
}
.badge.warn {
  background: #fff4e2;
  color: #a88749;
}
.badge.peach {
  background: var(--pale);
  color: #c17f6d;
}
.badge.gray {
  background: #f4efeb;
  color: #99887f;
}
.progress {
  height: 8px;
  border-radius: 20px;
  background: #f2eeea;
  overflow: hidden;
  margin: 10px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #9ccfba, var(--mint));
  border-radius: 20px;
}
.progress.peach i {
  background: var(--peach);
}
.icon-box {
  width: 60px;
  height: 64px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pale);
  border-radius: 19px;
  font-size: 28px;
}
.icon-box.mint {
  background: #edf7f3;
}
.big-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #f7f0ea;
  border-radius: 25px;
}
.tabs button {
  padding: 9px 15px;
  border-radius: 22px;
  font-size: 13px;
  white-space: nowrap;
}
.tabs button.active {
  background: var(--peach);
  color: white;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.setting-row:last-child {
  border-bottom: 0;
}
.toggle {
  appearance: none;
  width: 42px !important;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #e9e0d8;
  position: relative;
  cursor: pointer;
  flex: none;
}
.toggle:checked {
  background: var(--mint);
}
.toggle:after {
  content: "";
  width: 19px;
  height: 19px;
  position: absolute;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.15s;
}
.toggle:checked:after {
  transform: translateX(17px);
}
.empty {
  text-align: center;
  padding: 34px 18px;
  color: var(--muted);
}
.empty img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.empty p {
  margin: 12px 0;
}
.error {
  background: #fff1eb;
  border: 1px solid #efb9a9;
  padding: 15px;
  border-radius: 14px;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field > span {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 600;
}
.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.spacer {
  height: 14px;
}
.leaf-stamp {
  font-size: 13px;
  color: var(--mint-deep);
  border: 2px solid var(--mint);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-13deg);
  font-weight: 700;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.link {
  font-size: 12px;
  color: var(--muted);
}
.mobile-body {
  background: #f3eae2;
  min-height: 100vh;
}
.phone {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  padding: 0 18px 108px;
  position: relative;
  box-shadow: 0 0 70px #654b4210;
}
.wx-top {
  height: 63px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}
.wx-top .back {
  position: absolute;
  left: -4px;
  font-size: 25px;
  padding: 8px;
}
.wx-capsule {
  position: absolute;
  right: 0;
  top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 15px;
  letter-spacing: 4px;
  padding: 4px 7px;
  color: #483930;
}
.page-heading {
  min-height: 112px;
  position: relative;
  padding: 18px 0 18px;
}
.page-heading h1 {
  max-width: 78%;
}
.page-heading p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
  max-width: 75%;
}
.page-heading img {
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 112px;
  height: 112px;
  object-fit: contain;
  z-index: 1;
}
.hero {
  margin: 5px 0 17px;
  background: linear-gradient(110deg, #ffebe1, #fff2e9);
  border-radius: 23px;
  min-height: 76px;
  padding: 22px 95px 22px 17px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}
.hero img {
  position: absolute;
  right: 6px;
  bottom: 1px;
  width: 103px;
  height: 112px;
  object-fit: contain;
}
.days {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 21px;
  gap: 3px;
}
.day {
  min-width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 11px;
}
.day b {
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcf3ec;
}
.day.active b {
  background: var(--peach);
  color: white;
  box-shadow: 0 5px 12px #f2a38f33;
}
.task-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  min-height: 100px;
  margin-bottom: 12px;
}
.task-main {
  min-width: 0;
  flex: 1;
  cursor: pointer;
}
.task-main h3 {
  margin: 4px 0;
}
.task-main p {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.task-time {
  font-size: 18px;
}
.task-card.done {
  background: #f7f3ef;
}
.task-card.done h3 {
  text-decoration: line-through;
  color: var(--muted);
}
.circle {
  width: 28px;
  height: 28px;
  border: 2px solid #c5b8af;
  border-radius: 50%;
  padding: 0;
  flex: none;
}
.tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 406px);
  height: 73px;
  padding: 7px 10px;
  background: #ffffffed;
  border: 1px solid var(--line);
  border-radius: 27px;
  box-shadow: 0 5px 25px #654b420a;
  backdrop-filter: blur(14px);
  z-index: 10;
}
.tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  min-width: 60px;
}
.tabbar svg {
  width: 24px;
  height: 24px;
}
.tabbar button.active {
  color: var(--peach-deep);
}
.fab {
  position: fixed;
  bottom: 106px;
  margin-left: calc(min(100vw, 430px) - 98px);
  background: var(--peach);
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 6px 20px #f2a38f40;
  font-size: 35px;
  z-index: 8;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 9px 2px;
}
.calendar > span {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
}
.calendar button {
  height: 36px;
  border-radius: 50%;
  font-size: 15px;
  position: relative;
}
.calendar button.active {
  background: var(--peach);
  color: white;
}
.calendar button.dot:after {
  content: "";
  height: 4px;
  width: 4px;
  background: var(--mint);
  border-radius: 50%;
  position: absolute;
  bottom: 1px;
  left: calc(50% - 2px);
}
.calendar button.out {
  color: #d8cdc4;
}
.habit-value {
  font-size: 26px;
  color: var(--mint-deep);
  font-weight: 650;
}
.habit-value small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}
.habit-card .row > .grow {
  flex: 1;
}
.habit-card .primary {
  padding: 11px 16px;
  min-height: 39px;
}
.goal-card {
  margin-bottom: 15px;
}
.goal-card .deadline {
  background: #fcf6f1;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.focus-art {
  display: block;
  width: 205px;
  height: 220px;
  object-fit: contain;
  margin: 18px auto 6px;
}
.timer {
  font-size: 64px;
  text-align: center;
  font-weight: 650;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}
.focus-ring {
  width: 248px;
  height: 248px;
  margin: 22px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 8px solid #dceee3;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 40%, #f3fbf6);
  box-shadow: 0 0 0 10px #edf6ef66;
}
.focus-ring .timer {
  font-size: 48px;
}
.focus-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}
.tags button {
  padding: 8px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
}
.tags button.active {
  background: var(--green);
  border-color: var(--mint);
  color: var(--mint-deep);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.stat-card {
  padding: 20px 8px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: 29px;
  margin: 9px 0;
}
.stat-card span {
  font-size: 11px;
  color: var(--muted);
}
.heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.heatmap span {
  aspect-ratio: 1;
  border-radius: 9px;
  background: #f2eeea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #bcaaa0;
}
.heatmap span.on {
  background: var(--mint);
  color: #4f7e67;
}
.skin-hero {
  height: 228px;
  text-align: center;
  background: radial-gradient(ellipse, #fff1e4, #fff9f3 70%);
  border-radius: 25px;
}
.skin-hero img {
  height: 220px;
  width: 220px;
  object-fit: contain;
}
.skin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.skin-card {
  text-align: center;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
}
.skin-card.active {
  border: 2px solid var(--mint);
  padding: 11px;
}
.skin-card img {
  height: 105px;
  width: 110px;
  object-fit: contain;
}
.skin-card.locked img {
  filter: grayscale(0.55);
  opacity: 0.65;
}
.skin-card h3 {
  font-size: 15px;
}
.skin-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0;
}
.memory-card {
  position: relative;
}
.memory-card p {
  padding-right: 30px;
  margin-bottom: 15px;
}
.memory-card .between button {
  font-size: 12px;
}
.onboarding {
  text-align: center;
  padding-top: 25px;
}
.onboarding .welcome-art {
  width: 260px;
  height: 280px;
  object-fit: contain;
}
.onboarding h1 {
  font-size: 30px;
  max-width: none;
}
.onboarding p {
  color: var(--muted);
  margin: 15px 0 25px;
}
.onboarding .features {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 25px 0 30px;
}
.onboarding .features div {
  font-size: 12px;
}
.onboarding .features b {
  display: block;
  font-size: 25px;
  margin: 9px;
}
.candidate {
  position: relative;
  padding-left: 46px;
}
.candidate > input[type="checkbox"] {
  position: absolute;
  left: 15px;
  top: 19px;
  width: 18px;
  height: 18px;
  accent-color: var(--peach);
}
.history-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.history-row:last-child {
  border-bottom: 0;
}
.modal-mask {
  position: fixed;
  inset: 0;
  background: #654b4244;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
  backdrop-filter: blur(3px);
}
.modal {
  background: var(--bg);
  border-radius: 25px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 90px #37221d33;
}
.modal h2 {
  margin-bottom: 20px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.notice {
  padding: 12px 14px;
  border-radius: 14px;
  background: #edf6ef;
  color: #6d8c79;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.steps .setting-row {
  gap: 12px;
}
.steps label {
  flex: 1;
}
.steps input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--mint-deep);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  background: #654b42eb;
  color: white;
  border-radius: 18px;
  padding: 12px 18px;
  font-size: 14px;
  z-index: 80;
  pointer-events: none;
  display: none;
  max-width: 85vw;
}
#toast.show {
  display: block;
}
.mobile-local {
  font-size: 10px;
  color: #a9998d;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
}
.mobile-local a {
  text-decoration: underline;
}
.loading {
  padding: 100px 20px;
  text-align: center;
}
.loading img {
  width: 100px;
}
.grow {
  flex: 1;
}
.mt {
  margin-top: 16px;
}
.no-bottom {
  padding-bottom: 24px;
}
.phone:has(.hero) .page-heading img,
.phone:has(.skin-hero) .page-heading img,
.phone:has(#focus-form) .page-heading img {
  display: none;
}
.icon-box svg {
  width: 28px;
  height: 28px;
}
.phone:has(#focus-form) .page-heading {
  min-height: 88px;
}
.phone:has(#focus-form) .focus-art {
  height: 155px;
  width: 170px;
  margin: 4px auto;
}
.phone:has(#focus-form) .timer {
  font-size: 58px;
}
.phone:has(#focus-form) .card {
  padding: 15px;
}
.phone:has(#focus-form) .field {
  margin-bottom: 12px;
}
.phone:has(#focus-form) .tags {
  margin: 9px 0;
}
.focus-ring {
  height: 340px;
  width: 300px;
}
.focus-ring .inside-art {
  display: block;
  height: 145px;
  width: 170px;
  object-fit: contain;
  margin: 12px auto 0;
}
/* Desktop operator interface shares the same tokens and card system. */
.admin-body {
  background: #fffaf6;
}
.admin-shell {
  display: grid;
  grid-template-columns: 225px 1fr;
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 27px 17px;
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fffdfa;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 5px 25px;
}
.brand img {
  width: 55px;
  height: 62px;
  object-fit: contain;
}
.brand strong {
  font-size: 20px;
}
.brand small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.side-nav {
  display: grid;
  gap: 8px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 14px;
  font-size: 14px;
  color: #90776c;
}
.side-nav a.active {
  background: #ffe6da;
  color: #a76652;
  font-weight: 650;
}
.side-nav svg {
  height: 21px;
  width: 21px;
}
.side-bottom {
  position: absolute;
  bottom: 25px;
  left: 30px;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 12px;
}
.admin-main {
  padding: 30px;
  min-width: 0;
}
.admin-header {
  margin-bottom: 25px;
}
.admin-header h1 {
  font-size: 30px;
}
.admin-header p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 20px;
}
.kpi {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px;
}
.kpi strong {
  display: block;
  font-size: 30px;
  margin: 5px 0;
}
.kpi .icon-box {
  height: 53px;
  width: 53px;
  font-size: 24px;
}
.kpi p {
  font-size: 12px;
  color: var(--muted);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.chart {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 25px 10px 0;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 44px,
    #f5eee7 45px
  );
}
.chart .bar {
  flex: 1;
  max-width: 70px;
  min-height: 4px;
  background: linear-gradient(var(--mint), #e1efe5);
  border-radius: 7px 7px 0 0;
  position: relative;
}
.chart .bar span {
  position: absolute;
  bottom: -27px;
  font-size: 11px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  white-space: nowrap;
}
.chart-wrap {
  padding-bottom: 30px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
  flex-wrap: wrap;
}
.toolbar input {
  max-width: 300px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 12px;
  font-weight: 500;
  background: #faf5f0;
  color: #967d70;
  padding: 13px 14px;
}
td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}
tbody tr:hover {
  background: #fffbf7;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.provider-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 30%, #e9f6ed, transparent 45%),
    radial-gradient(ellipse at 80% 70%, #ffe9dc, transparent 40%), var(--bg);
}
.login-card {
  max-width: 410px;
  width: calc(100% - 40px);
  padding: 35px;
}
.login-card .brand {
  justify-content: center;
  margin-bottom: 20px;
}
.login-card h1 {
  font-size: 25px;
  text-align: center;
}
.login-card p {
  margin: 12px 0 25px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.chat-box {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 10px;
  padding: 12px 0;
}
.chat-message {
  padding: 10px 14px;
  background: #f7f2ec;
  border-radius: 15px;
  max-width: 90%;
  white-space: pre-wrap;
  font-size: 13px;
}
.chat-message.user {
  background: #edf7f1;
  justify-self: end;
}
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
  padding: 25px;
}
.design-item {
  background: white;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.design-item img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.design-item h3 {
  padding: 12px 5px 4px;
}
.design-item a {
  display: inline-block;
  margin: 6px;
  font-size: 12px;
  text-decoration: underline;
}
.design-header {
  padding: 30px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.form-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint-deep);
}
details summary {
  cursor: pointer;
  font-weight: 550;
  padding: 12px 0;
}
details p {
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 12px;
}
.weekdays {
  display: flex;
  gap: 8px;
}
.weekdays input {
  width: auto;
}
.inspector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.inspector img {
  width: 100%;
  max-width: 430px;
}
.inspector iframe {
  width: 430px;
  max-width: 100%;
  height: 900px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.screen-help {
  position: fixed;
  top: 12px;
  right: 15px;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 9px;
  z-index: 5;
}
.screen-help a {
  padding: 9px 13px;
  background: #ffffffb8;
  border-radius: 20px;
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    grid-template-columns: 180px 1fr;
  }
  .admin-main {
    padding: 20px;
  }
  .sidebar {
    padding: 20px 10px;
  }
  .brand strong {
    font-size: 16px;
  }
  .side-nav a {
    padding: 12px 10px;
    font-size: 12px;
  }
  .brand img {
    width: 40px;
  }
  .screen-help {
    display: none;
  }
}
@media (max-width: 600px) {
  .phone {
    box-shadow: none;
    max-width: none;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .side-nav {
    display: flex;
    overflow: auto;
  }
  .side-nav a {
    white-space: nowrap;
  }
  .side-nav svg {
    display: none;
  }
  .side-bottom {
    display: none;
  }
  .admin-main {
    padding: 16px;
  }
  .provider-grid {
    grid-template-columns: 1fr;
  }
  .kpi {
    padding: 15px;
    gap: 10px;
  }
  .kpi .icon-box {
    width: 35px;
    height: 40px;
    font-size: 19px;
  }
  .kpi strong {
    font-size: 23px;
  }
  .tabbar {
    width: calc(100% - 24px);
    max-width: 406px;
  }
}

#budget-form input {
  flex: 1;
  min-width: 0;
}
#budget-form button {
  flex-shrink: 0;
  white-space: nowrap;
}

.phone:has(.focus-ring) .page-heading img {
  display: none;
}
.focus-ring {
  width: 300px;
  height: 300px;
}
.focus-ring .inside-art {
  height: 120px;
  width: 145px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin: 14px 0;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  flex: none;
  accent-color: var(--mint-deep);
}
.heatmap .blank {
  visibility: hidden;
}
.heatmap .weekday {
  background: transparent;
  color: var(--muted);
}

.draft-summary {
  display: flex;
  align-items: center;
  gap: 15px;
}
.draft-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 14px;
}
.draft-card > input {
  width: 20px;
  height: 20px;
  padding: 0;
  flex: none;
  accent-color: var(--peach);
}
.draft-card .icon-box {
  width: 48px;
  height: 54px;
  font-size: 25px;
}
.draft-card h3 {
  margin-top: 6px;
  font-size: 16px;
}
.draft-card .grow {
  min-width: 0;
}
.draft-card button {
  padding: 8px;
  font-size: 23px;
  color: var(--muted);
}
.amber {
  color: #ae8746;
}
