/* Teen presentation only. Existing server roles, media gates and parent screens remain authoritative. */
.student-shell[data-student-ui="teen"]{--teen-ink:#202337;--teen-muted:#536078;--teen-line:#dfe3f0;--teen-accent:#4846d9;max-width:1180px;padding:24px 28px 42px;color:var(--teen-ink)}
.student-shell[data-student-ui="teen"] *{min-width:0}
.student-shell[data-student-ui="teen"] [hidden]{display:none!important}
.student-shell[data-student-ui="teen"] .student-header{padding-bottom:18px;gap:14px}
.student-shell[data-student-ui="teen"] .student-header .brand{flex:1}
.student-shell[data-student-ui="teen"] .student-header .brand-name{letter-spacing:-1.1px}
.student-shell[data-student-ui="teen"] .student-header .badge{font-size:11px}
.student-shell[data-student-ui="teen"] .student-navigation{display:flex;padding:20px 0 28px;gap:9px}
.student-shell[data-student-ui="teen"] .student-navigation .btn{min-height:48px;gap:9px;padding:12px 20px;border-radius:14px}
.student-shell[data-student-ui="teen"] .student-navigation .btn[aria-current="page"]{background:#232640;border-color:#232640;box-shadow:none;color:#fff}
.student-shell[data-student-ui="teen"] .student-navigation svg{width:18px;height:18px}
.student-shell[data-student-ui="teen"] .teen-account-menu{position:relative}
.student-shell[data-student-ui="teen"] .teen-account-menu summary{display:flex;align-items:center;gap:8px;padding:12px;min-height:44px;border:1px solid var(--teen-line);border-radius:12px;background:#fff;font-size:12px;cursor:pointer;list-style:none}
.student-shell[data-student-ui="teen"] .teen-account-menu summary svg{width:18px;height:18px}
.student-shell[data-student-ui="teen"] .teen-account-menu[open]>div{position:absolute;right:0;top:calc(100% + 8px);width:min(290px,80vw);z-index:20;padding:16px;background:#fff;border:1px solid var(--teen-line);border-radius:16px;box-shadow:0 12px 30px #20233716}
.student-shell[data-student-ui="teen"] .teen-account-menu p{font-size:12px;overflow-wrap:anywhere;margin:0 0 12px}
.student-shell[data-student-ui="teen"] .teen-account-menu .btn{display:block;width:100%;margin:8px 0 0}
.student-shell[data-student-ui="teen"] .eyebrow{font-size:11px;letter-spacing:.15em;color:#514c98}
.student-shell[data-student-ui="teen"] .heading{gap:18px;margin:0 0 24px}
.student-shell[data-student-ui="teen"] h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(29px,4vw,43px);letter-spacing:-1.6px;line-height:1.12;margin:10px 0 12px;overflow-wrap:anywhere}
.student-shell[data-student-ui="teen"] .heading p,.student-shell[data-student-ui="teen"] .teen-studio-heading p{font-size:14px;line-height:1.65;max-width:600px;color:var(--teen-muted);margin:0}
.student-shell[data-student-ui="teen"] .teen-studio-heading{display:flex;align-items:center;justify-content:space-between;gap:26px}
.student-shell[data-student-ui="teen"] .teen-studio-heading>.btn{flex-shrink:0;min-height:52px;border-radius:16px;box-shadow:0 6px 16px #4846d91c}
.student-shell[data-student-ui="teen"] .teen-flow{display:flex;gap:12px 24px;flex-wrap:wrap;margin:27px 0 13px;padding:17px 20px;border-radius:16px;background:#e9ecfa;border:1px solid #d9def3}
.student-shell[data-student-ui="teen"] .teen-flow>span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#394464}
.student-shell[data-student-ui="teen"] .teen-flow svg{width:16px;height:16px;flex-shrink:0}
.student-shell[data-student-ui="teen"] .teen-review-notice{display:flex;align-items:center;gap:7px;font-size:11px;color:#5a6580;line-height:1.6}
.student-shell[data-student-ui="teen"] .teen-review-notice svg{width:16px;height:16px;flex-shrink:0}
.student-shell[data-student-ui="teen"] .teen-filter-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:28px 0 0}
.student-shell[data-student-ui="teen"] .teen-filter,.student-shell[data-student-ui="teen"] .teen-help{min-height:44px;border:1px solid transparent;border-radius:40px;padding:10px 15px;background:transparent;font:700 12px 'Manrope',sans-serif;color:#4d5870;cursor:pointer}
.student-shell[data-student-ui="teen"] .teen-filter[aria-pressed="true"]{background:#fff;border-color:#d6dbee;color:#282c44}
.student-shell[data-student-ui="teen"] .teen-help{margin-left:auto;display:flex;gap:7px;align-items:center;color:#4846b0}
.student-shell[data-student-ui="teen"] .teen-help svg{width:16px;height:16px}
.student-shell[data-student-ui="teen"] .student-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}
.student-shell[data-student-ui="teen"] .media-card{border:1px solid var(--teen-line);border-radius:23px;box-shadow:0 4px 15px #20233705;overflow:hidden}
.student-shell[data-student-ui="teen"] .student-media-open,.student-shell[data-student-ui="teen"] .student-no-preview{aspect-ratio:4/3}
.student-shell[data-student-ui="teen"] .student-media-open img{height:100%;width:100%;object-fit:cover;aspect-ratio:4/3}
.student-shell[data-student-ui="teen"] .card-body{padding:18px}
.student-shell[data-student-ui="teen"] .card-body h3{font-size:17px;letter-spacing:-.4px;line-height:1.35;overflow-wrap:anywhere}
.student-shell[data-student-ui="teen"] .card-body>p{font-size:12px;overflow-wrap:anywhere}
.student-shell[data-student-ui="teen"] .card-body .badge{white-space:normal;text-align:left;line-height:1.5;font-size:11px}
.student-shell[data-student-ui="teen"] [data-teen-state="review"]{background:#fff0d8;color:#6b4417}
.student-shell[data-student-ui="teen"] [data-teen-state="private"]{background:#e9edf8;color:#394464}
.student-shell[data-student-ui="teen"] [data-teen-state="shared"]{background:#dff3f0;color:#23534e}
.student-shell[data-student-ui="teen"] .student-no-preview{background:#edf0f8;color:#566180;padding:22px}
.student-shell[data-student-ui="teen"] .student-no-preview strong{font-size:14px;line-height:1.45}
.student-shell[data-student-ui="teen"] .student-no-preview span{font-size:12px}
.student-shell[data-student-ui="teen"] .student-heading{background:radial-gradient(ellipse at 80% 0,#6d57bf60,transparent 55%),#22253e;padding:36px 32px}
.student-shell[data-student-ui="teen"] .student-heading .eyebrow{color:#b8f0f0}
.student-shell[data-student-ui="teen"] .student-heading h1{max-width:650px}
.student-shell[data-student-ui="teen"] .teen-design-form{max-width:none;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start;gap:36px}
.student-shell[data-student-ui="teen"] .teen-design-tools>p{font-size:13px;line-height:1.65;color:var(--teen-muted)}
.student-shell[data-student-ui="teen"] .teen-stepper{display:flex;gap:6px;margin:23px 0}
.student-shell[data-student-ui="teen"] .teen-step{display:flex;gap:7px;align-items:center;justify-content:center;flex:1;border:1px solid var(--teen-line);border-radius:12px;padding:10px 8px;min-height:46px;background:#fff;color:#56617c;font:700 12px 'Manrope',sans-serif;cursor:pointer}
.student-shell[data-student-ui="teen"] .teen-step span{display:flex;align-items:center;justify-content:center;min-width:21px;height:21px;border-radius:50%;background:#edf0f8;font-size:11px}
.student-shell[data-student-ui="teen"] .teen-step[aria-current="step"]{background:#242740;color:#fff;border-color:#242740}
.student-shell[data-student-ui="teen"] .teen-step[aria-current="step"] span{background:#444861}
.student-shell[data-student-ui="teen"] .teen-draft-step h2{font-size:23px;letter-spacing:-.7px;margin:0 0 9px}
.student-shell[data-student-ui="teen"] .teen-draft-step p{font-size:13px;line-height:1.65;color:var(--teen-muted)}
.student-shell[data-student-ui="teen"] .teen-themes{padding:0;margin:20px 0 22px;border:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.student-shell[data-student-ui="teen"] .teen-theme-choice{position:relative;font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:8px;cursor:pointer}
.student-shell[data-student-ui="teen"] .teen-theme-choice input{position:absolute;left:8px;top:8px;z-index:1;width:18px;height:18px;accent-color:#4746cc}
.student-shell[data-student-ui="teen"] .teen-theme-art{height:88px;display:block;background:var(--theme-bg);border:2px solid transparent;border-radius:15px;position:relative;overflow:hidden}
.student-shell[data-student-ui="teen"] .teen-theme-art i{position:absolute;inset:0 0 40%;background:var(--theme-cover)}
.student-shell[data-student-ui="teen"] .teen-theme-art>span{position:absolute;bottom:7px;right:10px;background:var(--theme-cover);color:#fff;font-family:'Space Grotesk',sans-serif;font-size:19px;border-radius:6px;padding:2px 5px}
.student-shell[data-student-ui="teen"] .teen-theme-choice input:checked+.teen-theme-art{border-color:#4846d9;box-shadow:0 0 0 2px #f5f6ff inset}
.student-shell[data-student-ui="teen"] .teen-theme-choice input:focus-visible+.teen-theme-art{outline:3px solid #756fe7;outline-offset:3px}
.student-shell[data-student-ui="teen"] .teen-preview-host{padding-top:32px}
.student-shell[data-student-ui="teen"] .teen-preview{border-radius:25px;overflow:hidden;background:var(--preview-bg);color:var(--preview-ink);box-shadow:0 16px 42px #20233712;border:1px solid var(--teen-line)}
.student-shell[data-student-ui="teen"] .teen-preview-cover{height:145px;padding:20px;background:radial-gradient(ellipse at 90% 100%,#ffffff20,transparent 60%),var(--preview-cover);color:#fff;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.student-shell[data-student-ui="teen"] .teen-preview-cover>span:first-child{font-size:10px;font-weight:800;letter-spacing:.14em;max-width:150px}
.student-shell[data-student-ui="teen"] .teen-preview-sticker{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #ffffff70;transform:rotate(8deg);border-radius:14px}
.student-shell[data-student-ui="teen"] .teen-preview-sticker svg{width:25px;height:25px}
.student-shell[data-student-ui="teen"] .teen-preview-body{padding:0 25px 27px;position:relative}
.student-shell[data-student-ui="teen"] .teen-avatar{display:flex;align-items:center;justify-content:center;width:65px;height:65px;border:4px solid var(--preview-bg);border-radius:20px;background:var(--preview-surface);color:var(--preview-ink);font:700 28px 'Space Grotesk',sans-serif;transform:translateY(-28px);margin-bottom:-11px}
.student-shell[data-student-ui="teen"] .teen-preview-label{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--preview-muted)}
.student-shell[data-student-ui="teen"] .teen-preview h2{font-size:28px;line-height:1.1;letter-spacing:-1px;overflow-wrap:anywhere;margin:10px 0}
.student-shell[data-student-ui="teen"] .teen-name-bold{font-weight:900;text-transform:uppercase}
.student-shell[data-student-ui="teen"] .teen-name-classic{font-family:Georgia,serif;letter-spacing:-.3px}
.student-shell[data-student-ui="teen"] .teen-name-handwritten{font-family:'Segoe Print','Bradley Hand',cursive}
.student-shell[data-student-ui="teen"] .teen-preview-headline,.student-shell[data-student-ui="teen"] .teen-preview-bio{font-size:13px;line-height:1.7;color:var(--preview-muted);overflow-wrap:anywhere;white-space:pre-wrap}
.student-shell[data-student-ui="teen"] .teen-preview blockquote{background:var(--preview-surface);border-radius:14px;padding:16px;margin:20px 0 0;font:700 17px/1.5 'Space Grotesk',sans-serif;color:var(--preview-ink);overflow-wrap:anywhere;white-space:pre-wrap}
.student-shell[data-student-ui="teen"] .teen-preview-note{display:flex;gap:8px;align-items:flex-start;font-size:11px;line-height:1.6;color:var(--teen-muted);padding:12px 8px}
.student-shell[data-student-ui="teen"] .teen-preview-note svg{width:15px;height:15px;flex-shrink:0;margin-top:2px}
.student-shell[data-student-ui="teen"] .teen-step-actions{display:flex;gap:10px;margin-top:24px}
.student-shell[data-student-ui="teen"] .student-card-actions{display:flex;align-items:stretch;margin-top:22px}
.student-shell[data-student-ui="teen"] .student-card-actions .btn{font-size:12px;min-height:46px}
.student-shell[data-student-ui="teen"] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.student-shell[data-student-ui="teen"] .student-footer{font-size:11px;margin-top:36px}
.modal:has(.teen-upload-form) .modal-body{background:#fbfbff}
.teen-upload-form .teen-dialog-intro{font-size:15px;line-height:1.6}
.teen-upload-form .teen-dialog-flow{padding:16px;border-radius:14px;background:#e9ecfa;font-size:13px;line-height:1.7;color:#394464}
.teen-upload-form input[type="file"]{width:100%;padding:18px 12px;border:1px dashed #aeb7d6;border-radius:14px;background:#f3f5fc}
@media(max-width:800px){.student-shell[data-student-ui="teen"] .student-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-shell[data-student-ui="teen"] .teen-design-form{grid-template-columns:1fr;gap:14px}.student-shell[data-student-ui="teen"] .teen-preview-host{padding-top:8px}.student-shell[data-student-ui="teen"] .teen-preview{max-width:430px;margin:0 auto}.student-shell[data-student-ui="teen"] .teen-preview-note{justify-content:center}.student-shell[data-student-ui="teen"] .teen-help{margin-left:0}}
@media(max-width:650px){.student-shell[data-student-ui="teen"]{padding:18px 16px 32px}.student-shell[data-student-ui="teen"] .student-header{flex-wrap:nowrap;gap:10px}.student-shell[data-student-ui="teen"] .student-header .brand{flex:1;flex-basis:auto}.student-shell[data-student-ui="teen"] .student-header .brand-name{font-size:20px}.student-shell[data-student-ui="teen"] .student-header .badge{display:none}.student-shell[data-student-ui="teen"] .student-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:18px 0 24px}.student-shell[data-student-ui="teen"] .student-navigation .btn{padding:11px 5px;font-size:11px;border-radius:13px;gap:5px;white-space:normal}.student-shell[data-student-ui="teen"] .student-navigation svg{width:15px;height:15px;flex-shrink:0}.student-shell[data-student-ui="teen"] .teen-studio-heading{align-items:flex-start;flex-direction:column;gap:18px}.student-shell[data-student-ui="teen"] .teen-studio-heading>.btn{width:100%;min-height:48px}.student-shell[data-student-ui="teen"] h1{font-size:32px;letter-spacing:-1.2px}.student-shell[data-student-ui="teen"] .teen-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px;padding:16px 13px;margin-top:20px}.student-shell[data-student-ui="teen"] .teen-flow>span{font-size:11px;line-height:1.5;align-items:flex-start}.student-shell[data-student-ui="teen"] .teen-flow svg{width:15px;height:15px;flex-shrink:0}.student-shell[data-student-ui="teen"] .teen-filter-row{gap:3px;margin-top:20px}.student-shell[data-student-ui="teen"] .teen-filter{padding:10px 12px;font-size:11px}.student-shell[data-student-ui="teen"] .teen-help{padding-left:10px;font-size:11px}.student-shell[data-student-ui="teen"] .student-media-grid{gap:12px;margin-top:10px}.student-shell[data-student-ui="teen"] .card-body{padding:13px}.student-shell[data-student-ui="teen"] .card-body h3{font-size:14px}.student-shell[data-student-ui="teen"] .card-body>p{font-size:11px}.student-shell[data-student-ui="teen"] .student-privacy-caption{font-size:11px!important}.student-shell[data-student-ui="teen"] .student-no-preview{aspect-ratio:4/3;padding:12px;gap:7px}.student-shell[data-student-ui="teen"] .student-no-preview svg{width:22px;height:22px}.student-shell[data-student-ui="teen"] .student-no-preview strong{font-size:12px}.student-shell[data-student-ui="teen"] .student-no-preview span{font-size:11px}.student-shell[data-student-ui="teen"] .media-card{border-radius:18px}.student-shell[data-student-ui="teen"] .teen-design-form .student-card-actions .btn{flex:1 1 140px}.student-shell[data-student-ui="teen"] .heading{align-items:flex-start;flex-direction:column}.student-shell[data-student-ui="teen"] .teen-step{font-size:11px;gap:5px}.student-shell[data-student-ui="teen"] .teen-preview h2{font-size:27px}.student-shell[data-student-ui="teen"] .teen-theme-art{height:78px}.student-shell[data-student-ui="teen"] .student-heading{padding:27px 23px}}
@media(prefers-reduced-motion:reduce){.student-shell[data-student-ui="teen"] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.student-shell[data-student-ui="teen"] .media-card:hover,.teen-collection .media-card:hover{transform:none}}
