
    :root {
      color-scheme: light;
      --ink: #202124;
      --muted: #62666d;
      --line: #e6e6e6;
      --paper: #f5f5f5;
      --panel: #ffffff;
      --accent: #ff6b00;
      --accent-dark: #e45700;
      --soft-accent: #fff3e8;
      --danger: #b42318;
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      color: var(--ink);
      background: var(--paper);
    }
    .page {
      width: min(1120px, calc(100% - 32px));
      margin: 0 auto;
      padding: 32px 0 56px;
    }
    .hero {
      min-height: 260px;
      display: flex;
      align-items: end;
      padding: 32px;
      border-radius: 8px;
      color: white;
      background:
        linear-gradient(90deg, rgba(32, 33, 36, 0.88), rgba(255, 107, 0, 0.56)),
        url("https://images.unsplash.com/photo-1519682337058-a94d519337bc?auto=format&fit=crop&w=1600&q=80") center/cover;
    }
    h1, h2 { margin: 0 0 12px; line-height: 1.15; letter-spacing: 0; }
    h1 { font-size: 40px; }
    h2 { font-size: 22px; }
    .lead { max-width: 620px; font-size: 18px; line-height: 1.5; margin: 0; }
    .eyebrow {
      margin: 0 0 8px;
      color: inherit;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
    }
    .panel {
      margin-top: 18px;
      padding: 24px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: 0 1px 2px rgba(32, 33, 36, 0.04);
    }
    .dropzone {
      min-height: 138px;
      place-items: center;
      text-align: center;
      padding: 24px;
      border: 1.5px dashed #9aa3ad;
      border-radius: 8px;
      background: #fbfcfd;
      cursor: pointer;
      transition: border-color 0.15s ease, background-color 0.15s ease;
    }
    .dropzone input {
      max-width: 320px;
      min-height: auto;
      padding: 0;
      border: 0;
      background: transparent;
    }
    .dropzone input::file-selector-button {
      margin-right: 12px;
      padding: 10px 14px;
      border: 0;
      border-radius: 8px;
      color: white;
      background: var(--accent);
      font: inherit;
      font-weight: 700;
      cursor: pointer;
    }
    .dropzone input:hover::file-selector-button {
      background: var(--accent-dark);
    }
    .dropzone.is-dragging {
      border-color: var(--accent);
      background: var(--soft-accent);
    }
    .file-title {
      font-size: 18px;
    }
    .file-hint {
      color: var(--muted);
      font-weight: 400;
    }
    .layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 18px;
      align-items: start;
    }
    .layout .panel { margin-top: 0; }
    label, .label {
      display: grid;
      gap: 8px;
      font-weight: 700;
      margin-bottom: 16px;
    }
    input, select {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 8px 10px;
      font: inherit;
      background: white;
    }
    input:disabled, select:disabled {
      color: #8c929b;
      background: #eef0f3;
      cursor: not-allowed;
    }
    input[type="checkbox"], input[type="radio"] {
      width: auto;
      min-height: 0;
      accent-color: var(--accent);
    }
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 10px 16px;
      border: 0;
      border-radius: 6px;
      color: white;
      background: var(--accent);
      font: inherit;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
    }
    .button:hover { background: var(--accent-dark); }
    .upload-button {
      display: flex;
      width: fit-content;
      margin: 18px auto 0;
    }
    .secondary {
      color: var(--ink);
      background: #e7eaee;
    }
    .secondary:hover {
      background: #d9dde3;
    }
    .danger-button {
      background: #b42318;
    }
    .danger-button:hover {
      background: #8f1d15;
    }
    .muted { color: var(--muted); line-height: 1.45; }
    a { color: var(--accent-dark); }
    .intro {
      display: grid;
      gap: 12px;
    }
    .intro p {
      margin: 0;
      line-height: 1.6;
    }
    blockquote {
      margin: 0 0 4px;
      padding: 0 0 0 18px;
      border-left: 4px solid var(--accent);
      color: #2f3135;
      font-size: 23px;
      line-height: 1.42;
      font-weight: 700;
    }
    .sections {
      display: grid;
      gap: 10px;
      max-height: 72vh;
      overflow: auto;
      padding-right: 6px;
    }
    .section-choice {
      display: grid;
      grid-template-columns: 20px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      margin: 0;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      font-weight: 400;
    }
    .section-choice strong {
      display: block;
      margin-bottom: 4px;
      font-size: 15px;
    }
    .section-choice small {
      display: block;
      color: var(--muted);
      line-height: 1.48;
      font-size: 14px;
    }
    .settings {
      position: sticky;
      top: 16px;
    }
    .schedule-mode {
      margin: 18px 0;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fbfcfd;
      transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    }
    .interval-mode {
      background: #fbfcfd;
    }
    .schedule-mode.is-selected {
      border-color: var(--accent);
      background: var(--soft-accent);
      box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.08);
    }
    .schedule-mode.is-muted {
      color: #8a8f98;
      background: #fafafa;
    }
    .schedule-mode.is-muted .mode-head span,
    .schedule-mode.is-muted .label,
    .schedule-mode.is-muted label span {
      color: #8a8f98;
    }
    .schedule-mode.is-muted input:not([type="radio"]),
    .schedule-mode.is-muted select {
      color: #7f858e;
      background: #f7f7f7;
    }
    .mode-choice {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 14px;
      font-weight: 700;
    }
    .mode-head {
      display: grid;
      gap: 3px;
      margin-bottom: 14px;
    }
    .mode-head span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.35;
    }
    .days {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
    .day, .checkline {
      display: flex;
      gap: 8px;
      align-items: center;
      margin: 0;
      font-weight: 700;
    }
    .day {
      justify-content: center;
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fbfcfd;
    }
    .time-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin-bottom: 16px;
    }
    .range-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    .range-grid label {
      margin-bottom: 0;
    }
    .muted-grid input:not(:disabled) {
      border-color: var(--accent);
    }
    .notice {
      margin: 16px 0;
      padding: 14px;
      border: 1px solid #ffd1ad;
      border-radius: 8px;
      background: var(--soft-accent);
      line-height: 1.5;
    }
    .danger {
      border-color: #efb5d8;
      background: #fff1f7;
    }
    .result { max-width: 720px; }
    .fallback-box {
      display: grid;
      gap: 10px;
      margin-top: 20px;
      padding: 16px;
      border: 1px solid #ffd1ad;
      border-radius: 8px;
      background: var(--soft-accent);
    }
    .fallback-box h2 {
      margin-bottom: 0;
    }
    .copy-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }
    .copy-row code {
      display: block;
      overflow-wrap: anywhere;
      padding: 12px;
      border: 1px solid #ffd1ad;
      background: #fff;
    }
    .copy-button {
      min-width: 128px;
    }
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin: 18px 0;
    }
    .stats div {
      min-width: 0;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fbfcfd;
    }
    .stats span {
      display: block;
      margin-bottom: 6px;
      color: var(--muted);
      font-size: 12px;
    }
    .stats strong {
      display: block;
      font-size: 15px;
      overflow-wrap: anywhere;
    }
    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }
    .actions form {
      margin: 0;
    }
    .command-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .danger-zone {
      border-color: #f0b4ae;
      background: #fff8f7;
    }
    code {
      padding: 2px 5px;
      border-radius: 4px;
      background: #eef0f3;
    }

    @media (max-width: 860px) {
      .page {
        width: min(100% - 20px, 1120px);
        padding: 16px 0 36px;
      }
      .layout { grid-template-columns: 1fr; }
      .settings { position: static; }
      h1 { font-size: 30px; }
      .hero { min-height: 220px; padding: 24px; }
      .panel { padding: 18px; }
      .sections {
        max-height: none;
        overflow: visible;
      }
    }
    @media (max-width: 520px) {
      h1 { font-size: 26px; }
      h2 { font-size: 20px; }
      .lead { font-size: 16px; }
      .hero {
        min-height: 200px;
        padding: 18px;
      }
      .days {
        grid-template-columns: repeat(2, 1fr);
      }
      .time-grid,
      .range-grid {
        grid-template-columns: 1fr;
      }
      .section-choice {
        grid-template-columns: 22px minmax(0, 1fr);
        padding: 10px;
      }
      .button {
        width: 100%;
      }
      .upload-button {
        width: 100%;
      }
      blockquote {
        font-size: 19px;
      }
      .dropzone {
        min-height: 126px;
        padding: 18px;
      }
      .stats {
        grid-template-columns: 1fr;
      }
      .actions {
        display: grid;
      }
      .copy-row {
        grid-template-columns: 1fr;
      }
    }
  