body[data-rti-theme="schedule"] {
  --rti-deep: #0b163f;
  --rti-mid: #263c86;
  --rti-accent: #ffd35a;
  --rti-glow: #48e5ff;
  --rti-panel: #17285f;
  background: #07102f;
}

#schedule-command-app {
  --m10-ink: #0a1538;
  --m10-navy: #0b1741;
  --m10-blue: #1d3277;
  --m10-cyan: #43e7ff;
  --m10-yellow: #ffd653;
  --m10-coral: #ff6688;
  --m10-mint: #56f0b2;
  --m10-cream: #fff8df;
  --m10-paper: #fffdf5;
  --m10-lilac: #c8b9ff;
  --m10-line: rgba(112, 215, 255, .24);
  min-height: 100vh;
  color: #f8fbff;
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 11%, rgba(67, 231, 255, .14), transparent 23rem),
    radial-gradient(circle at 92% 18%, rgba(255, 102, 136, .14), transparent 25rem),
    linear-gradient(rgba(67, 231, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 231, 255, .035) 1px, transparent 1px),
    #07102f;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  overflow: hidden;
}

#schedule-command-app *,
#schedule-command-app *::before,
#schedule-command-app *::after { box-sizing: border-box; }

#schedule-command-app button,
#schedule-command-app input,
#schedule-command-app select { font: inherit; }

#schedule-command-app button { cursor: pointer; }

.m10-shell { width: min(1480px, calc(100% - 36px)); margin-inline: auto; }

.m10-eyebrow {
  margin: 0 0 9px;
  color: var(--m10-yellow);
  font: 800 .79rem/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.m10-hero {
  position: relative;
  isolation: isolate;
  padding: 30px 0 36px;
  border-bottom: 1px solid rgba(67, 231, 255, .22);
}

.m10-hero::before,
.m10-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(67, 231, 255, .21);
  border-radius: 50%;
  content: "";
  animation: m10-orbit 20s linear infinite;
}

.m10-hero::before { width: 520px; height: 520px; right: -190px; top: -235px; }
.m10-hero::after { width: 340px; height: 340px; left: -220px; bottom: -260px; animation-direction: reverse; }

@keyframes m10-orbit { to { transform: rotate(1turn); } }

.m10-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: 42px;
  align-items: center;
}

.m10-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #dceaff;
  font-weight: 800;
  text-decoration: none;
}

.m10-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.m10-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(67, 231, 255, .55);
  border-radius: 999px;
  background: rgba(16, 34, 83, .75);
  color: #eafcff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.m10-chip--live::before {
  width: 8px; height: 8px; border-radius: 50%; background: var(--m10-mint); content: "";
  box-shadow: 0 0 0 5px rgba(86, 240, 178, .12), 0 0 14px var(--m10-mint);
}

.m10-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font: 700 clamp(2.55rem, 6vw, 5.7rem)/.91 "Space Grotesk", sans-serif;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-transform: uppercase;
}

.m10-hero h1 em { color: var(--m10-yellow); font-style: normal; text-shadow: 4px 4px 0 rgba(255, 102, 136, .75); }

.m10-hero-copy > p:not(.m10-eyebrow) {
  max-width: 760px;
  margin: 22px 0;
  color: #cbd9ff;
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.64;
}

