.home-dashboard{max-width:1480px;margin:0 auto 40px}.home-hero{position:relative;overflow:hidden;padding:32px;border:1px solid #67578a;border-radius:26px;background:radial-gradient(ellipse at 100% 0,#8760e44d,transparent 65%),linear-gradient(130deg,#142645,#201c36);color:#f8f5ff;margin-bottom:20px}.home-hero:after{content:'✦';position:absolute;right:24px;top:50px;font-size:135px;line-height:1;color:#b78eff20;pointer-events:none}.home-hero-top{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:1}.home-greeting{margin:0;color:#d2c6e9;font-size:17px}.home-kicker{font-size:10px;letter-spacing:2px;color:#bbb4d0}.home-hero h1{font-size:clamp(28px,3.4vw,48px);line-height:1.2;max-width:700px;margin:20px 0 12px;font-family:Manrope,sans-serif;position:relative;z-index:1}.home-intro{max-width:650px;color:#c6c7df}.home-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;position:relative;z-index:1}.home-shortcuts .home-button{background:#242a44;color:#edeaff;border-color:#514969}.home-dashboard .lumora-icon{width:21px;height:21px;display:inline-flex;flex-shrink:0}.home-dashboard .lumora-icon svg{width:100%;height:100%}.home-quick-fold{border:1px solid var(--line);border-radius:17px;margin:16px 0;background:var(--surface)}.home-quick-fold>summary{cursor:pointer;padding:17px 20px;font-weight:600;color:var(--accent)}.home-dashboard .home-composer{border:0;margin:0;padding:0 22px 22px;background:transparent}.home-composer>button{margin:8px 10px 0 0}.home-global-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end;margin:26px 0 12px}.home-global-search label{grid-column:1/-1;font-size:13px;color:var(--muted)}.home-global-search input{width:100%;font:inherit;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);padding:15px 18px}.home-global-search button{min-height:54px}.home-section{padding:20px 0}.home-section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.home-section-heading h2{margin:0;font-size:21px;font-weight:700}.home-section-heading>a,.home-section-heading>button{font-size:12px;padding:8px 12px}.home-resume-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.home-resource{width:100%;display:flex;gap:13px;text-align:left;white-space:normal;align-items:center;padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);min-width:0}.home-resource>img{width:56px;height:56px;object-fit:cover;border-radius:10px;flex-shrink:0}.home-resource:has(>img)>.lumora-icon{display:none}.home-resource-copy{min-width:0}.home-resource strong{display:block;font-size:15px;overflow-wrap:anywhere}.home-resource small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:7px}.home-continue>small{display:block;margin-top:10px}.home-muted,.home-status{font-size:12px;line-height:1.6;color:var(--muted)}.home-status button{margin-left:10px}.home-image-grid.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.home-image-grid .picture{aspect-ratio:16/10}.home-image-grid .picture img{width:100%;height:100%;object-fit:cover}.home-image-grid .card-info{padding:12px}.home-image-grid .card-info h2{font-size:15px}.home-image-grid .image-card-wrap{min-width:0}.home-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:16px}.home-video-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:15px;min-width:0}.home-video-card h3{font-size:15px;margin:6px 0 12px;overflow-wrap:anywhere}.home-video-card>small{font-size:10px;letter-spacing:1.5px;color:var(--muted)}.home-video-card video{width:100%;max-height:180px;aspect-ratio:16/9;background:#111522;border-radius:10px}.home-inline-actions{display:flex;gap:9px;flex-wrap:wrap}.home-inline-actions button,.home-inline-actions a{font-size:12px;padding:10px}.home-video-card .home-inline-actions{margin-top:10px}.home-pair{display:grid;grid-template-columns:1fr 1fr;gap:26px;border-top:1px solid var(--line);margin-top:12px}.home-resource-list{display:grid;gap:10px}.home-next{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:22px;margin-top:18px}.home-next h2{font-size:19px;margin:0 0 14px}.home-search-results{border:1px solid var(--line);border-radius:16px;padding:20px}.home-search-results h2{font-size:20px}.home-search-result{display:flex;width:100%;text-align:left;gap:12px;margin:8px 0}.home-search-result small{margin-left:auto;color:var(--muted);font-size:12px}.home-search-results>.home-muted{display:block;margin:15px 0}.home-search-results>a{font-size:12px;margin:8px 8px 0 0}.home-dashboard button:focus-visible,.home-dashboard a:focus-visible,.home-quick-fold summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:1050px){.home-resume-grid{grid-template-columns:1fr}.home-image-grid.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.home-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-pair{gap:18px}.home-hero{padding:25px}}@media(max-width:650px){.home-pair{grid-template-columns:1fr;gap:0}.home-hero-top{align-items:flex-start;flex-direction:column;gap:7px}.home-hero{padding:22px}.home-hero:after{font-size:90px;right:12px;top:20px}.home-shortcuts{display:grid;grid-template-columns:1fr 1fr}.home-shortcuts .home-button,.home-shortcuts .upload-button{padding:11px;font-size:12px}.home-image-grid.gallery{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 3px 12px}.home-image-grid.gallery>article,.home-image-grid.gallery>div,.home-image-grid.gallery>button{flex:0 0 78%;scroll-snap-align:start}.home-video-grid{grid-template-columns:1fr}.home-global-search{grid-template-columns:minmax(0,1fr) auto}.home-global-search input{font-size:13px;padding:12px}.home-global-search button{padding:10px;font-size:12px;min-height:46px}.home-section-heading h2{font-size:19px}.home-dashboard .home-composer{padding:0 15px 15px}.home-kicker{font-size:9px}}

/* Extend the existing hero's night palette to the complete home dashboard. */
.home-dashboard{--bg:#10192c;--surface:#172238;--field:#111c30;--text:#f8f5ff;--muted:#c0bdd4;--line:#46506b;--accent:#baadff;color-scheme:dark;color:var(--text);background:radial-gradient(ellipse at 100% 0,#8760e430,transparent 58%),linear-gradient(130deg,#142645,#161a2c 65%,#201c36);padding:18px clamp(12px,2.3vw,30px) 30px;border:1px solid #514969;border-radius:26px;box-sizing:border-box;box-shadow:0 18px 50px #0a102024;min-width:0}
.home-dashboard .home-hero{box-shadow:0 12px 30px #060c1826}
.home-dashboard .home-button{background:#242a44;color:#edeaff;border-color:#605776;transition:background .16s,border-color .16s}
.home-dashboard .home-button:hover{background:#32304f;border-color:#a38cdb}
.home-dashboard .upload-button{background:linear-gradient(110deg,#477eee,#8152de);color:#fff;border:1px solid #a28deb;box-shadow:0 4px 16px #6351d22b}
.home-dashboard :is(.home-quick-fold,.home-resource,.home-video-card,.home-next,.home-search-results,.card,.card-info){background:var(--surface);color:var(--text);border-color:var(--line)}
.home-dashboard .home-resource:hover{background:#222d47;border-color:#8a77b6}
.home-dashboard :is(input,textarea,select){background:var(--field);color:var(--text);border-color:#605776;caret-color:#d2bdff}
.home-dashboard :is(input,textarea)::placeholder{color:#b9b4cc;opacity:1}
.home-dashboard :is(.home-muted,.home-status,.settings-note,.home-resource small,.home-video-card>small,.home-global-search label){color:var(--muted)}
.home-dashboard .home-pair{border-color:var(--line)}
.home-dashboard .home-quick-fold>summary{color:#d2c3ff}
.home-dashboard .form-status.error{color:#ffadbb}
.home-dashboard :is(button,a,summary,input,textarea,select):focus-visible{outline:2px solid #d2bdff;outline-offset:3px}
.home-dashboard button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:650px){.home-dashboard{padding:10px 10px 22px;border-radius:20px}.home-dashboard .home-hero{border-radius:18px}.home-dashboard .home-global-search input{font-size:16px}.home-dashboard .home-search-results{padding:14px}}
@media(prefers-reduced-motion:reduce){.home-dashboard .home-button{transition:none}}

/* Intent-first home: four clear entry points, advanced tools kept in reach. */
.home-paths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:28px 0 18px;position:relative;z-index:1}
.home-dashboard .home-path{display:flex;align-items:flex-start;flex-direction:column;position:relative;text-align:left;white-space:normal;padding:20px;min-height:182px;gap:17px;background:linear-gradient(145deg,#263853cc,#232440);border:1px solid #605776;border-radius:18px;transition:background .18s,border-color .18s,transform .18s}
.home-dashboard .home-path:first-child{background:linear-gradient(145deg,#284b7c,#483273);border-color:#9c86d5}
.home-dashboard .home-path:hover{background:#343452;border-color:#b39ade;transform:translateY(-2px)}
.home-dashboard .home-path>.lumora-icon{width:30px;height:30px;color:#d6c6ff}
.home-path-copy{display:grid;gap:9px;min-width:0}.home-path-copy strong{font-size:16px;line-height:1.35;color:#fff}.home-path-copy small{font-size:12px;line-height:1.65;font-weight:400;color:#d0cbe0}.home-path-arrow{position:absolute;right:18px;top:18px;font-size:18px;color:#beafd8}
.home-tools-fold{position:relative;z-index:1;border-top:1px solid #67578a80;padding-top:15px}.home-tools-fold>summary{cursor:pointer;font-size:13px;color:#d9d0ea;min-height:32px;line-height:1.6}.home-tools-fold .home-shortcuts{margin-top:12px}
.home-idea-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 22px 16px}.home-idea-chips>small{color:var(--muted);font-size:12px;margin-right:2px}.home-dashboard .home-idea-chips .home-button{font-size:12px;min-height:38px;padding:8px 12px;border-radius:24px}.home-idea-chips .lumora-icon{width:15px;height:15px}
.home-dashboard .home-section{padding:26px 0}.home-dashboard .home-section-heading h2{letter-spacing:-.025em}.home-dashboard .home-continue .home-resource{min-height:94px}.home-dashboard .home-continue .home-resource>.lumora-icon{padding:10px;box-sizing:content-box;border-radius:12px;background:#b291ef15;color:#cabbf2}
@media(max-width:1050px){.home-paths{grid-template-columns:repeat(2,minmax(0,1fr))}.home-dashboard .home-path{min-height:162px}}
@media(max-width:650px){.home-paths{gap:9px;margin-top:22px}.home-dashboard .home-path{padding:14px;min-height:172px;gap:12px}.home-path-copy strong{font-size:14px}.home-path-copy small{font-size:11px}.home-path-arrow{right:12px;top:12px}.home-idea-chips{padding:0 15px 15px}.home-tools-fold>summary{font-size:12px}.home-dashboard .home-section{padding:20px 0}}
@media(max-width:360px){.home-paths{grid-template-columns:1fr}.home-dashboard .home-path{min-height:0;padding-right:32px}}
@media(prefers-reduced-motion:reduce){.home-dashboard .home-path{transition:none;transform:none}}

/* Extend the welcome cards to the existing library and next steps. */
.home-dashboard .home-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;border:0;margin-top:22px}
.home-dashboard .home-library-section{min-width:0;padding:22px;border:1px solid #605776;border-radius:22px;background:linear-gradient(145deg,#26385366,#23244088)}
.home-library-section .home-resource-list{gap:14px}
.home-library-section .home-muted{font-size:14px;margin:0;line-height:1.6}
.home-dashboard .home-library-section .home-path{width:100%;min-height:154px}
.home-dashboard .home-next{padding:24px;border-radius:22px;background:radial-gradient(ellipse at 100% 0,#8760e420,transparent 70%),var(--surface)}
.home-next-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
.home-dashboard .home-next-grid .home-path{width:100%;min-height:180px}
.home-dashboard :is(.home-library-section,.home-next-grid) .home-path-copy small{font-size:14px}
.home-dashboard :is(.home-library-section,.home-next-grid) .home-path-copy strong{overflow-wrap:anywhere}
.home-dashboard .home-library-section .home-resource{background:#26385366;border-color:#605776;min-height:88px}
.home-dashboard .home-library-section .home-resource small{font-size:13px}
@media(max-width:650px){.home-dashboard .home-pair{grid-template-columns:minmax(0,1fr);gap:14px}.home-dashboard .home-library-section,.home-dashboard .home-next{padding:18px}.home-next-grid{grid-template-columns:minmax(0,1fr)}.home-dashboard .home-next-grid .home-path{min-height:150px}}

/* Keep the composer and saved work together inside the welcome panel. */
.home-hero>.home-quick-fold{position:relative;z-index:1;background:linear-gradient(120deg,#243452,#302442);border-color:#72618e;margin:20px 0}
.home-quick-fold>summary .icon-label{display:inline-flex;vertical-align:middle;gap:10px;align-items:center}
.home-tools-fold>.home-section{border-top:1px solid #67578a80;margin-top:20px}
.home-tools-fold .home-pair{margin-bottom:8px}
