.memory-root{--mem-navy:#0a101d;--mem-gold:#ffc800;--mem-blue:#1e40af;color:#0a101d;background:#f4f6fb;min-height:80vh}.memory-hero{color:#fff;background:linear-gradient(115deg,#0a101d,#172853);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:22px;padding:30px clamp(16px,4vw,44px);display:flex}.memory-eyebrow{text-transform:uppercase;letter-spacing:.22em;color:#ffc800;margin-bottom:8px;font-size:11px;font-weight:800}.memory-hero h1{font-size:clamp(26px,3.1vw,40px);font-weight:900;line-height:1.15}.memory-hero p{color:#b9c6dd;max-width:640px;margin-top:10px}.memory-body{max-width:1500px;margin:auto;padding:22px clamp(12px,3vw,36px)}.memory-tabs{border-bottom:1px solid #dce2ec;gap:7px;margin-bottom:14px;padding:0 0 14px;display:flex;overflow:auto}.memory-tabs button{white-space:nowrap;color:#64748b;background:#fff;border-radius:9px;padding:10px 15px;font-size:13px;font-weight:700}.memory-tabs button[aria-selected=true]{color:#ffc800;background:#0a101d}.memory-card{background:#fff;border:1px solid #e1e6ef;border-radius:16px;min-width:0;padding:22px}.memory-card h2{margin-bottom:5px;font-size:20px;font-weight:800}.memory-card h3{margin-bottom:6px;font-size:16px;font-weight:800}.memory-muted{color:#637087;font-size:13px;line-height:1.6}.memory-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.memory-between{justify-content:space-between}.memory-stack{gap:18px;display:grid}.memory-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;display:grid}.memory-field{color:#4a5770;gap:6px;min-width:0;font-size:12px;font-weight:700;display:grid}.memory-field input:not([type=checkbox]):not([type=color]),.memory-field textarea,.memory-field select,.memory-input{color:#0a101d;background:#fff;border:1px solid #ccd5e3;border-radius:8px;width:100%;min-width:0;padding:10px 12px;font-size:14px;font-weight:400}.memory-field input[type=color]{border:1px solid #ccd5e3;border-radius:8px;width:100%;height:38px}.memory-field textarea{resize:vertical;min-height:96px}.memory-field input:focus,.memory-field textarea:focus,.memory-field select:focus{outline-offset:1px;outline:2px solid #ffc800}.memory-btn{color:#fff;cursor:pointer;background:#0a101d;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:10px 15px;font-size:13px;font-weight:700;display:inline-flex}.memory-btn.secondary{color:#0a101d;background:#fff;border-color:#ccd5e3}.memory-btn.gold{color:#0a101d;background:#ffc800}.memory-btn.danger{color:#9f1239;background:#fff1f2;border-color:#fecdd3}.memory-btn:disabled{opacity:.5;cursor:not-allowed}.memory-check{color:#42516a;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;display:flex}.memory-check input{accent-color:#1e40af;margin-top:4px}.memory-pill{text-transform:uppercase;letter-spacing:.09em;color:#4d5c77;background:#edf1f8;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:800;display:inline-flex}.memory-pill.approved,.memory-pill.selected,.memory-pill.published,.memory-pill.sent{color:#166534;background:#dcfce7}.memory-pill.pending,.memory-pill.nominated,.memory-pill.scheduled,.memory-pill.submitted{color:#854d0e;background:#fef3c7}.memory-pill.withdrawn,.memory-pill.uncertain,.memory-pill.changes_requested{color:#9f1239;background:#ffe4e6}.memory-alert{color:#854d0e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:13px 16px;font-size:13px;line-height:1.6}.memory-alert.error{color:#9f1239;background:#fff1f2;border-color:#fecdd3}.memory-alert.good{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.memory-stat strong{letter-spacing:-.04em;font-size:32px;font-weight:900;display:block}.memory-table-wrap{overflow:auto}.memory-table{border-collapse:collapse;width:100%;min-width:570px;font-size:13px}.memory-table th,.memory-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e5eaf2;padding:12px}.memory-table th{text-transform:uppercase;letter-spacing:.1em;color:#6b7890;font-size:10px}.memory-thumb{aspect-ratio:16/10;background:#edf1f8;border-radius:10px;place-items:center;display:grid;overflow:hidden}.memory-thumb img,.memory-thumb video{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.memory-student-picker{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;max-height:280px;padding:4px;display:grid;overflow:auto}.memory-student{text-align:left;background:#fff;border:1px solid #dce2ed;border-radius:10px;align-items:center;gap:8px;padding:10px;display:flex}.memory-student[aria-pressed=true]{background:#eff6ff;border-color:#1e40af}.memory-student img{-o-object-fit:cover;object-fit:cover;border-radius:7px;width:44px;height:52px}.memory-student small{color:#6b7890;font-size:10px;display:block}.memory-modal-backdrop{z-index:1000;background:#0a101ddd;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.memory-modal{color:#0a101d;background:#fff;border-radius:18px;width:min(1100px,100%);max-height:92vh;padding:24px;overflow:auto}.memory-modal.wide{width:min(1450px,100%)}.memory-studio{grid-template-columns:170px minmax(0,1fr) 270px;align-items:start;gap:14px;display:grid}.memory-scenes,.memory-properties{background:#fff;border:1px solid #dce2ec;border-radius:12px;max-height:78vh;padding:12px;overflow:auto}.memory-scene-item{text-align:left;background:#f8fafc;border:1px solid #dce2ec;border-radius:8px;width:100%;margin-bottom:8px;padding:10px;display:block}.memory-scene-item[aria-current=true]{background:#eff6ff;border:2px solid #1e40af}.memory-scene-item strong{font-size:12px;display:block}.memory-scene-item small{color:#64748b;font-size:10px}.memory-props-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.memory-stage-viewport{aspect-ratio:16/9;isolation:isolate;background:#0a101d;border-radius:12px;width:100%;position:relative;overflow:hidden}.memory-stage{transform-origin:0 0;width:1280px;height:720px;position:absolute;top:0;left:0;overflow:hidden}.memory-block{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.18;position:absolute;overflow:hidden}.memory-block.editable{cursor:move;touch-action:none}.memory-block.selected{outline-offset:-3px;z-index:40;outline:3px solid #60a5fa}.memory-resize{cursor:nwse-resize;touch-action:none;z-index:45;background:#1e40af;border:3px solid #fff;width:24px;height:24px;position:absolute;bottom:0;right:0}.memory-block-caption{color:#fff;background:#0a101dcc;padding:10px 15px;font-size:20px;line-height:1.35;position:absolute;bottom:0;left:0;right:0}.memory-media{width:100%;height:100%;display:block}.memory-bot.mbot{width:100%;height:100%;box-shadow:none;background:0 0;border:0;padding:0;overflow:visible}.memory-bot .mbot-robot{width:100%;height:100%;max-height:100%}.memory-recognition{text-align:center;color:#fff;background:linear-gradient(130deg,#172853,#0a101d);border:2px solid #ffc800;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:28px;display:flex}.memory-recognition .award{letter-spacing:.15em;text-transform:uppercase;color:#ffc800;font-size:22px}.memory-recognition .name{margin-top:16px;font-size:48px;font-weight:900;line-height:1.1}.memory-recognition .caption{margin-top:20px;font-size:22px}.memory-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.memory-confetti i{opacity:.7;width:8px;height:16px;animation:6s linear infinite memory-fall;position:absolute;top:-20px}.memory-player{color:#fff;background:#0a101d;border-radius:14px;padding:18px}.memory-player:fullscreen{border-radius:0;flex-direction:column;justify-content:center;padding:20px;display:flex}.memory-player:fullscreen .memory-stage-viewport{width:min(100%,177.778vh - 231.111px);margin:auto}.memory-player-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.memory-player-controls button{background:#ffffff16;border:1px solid #ffffff24;border-radius:8px;align-items:center;gap:5px;padding:8px 11px;font-size:12px;display:flex}.memory-player-controls button:disabled{opacity:.35}.memory-player-controls select{color:#fff;background:#172853;border-radius:8px;max-width:200px;padding:8px;font-size:12px}.memory-progress{background:#ffffff20;border-radius:5px;height:4px;margin-top:14px;overflow:hidden}.memory-progress span{background:#ffc800;height:100%;transition:width .15s;display:block}.memory-start{z-index:80;background:#0a101d88;place-items:center;display:grid;position:absolute;inset:0}.memory-start button{color:#0a101d;background:#ffc800;border-radius:100px;align-items:center;gap:10px;padding:17px 30px;font-size:18px;font-weight:900;display:flex}.memory-empty{text-align:center;color:#64748b;padding:60px 20px}.memory-upload-progress{color:#556581;padding:8px 0;font-size:12px}.memory-quickbar{background:#fff9db;border-bottom:1px solid #ffe681;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;font-size:13px;display:flex}.memory-quickbar a{font-weight:800;text-decoration:underline}.memory-toolbar{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:12px;display:flex}.memory-toolbar .memory-btn{padding:8px 11px;font-size:12px}.memory-edit-preview{border:1px dashed #9baac0;border-radius:12px;padding:8px}.memory-properties .memory-field{margin-bottom:10px}.memory-dialog-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.memory-visually-hidden{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}@keyframes memory-fall{to{transform:translateY(800px)rotate(540deg)}}@media (width<=1150px){.memory-studio{grid-template-columns:135px minmax(0,1fr)}.memory-properties{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;max-height:none;display:grid}}@media (width<=640px){.memory-hero{padding:22px 16px}.memory-body{padding:14px 10px}.memory-card{padding:16px}.memory-studio{grid-template-columns:minmax(0,1fr)}.memory-scenes{gap:8px;max-height:none;display:flex;overflow:auto}.memory-scene-item{min-width:130px;margin:0}.memory-modal-backdrop{padding:8px}.memory-modal{padding:16px}.memory-player{padding:10px}.memory-properties{display:block}.memory-quickbar{padding:10px;font-size:12px}}@media (prefers-reduced-motion:reduce){.memory-confetti i{animation:none;display:none}.memory-progress span{transition:none}}.memory-review-field-error{color:#9f1239;overflow-wrap:anywhere;margin-top:5px;font-size:13px;font-weight:600;line-height:1.5}.memory-modal [aria-invalid=true]:is(input,textarea,select){border-color:#be123c;outline-color:#be123c}
