:root{
      --bg:#07111f;
      --bg-soft:#0e1a2d;
      --surface:rgba(255,255,255,.08);
      --surface-strong:#ffffff;
      --line:rgba(255,255,255,.12);
      --line-soft:rgba(17,24,39,.08);
      --text:#eef4ff;
      --text-soft:#b7c2da;
      --text-dark:#172033;
      --muted:#5b6780;
      --primary:#6f46ff;
      --primary-2:#8c62ff;
      --accent:#18c6a3;
      --warn:#ffbf5f;
      --shadow:0 24px 80px rgba(3,9,20,.34);
      --radius-xl:32px;
      --radius-lg:24px;
      --radius-md:18px;
      --container:min(1180px, calc(100vw - 32px));
      --cookie-banner-offset:0px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
      color:var(--text-dark);
      background:
        radial-gradient(circle at top left, rgba(111,70,255,.38) 0, rgba(111,70,255,0) 38%),
        radial-gradient(circle at top right, rgba(24,198,163,.18) 0, rgba(24,198,163,0) 28%),
        linear-gradient(180deg, #08101d 0%, #0b1424 28%, #f4f7fd 28.01%, #f7f9ff 100%);
      min-height:100vh;
    }
    a{color:inherit}
    img{max-width:100%;display:block}
    button,input,textarea{font:inherit}

    #cookie-banner{
      display:none;
      position:sticky;
      top:0;
      z-index:60;
      padding:12px 16px;
      background:rgba(6,10,19,.92);
      backdrop-filter:blur(20px);
      border-bottom:1px solid rgba(255,255,255,.08);
      color:#f4f7ff;
    }
    .cb-wrap{max-width:var(--container);margin:0 auto;display:flex;gap:16px;align-items:center;justify-content:space-between}
    .cb-btns{display:flex;gap:10px;flex-wrap:wrap}
    .cb-btn{border:0;border-radius:999px;padding:10px 14px;font-weight:700;cursor:pointer}
    .cb-accept{background:#fff;color:#0d1423}
    .cb-decline{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.14)}

    .page-shell{padding-top:var(--cookie-banner-offset)}
    .site-header{
      position:sticky;
      top:0;
      z-index:40;
      backdrop-filter:blur(18px);
      background:rgba(8,16,29,.62);
      border-bottom:1px solid rgba(255,255,255,.08);
    }
    .site-header-inner{
      max-width:var(--container);
      margin:0 auto;
      padding:14px 0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:12px;
      color:#fff;
      text-decoration:none;
      min-width:0;
    }
    .brand-logo{
      width:42px;height:42px;border-radius:14px;
      background:linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
      border:1px solid rgba(255,255,255,.12);
      padding:7px;
      display:grid;place-items:center;
      box-shadow:0 10px 26px rgba(0,0,0,.18);
    }
    .brand-title{font-weight:800;letter-spacing:-.02em}
    .brand-sub{font-size:12px;color:var(--text-soft)}
    .header-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
    .header-link,
    .header-cta{
      text-decoration:none;
      padding:10px 14px;
      border-radius:999px;
      font-weight:700;
      font-size:14px;
    }
    .header-link{color:#fff;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
    .header-cta{color:#10182b;background:#fff;box-shadow:0 16px 36px rgba(0,0,0,.18)}

    main{display:block}
    .hero{
      padding:44px 0 30px;
      color:var(--text);
    }
    .hero-inner{
      max-width:var(--container);
      margin:0 auto;
      display:grid;
      grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);
      gap:28px;
      align-items:stretch;
    }
    .hero-copy{
      padding:28px 0 12px;
    }
    .eyebrow{
      display:inline-flex;align-items:center;gap:8px;
      padding:8px 14px;
      border-radius:999px;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.1);
      color:#fff;font-size:13px;font-weight:700;
      margin-bottom:18px;
    }
    .hero h1{
      margin:0;
      font-size:clamp(40px,6vw,68px);
      line-height:.98;
      letter-spacing:-.05em;
      max-width:12ch;
    }
    .hero-lead{
      margin:20px 0 0;
      max-width:62ch;
      color:var(--text-soft);
      font-size:18px;
      line-height:1.65;
    }
    .hero-lead strong{color:#fff}
    .hero-points{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:14px;
      margin-top:28px;
    }
    .hero-point{
      padding:18px;
      border-radius:22px;
      background:rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.08);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
    }
        .hero-point strong{display:block;font-size:16px;color:#fff;margin-bottom:6px}
    .hero-point span{display:block;font-size:14px;color:var(--text-soft);line-height:1.55}
    .hero-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
    .hero-compare-card{padding:18px;border-radius:24px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
    .hero-compare-card.is-accent{background:linear-gradient(180deg,rgba(111,70,255,.20) 0%, rgba(111,70,255,.08) 100%);border-color:rgba(161,137,255,.38)}
    .hero-compare-kicker{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.09);color:#fff;font-size:11px;font-weight:800;letter-spacing:.02em;margin-bottom:12px}
    .hero-compare-card h3{margin:0 0 8px;font-size:24px;line-height:1.08;letter-spacing:-.04em;color:#fff}
    .hero-compare-card p{margin:0;color:var(--text-soft);font-size:15px;line-height:1.65}
    .hero-compare-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
    .hero-compare-list li{position:relative;padding-left:18px;color:#eef2ff;font-size:14px;line-height:1.55}
    .hero-compare-list li::before{content:'•';position:absolute;left:0;top:0;color:#97f0d0;font-weight:900}
    .hero-compare-note{margin-top:14px;color:#d6def3;font-size:14px;line-height:1.65}

    .hero-inner,
    .hero-copy,
    .hero-points,
    .intake-shell,
    .intake-card,
    .dream-textarea,
    .voice-row,
    .quick-row,
    .decision-rail,
    .button-stack,
    .tiny-note{
      transition:transform .38s ease, opacity .32s ease, width .32s ease, max-width .32s ease, filter .32s ease, padding .32s ease, box-shadow .32s ease;
    }

    .intake-shell{
      position:relative;
      min-width:0;
    }
    .intake-shell::before,
    .intake-shell::after{
      content:"";
      position:absolute;
      inset:auto;
      border-radius:50%;
      filter:blur(55px);
      z-index:0;
    }
    .intake-shell::before{width:150px;height:150px;right:10px;top:-20px;background:rgba(111,70,255,.35)}
    .intake-shell::after{width:120px;height:120px;left:-10px;bottom:20px;background:rgba(24,198,163,.24)}

    .intake-card{
      position:relative;
      z-index:1;
      height:100%;
      border-radius:var(--radius-xl);
      padding:24px;
      background:linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.08) 100%);
      border:1px solid rgba(255,255,255,.12);
      backdrop-filter:blur(18px);
      box-shadow:var(--shadow);
    }
    .intake-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
    .intake-title{margin:0;font-size:24px;line-height:1.15;letter-spacing:-.03em;color:#fff}
    .intake-sub{margin:8px 0 0;color:#d7def1;font-size:14px;line-height:1.55}
    .price-pill{
      flex:0 0 auto;
      padding:8px 12px;
      border-radius:999px;
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.12);
      color:#fff;
      font-size:12px;
      font-weight:800;
      text-align:center;
      letter-spacing:.03em;
    }
    .intake-top-actions{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:10px;
      flex-wrap:wrap;
      flex:0 0 auto;
    }
    .workmode-reset{
      display:none;
      align-items:center;
      justify-content:center;
      min-height:38px;
      padding:0 14px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(8,14,26,.34);
      color:#eef2ff;
      font-size:13px;
      font-weight:800;
      letter-spacing:.01em;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
      cursor:pointer;
      transition:transform .18s ease, background .18s ease, opacity .18s ease;
    }
    .workmode-reset:hover{transform:translateY(-1px);background:rgba(255,255,255,.12)}
    .workmode-reset:disabled{opacity:.55;cursor:wait}
    .workmode-reset[hidden]{display:none !important}
    .intake-note{
      display:flex;
      gap:10px;
      align-items:flex-start;
      padding:14px 15px;
      border-radius:20px;
      background:rgba(7,13,24,.32);
      border:1px solid rgba(255,255,255,.08);
      color:#d7deef;
      font-size:14px;
      line-height:1.55;
      margin-bottom:14px;
    }
    .intake-note strong{color:#fff}
    .dream-textarea-wrap{
      margin-bottom:2px;
    }
    .dream-textarea{
      width:100%;
      min-height:168px;
      resize:vertical;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(8,14,26,.46);
      color:#fff;
      border-radius:24px;
      padding:18px 18px;
      outline:none;
      line-height:1.65;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.02), 0 0 0 0 rgba(123,92,255,0);
      transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .dream-textarea:focus{
      border-color:rgba(151,124,255,.72);
      background:rgba(10,17,30,.62);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.02), 0 0 0 4px rgba(122,92,255,.14);
    }
    .dream-textarea.has-content{
      border-color:rgba(255,255,255,.18);
    }
    .dream-textarea::placeholder{color:#aeb7cf}
    .dream-textarea-meta{
      margin-top:10px;
      display:flex;
      gap:12px;
      align-items:center;
      justify-content:space-between;
      flex-wrap:wrap;
      color:#cfd8ef;
      font-size:12px;
      line-height:1.5;
    }
    .dream-textarea-tip{
      color:#cfd8ef;
      opacity:.94;
      max-width:560px;
    }
    .dream-textarea-tools{
      display:inline-flex;
      align-items:center;
      gap:10px;
      margin-left:auto;
    }
    .dream-textarea-counter{
      display:inline-flex;
      align-items:center;
      min-height:30px;
      padding:0 11px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.1);
      background:rgba(255,255,255,.05);
      color:#eef2ff;
      font-weight:700;
      letter-spacing:.01em;
      white-space:nowrap;
    }
    .dream-clear-btn{
      min-height:30px;
      padding:0 11px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.1);
      background:rgba(255,255,255,.04);
      color:#d8e1f7;
      font-size:12px;
      font-weight:800;
      cursor:pointer;
      transition:transform .18s ease, background .18s ease, border-color .18s ease;
    }
    .dream-clear-btn:hover{
      transform:translateY(-1px);
      background:rgba(255,255,255,.08);
      border-color:rgba(255,255,255,.16);
    }
    .dream-clear-btn[hidden]{display:none !important}
    .voice-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}
    .voice-btn,
    .btn-main,
    .btn-secondary,
    .btn-ghost,
    .cta-chip{
      border:0;
      cursor:pointer;
      border-radius:999px;
      transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .voice-btn{
      display:inline-flex;align-items:center;justify-content:center;gap:8px;
      min-height:46px;padding:0 16px;
      background:#fff;color:#0f1729;font-weight:800;
      box-shadow:0 12px 28px rgba(0,0,0,.16);
    }
    .voice-btn svg{width:18px;height:18px}
    .voice-btn.recording{background:#ffe7ee;color:#9f1e46}
    .voice-status{flex:1 1 160px;color:#d5def5;font-size:13px;line-height:1.5}

    .quick-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
    .cta-chip{
      display:inline-flex;align-items:center;justify-content:center;
      min-height:34px;padding:8px 12px;text-decoration:none;
      background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);
      color:#fff;font-size:12px;font-weight:700;
    }
    .cta-chip:hover,.header-link:hover,.header-cta:hover,.btn-main:hover,.btn-secondary:hover,.btn-ghost:hover,.voice-btn:hover{transform:translateY(-1px)}

    .dream-intake-result{margin-top:16px;text-align:left}
    .dream-intake-result.enhanced-result{
      display:grid;
      gap:16px;
    }
    .dream-result-summary{
      display:grid;
      gap:12px;
    }
    .dream-result-grid{
      display:grid;
      grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
      gap:18px;
      align-items:start;
    }
    .dream-result-main,
    .dream-result-side,
    .dream-result-actions{
      min-width:0;
    }
    .dream-result-main{
      display:grid;
      gap:12px;
      align-content:start;
    }
    .dream-result-side{
      position:sticky;
      top:96px;
    }
    .dream-result-actions{
      display:grid;
      gap:12px;
    }
    .dream-intake-result .result-box-compact,
    .dream-intake-result .result-box-card,
    .dream-intake-result .result-box-muted,
    .dream-intake-result .result-box-actions{
      width:100%;
      max-width:none;
      box-sizing:border-box;
    }
    .dream-intake-result .result-box-compact,
.dream-intake-result .result-box-card,
.dream-intake-result .result-box-muted{
  color:#1a2440 !important;
}

.dream-intake-result .result-box-compact h1,
.dream-intake-result .result-box-compact h2,
.dream-intake-result .result-box-compact h3,
.dream-intake-result .result-box-card h1,
.dream-intake-result .result-box-card h2,
.dream-intake-result .result-box-card h3,
.dream-intake-result .result-box-muted h1,
.dream-intake-result .result-box-muted h2,
.dream-intake-result .result-box-muted h3,
.dream-intake-result .result-box-compact strong,
.dream-intake-result .result-box-card strong,
.dream-intake-result .result-box-muted strong{
  color:#1a2440 !important;
}

.dream-intake-result .result-box-compact p,
.dream-intake-result .result-box-compact li,
.dream-intake-result .result-box-compact span,
.dream-intake-result .result-box-card p,
.dream-intake-result .result-box-card li,
.dream-intake-result .result-box-card span,
.dream-intake-result .result-box-muted p,
.dream-intake-result .result-box-muted li,
.dream-intake-result .result-box-muted span{
  color:#5c6982 !important;
}

.dream-intake-result .result-box-compact a,
.dream-intake-result .result-box-card a,
.dream-intake-result .result-box-muted a{
  color:#5f43d8 !important;
}
    .dream-intake-result .result-box-compact{
      padding:14px 16px !important;
      border-radius:22px !important;
      background:linear-gradient(180deg,#f7f6ff 0%, #f4f2ff 100%) !important;
      border:1px solid #e0d9ff !important;
      box-shadow:0 14px 34px rgba(91,66,196,.08);
    }
    .dream-intake-result .result-box-muted{
      padding:14px 16px !important;
      border-radius:20px !important;
      background:#f8faff !important;
      border:1px solid #e5ebf7 !important;
    }
    .dream-intake-result .result-box-card{
      padding:18px !important;
      border-radius:24px !important;
      background:#fff !important;
      border:1px solid #e3eaf7 !important;
      box-shadow:0 20px 42px rgba(15,23,42,.07);
    }
    .dream-intake-result .result-box-actions{
      padding:0 !important;
      background:transparent !important;
      border:0 !important;
      box-shadow:none !important;
    }
    .dream-intake-result .result-title-kicker{
      display:inline-flex;
      align-items:center;
      gap:8px;
      min-height:30px;
      padding:7px 12px;
      border-radius:999px;
      background:#ece8ff;
      color:#5f43d8;
      font-size:12px;
      font-weight:800;
      letter-spacing:.02em;
      margin-bottom:10px;
    }
    .dream-intake-result .result-section-label{
      display:block;
      margin-bottom:8px;
      font-size:12px;
      font-weight:800;
      text-transform:uppercase;
      letter-spacing:.06em;
      color:#6c7a96;
    }
    .dream-intake-result .result-inline-chip-row{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:10px;
    }
    .dream-intake-result .result-inline-chip-row > *{
      margin:0 !important;
    }
    .dream-intake-result .result-hide-duplicate{
      display:none !important;
    }
    .dream-intake-result .result-collapsed-copy{
      display:-webkit-box;
      -webkit-line-clamp:3;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    @media (min-width: 1100px){
      body.intake-workmode .hero{
        padding-top:24px;
      }
      body.intake-workmode .hero-inner{
        position:relative;
        grid-template-columns:minmax(0,1fr);
        max-width:min(1280px, calc(100vw - 64px));
        min-height:680px;
        align-items:flex-start;
      }
      body.intake-workmode .hero-copy{
        position:absolute;
        top:12px;
        left:0;
        width:min(410px, 31vw);
        max-width:410px;
        padding-top:10px;
        opacity:.1;
        transform:translateX(-9vw) scale(.94);
        filter:blur(2px);
        pointer-events:none;
        user-select:none;
      }
      body.intake-workmode .hero-copy .hero-points{
        opacity:.42;
      }
      body.intake-workmode .intake-shell{
        width:min(100%, 1120px);
        margin:0 auto;
      }
      body.intake-workmode .intake-card{
        padding:30px 34px 30px;
        border-radius:34px;
        box-shadow:0 30px 80px rgba(6,12,24,.28);
      }
      body.intake-workmode .dream-textarea{
        min-height:230px;
        border-radius:28px;
        padding:22px 22px;
      }
      body.intake-workmode .dream-textarea-meta{
        margin-top:12px;
      }
      body.intake-workmode .voice-row{
        margin-top:14px;
      }
      body.intake-workmode .decision-rail{
        grid-template-columns:repeat(2, minmax(0, 1fr));
      }
      body.intake-workmode .dream-intake-result.enhanced-result{
        gap:18px;
      }
      body.intake-workmode .dream-result-grid{
        grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);
      }
      body.intake-workmode .dream-result-side{
        top:84px;
      }
      body.intake-workmode .workmode-reset{
        display:inline-flex;
      }
    }


    @media (max-width: 760px){
      .intake-top{
        flex-direction:column;
        align-items:flex-start;
      }
      .intake-top-actions{
        width:100%;
        justify-content:flex-start;
      }
      .dream-textarea-meta{
        align-items:flex-start;
      }
      .dream-textarea-tools{
        margin-left:0;
      }
    }

    @media (max-width: 980px){
      .dream-result-grid{
        grid-template-columns:1fr;
      }
      .dream-result-side{
        position:static;
      }
    }

    .decision-rail{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px;
      margin-top:18px;
    }
    .decision-card{
      border-radius:22px;
      padding:16px;
      background:rgba(6,11,21,.36);
      border:1px solid rgba(255,255,255,.08);
    }
    .decision-kicker{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em}
    .decision-kicker.free{background:rgba(24,198,163,.14);color:#8ff0d9}
    .decision-kicker.paid{background:rgba(111,70,255,.18);color:#ddd0ff}
    .decision-card h3{margin:10px 0 6px;color:#fff;font-size:17px;line-height:1.25}
    .decision-card p{margin:0;color:#cad4ea;font-size:13px;line-height:1.6}

    .button-stack{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;margin-top:18px}
    .btn-main,
    .btn-secondary,
    .btn-ghost{
      display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 18px;text-decoration:none;font-weight:800;font-size:15px;
    }
    .btn-main{background:linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);color:#fff;box-shadow:0 18px 36px rgba(111,70,255,.35)}
    .btn-secondary{background:#fff;color:#111827;box-shadow:0 14px 28px rgba(5,10,18,.16)}
    .btn-ghost{background:rgba(255,255,255,.07);color:#fff;border:1px solid rgba(255,255,255,.1)}
    .tiny-note{margin-top:12px;font-size:12px;color:#5d6881;line-height:1.55}

    .section{
      max-width:var(--container);
      margin:0 auto;
      padding:34px 0;
    }
    .surface{
      background:#fff;
      border:1px solid rgba(16,24,40,.06);
      border-radius:32px;
      box-shadow:0 24px 60px rgba(14,24,42,.07);
    }
    .section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
    .section-head h2{margin:0;font-size:clamp(28px,4vw,42px);line-height:1.03;letter-spacing:-.04em;color:#0e1728}
    .section-head p{margin:0;max-width:58ch;color:#5d6881;font-size:16px;line-height:1.7}

    .flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:26px}
    .flow-card{
      padding:24px;border-radius:26px;background:linear-gradient(180deg,#f9fbff 0%,#f4f7fe 100%);border:1px solid #e7ecfa;
    }
    .flow-step{width:40px;height:40px;border-radius:14px;background:#0f172a;color:#fff;display:grid;place-items:center;font-weight:800;margin-bottom:16px}
    .flow-card h3{margin:0 0 8px;font-size:20px;letter-spacing:-.03em;color:#111a2e}
    .flow-card p{margin:0;color:#5b6880;line-height:1.7;font-size:15px}

    .split-band{display:grid;grid-template-columns:1.02fr .98fr;gap:18px}
    .choice-card{
      padding:28px;
      border-radius:30px;
      background:#fff;
      border:1px solid rgba(16,24,40,.06);
      box-shadow:0 20px 46px rgba(13,21,37,.06);
    }
    .choice-card.free{background:linear-gradient(180deg,#f6fffb 0%, #f9fffd 100%);border-color:#d8f4ea}
    .choice-card.paid{background:linear-gradient(180deg,#f7f5ff 0%, #fcfbff 100%);border-color:#e6ddff}
    .pill{display:inline-flex;align-items:center;min-height:30px;padding:6px 11px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.03em}
    .pill.free{background:#dcfbf0;color:#0b8667}
    .pill.paid{background:#ebe4ff;color:#5a31d2}
    .choice-card h3{margin:16px 0 10px;font-size:28px;line-height:1.06;letter-spacing:-.04em;color:#0d1629}
    .choice-card p{margin:0;color:#53617a;font-size:16px;line-height:1.72}
    .choice-list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px}
    .choice-list li{display:flex;gap:10px;color:#162035;font-weight:600;line-height:1.55}
    .choice-list li span:first-child{color:#6f46ff}
    .choice-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}

    .benefits{
      padding:28px;
    }
    .benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
    .benefit-card{padding:22px;border-radius:24px;background:#f7f9fe;border:1px solid #e7edf8}
    .benefit-card strong{display:block;font-size:18px;color:#10182b;margin-bottom:10px;letter-spacing:-.03em}
    .benefit-card span{display:block;color:#58647d;font-size:15px;line-height:1.7}

    .readout-surface{padding:28px}
    .readout-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
    .readout-card{padding:22px;border-radius:24px;background:linear-gradient(180deg,#f8f9ff 0%,#f3f6fe 100%);border:1px solid #e2e8fb}
    .readout-card strong{display:block;font-size:18px;color:#10182b;margin-bottom:10px;letter-spacing:-.03em}
    .readout-card span{display:block;color:#5b6780;font-size:15px;line-height:1.7}
    .readout-example{margin-top:18px;padding:22px 24px;border-radius:24px;background:linear-gradient(135deg,#111b31 0%, #192548 100%);color:#fff;box-shadow:0 20px 48px rgba(15,23,42,.16)}
    .readout-example-kicker{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12);font-size:11px;font-weight:800;letter-spacing:.03em;margin-bottom:12px}
    .readout-example p{margin:0;color:#dfe7fb;font-size:16px;line-height:1.75}
    .readout-example strong{color:#fff}

    .examples-wrap{padding:28px}
    .example-topics{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
    .topic-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border-radius:999px;text-decoration:none;background:#f3f6fe;border:1px solid #e1e8f7;color:#25324c;font-weight:700}
    .sample-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
    .sample-card{padding:22px;border-radius:24px;background:#fff;border:1px solid #e8edf7;box-shadow:0 12px 26px rgba(15,23,42,.04)}
    .sample-card h3{margin:0 0 10px;font-size:20px;color:#0f1729;letter-spacing:-.03em}
    .sample-card p{margin:0;color:#5c6982;line-height:1.7;font-size:15px}

    .hubs-box{padding:28px;background:linear-gradient(180deg,#0f1830 0%,#16213d 100%);color:#fff;border-radius:32px;box-shadow:0 24px 60px rgba(11,18,34,.2)}
    .hubs-head h2{color:#fff}
    .hubs-head p{color:#c9d3ea}
    .hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
    .hub-card{padding:22px;border-radius:24px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
    .hub-card h3{margin:0 0 10px;font-size:20px;letter-spacing:-.03em}
    .hub-card p{margin:0;color:#c5d1ea;line-height:1.65;font-size:15px}
    .hub-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;color:#fff;text-decoration:none;font-weight:800}

    .faq-wrap{padding:28px}
    .faq-grid{display:grid;gap:12px}
    .faq-item{border:1px solid #e7ecf7;border-radius:22px;padding:0 18px;background:#fff}
    .faq-item summary{cursor:pointer;list-style:none;padding:18px 0;font-weight:800;color:#0f172a}
    .faq-item summary::-webkit-details-marker{display:none}
    .faq-item p{margin:0 0 18px;color:#5f6b83;line-height:1.7}

    .closing-band{
      max-width:var(--container);
      margin:0 auto 42px;
      padding:28px;
      border-radius:32px;
      background:linear-gradient(135deg,#111b31 0%, #1a2446 100%);
      color:#fff;
      display:grid;
      grid-template-columns:1fr auto;
      gap:22px;
      align-items:center;
      box-shadow:0 28px 70px rgba(11,18,34,.22);
    }
    .closing-band h2{margin:0 0 10px;font-size:clamp(28px,4vw,42px);letter-spacing:-.04em;line-height:1.02}
    .closing-band p{margin:0;color:#cdd6ec;max-width:54ch;line-height:1.7}
    .closing-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}

    .site-footer{
      max-width:var(--container);
      margin:0 auto;
      padding:0 0 34px;
      color:#637089;
      font-size:14px;
    }
    .site-footer a{text-decoration:none;color:#33415f;font-weight:600}

    .mobile-sticky-cta{
      position:fixed;
      left:14px;right:14px;bottom:14px;
      z-index:50;
      display:none;
    }
    .msc-btn{
      display:flex;justify-content:space-between;gap:16px;align-items:center;
      padding:16px 18px;
      border-radius:22px;
      text-decoration:none;
      background:linear-gradient(135deg,#6f46ff 0%, #8d63ff 100%);
      box-shadow:0 22px 44px rgba(111,70,255,.38);
      color:#fff;
    }
    .msc-main{font-weight:800}
    .msc-sub{font-size:12px;color:#ebe4ff}

    .hero-input-attn{box-shadow:0 0 0 4px rgba(143,112,255,.28)}

    @media (max-width: 1080px){
      .hero-inner,.split-band,.closing-band{grid-template-columns:1fr}
      .benefit-grid,.readout-grid{grid-template-columns:repeat(2,1fr)}
      .sample-grid,.hub-grid,.flow-grid{grid-template-columns:1fr}
      .hero-points,.hero-compare{grid-template-columns:1fr}
    }
    @media (max-width: 760px){
      :root{--container:min(100vw - 24px, 100vw - 24px)}
      .site-header-inner{padding:12px 0}
      .brand-sub,.header-link{display:none}
      .header-cta{padding:10px 12px;font-size:13px}
      .hero{padding:22px 0 22px}
      .hero-copy{padding:4px 0 0}
      .hero h1{max-width:11ch;font-size:clamp(34px,12vw,48px)}
      .hero-lead{font-size:16px}
      .intake-card,.choice-card,.flow-grid,.benefits,.examples-wrap,.faq-wrap,.hubs-box{padding:18px}
      .intake-top{flex-direction:column;align-items:flex-start}
      .dream-textarea{min-height:148px;border-radius:20px}
      .decision-rail,.button-stack,.benefit-grid,.readout-grid{grid-template-columns:1fr}
      .section{padding:22px 0}
      .section-head{display:block}
      .section-head p{margin-top:10px}
      .flow-grid{gap:12px}
      .closing-actions{justify-content:flex-start}
      .mobile-sticky-cta{display:block}
      .site-footer{padding-bottom:94px}
      .cb-wrap{display:block}
      .cb-btns{margin-top:10px}
    }

  /* Added on top of the production look: mobile hamburger + homepage service area */
  .site-header .header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
  .header-login{
    text-decoration:none;
    padding:10px 14px;
    border-radius:999px;
    font-weight:700;
    font-size:14px;
    border:1px solid rgba(255,255,255,.10);
    color:#fff;
    background:rgba(255,255,255,.06);
    cursor:pointer;
    box-shadow:0 10px 24px rgba(0,0,0,.16);
  }
  .header-login:hover{background:rgba(255,255,255,.10)}
  .mobile-menu-toggle{
    display:none;
    width:42px;
    height:42px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.06);
    color:#fff;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    padding:0;
    position:relative;
    box-shadow:0 10px 26px rgba(0,0,0,.14);
  }
  .mobile-menu-toggle span{
    position:absolute;
    left:11px; right:11px;
    height:2px; border-radius:999px;
    background:#fff;
    transition:transform .22s ease, opacity .18s ease, top .22s ease;
  }
  .mobile-menu-toggle span:nth-child(1){top:13px}
  .mobile-menu-toggle span:nth-child(2){top:20px}
  .mobile-menu-toggle span:nth-child(3){top:27px}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){top:20px;transform:rotate(45deg)}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){top:20px;transform:rotate(-45deg)}

  .mobile-menu-backdrop{
    display:none;
    position:fixed; inset:0;
    background:rgba(3,8,17,.5);
    backdrop-filter:blur(6px);
    z-index:54;
  }
  .mobile-menu-backdrop.is-open{display:block}
  .mobile-header-menu{
    position:fixed;
    top:calc(var(--cookie-banner-offset) + 72px);
    right:12px;
    left:12px;
    z-index:55;
    background:linear-gradient(180deg, rgba(10,18,33,.98), rgba(13,22,40,.98));
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    box-shadow:0 24px 60px rgba(0,0,0,.34);
    padding:14px;
    transform:translateY(-10px) scale(.98);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .24s ease;
    max-height:calc(100dvh - var(--cookie-banner-offset) - 84px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .mobile-header-menu.is-open{opacity:1;transform:none;pointer-events:auto}
  .mobile-menu-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
  .mobile-menu-title{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#b9c6ea}
  .mobile-menu-close{
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.06);
    color:#fff;
    width:40px;height:40px;border-radius:12px;cursor:pointer;font-size:20px;line-height:1
  }
  .mobile-menu-list{display:grid;gap:10px}
  .mobile-menu-link,.mobile-menu-action{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    width:100%;
    padding:14px 16px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    font-size:15px;
    text-align:left;
    cursor:pointer;
  }
  .mobile-menu-link small,.mobile-menu-action small{display:block;color:#b7c4e8;font-size:12px;font-weight:600;margin-top:2px}
  .mobile-menu-link::after,.mobile-menu-action::after{content:'›';color:#cfd8f4;font-size:20px;line-height:1}
  .mobile-menu-section{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
  .mobile-menu-note{font-size:12px;line-height:1.5;color:#b7c4e8;margin:4px 2px 0}
  body.mobile-menu-open{overflow:hidden}

  .app-main{padding-top:0;padding-bottom:0}
  .service-zone{max-width:var(--container);margin:0 auto 28px;display:grid;gap:18px}
  .service-surface{
    background:#fff;
    border:1px solid rgba(17,24,39,.07);
    border-radius:28px;
    box-shadow:0 16px 44px rgba(13,24,43,.08);
    padding:24px;
  }
  .service-head h2{margin:0 0 8px;color:#16213a;font-size:30px;letter-spacing:-.02em}
  .service-head p{margin:0;color:#5a6783;line-height:1.65}
  .type-switch-card{margin-top:18px}
  .type-switch-heading{font-weight:800;color:#1b2742;margin-bottom:12px}
  #type-switch:empty,#type-desc:empty,#order-status:empty{display:none}
  #order-status{margin-bottom:18px}
  #objednat-dream{scroll-margin-top:126px}
  .service-anchor-note{margin:14px 0 0;color:#66728f;font-size:14px;line-height:1.6}

  #bottom-nav{display:none !important}

  .dream-intake-compact{
    margin-top:14px;
    text-align:left;
  }
  .dream-intake-compact[hidden]{display:none !important;}
  .dream-intake-compact-inner{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:14px;
    align-items:center;
    padding:16px 18px;
    border-radius:22px;
    border:1px solid rgba(157,172,230,.44);
    background:linear-gradient(180deg, rgba(248,250,255,.98) 0%, rgba(241,245,255,.98) 100%);
    box-shadow:0 16px 36px rgba(76,95,180,.10);
  }
  .dream-intake-compact-inner.is-paid{
    border-color:rgba(137,120,214,.38);
    background:linear-gradient(180deg, rgba(250,248,255,.98) 0%, rgba(244,240,255,.98) 100%);
    box-shadow:0 18px 38px rgba(110,84,193,.12);
  }
  .dream-intake-compact-inner.is-soft{
    border-style:dashed;
    background:linear-gradient(180deg, rgba(249,251,255,.98) 0%, rgba(244,247,255,.98) 100%);
  }
  .dream-intake-compact-icon{
    width:46px;
    height:46px;
    border-radius:16px;
    display:grid;
    place-items:center;
    font-size:20px;
    font-weight:900;
    color:#5162be;
    background:linear-gradient(135deg, rgba(98,119,221,.16), rgba(122,55,199,.12));
    box-shadow:inset 0 0 0 1px rgba(107,122,209,.18);
    flex:0 0 auto;
  }
  .dream-intake-compact-inner.is-soft .dream-intake-compact-icon{
    color:#63709b;
    background:linear-gradient(135deg, rgba(152,167,214,.18), rgba(209,217,243,.20));
  }
  .dream-intake-compact-copy{min-width:0;}
  .dream-intake-compact-meta-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
  }
  .dream-intake-compact-kicker{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:4px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.75);
    color:#4f5fb8;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    box-shadow:inset 0 0 0 1px rgba(157,172,230,.34);
  }
  .dream-intake-compact-meta{
    color:#7a84ab;
    font-size:12px;
    font-weight:700;
  }
  .dream-intake-compact-title{
    color:#293662;
    font-size:20px;
    line-height:1.2;
    font-weight:850;
    letter-spacing:-.02em;
  }
  .dream-intake-compact-chips{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
  }
  .dream-intake-compact-chip{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.82);
    color:#4352a1;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    box-shadow:inset 0 0 0 1px rgba(151,166,228,.42);
  }
  .dream-intake-compact-chip.is-neutral{
    color:#6b7398;
    background:rgba(255,255,255,.64);
  }
  .dream-intake-compact-hint{
    margin-top:12px;
    color:#5e6a92;
    font-size:13px;
    line-height:1.6;
    max-width:760px;
  }
  .dream-intake-compact-side{
    display:flex;
    align-items:center;
    justify-content:flex-end;
  }
  .dream-intake-compact-btn{
    flex:0 0 auto;
    min-height:44px;
    padding:11px 15px;
    border-radius:999px;
    border:1px solid #d7defd;
    background:#fff;
    color:#425197;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(70,84,154,.08);
    white-space:nowrap;
  }
  .dream-intake-compact-btn:hover{
    background:#f8faff;
    border-color:#c8d3fb;
  }

  @media (max-width:900px){
    .dream-intake-compact-inner{
      grid-template-columns:auto minmax(0,1fr);
    }
    .dream-intake-compact-side{
      grid-column:1 / -1;
      justify-content:flex-start;
      padding-left:60px;
    }
  }

  @media (max-width:760px){
    .dream-intake-compact{margin-top:12px;}
    .dream-intake-compact-inner{
      grid-template-columns:1fr;
      gap:12px;
      padding:14px;
      border-radius:18px;
    }
    .dream-intake-compact-icon{
      width:40px;
      height:40px;
      border-radius:14px;
      font-size:18px;
    }
    .dream-intake-compact-title{font-size:17px;}
    .dream-intake-compact-hint{font-size:12px;}
    .dream-intake-compact-chip{min-height:32px;padding:6px 11px;font-size:12px;}
    .dream-intake-compact-side{
      grid-column:auto;
      padding-left:0;
      justify-content:stretch;
    }
    .dream-intake-compact-btn{width:100%;}
  }

  .brand-logo img{width:100%;height:100%;object-fit:contain}

  @media (max-width:900px){
    .site-header-inner{
      gap:12px;
      position:relative;
      padding:14px 56px 14px 0;
      min-height:52px;
      overflow:visible;
    }
    .brand-sub{display:none}
    .header-links{display:none !important}
    .header-actions{
      margin-left:auto;
      position:static !important;
      z-index:3;
      display:block !important;
      width:0;
      min-width:0;
      flex:0 0 auto;
      overflow:visible;
    }
    .header-actions > *{display:none !important}
    .header-login{display:none !important}
    #cart-btn{display:none !important}
    #mobile-menu-toggle,
    .mobile-menu-toggle{
      display:inline-flex !important;
      position:absolute !important;
      top:50%;
      right:0;
      transform:translateY(-50%);
      z-index:12;
      flex:0 0 auto;
      visibility:visible !important;
      opacity:1 !important;
      pointer-events:auto !important;
    }
    .mobile-header-menu{top:calc(var(--cookie-banner-offset) + 68px)}
  }

  @media (max-width:760px){
    .site-header{background:rgba(8,16,29,.84)}
    .site-header-inner{padding-top:10px;padding-bottom:10px;gap:10px}
    .brand-logo{width:44px;height:44px;border-radius:14px;padding:7px}
    .brand-title{font-size:16px;line-height:1.1}
    .mobile-menu-toggle{width:40px;height:40px;border-radius:13px}
    .service-surface{padding:18px;border-radius:22px}
    .service-head h2{font-size:24px;line-height:1.1}
    .service-head p,.service-anchor-note{font-size:14px;line-height:1.55}
  }

  @media (max-width:390px){
    .brand-title{font-size:14px}
    .service-head h2{font-size:22px}
  }

/* Scoping jen do login modalu */
      #login-modal .auth-tabs{
        display:flex;
        gap:8px;
        margin:10px 0 14px 0;
        padding:4px;
        border-radius:12px;
        background:rgba(0,0,0,.04);
      }
      #login-modal .auth-tab{
        flex:1;
        border:0;
        border-radius:10px;
        padding:10px 12px;
        cursor:pointer;
        font-weight:700;
        font-size:.96em;
        background:transparent;
        color:#1f1f1f;
        opacity:.75;
        transition:all .15s ease;
      }
      #login-modal .auth-tab.is-active{
        background:#fff;
        box-shadow:0 4px 12px rgba(0,0,0,.08);
        opacity:1;
      }
      #login-modal .auth-offer-copy{
        font-size:.98em;
        opacity:.95;
        margin:0 0 10px 0;
        line-height:1.35;
      }
      #login-modal .btn-social{
        width:100%;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:10px;
        padding:12px 12px;
        border-radius:10px;
        cursor:pointer;
        font-weight:700;
        font-size:.98em;
      }
      #login-modal .btn-social svg{ width:18px; height:18px; flex:0 0 18px; }
      #login-modal .auth-sep{
        text-align:center;
        margin-top:10px;
        opacity:.7;
        font-size:.92em;
      }
      #login-modal .auth-skip-link{
        background:transparent;
        border:none;
        color:#4d5fd6;
        font-size:.92em;
        cursor:pointer;
        padding:6px 8px;
      }
      #login-modal .bonus-pill{
        display:inline-block;
        margin-left:6px;
        padding:2px 8px;
        border-radius:999px;
        font-size:.85em;
        background:rgba(122,55,199,.10);
        color:#2c2a5e;
        border:1px solid rgba(122,55,199,.20);
      }

      /* Form styling */
      #login-modal .login-options input{
        width:100%;
        padding:14px 14px;
        border-radius:12px;
        border:1px solid rgba(77,95,214,.35);
        background:#eef3ff;
        font-size:16px;
        outline:none;
      }
      #login-modal .login-options .btn-login-email,
      #login-modal .login-options .btn,
      #login-modal .login-options .btn-register-email,
      #login-modal .login-options .btn-forgot-email{
        width:100%;
        padding:14px 16px;
        border-radius:12px;
        border:0;
        background:linear-gradient(90deg,#6a7bff,#5a57d7);
        color:#fff;
        font-weight:900;
        letter-spacing:.5px;
        cursor:pointer;
      }
      #login-modal .login-message{
        min-height:18px;
        margin-top:8px;
        font-weight:600;
        font-size:13px;
      }
      #login-modal .form-group{ display:flex; flex-direction:column; gap:8px; }
      #login-modal .form-group label{ font-size:13px; font-weight:700; color:#2e3468; }

/* Extracted from inline style attributes for index.html */

.u-hidden{display:none;}
.text-soft-75{opacity:.75;}
.text-soft-70{opacity:.7;}
.text-soft-separator{opacity:.6;margin:0 6px;}
.auth-social-box{margin:12px 0 16px 0;}
.btn-social-google{margin-top:10px;background:#fff;color:#1f1f1f;border:1px solid rgba(0,0,0,.18);}
.btn-social-facebook{margin-top:10px;background:#1877f2;color:#fff;border:none;}
.auth-inline-links{margin-top:10px;text-align:center;}
.form-group-consent{margin:1.1em 0 1.2em 0;}
.label-inline{display:inline;}
.auth-inline-link{color:#4d5fd6;text-decoration:underline;}
.auth-footnote-center{margin-top:14px;text-align:center;}
.auth-copy-muted-wrap{text-align:center;margin-top:10px;}
.section-head-tight{padding:28px 28px 0;}
.service-note-soft{margin-top:10px;opacity:.78;}


/* === FIX: login modal overlay & auth modal layout === */
body.modal-open{overflow:hidden;}
.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(11,18,35,.52);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.modal{
  position:relative;
  width:min(560px, calc(100vw - 24px));
  max-width:100%;
  max-height:min(92vh, 860px);
  overflow:auto;
  border-radius:26px;
  padding:30px 24px 22px;
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,249,255,.98) 100%);
  border:1px solid rgba(214,223,245,.92);
  box-shadow:0 28px 80px rgba(8,15,30,.28), 0 8px 26px rgba(94,81,181,.10);
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:#1f2b45;
}
.auth-modal{
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.auth-modal h2{
  margin:0;
  padding-right:44px;
  text-align:center;
  color:#223055;
  font-size:28px;
  line-height:1.15;
}
.auth-modal > p{
  margin:10px 0 0;
  text-align:center;
  color:#66718f;
  font-size:14px;
  line-height:1.55;
}
.modal .modal-close{
  position:absolute;
  top:16px;
  right:16px;
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(205,215,240,.95);
  background:#f8faff;
  color:#5563b5;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(26,37,86,.08);
}
.modal .modal-close:hover{
  background:#eef3ff;
  color:#3f4ea1;
}
#login-modal .login-options{
  margin-top:14px;
}
#login-modal .login-options form{
  display:grid;
  gap:12px;
}
#login-modal .login-options input{
  box-sizing:border-box;
  margin:0;
}
#login-modal .auth-inline-links,
#login-modal .auth-footnote-center,
#login-modal .auth-copy-muted-wrap{
  text-align:center;
}
#login-modal .form-group-consent{
  padding:12px 14px;
  border-radius:14px;
  background:#f8faff;
  border:1px solid #e3e9f7;
}
@media (max-width:760px){
  .modal-backdrop{padding:12px;align-items:flex-end;}
  .modal{
    width:100%;
    max-height:calc(100vh - 12px);
    border-radius:24px 24px 18px 18px;
    padding:26px 16px 18px;
  }
  .auth-modal h2{font-size:24px;}
}

/* === FIX: dream intake base styles missing after odpojení /style.css === */
.dream-intake-panel{
  border:1px solid #dfe7ff;
  background:linear-gradient(180deg,#fbfcff 0%,#f5f8ff 100%);
  border-radius:22px;
  padding:18px;
  box-shadow:0 14px 34px rgba(77,95,214,0.08);
}
.dream-intake-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef2ff;
  color:#4051ad;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:10px;
}
.dream-intake-note{
  margin:0 0 10px 0;
  padding:10px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e4eaff;
  color:#4b5685;
  font-size:13px;
  line-height:1.55;
}
.dream-intake-title{
  margin:0 0 8px 0;
  color:#2e3468;
  font-size:20px;
  line-height:1.25;
}
.dream-intake-summary{
  margin:0;
  color:#55628e;
  font-size:14px;
  line-height:1.65;
}
.dream-intake-analysis-hint{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  background:linear-gradient(90deg, rgba(122,55,199,0.10), rgba(77,95,214,0.08));
  border:1px solid rgba(122,55,199,0.14);
  color:#4c4386;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
}
.dream-intake-preview{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid #e2e9ff;
}
.dream-intake-preview-label{
  margin-bottom:8px;
  color:#69749f;
  font-size:12px;
  font-weight:700;
  letter-spacing:.1px;
}
.dream-intake-preview-text{
  white-space:pre-wrap;
  color:#3e476f;
  font-size:14px;
  line-height:1.75;
}
.dream-intake-highlight{
  padding:2px 6px;
  border-radius:8px;
  background:rgba(122,55,199,0.16);
  color:#342f7f;
  font-weight:800;
  box-shadow:inset 0 0 0 1px rgba(122,55,199,0.14);
}
.dream-intake-symbols,
.dream-intake-themes,
.dream-intake-mini-chips,
.dream-intake-option-symbols,
.dream-intake-free-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.dream-intake-symbols a,
.dream-intake-themes span,
.dream-intake-mini-chips span,
.dream-intake-option-symbols span,
.dream-intake-free-tags span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 10px;
  border-radius:999px;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}
.dream-intake-symbols a{
  background:#fff;
  color:#3241a8;
  border:1px solid #cfd8ff;
}
.dream-intake-themes span,
.dream-intake-mini-chips span,
.dream-intake-option-symbols span{
  background:#f1f4ff;
  color:#5a6795;
  border:1px solid #e1e8ff;
}
.dream-intake-free-tags span{
  background:#fff;
  border:1px solid #f1dfba;
  color:#7a5a1e;
}
.dream-intake-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}
.dream-intake-card{
  background:#fff;
  border:1px solid #e2e9ff;
  border-radius:18px;
  padding:14px;
  box-shadow:0 8px 22px rgba(77,95,214,0.05);
}
.dream-intake-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.dream-intake-card-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background:#f3f6ff;
  color:#5c6794;
  font-size:12px;
  font-weight:700;
}
.dream-intake-card-link{
  color:#5162d0;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
.dream-intake-card h4{
  margin:0 0 8px 0;
  color:#2e3468;
  font-size:16px;
}
.dream-intake-card p{
  margin:0;
  color:#5d6791;
  font-size:13px;
  line-height:1.6;
}
.dream-intake-card-match{
  margin-top:10px;
  font-size:12px;
  color:#68739c;
}
.dream-intake-recommendation{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid #e2e9ff;
  color:#4c577f;
  font-size:13px;
  line-height:1.6;
}
.dream-intake-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.dream-intake-primary,
.dream-intake-secondary,
.dream-intake-option-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  min-height:44px;
  padding:11px 16px;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.dream-intake-primary{
  border:none;
  background:linear-gradient(90deg,#4d5fd6 0%,#7a37c7 100%);
  color:#fff;
  box-shadow:0 6px 18px rgba(122,55,199,0.22);
}
.dream-intake-secondary{
  background:#fff;
  color:#425197;
  border:1px solid #d8e1ff;
}
.dream-intake-options{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}
.dream-intake-option{
  position:relative;
  background:#fff;
  border:1px solid #e2e9ff;
  border-radius:18px;
  padding:14px;
  box-shadow:0 8px 22px rgba(77,95,214,0.05);
}
.dream-intake-option.is-recommended{border-width:2px;box-shadow:0 10px 28px rgba(77,95,214,0.10);}
.dream-intake-option--free{background:linear-gradient(180deg,#fbfffd 0%,#f4fcf8 100%);border-color:#d7efe2;}
.dream-intake-option--free.is-recommended{border-color:#4fb77c;}
.dream-intake-option--paid{background:linear-gradient(180deg,#fbfcff 0%,#f5f8ff 100%);border-color:#dfe5ff;}
.dream-intake-option--paid.is-recommended{border-color:#6675dd;}
.dream-intake-option-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;}
.dream-intake-option-badge,.dream-intake-option-rec{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800;}
.dream-intake-option-badge.free{background:#ddf4e8;color:#177245;}
.dream-intake-option-badge.paid{background:#edf0ff;color:#4858b8;}
.dream-intake-option-rec{background:#f7ecff;color:#7a37c7;}
.dream-intake-option h4{margin:0 0 6px 0;color:#2e3468;font-size:16px;}
.dream-intake-option p{margin:0;color:#5d6791;font-size:13px;line-height:1.6;}
.dream-intake-option-meta{margin-top:10px;color:#69749f;font-size:12px;line-height:1.55;}
.dream-intake-option-cta{margin-top:12px;border:none;}
.dream-intake-option-cta.free{background:#fff;color:#177245;border:1px solid #bfe4cf;}
.dream-intake-option-cta.paid{background:linear-gradient(90deg,#4d5fd6 0%,#7a37c7 100%);color:#fff;box-shadow:0 6px 18px rgba(122,55,199,0.20);}
.dream-intake-free-reveal{
  margin-top:14px;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(180deg,#fffdf9 0%,#fff7eb 100%);
  border:1px solid #f0ddba;
  box-shadow:0 10px 28px rgba(185,124,24,0.10);
}
.dream-intake-free-reveal.is-loading{display:flex;align-items:center;gap:14px;}
.dream-intake-free-kicker{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#fff3d6;color:#8a5a00;font-size:11px;font-weight:800;letter-spacing:.15px;margin-bottom:10px;}
.dream-intake-free-reveal h4{margin:0 0 8px 0;color:#5e3d00;font-size:18px;line-height:1.35;}
.dream-intake-free-reveal h4 span{color:#7a37c7;}
.dream-intake-free-text{margin:0;color:#6f5a2f;font-size:14px;line-height:1.7;}
.dream-intake-free-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px;}
.dream-intake-free-item{background:rgba(255,255,255,0.88);border:1px solid #f1e2c5;border-radius:14px;padding:11px 12px;}
.dream-intake-free-item strong{display:block;color:#6a4a12;font-size:12px;margin-bottom:5px;}
.dream-intake-free-item div{color:#5f678e;font-size:13px;line-height:1.55;}
.dream-intake-free-match{margin-top:12px;color:#83652e;font-size:12px;line-height:1.5;}
.dream-intake-why{margin-top:12px;padding:13px 14px;border-radius:14px;background:rgba(255,255,255,0.82);border:1px solid #f1e2c5;}
.dream-intake-why strong{display:block;color:#6a4a12;font-size:12px;margin-bottom:6px;}
.dream-intake-why p{margin:0;color:#626b91;font-size:13px;line-height:1.65;}
.dream-intake-free-upsell{display:flex;flex-direction:column;gap:12px;margin-top:14px;padding-top:14px;border-top:1px dashed #ebd5aa;color:#5e5f7d;font-size:13px;line-height:1.6;}
.dream-intake-free-actions{display:flex;flex-wrap:wrap;gap:10px;}
.dream-intake-free-loader{width:22px;height:22px;border-radius:50%;border:3px solid #ead7ab;border-top-color:#b97c18;animation:dreamIntakeSpin .9s linear infinite;flex:0 0 auto;}
@keyframes dreamIntakeSpin{to{transform:rotate(360deg);}}
@media (min-width:768px){
  .dream-intake-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dream-intake-options{grid-template-columns:1fr 1fr;}
  .dream-intake-free-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:767px){
  .dream-intake-preview{display:none;}
  .dream-intake-cards{display:none;}
  .dream-intake-actions,
  .dream-intake-free-actions{flex-direction:column;}
  .dream-intake-primary,
  .dream-intake-secondary,
  .dream-intake-option-cta{padding:11px 14px;font-size:13px;}
}


    /* v7 conversion cleanup */
    .choice-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
    .choice-microcopy{font-size:12px;font-weight:700;color:#61708b}
    .choice-microcopy-strong{color:#5a31d2}
    .compact-choice{align-self:start}
    .featured-choice{
      position:relative;
      background:linear-gradient(180deg,#f5f1ff 0%, #fbf9ff 100%);
      border:1px solid #d8cbff;
      box-shadow:0 24px 54px rgba(111,70,255,.14);
      transform:translateY(-8px);
    }
    .choice-recommend{
      display:inline-flex;align-items:center;min-height:30px;padding:6px 12px;margin-bottom:14px;
      border-radius:999px;background:linear-gradient(135deg,#6f46ff 0%,#8d63ff 100%);color:#fff;font-size:12px;font-weight:800;letter-spacing:.02em;
      box-shadow:0 12px 24px rgba(111,70,255,.22);
    }
    .choice-note{margin-top:16px;color:#5d6881;font-size:14px;line-height:1.65}
    .choice-note-strong{color:#3f2f80;font-weight:600}
    .choice-actions-strong{align-items:flex-start;flex-direction:column}
    .choice-actions-strong .btn-main{min-width:min(100%, 360px)}
    .choice-assurance{font-size:13px;line-height:1.55;color:#5b6880;font-weight:600}
    .choice-compare-strip{
      margin-top:18px;padding:16px 18px;border-radius:20px;background:#f6f8fd;border:1px solid #e7edf8;
      color:#56637c;display:flex;gap:10px;align-items:flex-start;line-height:1.65;font-size:14px;
    }
    .choice-compare-strip strong{color:#10182b;white-space:nowrap}
    .split-band-conversion .choice-card h3{margin-top:14px}
    .split-band-conversion .choice-card.free{background:linear-gradient(180deg,#f8fffc 0%, #ffffff 100%)}
    .split-band-conversion .choice-card.paid h3{font-size:30px}
    .split-band-conversion .choice-card.paid .btn-main{box-shadow:0 20px 42px rgba(111,70,255,.28)}

    @media (max-width:1080px){
      .featured-choice{transform:none}
    }
    @media (max-width:760px){
      .choice-compare-strip{flex-direction:column}
      .choice-compare-strip strong{white-space:normal}
      .choice-actions-strong .btn-main{width:100%;min-width:0}
    }


/* === Dream order wizard unified (desktop + mobile) === */
#horoscope-form.dream-form-shell--wizard{
  --dw-border: rgba(167, 183, 255, 0.24);
  --dw-card: linear-gradient(180deg, rgba(25, 34, 74, 0.92) 0%, rgba(14, 26, 58, 0.96) 100%);
  --dw-card-2: linear-gradient(180deg, rgba(17, 24, 53, 0.96) 0%, rgba(9, 18, 43, 0.98) 100%);
  --dw-soft: rgba(255,255,255,.76);
  --dw-strong: #ffffff;
  --dw-accent: #8d6bff;
  --dw-accent-2: #5c83ff;
  position:relative;
  display:grid;
  gap:20px;
  max-width:1040px;
  margin:0 auto;
  padding:28px;
  border-radius:30px;
  border:1px solid var(--dw-border);
  background:linear-gradient(180deg, rgba(93,102,160,.24) 0%, rgba(22,31,67,.34) 100%);
  box-shadow:0 32px 80px rgba(6,15,41,.24), inset 0 1px 0 rgba(255,255,255,.08);
}
#horoscope-form.dream-form-shell--wizard > h2{
  margin:0 !important;
  text-align:left !important;
}
#horoscope-form.dream-form-shell--wizard label{
  display:block;
  margin:0 0 8px;
  font-size:14px;
  line-height:1.45;
  font-weight:800;
  color:rgba(255,255,255,.92);
}
#horoscope-form.dream-form-shell--wizard input:not([type=checkbox]):not([type=range]):not([type=hidden]),
#horoscope-form.dream-form-shell--wizard select,
#horoscope-form.dream-form-shell--wizard textarea{
  width:100%;
  border:1px solid rgba(186,196,255,.18);
  border-radius:18px;
  background:rgba(12,20,44,.72);
  color:#fff;
  padding:15px 16px;
  box-sizing:border-box;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
#horoscope-form.dream-form-shell--wizard textarea{ min-height:150px; }
#horoscope-form.dream-form-shell--wizard input::placeholder,
#horoscope-form.dream-form-shell--wizard textarea::placeholder{ color:rgba(214,220,255,.48); }
#horoscope-form.dream-form-shell--wizard input:focus,
#horoscope-form.dream-form-shell--wizard select:focus,
#horoscope-form.dream-form-shell--wizard textarea:focus{
  outline:none;
  border-color:rgba(153,128,255,.82);
  box-shadow:0 0 0 4px rgba(133,104,255,.18);
}
.wizard-top{ display:grid; gap:14px; }
.wizard-top-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.wizard-step-text{ font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:rgba(217,225,255,.68); }
.wizard-title-text{ font-size:28px; font-weight:900; line-height:1.12; color:#fff; max-width:720px; }
.wizard-bar{ height:10px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
.wizard-bar-fill{ height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg, #5b79ff 0%, #8d53ff 100%); box-shadow:0 8px 20px rgba(110,95,255,.34); transition:width .24s ease; }
.wizard-steps{ display:grid; gap:18px; }
.wizard-step{ display:none; padding:24px; border-radius:24px; border:1px solid var(--dw-border); background:var(--dw-card); box-shadow:0 20px 48px rgba(2,8,26,.18); }
.wizard-step.active{ display:grid; gap:14px; }
.wizard-step[aria-hidden="true"]{ display:none; }
.dream-preview, .dynamic-question{ display:grid; gap:12px; padding:18px; border-radius:22px; border:1px solid rgba(173,188,255,.16); background:var(--dw-card-2); }
.dream-preview-title{ font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:rgba(216,224,255,.65); }
.dream-preview-text{ color:rgba(255,255,255,.92); line-height:1.75; white-space:pre-wrap; }
.dream-edit-btn, .btn-question-toggle, .wizard-next, .wizard-submit, .wizard-back{
  appearance:none; border:0; border-radius:999px; padding:13px 18px; font-weight:800; cursor:pointer; transition:transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.dream-edit-btn, .btn-question-toggle, .wizard-back{ background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.12); }
.wizard-next, .wizard-submit{ background:linear-gradient(90deg, #5b72ff 0%, #944ff3 100%); color:#fff; box-shadow:0 16px 34px rgba(100,89,255,.28); }
.dream-edit-btn:hover, .btn-question-toggle:hover, .wizard-back:hover, .wizard-next:hover, .wizard-submit:hover{ transform:translateY(-1px); }
.dq-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dq-close-btn{ appearance:none; border:0; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.08); color:#fff; cursor:pointer; }
.dq-textarea{ min-height:120px; }
.dq-hint, .field-hint, .choice-assurance, #horoscope-form.dream-form-shell--wizard small{ color:rgba(212,221,255,.68) !important; }
.emotion-slider-wrap, .age-slider-wrap{ display:grid; gap:14px; padding:16px 18px; border-radius:22px; border:1px solid rgba(173,188,255,.16); background:var(--dw-card-2); }
.emotion-slider, .age-slider{ width:100%; accent-color:#7d66ff; }
.emotion-slider-meta, .age-slider-meta{ display:flex; justify-content:space-between; gap:12px; font-size:12px; color:rgba(214,223,255,.68); }
.emotion-slider-value{ font-size:15px; line-height:1.55; color:#fff; font-weight:700; }
.age-slider-controls{ display:flex; align-items:center; gap:12px; }
.age-step-btn{ width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.08); color:#fff; font-size:24px; cursor:pointer; }
.age-number-input{ max-width:120px; text-align:center; font-weight:800; }
#horoscope-form.dream-form-shell--wizard .toggle-switch + span,
#horoscope-form.dream-form-shell--wizard .toggle-switch{ color:rgba(255,255,255,.84); }
#horoscope-form.dream-form-shell--wizard .wizard-nav{ display:flex; gap:12px; justify-content:space-between; flex-wrap:wrap; }
#horoscope-form.dream-form-shell--wizard .wizard-nav > *{ flex:1 1 180px; }
#horoscope-form.dream-form-shell--wizard .btn-main,
#horoscope-form.dream-form-shell--wizard .btn-secondary{ border-radius:999px; }
@media (min-width: 980px){
  #horoscope-form.dream-form-shell--wizard{ padding:34px; }
  .wizard-step.active{ grid-template-columns:1.1fr .95fr; align-items:start; }
  .wizard-step.active > label,
  .wizard-step.active > input,
  .wizard-step.active > select,
  .wizard-step.active > textarea,
  .wizard-step.active > .emotion-slider-wrap,
  .wizard-step.active > .age-slider-wrap,
  .wizard-step.active > .dream-preview,
  .wizard-step.active > .dynamic-question{ grid-column:1 / -1; }
  .wizard-nav{ grid-column:1 / -1; }
}
@media (max-width: 899px){
  #horoscope-form.dream-form-shell--wizard{ padding:18px; border-radius:24px; }
  .wizard-title-text{ font-size:22px; }
  .wizard-step{ padding:18px; border-radius:20px; }
  .age-slider-controls{ justify-content:space-between; }
  .age-number-input{ max-width:none; flex:1; }
}

/* === Payment / credit modals restored for redesigned index === */
#payment-modal, #credit-modal{ display:none; }
.modal-backdrop.is-open-inline{ display:flex !important; }
#payment-modal.modal-backdrop, #credit-modal.modal-backdrop{ padding:18px; align-items:center; justify-content:center; }
#payment-modal .modal, #credit-modal .modal{ width:min(560px, 100%); max-width:560px; border-radius:28px; padding:28px 26px 24px; background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,246,255,.98)); color:#1a2147; box-shadow:0 32px 80px rgba(8,15,41,.30); position:relative; }
#payment-modal .modal h2, #credit-modal .modal h2{ margin:0 0 10px; font-size:28px; line-height:1.12; color:#17204a; }
#payment-modal .modal p, #credit-modal .modal p{ color:#57627d; }
#payment-modal .modal .modal-actions, #credit-modal .modal .modal-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }
#payment-modal .modal .btn, #credit-modal .modal .btn{ flex:1 1 220px; min-height:52px; border-radius:999px; border:1px solid rgba(88,101,160,.18); font-weight:800; cursor:pointer; }
#payment-modal .btn-main, #credit-modal .btn-main{ background:linear-gradient(90deg, #536cfb 0%, #8e4ff3 100%); color:#fff; box-shadow:0 18px 36px rgba(103,94,255,.24); }
#payment-modal .btn-secondary, #credit-modal .btn-secondary{ background:#fff; color:#21305f; }
#payment-modal .modal-close, #credit-modal .modal-close{ position:absolute; top:16px; right:16px; width:40px; height:40px; border-radius:50%; border:0; background:rgba(36,48,88,.08); color:#22305c; cursor:pointer; font-size:24px; }
@media (max-width: 640px){
  #payment-modal.modal-backdrop, #credit-modal.modal-backdrop{ padding:12px; align-items:flex-end; }
  #payment-modal .modal, #credit-modal .modal{ width:100%; border-radius:24px 24px 0 0; padding:24px 18px 18px; }
  #payment-modal .modal h2, #credit-modal .modal h2{ font-size:24px; }
}


/* === v9: dream-first cleanup === */
.type-switch-card--hidden,
.type-switch-card[hidden]{
  display:none !important;
}

#horoscope-form.dream-form-shell--wizard{
  background:linear-gradient(180deg, rgba(244,246,255,.96) 0%, rgba(235,239,252,.98) 100%);
  border:1px solid rgba(193,201,236,.9);
  box-shadow:0 28px 70px rgba(13,19,45,.14);
}

#horoscope-form.dream-form-shell--wizard{
  --dw-border: rgba(144, 158, 214, 0.24);
  --dw-card: linear-gradient(180deg, rgba(28, 41, 89, 0.96) 0%, rgba(13, 25, 61, 0.98) 100%);
  --dw-card-2: linear-gradient(180deg, rgba(19, 30, 69, 0.98) 0%, rgba(10, 19, 51, 0.99) 100%);
  --dw-soft: #657395;
  --dw-strong: #1f2f63;
  --dw-accent: #7c67ff;
  --dw-accent-2: #4f78ff;
}

.wizard-top{
  gap:16px;
  padding:22px 24px;
  border-radius:24px;
  border:1px solid rgba(123,141,215,.22);
  background:linear-gradient(135deg, rgba(77,95,170,.18) 0%, rgba(255,255,255,.7) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);
}

.wizard-top-row{
  display:grid;
  justify-content:flex-start;
  gap:10px;
}

.wizard-step-text{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(92,107,175,.14);
  border:1px solid rgba(118,133,205,.2);
  font-size:11px;
  letter-spacing:.14em;
  color:#5061a8;
}

.wizard-title-text{
  font-size:32px;
  font-weight:900;
  line-height:1.08;
  letter-spacing:-0.02em;
  color:#1f2f63;
  max-width:760px;
}

.wizard-bar{
  height:12px;
  background:rgba(90,103,156,.12);
}

.wizard-bar-fill{
  background:linear-gradient(90deg, #5a74ff 0%, #8d56ff 100%);
  box-shadow:0 10px 24px rgba(100,89,255,.24);
}

#horoscope-form.dream-form-shell--wizard > h2{
  color:#223469;
}

#horoscope-form.dream-form-shell--wizard .toggle-switch + span,
#horoscope-form.dream-form-shell--wizard .toggle-switch{
  color:#4b5a82;
}

@media (max-width: 899px){
  .wizard-top{ padding:18px 18px; border-radius:20px; }
  .wizard-title-text{ font-size:24px; }
}

.history-diary{
  margin-top:18px;
  padding:22px;
  border-radius:28px;
  background:linear-gradient(180deg,#f7f8ff 0%,#eef2ff 100%);
  border:1px solid rgba(124,106,255,.14);
  box-shadow:0 18px 50px rgba(20,32,72,.08);
}

.history-diary-head{
  margin-bottom:18px;
}

.history-diary-kicker{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#5f43d8;
  background:rgba(95,67,216,.10);
  margin-bottom:10px;
}

.history-diary-title{
  margin:0;
  font-size:30px;
  line-height:1.08;
  color:#16213e;
}

.history-diary-subtitle{
  margin:10px 0 0;
  max-width:760px;
  font-size:15px;
  line-height:1.65;
  color:#64708b;
}

.history-diary-list{
  display:grid;
  gap:16px;
}

.history-diary-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px 18px 16px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(124,106,255,.12);
  box-shadow:0 14px 34px rgba(23,35,79,.06);
}

.history-diary-card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.history-diary-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.history-diary-badge{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#2f3f77;
  background:#eef1ff;
  border:1px solid rgba(104,117,173,.15);
}

.history-diary-badge-soft{
  color:#5f43d8;
  background:rgba(95,67,216,.08);
}

.history-diary-date{
  font-size:13px;
  line-height:1.4;
  color:#7b86a2;
  white-space:nowrap;
}

.history-diary-card-title{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.18;
  color:#17244a;
}

.history-diary-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:10px;
  font-size:14px;
}

.history-diary-meta-label{
  color:#7b86a2;
  font-weight:700;
}

.history-diary-meta-value{
  color:#22345f;
  font-weight:700;
}

.history-diary-summary{
  margin:0;
  font-size:14px;
  line-height:1.7;
  color:#5d6881;
}

.history-diary-card-actions{
  display:flex;
  justify-content:flex-start;
}

.history-diary-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(90deg,#5f43d8 0%,#8a4dff 100%);
  box-shadow:0 12px 28px rgba(95,67,216,.24);
}

.history-diary-link:hover{
  filter:brightness(1.03);
}

.history-diary-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin-top:20px;
}

.history-diary-page-btn{
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(104,117,173,.18);
  background:#fff;
  color:#22345f;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.history-diary-page-btn:disabled{
  opacity:.45;
  cursor:default;
}

.history-diary-page-info{
  font-size:14px;
  font-weight:700;
  color:#5d6881;
}

@media (max-width: 760px){
  .history-diary{
    padding:16px;
    border-radius:22px;
  }

  .history-diary-title{
    font-size:24px;
  }

  .history-diary-card{
    padding:16px;
    border-radius:18px;
  }

  .history-diary-card-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .history-diary-date{
    white-space:normal;
  }

  .history-diary-pagination{
    flex-wrap:wrap;
  }
}

.dream-flow-note{
  max-width:1100px;
  margin:1.2em auto 0;
  padding:16px 18px;
  border-radius:20px;
  background:linear-gradient(180deg,#f7f8ff 0%,#eef2ff 100%);
  border:1px solid rgba(124,106,255,.14);
  box-shadow:0 14px 34px rgba(23,35,79,.06);
}

.dream-flow-note__kicker{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#5f43d8;
  background:rgba(95,67,216,.10);
  margin-bottom:10px;
}

.dream-flow-note__text{
  font-size:14px;
  line-height:1.65;
  color:#5d6881;
}