:root {
    --paper: #F3F5F3;
    --card: #FFFFFF;
    --ink: #101A17;
    --ink-2: #3C4744;
    --muted: #6F7A76;
    --line: #DDE3DF;
    --line-2: #EAEEEB;
    --go: #0B6E62;
    --go-dark: #095C52;
    --go-soft: #E3F0ED;
    --go-line: #B7D8D1;
    --warn: #8B5F12;
    --warn-soft: #F7EFDF;
    --warn-line: #E4CFA4;
    --danger: #963833;
    --danger-soft: #F7E9E8;
    --danger-line: #E5C3C0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; width: 100%; min-height: 100%; background: var(--paper); overflow-x: hidden; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { min-height: 100vh; min-height: 100dvh; -webkit-font-smoothing: antialiased; }
  #app, #overlay { width: 100%; min-width: 0; }
  button, input, select, textarea { font: inherit; }
  button { cursor: pointer; color: inherit; }
  button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--go);
    outline-offset: 2px;
  }

  .hidden { display: none !important; }
  .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
  .display { font-weight: 800; letter-spacing: -.035em; }
  .muted { color: var(--muted); }
  .spacer { flex: 1; }
  .eyebrow {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(243, 245, 243, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .top-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .brand { min-width: 0; }
  .brand h1 { margin: 2px 0 0; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px 72px; }

  .header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
  .account-wrap { position: relative; flex: none; }
  .avatar {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--go);
    color: white;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(16, 26, 23, .08);
  }
  .account-trigger { padding: 0; cursor: pointer; }
  .account-trigger:hover { filter: brightness(.96); }
  .account-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 50;
    width: min(250px, calc(100vw - 24px));
    padding: 7px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 16px 40px rgba(16, 26, 23, .16);
  }
  .account-menu-head { padding: 9px 10px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 5px; }
  .account-menu-head strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  .account-menu-head span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
  .account-menu-item { width: 100%; min-height: 40px; border: 0; border-radius: 8px; padding: 9px 10px; background: transparent; text-align: left; font-size: 13px; font-weight: 650; }
  .account-menu-item:hover { background: #F3F6F4; }
  .account-menu-item.danger { color: var(--danger); }
  .account-menu-item.danger:hover { background: var(--danger-soft); }

  .btn {
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 8px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    transition: background .12s, border-color .12s, transform .08s;
  }
  .btn:hover { background: #F7F9F8; }
  .btn:active { transform: translateY(1px); }
  .btn:disabled { opacity: .48; cursor: not-allowed; transform: none; }
  .btn-primary { color: white; background: var(--go); border-color: var(--go); }
  .btn-primary:hover { background: var(--go-dark); }
  .btn-danger { color: var(--danger); border-color: var(--danger-line); background: white; }
  .btn-danger:hover { background: var(--danger-soft); }
  .btn-ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
  .btn-ghost:hover { background: #E9EDEA; }
  .btn-small { padding: 6px 10px; font-size: 12px; }
  .btn-wide { width: 100%; }
  .btn-on { color: white; background: var(--go); border-color: var(--go); }

  .termbar {
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
  }
  .week-nav { display: flex; align-items: center; gap: 3px; padding: 3px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
  .week-arrow { width: 31px; height: 31px; border: 0; border-radius: 7px; background: transparent; font-size: 20px; }
  .week-arrow:hover { background: #EFF3F1; }
  .week-label { min-width: 170px; padding: 0 10px; text-align: center; }
  .week-label strong { display: block; font-size: 14px; }
  .week-label span { font-size: 11px; color: var(--muted); }
  .pill { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink-2); font-size: 10.5px; }

  .days { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; padding-top: 18px; }
  .day { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
  .day.today { border-color: var(--go); box-shadow: 0 0 0 1px var(--go); }
  .day-head { display: flex; align-items: baseline; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
  .day-name { font-size: 14px; font-weight: 750; }
  .day-date { font-size: 11px; color: var(--muted); }
  .today-tag { margin-left: auto; padding: 3px 6px; border-radius: 5px; border: 1px solid var(--go-line); background: var(--go-soft); color: var(--go); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
  .day-off { padding: 26px 16px; text-align: center; color: var(--muted); font-size: 13px; }

  .shift { padding: 13px 16px 15px; border-top: 1px solid var(--line-2); }
  .shift:first-of-type { border-top: 0; }
  .shift-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
  .shift-name { font-size: 13px; font-weight: 750; }
  .shift-time { font-size: 11px; color: var(--muted); }
  .shift-count { margin-left: auto; font-size: 12px; font-weight: 800; }
  .shift-count.ok { color: var(--go); }
  .shift-count.tight { color: var(--warn); }
  .shift-count.full { color: var(--danger); }
  .board { display: grid; grid-template-columns: repeat(var(--spots, 5), 1fr); gap: 5px; }
  .spot { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .spot-label { text-align: center; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
  .slot { height: 31px; padding: 0 5px; display: flex; align-items: center; gap: 4px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #FAFBFA; }
  .slot.empty { border-style: dashed; background: transparent; }
  .slot.taken { background: var(--go-soft); border-color: var(--go-line); }
  .slot.mine { background: var(--go); border-color: var(--go); color: white; }
  .slot-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--go); flex: none; }
  .slot.mine .slot-dot { background: white; }
  .slot-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 600; }
  .shift-foot { margin-top: 11px; display: flex; align-items: center; gap: 8px; }
  .lockline { color: var(--muted); font-size: 10px; line-height: 1.35; }
  .lockline.hot { color: var(--warn); }
  .lockline.closed { color: var(--danger); }
  .shift-foot .btn { margin-left: auto; }
  .note { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.4; }
  .drawer { margin-top: 9px; border: 0; background: transparent; color: var(--muted); padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 10px; }
  .names { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 5px; }
  .name-row { display: flex; align-items: center; gap: 6px; font-size: 12px; }
  .name-row .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .auth-shell { max-width: 560px; margin: 0 auto; padding: 7vh 18px 60px; }
  .auth-shell h1 { margin: 7px 0 6px; font-size: 32px; }
  .auth-shell > p { margin: 0; color: var(--muted); line-height: 1.55; }
  .panel { margin-top: 22px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 12px 35px rgba(16, 26, 23, .06); }
  .panel-title { margin: 0 0 4px; font-size: 17px; }
  .panel-subtitle { margin: 0 0 17px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  #login-form { display: flex; flex-direction: column; gap: 16px; }
  #login-form .btn-wide { margin-top: 2px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .input, .select, .textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #FBFCFB; color: var(--ink); padding: 10px 11px; font-size: 14px; }
  .textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
  .hint { color: var(--muted); font-size: 11.5px; line-height: 1.5; }
  .error, .success, .warning { padding: 9px 11px; border-radius: 8px; font-size: 12px; line-height: 1.45; }
  .error { color: var(--danger); background: var(--danger-soft); border: 1px solid var(--danger-line); }
  .success { color: var(--go); background: var(--go-soft); border: 1px solid var(--go-line); }
  .warning { color: var(--warn); background: var(--warn-soft); border: 1px solid var(--warn-line); }

  .veil { position: fixed; inset: 0; z-index: 60; padding: 5vh 14px 20px; overflow: auto; display: flex; align-items: flex-start; justify-content: center; background: rgba(16, 26, 23, .45); backdrop-filter: blur(3px); }
  .modal { width: 100%; max-width: 500px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(16, 26, 23, .24); }
  .modal.large { max-width: 900px; }
  .modal-head { padding: 17px 20px 12px; display: flex; align-items: center; gap: 10px; }
  .modal-head h2 { margin: 0; font-size: 17px; }
  .modal-body { padding: 5px 20px 20px; display: flex; flex-direction: column; gap: 13px; }
  .tabs { display: flex; gap: 2px; padding: 0 20px; border-bottom: 1px solid var(--line); }
  .tab { padding: 9px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 750; }
  .tab.active { color: var(--ink); border-bottom-color: var(--go); }
  .scroll { max-height: 390px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
  .table { width: 100%; border-collapse: collapse; font-size: 12px; }
  .table th { position: sticky; top: 0; z-index: 1; padding: 8px; background: #F7F9F8; color: var(--muted); text-align: left; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }
  .table td { padding: 8px; border-top: 1px solid var(--line-2); vertical-align: middle; }
  .activity { display: flex; flex-direction: column; gap: 7px; }
  .activity-row { padding-bottom: 7px; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 125px 1fr; gap: 8px; font-size: 12px; }

  .legend { padding-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 11px; }
  .legend-item { display: inline-flex; align-items: center; gap: 5px; }
  .legend-swatch { width: 11px; height: 11px; border: 1px solid var(--line); border-radius: 3px; }
  .loading { max-width: 1180px; margin: 0 auto; padding: 60px 20px; }
  .skeleton { height: 180px; border-radius: 14px; background: linear-gradient(90deg, #E8ECE9, #F7F9F8, #E8ECE9); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
  @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

  .toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); max-width: 90vw; padding: 11px 16px; border-radius: 10px; background: var(--ink); color: white; box-shadow: 0 10px 30px rgba(16, 26, 23, .3); font-size: 13px; }
  .toast.bad { background: var(--danger); }

  @media (max-width: 660px), (max-device-width: 660px) {
    .wrap { width: 100%; padding: 0 12px 56px; }
    .top { position: relative; }
    .top-inner { padding: 11px 14px; gap: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .brand { min-width: 0; }
    .brand .eyebrow { display: block; margin-bottom: 3px; font-size: 9px; }
    .brand h1 { font-size: clamp(19px, 5.5vw, 23px); line-height: 1.08; white-space: normal; }
    .header-actions { margin-left: 0; align-self: center; gap: 7px; }
    .manage-btn { min-height: 40px; padding-inline: 12px; }
    .avatar { width: 40px; height: 40px; font-size: 11px; }
    .account-menu { position: fixed; top: 76px; right: 12px; width: min(270px, calc(100vw - 24px)); }

    .termbar { padding: 12px 0 10px; gap: 9px; display: grid; grid-template-columns: 1fr auto; }
    .week-nav { width: 100%; justify-content: space-between; grid-column: 1 / -1; }
    .week-arrow { width: 44px; height: 44px; }
    .week-label { min-width: 0; flex: 1; padding: 0 6px; }
    .term-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
    .term-actions .btn { min-height: 40px; }

    .days { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 12px; }
    .day { min-width: 0; border-radius: 12px; }
    .day-head { padding: 13px 14px; }
    .shift { padding: 13px 14px 15px; }
    .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; align-items: start; }
    .spot { padding: 8px; gap: 6px; border: 1px solid var(--line); border-radius: 10px; background: #FCFDFC; }
    .spot-label { text-align: left; font-size: 10px; font-weight: 800; }
    .slot { min-height: 42px; height: 42px; padding: 7px 8px; }
    .slot-name { font-size: 11.5px; }
    .shift-foot { align-items: stretch; flex-wrap: wrap; }
    .shift-foot .lockline { flex: 1 1 160px; align-self: center; font-size: 11px; }
    .shift-foot .btn { min-height: 44px; margin-left: 0; flex: 0 0 auto; }
    .drawer { min-height: 36px; font-size: 11px; }

    .auth-shell { width: 100%; max-width: 520px; padding: 30px 16px 48px; }
    .auth-shell h1 { margin-top: 10px; font-size: clamp(30px, 8.4vw, 38px); line-height: 1.05; }
    .auth-shell > p { margin-top: 14px; }
    .panel { margin-top: 28px; padding: 20px 18px; }
    .panel-title { font-size: 20px; }
    .panel-subtitle { margin-bottom: 20px; font-size: 13px; }
    #login-form { gap: 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .input, .select, .textarea { min-height: 46px; font-size: 16px; }
    .btn { min-height: 44px; padding: 10px 13px; }
    .btn-small { min-height: 40px; padding: 8px 10px; }

    .veil { padding: 12px 8px; align-items: flex-start; }
    .modal { max-width: none; border-radius: 12px; }
    .modal-head { padding: 14px 14px 10px; }
    .modal-body { padding-left: 12px; padding-right: 12px; }
    .tabs { padding: 0 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table { min-width: 700px; }
    .activity-row { grid-template-columns: 1fr; gap: 3px; }
    .legend { gap: 9px; }
    .loading { padding: 28px 12px; }
  }

  @media (max-width: 390px), (max-device-width: 390px) {
    .top-inner { padding-inline: 11px; gap: 7px; }
    .brand h1 { font-size: 18px; }
    .manage-btn { min-height: 38px; padding: 8px 10px; font-size: 11.5px; }
    .avatar { width: 38px; height: 38px; }
    .wrap { padding-inline: 10px; }
    .shift { padding-inline: 11px; }
    .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .spot { padding: 6px; }
    .slot { min-height: 39px; height: 39px; padding: 6px; }
    .slot-name { font-size: 10.5px; }
    .shift-foot .btn { width: 100%; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  }


  /* V5: flat 15-person roster + minimal OTP authentication UI */
  .compact-auth { padding-top: 8vh; }
  .compact-auth .login-panel { margin-top: 24px; }
  .auth-links { display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 2px; color: var(--muted); font-size: 12px; }
  .text-action { appearance: none; border: 0; padding: 2px; background: transparent; color: var(--go); font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
  .text-action.strong { font-weight: 800; }
  .text-action.centered { align-self: center; }
  .otp-destination { text-align: center; color: var(--muted); font-size: 13px; line-height: 1.45; }
  .otp-input { text-align: center; letter-spacing: .28em; font-size: 20px !important; font-weight: 800; }
  .pin-result { text-align: center; }
  .pin-reveal { padding: 20px 14px; border: 1px solid var(--go-line); border-radius: 12px; background: var(--go-soft); color: var(--go); font-size: clamp(28px, 8vw, 40px); font-weight: 850; letter-spacing: .16em; user-select: all; }

  .group-tag { padding: 3px 7px; border-radius: 999px; background: var(--go-soft); color: var(--go); font-size: 10px; font-weight: 850; letter-spacing: .05em; }
  .flat-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .flat-board .slot { min-height: 46px; height: auto; padding: 7px 9px; position: relative; }
  .flat-board .slot-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; font-size: 11.5px; }
  .flat-board .slot.empty { min-height: 46px; }
  .slot-remove { margin-left: auto; width: 24px; height: 24px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--danger); font-size: 18px; line-height: 1; cursor: pointer; }

  @media (max-width: 660px), (max-device-width: 660px) {
    .compact-auth { padding-top: 34px; }
    .compact-auth .login-panel { margin-top: 22px; }
    .flat-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .flat-board .slot { min-height: 50px; padding: 8px; }
    .flat-board .slot.empty { min-height: 50px; }
    .flat-board .slot-name { font-size: 12px; }
    .group-tag { font-size: 10px; }
    .shift-head { gap: 7px; flex-wrap: wrap; }
    .shift-count { margin-left: auto; }
    .auth-links { font-size: 13px; gap: 10px; }
  }

  @media (min-width: 1000px) {
    .flat-board { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  }
</style>
<style>
  .week-arrow:disabled {
    opacity: .28;
    cursor: not-allowed;
    background: transparent;
  }

  .admin-capacity-slot {
    position: relative;
    overflow: visible;
  }

  .slot-capacity-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 2px solid var(--card);
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
  }

  .slot-capacity-remove:disabled {
    opacity: .45;
    cursor: wait;
  }

  .slot-add {
    justify-content: center;
    border-style: dashed;
    background: transparent;
    color: var(--go);
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
  }

  .slot-add:hover {
    background: var(--go-soft);
    border-color: var(--go-line);
  }

  .slot-add:disabled {
    opacity: .45;
    cursor: wait;
  }

  @media (max-width: 700px) {
    .slot-capacity-remove {
      width: 25px;
      height: 25px;
      top: -7px;
      right: -7px;
    }
  }
</style>
<style>
  .my-shifts-view { padding-top: 18px; }
  .my-shifts-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .my-shifts-head > div { min-width: 0; }
  .my-shifts-head h2 { margin: 3px 0 0; font-size: 22px; }
  .my-shifts-head .btn { margin-left: auto; }
  .my-shifts-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding-top: 16px; }
  .my-shift-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
  .my-shift-card.today { border-color: var(--go); }
  .my-shift-date { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
  .my-shift-date strong { font-size: 14px; }
  .my-shift-date > span:not(.today-tag) { color: var(--muted); font-size: 11px; }
  .my-shift-date .today-tag { margin-left: auto; }
  .my-shift-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .my-shift-name { font-size: 15px; font-weight: 800; }
  .my-shift-time { color: var(--muted); font-size: 12px; }
  .my-shift-card > .group-tag { align-self: center; }
  .my-shifts-empty, .my-shifts-loading { margin-top: 16px; padding: 24px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; font-size: 13px; }

  @media (max-width: 660px), (max-device-width: 660px) {
    .my-shifts-view { padding-top: 14px; }
    .my-shifts-head h2 { font-size: 20px; }
    .my-shifts-list { grid-template-columns: 1fr; gap: 10px; padding-top: 12px; }
    .my-shift-card { padding: 14px; }
  }
</style>

<style>
  .shift-reminder {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--go-line);
    border-radius: 12px;
    background: var(--go-soft);
  }
  .shift-reminder-copy {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px 12px;
    flex-wrap: wrap;
  }
  .shift-reminder-copy strong {
    color: var(--go);
    font-size: 13px;
  }
  .shift-reminder-copy span {
    color: var(--muted);
    font-size: 12px;
  }

  @media (max-width: 660px), (max-device-width: 660px) {
    .shift-reminder {
      margin-top: 10px;
      padding: 11px 12px;
    }
    .shift-reminder-copy {
      display: grid;
      gap: 3px;
    }
  }

/* Firebase release-link screen spacing only. Mirrors the login form's vertical rhythm. */
.release-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.release-panel .panel-title,
.release-panel .panel-subtitle,
.release-panel .success,
.release-panel .warning,
.release-panel .error,
.release-panel .btn {
  margin: 0;
}
@media (max-width: 660px), (max-device-width: 660px) {
  .release-panel { gap: 18px; }
}
