/* Project launcher only. The editor retains its own theme and canvas coordinates. */
.canvas-hub-shell { --accent:#8055d6; --accent-soft:#f0e8fc; --bg:#f7f5fa; --text:#392b46; --muted:#95869f; --line:#e9e1f2; background:radial-gradient(ellipse at 90% 10%,#eee6f84a,transparent 55%),var(--bg); }
.canvas-hub-header { min-height:78px; padding:14px 24px; gap:22px; align-items:center; }
.app-launch-back { display:inline-flex; align-items:center; gap:6px; border:1px solid #dfd5ec; background:#fff; color:#756382; padding:8px 12px; height:36px; border-radius:10px; font-size:12px; flex:none; box-shadow:none; }
.app-launch-back svg { width:16px; height:16px; }
.canvas-hub-brand { margin:0 20px 0 0; padding:0; gap:10px; }
.canvas-hub-brand h1 { font-size:18px; }
.canvas-hub-brand>img,.canvas-hub-brand .app-icon-art { width:31px; height:31px; }
.canvas-hub-tabs { align-self:center; padding:4px; gap:4px; background:#f7f4fb; border:1px solid #efebf4; border-radius:11px; }
.canvas-hub-tabs button { height:32px; padding:0 16px; border:0; border-radius:8px; font-size:12px; }
.canvas-hub-tabs button.active { color:#8055d6; background:#fff; box-shadow:0 2px 5px #5c377d0b; font-weight:600; }
.canvas-hub-main { max-width:1480px; padding:36px clamp(24px,4vw,64px) 48px; }
.canvas-project-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:28px; }
.canvas-section-kicker { font-size:10px; color:#ad97bb; letter-spacing:2px; }
.canvas-project-heading h2 { margin:8px 0; font-size:25px; font-weight:650; letter-spacing:.4px; }
.canvas-project-heading p { margin:0; color:#a090ac; font-size:12px; line-height:1.8; }
.canvas-project-total { color:#a794b4; font-size:11px; border:1px solid #e7deef; padding:7px 12px; border-radius:20px; }
.canvas-hub-main .project-controls { gap:16px; margin-bottom:24px; }
.canvas-hub-main .project-search { width:360px; max-width:65%; border:1px solid #e5ddec; border-radius:11px; background:#fff; height:42px; }
.canvas-hub-main .project-search input { background:transparent; font-size:12px; }
.canvas-hub-shell .primary { background:linear-gradient(135deg,#956de5,#7951ce); border-color:#8b63d8; border-radius:10px; font-size:12px; box-shadow:0 4px 10px #8055d619; }
.canvas-hub-shell .primary:hover { background:#7850c9; }
.canvas-hub-main .project-controls>.primary { padding:11px 17px; }
.canvas-hub-main .canvas-project-grid:empty { display:none; }
.canvas-hub-main .project-empty { border:1px dashed #ddd0ec; background:linear-gradient(135deg,#ffffffed,#fcfaff); border-radius:24px; min-height:min(560px,65vh); padding:32px 20px; box-shadow:0 12px 45px #6d448507; }
.canvas-hub-main .project-empty[hidden] { display:none; }
.canvas-hub-main .project-empty h3 { font-size:24px; letter-spacing:1px; margin:4px 0 10px; color:#4e3a60; font-weight:600; }
.canvas-hub-main .project-empty p { font-size:12px; margin:0 0 22px; color:#a390b2; }
.canvas-hub-main .project-empty>.primary { display:inline-flex; gap:8px; align-items:center; padding:11px 18px; }
.canvas-hub-main .project-empty>.primary svg { width:16px; height:16px; }
.canvas-welcome-art { width:260px; height:190px; position:relative; margin:0 auto 18px; }
.canvas-art-sheet { position:absolute; left:42px; top:24px; width:160px; height:137px; border:1px solid #e3d6f0; border-radius:15px; background:#fff; box-shadow:0 9px 26px #7b4ea917; transform:rotate(-7deg); padding:18px; }
.canvas-art-line { display:block; height:5px; width:70px; border-radius:8px; background:#b59bdc; margin-bottom:7px; }
.canvas-art-line.short { width:43px; background:#dfd0ef; }
.canvas-art-sheet>svg { color:#bc9fdd; background:linear-gradient(130deg,#f3eafc,#e5d5f6); width:122px; height:65px; padding:11px; margin-top:6px; border-radius:8px; }
.canvas-art-node { position:absolute; right:12px; top:7px; display:grid; place-items:center; width:69px; height:62px; border-radius:16px; background:linear-gradient(135deg,#b78eec,#8555d6); color:#fff; transform:rotate(11deg); box-shadow:0 9px 18px #8055d61a; }
.canvas-art-node svg { width:30px; height:30px; }
.canvas-art-tag { position:absolute; left:16px; bottom:10px; width:62px; height:50px; display:grid; place-items:center; background:#f8f2fd; border:1px solid #dcc9ef; border-radius:12px; color:#a47acb; transform:rotate(8deg); }
.canvas-art-tag svg { width:24px; height:24px; }
.canvas-art-plus { position:absolute; right:20px; bottom:23px; color:#c3ace0; font-size:27px; font-weight:300; }
.canvas-welcome-features { display:flex; justify-content:center; flex-wrap:wrap; gap:24px; margin-top:32px; }
.canvas-welcome-features>span { display:flex; gap:6px; align-items:center; color:#b09cbd; font-size:10px; }
.canvas-welcome-features svg { width:13px; height:13px; }
.canvas-hub-main .project-empty.is-search-empty .canvas-welcome-art,.canvas-hub-main .project-empty.is-search-empty .canvas-welcome-features,.canvas-hub-main .project-empty.is-search-empty>button { display:none; }
.canvas-hub-main .canvas-project-card { border:1px solid #e6ddee; border-radius:16px; overflow:hidden; box-shadow:0 5px 16px #54316807; }
.canvas-hub-main .project-cover { background-color:#f0eaf8; background-image:radial-gradient(#dccfeb 1px,transparent 1px); }
.canvas-hub-main .project-card-actions { background:#fff; border-color:#f1ebf7; }
.canvas-hub-shell button:focus-visible { outline:3px solid #c8acee; outline-offset:3px; }
:root[data-theme="dark"] .canvas-hub-shell { --bg:#252030; --text:#e9e0f4; --muted:#b3a0c4; --line:#45384f; background:var(--bg); }
:root[data-theme="dark"] .canvas-hub-main .project-empty { background:#30263b; border-color:#574168; }
:root[data-theme="dark"] .canvas-project-heading p,:root[data-theme="dark"] .canvas-hub-main .project-empty p { color:#b5a0c5; }
:root[data-theme="dark"] .canvas-hub-main .project-empty h3 { color:#ebdff5; }
@media(max-width:760px) { .canvas-hub-header { gap:12px; padding:14px 18px; flex-wrap:wrap; }.canvas-hub-brand{padding:0;margin:0}.canvas-hub-brand h1{font-size:16px}.canvas-hub-tabs{order:2;width:100%;gap:4px}.canvas-hub-tabs button{flex:1;padding:0 12px}.canvas-hub-main{padding:25px 18px}.canvas-project-heading{margin-bottom:22px}.canvas-project-heading h2{font-size:22px}.canvas-project-heading p{max-width:230px;font-size:11px}.canvas-project-total{font-size:10px;padding:5px 8px}.canvas-hub-main .project-empty{min-height:440px}.canvas-welcome-features{gap:14px} }
@media(max-height:760px) and (min-width:761px) { .canvas-hub-main{padding-top:24px}.canvas-project-heading{margin-bottom:20px}.canvas-hub-main .project-empty{min-height:390px;padding:20px}.canvas-welcome-art{height:145px;transform:scale(.8);margin:-10px auto 5px}.canvas-welcome-features{margin-top:22px}.canvas-hub-main .project-empty h3{font-size:21px} }
