:root{color-scheme:dark;--bg:#080a0b;--panel:#111516;--panel-2:#161b1c;--panel-3:#1b2122;--line:rgba(236,238,234,.12);--line-soft:rgba(236,238,234,.07);--text:#eceeea;--muted:#929c99;--dim:#68716f;--amber:#d5a05a;--blue:#3378ff;--danger:#d87474;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Helvetica Neue",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{color:inherit}a{text-decoration:none}button{cursor:pointer}:focus-visible{outline:2px solid #73a1ff;outline-offset:3px}
.home-shell{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:100vh}.home-rail{position:sticky;top:0;display:flex;height:100vh;flex-direction:column;padding:22px 14px;border-right:1px solid var(--line);background:#090b0c}.home-brand{display:flex;height:46px;align-items:center;padding:0 8px;margin-bottom:20px}.home-brand img{display:block;width:128px;height:auto}.rail-new-project{display:flex;height:43px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:700;box-shadow:0 8px 24px rgba(51,120,255,.18)}.rail-new-project:hover{background:#4a89ff}.rail-new-project span{font-size:20px;font-weight:400;line-height:1}.rail-nav{display:grid;gap:4px;margin-top:20px}.rail-nav a{display:flex;height:40px;align-items:center;gap:11px;padding:0 12px;border-radius:9px;color:var(--muted);font-weight:600}.rail-nav a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rail-nav a:hover,.rail-nav a.active{background:var(--panel-2);color:var(--text)}.home-workspace{min-width:0}.home-topbar{position:sticky;top:0;z-index:20;display:flex;height:66px;align-items:center;justify-content:flex-end;padding:0 34px;border-bottom:1px solid var(--line);background:rgba(8,10,11,.94);backdrop-filter:blur(14px)}.home-topbar-actions{display:flex;align-items:center;gap:10px}.home-main{width:min(1420px,calc(100% - 64px));margin:0 auto;padding:34px 0 110px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:22px}.section-head.compact{margin-bottom:18px}.section-head span{display:block;margin-top:8px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.16em}.section-head h1,.section-head h2{margin:0;letter-spacing:-.045em}.section-head h1{font-size:clamp(27px,3vw,44px);font-weight:660}.section-head h2{font-size:clamp(21px,2vw,30px);font-weight:650}.section-head p,.section-head small{margin:0;color:var(--dim);font-size:12px}
.quick-start-grid{display:grid;grid-template-columns:minmax(400px,1.08fr) minmax(430px,1fr);gap:12px}.quick-canvas,.quick-service{border:1px solid var(--line);background:var(--panel);transition:border-color .16s ease,background .16s ease,transform .16s ease}.quick-canvas:hover,.quick-service:hover{border-color:rgba(213,160,90,.65);background:var(--panel-2);transform:translateY(-2px)}.quick-canvas{position:relative;display:grid;min-height:330px;overflow:hidden;place-items:center;border-radius:18px;background-color:#131718;background-image:radial-gradient(rgba(236,238,234,.14) .8px,transparent .8px);background-size:18px 18px}.quick-canvas svg{position:absolute;inset:0;width:100%;height:100%}.quick-canvas path{fill:none;stroke:rgba(236,238,234,.18);stroke-width:1.4;stroke-dasharray:8 12;animation:canvas-flow 3.2s linear infinite}.quick-canvas path:last-child{animation-direction:reverse}@keyframes canvas-flow{to{stroke-dashoffset:-80}}.quick-canvas>span{position:relative;display:grid;place-items:center;gap:10px;text-align:center}.quick-canvas strong{display:grid;width:72px;height:72px;place-items:center;margin-bottom:10px;border-radius:20px;background:#f5f6f3;color:#111;font-size:40px;font-weight:300;box-shadow:0 18px 38px rgba(0,0,0,.38)}.quick-canvas b{font-size:22px;letter-spacing:-.04em}.quick-canvas small{max-width:390px;color:var(--muted);font-size:11px;line-height:1.5}.quick-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-service{position:relative;display:flex;min-height:159px;flex-direction:column;justify-content:space-between;padding:19px;border-radius:16px}.service-mark{display:grid;width:43px;height:43px;overflow:hidden;place-items:center;border-radius:11px;background:#273032}.service-mark img{display:block;width:27px;height:27px;object-fit:contain}.service-mark.minimax{background:#fff}.service-mark.minimax img{width:29px}.service-mark.xai{background:#050505}.service-mark.xai img{width:43px;height:43px}.service-mark.comfy{background:#f2ff59}.service-mark.comfy img{width:43px;height:43px}.service-mark.camera{background:#25292a}.service-mark.camera img{width:28px;height:28px}.quick-service b{display:block;font-size:16px;letter-spacing:-.03em}.quick-service small{display:block;margin-top:6px;color:var(--muted);font-size:10.5px}.quick-service em{position:absolute;top:15px;right:15px;padding:4px 8px;border-radius:99px;background:#f1f2ef;color:#111;font-size:9px;font-style:normal;font-weight:800;letter-spacing:.08em}
.project-section,.style-library{padding-top:76px}/* Layout contract: one grid algorithm; breakpoints only change --project-columns. */.project-grid{--project-columns:4;display:grid;grid-template-columns:repeat(var(--project-columns),minmax(0,1fr));gap:10px;overflow:visible}.project-card{display:grid;grid-template-columns:132px minmax(0,1fr);min-height:142px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--panel);transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.project-card:hover{border-color:rgba(236,238,234,.25)}.project-visual{display:grid;min-height:142px;place-items:center;overflow:hidden;background:#1d2021;color:#626968}.project-visual img{width:100%;height:100%;object-fit:cover}.project-visual svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.project-card-body{display:flex;min-width:0;flex-direction:column;padding:18px}.project-meta{color:var(--muted);font-size:12px}.project-card h3{overflow:hidden;margin:0 0 9px;font-size:16px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.project-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.project-card footer small{color:var(--dim);font-size:11px}.project-actions{display:flex;gap:6px}.project-delete{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:transparent;color:#d99191;font-size:11px;font-weight:700}.project-delete:disabled{display:none}.project-empty{grid-column:1/-1;padding:42px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center}
.pagination button{height:31px;padding:0 13px;border:1px solid var(--line);border-radius:99px;background:transparent;color:var(--muted)}.pagination button:hover:not(:disabled){color:var(--text);border-color:rgba(236,238,234,.28)}.pagination button.active{background:#f0f1ee;color:#111;border-color:#f0f1ee}.style-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:10px}.style-card{display:block;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--panel);transition:border-color .16s ease,transform .16s ease}.style-card:hover{border-color:rgba(213,160,90,.55);transform:translateY(-2px)}.style-card[aria-busy="true"]{pointer-events:none;opacity:.6}.style-card-image{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--panel-2)}.style-card-copy{padding:12px 13px 6px}.style-card-copy h3{margin:0;font-size:13px;line-height:1.45}.style-card-copy p{display:-webkit-box;min-height:31px;margin:5px 0 0;overflow:hidden;color:var(--muted);font-size:10.5px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.style-card footer{display:flex;align-items:center;justify-content:flex-end;padding:8px 13px 13px}.style-card-link{color:var(--muted);font-size:10.5px;font-weight:700}.style-card:hover .style-card-link{color:var(--amber)}.pagination{display:flex;justify-content:center;gap:7px;margin-top:24px}.pagination button:disabled{cursor:not-allowed;opacity:.35}
.project-dialog{width:min(440px,calc(100vw - 30px));padding:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);box-shadow:0 26px 80px rgba(0,0,0,.6)}.project-dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.project-dialog form{display:grid;gap:22px;padding:25px}.project-dialog span{color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.15em}.project-dialog h2{margin:7px 0 5px;font-size:23px}.project-dialog p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.project-dialog label{display:grid;gap:8px;color:var(--muted);font-size:11px}.project-dialog input{width:100%;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#0d1011;color:var(--text);outline:none}.project-dialog input:focus{border-color:rgba(51,120,255,.75)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.dialog-actions button{min-height:39px;padding:0 15px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--muted)}.dialog-actions .new-project-button{border-color:var(--blue);background:var(--blue);color:#fff;font-weight:700}.dialog-actions .danger-button{border-color:#a34b4b;background:#8b3939;color:#fff}.delete-project-summary{display:grid;gap:4px;padding:13px;border:1px solid rgba(216,116,116,.25);border-radius:9px;background:rgba(216,116,116,.06)}.delete-project-summary small{color:var(--muted)}.home-toast{position:fixed;right:20px;bottom:20px;z-index:100;max-width:min(420px,calc(100vw - 40px));padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel-3);color:var(--text);box-shadow:0 18px 50px rgba(0,0,0,.5);opacity:0;transform:translateY(8px);transition:.16s ease}.home-toast.show{opacity:1;transform:none}
.quick-canvas>span{position:absolute;z-index:2;inset:0;display:flex;align-items:center;flex-direction:column;justify-content:center}.quick-canvas strong{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.quick-canvas b{margin-top:138px}.quick-canvas small{margin-top:10px}.quick-canvas::after{position:absolute;z-index:1;inset:-45%;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.12) 50%,transparent 60%);content:"";opacity:0;pointer-events:none;transform:translateX(-70%)}.quick-canvas:hover{background-color:var(--panel-2);background-image:radial-gradient(rgba(236,238,234,.3) .8px,transparent .8px)}.quick-canvas:hover::after{animation:canvas-scan 1.15s ease-out forwards;opacity:1}@keyframes canvas-scan{to{transform:translateX(70%)}}.project-card{cursor:pointer}.project-card:hover,.project-card:focus-visible{border-color:rgba(236,238,234,.34);background:var(--panel-2);box-shadow:0 14px 34px rgba(0,0,0,.22)}.project-card:active{background:var(--panel-3)}.project-delete{height:31px;padding-block:0;display:grid;width:31px;padding-inline:0;place-items:center}.project-delete svg{width:16px;height:16px;fill:currentColor}.style-card-copy{padding-bottom:13px}.preset-filters{display:flex;gap:6px;margin:-3px 0 20px;overflow-x:auto;scrollbar-width:none}.preset-filters::-webkit-scrollbar{display:none}.preset-filters button{flex:0 0 auto;height:38px;padding:0 20px;border:0;border-radius:99px;background:transparent;color:var(--muted);font-size:13px}.preset-filters button:hover{color:var(--text)}.preset-filters button.active{background:var(--panel-3);color:var(--text)}
.quick-canvas:hover{background-size:18px 18px}
.quick-canvas{transition-property:border-color,background-color,transform}.quick-canvas:hover{background-image:radial-gradient(rgba(236,238,234,.14) .8px,transparent .8px)}
@media(prefers-reduced-motion:reduce){.quick-canvas:hover::after{animation:none;opacity:.08;transform:none}}
.home-shell{grid-template-columns:220px minmax(0,1fr)}.home-rail{padding:20px}.home-brand{height:48px;padding:0 10px}.rail-new-project{height:48px;justify-content:flex-start;gap:12px;padding:0 18px}.rail-new-project span{width:22px;text-align:center;font-size:28px}.rail-nav a{height:44px;gap:12px;padding:0 18px;font-size:16px}.rail-nav a svg{width:22px;height:22px}
.rail-brand-row{display:flex;height:48px;align-items:center;gap:8px;margin-bottom:20px}.rail-brand-row .home-brand{min-width:0;flex:1;margin:0}.rail-toggle{display:grid;width:36px;height:36px;flex:0 0 auto;padding:0;place-items:center;border:0;border-radius:9px;background:transparent;color:var(--text)}.rail-toggle:hover{background:var(--panel-3)}.rail-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}.rail-toggle-logo{display:none;width:34px;height:34px;object-fit:cover}.home-shell.rail-collapsed{grid-template-columns:88px minmax(0,1fr)}.home-shell.rail-collapsed .home-rail{padding-inline:20px}.home-shell.rail-collapsed .rail-brand-row{justify-content:center}.home-shell.rail-collapsed .home-brand{display:none}.home-shell.rail-collapsed .rail-toggle{width:48px;height:48px}.home-shell.rail-collapsed .rail-toggle-logo{display:block}.home-shell.rail-collapsed .rail-toggle-glyph{display:none}.home-shell.rail-collapsed .rail-toggle:hover .rail-toggle-logo{display:none}.home-shell.rail-collapsed .rail-toggle:hover .rail-toggle-glyph{display:block}.home-shell.rail-collapsed .rail-new-project{justify-content:center;padding:0;font-size:0}.home-shell.rail-collapsed .rail-new-project span{width:auto}.home-shell.rail-collapsed .rail-nav a{justify-content:center;padding:0;font-size:0}
.rail-brand-row{gap:14px}.rail-brand-row .home-brand{padding-right:0}.rail-brand-row .home-brand img{width:112px}
.home-view[hidden],.all-projects-view[hidden]{display:none}.view-all-projects{padding:8px 0;border:0;background:transparent;color:var(--muted);font-weight:650}.view-all-projects:hover{color:var(--text)}.view-all-projects span{display:inline;margin:0 0 0 8px;color:inherit;font-size:20px;font-weight:400;letter-spacing:0}.all-projects-view{min-height:calc(100vh - 145px)}.all-projects-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 42px;padding:2px 0 24px;border-bottom:1px solid var(--line-soft)}.all-projects-title,.all-projects-tools{display:flex;align-items:center}.all-projects-title{gap:14px}.all-projects-title h1{margin:0;font-size:27px;letter-spacing:-.04em}.all-projects-title button{width:38px;height:38px;padding:0;border:0;background:transparent;color:var(--muted);font-size:34px;line-height:1}.all-projects-title button:hover{color:var(--text)}.all-projects-tools{gap:10px}.project-search{display:flex;width:min(330px,30vw);height:44px;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--line);border-radius:11px;background:#0d1011}.project-search:focus-within{border-color:rgba(236,238,234,.3)}.project-search svg{width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:1.8}.project-search input{min-width:0;flex:1;border:0;background:transparent;color:var(--text);outline:0}.all-projects-create{display:flex;height:44px;align-items:center;gap:7px;padding:0 16px;border:1px solid var(--line);border-radius:11px;background:var(--panel-3);color:var(--text);font-weight:650}.all-projects-create:hover{background:#242a2b}.all-projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:34px 18px}.all-project-card{min-width:0;cursor:pointer}.all-project-card:hover .all-project-visual{border-color:rgba(236,238,234,.32);transform:translateY(-2px)}.all-project-visual{display:grid;width:100%;aspect-ratio:16/10;overflow:hidden;place-items:center;border:1px solid var(--line-soft);border-radius:14px;background:#202425;color:#4f5655;transition:border-color .16s ease,transform .16s ease}.all-project-visual img{width:100%;height:100%;object-fit:cover}.all-project-visual svg{width:54px;height:54px;fill:none;stroke:currentColor;stroke-width:1.4}.all-project-copy{position:relative;padding:13px 40px 0 4px}.all-project-copy h3{overflow:hidden;margin:0 0 6px;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.all-project-copy small{color:var(--muted);font-size:11px}.all-project-copy .project-delete{position:absolute;top:9px;right:0}.all-projects-start{display:flex;min-height:0;aspect-ratio:16/10;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:14px;background:var(--panel-2);color:var(--muted)}.all-projects-start:hover{border-color:rgba(236,238,234,.3);background:var(--panel-3);color:var(--text)}.all-projects-start span{font-size:37px;font-weight:200}.all-projects-start b{font-size:15px}.all-projects-start small{font-size:10px}.all-projects-empty{display:grid;min-height:180px;place-items:center;color:var(--muted)}
@media(prefers-reduced-motion:reduce){.quick-canvas path{animation:none}}@media(max-width:1050px){.home-shell{grid-template-columns:72px minmax(0,1fr)}.home-rail{padding-inline:10px}.home-brand{justify-content:center;padding:0}.home-brand img{width:45px;object-fit:cover;object-position:left}.rail-new-project{padding:0;font-size:0}.rail-new-project span{font-size:22px}.rail-nav a{justify-content:center;padding:0;font-size:0}.quick-start-grid{grid-template-columns:1fr}}@media(max-width:680px){.home-shell{display:block}.home-rail{position:static;width:100%;height:auto;flex-direction:row;align-items:center;padding:10px 14px;border-right:0;border-bottom:1px solid var(--line)}.home-brand{width:92px;height:38px;margin:0;justify-content:start}.home-brand img{width:92px;object-fit:contain}.rail-new-project{width:42px;margin-left:auto}.rail-nav{display:none}.home-topbar{height:56px;padding:0 16px}.home-main{width:calc(100% - 28px);padding-top:24px}.section-head{align-items:start;flex-direction:column;gap:8px}.quick-canvas{min-height:250px}.quick-service-grid{grid-template-columns:1fr}.quick-service{min-height:125px}.project-section,.style-library{padding-top:55px}}
@media (min-width:681px) and (max-width:1050px){.rail-brand-row{justify-content:center}.rail-brand-row .home-brand{display:none}.rail-toggle{width:48px;height:48px}.rail-toggle-logo{display:block}.rail-toggle-glyph{display:none}.rail-toggle:hover .rail-toggle-logo{display:none}.rail-toggle:hover .rail-toggle-glyph{display:block}}
@media(max-width:680px){.rail-brand-row{width:92px;height:38px;margin:0}.rail-brand-row .home-brand,.home-shell.rail-collapsed .home-brand{display:flex}.rail-brand-row .home-brand img{width:92px}.rail-toggle{display:none}.home-shell.rail-collapsed .rail-new-project{margin-left:auto}}
@media(max-width:1100px){.all-projects-head{align-items:flex-start;flex-direction:column}.project-search{width:min(330px,55vw)}}
@media(max-width:680px){.project-grid{--project-columns:1}.all-projects-head{margin-bottom:26px}.all-projects-tools{width:100%}.project-search{width:auto;flex:1}.all-projects-create{padding-inline:12px}.all-projects-grid{grid-template-columns:1fr 1fr;gap:24px 12px}}
@media(max-width:460px){.all-projects-grid{grid-template-columns:1fr}.all-projects-tools{align-items:stretch;flex-direction:column}.all-projects-create{justify-content:center}.project-search{width:100%}}
.project-card footer small,.project-action{white-space:nowrap}@media(min-width:681px) and (max-width:1050px){.project-grid{--project-columns:2}}@media(min-width:681px){.home-shell.rail-collapsed .home-rail{align-items:center;padding-inline:0}.home-shell.rail-collapsed .rail-brand-row,.home-shell.rail-collapsed .rail-new-project,.home-shell.rail-collapsed .rail-nav,.home-shell.rail-collapsed .rail-nav a{width:48px}}
.home-shell.rail-collapsed .rail-new-project,.home-shell.rail-collapsed .rail-nav a{gap:0}@media (min-width:681px) and (max-width:1050px){.rail-new-project,.rail-nav a{gap:0}}
.home-account-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.account-close{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--muted);font-size:22px}.account-close:hover{color:var(--text)}.home-account-summary{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--line-soft);border-radius:11px;background:var(--panel-2)}.home-account-summary i{display:grid;width:44px;height:44px;place-items:center;border-radius:11px;background:linear-gradient(135deg,#e0b577,#a9743e);color:#171009;font-style:normal;font-weight:800}.home-account-summary div{display:grid;gap:4px}.home-account-summary small{color:var(--muted);font-size:11px}.home-account-dialog input[readonly]{cursor:not-allowed;color:var(--dim);background:#101314}.home-account-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.home-account-stats div{display:grid;gap:6px;padding:12px;border:1px solid var(--line-soft);border-radius:9px;background:#0d1011}.home-account-stats span{color:var(--muted);font-size:10px;letter-spacing:.08em}.home-account-stats b{font-size:17px}.account-feedback{min-height:18px;margin:0;color:var(--muted);font-size:11px}.account-feedback.error{color:#e99b9b}.account-feedback.success{color:#8fc9a5}
.home-account-storage{display:grid;gap:9px;padding:12px;border:1px solid var(--line-soft);border-radius:9px;background:#0b0f10}.home-account-storage-head,.home-account-storage-details{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-account-storage-head div{display:grid;gap:3px}.home-account-storage-head b{font-size:13px}.home-account-storage-head strong{color:#8fc0aa;font-size:18px}.home-account-storage-meter{height:7px;overflow:hidden;border-radius:6px;background:#252b2c}.home-account-storage-meter i{display:block;width:0;height:100%;border-radius:inherit;background:#70a58f;transition:width .2s}.home-account-storage[data-level="warning"] .home-account-storage-head strong{color:#d1a05e}.home-account-storage[data-level="warning"] .home-account-storage-meter i{background:#d1a05e}.home-account-storage[data-level="full"] .home-account-storage-head strong{color:#df727a}.home-account-storage[data-level="full"] .home-account-storage-meter i{background:#c55059}.home-account-storage-details{color:#b8c0bb;font-size:11px}.home-account-storage small{color:var(--muted);font-size:10px;line-height:1.5}.home-account-storage button{width:100%;height:32px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted)}.home-account-storage button:hover{color:var(--text);border-color:rgba(236,238,234,.28)}
.quick-canvas b{margin-top:146px}
.home-topbar{justify-content:center;padding:0}.home-topbar-actions{width:min(1420px,calc(100% - 64px));justify-content:flex-end;padding:0;margin:0 auto}
@media(max-width:680px){.home-topbar{padding:0}.home-topbar-actions{width:calc(100% - 28px)}}
.home-topbar-actions.global-top-actions{width:min(1420px,calc(100% - 64px));padding:0}
@media(max-width:680px){.home-topbar-actions.global-top-actions{width:calc(100% - 28px);padding:0}}
.quick-canvas:hover,.quick-service:hover{border-color:rgba(236,238,234,.34)}
.style-card:hover{border-color:rgba(236,238,234,.34)}
.style-card:hover .style-card-link{color:var(--text)}
.project-card-skeleton{min-height:142px;border:1px solid var(--line-soft);border-radius:16px;background:linear-gradient(110deg,var(--panel) 25%,var(--panel-2) 45%,var(--panel) 65%);background-size:220% 100%;animation:project-loading 1.4s ease-in-out infinite}
@keyframes project-loading{to{background-position:-120% 0}}
@media(prefers-reduced-motion:reduce){.project-card-skeleton{animation:none}}

/* Account overlay uses the same neutral surface as the canvas composer. */
.home-account-dialog{max-height:calc(100dvh - 24px);overflow:hidden;border-color:transparent;background:#1b1c1d;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 30px 86px rgba(0,0,0,.54)}
.home-account-dialog form{max-height:calc(100dvh - 24px);gap:clamp(10px,1.7vh,16px);padding:clamp(18px,2.6vh,26px);overflow-y:auto}
.home-account-dialog .account-feedback:empty{display:none}
.home-account-summary,.home-account-stats div,.home-account-storage{border-color:rgba(255,255,255,.09);background:#111}
.home-account-summary i{background:#f1f1ef;color:#111}
.home-account-dialog input,.home-account-dialog input[readonly]{border-color:rgba(255,255,255,.11);background:#111}
.home-account-dialog .dialog-actions .new-project-button{border-color:#f1f1ef;background:#f1f1ef;color:#111}

/* Keep Home sections compact and consistent across project and preset content. */
.section-head{gap:24px;margin-bottom:18px}.section-head.compact{margin-bottom:14px}.section-head span{margin-top:7px}
.project-section,.style-library{padding-top:48px}
.quick-start-grid,.quick-service-grid{gap:10px}
.preset-filters{margin-bottom:14px}
@media(max-width:680px){.project-section,.style-library{padding-top:40px}}
