
    /* fonts: system stack only — no Google Fonts */
    :root{
      --bg0:#f4f4f5;
      --bg1:#f4f4f5;
      --bg2:rgba(24,24,27,.08);
      --surface:rgba(255,255,255,.98);
      --surface-strong:rgba(255,255,255,.99);
      --surface-soft:rgba(255,255,255,.92);
      --line:rgba(0,0,0,.08);
      --line-soft:rgba(0,0,0,.05);
      --text:#18181b;
      --muted:#71717a;
      --muted-strong:#52525b;
      --accent:#5490ff;
      --accent-2:#3d7ff5;
      --accent-soft:rgba(84,144,255,.1);
      --green:#5490ff;
      --amber:#f59e0b;
      --gold:#eab308;
      --red:#dc2626;
      --shadow:0 4px 16px rgba(0,0,0,.06);
      --shadow-soft:0 2px 8px rgba(0,0,0,.04);
      --shadow-hover:0 12px 32px rgba(0,0,0,.1);
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      min-height:100vh;
      color:var(--text);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei","Noto Sans SC","Helvetica Neue",sans-serif;font-weight:400;
      font-feature-settings:"cv01","ss03";
      background:#f4f4f5;
      position:relative;
      overflow-x:hidden;
    }
    .wrap{
      position:relative;
      z-index:1;
      max-width:1180px;
      margin:0 auto;
      padding:28px 0 166px;
    }
    .hero,.card{
      position:relative;
      overflow:hidden;
      background:#ffffff;
      border:1px solid rgba(0,0,0,.08);
      border-radius:28px;
      box-shadow:0 10px 36px rgba(0,0,0,.1);
      backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    }
    .hero::before,
    .card::before{
      content:"";
      position:absolute;
      inset:0;
      background:transparent;
      pointer-events:none;
    }
    .hero{
      padding:26px 26px 32px;
      position:relative;
      overflow:hidden;
    }
    .hero::after{
      content:"";
      position:absolute;
      top:-40px;right:-40px;
      width:180px;height:180px;
      background:transparent;
      border-radius:50%;
      pointer-events:none;
    }
    .hero-top{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:16px;
      flex-wrap:wrap;
    }
    .hero-title-group{max-width:560px}
    .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      min-height:28px;
      padding:0 14px;
      border-radius:999px;
      border:1px solid rgba(84,144,255,.4);
      background:rgba(84,144,255,.06);
      color:#5490ff;
      font-size:11px;
      font-weight:700;
      letter-spacing:.14em;
      text-transform:uppercase;
    }

    .title{margin-top:14px;font-size:clamp(30px,5.5vw,48px);font-weight:900;line-height:1.02;letter-spacing:-.02em;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:#18181b;position:relative;padding-bottom:16px;}
    .title::after{content:"";position:absolute;left:0;bottom:0;width:60px;height:4px;background:linear-gradient(90deg,#5490ff,#5490ff 70%,transparent);border-radius:2px;opacity:.85}
    .sub{
      margin-top:10px;
      max-width:600px;
      color:var(--muted);
      font-size:14px;
      line-height:1.6;
    }
    .hero-quick-start{display:none;margin-top:14px;padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(0,0,0,.04)}
    .hero-quick-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
    .hero-quick-head span{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#18181b}
    .hero-quick-head small{color:var(--muted);font-size:12px;line-height:1.5}
    .hero-quick-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
    .hero-quick-chip{
      min-height:48px;
      padding:0 12px;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.06);
      background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.02));
      color:var(--text);
      font-size:15px;
      font-weight:780;
      letter-spacing:-.01em;
      box-shadow:0 4px 12px rgba(15,23,42,.06);
    }
    .hero-quick-chip.secondary{color:#18181b}
    .hero-quick-chip:active{transform:scale(.97);background:rgba(255,255,255,.04)}
    .session-spotlight{
      display:grid;
      grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,.925fr));
      gap:12px;
      margin-top:18px;
    }
    .spotlight-card{
      position:relative;
      overflow:hidden;
      min-height:126px;
      padding:18px 17px;
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:10px;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.1);
      border-top:3px solid #5490ff;
      background:#fff;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 6px 20px rgba(0,0,0,.1);
      transition:transform .2s ease,box-shadow .2s ease;
    }
    .spotlight-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,0,0,.15)}
    .spotlight-card:nth-child(1){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.04),#fff 60%)}
    .spotlight-card:nth-child(2){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.07),#fff 60%)}
    .spotlight-card:nth-child(3){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.07),#fff 60%)}
    .spotlight-card::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(135deg,rgba(0,0,0,.04),rgba(255,255,255,0) 42%);
      pointer-events:none;
    }
    .spotlight-card.primary{
      border-color:rgba(84,144,255,.35);
      border-top:3px solid #5490ff;
      background:#fff;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 4px 16px rgba(0,0,0,.06);
    }
    .spotlight-card.primary[data-state="running"]{
      border-color:rgba(0,0,0,.26);
      background:#fff;
    }
    .spotlight-card.primary[data-state="paused"]{
      border-color:rgba(0,0,0,.1);
      background:#fff;
    }
    .spotlight-card.primary[data-state="ready"]{
      border-color:rgba(0,0,0,.28);
    }
    .spotlight-kicker{
      display:inline-flex;
      align-items:center;
      min-height:28px;
      padding:0 10px;
      border-radius:999px;
      border:1px solid rgba(0,0,0,.04);
      background:rgba(255,255,255,.04);
      color:#18181b;
      font-size:11px;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
    }
    .spotlight-card strong{display:block;margin-top:14px;font-size:32px;line-height:1.08;letter-spacing:-.04em;color:#18181b;font-weight:900;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;}
    .spotlight-card small{
      display:block;
      margin-top:10px;
      font-size:13px;
      line-height:1.54;
      color:#71717a;
      max-width:22em;
      text-wrap:balance;
    }
    @media (max-width:480px){
      .session-spotlight{grid-template-columns:1fr}
      .session-spotlight .spotlight-card.primary{grid-column:auto}
      .spotlight-card{min-height:96px;padding:13px 14px 12px;border-radius:14px}
      .spotlight-card strong{margin-top:12px;font-size:22px}
      .spotlight-card small{margin-top:auto;font-size:12px;line-height:1.55}
      .session-spotlight .spotlight-card:not(.primary) strong{min-height:2.3em}
    }
    .timer-box{
      margin-top:24px;
      padding:18px;
      border-radius:30px;
      background:
        
        linear-gradient(135deg,rgba(84,144,255,.05),rgba(84,144,255,.03),#fff 40%);
      border:1px solid rgba(84,144,255,.12);
      box-shadow:0 12px 40px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
    }
    .timer-shell{
      display:grid;
      gap:16px;
      grid-template-columns:minmax(0,1.32fr) minmax(320px,.88fr);
      align-items:stretch;
    }
    .timer-main{
      min-width:0;
      min-height:100%;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      padding:24px 24px 20px;
      border-radius:26px;
      background:
        
        linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,245,238,.95));
      border:1px solid rgba(0,0,0,.08);
      border-left:4px solid #5490ff;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 6px 24px rgba(0,0,0,.1);
    }
    .mode{margin-bottom:4px;
      display:inline-flex;
      align-items:center;
      align-self:flex-start;
      min-height:34px;
      padding:0 14px;
      border-radius:999px;
      background:rgba(255,255,255,.04);
      border:1px solid rgba(0,0,0,.06);
      color:#18181b;
      font-size:12px;
      font-weight:780;
      letter-spacing:.12em;
      text-transform:uppercase;
    }
    .task-name{margin-bottom:6px;
      margin-top:16px;
      font-size:clamp(32px,4.2vw,42px);
      line-height:1.02;
      font-weight:810;
      letter-spacing:-.05em;
      color:#18181b;
    }
    .countdown{
      margin-top:16px;
      font-size:clamp(72px,13vw,140px);
      line-height:1;
      font-weight:900;
      letter-spacing:.06em;
      font-variant-numeric:tabular-nums;
      color:#18181b;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
      background:#fff;
      border-radius:14px;
      padding:24px 32px 20px;
      display:inline-block;
      position:relative;
      max-width:100%;
      box-sizing:border-box;
      box-shadow:0 6px 28px rgba(0,0,0,.1), inset 0 0 0 1px rgba(0,0,0,.08);
      text-shadow:none;
    }
    .countdown::after{
      content:"";
      position:absolute;
      left:8px;right:8px;
      top:50%;
      height:1px;
      background:rgba(255,255,255,.08);
      pointer-events:none;
    }
    .status{margin-top:8px;
      margin-top:16px;
      max-width:none;
      color:#71717a;
      font-size:15px;
      min-height:52px;
      line-height:1.72;
    }
    .selection-strip{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
      align-content:start;
      align-self:start;
    }
    .selection-pill{
      padding:15px 16px;
      min-height:88px;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      gap:8px;
      border-radius:14px;
      background:#fff;
      border:1px solid rgba(0,0,0,.08);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 2px 10px rgba(0,0,0,.06);
      transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
    }
    .selection-pill:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,0,0,.1);border-color:rgba(84,144,255,.4)}
    .selection-pill:active{transform:scale(.97)}
    .selection-pill span{
      display:block;
      font-size:11px;
      color:#71717a;
      letter-spacing:.1em;
    }
    .selection-pill b{
      display:block;
      margin-top:0;
      font-size:16px;
      color:#18181b;
      line-height:1.35;
      word-break:break-word;
    }
    .timer-side{
      min-width:0;
      display:grid;
      grid-template-rows:auto 1fr;
      gap:14px;
      align-content:stretch;
      align-self:stretch;
    }
    .first-screen-picker{
      min-height:100%;
      padding:18px;
      border-radius:26px;
      display:grid;
      gap:14px;
      grid-template-rows:auto auto auto auto;
      background:
        linear-gradient(180deg, #fff, #f4f4f5);
      border:1px solid rgba(0,0,0,.08);
      border-left:3px solid rgba(84,144,255,.4);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 4px 16px rgba(0,0,0,.08);
    }
    .first-screen-picker-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
    }
    .first-screen-picker-head strong{
      display:block;
      margin-top:6px;
      font-size:22px;
      line-height:1.12;
      color:#18181b;
      letter-spacing:-.03em;
    }
    .first-screen-picker-head small{
      display:block;
      margin-top:8px;
      font-size:13px;
      line-height:1.65;
      color:#71717a;
    }
    .first-screen-balance{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:10px;
    }
    .first-screen-balance-chip{
      display:inline-flex;
      align-items:center;
      min-height:28px;
      padding:0 10px;
      border-radius:999px;
      border:1px solid rgba(0,0,0,.06);
      background:rgba(255,255,255,.04);
      color:#18181b;
      font-size:11px;
      font-weight:760;
      letter-spacing:.04em;
      white-space:nowrap;
    }
    .first-screen-picker-group{
      display:grid;
      gap:10px;
      padding:14px;
      border-radius:14px;
      background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(249,250,251,.98));
      border:1px solid rgba(17,24,39,.08);
      box-shadow:0 8px 24px rgba(15,23,42,.05);
    }
    .first-screen-picker-group + .first-screen-picker-group{
      margin-top:12px;
    }
    .first-screen-picker-headline{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:10px;
      flex-wrap:wrap;
    }
    .first-screen-picker-headline strong{
      font-size:13px;
      font-weight:800;
      letter-spacing:.08em;
      color:#18181b;
    }
    .first-screen-picker-headline small{
      font-size:12px;
      line-height:1.5;
      color:#71717a;
    }
    .first-screen-picker-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
      margin-top:0;
    }
    .first-screen-picker-grid-secondary{
      margin-top:10px;
    }
    .first-screen-choice{padding:10px 10px;min-height:72px;
      position:relative;
      min-height:74px;
      padding:14px 15px;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.04);
      background:rgba(249,250,251,.8);
      color:#18181b;
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      justify-content:center;
      gap:8px;
      text-align:left;
      cursor:pointer;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
      transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
      -webkit-tap-highlight-color:transparent;
    }
    .first-screen-choice span{
      font-size:11px;
      font-weight:800;
      letter-spacing:.16em;
      text-transform:uppercase;
      color:#71717a;
    }
    .first-screen-choice b{
      font-size:19px;
      line-height:1.05;
      letter-spacing:.02em;
      color:#18181b;
    }
    .first-screen-choice:hover{transform:translateY(-1px);border-color:rgba(84,144,255,.3);background:rgba(255,255,255,.04)}
    .first-screen-choice:active{transform:scale(.96);background:rgba(0,0,0,.06);box-shadow:inset 0 2px 6px rgba(0,0,0,.08)}
    .first-screen-choice.is-selected{
      border-color:rgba(84,144,255,.4);
      background:linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.02));
      box-shadow:0 0 0 1px rgba(84,144,255,.1), 0 4px 12px rgba(0,0,0,.06);
    }
    .first-screen-choice.is-selected::before{
      content:"";
      position:absolute;
      left:0;top:14px;bottom:14px;
      width:3px;
      border-radius:0 3px 3px 0;
      background:linear-gradient(180deg,#5490ff,#3d7ff5);
      box-shadow:0 0 8px rgba(84,144,255,.3);
    }
    .first-screen-choice.secondary.is-selected{
      border-color:rgba(84,144,255,.3);
      box-shadow:0 0 0 1px rgba(84,144,255,.35), 0 4px 12px rgba(0,0,0,.06);
    }
    .first-screen-actions{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin-top:0;padding:12px;border-radius:14px;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 2px 12px rgba(0,0,0,.06)}
    .first-screen-actions .btn{min-height:56px;border-radius:14px;font-size:16px;font-weight:800;letter-spacing:.02em}
    .first-screen-action-group{display:grid!important;align-content:start!important;gap:12px!important}.first-screen-action-headline{align-items:center!important}.first-screen-actions{align-self:start!important;height:auto!important;min-height:0!important}.first-screen-actions .btn{height:54px!important;max-height:54px!important}
    .first-screen-tip{
      display:flex;
      align-items:flex-start;
      gap:10px;
      padding:12px 14px;
      border-radius:14px;
      background:rgba(255,255,255,.025);
      border:1px solid rgba(0,0,0,.04);
      color:#71717a;
      font-size:12px;
      line-height:1.6;
    }
    .first-screen-tip::before{
      content:"";
      flex:0 0 8px;
      width:8px;
      height:8px;
      margin-top:6px;
      border-radius:999px;
      background:linear-gradient(180deg,#18181b,#18181b);
      box-shadow:0 0 0 4px rgba(113,112,255,.12);
    }
    .progress{
      margin-top:18px;
      height:18px;
      background:rgba(255,255,255,.03);
      border-radius:999px;
      overflow:hidden;
      border:1px solid rgba(0,0,0,.03);
      box-shadow:inset 0 2px 6px rgba(15,23,42,.06);
    }
    .bar{
      height:100%;
      width:0%;
      background:linear-gradient(90deg,#5490ff,#3d7ff5);
      transition:width .35s ease;
      box-shadow:0 0 18px rgba(0,0,0,.34);
    }
    .grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      align-items:stretch;
      gap:16px;
      margin-top:18px;
    }
    .card{padding:18px}
    .mode-card{
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      min-height:264px;
      padding:20px 18px 20px;
      border-color:rgba(0,0,0,.06);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 16px 34px rgba(0,0,0,.12);
    }
    .mode-card::after{
      content:"";
      position:absolute;
      width:170px;
      height:170px;
      right:-26px;
      top:-28px;
      border-radius:50%;
      background:radial-gradient(circle,rgba(0,0,0,.18),transparent 68%);
      pointer-events:none;
      opacity:.9;
    }
    .mode-card-zhan{
      background:
        radial-gradient(circle at top right, rgba(0,0,0,.18), transparent 42%),
        #ffffff;
    }
    .mode-card-mabu{
      background:
        radial-gradient(circle at top right, rgba(0,0,0,.14), transparent 40%),
        radial-gradient(circle at bottom left, rgba(84,144,255,.04), transparent 42%),
        #ffffff;
    }
    .mode-card .section-head{display:grid;grid-template-rows:auto auto minmax(0,1fr);align-content:start;gap:8px;margin-bottom:16px;min-height:120px}
    .mode-card .section-kicker{background:rgba(84,144,255,.06);border-color:rgba(84,144,255,.1);color:#18181b}
    .mode-card .section-desc{max-width:none;padding-right:28px;min-height:46px;color:#52525b}
    .mode-card .btn-grid{gap:10px;margin-top:auto;grid-auto-rows:minmax(60px,1fr)}
    .mode-card .btn{min-height:60px}
    .mode-card-topline{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
    .mode-card-tag{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(0,0,0,.08);color:#18181b;font-size:12px;font-weight:760;letter-spacing:.02em;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
    .mode-note{margin-top:12px;min-height:42px;padding-right:18px;color:#71717a;font-size:13px;line-height:1.6}
    .section-head{
      display:flex;
      flex-direction:column;
      gap:6px;
      margin-bottom:14px;
    }
    .section-head::after{
      content:"";
      width:52px;
      height:3px;
      margin-top:4px;
      border-radius:999px;
      background:linear-gradient(90deg, #5490ff, rgba(84,144,255,.4));
      box-shadow:0 8px 18px rgba(0,0,0,.18);
    }
    .section-kicker{
      display:inline-flex;
      align-items:center;
      width:max-content;
      min-height:28px;
      padding:0 10px;
      border-radius:999px;
      background:rgba(255,255,255,.04);
      border:1px solid rgba(0,0,0,.04);
      color:#71717a;
      font-size:11px;
      font-weight:700;
      letter-spacing:.14em;
      text-transform:uppercase;
    }
    .card h3{
      margin:0;
      font-size:24px;
      line-height:1.15;
      letter-spacing:-.03em;
    }
    .section-desc{
      color:var(--muted);
      font-size:14px;
      line-height:1.65;
    }
    .btn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .btn{color:var(--text);display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      min-height:58px;
      padding:14px 14px;
      border-radius:14px;
      cursor:pointer;
      border:1px solid rgba(0,0,0,.06);
      font-size:16px;
      font-weight:760;
      color:var(--text);
      background:rgba(241,245,249,.9);
      box-shadow:0 2px 8px rgba(15,23,42,.06);
      transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, opacity .16s ease, filter .16s ease;
      -webkit-tap-highlight-color:transparent;
      touch-action:manipulation;
      user-select:none;
      -webkit-user-select:none;
    }
    .btn:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.1)}
    .btn:active{transform:scale(.97);box-shadow:0 8px 20px rgba(0,0,0,.24), inset 0 1px 0 rgba(0,0,0,.04)}
    .btn.start-primary{background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border:2px solid #5490ff;font-weight:900;font-size:18px;box-shadow:0 4px 20px rgba(84,144,255,.3);transition:transform .16s ease,box-shadow .16s ease}
    .btn.secondary{background:#fff;border:2px solid rgba(24,24,27,.12);color:#52525b;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.04)}
    .btn.warn{background:#fff;border:2px solid #5490ff;color:#3d7ff5;font-weight:800;box-shadow:0 2px 8px rgba(84,144,255,.1)}
    .btn.stop{background:#fff1f2;border:2px solid #dc2626;color:#b91c1c;font-weight:800;box-shadow:0 2px 8px rgba(231,76,60,.12)}
    .btn.ghost{background:#fff;border:1px solid rgba(24,24,27,.12);color:#52525b;box-shadow:none}
    .btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
    .btn.is-selected{transform:translateY(-1px);border-color:rgba(0,0,0,.72);box-shadow:0 0 0 1px rgba(0,0,0,.5),0 18px 36px rgba(0,0,0,.34), inset 0 1px 0 rgba(0,0,0,.06)}
    .btn.secondary.is-selected{border-color:rgba(84,144,255,.4);box-shadow:0 0 0 1px rgba(94,234,212,.32),0 18px 36px rgba(8,145,178,.22), inset 0 1px 0 rgba(0,0,0,.06)}
    .quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
    .section-rail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:14px;align-items:center;margin-top:16px;padding:18px;border-radius:14px;border:1px solid rgba(0,0,0,.08);background:#ffffff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
    .section-rail-copy strong{display:block;font-size:18px;line-height:1.35;color:#18181b;letter-spacing:-.02em}
    .section-rail-copy small{display:block;margin-top:8px;font-size:13px;line-height:1.6;color:#5a8a76}
    .section-jump-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
    .section-jump{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.04);color:#18181b;font-size:14px;font-weight:760;letter-spacing:.01em;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
    .section-jump:hover{transform:translateY(-1px);border-color:rgba(0,0,0,.32);box-shadow:0 14px 28px rgba(0,0,0,.18),inset 0 1px 0 rgba(0,0,0,.04)}
    .section-jump:active{transform:scale(.97)}
    .custom-panel{margin-top:16px}
    .custom-panel-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border:none;background:none;color:#18181b;cursor:pointer;text-align:left}
    .custom-panel-toggle h3{margin:0;font-size:22px;line-height:1.2}
    .custom-panel-toggle small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#71717a}
    .custom-panel-toggle-icon{flex:0 0 auto;font-size:15px;font-weight:800;color:#71717a;transition:transform .18s ease,color .18s ease}
    .custom-panel-body{display:grid;overflow:hidden;transition:grid-template-rows .22s ease,opacity .18s ease,margin-top .18s ease;grid-template-rows:0fr;opacity:0;margin-top:0}
    .custom-panel-body-inner{min-height:0}
    .custom-panel.is-open .custom-panel-body{grid-template-rows:1fr;opacity:1;margin-top:10px}
    .custom-panel.is-open .custom-panel-toggle-icon{transform:rotate(180deg);color:#18181b}
    .custom-row{display:flex;flex-direction:column;gap:8px;align-items:stretch;flex-wrap:wrap;margin-top:8px}
    .custom-label{
      display:inline-flex;
      align-items:center;
      width:max-content;
      min-height:30px;
      padding:0 12px;
      border-radius:999px;
      border:1px solid rgba(0,0,0,.06);
      background:rgba(255,255,255,.04);
      color:#18181b;
      font-size:12px;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
    }
    .custom-input{
      width:100%;
      background:#ffffff;
      border:1px solid rgba(0,0,0,.18);
      color:#18181b;
      border-radius:14px;
      padding:15px 16px;
      font-size:16px;
      font-weight:720;
      font-variant-numeric:tabular-nums;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 14px 28px rgba(0,0,0,.14);
      transition:border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
    }
    .custom-input:focus{
      outline:none;
      border-color:rgba(0,0,0,.46);
      background:#ffffff;
      box-shadow:0 0 0 4px rgba(0,0,0,.12), 0 16px 32px rgba(0,0,0,.2);
    }
    .custom-input::placeholder{color:#a1a1aa}
    .custom-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
    .preset-chip{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 14px;
      border-radius:999px;
      border:1px solid rgba(0,0,0,.14);
      background:rgba(255,255,255,.034);
      color:#71717a;
      font-size:14px;
      font-weight:760;
      letter-spacing:.01em;
      cursor:pointer;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
      transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
      -webkit-tap-highlight-color:transparent;
    }
    .preset-chip:hover{transform:translateY(-1px);border-color:rgba(0,0,0,.34)}
    .preset-chip:active{transform:scale(.97)}
    .preset-chip[data-custom-preset="20"]{border-color:rgba(84,144,255,.25);color:#5490ff}
    .preset-chip[data-custom-preset="30"]{border-color:rgba(84,144,255,.35);color:#3d7ff5;font-weight:700}
    .preset-chip[data-custom-preset="45"]{border-color:rgba(20,184,166,.3);color:#5490ff}
    .preset-chip[data-custom-preset="60"]{border-color:rgba(84,144,255,.3);color:#3d7ff5;font-weight:700}
    .preset-chip[data-custom-preset="90"]{border-color:rgba(245,158,11,.3);color:#d97706}
    .preset-chip[data-custom-preset="120"]{border-color:rgba(84,144,255,.3);color:#9333ea}
    .preset-chip.is-active{
      border-color:rgba(0,0,0,.56);
      background:linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.12));
      box-shadow:0 0 0 1px rgba(184,58,42,.10), 0 14px 24px rgba(0,0,0,.14);
      color:#18181b;
    }
    .custom-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
    .custom-cta-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
    .custom-cta-tip{padding:12px 13px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(0,0,0,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
    .custom-cta-tip span{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#18181b}
    .custom-cta-tip small{display:block;margin-top:8px;font-size:12px;line-height:1.55;color:#52525b}
    .custom-action-btn{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:78px;padding:14px 16px;text-align:left}
    .custom-action-btn span{display:block;font-size:15px;font-weight:820;line-height:1.2;color:#18181b}
    .custom-action-btn small{display:block;font-size:12px;line-height:1.5;color:#52525b}
    .custom-hint{margin-top:10px;color:var(--muted);font-size:13px;line-height:1.6}
    .custom-panel.is-active{border-color:rgba(84,144,255,.4);box-shadow:0 0 0 1px rgba(84,144,255,.35),var(--shadow)}
    .custom-input.is-active{border-color:rgba(0,0,0,.48);box-shadow:0 0 0 4px rgba(0,0,0,.12)}
    .custom-tip-strong{display:inline-block;margin-top:8px;padding:8px 12px;border-radius:999px;background:rgba(0,0,0,.16);border:1px solid rgba(0,0,0,.24);color:#18181b;font-size:13px;font-weight:800}
    .summary-spotlight{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px}
    .summary-hero-card,
    .summary-mini-card,
    .summary-card{
      position:relative;
      overflow:hidden;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.04);
      box-shadow:inset 0 1px 0 rgba(0,0,0,.02);
    }
    .summary-hero-card{
      padding:16px 16px;
      min-height:140px;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      border-left:4px solid #5490ff;
      border-color:rgba(84,144,255,.35);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 18px 44px rgba(0,0,0,.14);
      background:
        
        linear-gradient(135deg,rgba(84,144,255,.18),rgba(84,144,255,.05),#fff 50%);
      backdrop-filter:blur(10px);
    }
    .summary-hero-card::after,
    .summary-mini-card::after,
    .summary-card::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(135deg,rgba(0,0,0,.04),rgba(255,255,255,0) 42%);
      pointer-events:none;
    }
    .summary-hero-label,
    .summary-mini-card span,
    .summary-card span{display:block;font-size:12px;color:var(--muted);font-weight:700;letter-spacing:.08em;text-transform:uppercase}
    .summary-hero-value{
      display:block;
      margin-top:12px;
      font-size:clamp(32px,4.5vw,42px);
      line-height:1;
      letter-spacing:-.05em;
      font-weight:820;
      background:linear-gradient(135deg,#5490ff,#5490ff);
      -webkit-background-clip:text;
      -webkit-text-fill-color:transparent;
      background-clip:text;
    }
    .summary-hero-meta,
    .summary-mini-card small,
    .summary-meta{display:block;margin-top:6px;font-size:13px;color:#71717a;line-height:1.5;text-wrap:balance}
    .summary-mini-card,.summary-card{justify-content:space-between}
    .summary-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
    .summary-mini-card,
    .summary-card{
      padding:16px 16px;
      min-height:140px;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      align-items:flex-start;
      text-align:left;
      border-top:3px solid #5490ff;border-color:rgba(84,144,255,.3);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 10px 24px rgba(0,0,0,.10);
      background:
        
        #ffffff;
      backdrop-filter:blur(8px);
    }
    .summary-mini-card b,
    .summary-card b{display:block;margin-top:10px;font-size:30px;line-height:1.1;letter-spacing:-.04em}
    .summary-mini-card.accent{border-top:3px solid #5490ff;border-color:rgba(84,144,255,.35);background:linear-gradient(180deg,rgba(84,144,255,.07),#fff 60%)}
    .summary-subsection{margin-top:18px}
    .summary-subsection:first-child{margin-top:0}
    .summary-subsection-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 2px 10px}
    .summary-subsection-head span{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#18181b}
    .summary-subsection-head small{display:block;font-size:12px;line-height:1.5;color:#71717a;text-align:right;max-width:22em;text-wrap:balance}
    .summary-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
    .summary-insight{
      min-height:118px;
      padding:16px 15px 15px;
      border-radius:14px;
      border:1px solid rgba(84,144,255,.1);
      background:
        
        #ffffff;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 12px 24px rgba(0,0,0,.12);
    }
    .summary-insight span{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#18181b}
    .summary-insight b{display:block;margin-top:12px;font-size:24px;line-height:1.14;letter-spacing:-.04em;color:#18181b;min-height:2.3em;text-wrap:balance}
    .summary-insight small{display:block;margin-top:10px;font-size:12px;line-height:1.58;color:#71717a;max-width:24em}
    .summary-insight.warm{border-left:3px solid #f59e0b;border-color:rgba(245,158,11,.35);background:linear-gradient(135deg,rgba(245,158,11,.06),#fff 50%)}
    .summary-insight.cool{border-left:3px solid #5490ff;border-color:rgba(84,144,255,.35);background:linear-gradient(135deg,rgba(84,144,255,.06),#fff 50%)}
    .comparison-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;align-items:stretch}
    .comparison-card{
      position:relative;
      overflow:hidden;
      min-height:134px;
      padding:17px 16px 16px;
      border-radius:14px;
      border:1px solid rgba(84,144,255,.1);
      background:
        
        #ffffff;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 14px 26px rgba(0,0,0,.12);
    }
    .comparison-card::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(135deg,rgba(0,0,0,.04),rgba(255,255,255,0) 42%);
      pointer-events:none;
    }
    .comparison-card span{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#18181b}
    .comparison-card b{display:block;margin-top:12px;font-size:25px;line-height:1.14;letter-spacing:-.04em;color:#18181b;min-height:2.3em;text-wrap:balance}
    .comparison-card small{display:block;margin-top:10px;font-size:12px;line-height:1.62;color:#71717a;max-width:24em}
    .comparison-card[data-trend="up"]{border-left:3px solid #5490ff;border-color:rgba(84,144,255,.3);background:linear-gradient(135deg,rgba(84,144,255,.07),#fff 50%)}
    .comparison-card[data-trend="down"]{border-left:3px solid #dc2626;border-color:rgba(239,68,68,.35);background:linear-gradient(135deg,rgba(239,68,68,.06),#fff 50%)}
    .comparison-card[data-trend="flat"]{border-color:rgba(0,0,0,.1);background:#ffffff}
    .comparison-card[data-trend="idle"]{border-color:rgba(0,0,0,.06)}
    .summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
    .summary-card:nth-child(1){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)}
    .summary-card:nth-child(2){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)}
    .summary-card:nth-child(3){border-top:3px solid #f59e0b;background:linear-gradient(180deg,rgba(245,158,11,.05),#fff 60%)}
    .summary-card:nth-child(4){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)}
    .summary-card.highlight{border-top:3px solid #5490ff;border-color:rgba(84,144,255,.3);background:linear-gradient(180deg,rgba(84,144,255,.07),#fff 50%)}
    .summary-card.total{border-top:3px solid #5490ff;border-color:rgba(84,144,255,.35);background:linear-gradient(180deg,rgba(84,144,255,.08),#fff 50%)}
    .momentum-panel{
      margin-top:12px;
      padding:18px;
      border-radius:14px;
      border:1px solid rgba(84,144,255,.4);
      background:
        
        linear-gradient(135deg,rgba(84,144,255,.04),#fff 40%);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 4px 16px rgba(15,23,42,.06);
    }
    .momentum-copy{display:flex;flex-direction:column;gap:8px}
    .momentum-kicker{display:inline-flex;align-self:flex-start;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(84,144,255,.18);border:1px solid rgba(84,144,255,.35);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#3d7ff5}
    .momentum-copy h4{margin:0;font-size:28px;line-height:1.14;letter-spacing:-.04em;font-weight:800;background:linear-gradient(135deg,#5490ff,#5490ff,#5490ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
    .momentum-copy p{margin:0;color:#71717a;font-size:14px;line-height:1.65;font-weight:400}
    .momentum-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
    .momentum-metric{min-height:96px;padding:14px 13px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(0,0,0,.04);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
    .momentum-metric.highlight{border-left:3px solid #5490ff;border-color:rgba(84,144,255,.3);background:linear-gradient(135deg,rgba(84,144,255,.06),#fff 50%)}
    .momentum-metric.cool{border-left:3px solid #5490ff;border-color:rgba(84,144,255,.3);background:linear-gradient(135deg,rgba(84,144,255,.06),#fff 50%)}
    .momentum-metric:nth-child(1){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)}
    .momentum-metric:nth-child(2){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)}
    .momentum-metric:nth-child(3){border-top:3px solid #f59e0b;background:linear-gradient(180deg,rgba(245,158,11,.05),#fff 60%)}
    .momentum-metric:nth-child(4){border-top:3px solid #5490ff;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)}
    .momentum-metric span{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#18181b}
    .momentum-metric b{display:block;margin-top:10px;font-size:26px;line-height:1.08;letter-spacing:-.04em;color:#18181b;font-weight:820}
    .momentum-metric small{display:block;margin-top:8px;font-size:12px;line-height:1.55;color:#52525b}
    .momentum-chart-wrap{margin-top:14px;padding:14px;border-radius:14px;background:linear-gradient(135deg,rgba(84,144,255,.07),rgba(84,144,255,.02),rgba(249,250,251,.8));border:1px solid rgba(84,144,255,.35)}
    .momentum-chart-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
    .momentum-chart-head span{font-size:13px;font-weight:700;color:#18181b}
    .momentum-chart-head small{font-size:12px;color:#52525b;line-height:1.5;text-align:right}
    .momentum-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:end;min-height:180px}
    .momentum-bar-item{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
    .momentum-bar-value{font-size:12px;font-weight:800;color:#52525b;min-height:16px}
    .momentum-bar-track{position:relative;display:flex;align-items:flex-end;justify-content:center;width:100%;height:112px;padding:8px 0;border-radius:999px;background:rgba(249,250,251,.8);border:1px solid rgba(0,0,0,.08);overflow:hidden}
    .momentum-bar-track i{display:block;width:100%;max-width:24px;border-radius:999px;background:linear-gradient(180deg,#5490ff,#5490ff);box-shadow:0 2px 8px rgba(84,144,255,.3);height:6%;min-height:6px;transition:height .3s ease, opacity .2s ease;opacity:.72}
    .momentum-bar-item:nth-child(even) .momentum-bar-track i{background:linear-gradient(180deg,#a78bfa,#5490ff);box-shadow:0 2px 8px rgba(84,144,255,.3)}
    .momentum-bar-item:nth-child(3n) .momentum-bar-track i{background:linear-gradient(180deg,#34d399,#10b981);box-shadow:0 2px 8px rgba(16,185,129,.3)}
    .momentum-bar-item.is-active .momentum-bar-track i{opacity:1;box-shadow:0 0 8px rgba(0,0,0,.15)}
    .momentum-bar-item.is-reference .momentum-bar-track{border-color:rgba(0,0,0,.28);box-shadow:0 0 0 1px rgba(0,0,0,.14), inset 0 1px 0 rgba(0,0,0,.02)}
    .momentum-bar-item.is-reference .momentum-bar-label{color:#18181b}
    .momentum-bar-label{font-size:11px;color:#52525b;font-weight:600;white-space:nowrap}
    .log-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
    .log-stat,.log-section,.stat{
      padding:12px 14px;
      border-radius:14px;
      background:rgba(255,255,255,.025);
      border:1px solid rgba(0,0,0,.04);
    }
    .stat{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
    .stat b{font-size:15px}
    .stat span,.log-stat span{font-size:12px;color:var(--muted);letter-spacing:.04em}
    .log-stat b{display:block;margin-top:6px;font-size:20px;line-height:1.2}
    .log-stat.stopped{border-color:rgba(255,176,32,.25)}
    .log-stat.total{border-color:rgba(0,0,0,.24)}
    .log-sections{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
    .log-section-title{font-size:14px;font-weight:800;color:#18181b}
    .log{margin-top:10px;display:flex;flex-direction:column;gap:8px;max-height:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
    .log-item{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.024);border:1px solid rgba(0,0,0,.03);font-size:13px;line-height:1.6}
    .log-badge{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:22px;padding:0 8px;margin-right:8px;border-radius:999px;background:rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.1);color:#18181b;font-size:12px;font-weight:800;vertical-align:middle}
    .log-badge.stopped{background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.1);color:#18181b}
    .empty{padding:14px;border:1px dashed rgba(0,0,0,.1);border-radius:14px;color:var(--muted);font-size:13px;background:#ffffff}
    .bottom-bar{
      position:fixed!important;
      left:0!important;
      right:0!important;
      bottom:0!important;
      z-index:9999!important;
      pointer-events:auto;
      padding:12px 14px calc(14px + env(safe-area-inset-bottom));
      background:linear-gradient(180deg,rgba(0,0,0,0) 0%, rgba(0,0,0,.68) 26%, rgba(0,0,0,.9) 100%);
      backdrop-filter:blur(16px);
      -webkit-transform:translateZ(0);
      transform:translateZ(0);
    }
    .bottom-note{
      max-width:820px;
      margin:0 auto 10px;
      padding:0 6px;
      color:#71717a;
      font-size:13px;
      line-height:1.5;
      text-align:center;
      pointer-events:none;
    }
    .bottom-context{
      max-width:820px;
      margin:0 auto 10px;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      pointer-events:none;
    }
    .bottom-chip{
      min-height:38px;
      padding:0 14px;
      border-radius:999px;
      background:rgba(0,0,0,.65);
      border:1px solid rgba(0,0,0,.06);
      color:#ffffff;
      display:inline-flex;
      align-items:center;
      gap:8px;
      box-shadow:0 4px 12px rgba(15,23,42,.06);
    }
    .bottom-chip span{font-size:11px;color:rgba(255,255,255,.7);letter-spacing:.08em;text-transform:uppercase}
    .bottom-chip strong{font-size:13px;font-weight:780;letter-spacing:.01em;color:#ffffff}
    .bottom-actions{background:rgba(255,255,255,.72);backdrop-filter:blur(28px) saturate(180%);-webkit-backdrop-filter:blur(28px) saturate(180%);border-top:1px solid rgba(255,255,255,.5);box-shadow:0 -4px 24px rgba(15,23,42,.04);
      max-width:820px;
      margin:0 auto;
      display:grid;
      grid-template-columns:1.3fr .85fr .85fr;
      gap:12px;
      pointer-events:auto;
      padding:12px;
      border-radius:26px;
      background:rgba(255,255,255,.85);
      border:1px solid rgba(0,0,0,.08);
      box-shadow:0 -2px 20px rgba(0,0,0,.06);
      transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }
    .bottom-actions.is-armed{
      border-color:rgba(0,0,0,.15);
      box-shadow:0 4px 20px rgba(0,0,0,.1);
      transform:translateY(-1px);
    }
    .bottom-actions .btn{height:64px;font-size:19px;border-radius:14px;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
    .bottom-actions .btn:active{transform:scale(.95);box-shadow:inset 0 2px 8px rgba(0,0,0,.12)}
    #startBtnBottom{font-size:21px;letter-spacing:.02em}
    #startBtnBottom{position:relative;overflow:hidden}
    .bottom-actions.is-armed #startBtnBottom:not(:disabled){
      animation:armedPulse 1.9s ease-in-out infinite;
      border-color:rgba(84,144,255,.3);
      box-shadow:0 18px 38px rgba(0,0,0,.34), inset 0 1px 0 rgba(0,0,0,.08);
    }
    .bottom-actions.is-armed #startBtnBottom:not(:disabled)::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(120deg, rgba(255,255,255,0) 22%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 78%);
      transform:translateX(-120%);
      animation:armedSheen 2.4s ease-in-out infinite;
      pointer-events:none;
    }
    @keyframes armedPulse{
      0%,100%{transform:translateY(0);filter:saturate(1)}
      50%{transform:translateY(-1px) scale(1.01);filter:saturate(1.08)}
    }
    @keyframes armedSheen{
      0%{transform:translateX(-120%)}
      55%,100%{transform:translateX(120%)}
    }
    .hero-focus-grid{display:none}
    .progress-dashboard{
      display:flex;
      flex-direction:column;
      gap:8px;
      margin-top:18px;
    }
    .pd-row{
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 16px;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.04);
      background:rgba(255,255,255,.03);
    }
    .pd-row.pd-today{border-color:rgba(0,0,0,.18);background:rgba(0,0,0,.06)}
    .pd-row.pd-streak{border-color:rgba(0,0,0,.08);background:#ffffff}
    .pd-icon{font-size:22px;flex-shrink:0;width:32px;text-align:center}
    .pd-info{flex:1;min-width:0}
    .pd-main{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
    .pd-main strong{font-size:26px;font-weight:800;letter-spacing:-.03em;color:var(--accent-2)}
    .pd-streak .pd-main strong{color:#18181b;border-bottom:2px solid #18181b;padding-bottom:2px}
    .pd-unit{font-size:13px;color:var(--muted);font-weight:600}
    .pd-main small{flex-basis:100%;font-size:12px;color:var(--muted);line-height:1.4;margin-top:2px}
    .pd-bar-track{margin-top:8px;height:8px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.06)}
    .pd-bar-fill{height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#5490ff,#5490ff);transition:width .4s ease}
    .pd-week .pd-main small,.pd-month .pd-main small{font-size:11px;color:var(--muted)}
    .pd-week .pd-main small .pd-up{color:var(--green)}
    .pd-week .pd-main small .pd-down{color:var(--red)}
    .pd-month .pd-main small .pd-up{color:var(--green)}
    .pd-month .pd-main small .pd-down{color:var(--red)}
    .focus-glance{
      position:relative;
      overflow:hidden;
      padding:16px 16px 15px;
      border-radius:14px;
      border:1px solid rgba(84,144,255,.35);
      background:
        
        #ffffff;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 12px 26px rgba(0,0,0,.12);
    }
    .focus-glance::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(135deg,rgba(0,0,0,.04),rgba(255,255,255,0) 40%);
      pointer-events:none;
    }
    .focus-glance.wide{grid-column:span 2}
    .focus-label{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
    .focus-value{display:block;margin-top:8px;font-size:34px;line-height:1.05;letter-spacing:-.05em;font-weight:900;color:var(--accent)}
    .focus-meta{display:block;margin-top:6px;font-size:13px;line-height:1.5;color:var(--muted);max-width:22em;text-wrap:balance}
    .focus-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
    .focus-progress-text{font-size:15px;font-weight:820;color:#18181b;letter-spacing:.02em}
    .focus-progress-track{margin-top:12px;height:12px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid rgba(0,0,0,.03);box-shadow:inset 0 2px 8px rgba(15,23,42,.06)}
    .focus-progress-fill{height:100%;width:0%;background:linear-gradient(90deg,#5490ff,#3d7ff5);box-shadow:0 0 18px rgba(0,0,0,.26);transition:width .35s ease}
    .smart-actions-card{display:none;margin-top:18px}
    .smart-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
    .smart-action-btn{
      position:relative;
      overflow:hidden;
      min-height:132px;
      padding:16px;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.08);
      background:
        radial-gradient(circle at top right, rgba(0,0,0,.14), transparent 42%),
        #ffffff;
      color:var(--text);
      text-align:left;
      cursor:pointer;
      box-shadow:inset 0 1px 0 rgba(0,0,0,.04), 0 12px 28px rgba(0,0,0,.14);
      transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
      -webkit-tap-highlight-color:transparent;
    }
    .smart-action-btn::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.04),rgba(255,255,255,0) 40%);pointer-events:none}
    .smart-action-btn:hover{transform:translateY(-1px);border-color:rgba(0,0,0,.28);box-shadow:inset 0 1px 0 rgba(0,0,0,.06),0 16px 32px rgba(0,0,0,.18)}
    .smart-action-btn:active{transform:scale(.97)}
    .smart-action-btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none;transform:none}
    .smart-action-btn.secondary{border-color:rgba(0,0,0,.18);background:radial-gradient(circle at top right, rgba(0,0,0,.10), rgba(177,245,216,0) 44%),#ffffff}
    .smart-action-btn.muted{border-style:dashed;background:rgba(255,255,255,.022);box-shadow:none}
    .smart-action-label{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(0,0,0,.04);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#18181b}
    .smart-action-btn strong{display:block;margin-top:14px;font-size:24px;line-height:1.1;letter-spacing:-.04em}
    .smart-action-btn small{display:block;margin-top:10px;font-size:13px;line-height:1.58;color:#52525b}
    .summary-toolbar{display:none;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
    .summary-toolbar-note{color:var(--muted);font-size:13px;line-height:1.5}
    .mobile-summary-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid rgba(84,144,255,.1);background:rgba(255,255,255,.04);color:#18181b;font-size:13px;font-weight:800;letter-spacing:.03em;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);cursor:pointer;-webkit-tap-highlight-color:transparent}
    .mobile-summary-toggle[hidden]{display:none}
    .summary-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
    .summary-nav-chip{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(84,144,255,.1);background:rgba(255,255,255,.036);color:#18181b;font-size:13px;font-weight:760;letter-spacing:.02em;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
    .summary-nav-chip:hover{transform:translateY(-1px);border-color:rgba(0,0,0,.28);box-shadow:0 12px 24px rgba(0,0,0,.14), inset 0 1px 0 rgba(0,0,0,.03)}
    .summary-nav-chip.is-active,.summary-nav-chip[aria-current],.summary-nav-chip.active{background:linear-gradient(135deg,#5490ff,#3d7ff5)!important;color:#fff!important;border-color:#5490ff!important;box-shadow:0 4px 14px rgba(84,144,255,.25)!important}
    .summary-detail-stack{display:grid;gap:12px;margin-top:12px}
    .summary-detail-stack[hidden]{display:none}
    #smartActionsCard,#practiceModes,#customPanel,#statsOverview,#summaryAdvice,#summaryTotals,#summaryMomentum{scroll-margin-top:92px}
    #statsOverview,.stats-separator{max-width:1180px;margin-left:auto;margin-right:auto}

    @media (min-width:721px){
      .wrap{padding-bottom:44px}
      .bottom-bar{display:none}
    }
    @media (max-width:720px){
      .wrap{padding:12px 12px calc(156px + env(safe-area-inset-bottom))}
      .hero{padding:16px}
      .hero-top{gap:8px}
      
      .title{margin-top:10px;font-size:32px}
      .sub{margin-top:8px;font-size:13px;line-height:1.5}
      .session-spotlight{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
      /* Simplified mobile: hide complex sections when idle */
      body[data-session-state="idle"] .session-spotlight{display:none}
      body[data-session-state="idle"] .hero-focus-grid{display:none}
      body[data-session-state="idle"] .smart-actions-card{display:none}
      body[data-session-state="idle"] .section-rail{display:none}
      .session-spotlight .spotlight-card.primary{grid-column:1/-1}
      .spotlight-card{min-height:112px;padding:14px 14px 13px;border-radius:14px}
      .spotlight-card strong{margin-top:12px;font-size:22px}
      .spotlight-card small{font-size:12px;line-height:1.55}
      .timer-box{margin-top:14px;padding:12px;border-radius:14px}
      .timer-shell{grid-template-columns:1fr;gap:12px}
      .timer-main{padding:16px 14px 14px;border-radius:14px}
      .countdown{margin-top:10px;font-size:64px}
      .status{margin-top:10px;min-height:0;font-size:14px;line-height:1.55}
      .selection-strip{display:none}
      .progress{margin-top:14px}
      body[data-session-state="running"] .hero,
      body[data-session-state="paused"] .hero{padding:12px}
      body[data-session-state="running"] .hero-top,
      body[data-session-state="paused"] .hero-top,
      body[data-session-state="running"] .hero-quick-start,
      body[data-session-state="paused"] .hero-quick-start,
      body[data-session-state="running"] .session-spotlight,
      body[data-session-state="paused"] .session-spotlight,
      body[data-session-state="running"] .hero-focus-grid,
      body[data-session-state="paused"] .hero-focus-grid{display:none}
      body[data-session-state="running"] .timer-box,
      body[data-session-state="paused"] .timer-box{margin-top:0;padding:12px 12px 10px}
      body[data-session-state="running"] .timer-shell,
      body[data-session-state="paused"] .timer-shell{gap:10px}
      body[data-session-state="running"] .timer-main,
      body[data-session-state="paused"] .timer-main{padding:14px 13px 12px}
      body[data-session-state="running"] .task-name,
      body[data-session-state="paused"] .task-name{margin-top:10px;font-size:28px}
      body[data-session-state="running"] .countdown,
      body[data-session-state="paused"] .countdown{font-size:60px}
      .hero-focus-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
      .focus-glance{padding:14px 14px 13px;border-radius:14px}
      .focus-glance.wide{grid-column:1/-1}
      .focus-value{font-size:26px}
      .focus-meta{font-size:12px;line-height:1.5}
      .smart-actions-card{margin-top:16px}
      .smart-actions-grid{grid-template-columns:1fr;gap:10px;margin-top:10px}
      .smart-action-btn{min-height:0;padding:14px;border-radius:14px}
      .smart-action-btn strong{margin-top:12px;font-size:22px}
      .section-rail{grid-template-columns:1fr;gap:12px;padding:16px}
      .section-rail-copy strong{font-size:16px;line-height:1.45}
      .section-rail-copy small{font-size:12px;line-height:1.55}
      .section-jump-list{justify-content:flex-start;gap:8px}
      .section-jump{min-height:40px;padding:0 14px;font-size:13px}
      body[data-session-state="running"] .smart-actions-card,
      body[data-session-state="paused"] .smart-actions-card{margin-top:12px;padding:12px}
      body[data-session-state="running"] .smart-actions-card .section-head,
      body[data-session-state="paused"] .smart-actions-card .section-head{display:none}
      body[data-session-state="running"] .smart-actions-grid,
      body[data-session-state="paused"] .smart-actions-grid{margin-top:0;gap:8px}
      body[data-session-state="running"] .smart-action-btn,
      body[data-session-state="paused"] .smart-action-btn{padding:12px 14px;border-radius:14px}
      body[data-session-state="running"] .smart-action-label,
      body[data-session-state="paused"] .smart-action-label{min-height:24px;padding:0 8px;font-size:10px}
      body[data-session-state="running"] .smart-action-btn strong,
      body[data-session-state="paused"] .smart-action-btn strong{margin-top:8px;font-size:19px}
      body[data-session-state="running"] .smart-action-btn small,
      body[data-session-state="paused"] .smart-action-btn small{margin-top:6px;font-size:12px;line-height:1.45}
      .grid{grid-template-columns:1fr;gap:16px;margin-top:16px}
      .card{padding:16px}
      .mode-card{padding:17px 15px 15px;min-height:auto}
      .mode-card-topline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px}
      .mode-card-tag{justify-content:center;min-height:34px;padding:6px 8px;font-size:11px;line-height:1.3;text-align:center}
      .mode-note{margin-top:8px;min-height:auto;padding-right:0;max-width:24em;font-size:12px;line-height:1.46;text-wrap:pretty}
      .section-head{gap:8px}
      .section-head::after{width:44px;margin-top:2px}
      .mode-card .section-head{margin-bottom:12px;min-height:auto}
      .mode-card .section-desc{max-width:24em;padding-right:0;min-height:auto;line-height:1.46;text-wrap:balance}
      .card h3{font-size:22px}
      .btn-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
      .mode-card .btn-grid{grid-auto-rows:minmax(54px,1fr)}
      .btn{min-height:54px;font-size:15px;border-radius:14px}
      .timer-side{gap:10px}
      .first-screen-picker{padding:14px;border-radius:14px;gap:10px}
      .first-screen-picker-head{display:block}
      .first-screen-picker-head strong{font-size:18px}
      .first-screen-picker-head small{font-size:12px;line-height:1.55}
      .first-screen-picker-grid{gap:8px}
      .first-screen-choice{min-height:62px;padding:12px;border-radius:17px;justify-content:center;align-items:center;text-align:center;gap:4px}
      .first-screen-choice span{align-self:center}
      .first-screen-choice b{font-size:17px;align-self:center}
      .first-screen-actions{display:none}
      .first-screen-tip{padding:10px 12px;border-radius:14px}
      .custom-panel{margin-top:18px}
      .custom-row{margin-top:12px}
      .custom-label{min-height:32px;font-size:11px;letter-spacing:.14em}
      .custom-input{padding:16px 18px;font-size:18px;border-radius:14px}
      .custom-presets{gap:8px}
      .preset-chip{flex:1 1 calc(33.333% - 6px);min-height:44px;padding:0 12px;font-size:14px}
      .custom-cta-strip,.custom-actions{grid-template-columns:1fr}
      .custom-action-btn{min-height:66px;padding:12px 14px;gap:5px}
      .custom-action-btn span{font-size:14px}
      .custom-action-btn small{font-size:11px;line-height:1.45}
      .summary-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start}
      .summary-toolbar-note{flex:1 1 100%;font-size:12px;padding-left:2px}
      .mobile-summary-toggle{min-height:38px;padding:0 14px;font-size:12px}
      .summary-nav{gap:8px;margin-top:10px}
      .summary-nav-chip{min-height:38px;padding:0 12px;font-size:12px}
      .summary-spotlight{grid-template-columns:1fr;gap:10px}
      .summary-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
      .summary-detail-stack{gap:10px;margin-top:10px}
      .summary-subsection-head{flex-direction:column;align-items:flex-start}
      .summary-subsection-head small{text-align:left}
      .summary-insights{grid-template-columns:1fr;gap:10px}
      .comparison-insights{grid-template-columns:1fr;gap:10px}
      .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
      .momentum-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
      .momentum-chart{gap:8px;min-height:160px}
      .summary-hero-card,.summary-mini-card,.summary-card,.summary-insight,.comparison-card{min-height:126px;padding:16px 14px;border-radius:14px}
      .summary-hero-value,.summary-mini-card b,.summary-card b,.summary-insight b,.comparison-card b{font-size:24px}
      .log-summary{grid-template-columns:1fr 1fr}
      .bottom-bar{padding:10px 12px calc(12px + env(safe-area-inset-bottom))}
      .bottom-note{margin-bottom:8px;font-size:12px}
      .bottom-context{margin-bottom:8px;gap:6px}
      .bottom-chip{min-height:34px;padding:0 12px}
      .bottom-chip strong{font-size:12px}
      .bottom-actions{
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-template-areas:
          "start start"
          "pause stop";
        gap:10px;
        padding:10px;
        border-radius:14px;
      }
      .bottom-actions .btn{height:56px;font-size:17px;border-radius:14px}
      #startBtnBottom{grid-area:start;height:62px;font-size:21px}
      #pauseBtnBottom{grid-area:pause}
      #stopBtnBottom{grid-area:stop}
    }
    @media (max-width:420px){
      .wrap{padding:12px 10px calc(170px + env(safe-area-inset-bottom))}
      .spotlight-card{padding:13px 13px 12px;border-radius:17px}
      .spotlight-card strong{margin-top:10px;font-size:21px;line-height:1.14}
      .spotlight-card small{margin-top:8px;line-height:1.48}
      body[data-session-state="running"] .wrap,
      body[data-session-state="paused"] .wrap{padding-top:8px}
      .hero{padding:18px 14px}
      .eyebrow{margin-top:8px;font-size:11px;letter-spacing:.16em}
      .title{margin-top:12px;font-size:34px}
      .sub{margin-top:10px;font-size:14px;line-height:1.58}
      .hero-quick-start{display:none;margin-top:14px;padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(0,0,0,.04)}
      .hero-quick-head small{font-size:11px}
      .hero-quick-chip{min-height:44px;font-size:14px;border-radius:14px}
      .countdown{font-size:68px}
      .selection-strip,.summary-grid,.summary-mini-grid,.summary-insights,.session-spotlight,.momentum-metrics{grid-template-columns:1fr}
      .first-screen-picker{padding:11px 12px 12px;border-radius:14px;gap:9px}
      .first-screen-picker-head strong{font-size:17px}
      .first-screen-picker-head small{margin-top:5px;max-width:17.6em;font-size:11px;line-height:1.36;text-wrap:balance}
      .first-screen-balance{margin-top:8px;gap:6px}
      .first-screen-balance-chip{min-height:26px;padding:0 9px;font-size:10px}
      .first-screen-picker-grid{grid-template-columns:1fr 1fr;gap:8px}
      .first-screen-choice{min-height:68px;padding:12px 12px 11px;border-radius:14px;justify-content:center;gap:4px;text-align:center;align-items:center}
      .first-screen-choice span{font-size:10px;align-self:center}
      .first-screen-choice b{font-size:17px;line-height:1.1;align-self:center}
      .first-screen-actions{gap:8px}
      .first-screen-actions .btn{height:52px;font-size:15px}
      .session-spotlight{margin-top:12px;gap:10px}
      .session-spotlight .spotlight-card:nth-child(3){display:none}
      .hero-focus-grid{display:none}
      .momentum-chart{gap:6px;min-height:148px}
      .session-spotlight .spotlight-card.primary{grid-column:auto}
      .hero-focus-grid{grid-template-columns:1fr}
      .focus-glance.wide{grid-column:auto}
      .mode-card{padding:16px 14px 14px}
      .mode-card-topline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;margin-bottom:10px;align-items:stretch}
      .mode-card-tag{display:flex;align-items:center;justify-content:center;min-height:32px;padding:6px 8px;font-size:10px;line-height:1.25;text-align:center}
      .mode-card-tag:last-child{grid-column:1 / -1}
      .mode-card .section-head{margin-bottom:11px}
      .mode-card .section-desc{max-width:19.4em;line-height:1.46;text-wrap:balance}
      .mode-note{margin-top:7px;min-height:auto;max-width:19.4em;line-height:1.48;text-wrap:pretty}
      .btn-grid{grid-template-columns:1fr 1fr;gap:8px}
      .btn{font-size:14px}
      .section-desc{font-size:13px}
      .section-jump-list,.summary-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
      .section-jump,.summary-nav-chip{width:100%}
      .custom-input{font-size:17px;padding:15px 16px}
      .bottom-note{display:none}
      .bottom-context{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        gap:6px;
        padding:0 2px 2px;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
      }
      .bottom-context::-webkit-scrollbar{display:none}
      .bottom-chip{
        width:auto;
        min-width:max-content;
        flex:0 0 auto;
        justify-content:flex-start;
        white-space:nowrap;
      }
      .bottom-actions{gap:8px;padding:8px}
      .bottom-actions .btn{height:54px;font-size:16px}
      #startBtnBottom{height:58px;font-size:20px}
      body[data-session-state="running"] .bottom-context,
      body[data-session-state="paused"] .bottom-context{display:none}
      body[data-session-state="running"] .bottom-bar,
      body[data-session-state="paused"] .bottom-bar{padding:8px 10px calc(10px + env(safe-area-inset-bottom))}
      body[data-session-state="running"] .bottom-actions,
      body[data-session-state="paused"] .bottom-actions{padding:7px}
      body[data-session-state="running"] .bottom-actions .btn,
      body[data-session-state="paused"] .bottom-actions .btn{height:52px;font-size:15px}
      body[data-session-state="running"] #startBtnBottom,
      body[data-session-state="paused"] #startBtnBottom{height:56px;font-size:18px}
      .summary-hero-card,.summary-mini-card,.summary-card,.summary-insight,.comparison-card{min-height:104px;padding:12px 12px;border-radius:14px}
      .summary-hero-value,.summary-mini-card b,.summary-card b,.summary-insight b,.comparison-card b{font-size:22px}
    }
  
    @keyframes barPulse{0%,100%{box-shadow:0 0 8px rgba(0,0,0,.15)}50%{box-shadow:0 0 16px rgba(0,0,0,.25)}}
    .momentum-bar-item.is-active .momentum-bar-track i{animation:barPulse 2.4s ease-in-out infinite}
  
    #momentumTitle{color:#18181b!important;border-bottom:2px solid #18181b;padding-bottom:4px;display:inline-block}
    .momentum-bar-item.is-active .momentum-bar-track{background:rgba(0,0,0,.03)}
    .momentum-metric.highlight b{color:#18181b}
  
@keyframes startFlash{
      0%{background:#5490ff;box-shadow:0 4px 12px rgba(84,144,255,.3)}
      40%{background:#dc2626;box-shadow:0 8px 20px rgba(84,144,255,.4)}
      100%{background:#5490ff;box-shadow:0 4px 12px rgba(84,144,255,.3)}
    }
    .btn.start-primary:active{
      animation:startFlash .35s ease-out;
      transform:scale(.96);
    }
  
    /* --- Animated background light spots --- */
  
    /* --- Chart bar tooltip --- */
    .bar-tooltip{position:absolute;top:-36px;left:50%;transform:translateX(-50%) scale(.9);background:rgba(0,0,0,.82);color:#ffffff;padding:6px 12px;border-radius:10px;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;z-index:10;backdrop-filter:blur(8px)}
    .bar-tooltip.show{opacity:1;transform:translateX(-50%) scale(1)}
    .momentum-bar-item{position:relative;cursor:pointer}
  
    /* --- Dark mode (complete) --- */

    .summary-hero-card,.summary-card,.summary-mini-card,.comparison-card,.summary-insight{
      transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
    }
    .summary-hero-card:hover,.summary-card:hover,.summary-mini-card:hover,.comparison-card:hover,.summary-insight:hover{
      transform:translateY(-2px);
      box-shadow:0 12px 32px rgba(15,23,42,.08);
    }

    /* --- Toast notification --- */
    .toast{position:fixed;top:20px;left:50%;transform:translateX(-50%) translateY(-100px);z-index:9999;
      padding:14px 28px;border-radius:14px;font-size:15px;font-weight:600;
      background:rgba(15,23,42,.92);color:#f4f4f5;backdrop-filter:blur(12px);
      box-shadow:0 8px 32px rgba(0,0,0,.3);transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .3s ease;
      pointer-events:none;opacity:0;white-space:nowrap}
    .toast.show{transform:translateX(-50%) translateY(0);opacity:1}
    .toast.success{background:rgba(16,185,129,.92);color:#fff}
    .toast.warn{background:rgba(245,158,11,.92);color:#fff}
    @media(max-width:720px){
      .toast{top:env(safe-area-inset-top,12px);font-size:14px;padding:12px 22px}
    }
    /* --- Session completion celebration --- */
    @keyframes streakCelebrate{
      0%{transform:scale(1);filter:brightness(1)}
      30%{transform:scale(1.12);filter:brightness(1.2)}
      60%{transform:scale(1.05);filter:brightness(1.1)}
      100%{transform:scale(1);filter:brightness(1)}
    }
    .streak-celebrate{animation:streakCelebrate .6s ease-out}
    @keyframes confettiBurst{
      0%{opacity:1;transform:translateY(0) scale(1)}
      100%{opacity:0;transform:translateY(-40px) scale(1.5)}
    }
    .confetti-dot{position:absolute;width:6px;height:6px;border-radius:50%;pointer-events:none;animation:confettiBurst .8s ease-out forwards}

/* ═══ GLOBAL POLISH OVERRIDE v2026.06.03-v2 ═══ */

    /* === Cards: visible depth === */
    .hero,.card,.spotlight-card,.section-rail,.summary-hero-card,.summary-mini-card,.summary-card,.summary-insight,.comparison-card{
      box-shadow:0 2px 8px rgba(0,0,0,.07), 0 12px 32px rgba(0,0,0,.09)!important;
      border-radius:14px!important;
    }
    .hero{box-shadow:0 4px 16px rgba(0,0,0,.08), 0 20px 48px rgba(0,0,0,.1)!important;border-radius:14px!important}

    /* === Countdown: white bg, dark text, clean === */
    .countdown{
      background:#fff!important;
      color:#18181b!important;
      text-shadow:none!important;
      font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif!important;
      letter-spacing:.06em!important;
      border-left:4px solid #5490ff!important;
      box-shadow:inset 0 0 0 1px rgba(0,0,0,.08), 0 6px 24px rgba(0,0,0,.1)!important;
      border-radius:14px!important;
    }
    .countdown::after{background:rgba(0,0,0,.04)!important}

.countdown,.flip-clock{
  text-align:center!important;
  letter-spacing:0!important;
  font-kerning:none!important;
  font-variant-numeric:tabular-nums lining-nums!important;
  font-feature-settings:'tnum' 1,'lnum' 1!important;
}
.timer-main{
  align-items:center!important;
}
.timer-main .mode,
.timer-main .task-name,
.timer-main .status,
.timer-main .progress{
  width:100%!important;
  text-align:center!important;
}
.countdown{
  padding:24px 28px 20px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.flip-clock-wrap{
  width:100%!important;
  justify-content:center!important;
}
.flip-clock{
  margin-left:auto!important;
  margin-right:auto!important;
  letter-spacing:0!important;
  text-align:center!important;
  padding:24px 20px 20px!important;
}

    .flip-clock-wrap{position:relative;display:flex;justify-content:center;align-items:center;min-height:240px}
    .flip-clock{
      min-width:min(100%,560px);
      padding:24px 22px 20px!important;
      border-radius:28px!important;
      background:linear-gradient(180deg,#18181b 0%,#18181b 100%)!important;
      color:#f4f4f5!important;
      box-shadow:0 18px 40px rgba(17,24,39,.18), inset 0 1px 0 rgba(255,255,255,.06)!important;
      border:1px solid rgba(255,255,255,.08)!important;
      letter-spacing:0!important;
      position:relative;
      overflow:hidden;
    }
    .flip-clock::before{
      content:"";
      position:absolute;
      left:14px;right:14px;top:50%;height:2px;
      background:rgba(255,255,255,.16);
      box-shadow:0 1px 0 rgba(0,0,0,.32);
      pointer-events:none;
    }
    .flip-clock::after{
      content:"";
      position:absolute;
      inset:10px;
      border-radius:14px;
      border:1px solid rgba(255,255,255,.05);
      pointer-events:none;
    }
    .sitting-presets{
      margin-top:14px;
      padding:14px;
      border-radius:14px;
      background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(243,244,246,.95));
      border:1px solid rgba(17,24,39,.08);
      box-shadow:0 8px 24px rgba(15,23,42,.06);
    }
    .sitting-presets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:0}
    .sitting-preset-chip{
      min-height:48px;
      border:1px solid rgba(148,163,184,.22);
      border-radius:14px;
      background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.95));
      color:#18181b;
      font-size:14px;
      font-weight:780;
      letter-spacing:.01em;
      box-shadow:0 8px 18px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.92);
      cursor:pointer;
      transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
    }
    .sitting-preset-chip:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(84,144,255,.12);border-color:rgba(96,165,250,.34)}
    .sitting-preset-chip:active{transform:scale(.98)}
    .sitting-preset-chip.is-selected,.sitting-preset-chip[aria-pressed="true"]{border-color:rgba(84,144,255,.4);background:linear-gradient(180deg,rgba(239,246,255,.98),rgba(246,250,255,.98));box-shadow:0 0 0 1px rgba(96,165,250,.22),0 14px 28px rgba(84,144,255,.12), inset 0 1px 0 rgba(255,255,255,.95)}
    @media (max-width:720px){
      .sitting-presets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .first-screen-picker-headline{display:block}
      .first-screen-picker-headline small{display:block;margin-top:4px}
      .flip-clock{font-size:clamp(56px,16vw,92px)!important;padding:20px 16px 18px!important;border-radius:14px!important}
      .flip-clock-wrap{min-height:208px}
    }

    /* === Timer area text === */
    .mode{color:#71717a!important;font-weight:600!important;letter-spacing:.04em!important}
    .task-name{color:#18181b!important;font-weight:900!important;font-size:20px!important}
    .status{color:#71717a!important;font-size:13px!important}
    .status{font-size:14px!important;line-height:1.55!important;max-width:26em!important}.mode{letter-spacing:.08em!important}.first-screen-picker-headline small{font-size:11px!important}

    /* === Buttons: clear, visible, differentiated === */
    .btn{border-radius:14px!important;font-weight:700!important;transition:all .2s ease!important}
    .btn.start-primary{background:linear-gradient(135deg,#5490ff,#3d7ff5)!important;color:#fff!important;border:2px solid #5490ff!important;font-weight:800!important;font-size:17px!important;box-shadow:0 4px 20px rgba(84,144,255,.3)!important}
    .btn.start-primary:hover{transform:translateY(-1px)!important;box-shadow:0 6px 24px rgba(84,144,255,.4)!important}
    .btn.warn{background:#fff!important;color:#3d7ff5!important;border:2px solid #5490ff!important;font-weight:700!important;box-shadow:0 2px 8px rgba(84,144,255,.12)!important}
    .btn.warn:hover{background:#eff6ff!important;box-shadow:0 4px 12px rgba(84,144,255,.2)!important}
    .btn.stop{background:#fff1f2!important;color:#dc2626!important;border:2px solid #dc2626!important;font-weight:700!important;box-shadow:0 2px 8px rgba(220,38,38,.12)!important}
    .btn.stop:hover{background:rgba(220,38,38,.06)!important;box-shadow:0 4px 12px rgba(220,38,38,.2)!important}
    .btn:disabled{opacity:.5!important;cursor:not-allowed!important}

    /* === Selection pills: elevated === */
    .selection-pill{
      box-shadow:0 2px 8px rgba(0,0,0,.06)!important;
      transition:transform .15s ease,box-shadow .15s ease!important;
      border:1px solid rgba(0,0,0,.08)!important;
      border-radius:12px!important;
    }
    .selection-pill:hover{
      transform:translateY(-2px)!important;
      box-shadow:0 6px 18px rgba(0,0,0,.1)!important;
    }
    .selection-pill:active{transform:scale(.97)!important}

    /* === Preset chips: color-coded by duration === */
    .preset-chip{border-radius:10px!important;font-weight:600!important;transition:all .15s ease!important}
    .preset-chip[data-custom-preset="20"]{border-color:rgba(84,144,255,.3)!important;color:#5490ff!important;background:rgba(84,144,255,.04)!important}
    .preset-chip[data-custom-preset="30"]{border-color:rgba(84,144,255,.35)!important;color:#3d7ff5!important;font-weight:700!important;background:rgba(84,144,255,.06)!important}
    .preset-chip[data-custom-preset="45"]{border-color:rgba(20,184,166,.3)!important;color:#5490ff!important;background:rgba(20,184,166,.04)!important}
    .preset-chip[data-custom-preset="60"]{border-color:rgba(84,144,255,.3)!important;color:#3d7ff5!important;font-weight:700!important;background:rgba(84,144,255,.05)!important}
    .preset-chip[data-custom-preset="90"]{border-color:rgba(245,158,11,.3)!important;color:#d97706!important;background:rgba(245,158,11,.04)!important}
    .preset-chip[data-custom-preset="120"]{border-color:rgba(84,144,255,.3)!important;color:#9333ea!important;background:rgba(84,144,255,.04)!important}
    .preset-chip:hover{transform:translateY(-1px)!important;box-shadow:0 3px 10px rgba(0,0,0,.08)!important}
    .preset-chip:active{transform:scale(.96)!important}

    /* === Stat spotlight cards: colored left accent === */
    .spotlight-card{border-left:3px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.04),#fff 40%)!important}
    .spotlight-card.primary{border-left:3px solid #5490ff!important;border-top:3px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.05),rgba(84,144,255,.03),#fff 50%)!important}
    .spotlight-card strong{font-size:32px!important;font-weight:900!important;color:#18181b!important;letter-spacing:-.03em!important;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif!important}
    .spotlight-card small{color:#71717a!important;font-size:13px!important;line-height:1.6!important}

    /* === Summary hero card === */
    .summary-hero-card{border-left:4px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.06),rgba(84,144,255,.03),#fff 50%)!important}

    /* === Summary mini cards === */
    .summary-mini-card{border-top:3px solid #5490ff!important;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)!important}
    .summary-mini-card.accent{border-top:3px solid #5490ff!important;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)!important}

    /* === Summary cards grid (today/week/month/all) === */
    .summary-card{border-radius:14px!important;transition:transform .15s ease!important}
    .summary-card:hover{transform:translateY(-2px)!important}
    .summary-card:nth-child(1){border-top:3px solid #5490ff!important;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)!important}
    .summary-card:nth-child(2){border-top:3px solid #5490ff!important;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)!important}
    .summary-card:nth-child(3){border-top:3px solid #f59e0b!important;background:linear-gradient(180deg,rgba(245,158,11,.05),#fff 60%)!important}
    .summary-card:nth-child(4){border-top:3px solid #5490ff!important;background:linear-gradient(180deg,rgba(84,144,255,.05),#fff 60%)!important}

    /* === Insight cards === */
    .summary-insight{border-radius:14px!important;border-left:3px solid #f59e0b!important;background:linear-gradient(135deg,rgba(245,158,11,.06),#fff 50%)!important}
    .summary-insight.cool{border-left:3px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.06),#fff 50%)!important}

    /* === Comparison cards === */
    .comparison-card{border-radius:14px!important}
    .comparison-card[data-trend="up"]{border-left:3px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.05),#fff 50%)!important}
    .comparison-card[data-trend="down"]{border-left:3px solid #dc2626!important;background:linear-gradient(135deg,rgba(239,68,68,.04),#fff 50%)!important}

    /* === Momentum section === */
    .momentum-panel{border:1px solid rgba(84,144,255,.15)!important;background:linear-gradient(135deg,rgba(84,144,255,.03),rgba(84,144,255,.02),#fff 40%)!important;border-radius:14px!important}
    .momentum-metric{border-radius:12px!important;transition:transform .15s ease!important}
    .momentum-metric:hover{transform:translateY(-1px)!important}
    .momentum-metric.highlight{border-left:3px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.05),#fff 50%)!important}
    .momentum-metric.cool{border-left:3px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.05),#fff 50%)!important}
    .momentum-metric:nth-child(3){border-left:3px solid #f59e0b!important;background:linear-gradient(135deg,rgba(245,158,11,.05),#fff 50%)!important}
    .momentum-metric:nth-child(4){border-left:3px solid #5490ff!important;background:linear-gradient(135deg,rgba(84,144,255,.05),#fff 50%)!important}

    /* === Streak heading gradient === */
    .momentum-copy h4{
      background:linear-gradient(135deg,#5490ff,#5490ff)!important;
      -webkit-background-clip:text!important;
      -webkit-text-fill-color:transparent!important;
      background-clip:text!important;
      font-weight:800!important;
    }

    /* === Momentum kicker badge === */
    .momentum-kicker{
      background:rgba(84,144,255,.08)!important;
      border:1px solid rgba(84,144,255,.15)!important;
      color:#3d7ff5!important;
      border-radius:8px!important;
      font-weight:600!important;
    }

    /* === Bar chart: multi-color === */
    .momentum-chart-wrap{
      background:linear-gradient(135deg,rgba(84,144,255,.03),rgba(84,144,255,.02),rgba(249,250,251,.8))!important;
      border-radius:14px!important;
    }
    .momentum-bar-track{background:rgba(0,0,0,.04)!important;border-radius:6px!important}
    .momentum-bar-track i{background:linear-gradient(180deg,#5490ff,#5490ff,#3d7ff5)!important;box-shadow:0 2px 8px rgba(84,144,255,.3)!important;border-radius:6px!important}
    .momentum-bar-item:nth-child(even) .momentum-bar-track i{background:linear-gradient(180deg,#a78bfa,#5490ff)!important;box-shadow:0 2px 8px rgba(84,144,255,.3)!important}
    .momentum-bar-item:nth-child(3n) .momentum-bar-track i{background:linear-gradient(180deg,#34d399,#10b981)!important;box-shadow:0 2px 8px rgba(16,185,129,.3)!important}
    .momentum-bar-item:nth-child(5n) .momentum-bar-track i{background:linear-gradient(180deg,#fbbf24,#f59e0b)!important;box-shadow:0 2px 8px rgba(245,158,11,.3)!important}

    /* === Summary nav chips (tabs) === */
    .summary-nav-chip{font-weight:600!important;border-radius:10px!important;transition:all .2s ease!important}
    .summary-nav-chip:hover{background:rgba(84,144,255,.08)!important;color:#3d7ff5!important}
    .summary-nav-chip.is-active{background:linear-gradient(135deg,#5490ff,#3d7ff5)!important;color:#fff!important;border-color:#5490ff!important;box-shadow:0 4px 14px rgba(84,144,255,.25)!important}

    /* === Section headings === */
    .section-head h3,.card h3,h3{font-weight:800!important;color:#18181b!important;letter-spacing:-.01em!important}

    /* === Section rail === */
    .section-rail{box-shadow:0 1px 4px rgba(0,0,0,.05)!important;border-radius:12px!important}

    /* === First screen actions === */
    .first-screen-actions{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.98))!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 12px 28px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.92)!important;border-radius:14px!important;padding:10px!important;grid-template-columns:1.18fr 1fr 1fr!important}

    /* === First screen choice buttons === */
    .first-screen-choice{border-radius:14px!important;transition:all .18s ease!important;min-height:86px!important;padding:15px 16px 14px!important;overflow:hidden!important;isolation:isolate!important;border:1px solid rgba(148,163,184,.22)!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.94))!important;box-shadow:0 14px 30px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.92)!important;justify-content:space-between!important;gap:10px!important;align-items:flex-start!important;text-align:left!important}
    .first-screen-choice:hover{transform:translateY(-2px)!important;box-shadow:0 18px 34px rgba(84,144,255,.12), inset 0 1px 0 rgba(255,255,255,.96)!important;border-color:rgba(96,165,250,.42)!important;background:linear-gradient(180deg,#ffffff,rgba(243,247,255,.96))!important}
    .first-screen-choice::after{content:;position:absolute;inset:auto -24% -48% auto;width:110px;height:110px;border-radius:999px;background:radial-gradient(circle,rgba(84,144,255,.10),rgba(84,144,255,0));z-index:-1;opacity:.9;transition:opacity .18s ease,transform .18s ease}
    .first-screen-choice:hover::after{transform:scale(1.06);opacity:1}
    .first-screen-choice span{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:0 10px!important;border-radius:999px!important;background:rgba(255,255,255,.78)!important;border:1px solid rgba(148,163,184,.18)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;color:#71717a!important;text-transform:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important}
    .first-screen-choice b{font-size:22px!important;line-height:1.02!important;letter-spacing:-.03em!important;color:#18181b!important;font-weight:840!important;align-self:flex-start!important}
    .first-screen-choice.calm{border-color:rgba(192,132,252,.24)!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,245,255,.97))!important}
    .first-screen-choice.calm::after{background:radial-gradient(circle,rgba(84,144,255,.14),rgba(84,144,255,0))!important}
    .first-screen-choice.calm span{color:#5490ff!important;background:rgba(250,245,255,.95)!important;border-color:rgba(196,181,253,.42)!important}
    .first-screen-choice.calm b{color:#3d7ff5!important}
    .first-screen-choice.secondary{border-color:rgba(251,191,36,.24)!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,251,235,.97))!important}
    .first-screen-choice.secondary::after{background:radial-gradient(circle,rgba(245,158,11,.16),rgba(245,158,11,0))!important}
    .first-screen-choice.secondary span{color:#b45309!important;background:rgba(255,251,235,.95)!important;border-color:rgba(252,211,77,.4)!important}
    .first-screen-choice.secondary b{color:#b45309!important}
    .first-screen-choice.is-selected{border-color:rgba(84,144,255,.42)!important;background:linear-gradient(180deg,rgba(239,246,255,.98),rgba(246,250,255,.98))!important;box-shadow:0 0 0 1px rgba(96,165,250,.28),0 18px 36px rgba(84,144,255,.14),inset 0 1px 0 rgba(255,255,255,.98)!important}
    .first-screen-choice.is-selected::before{content:;position:absolute;left:10px;top:10px;width:10px;height:10px;border-radius:999px;background:linear-gradient(180deg,#5490ff,#3d7ff5);box-shadow:0 0 0 6px rgba(96,165,250,.12)}
    .first-screen-choice.secondary.is-selected{border-color:rgba(245,158,11,.34)!important;box-shadow:0 0 0 1px rgba(245,158,11,.20),0 18px 36px rgba(245,158,11,.10),inset 0 1px 0 rgba(255,255,255,.98)!important;background:linear-gradient(180deg,rgba(255,251,235,.98),rgba(255,247,237,.98))!important}
    .first-screen-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
    .first-screen-picker-head strong{display:block;margin-top:6px;font-size:22px;line-height:1.12;color:#18181b;letter-spacing:-.03em}
    .first-screen-picker-head small{display:block;margin-top:8px;font-size:13px;line-height:1.65;color:#71717a}
    .first-screen-balance{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
    .first-screen-balance-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;border:1px solid rgba(148,163,184,.16);background:rgba(255,255,255,.72);color:#52525b;font-size:11px;font-weight:760;letter-spacing:.04em;white-space:nowrap;box-shadow:inset 0 1px 0 rgba(255,255,255,.82)}
    .first-screen-actions .btn{border-radius:14px!important;box-shadow:0 8px 18px rgba(15,23,42,.06)!important;font-weight:820!important;letter-spacing:.01em!important}

    /* === Custom action buttons === */
    .custom-action-btn{border-radius:12px!important;transition:all .2s ease!important}
    .custom-action-btn:hover{transform:translateY(-1px)!important}

    /* === Custom input === */
    .custom-input{border-radius:10px!important;border:1px solid rgba(0,0,0,.1)!important;transition:border-color .2s ease,box-shadow .2s ease!important}
    .custom-input:focus{border-color:#5490ff!important;box-shadow:0 0 0 3px rgba(84,144,255,.12)!important}

    /* === Section jump tabs === */
    .section-jump{font-weight:700!important;background:#fff!important;border:1px solid rgba(0,0,0,.1)!important;box-shadow:0 1px 3px rgba(0,0,0,.04)!important;border-radius:10px!important}
    .section-jump.is-active,.section-jump[aria-selected="true"]{background:linear-gradient(135deg,#5490ff,#3d7ff5)!important;color:#fff!important;border-color:#5490ff!important;box-shadow:0 4px 14px rgba(84,144,255,.25)!important}

    /* === Bottom bar === */
    .bottom-bar{background:linear-gradient(to top,rgba(249,250,251,1),rgba(249,250,251,.95),transparent)!important}
    .bottom-actions{background:rgba(255,255,255,.9)!important;backdrop-filter:blur(12px)!important;border:1px solid rgba(0,0,0,.06)!important;border-radius:14px!important}
    .bottom-chip{border-radius:10px!important;font-weight:600!important}

    /* === Timer box === */
    .timer-box{
      background:linear-gradient(135deg,rgba(84,144,255,.04),rgba(84,144,255,.02),#fff 40%)!important;
      border:1px solid rgba(84,144,255,.1)!important;
      border-radius:14px!important;
    }

    /* === Scrollbar === */
    ::-webkit-scrollbar{width:6px;height:6px}
    ::-webkit-scrollbar-track{background:transparent}
    ::-webkit-scrollbar-thumb{background:rgba(0,0,0,.12);border-radius:3px}
    ::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.2)}

    /* === Selection === */
    ::selection{background:rgba(84,144,255,.2);color:#18181b}

    /* === Smooth transitions on all interactive elements === */
    a,button,.selection-pill,.preset-chip,.first-screen-choice,.summary-nav-chip,.section-jump,.momentum-metric,.summary-card{transition:all .15s ease!important}
  
/* ═══ NEW FEATURES v2026.06.02 ═══ */
.sound-toggle{position:fixed;top:12px;right:12px;z-index:999;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border:1px solid rgba(0,0,0,.08);border-radius:10px;padding:6px 10px;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:all .2s;color:#52525b;font-weight:600}.sound-toggle:hover{background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.1)}.sound-toggle .icon{font-size:16px}
.heatmap-wrap{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.06);margin:16px 0}.heatmap-title{font-size:15px;font-weight:700;color:#18181b;margin-bottom:4px}.heatmap-sub{font-size:12px;color:#71717a;margin-bottom:12px}.heatmap-grid{display:flex;gap:2px;flex-wrap:wrap}.heatmap-cell{width:14px;height:14px;border-radius:3px;background:#ebedf0;transition:all .15s;cursor:pointer;position:relative}.heatmap-cell:hover{transform:scale(1.3);z-index:2}.heatmap-cell[data-level="1"]{background:#9be9a8}.heatmap-cell[data-level="2"]{background:#40c463}.heatmap-cell[data-level="3"]{background:#30a14e}.heatmap-cell[data-level="4"]{background:#216e39}.heatmap-cell .tip{display:none;position:absolute;bottom:120%;left:50%;transform:translateX(-50%);background:#18181b;color:#fff;padding:4px 8px;border-radius:6px;font-size:11px;white-space:nowrap;z-index:10}.heatmap-cell:hover .tip{display:block}.heatmap-legend{display:flex;align-items:center;gap:4px;margin-top:8px;font-size:10px;color:#a1a1aa}.heatmap-legend-cell{width:12px;height:12px;border-radius:2px}
.daily-goal-wrap{background:#fff;border-radius:14px;padding:10px 12px;box-shadow:0 2px 8px rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.05);margin:10px 0}.daily-goal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.daily-goal-title{font-size:12px;font-weight:700;color:#18181b}.daily-goal-value{font-size:11px;color:#71717a;font-weight:600}.daily-goal-bar{height:6px;background:rgba(24,24,27,.08);border-radius:4px;overflow:hidden}.daily-goal-fill{height:100%;border-radius:4px;transition:width .6s ease;background:linear-gradient(90deg,#5490ff,#5490ff,#5490ff)}.daily-goal-fill.complete{background:linear-gradient(90deg,#5490ff,#10b981,#3d7ff5)}.daily-goal-meta{display:none}.daily-goal-set{display:flex;align-items:center;gap:5px;margin-top:5px}.daily-goal-set input{width:52px;padding:2px 5px;border:1px solid rgba(0,0,0,.08);border-radius:7px;font-size:11px;text-align:center}.daily-goal-set button{padding:2px 8px;border-radius:7px;border:1px solid #5490ff;background:#fff;color:#5490ff;font-size:10px;font-weight:600;cursor:pointer}.daily-goal-set button:hover{background:#eff6ff}

.achievements-wrap{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.06);margin:16px 0}.achievements-title{font-size:15px;font-weight:700;color:#18181b;margin-bottom:12px}.achievements-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}.achievement{text-align:center;padding:12px 8px;border-radius:12px;border:1px solid rgba(0,0,0,.06);background:#f4f4f5;transition:all .2s}.achievement.unlocked{background:linear-gradient(135deg,rgba(84,144,255,.06),rgba(84,144,255,.04),#fff);border-color:rgba(84,144,255,.2)}.achievement.locked{opacity:.62;filter:grayscale(.35)}.achievement .badge{font-size:28px;margin-bottom:4px}.achievement .name{font-size:11px;font-weight:600;color:#52525b}.achievement .desc{font-size:10px;color:#a1a1aa;margin-top:2px}
.notes-wrap{background:#fff;border-radius:14px;padding:16px 20px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.06);margin:16px 0;display:none}.notes-wrap.show{display:block}.notes-title{font-size:14px;font-weight:700;color:#18181b;margin-bottom:8px}.notes-textarea{width:100%;min-height:60px;padding:10px;border:1px solid rgba(0,0,0,.1);border-radius:10px;font-size:13px;resize:vertical;font-family:inherit}.notes-textarea:focus{outline:none;border-color:#5490ff;box-shadow:0 0 0 3px rgba(84,144,255,.1)}.notes-save{margin-top:8px;padding:6px 16px;border-radius:8px;border:none;background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;font-size:13px;font-weight:600;cursor:pointer}.notes-save:hover{opacity:.9}
  
    .first-screen-choice.calm{border-color:rgba(84,144,255,.25);background:linear-gradient(135deg,rgba(84,144,255,.05),rgba(84,144,255,.03))}
    .first-screen-choice.calm span{color:#5490ff}
    .first-screen-choice.calm b{color:#3d7ff5}
    .calm-btn{background:linear-gradient(135deg,#5490ff,#3d7ff5)!important;color:#fff!important;border:none!important}
    .calm-btn:hover{box-shadow:0 4px 20px rgba(84,144,255,.3)!important}

    .start-tip-card{display:none;align-items:flex-start;gap:10px;margin:12px 0 0;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,rgba(84,144,255,.07),rgba(84,144,255,.08));border:1px solid rgba(84,144,255,.12);color:#18181b;box-shadow:0 4px 14px rgba(84,144,255,.08)}
.start-tip-card.show{display:flex}
.start-tip-card .tip-label{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:#fff;color:#3d7ff5;font-size:11px;font-weight:800;letter-spacing:.04em;box-shadow:0 2px 8px rgba(84,144,255,.08)}
.start-tip-card .tip-text{flex:1;font-size:13px;line-height:1.7;color:#52525b;padding-top:1px}
.start-tip-card .tip-refresh{flex:0 0 auto;width:32px;height:32px;border:none;border-radius:10px;background:rgba(255,255,255,.92);color:#3d7ff5;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 2px 8px rgba(84,144,255,.08)}
.start-tip-card .tip-refresh:hover{background:#fff;transform:translateY(-1px)}
@media(max-width:480px){.start-tip-card{padding:12px;gap:8px}.start-tip-card .tip-text{font-size:12px;line-height:1.65}.start-tip-card .tip-refresh{width:30px;height:30px}}
.practice-tip{display:none;margin:12px 0;padding:14px 18px;background:linear-gradient(135deg,rgba(84,144,255,.06),rgba(84,144,255,.04));border:1px solid rgba(84,144,255,.12);border-radius:12px;font-size:14px;color:#52525b;line-height:1.6;position:relative;overflow:hidden}
    .practice-tip::before{content:'💡';margin-right:8px;font-size:16px}
    .practice-tip.show{display:block;animation:tipFadeIn .4s ease;border-left:3px solid #5490ff}
    .practice-tip .tip-label{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#5490ff;margin-bottom:6px}
    .practice-tip .tip-text{display:block;padding-right:34px}
    @keyframes tipFadeIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
    .practice-tip .tip-refresh{position:absolute;top:8px;right:10px;background:rgba(84,144,255,.08);border:1px solid rgba(84,144,255,.12);border-radius:6px;cursor:pointer;font-size:14px;opacity:.7;transition:all .2s;padding:2px 6px}
    .practice-tip .tip-refresh:hover{opacity:.8}

    .safety-section{margin:20px 0;padding:20px;background:linear-gradient(135deg,#fff,rgba(239,68,68,.02));border:1px solid rgba(239,68,68,.1);border-radius:14px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
    .safety-section h4{font-size:16px;color:#dc2626;margin:0 0 12px;display:flex;align-items:center;gap:8px}
    .safety-section h4::before{content:'⚠️';font-size:18px}
    .safety-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
    .safety-list li{padding:10px 14px;background:linear-gradient(135deg,rgba(239,68,68,.04),rgba(245,158,11,.03));border:1px solid rgba(239,68,68,.12);border-radius:10px;font-size:13px;color:#52525b;line-height:1.5;display:flex;align-items:flex-start;gap:8px}
    .safety-list li::before{content:'🚫';flex-shrink:0;margin-top:1px}
    .safety-list li.good{border-left-color:#5490ff;background:linear-gradient(135deg,rgba(84,144,255,.05),rgba(16,185,129,.02))}
    .safety-toggle{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:linear-gradient(135deg,rgba(239,68,68,.08),rgba(245,158,11,.05));border:1px solid rgba(239,68,68,.2);border-radius:10px;font-size:13px;color:#dc2626;cursor:pointer;transition:all .2s;margin-top:12px}
    .safety-toggle:hover{background:rgba(239,68,68,.1)}
    .safety-content{display:none;margin-top:12px}
    .safety-content.show{display:block;animation:tipFadeIn .3s ease}

    .notes-history-section{margin:16px 0;padding:16px;background:linear-gradient(135deg,#fff,rgba(84,144,255,.03));border:1px solid rgba(84,144,255,.1);border-radius:14px}
    .notes-history-section h4{font-size:15px;color:#5490ff;margin:0 0 12px;display:flex;align-items:center;gap:6px}
    .notes-history-section h4::before{content:'📝'}
    .note-item{padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.04);border-left:3px solid rgba(84,144,255,.2);margin-left:4px}
    .note-item:last-child{border-bottom:none}
    .note-meta{font-size:11px;color:#a1a1aa;margin-bottom:4px}
    .note-text{font-size:13px;color:#52525b;line-height:1.5}.notes-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 12px}.notes-toolbar-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notes-filter,.notes-search-input{height:34px;padding:0 10px;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:#fff;color:#52525b;font-size:12px;font-family:inherit}.notes-search-input{min-width:120px}.notes-chip,.notes-add-btn,.notes-save-btn,.note-action-btn{height:34px;padding:0 12px;border-radius:10px;border:1px solid rgba(84,144,255,.15);background:#fff;color:#6b21a8;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit}.notes-chip.active{background:linear-gradient(135deg,#5490ff,#5490ff);border-color:#5490ff;color:#fff}.notes-add-btn{border-color:rgba(84,144,255,.15);color:#3d7ff5}.notes-save-btn{background:linear-gradient(135deg,#5490ff,#3d7ff5);border-color:#3d7ff5;color:#fff}.notes-composer{display:none;margin:8px 0 12px;padding:12px;border:1px dashed rgba(84,144,255,.18);border-radius:14px;background:rgba(84,144,255,.03)}.notes-composer.open{display:block}.notes-quick-input{width:100%;min-height:84px;padding:10px 12px;border:1px solid rgba(0,0,0,.08);border-radius:12px;font-size:13px;line-height:1.6;resize:vertical;font-family:inherit;background:#fff}.notes-composer-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.notes-minutes-input{width:92px;height:34px;padding:0 10px;border:1px solid rgba(0,0,0,.08);border-radius:10px;font-size:12px;font-family:inherit;background:#fff}.notes-summary-bar{margin:0 0 10px;font-size:12px;color:#71717a}.note-empty{padding:18px 14px;border:1px dashed rgba(84,144,255,.16);border-radius:12px;background:rgba(84,144,255,.02);text-align:center;color:#a1a1aa;font-size:13px}.note-item{position:relative}.note-item .note-type-badge{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 8px;border-radius:999px;background:rgba(84,144,255,.08);color:#5490ff;font-size:10px;font-weight:700}.note-item .note-text{white-space:pre-wrap;word-break:break-word}.note-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.note-action-btn{height:28px;padding:0 10px;font-size:11px}.note-action-btn.delete{color:#dc2626;border-color:rgba(239,68,68,.18)}.history-mini-note-btn{margin-top:6px;height:26px;padding:0 10px;border-radius:999px;border:1px solid rgba(84,144,255,.14);background:#fff;color:#3d7ff5;font-size:11px;font-weight:700;cursor:pointer}.report-type-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.report-type-card{padding:10px 8px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.05);text-align:center}.report-type-card .v{font-size:16px;font-weight:800;color:#18181b}.report-type-card .k{font-size:11px;color:#71717a;margin-top:3px}.linked-history-notes{display:none;margin:0 0 12px;padding:12px 14px;border:1px solid rgba(84,144,255,.12);border-radius:14px;background:linear-gradient(135deg,#fff,rgba(84,144,255,.03))}.linked-history-notes.show{display:block}.linked-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.linked-history-head strong{font-size:13px;color:#3d7ff5}.linked-history-head span{font-size:11px;color:#71717a}.linked-history-list{display:grid;gap:8px}.linked-history-item{padding:10px 12px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.05)}.linked-history-meta{font-size:11px;color:#71717a;margin-bottom:4px}.linked-history-text{font-size:13px;color:#52525b;line-height:1.5;white-space:pre-wrap;word-break:break-word}
    .ach-progress-section{margin:16px 0;padding:16px;background:linear-gradient(135deg,#fff,rgba(245,158,11,.03));border:1px solid rgba(245,158,11,.1);border-radius:14px}
    .ach-progress-section h4{font-size:15px;color:#d97706;margin:0 0 12px;display:flex;align-items:center;gap:6px}
    .ach-progress-section h4::before{content:'🏅'}
    .ach-card{padding:12px;background:linear-gradient(135deg,rgba(84,144,255,.05),rgba(84,144,255,.03));border:1px solid rgba(84,144,255,.12);border-radius:12px;text-align:center;transition:all .2s;cursor:default}
    .ach-card.done{background:linear-gradient(135deg,rgba(84,144,255,.08),rgba(16,185,129,.05));border-color:rgba(84,144,255,.2)}.ach-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(84,144,255,.1)}.ach-card.done:hover{box-shadow:0 4px 12px rgba(84,144,255,.15)}
    .ach-icon{font-size:24px;margin-bottom:4px}
    .ach-name{font-size:12px;font-weight:600;color:#52525b;margin-bottom:6px}
    .ach-bar-wrap{height:4px;background:rgba(0,0,0,.06);border-radius:2px;overflow:hidden;margin-bottom:4px}
    .ach-bar{height:100%;background:linear-gradient(90deg,#5490ff,#5490ff,#5490ff);border-radius:2px;transition:width .5s ease}
    .ach-card.done .ach-bar{background:linear-gradient(90deg,#5490ff,#10b981,#3d7ff5)}
    .ach-num{font-size:11px;color:#71717a}
    .history-section{margin:16px 0;padding:16px;background:linear-gradient(135deg,#fff,rgba(84,144,255,.03));border:1px solid rgba(84,144,255,.1);border-radius:14px}
    .history-section .history-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}
    .history-section .history-header h4{font-size:15px;color:#5490ff;margin:0;display:flex;align-items:center;gap:6px}
    .history-section .history-header h4::before{content:'📋'}
    .history-toggle{background:none;border:1px solid rgba(84,144,255,.2);border-radius:8px;padding:4px 12px;font-size:12px;color:#5490ff;cursor:pointer;transition:all .2s;white-space:nowrap}
    .history-toggle:hover{background:rgba(84,144,255,.08)}
    .history-content{max-height:96px;overflow:hidden;transition:max-height .3s ease}
    .history-content.expanded{max-height:2000px}
    .history-fade{display:none;height:40px;margin-top:-40px;position:relative;z-index:1;background:linear-gradient(transparent,rgba(255,255,255,.9));pointer-events:none}
    .history-content:not(.expanded)+.history-fade{display:block}

    .hist-item{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.04)}
    .hist-item:last-child{border-bottom:none}
    .hist-status{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:10px;font-weight:700;flex-shrink:0}
    .hist-status.done{background:rgba(84,144,255,.12);color:#3d7ff5}
    .hist-status.stopped{background:rgba(245,158,11,.12);color:#b45309}
    .hist-type{font-size:13px;font-weight:600;color:#52525b;min-width:50px;padding:4px 10px;border-left:3px solid #5490ff;border-radius:0 6px 6px 0;background:rgba(84,144,255,.03)}
    .hist-time{font-size:13px;color:#5490ff;flex:1}
    .hist-date{font-size:11px;color:#a1a1aa}
    .data-export-section{margin:16px 0;padding:16px;background:linear-gradient(135deg,#fff,rgba(13,148,136,.03));border:1px solid rgba(13,148,136,.1);border-radius:14px;display:block!important}
    .data-export-section h4{font-size:15px;color:#5490ff;margin:0 0 12px;display:flex;align-items:center;gap:6px}
    .data-export-section h4::before{content:'📤'}
    .export-btns{display:flex;gap:8px;flex-wrap:wrap}
    .export-btn{padding:8px 16px;border:1px solid rgba(84,144,255,.25);background:linear-gradient(135deg,rgba(84,144,255,.08),rgba(84,144,255,.05));border-radius:10px;font-size:13px;color:#3d7ff5;cursor:pointer;transition:all .2s;font-weight:600}
    .export-btn:hover{background:rgba(84,144,255,.12);transform:translateY(-1px);box-shadow:0 2px 8px rgba(84,144,255,.15)}

    .ach-card{opacity:0;animation:achFadeIn .4s ease forwards}
    .ach-card:nth-child(1){animation-delay:.05s}
    .ach-card:nth-child(2){animation-delay:.1s}
    .ach-card:nth-child(3){animation-delay:.15s}
    .ach-card:nth-child(4){animation-delay:.2s}
    .ach-card:nth-child(5){animation-delay:.25s}
    .ach-card:nth-child(6){animation-delay:.3s}
    .ach-card:nth-child(7){animation-delay:.35s}
    .ach-card:nth-child(8){animation-delay:.4s}
    .ach-card:nth-child(9){animation-delay:.45s}
    .ach-card:nth-child(10){animation-delay:.5s}
    .ach-card:nth-child(11){animation-delay:.55s}
    .ach-card:nth-child(12){animation-delay:.6s}
    @keyframes achFadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

    /* 周/月报告 */
    .report-section{margin:16px 0;padding:20px;background:linear-gradient(135deg,#fff,rgba(84,144,255,.03));border:1px solid rgba(84,144,255,.1);border-radius:14px}
    .report-section h4{font-size:15px;color:#3d7ff5;margin:0 0 14px;display:flex;align-items:center;gap:6px}
    .report-section h4::before{content:'📊'}
    .report-tabs{display:flex;gap:6px;margin-bottom:14px}
    .report-tab{padding:6px 14px;border:1px solid rgba(84,144,255,.15);background:#fff;border-radius:8px;font-size:12px;font-weight:600;color:#71717a;cursor:pointer;transition:all .2s}
    .report-tab.active{background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border-color:#5490ff}
    .report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
    .report-card{padding:14px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:12px;text-align:center}
    .report-card .val{font-size:22px;font-weight:800;background:linear-gradient(135deg,#5490ff,#5490ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
    .report-card .lbl{font-size:11px;color:#71717a;margin-top:4px}
    .report-bar-chart{margin-top:14px;display:flex;align-items:flex-end;gap:4px;height:80px;padding:0 4px}
    .report-bar{flex:1;border-radius:4px 4px 0 0;transition:height .5s ease;min-width:8px}
    .report-bar-labels{display:flex;gap:4px;padding:4px 4px 0}
    .report-bar-labels span{flex:1;text-align:center;font-size:9px;color:#a1a1aa}

    /* 自定义预设 */
    .custom-preset-section{margin:12px 0;padding:14px;background:linear-gradient(135deg,rgba(84,144,255,.04),rgba(84,144,255,.03));border:1px solid rgba(84,144,255,.1);border-radius:12px}
    .custom-preset-section h5{font-size:13px;color:#3d7ff5;margin:0 0 10px;display:flex;align-items:center;gap:6px}
    .custom-preset-section h5::before{content:'⭐'}
    .preset-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
    .preset-item{display:flex;align-items:center;gap:4px;padding:5px 10px;background:#fff;border:1px solid rgba(84,144,255,.12);border-radius:8px;font-size:12px;color:#3d7ff5}
    .preset-item .del{cursor:pointer;opacity:.4;font-size:14px;margin-left:2px}
    .preset-item .del:hover{opacity:1;color:#dc2626}
    .add-preset-row{display:flex;gap:6px}
    .add-preset-row input{flex:1;padding:6px 10px;border:1px solid rgba(84,144,255,.15);border-radius:6px;font-size:12px;max-width:80px}
    .add-preset-row select{padding:6px;border:1px solid rgba(84,144,255,.15);border-radius:6px;font-size:12px}
    .add-preset-row button{padding:6px 12px;background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border:none;border-radius:6px;font-size:12px;cursor:pointer}

    /* 音效选择 */
    .sound-section{margin:12px 0;padding:14px;background:linear-gradient(135deg,rgba(84,144,255,.04),rgba(16,185,129,.03));border:1px solid rgba(84,144,255,.1);border-radius:12px}
    .sound-section h5{font-size:13px;color:#3d7ff5;margin:0 0 10px;display:flex;align-items:center;gap:6px}
    .sound-section h5::before{content:'🔔'}
    .sound-grid{display:flex;flex-wrap:wrap;gap:6px}
    .sound-btn{padding:6px 12px;background:#fff;border:1px solid rgba(84,144,255,.15);border-radius:8px;font-size:12px;color:#3d7ff5;cursor:pointer;transition:all .2s}
    .sound-btn.active{background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border-color:#5490ff}
    .sound-btn:hover{border-color:#5490ff}

    /* 练功提醒 */
    .reminder-section{margin:12px 0;padding:14px;background:linear-gradient(135deg,rgba(245,158,11,.04),rgba(234,179,8,.03));border:1px solid rgba(245,158,11,.12);border-radius:12px}
    .reminder-section h5{font-size:13px;color:#b45309;margin:0 0 10px;display:flex;align-items:center;gap:6px}
    .reminder-section h5::before{content:'⏰'}
    .reminder-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
    .reminder-row input[type=time]{padding:6px 10px;border:1px solid rgba(245,158,11,.15);border-radius:6px;font-size:13px}
    .reminder-row button{padding:6px 14px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer}
    .reminder-list{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
    .reminder-tag{display:flex;align-items:center;gap:4px;padding:4px 10px;background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.15);border-radius:6px;font-size:12px;color:#b45309}
    .reminder-tag .del{cursor:pointer;opacity:.5;font-size:13px}
    .reminder-tag .del:hover{opacity:1;color:#dc2626}

    /* Section card polish */

    .safety-card{margin-top:12px;padding:16px 16px 14px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));border:1px solid rgba(239,68,68,.12);box-shadow:0 10px 24px rgba(15,23,42,.06)}
    .safety-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:rgba(239,68,68,.08);color:#dc2626;font-size:12px;font-weight:700;letter-spacing:.04em}
    .safety-card h6{margin:10px 0 6px;font-size:16px;font-weight:800;color:#18181b}
    .safety-intro{margin:0 0 10px;font-size:13px;line-height:1.65;color:#71717a}
    .safety-list{margin:0;padding-left:18px;color:#52525b}
    .safety-list li{margin:0 0 8px;font-size:13px;line-height:1.7}

    .safety-section:hover,.ach-progress-section:hover,
    .history-section:hover,.notes-history-section:hover,.data-export-section:hover,
    .report-section:hover,.custom-preset-section:hover,.sound-section:hover,
    .reminder-section:hover{box-shadow:0 4px 16px rgba(0,0,0,.06);transform:translateY(-1px);transition:all .2s}
    
    /* Better spacing between sections */
    .safety-section,.ach-progress-section,
    .history-section,.notes-history-section,.data-export-section,
    .report-section,.custom-preset-section,.sound-section,
    .reminder-section{transition:all .25s ease}

    /* Toast notification style */
    .toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);padding:10px 20px;background:#18181b;color:#fff;border-radius:10px;font-size:13px;z-index:9999;opacity:0;transition:opacity .3s;pointer-events:none}
    .toast.show{opacity:1}

    /* ===== POLISH v2026.06.03 ===== */

    /* -- Typography hierarchy -- */
    .safety-section h4, .ach-progress-section h4, .history-section .history-header h4,
    .notes-history-section h4, .report-section h4, .data-export-section h4 {
      font-size: 16px !important;
      font-weight: 700 !important;
      letter-spacing: .02em !important;
    }
    .custom-preset-section h5, .sound-section h5, .reminder-section h5 {
      font-size: 14px !important;
      font-weight: 700 !important;
    }

    /* -- Unified section cards -- */
    .safety-section, .ach-progress-section, .history-section,
    .notes-history-section, .report-section, .custom-preset-section,
    .sound-section, .reminder-section, .data-export-section {
      border-radius: 16px !important;
      padding: 20px !important;
      margin: 16px 0 !important;
      box-shadow: 0 1px 4px rgba(0,0,0,.04) !important;
      transition: box-shadow .25s ease, transform .25s ease !important;
    }
    .safety-section:hover, .ach-progress-section:hover, .history-section:hover,
    .notes-history-section:hover, .report-section:hover, .custom-preset-section:hover,
    .sound-section:hover, .reminder-section:hover, .data-export-section:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,.08) !important;
      transform: translateY(-2px) !important;
    }
    .ach-card {
      padding: 14px 12px !important;
      border-radius: 14px !important;
      box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;
    }
    .ach-card:hover {
      transform: translateY(-3px) !important;
      box-shadow: 0 8px 24px rgba(84,144,255,.12) !important;
    }
    .ach-card.done:hover {
      box-shadow: 0 8px 24px rgba(84,144,255,.15) !important;
    }
    .ach-icon { font-size: 28px !important; }
    .ach-name { font-size: 13px !important; margin-bottom: 8px !important; }

    /* -- History items -- */
    .hist-item {
      padding: 10px 0 !important;
      border-bottom: 1px solid rgba(0,0,0,.06) !important;
      transition: background .15s ease !important;
    }
    .hist-item:hover {
      background: rgba(84,144,255,.02) !important;
    }
    .hist-type {
      font-weight: 700 !important;
      border-radius: 8px !important;
      padding: 5px 12px !important;
    }
    .hist-time { font-weight: 600 !important; }

    /* -- Safety toggle button -- */
    .safety-toggle {
      border-radius: 10px !important;
      font-weight: 600 !important;
      padding: 8px 18px !important;
    }

    /* -- Export buttons -- */
    .export-btn {
      border-radius: 10px !important;
      padding: 9px 18px !important;
      font-weight: 600 !important;
      letter-spacing: .01em !important;
    }

    /* -- Note items -- */
    .note-item {
      padding: 12px 14px !important;
      border-radius: 10px !important;
      margin-bottom: 6px !important;
      transition: background .15s ease !important;
    }
    .note-item:hover {
      background: rgba(84,144,255,.03) !important;
    }

    /* -- Report cards -- */
    .report-card {
      border-radius: 14px !important;
      padding: 16px !important;
      box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;
    }

    /* -- Preset chips -- */
    .preset-chip {
      border-radius: 10px !important;
      padding: 7px 14px !important;
      font-weight: 600 !important;
      transition: all .2s ease !important;
    }
    .preset-chip:hover {
      transform: translateY(-1px) !important;
      box-shadow: 0 3px 10px rgba(0,0,0,.08) !important;
    }

    /* -- Sound option buttons -- */
    .sound-option {
      border-radius: 10px !important;
      padding: 8px 16px !important;
      font-weight: 600 !important;
      transition: all .2s ease !important;
    }
    .sound-option:hover {
      transform: translateY(-1px) !important;
    }

    /* -- Reminder tags -- */
    .reminder-tag {
      border-radius: 8px !important;
      padding: 5px 12px !important;
      font-weight: 600 !important;
    }

    /* -- Section title icon alignment -- */
    .safety-section h4::before, .ach-progress-section h4::before,
    .history-section .history-header h4::before, .notes-history-section h4::before,
    .report-section h4::before, .data-export-section h4::before {
      font-size: 20px !important;
      margin-right: 2px !important;
    }

    /* -- Better focus states for inputs -- */
    input[type=time], input[type=number], select {
      border-radius: 8px !important;
      transition: border-color .2s ease, box-shadow .2s ease !important;
    }
    input[type=time]:focus, input[type=number]:focus, select:focus {
      border-color: var(--accent) !important;
      box-shadow: 0 0 0 3px rgba(84,144,255,.12) !important;
      outline: none !important;
    }

    /* -- History toggle button polish -- */
    .history-toggle {
      border-radius: 10px !important;
      padding: 5px 14px !important;
      font-weight: 600 !important;
    }

    /* -- Custom input area polish -- */
    .custom-input {
      border-radius: 12px !important;
    }
    .custom-action-btn {
      border-radius: 12px !important;
      padding: 12px 16px !important;
      transition: all .2s ease !important;
    }
    .custom-action-btn:hover {
      transform: translateY(-2px) !important;
      box-shadow: 0 6px 20px rgba(0,0,0,.08) !important;
    }

    /* -- Report section tabs -- */
    .report-tab {
      border-radius: 8px !important;
      padding: 6px 14px !important;
      font-weight: 600 !important;
      transition: all .2s ease !important;
    }
    .report-tab.active {
      box-shadow: 0 2px 8px rgba(84,144,255,.2) !important;
    }

    /* -- Momentum chart bars -- */
    .momentum-bar-track {
      border-radius: 6px !important;
    }
    .momentum-bar-track i {
      border-radius: 4px !important;
    }

    /* -- Summary stat cards -- */
    .summary-card, .summary-mini-card, .summary-hero-card {
      border-radius: 14px !important;
      box-shadow: 0 1px 4px rgba(0,0,0,.04) !important;
      transition: all .25s ease !important;
    }
    .summary-card:hover, .summary-mini-card:hover, .summary-hero-card:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,.08) !important;
      transform: translateY(-2px) !important;
    }

    /* -- Momentum metrics -- */
    .momentum-metric {
      border-radius: 14px !important;
      box-shadow: 0 1px 3px rgba(0,0,0,.03) !important;
      transition: all .25s ease !important;
    }
    .momentum-metric:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,.07) !important;
      transform: translateY(-2px) !important;
    }

    /* -- Momentum chart wrap -- */
    .momentum-chart-wrap {
      border-radius: 16px !important;
    }

    /* -- Toast animation -- */
    .toast {
      border-radius: 12px !important;
      font-weight: 600 !important;
      box-shadow: 0 8px 32px rgba(0,0,0,.15) !important;
    }

    /* -- Bottom bar buttons -- */
    .bottom-chip {
      border-radius: 12px !important;
      font-weight: 600 !important;
    }

    /* -- Selection pills -- */
    .selection-pill {
      border-radius: 14px !important;
      transition: all .2s ease !important;
    }
    .selection-pill:hover {
      transform: translateY(-1px) !important;
    }

    /* -- Timer box polish -- */
    .timer-box {
      border-radius: 20px !important;
    }

    /* -- Consistent section spacing -- */
    .safety-section + .ach-progress-section,
    .ach-progress-section + .history-section,
    .history-section + .notes-history-section,
    .notes-history-section + .report-section {
      margin-top: 16px !important;
    }

    /* -- Better responsive grid -- */
    @media (max-width: 480px) {
      .ach-card { padding: 10px 8px !important; }
      .ach-icon { font-size: 22px !important; }
      .ach-name { font-size: 11px !important; }
      .momentum-metrics {
        grid-template-columns: repeat(2, 1fr) !important;
      }
      .summary-card b, .momentum-metric b {
        font-size: 24px !important;
      }
    }

    /* -- Subtle section divider -- */
    .section-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(0,0,0,.06), transparent);
      margin: 20px 0;
      border: none !important;
    }

    /* END POLISH */

    /* -- Floating quick nav bar -- */
    .quick-nav {
      position: fixed;
      top: 3px;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 6px 12px;
      background: rgba(255,255,255,.88);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(0,0,0,.06);
      box-shadow: 0 2px 12px rgba(0,0,0,.04);
    }
    .quick-nav a {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 8px 14px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 600;
      text-decoration: none;
      transition: all .2s;
      white-space: nowrap;
    }
    .quick-nav a.tutorial {
      background: linear-gradient(135deg, rgba(84,144,255,.1), rgba(109,40,217,.08));
      color: #5490ff;
      border: 1px solid rgba(84,144,255,.15);
    }
    .quick-nav a.tutorial:hover {
      background: #5490ff;
      color: #fff;
      border-color: #5490ff;
    }
    .quick-nav a.admin {
      background: rgba(30,41,59,.06);
      color: #71717a;
      border: 1px solid rgba(30,41,59,.1);
    }
    .quick-nav a.admin:hover {
      background: #18181b;
      color: #fff;
      border-color: #18181b;
    }
    .quick-nav a.export-link {
      background: rgba(13,148,136,.06);
      color: #5490ff;
      border: 1px solid rgba(13,148,136,.12);
    }
    .quick-nav a.export-link:hover {
      background: #5490ff;
      color: #fff;
      border-color: #5490ff;
    }
    /* Add bottom padding to page so content isn't hidden behind fixed nav */
    .wrap { padding-top: 52px !important; }

    @media (max-width: 480px) {
      .quick-nav { gap: 4px; padding: 6px 8px; }
      .quick-nav a { padding: 7px 10px; font-size: 11px; gap: 3px; }
    }

    /* -- Collapsible settings group -- */
    .settings-group {
      margin: 16px 0;
      border-radius: 16px;
      border: 1px solid rgba(0,0,0,.06);
      overflow: hidden;
      box-shadow: 0 1px 4px rgba(0,0,0,.04);
    }
    .settings-group-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      background: #fff;
      cursor: pointer;
      user-select: none;
      transition: background .15s;
    }
    .settings-group-header:hover { background: #f4f4f5; }
    .settings-group-header h4 {
      font-size: 15px;
      font-weight: 700;
      color: #52525b;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .settings-group-header .arrow {
      font-size: 12px;
      color: #a1a1aa;
      transition: transform .25s;
    }
    .settings-group.open .settings-group-header .arrow {
      transform: rotate(180deg);
    }
    .settings-group-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease;
    }
    .settings-group.open .settings-group-body {
      max-height: 800px;
    }
    .settings-group-body > * {
      margin: 0 !important;
      border-radius: 0 !important;
      border-left: none !important;
      border-right: none !important;
      border-top: none !important;
      box-shadow: none !important;
    }
    .settings-group-body > *:last-child {
      border-bottom: none !important;
    }

    /* -- Collapsible notes/report group -- */
    .notes-report-group {
      margin: 16px 0;
      border-radius: 16px;
      border: 1px solid rgba(0,0,0,.06);
      overflow: hidden;
      box-shadow: 0 1px 4px rgba(0,0,0,.04);
    }
    .notes-report-group .group-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      background: #fff;
      cursor: pointer;
      user-select: none;
      transition: background .15s;
    }
    .notes-report-group .group-header:hover { background: #f4f4f5; }
    .notes-report-group .group-header h4 {
      font-size: 15px;
      font-weight: 700;
      color: #52525b;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .notes-report-group .group-header .arrow {
      font-size: 12px;
      color: #a1a1aa;
      transition: transform .25s;
    }
    .notes-report-group.open .group-header .arrow {
      transform: rotate(180deg);
    }
    .notes-report-group .group-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease;
    }
    .notes-report-group.open .group-body {
      max-height: 1200px;
    }
    .notes-report-group .group-body > * {
      margin: 0 !important;
      border-radius: 0 !important;
      border-left: none !important;
      border-right: none !important;
      border-top: none !important;
      box-shadow: none !important;
    }
    .notes-report-group .group-body > *:last-child {
      border-bottom: none !important;
    }

    @media(max-width:640px){
      #statsOverview{padding:16px!important;margin:0 8px!important}
    }

    /* -- Stats tab active state -- */
    .summary-nav-chip.is-active {
      background: linear-gradient(135deg,#5490ff,#3d7ff5) !important;
      color: #fff !important;
      border-color: #5490ff !important;
    }

/* === FEATURE: Completion Modal === */
.completion-overlay{display:none;position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.45);backdrop-filter:blur(4px);align-items:center;justify-content:center;padding:20px}
.completion-overlay.show{display:flex}
.completion-modal{background:#fff;border-radius:14px;max-width:420px;width:100%;padding:32px 28px 24px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.2);animation:modalPop .35s ease}
@keyframes modalPop{from{opacity:0;transform:scale(.92) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}
.completion-modal .cm-emoji{font-size:48px;margin-bottom:8px}
.completion-modal .cm-title{font-size:20px;font-weight:800;color:#18181b;margin-bottom:4px}
.completion-modal .cm-subtitle{font-size:13px;color:#71717a;margin-bottom:18px}
.completion-modal .cm-stats{display:flex;gap:12px;margin-bottom:18px;justify-content:center}
.completion-modal .cm-stat{background:linear-gradient(135deg,rgba(84,144,255,.06),rgba(84,144,255,.04));border:1px solid rgba(84,144,255,.12);border-radius:12px;padding:12px 16px;flex:1;min-width:0}
.completion-modal .cm-stat .cm-stat-val{font-size:22px;font-weight:800;color:#18181b}
.completion-modal .cm-stat .cm-stat-label{font-size:11px;color:#71717a;margin-top:2px}
.completion-modal .cm-stat:nth-child(1){border-left:3px solid #5490ff}
.completion-modal .cm-stat:nth-child(2){border-left:3px solid #5490ff}
.completion-modal .cm-stat:nth-child(3){border-left:3px solid #5490ff}
.completion-modal .cm-quote{background:linear-gradient(135deg,rgba(245,158,11,.06),rgba(84,144,255,.04));border:1px solid rgba(245,158,11,.12);border-radius:10px;padding:10px 14px;margin-bottom:16px;font-size:13px;color:#52525b;line-height:1.5;font-style:italic}
.completion-modal .cm-note-input{width:100%;border:1px solid rgba(24,24,27,.08);border-radius:10px;padding:10px 12px;font-size:13px;resize:none;min-height:50px;margin-bottom:14px;font-family:inherit;outline:none;transition:border-color .2s}
.completion-modal .cm-note-input:focus{border-color:#5490ff;box-shadow:0 0 0 3px rgba(84,144,255,.1)}
.completion-modal .cm-btns{display:flex;gap:10px}
.completion-modal .cm-btns button{flex:1;border-radius:12px;padding:12px;font-size:14px;font-weight:700;cursor:pointer;border:none;transition:all .2s}
.completion-modal .cm-btn-again{background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff}
.completion-modal .cm-btn-again:hover{box-shadow:0 4px 16px rgba(84,144,255,.3)}
.completion-modal .cm-btn-close{background:#f4f4f5;color:#52525b}
.completion-modal .cm-btn-close:hover{background:rgba(24,24,27,.08)}

/* === FEATURE: Ambient Sounds === */
.ambient-bar{display:flex;gap:6px;align-items:center;margin-top:8px;justify-content:center;flex-wrap:wrap}
.ambient-btn{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(24,24,27,.08);background:#fff;border-radius:14px;padding:5px 12px;font-size:12px;cursor:pointer;color:#71717a;transition:all .2s;font-family:inherit}
.ambient-btn:hover{border-color:#5490ff;color:#5490ff}
.ambient-btn.active{background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border-color:#5490ff}

/* === FEATURE: Wisdom Quote === */
.wisdom-quote{background:linear-gradient(135deg,rgba(245,158,11,.05),rgba(84,144,255,.04));border:1px solid rgba(245,158,11,.1);border-radius:12px;padding:12px 16px;margin-top:10px;font-size:13px;color:#52525b;line-height:1.6;text-align:center;position:relative}
.wisdom-quote .wq-text{font-style:italic}
.wisdom-quote .wq-author{font-size:11px;color:#a1a1aa;margin-top:4px;font-style:normal}
.wisdom-quote .wq-refresh{position:absolute;top:8px;right:10px;background:none;border:none;font-size:14px;cursor:pointer;opacity:.4;transition:opacity .2s}
.wisdom-quote .wq-refresh:hover{opacity:.8}

/* === FEATURE: Streak Calendar === */
.streak-calendar{margin-top:12px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:14px;padding:14px 16px;max-width:1180px;margin-left:auto;margin-right:auto}
.streak-calendar .sc-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.streak-calendar .sc-header h4{font-size:14px;font-weight:700;color:#18181b;margin:0}
.streak-calendar .sc-header .sc-nav{display:flex;gap:4px}
.streak-calendar .sc-header .sc-nav button{background:none;border:1px solid rgba(24,24,27,.08);border-radius:6px;padding:2px 8px;font-size:12px;cursor:pointer;color:#71717a;transition:all .2s}
.streak-calendar .sc-header .sc-nav button:hover{border-color:#5490ff;color:#5490ff}
.streak-calendar .sc-months{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-bottom:4px}
.streak-calendar .sc-month{min-width:0}
.streak-calendar .sc-month-title{font-size:12px;font-weight:600;color:#71717a;text-align:center;margin-bottom:6px}
.streak-calendar .sc-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:2px}
.streak-calendar .sc-weekdays span{font-size:9px;color:#a1a1aa;text-align:center}
.streak-calendar .sc-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.streak-calendar .sc-day{width:100%;aspect-ratio:1;border-radius:4px;background:#f4f4f5;font-size:9px;display:flex;align-items:center;justify-content:center;color:#a1a1aa}
.streak-calendar .sc-day.empty{background:transparent}
.streak-calendar .sc-day.today{box-shadow:inset 0 0 0 2px #5490ff}
.streak-calendar .sc-day.lvl1{background:rgba(84,144,255,.15);color:#5490ff}
.streak-calendar .sc-day.lvl2{background:rgba(84,144,255,.3);color:#3d7ff5}
.streak-calendar .sc-day.lvl3{background:rgba(84,144,255,.5);color:#fff}
.streak-calendar .sc-day.lvl4{background:rgba(84,144,255,.75);color:#fff}
.streak-calendar .sc-legend{display:flex;gap:4px;align-items:center;justify-content:flex-end;margin-top:6px;font-size:10px;color:#a1a1aa}
.streak-calendar .sc-legend span{width:12px;height:12px;border-radius:3px;display:inline-block}

/* === USABILITY: Circular Progress Ring === */
.timer-ring-wrap{position:relative;display:inline-block}
.timer-ring{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}
.timer-ring svg{width:260px;height:260px}
.timer-ring circle{fill:none;stroke-width:4;stroke-linecap:round}
.timer-ring .ring-bg{stroke:rgba(84,144,255,.08)}
.timer-ring .ring-fg{stroke:#5490ff;stroke-dasharray:754;stroke-dashoffset:754;transition:stroke-dashoffset .8s ease;transform:rotate(-90deg);transform-origin:center}
.timer-ring .ring-fg.complete{stroke:#5490ff}

    /* 静坐模式：隐藏进度圆环，翻页时钟全宽居中 */
    body[data-practice-type="静坐"] .timer-ring{display:none}
    body[data-practice-type="静坐"] .timer-ring-wrap{display:block;width:100%}
    body[data-practice-type="静坐"] #countdown{
      font-size:clamp(72px,22vw,120px)!important;
      min-width:min(100%,600px)!important;
    }
@media(max-width:480px){.timer-ring svg{width:220px;height:220px}}
/* sc-mobile-fix: 打卡日历手机上改为单列，否则 3 列网格在 375px 溢出 */
@media(max-width:720px){.streak-calendar .sc-months{grid-template-columns:1fr!important;gap:16px!important}
.streak-calendar{padding:12px 12px!important}
.streak-calendar .sc-day{font-size:10px!important}}

/* === USABILITY: Last Selection Indicator === */
.last-pick{position:relative}
.last-pick::after{content:'上次';position:absolute;top:-6px;right:-6px;background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;font-size:9px;padding:1px 5px;border-radius:8px;font-weight:700;z-index:2;box-shadow:0 1px 4px rgba(84,144,255,.3)}

/* === USABILITY: Keyboard Shortcuts Hint === */
.kb-hints{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:6px;opacity:.6;transition:opacity .3s}
.kb-hints.show{opacity:1}
.kb-hint{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:#a1a1aa}
.kb-hint kbd{background:#f4f4f5;border:1px solid rgba(24,24,27,.08);border-radius:4px;padding:1px 5px;font-size:10px;font-family:inherit;color:#52525b;box-shadow:0 1px 0 rgba(0,0,0,.06)}

/* === USABILITY: Long-press Stop === */
.stop-hold{position:relative;overflow:hidden}
.stop-hold .hold-fill{position:absolute;inset:0;background:rgba(220,38,38,.12);transform:scaleX(0);transform-origin:left;transition:transform .6s ease;pointer-events:none;border-radius:inherit}
.stop-hold.holding .hold-fill{transform:scaleX(1)}
.stop-btn.confirm-state,.btn.stop.confirm-state{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important;animation:confirmPulse .8s ease infinite}
@keyframes confirmPulse{0%,100%{opacity:1}50%{opacity:.7}}

/* === USABILITY: Quick Restart Bar === */
.quick-restart{display:none;align-items:center;gap:8px;justify-content:center;margin-top:10px;animation:fadeInUp .3s ease}
.quick-restart.show{display:flex}
.quick-restart .qr-btn{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border:none;border-radius:12px;padding:10px 20px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;box-shadow:0 2px 10px rgba(84,144,255,.25);transition:all .2s}
.quick-restart .qr-btn:hover{box-shadow:0 4px 16px rgba(84,144,255,.35);transform:translateY(-1px)}
.quick-restart .qr-type{font-size:12px;color:#71717a}
@keyframes fadeInUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* === USABILITY: Swipe Indicator === */
.swipe-hint{display:none;text-align:center;font-size:11px;color:#a1a1aa;margin-top:4px}
@media(hover:none){.swipe-hint{display:block}}

/* === USABILITY: Section Quick-Jump Pills === */
.section-pills{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;padding:6px 0;position:sticky;top:36px;z-index:9;background:rgba(249,250,251,.92);backdrop-filter:blur(8px);border-bottom:1px solid rgba(0,0,0,.04)}
.section-pill{border:1px solid rgba(24,24,27,.08);background:#fff;border-radius:14px;padding:4px 12px;font-size:11px;cursor:pointer;color:#71717a;font-family:inherit;transition:all .2s;white-space:nowrap}
.section-pill:hover{border-color:#5490ff;color:#5490ff}
.section-pill:active{background:rgba(84,144,255,.05)}

/* v2026-06-18 premium dashboard uplift */
.hero-head{display:grid;gap:14px}
.hero-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(245,247,250,.96));border:1px solid rgba(148,163,184,.22);box-shadow:0 10px 30px rgba(15,23,42,.06);font-size:12px;font-weight:700;color:#71717a;letter-spacing:.08em;text-transform:uppercase;width:max-content;margin:0 auto}
.hero-kicker-dot{width:8px;height:8px;border-radius:999px;background:linear-gradient(135deg,#f59e0b,#5490ff);box-shadow:0 0 0 5px rgba(245,158,11,.12)}
.hero-title-wrap{display:grid;gap:8px;justify-items:center}
.hero-title-main{font-size:clamp(34px,5.6vw,54px);line-height:1.02;font-weight:800;letter-spacing:-.04em;color:#18181b}
.hero-title-sub{font-size:14px;color:#71717a;letter-spacing:.18em;text-transform:uppercase;font-weight:700}
.hero-subline{max-width:640px;margin:0 auto;font-size:15px;line-height:1.8;color:#71717a}
.timer-shell{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.66);background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(250,250,252,.96));box-shadow:0 24px 60px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.72)}
body{background-color:#f4f4f5!important;background-image:linear-gradient(rgba(148,163,184,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.05) 1px,transparent 1px),linear-gradient(135deg,rgba(245,158,11,.04),rgba(251,191,36,0) 42%),radial-gradient(circle at 18% 14%,rgba(251,191,36,.10),rgba(251,191,36,0) 22%),radial-gradient(circle at 82% 18%,rgba(84,144,255,.07),rgba(84,144,255,0) 24%)!important;background-size:36px 36px,36px 36px,100% 100%,100% 100%,100% 100%!important;background-attachment:fixed!important;}
.timer-shell::before{content:'';position:absolute;inset:-1px auto auto -1px;width:220px;height:220px;background:radial-gradient(circle,rgba(251,191,36,.14),rgba(251,191,36,0) 68%);pointer-events:none}
.timer-shell::after{content:'';position:absolute;inset:auto -60px -70px auto;width:240px;height:240px;background:radial-gradient(circle,rgba(84,144,255,.12),rgba(84,144,255,0) 70%);pointer-events:none}
.timer-shell > *{position:relative;z-index:1}
.choice-card,.action-card,.summary-card,.timer-display,.timer-panel,.card{border:1px solid rgba(226,232,240,.92)!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96))!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important}
.choice-card:hover,.action-card:hover,.summary-card:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(15,23,42,.08)!important}
.button-row .action-btn,.quick-actions button,.preset-btn,.chip-btn,.start-btn,.pause-btn,.stop-btn{border-radius:14px!important;font-weight:700!important;min-height:52px!important;box-shadow:0 10px 20px rgba(15,23,42,.08)!important}
#startBtn{background:linear-gradient(135deg,#18181b,#52525b)!important;color:#fff!important;border:none!important}
#pauseBtn{background:linear-gradient(135deg,#f4f4f5,rgba(24,24,27,.08))!important;color:#52525b!important;border:1px solid rgba(148,163,184,.26)!important}
#stopBtn{background:linear-gradient(135deg,#fff7ed,#ffedd5)!important;color:#b45309!important;border:1px solid rgba(251,146,60,.25)!important}
.action-status{padding:16px 18px!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(30,41,59,.92))!important;color:#f4f4f5!important;border:none!important;box-shadow:0 20px 40px rgba(15,23,42,.18)!important}
.action-status .action-kicker,.action-status strong,.action-status .action-support-main,.action-status .action-support-sub{color:inherit!important}
.summary-card{padding:18px!important;border-radius:14px!important}
.summary-card strong{font-size:22px!important;color:#18181b!important}
.choice-grid,.action-grid,.summary-grid{gap:14px!important}
@media (min-width: 980px){.timer-grid{grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr)!important;gap:18px!important}.timer-main{padding-right:4px}.timer-side{padding-left:4px}}

.first-screen-choice{padding:10px 10px 10px !important;min-height:72px !important}.first-screen-choice b{margin-top:2px !important}.timer-side{gap:10px !important}.first-screen-picker-grid{gap:8px !important}.mode{margin-bottom:2px !important}.task-name{margin-bottom:4px !important}.status{margin-top:6px !important}\n
.daily-goal-wrap{padding:10px 12px !important;margin:10px 0 8px !important}.daily-goal-header{margin-bottom:6px !important}.daily-goal-title{font-size:12px !important}.daily-goal-value{font-size:13px !important}.daily-goal-bar{height:6px !important;margin:4px 0 6px !important}.daily-goal-meta{display:none !important}.daily-goal-set{gap:6px !important}.daily-goal-set input{height:30px !important;padding:0 8px !important}.daily-goal-set button{height:30px !important;padding:0 10px !important}.sound-reminder-body h5,.sound-reminder-body .section-title,.sound-reminder-body .subhead{display:none !important}.sound-reminder-body{padding-top:0 !important}.sound-reminder-body > div:first-child{margin-top:0 !important}\n.mini-settings-toggle{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:2px 0}.mini-settings-toggle span{font-size:12px;color:#a1a1aa}.mini-settings-fold{display:none;margin-top:10px}.mini-settings-fold.open{display:block}

.daily-goal-wrap{padding:8px 10px !important;margin:8px 0 !important;opacity:.82 !important}.daily-goal-title{font-size:11px !important;letter-spacing:0 !important;color:#a1a1aa !important}.daily-goal-value{font-size:12px !important}.daily-goal-set{gap:6px !important;margin-top:6px !important}.daily-goal-set input{height:28px !important;padding:4px 8px !important}.daily-goal-set button{height:28px !important;padding:0 10px !important;font-size:12px !important}.task-name{font-size:18px !important;color:#a1a1aa !important;font-weight:600 !important}.status{font-size:12px !important;opacity:.78 !important}.mode{font-size:11px !important;opacity:.72 !important}\n
.daily-goal-wrap{background:#ffffff !important;border:1px solid rgba(24,24,27,.12) !important;opacity:1 !important}
.daily-goal-bar{background:rgba(24,24,27,.08) !important}
.daily-goal-fill{background:linear-gradient(90deg,#3d7ff5,#5490ff) !important}
.hero::before,.hero::after,.card::before,.card::after{display:none !important}

body{background-color:#f4f4f5 !important;background-image:radial-gradient(circle at 18% 18%,rgba(245,158,11,.03),transparent 26%),radial-gradient(circle at 78% 16%,rgba(84,144,255,.022),transparent 28%),radial-gradient(circle at 52% 76%,rgba(84,144,255,.012),transparent 24%),linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,0)) !important;background-size:100% 100%,100% 100%,100% 100%,100% 100% !important;background-position:0 0,0 0,0 0,0 0 !important;background-attachment:fixed,fixed,fixed,fixed !important}

body{background-color:#f4f4f5 !important;background-image:radial-gradient(circle at 18% 18%,rgba(245,158,11,.03),transparent 26%),radial-gradient(circle at 78% 16%,rgba(84,144,255,.022),transparent 28%),radial-gradient(circle at 52% 76%,rgba(84,144,255,.012),transparent 24%),linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,0)) !important;background-size:100% 100%,100% 100%,100% 100%,100% 100% !important;background-attachment:fixed,fixed,fixed,fixed !important}
.hero,.timer-main,.timer-side,.heatmap-wrap,.achievements-wrap,.notes-wrap,.history-section,.notes-history-section,.report-section,.settings-group,.daily-goal-wrap,.ach-progress-section,.data-export-section,.safety-section,.linked-history-item,.report-card,.streak-calendar{background-color:rgba(255,252,247,.94) !important;background-image:linear-gradient(180deg,rgba(255,255,255,.985),rgba(247,241,231,.95)) !important;border:1px solid rgba(120,113,108,.10) !important;box-shadow:0 10px 26px rgba(120,113,108,.08),0 1px 0 rgba(255,255,255,.78) inset !important;backdrop-filter:none !important}
.first-screen-actions,.custom-panel,.linked-history-notes,.report-type-card,.note-item,.hist-item,.mini-settings-fold,.section-rail,.summary-card,.summary-hero-card,.summary-mini-card,.summary-insight,.comparison-card,.momentum-panel,.momentum-metric,.momentum-chart-wrap,.custom-preset-section,.sound-section,.reminder-section,.practice-tip,.wisdom-quote{background-color:rgba(255,253,249,.965) !important;background-image:linear-gradient(180deg,rgba(255,255,255,.992),rgba(248,242,233,.97)) !important;border:1px solid rgba(120,113,108,.08) !important;box-shadow:0 8px 22px rgba(120,113,108,.06),0 1px 0 rgba(255,255,255,.82) inset !important}
.first-screen-choice,.selection-pill,.preset-chip,.section-jump,.summary-nav-chip,.smart-action-btn,.report-tab,.notes-chip,.notes-add-btn,.notes-save-btn,.note-action-btn,.history-mini-note-btn,.sound-btn,.reminder-tag,.history-toggle,.export-btn{background:#fff !important;background-image:none !important;box-shadow:0 2px 8px rgba(120,113,108,.05) !important;border:1px solid rgba(120,113,108,.12) !important;color:#18181b !important}
.first-screen-choice:hover,.selection-pill:hover,.preset-chip:hover,.section-jump:hover,.summary-nav-chip:hover,.smart-action-btn:hover,.report-tab:hover,.sound-btn:hover,.history-toggle:hover,.export-btn:hover{background:#fff !important;border-color:rgba(120,113,108,.22) !important;box-shadow:0 6px 18px rgba(120,113,108,.09) !important}
.title,.task-name,.section-rail-copy strong,.summary-card strong,.summary-hero-value,.comparison-card b,.momentum-metric b,.linked-history-text,.note-text{color:#18181b !important}
body,.sub,.status,.mode,.section-desc,.mode-note,.summary-meta,.summary-hero-meta,.comparison-card small,.momentum-copy p,.momentum-metric small,.notes-summary-bar,.linked-history-meta,.note-meta,.first-screen-choice span,.custom-panel-toggle small{color:#52525b !important;opacity:1 !important}
.timer-main{padding:18px 18px 16px !important;border-radius:14px !important}
.timer-side{gap:14px !important}
.first-screen-actions{grid-template-columns:1fr !important;gap:10px !important;padding:12px !important}
.first-screen-actions .btn{min-height:52px !important;border-radius:14px !important;font-size:16px !important;box-shadow:none !important}
.first-screen-choice{min-height:78px !important;padding:14px 14px 13px !important;border-radius:14px !important;box-shadow:0 4px 14px rgba(120,113,108,.06) !important}
.first-screen-choice b{font-size:20px !important;line-height:1.05 !important}

.quick-fill-wrap{margin:12px 0 0;padding:12px 14px;border-radius:14px;background:linear-gradient(180deg,rgba(255,253,249,.98),rgba(247,241,231,.96));border:1px solid rgba(120,113,108,.10);box-shadow:0 6px 18px rgba(120,113,108,.06)}
.quick-fill-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.quick-fill-head strong{font-size:14px;color:#18181b;letter-spacing:-.01em}
.quick-fill-head span{font-size:12px;color:#71717a}
.quick-fill-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.quick-fill-btn{min-height:44px;border-radius:14px;border:1px solid rgba(120,113,108,.12);background:#fff;color:#18181b;font-size:14px;font-weight:760;cursor:pointer;box-shadow:0 2px 8px rgba(120,113,108,.05);transition:all .16s ease}
.quick-fill-btn:hover{transform:translateY(-1px);background:#f4f4f5;border-color:rgba(120,113,108,.22);box-shadow:0 6px 16px rgba(120,113,108,.08)}
.quick-fill-btn.is-primary{background:linear-gradient(135deg,#ecfdf5,#ecfdf5);border-color:rgba(84,144,255,.22);color:#18181b}
@media (max-width: 768px){.quick-fill-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

.hero-top{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}.hero-title-group{gap:4px!important}.sub{font-size:14px!important;color:#71717a!important}.timer-shell{grid-template-columns:1.08fr .92fr!important;gap:12px!important}.timer-main{padding:16px 16px 14px!important}.timer-side{padding:0!important;display:grid!important;align-content:start!important;gap:10px!important}.mode{font-size:13px!important;margin-bottom:2px!important}.task-name{font-size:22px!important;line-height:1.08!important;margin-bottom:8px!important}.status{margin-top:10px!important;font-size:14px!important;color:#71717a!important}.sitting-presets{margin:0 0 10px!important}.sitting-presets-head{margin-bottom:8px!important}.sitting-presets-head span{font-size:13px!important;font-weight:800!important}.sitting-presets-head small{font-size:11px!important;color:#71717a!important}.sitting-presets-grid{gap:8px!important}.sitting-preset-chip{min-height:42px!important;border-radius:12px!important}.first-screen-picker-group{padding:12px 12px 10px!important;border-radius:14px!important;background:linear-gradient(180deg,rgba(255,253,249,.98),rgba(248,242,233,.96))!important;border:1px solid rgba(120,113,108,.08)!important;box-shadow:0 8px 22px rgba(120,113,108,.06)!important}.first-screen-picker-headline{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:8px!important;margin-bottom:8px!important}.first-screen-picker-headline strong{font-size:14px!important;color:#18181b!important}.first-screen-picker-headline small{font-size:11px!important;color:#71717a!important}.first-screen-picker-grid{gap:8px!important}.first-screen-choice{min-height:68px!important;padding:12px 12px 11px!important;border-radius:15px!important}.first-screen-choice b{font-size:18px!important}.first-screen-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important}.first-screen-actions .btn{min-height:48px!important;font-size:15px!important;border-radius:14px!important}.section-rail{display:none!important}@media (max-width:900px){.timer-shell{grid-template-columns:1fr!important}.timer-side{gap:10px!important}.first-screen-actions{grid-template-columns:1fr 1fr 1fr!important}}

.flow-status-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.flow-status-chip{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:54px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid rgba(120,113,108,.10);box-shadow:0 4px 12px rgba(120,113,108,.05)}.flow-status-chip label{font-size:11px;color:#71717a;margin-bottom:4px}.flow-status-chip strong{font-size:14px;color:#18181b;line-height:1.2}.status{margin-top:8px!important;font-size:15px!important;color:#71717a!important;text-align:center!important}.first-screen-actions{grid-template-columns:1.3fr .85fr .85fr!important;gap:8px!important;padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important;margin-top:12px!important}.first-screen-actions .btn{min-height:50px!important;font-size:15px!important;border-radius:15px!important}.btn.start-primary{order:1}.btn.warn{order:2}.btn.stop{order:3}@media (max-width:768px){.flow-status-row{grid-template-columns:1fr 1fr 1fr}.first-screen-actions{grid-template-columns:1.2fr .9fr .9fr!important}}

.flow-status-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px!important}.flow-status-chip{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-height:62px!important;padding:12px 12px 11px!important;border-radius:14px!important;background:#f4f4f5!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 6px 18px rgba(15,23,42,.06)!important}.flow-status-chip label{display:block!important;font-size:11px!important;color:#71717a!important;margin-bottom:5px!important;font-weight:700!important;letter-spacing:.02em!important}
    .focus-power-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.focus-power-card{padding:14px 14px 13px;border-radius:14px;background:linear-gradient(180deg,#fff,#f4f4f5);border:1px solid rgba(148,163,184,.18);box-shadow:0 10px 24px rgba(15,23,42,.06);display:grid;gap:10px;align-content:start}.focus-power-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.focus-power-head strong{font-size:14px;color:#18181b;font-weight:820}.focus-power-head span{font-size:11px;color:#71717a;font-weight:700}.focus-power-main{font-size:13px;line-height:1.5;color:#52525b;min-height:40px}.focus-goal-bar{height:8px;border-radius:999px;background:rgba(24,24,27,.08);overflow:hidden}.focus-goal-fill{height:100%;width:0;background:linear-gradient(90deg,#5490ff,#5490ff);border-radius:999px;transition:width .25s ease}.focus-goal-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.focus-goal-actions input{height:40px;border-radius:12px;border:1px solid rgba(148,163,184,.32);padding:0 12px;font-size:14px;color:#18181b;background:#fff}.focus-mini-btn,.focus-ghost-btn{height:40px!important;border-radius:12px!important;font-size:14px!important;font-weight:780!important}.focus-mini-btn{background:#18181b!important;color:#fff!important;border:1px solid #18181b!important}.focus-ghost-btn{background:#fff!important;color:#18181b!important;border:1px solid rgba(148,163,184,.35)!important}.focus-ghost-btn:disabled{opacity:.45!important}.focus-resume-card .focus-power-main{font-weight:760;color:#18181b}.focus-note-card .focus-power-main{color:#71717a}@media (max-width:980px){.focus-power-panel{grid-template-columns:1fr;gap:10px}}.flow-status-chip strong{display:block!important;font-size:15px!important;color:#18181b!important;line-height:1.2!important;font-weight:820!important}.status{margin-top:10px!important;font-size:15px!important;color:#71717a!important;text-align:center!important;font-weight:700!important}.first-screen-actions{grid-template-columns:1.2fr .9fr .9fr!important;gap:10px!important;margin-top:14px!important}.first-screen-actions .btn{min-height:54px!important;height:54px!important;max-height:54px!important;align-self:stretch!important;font-size:16px!important;border-radius:14px!important;font-weight:820!important;letter-spacing:.01em!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 14px!important;line-height:1!important}.btn.start-primary{background:linear-gradient(135deg,#5490ff,#3d7ff5)!important;color:#fff!important;border:2px solid #5490ff!important;box-shadow:0 8px 20px rgba(84,144,255,.22)!important}.btn.warn{background:#f4f4f5!important;color:#18181b!important;border:2px solid #86efac!important;box-shadow:0 4px 12px rgba(84,144,255,.10)!important}.btn.stop{background:#fff!important;color:#dc2626!important;border:2px solid #fecaca!important;box-shadow:0 4px 12px rgba(244,63,94,.10)!important}.first-screen-picker-group{padding:14px 14px 12px!important}.first-screen-picker-headline strong{font-size:15px!important}.first-screen-picker-headline small{font-size:12px!important}.first-screen-choice{min-height:72px!important}.first-screen-choice span{font-size:11px!important}.first-screen-choice b{font-size:19px!important}@media (max-width:768px){.flow-status-row{grid-template-columns:1fr 1fr 1fr!important;gap:8px!important}.flow-status-chip{min-height:58px!important;padding:10px 10px 9px!important}.flow-status-chip strong{font-size:14px!important}.first-screen-actions{grid-template-columns:1fr 1fr 1fr!important}}

/* === HERO FINISH OVERRIDE v2026.06.18 === */
.timer-box{
  margin-top:18px!important;
  padding:18px!important;
  border-radius:34px!important;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.88), transparent 28%),
    linear-gradient(135deg, rgba(248,250,252,.98), rgba(241,245,249,.96) 38%, rgba(255,255,255,.98))!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 30px 70px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.92)!important;
}
.timer-shell{
  grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr)!important;
  gap:16px!important;
  align-items:start!important;
}
.timer-main,.timer-side{
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96))!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:28px!important;
  box-shadow:0 16px 34px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.92)!important;
}
.timer-main{
  padding:24px 24px 22px!important;
  gap:0!important;
  border-left:none!important;
}
.mode{
  margin:0 0 8px!important;
  padding:0!important;
  min-height:auto!important;
  border:none!important;
  background:none!important;
  color:#71717a!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
}
.task-name{
  margin:0!important;
  font-size:34px!important;
  line-height:1.04!important;
  letter-spacing:-.05em!important;
  color:#18181b!important;
  font-weight:860!important;
}
.sitting-presets{
  margin-top:16px!important;
  padding:16px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.96))!important;
  border:1px solid rgba(148,163,184,.16)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
.flip-clock-wrap{
  margin-top:16px!important;
  min-height:250px!important;
}
.flip-clock{
  min-width:min(100%,500px)!important;
  padding:26px 22px 22px!important;
  border-radius:30px!important;
  background:linear-gradient(180deg,#18181b 0%,#18181b 100%)!important;
  box-shadow:0 24px 48px rgba(15,23,42,.24), inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.status{
  margin:16px auto 0!important;
  color:#71717a!important;
  font-size:14px!important;
  font-weight:650!important;
}
.flow-status-row{
  margin-top:16px!important;
  gap:12px!important;
}
.flow-status-chip{
  min-height:72px!important;
  padding:14px 14px 12px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.96))!important;
  border:1px solid rgba(148,163,184,.16)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
.flow-status-chip strong{font-size:15px!important;font-weight:820!important;color:#18181b!important}
.focus-power-panel{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin-top:18px!important;
}
.focus-power-card{
  padding:16px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.97))!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 14px 30px rgba(15,23,42,.06)!important;
}
.focus-power-head strong{font-size:15px!important;font-weight:840!important}
.focus-power-head span{font-size:11px!important;color:#a1a1aa!important}
.focus-goal-actions input{height:42px!important;border-radius:14px!important}
.focus-mini-btn,.focus-ghost-btn{height:42px!important;border-radius:14px!important}
.timer-side{
  padding:16px!important;
  gap:14px!important;
}
.first-screen-picker-group{
  padding:16px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.97))!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 14px 30px rgba(15,23,42,.06)!important;
}
.first-screen-picker-headline strong{font-size:15px!important;font-weight:840!important;color:#18181b!important}
.first-screen-picker-headline small{font-size:11px!important;color:#a1a1aa!important}
.first-screen-picker-grid{gap:12px!important}
.first-screen-choice{
  min-height:88px!important;
  padding:16px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.96))!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 12px 24px rgba(15,23,42,.05)!important;
}
.first-screen-choice b{font-size:22px!important;font-weight:840!important;color:#18181b!important}
.first-screen-actions{
  gap:12px!important;
  padding:0!important;
  background:none!important;
  border:none!important;
  box-shadow:none!important;
}
    .first-screen-actions .btn{
      height:58px!important;
      border-radius:14px!important;
      font-size:16px!important;
      font-weight:840!important;
    }
    .btn.start-primary{box-shadow:0 14px 28px rgba(84,144,255,.24)!important}
    .btn.warn{background:#f4f4f5!important;border-color:rgba(24,24,27,.12)!important;color:#18181b!important}
    .btn.stop{background:#fff!important;border-color:#5490ff!important;color:#be123c!important}
    .action-support-panel{
      display:grid!important;
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:12px!important;
      margin-top:12px!important;
    }
    .action-support-card{
      min-height:128px!important;
      padding:16px!important;
      border-radius:14px!important;
      background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.97))!important;
      border:1px solid rgba(148,163,184,.18)!important;
      box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
      display:grid!important;
      gap:10px!important;
      align-content:start!important;
    }
    .action-support-card.wide{grid-column:1 / -1;min-height:0!important}
    .action-support-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
    .action-support-head strong{font-size:14px!important;font-weight:840!important;color:#18181b!important}
    .action-support-head span{font-size:11px!important;color:#a1a1aa!important;font-weight:760!important}
    .action-support-main{font-size:15px!important;line-height:1.45!important;color:#18181b!important;font-weight:760!important}
    .action-support-sub{font-size:12px!important;line-height:1.55!important;color:#71717a!important}
    .action-support-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
    .action-support-pill{min-height:64px!important;padding:12px 12px 11px!important;border-radius:14px!important;background:#f4f4f5!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important}
    .action-support-pill label{display:block!important;font-size:11px!important;color:#71717a!important;margin-bottom:5px!important;font-weight:760!important}
    .action-support-pill strong{display:block!important;font-size:14px!important;line-height:1.25!important;color:#18181b!important;font-weight:820!important}
    .action-support-card .btn{height:42px!important;border-radius:14px!important;font-size:14px!important;font-weight:800!important}
    @media (max-width:980px){
      .timer-shell{grid-template-columns:1fr!important}
      .focus-power-panel{grid-template-columns:1fr!important}
      .action-support-panel{grid-template-columns:1fr!important}
      .action-support-list{grid-template-columns:1fr!important}
    }

.goal-row.compact-goal-row,.daily-goal-inline.compact-goal-inline,.daily-goal-inline-input.compact-goal-inline-input{display:none!important}
.timer-main{padding:28px 28px 24px!important}.task-name{font-size:38px!important}.focus-power-panel{margin-top:20px!important}.sitting-presets{margin-top:18px!important}.flip-clock-wrap{margin-top:18px!important}.status{margin-top:18px!important}.flow-status-row{margin-top:18px!important}
.wrap{max-width:1180px!important;padding-left:16px!important;padding-right:16px!important}.timer-box{max-width:none!important}.history-section,.notes-report-group,.streak-calendar,#statsOverview,.stats-separator{max-width:1180px!important}@media (min-width:1280px){.timer-shell{grid-template-columns:minmax(0,1.24fr) minmax(390px,.76fr)!important}.timer-main{min-width:0}.timer-side{min-width:0}}

/* GPT55_PREMIUM_PASS */
:root{
  --premium-bg:#f4f4f5;
  --premium-ink:#18181b;
  --premium-muted:#71717a;
  --premium-line:rgba(24,24,27,.13);
  --premium-card:rgba(255,255,255,.94);
  --premium-card-strong:rgba(255,255,255,.97);
  --premium-shadow:0 22px 55px rgba(24,24,27,.12),0 2px 8px rgba(24,24,27,.045);
  --premium-inner:inset 0 1px 0 rgba(255,255,255,.82);
  --premium-accent:#52525b;
  --premium-green:#3d7ff5;
  --premium-warn:#b45309;
  --premium-red:#dc2626;
}
body{
  background-color:var(--premium-bg)!important;
  background-image:
    radial-gradient(circle at 12% 8%,rgba(255,255,255,.55),transparent 28%),
    radial-gradient(circle at 86% 14%,rgba(202,138,4,.08),transparent 26%),
    repeating-linear-gradient(12deg,rgba(24,24,27,.026) 0 1px,transparent 1px 24px),
    repeating-linear-gradient(102deg,rgba(24,24,27,.018) 0 1px,transparent 1px 30px)!important;
  background-size:100% 100%,100% 100%,auto,auto!important;
  color:var(--premium-ink)!important;
}
.wrap{max-width:1200px!important}
.quick-nav a,.section-pill{
  background:rgba(255,252,246,.76)!important;
  border:1px solid rgba(24,24,27,.12)!important;
  color:#18181b!important;
  box-shadow:0 10px 26px rgba(24,24,27,.08),inset 0 1px 0 rgba(255,255,255,.7)!important;
  backdrop-filter:blur(12px)!important;
}
.hero,.timer-main,.timer-side,.history-section,.notes-report-group,.settings-group,.streak-calendar,#statsOverview{
  background:linear-gradient(180deg,var(--premium-card-strong),var(--premium-card))!important;
  border:1px solid var(--premium-line)!important;
  border-radius:30px!important;
  box-shadow:var(--premium-shadow),var(--premium-inner)!important;
}
.hero{padding:30px!important}
.title{font-size:clamp(38px,5vw,62px)!important;letter-spacing:-.055em!important;color:var(--premium-ink)!important;font-weight:880!important}
.sub{color:var(--premium-muted)!important;font-weight:680!important;letter-spacing:.06em!important}
.timer-shell{gap:18px!important;align-items:stretch!important}
.timer-main{padding:30px!important;display:flex!important;flex-direction:column!important;align-items:center!important}
.timer-side{padding:24px!important;display:flex!important;flex-direction:column!important;gap:16px!important}
.mode,.first-screen-picker-headline strong,.action-support-head strong{color:var(--premium-ink)!important;font-weight:850!important;letter-spacing:.01em!important}
.task-name{font-size:32px!important;font-weight:860!important;color:var(--premium-ink)!important;letter-spacing:-.035em!important;text-align:center!important}
.practice-tip,.status,.action-support-main,.action-support-sub,.first-screen-picker-headline small{color:var(--premium-muted)!important}
.sitting-presets,.first-screen-picker-group,.action-support-card,.custom-panel,.focus-power-card{
  background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.92))!important;
  border:1px solid rgba(24,24,27,.11)!important;
  border-radius:14px!important;
  box-shadow:0 14px 32px rgba(24,24,27,.075),inset 0 1px 0 rgba(255,255,255,.76)!important;
}
.sitting-presets{width:100%!important;max-width:560px!important;padding:16px!important}

.sitting-preset-chip,.first-screen-choice,.focus-ghost-btn,.focus-mini-btn,.custom-chip,.btn{
  border-radius:14px!important;
  border:1px solid rgba(24,24,27,.12)!important;
  box-shadow:0 10px 22px rgba(24,24,27,.08),inset 0 1px 0 rgba(255,255,255,.65)!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.sitting-preset-chip,.first-screen-choice{
  background:linear-gradient(180deg,#fff,#f4f4f5)!important;
  color:var(--premium-ink)!important;
}
.sitting-preset-chip:hover,.first-screen-choice:hover,.btn:hover{transform:translateY(-1px)!important;filter:saturate(1.03)!important}
.sitting-preset-chip.is-selected,.sitting-preset-chip[aria-pressed="true"],.first-screen-choice.is-selected,.first-screen-choice[aria-pressed="true"]{
  background:linear-gradient(180deg,#5490ff,#3d7ff5)!important;
  color:#fff!important;
  border-color:rgba(36,24,15,.9)!important;
  box-shadow:0 16px 34px rgba(36,24,15,.20),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.first-screen-choice b{font-size:20px!important;color:inherit!important}.first-screen-choice span{color:inherit!important;opacity:.76!important}
.flip-clock-wrap{margin:20px auto 18px!important;padding:14px!important;border-radius:32px!important;background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(246,236,222,.7))!important;border:1px solid rgba(24,24,27,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.76)!important}
.countdown,.flip-clock{
  background:linear-gradient(180deg,#fff,#f4f4f5)!important;
  color:#18181b!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 22px 50px rgba(26,20,14,.28),inset 0 1px 0 rgba(255,255,255,.12)!important;
  text-shadow:0 1px 0 rgba(0,0,0,.4)!important;
  letter-spacing:.01em!important;
}
.first-screen-actions{gap:12px!important}.first-screen-actions .btn{height:56px!important;font-size:16px!important;font-weight:850!important}
.start-primary{background:linear-gradient(180deg,#5490ff,#3d7ff5)!important;border-color:rgba(36,121,78,.28)!important;color:#fff!important;box-shadow:0 16px 30px rgba(47,143,91,.24),inset 0 1px 0 rgba(255,255,255,.22)!important}
.btn.warn{background:linear-gradient(180deg,rgba(245,158,11,.12),rgba(245,158,11,.18))!important;border-color:rgba(183,121,31,.24)!important;color:#b45309!important}
.btn.stop{background:linear-gradient(180deg,#fff,#f4f4f5)!important;border-color:rgba(180,73,73,.26)!important;color:#dc2626!important}
.action-support-panel{gap:12px!important}.action-support-card{min-height:auto!important;padding:15px!important}.action-support-card.wide{padding:14px!important}
.action-support-pill,.flow-status-chip{background:rgba(255,250,243,.78)!important;border:1px solid rgba(24,24,27,.10)!important;border-radius:15px!important}
.history-section,.notes-report-group,.settings-group{margin-top:18px!important}
@media (max-width:980px){.hero{padding:22px!important}.timer-main,.timer-side{padding:20px!important}.task-name{font-size:26px!important}.first-screen-actions .btn{height:52px!important}}

/* Cron 2026-07-12: soften timer display; keep main area clean and avoid abrupt dark block */
body .countdown.flip-clock{
  background:linear-gradient(180deg,#ffffff,#f4f4f5)!important;
  color:#18181b!important;
  border:1px solid rgba(148,163,184,.20)!important;
  box-shadow:0 16px 36px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.92)!important;
  text-shadow:none!important;
}
body .countdown.flip-clock::before,
body .countdown.flip-clock::after{
  display:none!important;
}
body .flip-clock-wrap{
  background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(248,250,252,.70))!important;
  border-color:rgba(148,163,184,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84)!important;
}

/* cron 2026-07-15: 减少训练页重复入口。主计时区只保留练功选择与控制；今日目标/续练/速记等杂卡下沉隐藏，避免干扰。 */
#focusPowerPanel{display:none!important}
#sectionPills{display:none!important}

/* UI refinement 2026-09-10: visual-only pass; no behavior/data changes. */
:root{
  --ui-ink:#18181b;
  --ui-muted:#71717a;
  --ui-line:rgba(93,67,42,.14);
  --ui-surface:rgba(255,252,246,.96);
  --ui-shadow:0 14px 34px rgba(24,24,27,.09);
}
@media (min-width:981px){
  .hero{padding:22px 24px!important}
  .title{font-size:clamp(36px,4.4vw,54px)!important}
  .sub{margin-top:6px!important}
  .timer-box{margin-top:16px!important;padding:14px!important}
  .timer-main{padding:22px!important}
  .timer-side{padding:18px!important;gap:12px!important}
  .first-screen-picker-group{padding:14px!important;gap:10px!important}
  .first-screen-choice{min-height:70px!important;padding:12px!important}
  .first-screen-choice b{font-size:18px!important}
  .first-screen-action-group{padding:14px!important}
  .first-screen-actions .btn{height:52px!important}
  .action-support-panel{margin-top:8px!important}
}
@media (max-width:980px){
  .wrap{padding-left:10px!important;padding-right:10px!important}
  .hero{padding:14px!important;border-radius:14px!important}
  .title{font-size:38px!important}
  .sub{margin-top:6px!important;font-size:13px!important}
  .timer-box{margin-top:10px!important;padding:8px!important;border-radius:14px!important}
  .timer-main{padding:16px 13px 14px!important}
  .timer-side{padding:12px!important;gap:10px!important}
  .first-screen-picker-group{padding:12px!important;border-radius:14px!important}
  .first-screen-picker-grid{gap:7px!important}
  .first-screen-choice{min-height:58px!important;padding:10px!important;border-radius:15px!important}
  .first-screen-choice b{font-size:16px!important}
  /* 2026-09-10 fix: .bottom-bar is already the phone action bar; never mount a second one */
  .first-screen-action-group{display:none!important}
  .quick-restart{margin-bottom:8px!important}
  .history-section,.notes-report-group,.settings-group,.streak-calendar{margin-top:14px!important}
}

/* 2026-09-10 fix: the fixed action bar is only for 721-980px (tablet), where
   .bottom-bar is display:none. Phones (<=720px) use .bottom-bar exclusively. */
@media (min-width:721px) and (max-width:980px){
  body{padding-bottom:92px!important}
  .first-screen-action-headline{display:none!important}
  .first-screen-actions{display:grid!important;grid-template-columns:1.2fr 1fr 1fr!important;gap:8px!important;margin:0!important}
  .first-screen-actions .btn{height:52px!important;min-height:52px!important;border-radius:15px!important;font-size:15px!important}
  .action-support-panel{display:none!important}
  .first-screen-action-group{
    position:fixed!important;z-index:1000!important;left:0!important;right:0!important;bottom:0!important;
    display:block!important;margin:0!important;padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;
    background:rgba(255,252,246,.97)!important;border:0!important;border-top:1px solid rgba(93,67,42,.16)!important;
    border-radius:14px 18px 0 0!important;box-shadow:0 -10px 30px rgba(24,24,27,.14)!important;backdrop-filter:blur(16px)!important;
  }
}


.cm-rating{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px}
.cm-rating-label{font-size:13px;color:#71717a}
.cm-stars{display:flex;gap:4px}
.cm-star{background:none;border:none;font-size:26px;line-height:1;color:#e4e4e7;cursor:pointer;padding:2px;transition:color .15s, transform .15s}
.cm-star:hover{transform:scale(1.15)}
.cm-star.on{color:#f59e0b}

.celebrate-overlay{display:none;position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);align-items:center;justify-content:center;padding:20px;overflow:hidden}
.celebrate-overlay.show{display:flex}
.celebrate-modal{position:relative;background:#fff;border-radius:16px;max-width:360px;width:100%;padding:36px 26px 24px;text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.25);animation:modalPop .4s ease}
.celebrate-emoji{font-size:56px;margin-bottom:6px}
.celebrate-title{font-size:20px;font-weight:800;color:#18181b;margin-bottom:14px}
.celebrate-list{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.celebrate-item{display:flex;align-items:center;gap:10px;background:#f4f7ff;border:1px solid rgba(84,144,255,.18);border-radius:10px;padding:10px 12px;text-align:left}
.ci-icon{font-size:22px}
.ci-name{font-weight:700;font-size:14px;color:#18181b}
.ci-desc{font-size:12px;color:#71717a;margin-left:auto}
.celebrate-btn{background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border:none;border-radius:10px;padding:10px 28px;font-size:14px;font-weight:700;cursor:pointer}
.celebrate-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:16px}
.confetti-piece{position:absolute;top:-12px;width:8px;height:14px;opacity:.9;animation:confettiFall 2.8s ease-in forwards}
@keyframes confettiFall{to{transform:translateY(480px) rotate(720deg);opacity:0}}
@media(max-width:640px){.celebrate-item{flex-wrap:wrap}.ci-desc{margin-left:0;width:100%}}
.breathe-entry{margin-top:10px;width:100%;background:#eef4ff;border:1px solid rgba(84,144,255,.35);color:#3d7ff5;border:none;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:700;cursor:pointer}
.breathe-entry:active{transform:scale(.98)}
.breathe-overlay{display:none;position:fixed;inset:0;z-index:10001;background:radial-gradient(circle at 50% 42%,rgba(30,52,96,.92),rgba(9,14,26,.96) 70%);backdrop-filter:blur(8px);align-items:center;justify-content:center}
.breathe-overlay.show{display:flex}
.breathe-modal{display:flex;flex-direction:column;align-items:center;gap:22px}
.breathe-ring{width:min(52vw,260px);height:min(52vw,260px);border-radius:50%;background:radial-gradient(circle,rgba(84,144,255,.22),rgba(84,144,255,.03) 70%);display:flex;align-items:center;justify-content:center;transition:transform 4s ease-in-out;box-shadow:0 0 90px rgba(84,144,255,.14)}
.breathe-ring.inhale{transform:scale(1.22)}
.breathe-ring.exhale{transform:scale(.78)}
.breathe-ring.hold{transform:scale(1.22)}
.breathe-core{width:38%;height:38%;border-radius:50%;background:linear-gradient(135deg,#5490ff,#3d7ff5);box-shadow:0 0 60px rgba(84,144,255,.55);transition:transform 4s ease-in-out}
.breathe-phase{color:#eaf2ff;font-size:26px;font-weight:700;letter-spacing:6px}
.breathe-count{color:#eaf2ff;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}
.breathe-stop{background:rgba(255,255,255,.18);color:#f5f8ff;border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:11px 30px;font-size:14px;cursor:pointer}
@media(max-width:640px){.breathe-phase{font-size:22px}.breathe-ring{width:64vw;height:64vw}}

.manual-add-btn{background:#f4f7ff;border:1px solid rgba(84,144,255,.25);color:#3d7ff5;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:600;cursor:pointer}
.manual-add-panel{display:none;margin-top:10px;padding:12px;border:1px solid rgba(24,24,27,.08);border-radius:12px;background:#fafafa;flex-direction:column;gap:10px}
.manual-add-panel.open{display:flex}
.manual-add-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.manual-input{flex:1;min-width:100px;border:1px solid rgba(24,24,27,.1);border-radius:9px;padding:9px 11px;font-size:13px;font-family:inherit;outline:none;background:#fff}
.manual-input:focus{border-color:#5490ff}
.manual-input[type=textarea],textarea.manual-input{width:100%;resize:vertical;min-height:44px}
.manual-stars{display:flex;gap:2px}
.manual-save-btn{background:linear-gradient(135deg,#5490ff,#3d7ff5);color:#fff;border:none;border-radius:9px;padding:9px 18px;font-size:13px;font-weight:700;cursor:pointer}
.manual-add-row .cm-star{font-size:22px}