.vrl-account-shell{max-width:1320px}.ld-dashboard{--ld-navy:#082b56;--ld-blue:#126bd1;--ld-gold:#b58b37;--ld-line:#dce6f0;color:#102c4d;line-height:1.75;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif}.ld-dashboard *{box-sizing:border-box}.ld-dashboard h2,.ld-dashboard h3{color:var(--ld-navy);line-height:1.4;border:0;background:none;padding:0}.ld-dashboard h2{font-size:clamp(22px,2.1vw,30px);margin:8px 0 14px;font-weight:750}.ld-dashboard h3{font-size:20px;margin:12px 0}.ld-dashboard p{margin:10px 0 18px}.ld-dashboard a{color:#125dae}.ld-welcome{background:linear-gradient(120deg,#082b56,#135b9d);border-radius:18px;padding:30px;color:white;margin:10px 0 26px}.ld-dashboard .ld-welcome h2{color:white;font-size:clamp(25px,2.7vw,36px)}.ld-welcome nav{display:flex;gap:10px;flex-wrap:wrap}.ld-welcome nav a{color:white;border:1px solid #ffffff60;border-radius:999px;padding:7px 12px;text-decoration:none;font-size:13px}.ld-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:700;color:var(--ld-blue)}.ld-welcome .ld-eyebrow{color:#e7cb8d}.ld-section{border:1px solid var(--ld-line);background:white;border-radius:16px;padding:28px;margin:0 0 24px;scroll-margin-top:50px;box-shadow:0 8px 26px #10325306}.ld-concierge{background:linear-gradient(140deg,#f3f9ff,#fff);border-top:4px solid var(--ld-blue)}.ld-section-heading{margin-bottom:20px}.ld-notice{background:#e9f2ff;border-left:3px solid var(--ld-blue);padding:12px 16px;border-radius:6px;font-size:14px}.ld-button{background:var(--ld-navy);color:white!important;border:0;border-radius:8px;padding:12px 18px;font-size:14px;font-weight:650;display:inline-block;text-decoration:none;cursor:pointer;line-height:1.6}.ld-button:hover{background:#145fac}.ld-dashboard button:disabled{opacity:.6;cursor:wait}.ld-dashboard input,.ld-dashboard textarea,.ld-dashboard select{font:inherit;max-width:100%;border:1px solid #aebfd2;border-radius:7px;background:#fff;color:#123456;padding:9px 12px}.ld-dashboard textarea,.ld-dashboard input[type=text],.ld-dashboard select{width:100%;margin:6px 0 14px}.ld-dashboard input[type=checkbox]{width:18px;height:18px;flex-shrink:0;margin-top:4px;accent-color:#126bd1}.ld-dashboard label{font-size:14px;font-weight:550;display:block}.ld-dashboard .ld-check{display:flex;gap:9px;align-items:flex-start;font-weight:400;margin:8px 0}.ld-dashboard .ld-consent{padding:12px;background:#f1f5fa;border-radius:8px;margin:14px 0}.ld-dashboard details{border-top:1px solid var(--ld-line);padding:14px 0;margin:10px 0}.ld-dashboard summary{cursor:pointer;color:var(--ld-navy);font-size:15px;font-weight:650}.ld-dashboard details[open] summary{margin-bottom:16px}.ld-form-grid,.ld-checks,.ld-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ld-dashboard fieldset{border:0;padding:0;margin:14px 0}.ld-dashboard legend{font-size:15px;font-weight:650}.ld-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px}.ld-prompts button{border:1px solid #b9cfe7;background:white;color:#174e8b;border-radius:999px;font:inherit;font-size:12px;padding:7px 12px;cursor:pointer;text-align:left}.ld-prompts button:hover{background:#e5f0ff}.ld-privacy,.ld-muted,.ld-dashboard small{font-size:12px;color:#5c6d80}.ld-required{font-size:11px;color:#55718c;margin-left:8px}.ld-status{font-size:13px;font-weight:550;color:#175791;min-height:1.5em;overflow-wrap:anywhere}.ld-badge{display:inline-block;background:#eaf2fc;border-radius:5px;padding:3px 8px;color:#175ba3;font-size:12px;font-weight:650}.ld-resume{display:grid;grid-template-columns:190px 1fr;gap:22px;align-items:center}.ld-course-image img{width:100%;border-radius:10px}.ld-resume small{display:block;margin-top:10px}.ld-owned-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ld-owned-card{border:1px solid var(--ld-line);border-radius:12px;overflow:hidden}.ld-owned-card>img{width:100%;height:170px;object-fit:cover}.ld-owned-card>div{padding:20px}.ld-owned-card h3{font-size:18px}.ld-progress-form{border-top:1px solid var(--ld-line);padding-top:16px;margin-top:18px}.ld-progress-form select{max-width:180px}.ld-text-button{background:none;border:0;padding:4px 0;color:#1763ac;text-decoration:underline;cursor:pointer;font:inherit;font-size:13px}.ld-info-card{background:#f4f8fc;border:1px solid var(--ld-line);border-radius:12px;padding:22px}.ld-info-card p{font-size:14px}.ld-plan-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ld-plan-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;list-style:none;padding:0}.ld-plan-steps li{border:1px solid #cddbeb;border-left:3px solid var(--ld-gold);border-radius:8px;padding:16px;background:#f6f9fd}.ld-plan-steps span,.ld-plan-steps strong{display:block}.ld-account-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px;font-size:14px}.ld-history{margin-top:18px}.ld-raw{white-space:pre-wrap;overflow-wrap:anywhere}.ld-consent-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--ld-line);padding:12px 0;font-size:14px}.ld-dashboard :focus-visible{outline:3px solid #d1a541;outline-offset:3px}@media(max-width:900px){.ld-section{padding:22px}.ld-welcome{padding:24px}.ld-resume{grid-template-columns:150px 1fr}.ld-owned-grid{grid-template-columns:1fr}.ld-form-grid,.ld-checks,.ld-two-col{grid-template-columns:1fr}}@media(max-width:540px){.ld-section{padding:18px;margin-bottom:18px}.ld-welcome{padding:20px}.ld-resume{grid-template-columns:1fr}.ld-course-image img{max-height:200px;object-fit:cover}.ld-plan-steps,.ld-plan-inputs{grid-template-columns:1fr}.ld-dashboard h2{font-size:23px}.ld-consent-row{align-items:flex-start;flex-direction:column}.ld-dashboard .ld-button{max-width:100%;text-align:center}.ld-welcome nav a{font-size:12px}.ld-dashboard input,.ld-dashboard textarea,.ld-dashboard select{font-size:16px}}
/* The existing theme uses serif account headings; the lab dashboard uses functional sans-serif. */
.vrl-renewal .vrl-account-shell .ld-dashboard h2,.vrl-renewal .vrl-account-shell .ld-dashboard h3{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif}.vrl-renewal .ld-dashboard h3::after,.vrl-renewal .ld-dashboard h3::before{content:none}.vrl-renewal .ld-dashboard h3{border:0;box-shadow:none;text-decoration:none}
.vrl-renewal .vrl-account-shell>h1{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif;font-size:30px;color:#082b56}.ld-registration-intro{background:linear-gradient(130deg,#eaf4ff,#fff);padding:26px;border-radius:14px;border:1px solid #d5e4f3;margin:20px 0 28px}.ld-registration-intro h2{font-family:inherit;font-size:25px;color:#082b56}.ld-onboarding{border-top:4px solid #b58b37}.ld-onboarding[hidden]{display:none}
.ld-articles{margin-top:28px;border-top:1px solid #dce6f0;padding-top:18px}.ld-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:14px 0}.ld-article-card{border:1px solid #dce6f0;border-radius:10px;overflow:hidden;background:white}.ld-article-card>img{width:100%;height:140px;object-fit:cover}.ld-article-card>div{padding:14px}.ld-dashboard .ld-article-card h3{font-size:15px;line-height:1.6;margin:10px 0}.ld-article-card p{font-size:12px!important;line-height:1.8}.ld-article-card a,.ld-article-card button{display:block;font-size:12px;margin:10px 0}.ld-article-card small{font-size:10px}@media(max-width:1050px){.ld-article-grid{grid-template-columns:1fr}.ld-article-card{display:grid;grid-template-columns:130px 1fr}.ld-article-card>img{height:100%;min-height:160px}}@media(max-width:540px){.ld-article-card{display:block}.ld-article-card>img{height:170px}}

#ld-memory select{height:auto;min-height:44px;line-height:1.4;padding:8px 12px}#ld-memory input[type=date]{min-height:44px}#ld-memory-view article textarea{width:100%;min-height:72px}#ld-memory-view article button{margin:8px 12px 8px 0}

/* BEGIN authentic Lab Gemini R4/R5 scoped source; original file/hash in manifest. */
#ld-dashboard{
    --navy: #06284b;
    --ink: #0a2844;
    --blue: #1269c5;
    --gold: #c3a15a;
    --pale: #edf5fb;
    --line: #d8e3ed;
    --bg: #ffffff;
    --text: #1d2939;
    --text-sub: #475467;
    --text-muted: #667085;
    --tag-free: #e0f2fe;
    --tag-free-text: #0369a1;
    --tag-basic: #fef3c7;
    --tag-basic-text: #92400e;
    --tag-purchased: #e2e8f0;
    --tag-purchased-text: #334155;
    --status-alert: #fef2f2;
    --status-alert-border: #fecaca;
    --status-alert-text: #991b1b;
    --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  }#ld-dashboard *{ box-sizing: border-box; margin: 0; padding: 0; }#ld-dashboard{
    background-color: var(--page);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }#ld-dashboard .demo-watermark{
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
    color: #b45309;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
  }#ld-dashboard .demo-toolbar-details{
    background: var(--navy);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }#ld-dashboard .demo-toolbar-summary{
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
  }#ld-dashboard .demo-toolbar-content{
    padding: 10px 20px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }#ld-dashboard .demo-toolbar-group{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }#ld-dashboard .demo-btn{
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    min-height: 32px;
  }#ld-dashboard .demo-btn:hover{ background: rgba(255,255,255,0.25); }#ld-dashboard .demo-btn.active{
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
    font-weight: bold;
  }#ld-dashboard header.global-header{
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
  }#ld-dashboard .header-inner{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }#ld-dashboard .brand-title{
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.02em;
  }#ld-dashboard .brand-sub{
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 8px;
  }#ld-dashboard .header-user-status{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
  }#ld-dashboard .badge-plan{
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }#ld-dashboard .badge-plan.free{ background: var(--tag-free); color: var(--tag-free-text); border: 1px solid #bae6fd; }#ld-dashboard .badge-plan.basic{ background: var(--tag-basic); color: var(--tag-basic-text); border: 1px solid #fde68a; }#ld-dashboard nav.main-nav{
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0 24px;
  }#ld-dashboard .nav-inner{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    overflow-x: auto;
  }#ld-dashboard .nav-tab{
    padding: 14px 4px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-sub);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
  }#ld-dashboard .nav-tab:hover{ color: var(--blue); }#ld-dashboard .nav-tab.active{
    color: var(--navy);
    border-bottom-color: var(--navy);
  }#ld-dashboard main.workspace{
    max-width: 1280px;
    margin: 28px auto;
    padding: 0 24px;
  }#ld-dashboard .view-panel{ display: none; }#ld-dashboard .view-panel.active{ display: block; }#ld-dashboard .card{
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
  }#ld-dashboard .card-header{
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
  }#ld-dashboard .card-title{
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
  }#ld-dashboard .card-desc{
    font-size: 14px;
    color: var(--text-sub);
  }#ld-dashboard .resume-hero{
    background: linear-gradient(135deg, var(--pale) 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    border-left: 6px solid var(--blue);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }#ld-dashboard .resume-info-tag{
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }#ld-dashboard .resume-title{
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
  }#ld-dashboard .resume-meta{
    font-size: 14px;
    color: var(--text-sub);
  }#ld-dashboard .btn-primary{
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--navy);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }#ld-dashboard .btn-primary:hover{ background: var(--blue); border-color: var(--blue); }#ld-dashboard .btn-secondary{
    background: var(--bg);
    color: var(--ink);
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--line);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }#ld-dashboard .btn-secondary:hover{ background: var(--pale); border-color: #cbd5e1; }#ld-dashboard .quick-ai-banner{
    background: var(--success-bg);
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #166534;
  }#ld-dashboard .cycle-compact-container{
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 24px;
  }#ld-dashboard .cycle-compact-highlight{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }#ld-dashboard .cycle-current-badge{
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    background: var(--surface-soft);
    border: 1px solid rgba(195, 161, 90, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
  }#ld-dashboard .cycle-full-details{
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
  }#ld-dashboard .cycle-full-details summary{
    font-size: 13px;
    color: var(--blue);
    cursor: pointer;
    font-weight: 600;
    user-select: none;
  }#ld-dashboard .cycle-bar{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 12px;
  }#ld-dashboard .cycle-step{
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
  }#ld-dashboard .cycle-step.current{
    border-color: var(--gold);
    background: var(--surface-soft);
  }#ld-dashboard .cycle-step-num{
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
  }#ld-dashboard .cycle-step.current .cycle-step-num{ color: var(--gold); }#ld-dashboard .cycle-step-title{
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 2px;
  }#ld-dashboard .grid-2col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
  @media (max-width: 860px) {#ld-dashboard .grid-2col{ grid-template-columns: 1fr; }
  }#ld-dashboard .home-ai{
    border-left: 6px solid var(--navy);
  }#ld-dashboard .home-ai p{ margin-bottom: 10px; }#ld-dashboard .home-ai-input{
    padding: 12px 14px;
    border: 1px dashed var(--line);
    border-radius: 6px;
    background: var(--page);
    color: var(--text-muted);
    margin: 14px 0;
    font-size: 14px;
  }#ld-dashboard .story-shelf{
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    scroll-margin-top: 80px;
  }#ld-dashboard .story-shelf-header{
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
  }#ld-dashboard .story-shelf-title{
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
  }#ld-dashboard .story-shelf-sub{
    font-size: 15px;
    color: var(--text-sub);
  }#ld-dashboard .story-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
  }#ld-dashboard .story-card{
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: border-color 0.15s ease;
  }#ld-dashboard .story-card:hover{ border-color: #cbd5e1; }#ld-dashboard .story-card-top{
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }#ld-dashboard .story-card-top > div{ min-width: 0; }#ld-dashboard .story-icon-box{
    width: 52px;
    height: 68px;
    background: var(--pale);
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    color: var(--navy);
  }#ld-dashboard .story-icon-box svg{ width: 22px; height: 22px; stroke: currentColor; }#ld-dashboard .story-icon-label{ font-size: 9px; font-weight: 700; letter-spacing: 0.05em; color: var(--blue); }#ld-dashboard .story-meta-row{
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6px;
  }#ld-dashboard .story-badge-lang{
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--pale);
    color: var(--navy);
    border: 1px solid #bfdbfe;
  }#ld-dashboard .story-badge-media{
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--surface-soft);
    color: var(--text-sub);
  }#ld-dashboard .story-badge-status{
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: auto;
  }#ld-dashboard .story-badge-status.purchased{ background: var(--tag-purchased); color: var(--tag-purchased-text); }#ld-dashboard .story-badge-status.unpurchased{ background: var(--page); color: var(--text-muted); border: 1px solid var(--line); }#ld-dashboard .story-item-title{
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 4px;
  }#ld-dashboard .story-mock-note{
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 4px;
  }#ld-dashboard .story-item-desc{
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
  }#ld-dashboard .story-action-btn{
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.15s ease;
    overflow-wrap: anywhere;
  }#ld-dashboard .story-action-btn.purchased{ background: var(--navy); color: #fff; border: 1px solid var(--navy); }#ld-dashboard .story-action-btn.purchased:hover{ background: var(--blue); border-color: var(--blue); }#ld-dashboard .story-action-btn.unpurchased{ background: var(--bg); color: var(--ink); border: 1px solid var(--line); }#ld-dashboard .story-action-btn.unpurchased:hover{ background: var(--pale); border-color: #cbd5e1; }#ld-dashboard .story-conditional-bridge{
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }#ld-dashboard .story-bridge-text{ font-size: 14px; color: var(--text-sub); line-height: 1.5; max-width: 780px; }#ld-dashboard .story-inspect-area{
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }#ld-dashboard .story-inspect-card{
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-sub);
    scroll-margin-top: 80px;
    display: none;
  }#ld-dashboard .story-inspect-card:target{ display: block; border-color: var(--blue); background: var(--pale); }#ld-dashboard .story-inspect-head{ font-weight: 700; color: var(--ink); margin-bottom: 2px; display: flex; justify-content: space-between; }#ld-dashboard .story-inspect-badge{ font-size: 11px; color: #b45309; font-weight: 600; }#ld-dashboard .letter-setting-box{
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
  }#ld-dashboard .letter-setting-row{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text);
  }#ld-dashboard .checkbox-interactive{
    width: 18px;
    height: 18px;
    border: 1.5px solid #94a3b8;
    border-radius: 3px;
    background: var(--bg);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
  }#ld-dashboard .letter-portal-pane{
    margin-top: 18px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 6px;
  }#ld-dashboard .letter-portal-actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
  }#ld-dashboard .material-list{ display: flex; flex-direction: column; gap: 14px; }#ld-dashboard .material-item{
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }#ld-dashboard .material-main{ flex: 1 1 300px; min-width: 0; }#ld-dashboard .material-meta{ display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; flex-wrap: wrap; }#ld-dashboard .format-badge{ padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; background: var(--pale); color: var(--navy); }#ld-dashboard .entitlement-badge{ padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }#ld-dashboard .entitlement-badge.free{ background: var(--tag-free); color: var(--tag-free-text); }#ld-dashboard .entitlement-badge.basic{ background: var(--tag-basic); color: var(--tag-basic-text); }#ld-dashboard .entitlement-badge.purchased{ background: var(--tag-purchased); color: var(--tag-purchased-text); }#ld-dashboard .material-title{ font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }#ld-dashboard .material-desc{ font-size: 14px; color: var(--text-sub); }#ld-dashboard .ai-status-banner{
    background: var(--pale);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }#ld-dashboard .ai-status-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }#ld-dashboard .ai-console{
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
  }
  @media (max-width: 900px) {#ld-dashboard .ai-console{ grid-template-columns: 1fr; } }#ld-dashboard .ai-selector-pane{ background: var(--page); border: 1px solid var(--line); border-radius: 8px; padding: 18px; min-width: 0; }#ld-dashboard .form-group{ margin-bottom: 16px; }#ld-dashboard .form-label{ display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }#ld-dashboard .select-fake{ width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-size: 14px; color: var(--text); }#ld-dashboard .scope-box{ background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px; font-size: 13px; color: var(--text-sub); line-height: 1.5; }#ld-dashboard .ai-result-pane{ background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }#ld-dashboard .review-header{ border-bottom: 1px solid var(--line); padding-bottom: 12px; }#ld-dashboard .review-meta{ font-size: 13px; color: var(--text-muted); }#ld-dashboard .review-content{ background: var(--review-bg); border: 1px solid #e7e5e4; border-radius: 6px; padding: 18px; font-size: 15px; line-height: 1.7; color: #292524; }#ld-dashboard .review-section-title{ font-size: 14px; font-weight: 700; color: var(--ink); margin: 14px 0 6px 0; }#ld-dashboard .review-section-title:first-child{ margin-top: 0; }#ld-dashboard .state-box{ border: 1px dashed var(--line); border-radius: 6px; padding: 20px; text-align: center; background: var(--page); color: var(--text-muted); font-size: 14px; margin-top: 16px; }#ld-dashboard .state-box.limit-reached{ border: 1px solid var(--status-alert-border); background: var(--status-alert); color: var(--status-alert-text); text-align: left; }#ld-dashboard button:focus-visible,#ld-dashboard a:focus-visible{ outline: 3px solid var(--blue); outline-offset: 2px; }#ld-dashboard button:disabled{ opacity: .6; cursor: not-allowed; }
  @media (max-width: 600px) {#ld-dashboard main.workspace{ padding: 0 16px; margin: 20px auto; }#ld-dashboard .global-header{ padding: 12px 16px; }#ld-dashboard .card,#ld-dashboard .resume-hero,#ld-dashboard .story-shelf,#ld-dashboard .ai-result-pane{ padding: 16px; }#ld-dashboard .story-grid{ grid-template-columns: 1fr; }
  }#ld-dashboard .story-accordion{
    border-top: 1px dashed var(--line);
    margin-top: 12px;
    padding-top: 12px;
  }#ld-dashboard .story-accordion summary{
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    user-select: none;
    padding: 6px 0;
  }#ld-dashboard .story-accordion summary:hover{
    color: var(--blue);
  }#ld-dashboard .story-accordion[open] summary{
    margin-bottom: 16px;
  }


  /* Local display correction: prevent the early AI shortcut becoming a narrow vertical button. */
  @media(max-width:600px){#ld-dashboard .quick-ai-banner{flex-direction:column;align-items:stretch;gap:10px}#ld-dashboard .quick-ai-banner .btn-secondary{align-self:flex-start;white-space:nowrap;min-height:44px}#ld-dashboard .header-inner>div:first-child{flex-wrap:wrap;gap:4px}#ld-dashboard .brand-sub{margin-left:0}}#ld-dashboard{--page:#f6f8fb;--surface-soft:#edf2f7;--strong-bg:#102d4e;--on-strong:#fff;--control-border:#718198;--warning-bg:#fff8df;--warning-text:#75540c;--success-bg:#edf8f1;--success-text:#17613a;--gold:#816018;--focus:#1269c5;--review-bg:#f8f7f3;--review-text:#302b25;--line:#cbd5e1;--text-muted:#5b6679}#ld-dashboard [hidden]{display:none!important}#ld-dashboard[data-theme="dark"]{--page:#101820;--bg:#18232e;--surface-soft:#202f3e;--navy:#b2d2f4;--ink:#e8f0f8;--blue:#9bcbff;--gold:#ecd18d;--pale:#20344a;--line:#506176;--text:#e5edf6;--text-sub:#c5d0df;--text-muted:#adbace;--strong-bg:#aaccef;--on-strong:#102439;--control-border:#94a7bf;--warning-bg:#372f1d;--warning-text:#f3d68d;--success-bg:#18342a;--success-text:#b1e4c6;--tag-free:#203b51;--tag-free-text:#b7e0ff;--tag-basic:#3b321e;--tag-basic-text:#f0d58e;--tag-purchased:#2b3d4e;--tag-purchased-text:#d3e6f8;--status-alert:#3c2429;--status-alert-border:#bb7b87;--status-alert-text:#ffc2cb;--focus:#a7ceff;--review-bg:#242a30;--review-text:#e3e3df}#ld-dashboard{background:var(--page);color-scheme:light}#ld-dashboard[data-theme="dark"]{color-scheme:dark}#ld-dashboard{background:var(--page)}#ld-dashboard .demo-watermark{position:relative;background:var(--warning-bg);color:var(--warning-text);border-color:var(--line);font-size:12px;padding:6px 14px}#ld-dashboard .demo-toolbar-details{background:var(--bg);color:var(--text);border-color:var(--line)}#ld-dashboard .demo-toolbar-content{border-color:var(--line)}#ld-dashboard .demo-btn{color:var(--text);background:var(--surface-soft);border-color:var(--control-border)}#ld-dashboard .demo-btn.active{background:var(--tag-basic);color:var(--tag-basic-text);border-color:var(--control-border)}#ld-dashboard button,#ld-dashboard a,#ld-dashboard select,#ld-dashboard textarea{font-family:inherit}#ld-dashboard button,#ld-dashboard select,#ld-dashboard textarea,#ld-dashboard .btn-secondary,#ld-dashboard .story-action-btn{border-color:var(--control-border)}#ld-dashboard button:focus-visible,#ld-dashboard a:focus-visible,#ld-dashboard select:focus-visible,#ld-dashboard textarea:focus-visible,#ld-dashboard summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}#ld-dashboard .btn-primary,#ld-dashboard .story-action-btn.purchased{background:var(--strong-bg);color:var(--on-strong);border-color:var(--strong-bg)}#ld-dashboard .btn-primary:hover,#ld-dashboard .story-action-btn.purchased:hover{background:var(--strong-bg);color:var(--on-strong);text-decoration:underline}#ld-dashboard .resume-hero{background:linear-gradient(130deg,var(--pale),var(--bg));border-color:var(--line)}#ld-dashboard .quick-ai-banner{background:var(--success-bg);color:var(--success-text);border-color:var(--control-border)}#ld-dashboard .story-inspect-badge{color:var(--warning-text)}#ld-dashboard .review-content{background:var(--review-bg);color:var(--review-text);border-color:var(--line)}#ld-dashboard .badge-plan.free,#ld-dashboard .badge-plan.basic,#ld-dashboard .story-icon-box,#ld-dashboard .story-badge-lang,#ld-dashboard .ai-status-banner{border-color:var(--line)}#ld-dashboard .theme-row,#ld-dashboard .compare-row{max-width:1560px;margin:auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap}#ld-dashboard .theme-row{margin-top:12px}#ld-dashboard .theme-row label,#ld-dashboard .compare-row label{font-size:13px;font-weight:700}#ld-dashboard .theme-row select,#ld-dashboard .compare-row select{background:var(--bg);color:var(--text);border:1px solid var(--control-border);border-radius:6px;padding:9px;max-width:100%;font-size:14px;min-height:44px}#ld-dashboard .theme-note{font-size:12px;color:var(--text-sub)}#ld-dashboard #themeStatus{font-size:12px;color:var(--text-sub);min-width:230px}#ld-dashboard .compare-bar{padding:12px 22px;background:var(--pale);border-bottom:1px solid var(--line)}#ld-dashboard .compare-row label{display:flex;gap:8px;align-items:center;flex-wrap:wrap}#ld-dashboard .compare-label{font-size:12px;font-weight:700;color:var(--warning-text)}#ld-dashboard .app-shell{max-width:1600px;margin:auto;display:grid;grid-template-columns:176px minmax(0,1fr) 350px;gap:22px;padding:24px 20px;align-items:start}#ld-dashboard .workspace{padding:0;max-width:none;width:100%;min-width:0;margin:0}#ld-dashboard .main-nav{padding:0!important;border:0!important;background:var(--bg);border-radius:8px}#ld-dashboard .nav-inner{display:flex;flex-direction:column;gap:4px;padding:10px;overflow:visible}#ld-dashboard .nav-tab{text-align:left;white-space:normal;padding:12px;font-size:14px;border:1px solid transparent;border-radius:6px}#ld-dashboard .nav-tab.active{border-color:var(--control-border);background:var(--pale)}#ld-dashboard .nav-tab:focus-visible{outline-offset:0}#ld-dashboard[data-layout="B"] .app-shell{grid-template-columns:minmax(0,1fr) 350px}#ld-dashboard[data-layout="B"] .main-nav{grid-column:1/-1}#ld-dashboard[data-layout="B"] .nav-inner{flex-direction:row;flex-wrap:wrap;gap:8px}#ld-dashboard .menu-toggle{display:none}#ld-dashboard .mobile-pane-switch{display:none}#ld-dashboard .chat-aside{position:sticky;top:12px;height:calc(100dvh - 24px);max-height:850px;min-height:340px;display:flex;flex-direction:column;border:1px solid var(--control-border);border-radius:10px;background:var(--bg);min-width:0;overflow:hidden}#ld-dashboard .chat-header{padding:16px;border-bottom:1px solid var(--line);flex-shrink:0}#ld-dashboard .chat-header h2{font-size:17px;color:var(--ink)}#ld-dashboard .chat-header p{font-size:12px;color:var(--text-sub);margin-top:4px}#ld-dashboard .chat-history{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px;scroll-behavior:auto;scrollbar-gutter:stable}#ld-dashboard .chat-message{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);margin-bottom:12px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}#ld-dashboard .chat-message.user{background:var(--pale)}#ld-dashboard .chat-message strong{display:block;color:var(--ink);font-size:12px;margin-bottom:4px}#ld-dashboard .chat-new{margin:0 12px 6px;border:1px solid var(--control-border);padding:8px;border-radius:6px;background:var(--pale);color:var(--text);min-height:40px}#ld-dashboard .chat-new[hidden]{display:none}#ld-dashboard .chat-composer{flex-shrink:0;border-top:1px solid var(--line);padding:12px;background:var(--bg);padding-bottom:max(12px,env(safe-area-inset-bottom))}#ld-dashboard .chat-composer label{display:block;font-size:12px;font-weight:700;margin-bottom:5px}#ld-dashboard .chat-composer textarea{width:100%;min-height:74px;max-height:140px;resize:vertical;padding:10px;background:var(--page);color:var(--text);border:1px solid var(--control-border);border-radius:6px;font-size:16px}#ld-dashboard .chat-composer p{font-size:11px;color:var(--text-sub)}#ld-dashboard .chat-composer button{font-size:12px;margin-top:6px;width:100%;min-height:40px}#ld-dashboard .now-heading,#ld-dashboard .next-heading{font-size:18px;color:var(--ink);margin:16px 0 12px}#ld-dashboard .now-heading small,#ld-dashboard .next-heading small{display:block;font-size:12px;font-weight:400;color:var(--text-muted)}#ld-dashboard .available-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}#ld-dashboard .available-grid .card{margin:0;padding:18px}#ld-dashboard .available-grid h3{font-size:16px;color:var(--ink)}#ld-dashboard .available-grid p{font-size:13px;color:var(--text-sub);margin:8px 0 12px}#ld-dashboard .available-grid button{font-size:13px}#ld-dashboard .available-note{font-size:12px;color:var(--text-sub);margin-bottom:12px}#ld-dashboard .freePromoArea,#ld-dashboard #freePromoArea,#ld-dashboard .home-ai{display:none!important}#ld-dashboard .purchase-note{font-size:12px;color:var(--text-sub);margin-bottom:14px}#ld-dashboard .optional-note{font-size:13px;color:var(--text-sub);margin-bottom:14px}#ld-dashboard .home-ai-input,#ld-dashboard .state-box,#ld-dashboard .story-basic-bridge,#ld-dashboard .story-inspect,#ld-dashboard .ai-selector-pane,#ld-dashboard .letter-settings-box,#ld-dashboard .cycle-step,#ld-dashboard .story-badge-media,#ld-dashboard .select-fake{background:var(--surface-soft)}#ld-dashboard .story-card,#ld-dashboard .scope-box,#ld-dashboard .ai-result-pane,#ld-dashboard .checkbox-fake{background:var(--bg)}#ld-dashboard img,#ld-dashboard video,#ld-dashboard .image-mat{filter:none;mix-blend-mode:normal}#ld-dashboard .image-mat{background:#fff;border-radius:6px}
@media(max-width:1119px){#ld-dashboard .app-shell,#ld-dashboard[data-layout="B"] .app-shell{display:block;padding:16px}#ld-dashboard .main-nav{margin-bottom:12px}#ld-dashboard .menu-toggle{display:block;width:100%;padding:12px;text-align:left;background:var(--bg);color:var(--text);border:1px solid var(--control-border);border-radius:6px}#ld-dashboard .nav-inner,#ld-dashboard[data-layout="B"] .nav-inner{display:flex;flex-direction:row;flex-wrap:wrap}#ld-dashboard[data-menu-open="false"] .nav-inner{display:none}#ld-dashboard .nav-tab{font-size:13px;flex:1}#ld-dashboard .mobile-pane-switch{display:flex;gap:8px;padding:10px 16px;background:var(--bg);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}#ld-dashboard .mobile-pane-switch button{flex:1;padding:10px;border:1px solid var(--control-border);background:var(--bg);color:var(--text);border-radius:6px;font-weight:700}#ld-dashboard .mobile-pane-switch button[aria-pressed="true"]{background:var(--strong-bg);color:var(--on-strong)}#ld-dashboard[data-panel="learning"] .chat-aside{display:none}#ld-dashboard[data-panel="ai"] .workspace,#ld-dashboard[data-panel="ai"] .main-nav{display:none}#ld-dashboard .chat-aside{position:relative;top:0;height:calc(100dvh - 90px);max-height:none;min-height:260px}#ld-dashboard .available-grid{grid-template-columns:1fr}#ld-dashboard .compare-bar{padding:12px 16px}#ld-dashboard .compare-row{gap:8px}#ld-dashboard .compare-row label{width:100%;justify-content:space-between}#ld-dashboard .compare-row select{max-width:75%;font-size:12px}#ld-dashboard .theme-row{gap:8px}#ld-dashboard .theme-note{flex-basis:100%}#ld-dashboard .theme-row label{font-size:12px}#ld-dashboard .grid-2col{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#ld-dashboard *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}#ld-dashboard,#ld-dashboard,#ld-dashboard .app-shell,#ld-dashboard .card,#ld-dashboard .chat-aside,#ld-dashboard .chat-history,#ld-dashboard .chat-message,#ld-dashboard .chat-composer{transition:none}#ld-dashboard,#ld-dashboard,#ld-dashboard .workspace{overflow-anchor:none}#ld-dashboard{--learning-band:#e7f0fb;--learning-label:#163d65;--action-band:#fff1e2;--action-label:#85410b}#ld-dashboard[data-theme="dark"]{--learning-band:#243a52;--learning-label:#c9e4ff;--action-band:#47301f;--action-label:#ffdab8}#ld-dashboard h2[data-purpose],#ld-dashboard h3[data-purpose]{background:var(--learning-band);color:var(--learning-label)!important;padding:10px 12px;border-radius:6px;line-height:1.45;gap:0}#ld-dashboard h2[data-purpose="action"],#ld-dashboard h3[data-purpose="action"]{background:var(--action-band);color:var(--action-label)!important}#ld-dashboard .block-original{display:block;font-size:11px;font-weight:400;margin-top:3px;line-height:1.5;color:inherit}#ld-dashboard .now-heading small,#ld-dashboard .next-heading small{color:inherit}#ld-dashboard .card-header{align-items:flex-start}#ld-dashboard .card-header h2{flex:1}#ld-dashboard .chat-header{padding:12px}#ld-dashboard .chat-header h2{margin-bottom:8px}#ld-dashboard .card:has(h2[data-purpose="action"]) .btn-secondary,#ld-dashboard .card:has(h3[data-purpose="action"]) .btn-secondary{background:var(--action-band);color:var(--action-label);border-color:var(--action-label)}#ld-dashboard .available-grid .btn-secondary{background:var(--learning-band);color:var(--learning-label);border-color:var(--learning-label)}#ld-dashboard .quick-ai-banner{background:var(--learning-band);color:var(--learning-label)}
@media(min-width:1120px){#ld-dashboard .chat-aside{height:calc(100dvh - var(--chat-top,392px) - 12px);max-height:none;min-height:260px}}
@media(max-width:1119px){#ld-dashboard[data-panel="ai"] .mobile-pane-switch{position:fixed;top:0;left:0;right:0;height:62px}#ld-dashboard[data-panel="ai"] .chat-aside{position:fixed;inset:62px 0 0;height:auto;min-height:0;border-radius:0;z-index:19}}#ld-dashboard .work-status{font-size:13px;font-weight:600;margin:10px 0}#ld-dashboard .positive{color:#17613a}#ld-dashboard .attention{color:#a42637}#ld-dashboard[data-theme="dark"] .positive{color:#b1e4c6}#ld-dashboard[data-theme="dark"] .attention{color:#ffb4c2}#ld-dashboard #statusChoice{padding:8px;background:var(--bg);color:var(--text);border:1px solid var(--control-border);border-radius:6px;max-width:100%;font-size:14px}#ld-dashboard .compare-extra,#ld-dashboard .compare-extra-inner{display:contents}#ld-dashboard .compare-extra>summary{display:none}#ld-dashboard .ai-theme{display:none}#ld-dashboard .ai-theme label{font-size:12px;font-weight:600}#ld-dashboard .ai-theme select{padding:7px;background:var(--bg);color:var(--text);border:1px solid var(--control-border);border-radius:5px;margin-left:8px;min-height:40px}#ld-dashboard .ai-theme p{font-size:10px}
@media(max-width:1119px){#ld-dashboard .ai-theme{display:block;margin:6px 0}#ld-dashboard .chat-header h2{font-size:16px}#ld-dashboard .chat-header p{font-size:11px;line-height:1.4}}
@media(max-width:1119px){#ld-dashboard[data-panel="ai"] .global-header,#ld-dashboard[data-panel="ai"] .compare-bar,#ld-dashboard[data-panel="ai"] .demo-watermark,#ld-dashboard[data-panel="ai"] .demo-toolbar-details,#ld-dashboard[data-panel="ai"] .global-footer{display:none}}
@media(max-height:600px) and (max-width:1119px){#ld-dashboard .chat-composer textarea{min-height:48px;max-height:84px}#ld-dashboard .chat-header{padding:8px}#ld-dashboard .chat-header h2{padding:6px}#ld-dashboard .chat-header p{margin-top:2px}#ld-dashboard .chat-composer{padding:8px}}
@media(max-width:1119px){#ld-dashboard .compare-extra{display:block;width:100%;font-size:12px}#ld-dashboard .compare-extra>summary{display:list-item;cursor:pointer;padding:8px 0;color:var(--text-sub)}#ld-dashboard .compare-extra-inner{display:flex;flex-wrap:wrap;gap:8px}#ld-dashboard .compare-extra-inner label{width:100%}#ld-dashboard .header-user-status{font-size:12px}#ld-dashboard .theme-row{margin-top:8px}#ld-dashboard .theme-row #themeStatus{font-size:11px;min-width:0}#ld-dashboard .demo-watermark{font-size:11px}#ld-dashboard .compare-bar .theme-note{font-size:11px;margin-top:5px}}#ld-dashboard .block-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle;margin-right:9px}#ld-dashboard h1,#ld-dashboard h2,#ld-dashboard h3{display:flex;align-items:center}#ld-dashboard h2>span,#ld-dashboard h3>span{min-width:0}#ld-dashboard .resume-title{font-size:19px}#ld-dashboard .review-controls{background:var(--bg);border-bottom:1px solid var(--line);font-size:13px}#ld-dashboard .review-controls>summary{padding:10px 22px;cursor:pointer;color:var(--text-sub);font-weight:600}#ld-dashboard .review-controls summary small{font-weight:400;margin-left:12px}#ld-dashboard .review-controls .compare-bar{border:0;padding:12px 22px}#ld-dashboard .review-controls .compare-extra,#ld-dashboard .review-controls .compare-extra-inner{display:contents}#ld-dashboard .review-controls .demo-toolbar-content{padding:12px 22px;border-top:1px solid var(--line)}#ld-dashboard .review-controls #themeBoundary{display:block;padding:8px 22px}#ld-dashboard .review-state-control{padding:8px 22px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}#ld-dashboard .review-state-control label{margin:0}#ld-dashboard .global-header{padding:16px 22px}#ld-dashboard .header-inner{max-width:1560px}#ld-dashboard .theme-row{margin-top:10px;gap:10px}#ld-dashboard .theme-row select{min-height:36px;padding:6px 10px;font-size:13px}#ld-dashboard .theme-row #themeStatus{font-size:11px}#ld-dashboard .review-context{max-width:1560px;margin:auto;padding:10px 22px;display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--text-sub);border-bottom:1px solid var(--line)}#ld-dashboard .review-context strong{color:var(--ink)}#ld-dashboard #layoutRecommendation{font-weight:600;color:var(--learning-label)}#ld-dashboard .basic-priority{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:16px;margin-bottom:18px}#ld-dashboard .basic-priority>.card,#ld-dashboard .basic-priority>.resume-hero{margin:0;padding:18px}#ld-dashboard .basic-priority .resume-hero{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:18px}#ld-dashboard .basic-priority .resume-title{font-size:18px;line-height:1.6}#ld-dashboard #currentTask{border-left:5px solid var(--action-label)}#ld-dashboard #currentTask .card-header{margin-bottom:12px}#ld-dashboard #currentTask .card-title{font-size:17px!important;align-items:flex-start}#ld-dashboard #currentTask>p{font-size:13px!important;line-height:1.6}#ld-dashboard #currentTask .btn-secondary{font-size:13px}#ld-dashboard .task-stages{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 8px}#ld-dashboard .task-stages span{font-size:12px;font-weight:700;border:1px solid currentColor;border-radius:6px;padding:6px 9px}#ld-dashboard .task-stages .positive{background:var(--success-bg)}#ld-dashboard .task-stages .attention{background:var(--status-alert)}#ld-dashboard .neutral{color:var(--text-sub);background:var(--surface-soft)}#ld-dashboard .state-scope{font-size:11px!important;color:var(--text-sub);margin-bottom:12px}#ld-dashboard[data-scenario="basic"] .now-heading,#ld-dashboard[data-scenario="combined"] .now-heading{display:none}#ld-dashboard[data-scenario="basic"] #assignmentSection,#ld-dashboard[data-scenario="combined"] #assignmentSection{grid-template-columns:1fr}#ld-dashboard .basic-priority+.now-heading{margin-top:0}#ld-dashboard .workspace #homeHeading{margin-bottom:16px!important}
@media(max-width:1119px){#ld-dashboard .basic-priority{grid-template-columns:1fr}#ld-dashboard .review-context{flex-direction:column;gap:4px;padding:8px 16px}#ld-dashboard .review-controls>summary{padding:10px 16px}#ld-dashboard .review-controls summary small{display:block;margin:3px 0 0}#ld-dashboard .review-controls .compare-row label{width:100%}#ld-dashboard .global-header{padding:14px 16px}#ld-dashboard .review-controls .compare-extra-inner{display:contents}#ld-dashboard .review-state-control{padding:8px 16px}#ld-dashboard .theme-row #themeStatus{flex-basis:100%}}
@media(max-width:1119px){#ld-dashboard[data-panel="ai"] .review-controls,#ld-dashboard[data-panel="ai"] .review-context{display:none}}#ld-dashboard .product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}#ld-dashboard .product-card{border:1px solid var(--line);border-radius:8px;background:var(--bg);overflow:hidden;display:flex;flex-direction:column;min-width:0}#ld-dashboard .product-media{display:flex;align-items:center;justify-content:center;background:var(--surface-soft);height:170px;width:100%;padding:10px;border:0;border-bottom:1px solid var(--line);cursor:pointer}#ld-dashboard .product-media img{display:block;max-width:100%;width:auto;max-height:100%;height:auto;object-fit:contain;filter:none}#ld-dashboard .product-copy{padding:14px;display:flex;flex-direction:column;gap:7px;flex:1}#ld-dashboard .product-copy h3{font-size:16px;line-height:1.5;color:var(--ink)}#ld-dashboard .product-copy p{font-size:12px;line-height:1.6;color:var(--text-sub)}#ld-dashboard .product-labels{display:flex;gap:6px;flex-wrap:wrap;font-size:11px;color:var(--learning-label)}#ld-dashboard .product-labels span{background:var(--learning-band);border:1px solid var(--line);padding:3px 7px;border-radius:4px}#ld-dashboard .product-subtitle{font-weight:600}#ld-dashboard .product-foot{padding:0 14px 14px;display:flex;flex-direction:column;gap:7px}#ld-dashboard .product-foot .btn-primary,#ld-dashboard .product-foot .btn-secondary{font-size:13px;text-align:center;text-decoration:none;padding:9px}#ld-dashboard .product-foot small,#ld-dashboard .image-caption{font-size:10px!important;line-height:1.6;color:var(--text-sub)}#ld-dashboard .image-caption{padding:5px 10px;background:var(--surface-soft)}#ld-dashboard .resume-hero.media-hero{display:grid;grid-template-columns:minmax(200px,.9fr) minmax(0,1.3fr);gap:18px;align-items:start}#ld-dashboard .resume-hero.media-hero>.resume-visual{grid-row:1/3;width:100%;height:210px;background:var(--surface-soft);border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;color:var(--text-sub);font:inherit;cursor:pointer}#ld-dashboard .resume-visual img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain}#ld-dashboard .resume-visual .placeholder-label{font-size:12px;text-align:center;padding:16px}#ld-dashboard .resume-hero .resume-meta{line-height:1.65}#ld-dashboard .resume-hero .product-labels{margin:7px 0}#ld-dashboard .basic-priority .resume-hero.media-hero{display:flex;gap:10px}#ld-dashboard .basic-priority .resume-hero>.resume-visual{height:100px;min-height:100px}#ld-dashboard .basic-priority .resume-hero .resume-title{font-size:16px}#ld-dashboard .basic-priority .resume-hero .resume-meta{font-size:12px}#ld-dashboard #ld-owned{padding:0;border:0;background:transparent;margin-bottom:18px}#ld-dashboard #ld-owned .owned-heading{margin-bottom:12px}#ld-dashboard #ld-owned .product-media{height:125px}#ld-dashboard #ld-owned .product-copy{padding:10px 14px;gap:5px}#ld-dashboard #ld-owned .product-copy h3{font-size:14px}#ld-dashboard #ld-owned .product-copy .product-subtitle{font-size:11px}#ld-dashboard #ld-owned .product-copy .product-summary{font-size:11px}#ld-dashboard #ld-owned .product-foot{padding:0 14px 10px}#ld-dashboard #ld-owned .product-foot small{font-size:10px}#ld-dashboard #ld-owned .product-grid{margin-bottom:0}#ld-dashboard #storyShelf,#ld-dashboard #optionalBasic{display:none!important}#ld-dashboard .next-heading small{font-size:11px}
@media(max-width:1119px){#ld-dashboard .resume-hero.media-hero{grid-template-columns:1fr}#ld-dashboard .resume-hero.media-hero>.resume-visual{grid-row:auto;height:180px}#ld-dashboard .product-grid{grid-template-columns:1fr}#ld-dashboard .basic-priority .resume-hero>.resume-visual{height:130px}}#ld-dashboard .header-user-status{gap:8px;flex-wrap:wrap}#ld-dashboard .badge-owned{display:inline-block;font-size:11px;line-height:1.6;font-weight:600;white-space:nowrap;padding:2px 7px;border-radius:4px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text-sub)}#ld-dashboard .badge-owned[hidden]{display:none!important}#ld-dashboard.header-only body>*:not(.global-header){display:none!important}#ld-dashboard.header-only .global-header{display:block!important;min-height:84px;box-sizing:border-box}#ld-dashboard.header-only .theme-row{display:none!important}


/* Bind existing native ld DOM to source classes. */
/* Existing data/forms receive authentic source classes; no learning semantics change. */
body:has(#ld-dashboard[data-gemini-layout]) .vrl-account-shell{max-width:1600px;padding:0;margin:auto}
body:has(#ld-dashboard[data-gemini-layout]) .vrl-account-shell>h1,body:has(#ld-dashboard[data-gemini-layout])>.vrl-site-header{display:none}
body:has(#ld-dashboard[data-gemini-layout]) .woocommerce-MyAccount-content{width:100%;float:none;min-width:0}
#ld-dashboard[data-gemini-layout]{width:100%;color:var(--text);background:var(--page);font-family:var(--font);font-size:16px;line-height:1.6}
#ld-dashboard .brand-subtitle{font-size:12px;color:var(--text-muted);font-weight:400}
#ld-dashboard .ld-native-account-tools{border:0;padding:0;margin:0;font-size:13px;position:relative}
#ld-dashboard .ld-native-account-tools>summary{padding:12px;font-size:13px;cursor:pointer}
#ld-dashboard .ld-native-account-nav{width:auto!important;float:none!important;margin:0!important}
#ld-dashboard .ld-native-account-nav ul{list-style:none;padding:8px;display:flex;flex-wrap:wrap;gap:12px}
#ld-dashboard .ld-native-account-tools[open]{flex-basis:100%;background:var(--bg)}
#ld-dashboard .ld-native-account-tools nav:not(.ld-native-account-nav){display:flex;gap:12px;flex-wrap:wrap;padding:8px}
#ld-dashboard .workspace>h1{font-size:22px;font-weight:700;color:var(--ink);margin:24px 0 16px;line-height:1.45}
#ld-dashboard .ld-section{border-color:var(--line);background:var(--bg);border-radius:8px;box-shadow:none;color:var(--text);padding:24px;margin:0 0 20px;min-width:0}
#ld-dashboard .ld-section-heading{margin-bottom:12px}
#ld-dashboard .ld-section-heading h2,#ld-dashboard .ld-section h2{font-size:20px;color:var(--ink);line-height:1.45;margin:0 0 12px}
#ld-dashboard .ld-section h3{color:var(--ink);font-size:16px;line-height:1.5;margin:8px 0}
#ld-dashboard .ld-section p{font-size:13px;color:var(--text-sub);margin:8px 0 12px}
#ld-dashboard .ld-eyebrow{color:var(--learning-label)}
#ld-dashboard .ld-button{background:var(--strong-bg);color:var(--on-strong)!important;border:1px solid var(--strong-bg);border-radius:6px;font-size:13px;line-height:1.6;padding:9px 12px;max-width:100%;white-space:normal}
#ld-dashboard .ld-button:hover{background:var(--strong-bg);text-decoration:underline}
#ld-dashboard .ld-badge{background:var(--pale);color:var(--learning-label);font-size:11px}
#ld-dashboard .ld-muted,#ld-dashboard .ld-privacy,#ld-dashboard .ld-dashboard small{color:var(--text-sub)}
#ld-dashboard .ld-info-card,#ld-dashboard .ld-plan-steps li{background:var(--surface-soft);border-color:var(--line);color:var(--text)}
#ld-dashboard input,#ld-dashboard select,#ld-dashboard textarea{color:var(--text);background:var(--bg);border-color:var(--control-border);font:inherit}
#ld-dashboard .ld-checks label,#ld-dashboard legend,#ld-dashboard summary,#ld-dashboard .ld-status{color:var(--text)}
#ld-dashboard .ld-consent{background:var(--surface-soft)}
#ld-dashboard .ld-account-links a,#ld-dashboard .ld-text-button,#ld-dashboard a{color:var(--blue)}
#ld-dashboard .ld-resume{display:block}
#ld-dashboard .ld-course-image{display:flex;align-items:center;justify-content:center;height:130px;background:var(--surface-soft);border:1px solid var(--line);border-radius:6px;padding:10px;margin-bottom:12px}
#ld-dashboard .ld-course-image img{height:auto;width:auto;max-height:100%;max-width:100%;object-fit:contain;border-radius:0}
#ld-dashboard .basic-priority>.ld-section{margin:0;padding:18px}
#ld-dashboard #ld-owned{padding:0;border:0;background:transparent}
#ld-dashboard #ld-owned>.ld-section-heading h2{margin:18px 0 12px}
#ld-dashboard .ld-owned-card{border-radius:8px;border-color:var(--line)}
#ld-dashboard .ld-owned-card>div.product-copy{padding:10px 14px}
#ld-dashboard .ld-owned-card .product-media{height:125px;padding:10px;cursor:default}
#ld-dashboard .ld-owned-card .product-media img{width:auto;height:auto;max-height:100%;max-width:100%;object-fit:contain;border-radius:0}
#ld-dashboard .ld-owned-card h3{font-size:14px;margin:5px 0}
#ld-dashboard .ld-progress-form{margin:4px 0 0;padding-top:10px;border-color:var(--line)}
#ld-dashboard .ld-progress-form label,#ld-dashboard .ld-progress-form button{font-size:12px}
#ld-dashboard .ld-progress-form select{min-height:40px;margin-bottom:6px}
#ld-dashboard .chat-aside .ld-history{margin:0}
#ld-dashboard .chat-history details{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--pale);margin:0 0 12px;overflow-wrap:anywhere}
#ld-dashboard .chat-history summary{font-size:12px;line-height:1.6}
#ld-dashboard .chat-history .ld-raw{font-size:14px;margin-top:8px}
#ld-dashboard .chat-composer{max-height:60%;overflow-y:auto}
#ld-dashboard .chat-composer details{padding:6px 0;margin:5px 0;border-color:var(--line)}
#ld-dashboard .chat-composer summary{font-size:12px}
#ld-dashboard .chat-composer label{font-size:12px}
#ld-dashboard .chat-composer textarea{min-height:74px;max-height:140px;resize:vertical;margin:5px 0}
#ld-dashboard .chat-composer p,#ld-dashboard .chat-composer .ld-privacy{font-size:11px;line-height:1.6;margin:5px 0}
#ld-dashboard .chat-composer .ld-form-grid{grid-template-columns:1fr}
#ld-dashboard .chat-composer .ld-prompts{margin:0;gap:6px}
#ld-dashboard .chat-composer .ld-prompts button{font-size:11px;background:var(--surface-soft);color:var(--text)}
#ld-dashboard .ld-article-card{background:var(--bg);border-color:var(--line)}
#ld-dashboard .ld-article-card p,#ld-dashboard .ld-article-card small{color:var(--text-sub)}
@media(max-width:1119px){#ld-dashboard .ld-section{padding:18px}#ld-dashboard .global-header{padding:14px 16px}#ld-dashboard .header-inner{gap:10px}#ld-dashboard .brand-title{font-size:18px}#ld-dashboard .brand-subtitle{display:block}#ld-dashboard .header-user-status{font-size:12px}#ld-dashboard .ld-native-account-tools{flex:1 0 100%}#ld-dashboard .nav-tab{flex:1 0 40%;font-size:13px}#ld-dashboard .theme-row{padding:0}#ld-dashboard .chat-aside{z-index:30}#ld-dashboard .mobile-pane-switch{z-index:31}#ld-dashboard .basic-priority{margin-bottom:18px}}
/* Preserve source main.workspace geometry while retaining the native outer main. */
#ld-dashboard .workspace{padding:0 24px;margin:28px auto}
#ld-dashboard .theme-row label{display:inline-block;margin:0;font-size:13px}
#ld-dashboard .theme-row select{width:142px;flex:none;margin:0;min-height:36px;padding:6px 10px;font-size:13px}
#ld-dashboard #ld-theme-status{font-size:12px;min-width:230px}
@media(max-width:1119px){#ld-dashboard .workspace{padding:0 16px;margin:20px auto}#ld-dashboard #ld-theme-status{min-width:0;flex-basis:100%;font-size:11px}#ld-dashboard .theme-row select{width:auto;max-width:70%}}
/* Native headings/hints use the same original theme variables in both palettes. */
#ld-dashboard h1,#ld-dashboard h2,#ld-dashboard h3{color:var(--ink)}
#ld-dashboard small,#ld-dashboard .ld-required{color:var(--text-sub)}

/* Owner canonical restoration 20261103: whole-page palette and desktop workspace. */
html:has(#ld-dashboard[data-theme="dark"]),body:has(#ld-dashboard[data-theme="dark"]){background:#101820!important;color:#e5edf6!important;color-scheme:dark}
html:has(#ld-dashboard[data-theme="light"]),body:has(#ld-dashboard[data-theme="light"]){background:#f3f7fb!important;color:#1d2939!important;color-scheme:light}
body:has(#ld-dashboard[data-gemini-layout]) #vrl-content,body:has(#ld-dashboard[data-gemini-layout]) .vrl-account-shell{width:100%;max-width:1920px;margin-inline:auto}
body:has(#ld-dashboard[data-gemini-layout]) .woocommerce,body:has(#ld-dashboard[data-gemini-layout]) .woocommerce-MyAccount-content{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body:has(#ld-dashboard[data-theme="dark"]) .vrl-site-footer{background:#101820!important;color:#c5d0df!important;border-color:#506176!important}
body:has(#ld-dashboard[data-theme="light"]) .vrl-site-footer{background:#f3f7fb!important;color:#475467!important}
#ld-dashboard[data-gemini-layout] .workspace{max-width:none;min-width:0}
