    :root {
      color-scheme: light;
      --app-black: #0B0B0F;
      --app-ink: #141318;
      --app-bg: #F7F9FF;
      --app-surface: #FFFFFF;
      --candy-purple: #8EA7FF;
      --candy-orange: #FFBE57;
      --candy-blue: #B9D8FF;
      --candy-pink: #D8C2FF;
      --candy-green: #B7F36B;
      --ios-blue: #6EA6FF;
      --ios-lavender: #E6DEFF;
      --ios-cream: #FFFDF7;
      --ios-surface: rgba(255,255,255,.88);
      --ios-surface-strong: rgba(255,255,255,.96);
      --ios-border: rgba(11,11,15,.075);
      --ios-border-light: rgba(255,255,255,.82);
      --radius-xl: 32px;
      --radius-lg: 26px;
      --radius-md: 20px;
      --tap-scale: .97;
      --ops-motion-fast: 100ms;
      --ops-motion-button: 100ms;
      --ops-motion-standard: 220ms;
      --ops-motion-sheet: 280ms;
      --ops-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
      --ops-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
      --ops-press-scale: .97;
      --ops-sem-task: #2563EB;
      --ops-sem-meeting: #7C3AED;
      --ops-sem-checkin: #16A34A;
      --ops-sem-plan: #0891B2;
      --ops-sem-pending: #EA580C;
      --ops-sem-danger: #DC2626;
      --ops-nav-active-bg: #EAF2FF;
      --store-button-height-primary: 48px;
      --store-button-height-secondary: 44px;
      --store-touch-target: 44px;
      --blue: #5B76FF;
      --violet: var(--candy-purple);
      --lilac: #CABDFF;
      --mist-blue: var(--candy-blue);
      --pink-lilac: var(--candy-pink);
      --cyan: #4ED9C4;
      --orange: #FF8A3D;
      --red: #f04438;
      --green: #12b76a;
      --ink: var(--app-ink);
      --muted: #77747F;
      --line: #E5EAF4;
      --card: var(--ios-surface);
      --shadow: 0 22px 54px rgba(41, 73, 128, .105);
      --soft-shadow: 0 14px 34px rgba(41, 73, 128, .078);
      --micro-shadow: 0 8px 20px rgba(41, 73, 128, .06);
      --tabbar-height: 70px;
      --tabbar-gap: 12px;
      --page-bottom-extra: 52px;
      --page-bottom-safe: calc(var(--tabbar-height) + var(--tabbar-gap) + env(safe-area-inset-bottom) + var(--page-bottom-extra));
      --toast-bottom-safe: calc(var(--tabbar-height) + var(--tabbar-gap) + env(safe-area-inset-bottom) + 18px);
      --assignment-bottom-safe: var(--page-bottom-safe);
      --ease-bounce: cubic-bezier(.2, .85, .32, 1.25);
      --ease-smooth: cubic-bezier(.2, .8, .2, 1);
    }
    * { box-sizing: border-box; }
    html {
      color-scheme: light;
      background: #F7F9FF;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }
    html.store-shell {
      --store-viewport-height: 100dvh;
      --store-small-viewport-height: 100svh;
    }
    body {
      margin: 0;
      min-height: 100vh;
      color: var(--ink);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: geometricPrecision;
      background:
        radial-gradient(circle at 9% 0%, rgba(142,167,255,.26), transparent 30%),
        radial-gradient(circle at 92% 7%, rgba(185,216,255,.24), transparent 27%),
        radial-gradient(circle at 78% 72%, rgba(216,194,255,.17), transparent 32%),
        linear-gradient(180deg, #fbfdff 0%, var(--app-bg) 58%, #eef4ff 100%);
    }
    .hq-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
    .hq-store-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
    .hq-store-strip .chip { flex: 0 0 auto; }
    button, input, select, textarea { font: inherit; color-scheme: light; }
    button { border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform var(--ops-motion-button) var(--ops-ease-out), filter var(--ops-motion-fast) var(--ops-ease-out), box-shadow var(--ops-motion-standard) var(--ops-ease-out), background-color var(--ops-motion-fast) var(--ops-ease-out), color var(--ops-motion-fast) var(--ops-ease-out), opacity var(--ops-motion-fast) var(--ops-ease-out); }
    .ops-control-center-fix,
    :where(.btn, .pill, .tab, .chip, .task-confirm, .task-end-btn, .work-plan-action, .work-plan-mini-btn, .work-plan-empty-create .btn, .single-day-shift, .close, .sheet-back, .bottom-nav .nav-btn, .home-core-action, .home-core-refresh, .field-refresh-pill, .assignment-area-tile, .data-detail-row-action) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      text-align: center;
      line-height: 1.2;
    }
    button, .record, .card, .picker-chip, .chip, .tab, input, select, textarea { -webkit-tap-highlight-color: transparent; }
    :where(button, .btn, .pill, .chip, .tab, .record, .home-feature-card, .data-square-card, .work-plan-card, .me-list-button, input, select, textarea):focus-visible {
      outline: 0;
      box-shadow: 0 0 0 4px rgba(59,130,246,.18), 0 0 0 1px rgba(37,99,235,.34), var(--micro-shadow);
    }
    .app {
      width: min(430px, 100vw);
      min-height: 100vh;
      margin: 0 auto;
      padding: 16px 14px var(--page-bottom-safe);
    }
    html.store-shell body,
    html.store-shell .app {
      min-height: var(--store-viewport-height);
    }
    .hidden { display: none !important; }
    .topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 2px 14px; }
    .topbar-left { min-width: 0; display: flex; align-items: center; gap: 10px; }
    .back-btn {
      width: 38px;
      height: 38px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      color: var(--app-black);
      background: var(--ios-surface-strong);
      border: 1px solid var(--ios-border);
      box-shadow: var(--micro-shadow);
      font-size: 24px;
      font-weight: 900;
    }
    .store-title { font-weight: 920; font-size: 21px; letter-spacing: 0; }
    .sub { color: var(--muted); font-size: 12px; margin-top: 3px; }
    .pill { display: inline-flex; align-items: center; gap: 5px; min-height: var(--store-button-height-secondary); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--app-black); font-weight: 850; font-size: 12px; border: 1px solid var(--ios-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.72); white-space: nowrap; }
    .card {
      background: var(--card);
      border: 1px solid var(--ios-border-light);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
    }
    .hero {
      padding: 19px;
      color: white;
      background:
        radial-gradient(circle at 92% 8%, rgba(167,203,255,.22), transparent 34%),
        linear-gradient(135deg, var(--app-black) 0%, #30303a 100%);
      overflow: hidden;
      position: relative;
    }
    .hero:after {
      content: "";
      position: absolute;
      width: 170px;
      height: 170px;
      right: -62px;
      top: -68px;
      border-radius: 50%;
      background: rgba(255,255,255,.18);
    }
    .hero h1, .hero h2 { margin: 0 0 8px; font-size: 23px; position: relative; z-index: 1; }
    .hero p { margin: 0; line-height: 1.45; opacity: .9; font-size: 13px; position: relative; z-index: 1; }
    .grid { display: grid; gap: 10px; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .metric { padding: 12px; min-height: 82px; }
    .metric-square { aspect-ratio: 1 / 1; min-height: 0; padding: 10px; border-radius: 23px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: linear-gradient(145deg, #fff, #f8f7f2); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--soft-shadow); }
    .metric-square b { font-size: 18px; line-height: 1; margin: 4px 0 2px; word-break: break-word; }
    .metric-square span { line-height: 1.18; font-size: 10px; }
    .data-square-grid, .data-capsule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .data-square-card { min-height: 68px; padding: 10px; border-radius: 24px; background: var(--app-surface); border: 1px solid rgba(255,255,255,.78); box-shadow: var(--soft-shadow); color: var(--app-black); text-align: left; display: grid; grid-template-columns: 36px 1fr; align-items: center; justify-items: stretch; gap: 8px; overflow: hidden; transition: transform .18s var(--ease-bounce), box-shadow .18s var(--ease-smooth); }
    .data-square-card:active { transform: scale(var(--tap-scale)) translateY(1px); box-shadow: 0 9px 22px rgba(30,28,44,.08); }
    .data-square-card:nth-child(4n + 1), .metric-square:nth-child(4n + 1) { background: linear-gradient(145deg, var(--candy-purple), #c9bbff); }
    .data-square-card:nth-child(4n + 2), .metric-square:nth-child(4n + 2) { background: linear-gradient(145deg, var(--candy-orange), #ffd67f); }
    .data-square-card:nth-child(4n + 3), .metric-square:nth-child(4n + 3) { background: linear-gradient(145deg, var(--candy-blue), #cbe0ff); }
    .data-square-card:nth-child(4n), .metric-square:nth-child(4n) { background: linear-gradient(145deg, var(--candy-pink), #ffc4f6); }
    .data-square-card .icon { width: 36px; height: 36px; border-radius: 999px; font-size: 15px; background: rgba(255,255,255,.74); color: var(--app-black); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 16px rgba(26,24,32,.1); }
    .data-card-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
    .data-square-card h3 { margin: 0 0 3px; font-size: 13px; line-height: 1.18; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .data-square-card p { margin: 0; color: rgba(11,11,15,.62); font-size: 10px; line-height: 1.25; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .data-board-panel { padding: 10px; border-radius: 22px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.74); box-shadow: var(--soft-shadow); }
    .data-query-card {
      margin-top: 10px;
      padding: 12px;
      border-radius: 26px;
      color: var(--data-query-value);
      background: var(--data-query-card-bg);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.76), var(--data-query-shadow);
      overflow: hidden;
    }
    .data-query-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      margin: 0 2px 9px;
      min-width: 0;
    }
    .data-query-head b {
      color: var(--data-query-label);
      font-size: 13px;
      line-height: 1.2;
      font-weight: 860;
    }
    .data-query-head span {
      color: var(--muted);
      font-size: 10.5px;
      line-height: 1.2;
      font-weight: 760;
      text-align: right;
      white-space: nowrap;
    }
    .date-picker-field {
      position: relative;
      min-width: 0;
      width: 100%;
    }
    .date-picker-control {
      margin: 0;
      min-height: 54px;
      width: 100%;
      max-width: 100%;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr) 28px;
      align-items: center;
      gap: 8px;
      padding: 8px 11px;
      border-radius: 20px;
      color: var(--data-query-value);
      background: linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,0)), var(--data-query-control-bg);
      box-shadow: inset 0 0 0 1px var(--data-query-border), 0 6px 16px rgba(41,73,128,.045);
      cursor: pointer;
      overflow: hidden;
      transition: transform .16s var(--ease-smooth), background .16s var(--ease-smooth), box-shadow .16s var(--ease-smooth);
    }
    .date-picker-control:active {
      transform: scale(.992);
      background: var(--data-query-control-bg-active);
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.18), 0 4px 12px rgba(41,73,128,.055);
    }
    .date-picker-icon,
    .date-picker-chevron {
      display: grid;
      place-items: center;
      color: var(--data-query-icon);
      pointer-events: none;
    }
    .date-picker-icon {
      width: 34px;
      height: 34px;
      border-radius: 14px;
      background: rgba(71,119,184,.10);
      box-shadow: inset 0 0 0 1px rgba(71,119,184,.10);
    }
    .date-picker-icon svg,
    .date-picker-chevron svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .date-picker-value {
      min-width: 0;
      color: var(--data-query-value);
      font-size: 17px;
      line-height: 1.15;
      font-weight: 880;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      pointer-events: none;
    }
    .date-picker-prefix {
      display: inline-block;
      margin-right: 4px;
      color: var(--data-query-label);
      font-size: .78em;
      font-weight: 900;
      vertical-align: 1px;
    }
    .date-picker-native {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 1px;
      height: 1px;
      min-height: 0;
      margin: 0;
      padding: 0;
      border: 0;
      transform: translate(-50%, -50%);
      opacity: 0;
      pointer-events: none;
      appearance: none;
      -webkit-appearance: none;
    }
    .single-day-switch {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 7px;
    }
    .single-day-switch .date-picker-control {
      min-height: 48px;
      border-radius: 18px;
    }
    .single-day-shift {
      min-height: 44px;
      padding: 0 12px;
      border: 0;
      border-radius: 16px;
      color: var(--data-query-value);
      background: var(--data-query-control-bg);
      box-shadow: inset 0 0 0 1px var(--data-query-border);
      font-size: 13px;
      font-weight: 850;
      white-space: nowrap;
      cursor: pointer;
      transition: transform .16s var(--ease-smooth), background .16s var(--ease-smooth);
    }
    .single-day-shift:active {
      transform: translateY(1px);
      background: var(--data-query-control-bg-active);
    }
    .data-query-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .data-query-grid .data-query-head {
      display: block;
      margin-bottom: 6px;
    }
    .data-query-tabs {
      width: 100%;
      max-width: 100%;
      margin: 0 0 10px;
      padding: 2px 1px 0;
      gap: 7px;
    }
    .data-query-tabs .tab {
      min-height: 38px;
      background: rgba(238,244,251,.72);
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.08);
    }
    .data-query-tabs .tab.active {
      color: var(--brand-strong);
      background: var(--brand-soft);
      box-shadow: inset 0 0 0 1px var(--brand-line);
    }
    .data-query-tabs .tab:disabled,
    .single-day-shift:disabled {
      opacity: .48;
      cursor: not-allowed;
    }
    .data-query-range-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
      align-items: stretch;
      gap: 8px;
    }
    .date-field-stack {
      display: grid;
      min-width: 0;
    }
    .data-query-range-field {
      min-width: 0;
      display: grid;
      gap: 5px;
      padding: 8px;
      border-radius: 18px;
      background: rgba(255,255,255,.78);
      border: 1px solid rgba(37,99,235,.10);
    }
    .data-query-range-field-label {
      color: var(--data-query-muted);
      font-size: 10.5px;
      line-height: 1.15;
      font-weight: 900;
      white-space: nowrap;
      /* 永久标签：起始时间 / 截止时间 */
    }
    .data-query-range-selected {
      display: block;
      min-height: 17px;
      margin-top: 5px;
      color: var(--data-query-muted);
      font-size: 11px;
      font-weight: 760;
      line-height: 1.25;
      text-align: center;
    }
    .data-query-range-row .btn {
      min-height: 48px;
      padding: 0 15px;
      box-shadow: none;
      white-space: nowrap;
    }
    .data-hub-loading {
      display: grid;
      gap: 10px;
      margin-top: 12px;
    }
    .data-hub-loading-row {
      height: 62px;
      border-radius: 24px;
      background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(234,242,251,.92), rgba(255,255,255,.72));
      background-size: 180% 100%;
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.07);
      animation: dataHubLoading 1.1s linear infinite;
    }
    @keyframes dataHubLoading {
      0% { background-position: 0% 50%; }
      100% { background-position: 180% 50%; }
    }
    @media (max-width: 430px) {
      .data-query-grid { grid-template-columns: 1fr; }
      .data-query-range-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 68px;
        gap: 6px;
      }
      .data-query-range-row .date-picker-control {
        min-height: 44px;
        padding: 6px 7px;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
      }
      .data-query-range-row .date-picker-icon,
      .data-query-range-row .date-picker-chevron {
        display: none;
      }
      .data-query-range-row .btn {
        min-height: 44px;
        padding: 0 8px;
        border-radius: 15px;
      }
      .date-picker-value { font-size: 14px; }
      .data-query-range-field {
        padding: 6px;
        border-radius: 15px;
      }
      .data-query-range-field-label {
        font-size: 10px;
      }
      .single-day-switch {
        grid-template-columns: minmax(66px, .7fr) minmax(118px, 1.35fr) minmax(66px, .7fr);
        gap: 6px;
      }
      .single-day-switch .date-picker-control {
        min-height: 44px;
        padding: 7px 8px;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
      }
      .single-day-switch .date-picker-icon,
      .single-day-switch .date-picker-chevron {
        display: none;
      }
      .single-day-shift {
        width: 100%;
        min-height: 44px;
        padding: 0 7px;
        font-size: 11px;
        border-radius: 15px;
      }
      .data-query-tabs .tab { padding-inline: 12px; }
    }
    .data-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
    .data-mini-metric { min-height: 58px; padding: 8px 7px; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid rgba(11,11,15,.055); overflow: hidden; }
    .data-mini-metric span { display: block; color: rgba(11,11,15,.58); font-size: 10px; line-height: 1.18; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .data-mini-metric b { display: block; margin: 4px 0 2px; color: var(--app-black); font-size: 17px; line-height: 1; font-weight: 920; word-break: break-word; }
    .metric b { display: block; font-size: 25px; margin: 6px 0 2px; }
    .metric span { color: var(--muted); font-size: 12px; }
    .section-title { margin: 20px 3px 10px; font-size: 16px; font-weight: 920; display: flex; align-items: center; justify-content: space-between; letter-spacing: 0; }
    .entry { padding: 15px; display: flex; gap: 12px; align-items: center; min-height: 76px; text-align: left; }
    .entry > div:not(.icon):not(.arrow) { flex: 1 1 auto; min-width: 0; text-align: left; }
    .icon { width: 42px; height: 42px; border-radius: 18px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--app-black), #2d2d36); font-size: 20px; flex: 0 0 auto; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 20px rgba(11,11,15,.16); }
    .entry h3 { margin: 0 0 4px; font-size: 15px; }
    .entry p { margin: 0; color: var(--muted); font-size: 12px; }
    .entry .arrow { flex: 0 0 auto; margin-left: auto; color: #98a2b3; font-weight: 900; }
    .home-shell {
      min-height: calc(100vh - 104px);
      padding: 4px 2px 10px;
    }
    .home-hero {
      min-height: 116px;
      border-radius: 34px;
      padding: 18px 20px 17px;
      color: var(--app-black);
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 16% 18%, rgba(255,255,255,.72), transparent 22%),
        radial-gradient(circle at 88% 14%, rgba(185,216,255,.58), transparent 28%),
        radial-gradient(circle at 74% 72%, rgba(216,194,255,.42), transparent 30%),
        linear-gradient(145deg, var(--candy-purple) 0%, var(--candy-blue) 57%, #eaf5ff 100%);
      box-shadow: 0 24px 48px rgba(73,109,190,.18);
    }
    .home-hero:before {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: 32px;
      border: 1px solid rgba(255,255,255,.58);
      pointer-events: none;
    }
    .home-hero:after {
      content: "";
      position: absolute;
      width: 150px;
      height: 150px;
      right: -44px;
      top: -34px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.9), transparent 20%),
        linear-gradient(145deg, rgba(255,255,255,.5), rgba(255,255,255,.12));
    }
    .home-eyebrow {
      position: relative;
      z-index: 1;
      margin: 0 0 8px;
      color: rgba(11,11,15,.58);
      font-size: 11px;
      font-weight: 950;
      letter-spacing: 0;
    }
    .home-hero h1 {
      position: relative;
      z-index: 1;
      margin: 0;
      max-width: 285px;
      font-size: 27px;
      line-height: 1.04;
      font-weight: 950;
      letter-spacing: 0;
      color: var(--app-black);
      text-shadow: 0 1px 0 rgba(255,255,255,.38);
    }
    .home-hero p {
      position: relative;
      z-index: 1;
      margin: 7px 0 0;
      color: rgba(11,11,15,.68);
      font-size: 14px;
      font-weight: 850;
    }
    .store-web-entry-guide {
      margin-top: 12px;
      padding: 13px;
      border-radius: 26px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(246,250,255,.90)),
        var(--app-surface);
      box-shadow: var(--soft-shadow);
      border: 1px solid rgba(255,255,255,.86);
      color: var(--app-black);
    }
    .store-web-entry-guide.compact { margin-top: 0; }
    .store-web-entry-head {
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }
    .store-web-entry-icon {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      border-radius: 15px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(145deg, #6EA6FF, #5FD7F2);
      box-shadow: 0 10px 18px rgba(94,127,222,.16);
      font-weight: 950;
    }
    .store-web-entry-copy { min-width: 0; flex: 1 1 auto; }
    .store-web-entry-copy h3 { margin: 0; font-size: 15px; line-height: 1.22; font-weight: 950; }
    .store-web-entry-copy p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.48; font-weight: 720; }
    .store-web-entry-steps {
      margin: 10px 0 0;
      padding: 10px;
      border-radius: 18px;
      background: rgba(142,167,255,.10);
      display: grid;
      gap: 5px;
      color: #3D3A45;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 760;
    }
    .store-web-entry-actions {
      display: flex;
      gap: 8px;
      margin-top: 10px;
      flex-wrap: wrap;
    }
    .store-web-entry-actions .btn {
      min-height: 38px;
      padding: 8px 12px;
      box-shadow: none;
      font-size: 12px;
      flex: 0 1 auto;
    }
    .task-board {
      margin-top: 12px;
      padding: 13px;
      border-radius: var(--radius-xl);
      background: rgba(255,255,255,.92);
      border: 1px solid var(--ios-border-light);
      box-shadow: var(--soft-shadow);
    }
    .task-board-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .task-board-title {
      margin: 0;
      font-size: 16px;
      line-height: 1.25;
      font-weight: 920;
      color: var(--app-black);
    }
    .task-board-sub {
      color: var(--muted);
      font-size: 12px;
      font-weight: 650;
      white-space: nowrap;
    }
    .task-board-list {
      display: grid;
      gap: 7px;
      max-height: 226px;
      overflow-y: auto;
      padding-right: 2px;
      scrollbar-width: none;
    }
    .task-board-list::-webkit-scrollbar { display: none; }
    .task-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas:
        "main action"
        "meta action";
      align-items: center;
      column-gap: 7px;
      row-gap: 4px;
      min-height: 62px;
      padding: 8px 9px 8px 10px;
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(248,247,242,.94) 100%);
      border: 1px solid var(--ios-border);
      box-shadow: var(--micro-shadow);
    }
    .task-card-top {
      grid-area: main;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 7px;
    }
    .task-card h3 {
      min-width: 0;
      margin: 0;
      color: var(--app-black);
      font-size: 12.2px;
      line-height: 1.28;
      font-weight: 860;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .task-card p {
      margin: 7px 0 0;
      color: #667085;
      font-size: 12px;
      line-height: 1.55;
      font-weight: 600;
    }
    .task-meta {
      grid-area: meta;
      min-width: 0;
      margin-top: 0;
      color: rgba(102,112,133,.7);
      font-size: 9.8px;
      line-height: 1.25;
      font-weight: 650;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .task-ack-list {
      grid-area: ack;
      min-width: 0;
      margin-top: 0;
      padding: 4px 7px;
      border-radius: 12px;
      color: rgba(11,11,15,.68);
      background: rgba(255,255,255,.66);
      border: 1px solid rgba(11,11,15,.055);
      font-size: 10.5px;
      line-height: 1.25;
      font-weight: 750;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .task-target {
      flex: 0 0 auto;
      max-width: 78px;
      padding: 3px 6px;
      border-radius: 999px;
      color: var(--app-black);
      background: var(--candy-green);
      font-size: 9.8px;
      line-height: 1.25;
      font-weight: 820;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .task-card-actions {
      grid-area: action;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      gap: 4px;
    }
    .task-confirm {
      width: auto;
      min-width: 58px;
      margin-top: 0;
      min-height: 26px;
      padding: 0 9px;
      border-radius: 999px;
      background: var(--app-black);
      color: white;
      font-size: 9.8px;
      font-weight: 860;
      box-shadow: 0 7px 16px rgba(11,11,15,.14);
      white-space: nowrap;
    }
    .task-confirm:disabled {
      cursor: not-allowed;
      color: #77747F;
      background: #ecebe7;
      box-shadow: none;
    }
    .task-confirm.acknowledged {
      color: var(--app-black);
      background: var(--candy-green);
    }
    .task-end-btn {
      color: var(--app-black);
      background: rgba(255,255,255,.86);
      border: 1px solid rgba(11,11,15,.08);
      box-shadow: var(--micro-shadow);
    }
    .task-empty {
      min-height: 88px;
      display: grid;
      place-items: center;
      border-radius: 24px;
      color: var(--muted);
      background: rgba(243,242,238,.76);
      border: 1px dashed #d8d4cc;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }
    .field-board {
      margin-top: 12px;
      padding: 14px;
      border-radius: var(--radius-xl);
      background: linear-gradient(145deg, var(--candy-orange), #ffe0a2);
      border: 1px solid rgba(255,255,255,.72);
      box-shadow: 0 16px 34px rgba(180,110,25,.12);
    }
    .field-board .task-board-title { color: var(--app-black); }
    .field-board .task-board-sub { color: rgba(11,11,15,.62); }
    .field-message-list { display: grid; gap: 8px; max-height: 138px; overflow-y: auto; padding-right: 2px; scrollbar-width: none; }
    .field-message-card { padding: 10px 11px; border-radius: 20px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
    .field-message-card b { display: block; color: var(--app-black); font-size: 13px; line-height: 1.35; }
    .field-message-card span { display: block; margin-top: 5px; color: rgba(11,11,15,.62); font-size: 11px; line-height: 1.35; }
    .checkin-board {
      margin-top: 12px;
      padding: 14px;
      border-radius: var(--radius-xl);
      background: linear-gradient(145deg, #F7FBFF, #EEF7F2);
      border: 1px solid rgba(255,255,255,.78);
      box-shadow: 0 16px 34px rgba(37,99,235,.08);
    }
    .checkin-stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
      margin: 10px 0;
    }
    .checkin-stats div {
      min-width: 0;
      padding: 8px 4px;
      border-radius: 16px;
      background: rgba(255,255,255,.72);
      text-align: center;
    }
    .checkin-stats b { display: block; font-size: 17px; line-height: 1; color: var(--app-black); }
    .checkin-stats span { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); font-weight: 800; }
    .checkin-self {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      padding: 11px;
      border-radius: 20px;
      background: rgba(255,255,255,.82);
    }
    .checkin-self b { display: block; font-size: 14px; color: var(--app-black); }
    .checkin-self span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; font-weight: 720; }
    .checkin-primary { width: 100%; min-height: 44px; }
    .checkin-levels {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
      margin-top: 10px;
    }
    .checkin-levels span {
      min-height: 34px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: rgba(219,234,254,.72);
      color: #174EA6;
      font-size: 11px;
      font-weight: 850;
      white-space: nowrap;
    }
    .checkin-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 10px;
    }
    .checkin-board-compact .checkin-actions { grid-template-columns: 1fr; }
    .checkin-actions .pill { width: 100%; min-height: 44px; }
    .checkin-team-detail {
      display: grid;
      gap: 7px;
      max-height: min(54vh, 420px);
      overflow-y: auto;
      margin-top: 10px;
      margin-bottom: 10px;
      padding-right: 2px;
      scrollbar-width: thin;
    }
    .checkin-person-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      padding: 9px 10px;
      border-radius: 16px;
      background: rgba(255,255,255,.76);
    }
    .checkin-person-row b { display: block; color: var(--app-black); font-size: 13px; }
    .checkin-person-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.25; overflow-wrap: anywhere; }
    .tools-search { margin: 10px 0 12px; }
    .tools-search input { width: 100%; min-height: 46px; padding: 0 14px; }
    .home-section-title {
      margin: 18px 6px 12px;
      font-size: 17px;
      line-height: 1.2;
      font-weight: 900;
      color: var(--app-black);
    }
    .home-feature-categories {
      display: grid;
      gap: 12px;
    }
    .home-feature-category {
      padding: 11px;
      border-radius: 24px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(255,255,255,.78);
      box-shadow: 0 12px 28px rgba(26,24,32,.06);
    }
    .home-category-title {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 2px 8px;
      color: var(--app-black);
      font-size: 13px;
      line-height: 1.2;
      font-weight: 950;
      letter-spacing: .01em;
    }
    .home-category-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--candy-blue);
      box-shadow: 0 0 0 5px rgba(183,214,255,.28);
    }
    .home-feature-category:nth-child(2) .home-category-dot { background: var(--candy-orange); box-shadow: 0 0 0 5px rgba(255,211,122,.25); }
    .home-feature-category:nth-child(3) .home-category-dot { background: var(--candy-pink); box-shadow: 0 0 0 5px rgba(255,195,246,.22); }
    .home-feature-category:nth-child(4) .home-category-dot { background: var(--candy-purple); box-shadow: 0 0 0 5px rgba(201,187,255,.24); }
    .home-feature-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px;
      align-items: stretch;
    }
    .home-feature-grid.single {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-feature-card {
      width: 100%;
      min-height: 54px;
      padding: 7px 9px;
      border-radius: 999px;
      background: var(--app-surface);
      border: 1px solid rgba(255,255,255,.86);
      color: var(--app-black);
      text-align: left;
      display: grid;
      grid-template-columns: 30px 1fr;
      align-items: center;
      gap: 7px;
      min-width: 0;
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(26,24,32,.07);
      transition: transform .16s var(--ease-smooth), box-shadow .16s ease, border-color .16s ease;
    }
    .home-feature-card:nth-child(4n + 1) { background: linear-gradient(145deg, var(--candy-purple), #c9bbff); }
    .home-feature-card:nth-child(4n + 2) { background: linear-gradient(145deg, var(--candy-orange), #ffd37a); }
    .home-feature-card:nth-child(4n + 3) { background: linear-gradient(145deg, var(--candy-blue), #cbe0ff); }
    .home-feature-card:nth-child(4n) { background: linear-gradient(145deg, var(--candy-pink), #ffc3f6); }
    .home-feature-card:active {
      transform: scale(var(--tap-scale)) translateY(2px);
      box-shadow: 0 10px 24px rgba(89,98,138,.10);
    }
    .home-feature-icon {
      width: 30px;
      height: 30px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background:
        radial-gradient(circle at 32% 22%, rgba(255,255,255,.82), transparent 22%),
        linear-gradient(145deg, rgba(255,255,255,.68), rgba(255,255,255,.2));
      box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 7px 14px rgba(26,24,32,.1);
      color: var(--app-black);
    }
    .home-feature-icon svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      stroke-width: 2.2;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .home-feature-card h3 {
      margin: 0 0 2px;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 900;
      color: var(--app-black);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .home-feature-copy {
      min-height: 34px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
      overflow: hidden;
    }
    .home-feature-copy p {
      margin: 0;
      color: rgba(11,11,15,.62);
      font-size: 9px;
      line-height: 1.25;
      font-weight: 650;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .home-feature-card.wide {
      grid-column: auto;
      min-height: 54px;
      display: grid;
      grid-template-columns: 30px 1fr;
      align-items: center;
      gap: 7px;
    }
    .home-feature-card.wide .home-feature-icon { margin-bottom: 0; }
    .tabs, .area-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
    .tab { flex: 0 0 auto; min-height: 36px; padding: 8px 13px; border-radius: 999px; color: #5f5c66; background: rgba(255,255,255,.78); border: 1px solid var(--line); font-weight: 850; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); transition: transform .16s var(--ease-bounce), background .16s var(--ease-smooth), color .16s var(--ease-smooth); }
    .tab:active { transform: scale(.97); }
    .tab.active { background: var(--app-black); color: white; border-color: var(--app-black); }
    .table-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .table-cell { min-height: 74px; border-radius: 22px; background: rgba(255,255,255,.88); border: 1px solid rgba(11,11,15,.06); box-shadow: var(--soft-shadow); font-weight: 900; position: relative; transition: transform .16s var(--ease-bounce), box-shadow .16s var(--ease-smooth); }
    .table-cell.dirty { background: var(--candy-orange); border-color: rgba(255,255,255,.7); }
    .badge { position: absolute; right: 8px; top: 7px; min-width: 21px; height: 21px; border-radius: 999px; background: var(--orange); color: white; font-size: 11px; display: grid; place-items: center; }
    .list { display: grid; gap: 10px; }
    .record { padding: 14px; border-radius: 24px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--micro-shadow); }
    .record.compact { padding: 10px 11px; border-radius: 18px; }
    button.record { width: 100%; text-align: left; color: inherit; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s var(--ease-smooth); }
    button.record:active, .entry:active, .table-cell:active, .btn:active, .chip:active, .data-square-card:active, .check-pill:active { transform: scale(.975) translateY(1px); }
    button.record.active { border-color: rgba(11,11,15,.9); background: #fff; box-shadow: 0 0 0 3px rgba(11,11,15,.08); }
    .record-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 850; }
    .record-meta { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .diagnostic-list { display: grid; gap: 7px; margin-top: 10px; }
    .diagnostic-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 850; color: var(--app-black); }
    .diagnostic-row .status { flex: 0 1 auto; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; padding: 3px 8px; }
    .diagnostic-row .status.danger { background: var(--candy-orange); }
    .status { padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 900; background: var(--candy-blue); color: var(--app-black); }
    .status.todo { background: var(--candy-orange); color: var(--app-black); }
    .status.done { background: var(--candy-green); color: var(--app-black); }
    .status.closed { background: #f2f4f7; color: #667085; }
    .btn { min-height: var(--store-button-height-primary); padding: 12px 18px; border-radius: 999px; background: var(--app-black); color: white; font-weight: 900; box-shadow: 0 13px 24px rgba(11,11,15,.18); transition: transform .16s var(--ease-smooth), box-shadow .16s var(--ease-smooth), filter .16s var(--ease-smooth); }
    .btn.secondary { min-height: var(--store-button-height-secondary); background: white; color: var(--app-black); border: 1px solid rgba(11,11,15,.09); box-shadow: var(--micro-shadow); }
    .btn.ghost { background: #eeece5; color: #5f5c66; box-shadow: none; }
    .btn.danger { background: rgba(194,65,61,.105); color: var(--red); box-shadow: inset 0 0 0 1px rgba(194,65,61,.16); }
    .actions { display: flex; gap: 9px; margin-top: 12px; }
    .actions .btn { flex: 1; }
    label { display: block; margin: 12px 0 6px; font-size: 13px; color: #5f5c66; font-weight: 850; }
    input, select, textarea {
      width: 100%;
      min-height: 48px;
      border: 1px solid rgba(11,11,15,.09);
      border-radius: 20px;
      padding: 11px 13px;
      background: rgba(255,255,255,.96);
      outline: 0;
      transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
    }
    input:focus, select:focus, textarea:focus { border-color: rgba(110,166,255,.86); box-shadow: 0 0 0 4px rgba(110,166,255,.18); background: #fff; }
    textarea { min-height: 90px; resize: vertical; }
    .sheet-mask { position: fixed; inset: 0; background: rgba(15,23,42,.26); z-index: 40; display: flex; align-items: flex-end; justify-content: center; opacity: 1; transition: opacity var(--ops-motion-standard) var(--ops-ease-out); }
    .sheet { width: min(430px, 100%); max-height: 88vh; overflow: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; border-radius: 34px 34px 0 0; padding: 0 14px calc(18px + env(safe-area-inset-bottom)); background: #F6F8FB; display: flex; flex-direction: column; box-shadow: 0 -14px 34px rgba(15,23,42,.12); border: 1px solid rgba(255,255,255,.75); opacity: 1; transform: translate3d(0, 0, 0); transition: transform var(--ops-motion-sheet) var(--ops-ease-drawer), opacity var(--ops-motion-standard) var(--ops-ease-out), box-shadow var(--ops-motion-standard) var(--ops-ease-out); }
    .sheet-mask[data-state="closing"] {
      opacity: 0;
      pointer-events: none;
    }
    .sheet-mask[data-state="closing"] .sheet {
      opacity: .98;
      transform: translate3d(0, 100%, 0);
    }
    .sheet-head {
      position: relative;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex: 0 0 auto;
      gap: 10px;
      margin: 0 -14px 10px;
      padding: 14px 14px 10px;
      background: rgba(246,248,251,.98);
      border-bottom: 1px solid rgba(11,11,15,.06);
    }
    .sheet-title { min-width: 0; display: flex; align-items: center; gap: 9px; }
    .sheet-head h2 { margin: 0; font-size: 19px; font-weight: 950; }
    .sheet-body { display: grid; gap: 10px; min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
    .close { width: 38px; height: 38px; border-radius: 999px; background: var(--app-black); color: white; font-size: 20px; box-shadow: 0 10px 20px rgba(11,11,15,.16); }
    .sheet-back { width: 36px; height: 36px; border-radius: 999px; background: #fff; color: var(--app-black); font-size: 22px; font-weight: 900; border: 1px solid rgba(11,11,15,.08); }
    .sticky-page-return { position: sticky; top: 0; z-index: 18; margin: -2px -2px 10px; padding: 2px 0 8px; background: linear-gradient(180deg, rgba(247,249,255,.98) 0%, rgba(247,249,255,.92) 72%, rgba(247,249,255,0) 100%); }
    .chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .chip { min-height: 36px; padding: 8px 11px; border-radius: 999px; background: white; border: 1px solid rgba(11,11,15,.08); color: #5f5c66; font-weight: 850; box-shadow: inset 0 1px 0 rgba(255,255,255,.78); transition: transform .16s var(--ease-bounce), background .16s var(--ease-smooth), color .16s var(--ease-smooth); }
    .chip:active { transform: scale(.97); }
    .chip.active { color: white; background: var(--app-black); border-color: var(--app-black); }
    .bottom-nav {
      position: fixed;
      left: 50%;
      bottom: calc(var(--tabbar-gap) + env(safe-area-inset-bottom));
      transform: translateX(-50%);
      width: min(398px, calc(100% - 24px));
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 6px;
      padding: 8px;
      border-radius: 34px;
      background: var(--app-black);
      border: 1px solid rgba(255,255,255,.12);
      box-shadow: 0 22px 42px rgba(11,11,15,.28);
      z-index: 30;
    }
    .nav-btn {
      min-height: var(--store-touch-target);
      height: 60px;
      border-radius: 28px;
      background: transparent;
      color: rgba(255,255,255,.66);
      font-size: 11px;
      font-weight: 900;
      display: grid;
      place-items: center;
      gap: 3px;
      transition: background .18s ease, color .18s ease, transform .18s var(--ease-bounce);
    }
    .nav-btn:active { transform: scale(.96); }
    .nav-btn.active {
      background: #fff;
      color: var(--app-black);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 8px 18px rgba(11,11,15,.16);
    }
    .nav-icon {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      stroke-width: 2.2;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .login-wrap, .auth-gate { min-height: 100vh; display: grid; place-items: center; padding: 18px; }
    .login-card { width: min(390px, 100%); padding: 24px 18px; }
    .login-card h1 { margin: 0 0 8px; font-size: 26px; }
    .auth-card { width: min(320px, 100%); padding: 24px 18px; text-align: center; }
    .loader {
      width: 42px;
      height: 42px;
      margin: 0 auto 14px;
      border-radius: 50%;
      border: 4px solid #ecebe7;
      border-top-color: var(--app-black);
      animation: spin .8s linear infinite;
    }
    .empty { padding: 24px 14px; text-align: center; color: var(--muted); border: 1px dashed #d8d4cc; border-radius: 24px; background: rgba(255,255,255,.68); }
    .bar { height: 14px; border-radius: 999px; background: #E2E8F0; overflow: hidden; box-shadow: inset 0 1px 2px rgba(15,23,42,.09); }
    .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4F46E5, #38BDF8); box-shadow: 0 4px 10px rgba(79,70,229,.18); }
    .rank-bar-row.rank-top .bar i { background: linear-gradient(90deg, #2563EB, #7C3AED); box-shadow: 0 5px 12px rgba(37,99,235,.24); }
    .rank-bar-row.rank-alt .bar i { background: linear-gradient(90deg, #C08A24, #FACC15); box-shadow: 0 5px 12px rgba(192,138,36,.18); }
    .rank-bar-row.rank-soft .bar i { background: linear-gradient(90deg, #60A5FA, #93C5FD); }
    .toast { position: fixed; left: 50%; bottom: var(--toast-bottom-safe); opacity: 1; transform: translate3d(-50%, 0, 0); width: min(360px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 999px; color: white; background: rgba(11,11,15,.94); z-index: 99; text-align: center; font-weight: 850; box-shadow: 0 14px 28px rgba(11,11,15,.24); transition: transform var(--ops-motion-standard) var(--ops-ease-out), opacity var(--ops-motion-fast) var(--ops-ease-out); }
    html.store-shell .toast { min-height: 44px; padding: 10px 10px 10px 14px; border-radius: 18px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    html.store-shell .toast__message { min-width: 0; flex: 1; line-height: 1.35; overflow-wrap: anywhere; }
    html.store-shell .toast__dismiss { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 999px; color: #fff; background: rgba(255,255,255,.16); font-size: 18px; line-height: 1; }
    @starting-style {
      .sheet-mask {
        opacity: 0;
      }
      .sheet {
        opacity: .96;
        transform: translate3d(0, 100%, 0);
      }
      .toast {
        opacity: 0;
        transform: translate3d(-50%, 8px, 0);
      }
    }
    .network-status-banner {
      position: fixed;
      left: 50%;
      bottom: var(--toast-bottom-safe);
      transform: translateX(-50%);
      width: min(420px, calc(100vw - 20px));
      padding: 10px 12px;
      border-radius: 16px;
      background: rgba(232, 241, 252, .98);
      border: 1px solid rgba(71,119,184,.16);
      color: #234268;
      box-shadow: 0 14px 26px rgba(41,73,128,.12);
      z-index: 98;
      font-size: 12px;
      line-height: 1.35;
      font-weight: 820;
      text-align: center;
    }
    .network-status-banner.is-warn {
      background: rgba(255, 247, 237, .98);
      border-color: rgba(245, 158, 11, .18);
      color: #92400E;
    }
    .network-status-banner.is-error {
      background: rgba(254, 242, 242, .98);
      border-color: rgba(239, 68, 68, .18);
      color: #991B1B;
    }
    .publish-card { width: 390px; max-width: 100%; padding: 18px; background: white; color: #182230; }
    .publish-card h2 { text-align: center; margin: 0 0 10px; }
    .publish-row { display: grid; grid-template-columns: 36px 1fr 62px; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eef2f7; font-size: 13px; }
    .compact-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eef2f7; }
    .search-box { position: relative; z-index: 1; background: rgba(247,249,255,.96); padding-bottom: 8px; }
    .picker-strip { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
    .scroll-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; height: 188px; max-height: 38vh; overflow-y: auto; padding: 2px 2px 10px; scrollbar-width: thin; align-content: start; }
    .picker-chip { flex: 0 0 auto; min-width: 104px; min-height: 54px; padding: 9px 12px; border-radius: 20px; background: white; border: 1px solid rgba(11,11,15,.08); color: var(--ink); text-align: left; box-shadow: 0 8px 18px rgba(26,24,32,.04); transition: transform .18s var(--ease-bounce), border-color .18s ease, background .18s ease, box-shadow .18s ease; }
    .scroll-picker .picker-chip { flex: initial; width: 100%; min-width: 0; min-height: 48px; padding: 8px 10px; }
    .picker-chip b { display: block; font-size: 15px; }
    .picker-chip span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
    .picker-chip.active { background: var(--app-black); border-color: rgba(11,11,15,.92); color: white; box-shadow: 0 0 0 4px rgba(11,11,15,.08), 0 14px 28px rgba(11,11,15,.18); transform: translateY(-1px); }
    .picker-chip.active span { color: rgba(255,255,255,.72); }
    .employee-picker-tools { display: grid; gap: 7px; margin: 7px 0 8px; }
    .employee-picker-tools label { margin: 0; }
    .employee-index-row { display: flex; gap: 6px; overflow-x: auto; padding: 1px 1px 2px; scrollbar-width: none; }
    .employee-index-row::-webkit-scrollbar { display: none; }
    .employee-index-chip { flex: 0 0 auto; min-width: 34px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(11,11,15,.08); background: rgba(255,255,255,.86); color: var(--muted); font-size: 12px; font-weight: 760; }
    .employee-index-chip.active { background: var(--app-black); color: white; border-color: rgba(11,11,15,.92); box-shadow: 0 8px 18px rgba(11,11,15,.12); }
    .employee-picker-list { display: block; }
    .employee-picker-group { margin-bottom: 9px; }
    .employee-picker-group-title { position: sticky; top: 0; z-index: 1; padding: 4px 2px 5px; color: var(--muted); background: linear-gradient(180deg, rgba(247,249,255,.98), rgba(247,249,255,.84)); font-size: 11px; font-weight: 820; letter-spacing: 0; }
    .employee-picker-grid { display: grid; grid-template-columns: 1fr; gap: 7px; }
    .employee-picker-summary { min-height: 18px; margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
    .employee-picker-empty { display: none; margin-top: 8px; padding: 12px; border-radius: 14px; background: rgba(148,163,184,.12); color: var(--muted); font-size: 12px; line-height: 1.45; }
    .employee-picker-empty.visible { display: block; }
    .hygiene-entry-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; align-items: start; margin-top: 12px; }
    .hygiene-entry-column { min-width: 0; display: grid; gap: 7px; }
    .hygiene-entry-column label { margin: 0; min-height: 34px; display: flex; align-items: center; font-size: 12px; color: #5f5c66; }
    .hygiene-entry-column input { min-height: 40px; border-radius: 13px; padding: 8px 9px; font-size: 12px; }
    .hygiene-entry-column .scroll-picker { grid-template-columns: 1fr; height: 260px; max-height: 42vh; padding-bottom: 6px; }
    .hygiene-entry-column .picker-chip { min-height: 42px; border-radius: 14px; padding: 7px 8px; }
    .hygiene-entry-column .picker-chip b { font-size: 13px; line-height: 1.2; }
    .hygiene-entry-column .picker-chip span { font-size: 11px; line-height: 1.2; }
    .assigned-responsible-card {
      padding: 11px;
      border-radius: 16px;
      background: linear-gradient(145deg, var(--candy-blue), #d9e8ff);
      border: 1px solid rgba(255,255,255,.74);
      box-shadow: 0 10px 22px rgba(26,24,32,.08);
    }
    .assigned-responsible-card.empty {
      background: linear-gradient(145deg, var(--candy-orange), #ffe1a8);
      border-color: rgba(255,255,255,.74);
      box-shadow: none;
    }
    .assigned-responsible-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: rgba(11,11,15,.66);
      font-size: 12px;
      font-weight: 850;
    }
    .assigned-responsible-names {
      margin-top: 8px;
      color: var(--app-black);
      font-size: 15px;
      line-height: 1.45;
      font-weight: 900;
      word-break: break-word;
    }
    .temporary-responsible-toggle {
      min-height: 32px;
      padding: 6px 10px;
      border-radius: 999px;
      color: white;
      background: var(--app-black);
      border: 1px solid rgba(11,11,15,.18);
      font-size: 12px;
      font-weight: 850;
    }
    .temporary-responsible-block {
      display: grid;
      gap: 7px;
      margin-top: 8px;
      padding: 9px;
      border-radius: 16px;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(11,11,15,.07);
    }
    .temporary-responsible-block .scroll-picker { height: 172px; max-height: 30vh; }
    .hygiene-submit-bar { position: sticky; bottom: 0; z-index: 6; margin: 12px -14px 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,247,244,.98); border-top: 1px solid rgba(11,11,15,.06); }
    .hygiene-submit-bar .btn { width: 100%; }
    @media (max-width: 380px) {
      .hygiene-entry-grid { gap: 6px; }
      .hygiene-entry-column .picker-chip b { font-size: 12px; }
      .hygiene-entry-column .picker-chip span { font-size: 10px; }
    }
    .meeting-item-card { display: grid; gap: 8px; padding: 14px; border-radius: 24px; background: rgba(255,255,255,.9); border: 1px solid rgba(11,11,15,.06); box-shadow: var(--soft-shadow); }
    .meeting-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .meeting-no { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--app-black); color: #fff; font-weight: 900; }
    .meeting-export-card { width: 760px; max-width: 100%; padding: 28px; background: #fff; color: var(--app-black); border-radius: 24px; }
    .meeting-export-card h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: 0; }
    .meeting-export-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
    .meeting-export-meta { padding: 12px; border-radius: 16px; background: #f3f2ee; color: #5f5c66; font-size: 13px; }
    .meeting-export-row { display: grid; grid-template-columns: 40px 1.18fr 1.02fr .66fr .66fr .62fr .92fr .68fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid #eef2f7; font-size: 12px; line-height: 1.45; }
    .meeting-export-row b { color: var(--app-black); }
    .meeting-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .meeting-type-card {
      min-height: 98px;
      padding: 13px 10px;
      border-radius: 24px;
      background: rgba(255,255,255,.9);
      border: 1px solid rgba(11,11,15,.06);
      color: #5f5c66;
      text-align: left;
      box-shadow: 0 12px 26px rgba(16,24,40,.06);
      transition: transform .18s var(--ease-bounce), border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .meeting-type-card:active { transform: scale(.98) translateY(1px); }
    .meeting-type-card.active { background: var(--candy-purple); border-color: rgba(255,255,255,.72); box-shadow: 0 0 0 4px rgba(11,11,15,.06), 0 16px 30px rgba(26,24,32,.12); }
    .meeting-type-card b { display: block; margin-bottom: 6px; color: var(--app-black); font-size: 15px; }
    .meeting-type-card span { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }
    .meeting-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
    .meeting-item-card textarea { min-height: 70px; }
    .meeting-item-card textarea.meeting-execution-requirement { min-height: 82px; }
    .meeting-item-tools { display: flex; align-items: center; gap: 8px; }
    .meeting-item-tools .btn { min-height: 34px; padding: 7px 10px; border-radius: 12px; font-size: 12px; box-shadow: none; }
    .meeting-detail-list { display: grid; gap: 10px; }
    .meeting-detail-list .record-meta { color: #5f5c66; }
    .meeting-export-preview { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid rgba(11,11,15,.08); max-height: 54vh; margin: 10px 0; }
    .meeting-export-preview img,
    .meeting-export-preview iframe { display: block; width: 100%; height: min(54vh, 520px); border: 0; object-fit: contain; background: #fff; }
    .meeting-export-status { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(22,119,255,.08); color: #0f3f7a; font-size: 12px; line-height: 1.45; }
    .meeting-export-status.success { background: rgba(15,118,110,.1); color: #0f766e; }
    .meeting-export-status.warn { background: rgba(245,158,11,.12); color: #92400e; }
    .meeting-export-status.error { background: rgba(220,38,38,.1); color: #991b1b; }
    .card.drink-price-hero { background: linear-gradient(135deg, #14161C, #283144); color: #F8FAFC; border-color: rgba(255,255,255,.14); box-shadow: 0 18px 42px rgba(15,23,42,.18); }
    .drink-price-hero .pill { background: rgba(255,255,255,.12); color: #F8FAFC; border-color: rgba(255,255,255,.18); }
    .drink-price-hero p { color: rgba(248,250,252,.72); }
    .drink-price-sync-note { display: grid; gap: 4px; margin: 8px 0 12px; padding: 11px 12px; border-radius: 18px; color: #4B3A12; background: rgba(250,204,21,.14); box-shadow: inset 0 0 0 1px rgba(180,83,9,.12); }
    .drink-price-sync-note b { font-size: 13px; line-height: 1.2; color: #7C4A03; }
    .drink-price-sync-note span { font-size: 12px; line-height: 1.45; color: rgba(75,58,18,.78); }
    .drink-price-toolbar { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(120px, .65fr); gap: 10px; margin: 12px 0; }
    .drink-price-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }
    .drink-price-list { display: grid; gap: 12px; }
    .drink-price-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 13px; align-items: center; padding: 12px; border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,247,251,.94)); border: 1px solid rgba(17,24,39,.08); box-shadow: 0 16px 34px rgba(15,23,42,.08); }
    .drink-price-project-card { grid-template-columns: 44px minmax(0, 1fr); background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(250,248,242,.95)); box-shadow: 0 12px 28px rgba(72,60,36,.07); }
    .drink-price-project-mark { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: #9F7A2F; background: rgba(178,138,46,.1); border: 1px solid rgba(178,138,46,.18); }
    .drink-price-project-mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
    .drink-price-card[draggable="true"] { cursor: grab; }
    .drink-price-card.dragging { opacity: .55; transform: scale(.985); }
    .drink-price-photo { width: 96px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, #1B1D24, #343A46); display: grid; place-items: center; color: rgba(255,255,255,.72); font-weight: 900; }
    .drink-price-photo .store-image-fallback { grid-area: 1 / 1; }
    .drink-price-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .drink-price-info { min-width: 0; display: grid; gap: 7px; }
    .drink-price-info h3 { margin: 0; font-size: 19px; line-height: 1.15; letter-spacing: 0; color: #151922; }
    .drink-price-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .drink-price-type { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border-radius: 999px; background: rgba(30,41,59,.08); color: #334155; font-size: 12px; font-weight: 800; }
    .drink-price-value { color: #B7791F; font-size: 25px; font-weight: 950; font-variant-numeric: tabular-nums; }
    .drink-price-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .drink-price-tools .btn { min-height: 32px; padding: 6px 8px; border-radius: 12px; font-size: 12px; box-shadow: none; }
    :root {
      --competitor-report-bg: #F3F5F9;
      --competitor-report-surface: #FFFFFF;
      --competitor-report-surface-soft: #F8F9FC;
      --competitor-report-text: #172033;
      --competitor-report-text-secondary: #4F5D73;
      --competitor-report-text-muted: #7E8A9D;
      --competitor-report-border: #DFE4EC;
      --competitor-report-border-strong: #C8D0DE;
      --competitor-report-blue: #4F63D8;
      --competitor-report-blue-soft: #EEF0FF;
      --competitor-report-blue-dark: #3447B5;
      --competitor-report-green: #2F9D73;
      --competitor-report-green-soft: #EAF7F1;
      --competitor-report-cyan: #248F9B;
      --competitor-report-cyan-soft: #E8F6F8;
      --competitor-report-purple: #7459C8;
      --competitor-report-purple-soft: #F1EEFF;
      --competitor-report-orange: #D98938;
      --competitor-report-orange-soft: #FFF3E5;
      --competitor-report-red: #D9535C;
      --competitor-report-red-soft: #FDEEEF;
      --competitor-report-gold: #C99324;
      --competitor-report-gold-soft: #FFF7DF;
      --competitor-report-gray: #9AA6B6;
      --competitor-report-gray-soft: #EEF2F7;
      --competitor-page-bg: var(--competitor-report-bg);
      --competitor-panel-bg: var(--competitor-report-surface);
      --competitor-panel-alt-bg: var(--competitor-report-surface-soft);
      --competitor-card-bg: var(--competitor-report-surface);
      --competitor-border: var(--competitor-report-border);
      --competitor-border-strong: var(--competitor-report-border-strong);
      --competitor-shadow: 0 4px 16px rgba(24, 36, 62, 0.06);
      --competitor-shadow-soft: 0 10px 28px rgba(24, 36, 62, 0.08);
      --competitor-radius: 22px;
      --competitor-gap: 16px;
    }
    .competitor-hero { background: var(--competitor-report-surface); border-color: var(--competitor-border-strong); }
    .competitor-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; margin: 12px 0; }
    .competitor-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }
    .competitor-top-compact { margin: 0 0 var(--competitor-gap); padding: 10px; border-radius: 24px; background: var(--competitor-report-surface); border: 1px solid var(--competitor-border-strong); box-shadow: var(--competitor-shadow); }
    .competitor-title-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 8px; }
    .competitor-title-line h2 { margin: 0; font-size: 18px; line-height: 1.1; color: var(--competitor-report-text); }
    .competitor-quick-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.08fr) auto; gap: 7px; align-items: end; }
    .competitor-quick-row label { margin-top: 0; }
    .competitor-refresh-btn { min-width: 54px; min-height: 44px; padding: 8px 9px; border-radius: 16px; box-shadow: none; }
    .competitor-business-close-panel { margin: var(--competitor-gap) 0 0; padding: 12px; border-radius: var(--competitor-radius); background: var(--competitor-panel-bg); border: 1px solid var(--competitor-border-strong); box-shadow: var(--competitor-shadow-soft); }
    .competitor-business-close-panel .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
    .competitor-business-close-panel .actions .btn { width: 100%; min-width: 0; min-height: 42px; box-shadow: none; }
    .competitor-ended-meta { margin-top: 8px; color: var(--competitor-report-text-secondary); font-size: 12px; line-height: 1.45; font-weight: 760; }
    .competitor-overview-compact { display: grid; gap: 7px; margin: 9px 0 10px; }
    .competitor-overview-primary,
    .competitor-overview-secondary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .competitor-overview-primary .competitor-overview-item { min-height: 56px; }
    .competitor-overview-secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .competitor-overview-secondary .competitor-overview-item { min-height: 48px; }
    .competitor-overview-item { min-width: 0; padding: 7px 8px; border-radius: 15px; background: var(--competitor-report-surface-soft); border: 1px solid var(--competitor-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.86); }
    .competitor-overview-item span { display: block; min-height: 22px; color: var(--competitor-report-text-secondary); font-size: 10px; line-height: 1.12; font-weight: 820; overflow-wrap: anywhere; }
    .competitor-overview-item b { display: block; margin-top: 3px; color: var(--competitor-report-text); font-size: clamp(11px, 3.05vw, 17px); line-height: 1.08; font-weight: 950; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
    .competitor-overview-item.is-total { background: var(--competitor-report-blue-soft); border-color: #CFE0FA; }
    .competitor-overview-item.is-total b { color: var(--competitor-report-blue-dark); }
    .competitor-overview-item.is-state { background: var(--competitor-report-orange-soft); border-color: #F5D6B2; }
    .competitor-overview-item.is-state b { color: var(--competitor-report-orange); }
    .competitor-completeness-line { padding: 7px 9px; border-radius: 14px; background: var(--competitor-report-blue-soft); border: 1px solid #CFE0FA; color: var(--competitor-report-text-secondary); font-size: 11px; line-height: 1.32; font-weight: 780; }
    .competitor-list-panel { margin: 8px 0 0; padding: 8px; border-radius: 20px; background: var(--competitor-panel-alt-bg); border: 1px solid var(--competitor-border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
    .competitor-search-input { min-height: 42px; border-radius: 17px; padding: 9px 12px; font-size: 14px; background: #fff; border: 1px solid var(--competitor-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.86); }
    .competitor-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 8px 0 0; }
    .competitor-slot-timeline::-webkit-scrollbar { display: none; }
    .competitor-filter-chip { width: 100%; min-width: 0; min-height: 34px; padding: 6px 6px; border-radius: 999px; color: var(--competitor-report-text-secondary); background: var(--competitor-report-surface); border: 1px solid var(--competitor-border); font-size: 11px; line-height: 1.08; font-weight: 850; box-shadow: none; white-space: normal; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
    .competitor-filter-chip.active { color: var(--competitor-report-blue-dark); background: var(--competitor-report-blue-soft); border-color: #AFCBFA; }
    .competitor-backfill-panel { margin: 8px 0 9px; padding: 9px; border-radius: 19px; background: var(--competitor-report-surface-soft); border: 1px solid var(--competitor-border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.82); }
    .competitor-backfill-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #475569; font-size: 11px; line-height: 1.35; font-weight: 820; }
    .competitor-backfill-head b { color: #111827; font-size: 13px; font-weight: 920; }
    .competitor-backfill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
    .competitor-backfill-slot { min-width: 0; min-height: 44px; padding: 6px 5px; border-radius: 15px; color: #475569; background: rgba(248,250,252,.96); border: 1px solid rgba(17,24,39,.07); box-shadow: none; font-size: 10px; line-height: 1.08; font-weight: 820; text-align: center; }
    .competitor-backfill-slot b { display: block; color: #111827; font-size: 12px; line-height: 1.1; font-weight: 930; }
    .competitor-backfill-slot span { display: block; margin-top: 3px; color: #64748b; font-size: 9.5px; }
    .competitor-backfill-slot.done { color: #0f766e; background: rgba(15,118,110,.1); border-color: rgba(15,118,110,.2); }
    .competitor-backfill-slot.partial { color: #315C86; background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.18); }
    .competitor-backfill-slot.active { color: #0f172a; background: rgba(142,167,255,.28); border-color: rgba(79,70,229,.3); }
    .competitor-date-compact-hint { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; margin: 0 0 10px; padding: 10px 12px; border-radius: 16px; background: var(--competitor-report-surface); border: 1px solid var(--competitor-border); color: var(--competitor-report-text-secondary); font-size: 12px; line-height: 1.35; box-shadow: none; }
    .competitor-date-compact-hint b { color: var(--competitor-report-text); font-size: 13px; line-height: 1.2; font-weight: 900; }
    .competitor-date-compact-hint span { min-width: 0; overflow-wrap: anywhere; }
    .competitor-date-compact-hint .btn { grid-row: 1 / span 2; grid-column: 2; min-height: 36px; padding: 7px 10px; border-radius: 12px; box-shadow: none; white-space: nowrap; }
    .competitor-table-list { width: 100%; max-width: 100%; box-sizing: border-box; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 var(--competitor-gap); padding-bottom: 0; overflow-x: hidden; overflow-x: clip; }
    .competitor-table-card { padding: 12px; border-radius: 22px; background: var(--competitor-report-surface); border: 1px solid var(--competitor-border); box-shadow: var(--competitor-shadow-soft); }
    .competitor-compact-card { position: relative; min-width: 0; width: 100%; max-width: 100%; min-height: 150px; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; cursor: pointer; overflow: hidden; background: var(--competitor-report-surface); border: 1px solid var(--competitor-report-border); box-shadow: var(--competitor-shadow); transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease; }
    .competitor-compact-card:active { transform: scale(.985); }
    .competitor-sheet-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .competitor-table-switcher { display: grid; grid-template-columns: minmax(68px, auto) minmax(0, 1fr) minmax(68px, auto); align-items: center; gap: 6px; }
    .competitor-table-switcher b { min-width: 0; color: #111827; font-size: 18px; line-height: 1.1; font-weight: 950; text-align: center; overflow-wrap: anywhere; }
    .competitor-table-switcher .btn { min-width: 68px; min-height: 44px; padding: 8px 9px; border-radius: 14px; color: #475569; background: rgba(255,255,255,.95); border: 1px solid rgba(96,165,250,.24); box-shadow: none; font-size: 13px; line-height: 1.05; font-weight: 820; }
    .competitor-table-switcher .btn:active { transform: scale(.97); background: rgba(239,246,255,.98); }
    .competitor-table-switcher .btn:disabled { opacity: .45; color: #94a3b8; background: rgba(248,250,252,.84); border-color: rgba(148,163,184,.28); box-shadow: none; }
    .sheet.action-busy .competitor-table-switcher .btn { pointer-events: none; opacity: .58; }
    .competitor-compact-top { min-width: 0; width: 100%; min-height: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px; }
    .competitor-compact-top .competitor-status { min-height: 20px; padding: 2px 3px; font-size: 9px; line-height: 1; }
    .competitor-card-code { justify-self: end; max-width: 100%; min-width: 0; min-height: 22px; padding: 2px 3px; border-radius: 999px; color: var(--competitor-report-text); background: var(--competitor-report-gray-soft); border: 1px solid #D7DEE8; font-size: clamp(11px, 3.2vw, 14px); line-height: 1.04; font-weight: 900; text-align: right; white-space: normal; overflow-wrap: anywhere; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
    .competitor-compact-title { min-width: 0; display: grid; gap: 3px; }
    .competitor-compact-title h3 { margin: 0; color: #111827; font-size: 17px; line-height: 1.12; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .competitor-compact-progress { color: #64748b; font-size: 11px; line-height: 1.25; font-weight: 780; }
    .competitor-compact-metrics { min-width: 0; width: 100%; flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 5px 8px; overflow: hidden; }
    .competitor-card-consume { width: 100%; display: grid; gap: 1px; min-width: 0; }
    .competitor-card-consume span { color: #A94E4E; font-size: 10px; font-weight: 850; line-height: 1; }
    .competitor-card-consume-value { display: block; max-width: 100%; color: #C44F49; font-size: clamp(12px, 3.2vw, 16px); line-height: 1.04; font-weight: 960; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: visible; letter-spacing: 0; }
    .competitor-card-booker { grid-column: 1 / -1; max-width: 100%; color: #168A68; font-size: 11px; line-height: 1.18; font-weight: 760; white-space: normal; overflow-wrap: anywhere; }
    .competitor-card-slot { grid-column: 1 / -1; max-width: 100%; color: var(--competitor-report-text-muted); font-size: 10.5px; line-height: 1.18; font-weight: 740; white-space: normal; overflow-wrap: anywhere; }
    .competitor-card-turnover { display: inline-flex; align-items: baseline; gap: 4px; color: var(--competitor-report-gold); font-size: 11px; line-height: 1.1; font-weight: 850; }
    .competitor-card-turnover b { color: var(--competitor-report-gold); font-size: 15px; font-weight: 950; font-variant-numeric: tabular-nums; }
    .competitor-compact-actions { margin-top: auto; width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
    .competitor-compact-actions .btn { width: 100%; min-width: 0; min-height: 44px; padding: 6px 2px; border-radius: 12px; font-size: 10px; line-height: 1.08; white-space: normal; box-shadow: none; }
    .competitor-status.needs-update { background: var(--competitor-report-orange-soft); color: #B96A20; border: 1px solid #F2C896; }
    .competitor-table-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
    .competitor-table-head h3 { margin: 0; font-size: 19px; line-height: 1.1; color: #111827; }
    .competitor-table-head p { margin: 5px 0 0; color: #6b7280; font-size: 12px; line-height: 1.35; }
    .competitor-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border-radius: 999px; background: var(--competitor-report-blue-soft); color: var(--competitor-report-blue-dark); border: 1px solid #AFCBFA; font-size: 12px; font-weight: 850; white-space: nowrap; }
    .competitor-status.ended { background: var(--competitor-report-purple-soft); color: #6E5AC7; border-color: #CFC5F7; }
    .competitor-status.cleared { background: #EEF3F8; color: #526176; border-color: #D7DEE8; }
    .competitor-status.empty { background: var(--competitor-report-gray-soft); color: #6F7C8E; border-color: #D7DEE8; }
    .competitor-table-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 10px 0; }
    .competitor-table-metric { padding: 8px; border-radius: 14px; background: rgba(243,244,246,.72); }
    .competitor-table-metric span { display: block; color: #6b7280; font-size: 10px; font-weight: 750; }
    .competitor-table-metric b { display: block; margin-top: 3px; color: #111827; font-size: 16px; font-weight: 950; font-variant-numeric: tabular-nums; }
    .competitor-slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
    .competitor-slot { padding: 8px; border-radius: 14px; background: rgba(248,250,252,.92); border: 1px solid rgba(17,24,39,.06); }
    .competitor-slot span { display: block; color: #64748b; font-size: 10px; font-weight: 750; }
    .competitor-slot b { display: block; margin-top: 4px; font-size: 14px; color: #111827; font-weight: 900; font-variant-numeric: tabular-nums; }
    .competitor-slot-timeline { max-width: 100%; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; overflow-x: hidden; overflow-x: clip; padding: 2px 0 4px; margin: 6px 0 4px; scrollbar-width: none; touch-action: manipulation; overscroll-behavior-x: contain; }
    .competitor-slot-chip { min-width: 0; min-height: 44px; padding: 6px 2px; border-radius: 14px; color: #475569; background: rgba(248,250,252,.95); border: 1px solid rgba(17,24,39,.07); box-shadow: none; text-align: center; }
    .competitor-slot-chip b { display: block; font-size: 13px; line-height: 1.05; }
    .competitor-slot-chip span { display: block; margin-top: 2px; font-size: 9px; font-weight: 800; color: #64748b; }
    .competitor-slot-chip.done { color: #0f766e; background: rgba(15,118,110,.1); }
    .competitor-slot-chip.active { color: #0f172a; background: rgba(142,167,255,.25); border-color: rgba(79,70,229,.2); }
    .competitor-booker-panel { display: grid; gap: 6px; margin: 0; padding: 0; border-radius: 0; background: transparent; border: 0; }
    .competitor-booker-panel label { margin: 0; }
    .competitor-booker-panel input { min-height: 42px; font-size: 16px; font-weight: 850; }
    .competitor-booker-chips { display: flex; flex-wrap: wrap; gap: 5px; overflow-x: hidden; overflow-x: clip; padding-bottom: 0; scrollbar-width: none; }
    .competitor-booker-chips::-webkit-scrollbar { display: none; }
    .competitor-booker-chip { flex: 0 0 auto; min-height: 30px; padding: 5px 10px; border-radius: 999px; color: #334155; background: rgba(248,250,252,.95); border: 1px solid rgba(17,24,39,.07); font-size: 12px; font-weight: 850; box-shadow: none; }
    .competitor-current-slot-card { padding: 0; border-radius: 0; background: transparent; border: 0; }
    .competitor-current-slot-card input { font-size: 18px; font-weight: 850; }
    .competitor-sheet-nav:not(.competitor-table-switcher) .btn { min-height: 34px; padding: 7px 10px; border-radius: 13px; font-size: 12px; box-shadow: none; }
    .competitor-patrol-note { margin: 8px 0 0; color: #475569; font-size: 12px; font-weight: 780; }
    .competitor-manager-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
    .competitor-manager-row .mini-actions { justify-content: flex-end; flex-wrap: wrap; }
    .competitor-monitor-loading { display: grid; place-items: center; min-height: 160px; gap: 10px; color: #64748b; }
    .competitor-entry-home { display: grid; gap: 12px; }
    .competitor-entry-scope { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; margin-bottom: 10px; }
    .competitor-entry-scope-main { min-width: 0; display: grid; gap: 4px; }
    .competitor-entry-eyebrow { color: var(--competitor-report-blue-dark); font-size: 11px; line-height: 1.15; font-weight: 900; }
    .competitor-entry-title { margin: 0; color: var(--competitor-report-text); font-size: 22px; line-height: 1.12; font-weight: 950; overflow-wrap: anywhere; }
    .competitor-entry-meta { color: var(--competitor-report-text-secondary); font-size: 12px; line-height: 1.38; font-weight: 760; overflow-wrap: anywhere; }
    .competitor-entry-sync { min-width: 74px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 9px; border-radius: 999px; color: var(--competitor-report-blue-dark); background: var(--competitor-report-blue-soft); border: 1px solid #CFE0FA; font-size: 11px; line-height: 1.15; font-weight: 880; text-align: center; }
    .competitor-entry-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
    .competitor-entry-status-card { min-width: 0; min-height: 68px; padding: 8px; border-radius: 16px; color: var(--competitor-report-text); background: var(--competitor-report-surface-soft); border: 1px solid var(--competitor-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.82); }
    .competitor-entry-status-card span { display: block; color: var(--competitor-report-text-secondary); font-size: 10.5px; line-height: 1.16; font-weight: 820; overflow-wrap: anywhere; }
    .competitor-entry-status-card b { display: block; margin-top: 4px; color: var(--competitor-report-text); font-size: 17px; line-height: 1.08; font-weight: 950; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
    .competitor-entry-status-card.is-ok { background: var(--competitor-report-green-soft); border-color: #BEE8D3; }
    .competitor-entry-status-card.is-warning { background: var(--competitor-report-orange-soft); border-color: #F5D6B2; }
    .competitor-entry-status-card.is-danger { background: var(--competitor-report-red-soft); border-color: #F4C7CC; }
    .competitor-quick-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
    .competitor-quick-actions .btn { width: 100%; min-width: 0; min-height: 44px; padding: 8px 7px; border-radius: 15px; box-shadow: none; font-size: 12px; line-height: 1.12; white-space: normal; }
    .competitor-recent-panel { padding: 10px; border-radius: 20px; background: var(--competitor-panel-alt-bg); border: 1px solid var(--competitor-border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.82); }
    .competitor-recent-panel .record { margin: 0; box-shadow: none; border-color: var(--competitor-border); }
    .competitor-recent-row { display: grid; gap: 8px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--competitor-border); }
    .competitor-recent-open { width: 100%; min-width: 0; padding: 0; color: inherit; background: transparent; text-align: left; box-shadow: none; }
    .competitor-recent-list { display: grid; gap: 7px; margin-top: 8px; }
    .competitor-entry-flow-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
    .competitor-entry-form-section { min-width: 0; margin: 0 0 10px; padding: 10px; border-radius: 20px; background: rgba(255,255,255,.94); border: 1px solid var(--competitor-border); box-shadow: var(--competitor-shadow-soft); }
    .competitor-entry-form-section .record-head { margin-bottom: 8px; }
    .competitor-entry-form-section label { margin-top: 8px; }
    .competitor-entry-form-section input,
    .competitor-entry-form-section textarea { min-height: 44px; }
    .competitor-entry-form-section.is-compact { padding: 8px 9px; border-radius: 16px; box-shadow: none; }
    .competitor-entry-compact-sheet { display: grid; gap: 8px; margin-top: -2px; padding: 10px 11px 8px; border-radius: 22px; background: rgba(255,255,255,.96); border: 1px solid rgba(17,24,39,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.86); }
    .competitor-entry-compact-sheet .competitor-entry-form-section { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .competitor-entry-compact-sheet .competitor-entry-form-section + .competitor-entry-form-section { padding-top: 8px; border-top: 1px solid rgba(148,163,184,.16); }
    .competitor-entry-compact-sheet .competitor-entry-form-section .record-head { margin-bottom: 5px; }
    .competitor-entry-compact-sheet .competitor-entry-form-section label { margin-top: 5px; font-size: 12px; line-height: 1.15; }
    .competitor-entry-note { margin: -2px 0 3px; color: var(--competitor-report-text-muted); font-size: 11px; line-height: 1.3; }
    .competitor-entry-note summary { min-height: 28px; display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: var(--competitor-report-gray-soft); border: 1px solid #DDE3EB; color: var(--competitor-report-text-secondary); font-weight: 820; cursor: pointer; }
    .competitor-entry-note div { margin-top: 4px; color: var(--competitor-report-text-secondary); font-weight: 680; }
    .competitor-entry-base-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
    .competitor-entry-base-strip b { display: block; color: var(--competitor-report-text); font-size: 15px; line-height: 1.15; font-weight: 920; overflow-wrap: anywhere; }
    .competitor-entry-base-strip span { display: block; color: var(--competitor-report-text-secondary); font-size: 11px; line-height: 1.22; font-weight: 760; }
    .competitor-entry-base-date { min-height: 34px; max-width: 132px; padding: 5px 7px; border-radius: 12px; font-size: 12px; font-weight: 820; }
    .competitor-entry-time-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 5px 0; }
    .competitor-entry-time-pair label { min-width: 0; margin: 0; color: var(--competitor-report-text-secondary); font-size: 11px; line-height: 1.2; font-weight: 850; }
    .competitor-entry-time-pair input { width: 100%; min-width: 0; min-height: 38px; margin-top: 3px; padding: 7px 8px; border-radius: 11px; font-size: 13px; line-height: 1.15; font-weight: 850; text-overflow: ellipsis; }
    .competitor-entry-save-bar { position: sticky; bottom: 0; z-index: 8; margin: 0; padding: 8px 0 2px; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.96) 18%, rgba(255,255,255,.98) 100%); border-top: 0; box-shadow: none; }
    .competitor-entry-form-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; align-items: center; }
    .competitor-entry-form-actions .btn { min-width: 0; min-height: 44px; padding-inline: 8px; white-space: normal; }
    .competitor-entry-form-actions [data-competitor-save="true"] { grid-column: auto; }
    .competitor-entry-more-action { min-width: 86px; }
    .competitor-delete-round-action {
      min-height: 44px;
      border: 1px solid rgba(217,83,92,.22);
      background: #FDEEEF;
      color: #B82E3A;
      box-shadow: none;
      transition:
        transform 140ms cubic-bezier(0.23, 1, 0.32, 1),
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        opacity 160ms ease;
    }
    .competitor-delete-round-action:active { transform: scale(.97); }
    .competitor-delete-round-action.is-loading { opacity: .72; transform: none; }
    .competitor-delete-round-action[disabled] { opacity: .52; cursor: not-allowed; }
    @media (hover: hover) and (pointer: fine) {
      .competitor-delete-round-action:hover {
        background: #F9DADB;
        border-color: rgba(217,83,92,.34);
        color: #9E2430;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .competitor-delete-round-action {
        transition: background-color 1ms ease, border-color 1ms ease, color 1ms ease, opacity 1ms ease;
      }
      .competitor-delete-round-action:active { transform: none; }
    }
    .competitor-analysis-detail-row { display: grid; gap: 8px; }
    .competitor-detail-drawer-grid { display: grid; gap: 8px; }
    .competitor-detail-drawer-grid .record-meta { margin: 0; padding: 9px 10px; border-radius: 14px; background: rgba(248,250,252,.92); border: 1px solid rgba(148,163,184,.14); }
    .drink-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .drink-image-preview { width: 112px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #111827; display: grid; place-items: center; color: rgba(255,255,255,.72); font-weight: 900; margin-top: 8px; }
    .drink-image-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .drink-crop-stage { position: relative; width: min(100%, 300px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 22px; background: #111827; touch-action: none; margin: 12px auto 8px; border: 1px solid rgba(255,255,255,.12); }
    .drink-crop-stage img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: center; user-select: none; -webkit-user-drag: none; }
    .drink-crop-frame { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,.88); border-radius: 22px; pointer-events: none; box-shadow: inset 0 0 0 999px rgba(11,11,15,.06); }
    .drink-crop-controls { display: grid; gap: 6px; }
    .drink-crop-controls input[type="range"] { width: 100%; }
    @media (max-width: 430px) {
      .drink-price-toolbar { grid-template-columns: 1fr; }
      .drink-price-actions { grid-template-columns: 1fr 1fr; }
      .drink-price-actions .btn:first-child { grid-column: 1 / -1; }
      .competitor-toolbar, .competitor-actions { grid-template-columns: 1fr; }
      .competitor-quick-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(78px, max-content); gap: 6px; }
      .competitor-refresh-btn { min-width: 0; padding-inline: 6px; }
      .competitor-entry-scope { grid-template-columns: minmax(0, 1fr); }
      .competitor-entry-sync { min-width: 0; max-width: 100%; justify-self: stretch; padding-inline: 6px; overflow-wrap: anywhere; }
      .competitor-entry-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .competitor-quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .competitor-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .competitor-entry-flow-grid { grid-template-columns: 1fr; gap: 0; }
      .drink-form-grid { grid-template-columns: 1fr; }
      .drink-price-card { grid-template-columns: 82px minmax(0, 1fr); border-radius: 22px; }
      .drink-price-project-card { grid-template-columns: 42px minmax(0, 1fr); }
      .drink-price-photo { width: 82px; }
      .drink-price-info h3 { font-size: 16px; }
      .drink-price-value { font-size: 21px; }
    }
    @media (max-width: 359px) {
      .competitor-table-list { gap: 8px; }
      .competitor-filter-chip { padding-inline: 3px; font-size: 10px; }
      .competitor-compact-card { min-height: 150px; padding: 10px; }
      .competitor-entry-title { font-size: 20px; }
      .competitor-quick-actions .btn { font-size: 11.5px; padding-inline: 5px; }
    }
    @media (min-width: 390px) {
      .competitor-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .competitor-filter-chip { padding-inline: 2px; font-size: 9.5px; }
    }
    @media (min-width: 700px) {
      .competitor-overview-primary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .competitor-overview-secondary { grid-template-columns: repeat(6, minmax(0, 1fr)); }
      .competitor-entry-status-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .competitor-quick-actions { grid-template-columns: repeat(5, minmax(0, 1fr)); }
      .competitor-compact-card { min-height: 150px; padding: 12px; }
      .competitor-compact-actions { gap: 4px; }
      .competitor-compact-top .competitor-status { padding-inline: 2px; font-size: 8.5px; }
      .competitor-card-code { padding-inline: 2px; font-size: 11px; }
      .competitor-card-consume-value { font-size: 11px; }
    }
    .competitor-data-dashboard { --competitor-data-bg: #F3F5F9; --competitor-data-surface: #FFFFFF; --competitor-data-surface-soft: #F8F9FC; --competitor-data-text: #172033; --competitor-data-text-secondary: #526176; --competitor-data-text-muted: #7E8A9D; --competitor-data-border: #DDE3EB; --competitor-data-border-strong: #C8D0DE; --competitor-data-primary: #4F63D8; --competitor-data-primary-soft: #EEF0FF; --competitor-data-success: #2F8F6B; --competitor-data-success-soft: #EAF7F1; --competitor-data-warning: #C67A2A; --competitor-data-warning-soft: #FFF3E5; --competitor-data-danger: #C94B54; --competitor-data-danger-soft: #FDEEEF; --competitor-data-radius: 16px; --competitor-data-shadow: 0 4px 16px rgba(24,36,62,.06); display: grid; gap: 12px; margin-top: 10px; color: var(--competitor-data-text); }
    .competitor-data-topbar { min-width: 0; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--competitor-data-border); border-radius: var(--competitor-data-radius); background: var(--competitor-data-surface); box-shadow: var(--competitor-data-shadow); }
    .competitor-data-topbar-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
    .competitor-data-title { margin: 0; color: var(--competitor-data-text); font-size: 18px; line-height: 1.2; letter-spacing: 0; font-weight: 900; }
    .competitor-data-subtitle { margin-top: 3px; color: var(--competitor-data-text-secondary); font-size: 12px; line-height: 1.45; font-weight: 760; }
    .competitor-data-refresh { min-width: 72px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 14px; white-space: nowrap; transition: transform 140ms cubic-bezier(.23,1,.32,1), background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease, box-shadow 160ms ease; }
    .competitor-data-refresh:active { transform: scale(.97); }
    .competitor-data-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--competitor-data-text-muted); font-size: 11px; line-height: 1.4; font-weight: 760; }
    .competitor-data-status-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 9px; border-radius: 999px; color: var(--competitor-data-primary); background: var(--competitor-data-primary-soft); border: 1px solid rgba(79,99,216,.12); font-size: 11px; font-weight: 850; }
    .competitor-data-status-pill.is-syncing { color: var(--competitor-data-warning); background: var(--competitor-data-warning-soft); border-color: rgba(198,122,42,.18); }
    .competitor-data-status-pill.is-final { color: var(--competitor-data-success); background: var(--competitor-data-success-soft); border-color: rgba(47,143,107,.16); }
    .competitor-data-status-pill.is-error { color: var(--competitor-data-danger); background: var(--competitor-data-danger-soft); border-color: rgba(201,75,84,.18); }
    .competitor-data-controls { margin: 0; padding: 12px; border: 1px solid var(--competitor-data-border); border-radius: var(--competitor-data-radius); background: var(--competitor-data-surface); box-shadow: var(--competitor-data-shadow); }
    .competitor-analysis-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
    .competitor-analysis-periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
    .competitor-analysis-periods .tab { min-height: 34px; padding: 7px 8px; border-radius: 14px; font-size: 12px; }
    .competitor-analysis-refresh { min-height: 38px; white-space: nowrap; }
    .competitor-analysis-range { margin-top: 8px; }
    .competitor-analysis-status { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 9px; border-radius: 999px; color: var(--competitor-report-blue-dark); background: var(--competitor-report-blue-soft); font-size: 11px; font-weight: 850; }
    .competitor-analysis-status.final { color: var(--competitor-report-green); background: var(--competitor-report-green-soft); }
    .competitor-data-section { min-width: 0; display: grid; gap: 10px; padding: 16px; border: 1px solid var(--competitor-data-border, #DDE3EB); border-radius: var(--competitor-data-radius, 16px); background: var(--competitor-data-surface, #FFFFFF); box-shadow: var(--competitor-data-shadow, 0 4px 16px rgba(24,36,62,.06)); }
    .competitor-data-section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
    .competitor-data-section-title { margin: 0; color: var(--competitor-data-text, #172033); font-size: 15px; line-height: 1.25; letter-spacing: 0; font-weight: 900; }
    .competitor-data-section-hint { color: var(--competitor-data-text-muted, #7E8A9D); font-size: 11px; line-height: 1.4; font-weight: 760; }
    .competitor-data-section-body { display: grid; gap: 9px; min-width: 0; }
    .competitor-analysis-chart { width: 100%; min-width: 0; display: grid; align-items: end; gap: 5px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: 118px; padding: 12px 10px 8px; border-radius: 14px; background: #F8F9FC; border: 1px solid #DDE3EB; overflow: hidden; }
    .competitor-analysis-bar { align-self: end; min-height: 3px; border-radius: 999px 999px 5px 5px; background: linear-gradient(180deg, #7CA7F6, #B9D1FF); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
    .competitor-analysis-bar.negative { background: linear-gradient(180deg, #D9A05F, #F3CF94); }
    .competitor-analysis-chart-labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; color: #64748b; font-size: 9px; font-weight: 760; text-align: center; }
    .competitor-analysis-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .competitor-analysis-kv .record-meta { margin: 0; padding: 8px 9px; border-radius: 14px; background: rgba(248,250,252,.86); }
    .competitor-analysis-note { color: #64748b; font-size: 11px; line-height: 1.42; font-weight: 760; }
    .competitor-analysis-summary-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
    .competitor-analysis-summary-list li { padding: 9px 10px; border-radius: 14px; color: #1f2937; background: rgba(248,250,252,.92); border: 1px solid rgba(148,163,184,.14); font-size: 12px; line-height: 1.45; font-weight: 780; }
    .competitor-analysis-summary-list.warning li { color: #7c2d12; background: rgba(255,247,237,.9); border-color: rgba(251,146,60,.18); }
    .competitor-data-section .data-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .competitor-data-detail-entry { display: grid; gap: 8px; }
    .competitor-data-detail-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .competitor-data-detail-meta .record-meta { margin: 0; padding: 9px; border-radius: 14px; background: #F8F9FC; border: 1px solid #DDE3EB; }
    @media (max-width: 359px) {
      .competitor-analysis-periods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .competitor-analysis-actions { grid-template-columns: 1fr; }
      .competitor-data-detail-meta { grid-template-columns: 1fr; }
    }
    @media (prefers-reduced-motion: reduce) {
      .competitor-data-refresh { transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, opacity 120ms ease; }
      .competitor-data-refresh:active { transform: none; }
    }
    .permission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
    .check-pill { min-height: 34px; display: flex; align-items: center; gap: 5px; padding: 6px 7px; border-radius: 14px; background: #fff; border: 1px solid rgba(11,11,15,.08); font-size: 11px; font-weight: 850; color: #5f5c66; }
    .check-pill input { width: 15px; height: 15px; accent-color: var(--violet); }
    .manager-toolbar {
      position: sticky;
      top: 0;
      z-index: 4;
      margin: 0 -2px 8px;
      padding: 8px 2px 10px;
      background: rgba(246,248,251,.98);
      box-shadow: inset 0 -1px 0 rgba(17,24,39,.055);
    }
    .manager-toolbar label { margin-top: 0; }
    .manager-toolbar input, .manager-toolbar select { background: #fff; }
    .inline-grid { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
    .inline-grid .btn { min-height: 42px; padding: 9px 12px; border-radius: 13px; box-shadow: none; white-space: nowrap; }
    .config-compact-list { display: grid; gap: 7px; align-content: start; }
    .config-compact-row { padding: 9px 10px; border-radius: 18px; background: rgba(255,255,255,.88); border: 1px solid rgba(11,11,15,.06); }
    .config-compact-row .record-head { align-items: center; font-size: 14px; }
    .config-compact-row .record-meta { margin-top: 3px; font-size: 11px; line-height: 1.35; }
    .config-compact-row label { margin: 7px 0 4px; font-size: 11px; }
    .config-compact-row select { min-height: 36px; border-radius: 12px; padding: 7px 10px; font-size: 12px; }
    .config-compact-row .mini-actions { margin-top: 7px; gap: 6px; }
    .employee-area-block, .account-permission-block { padding: 10px; border-radius: 22px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.86); box-shadow: 0 8px 20px rgba(30,28,44,.08); }
    .employee-area-block .config-compact-list { padding-right: 2px; scrollbar-width: none; }
    .account-permission-block .config-compact-list { padding-right: 2px; scrollbar-width: none; }
    .employee-area-block .config-compact-list::-webkit-scrollbar, .account-permission-block .config-compact-list::-webkit-scrollbar { display: none; }
    .employee-scope-frame { padding: 10px; border-radius: 22px; background: #f3f2ee; border: 1px solid rgba(11,11,15,.06); }
    .employee-chip-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(11,11,15,.06); }
    .employee-chip-row:last-child { border-bottom: 0; }
    .employee-chip-row b { display: block; font-size: 13px; color: var(--app-black); }
    .employee-chip-row span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
    .account-permission-block .profile-card { padding: 8px; border-radius: 14px; cursor: pointer; transition: box-shadow .14s var(--ease-smooth), background .14s var(--ease-smooth); }
    .account-permission-block .profile-card:active { background: #fff; box-shadow: 0 0 0 3px rgba(110,166,255,.14); }
    .account-permission-block .profile-card:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(110,166,255,.22); }
    .account-permission-block input, .account-permission-block select { min-height: 36px; border-radius: 12px; padding: 7px 9px; font-size: 12px; }
    .account-permission-block label { margin: 7px 0 4px; font-size: 11px; }
    .mini-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    .mini-actions .btn { min-height: 36px; padding: 8px 11px; border-radius: 12px; font-size: 12px; box-shadow: none; }
    .assignment-compact-area { padding: 12px; border-radius: 24px; background: rgba(255,255,255,.9); border: 1px solid rgba(11,11,15,.06); box-shadow: var(--soft-shadow); scroll-margin-bottom: var(--assignment-bottom-safe); }
    .assignment-compact-area:last-child { padding-bottom: var(--assignment-bottom-safe); }
    .assignment-table-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
    .assignment-table-pill { display: grid; grid-template-columns: 48px 1fr; gap: 6px; align-items: center; min-height: 42px; padding: 6px; border-radius: 18px; background: #f3f2ee; border: 1px solid rgba(11,11,15,.06); }
    .assignment-table-pill.mobile-slot { background: var(--candy-green); border-color: rgba(255,255,255,.72); }
    .assignment-table-pill b { font-size: 12px; color: var(--app-black); white-space: nowrap; }
    .assignment-table-pill select { min-height: 32px; border-radius: 11px; padding: 5px 8px; font-size: 12px; background: #fff; }
    .assignment-area-manager { display: grid; grid-template-columns: minmax(88px, 34%) minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 10px; padding: 8px; border-radius: 14px; background: rgba(47,165,160,.08); border: 1px solid rgba(29,126,122,.16); }
    .assignment-area-manager b { display: block; font-size: 12px; color: var(--app-black); }
    .assignment-area-manager span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
    .assignment-area-manager-control { display: grid; gap: 6px; min-width: 0; }
    .assignment-area-manager-control input { width: 100%; min-width: 0; min-height: 32px; border-radius: 10px; padding: 5px 8px; font-size: 12px; background: rgba(255,255,255,.82); }
    .assignment-area-manager select { width: 100%; min-width: 0; min-height: 36px; border-radius: 11px; padding: 6px 8px; font-size: 12px; background: #fff; }
    .assignment-area-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; scroll-margin-bottom: var(--assignment-bottom-safe); }
    .assignment-area-actions .btn { min-height: 38px; padding: 8px 10px; border-radius: 13px; font-size: 12px; box-shadow: none; }
    .assignment-detail-list { display: grid; gap: 8px; margin-top: 8px; }
    .assignment-detail-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border-radius: 16px; background: rgba(247,249,255,.72); border: 1px solid rgba(11,11,15,.05); }
    .assignment-detail-row .data-detail-actions { margin-top: 0; justify-content: flex-end; }
    .assignment-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .assignment-area-tile {
      min-width: 0;
      width: 100%;
      min-height: 88px;
      aspect-ratio: 1 / 1;
      flex-direction: column;
      align-items: stretch;
      justify-content: space-between;
      padding: 9px;
      border-radius: 17px;
      color: var(--app-black);
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(11,11,15,.08);
      box-shadow: 0 7px 16px rgba(28,51,83,.055);
    }
    .assignment-area-tile:active { transform: scale(.97); }
    .assignment-area-tile b {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      min-height: 30px;
      color: var(--app-black);
      font-size: 12px;
      line-height: 1.22;
      font-weight: 930;
      overflow: hidden;
      overflow-wrap: anywhere;
      text-align: left;
    }
    .assignment-area-tile span {
      color: var(--muted);
      font-size: 10px;
      line-height: 1.15;
      font-weight: 780;
      text-align: left;
    }
    .assignment-area-tile .status {
      width: fit-content;
      max-width: 100%;
      min-height: 22px;
      margin-top: 4px;
      padding: 3px 6px;
      color: #166534;
      background: rgba(22,163,74,.10);
      border: 1px solid rgba(22,163,74,.16);
      font-size: 10px;
    }
    .performance-area-filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; margin-top: 6px; scrollbar-width: none; }
    .performance-area-filter .chip { flex: 0 0 auto; min-height: 34px; padding: 7px 10px; font-size: 12px; }
    .performance-employee-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
    .performance-employee-chip { min-height: 42px; padding: 8px 9px; border-radius: 18px; background: #fff; border: 1px solid rgba(11,11,15,.08); color: #5f5c66; text-align: left; font-size: 12px; font-weight: 850; box-shadow: 0 8px 18px rgba(26,24,32,.04); }
    .performance-employee-chip span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 700; }
    .performance-employee-chip.active { color: white; border-color: rgba(11,11,15,.72); background: var(--app-black); box-shadow: 0 0 0 3px rgba(11,11,15,.08); }
    .performance-employee-chip.archived { background: rgba(255,255,255,.72); border-color: rgba(255,132,96,.28); color: #5f4b44; }
    .performance-archive-tag { display: inline-flex; align-items: center; min-height: 18px; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(255,132,96,.14); color: #B85536; font-size: 10px; font-weight: 900; vertical-align: middle; }
    .performance-area-summary-card { overflow: visible; scroll-margin-bottom: var(--page-bottom-safe); }
    .performance-area-summary-toggle { width: 100%; min-height: 64px; display: grid; gap: 8px; padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--app-black); text-align: left; }
    .performance-area-summary-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
    .performance-area-summary-head b { min-width: 0; overflow-wrap: anywhere; font-weight: 920; line-height: 1.25; }
    .performance-area-summary-value { white-space: nowrap; font-weight: 900; color: var(--ops-data-theme-dark, var(--app-black)); }
    .performance-area-summary-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 850; }
    .performance-area-summary-chevron { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(11,11,15,.06); color: var(--ops-data-theme-dark, var(--app-black)); transition: transform .18s ease; }
    .performance-area-summary-toggle[aria-expanded="true"] .performance-area-summary-chevron { transform: rotate(90deg); }
    .performance-area-summary-body { display: grid; gap: 8px; margin-top: 10px; }
    .performance-area-detail-list { display: grid; gap: 12px; }
    .performance-area-detail-group { min-width: 0; padding: 12px 0 14px; border-top: 1px solid rgba(11,11,15,.08); }
    .performance-area-detail-toggle { width: 100%; min-height: 52px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 0; color: var(--app-black); background: transparent; border: 0; box-shadow: none; text-align: left; }
    .performance-area-detail-toggle b { min-width: 0; overflow-wrap: anywhere; font-size: 15px; line-height: 1.25; font-weight: 920; }
    .performance-area-detail-summary { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 850; text-align: right; }
    .performance-area-detail-summary .status { margin: 0; white-space: nowrap; }
    .performance-area-detail-body { display: grid; gap: 8px; margin-top: 8px; }
    .performance-area-detail-row .record-meta { overflow-wrap: anywhere; }
    .performance-area-person-list { display: grid; gap: 8px; }
    .performance-area-person-card { min-width: 0; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.82); border: 1px solid rgba(11,11,15,.06); scroll-margin-bottom: var(--page-bottom-safe); }
    .performance-area-person-toggle { width: 100%; min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 0; background: transparent; border: 0; box-shadow: none; color: var(--app-black); text-align: left; }
    .performance-area-person-toggle b { min-width: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.25; font-weight: 900; }
    .performance-area-person-summary { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 850; text-align: right; }
    .performance-area-person-body { display: grid; gap: 8px; margin-top: 8px; }
    .pending-save-bar { position: relative; bottom: auto; z-index: 4; display: grid; gap: 8px; margin: 10px -4px 0; padding: 10px 4px 4px; background: rgba(247,247,244,.98); }
    .work-plan-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
    .work-plan-actions { position: sticky; top: 58px; z-index: 8; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 0 10px; background: rgba(247,247,244,.98); }
    .work-plan-action { min-height: 54px; padding: 9px 10px; border-radius: 22px; color: var(--app-black); text-align: center; background: linear-gradient(145deg, var(--candy-purple), var(--candy-blue)); box-shadow: var(--soft-shadow); font-weight: 900; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; }
    .work-plan-action b { display: block; width: 100%; font-size: 15px; line-height: 1.08; font-weight: 950; letter-spacing: 0; text-align: center; }
    .work-plan-action span { display: block; width: 100%; margin-top: 0; color: rgba(11,11,15,.62); font-size: 11px; line-height: 1.1; font-weight: 800; text-align: center; }
    .work-plan-card { padding: 13px; border-radius: 26px; background: rgba(255,255,255,.92); border: 1px solid rgba(11,11,15,.06); box-shadow: var(--soft-shadow); }
    .work-plan-card:active, .work-plan-action:active, .work-plan-mini-btn:active { transform: scale(.98); }
    .work-plan-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
    .work-plan-card h3 { margin: 0; font-size: 15px; line-height: 1.28; color: var(--app-black); }
    .work-plan-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
    .work-plan-stat { min-height: 52px; padding: 8px 6px; border-radius: 18px; background: #f3f2ee; text-align: center; }
    .work-plan-stat b { display: block; color: var(--app-black); font-size: 18px; line-height: 1; }
    .work-plan-stat span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.2; }
    .work-plan-summary { padding: 14px; border-radius: 26px; background: linear-gradient(145deg, var(--candy-orange), #ffe0a1); border: 1px solid rgba(255,255,255,.72); }
    .work-plan-summary strong { display: block; color: var(--app-black); font-size: 22px; line-height: 1; }
    .work-plan-compact-item { padding: 10px; border-radius: 20px; background: #fff; border: 1px solid rgba(11,11,15,.06); }
    .work-plan-compact-item .record-head { font-size: 13px; }
    .work-plan-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
    .work-plan-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
    .work-plan-mini-btn { min-height: 34px; padding: 7px 10px; border-radius: 999px; background: #fff; color: var(--app-black); border: 1px solid rgba(11,11,15,.08); font-size: 12px; font-weight: 900; }
    .work-plan-sticky-actions { position: sticky; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px -14px 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,247,244,.98); border-top: 1px solid rgba(11,11,15,.06); }
    .work-plan-sticky-actions .btn { min-height: 44px; box-shadow: none; }
    .hand-work-board { margin: 0 0 14px; padding: 14px; border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,243,255,.94)); border: 1px solid rgba(255,255,255,.86); box-shadow: var(--soft-shadow); }
    .hand-work-list { display: grid; gap: 8px; margin-top: 10px; }
    .hand-work-compact-list { display: grid; gap: 6px; max-height: 168px; overflow-y: auto; padding-right: 2px; scrollbar-width: none; }
    .hand-work-compact-list::-webkit-scrollbar { display: none; }
    .hand-work-compact-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; align-items: start; padding: 7px 8px; border-radius: 15px; background: rgba(255,255,255,.76); border: 1px solid rgba(11,11,15,.055); color: var(--app-black); }
    .hand-work-compact-row span { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; color: var(--app-black); background: rgba(142,167,255,.34); font-weight: 950; font-size: 11px; line-height: 1; }
    .hand-work-compact-row div { min-width: 0; color: var(--app-black); font-size: 12px; line-height: 1.34; font-weight: 760; word-break: break-word; }
    .hand-work-compact-row .mini-actions { margin-top: 5px; }
    .hand-work-item { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; padding: 9px; border-radius: 18px; background: rgba(255,255,255,.82); border: 1px solid rgba(11,11,15,.06); color: var(--app-black); font-size: 13px; line-height: 1.42; }
    .hand-work-item span { width: 24px; height: 24px; border-radius: 9px; display: grid; place-items: center; color: var(--app-black); background: var(--candy-blue); font-weight: 950; font-size: 11px; }
    .hand-work-person { padding: 11px; border-radius: 22px; background: #fff; border: 1px solid rgba(11,11,15,.06); box-shadow: 0 8px 18px rgba(26,24,32,.04); }
    .hand-work-person h3 { margin: 0; font-size: 15px; color: var(--app-black); }
    .hand-work-export-card { width: 1080px; padding: 46px; background: #f7f7f4; color: var(--app-black); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
    .hand-work-export-card h2 { margin: 0; font-size: 42px; line-height: 1.12; }
    .hand-work-export-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
    .hand-work-export-person { padding: 22px; border-radius: 28px; background: #fff; border: 1px solid rgba(11,11,15,.07); break-inside: avoid; }
    .hand-work-export-person h3 { margin: 0 0 12px; font-size: 24px; }
    .hand-work-export-person ol { margin: 0; padding-left: 24px; font-size: 18px; line-height: 1.62; }
    .me-hero {
      position: relative;
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr) auto;
      gap: 13px;
      align-items: center;
      margin: 0 -2px 12px;
      padding: 18px 14px 20px;
      border-radius: 30px;
      background:
        radial-gradient(circle at 12% 12%, rgba(255,255,255,.68), transparent 33%),
        linear-gradient(145deg, rgba(223,236,255,.96), rgba(244,234,255,.96) 58%, rgba(255,244,231,.9));
      border: 1px solid rgba(255,255,255,.78);
      box-shadow: 0 14px 34px rgba(69,92,141,.12);
      overflow: hidden;
    }
    .me-avatar {
      width: 64px;
      height: 64px;
      border-radius: 22px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(145deg, #8EA7FF, #5FD7F2);
      box-shadow: 0 12px 24px rgba(94,127,222,.22);
      font-size: 27px;
      font-weight: 950;
    }
    .me-hero h2 { margin: 0; color: var(--app-black); font-size: 22px; line-height: 1.08; font-weight: 950; }
    .me-hero p { margin: 7px 0 0; color: rgba(11,11,15,.58); font-size: 12px; line-height: 1.35; font-weight: 760; }
    .me-hero .arrow { color: rgba(11,11,15,.46); font-size: 28px; }
    .me-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin: 0 0 12px;
    }
    .me-summary-item {
      min-height: 62px;
      padding: 10px 8px;
      border-radius: 22px;
      background: rgba(255,255,255,.84);
      border: 1px solid rgba(255,255,255,.84);
      box-shadow: 0 8px 20px rgba(30,28,44,.06);
      text-align: center;
    }
    .me-summary-item b { display: block; color: var(--app-black); font-size: 13px; line-height: 1.25; font-weight: 920; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .me-summary-item span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.25; font-weight: 780; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .me-panel {
      margin-top: 12px;
      padding: 14px;
      border-radius: 28px;
      background: rgba(255,255,255,.9);
      border: 1px solid rgba(255,255,255,.86);
      box-shadow: 0 10px 28px rgba(30,28,44,.08);
    }
    .me-panel-title { margin: 0 0 12px; color: var(--app-black); font-size: 16px; line-height: 1.2; font-weight: 950; }
    .me-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
    .me-service {
      min-width: 0;
      display: grid;
      justify-items: center;
      gap: 7px;
      padding: 0;
      color: var(--app-black);
      background: transparent;
      appearance: none;
      -webkit-appearance: none;
      text-align: center;
      transition: transform .15s var(--ease-bounce);
    }
    .me-service:active { transform: scale(.95); }
    .me-service-icon {
      width: 42px;
      height: 42px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(145deg, #6EA6FF, #8EA7FF);
      box-shadow: 0 10px 18px rgba(94,127,222,.18);
      font-size: 18px;
      font-weight: 950;
    }
    .me-service-icon svg {
      width: 23px;
      height: 23px;
      display: block;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.25;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .me-service:nth-child(2n) .me-service-icon { background: linear-gradient(145deg, #5FD7F2, #6EA6FF); }
    .me-service:nth-child(3n) .me-service-icon { background: linear-gradient(145deg, #FFBE57, #FF7B6A); }
    .me-service b { display: none; }
    .me-service span { max-width: 100%; color: #3D3A45; font-size: 12px; line-height: 1.2; font-weight: 850; overflow-wrap: anywhere; }
    .me-list { display: grid; gap: 0; overflow: hidden; border-radius: 24px; background: rgba(255,255,255,.9); border: 1px solid rgba(11,11,15,.055); }
    .me-list-button {
      width: 100%;
      min-height: 54px;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 9px 12px;
      color: var(--app-black);
      background: transparent;
      text-align: left;
      border-bottom: 1px solid rgba(11,11,15,.055);
      transition: transform .15s var(--ease-bounce), background .15s ease;
    }
    .me-list-button:last-child { border-bottom: 0; }
    .me-list-button:active { transform: scale(.99); background: rgba(142,167,255,.08); }
    .me-list-button .me-service-icon { width: 34px; height: 34px; border-radius: 13px; font-size: 14px; box-shadow: none; }
    .me-list-button .me-service-icon svg { width: 19px; height: 19px; stroke-width: 2.35; }
    .me-list-button b { display: block; font-size: 14px; line-height: 1.2; font-weight: 920; }
    .me-list-button span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.25; font-weight: 720; }
    .update-version-card {
      padding: 14px;
      border-radius: 24px;
      color: var(--app-black);
      background: linear-gradient(145deg, rgba(142,167,255,.24), rgba(95,215,242,.18));
      border: 1px solid rgba(255,255,255,.82);
    }
    /* ui-borderless-polish: remove debug-like outlines while keeping depth through shadow and color. */
    .card,
    .record,
    .entry,
    .pill,
    .tab,
    .chip,
    .btn.secondary,
    .data-square-card,
    .data-board-panel,
    .data-mini-metric,
    .metric-square,
    .task-board,
    .home-feature-category,
    .home-feature-card,
    .field-board,
    .field-message-card,
    .table-cell,
    .picker-chip,
    .check-pill,
    .sheet,
    .sheet-back,
    .me-hero,
    .me-panel,
    .me-summary-item,
    .me-list,
    .meeting-item-card,
    .meeting-type-card,
    .config-compact-row,
    .employee-area-block,
    .account-permission-block,
    .employee-scope-frame,
    .assignment-compact-area,
    .assignment-table-pill,
    .performance-employee-chip,
    .work-plan-card,
    .work-plan-summary,
    .work-plan-compact-item,
    .work-plan-mini-btn,
    .hand-work-board,
    .hand-work-compact-row,
    .hand-work-item,
    .hand-work-person,
    .update-version-card,
    .empty {
      border: 0 !important;
      outline: 0 !important;
    }
    .icon,
    .data-square-card .icon,
    .home-feature-icon,
    .me-service-icon,
    .me-avatar,
    .nav-icon {
      border: 0 !important;
      outline: 0 !important;
    }
    input,
    select,
    textarea {
      border: 0;
      outline: 0;
    }
    .tab.active,
    .chip.active,
    .picker-chip.active,
    .performance-employee-chip.active,
    button.record.active,
    .meeting-type-card.active {
      border-color: transparent !important;
    }

    /* apple-premium-ui: unified visual layer, scoped to presentation only. */
    :root {
      --app-black: #111827;
      --app-ink: #1F2937;
      --app-bg: #F4F7FB;
      --app-surface: #FDFEFF;
      --app-surface-soft: #EEF4FA;
      --brand: #3B82F6;
      --brand-strong: #2563EB;
      --brand-soft: rgba(59,130,246,.105);
      --brand-line: rgba(59,130,246,.18);
      --success: #2F9E62;
      --success-soft: rgba(47,158,98,.11);
      --warning: #B7791F;
      --warning-soft: rgba(183,121,31,.12);
      --danger: #C2413D;
      --danger-soft: rgba(194,65,61,.105);
      --candy-purple: #EEF4FF;
      --candy-orange: #FFF7E6;
      --candy-blue: #EAF3FF;
      --candy-pink: #F6F1FF;
      --candy-green: #ECFDF3;
      --ios-blue: var(--brand);
      --ios-lavender: var(--brand-soft);
      --ios-cream: #FFFFFF;
      --ios-surface: rgba(255,255,255,.84);
      --ios-surface-strong: rgba(255,255,255,.96);
      --ios-border: rgba(17,24,39,.07);
      --ios-border-light: rgba(17,24,39,.055);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --tap-scale: .982;
      --blue: var(--brand);
      --violet: var(--brand);
      --lilac: #DBEAFE;
      --mist-blue: #EAF3FF;
      --pink-lilac: #F3F0FF;
      --cyan: #4B9BA8;
      --orange: var(--warning);
      --red: var(--danger);
      --green: var(--success);
      --ink: var(--app-ink);
      --muted: #64748B;
      --muted-soft: #9CA3AF;
      --line: rgba(17,24,39,.07);
      --card: rgba(253,254,255,.90);
      --shadow: 0 16px 34px rgba(23,32,51,.075);
      --soft-shadow: 0 8px 20px rgba(23,32,51,.055);
      --micro-shadow: 0 3px 10px rgba(23,32,51,.04);
      --loft-brand-navy: #18253A;
      --loft-brand-blue: #4777B8;
      --loft-brand-sky: #8BB8D8;
      --loft-brand-warm: #D8AD6A;
      --loft-brand-mist: #EAF2F8;
      --loft-brand-glow: rgba(71,119,184,.14);
      --loft-card-strong: rgba(255,255,255,.94);
      --loft-card-soft: rgba(255,255,255,.76);
      --data-query-page-bg: #F2F6FB;
      --data-query-card-bg: rgba(253,254,255,.96);
      --data-query-control-bg: #EAF2FB;
      --data-query-control-bg-active: #DCEBFA;
      --data-query-border: rgba(37,99,235,.12);
      --data-query-shadow: 0 10px 26px rgba(41,73,128,.07);
      --data-query-icon: #4777B8;
      --data-query-label: #64748B;
      --data-query-value: #0F172A;
      --ops-dashboard-bg: #F3F6FA;
      --ops-dashboard-surface: #FFFFFF;
      --ops-dashboard-surface-soft: #F8FAFC;
      --ops-dashboard-blue-soft: #EEF5FF;
      --ops-dashboard-green-soft: #ECF9F1;
      --ops-dashboard-purple-soft: #F3F0FF;
      --ops-dashboard-orange-soft: #FFF4E8;
      --ops-dashboard-red-soft: #FFF0F0;
      --ops-dashboard-cyan-soft: #EAF9F8;
      --ops-dashboard-gold-soft: #FFF7DF;
      --ops-dashboard-bluegray-soft: #EEF3F8;
      --ops-dashboard-text: #182233;
      --ops-dashboard-text-muted: #667085;
      --ops-dashboard-text-light: #98A2B3;
      --ops-dashboard-border: #E3E9F1;
      --ops-dashboard-border-strong: #CCD7E5;
      --ops-dashboard-primary: #3B82F6;
      --ops-dashboard-primary-dark: #1F5FBF;
      --ops-dashboard-success: #22A06B;
      --ops-dashboard-purple: #7C5CFC;
      --ops-dashboard-warning: #F59E42;
      --ops-dashboard-danger: #E45858;
      --ops-dashboard-cyan: #2AA7A1;
      --ops-dashboard-gold: #C99124;
      --ops-dashboard-shadow: 0 6px 20px rgba(30, 55, 90, .06);
      --ops-dashboard-shadow-md: 0 10px 28px rgba(30, 55, 90, .08);
      --ops-data-page-bg: #F2F6FB;
      --ops-data-surface: #FFFFFF;
      --ops-data-surface-soft: #F8FAFD;
      --ops-data-text: #172033;
      --ops-data-text-secondary: #506078;
      --ops-data-text-muted: #8491A5;
      --ops-data-border: #DFE7F1;
      --ops-data-border-strong: #C4D3E5;
      --ops-data-blue: #4B82E8;
      --ops-data-blue-soft: #EDF4FF;
      --ops-data-blue-dark: #235CB8;
      --ops-data-green: #31A878;
      --ops-data-green-soft: #EAF8F1;
      --ops-data-purple: #7B63E6;
      --ops-data-purple-soft: #F1EEFF;
      --ops-data-cyan: #2FA5A0;
      --ops-data-cyan-soft: #E9F8F7;
      --ops-data-orange: #EE9A45;
      --ops-data-orange-soft: #FFF3E7;
      --ops-data-red: #E15C64;
      --ops-data-red-soft: #FFF0F2;
      --ops-data-gold: #C99324;
      --ops-data-gold-soft: #FFF7DF;
      --ops-data-gray: #9AA6B6;
      --ops-data-gray-soft: #F0F3F7;
      --ops-data-shadow: 0 8px 24px rgba(28, 51, 83, 0.07);
      --ops-data-radius-card: 20px;
      --ops-data-radius-control: 14px;
      --tabbar-height: 70px;
      --tabbar-gap: 12px;
      --page-bottom-extra: 52px;
      --page-bottom-safe: calc(var(--tabbar-height) + var(--tabbar-gap) + env(safe-area-inset-bottom) + var(--page-bottom-extra));
      --toast-bottom-safe: calc(var(--tabbar-height) + var(--tabbar-gap) + env(safe-area-inset-bottom) + 18px);
      --assignment-bottom-safe: var(--page-bottom-safe);
      --ease-bounce: cubic-bezier(.2,.82,.24,1.12);
      --ease-smooth: cubic-bezier(.2,.75,.18,1);
    }
    html {
      background: var(--app-bg);
    }
    body {
      color: var(--ink);
      background:
      radial-gradient(circle at 18% -8%, rgba(59,130,246,.08), transparent 28%),
      radial-gradient(circle at 92% 4%, rgba(14,165,233,.07), transparent 26%),
      linear-gradient(180deg, #F9FBFE 0%, var(--app-bg) 54%, #EAF0F7 100%);
    }
    .app {
      min-height: 100dvh;
      padding: 14px 14px var(--page-bottom-safe);
    }
    main > section {
      scroll-margin-bottom: var(--page-bottom-safe);
    }
    #page-data:not(.hidden) {
      margin: -2px -2px 0;
      padding: 2px;
      border-radius: 28px;
      background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)), var(--data-query-page-bg);
    }
    #page-data:not(.hidden):has(.ops-dashboard) {
      background: var(--ops-dashboard-bg);
    }
    #page-data:not(.hidden):has(.ops-data-detail-page) {
      background: var(--ops-data-page-bg);
    }
    main > section::after {
      content: "";
      display: block;
      height: 18px;
    }
    .card,
    .record,
    .task-board,
    .field-board,
    .home-feature-category,
    .data-board-panel,
    .me-panel,
    .me-list,
    .sheet,
    .employee-area-block,
    .account-permission-block,
    .assignment-compact-area,
    .work-plan-card,
    .hand-work-board {
      background: var(--card);
      box-shadow: inset 0 0 0 1px var(--ios-border-light), var(--soft-shadow);
    }
    .card,
    .record,
    .task-board,
    .field-board,
    .home-feature-category,
    .data-board-panel,
    .sheet,
    .me-panel,
    .me-list,
    .work-plan-card,
    .hand-work-board {
      border-radius: var(--radius-lg);
    }
    .hero {
      color: var(--app-black);
      background:
        radial-gradient(circle at 90% 0%, rgba(59,130,246,.12), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,250,252,.90));
      box-shadow: inset 0 0 0 1px var(--ios-border-light), var(--soft-shadow);
    }
    .hero:after {
      width: 130px;
      height: 130px;
      background: rgba(59,130,246,.08);
    }
    .hero p,
    .record-meta,
    .sub {
      color: var(--muted);
    }
    .section-title,
    .home-section-title,
    .task-board-title,
    .store-title,
    .me-panel-title {
      color: var(--app-black);
      font-weight: 850;
      letter-spacing: 0;
    }
    .pill {
      color: var(--brand-strong);
      background: var(--brand-soft);
      box-shadow: inset 0 0 0 1px var(--brand-line);
    }
    .btn {
      background: var(--brand);
      color: #fff;
      box-shadow: 0 12px 24px rgba(37,99,235,.18);
      font-weight: 820;
    }
    .pill.is-loading,
    .btn.is-loading,
    .task-confirm.is-loading,
    .work-plan-mini-btn.is-loading {
      pointer-events: none;
      opacity: .78;
      filter: saturate(.9);
      transition: opacity var(--ops-motion-fast) var(--ops-ease-out), filter var(--ops-motion-fast) var(--ops-ease-out), transform var(--ops-motion-button) var(--ops-ease-out);
    }
    .pill.is-loading::after,
    .btn.is-loading::after,
    .task-confirm.is-loading::after,
    .work-plan-mini-btn.is-loading::after {
      content: "";
      width: .78em;
      height: .78em;
      margin-left: 8px;
      border-radius: 999px;
      border: 2px solid currentColor;
      border-right-color: transparent;
      display: inline-block;
      vertical-align: -0.08em;
      animation: loft-spin .72s linear infinite;
    }
    @keyframes loft-spin {
      to { transform: rotate(360deg); }
    }
    .btn:active,
    .task-confirm:active,
    .work-plan-action:active,
    .home-feature-card:active,
    .me-service:active,
    .me-list-button:active,
    .data-square-card:active {
      transform: scale(var(--tap-scale)) translateY(1px);
    }
    .btn.secondary,
    .btn.ghost,
    .task-end-btn,
    .work-plan-mini-btn {
      color: var(--app-black);
      background: rgba(255,255,255,.82);
      box-shadow: inset 0 0 0 1px var(--line), var(--micro-shadow);
    }
    @media (hover: hover) and (pointer: fine) {
      .btn:hover,
      .pill:hover,
      .chip:hover,
      .tab:hover,
      .record:hover,
      .home-feature-card:hover,
      .data-square-card:hover,
      .work-plan-card:hover,
      .me-list-button:hover {
        transform: translateY(-1px);
      }
    }
    .ops-dashboard {
      display: grid;
      gap: 12px;
      width: 100%;
      max-width: 100%;
      padding: 2px 2px 6px;
      color: var(--ops-dashboard-text);
      background: var(--ops-dashboard-bg);
      overflow-x: clip;
    }
    .ops-dashboard * {
      min-width: 0;
    }
    .ops-dashboard-top,
    .ops-dashboard-card,
    .ops-dashboard-chart,
    .ops-dashboard-detail-links,
    .ops-dashboard-filter {
      background: var(--ops-dashboard-surface);
      border: 1px solid var(--ops-dashboard-border);
      border-radius: 20px;
      box-shadow: var(--ops-dashboard-shadow);
    }
    .ops-dashboard-top {
      display: grid;
      gap: 8px;
      padding: 15px 14px;
      border-color: var(--ops-dashboard-border-strong);
    }
    .ops-dashboard-title-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }
    .ops-dashboard-title-row h2 {
      margin: 0;
      color: var(--ops-dashboard-text);
      font-size: 21px;
      line-height: 1.15;
      font-weight: 930;
      letter-spacing: 0;
    }
    .ops-dashboard-subtitle,
    .ops-dashboard-muted {
      color: var(--ops-dashboard-text-muted);
      font-size: 12px;
      line-height: 1.45;
      font-weight: 730;
    }
    .ops-dashboard-sync {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 28px;
      padding: 5px 9px;
      border-radius: 999px;
      color: var(--ops-dashboard-success);
      background: var(--ops-dashboard-green-soft);
      border: 1px solid rgba(34,160,107,.18);
      font-size: 11px;
      font-weight: 850;
      white-space: nowrap;
    }
    .ops-dashboard-sync::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: currentColor;
    }
    .ops-dashboard-sync.syncing { color: var(--ops-dashboard-primary); background: var(--ops-dashboard-blue-soft); border-color: rgba(59,130,246,.2); }
    .ops-dashboard-sync.failed { color: var(--ops-dashboard-danger); background: var(--ops-dashboard-red-soft); border-color: rgba(228,88,88,.2); }
    .ops-dashboard-sync.partial,
    .ops-dashboard-sync.stale,
    .ops-dashboard-sync.offline,
    .ops-dashboard-sync.auth_error,
    .ops-dashboard-sync.permission_error { color: var(--ops-dashboard-warning); background: var(--ops-dashboard-orange-soft); border-color: rgba(245,158,66,.2); }
    .ops-dashboard-sync.cached { color: var(--ops-dashboard-warning); background: var(--ops-dashboard-orange-soft); border-color: rgba(245,158,66,.2); }
    .ops-dashboard-module-status { display: grid; gap: 7px; margin-top: 10px; }
    .ops-dashboard-module-status-row {
      display: grid;
      gap: 3px;
      padding: 9px 10px;
      border-radius: 14px;
      background: var(--ops-dashboard-orange-soft);
      border: 1px solid rgba(245,158,66,.18);
      color: #8A4D12;
      font-size: 12px;
      line-height: 1.35;
      font-weight: 760;
    }
    .ops-dashboard-module-status-row span { color: var(--ops-dashboard-text); font-weight: 900; }
    .ops-dashboard-module-status-row b { font-weight: 780; }
    .ops-dashboard-filter {
      display: grid;
      gap: 9px;
      padding: 11px;
    }
    .ops-dashboard-filter-main {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .ops-dashboard-filter label {
      display: grid;
      gap: 5px;
      margin: 0;
      color: var(--ops-dashboard-text-muted);
      font-size: 11px;
      font-weight: 820;
    }
    .ops-dashboard-filter input,
    .ops-dashboard-filter select {
      width: 100%;
      min-height: 42px;
      padding: 8px 10px;
      border-radius: 14px;
      color: var(--ops-dashboard-text);
      background: var(--ops-dashboard-surface-soft);
      box-shadow: inset 0 0 0 1px var(--ops-dashboard-border);
      font-size: 13px;
      font-weight: 760;
    }
    .ops-dashboard-filter-tabs {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
    }
    .ops-dashboard-filter-tabs .tab,
    .ops-dashboard-refresh,
    .ops-dashboard-secondary-btn {
      min-height: 44px;
      border-radius: 14px;
      white-space: normal;
      box-shadow: none;
    }
    .ops-dashboard-filter-tabs .tab {
      color: var(--ops-dashboard-text);
      background: #fff;
      border: 1px solid var(--ops-dashboard-border);
      font-size: 12px;
      font-weight: 850;
    }
    .ops-dashboard-filter-tabs .tab.active {
      color: var(--ops-dashboard-primary-dark);
      background: var(--ops-dashboard-blue-soft);
      border-color: rgba(59,130,246,.32) !important;
    }
    .ops-dashboard-refresh {
      color: #fff;
      background: var(--ops-dashboard-primary);
      box-shadow: 0 10px 20px rgba(59,130,246,.18);
      font-weight: 880;
    }
    .ops-dashboard-refresh.is-loading::after {
      content: "";
      width: .78em;
      height: .78em;
      margin-left: 8px;
      border-radius: 999px;
      border: 2px solid currentColor;
      border-right-color: transparent;
      display: inline-block;
      animation: loft-spin .72s linear infinite;
    }
    .ops-dashboard-kpi-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
    }
    .ops-kpi-card {
      min-height: 104px;
      display: grid;
      align-content: space-between;
      gap: 8px;
      padding: 12px;
      border-radius: 18px;
      border: 1px solid var(--ops-dashboard-border);
      background: var(--ops-dashboard-surface-soft);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    }
    .ops-kpi-card.theme-blue { background: var(--ops-dashboard-blue-soft); --ops-kpi-color: var(--ops-dashboard-primary-dark); }
    .ops-kpi-card.theme-purple { background: var(--ops-dashboard-purple-soft); --ops-kpi-color: var(--ops-dashboard-purple); }
    .ops-kpi-card.theme-green { background: var(--ops-dashboard-green-soft); --ops-kpi-color: var(--ops-dashboard-success); }
    .ops-kpi-card.theme-cyan { background: var(--ops-dashboard-cyan-soft); --ops-kpi-color: var(--ops-dashboard-cyan); }
    .ops-kpi-card.theme-orange { background: var(--ops-dashboard-orange-soft); --ops-kpi-color: var(--ops-dashboard-warning); }
    .ops-kpi-card.theme-red { background: var(--ops-dashboard-red-soft); --ops-kpi-color: var(--ops-dashboard-danger); }
    .ops-kpi-card.theme-bluegray { background: var(--ops-dashboard-bluegray-soft); --ops-kpi-color: var(--ops-dashboard-primary-dark); }
    .ops-kpi-card.theme-gold { background: var(--ops-dashboard-gold-soft); --ops-kpi-color: var(--ops-dashboard-gold); }
    .ops-kpi-head {
      display: flex;
      align-items: center;
      gap: 7px;
      color: var(--ops-dashboard-text);
      font-size: 12px;
      line-height: 1.25;
      font-weight: 850;
    }
    .ops-kpi-dot {
      width: 9px;
      height: 9px;
      flex: 0 0 auto;
      border-radius: 999px;
      background: var(--ops-kpi-color);
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--ops-kpi-color) 13%, transparent);
    }
    .ops-kpi-value {
      color: var(--ops-kpi-color);
      font-size: clamp(22px, 8vw, 32px);
      line-height: .98;
      font-weight: 950;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .ops-kpi-foot {
      color: var(--ops-dashboard-text-muted);
      font-size: 11px;
      line-height: 1.32;
      font-weight: 750;
      overflow-wrap: anywhere;
    }
    .ops-dashboard-card,
    .ops-dashboard-chart,
    .ops-dashboard-detail-links {
      padding: 13px;
    }
    .ops-dashboard-section-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 10px;
    }
    .ops-dashboard-section-head h3 {
      margin: 0;
      color: var(--ops-dashboard-text);
      font-size: 16px;
      line-height: 1.2;
      font-weight: 910;
    }
    .ops-dashboard-section-head span {
      color: var(--ops-dashboard-text-muted);
      font-size: 11px;
      line-height: 1.35;
      font-weight: 760;
      text-align: right;
    }
    .ops-summary-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .ops-summary-item {
      min-height: 58px;
      padding: 9px;
      border-radius: 14px;
      background: var(--ops-dashboard-surface-soft);
      border: 1px solid #E8EDF4;
    }
    .ops-summary-item b {
      display: block;
      color: var(--ops-dashboard-text);
      font-size: 18px;
      line-height: 1.05;
      font-weight: 930;
      font-variant-numeric: tabular-nums;
    }
    .ops-summary-item span {
      display: block;
      margin-top: 5px;
      color: var(--ops-dashboard-text-muted);
      font-size: 10.5px;
      line-height: 1.25;
      font-weight: 760;
    }
    .ops-chart-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 7px 10px;
      margin: 8px 0 0;
      color: var(--ops-dashboard-text-muted);
      font-size: 11px;
      font-weight: 760;
    }
    .ops-chart-legend i {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      display: inline-block;
      margin-right: 4px;
      vertical-align: -1px;
    }
    .ops-line-chart svg,
    .ops-bar-chart svg {
      display: block;
      width: 100%;
      height: auto;
      max-width: 100%;
      overflow: visible;
    }
    .ops-chart-axis {
      fill: var(--ops-dashboard-text-light);
      font-size: 10px;
      font-weight: 760;
    }
    .ops-chart-grid {
      stroke: #EAF0F7;
      stroke-width: 1;
    }
    .ops-rank-list {
      display: grid;
      gap: 8px;
    }
    .ops-rank-row {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr) auto;
      gap: 9px;
      align-items: center;
      min-height: 50px;
      padding: 8px 9px;
      border-radius: 14px;
      background: var(--ops-dashboard-surface-soft);
      border: 1px solid #E8EDF4;
    }
    .ops-rank-no {
      width: 26px;
      height: 26px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: var(--ops-dashboard-primary-dark);
      background: var(--ops-dashboard-blue-soft);
      font-size: 12px;
      font-weight: 900;
    }
    .ops-rank-row.rank-1 .ops-rank-no { color: #fff; background: var(--ops-dashboard-primary-dark); }
    .ops-rank-row.rank-2 .ops-rank-no { color: #fff; background: var(--ops-dashboard-primary); }
    .ops-rank-row.rank-3 .ops-rank-no { color: var(--ops-dashboard-primary-dark); background: #D9E8FF; }
    .ops-rank-main b {
      display: block;
      color: var(--ops-dashboard-text);
      font-size: 13px;
      line-height: 1.25;
      font-weight: 880;
      overflow-wrap: anywhere;
    }
    .ops-rank-main span {
      display: block;
      margin-top: 3px;
      color: var(--ops-dashboard-text-muted);
      font-size: 11px;
      line-height: 1.3;
      font-weight: 720;
      overflow-wrap: anywhere;
    }
    .ops-rank-value {
      color: var(--ops-dashboard-primary-dark);
      font-size: 14px;
      font-weight: 910;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .ops-status-tag {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 11px;
      line-height: 1;
      font-weight: 850;
      white-space: nowrap;
    }
    .ops-status-tag.good { color: var(--ops-dashboard-success); background: var(--ops-dashboard-green-soft); }
    .ops-status-tag.warn { color: var(--ops-dashboard-warning); background: var(--ops-dashboard-orange-soft); }
    .ops-status-tag.bad { color: var(--ops-dashboard-danger); background: var(--ops-dashboard-red-soft); }
    .ops-status-tag.neutral { color: var(--ops-dashboard-text-muted); background: var(--ops-dashboard-bluegray-soft); }
    .ops-exception-list {
      display: grid;
      gap: 8px;
    }
    .ops-exception-item {
      padding: 10px;
      border-radius: 14px;
      background: var(--ops-dashboard-orange-soft);
      border-left: 4px solid var(--ops-dashboard-warning);
      color: var(--ops-dashboard-text);
      font-size: 12px;
      line-height: 1.45;
      font-weight: 760;
    }
    .ops-exception-item.bad { background: var(--ops-dashboard-red-soft); border-left-color: var(--ops-dashboard-danger); }
    .ops-exception-item.good { background: var(--ops-dashboard-green-soft); border-left-color: var(--ops-dashboard-success); }
    .ops-dashboard-detail-links .data-square-card,
    .ops-dashboard-detail-links .data-square-card:nth-child(4n + 1),
    .ops-dashboard-detail-links .data-square-card:nth-child(4n + 2),
    .ops-dashboard-detail-links .data-square-card:nth-child(4n + 3),
    .ops-dashboard-detail-links .data-square-card:nth-child(4n) {
      min-height: 56px;
      border-radius: 18px;
      background: var(--ops-data-surface-soft);
      border: 1px solid #DEE7F2 !important;
      box-shadow: 0 4px 14px rgba(35, 60, 95, .05);
      padding: 9px 10px;
      grid-template-columns: 32px minmax(0, 1fr);
      transition: transform .14s var(--ease-smooth), border-color .14s var(--ease-smooth), background-color .14s var(--ease-smooth), box-shadow .14s var(--ease-smooth);
    }
    .ops-dashboard-detail-links .data-square-card:active {
      background: #EEF5FF;
      border-color: #9FC4FF !important;
      transform: scale(.985);
    }
    .ops-dashboard-detail-links .data-square-card .icon {
      width: 32px;
      height: 32px;
      border-radius: 13px;
      background: var(--ops-data-card-soft, var(--ops-data-blue-soft)) !important;
      color: var(--ops-data-card-color, var(--ops-data-blue-dark));
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ops-data-card-color, var(--ops-data-blue)) 13%, transparent) !important;
      font-size: 13px;
      font-weight: 900;
    }
    .ops-dashboard-detail-links .data-square-card h3,
    .ops-dashboard-detail-links .data-square-card p {
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
    }
    .ops-dashboard-detail-links .data-square-card h3 {
      color: var(--ops-data-text);
      font-size: 12.5px;
      line-height: 1.18;
    }
    .ops-dashboard-detail-links .data-square-card p {
      color: var(--ops-data-text-secondary);
      font-size: 10px;
      line-height: 1.22;
    }
    .ops-data-detail-page {
      display: grid;
      gap: 12px;
      color: var(--ops-data-text);
    }
    .ops-data-detail-page[data-detail-parent="data"] {}
    .data-detail-segment-nav {
      position: sticky;
      top: 0;
      z-index: 10;
      display: flex;
      gap: 7px;
      overflow-x: auto;
      max-width: 100%;
      padding: 5px 0 7px;
      background: rgba(247,249,255,.96);
      scrollbar-width: none;
    }
    .data-detail-segment-nav::-webkit-scrollbar { display: none; }
    .data-detail-segment-nav .tab {
      flex: 0 0 auto;
      min-height: 40px;
      white-space: nowrap;
    }
    .data-detail-list-panel {
      display: grid;
      gap: 9px;
    }
    .data-detail-list-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: var(--ops-data-text-secondary);
      font-size: 11px;
      font-weight: 820;
    }
    .data-detail-row-action {
      min-height: 44px;
      width: 100%;
      padding: 10px;
      border-radius: 16px;
      color: var(--ops-data-text);
      background: var(--ops-data-surface);
      border: 1px solid var(--ops-data-border);
      text-align: left;
      justify-content: space-between;
    }
    .ops-data-detail-page .data-detail-summary,
    .ops-data-detail-page .data-query-card,
    .ops-data-detail-page .data-board-panel {
      border-radius: var(--ops-data-radius-card);
      background: var(--ops-data-surface);
      border: 1px solid var(--ops-data-border);
      box-shadow: var(--ops-data-shadow);
    }
    .ops-data-detail-page .data-detail-summary {
      position: relative;
      overflow: hidden;
      padding-left: 14px;
    }
    .ops-data-detail-page .data-detail-summary::before {
      content: "";
      position: absolute;
      left: 0;
      top: 12px;
      bottom: 12px;
      width: 4px;
      border-radius: 999px;
      background: var(--ops-data-theme, var(--ops-data-blue));
    }
    .ops-data-detail-page .data-query-card {
      margin-top: 0;
      padding: 12px;
      color: var(--ops-data-text);
      background: var(--ops-data-surface);
      box-shadow: var(--ops-data-shadow);
    }
    .ops-data-detail-page .data-query-head b,
    .ops-data-detail-page .section-title,
    .ops-data-detail-page .record-head span:first-child {
      color: var(--ops-data-text);
    }
    .ops-data-detail-page .data-query-head span,
    .ops-data-detail-page .record-meta {
      color: var(--ops-data-text-secondary);
    }
    .ops-data-detail-page .data-query-tabs,
    .ops-data-detail-page .single-day-switch {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      overflow: visible;
    }
    .ops-data-detail-page .data-query-tabs .tab,
    .ops-data-detail-page .single-day-switch .tab,
    .ops-data-detail-page .single-day-shift,
    .ops-data-detail-page .btn.secondary {
      min-height: 40px;
      border-radius: var(--ops-data-radius-control);
      color: var(--ops-data-text-secondary);
      background: var(--ops-data-surface);
      border: 1px solid var(--ops-data-border);
      box-shadow: none;
    }
    .ops-data-detail-page .data-query-tabs .tab.active,
    .ops-data-detail-page .single-day-switch .tab.active {
      color: var(--ops-data-theme-dark, var(--ops-data-theme, var(--ops-data-blue-dark)));
      background: var(--ops-data-theme-soft, var(--ops-data-blue-soft));
      border-color: color-mix(in srgb, var(--ops-data-theme, var(--ops-data-blue)) 32%, var(--ops-data-border));
      font-weight: 880;
    }
    .ops-data-detail-page .date-picker-control,
    .ops-data-detail-page .date-field-stack input,
    .ops-data-detail-page .data-query-range-row input {
      border-color: var(--ops-data-border);
      background: var(--ops-data-surface-soft);
      color: var(--ops-data-text);
    }
    .ops-data-detail-page .data-metric-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .ops-data-detail-page .data-mini-metric {
      min-height: 76px;
      padding: 10px;
      border-radius: 15px;
      background: var(--ops-data-theme-soft, var(--ops-data-surface-soft));
      border: 1px solid color-mix(in srgb, var(--ops-data-theme, var(--ops-data-blue)) 16%, var(--ops-data-border));
      box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
    }
    .ops-data-detail-page .data-mini-metric span {
      color: var(--ops-data-text-secondary);
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
    }
    .ops-data-detail-page .data-mini-metric b {
      color: var(--ops-data-theme-dark, var(--ops-data-theme, var(--ops-data-blue-dark)));
      font-size: 20px;
      line-height: 1.08;
    }
    .ops-data-detail-page .rank-bar-row {
      padding: 9px;
      border-radius: 14px;
      background: var(--ops-data-surface-soft);
      border: 1px solid #E6ECF4;
    }
    .ops-data-detail-page .rank-bar-row b {
      color: var(--ops-data-text);
      overflow-wrap: anywhere;
    }
    .ops-data-detail-page .rank-bar-row span {
      color: var(--ops-data-theme-dark, var(--ops-data-theme, var(--ops-data-blue-dark)));
      font-weight: 850;
      white-space: nowrap;
    }
    .ops-data-detail-page .bar {
      height: 12px;
      background: #E9EEF5;
      box-shadow: inset 0 1px 2px rgba(23,32,51,.06);
    }
    .ops-data-detail-page .bar i,
    .ops-data-detail-page .rank-bar-row.rank-top .bar i,
    .ops-data-detail-page .rank-bar-row.rank-alt .bar i,
    .ops-data-detail-page .rank-bar-row.rank-soft .bar i {
      background: linear-gradient(90deg, var(--ops-data-theme, var(--ops-data-blue)), var(--ops-data-theme-accent, var(--ops-data-cyan)));
      box-shadow: 0 5px 12px color-mix(in srgb, var(--ops-data-theme, var(--ops-data-blue)) 18%, transparent);
    }
    .ops-data-detail-page .record,
    .ops-data-detail-page .list .record {
      background: var(--ops-data-surface);
      border: 1px solid var(--ops-data-border);
      box-shadow: 0 4px 14px rgba(28,51,83,.04);
    }
    .ops-data-detail-page .empty {
      background: var(--ops-data-gray-soft);
      border: 1px solid var(--ops-data-border);
      color: var(--ops-data-text-secondary);
    }
    .ops-data-detail-page .status,
    .ops-data-detail-page .record-head .status {
      color: var(--ops-data-theme-dark, var(--ops-data-theme, var(--ops-data-blue-dark)));
      background: var(--ops-data-theme-soft, var(--ops-data-blue-soft));
      border: 1px solid color-mix(in srgb, var(--ops-data-theme, var(--ops-data-blue)) 18%, transparent);
    }
    .ops-data-detail-page .btn:not(.secondary) {
      color: #fff;
      background: var(--ops-data-theme, var(--ops-data-blue));
      border-color: var(--ops-data-theme, var(--ops-data-blue));
    }
    @media (max-width: 340px) {
      .ops-dashboard-detail-links .data-square-grid {
        gap: 7px;
      }
      .ops-dashboard-detail-links .data-square-card,
      .ops-dashboard-detail-links .data-square-card:nth-child(4n + 1),
      .ops-dashboard-detail-links .data-square-card:nth-child(4n + 2),
      .ops-dashboard-detail-links .data-square-card:nth-child(4n + 3),
      .ops-dashboard-detail-links .data-square-card:nth-child(4n) {
        padding: 8px;
        grid-template-columns: 28px minmax(0, 1fr);
      }
      .ops-dashboard-detail-links .data-square-card .icon {
        width: 28px;
        height: 28px;
      }
    }
    .ops-dashboard-empty,
    .ops-dashboard-skeleton {
      padding: 12px;
      border-radius: 14px;
      color: var(--ops-dashboard-text-muted);
      background: var(--ops-dashboard-surface-soft);
      border: 1px solid #E8EDF4;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 760;
    }
    .ops-dashboard-skeleton {
      min-height: 74px;
      position: relative;
      overflow: hidden;
    }
    .ops-dashboard-skeleton::after {
      content: "";
      position: absolute;
      inset: 0;
      transform: translateX(-100%);
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.64), transparent);
      animation: ops-dashboard-shimmer 1.08s linear infinite;
    }
    @keyframes ops-dashboard-shimmer {
      to { transform: translateX(100%); }
    }
    @media (max-width: 340px) {
      .ops-dashboard-kpi-grid,
      .ops-dashboard-filter-main,
      .ops-dashboard-filter-tabs,
      .ops-summary-grid {
        grid-template-columns: 1fr;
      }
      .ops-kpi-card { min-height: 92px; }
      .ops-dashboard-title-row { flex-direction: column; }
      .ops-dashboard-sync { align-self: flex-start; }
    }
    .btn.ghost {
      color: var(--muted);
      background: rgba(248,250,252,.86);
    }
    .close {
      background: rgba(17,24,39,.88);
      box-shadow: 0 10px 22px rgba(15,23,42,.14);
    }
    .sheet {
      background: #F6F8FB;
      box-shadow: 0 -14px 34px rgba(15,23,42,.12);
    }
    .sheet--webview-stable {
      height: min(88vh, calc(100dvh - 22px));
      max-height: none;
      overflow: visible;
      background: #F7F8FA;
      box-shadow: 0 -8px 20px rgba(15,23,42,.08);
      transform: none !important;
    }
    .sheet--webview-stable .sheet-body {
      display: block;
      padding: 0 0 8px;
      transform: none !important;
      contain: none;
      background: #F7F8FA;
    }
    .sheet--webview-stable .sheet-head,
    .sheet--webview-stable .search-box,
    .sheet--webview-stable .pending-save-bar {
      background: #F7F8FA;
      box-shadow: inset 0 -1px 0 rgba(17,24,39,.055);
    }
    .sheet--webview-stable .record,
    .sheet--webview-stable .account-permission-block,
    .sheet--webview-stable .config-compact-row,
    .sheet--webview-stable .check-pill {
      background: #fff;
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055);
      transform: none !important;
    }
    .sheet--webview-stable .account-permission-block {
      margin-top: 10px;
    }
    .sheet--webview-stable .profile-card,
    .sheet--webview-stable .btn,
    .sheet--webview-stable .check-pill {
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055);
      transition-property: background, box-shadow, color, opacity;
      will-change: auto;
    }
    .sheet--webview-stable .btn {
      box-shadow: none;
    }
    .sheet--webview-stable .btn:active,
    .sheet--webview-stable .check-pill:active,
    .sheet--webview-stable .profile-card:active {
      transform: none !important;
    }
    .sheet--input-stable,
    .sheet--input-stable .sheet-body,
    .sheet--input-stable input,
    .sheet--input-stable textarea,
    .sheet--input-stable [contenteditable='true'] {
      transform: none !important;
      contain: none;
      will-change: auto;
      -webkit-user-select: text;
      user-select: text;
      touch-action: manipulation;
    }
    .sheet-head,
    .sticky-page-return,
    .search-box,
    .manager-toolbar,
    .work-plan-actions,
    .hygiene-submit-bar,
    .work-plan-sticky-actions {
      background: rgba(246,248,251,.88);
      border-bottom: 0;
      box-shadow: inset 0 -1px 0 rgba(17,24,39,.055);
    }
    input,
    select,
    textarea {
      color: var(--app-ink);
      background: rgba(255,255,255,.92);
      box-shadow: inset 0 0 0 1px var(--line);
      border-radius: 16px;
    }
    input:focus,
    select:focus,
    textarea:focus {
      box-shadow: inset 0 0 0 1px rgba(59,130,246,.42), 0 0 0 4px rgba(59,130,246,.12);
    }
    label {
      color: var(--muted);
      font-weight: 760;
    }
    .status {
      color: var(--brand-strong);
      background: var(--brand-soft);
      box-shadow: inset 0 0 0 1px var(--brand-line);
    }
    .status.todo,
    .diagnostic-row .status.danger {
      color: var(--warning);
      background: var(--warning-soft);
      box-shadow: inset 0 0 0 1px rgba(183,121,31,.16);
    }
    .status.done,
    .task-confirm.acknowledged {
      color: var(--success);
      background: var(--success-soft);
      box-shadow: inset 0 0 0 1px rgba(47,158,98,.16);
    }
    .status.closed {
      color: var(--muted);
      background: rgba(148,163,184,.12);
      box-shadow: inset 0 0 0 1px rgba(148,163,184,.14);
    }
    .tab,
    .chip,
    .picker-chip,
    .check-pill,
    .performance-employee-chip {
      color: #475569;
      background: #EEF4FA;
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.10);
      font-weight: 780;
    }
    .tab.active,
    .chip.active,
    .picker-chip.active,
    .performance-employee-chip.active,
    button.record.active,
    .meeting-type-card.active {
      color: #174EA6;
      background: #DBEAFE;
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.20), 0 6px 14px rgba(37,99,235,.075);
    }
    .bottom-nav {
      width: min(398px, calc(100% - 24px));
      height: var(--tabbar-height);
      min-height: var(--tabbar-height);
      bottom: calc(var(--tabbar-gap) + env(safe-area-inset-bottom));
      padding: 7px;
      border-radius: 28px;
      box-sizing: border-box;
      background: rgba(255,255,255,.88);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 18px 42px rgba(15,23,42,.16);
    }
    .nav-btn {
      height: calc(var(--tabbar-height) - 14px);
      border-radius: 22px;
      color: #7A8494;
      font-weight: 760;
      min-width: 0;
    }
    .nav-btn span {
      max-width: 100%;
      overflow: hidden;
      text-overflow: clip;
      white-space: nowrap;
      font-size: 10.5px;
      line-height: 1.1;
    }
    html.hq-shell .bottom-nav {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    html.hq-shell .nav-btn[data-page="tools"] {
      display: none;
    }
    .nav-btn.active {
      color: var(--brand-strong);
      background: var(--brand-soft);
      box-shadow: inset 0 0 0 1px rgba(59,130,246,.12);
    }
    .nav-btn.is-routing {
      color: var(--brand-strong);
      background: rgba(219,234,254,.72);
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.16);
    }
    .nav-icon {
      width: 21px;
      height: 21px;
      stroke-width: 2;
    }
    .login-wrap,
    .auth-gate {
      min-height: 100dvh;
      background:
        radial-gradient(circle at 50% -8%, rgba(59,130,246,.12), transparent 34%),
        linear-gradient(180deg, #FAFBFD 0%, #F3F6FA 100%);
    }
    .login-card,
    .auth-card {
      padding: 28px 20px 22px;
      border-radius: 30px;
      background: rgba(255,255,255,.88);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 24px 58px rgba(15,23,42,.10);
    }
    .login-card .pill {
      margin-bottom: 18px;
      color: var(--brand-strong);
      background: var(--brand-soft);
    }
    .login-card h1 {
      color: var(--app-black);
      font-size: 28px;
      line-height: 1.08;
      font-weight: 880;
    }
    .login-card .sub {
      font-size: 13px;
      line-height: 1.48;
    }
    .login-remember-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      min-height: 34px;
      color: #4B5563;
      font-size: 13px;
      font-weight: 780;
    }
    .login-remember-row input {
      width: 16px;
      height: 16px;
      accent-color: var(--blue);
    }
    .home-hero {
      min-height: 112px;
      border-radius: 30px;
      padding: 19px 20px 18px;
      background:
        radial-gradient(circle at 92% 12%, rgba(59,130,246,.12), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,248,252,.90));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), var(--soft-shadow);
    }
    .home-hero:before {
      border: 0;
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.045);
    }
    .home-hero:after {
      background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.92), transparent 20%),
        linear-gradient(145deg, rgba(59,130,246,.12), rgba(255,255,255,.04));
    }
    .home-eyebrow {
      color: var(--brand-strong);
      font-size: 10.5px;
      letter-spacing: .02em;
    }
    .home-hero h1 {
      color: var(--app-black);
      font-size: 27px;
      line-height: 1.05;
      font-weight: 880;
      text-shadow: none;
    }
    .home-hero p {
      color: var(--muted);
      font-weight: 700;
    }
    .task-board {
      padding: 12px;
      border-radius: 26px;
    }
    .task-card {
      background: rgba(255,255,255,.86);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055), var(--micro-shadow);
      border-radius: 17px;
    }
    .task-card h3 {
      font-size: 11.8px;
      font-weight: 760;
    }
    .task-meta {
      color: var(--muted-soft);
      font-size: 9.5px;
      font-weight: 600;
    }
    .task-target {
      color: var(--brand-strong);
      background: var(--brand-soft);
    }
    .task-confirm {
      background: var(--brand);
      box-shadow: 0 8px 16px rgba(37,99,235,.14);
    }
    .task-confirm:disabled {
      color: var(--muted);
      background: rgba(148,163,184,.13);
    }
    .field-board {
      background:
        radial-gradient(circle at 92% 8%, rgba(47,158,98,.10), transparent 30%),
        rgba(255,255,255,.80);
    }
    .field-message-card {
      background: rgba(255,255,255,.76);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.05);
    }
    .home-feature-category {
      padding: 12px;
      border-radius: 24px;
      background: rgba(255,255,255,.72);
    }
    .home-category-title {
      color: var(--app-black);
      font-weight: 820;
    }
    .home-category-dot,
    .home-feature-category:nth-child(2) .home-category-dot,
    .home-feature-category:nth-child(3) .home-category-dot,
    .home-feature-category:nth-child(4) .home-category-dot {
      background: var(--brand);
      box-shadow: 0 0 0 4px var(--brand-soft);
    }
    .home-feature-card,
    .home-feature-card:nth-child(4n + 1),
    .home-feature-card:nth-child(4n + 2),
    .home-feature-card:nth-child(4n + 3),
    .home-feature-card:nth-child(4n) {
      background: rgba(255,255,255,.82);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055), var(--micro-shadow);
    }
    .home-feature-icon,
    .data-square-card .icon,
    .me-service-icon,
    .icon {
      color: var(--brand-strong);
      background: transparent !important;
      box-shadow: none !important;
    }
    .home-feature-icon svg,
    .me-service-icon svg {
      stroke-width: 2;
    }
    .home-feature-card h3,
    .data-square-card h3 {
      color: var(--app-black);
      font-weight: 800;
    }
    .home-feature-copy p,
    .data-square-card p {
      color: var(--muted);
      font-weight: 600;
    }
    .data-square-card,
    .data-square-card:nth-child(4n + 1),
    .data-square-card:nth-child(4n + 2),
    .data-square-card:nth-child(4n + 3),
    .data-square-card:nth-child(4n),
    .metric-square,
    .metric-square:nth-child(4n + 1),
    .metric-square:nth-child(4n + 2),
    .metric-square:nth-child(4n + 3),
    .metric-square:nth-child(4n) {
      color: var(--app-black);
      background: rgba(255,255,255,.82);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055), var(--micro-shadow);
    }
    .data-square-card {
      min-height: 58px;
      border-radius: 999px;
      grid-template-columns: 30px minmax(0, 1fr);
      padding: 8px 10px;
    }
    .data-square-card .icon {
      width: 30px;
      height: 30px;
      font-size: 14px;
      font-weight: 850;
    }
    .data-board-panel,
    .data-mini-metric {
      background: rgba(255,255,255,.78);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055), var(--micro-shadow);
    }
    .data-mini-metric b,
    .metric-square b {
      color: var(--app-black);
      font-weight: 820;
    }
    .table-cell,
    .assignment-table-pill,
    .work-plan-stat,
    .work-plan-compact-item,
    .hand-work-compact-row,
    .hand-work-item,
    .hand-work-person,
    .meeting-item-card,
    .meeting-type-card,
    .config-compact-row,
    .employee-scope-frame,
    .me-summary-item,
    .update-version-card {
      background: rgba(255,255,255,.78);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055), var(--micro-shadow);
    }
    .table-cell.dirty,
    .assignment-table-pill.mobile-slot,
    .assigned-responsible-card,
    .work-plan-summary {
      color: var(--app-black);
      background: var(--warning-soft);
      box-shadow: inset 0 0 0 1px rgba(183,121,31,.13), var(--micro-shadow);
    }
    .assigned-responsible-card.empty {
      background: rgba(148,163,184,.12);
    }
    .work-plan-action {
      min-height: 52px;
      color: var(--brand-strong);
      background: var(--brand-soft);
      box-shadow: inset 0 0 0 1px var(--brand-line), var(--micro-shadow);
      border-radius: 20px;
    }
    .work-plan-action b {
      color: var(--app-black);
      font-size: 14px;
      font-weight: 820;
      text-align: center;
    }
    .work-plan-action span {
      color: var(--muted);
      font-size: 10.5px;
      font-weight: 650;
      text-align: center;
    }
    .work-plan-card h3,
    .hand-work-person h3,
    .me-hero h2 {
      color: var(--app-black);
      font-weight: 820;
    }
    .hand-work-board {
      background:
        radial-gradient(circle at 92% 0%, rgba(59,130,246,.10), transparent 30%),
        rgba(255,255,255,.78);
    }
    .hand-work-compact-row span,
    .hand-work-item span {
      color: var(--brand-strong);
      background: var(--brand-soft);
    }
    .me-hero {
      grid-template-columns: 58px minmax(0, 1fr) auto;
      padding: 16px 14px;
      border-radius: 28px;
      background:
        radial-gradient(circle at 8% 12%, rgba(59,130,246,.12), transparent 34%),
        rgba(255,255,255,.80);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055), var(--soft-shadow);
    }
    .me-avatar {
      width: 58px;
      height: 58px;
      border-radius: 20px;
      color: var(--brand-strong);
      background: var(--brand-soft);
      box-shadow: inset 0 0 0 1px var(--brand-line);
    }
    .me-summary-item {
      border-radius: 18px;
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.045);
    }
    .me-service-icon {
      width: 38px;
      height: 38px;
      border-radius: 14px;
      background: var(--brand-soft);
      box-shadow: none;
    }
    .me-service:nth-child(2n) .me-service-icon,
    .me-service:nth-child(3n) .me-service-icon {
      background: var(--brand-soft);
    }
    .me-service span {
      color: var(--app-ink);
      font-weight: 720;
    }
    .me-list-button {
      min-height: 56px;
      box-shadow: inset 0 -1px 0 rgba(17,24,39,.055);
    }
    .me-list-button:active {
      background: var(--brand-soft);
    }
    .me-list-button .me-service-icon {
      background: transparent;
      color: var(--brand-strong);
    }
    /* brand-safe-area-polish: Figma-friendly tokens and low-cost visual hierarchy. */
    body {
      background:
        radial-gradient(circle at 18% -8%, rgba(71,119,184,.12), transparent 30%),
        radial-gradient(circle at 96% 8%, rgba(139,184,216,.10), transparent 28%),
        linear-gradient(180deg, #FBFCFE 0%, #F4F7FA 58%, #EEF3F7 100%);
    }
    .login-wrap,
    .auth-gate {
      background:
        radial-gradient(circle at 50% -10%, rgba(71,119,184,.18), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(216,173,106,.10), transparent 28%),
        linear-gradient(180deg, #FBFCFE 0%, #F2F6FA 100%);
    }
    .login-card,
    .auth-card {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(145deg, rgba(255,255,255,.97), rgba(248,251,253,.90));
    }
    .login-card::before,
    .auth-card::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(120deg, rgba(71,119,184,.12), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.58), transparent 34%);
    }
    .login-card > *,
    .auth-card > * {
      position: relative;
      z-index: 1;
    }
    .home-hero,
    .hero.data-hub-hero {
      background:
        radial-gradient(circle at 12% 16%, rgba(255,255,255,.76), transparent 23%),
        radial-gradient(circle at 92% 8%, rgba(139,184,216,.22), transparent 30%),
        linear-gradient(145deg, #F8FBFE 0%, var(--loft-brand-mist) 48%, #E4EDF5 100%);
      border: 1px solid rgba(255,255,255,.78);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 16px 36px rgba(54,80,120,.10);
    }
    .home-hero::before,
    .hero.data-hub-hero::before {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: inherit;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(71,119,184,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(71,119,184,.045) 1px, transparent 1px);
      background-size: 28px 28px;
      opacity: .42;
      mask-image: linear-gradient(120deg, #000, transparent 76%);
      -webkit-mask-image: linear-gradient(120deg, #000, transparent 76%);
    }
    .home-hero::after,
    .hero.data-hub-hero::after {
      background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.86), transparent 20%),
        linear-gradient(145deg, rgba(71,119,184,.14), rgba(255,255,255,.02));
    }
    .home-eyebrow {
      color: var(--loft-brand-blue);
    }
    .home-hero h1,
    .hero.data-hub-hero h2 {
      color: var(--loft-brand-navy);
    }
    .home-hero p,
    .hero.data-hub-hero p {
      color: rgba(24,37,58,.68);
    }
    .task-board {
      background:
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,250,252,.86));
      border: 1px solid rgba(255,255,255,.78);
    }
    .home-shell .task-board:first-of-type,
    .hand-work-board {
      background:
        radial-gradient(circle at 92% 6%, rgba(71,119,184,.10), transparent 30%),
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(244,248,252,.86));
    }
    .home-feature-category,
    .data-group,
    .me-panel {
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(255,255,255,.72);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.035), var(--micro-shadow);
    }
    .home-category-dot {
      background: var(--loft-brand-blue);
      box-shadow: 0 0 0 5px rgba(71,119,184,.10);
    }
    .home-feature-card,
    .data-square-card,
    .metric-square {
      background: rgba(255,255,255,.84);
      border: 1px solid rgba(255,255,255,.80);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.045), 0 6px 16px rgba(42,63,94,.045);
    }
    .home-feature-icon,
    .data-square-card .icon,
    .me-service-icon,
    .icon {
      color: var(--loft-brand-blue);
      background: rgba(71,119,184,.09) !important;
      box-shadow: inset 0 0 0 1px rgba(71,119,184,.08) !important;
    }
    .data-hub-hero {
      color: var(--loft-brand-navy);
    }
    .data-hub-hero .pill {
      margin-bottom: 10px;
      color: var(--loft-brand-blue);
      background: rgba(71,119,184,.10);
      box-shadow: inset 0 0 0 1px rgba(71,119,184,.14);
    }
    .data-group-stack {
      display: grid;
      gap: 12px;
      margin-top: 12px;
    }
    .data-group {
      padding: 12px;
      border-radius: 24px;
    }
    .data-group-title {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 10px;
      margin: 0 2px 10px;
    }
    .data-group-title b {
      color: var(--loft-brand-navy);
      font-size: 14px;
      line-height: 1.2;
      font-weight: 860;
    }
    .data-group-title span {
      color: var(--muted);
      font-size: 10.5px;
      line-height: 1.2;
      font-weight: 680;
      text-align: right;
    }
    .data-square-card.is-active {
      background:
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(236,245,252,.92));
      box-shadow: inset 0 0 0 1px rgba(71,119,184,.12), 0 8px 18px rgba(71,119,184,.07);
    }
    .data-square-card.is-empty {
      opacity: .72;
      background: rgba(255,255,255,.62);
    }
    .paste-import-entry {
      margin-top: 12px;
      padding: 14px;
      border-radius: 24px;
      background:
        radial-gradient(circle at 92% 0%, rgba(71,119,184,.10), transparent 30%),
        rgba(255,255,255,.82);
      box-shadow: inset 0 0 0 1px rgba(71,119,184,.08), var(--micro-shadow);
    }
    .paste-import-entry .btn {
      width: 100%;
      margin-top: 12px;
    }
    .paste-import-textarea {
      min-height: 190px;
      line-height: 1.45;
      resize: vertical;
      white-space: pre-wrap;
    }
    .paste-import-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin: 10px 0;
    }
    .paste-import-metric {
      min-height: 58px;
      padding: 9px 8px;
      border-radius: 16px;
      background: rgba(255,255,255,.72);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055);
    }
    .paste-import-metric b {
      display: block;
      color: var(--app-black);
      font-size: 17px;
      line-height: 1;
    }
    .paste-import-metric span {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 10px;
      line-height: 1.2;
      font-weight: 700;
    }
    .paste-import-row {
      display: grid;
      gap: 8px;
      padding: 11px;
      border-radius: 18px;
      background: rgba(255,255,255,.82);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.055), var(--micro-shadow);
    }
    .paste-import-row.is-invalid {
      background: rgba(194,65,61,.075);
      box-shadow: inset 0 0 0 1px rgba(194,65,61,.16);
    }
    .paste-import-row.is-corrected,
    .paste-import-row.is-ambiguous,
    .paste-import-row.is-unmatched {
      background: rgba(183,121,31,.075);
      box-shadow: inset 0 0 0 1px rgba(183,121,31,.14);
    }
    .paste-import-row-main {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }
    .paste-import-row-main b {
      color: var(--app-black);
      font-size: 14px;
      line-height: 1.25;
    }
    .paste-import-row select {
      min-height: 38px;
      border-radius: 14px;
    }
    .paste-import-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .paste-import-actions .btn {
      min-height: 36px;
      padding: 8px 10px;
      font-size: 12px;
      box-shadow: none;
    }
    .work-plan-tabs .tab.active {
      color: #fff;
      background: var(--loft-brand-navy);
      border-color: var(--loft-brand-navy);
    }
    .work-plan-summary {
      background:
        radial-gradient(circle at 92% 0%, rgba(216,173,106,.16), transparent 30%),
        linear-gradient(145deg, rgba(255,250,241,.96), rgba(255,247,230,.86));
      box-shadow: inset 0 0 0 1px rgba(216,173,106,.18), var(--micro-shadow);
    }
    .work-plan-card {
      padding-bottom: 15px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(248,251,253,.82));
    }
    .work-plan-stat {
      background: rgba(71,119,184,.075);
      box-shadow: inset 0 0 0 1px rgba(71,119,184,.07);
    }
    .me-hero {
      background:
        radial-gradient(circle at 10% 14%, rgba(255,255,255,.72), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(216,173,106,.10), transparent 28%),
        linear-gradient(145deg, #F8FBFE 0%, #EAF2F8 54%, #F4F8FB 100%);
    }
    .me-summary-item:nth-child(1) { background: rgba(71,119,184,.075); }
    .me-summary-item:nth-child(2) { background: rgba(139,184,216,.09); }
    .me-summary-item:nth-child(3) { background: rgba(216,173,106,.10); }
    .app .list:last-child,
    .home-feature-categories,
    .data-group-stack,
    .me-panel:last-child {
      margin-bottom: 8px;
    }
    .empty,
    .task-empty {
      color: var(--muted);
      background: rgba(255,255,255,.58);
      box-shadow: inset 0 0 0 1px rgba(17,24,39,.06);
      border: 0 !important;
      outline: 0 !important;
    }
    html:not(.hq-shell):not(.competitor-standalone-shell) .bottom-nav {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      background: rgba(255,255,255,.94);
      border: 1px solid rgba(203,213,225,.72);
      box-shadow: 0 14px 34px rgba(15,23,42,.16);
    }
    html:not(.hq-shell):not(.competitor-standalone-shell) .nav-btn {
      min-height: var(--store-touch-target);
      color: #64748B;
      transition: background var(--ops-motion-button) var(--ops-ease-out), color var(--ops-motion-button) var(--ops-ease-out), transform var(--ops-motion-button) var(--ops-ease-out);
    }
    html:not(.hq-shell):not(.competitor-standalone-shell) .nav-btn.active,
    .nav-btn.active {
      color: var(--ops-sem-task);
      background: var(--ops-nav-active-bg);
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.14), 0 8px 18px rgba(37,99,235,.08);
    }
    .home-shell.store-visible-ia {
      display: grid;
      gap: 14px;
      padding-top: 2px;
    }
    .home-ops-status-strip {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .home-ops-status-item,
    .home-core-panel,
    .tools-entry-dashboard,
    .tools-feature-card,
    .work-plan-command,
    .me-group-stack .me-panel,
    .me-logout-panel {
      background: rgba(255,255,255,.88);
      border: 1px solid rgba(203,213,225,.70);
      box-shadow: 0 10px 24px rgba(30,55,90,.07);
    }
    .home-ops-status-item {
      min-width: 0;
      min-height: 58px;
      padding: 10px 11px;
      border-radius: 18px;
    }
    .home-ops-status-item span {
      display: block;
      color: #64748B;
      font-size: 10.5px;
      line-height: 1.2;
      font-weight: 800;
    }
    .home-ops-status-item b {
      display: block;
      margin-top: 5px;
      color: #172033;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 900;
      overflow-wrap: anywhere;
    }
    .home-core-stack {
      display: grid;
      gap: 13px;
    }
    .home-core-panel {
      --panel-accent: var(--ops-sem-task);
      --panel-soft: rgba(37,99,235,.08);
      overflow: hidden;
      border-radius: 26px;
      padding: 13px;
      border-left: 4px solid var(--panel-accent);
      background:
        linear-gradient(135deg, var(--panel-soft), rgba(255,255,255,.92) 42%),
        #fff;
      transition: transform var(--ops-motion-button) var(--ops-ease-out), box-shadow var(--ops-motion-button) var(--ops-ease-out);
    }
    .home-core-panel[data-home-core-panel="tasks"] {
      --panel-accent: var(--ops-sem-task);
      --panel-soft: rgba(37,99,235,.09);
    }
    .home-core-panel[data-home-core-panel="pre-shift"] {
      --panel-accent: var(--ops-sem-meeting);
      --panel-soft: rgba(124,58,237,.08);
    }
    .home-core-panel:active,
    .tools-feature-card:active,
    .me-logout-panel:active {
      transform: scale(var(--ops-press-scale));
    }
    .home-core-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: start;
      margin-bottom: 10px;
    }
    .home-core-kicker {
      color: var(--panel-accent);
      font-size: 11px;
      line-height: 1.2;
      font-weight: 900;
    }
    .home-core-title {
      margin: 3px 0 0;
      color: #172033;
      font-size: 19px;
      line-height: 1.16;
      font-weight: 940;
    }
    .home-core-sub {
      margin-top: 5px;
      color: #667085;
      font-size: 12px;
      line-height: 1.35;
      font-weight: 720;
    }
    .home-core-action {
      min-height: 44px;
      padding: 0 13px;
      border-radius: 999px;
      color: var(--panel-accent);
      background: rgba(255,255,255,.86);
      box-shadow: inset 0 0 0 1px rgba(37,99,235,.16);
      font-size: 12px;
      font-weight: 900;
    }
    .home-core-refresh {
      min-width: 44px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 13px;
      border-radius: 999px;
      color: var(--panel-accent);
      background: rgba(255,255,255,.90);
      border: 1px solid rgba(37,99,235,.14);
      box-shadow: 0 8px 18px rgba(28,51,83,.08);
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }
    .home-core-refresh.is-loading {
      opacity: .72;
      cursor: wait;
    }
    .home-core-metric-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-bottom: 10px;
    }
    .home-core-metric {
      min-width: 0;
      padding: 9px 8px;
      border-radius: 16px;
      background: rgba(255,255,255,.78);
      box-shadow: inset 0 0 0 1px rgba(15,23,42,.055);
    }
    .home-core-metric b {
      display: block;
      color: #172033;
      font-size: 20px;
      line-height: 1;
      font-weight: 950;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .home-core-metric span {
      display: block;
      margin-top: 5px;
      color: #667085;
      font-size: 10px;
      line-height: 1.2;
      font-weight: 780;
    }
    .home-core-panel .task-board,
    .home-core-panel .field-board,
    .home-core-panel .checkin-board {
      margin-top: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }
    .home-core-panel .task-board > .task-board-head,
    .home-core-panel .field-board > .task-board-head {
      display: block;
      text-align: right;
      margin: 2px 0 8px;
    }
    .home-core-panel .checkin-board > .task-board-head {
      display: none;
    }
    .home-core-panel .task-board > .task-board-head .task-board-title,
    .home-core-panel .task-board > .task-board-head .task-board-sub,
    .home-core-panel .field-board > .task-board-head .task-board-title,
    .home-core-panel .field-board > .task-board-head .task-board-sub {
      display: none;
    }
    .home-core-panel .field-board > .task-board-head .pill:not(.home-core-refresh) {
      display: none;
    }
    .tools-entry-dashboard {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin: 12px 0;
      padding: 12px;
      border-radius: 24px;
    }
    .tools-entry-count {
      min-width: 0;
      padding: 10px 8px;
      border-radius: 17px;
      background: #F8FAFC;
      text-align: center;
    }
    .tools-entry-count b {
      display: block;
      color: #172033;
      font-size: 20px;
      line-height: 1;
      font-weight: 950;
    }
    .tools-entry-count span {
      display: block;
      margin-top: 6px;
      color: #64748B;
      font-size: 10.5px;
      line-height: 1.2;
      font-weight: 780;
    }
    .tools-feature-card.home-feature-card,
    .tools-feature-card.home-feature-card:nth-child(4n + 1),
    .tools-feature-card.home-feature-card:nth-child(4n + 2),
    .tools-feature-card.home-feature-card:nth-child(4n + 3),
    .tools-feature-card.home-feature-card:nth-child(4n) {
      min-height: 94px;
      border-radius: 20px;
      grid-template-columns: 40px minmax(0, 1fr);
      align-items: start;
      padding: 12px;
      background: #FFFFFF;
      border-color: rgba(203,213,225,.72);
      box-shadow: 0 8px 20px rgba(30,55,90,.06);
    }
    .tools-feature-card .home-feature-copy {
      min-height: 0;
      justify-content: start;
    }
    .tools-feature-card .home-feature-icon {
      width: 40px;
      height: 40px;
      border-radius: 15px;
      color: var(--feature-accent, var(--ops-sem-task));
      background: var(--feature-soft, rgba(37,99,235,.10)) !important;
    }
    .tools-feature-card h3 {
      white-space: normal;
      font-size: 14px;
      line-height: 1.22;
    }
    .tools-feature-card .home-feature-copy p {
      display: block;
      margin-top: 5px;
      font-size: 11px;
      line-height: 1.35;
      -webkit-line-clamp: unset;
    }
    .tools-feature-status {
      display: inline-flex;
      width: fit-content;
      max-width: 100%;
      margin-top: 8px;
      padding: 4px 7px;
      border-radius: 999px;
      color: var(--feature-accent, var(--ops-sem-task));
      background: var(--feature-soft, rgba(37,99,235,.10));
      font-size: 10px;
      line-height: 1.1;
      font-weight: 850;
    }
    .ops-dashboard-top .ops-dashboard-filter {
      margin-top: 12px;
      box-shadow: none;
    }
    .ops-dashboard-analysis-grid {
      display: grid;
      gap: 12px;
    }
    .ops-dashboard-exceptions {
      border-color: rgba(234,88,12,.20);
      background: linear-gradient(145deg, #FFFFFF, rgba(255,247,237,.74));
    }
    .work-plan-command {
      display: grid;
      gap: 10px;
      padding: 13px;
      border-radius: 24px;
      margin-bottom: 12px;
      background: linear-gradient(145deg, rgba(236,254,255,.82), #fff);
      border-left: 4px solid var(--ops-sem-plan);
    }
    .work-plan-command-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: start;
    }
    .work-plan-command h2 {
      margin: 0;
      color: #172033;
      font-size: 22px;
      line-height: 1.16;
      font-weight: 950;
    }
    .work-plan-command p {
      margin: 5px 0 0;
      color: #667085;
      font-size: 12px;
      line-height: 1.42;
      font-weight: 720;
    }
    .work-plan-date-range {
      color: var(--ops-sem-plan);
      font-size: 12px;
      line-height: 1.35;
      font-weight: 880;
    }
    .work-plan-command-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .work-plan-command-actions .work-plan-action {
      background: rgba(255,255,255,.88);
      border: 1px solid rgba(8,145,178,.18);
      box-shadow: none;
    }
    .work-plan-card-status {
      display: inline-flex;
      min-height: 30px;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      color: var(--ops-sem-pending);
      background: rgba(234,88,12,.10);
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }
    .work-plan-card-status.done {
      color: var(--ops-sem-checkin);
      background: rgba(22,163,74,.10);
    }
    .work-plan-card-status.todo {
      color: var(--ops-sem-danger);
      background: rgba(220,38,38,.10);
    }
    .work-plan-card-meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }
    .work-plan-card-meta-row span {
      padding: 5px 7px;
      border-radius: 999px;
      color: #475467;
      background: #F8FAFC;
      font-size: 10.5px;
      line-height: 1.1;
      font-weight: 760;
    }
    .work-plan-empty-create {
      display: grid;
      gap: 10px;
    }
    .work-plan-empty-create .btn {
      width: min(240px, 100%);
      margin: 0 auto;
    }
    .me-group-stack {
      display: grid;
      gap: 12px;
    }
    .me-group-stack .me-panel {
      margin-top: 0;
      border-radius: 24px;
    }
    .me-panel-account,
    .me-panel-permissions,
    .me-panel-absence,
    .me-panel-version,
    .me-panel-network {
      border-left: 4px solid var(--ops-sem-task);
    }
    .me-panel-permissions { border-left-color: var(--ops-sem-meeting); }
    .me-panel-absence { border-left-color: var(--ops-sem-checkin); }
    .me-panel-version { border-left-color: var(--ops-sem-plan); }
    .me-panel-network { border-left-color: var(--ops-sem-pending); }
    .me-panel-row {
      min-height: 48px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 9px 0;
      border-top: 1px solid rgba(15,23,42,.06);
    }
    .me-panel-row:first-of-type {
      border-top: 0;
      padding-top: 0;
    }
    .me-panel-row:last-child {
      padding-bottom: 0;
    }
    .me-panel-row span {
      color: #64748B;
      font-size: 11px;
      line-height: 1.25;
      font-weight: 780;
    }
    .me-panel-row b {
      color: #172033;
      font-size: 13px;
      line-height: 1.28;
      font-weight: 900;
      text-align: right;
      overflow-wrap: anywhere;
    }
    .me-logout-panel {
      width: 100%;
      min-height: 54px;
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 12px;
      border-radius: 22px;
      color: var(--ops-sem-danger);
      text-align: left;
      background: rgba(254,242,242,.92);
      border-color: rgba(220,38,38,.18);
    }
    .me-logout-panel b {
      display: block;
      color: #991B1B;
      font-size: 14px;
      line-height: 1.2;
    }
    .me-logout-panel span {
      display: block;
      margin-top: 4px;
      color: #B42318;
      font-size: 11px;
      line-height: 1.3;
    }
    @media (max-width: 360px) {
      .home-ops-status-strip,
      .home-core-metric-row,
      .tools-entry-dashboard {
        grid-template-columns: 1fr;
      }
      .tools-feature-card.home-feature-card {
        grid-template-columns: 1fr;
      }
      .tools-feature-card .home-feature-icon {
        width: 36px;
        height: 36px;
      }
    }
    @media (min-width: 700px) {
      .home-core-stack,
      .ops-dashboard-analysis-grid,
      .me-group-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .home-core-panel[data-home-core-panel="tasks"] {
        grid-column: span 2;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .home-core-panel,
      .tools-feature-card,
      .me-logout-panel {
        transition: none !important;
      }
    }
    html.hq-shell,
    html.hq-shell body {
      --app-black: #F8F5ED;
      --app-ink: #E9E3D6;
      --app-bg: #08090B;
      --app-surface: rgba(24,25,29,.92);
      --app-surface-soft: rgba(32,33,38,.88);
      --brand: #38BDF8;
      --brand-strong: #7DD3FC;
      --brand-soft: rgba(56,189,248,.12);
      --brand-line: rgba(125,211,252,.32);
      --data-query-page-bg: #08090B;
      --data-query-card-bg: rgba(24,25,29,.88);
      --data-query-control-bg: rgba(245,240,232,.075);
      --data-query-control-bg-active: rgba(56,189,248,.14);
      --data-query-border: rgba(125,211,252,.32);
      --data-query-shadow: 0 10px 26px rgba(2,6,23,.24);
      --data-query-icon: var(--brand-strong);
      --data-query-label: rgba(245,240,232,.62);
      --data-query-value: var(--app-black);
      --ios-surface: rgba(24,25,29,.78);
      --ios-surface-strong: rgba(30,31,36,.94);
      --ios-border: rgba(248,245,237,.09);
      --ios-border-light: rgba(248,245,237,.07);
      --card: rgba(24,25,29,.82);
      --ink: var(--app-ink);
      --muted: rgba(248,245,237,.64);
      --muted-soft: rgba(248,245,237,.46);
      --line: rgba(248,245,237,.08);
      --shadow: 0 20px 44px rgba(2,6,23,.34);
      --soft-shadow: 0 12px 30px rgba(2,6,23,.28);
      --micro-shadow: 0 6px 18px rgba(2,6,23,.22);
      background: var(--app-bg);
    }
    html.hq-shell body {
      background:
        radial-gradient(circle at 16% -4%, rgba(56,189,248,.12), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(248,245,237,.06), transparent 28%),
        linear-gradient(180deg, #050608 0%, #08090B 54%, #101114 100%);
    }
    html.hq-shell .hero,
    html.hq-shell .home-hero,
    html.hq-shell .bottom-nav,
    html.hq-shell .card,
    html.hq-shell .record,
    html.hq-shell .data-query-card,
    html.hq-shell .data-board-panel,
    html.hq-shell .task-board,
    html.hq-shell .account-permission-block,
    html.hq-shell .employee-area-block,
    html.hq-shell .me-panel,
    html.hq-shell .me-summary-item,
    html.hq-shell .me-list,
    html.hq-shell .home-feature-category,
    html.hq-shell .field-board,
    html.hq-shell .work-plan-card,
    html.hq-shell .hand-work-board {
      color: var(--ink);
      background: var(--card);
      box-shadow: inset 0 0 0 1px var(--line), var(--soft-shadow);
    }
    html.hq-shell .data-square-card,
    html.hq-shell .data-square-card:nth-child(4n + 1),
    html.hq-shell .data-square-card:nth-child(4n + 2),
    html.hq-shell .data-square-card:nth-child(4n + 3),
    html.hq-shell .data-square-card:nth-child(4n),
    html.hq-shell .home-feature-card,
    html.hq-shell .home-feature-card:nth-child(4n + 1),
    html.hq-shell .home-feature-card:nth-child(4n + 2),
    html.hq-shell .home-feature-card:nth-child(4n + 3),
    html.hq-shell .home-feature-card:nth-child(4n),
    html.hq-shell .metric-square,
    html.hq-shell .metric-square:nth-child(4n + 1),
    html.hq-shell .metric-square:nth-child(4n + 2),
    html.hq-shell .metric-square:nth-child(4n + 3),
    html.hq-shell .metric-square:nth-child(4n) {
      color: var(--ink);
      background: rgba(30,31,36,.86);
      box-shadow: inset 0 0 0 1px var(--line), var(--micro-shadow);
    }
    html.hq-shell .data-square-card h3,
    html.hq-shell .home-feature-card h3,
    html.hq-shell .metric-square b,
    html.hq-shell .data-card-copy h3,
    html.hq-shell .home-feature-copy h3,
    html.hq-shell .me-hero h2,
    html.hq-shell .me-panel-title,
    html.hq-shell .me-summary-item b,
    html.hq-shell .me-list-button b,
    html.hq-shell .me-service span,
    html.hq-shell .task-board-title,
    html.hq-shell .home-category-title,
    html.hq-shell .work-plan-card h3 {
      color: var(--app-black);
    }
    html.hq-shell .data-card-copy p,
    html.hq-shell .home-feature-copy p,
    html.hq-shell .me-hero p,
    html.hq-shell .me-summary-item span,
    html.hq-shell .me-list-button span,
    html.hq-shell .record-meta,
    html.hq-shell .task-meta {
      color: var(--muted);
    }
    html.hq-shell .home-feature-icon,
    html.hq-shell .data-square-card .icon,
    html.hq-shell .me-service-icon,
    html.hq-shell .icon,
    html.hq-shell .me-avatar {
      color: var(--brand-strong);
      background: var(--brand-soft);
      box-shadow: none;
    }
    html.hq-shell .bottom-nav {
      background: rgba(24,25,29,.82);
    }
    html.hq-shell .nav-btn {
      color: rgba(248,245,237,.56);
    }
    html.hq-shell .nav-btn.active {
      color: var(--brand-strong);
      background: var(--brand-soft);
    }
    html.hq-shell input,
    html.hq-shell select,
    html.hq-shell textarea {
      color: var(--ink);
      background: rgba(12,13,16,.82);
      box-shadow: inset 0 0 0 1px var(--line);
    }
    html.hq-shell .empty,
    html.hq-shell .task-empty {
      color: var(--muted);
      background: rgba(248,245,237,.055);
      box-shadow: inset 0 0 0 1px rgba(248,245,237,.075);
    }
    /* hq-slate-executive-v3: intermediate HQ-only business theme with navy/silver/cyan. */
    html.hq-shell {
      --hq-bg: #0F172A;
      --hq-bg-secondary: #111827;
      --hq-bg-elevated: #172033;
      --hq-surface: #1E293B;
      --hq-surface-quiet: #1E293B;
      --hq-surface-pressed: #243044;
      --hq-surface-float: #273449;
      --hq-line: rgba(148,163,184,.22);
      --hq-accent-line: rgba(125,211,252,.32);
      --hq-text-primary: #F8FAFC;
      --hq-text-secondary: #CBD5E1;
      --hq-text-muted: #94A3B8;
      --hq-text-faint: #64748B;
      --hq-accent: #38BDF8;
      --hq-accent-strong: #7DD3FC;
      --hq-accent-soft: rgba(56,189,248,.12);
      --hq-accent-alt: #A5B4FC;
      --hq-danger: #F87171;
      --hq-warning: #FBBF24;
      --hq-success: #34D399;
      --data-query-card-bg: #1E293B;
      --data-query-control-bg: #172033;
      --data-query-control-bg-active: #243044;
      --data-query-border: var(--hq-line);
      --data-query-shadow: none;
      --data-query-icon: var(--hq-accent-strong);
      --data-query-label: var(--hq-text-muted);
      --data-query-value: var(--hq-text-primary);
      color-scheme: dark;
    }
    html.hq-shell body,
    html.hq-shell .app,
    html.hq-shell main {
      background: linear-gradient(180deg, #0F172A 0%, #111827 100%) !important;
      color: var(--hq-text-secondary) !important;
    }
    html.hq-shell .card,
    html.hq-shell .hero,
    html.hq-shell .task-board,
    html.hq-shell .data-board-panel,
    html.hq-shell .data-query-card,
    html.hq-shell .data-square-card,
    html.hq-shell .metric,
    html.hq-shell .metric-square,
    html.hq-shell .record,
    html.hq-shell .empty,
    html.hq-shell .task-empty,
    html.hq-shell .meeting-item-card,
    html.hq-shell .me-panel,
    html.hq-shell .me-list,
    html.hq-shell .me-list-button,
    html.hq-shell .me-summary-item,
    html.hq-shell .update-version-card,
    html.hq-shell .update-download-fallback,
    html.hq-shell .config-compact-row,
    html.hq-shell .account-permission-block,
    html.hq-shell .search-box,
    html.hq-shell .date-picker-control {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface-quiet) !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .hero,
    html.hq-shell .home-hero,
    html.hq-shell .data-hub-hero {
      background:
        radial-gradient(circle at 88% 8%, rgba(56,189,248,.16), transparent 34%),
        linear-gradient(145deg, #243044, #111827) !important;
    }
    html.hq-shell h1,
    html.hq-shell h2,
    html.hq-shell h3,
    html.hq-shell h4,
    html.hq-shell b,
    html.hq-shell strong,
    html.hq-shell .record-head span:first-child,
    html.hq-shell .task-board-title,
    html.hq-shell .data-card-copy h3,
    html.hq-shell .metric b,
    html.hq-shell .date-picker-value {
      color: var(--hq-text-primary) !important;
    }
    html.hq-shell p,
    html.hq-shell .sub,
    html.hq-shell .record-meta,
    html.hq-shell .task-board-sub,
    html.hq-shell .data-card-copy p,
    html.hq-shell .metric span,
    html.hq-shell .section-title,
    html.hq-shell label {
      color: var(--hq-text-muted) !important;
    }
    html.hq-shell .btn,
    html.hq-shell button.btn {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
      border-color: rgba(125,211,252,.42) !important;
      box-shadow: none !important;
    }
    html.hq-shell .btn.secondary,
    html.hq-shell .btn.ghost,
    html.hq-shell .pill,
    html.hq-shell .chip,
    html.hq-shell .tab,
    html.hq-shell .check-pill,
    html.hq-shell .picker-chip,
    html.hq-shell .work-plan-mini-btn {
      color: var(--hq-text-primary) !important;
      background: #1E293B !important;
      border: 1px solid var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .tab.active,
    html.hq-shell .chip.active,
    html.hq-shell .picker-chip.active,
    html.hq-shell .check-pill.active {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
      border-color: rgba(125,211,252,.52) !important;
      box-shadow: none !important;
    }
    html.hq-shell input,
    html.hq-shell select,
    html.hq-shell textarea,
    html.hq-shell .date-picker-control {
      color: var(--hq-text-primary) !important;
      background: #172033 !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
      -webkit-text-fill-color: var(--hq-text-primary);
    }
    html.hq-shell .bottom-nav {
      background: rgba(15,23,42,.98) !important;
      border: 1px solid var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px rgba(125,211,252,.06), 0 10px 24px rgba(2,6,23,.38) !important;
    }
    html.hq-shell .nav-btn {
      color: var(--hq-text-muted) !important;
    }
    html.hq-shell .nav-btn.active {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
    }
    html.hq-shell .hq-range-card {
      margin-top: 10px !important;
      padding: 10px 12px !important;
      border-radius: 18px !important;
      background: #1E293B !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .hq-scope-compact {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
    }
    html.hq-shell .hq-scope-main {
      min-width: 0;
      display: grid;
      gap: 3px;
    }
    html.hq-shell .hq-scope-eyebrow {
      color: var(--hq-accent-strong) !important;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0;
    }
    html.hq-shell .hq-scope-title,
    html.hq-shell .hq-store-sheet-name {
      color: var(--hq-text-primary) !important;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: 900;
    }
    html.hq-shell .hq-scope-title {
      font-size: 15px;
    }
    html.hq-shell .hq-scope-sub,
    html.hq-shell .hq-store-sheet-meta {
      color: var(--hq-text-muted) !important;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 12px;
      line-height: 1.35;
    }
    html.hq-shell .hq-scope-change {
      min-height: 36px;
      padding: 7px 12px;
      border-radius: 999px;
      white-space: nowrap;
    }
    html.hq-shell .hq-store-sheet-list {
      display: grid;
      gap: 10px;
    }
    html.hq-shell .hq-store-sheet-row {
      width: 100%;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      min-height: 64px;
      padding: 12px;
      border-radius: 18px;
      text-align: left;
      color: var(--hq-text-secondary) !important;
      background: #1E293B !important;
      border: 1px solid var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px rgba(148,163,184,.08) !important;
    }
    html.hq-shell .hq-store-sheet-row.active {
      background: #243044 !important;
      border-color: var(--hq-accent-line) !important;
    }
    html.hq-shell .hq-store-sheet-row:active {
      transform: scale(.985);
      filter: brightness(1.08);
    }
    html.hq-shell .hq-store-sheet-check {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: inline-grid;
      place-items: center;
      color: #0F172A !important;
      background: var(--hq-accent);
      opacity: 0;
    }
    html.hq-shell .hq-store-sheet-row.active .hq-store-sheet-check {
      opacity: 1;
    }
    html.hq-shell .status {
      color: var(--hq-accent-strong) !important;
      background: rgba(56,189,248,.12) !important;
      box-shadow: inset 0 0 0 1px var(--hq-accent-line) !important;
    }
    html.hq-shell .status.todo {
      color: var(--hq-warning) !important;
      background: rgba(251,191,36,.12) !important;
      box-shadow: inset 0 0 0 1px rgba(251,191,36,.24) !important;
    }
    html.hq-shell .status.done {
      color: var(--hq-success) !important;
      background: rgba(52,211,153,.12) !important;
      box-shadow: inset 0 0 0 1px rgba(52,211,153,.22) !important;
    }
    html.hq-shell .sheet,
    html.hq-shell .sheet--webview-stable,
    html.hq-shell .update-prompt-sheet {
      color: var(--hq-text-secondary) !important;
      background: linear-gradient(180deg, #182235 0%, #111827 100%) !important;
      border: 1px solid var(--hq-accent-line) !important;
      box-shadow: 0 -14px 28px rgba(2,6,23,.34) !important;
    }
    html.hq-shell .sheet-head,
    html.hq-shell .sheet--webview-stable .sheet-head {
      background: rgba(24,34,53,.98) !important;
      color: var(--hq-text-primary) !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 -1px 0 var(--hq-line) !important;
    }
    /* hq-slate-executive-v4: final mobile WebView pass. Keep every HQ surface navy/silver and cheap to paint. */
    html.hq-shell {
      --hq-bg: #0F172A;
      --hq-bg-secondary: #111827;
      --hq-bg-elevated: #172033;
      --hq-surface: #1E293B;
      --hq-surface-soft: #243044;
      --hq-surface-float: #182235;
      --hq-line: rgba(148,163,184,.22);
      --hq-line-strong: rgba(125,211,252,.32);
      --hq-text-primary: #F8FAFC;
      --hq-text-secondary: #CBD5E1;
      --hq-text-muted: #94A3B8;
      --hq-text-faint: #64748B;
      --hq-accent: #38BDF8;
      --hq-accent-strong: #7DD3FC;
      --hq-accent-soft: rgba(56,189,248,.12);
      --hq-accent-alt: #A5B4FC;
      --hq-danger: #F87171;
      --hq-warning: #FBBF24;
      --hq-success: #34D399;
      --app-black: var(--hq-text-primary);
      --app-ink: var(--hq-text-secondary);
      --app-bg: var(--hq-bg);
      --app-surface: var(--hq-surface);
      --brand: var(--hq-accent);
      --brand-strong: var(--hq-accent-strong);
      --brand-soft: var(--hq-accent-soft);
      --brand-line: var(--hq-line-strong);
      --card: var(--hq-surface);
      --ink: var(--hq-text-secondary);
      --muted: var(--hq-text-muted);
      --muted-soft: var(--hq-text-faint);
      --line: var(--hq-line);
      --shadow: none;
      --soft-shadow: none;
      --micro-shadow: none;
      --data-query-card-bg: var(--hq-surface);
      --data-query-control-bg: var(--hq-bg-elevated);
      --data-query-control-bg-active: var(--hq-surface-soft);
      --data-query-border: var(--hq-line);
      --data-query-shadow: none;
      --data-query-icon: var(--hq-accent-strong);
      --data-query-label: var(--hq-text-muted);
      --data-query-value: var(--hq-text-primary);
      color-scheme: dark;
    }
    html.hq-shell body,
    html.hq-shell .app,
    html.hq-shell main {
      color: var(--hq-text-secondary) !important;
      background: linear-gradient(180deg, var(--hq-bg) 0%, var(--hq-bg-secondary) 100%) !important;
    }
    html.hq-shell .app {
      width: min(430px, 100vw);
      padding: 14px 14px calc(116px + env(safe-area-inset-bottom)) !important;
    }
    html.hq-shell button,
    html.hq-shell .record,
    html.hq-shell .card,
    html.hq-shell .picker-chip,
    html.hq-shell .chip,
    html.hq-shell .tab,
    html.hq-shell .date-picker-control {
      transition: transform .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease, opacity .12s ease !important;
    }
    html.hq-shell .card,
    html.hq-shell .record,
    html.hq-shell .data-board-panel,
    html.hq-shell .data-query-card,
    html.hq-shell .task-board,
    html.hq-shell .task-card,
    html.hq-shell .task-ack-list,
    html.hq-shell .field-board,
    html.hq-shell .field-message-card,
    html.hq-shell .home-feature-category,
    html.hq-shell .data-group,
    html.hq-shell .data-square-card,
    html.hq-shell .home-feature-card,
    html.hq-shell .metric,
    html.hq-shell .metric-square,
    html.hq-shell .data-mini-metric,
    html.hq-shell .me-panel,
    html.hq-shell .me-list,
    html.hq-shell .me-list-button,
    html.hq-shell .me-summary-item,
    html.hq-shell .update-version-card,
    html.hq-shell .update-download-fallback,
    html.hq-shell .config-compact-row,
    html.hq-shell .assignment-compact-area,
    html.hq-shell .meeting-item-card,
    html.hq-shell .meeting-type-card,
    html.hq-shell .account-permission-block,
    html.hq-shell .employee-area-block,
    html.hq-shell .empty,
    html.hq-shell .task-empty {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface) !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .hero,
    html.hq-shell .home-hero,
    html.hq-shell .data-hub-hero,
    html.hq-shell .me-hero {
      color: var(--hq-text-primary) !important;
      background:
        radial-gradient(circle at 88% 8%, rgba(56,189,248,.14), transparent 32%),
        linear-gradient(145deg, var(--hq-surface-soft), var(--hq-bg-secondary)) !important;
      border-color: var(--hq-line-strong) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line-strong) !important;
    }
    html.hq-shell .home-hero::before,
    html.hq-shell .home-hero::after,
    html.hq-shell .data-hub-hero::before,
    html.hq-shell .data-hub-hero::after {
      opacity: 0 !important;
    }
    html.hq-shell h1,
    html.hq-shell h2,
    html.hq-shell h3,
    html.hq-shell h4,
    html.hq-shell b,
    html.hq-shell strong,
    html.hq-shell .record-head span:first-child,
    html.hq-shell .task-board-title,
    html.hq-shell .task-card h3,
    html.hq-shell .field-message-card b,
    html.hq-shell .data-card-copy h3,
    html.hq-shell .home-feature-copy h3,
    html.hq-shell .metric b,
    html.hq-shell .data-mini-metric b,
    html.hq-shell .store-title,
    html.hq-shell .date-picker-value {
      color: var(--hq-text-primary) !important;
      text-shadow: none !important;
    }
    html.hq-shell p,
    html.hq-shell label,
    html.hq-shell .sub,
    html.hq-shell .record-meta,
    html.hq-shell .task-board-sub,
    html.hq-shell .task-meta,
    html.hq-shell .task-card p,
    html.hq-shell .field-message-card span,
    html.hq-shell .data-card-copy p,
    html.hq-shell .home-feature-copy p,
    html.hq-shell .metric span,
    html.hq-shell .data-mini-metric span,
    html.hq-shell .section-title {
      color: var(--hq-text-muted) !important;
    }
    html.hq-shell .btn,
    html.hq-shell button.btn {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
      border: 1px solid var(--hq-line-strong) !important;
      box-shadow: none !important;
      filter: none !important;
    }
    html.hq-shell .btn.secondary,
    html.hq-shell .btn.ghost,
    html.hq-shell .pill,
    html.hq-shell .chip,
    html.hq-shell .tab,
    html.hq-shell .check-pill,
    html.hq-shell .picker-chip,
    html.hq-shell .employee-index-chip,
    html.hq-shell .task-end-btn,
    html.hq-shell .sheet-back,
    html.hq-shell .work-plan-mini-btn {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-bg-elevated) !important;
      border: 1px solid var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px rgba(148,163,184,.08) !important;
      filter: none !important;
    }
    html.hq-shell .tab.active,
    html.hq-shell .chip.active,
    html.hq-shell .picker-chip.active,
    html.hq-shell .check-pill.active,
    html.hq-shell .employee-index-chip.active {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
      border-color: var(--hq-line-strong) !important;
      box-shadow: none !important;
    }
    html.hq-shell .icon,
    html.hq-shell .data-square-card .icon,
    html.hq-shell .home-feature-icon,
    html.hq-shell .me-service-icon,
    html.hq-shell .me-avatar,
    html.hq-shell .date-picker-icon {
      color: var(--hq-accent-strong) !important;
      background: var(--hq-accent-soft) !important;
      border: 1px solid var(--hq-line-strong) !important;
      box-shadow: none !important;
    }
    html.hq-shell input,
    html.hq-shell select,
    html.hq-shell textarea,
    html.hq-shell .date-picker-control {
      color: var(--hq-text-primary) !important;
      background: var(--hq-bg-elevated) !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
      -webkit-text-fill-color: var(--hq-text-primary);
    }
    html.hq-shell input::placeholder,
    html.hq-shell textarea::placeholder {
      color: var(--hq-text-faint) !important;
      -webkit-text-fill-color: var(--hq-text-faint);
    }
    html.hq-shell .sheet-mask {
      background: rgba(2,6,23,.62) !important;
    }
    html.hq-shell .sheet,
    html.hq-shell .sheet--webview-stable,
    html.hq-shell .update-prompt-sheet {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface-float) !important;
      border: 1px solid var(--hq-line-strong) !important;
      box-shadow: 0 -12px 24px rgba(2,6,23,.36) !important;
    }
    html.hq-shell .sheet-head,
    html.hq-shell .sheet--webview-stable .sheet-head,
    html.hq-shell .search-box,
    html.hq-shell .manager-toolbar {
      color: var(--hq-text-primary) !important;
      background: var(--hq-surface-float) !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 -1px 0 var(--hq-line) !important;
    }
    html.hq-shell .sheet-body {
      background: transparent !important;
    }
    html.hq-shell .close {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
      box-shadow: none !important;
    }
    html.hq-shell .bottom-nav {
      bottom: calc(10px + env(safe-area-inset-bottom)) !important;
      width: min(402px, calc(100% - 20px)) !important;
      height: 72px !important;
      min-height: 72px !important;
      padding: 7px !important;
      color: var(--hq-text-muted) !important;
      background: rgba(15,23,42,.98) !important;
      border: 1px solid var(--hq-line) !important;
      box-shadow: 0 10px 22px rgba(2,6,23,.32) !important;
    }
    html.hq-shell .nav-btn {
      height: 58px !important;
      color: var(--hq-text-muted) !important;
      border-radius: 21px !important;
    }
    html.hq-shell .nav-btn.active {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
      box-shadow: none !important;
    }
    html.hq-shell .topbar {
      margin-bottom: 10px !important;
      padding: 8px !important;
      background: var(--hq-bg-secondary) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .sticky-page-return {
      background: linear-gradient(180deg, rgba(15,23,42,.98) 0%, rgba(15,23,42,.88) 72%, rgba(15,23,42,0) 100%) !important;
    }
    html.hq-shell .hq-home-hero {
      min-height: 128px !important;
      gap: 10px !important;
    }
    html.hq-shell .hq-dashboard-grid {
      gap: 8px !important;
      margin: 10px 0 16px !important;
    }
    html.hq-shell .hq-metric-card,
    html.hq-shell .metric-square {
      min-height: 78px !important;
      border-radius: 18px !important;
      padding: 11px !important;
    }
    html.hq-shell .data-square-grid,
    html.hq-shell .data-capsule-grid {
      gap: 8px !important;
    }
    html.hq-shell .data-square-card,
    html.hq-shell .home-feature-card {
      min-height: 64px !important;
      border-radius: 18px !important;
      padding: 9px !important;
      grid-template-columns: 34px minmax(0, 1fr) !important;
    }
    html.hq-shell .data-square-card .icon,
    html.hq-shell .home-feature-icon {
      width: 34px !important;
      height: 34px !important;
      border-radius: 14px !important;
    }
    html.hq-shell .hq-range-card {
      margin: 8px 0 10px !important;
      padding: 9px 10px !important;
      border-radius: 18px !important;
      background: var(--hq-surface) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .hq-scope-compact {
      gap: 8px !important;
    }
    html.hq-shell .hq-scope-change {
      min-height: 34px !important;
      padding: 6px 11px !important;
    }
    html.hq-shell .hq-store-sheet-row {
      min-height: 58px !important;
      padding: 10px 11px !important;
      background: var(--hq-surface) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .hq-store-sheet-row.active {
      background: var(--hq-surface-soft) !important;
      border-color: var(--hq-line-strong) !important;
    }
    html.hq-shell .data-query-card {
      padding: 10px !important;
      border-radius: 18px !important;
    }
    html.hq-shell .data-query-tabs {
      gap: 6px !important;
      margin-top: 8px !important;
    }
    html.hq-shell .data-query-tabs .tab {
      min-height: 34px !important;
      padding: 7px 10px !important;
    }
    html.hq-shell .single-day-switch {
      display: grid !important;
      grid-template-columns: minmax(68px, .56fr) minmax(118px, 1fr) minmax(68px, .56fr) !important;
      align-items: center !important;
      gap: 6px !important;
      width: 100% !important;
    }
    html.hq-shell .single-day-switch .date-picker-control {
      min-width: 0 !important;
      min-height: 44px !important;
      grid-template-columns: minmax(0, 1fr) !important;
      padding: 7px 8px !important;
      border-radius: 16px !important;
    }
    html.hq-shell .single-day-switch .date-picker-icon,
    html.hq-shell .single-day-switch .date-picker-chevron {
      display: none !important;
    }
    html.hq-shell .single-day-switch .date-picker-value {
      font-size: 14px !important;
      line-height: 1.15 !important;
    }
    html.hq-shell .single-day-shift {
      width: 100% !important;
      min-width: 0 !important;
      min-height: 44px !important;
      padding: 0 6px !important;
      border-radius: 16px !important;
      color: var(--hq-text-secondary) !important;
      background: var(--hq-bg-elevated) !important;
      border: 1px solid var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px rgba(148,163,184,.08) !important;
      font-size: 12px !important;
      font-weight: 850 !important;
    }
    html.hq-shell .data-metric-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 8px !important;
    }
    html.hq-shell .data-mini-metric {
      min-height: 58px !important;
      border-radius: 16px !important;
      padding: 9px !important;
    }
    html.hq-shell #page-data > .topbar + button.pill {
      display: none !important;
    }
    html.hq-shell .task-board {
      margin-top: 10px !important;
      padding: 11px !important;
      border-radius: 20px !important;
    }
    html.hq-shell .task-board-list {
      max-height: 188px !important;
      gap: 7px !important;
    }
    html.hq-shell .task-card {
      min-height: 58px !important;
      border-radius: 16px !important;
      padding: 8px 9px !important;
    }
    html.hq-shell .task-target,
    html.hq-shell .task-confirm.acknowledged {
      color: #052E2B !important;
      background: var(--hq-success) !important;
    }
    html.hq-shell .task-confirm:disabled {
      color: var(--hq-text-faint) !important;
      background: var(--hq-bg-elevated) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
    }
    html.hq-shell .status.closed {
      color: var(--hq-text-faint) !important;
      background: rgba(100,116,139,.16) !important;
      box-shadow: inset 0 0 0 1px rgba(100,116,139,.20) !important;
    }
    html.hq-shell .loader {
      border-color: rgba(148,163,184,.28) !important;
      border-top-color: var(--hq-accent) !important;
    }
    html.hq-shell .bar {
      background: var(--hq-bg-elevated) !important;
    }
    html.hq-shell .bar i {
      background: linear-gradient(90deg, var(--hq-accent), var(--hq-accent-alt)) !important;
    }
    @media (max-width: 430px) {
      html.hq-shell .single-day-switch {
        grid-template-columns: minmax(66px, .56fr) minmax(112px, 1fr) minmax(66px, .56fr) !important;
      }
      html.hq-shell .single-day-shift {
        font-size: 11.5px !important;
      }
      html.hq-shell .single-day-switch .date-picker-value {
        font-size: 13.5px !important;
      }
    }
    /* hq-slate-executive-v5: HQ-only final surface lock for phone WebView. */
    html.hq-shell,
    html.hq-shell body {
      --hq-bg: #0F172A;
      --hq-bg-secondary: #111827;
      --hq-bg-elevated: #172033;
      --hq-surface: #1E293B;
      --hq-surface-soft: #243044;
      --hq-surface-float: #182235;
      --hq-line: rgba(148,163,184,.22);
      --hq-line-strong: rgba(125,211,252,.32);
      --hq-text-primary: #F8FAFC;
      --hq-text-secondary: #CBD5E1;
      --hq-text-muted: #94A3B8;
      --hq-text-faint: #64748B;
      --hq-accent: #38BDF8;
      --hq-accent-strong: #7DD3FC;
      --hq-accent-soft: rgba(56,189,248,.12);
      --hq-accent-alt: #A5B4FC;
      --hq-danger: #F87171;
      --hq-warning: #FBBF24;
      --hq-success: #34D399;
      --app-black: var(--hq-text-primary);
      --app-ink: var(--hq-text-secondary);
      --app-bg: var(--hq-bg);
      --app-surface: var(--hq-surface);
      --app-surface-soft: var(--hq-surface-soft);
      --brand: var(--hq-accent);
      --brand-strong: var(--hq-accent-strong);
      --brand-soft: var(--hq-accent-soft);
      --brand-line: var(--hq-line-strong);
      --ios-surface: var(--hq-surface);
      --ios-surface-strong: var(--hq-surface-soft);
      --ios-border: var(--hq-line);
      --ios-border-light: var(--hq-line);
      --card: var(--hq-surface);
      --ink: var(--hq-text-secondary);
      --muted: var(--hq-text-muted);
      --muted-soft: var(--hq-text-faint);
      --line: var(--hq-line);
      --shadow: none;
      --soft-shadow: none;
      --micro-shadow: none;
      background: var(--hq-bg) !important;
      color: var(--hq-text-secondary) !important;
      color-scheme: dark;
    }
    html.hq-shell body,
    html.hq-shell .app,
    html.hq-shell main,
    html.hq-shell .login-wrap,
    html.hq-shell .auth-gate {
      background: linear-gradient(180deg, var(--hq-bg) 0%, var(--hq-bg-secondary) 100%) !important;
      color: var(--hq-text-secondary) !important;
    }
    html.hq-shell .app {
      padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
      contain: layout style;
    }
    html.hq-shell .login-card,
    html.hq-shell .auth-card,
    html.hq-shell .card,
    html.hq-shell .hero,
    html.hq-shell .home-hero,
    html.hq-shell .me-hero,
    html.hq-shell .record,
    html.hq-shell .list,
    html.hq-shell .data-group,
    html.hq-shell .data-board-panel,
    html.hq-shell .data-query-card,
    html.hq-shell .data-square-card,
    html.hq-shell .home-feature-card,
    html.hq-shell .metric,
    html.hq-shell .metric-square,
    html.hq-shell .data-mini-metric,
    html.hq-shell .task-board,
    html.hq-shell .task-card,
    html.hq-shell .task-empty,
    html.hq-shell .field-board,
    html.hq-shell .field-message-card,
    html.hq-shell .me-panel,
    html.hq-shell .me-list,
    html.hq-shell .me-list-button,
    html.hq-shell .me-summary-item,
    html.hq-shell .meeting-item-card,
    html.hq-shell .meeting-type-card,
    html.hq-shell .assignment-compact-area,
    html.hq-shell .assignment-detail-row,
    html.hq-shell .config-compact-row,
    html.hq-shell .employee-area-block,
    html.hq-shell .account-permission-block,
    html.hq-shell .profile-card,
    html.hq-shell .hand-work-board,
    html.hq-shell .hand-work-compact-row,
    html.hq-shell .hand-work-item,
    html.hq-shell .hand-work-person,
    html.hq-shell .work-plan-card,
    html.hq-shell .work-plan-summary,
    html.hq-shell .work-plan-compact-item,
    html.hq-shell .update-version-card,
    html.hq-shell .update-download-fallback,
    html.hq-shell .empty,
    html.hq-shell .search-box,
    html.hq-shell .manager-toolbar {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface) !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
      text-shadow: none !important;
      filter: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }
    html.hq-shell .hero,
    html.hq-shell .home-hero,
    html.hq-shell .data-hub-hero,
    html.hq-shell .me-hero {
      background:
        radial-gradient(circle at 88% 8%, rgba(56,189,248,.13), transparent 30%),
        linear-gradient(145deg, var(--hq-surface-soft), var(--hq-bg-secondary)) !important;
      border-color: var(--hq-line-strong) !important;
    }
    html.hq-shell .sheet-mask {
      background: rgba(2,6,23,.66) !important;
    }
    html.hq-shell .sheet,
    html.hq-shell .sheet--webview-stable,
    html.hq-shell .update-prompt-sheet,
    html.hq-shell .publish-card {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface-float) !important;
      border-color: var(--hq-line-strong) !important;
      box-shadow: 0 -10px 20px rgba(2,6,23,.34) !important;
      filter: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }
    html.hq-shell .sheet-head,
    html.hq-shell .sheet-body,
    html.hq-shell .sheet--webview-stable .sheet-head,
    html.hq-shell .sheet--webview-stable .sheet-body,
    html.hq-shell .update-prompt-sheet .sheet-head,
    html.hq-shell .update-prompt-sheet .sheet-body {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface-float) !important;
      border-color: var(--hq-line) !important;
      box-shadow: none !important;
    }
    html.hq-shell h1,
    html.hq-shell h2,
    html.hq-shell h3,
    html.hq-shell h4,
    html.hq-shell b,
    html.hq-shell strong,
    html.hq-shell .store-title,
    html.hq-shell .task-board-title,
    html.hq-shell .record-head span:first-child,
    html.hq-shell .data-card-copy h3,
    html.hq-shell .home-feature-copy h3,
    html.hq-shell .me-panel-title,
    html.hq-shell .me-list-button b,
    html.hq-shell .me-summary-item b,
    html.hq-shell .date-picker-value {
      color: var(--hq-text-primary) !important;
      text-shadow: none !important;
    }
    html.hq-shell p,
    html.hq-shell label,
    html.hq-shell .sub,
    html.hq-shell .record-meta,
    html.hq-shell .task-meta,
    html.hq-shell .task-board-sub,
    html.hq-shell .section-title,
    html.hq-shell .data-card-copy p,
    html.hq-shell .home-feature-copy p,
    html.hq-shell .metric span,
    html.hq-shell .data-mini-metric span,
    html.hq-shell .me-list-button span,
    html.hq-shell .me-summary-item span {
      color: var(--hq-text-muted) !important;
    }
    html.hq-shell input,
    html.hq-shell select,
    html.hq-shell textarea,
    html.hq-shell .date-picker-control {
      color: var(--hq-text-primary) !important;
      background: var(--hq-bg-elevated) !important;
      border-color: var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line) !important;
      -webkit-text-fill-color: var(--hq-text-primary) !important;
    }
    html.hq-shell input::placeholder,
    html.hq-shell textarea::placeholder {
      color: var(--hq-text-faint) !important;
      -webkit-text-fill-color: var(--hq-text-faint) !important;
    }
    html.hq-shell .btn,
    html.hq-shell button.btn,
    html.hq-shell .close,
    html.hq-shell .nav-btn.active,
    html.hq-shell .tab.active,
    html.hq-shell .chip.active,
    html.hq-shell .picker-chip.active,
    html.hq-shell .check-pill.active,
    html.hq-shell .employee-index-chip.active {
      color: #0F172A !important;
      background: var(--hq-accent) !important;
      border-color: var(--hq-line-strong) !important;
      box-shadow: none !important;
    }
    html.hq-shell .btn.secondary,
    html.hq-shell .btn.ghost,
    html.hq-shell .pill,
    html.hq-shell .chip,
    html.hq-shell .tab,
    html.hq-shell .check-pill,
    html.hq-shell .picker-chip,
    html.hq-shell .employee-index-chip,
    html.hq-shell .single-day-shift,
    html.hq-shell .sheet-back,
    html.hq-shell .work-plan-mini-btn,
    html.hq-shell .task-end-btn {
      color: var(--hq-text-secondary) !important;
      background: var(--hq-bg-elevated) !important;
      border: 1px solid var(--hq-line) !important;
      box-shadow: inset 0 0 0 1px rgba(148,163,184,.08) !important;
      filter: none !important;
    }
    html.hq-shell .icon,
    html.hq-shell .home-feature-icon,
    html.hq-shell .data-square-card .icon,
    html.hq-shell .me-service-icon,
    html.hq-shell .me-avatar,
    html.hq-shell .date-picker-icon {
      color: var(--hq-accent-strong) !important;
      background: var(--hq-accent-soft) !important;
      border: 1px solid var(--hq-line-strong) !important;
      box-shadow: none !important;
    }
    html.hq-shell .status {
      color: var(--hq-accent-strong) !important;
      background: rgba(56,189,248,.12) !important;
      border-color: var(--hq-line-strong) !important;
      box-shadow: inset 0 0 0 1px var(--hq-line-strong) !important;
    }
    html.hq-shell .status.todo {
      color: var(--hq-warning) !important;
      background: rgba(251,191,36,.12) !important;
      box-shadow: inset 0 0 0 1px rgba(251,191,36,.24) !important;
    }
    html.hq-shell .status.done,
    html.hq-shell .task-target,
    html.hq-shell .task-confirm.acknowledged {
      color: #052E2B !important;
      background: var(--hq-success) !important;
      box-shadow: none !important;
    }
    html.hq-shell .status.closed,
    html.hq-shell button[disabled],
    html.hq-shell .task-confirm:disabled,
    html.hq-shell .single-day-shift:disabled {
      color: var(--hq-text-faint) !important;
      background: rgba(100,116,139,.16) !important;
      border-color: rgba(100,116,139,.24) !important;
      opacity: 1 !important;
    }
    html.hq-shell .bottom-nav {
      background: rgba(15,23,42,.98) !important;
      border-color: var(--hq-line) !important;
      box-shadow: 0 8px 18px rgba(2,6,23,.30) !important;
    }
    html.competitor-standalone-shell {
      width: 100%;
      max-width: 100%;
      overflow-x: clip;
      overscroll-behavior-x: none;
    }
    html.competitor-standalone-shell body {
      background: var(--competitor-report-bg);
      width: 100%;
      max-width: 100%;
      overflow-x: clip;
      overscroll-behavior-x: none;
    }
    html.competitor-standalone-shell .app {
      --competitor-standalone-nav-height: 82px;
      width: 100%;
      max-width: 100%;
      overflow-x: clip;
      padding-bottom: calc(var(--competitor-standalone-nav-height) + 18px + env(safe-area-inset-bottom));
    }
    html.competitor-standalone-shell .bottom-nav,
    html.competitor-standalone-shell .launch-splash {
      display: none !important;
    }
    .competitor-standalone-nav {
      display: none;
      position: fixed;
      left: 12px;
      right: 12px;
      bottom: max(10px, env(safe-area-inset-bottom));
      z-index: 34;
      pointer-events: auto;
      box-sizing: border-box;
      max-width: calc(100% - 24px);
      grid-template-columns: repeat(var(--competitor-standalone-nav-count, 3), minmax(0, 1fr));
      gap: 9px;
      min-height: 78px;
      padding: 7px;
      border-radius: 26px;
      background: rgba(255,255,255,.97);
      border: 1px solid var(--competitor-report-border);
      box-shadow: 0 -1px 0 rgba(255,255,255,.86), 0 14px 30px rgba(28,51,83,.12);
    }
    html.competitor-standalone-shell .competitor-standalone-nav {
      display: grid;
    }
    html.competitor-standalone-shell.competitor-standalone-sheet-open .competitor-standalone-nav {
      display: none;
    }
    html.competitor-standalone-shell:has(#sheetRoot .sheet-mask) .competitor-standalone-nav {
      display: none;
    }
    .competitor-standalone-nav-btn {
      appearance: none;
      border: 0;
      min-width: 0;
      min-height: 58px;
      border-radius: 20px;
      background: transparent;
      color: var(--competitor-report-text-muted);
      display: grid;
      place-items: center;
      justify-items: center;
      gap: 4px;
      padding: 7px 10px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0;
      touch-action: manipulation;
      transition:
        transform 140ms cubic-bezier(0.23, 1, 0.32, 1),
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        opacity 160ms ease;
    }
    .competitor-standalone-nav-btn[hidden] {
      display: none !important;
    }
    .competitor-standalone-nav-btn svg {
      width: 25px;
      height: 25px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.15;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .competitor-standalone-nav-btn.active {
      background: var(--competitor-report-blue-soft);
      color: var(--competitor-report-blue-dark);
      box-shadow: inset 0 0 0 1px #AFCBFA;
    }
    .competitor-standalone-nav-btn:active {
      transform: translateY(1px) scale(.98);
    }
    .competitor-standalone-denied-actions {
      display: grid;
      gap: 10px;
      margin-top: 12px;
    }
    .competitor-standalone-my {
      display: grid;
      gap: 12px;
    }
    .competitor-standalone-my .record {
      margin: 0;
      border-color: var(--competitor-border-strong);
      box-shadow: var(--competitor-shadow-soft);
    }
    .competitor-system-info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .competitor-system-info-grid .record-meta {
      margin-top: 2px;
      word-break: break-word;
    }
    .competitor-standalone-scope {
      margin: 0 0 12px;
      padding: 10px;
      border-radius: 24px;
      background: var(--competitor-panel-bg);
      border: 1px solid var(--competitor-border-strong);
      box-shadow: var(--competitor-shadow-soft);
    }
    .competitor-standalone-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 8px;
    }
    .competitor-standalone-tabs .chip {
      justify-content: center;
      min-height: 36px;
      border-radius: 16px;
    }
    html.hq-shell .single-day-switch {
      grid-template-columns: minmax(66px, .56fr) minmax(112px, 1fr) minmax(66px, .56fr) !important;
      gap: 6px !important;
      align-items: center !important;
    }
    html.hq-shell .single-day-switch .date-picker-control,
    html.hq-shell .single-day-shift {
      min-height: 44px !important;
      border-radius: 16px !important;
    }
    html.hq-shell .data-query-tabs {
      display: flex !important;
      gap: 6px !important;
      overflow-x: auto !important;
      padding-bottom: 2px !important;
      scrollbar-width: none;
    }
    html.hq-shell .data-query-tabs::-webkit-scrollbar,
    html.hq-shell .hq-store-strip::-webkit-scrollbar {
      display: none;
    }
    html.hq-shell .task-board-list,
    html.hq-shell .field-message-list {
      max-height: 188px !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch;
    }
    html.hq-shell .hq-range-card {
      margin: 8px 0 10px !important;
    }
    html.hq-shell .hq-store-sheet-row {
      min-height: 58px !important;
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface) !important;
      border-color: var(--hq-line) !important;
    }
    html.hq-shell .hq-store-sheet-row.active {
      background: var(--hq-surface-soft) !important;
      border-color: var(--hq-line-strong) !important;
    }
    html.hq-shell .hq-store-sheet-name,
    html.hq-shell .hq-scope-title {
      color: var(--hq-text-primary) !important;
    }
    html.hq-shell .hq-store-sheet-meta,
    html.hq-shell .hq-scope-sub {
      color: var(--hq-text-muted) !important;
    }
    html.hq-shell * {
      text-shadow: none !important;
    }
    .launch-splash {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: grid;
      place-items: center;
      overflow: hidden;
      padding: max(28px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
      background:
        radial-gradient(circle at 50% 28%, rgba(110,166,255,.18), transparent 32%),
        linear-gradient(180deg, #FFFFFF 0%, #F2F6FE 100%);
      color: var(--app-black);
      pointer-events: none;
      opacity: 1;
      transition: opacity .16s var(--ease-smooth), visibility .16s var(--ease-smooth);
    }
    .launch-splash.is-done {
      opacity: 0;
      visibility: hidden;
    }
    .launch-splash__panel {
      width: min(86vw, 360px);
      display: grid;
      gap: 14px;
      padding: 24px 22px;
      border-radius: 28px;
      background: rgba(255,255,255,.86);
      border: 1px solid rgba(255,255,255,.9);
      box-shadow: 0 18px 48px rgba(36,62,102,.12);
      text-align: left;
    }
    .launch-splash__brand {
      width: max-content;
      max-width: 100%;
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      padding: 6px 11px;
      border-radius: 999px;
      color: #1F5FBF;
      background: rgba(219,234,254,.82);
      border: 1px solid rgba(110,166,255,.30);
      font-size: 12px;
      line-height: 1.1;
      font-weight: 900;
    }
    .launch-splash__title {
      margin: 0;
      color: var(--app-ink);
      font-size: 23px;
      line-height: 1.2;
      font-weight: 950;
      letter-spacing: 0;
    }
    .launch-splash__copy {
      margin: 0;
      color: #667085;
      font-size: 13px;
      line-height: 1.45;
      font-weight: 760;
    }
    .launch-splash__skeleton {
      display: grid;
      gap: 8px;
      margin-top: 2px;
    }
    .launch-splash__line {
      height: 10px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(226,232,240,.72), rgba(219,234,254,.94), rgba(226,232,240,.72));
    }
    .launch-splash__line.short {
      width: 62%;
    }
    button[disabled] { transform: none !important; }
    button[disabled]:not([aria-busy="true"]) {
      cursor: not-allowed;
      opacity: .54;
      filter: saturate(.82);
    }
    button[aria-busy="true"] {
      cursor: progress;
      opacity: .76;
      transform: none !important;
    }
    .action-busy .btn:not(.ghost) { filter: saturate(.92); }
    @keyframes spin { to { transform: rotate(360deg); } }
    @keyframes softPopIn {
      from { opacity: .82; transform: translateY(6px) scale(.985); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
      }
      .sheet {
        transform: none !important;
      }
      .sheet-mask,
      .toast,
      .bottom-nav,
      .nav-btn {
        transition-property: opacity, background-color, color, box-shadow !important;
      }
      .toast {
        transform: translateX(-50%) !important;
      }
      .ops-dashboard-skeleton::after,
      .data-hub-loading-row,
      .loader {
        animation: none !important;
      }
    }
    @media (max-width: 360px) {
      .table-grid { grid-template-columns: repeat(2, 1fr); }
      .hero h1, .hero h2 { font-size: 21px; }
      .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
      .home-feature-card { min-height: 54px; padding: 7px 9px; border-radius: 999px; grid-template-columns: 30px minmax(0, 1fr); gap: 7px; }
      .home-feature-card.wide { grid-template-columns: 30px minmax(0, 1fr); min-height: 54px; }
      .home-feature-icon { width: 30px; height: 30px; }
      .home-feature-icon svg { width: 18px; height: 18px; }
      .home-feature-card h3 { font-size: 11.5px; }
      .home-feature-copy { min-height: 32px; }
      .home-feature-copy p { font-size: 8.8px; }
      .home-hero { min-height: 112px; }
      .home-hero h1 { font-size: 24px; }
      .task-board-list { max-height: 216px; }
      .meeting-type-grid, .meeting-form-grid { grid-template-columns: 1fr; }
      .work-plan-form-grid, .work-plan-detail-grid { grid-template-columns: 1fr; }
      .assignment-table-grid { grid-template-columns: 1fr; }
      .assignment-area-manager { grid-template-columns: 1fr; }
      .permission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    /* hq-light-executive-v1: HQ-only light executive system for app=hq. */
    html.hq-shell,
    html.hq-shell body {
      --hq-bg: #F4F6F8;
      --hq-surface: #FFFFFF;
      --hq-surface-muted: #EEF1F4;
      --hq-surface-warm: #FAF8F4;
      --hq-text: #172033;
      --hq-text-secondary: #667085;
      --hq-text-tertiary: #98A2B3;
      --hq-text-inverse: #FFFFFF;
      --hq-primary: #203A5F;
      --hq-primary-strong: #162A45;
      --hq-primary-soft: #E9EFF6;
      --hq-accent: #B28A52;
      --hq-accent-soft: #F4ECE0;
      --hq-success: #2B7A63;
      --hq-success-soft: #E8F4EF;
      --hq-warning: #B7791F;
      --hq-warning-soft: #FAF0DA;
      --hq-danger: #B94A48;
      --hq-danger-soft: #F9EAEA;
      --hq-info: #3F6E9C;
      --hq-info-soft: #EAF0F6;
      --hq-border: #DDE2E8;
      --hq-border-strong: #C7CED8;
      --hq-bottom-nav-height: 64px;
      --hq-shadow-sm: 0 2px 8px rgba(23, 32, 51, 0.05);
      --hq-shadow-md: 0 8px 24px rgba(23, 32, 51, 0.08);
      color-scheme: light;
      background: var(--hq-bg) !important;
    }
    html.hq-shell body,
    html.hq-shell .app,
    html.hq-shell main {
      min-height: 100dvh;
      color: var(--hq-text) !important;
      background: var(--hq-bg) !important;
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }
    html.hq-shell .app {
      padding: max(14px, env(safe-area-inset-top)) 16px calc(var(--hq-bottom-nav-height) + env(safe-area-inset-bottom) + 52px) !important;
    }
    html.hq-shell .topbar {
      position: sticky !important;
      top: 0 !important;
      z-index: 30 !important;
      min-height: 64px;
      margin: 0 -16px 16px !important;
      padding: max(10px, env(safe-area-inset-top)) 16px 10px !important;
      color: var(--hq-text) !important;
      background: rgba(255,255,255,.98) !important;
      border-bottom: 1px solid var(--hq-border) !important;
      box-shadow: none !important;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    html.hq-shell .store-title,
    html.hq-shell h1,
    html.hq-shell h2,
    html.hq-shell h3,
    html.hq-shell h4,
    html.hq-shell b,
    html.hq-shell strong,
    html.hq-shell .record-head span:first-child,
    html.hq-shell .me-panel-title,
    html.hq-shell .task-board-title,
    html.hq-shell .data-card-copy h3,
    html.hq-shell .date-picker-value {
      color: var(--hq-text) !important;
      font-weight: 700 !important;
      letter-spacing: 0 !important;
    }
    html.hq-shell p,
    html.hq-shell .sub,
    html.hq-shell .record-meta,
    html.hq-shell .task-meta,
    html.hq-shell .task-board-sub,
    html.hq-shell .data-card-copy p,
    html.hq-shell .metric span,
    html.hq-shell .section-title,
    html.hq-shell label,
    html.hq-shell small {
      color: var(--hq-text-secondary) !important;
      font-weight: 400 !important;
      letter-spacing: 0 !important;
    }
    html.hq-shell .card,
    html.hq-shell .hero,
    html.hq-shell .home-hero,
    html.hq-shell .task-board,
    html.hq-shell .data-board-panel,
    html.hq-shell .data-query-card,
    html.hq-shell .data-square-card,
    html.hq-shell .metric,
    html.hq-shell .metric-square,
    html.hq-shell .record,
    html.hq-shell .empty,
    html.hq-shell .task-empty,
    html.hq-shell .meeting-item-card,
    html.hq-shell .me-panel,
    html.hq-shell .me-list,
    html.hq-shell .me-list-button,
    html.hq-shell .me-summary-item,
    html.hq-shell .update-version-card,
    html.hq-shell .update-download-fallback,
    html.hq-shell .config-compact-row,
    html.hq-shell .account-permission-block,
    html.hq-shell .search-box,
    html.hq-shell .date-picker-control,
    html.hq-shell .hq-home-identity,
    html.hq-shell .hq-kpi-card,
    html.hq-shell .hq-focus-list,
    html.hq-shell .hq-recent-tasks,
    html.hq-shell .hq-task-hero,
    html.hq-shell .hq-task-overview,
    html.hq-shell .hq-task-tracking,
    html.hq-shell .hq-data-truth-panel,
    html.hq-shell .hq-data-health-note {
      color: var(--hq-text) !important;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 16px !important;
      box-shadow: var(--hq-shadow-sm) !important;
    }
    html.hq-shell .hq-home-shell {
      display: grid;
      gap: 16px;
    }
    html.hq-shell .hq-home-identity {
      min-height: 116px;
      max-height: 148px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      padding: 20px !important;
      border-radius: 20px !important;
      background: linear-gradient(135deg, #FFFFFF 0%, var(--hq-surface-warm) 100%) !important;
    }
    html.hq-shell .hq-home-identity h1 {
      margin: 0;
      font-size: 26px;
      line-height: 34px;
    }
    html.hq-shell .hq-home-identity p {
      margin: 4px 0 0;
      font-size: 13px;
      line-height: 20px;
    }
    html.hq-shell .hq-home-identity-meta {
      display: grid;
      gap: 8px;
      min-width: 104px;
    }
    html.hq-shell .hq-home-identity-meta span {
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 10px;
      color: var(--hq-primary) !important;
      background: var(--hq-primary-soft) !important;
      border: 1px solid var(--hq-border);
      border-radius: 999px;
      font-size: 12px;
      line-height: 18px;
      font-weight: 600;
      white-space: nowrap;
    }
    html.hq-shell .hq-range-card {
      margin: 0 !important;
      background: var(--hq-surface) !important;
      border-color: var(--hq-border) !important;
      box-shadow: var(--hq-shadow-sm) !important;
    }
    html.hq-shell .hq-kpi-grid,
    html.hq-shell .hq-task-overview,
    html.hq-shell .ops-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    html.hq-shell .hq-kpi-card {
      height: 112px;
      min-height: 104px;
      max-height: 116px;
      display: grid;
      align-content: center;
      gap: 6px;
      padding: 16px !important;
    }
    html.hq-shell .hq-kpi-card span,
    html.hq-shell .hq-kpi-card small {
      font-size: 12px;
      line-height: 18px;
      color: var(--hq-text-secondary) !important;
    }
    html.hq-shell .hq-kpi-card b {
      font-size: 30px;
      line-height: 36px;
    }
    html.hq-shell .hq-primary-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    html.hq-shell .hq-primary-action {
      min-height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 14px;
      color: var(--hq-text-inverse) !important;
      background: var(--hq-primary) !important;
      border: 1px solid var(--hq-primary-strong) !important;
      border-radius: 14px !important;
      box-shadow: var(--hq-shadow-sm) !important;
      font-size: 15px;
      line-height: 22px;
      font-weight: 600;
    }
    html.hq-shell .hq-primary-action + .hq-primary-action {
      color: var(--hq-primary) !important;
      background: var(--hq-primary-soft) !important;
      border-color: var(--hq-border) !important;
    }
    html.hq-shell .hq-primary-action b {
      color: var(--hq-text-inverse) !important;
      -webkit-text-fill-color: var(--hq-text-inverse) !important;
    }
    html.hq-shell .hq-primary-action + .hq-primary-action b {
      color: var(--hq-primary) !important;
      -webkit-text-fill-color: var(--hq-primary) !important;
    }
    html.hq-shell .hq-scope-title {
      color: var(--hq-text) !important;
      -webkit-text-fill-color: var(--hq-text) !important;
      font-weight: 600 !important;
    }
    html.hq-shell .hq-scope-sub {
      color: var(--hq-text-secondary) !important;
      -webkit-text-fill-color: var(--hq-text-secondary) !important;
    }
    html.hq-shell .hq-section-head,
    html.hq-shell .ops-dashboard-section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }
    html.hq-shell .hq-section-head h2,
    html.hq-shell .ops-dashboard-section-head h3 {
      margin: 0;
      font-size: 17px;
      line-height: 24px;
      font-weight: 600 !important;
    }
    html.hq-shell .hq-section-head button,
    html.hq-shell .hq-task-card-actions button {
      min-height: 36px;
      padding: 7px 10px;
      color: var(--hq-primary) !important;
      background: var(--hq-primary-soft) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 12px !important;
      box-shadow: none !important;
      font-size: 12px;
      line-height: 18px;
      font-weight: 600;
    }
    html.hq-shell .hq-focus-list,
    html.hq-shell .hq-recent-tasks,
    html.hq-shell .hq-task-hero,
    html.hq-shell .hq-task-tracking {
      padding: 16px !important;
    }
    html.hq-shell .hq-focus-item,
    html.hq-shell .hq-recent-task-row {
      min-height: 58px;
      display: grid;
      gap: 4px;
      padding: 12px 0;
      border-bottom: 1px solid var(--hq-border);
    }
    html.hq-shell .hq-focus-item:last-child,
    html.hq-shell .hq-recent-task-row:last-child {
      border-bottom: 0;
    }
    html.hq-shell .hq-focus-item span,
    html.hq-shell .hq-recent-task-row span {
      color: var(--hq-text-secondary) !important;
      font-size: 12px;
      line-height: 18px;
    }
    html.hq-shell .hq-focus-empty,
    html.hq-shell .ops-dashboard-empty {
      padding: 14px;
      color: var(--hq-text-secondary) !important;
      background: var(--hq-surface-muted) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 14px;
      box-shadow: none !important;
    }
    html.hq-shell .hq-update-time {
      color: var(--hq-text-secondary);
      font-size: 12px;
      line-height: 18px;
      text-align: center;
    }
    html.hq-shell .ops-dashboard {
      display: grid;
      gap: 16px;
    }
    html.hq-shell .ops-dashboard-top,
    html.hq-shell .ops-dashboard-card,
    html.hq-shell .ops-dashboard-chart,
    html.hq-shell .ops-dashboard-detail-links,
    html.hq-shell .ops-dashboard-exceptions {
      color: var(--hq-text) !important;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 16px !important;
      box-shadow: var(--hq-shadow-sm) !important;
    }
    html.hq-shell .ops-dashboard-top,
    html.hq-shell .ops-dashboard-detail-links,
    html.hq-shell .ops-dashboard-card,
    html.hq-shell .ops-dashboard-chart {
      padding: 16px !important;
    }
    html.hq-shell .ops-dashboard-title-row h2 {
      margin: 0;
      font-size: 20px;
      line-height: 28px;
    }
    html.hq-shell .ops-dashboard-sync,
    html.hq-shell .status,
    html.hq-shell .ops-status-tag {
      color: var(--hq-primary) !important;
      background: var(--hq-primary-soft) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 999px !important;
    }
    html.hq-shell .ops-dashboard-sync.partial,
    html.hq-shell .ops-exception-item.warn {
      color: var(--hq-warning) !important;
      background: var(--hq-warning-soft) !important;
      border-color: rgba(183,121,31,.24) !important;
    }
    html.hq-shell .hq-data-truth-panel {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 12px 0;
      padding: 12px !important;
      background: var(--hq-surface-muted) !important;
      box-shadow: none !important;
    }
    html.hq-shell .hq-data-truth-panel div,
    html.hq-shell .hq-data-health-note {
      display: grid;
      gap: 3px;
      padding: 10px;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 12px !important;
      box-shadow: none !important;
    }
    html.hq-shell .hq-data-health-note {
      margin-top: 12px;
    }
    html.hq-shell .data-square-card {
      min-height: 78px !important;
      grid-template-columns: 36px minmax(0, 1fr) !important;
      gap: 12px !important;
      padding: 14px !important;
      background: var(--hq-surface) !important;
      border-color: var(--hq-border) !important;
      box-shadow: var(--hq-shadow-sm) !important;
    }
    html.hq-shell .data-square-card .icon,
    html.hq-shell .home-feature-icon,
    html.hq-shell .me-service-icon,
    html.hq-shell .icon,
    html.hq-shell .me-avatar {
      width: 36px !important;
      height: 36px !important;
      color: var(--hq-primary) !important;
      background: var(--hq-primary-soft) !important;
      border: 1px solid var(--hq-border) !important;
      box-shadow: none !important;
      border-radius: 12px !important;
    }
    html.hq-shell .tabs,
    html.hq-shell .ops-dashboard-filter-tabs {
      gap: 8px !important;
    }
    html.hq-shell .tab,
    html.hq-shell .chip,
    html.hq-shell .pill,
    html.hq-shell .check-pill,
    html.hq-shell .picker-chip,
    html.hq-shell .btn.secondary,
    html.hq-shell .btn.ghost {
      min-height: 44px;
      color: var(--hq-primary) !important;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 12px !important;
      box-shadow: none !important;
    }
    html.hq-shell .tab.active,
    html.hq-shell .chip.active,
    html.hq-shell .picker-chip.active,
    html.hq-shell .check-pill.active {
      color: var(--hq-primary) !important;
      background: var(--hq-primary-soft) !important;
      border-color: var(--hq-border-strong) !important;
      box-shadow: none !important;
    }
    html.hq-shell .btn,
    html.hq-shell button.btn {
      min-height: 44px;
      color: var(--hq-text-inverse) !important;
      background: var(--hq-primary) !important;
      border: 1px solid var(--hq-primary-strong) !important;
      border-radius: 14px !important;
      box-shadow: none !important;
      font-weight: 600 !important;
    }
    html.hq-shell input,
    html.hq-shell select,
    html.hq-shell textarea,
    html.hq-shell .date-picker-control {
      min-height: 44px;
      color: var(--hq-text) !important;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 12px !important;
      box-shadow: none !important;
      -webkit-text-fill-color: var(--hq-text);
    }
    html.hq-shell .hq-task-hub {
      display: grid;
      gap: 16px;
    }
    html.hq-shell .hq-task-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 14px;
    }
    html.hq-shell .hq-task-hero h1 {
      margin: 0;
      font-size: 22px;
      line-height: 30px;
    }
    html.hq-shell .hq-task-overview {
      padding: 12px !important;
    }
    html.hq-shell .hq-task-overview div {
      min-height: 68px;
      display: grid;
      place-items: center;
      gap: 4px;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 14px;
    }
    html.hq-shell .hq-task-card {
      padding: 14px;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 14px;
      box-shadow: none !important;
    }
    html.hq-shell .hq-task-list {
      display: grid;
      gap: 10px;
    }
    html.hq-shell .hq-task-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }
    html.hq-shell .hq-task-card-meta {
      display: grid;
      gap: 4px;
      margin-top: 8px;
      color: var(--hq-text-secondary) !important;
      font-size: 12px;
      line-height: 18px;
    }
    html.hq-shell .hq-task-card-actions {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }
    html.hq-shell .hq-profile-stack {
      display: grid;
      gap: 12px;
      margin-top: 12px;
    }
    html.hq-shell .me-hero {
      color: var(--hq-text) !important;
      background: var(--hq-surface) !important;
      border: 1px solid var(--hq-border) !important;
      box-shadow: var(--hq-shadow-sm) !important;
    }
    html.hq-shell .me-summary {
      gap: 10px;
    }
    html.hq-shell .me-list {
      box-shadow: none !important;
      border-radius: 14px !important;
    }
    html.hq-shell .me-service,
    html.hq-shell .me-list-button {
      min-height: 56px;
      color: var(--hq-text) !important;
      background: var(--hq-surface) !important;
      border-bottom-color: var(--hq-border) !important;
    }
    html.hq-shell .me-logout-panel {
      color: var(--hq-danger) !important;
      background: var(--hq-danger-soft) !important;
      border: 1px solid rgba(185,74,72,.18) !important;
      box-shadow: none !important;
    }
    html.hq-shell .bottom-nav {
      position: fixed !important;
      height: var(--hq-bottom-nav-height) !important;
      min-height: var(--hq-bottom-nav-height) !important;
      left: 14px !important;
      right: 14px !important;
      bottom: max(10px, env(safe-area-inset-bottom)) !important;
      width: auto !important;
      transform: none !important;
      display: grid !important;
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      gap: 4px !important;
      padding: 6px !important;
      color: var(--hq-text-secondary) !important;
      background: rgba(255,255,255,.96) !important;
      border: 1px solid var(--hq-border) !important;
      border-radius: 20px !important;
      box-shadow: 0 -4px 20px rgba(23,32,51,.08) !important;
      z-index: 40 !important;
    }
    html.hq-shell .nav-btn {
      min-height: 52px !important;
      height: 52px !important;
      padding: 5px 2px !important;
      color: var(--hq-text-secondary) !important;
      background: transparent !important;
      border-radius: 15px !important;
      box-shadow: none !important;
      font-size: 11px;
      line-height: 14px;
      transition: transform 180ms ease-out, background-color 180ms ease-out !important;
    }
    html.hq-shell .nav-btn.active {
      color: #203A5F !important;
      -webkit-text-fill-color: #203A5F !important;
      background: var(--hq-primary-soft) !important;
      box-shadow: none !important;
    }
    html.hq-shell .bottom-nav .nav-btn.active {
      color: #203A5F !important;
      -webkit-text-fill-color: #203A5F !important;
    }
    html.hq-shell .nav-btn svg,
    html.hq-shell .nav-icon {
      width: 21px !important;
      height: 21px !important;
      stroke: currentColor !important;
    }
    html.hq-shell .nav-btn[data-page="tools"] {
      display: none !important;
    }
    html.hq-shell * {
      text-shadow: none !important;
    }
    @media (min-width: 430px) {
      html.hq-shell .app {
        padding-left: 20px !important;
        padding-right: 20px !important;
      }
      html.hq-shell .topbar {
        margin-left: -20px !important;
        margin-right: -20px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
      }
    }
    @media (min-width: 768px) {
      html.hq-shell .app {
        max-width: 980px;
        margin: 0 auto;
        padding-left: 24px !important;
        padding-right: 24px !important;
      }
      html.hq-shell .topbar {
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
      }
      html.hq-shell .hq-data-truth-panel,
      html.hq-shell .hq-kpi-grid,
      html.hq-shell .hq-task-overview {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }
    @media (max-width: 390px) {
      html.hq-shell .hq-home-identity {
        grid-template-columns: 1fr;
        min-height: 116px;
        max-height: none;
      }
      html.hq-shell .hq-home-identity-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      html.hq-shell .hq-task-hero {
        grid-template-columns: 1fr;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      html.hq-shell .hq-primary-action,
      html.hq-shell .hq-section-head button,
      html.hq-shell .nav-btn,
      html.hq-shell .btn,
      html.hq-shell .me-service,
      html.hq-shell .data-square-card {
        animation: none !important;
        transition: none !important;
      }
    }
