/* Cece's Study Corner: royal-blue night, jewel-green title, lilac light, her printed collage behind the tree.
   Tokens and fonts come from cece-arrival.css so the arrival and the corner read as one place.
   Specificity: every rule is body[data-cece-space=true] + selectors, loaded last, so it owns her space. */
body[data-cece-space=true]{--text:#f5f0ff;--muted:#c3cdf2;--ink:#f5f0ff;--paper:#0d2170eb;--paper-line:#dccbff33;--soft:#c3cdf2;--field:#0a1a5ab3;--chip:#ffffff0d;
 color:var(--text);background:
  radial-gradient(ellipse 80% 70% at 30% 20%,#2a4fc4,var(--royal) 45%,var(--royal-deep)) fixed!important}
body[data-cece-space=true] .shell{position:relative;z-index:1}
/* The neural network behind everything (cece-neurons.js) */
.cece-neurons{position:fixed;inset:0;width:100vw;height:100vh;z-index:0;pointer-events:none}
body:not([data-cece-space=true]) .cece-neurons{display:none}
body[data-cece-space=true] .main-wrap,body[data-cece-space=true] main{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
body[data-cece-space=true] main{min-height:100vh}
body[data-cece-space=true] .topbar{background:transparent;border-bottom-color:transparent}
body[data-cece-space=true] .footer,body[data-cece-space=true] .keyboard-hint{display:none}
body[data-cece-space=true] #breadcrumb,body[data-cece-space=true] .topbar{color:var(--muted)}

/* Sidebar: deep royal glass, lilac words, emerald for where she is */
body[data-cece-space=true] .sidebar{background:#0b1c62d9;border-color:#dccbff1f;backdrop-filter:blur(12px)}
body[data-cece-space=true] .brand,body[data-cece-space=true] .workspace-label,body[data-cece-space=true] .profile,body[data-cece-space=true] #logout{color:var(--lilac)}
body[data-cece-space=true] .brand .brand-mark{background:transparent;color:var(--emerald);border:1px solid #3fe0a666}
body[data-cece-space=true] .sidebar nav .nav-link,body[data-cece-space=true] .sidebar nav button{color:#d6dcff;border-radius:10px}
body[data-cece-space=true] .sidebar nav button:hover,body[data-cece-space=true] .sidebar nav .nav-link:hover{background:#ffffff12;color:#fff}
body[data-cece-space=true] .sidebar nav button.active{background:#3fe0a61a;color:var(--emerald);box-shadow:inset 3px 0 0 var(--emerald);border-left:0}
body[data-cece-space=true] :is(.sidebar>.brand,.sidebar>.workspace-label,#nav [data-page=home],.sidebar-bottom>.profile,.topbar){display:none}
body[data-cece-space=true] .cece-nav-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
body[data-cece-space=true] .cece-nav-head button{border:1px solid #dccbff77;border-radius:8px;padding:9px 14px;min-height:40px;background:transparent;color:var(--lilac);font:600 14px var(--hud)}
body[data-cece-space=true] .cece-home-nav[aria-current=page]{background:#3fe0a61a;color:var(--emerald);border-color:#3fe0a688}
body[data-cece-space=true] .cece-nav-head button:focus-visible{outline:2px solid var(--blush);outline-offset:2px}
body[data-cece-space=true] .cece-menu{display:none}
@media(max-width:760px){
 body[data-cece-space=true] .cece-nav-head{margin-bottom:0}
 body[data-cece-space=true] .cece-menu{display:block}
 body[data-cece-space=true] .sidebar #nav{display:none}
 body[data-cece-space=true] .sidebar:has(.cece-menu[aria-expanded=true]) #nav{display:flex;flex-direction:column;align-items:stretch;margin-top:12px;padding:4px 0}
 body[data-cece-space=true] .sidebar:has(.cece-menu[aria-expanded=true]) .sidebar-bottom{display:block;margin:8px 0 0}
 body[data-cece-space=true] .sidebar #nav :is(button,a){min-height:40px;font-size:14px}
}

/* Title: "Cece's Study Corner" in jewel green, with the flower mark the arrival flies into */
body[data-cece-space=true] .corner-head{display:flex;align-items:center;gap:14px;margin:4px 0 clamp(14px,3vh,30px)}
body[data-cece-space=true] .cece-mark{flex:none;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 50% 45%,#2a4fc4,#0a1a5a);
 box-shadow:0 0 0 1px #dccbff55,0 0 24px #f5cadb44;opacity:.95}
body[data-cece-space=true] .cece-mark.lit{animation:mark-glow 1.6s ease-out}
@keyframes mark-glow{from{box-shadow:0 0 0 1px #dccbff,0 0 60px #f5cadbcc}}
body[data-cece-space=true] .corner-title{margin:0;font:italic 600 clamp(32px,3.4vw,48px)/1 var(--serif);color:var(--emerald);letter-spacing:-.005em;text-shadow:0 0 28px #3fe0a640}

/* Layout: her words left, her tree right, files under the words */
body[data-cece-space=true] .cece-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:26px 34px;align-items:start;max-width:1240px;padding:0 0 110px;color:var(--text)}
body[data-cece-space=true] .cece-hero{grid-column:1;padding-top:6px}
body[data-cece-space=true] .cece-tree-card{grid-column:2;grid-row:1/span 2}
body[data-cece-space=true] .cece-files{grid-column:1}
body[data-cece-space=true] .cece-hello{margin:0 0 10px;font:500 13px/1.3 var(--hud);letter-spacing:.08em;color:var(--lilac)}
body[data-cece-space=true] .cece-quote{margin:0 0 18px;font:500 clamp(34px,3.5vw,54px)/1.06 var(--serif);color:#fff;text-wrap:balance;text-shadow:0 2px 24px #0a1a5a}
body[data-cece-space=true] .cece-exam{margin:0 0 26px;font-size:14px;color:var(--muted)}
body[data-cece-space=true] .cece-exam b{font:500 13px/1 var(--hud);letter-spacing:.04em;color:var(--emerald);background:#3fe0a614;border:1px solid #3fe0a666;padding:5px 10px;border-radius:4px;white-space:nowrap}
body[data-cece-space=true] .cece-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body[data-cece-space=true] .cece-start{display:inline-block;background:var(--emerald);color:#062a1e;font:700 17px/1 'Segoe UI Variable Text','Segoe UI',system-ui,-apple-system,sans-serif;padding:17px 32px;border-radius:999px;text-decoration:none;box-shadow:0 14px 34px -12px #3fe0a6;transition:transform .15s,background .15s}
body[data-cece-space=true] .cece-start:hover{background:#6bf0bf;transform:translateY(-1px)}
body[data-cece-space=true] .cece-ghost{all:unset;cursor:pointer;padding:14px 22px;border-radius:999px;border:1.5px solid #dccbff99;color:#fff;font:600 15px/1 'Segoe UI Variable Text','Segoe UI',system-ui,-apple-system,sans-serif;transition:background .15s}
body[data-cece-space=true] .cece-ghost:hover,body[data-cece-space=true] .cece-cta [data-tour]:hover{background:#dccbff1f}
body[data-cece-space=true] .cece-cta [data-tour]{all:unset;cursor:pointer;padding:14px 22px;border-radius:999px;color:var(--lilac);font:600 14px/1 'Segoe UI Variable Text','Segoe UI',system-ui,-apple-system,sans-serif}
body[data-cece-space=true] .cece-cta [data-tour]:focus-visible{outline:3px solid var(--blush);outline-offset:3px}
body[data-cece-space=true] :is(.cece-start,.cece-ghost,.cece-pill,.cece-link,.sticker-pick):focus-visible{outline:3px solid var(--blush);outline-offset:3px}

body[data-cece-space=true] .cece-ask{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px;max-width:500px}
body[data-cece-space=true] .cece-ask textarea{flex:1;min-height:0;margin:0;resize:none;background:#0a1a5a99;border:1px solid #dccbff55;color:#fff;border-radius:12px;padding:13px 14px}
body[data-cece-space=true] .cece-ask textarea::placeholder{color:#b5c0ea}
body[data-cece-space=true] .cece-ask textarea:focus{outline:2px solid var(--emerald);outline-offset:1px;border-color:transparent}
body[data-cece-space=true] .cece-ask .primary{background:var(--lilac);color:var(--ink);border:0;border-radius:12px;min-width:72px;font-weight:700}
body[data-cece-space=true] .cece-ask .feedback{flex-basis:100%;color:var(--muted);margin:0}
body[data-cece-space=true] #cece-ai-reply:not(:empty){margin-top:14px;background:var(--paper);color:var(--ink);border:1px solid var(--paper-line);border-radius:14px;padding:16px 18px;max-width:540px;white-space:pre-wrap;line-height:1.6}

/* Cards are royal glass: the same night as the page, lifted a little, with a lilac hairline */
body[data-cece-space=true] .cece-card{background:var(--paper);color:var(--ink);border:1px solid var(--paper-line);border-radius:18px;padding:20px 22px 22px;box-shadow:0 30px 60px -30px #030c3acc,inset 0 1px 0 #ffffff14;backdrop-filter:blur(10px)}
body[data-cece-space=true] .cece-card header h2{margin:0 0 3px;font:600 26px/1.15 var(--serif);color:var(--ink)}
body[data-cece-space=true] .cece-card header p{margin:0 0 14px;font-size:13.5px;color:var(--soft)}
body[data-cece-space=true] .cece-pill{all:unset;cursor:pointer;padding:10px 18px;border-radius:999px;background:var(--lilac);color:#0a1a5a;font-weight:700;font-size:14px;white-space:nowrap}
body[data-cece-space=true] .cece-pill:hover{background:#ece3ff}
body[data-cece-space=true] .cece-link{color:var(--lilac)}
body[data-cece-space=true] button.cece-link{all:unset;cursor:pointer;color:var(--lilac);font-size:13.5px;text-decoration:underline;text-underline-offset:3px;padding:6px 2px}
body[data-cece-space=true] button.cece-link:hover{color:#fff}

/* Her printed collage scrolls slowly behind the royal glass pane the tree sits on */
body[data-cece-space=true] .cece-tree-card{position:relative;isolation:isolate;padding:clamp(34px,4vw,58px);background:transparent;border:0;box-shadow:0 40px 80px -36px #020a33}
body[data-cece-space=true] .cece-tree-card::before{content:'';position:absolute;inset:0;z-index:-2;border-radius:22px;background:url('/garden/printed-collage.png') center/cover no-repeat;animation:collage-pan 40s ease-in-out infinite alternate}
body[data-cece-space=true] .cece-tree-card::after{content:'';position:absolute;inset:clamp(20px,2.6vw,38px);z-index:-1;border-radius:14px;background:#0b1c62ee;box-shadow:0 18px 40px -16px #0a1a5aaa,inset 0 0 0 1px #dccbff33;backdrop-filter:blur(6px)}
@keyframes collage-pan{from{background-position:40% 40%}to{background-position:60% 60%}}
body[data-cece-space=true] .tree-stage{border-radius:12px;box-shadow:0 0 0 1px #dccbff2e}
body[data-cece-space=true] .tree-toggle,body[data-cece-space=true] .tree-note-form>label{color:var(--lilac)}
body[data-cece-space=true] .tree-help{color:var(--soft)}
body[data-cece-space=true] .sticker-pick{background:var(--chip);border-color:var(--paper-line)}
body[data-cece-space=true] .sticker-pick:hover{background:#ffffff1a}
body[data-cece-space=true] .sticker-pick[aria-pressed=true]{border-color:var(--emerald);background:#3fe0a61f;box-shadow:0 0 0 3px #3fe0a633}
body[data-cece-space=true] .tree-note-form textarea,body[data-cece-space=true] .file-class input{background:var(--field);border:1px solid #dccbff55;color:#fff}
body[data-cece-space=true] :is(.tree-note-form textarea,.file-class input)::placeholder{color:#b5c0ea}
body[data-cece-space=true] :is(.tree-note-form textarea,.file-class input):focus{outline:2px solid var(--emerald);outline-offset:1px}
body[data-cece-space=true] .file-list li{background:var(--chip);border-color:var(--paper-line);color:var(--ink)}
body[data-cece-space=true] .file-list a{color:#fff}
body[data-cece-space=true] .file-list small,body[data-cece-space=true] .file-list .empty,body[data-cece-space=true] .file-form .feedback{color:var(--soft)}
body[data-cece-space=true] .file-pick{border-color:#dccbff77;color:var(--lilac);background:transparent}
body[data-cece-space=true] .file-class{color:var(--lilac)}

/* Tree growth: the tree canvas and everything hung on it scale from the trunk base
   (64% across, 87.5% down: SCENE.x and horizon + 7.5% in meadow.js). --grow is set every second from the pomodoro. */
body[data-cece-space=true] .tree-stage :is(.meadow-tree,.tree-lights,.tree-decor,.tree-notes){transform:scale(var(--grow,1));transform-origin:64% 87.5%;transition:transform 1.6s cubic-bezier(.3,.7,.2,1)}
body[data-cece-space=true] .tree-stage.bloomed .meadow-tree{animation:tree-bloom 1.6s ease-out}
@keyframes tree-bloom{35%{filter:brightness(1.3) saturate(1.25)}}
body[data-cece-space=true] .tree-status{position:absolute;left:12px;top:12px;z-index:3;margin:0;padding:7px 12px;border-radius:999px;background:#0a1a5ad0;color:var(--on-blue);font:500 12.5px/1.2 var(--hud);letter-spacing:.03em;pointer-events:none;box-shadow:0 0 0 1px #dccbff44}
body[data-cece-space=true] .tree-stage.growing .tree-status{box-shadow:0 0 0 1px #3fe0a688}

/* Lights she strings herself: a dark wire that sags between her taps, glowing bulbs that twinkle */
body[data-cece-space=true] .tree-lights{z-index:1;overflow:visible}
body[data-cece-space=true] .tree-lights path{fill:none;stroke:#1d1512d9;stroke-width:.3;stroke-linecap:round}
body[data-cece-space=true] .tree-lights .halos{filter:blur(.8px);opacity:.55}
body[data-cece-space=true] .tree-lights .bulb{animation:twinkle 2.6s ease-in-out infinite}
body[data-cece-space=true] .tree-lights .tw1{animation-delay:.9s}
body[data-cece-space=true] .tree-lights .tw2{animation-delay:1.7s}
body[data-cece-space=true] .tree-lights.off .halos{display:none}
body[data-cece-space=true] .tree-lights.off .bulb{animation:none;fill:#9aa3c7;opacity:.7}
body[data-cece-space=true] .tree-lights .draft path{stroke:#fff;stroke-dasharray:1 .9}
body[data-cece-space=true] .tree-stage.stringing .tree-decor{cursor:crosshair}
body[data-cece-space=true] .tree-stage.stringing{box-shadow:inset 0 0 0 2px var(--emerald)}
body[data-cece-space=true] .tree-stage.stringing :is(.tree-tag,.tree-sticker){pointer-events:none}
body[data-cece-space=true] .tool-row .tree-toggle{display:inline-flex;align-items:center;gap:6px;margin:0;line-height:1}
body[data-cece-space=true] .tool-row .tree-toggle input{margin:0;width:16px;height:16px;accent-color:var(--emerald)}

/* Tree tools: one row each for decorating, lights and sky, then the shop */
body[data-cece-space=true] .tree-tools{display:grid;gap:10px;margin-top:16px}
body[data-cece-space=true] .tool-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
body[data-cece-space=true] .tool-name{flex:none;width:64px;font:500 12px/1 var(--hud);letter-spacing:.06em;color:var(--lilac)}
body[data-cece-space=true] .tool-empty{font-size:13px;color:var(--soft)}
body[data-cece-space=true] .tool-end{justify-content:space-between;padding-top:10px;border-top:1px solid var(--paper-line)}
body[data-cece-space=true] .light-go[aria-pressed=true]{background:var(--emerald);color:#062a1e}

/* Shop: a royal glass sheet over her night */
body[data-cece-space=true] .cece-shop{width:min(780px,calc(100vw - 32px));max-height:min(86vh,920px);padding:0 0 18px;border:1px solid var(--paper-line);border-radius:20px;background:#0b1c62;color:var(--ink);box-shadow:0 40px 90px -30px #020a33}
body[data-cece-space=true] .cece-shop::backdrop{background:#0a1a5aa6;backdrop-filter:blur(4px)}
body[data-cece-space=true] .cece-shop header{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:14px;padding:18px 22px 14px;background:#0b1c62;border-bottom:1px solid var(--paper-line)}
body[data-cece-space=true] .cece-shop header div{flex:1}
body[data-cece-space=true] .cece-shop header h2{margin:0;font:italic 600 34px/1 var(--serif);color:var(--emerald)}
body[data-cece-space=true] .cece-shop header p{margin:4px 0 0;font-size:13px;color:var(--soft)}
body[data-cece-space=true] .shop-points{font:500 14px/1 var(--hud);color:var(--emerald);background:#3fe0a61a;border:1px solid #3fe0a6aa;padding:8px 12px;border-radius:999px;white-space:nowrap}
body[data-cece-space=true] .shop-note{margin:14px 22px 0;padding:10px 14px;border-radius:12px;background:#dccbff24;font-size:14px}
body[data-cece-space=true] .shop-note:empty{display:none}
body[data-cece-space=true] .cece-shop section{padding:14px 22px 0}
body[data-cece-space=true] .cece-shop h3{margin:0 0 8px;font:600 22px/1.1 var(--serif);color:#fff}
body[data-cece-space=true] .shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
body[data-cece-space=true] .shop-item{all:unset;box-sizing:border-box;cursor:pointer;display:grid;justify-items:center;align-content:start;gap:4px;padding:12px 8px 10px;border-radius:14px;background:var(--chip);border:1px solid var(--paper-line);text-align:center;transition:border-color .15s,transform .15s}
body[data-cece-space=true] .shop-item:not([aria-disabled=true]):hover{border-color:var(--lilac);transform:translateY(-1px)}
body[data-cece-space=true] .shop-item:focus-visible{outline:3px solid var(--blush);outline-offset:2px}
body[data-cece-space=true] .shop-item[aria-disabled=true]{cursor:default}
body[data-cece-space=true] .shop-item[aria-disabled=true]:not(.owned){opacity:.6}
body[data-cece-space=true] .shop-item.owned{background:#3fe0a614;border-color:#3fe0a666}
body[data-cece-space=true] .shop-icon{font-size:26px;line-height:1.1}
body[data-cece-space=true] .shop-label{font-weight:650;font-size:13.5px}
body[data-cece-space=true] .shop-item small{font-size:11.5px;color:var(--soft)}
body[data-cece-space=true] .shop-item.owned small{color:var(--emerald)}

/* Inspiration: her photos scroll past like a reel of microscope slides, her lines sit on royal glass below */
body[data-cece-space=true] .inspo{display:grid;grid-template-columns:minmax(0,1fr);gap:34px;max-width:1240px;padding-bottom:110px}
body[data-cece-space=true] .inspo-reel{min-width:0}
body[data-cece-space=true] .reel-window{position:relative;overflow:hidden;padding:18px 0;-webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
body[data-cece-space=true] .reel-track{display:flex;gap:22px;width:max-content;animation:reel-scroll var(--reel-dur,40s) linear infinite}
body[data-cece-space=true] .reel-window:hover .reel-track,body[data-cece-space=true] .reel-window:focus-within .reel-track{animation-play-state:paused}
@keyframes reel-scroll{to{transform:translateX(calc(-50% - 11px))}}
body[data-cece-space=true] .reel-shot{position:relative;flex:none;margin:0;height:clamp(220px,34vh,340px);box-sizing:border-box;display:flex;flex-direction:column;padding:10px 10px 30px;border-radius:6px;background:#0b1c62;border:1px solid #dccbff40;box-shadow:0 30px 50px -30px #020a33}
body[data-cece-space=true] .reel-shot:nth-child(odd){transform:rotate(-1.2deg)}
body[data-cece-space=true] .reel-shot:nth-child(even){transform:rotate(1deg) translateY(10px)}
body[data-cece-space=true] .reel-shot img{display:block;flex:1;min-height:0;width:auto;max-width:min(70vw,460px);object-fit:cover;border-radius:3px}
body[data-cece-space=true] .reel-shot figcaption{position:absolute;left:12px;bottom:8px;font:500 11px/1 var(--hud);letter-spacing:.06em;color:var(--lilac)}
body[data-cece-space=true] .reel-remove{all:unset;position:absolute;top:16px;right:16px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#0a1a5ad9;color:#fff;font-size:18px;cursor:pointer;opacity:0;transition:opacity .15s}
body[data-cece-space=true] .reel-shot:hover .reel-remove,body[data-cece-space=true] .reel-remove:focus-visible{opacity:1}
body[data-cece-space=true] .reel-remove:focus-visible{outline:3px solid var(--blush)}
body[data-cece-space=true] .reel-empty{display:grid;place-items:center;min-height:220px;border:1px dashed #dccbff66;border-radius:16px;background:#0b1c6299;text-align:center;padding:24px}
body[data-cece-space=true] .reel-empty p{margin:0;max-width:34ch;font:italic 500 22px/1.3 var(--serif);color:var(--ink)}
body[data-cece-space=true] .reel-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px}
body[data-cece-space=true] .reel-add input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
body[data-cece-space=true] .reel-add:focus-within{outline:3px solid var(--blush);outline-offset:3px}
body[data-cece-space=true] .reel-tools .feedback{margin:0;font-size:13px;color:var(--soft)}
body[data-cece-space=true] .inspo-lines h2{margin:0 0 14px;font:500 13px/1 var(--hud);letter-spacing:.08em;color:var(--lilac)}
body[data-cece-space=true] .inspo-wall{columns:3 280px;column-gap:14px}
body[data-cece-space=true] .inspo-mine{display:contents}
body[data-cece-space=true] .inspo-quote{break-inside:avoid;margin:0 0 14px;padding:16px 18px 14px;border-radius:14px;background:var(--paper);color:var(--ink);border:1px solid var(--paper-line)}
body[data-cece-space=true] .inspo-quote p{margin:0;font:500 21px/1.3 var(--serif);text-wrap:pretty}
body[data-cece-space=true] .inspo-quote cite{display:flex;align-items:center;gap:10px;margin-top:8px;font:normal 500 12px/1 var(--hud);letter-spacing:.04em;color:var(--soft)}
body[data-cece-space=true] .inspo-quote.lead{background:transparent;border:0;padding:0 0 18px;max-width:780px}
body[data-cece-space=true] .inspo-quote.lead p{font-size:clamp(30px,3vw,44px);line-height:1.08;color:#fff;text-shadow:0 2px 24px #0a1a5a}
body[data-cece-space=true] .inspo-quote.lead cite{color:var(--emerald)}
body[data-cece-space=true] .inspo-quote.note{background:#14308ceb}
body[data-cece-space=true] .inspo-quote.mine{background:#2a2a86eb;border-color:#f5cadb44}
body[data-cece-space=true] .inspo-quote .cece-link{font-family:inherit;font-size:12px;padding:0}
body[data-cece-space=true] .inspo-form{margin-top:8px;max-width:620px}
body[data-cece-space=true] .inspo-form label{display:block;margin-bottom:8px;font-size:14px;color:var(--soft)}
body[data-cece-space=true] .inspo-form>div{display:flex;gap:8px;align-items:center}
body[data-cece-space=true] .inspo-form textarea{flex:1;margin:0;resize:none;background:var(--field);border:1px solid #dccbff55;color:#fff;border-radius:12px;padding:12px 14px}
body[data-cece-space=true] .inspo-form textarea:focus{outline:2px solid var(--emerald);outline-offset:1px}
body[data-cece-space=true] .inspo-form .feedback{margin:6px 0 0;color:var(--soft);font-size:13px}
@media(prefers-reduced-motion:reduce){body[data-cece-space=true] .reel-track{animation:none}body[data-cece-space=true] .reel-window{overflow-x:auto}}

/* First-visit tour, in her colors */
body[data-cece-space=true] #workstation-tour{width:min(440px,calc(100vw - 32px));border:1px solid var(--paper-line);border-radius:18px;padding:24px 26px 22px;background:#0b1c62;color:var(--ink);box-shadow:0 40px 90px -30px #020a33}
body[data-cece-space=true] #workstation-tour::backdrop{background:#0a1a5aa6;backdrop-filter:blur(4px)}
body[data-cece-space=true] #workstation-tour small{font:500 12px/1 var(--hud);letter-spacing:.06em;color:var(--lilac)}
body[data-cece-space=true] #workstation-tour h2{margin:8px 0 8px;font:italic 600 32px/1.05 var(--serif);color:var(--emerald)}
body[data-cece-space=true] #workstation-tour p{margin:0 0 18px;font-size:15px;line-height:1.55;color:var(--ink)}
body[data-cece-space=true] #workstation-tour button{all:unset;cursor:pointer;padding:11px 20px;border-radius:999px;font-weight:700;font-size:14.5px}
body[data-cece-space=true] #workstation-tour .primary{background:var(--emerald);color:#062a1e}
body[data-cece-space=true] #workstation-tour .secondary{color:#fff;border:1.5px solid #dccbff77}
body[data-cece-space=true] #workstation-tour button:focus-visible{outline:3px solid var(--blush);outline-offset:2px}

/* Ambient petals: always drifting on her corner, never in the way */
.corner-petals{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.corner-petals i{position:absolute;top:-6vh;left:var(--x);width:calc(var(--s) * 11px);height:calc(var(--s) * 15px);border-radius:80% 0 80% 20%;
 background:linear-gradient(135deg,#fff,var(--blush) 50%,var(--lilac));opacity:.7;filter:drop-shadow(0 0 6px #f5cadb66);
 animation:petal-fall var(--d) linear var(--w) infinite}
@keyframes petal-fall{0%{transform:translate(0,0) rotate(0)}50%{transform:translate(6vw,55vh) rotate(160deg)}100%{transform:translate(-2vw,112vh) rotate(320deg)}}

body[data-cece-space=true] :is(.cece-start,.cece-ghost){-webkit-tap-highlight-color:transparent}
@media(max-width:1020px){
 body[data-cece-space=true] .cece-home{grid-template-columns:1fr}
 body[data-cece-space=true] :is(.cece-hero,.cece-tree-card,.cece-files){grid-column:1;grid-row:auto}
}
@media(max-width:600px){
 body[data-cece-space=true] .corner-head{gap:10px}
 body[data-cece-space=true] .cece-mark{width:40px;height:40px}
 body[data-cece-space=true] .cece-tree-card{padding:20px}
}
@media(prefers-reduced-motion:reduce){
 .corner-petals{display:none}
 body[data-cece-space=true] .cece-tree-card::before,body[data-cece-space=true] .cece-mark.lit,body[data-cece-space=true] .tree-lights .bulb,body[data-cece-space=true] .tree-stage.bloomed .meadow-tree{animation:none}
 body[data-cece-space=true] .tree-stage :is(.meadow-tree,.tree-lights,.tree-decor,.tree-notes),body[data-cece-space=true] .shop-item{transition:none}
 body[data-cece-space=true] .cece-start{transition:none}
}

/* iPhone/iPad only: stop Safari's zoom-on-focus for text boxes under 16px (see garden.css). */
@supports (-webkit-touch-callout:none){body[data-cece-space=true] :is(input,textarea,select){font-size:max(16px,1em)!important}}

/* Her Settings cards are white paper, but her space's text is near-white (built for the night sky), so headings and
   notes vanished (measured: rgb(245,240,255) on rgba(255,255,255,.93)). Use her navy and slate ink on the paper. */
body[data-cece-space=true] .account-settings{color:#19395b}
body[data-cece-space=true] .account-settings :is(h2,h3,label,strong){color:#19395b}
body[data-cece-space=true] .account-settings :is(.muted,p,small){color:#526d8b}
/* Study corner style: the chosen option is filled, so "which one is on" is visible at a glance, not only by text. */
body[data-cece-space=true] #classic-corner [data-classic][aria-pressed=true]{background:#286fb1;border-color:#286fb1;color:#fff}

body[data-cece-space=true] .cece-learning-check{max-width:590px;margin:15px auto 24px;padding:clamp(18px,4vw,30px)}
.cece-learning-check h1{margin:0 0 9px;font-size:clamp(25px,5vw,38px);line-height:1.13;color:#fff1fa}
.cece-learning-check p{color:#e2cee8}
body[data-cece-space=true] .cece-learning-check label{margin:14px 0 5px;font-size:14px;color:#f1ddf1}
body[data-cece-space=true] .cece-learning-check select{margin:0;border:1px solid #a391b2;background:#211c38;color:#fff0fa}
.cece-learning-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.cece-learning-summary{display:flex;align-items:center;flex-wrap:wrap;gap:7px 11px;margin:8px 0 14px}
.cece-learning-summary p{margin:0;color:#e2d3ef;font-size:13px}
.cece-recall #cece-recall-round{border-block:1px solid #aa84b46b;margin:16px 0;padding:16px 0}
.cece-recall #cece-recall-progress{font-size:13px;margin:0 0 5px}
.cece-recall #cece-recall-name{font-size:clamp(22px,5vw,34px);line-height:1.2;color:#fff3fc;overflow-wrap:anywhere;margin:0 0 14px}
.cece-recall summary{cursor:pointer;color:#f5dcf2}
.cece-recall textarea{margin:7px 0}