.m10-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.m10-button,
.m10-ghost,
.m10-tool,
.m10-danger {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.m10-button:hover,
.m10-ghost:hover,
.m10-tool:hover,
.m10-danger:hover { transform: translateY(-2px); filter: brightness(1.07); }
.m10-button:active,
.m10-ghost:active,
.m10-tool:active { transform: translateY(1px); }

.m10-button { background: var(--m10-yellow); color: var(--m10-ink); box-shadow: 5px 5px 0 var(--m10-coral); }
.m10-button--cyan { background: var(--m10-cyan); box-shadow: 5px 5px 0 #6655e8; }
.m10-ghost { border-color: rgba(67, 231, 255, .42); background: rgba(15, 31, 76, .8); color: #fff; }
.m10-tool { min-height: 42px; padding: 9px 13px; border-color: rgba(67, 231, 255, .28); background: #152760; color: #fff; font-size: .87rem; }
.m10-tool:disabled { cursor: not-allowed; opacity: .36; transform: none; }
.m10-danger { min-height: 42px; padding: 9px 13px; border-color: rgba(255, 102, 136, .5); background: rgba(255, 102, 136, .1); color: #ffb7c7; font-size: .87rem; }

.m10-hero-console {
  position: relative;
  max-width: 490px;
  justify-self: end;
  padding: 14px;
  border: 1px solid rgba(67, 231, 255, .55);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(34, 57, 127, .96), rgba(8, 20, 59, .98));
  box-shadow: 14px 14px 0 rgba(255, 102, 136, .22), 0 28px 70px rgba(0, 0, 0, .35);
}

.m10-hero-console::before {
  position: absolute; inset: -16px; z-index: -1; border: 1px dashed rgba(255, 214, 83, .46); border-radius: 38px; content: "";
}

.m10-hero-console img { display: block; width: 100%; height: 330px; object-fit: cover; object-position: center 43%; border-radius: 20px; }

.m10-console-strip { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 13px 7px 2px; }
.m10-console-strip strong { font-family: "Space Grotesk", sans-serif; font-size: .91rem; letter-spacing: .07em; text-transform: uppercase; }
.m10-console-strip span { display: flex; gap: 6px; }
.m10-console-strip i { width: 11px; height: 11px; border-radius: 50%; background: var(--m10-cyan); box-shadow: 0 0 10px currentColor; }
.m10-console-strip i:nth-child(2) { background: var(--m10-yellow); }
.m10-console-strip i:nth-child(3) { background: var(--m10-coral); }

.m10-status-ribbon {
  border-block: 1px solid rgba(255, 214, 83, .28);
  background: var(--m10-yellow);
  color: var(--m10-ink);
  overflow: hidden;
  white-space: nowrap;
}
.m10-status-ribbon div { display: flex; width: max-content; gap: 38px; padding: 10px 0; font: 900 .78rem/1 "Space Grotesk", sans-serif; letter-spacing: .11em; text-transform: uppercase; animation: m10-ticker 25s linear infinite; }
@keyframes m10-ticker { to { transform: translateX(-50%); } }

.m10-method { padding: 44px 0; }
.m10-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); gap: 28px; align-items: end; margin-bottom: 22px; }
.m10-section-head h2 { margin: 0; font: 700 clamp(1.9rem, 4vw, 3.5rem)/1 "Space Grotesk", sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.m10-section-head p:last-child { margin: 0; color: #b9c8ec; line-height: 1.65; }

.m10-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.m10-rule {
  min-height: 185px;
  padding: 22px;
  border: 1px solid rgba(67, 231, 255, .24);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(25, 43, 100, .95), rgba(10, 23, 65, .95));
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}
.m10-rule span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 17px; border-radius: 50%; background: var(--m10-yellow); color: var(--m10-ink); font-weight: 900; }
.m10-rule:nth-child(2) span { background: var(--m10-cyan); }
.m10-rule:nth-child(3) span { background: var(--m10-coral); color: #fff; }
.m10-rule:nth-child(4) span { background: var(--m10-mint); }
.m10-rule h3 { margin: 0 0 8px; font: 700 1.06rem "Space Grotesk", sans-serif; }
.m10-rule p { margin: 0; color: #bac8ed; font-size: .91rem; line-height: 1.55; }

.m10-workspace { padding: 30px 0 78px; }
.m10-command-bar {
  position: sticky;
  z-index: 20;
  top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(67, 231, 255, .35);
  border-radius: 18px;
  background: rgba(7, 16, 47, .91);
  box-shadow: 0 12px 35px rgba(0,0,0,.26);
  backdrop-filter: blur(15px);
}
.m10-command-title { display: flex; gap: 12px; align-items: center; min-width: 210px; }
.m10-command-title b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--m10-cyan); color: var(--m10-ink); font-size: 1.15rem; }
.m10-command-title span { display: grid; gap: 1px; }
.m10-command-title strong { font-family: "Space Grotesk", sans-serif; }
.m10-command-title small { color: #9eadd8; font-weight: 700; }
.m10-command-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.m10-week-switcher { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0; }
.m10-week-tab { min-height: 44px; padding: 9px 15px; border: 1px solid rgba(67, 231, 255, .28); border-radius: 13px; background: rgba(18, 36, 87, .8); color: #cbd8fa; font-weight: 900; }
.m10-week-tab[aria-selected="true"] { border-color: var(--m10-yellow); background: var(--m10-yellow); color: var(--m10-ink); box-shadow: 4px 4px 0 var(--m10-coral); }

.m10-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  padding: 13px 16px;
  border: 1px solid rgba(67, 231, 255, .34);
  border-radius: 15px;
  background: rgba(13, 29, 71, .96);
  color: #eef7ff;
}
.m10-alert[hidden] { display: none; }
.m10-alert--error { border-color: rgba(255,102,136,.7); background: #3c1739; }
.m10-alert--success { border-color: rgba(86,240,178,.6); background: #0d3a3a; }
.m10-alert b { font-size: 1.15rem; }
.m10-alert button { border: 0; background: transparent; color: inherit; font-weight: 900; }

.m10-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.m10-stat { position: relative; min-height: 125px; padding: 19px; border: 1px solid rgba(67,231,255,.23); border-radius: 18px; background: linear-gradient(155deg, #172960, #0e1b49); overflow: hidden; }
.m10-stat::after { position: absolute; width: 86px; height: 86px; right: -33px; bottom: -38px; border: 13px solid rgba(67,231,255,.08); border-radius: 50%; content: ""; }
.m10-stat span { display: block; color: #9fb0dc; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.m10-stat strong { display: block; margin: 10px 0 3px; color: #fff; font: 700 clamp(1.45rem, 3vw, 2.25rem)/1 "Space Grotesk", sans-serif; }
.m10-stat small { color: #bac8eb; }
.m10-stat--gold { border-color: rgba(255,214,83,.45); }
.m10-stat--gold strong { color: var(--m10-yellow); }

.m10-progress { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 14px 0 24px; }
.m10-progress > span { color: #aebee5; font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.m10-progress-track { height: 14px; border: 1px solid rgba(67,231,255,.3); border-radius: 999px; background: #091536; overflow: hidden; }
.m10-progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--m10-cyan), var(--m10-mint), var(--m10-yellow)); box-shadow: 0 0 18px var(--m10-cyan); transition: width .35s ease; }
.m10-progress b { color: var(--m10-yellow); font-family: "Space Grotesk", sans-serif; }

.m10-planner-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 15px; }
.m10-panel {
  grid-column: span 4;
  padding: 22px;
  border: 1px solid rgba(67,231,255,.26);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(24, 43, 100, .97), rgba(11, 25, 67, .97));
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.m10-panel--wide { grid-column: span 8; }
.m10-panel--full { grid-column: 1 / -1; }
.m10-panel--gold { border-color: rgba(255,214,83,.48); background: linear-gradient(145deg, #2b285e, #121d4e); }
.m10-panel-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.m10-panel-head > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--m10-cyan); color: var(--m10-ink); font-weight: 900; }
.m10-panel-head small { display: block; margin-bottom: 2px; color: var(--m10-yellow); font-weight: 900; letter-spacing: .1em; }
.m10-panel h3 { margin: 0; font: 700 1.22rem/1.1 "Space Grotesk", sans-serif; }
.m10-panel > p { color: #b8c6e8; line-height: 1.55; }

.m10-panel label,
.m10-panel legend { color: #edf4ff; font-size: .87rem; font-weight: 800; }
.m10-panel label { display: grid; gap: 7px; }
.m10-panel input,
.m10-panel select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 184, 255, .38);
  border-radius: 11px;
  outline: none;
  background: #091637;
  color: #fff;
}
.m10-panel input:focus,
.m10-panel select:focus { border-color: var(--m10-cyan); box-shadow: 0 0 0 3px rgba(67,231,255,.14); }
.m10-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.m10-field-wide { grid-column: 1 / -1; }
.m10-panel fieldset { margin: 15px 0; padding: 0; border: 0; }
.m10-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.m10-day-pick { min-height: 40px; border: 1px solid rgba(67,231,255,.24); border-radius: 10px; background: #0b193e; color: #c2cfed; font-weight: 900; }
.m10-day-pick[aria-pressed="true"] { border-color: var(--m10-yellow); background: var(--m10-yellow); color: var(--m10-ink); }
.m10-check { display: flex !important; grid-column: 1 / -1; grid-template-columns: auto 1fr; flex-direction: row; gap: 11px !important; align-items: flex-start; padding: 10px; border: 1px dashed rgba(67,231,255,.25); border-radius: 12px; }
.m10-check input { width: 19px; min-height: 19px; accent-color: var(--m10-yellow); }
.m10-check span { display: grid; gap: 2px; }
.m10-check small { color: #9fb0da; font-weight: 600; }
.m10-panel .m10-button { width: 100%; margin-top: 14px; }

.m10-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m10-template { position: relative; min-height: 126px; padding: 16px; border: 1px solid rgba(67,231,255,.3); border-radius: 15px; background: #0b193f; color: #fff; text-align: left; overflow: hidden; }
.m10-template::after { position: absolute; width: 80px; height: 80px; right: -22px; top: -28px; border: 10px solid rgba(67,231,255,.08); border-radius: 50%; content: ""; }
.m10-template b { display: block; margin-bottom: 8px; color: var(--m10-yellow); font-family: "Space Grotesk", sans-serif; font-size: 1.04rem; }
.m10-template span { display: block; color: #c5d1ef; font-size: .82rem; line-height: 1.4; }
.m10-template:hover { border-color: var(--m10-yellow); transform: translateY(-2px); }

.m10-focus-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.m10-focus { min-height: 38px; padding: 8px 11px; border: 1px solid rgba(67,231,255,.26); border-radius: 999px; background: #091637; color: #dce8ff; font-size: .82rem; font-weight: 800; }
.m10-focus[aria-pressed="true"] { border-color: var(--m10-coral); background: var(--m10-coral); color: #fff; }
.m10-focus-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-left: 4px solid var(--m10-yellow); background: rgba(255,214,83,.08); color: #dbe6ff; font-size: .86rem; line-height: 1.5; }

.m10-assistant { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 22px; align-items: center; }
.m10-assistant-copy { display: flex; gap: 15px; }
.m10-assistant-copy > span { display: grid; flex: 0 0 auto; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--m10-yellow); color: var(--m10-ink); font: 900 1.2rem "Space Grotesk", sans-serif; }
.m10-assistant-copy p { margin: 8px 0 0; color: #bcc9ea; line-height: 1.55; }
.m10-assistant-fields { display: grid; grid-template-columns: 1fr .7fr .7fr; gap: 10px; align-items: end; }
.m10-assistant-fields .m10-button { margin: 0; }

.m10-week-section { margin-top: 26px; }
.m10-week-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 13px; }
.m10-week-head h2 { margin: 0; font: 700 clamp(1.7rem, 3.6vw, 3.1rem)/1 "Space Grotesk", sans-serif; text-transform: uppercase; }
.m10-week-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.m10-drag-tip { margin: 0 0 14px; color: #aab9df; font-size: .88rem; }
.m10-week-grid { display: grid; grid-template-columns: repeat(7, minmax(205px, 1fr)); gap: 10px; overflow-x: auto; padding: 2px 2px 15px; scroll-snap-type: x proximity; }
.m10-day { min-width: 205px; min-height: 310px; border: 1px solid rgba(67,231,255,.26); border-radius: 18px; background: rgba(12, 27, 68, .92); scroll-snap-align: start; overflow: hidden; }
.m10-day.is-drop-target { border-color: var(--m10-yellow); box-shadow: 0 0 0 3px rgba(255,214,83,.15); }
.m10-day > header { padding: 15px; border-bottom: 1px solid rgba(67,231,255,.2); background: linear-gradient(140deg, #203b86, #17285f); }
.m10-day > header small { color: var(--m10-cyan); font-weight: 900; letter-spacing: .14em; }
.m10-day > header h3 { margin: 3px 0; font: 700 1.15rem "Space Grotesk", sans-serif; }
.m10-day > header span { color: #aebde0; font-size: .76rem; }
.m10-blocks { display: grid; gap: 8px; padding: 10px; }
.m10-block {
  position: relative;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--block-color) 68%, white 4%);
  border-left: 5px solid var(--block-color);
  border-radius: 12px;
  background: color-mix(in srgb, var(--block-color) 14%, #0d1a43);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.m10-block[draggable="true"] { cursor: grab; }
.m10-block.is-complete { opacity: 1; border-color: #2eae68; border-left-color: #2eae68; background: linear-gradient(145deg,#137847,#1f985d); box-shadow: inset 0 0 0 2px #9df0be55,0 6px 16px #12673d38; }
.m10-block.is-complete::after { content: "✓ COMPLETADO"; position: absolute; right: 10px; top: 34px; padding: 3px 6px; color: #0d4b2d; background: #bdf5d1; border: 1px solid #fff; border-radius: 6px; font-size: .56rem; font-weight: 950; letter-spacing: .06em; }
.m10-block.is-complete .m10-block-title { color: #fff; text-decoration: none; padding-right: 74px; }
.m10-block.is-complete .m10-block-time,.m10-block.is-complete .m10-block-type { color: #d9ffe8; }
.m10-block-time { display: flex; justify-content: space-between; gap: 7px; color: var(--block-color); font-size: .73rem; font-weight: 900; }
.m10-block-title { display: block; margin: 5px 0 3px; color: #fff; font-size: .88rem; line-height: 1.25; }
.m10-block-type { color: #9eadcf; font-size: .69rem; font-weight: 800; text-transform: uppercase; }
.m10-block-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.m10-block-actions button { min-height: 30px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(255,255,255,.06); color: #dce7ff; font-size: .69rem; font-weight: 800; }
.m10-block-actions button:hover { border-color: var(--block-color); }
.m10-block-actions .m10-block-delete { color: #ffafc0; }
.m10-empty { margin: 20px 10px; color: #8fa0ca; font-size: .82rem; line-height: 1.5; text-align: center; }
.m10-free { padding: 10px; border-top: 1px dashed rgba(67,231,255,.2); }
.m10-free > span { display: block; margin-bottom: 6px; color: #7588ba; font-size: .65rem; font-weight: 900; letter-spacing: .1em; }
.m10-free button { width: 100%; margin-top: 5px; padding: 7px; border: 1px dashed rgba(86,240,178,.3); border-radius: 8px; background: rgba(86,240,178,.05); color: #aaf8d8; font-size: .7rem; font-weight: 800; }

.m10-coach { display: grid; grid-template-columns: 140px 1fr auto; gap: 22px; align-items: center; margin-top: 22px; padding: 22px; border: 1px solid rgba(255,214,83,.44); border-radius: 23px; background: linear-gradient(125deg, #192e70, #2c275f 72%, #4e2754); overflow: hidden; }
.m10-coach img { width: 128px; height: 150px; object-fit: cover; object-position: center 21%; border-radius: 18px; background: var(--m10-cream); }
.m10-coach h2 { margin: 0 0 7px; font: 700 1.65rem "Space Grotesk", sans-serif; }
.m10-coach p { margin: 0; color: #c7d4ef; line-height: 1.55; }
.m10-coach-list { display: grid; gap: 8px; max-width: 420px; }
.m10-coach-list span { padding: 9px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(8,17,48,.35); color: #e8f1ff; font-size: .82rem; }

.m10-final { padding: 42px 0 58px; background: var(--m10-cream); color: var(--m10-ink); }
.m10-final-grid { display: grid; grid-template-columns: 130px 1fr 130px; gap: 25px; align-items: center; }
.m10-final img { width: 125px; height: 145px; object-fit: cover; object-position: center 18%; border-radius: 22px; box-shadow: 6px 6px 0 var(--m10-yellow); }
.m10-final h2 { margin: 0 0 8px; font: 700 clamp(1.7rem, 4vw, 3.2rem)/1 "Space Grotesk", sans-serif; text-transform: uppercase; }
.m10-final p { margin: 0 0 17px; color: #445174; }
.m10-final .m10-hero-actions { justify-content: center; }
.m10-final-copy { text-align: center; }

.m10-loading { display: flex; justify-content: center; gap: 18px; align-items: center; min-height: 70vh; background: #07102f; color: #fff; }
.m10-loading img { width: 130px; height: 160px; object-fit: cover; object-position: center 20%; border-radius: 20px; }
.m10-loading div { display: grid; gap: 7px; }
.m10-loading small { color: var(--m10-yellow); font-weight: 900; }
.m10-loading strong { font: 700 1.4rem "Space Grotesk", sans-serif; }

.m10-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1120px) {
  .m10-rules { grid-template-columns: repeat(2, 1fr); }
  .m10-dashboard { grid-template-columns: repeat(2, 1fr); }
  .m10-panel { grid-column: span 6; }
  .m10-panel--wide, .m10-panel--full { grid-column: 1 / -1; }
  .m10-assistant { grid-template-columns: 1fr; }
  .m10-coach { grid-template-columns: 110px 1fr; }
  .m10-coach-list { grid-column: 1 / -1; max-width: none; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .m10-shell { width: min(100% - 22px, 680px); }
  .m10-hero { padding-top: 20px; }
  .m10-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .m10-hero h1 { font-size: clamp(2.35rem, 13.5vw, 4rem); }
  .m10-hero-console { width: 100%; max-width: none; justify-self: stretch; }
  .m10-hero-console img { height: 270px; }
  .m10-section-head { grid-template-columns: 1fr; gap: 12px; }
  .m10-command-bar { position: relative; top: auto; display: grid; }
  .m10-command-tools { justify-content: flex-start; }
  .m10-panel, .m10-panel--wide { grid-column: 1 / -1; }
  .m10-assistant-fields { grid-template-columns: 1fr; }
  .m10-week-head { display: grid; align-items: start; }
  .m10-week-actions { justify-content: flex-start; }
  .m10-week-grid { grid-template-columns: repeat(7, minmax(82vw, 1fr)); }
  .m10-coach { grid-template-columns: 90px 1fr; gap: 15px; }
  .m10-coach img { width: 90px; height: 112px; }
  .m10-coach h2 { font-size: 1.28rem; }
  .m10-coach-list { grid-template-columns: 1fr; }
  .m10-final-grid { grid-template-columns: 72px 1fr 72px; gap: 12px; }
  .m10-final img { width: 70px; height: 90px; border-radius: 15px; }
}

@media (max-width: 520px) {
  .m10-rules, .m10-dashboard, .m10-fields, .m10-templates { grid-template-columns: 1fr; }
  .m10-rule { min-height: 0; }
  .m10-field-wide { grid-column: auto; }
  .m10-command-tools .m10-tool { flex: 1 1 calc(50% - 5px); }
  .m10-panel { padding: 17px; }
  .m10-days { grid-template-columns: repeat(4, 1fr); }
  .m10-progress { grid-template-columns: 1fr auto; }
  .m10-progress > span { grid-column: 1 / -1; }
  .m10-final-grid { grid-template-columns: 1fr; text-align: center; }
  .m10-final img { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #schedule-command-app *, #schedule-command-app *::before, #schedule-command-app *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  @page { size: landscape; margin: 8mm; }
  body { background: #fff !important; }
  .rti-header, .rti-footer, .whatsapp-float, .m10-no-print, .m10-hero, .m10-status-ribbon, .m10-method, .m10-command-bar, .m10-alert, .m10-dashboard, .m10-progress, .m10-planner-grid, .m10-week-actions, .m10-drag-tip, .m10-free, .m10-coach, .m10-final { display: none !important; }
  #schedule-command-app { min-height: auto; background: #fff !important; color: #10204c; }
  .m10-workspace { padding: 0; }
  .m10-shell { width: 100%; }
  .m10-week-switcher { display: none; }
  .m10-week-section { margin: 0; }
  .m10-week-head { margin-bottom: 8mm; border-bottom: 3px solid #10204c; padding-bottom: 4mm; }
  .m10-week-head h2 { color: #10204c; font-size: 22pt; }
  .m10-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2.5mm; overflow: visible; }
  .m10-day { min-width: 0; min-height: 125mm; border: 1px solid #7481a7; background: #fff; color: #10204c; break-inside: avoid; }
  .m10-day > header { padding: 3mm; background: #10204c !important; color: #fff; print-color-adjust: exact; }
  .m10-day > header h3 { font-size: 10pt; }
  .m10-day > header span { color: #dce5ff; font-size: 7pt; }
  .m10-blocks { gap: 2mm; padding: 2.5mm; }
  .m10-block { padding: 2.2mm; border-color: #8090b5; border-left-color: var(--block-color); background: #f5f7ff !important; color: #10204c; print-color-adjust: exact; }
  .m10-block-title { color: #10204c; font-size: 7.5pt; }
  .m10-block-time, .m10-block-type { color: #34446d; font-size: 6.5pt; }
  .m10-block-actions { display: none; }
  .m10-empty { color: #68738e; }
}

/* Diseño claro y ordenado: recupera la estética original del horario. */
@media screen {
  body[data-rti-theme="schedule"] {
    --rti-deep: #30275d;
    --rti-mid: #70417e;
    --rti-accent: #ffd063;
    --rti-glow: #f49fc6;
    --rti-panel: #49356e;
    background: #fff8ea;
  }

  #schedule-command-app {
    --m10-ink: #102b4e;
    --m10-navy: #30275d;
    --m10-blue: #70417e;
    --m10-cyan: #73cfe6;
    --m10-yellow: #ffc629;
    --m10-coral: #d55c82;
    --m10-mint: #9bd9bd;
    --m10-cream: #fff7e6;
    --m10-paper: #ffffff;
    --m10-lilac: #dbc9e7;
    --m10-line: #ded1c5;
    color: var(--m10-ink);
    background:
      radial-gradient(circle at 9% 13%, rgba(255, 198, 41, .15), transparent 19rem),
      radial-gradient(circle at 94% 24%, rgba(213, 92, 130, .11), transparent 24rem),
      #fff9ed;
  }

  .m10-shell { width: min(1280px, calc(100% - 40px)); }
  .m10-eyebrow { color: #8f2947; letter-spacing: .11em; }

  .m10-hero {
    padding: 34px 0 42px;
    border-bottom: 1px solid #ead8c7;
    background: linear-gradient(135deg, #fff7e6 0%, #fffdf8 56%, #f8e8ef 100%);
  }
  .m10-hero::before,
  .m10-hero::after { animation: none; border-color: rgba(143, 41, 71, .12); }
  .m10-hero::before { width: 380px; height: 380px; right: -180px; top: -210px; }
  .m10-hero::after { display: none; }
  .m10-hero-grid { grid-template-columns: minmax(0, 1.16fr) minmax(320px, .72fr); gap: 52px; }
  .m10-back { margin-bottom: 18px; color: #70417e; }
  .m10-hero h1 {
    max-width: 760px;
    color: #102b4e;
    font-size: clamp(2.7rem, 5.6vw, 5.15rem);
    line-height: .96;
    letter-spacing: -.055em;
    text-transform: none;
  }
  .m10-hero h1 em { color: #8f2947; text-shadow: 3px 3px 0 #ffd76b; }
  .m10-hero-copy > p:not(.m10-eyebrow) { max-width: 720px; margin: 20px 0 24px; color: #4c5871; font-size: 1.08rem; }
  .m10-button { border-color: #102b4e; background: #ffc629; color: #102b4e; box-shadow: 4px 4px 0 #8f2947; }
  .m10-button--cyan { background: #bfeaf1; box-shadow: 4px 4px 0 #70417e; }
  .m10-ghost { border-color: #b9a8ba; background: #fff; color: #30275d; box-shadow: none; }
  .m10-tool { border-color: #d8c8d2; background: #fff; color: #30275d; box-shadow: none; }
  .m10-danger { border-color: #e3a9ba; background: #fff5f7; color: #8f2947; }

  .m10-hero-console {
    max-width: 420px;
    padding: 11px;
    border: 1px solid #d9c5b5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 11px 12px 0 #f1bfd0, 0 18px 45px rgba(62, 36, 58, .12);
    transform: rotate(1.1deg);
  }
  .m10-hero-console::before { inset: auto auto -13px 25%; z-index: 2; width: 50%; height: 28px; border: 0; border-radius: 2px; background: rgba(255, 218, 116, .78); transform: rotate(-2deg); }
  .m10-hero-console img { height: 325px; border-radius: 15px; object-position: center 43%; }
  .m10-console-strip { padding: 12px 7px 3px; color: #30275d; }
  .m10-console-strip strong { font-size: .85rem; }
  .m10-console-strip span { display: none; }

  .m10-method { padding: 38px 0; background: #fff; }
  .m10-section-head h2 { color: #102b4e; font-size: clamp(1.85rem, 3.5vw, 3rem); text-transform: none; }
  .m10-section-head p:last-child { color: #5c677d; }
  .m10-rules { gap: 12px; }
  .m10-rule {
    min-height: 160px;
    padding: 20px;
    border-color: #e4d7ca;
    border-radius: 16px;
    background: #fffaf2;
    box-shadow: none;
  }
  .m10-rule:nth-child(2) { background: #f4f0fa; }
  .m10-rule:nth-child(3) { background: #fff2f5; }
  .m10-rule:nth-child(4) { background: #f0f9f4; }
  .m10-rule span { width: 35px; height: 35px; margin-bottom: 14px; }
  .m10-rule h3 { color: #102b4e; }
  .m10-rule p { color: #5d677b; font-size: .92rem; }

  .m10-workspace { padding: 34px 0 68px; background: #fff9ed; }
  .m10-command-bar {
    position: relative;
    top: auto;
    margin-bottom: 14px;
    border-color: #dfd0c4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(59, 40, 54, .07);
    backdrop-filter: none;
  }
  .m10-command-title b { background: #f4d8e2; color: #8f2947; }
  .m10-command-title strong { color: #102b4e; }
  .m10-command-title small { color: #6b7488; }
  .m10-week-tab { border-color: #d8c9d4; background: #fff; color: #5a4668; }
  .m10-week-tab[aria-selected="true"] { border-color: #30275d; background: #30275d; color: #fff; box-shadow: 3px 3px 0 #ffc629; }

  .m10-alert { border-color: #b8d5dc; background: #eefafd; color: #102b4e; }
  .m10-alert--error { border-color: #dfa0b1; background: #fff0f4; color: #72203a; }
  .m10-alert--success { border-color: #a8d5bd; background: #eef9f3; color: #18533d; }

  .m10-dashboard { gap: 10px; }
  .m10-stat {
    min-height: 112px;
    padding: 17px;
    border-color: #e0d4c8;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(69, 48, 57, .05);
  }
  .m10-stat::after { border-color: rgba(112, 65, 126, .07); }
  .m10-stat span { color: #6e7485; }
  .m10-stat strong { color: #102b4e; }
  .m10-stat small { color: #667084; }
  .m10-stat--gold { border-color: #e6c757; background: #fffae8; }
  .m10-stat--gold strong { color: #8f2947; }
  .m10-progress > span { color: #59647b; }
  .m10-progress-track { border-color: #d5c8bf; background: #eee8e1; }
  .m10-progress-track i { background: linear-gradient(90deg, #70417e, #d55c82, #ffc629); box-shadow: none; }
  .m10-progress b { color: #8f2947; }

  .m10-planner-grid { gap: 14px; }
  .m10-panel {
    padding: 21px;
    border-color: #ded1c5;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(60, 41, 52, .06);
  }
  .m10-panel-head > span { background: #f4d8e2; color: #8f2947; }
  .m10-panel-head small { color: #8f2947; }
  .m10-panel h3 { color: #102b4e; }
  .m10-panel > p { color: #626b7d; }
  .m10-panel label,
  .m10-panel legend { color: #2f3b56; }
  .m10-panel input,
  .m10-panel select { border-color: #d7c9bf; background: #fffdf8; color: #102b4e; }
  .m10-panel input:focus,
  .m10-panel select:focus { border-color: #8f2947; box-shadow: 0 0 0 3px rgba(143,41,71,.1); }
  .m10-day-pick { border-color: #d8ccd0; background: #fff; color: #5b6070; }
  .m10-day-pick[aria-pressed="true"] { border-color: #30275d; background: #30275d; color: #fff; }
  .m10-check { border-color: #dbcfd0; background: #fffaf7; }
  .m10-check small { color: #687184; }
  .m10-focus-note { border-left-color: #ffc629; background: #fff8dd; color: #4a5368; }

  .m10-compact-templates { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0 0 15px; padding: 10px; border-radius: 11px; background: #f8f2f5; }
  .m10-compact-templates span { margin-right: 3px; color: #6c5367; font-size: .82rem; font-weight: 800; }
  .m10-compact-templates button { min-height: 33px; padding: 6px 10px; border: 1px solid #ceb8c6; border-radius: 9px; background: #fff; color: #70417e; font-size: .8rem; font-weight: 800; }
  .m10-compact-templates button:hover { border-color: #8f2947; color: #8f2947; }

  .m10-assistant-copy > span { background: #ffc629; color: #102b4e; }
  .m10-assistant-copy p { color: #626c7f; }
  .m10-week-head h2 { color: #102b4e; text-transform: none; }
  .m10-drag-tip { color: #646f82; }
  .m10-week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; overflow: visible; padding-bottom: 4px; }
  .m10-day { min-width: 0; min-height: 290px; border-color: #dcd0c6; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(59, 40, 50, .05); }
  .m10-day > header { padding: 14px; border-color: #dfd1c7; background: #30275d; }
  .m10-day > header small { color: #ffd76b; }
  .m10-day > header span { color: #ded7e6; }
  .m10-block { border-color: #d9ced1; background: color-mix(in srgb, var(--block-color) 10%, white); }
  .m10-block-time { color: #70417e; }
  .m10-block-title { color: #102b4e; }
  .m10-block-type { color: #6e7483; }
  .m10-block-actions button { border-color: #ddd1cf; background: #fff; color: #535d71; }
  .m10-empty { color: #7d8493; }
  .m10-free { border-color: #e5d9d0; }
  .m10-free > span { color: #777d89; }
  .m10-free button { border-color: #add1c0; background: #f3fbf7; color: #286149; }

  .m10-coach { grid-template-columns: 62px minmax(0, 1fr) minmax(280px, .7fr); gap: 18px; padding: 20px; border-color: #e0c458; border-radius: 18px; background: #fff9df; box-shadow: none; }
  .m10-coach-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #ffc629; color: #102b4e; font-size: 1.5rem; font-weight: 900; }
  .m10-coach h2 { color: #102b4e; }
  .m10-coach p { color: #616a7d; }
  .m10-coach-list span { border-color: #eadca8; background: #fff; color: #4f586c; }

  .m10-final { padding: 38px 0 44px; border-top: 1px solid #ead5dc; background: #f9eaf0; color: #102b4e; }
  .m10-final-grid { display: block; }
  .m10-final-copy { max-width: 760px; margin-inline: auto; }
  .m10-final h2 { text-transform: none; }
  .m10-final p { color: #596276; }
  .m10-final .m10-ghost { color: #30275d; border-color: #a991ac; }
}

@media screen and (max-width: 1120px) {
  .m10-week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m10-coach { grid-template-columns: 58px 1fr; }
  .m10-coach-list { grid-column: 2; grid-template-columns: 1fr; }
}

@media screen and (max-width: 780px) {
  .m10-shell { width: min(100% - 24px, 680px); }
  .m10-hero { padding: 23px 0 33px; }
  .m10-hero-grid { grid-template-columns: 1fr; gap: 27px; }
  .m10-hero h1 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
  .m10-hero-console { width: 100%; max-width: 430px; justify-self: center; }
  .m10-hero-console img { height: 285px; }
  .m10-method { padding: 31px 0; }
  .m10-command-bar { display: grid; }
  .m10-command-tools { justify-content: flex-start; }
  .m10-week-grid { grid-template-columns: 1fr; gap: 13px; overflow: visible; }
  .m10-day { min-height: 0; }
  .m10-coach { grid-template-columns: 50px 1fr; }
  .m10-coach-mark { width: 46px; height: 46px; }
  .m10-coach-list { grid-column: 1 / -1; }
}

@media screen and (max-width: 520px) {
  .m10-rules,
  .m10-dashboard,
  .m10-fields { grid-template-columns: 1fr; }
  .m10-command-tools .m10-tool { flex: 1 1 calc(50% - 5px); }
  .m10-week-switcher { display: grid; grid-template-columns: 1fr; }
  .m10-week-tab,
  .m10-week-switcher .m10-ghost { width: 100%; }
  .m10-week-actions { display: grid; grid-template-columns: 1fr; }
  .m10-week-actions button { width: 100%; }
  .m10-compact-templates span { flex-basis: 100%; }
}

/* Estación del Tiempo: carátula de reloj vintage, sin perder el planificador. */
#schedule-command-app {
  --m10-yellow: #f8cf69;
  --m10-cream: #fff7df;
  background: radial-gradient(circle at 85% 4%,#76512d55,transparent 30rem),repeating-linear-gradient(0deg,#0b1b38 0 34px,#0d2243 35px 36px);
}
.m10-hero {
  background: linear-gradient(120deg,#102d50,#241e3b 70%,#453425);
  border-bottom: 10px double #e5b85d;
}
.m10-hero-copy { position: relative; }
.m10-clock {
  display: grid; place-items: center; width: min(190px,100%); aspect-ratio: 1;
  margin: 0 0 15px; padding: 17px; text-align: center;
  border: 8px double #eac36d; border-radius: 50%;
  background: radial-gradient(circle,#fff9e9 0 45%,#e3d6b5 75%,#725637 100%);
  box-shadow: inset 0 0 0 5px #15304f,inset 0 0 22px #30211388,0 10px 0 #081b34,0 18px 35px #0007;
  color: #142c4c;
}
.m10-clock-mark { font: 800 .64rem Georgia,serif; letter-spacing: .08em; }
.m10-clock time { font: 800 clamp(1.9rem,3vw,2.45rem)/1 Georgia,serif; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.m10-clock small { max-width: 145px; white-space: normal; font: 900 .55rem/1.25 'Trebuchet MS',sans-serif; letter-spacing: .04em; }
.m10-hero h1 { font-family: Georgia,'Times New Roman',serif; font-size: clamp(2.5rem,4.7vw,4.8rem); font-weight: 900; letter-spacing: -.04em; text-transform: none; }
.m10-hero h1 em { color: #f8cf69; text-shadow: 3px 3px 0 #483029; }
.m10-hero-console { border: 6px solid #eac36d; box-shadow: 12px 16px 0 #0c1b32,0 28px 48px #0008; }
.m10-command-bar { border: 3px solid #d5a959; box-shadow: 6px 8px 0 #081b34; }
.m10-week-section { border: 4px solid #d7ae61; box-shadow: 8px 11px 0 #081b34; }
.m10-day { border: 3px solid #193a5d; box-shadow: 4px 5px 0 #0b2240; }
.m10-day > header { border-bottom: 4px double #dab465; }
.m10-block-time { font-variant-numeric: tabular-nums; }
.m10-print-brand,.m10-print-credit { display: none; }
@media (max-width: 720px) {
  .m10-clock { width: 165px; margin-inline: auto; padding: 13px; }
  .m10-clock time { font-size: 2rem; }
  .m10-hero h1 { text-align: center; }
}
@media print {
  #schedule-command-app { background: #fff !important; }
  .m10-print-brand { display: flex; align-items: center; gap: 3mm; padding: 2mm 3mm; margin-bottom: 4mm; border-bottom: 2px solid #bc9150; color: #102b4c; }
  .m10-print-brand div { flex: 1; display: grid; }
  .m10-print-brand strong { font: 800 15pt Georgia,serif; }
  .m10-print-brand span { font: 9pt 'Trebuchet MS',sans-serif; }
  .m10-print-brand img { width: 13mm; height: 13mm; object-fit: contain; }
  .m10-print-credit { display: block; margin: 5mm 0 0; text-align: center; font: 8pt 'Trebuchet MS',sans-serif; color: #17385d; }
  .m10-week-section { border: 0; box-shadow: none; }
}

/* Etapa 5 · controles táctiles claros dentro del planificador. */
@media screen {
  .m10-day-pick,
  .m10-focus,
  .m10-free button,
  .m10-compact-templates button { min-height: 44px; }
  .m10-block-actions button { min-height: 40px; padding: 7px 10px; font-size: .74rem; }
}

@media screen and (max-width: 780px) {
  .m10-block-actions button { min-height: 44px; }
  .m10-free button { font-size: .76rem; }
}

/* Misión 10 · Mesa creativa de estudio
   Capa visual final: post-its, papel y colores claros sin tocar la lógica del horario. */
@media screen {
  body[data-rti-theme="schedule"] {
    --rti-deep: #17355c;
    --rti-mid: #4f5f9b;
    --rti-accent: #ffd467;
    --rti-glow: #8be3d1;
    --rti-panel: #334a78;
    background: #f8f3e8;
  }

  #schedule-command-app {
    --m10-ink: #17355c;
    --m10-navy: #17355c;
    --m10-blue: #5573ba;
    --m10-cyan: #9fe7f2;
    --m10-yellow: #ffd768;
    --m10-coral: #ef6f87;
    --m10-mint: #a9e4c5;
    --m10-cream: #fff7e5;
    --m10-paper: #fffdf7;
    --m10-lilac: #d9ccf2;
    --m10-line: #c8d9df;
    color: #263b59;
    font-family: "Trebuchet MS", "Avenir Next", system-ui, sans-serif;
    background:
      radial-gradient(circle at 10% 9%, rgba(255, 215, 104, .35), transparent 18rem),
      radial-gradient(circle at 90% 25%, rgba(239, 111, 135, .17), transparent 22rem),
      linear-gradient(rgba(23, 53, 92, .045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(23, 53, 92, .045) 1px, transparent 1px),
      #fbf7ee;
    background-size: auto, auto, 32px 32px, 32px 32px, auto;
  }

  #schedule-command-app :where(h1, h2, h3, strong, button) {
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  }

  .m10-shell { width: min(1320px, calc(100% - 42px)); }
  .m10-eyebrow { color: #a53355; letter-spacing: .105em; }

  .m10-hero {
    padding: 44px 0 53px;
    border-bottom: 5px solid #17355c;
    background:
      radial-gradient(circle at 15% 20%, rgba(255, 215, 104, .5), transparent 21rem),
      radial-gradient(circle at 87% 21%, rgba(153, 225, 208, .42), transparent 22rem),
      linear-gradient(150deg, #fff8e5 0%, #fffdf7 54%, #eaf7f5 100%);
    overflow: hidden;
  }

  .m10-hero::before {
    width: 430px;
    height: 430px;
    right: -180px;
    top: -210px;
    border: 34px dotted rgba(84, 107, 170, .13);
    animation: m10-orbit 36s linear infinite;
  }

  .m10-hero::after {
    display: block;
    width: 230px;
    height: 230px;
    left: -120px;
    bottom: -150px;
    border: 24px dotted rgba(239, 111, 135, .15);
    animation: none;
  }

  .m10-hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(330px, .72fr); gap: 64px; }
  .m10-back { margin-bottom: 21px; color: #4d5682; }
  .m10-kicker { gap: 8px; }
  .m10-chip { border-color: #aacbd1; background: #fff; color: #17355c; }

  .m10-hero h1 {
    max-width: 790px;
    color: #17355c;
    font-size: clamp(2.9rem, 5.8vw, 5.8rem);
    line-height: .94;
    letter-spacing: -.055em;
    text-transform: none;
    text-wrap: balance;
  }

  .m10-hero h1 em {
    position: relative;
    display: inline-block;
    color: #b63c61;
    text-shadow: 3px 3px 0 #ffd768;
  }

  .m10-hero h1 em::after {
    position: absolute;
    left: 3%;
    right: -2%;
    bottom: -9px;
    height: 10px;
    background: #8be3d1;
    border-radius: 50%;
    transform: rotate(-1deg);
    content: "";
    opacity: .7;
  }

  .m10-hero-copy > p:not(.m10-eyebrow) {
    max-width: 760px;
    margin: 24px 0 18px;
    color: #526179;
    font-size: 1rem;
    line-height: 1.67;
  }

  .m10-note-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 24px;
  }

  .m10-note-row span {
    position: relative;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px 8px 30px;
    color: #17355c;
    background: #fff0a8;
    border: 1px solid #cfb44d;
    border-radius: 7px;
    box-shadow: 2px 3px 0 rgba(23, 53, 92, .15);
    font-size: .78rem;
    font-weight: 850;
    transform: rotate(-.7deg);
  }

  .m10-note-row span:nth-child(2) { background: #ccefdc; border-color: #79b896; transform: rotate(.7deg); }
  .m10-note-row span:nth-child(3) { background: #ffd5df; border-color: #d994a5; transform: rotate(-.2deg); }
  .m10-note-row span::before { position: absolute; left: 11px; color: #40846a; content: "✓"; font-weight: 950; }

  .m10-button {
    min-height: 50px;
    border-color: #17355c;
    border-radius: 13px;
    background: #ffd768;
    color: #17355c;
    box-shadow: 5px 5px 0 #ef6f87;
  }
  .m10-button--cyan { background: #9fe7f2; box-shadow: 5px 5px 0 #5573ba; }
  .m10-ghost { border-color: #9ca9c2; background: #fff; color: #17355c; }
  .m10-tool { border-color: #bdcadd; background: #fff; color: #17355c; box-shadow: 0 3px 0 #dfe5ec; }
  .m10-danger { border-color: #dda4b3; background: #fff2f5; color: #982d4e; }

  .m10-hero-console {
    max-width: 430px;
    padding: 12px 12px 10px;
    border: 3px solid #17355c;
    border-radius: 18px;
    background: #fff;
    box-shadow: 13px 14px 0 #ffd768, 20px 23px 0 #ef6f87, 0 28px 55px rgba(23, 53, 92, .18);
    transform: rotate(1.4deg);
  }

  .m10-hero-console::before {
    inset: -16px auto auto 28%;
    z-index: 3;
    width: 45%;
    height: 30px;
    border: 0;
    border-radius: 2px;
    background: rgba(154, 224, 208, .86);
    transform: rotate(-3deg);
  }

  .m10-hero-console img { height: 330px; border-radius: 11px; object-position: center 43%; }
  .m10-console-strip { color: #17355c; }
  .m10-console-strip strong { font-size: .87rem; letter-spacing: .035em; text-transform: none; }
  .m10-console-strip i { background: #8be3d1; box-shadow: none; }
  .m10-console-strip i:nth-child(2) { background: #ffd768; }
  .m10-console-strip i:nth-child(3) { background: #ef6f87; }

  .m10-status-ribbon { border-color: #17355c; background: #17355c; color: #fff; }
  .m10-status-ribbon div { font-family: "Trebuchet MS", system-ui, sans-serif; }

  .m10-method { padding: 54px 0 64px; background: #f7fbff; }
  .m10-section-head h2 { color: #17355c; font-size: clamp(2.1rem, 4vw, 3.8rem); text-transform: none; }
  .m10-section-head p:last-child { color: #5b6980; }
  .m10-rules { gap: 18px; align-items: start; }

  .m10-rule {
    position: relative;
    min-height: 190px;
    padding: 28px 23px 23px;
    color: #17355c;
    border: 2px solid #17355c;
    border-radius: 7px;
    background: #fff0a8;
    box-shadow: 7px 8px 0 rgba(23, 53, 92, .17);
    transform: rotate(-1.1deg);
    overflow: visible;
  }

  .m10-rule:nth-child(2) { background: #ccefdc; transform: rotate(.8deg); }
  .m10-rule:nth-child(3) { background: #ffd5df; transform: rotate(-.4deg); }
  .m10-rule:nth-child(4) { background: #cde9ff; transform: rotate(1deg); }
  .m10-rule::before {
    position: absolute;
    left: 31%;
    top: -11px;
    width: 38%;
    height: 24px;
    background: rgba(255, 255, 255, .64);
    box-shadow: 0 1px 3px rgba(23, 53, 92, .08);
    content: "";
  }
  .m10-rule span { width: 39px; height: 39px; margin-bottom: 17px; background: #17355c; color: #fff; }
  .m10-rule:nth-child(2) span { background: #287452; color: #fff; }
  .m10-rule:nth-child(3) span { background: #aa395b; }
  .m10-rule:nth-child(4) span { background: #336b9e; color: #fff; }
  .m10-rule h3 { color: #17355c; font-size: 1.08rem; }
  .m10-rule p { color: #4c5f72; }

  .m10-workspace {
    padding: 43px 0 82px;
    background:
      linear-gradient(rgba(23, 53, 92, .055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(23, 53, 92, .055) 1px, transparent 1px),
      #fbf7ee;
    background-size: 30px 30px;
  }

  .m10-command-bar {
    position: relative;
    top: auto;
    margin-bottom: 20px;
    padding: 14px 15px;
    border: 3px solid #17355c;
    border-radius: 15px;
    background: #fffdf8;
    box-shadow: 7px 8px 0 #9fe7f2;
    backdrop-filter: none;
  }
  .m10-command-bar::before {
    position: absolute;
    left: 32px;
    top: -12px;
    width: 130px;
    height: 24px;
    background: rgba(255, 215, 104, .8);
    transform: rotate(-1.3deg);
    content: "";
  }
  .m10-command-title b { background: #ffd768; color: #17355c; }
  .m10-command-title strong { color: #17355c; }
  .m10-command-title small { color: #66758b; }

  .m10-week-tab { border-color: #b8c4d4; background: #fff; color: #4d5f7a; }
  .m10-week-tab[aria-selected="true"] { border-color: #17355c; background: #17355c; color: #fff; box-shadow: 4px 4px 0 #ffd768; }
  .m10-alert { border-color: #78bac3; background: #e9f9fb; color: #17355c; }
  .m10-alert--error { border-color: #d8859b; background: #fff0f3; color: #7a243e; }
  .m10-alert--success { border-color: #7db798; background: #edf9f2; color: #20563f; }

  .m10-dashboard { gap: 16px; margin-top: 24px; }
  .m10-stat {
    min-height: 124px;
    padding: 24px 19px 18px;
    color: #17355c;
    border: 2px solid #17355c;
    border-radius: 7px;
    background: #fff0a8;
    box-shadow: 5px 6px 0 rgba(23, 53, 92, .15);
    transform: rotate(-.6deg);
    overflow: visible;
  }
  .m10-stat:nth-child(2) { background: #ccefdc; transform: rotate(.5deg); }
  .m10-stat:nth-child(3) { background: #cde9ff; transform: rotate(-.25deg); }
  .m10-stat:nth-child(4) { background: #ffd5df; transform: rotate(.6deg); }
  .m10-stat::before { position: absolute; left: 36%; top: -10px; width: 28%; height: 20px; background: rgba(255,255,255,.62); content: ""; }
  .m10-stat::after { display: none; }
  .m10-stat span { color: #50627a; }
  .m10-stat strong { color: #17355c; }
  .m10-stat small { color: #5f6c7b; }
  .m10-stat--gold { border-color: #17355c; }
  .m10-stat--gold strong { color: #9f3152; }
  .m10-progress > span { color: #52657d; }
  .m10-progress-track { height: 16px; border: 2px solid #17355c; background: #fff; }
  .m10-progress-track i { background: linear-gradient(90deg, #8be3d1, #ffd768, #ef6f87); box-shadow: none; }
  .m10-progress b { color: #a53355; }

  .m10-planner-grid { gap: 18px; }
  .m10-panel {
    position: relative;
    padding: 25px;
    border: 2px solid #17355c;
    border-radius: 13px;
    background:
      linear-gradient(90deg, transparent 0 34px, rgba(239, 111, 135, .16) 35px 37px, transparent 38px),
      repeating-linear-gradient(#fffdf8 0 35px, #d9e7ec 36px, #fffdf8 37px);
    box-shadow: 8px 9px 0 #d7e8ed;
  }
  .m10-panel:nth-child(2) { box-shadow: 8px 9px 0 #f4cad4; }
  .m10-panel:nth-child(3) { box-shadow: 8px 9px 0 #d4e8c9; }
  .m10-panel:nth-child(4) { box-shadow: 8px 9px 0 #e4d7f3; }
  .m10-panel::before {
    position: absolute;
    right: 22px;
    top: -10px;
    width: 105px;
    height: 22px;
    background: rgba(255, 215, 104, .72);
    transform: rotate(1deg);
    content: "";
  }
  .m10-panel:nth-child(2)::before { background: rgba(239,111,135,.47); transform: rotate(-1deg); }
  .m10-panel:nth-child(3)::before { background: rgba(139,227,209,.65); }
  .m10-panel:nth-child(4)::before { background: rgba(207,191,237,.7); }
  .m10-panel-head > span { background: #17355c; color: #fff; box-shadow: 3px 3px 0 #ffd768; }
  .m10-panel-head small { color: #a53355; }
  .m10-panel h3 { color: #17355c; }
  .m10-panel > p { color: #5d6b7d; }
  .m10-panel label,
  .m10-panel legend { color: #2f4663; }
  .m10-panel input,
  .m10-panel select { border: 2px solid #bac9d4; background: rgba(255, 255, 255, .92); color: #17355c; }
  .m10-panel input:focus,
  .m10-panel select:focus { border-color: #5573ba; box-shadow: 0 0 0 3px rgba(85, 115, 186, .14); }
  .m10-day-pick { border-color: #b5c5d3; background: #fff; color: #4d5c70; }
  .m10-day-pick[aria-pressed="true"] { border-color: #17355c; background: #17355c; color: #fff; box-shadow: 2px 2px 0 #ffd768; }
  .m10-check { border-color: #d7b9c1; background: rgba(255, 238, 242, .82); }
  .m10-check small { color: #667287; }
  .m10-focus-note { border-left-color: #ef6f87; background: rgba(255, 223, 230, .86); color: #4c5b70; }
  .m10-compact-templates { background: rgba(207, 233, 255, .76); border: 1px solid #aacbdf; }
  .m10-compact-templates span { color: #405975; }
  .m10-compact-templates button { border-color: #8aa8c0; background: #fff; color: #375a80; }
  .m10-assistant-copy > span { background: #ef6f87; color: #fff; box-shadow: 3px 3px 0 #17355c; }
  .m10-assistant-copy p { color: #5d6b7d; }

  .m10-week-section { margin-top: 38px; padding-top: 26px; border-top: 3px dashed #b5c9d3; }
  .m10-week-head h2 { color: #17355c; font-size: clamp(2rem, 4vw, 3.5rem); text-transform: none; }
  .m10-drag-tip { color: #5e6d82; }
  .m10-week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; overflow: visible; }
  .m10-day {
    position: relative;
    min-width: 0;
    min-height: 300px;
    border: 2px solid #17355c;
    border-radius: 8px;
    background: #fff0a8;
    box-shadow: 6px 7px 0 rgba(23, 53, 92, .14);
    overflow: visible;
  }
  .m10-day:nth-child(2) { background: #ccefdc; }
  .m10-day:nth-child(3) { background: #ffd5df; }
  .m10-day:nth-child(4) { background: #cde9ff; }
  .m10-day:nth-child(5) { background: #e4d9ff; }
  .m10-day:nth-child(6) { background: #ffd9bd; }
  .m10-day:nth-child(7) { background: #dcefc9; }
  .m10-day::before { position: absolute; left: 34%; top: -9px; width: 32%; height: 19px; background: rgba(255,255,255,.64); content: ""; }
  .m10-day > header { padding: 15px; border-color: rgba(23,53,92,.22); background: rgba(255, 255, 255, .38); }
  .m10-day > header small { color: #a53355; }
  .m10-day > header h3 { color: #17355c; }
  .m10-day > header span { color: #5f6e81; }
  .m10-blocks { padding: 10px; }
  .m10-block { border-color: rgba(23, 53, 92, .22); background: rgba(255, 255, 255, .82); box-shadow: 0 3px 0 rgba(23,53,92,.08); }
  .m10-block-time { color: #445d7b; }
  .m10-block-title { color: #17355c; }
  .m10-block-type { color: #69768a; }
  .m10-block-actions button { border-color: #c5d0d8; background: #fff; color: #475970; }
  .m10-empty { color: #607085; }
  .m10-free { border-color: rgba(23,53,92,.2); }
  .m10-free > span { color: #647287; }
  .m10-free button { border-color: #7cb69b; background: rgba(255,255,255,.66); color: #28654a; }

  .m10-coach {
    grid-template-columns: 64px minmax(0, 1fr) minmax(280px, .75fr);
    gap: 19px;
    padding: 23px;
    border: 2px solid #17355c;
    border-radius: 13px;
    background: #fff0a8;
    box-shadow: 7px 8px 0 #efc75e;
  }
  .m10-coach-mark { width: 56px; height: 56px; background: #17355c; color: #fff; box-shadow: 3px 3px 0 #ef6f87; }
  .m10-coach h2 { color: #17355c; }
  .m10-coach p { color: #5b687b; }
  .m10-coach-list span { border-color: #dbc570; background: rgba(255,255,255,.68); color: #4a5a70; }

  .m10-final { padding: 47px 0 53px; border-top: 5px solid #17355c; background: linear-gradient(135deg, #dff6f0, #fff5cf 52%, #f9dce4); color: #17355c; }
  .m10-final h2 { color: #17355c; text-transform: none; }
  .m10-final p { color: #536176; }
  .m10-final .m10-ghost { color: #17355c; border-color: #8395ad; }
  .m10-loading { background: #fff7e5; color: #17355c; }
  .m10-loading small { color: #a53355; }
}

@media screen and (max-width: 1120px) {
  .m10-rule,
  .m10-stat { transform: none !important; }
  .m10-week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m10-coach { grid-template-columns: 58px 1fr; }
  .m10-coach-list { grid-column: 2; grid-template-columns: 1fr; }
}

@media screen and (max-width: 780px) {
  .m10-shell { width: min(100% - 24px, 680px); }
  .m10-hero { padding: 28px 0 39px; }
  .m10-hero-grid { grid-template-columns: 1fr; gap: 33px; }
  .m10-hero h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .m10-hero-console { width: 100%; max-width: 430px; justify-self: center; transform: none; }
  .m10-hero-console img { height: 285px; }
  .m10-method { padding: 42px 0 49px; }
  .m10-rule { min-height: 0; transform: none; }
  .m10-command-bar { display: grid; }
  .m10-command-tools { justify-content: flex-start; }
  .m10-week-grid { grid-template-columns: 1fr; gap: 17px; overflow: visible; }
  .m10-day { min-height: 0; }
  .m10-coach { grid-template-columns: 50px 1fr; }
  .m10-coach-mark { width: 47px; height: 47px; }
  .m10-coach-list { grid-column: 1 / -1; }
}

@media screen and (max-width: 520px) {
  .m10-rules,
  .m10-dashboard,
  .m10-fields { grid-template-columns: 1fr; }
  .m10-note-row { display: grid; }
  .m10-note-row span { transform: none !important; }
  .m10-command-tools .m10-tool { flex: 1 1 calc(50% - 5px); }
  .m10-week-switcher { display: grid; grid-template-columns: 1fr; }
  .m10-week-tab,
  .m10-week-switcher .m10-ghost { width: 100%; }
  .m10-week-actions { display: grid; grid-template-columns: 1fr; }
  .m10-week-actions button { width: 100%; }
  .m10-panel { padding: 21px 18px; }
}

/* Misión 10 · Centro de Planificación Semanal
   Capa visual definitiva: futurista, colorida y con los siete días en una sola ruta. */
@media screen {
  body[data-rti-theme="schedule"] {
    --rti-deep: #081b42;
    --rti-mid: #263b86;
    --rti-accent: #ffd34f;
    --rti-glow: #5ae8f4;
    --rti-panel: #192c65;
    background: #eef4ff;
  }

  #schedule-command-app {
    --m10-ink: #10234b;
    --m10-navy: #081b42;
    --m10-blue: #4f64e9;
    --m10-cyan: #58e7f2;
    --m10-yellow: #ffd45c;
    --m10-coral: #ff669e;
    --m10-mint: #77ebc0;
    --m10-violet: #986ff4;
    --m10-paper: #f8fbff;
    --m10-line: #c6d7ef;
    color: #20365e;
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
    background:
      radial-gradient(circle at 8% 13%, rgba(88, 231, 242, .2), transparent 21rem),
      radial-gradient(circle at 92% 30%, rgba(255, 102, 158, .14), transparent 23rem),
      linear-gradient(rgba(31, 75, 139, .045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(31, 75, 139, .045) 1px, transparent 1px),
      #eef4ff;
    background-size: auto, auto, 36px 36px, 36px 36px, auto;
  }

  #schedule-command-app :where(h1, h2, h3, strong, button) {
    font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  }

  .m10-shell { width: min(1500px, calc(100% - 44px)); }
  .m10-eyebrow { color: #2d6dd0; font-weight: 950; letter-spacing: .12em; }

  .m10-hero {
    position: relative;
    padding: 58px 0 66px;
    color: #fff;
    border-bottom: 6px solid #58e7f2;
    background:
      radial-gradient(circle at 11% 28%, rgba(88, 231, 242, .27), transparent 24rem),
      radial-gradient(circle at 82% 22%, rgba(255, 102, 158, .2), transparent 24rem),
      radial-gradient(circle at 72% 92%, rgba(152, 111, 244, .3), transparent 24rem),
      linear-gradient(132deg, #06152f 0%, #102a62 50%, #372369 100%);
    overflow: hidden;
  }

  .m10-hero::before {
    inset: -170px -120px auto auto;
    width: 520px;
    height: 520px;
    border: 2px solid rgba(88, 231, 242, .35);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 35px, rgba(88, 231, 242, .08) 36px 38px);
    animation: m10-orbit 34s linear infinite;
  }

  .m10-hero::after {
    display: block;
    inset: auto auto -205px -130px;
    width: 450px;
    height: 450px;
    border: 50px solid rgba(255, 212, 92, .08);
    border-radius: 50%;
    background: none;
    animation: none;
  }

  .m10-hero-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .62fr);
    gap: clamp(40px, 6vw, 92px);
  }

  .m10-back {
    margin-bottom: 24px;
    color: #bdeffc;
    border-color: rgba(189, 239, 252, .4);
    background: rgba(4, 19, 47, .38);
  }

  .m10-hero .m10-eyebrow {
    width: fit-content;
    margin-bottom: 15px;
    padding: 8px 13px;
    color: #071a3d;
    background: #75edcf;
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 4px 4px 0 #156d8b;
  }

  .m10-hero h1 {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.55rem, 6.6vw, 7.1rem);
    font-weight: 950;
    line-height: .84;
    letter-spacing: -.07em;
    text-transform: none;
    text-wrap: balance;
    text-shadow: 5px 6px 0 rgba(4, 19, 47, .72);
  }

  .m10-hero h1 em {
    position: relative;
    display: inline-block;
    margin-top: 8px;
    color: #ffd45c;
    font-style: normal;
    text-shadow: 4px 5px 0 #b43879;
  }

  .m10-hero h1 em::after {
    left: 4%;
    right: 0;
    bottom: -13px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #58e7f2, #77ebc0, #ff669e);
    box-shadow: 0 0 22px rgba(88, 231, 242, .7);
    opacity: 1;
  }

  .m10-hero-copy > p:not(.m10-eyebrow) {
    max-width: 790px;
    margin: 31px 0 20px;
    color: #d9e8ff;
    font-size: 1.08rem;
    line-height: 1.7;
  }

  .m10-note-row { gap: 10px; margin: 20px 0 28px; }
  .m10-note-row span {
    min-height: 42px;
    padding: 9px 14px 9px 35px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    box-shadow: inset 0 0 0 1px rgba(88,231,242,.09), 0 8px 18px rgba(2,13,36,.18);
    transform: none !important;
    backdrop-filter: blur(10px);
  }
  .m10-note-row span:nth-child(2),
  .m10-note-row span:nth-child(3) { color: #fff; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.1); }
  .m10-note-row span::before { left: 14px; color: #75edcf; }

  .m10-button {
    min-height: 54px;
    padding-inline: 20px;
    color: #091d43;
    background: linear-gradient(135deg, #ffd45c, #ffbd55);
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 6px 7px 0 #ff669e, 0 14px 30px rgba(2,13,36,.22);
    font-weight: 950;
  }
  .m10-button--cyan { background: linear-gradient(135deg, #58e7f2, #75edcf); box-shadow: 6px 7px 0 #4f64e9; }

  .m10-hero-console {
    position: relative;
    max-width: 465px;
    padding: 12px;
    border: 3px solid #58e7f2;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,.19), rgba(255,255,255,.055));
    box-shadow: 0 0 0 8px rgba(88,231,242,.09), 17px 19px 0 rgba(4,19,47,.55), 0 0 60px rgba(88,231,242,.26);
    transform: rotate(1deg);
    backdrop-filter: blur(12px);
  }

  .m10-hero-console::before {
    inset: 19px 19px auto auto;
    z-index: 3;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #75edcf;
    box-shadow: 0 0 0 7px rgba(117,237,207,.18), 0 0 25px #75edcf;
    transform: none;
  }

  .m10-hero-console img {
    height: 400px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 23px;
    object-position: center 43%;
  }

  .m10-console-strip { padding: 14px 8px 5px; color: #fff; }
  .m10-console-strip strong { font-size: .86rem; letter-spacing: .07em; text-transform: uppercase; }
  .m10-console-strip i { background: #58e7f2; box-shadow: 0 0 9px #58e7f2; }
  .m10-console-strip i:nth-child(2) { background: #ffd45c; box-shadow: 0 0 9px #ffd45c; }
  .m10-console-strip i:nth-child(3) { background: #ff669e; box-shadow: 0 0 9px #ff669e; }

  .m10-method {
    padding: 63px 0 70px;
    background:
      radial-gradient(circle at 6% 18%, rgba(88,231,242,.2), transparent 17rem),
      linear-gradient(135deg, #f8fbff, #edf3ff 65%, #f5efff);
  }
  .m10-section-head h2 {
    color: #10234b;
    font-size: clamp(2.5rem, 4.5vw, 4.6rem);
    font-weight: 950;
    letter-spacing: -.055em;
    text-transform: none;
  }
  .m10-section-head p:last-child { color: #516888; }

  .m10-rules { gap: 18px; align-items: stretch; }
  .m10-rule {
    min-height: 205px;
    padding: 27px 23px 24px;
    color: #20365e;
    border: 1px solid #c6d7ef;
    border-radius: 23px;
    background: linear-gradient(155deg, #ffffff, #f3f8ff);
    box-shadow: 0 16px 35px rgba(27,54,103,.1), inset 0 4px 0 #58e7f2;
    transform: none !important;
    overflow: hidden;
  }
  .m10-rule:nth-child(2) { background: linear-gradient(155deg, #ffffff, #effcf7); box-shadow: 0 16px 35px rgba(27,54,103,.1), inset 0 4px 0 #77ebc0; }
  .m10-rule:nth-child(3) { background: linear-gradient(155deg, #ffffff, #fff1f7); box-shadow: 0 16px 35px rgba(27,54,103,.1), inset 0 4px 0 #ff669e; }
  .m10-rule:nth-child(4) { background: linear-gradient(155deg, #ffffff, #f4f0ff); box-shadow: 0 16px 35px rgba(27,54,103,.1), inset 0 4px 0 #986ff4; }
  .m10-rule::before {
    left: auto;
    right: -32px;
    top: -32px;
    width: 105px;
    height: 105px;
    border: 18px solid rgba(88,231,242,.1);
    border-radius: 50%;
    background: transparent;
    transform: none;
  }
  .m10-rule span { width: 45px; height: 45px; color: #071a3d; background: #58e7f2; border-radius: 14px; box-shadow: 3px 4px 0 #223f83; }
  .m10-rule:nth-child(2) span { color: #071a3d; background: #77ebc0; }
  .m10-rule:nth-child(3) span { color: #fff; background: #ff669e; }
  .m10-rule:nth-child(4) span { color: #fff; background: #986ff4; }
  .m10-rule h3 { color: #10234b; font-size: 1.12rem; }
  .m10-rule p { color: #586b87; }

  .m10-workspace {
    padding: 48px 0 88px;
    background:
      radial-gradient(circle at 92% 12%, rgba(152,111,244,.13), transparent 24rem),
      linear-gradient(rgba(22,61,124,.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(22,61,124,.055) 1px, transparent 1px),
      #eef4ff;
    background-size: auto, 32px 32px, 32px 32px, auto;
  }

  .m10-command-bar {
    position: sticky;
    top: 10px;
    z-index: 20;
    margin-bottom: 22px;
    padding: 15px 17px;
    color: #fff;
    border: 2px solid #58e7f2;
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(8,27,66,.96), rgba(34,45,112,.96));
    box-shadow: 0 11px 28px rgba(8,27,66,.22), 0 0 0 5px rgba(88,231,242,.09);
    backdrop-filter: blur(14px);
  }
  .m10-command-bar::before { display: none; }
  .m10-command-title b { color: #081b42; background: linear-gradient(135deg, #58e7f2, #77ebc0); border-radius: 13px; box-shadow: 3px 3px 0 #ff669e; }
  .m10-command-title strong { color: #fff; font-size: .9rem; letter-spacing: .06em; }
  .m10-command-title small { color: #bcd5f5; }
  .m10-command-tools .m10-tool {
    color: #eef7ff;
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    box-shadow: none;
  }
  .m10-command-tools .m10-tool:hover { color: #071a3d; background: #75edcf; border-color: #fff; }

  .m10-week-tab { color: #405879; border-color: #becde2; border-radius: 13px; background: #fff; }
  .m10-week-tab[aria-selected="true"] { color: #fff; border-color: #273e91; background: linear-gradient(135deg, #203b83, #4f64e9); box-shadow: 4px 4px 0 #58e7f2; }
  .m10-ghost { color: #244775; border-color: #b4c9e1; border-radius: 13px; background: rgba(255,255,255,.8); }
  .m10-tool { color: #203e6e; border-color: #b8cce4; border-radius: 12px; background: #fff; box-shadow: 0 3px 0 #d4e0ef; }
  .m10-danger { color: #9a3158; border-color: #e4acc1; border-radius: 12px; background: #fff3f7; }

  .m10-dashboard { gap: 15px; margin-top: 25px; }
  .m10-stat {
    min-height: 128px;
    padding: 22px 20px;
    color: #fff;
    border: 0;
    border-radius: 21px;
    background: linear-gradient(145deg, #167d9f, #2253a1);
    box-shadow: 0 14px 30px rgba(18,52,100,.18);
    transform: none !important;
    overflow: hidden;
  }
  .m10-stat:nth-child(2) { background: linear-gradient(145deg, #2e9f76, #2774a5); }
  .m10-stat:nth-child(3) { background: linear-gradient(145deg, #835fc7, #4f64bd); }
  .m10-stat:nth-child(4) { background: linear-gradient(145deg, #c14879, #7b4ab4); }
  .m10-stat::before {
    display: block;
    left: auto;
    right: -22px;
    top: -28px;
    width: 100px;
    height: 100px;
    border: 17px solid rgba(255,255,255,.1);
    border-radius: 50%;
    background: transparent;
  }
  .m10-stat::after { display: block; }
  .m10-stat span, .m10-stat small { color: #dceaff; }
  .m10-stat strong, .m10-stat--gold strong { color: #fff; font-size: 1.58rem; }

  .m10-progress > span { color: #405979; }
  .m10-progress-track { height: 16px; border: 2px solid #b7c9df; border-radius: 999px; background: #fff; }
  .m10-progress-track i { background: linear-gradient(90deg, #58e7f2, #77ebc0, #ffd45c, #ff669e); box-shadow: 0 0 18px rgba(88,231,242,.55); }
  .m10-progress b { color: #294f93; }

  .m10-planner-grid { gap: 20px; }
  .m10-panel {
    position: relative;
    padding: 27px;
    border: 1px solid #c0d2e9;
    border-radius: 23px;
    background: linear-gradient(150deg, rgba(255,255,255,.98), rgba(245,249,255,.94));
    box-shadow: 0 17px 38px rgba(22,52,104,.11);
    overflow: hidden;
  }
  .m10-panel:nth-child(2), .m10-panel:nth-child(3), .m10-panel:nth-child(4) { box-shadow: 0 17px 38px rgba(22,52,104,.11); }
  .m10-panel::before {
    display: block;
    inset: 0 0 auto;
    width: auto;
    height: 5px;
    background: linear-gradient(90deg, #58e7f2, #4f64e9, #ff669e);
    transform: none;
  }
  .m10-panel:nth-child(2)::before { background: linear-gradient(90deg, #ff669e, #986ff4); }
  .m10-panel:nth-child(3)::before { background: linear-gradient(90deg, #77ebc0, #58e7f2); }
  .m10-panel:nth-child(4)::before { background: linear-gradient(90deg, #ffd45c, #ff669e, #986ff4); }
  .m10-panel-head > span { color: #fff; background: linear-gradient(145deg, #203d84, #4f64e9); border-radius: 14px; box-shadow: 3px 4px 0 #58e7f2; }
  .m10-panel-head small { color: #5369c7; }
  .m10-panel h3 { color: #10234b; font-size: 1.28rem; }
  .m10-panel label, .m10-panel legend { color: #294264; }
  .m10-panel input, .m10-panel select { min-height: 49px; color: #10234b; border: 2px solid #c5d5e7; border-radius: 13px; background: #f9fcff; }
  .m10-panel input:focus, .m10-panel select:focus { border-color: #4f64e9; box-shadow: 0 0 0 4px rgba(79,100,233,.12); }
  .m10-day-pick { min-width: 42px; min-height: 42px; color: #4a607e; border-color: #c2d1e3; border-radius: 12px; background: #f7faff; }
  .m10-day-pick[aria-pressed="true"] { color: #071a3d; border-color: #58e7f2; background: #75edcf; box-shadow: 3px 3px 0 #4f64e9; }
  .m10-check { border-color: #d7c5ee; border-radius: 15px; background: #f7f1ff; }
  .m10-focus-note { color: #405674; border-left-color: #77ebc0; border-radius: 13px; background: #effcf7; }
  .m10-compact-templates { border: 1px solid #bdd9e6; border-radius: 14px; background: #effbff; }
  .m10-compact-templates button { color: #245881; border-color: #9fc7dc; border-radius: 9px; background: #fff; }
  .m10-assistant-copy > span { color: #fff; background: linear-gradient(145deg, #ff669e, #986ff4); border-radius: 14px; box-shadow: 3px 4px 0 #203d84; }

  .m10-week-section {
    position: relative;
    margin-top: 44px;
    padding: 32px 30px 28px;
    color: #fff;
    border: 3px solid #58e7f2;
    border-radius: 31px;
    background:
      radial-gradient(circle at 88% 5%, rgba(255,102,158,.23), transparent 22rem),
      linear-gradient(rgba(88,231,242,.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(88,231,242,.055) 1px, transparent 1px),
      linear-gradient(135deg, #071936, #172b66 62%, #302063);
    background-size: auto, 25px 25px, 25px 25px, auto;
    box-shadow: 0 20px 50px rgba(7,25,54,.25), 0 0 0 7px rgba(88,231,242,.09);
  }
  .m10-week-section::before {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 130px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(88,231,242,.55), transparent);
    content: "";
  }
  .m10-week-head { position: relative; z-index: 1; }
  .m10-week-head .m10-eyebrow { color: #75edcf; }
  .m10-week-head h2 {
    color: #fff;
    font-size: clamp(2.45rem, 4.4vw, 4.65rem);
    font-weight: 950;
    letter-spacing: -.055em;
    text-transform: none;
    text-shadow: 3px 4px 0 rgba(2,13,36,.6);
  }
  .m10-week-actions .m10-tool { color: #071a3d; border-color: #fff; background: #75edcf; box-shadow: 3px 4px 0 #4f64e9; }
  .m10-week-actions .m10-danger { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,102,158,.22); box-shadow: none; }
  .m10-drag-tip { margin: 12px 0 18px; color: #c9ddfa; font-size: .92rem; }

  .m10-week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(180px, 1fr));
    gap: 13px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 8px 4px 20px;
    scroll-snap-type: x proximity;
    scrollbar-color: #58e7f2 rgba(255,255,255,.1);
    scrollbar-width: thin;
  }
  .m10-week-grid::-webkit-scrollbar { height: 10px; }
  .m10-week-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.09); border-radius: 99px; }
  .m10-week-grid::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #58e7f2, #77ebc0); border-radius: 99px; }

  .m10-day {
    --day: #58e7f2;
    min-width: 0;
    min-height: 360px;
    color: #20365e;
    border: 2px solid var(--day);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #f2f7ff);
    box-shadow: 0 13px 28px rgba(2,13,36,.3), 0 0 22px color-mix(in srgb, var(--day) 17%, transparent);
    overflow: hidden;
    scroll-snap-align: start;
  }
  .m10-day:nth-child(2) { --day: #77ebc0; background: linear-gradient(180deg, #fff, #f0fcf7); }
  .m10-day:nth-child(3) { --day: #ff669e; background: linear-gradient(180deg, #fff, #fff2f7); }
  .m10-day:nth-child(4) { --day: #8974ff; background: linear-gradient(180deg, #fff, #f3f1ff); }
  .m10-day:nth-child(5) { --day: #ffd45c; background: linear-gradient(180deg, #fff, #fff9e9); }
  .m10-day:nth-child(6) { --day: #c076f0; background: linear-gradient(180deg, #fff, #f8f1ff); }
  .m10-day:nth-child(7) { --day: #71d77d; background: linear-gradient(180deg, #fff, #f1fbf2); }
  .m10-day::before {
    left: auto;
    right: 13px;
    top: 13px;
    z-index: 2;
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--day);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--day) 25%, transparent), 0 0 14px var(--day);
  }
  .m10-day > header {
    min-height: 106px;
    padding: 17px 15px;
    color: #fff;
    border: 0;
    background: linear-gradient(145deg, color-mix(in srgb, var(--day) 74%, #14295f), #14295f);
  }
  .m10-day > header small { color: rgba(255,255,255,.75); }
  .m10-day > header h3 { color: #fff; font-size: 1.22rem; font-weight: 950; }
  .m10-day > header span { color: rgba(255,255,255,.78); font-size: .7rem; }
  .m10-blocks { padding: 11px; }
  .m10-block { border-color: #d4e0ee; border-radius: 12px; background: #fff; box-shadow: 0 4px 10px rgba(20,45,91,.08); }
  .m10-block-time { color: #3b5b8b; }
  .m10-block-title { color: #10234b; }
  .m10-block-type { color: #6a7b95; }
  .m10-empty { color: #617591; }
  .m10-block-actions button { color: #3d5477; border-color: #cfdaea; background: #f8fbff; }
  .m10-free { border-color: #c9d8e8; }
  .m10-free > span { color: #6d7e98; }
  .m10-free button { color: #176649; border-color: #8fdbbd; border-radius: 9px; background: #edfbf5; }

  .m10-coach {
    grid-template-columns: 64px minmax(0, 1fr) minmax(290px, .72fr);
    gap: 21px;
    padding: 24px;
    color: #20365e;
    border: 1px solid #bad8e9;
    border-radius: 23px;
    background: linear-gradient(135deg, #f4fdff, #f3f2ff);
    box-shadow: 0 16px 35px rgba(18,52,100,.11), inset 5px 0 0 #58e7f2;
  }
  .m10-coach-mark { width: 57px; height: 57px; color: #071a3d; background: #75edcf; border-radius: 17px; box-shadow: 4px 4px 0 #4f64e9; }
  .m10-coach h2 { color: #10234b; }
  .m10-coach p { color: #586d89; }
  .m10-coach-list span { color: #405876; border-color: #c0d6e5; border-radius: 12px; background: rgba(255,255,255,.8); }

  .m10-final {
    padding: 55px 0 60px;
    color: #fff;
    border-top: 5px solid #58e7f2;
    background: radial-gradient(circle at 82% 15%, rgba(255,102,158,.22), transparent 22rem), linear-gradient(135deg, #071a3d, #253b86 62%, #39246e);
  }
  .m10-final h2 { color: #fff; font-weight: 950; text-transform: none; }
  .m10-final p { color: #d1e1f7; }
  .m10-final .m10-eyebrow { color: #75edcf; }
  .m10-final .m10-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }
  .m10-loading { color: #fff; background: linear-gradient(135deg, #071a3d, #253b86); }
  .m10-loading small { color: #75edcf; }
}

@media screen and (max-width: 1280px) {
  .m10-week-grid { grid-template-columns: repeat(7, minmax(215px, 1fr)); }
}

@media screen and (max-width: 1120px) {
  .m10-shell { width: min(100% - 32px, 920px); }
  .m10-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(315px, .62fr); gap: 36px; }
  .m10-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m10-week-grid { grid-template-columns: repeat(7, minmax(225px, 1fr)); }
  .m10-coach { grid-template-columns: 58px 1fr; }
  .m10-coach-list { grid-column: 2; grid-template-columns: 1fr; }
}

@media screen and (max-width: 780px) {
  .m10-shell { width: min(100% - 24px, 680px); }
  .m10-hero { padding: 34px 0 47px; }
  .m10-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .m10-hero h1 { font-size: clamp(3rem, 15vw, 5.1rem); }
  .m10-hero-copy > p:not(.m10-eyebrow) { font-size: 1rem; }
  .m10-hero-console { width: min(100%, 455px); justify-self: center; transform: none; }
  .m10-hero-console img { height: 315px; }
  .m10-method { padding: 48px 0 54px; }
  .m10-rules { grid-template-columns: 1fr; }
  .m10-rule { min-height: 0; }
  .m10-command-bar { position: relative; top: auto; display: grid; }
  .m10-command-tools { justify-content: flex-start; }
  .m10-week-section { margin-inline: -2px; padding: 25px 14px 19px; border-radius: 24px; }
  .m10-week-section::before { left: 14px; right: 14px; }
  .m10-week-head { align-items: flex-start; }
  .m10-week-grid { grid-template-columns: repeat(7, minmax(82vw, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 18px; }
  .m10-day { min-height: 330px; }
  .m10-coach { grid-template-columns: 50px 1fr; }
  .m10-coach-mark { width: 48px; height: 48px; }
  .m10-coach-list { grid-column: 1 / -1; }
}

@media screen and (max-width: 520px) {
  .m10-note-row { display: grid; }
  .m10-dashboard, .m10-fields { grid-template-columns: 1fr; }
  .m10-command-tools .m10-tool { flex: 1 1 calc(50% - 5px); }
  .m10-week-switcher { display: grid; grid-template-columns: 1fr; }
  .m10-week-tab, .m10-week-switcher .m10-ghost { width: 100%; }
  .m10-week-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .m10-week-actions button { width: 100%; }
  .m10-panel { padding: 23px 18px; }
  .m10-week-grid { grid-template-columns: repeat(7, minmax(84vw, 1fr)); }
}
