
    :root {
      --ink: #0b2232;
      --muted: #425d69;
      --teal: #006d6d;
      --line: #d0e0e2;
      --mint: #edf8f6;
      font: 400 16px/1.5 Inter, Arial, sans-serif;
      color: var(--ink);
      background: #f8fbfb;
    }
    *, *::before, *::after { box-sizing: border-box; }
    [hidden] { display: none !important; }
    body, h1, h2, p { margin: 0; }
    button, input, textarea { font: inherit; color: inherit; }
    button, a { touch-action: manipulation; }
    :focus-visible { outline: 3px solid #137b87; outline-offset: 4px; }
    h1, .product-name { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
    .primary {
      min-height: 50px; border: 1px solid var(--teal); border-radius: 8px;
      padding: 11px 24px; background: var(--teal); color: white;
      font-weight: 600; cursor: pointer;
    }
    .primary:hover { background: #005c5e; }
    .primary:active { background: #004f50; }
    .login-view {
      min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
      padding: clamp(24px, 5vw, 76px); background: #f8fbfb;
    }
    .login-sheet {
      width: min(100%, 1040px); min-height: 554px; display: grid;
      grid-template-columns: 44% 56%; overflow: hidden; background: white;
      border: 1px solid #cadae0; border-radius: 20px;
      box-shadow: 0 16px 45px -31px #25515c57, 0 2px 7px #2549510b;
    }
    .brand-pane {
      position: relative; isolation: isolate; overflow: hidden;
      display: grid; grid-template-columns: 100%; place-content: center; justify-items: center; gap: 15px;
      background: linear-gradient(150deg, #eff9f8, #e5f5f2);
      border-right: 1px solid #e0edec;
    }
    .brand-pane img { width: 230px; max-width: 66%; display: block; justify-self: center; }
    .product-name { font-size: 38px; line-height: 1.15; letter-spacing: -.035em; }
    .bearing { position: absolute; z-index: -1; bottom: -1px; left: -1px; width: 52%; height: auto; color: #60b7b5; pointer-events: none; }
    .bearing-phone { display: none; }
    .form-pane { display: grid; place-items: center; padding: 58px 52px; }
    .sign-in-form { width: 100%; max-width: 390px; }
    .sign-in-form h1 { margin: 0 0 35px; font-size: clamp(56px, 5vw, 70px); line-height: 1.08; letter-spacing: -.048em; }
    .sign-in-form label { display: block; font-weight: 500; font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
    .field { margin-bottom: 23px; }
    .field input {
      display: block; width: 100%; height: 52px; padding: 0 13px;
      border: 1px solid #a7bfc7; border-radius: 8px; background: #fff;
    }
    .sign-in-form .primary { width: 100%; margin-top: 4px; font-size: 17px; }
    .sign-in-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
    .settings-view { min-height: 100vh; background: white; }
    .settings-bar { border-bottom: 1px solid var(--line); background: #f7fbfa; }
    .bar-inner, .settings-content { width: min(100% - 48px, 1040px); margin: 0 auto; }
    .bar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .brand-small { display: flex; align-items: center; gap: 12px; }
    .brand-small img { width: 38px; height: 36px; }
    .brand-small .product-name { font-size: 24px; }
    .sign-in-link { color: #005d61; font-size: 14px; font-weight: 600; text-underline-offset: 4px; padding: 10px 0; }
    .settings-content { padding: clamp(36px, 6vh, 66px) 0 48px; }
    .parent-name { color: var(--muted); font-size: 14px; margin-bottom: 3px; }
    .settings-content h1 { font-size: clamp(44px, 5vw, 62px); letter-spacing: -.045em; line-height: 1.16; }
    .appearance-grid {
      display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start;
      gap: clamp(28px, 6vw, 80px); border-top: 1px solid var(--line); margin-top: 27px; padding-top: 32px;
    }
    fieldset { padding: 0; margin: 0; min-width: 0; border: 0; }
    legend { padding: 0; font-size: 18px; font-weight: 600; }
    .description { font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
    .choices { display: grid; gap: 7px; }
    .font-choice {
      min-height: 49px; display: flex; align-items: center; gap: 12px; cursor: pointer;
      border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px;
    }
    .font-choice:has(:checked) { border-color: #4e9593; background: var(--mint); }
    .font-choice:hover { border-color: #77a6a5; }
    .font-choice input { width: 17px; height: 17px; accent-color: var(--teal); flex: none; margin: 0; }
    .choice-name { font: 600 17px/1.3 var(--mail-face, Inter, sans-serif); }
    .default-label { margin-left: auto; font-size: 12px; color: var(--muted); }
    .font-inter { --mail-face: Inter, Arial, sans-serif; }
    .font-roboto { --mail-face: Roboto, Arial, sans-serif; }
    .font-atkinson { --mail-face: "Atkinson Hyperlegible Next", Arial, sans-serif; }
    .font-spectral { --mail-face: Spectral, Georgia, serif; }
    .save-row { margin-top: 20px; }
    .status { color: #165c5e; font-size: 14px; margin-top: 9px; min-height: 1.5em; }
    .sample-pane { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
    .sample-title { padding: 14px 20px; background: var(--mint); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
    .sample-content { padding: 20px; }
    .sender { font: 600 16px/1.4 var(--mail-face); }
    .subject { font: 600 21px/1.35 var(--mail-face); margin: 3px 0 14px; }
    .mail-body { font: 400 17px/1.55 var(--mail-face); }
    .mail-body p + p { margin-top: 8px; }
    .draft-label { display: block; font-size: 13px; font-weight: 600; margin: 20px 0 6px; }
    #draft {
      width: 100%; display: block; min-height: 72px; resize: vertical; border: 1px solid #a7bfc7;
      border-radius: 7px; padding: 10px 12px; font: 400 17px/1.45 var(--mail-face); background: white;
    }
    @media (max-width: 760px) {
      .login-view { padding: 0; display: block; background: #fff; }
      .login-sheet { width: 100%; min-height: 100svh; display: block; border: 0; border-radius: 0; box-shadow: none; }
      .brand-pane { height: clamp(175px, 32svh, 280px); gap: 10px; border-right: 0; border-bottom: 1px solid #d9eae8; }
      .brand-pane img { width: clamp(138px, 37vw, 180px); max-width: none; }
      .product-name { font-size: 29px; }
      .bearing-desktop { display: none; }
      .bearing-phone { display: block; left: auto; right: -1px; width: min(39%, 180px); }
      .form-pane { padding: 35px 26px 45px; }
      .sign-in-form { max-width: 430px; }
      .sign-in-form h1 { font-size: 52px; margin-bottom: 32px; }
      .field { margin-bottom: 22px; }
      .bar-inner, .settings-content { width: min(100% - 36px, 540px); }
      .appearance-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; padding-top: 23px; }
    }
    @media (max-width: 360px) {
      .form-pane { padding-left: 20px; padding-right: 20px; }
      .font-choice { padding-inline: 10px; }
    }
  