/* Canonical dark appearance, loaded after legacy component styles. */
html[data-theme=dark]{color-scheme:dark;--ui-bg:#121014;--ui-paper:#201b22;--ui-ink:#f5edf2;--ui-muted:#c6b8c2;--ui-accent:#edaccb;--ui-border:#483440;--gya-ink:#f5edf2;--gya-paper:#201b22;--gya-border:#483440;--gya-outline:#483440;--gya-rose:#edaccb;--gya-surface:#201b22;--bg:#121014;--text:#f5edf2;--muted:#c6b8c2;--border:#483440;--accent:#edaccb;font-size:16px;background:#121014}
html[data-theme=dark] body{background:#121014!important;color:#f5edf2!important;margin:0}
html [hidden],html .hidden{display:none!important}
html[data-theme=dark] :is(h1,h2,h3,h4,h5,label,strong){color:inherit}
html[data-theme=dark] :is(p,small,.muted,.tiny,.page-subtitle,.overline,.kind,.meta,.excerpt,.card-meta,.card-footer,.app-footer){color:#c6b8c2}
html[data-theme=dark] :is(a,.link-button){color:#f2b5d2}
html[data-theme=dark] :is(button,input,textarea,select){font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
html[data-theme=dark] :is(input,textarea,select){color:#f5edf2!important;background:#171318!important;border-color:#654958!important;font-size:16px;accent-color:#edaccb}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#bba9b5!important;opacity:1}
html[data-theme=dark] :is(button,.button){min-height:44px;line-height:1.4}
html[data-theme=dark] :is(.button,.primary,.pm-primary){background:#edaccb!important;color:#24151f!important;border-color:#edaccb!important}
html[data-theme=dark] :is(.secondary,.icon-button,.pill,.tag,.pm-tabs button,.top-actions button){background:#2d222c!important;color:#f0cada!important;border-color:#654958!important}
html[data-theme=dark] :is(.sidebar,.topbar,.gya-mobile-header,.mobile-more,.auth-panel,.dialog,.settings-card,.record-card,.stat,.empty,.activity-row,.agenda-row,.detail-field,.special-fields,.copy-row code,.pm-panel,.pm-history-item,.gya-human-card,.gya-human-video,.gya-human-saved,.gya-media-panel,.gya-video-card,.calendar-day,.calendar-event){background:#201b22!important;color:#f5edf2!important;border-color:#483440!important;box-shadow:none!important}
html[data-theme=dark] :is(.dialog-heading h2,.settings-card h3,.activity-row strong,.finance-value,.record-card h3,.section-title h2,.pm-header h2,.attachment-panel h3){color:#f5edf2!important}
html[data-theme=dark] :is(.nav-button,.mobile-more button){color:#d6c4d0;background:transparent}
html[data-theme=dark] :is(.nav-button.active,.mobile-more button:hover){background:#3c2936!important;color:#ffd7e9!important}
html[data-theme=dark] .mobile-nav{background:#1d171f!important;border-top:1px solid #483440;box-shadow:none!important;padding-top:8px}
html[data-theme=dark] .mobile-nav button{color:#c9b8c5!important;font-size:12px!important;min-height:48px}
html[data-theme=dark] .mobile-nav button.active{background:#4d3043!important;color:#ffe4ef!important}
html[data-theme=dark] :focus-visible{outline:3px solid #f2b5d2!important;outline-offset:3px}
html[data-theme=dark] .dialog::backdrop{background:#09070bd9}
html[data-theme=dark] :is(.pm-history-item small,#helpEntries p,.gya-human-notice,.gya-human-copy small){color:#c6b8c2!important}
html[data-theme=dark] #personalModules .lp-app{--study-line:#59404f;--study-plum:#f4c2d9;--study-rose:#edaccb;color:#f5edf2}
html[data-theme=dark] .lp-app :is(.lp-work,.lp-empty,.lp-review,.lp-circle,.lp-buttons button,.lp-review button,.lp-empty button){background:#201b22;color:#f5edf2;border-color:#59404f}
html[data-theme=dark] .lp-app :is(.lp-node,.lp-work h3,.lp-section-label h3){color:#f5edf2}
html[data-theme=dark] .lp-app :is(.lp-node small,.lp-node em,.lp-note,.lp-draft-state,.lp-section-label>span,.lp-session,.lp-eyebrow){color:#cfb6c6}
html[data-theme=dark] .lp-app .lp-node:hover{background:#2d222c}
html[data-theme=dark] .lp-app .lp-primary{background:#edaccb;color:#24151f;border-color:#edaccb}
html[data-theme=dark] .lp-app .lp-conflict{background:#34251e;color:#ffe5d4;border-color:#a17857}
html[data-theme=dark] .lp-app .lp-node.complete .lp-circle{background:#24362c;color:#c8ebd5}
/* A quiet launcher: no editorial feed, duplicated recommendations or collapsed bars. */
html[data-theme=dark] .main[data-view=inicio]{max-width:1100px}
html[data-theme=dark] .main[data-view=inicio] :is(.gya-editorial-feature,.gya-human-entry,.gya-discovery,.gya-weekly,.gya-social-cta){display:none!important}
html[data-theme=dark] .main[data-view=inicio] .gya-welcome{background:radial-gradient(ellipse at 100% 0,#6d375a88,transparent 65%),#241a25!important;border:1px solid #5d3d51!important;border-radius:26px!important;padding:28px!important;box-shadow:none!important}
html[data-theme=dark] .main[data-view=inicio] .gya-welcome h2{font:400 clamp(30px,5vw,42px)/1.15 Georgia,serif!important;color:#fff0f7!important;max-width:470px;margin:24px 0 12px!important}
html[data-theme=dark] .main[data-view=inicio] .gya-welcome :is(p,.gya-welcome-head){color:#e3bed2!important;font-size:14px!important;line-height:1.6}
html[data-theme=dark] .main[data-view=inicio] .gya-welcome-head small{color:#e3bed2!important;font-size:11px}
html[data-theme=dark] .main[data-view=inicio] #globalSearchArea{margin:18px 0!important}
html[data-theme=dark] .main[data-view=inicio] #globalSearchInput{min-height:54px;border-radius:16px!important;background:#201b22!important}
html[data-theme=dark] .main[data-view=inicio] .gya-quick-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}
html[data-theme=dark] .main[data-view=inicio] .gya-quick-actions button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:76px!important;padding:12px 4px!important;border:1px solid #59404f!important;border-radius:18px!important;background:#241b24!important;color:#f5c5dd!important;font-size:14px!important}
html[data-theme=dark] .main[data-view=inicio] .gya-home-mode-control{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));padding:5px;background:#201b22!important;border:1px solid #483440;border-radius:16px;gap:4px;margin:22px 0!important}
html[data-theme=dark] .main[data-view=inicio] .gya-home-mode-control button{background:transparent!important;color:#cbb9c6!important;border:0;border-radius:11px;font-size:14px!important;padding:10px 4px;min-height:44px}
html[data-theme=dark] .main[data-view=inicio] .gya-home-mode-control button[aria-pressed=true]{background:#493040!important;color:#ffe4ef!important;box-shadow:none}
html[data-theme=dark] .main[data-view=inicio] .gya-section-head{margin:26px 0 16px;align-items:center}
html[data-theme=dark] .main[data-view=inicio] .gya-section-head h3{font:400 26px/1.2 Georgia,serif!important;color:#f5edf2!important;margin:0}
html[data-theme=dark] .main[data-view=inicio] .gya-section-head>span{font-size:13px;color:#c6b8c2}
html[data-theme=dark] .main[data-view=inicio] .gya-module-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html[data-theme=dark] .main[data-view=inicio] .gya-module-grid .gya-tile{display:flex;min-height:166px!important;align-items:flex-end;padding:20px!important;background:linear-gradient(145deg,#372638,#211a23)!important;border:1px solid #604354!important;border-radius:22px!important;box-shadow:none!important}
html[data-theme=dark] .main[data-view=inicio] .gya-module-grid .gya-tile:before,html[data-theme=dark] .main[data-view=inicio] .gya-module-grid .gya-tile:after{content:none!important;background-image:none!important}
html[data-theme=dark] .main[data-view=inicio] .gya-tile-art{color:#f1b7d2!important;opacity:.55!important;font-size:38px!important;transform:none!important;top:16px!important;right:18px!important}
html[data-theme=dark] .main[data-view=inicio] .gya-tile-copy{padding-right:6px}
html[data-theme=dark] .main[data-view=inicio] .gya-tile-copy strong{font:500 21px/1.2 Georgia,serif!important;color:#fff0f7!important;display:block}
html[data-theme=dark] .main[data-view=inicio] .gya-tile-copy small{font:400 13px/1.5 system-ui,sans-serif!important;color:#d3bfcd!important;display:block;margin-top:8px;max-width:18ch}
html[data-theme=dark] .main[data-view=inicio] .gya-tile-arrow{display:none}
html[data-theme=dark] .main[data-view=inicio][data-home-mode=hoy] .gya-module-grid .gya-tile:nth-child(n+3){display:none!important}
html[data-theme=dark] .main[data-view=inicio][data-home-mode=explorar] .gya-module-grid .gya-tile{display:flex!important}
html[data-theme=dark] .main[data-view=inicio] #gyaMoreOpen{display:block!important;margin:22px 0;width:100%;min-height:52px;background:#2d222c;color:#f2b5d2;border:1px solid #654958;border-radius:16px;font-size:15px}
html[data-theme=dark] .main[data-view=inicio] #gyaMoreSheet:not([hidden]){display:block!important;padding:22px 0;background:transparent!important;border:0;box-shadow:none}
html[data-theme=dark] #gyaMoreGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
html[data-theme=dark] .gya-more-tile{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:120px;background:#201b22!important;color:#f5edf2!important;border:1px solid #483440;border-radius:16px;padding:16px;white-space:normal;overflow-wrap:anywhere}
html[data-theme=dark] .gya-more-tile strong{font-size:16px}
html[data-theme=dark] .gya-more-tile small{font-size:13px;color:#c6b8c2}
@media(min-width:900px){html[data-theme=dark] #gyaMoreGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:740px){html[data-theme=dark] .main{padding:16px 16px 120px!important}html[data-theme=dark] .gya-mobile-header{border:1px solid #483440!important;border-radius:20px!important}html[data-theme=dark] .main[data-view=inicio] .gya-welcome{padding:24px!important}}
@media(prefers-reduced-motion:reduce){html[data-theme=dark] *{animation:none!important;transition:none!important}}
html[data-theme=dark]{--v22-paper:#201b22;--v22-ink:#f5edf2;--v22-muted:#c6b8c2;--v22-line:#483440;--v22-bg:#121014;--v22-shadow:none}
html[data-theme=dark] :is(.mobile-brand,.gya-unified-case,.gya-unified-case details,#globalSearchArea,.gya-more-head,.pm-entry,.gya-music-panel,.gya-music-card){background:#201b22!important;color:#f5edf2!important;border-color:#483440!important;box-shadow:none!important}
html[data-theme=dark] :is(.mobile-brand-name,.mobile-brand small,.gya-unified-case h3,.gya-unified-case summary,.gya-unified-case .gya-case-court){color:#f5edf2!important}
html[data-theme=dark] .mobile-brand-actions button{background:#2d222c!important;color:#edaccb!important;border-color:#654958!important;min-width:44px;min-height:44px}
html[data-theme=dark] .gya-unified-case :is(p,small,.tiny){color:#c6b8c2!important}
html[data-theme=dark]{--v22-background:#121014}
html[data-theme=dark] :is(.shell,.shell>.main,.auth-screen){background:#121014!important;color:#f5edf2!important;min-height:100dvh}
html[data-theme=dark] .main[data-view=inicio] .gya-quick-actions button span{font-size:13px!important}
html[data-theme=dark] .lp-app .lp-tabs{background:#201b22;border:1px solid #483440}
html[data-theme=dark] .lp-app .lp-tabs button{background:transparent;color:#cfb6c6;font-size:14px}
html[data-theme=dark] .lp-app .lp-tabs button[aria-selected=true],html[data-theme=dark] .lp-app .lp-tabs button.active{background:#493040;color:#ffe4ef}
html[data-theme=dark] .lp-app :is(summary,.lp-next,.lp-text-button,.lp-saved article button){color:#f2b5d2}
html[data-theme=dark] .lp-app :is(.lp-save-status,.lp-status,.lp-message,#lpSaveStatus,#lpStatus){color:#c6b8c2!important}
html[data-theme=dark] .lp-app .lp-buttons .lp-primary{background:#edaccb!important;color:#24151f!important;border-color:#edaccb}
html[data-theme=dark] .lp-app .lp-choice-grid button{background:#2d222c;color:#f5edf2;border-color:#654958}
html[data-theme=dark] .lp-app .lp-choice-grid button.correct{background:#24362c;color:#c8ebd5}
html[data-theme=dark] :is(.gya-case-top span,.gya-court-hint,#gyaCourtFilters label){color:#c6b8c2!important}
html[data-theme=dark] .lp-app :is(#lpFeedback,#lpReviewFeedback){color:#c6b8c2!important}
html[data-theme=dark] .lp-app .lp-tabs button[aria-pressed=true]{background:#493040;color:#ffe4ef;box-shadow:none}

/* Integrated action-first home, matching the approved interactive concept. */

#gyaVisualDashboard{padding:20px 8px;--g-bg:#0c0b11;--g-panel:#18151f;--g-txt:#f7eff7;--g-muted:#bfb3c9;--g-rose:#f7a8d1;--g-line:#453649;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
#gyaVisualDashboard *{box-sizing:border-box}#gyaVisualDashboard .gf-phone{max-width:424px;margin:auto;background:var(--g-bg);color:var(--g-txt);border:1px solid #554355;border-radius:34px;overflow:hidden;box-shadow:0 24px 70px #07060d60;position:relative}
#gyaVisualDashboard button,#gyaVisualDashboard input,#gyaVisualDashboard textarea{font:inherit}#gyaVisualDashboard button{color:inherit;cursor:pointer}#gyaVisualDashboard button:active{transform:translateY(1px)}#gyaVisualDashboard [hidden]{display:none!important}#gyaVisualDashboard .gf-top{display:flex;align-items:center;justify-content:space-between;padding:24px 23px 12px;gap:12px}#gyaVisualDashboard .gf-logo{font:500 27px/1 Georgia,serif;letter-spacing:4px;display:flex;align-items:center;gap:10px}#gyaVisualDashboard .gf-logo i{color:var(--g-rose);width:22px;height:22px}#gyaVisualDashboard .gf-private{border:1px solid var(--g-line);background:#1d1622;border-radius:99px;padding:9px 12px;display:flex;gap:7px;align-items:center;font-size:12px;min-height:44px}#gyaVisualDashboard .gf-private svg{width:15px;height:15px}#gyaVisualDashboard .gf-demo{margin:0 24px;color:var(--g-muted);font-size:11px;letter-spacing:1.4px}
#gyaVisualDashboard .gf-view{padding:22px 23px 25px}#gyaVisualDashboard .gf-hero{position:relative;isolation:isolate;padding-top:6px}#gyaVisualDashboard .gf-eyebrow{font-size:11px;letter-spacing:2px;color:var(--g-rose);margin:0 0 15px}#gyaVisualDashboard h2{font:400 39px/1.08 Georgia,serif;margin:0;letter-spacing:-1.2px;color:var(--g-txt)}#gyaVisualDashboard h2 em{font-style:normal;color:var(--g-rose)}#gyaVisualDashboard .gf-lead{color:var(--g-muted);font-size:14px;line-height:1.6;margin:14px 0 0;max-width:29ch}
#gyaVisualDashboard .gf-scene{height:208px;position:relative;display:grid;place-items:center;margin:5px -10px 2px;perspective:800px;overflow:hidden}#gyaVisualDashboard .gf-scene:before{content:'';position:absolute;inset:30px 35px;background:radial-gradient(ellipse,#6e30644a,transparent 65%);filter:blur(12px)}#gyaVisualDashboard .gf-sphere{position:absolute;width:174px;height:174px;border-radius:50%;background:radial-gradient(circle at 32% 26%,#f9ddeb 0%,#cc7aad 9%,#522d5a 33%,#23182d 55%,#0d0b14 73%);box-shadow:inset -9px -7px 19px #09070f,inset 4px 4px 7px #f4b5e74d,0 0 46px #ba5ba922;transition:transform .6s ease}
#gyaVisualDashboard .gf-rings{position:absolute;width:270px;height:270px;transform:rotateX(67deg) rotateZ(-28deg);border:1px solid #bf90b885;border-radius:50%;box-shadow:0 0 20px #ca7caf16,inset 0 0 16px #ca7caf10;transition:transform .65s ease}#gyaVisualDashboard .gf-rings:before,#gyaVisualDashboard .gf-rings:after{content:'';position:absolute;inset:13px;border:1px solid #b982b666;border-radius:50%}#gyaVisualDashboard .gf-rings:after{inset:27px;border-color:#f0b8dd9c}#gyaVisualDashboard .gf-sheen{position:absolute;inset:0;border-radius:50%;background:repeating-linear-gradient(100deg,transparent 0 13px,#e5a8de18 14px,transparent 15px);clip-path:circle(50%);transform:rotate(-18deg)}
#gyaVisualDashboard .gf-orbit-label{position:absolute;bottom:11px;display:flex;gap:7px;align-items:center;background:#15101ce8;color:#e1b6d3;font-size:11px;letter-spacing:1px;padding:7px 11px;border-radius:99px;border:1px solid #55334f}#gyaVisualDashboard .gf-dot{width:5px;height:5px;background:#efafd7;border-radius:50%}#gyaVisualDashboard .gf-modes{display:flex;border-bottom:1px solid var(--g-line);gap:20px;margin:0 0 24px}#gyaVisualDashboard .gf-modes button{background:none;border:0;padding:12px 0 14px;min-height:47px;color:var(--g-muted);font-size:14px;border-bottom:2px solid transparent}#gyaVisualDashboard .gf-modes button[aria-pressed=true]{color:var(--g-rose);border-color:var(--g-rose)}
#gyaVisualDashboard .gf-command{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;border:1px solid #76506d;background:linear-gradient(105deg,#2b1b30,#17131e);border-radius:19px;text-align:left;padding:17px;min-height:70px;box-shadow:0 0 26px #ad519d12}#gyaVisualDashboard .gf-command i{color:var(--g-rose)}#gyaVisualDashboard .gf-command span{flex:1;font-size:15px;line-height:1.4}#gyaVisualDashboard .gf-command small{display:block;color:var(--g-muted);font-size:12px;margin-top:5px}#gyaVisualDashboard .gf-section-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 8px}#gyaVisualDashboard h3{font-size:16px;font-weight:500;margin:0}#gyaVisualDashboard .gf-section-head span{font-size:11px;letter-spacing:1px;color:var(--g-muted)}#gyaVisualDashboard .gf-link{border:0;background:none;color:var(--g-rose);padding:12px 0;min-height:44px;font-size:13px}#gyaVisualDashboard .gf-feature{width:100%;display:flex;align-items:center;gap:17px;text-align:left;background:none;border:0;border-bottom:1px solid var(--g-line);padding:17px 0;color:var(--g-txt)}#gyaVisualDashboard .gf-icon{width:46px;height:46px;background:#251b2c;border:1px solid #52334d;border-radius:15px;display:grid;place-items:center;color:var(--g-rose);flex:none}#gyaVisualDashboard .gf-feature strong{display:block;font-size:16px;font-weight:500}#gyaVisualDashboard .gf-feature small{display:block;color:var(--g-muted);font-size:12px;margin-top:6px}#gyaVisualDashboard .gf-feature>span:nth-child(2){flex:1}#gyaVisualDashboard .gf-feature>i{width:17px;color:var(--g-muted)}
#gyaVisualDashboard .gf-bottom{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px 17px 17px;background:#120e18;border-top:1px solid var(--g-line)}#gyaVisualDashboard .gf-bottom button{border:0;background:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:54px;border-radius:15px;color:var(--g-muted);font-size:11px}#gyaVisualDashboard .gf-bottom button[aria-current=page]{color:#f8c3e0;background:#2c1b31}#gyaVisualDashboard .gf-bottom svg{width:20px;height:20px}
#gyaVisualDashboard .gf-back{border:0;background:none;display:flex;align-items:center;gap:7px;color:var(--g-muted);font-size:13px;min-height:44px;padding:0;margin:0 0 18px}#gyaVisualDashboard .gf-back svg{width:16px}#gyaVisualDashboard .gf-subtitle{font:400 31px/1.15 Georgia,serif;letter-spacing:-.6px;margin:6px 0 14px}#gyaVisualDashboard .gf-text{font-size:14px;line-height:1.65;color:var(--g-muted)}#gyaVisualDashboard .gf-label{display:block;font-size:13px;margin:22px 0 9px}#gyaVisualDashboard textarea{width:100%;min-height:118px;resize:vertical;background:#17121d;color:var(--g-txt);border:1px solid #62465d;border-radius:17px;padding:15px;font-size:16px;line-height:1.5}#gyaVisualDashboard .gf-primary{width:100%;min-height:49px;border:0;border-radius:15px;background:#f0afcf;color:#241321;font-size:14px;font-weight:500;padding:14px;margin-top:15px}#gyaVisualDashboard .gf-note{font-size:12px;color:var(--g-muted);line-height:1.6;margin:12px 0 0}#gyaVisualDashboard .gf-proposal{background:#1d1523;border:1px solid #61455b;border-radius:19px;padding:20px;margin-top:20px}#gyaVisualDashboard .gf-proposal label{display:flex;gap:12px;align-items:flex-start;margin:17px 0;font-size:14px;line-height:1.5}#gyaVisualDashboard input[type=checkbox]{accent-color:#f0afcf;width:21px;height:21px;flex:none;margin:0}#gyaVisualDashboard .gf-proposal p{margin:0}#gyaVisualDashboard .gf-status{font-size:13px;line-height:1.6;color:#ecc7e0;margin-top:16px;min-height:21px}#gyaVisualDashboard .gf-flash{width:100%;min-height:220px;padding:26px;text-align:left;border:1px solid #724563;border-radius:24px;background:radial-gradient(ellipse at 100% 0,#703b6455,transparent 70%),#201525;display:flex;flex-direction:column;justify-content:space-between;margin:25px 0 5px}#gyaVisualDashboard .gf-flash small{font-size:11px;letter-spacing:1.7px;color:var(--g-rose)}#gyaVisualDashboard .gf-flash strong{font:400 27px/1.25 Georgia,serif;max-width:20ch;margin:25px 0}#gyaVisualDashboard .gf-flash span{font-size:12px;color:var(--g-muted)}#gyaVisualDashboard .gf-list{margin-top:24px}#gyaVisualDashboard .gf-empty{padding:24px 0;border-top:1px solid var(--g-line);color:var(--g-muted);font-size:14px;line-height:1.6}
@media(max-width:370px){#gyaVisualDashboard .gf-top{padding:22px 18px 12px}#gyaVisualDashboard .gf-view{padding:20px 18px}#gyaVisualDashboard h2{font-size:35px}#gyaVisualDashboard .gf-modes{gap:18px}#gyaVisualDashboard .gf-phone{border-radius:26px}}
@media(prefers-reduced-motion:reduce){#gyaVisualDashboard *{transition:none!important;animation:none!important}}

html[data-theme=dark] #gyaVisualDashboard{background:#0c0b11;color:#f7eff7;max-width:540px;margin:auto;padding:14px 0 24px;--orbit-angle:-28deg}
html[data-theme=dark] .main[data-view=inicio]{max-width:1100px;background:#0c0b11!important}
html[data-theme=dark] #gyaVisualDashboard .gf-rings{transform:rotateX(67deg) rotateZ(var(--orbit-angle))}
html[data-theme=dark] #gyaVisualDashboard #globalSearchArea{margin:0 0 20px!important;padding:0!important;background:transparent!important;border:0!important}
html[data-theme=dark] #gyaVisualDashboard #globalSearchArea .section-title,html[data-theme=dark] #gyaVisualDashboard #globalSearchArea>p{display:none}
html[data-theme=dark] #gyaVisualDashboard #globalSearchInput{min-height:50px!important;font-size:16px;background:#18131e!important;border-color:#62465d!important}
html[data-theme=dark] #gyaVisualDashboard .gf-command{min-height:74px;color:#f7eff7!important}
html[data-theme=dark] #gyaVisualDashboard .gf-command small{color:#bfb3c9!important}
html[data-theme=dark] #gyaVisualDashboard .gf-command-icon{flex:none;font-size:23px;color:#f7a8d1}
html[data-theme=dark] #gyaVisualDashboard .gf-spaces{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:52px;padding:14px 0;border:0;background:none;color:#f7a8d1;font-size:14px}
html[data-theme=dark] #gyaVisualDashboard #gyaMoreSheet[hidden]{display:none!important}
html[data-theme=dark] #gyaVisualDashboard #gyaMoreSheet:not([hidden]){padding:18px 0!important}
html[data-theme=dark] .main[data-view=inicio] .topbar{display:none!important}
html[data-theme=dark] .gf-study-primer{margin:20px 0 26px;border:1px solid #724563;border-radius:22px;background:#201525;padding:22px;color:#f5edf2}
html[data-theme=dark] .gf-study-primer button{display:block;width:100%;padding:15px 0;text-align:left;background:none;border:0;color:#f7a8d1;min-height:50px;font-size:16px}
html[data-theme=dark] .gf-study-primer p{color:#cfb6c6;line-height:1.6;margin:0}
html[data-theme=dark] .main[data-view=inicio] #gyaVisualDashboard #gyaMoreOpen{display:flex!important;background:none;border:0;border-radius:0;padding:14px 0;margin:8px 0;color:#f7a8d1;font-size:14px}
html[data-theme=dark] .main[data-view=inicio] .topbar{display:block!important;max-width:540px;margin:0 auto 14px;background:transparent!important}
html[data-theme=dark] .main[data-view=inicio] .topbar :is(.desktop-page-title,.top-actions){display:none!important}
html[data-theme=dark] .main[data-view=inicio] .mobile-brand{display:flex!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:12px 0!important}
html[data-theme=dark] .main[data-view=inicio] .mobile-brand-name small{display:none}
html[data-theme=dark] #gyaVisualDashboard .gf-command>span:first-child{flex:0 0 23px}
html[data-theme=dark] #gyaVisualDashboard .gf-command>span:last-child{flex:0 0 20px;text-align:right}
html[data-theme=dark] #gyaVisualDashboard .gya-more-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 18px;background:transparent!important}
html[data-theme=dark] #gyaVisualDashboard .gya-more-head button{background:#2d222c;color:#f7a8d1;border:1px solid #62465d;border-radius:12px;min-width:44px;min-height:44px}
/* Personal modules: override legacy ID-scoped light styles, including !important fields. */
html[data-theme=dark] #personalModules :is(.pm-header,.pm-panel,.pm-entry,.pm-history-item){background:#201b22!important;color:#f5edf2!important;border-color:#59404f!important;box-shadow:none!important}
html[data-theme=dark] #personalModules :is(.pm-header h2,.pm-panel h3,.pm-entry label,.pm-history-item strong){color:#f5edf2!important}
html[data-theme=dark] #personalModules :is(.pm-header p,.pm-count,.pm-privacy,.pm-history-item p,.pm-history-item small,#pmStatus){color:#cfc0ca!important}
html[data-theme=dark] #personalModules .pm-eyebrow{color:#f0b7d2!important}
html[data-theme=dark] #personalModules .pm-task{background:#30222e!important;color:#f2d9e7!important;border:1px solid #59404f}
html[data-theme=dark] #personalModules .pm-panel :is(input,textarea,select){background:#171318!important;color:#f5edf2!important;border-color:#806174!important;font-size:16px!important;caret-color:#f7a8d1}
html[data-theme=dark] #personalModules .pm-panel :is(input,textarea)::placeholder{color:#bba9b5!important;opacity:1}
html[data-theme=dark] #personalModules :is(.pm-actions button,.pm-history-item button,#pmLegacy){background:#edaccb!important;color:#24151f!important;border:1px solid #edaccb!important;min-height:46px}
html[data-theme=dark] #personalModules .pm-actions .pm-light{background:#2d222c!important;color:#f5d6e7!important;border-color:#806174!important}
html[data-theme=dark] #personalModules .pm-tabs button{background:#2d222c!important;color:#f0cada!important;border-color:#806174!important}
html[data-theme=dark] #personalModules .pm-tabs button[aria-pressed=true]{background:#edaccb!important;color:#24151f!important;border-color:#edaccb!important}
html[data-theme=dark] #personalModules #pantryStatus{color:#cfc0ca;line-height:1.6}
html[data-theme=dark] #personalModules :is(#pantryForm,.pm-history-item) label{display:block;color:#f5edf2;line-height:1.6;margin:12px 0}
html[data-theme=dark] #personalModules .pm-history-item .pm-actions button{font-size:13px}
html[data-theme=dark] #personalModules #pantryStock,html[data-theme=dark] #personalModules #pantryNotes{max-width:100%;white-space:normal}
html[data-theme=dark] .lp-app .lp-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme=dark] .exam-question{border:0;border-bottom:1px solid #59404f;padding:18px 0;margin:0 0 18px;min-width:0}
html[data-theme=dark] .exam-question legend{font-size:16px;font-weight:600;color:#f5edf2;line-height:1.6}
html[data-theme=dark] .exam-question label{display:flex;gap:12px;align-items:flex-start;min-height:48px;margin:8px 0;font-size:15px;color:#f5edf2;line-height:1.6}
html[data-theme=dark] .exam-question input{width:22px;height:22px;flex:none;margin-top:3px;accent-color:#edaccb}
html[data-theme=dark] .exam-feedback{padding:18px 0;border-bottom:1px solid #59404f}
html[data-theme=dark] .exam-feedback strong{color:#f2c5db}
html[data-theme=dark] #examStatus{color:#cfc0ca;line-height:1.6}
html[data-theme=dark] #musicArea :is(.gm-card,.gm-song,.gm-tabs,.gm-phrase){background:#201b22!important;color:#f5edf2!important;border-color:#59404f!important}
html[data-theme=dark] #musicArea :is(h3,label,.gm-song strong,.gm-phrase strong){color:#f5edf2!important}
html[data-theme=dark] #musicArea :is(p,small,.gm-help,.gm-status,.gm-song small,.gm-phrase small){color:#cfc0ca!important}
html[data-theme=dark] #musicArea :is(input,textarea,select){background:#171318!important;color:#f5edf2!important;border-color:#806174!important;font-size:16px!important}
html[data-theme=dark] #musicArea button{min-height:44px;background:#2d222c;color:#f5d6e7;border-color:#806174}
html[data-theme=dark] #musicArea .gm-primary{background:#edaccb!important;color:#24151f!important}
