:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#25232a;background:#f7f5f3;font-synthesis:none;--brand:#642d46;--brand-dark:#482033;--muted:#74717b;--border:#e6e1e4;--green:#25744d;--red:#a23e46;--amber:#9a6814;--pale:#f2e8ed}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #b9899e;outline-offset:3px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:#fff;color:#38323a;padding:11px 16px;border-radius:10px;font-weight:600;font-size:14px;line-height:1.35}button:hover:not(:disabled){border-color:#b49aa7;background:#fcf9fb}button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover:not(:disabled){background:var(--brand-dark)}button.soft{background:var(--pale);color:var(--brand);border-color:transparent}button.ghost{background:transparent;border-color:transparent}button.danger{color:var(--red)}button.icon{padding:9px;min-width:38px}button.small{padding:7px 10px;font-size:12px}h1,h2,h3,h4,p{margin:0}h1{font-size:38px;letter-spacing:-1.4px;line-height:1.15;font-weight:650}h2{font-size:24px;letter-spacing:-.5px;font-weight:650}h3{font-size:17px;font-weight:650}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}.eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:700;color:var(--brand);margin-bottom:14px}.topbar{height:78px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1320px)/2));gap:20px}.brand{display:flex;gap:11px;align-items:center;color:var(--brand);font-size:19px;font-weight:750;letter-spacing:-.7px;white-space:nowrap}.brand img{width:34px;height:34px}.brand .divider{width:1px;height:24px;background:var(--border);margin:0 3px}.brand span:last-child{font-weight:500;font-size:17px;letter-spacing:-.5px}.nav{display:flex;gap:12px;align-items:center}.version{font-size:11px;padding:4px 8px;border:1px solid var(--border);border-radius:5px;color:var(--muted)}.container{max-width:1240px;margin:0 auto;padding:48px 24px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:20px}.gap8{gap:8px}.gap24{gap:24px}.spacer{flex:1}.mt{margin-top:24px}.mb{margin-bottom:20px}.panel{background:#fff;border:1px solid var(--border);border-radius:16px;padding:26px;box-shadow:0 3px 12px #35203003}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:60px;align-items:center;padding:10px 0 40px}.hero h1{font-size:48px;max-width:580px;margin:12px 0 20px}.hero p{max-width:490px;color:#74717b;font-size:16px}.hero .row{margin-top:28px}.join-panel{padding:30px;position:relative;background:var(--brand);color:#fff;border-radius:18px;box-shadow:0 16px 45px #642d4612}.join-panel p{font-size:14px;color:#e1cbd5;margin:9px 0 22px}.join-panel h2{font-size:24px}.join-panel input{background:#fff;border:0;letter-spacing:5px;font-size:22px;text-transform:uppercase;min-width:0}.join-panel button{margin-top:10px;width:100%;background:#f1dce5;border:0;color:var(--brand)}.section-title{margin:24px 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.quiz-card{min-width:0;display:flex;flex-direction:column;padding:22px;gap:18px}.quiz-card h3{font-size:19px;line-height:1.4;overflow-wrap:anywhere}.quiz-card p{font-size:13px;color:var(--muted)}.quiz-card .row:last-child{margin-top:auto}.card-icon{background:var(--pale);color:var(--brand);border-radius:10px;width:42px;height:42px;display:grid;place-items:center}.tag{display:inline-flex;gap:6px;align-items:center;font-size:11px;border-radius:5px;padding:4px 7px;color:var(--brand);background:var(--pale);font-weight:650}.tag.green{color:var(--green);background:#e9f4ed}.tag.amber{color:var(--amber);background:#fcf2de}.session-list{border-radius:12px;border:1px solid var(--border);overflow:hidden}.session-row{background:#fff;padding:16px 20px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--border)}.session-row:last-child{border:0}footer{padding:30px 24px;text-align:center;color:var(--muted);font-size:12px}footer a{color:inherit}.empty{padding:44px;text-align:center;color:var(--muted)}label{display:block;font-size:13px;font-weight:600;margin-bottom:7px;color:#4e4650}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{width:100%;border:1px solid #dcd5da;border-radius:9px;background:#fff;padding:11px 12px;color:inherit;outline:0;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:#8c526c!important;box-shadow:0 0 0 3px #642d4610}textarea{resize:vertical;min-height:80px}input[type=checkbox],input[type=radio]{accent-color:var(--brand);width:18px;height:18px;flex-shrink:0;cursor:pointer}.field{margin-bottom:18px}.field small{display:block;margin-top:6px;font-size:12px;color:var(--muted)}.check-label{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-weight:500;line-height:1.5}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.editor-top{padding:22px 28px;border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0;z-index:3}.editor-grid{max-width:1400px;margin:auto;display:grid;grid-template-columns:250px minmax(0,1fr);min-height:75vh}.question-nav{padding:24px 16px;border-right:1px solid var(--border)}.qnav{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;margin-bottom:8px;background:transparent;border-color:transparent;justify-content:flex-start;padding:12px}.qnav.active{background:#eee2e8;color:var(--brand);border-color:#dfcbd5}.qnav .snippet{font-weight:500;font-size:12px;overflow-wrap:anywhere;line-height:1.45}.qnumber{font-size:11px;font-weight:700;min-width:21px;height:21px;border-radius:5px;background:#fff;display:grid;place-items:center;color:var(--brand)}.editor-main{padding:30px 38px;max-width:1000px;width:100%;margin:auto}.editor-main .panel{padding:28px}.edit-choice{display:grid;grid-template-columns:26px minmax(0,1fr) 40px;gap:10px;align-items:center;margin-bottom:12px}.edit-choice.tf{grid-template-columns:22px minmax(0,1fr) 100px 35px}.edit-choice textarea{min-height:60px}.format-help{font-size:11px;color:var(--muted);margin:8px 0 20px}.media-editor{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.media-tile{position:relative;width:140px;background:#f7f5f3;border-radius:8px;overflow:hidden}.media-tile img,.media-tile video{width:140px;height:90px;object-fit:contain}.media-tile button{position:absolute;top:3px;right:3px;background:#fff}.save-state{color:var(--muted);font-size:12px}.modal-backdrop{position:fixed;inset:0;background:#21151bb0;z-index:20;display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:#f7f5f3;border-radius:18px;width:min(750px,100%);max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #0004}.modal-head{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#fff}.modal-body{padding:26px}.modal-actions{padding:20px 26px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px;background:#fff}.notice{background:#f1e9ed;border:1px solid #e4d3dc;color:#642d46;padding:12px 15px;border-radius:9px;font-size:13px;line-height:1.6}.notice.warn{background:#fff7e5;color:#805b19;border-color:#efdfbc}.room-header{background:var(--brand);color:#fff;padding:20px 28px;display:flex;align-items:center;gap:18px}.room-header .tag{background:#ffffff1a;color:#f1dce5}.room-header h2{font-size:20px}.room-code{letter-spacing:4px;font-weight:750;font-size:20px;white-space:nowrap}.connection{font-size:12px;display:flex;align-items:center;gap:7px}.connection:before{content:"";width:7px;height:7px;border-radius:50%;background:#4fa578}.connection.off:before{background:#e2aa43}.room-body{max-width:1440px;margin:auto;padding:28px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat{padding:22px}.stat .value{font-size:36px;font-weight:650;letter-spacing:-1.4px;margin:5px 0}.stat .label{font-size:12px;color:var(--muted)}.stat .icon{color:#aa8395}.progress{height:5px;border-radius:4px;background:#eee7eb;overflow:hidden;margin-top:16px}.progress>div{height:100%;background:var(--brand);transition:width .3s}.board{padding:23px}.board-row{display:flex;gap:11px;align-items:center;padding:15px 0;border-bottom:1px solid #f0edef}.board-row:last-child{border-bottom:0}.rank{width:25px;font-size:13px;font-weight:650;color:var(--muted)}.avatar{width:33px;height:33px;border-radius:50%;background:#f2e8ed;color:var(--brand);display:grid;place-items:center;font-size:12px;font-weight:700}.board-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:600}.board-score{font-weight:700;font-size:15px;text-align:right}.board-score small{display:block;font-size:10px;color:var(--muted);font-weight:400}.question-stem{font-size:24px;font-weight:600;line-height:1.55;overflow-wrap:anywhere;margin:18px 0 24px}.question-stem br{line-height:1.7}.question-media{max-width:100%;max-height:370px;object-fit:contain;display:block;border-radius:10px;margin:14px auto;background:#f7f5f3}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choices.long{grid-template-columns:1fr}.choice{position:relative;width:100%;display:flex;align-items:flex-start;gap:12px;text-align:left;justify-content:flex-start;min-height:75px;padding:18px;border-radius:12px;font-weight:450;font-size:17px;line-height:1.5;overflow-wrap:anywhere;min-width:0;opacity:1!important}.choice .badge{flex-shrink:0;width:27px;height:27px;display:grid;place-items:center;border:1px solid #e3dce0;border-radius:7px;font-size:12px;font-weight:700}.choice .choice-text{flex:1;min-width:0}.choice.selected{background:#f4ebef;border:2px solid var(--brand);padding:17px}.choice.correct{border-color:var(--green);background:#edf6f0}.choice.correct .badge{background:var(--green);border-color:var(--green);color:#fff}.choice.incorrect{border-color:var(--red);background:#fbf0f1}.choice.medium{font-size:16px}.choice.lengthy{font-size:15px}.vote-bar{height:5px;background:#eae5e8;border-radius:6px;overflow:hidden;margin-top:12px}.vote-bar>div{height:100%;background:#9d6c83}.choice.correct .vote-bar>div{background:var(--green)}.vote-percent{font-size:16px;font-weight:700;color:var(--brand);margin-left:auto}.tf-row{border:1px solid var(--border);border-radius:12px;padding:17px;margin-bottom:12px}.tf-statement{font-size:17px;line-height:1.5;overflow-wrap:anywhere;margin-bottom:14px}.tf-buttons{display:flex;gap:10px}.tf-buttons button{flex:1;min-height:43px}.tf-buttons button.selected{border:2px solid var(--brand);background:var(--pale);color:var(--brand)}.split-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:#eee9ec}.split-bar span:nth-child(1){background:#85617b}.split-bar span:nth-child(2){background:#b9a5b2}.split-bar span:nth-child(3){background:#e6dfe3}.tf-stats{display:flex;gap:15px;flex-wrap:wrap;font-size:12px;margin-top:8px;color:var(--muted)}.explanation{border-left:3px solid var(--brand);padding:15px 20px;background:#f7f1f4;border-radius:0 10px 10px 0;line-height:1.7;margin-top:24px;overflow-wrap:anywhere}.explanation strong:first-child{display:block;margin-bottom:8px}.controls{padding:18px 0 0;display:flex;gap:10px;flex-wrap:wrap}.lobby-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.qr-box{background:#fff;border-radius:14px;padding:20px;text-align:center}.qr-box img{width:200px;height:200px;image-rendering:auto}.big-code{font-size:48px;font-weight:750;letter-spacing:9px;margin:16px 0}.names{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.name-chip{padding:7px 12px;background:#f2e8ed;border-radius:20px;font-size:13px;color:var(--brand)}.student-shell{max-width:800px;margin:0 auto;padding:25px 20px}.student-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.student-shell .panel{padding:24px}.student-shell .question-stem{font-size:21px}.student-shell .choices{grid-template-columns:1fr}.student-shell .choice{font-size:17px}.student-shell .choice.lengthy{font-size:15px}.timer{padding:7px 11px;background:#fcf2de;color:var(--amber);border-radius:8px;font-size:15px;font-weight:700;white-space:nowrap}.waiting{text-align:center;padding:60px 20px}.waiting .card-icon{margin:0 auto 20px;width:60px;height:60px}.waiting h2{margin-bottom:12px}.waiting p{color:var(--muted)}.student-footer{display:flex;justify-content:space-between;gap:15px;margin-top:22px;align-items:center}.podium{display:flex;justify-content:center;align-items:flex-end;gap:16px;padding:32px 0}.podium-card{flex:1;max-width:210px;text-align:center;background:#f3ecef;border-radius:14px;padding:25px 15px 20px;min-width:0}.podium-card.first{background:var(--brand);color:#fff;padding-top:40px;padding-bottom:35px}.podium-card .place{font-size:30px;color:#ae8a4e;margin-bottom:12px}.podium-card h3{overflow-wrap:anywhere}.podium-card .points{font-size:25px;font-weight:700;margin-top:12px}.podium-card small{font-size:11px;opacity:.65}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);font-weight:600;padding:12px 9px;border-bottom:1px solid var(--border)}td{padding:15px 9px;border-bottom:1px solid #eee9ec;vertical-align:top;overflow-wrap:anywhere}td:first-child{min-width:45px}td.question{min-width:210px;max-width:520px}.review-item{margin-top:20px}.review-item summary{cursor:pointer;font-weight:600;line-height:1.5;padding:4px 0}.review-item .choices{margin-top:20px}.hidden{display:none!important}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);padding:13px 22px;border-radius:12px;background:#30232b;color:#fff;font-size:14px;max-width:90%;z-index:100;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%)}.bullet{padding-left:16px;position:relative;display:inline-block}.bullet:before{content:"•";position:absolute;left:1px}.help p{margin:12px 0}.help h3{margin-top:24px}.live-dot{width:7px;height:7px;background:#43976a;border-radius:50%;display:inline-block}.mobile-only{display:none}@media(min-width:1500px){.question-stem{font-size:28px}.room-body{padding:36px}}@media(max-width:1000px){.cards{grid-template-columns:1fr 1fr}.hero{gap:32px}.hero h1{font-size:40px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 280px}.room-body,.panel{padding:20px}.editor-grid{grid-template-columns:200px minmax(0,1fr)}.editor-main{padding:24px}.choices{grid-template-columns:1fr}.stat .value{font-size:30px}}@media(max-width:720px){h1{font-size:30px}.topbar{height:65px;padding:0 16px}.brand{font-size:17px;gap:7px}.brand span:last-child{font-size:14px}.nav{gap:5px}.nav .desktop{display:none}.container{padding:28px 18px}.hero{grid-template-columns:1fr;gap:25px;padding-bottom:15px}.hero h1{font-size:37px}.hero p{font-size:15px}.cards,.two{grid-template-columns:1fr}.editor-top{padding:14px 16px;position:relative}.editor-top .row{flex-wrap:wrap;gap:7px}.editor-grid{display:block}.question-nav{border-right:0;border-bottom:1px solid var(--border);display:flex;overflow:auto;gap:8px;padding:12px}.qnav{width:auto;min-width:65px;margin:0;align-items:center}.qnav .snippet{display:none}.question-nav>button:last-child{min-width:95px}.editor-main{padding:18px 12px}.editor-main .panel{padding:18px}.editor-top h3{font-size:14px}.edit-choice.tf{grid-template-columns:20px minmax(0,1fr) 75px 30px;gap:6px}.room-header{padding:15px 18px;flex-wrap:wrap;gap:10px}.room-header h2{font-size:17px}.dashboard-grid{grid-template-columns:1fr}.stats-grid{gap:9px}.stat{padding:14px}.stat .value{font-size:27px}.stat .label{font-size:11px}.lobby-grid{grid-template-columns:1fr}.room-body{padding:16px}.big-code{font-size:36px;letter-spacing:6px}.student-shell{padding:18px 12px}.student-shell .panel{padding:20px 16px}.student-shell .question-stem{font-size:20px}.choice{padding:15px;gap:10px}.choice.selected{padding:14px}.modal-backdrop{padding:10px}.modal-body{padding:20px}.session-row{gap:12px;flex-wrap:wrap}.podium{gap:8px}.podium-card{padding:17px 9px}.podium-card h3{font-size:13px}.podium-card .points{font-size:20px}.question-stem{font-size:22px}.mobile-only{display:block}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.brand img{border-radius:8px;flex:0 0 auto}.room-header .brand{color:#fff}.app-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px 8px;line-height:1.6}.footer-link{border:0;padding:2px 0;background:transparent;color:var(--brand);font-size:inherit;text-decoration:underline}.export-reminder{display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:9px 12px;border:1px solid #e4d3dc;border-radius:9px;background:#f5edf1;color:var(--brand-dark);font-size:13px}.export-reminder svg{flex:0 0 auto;margin-top:2px}.hero .row{flex-wrap:wrap}.inbox-page{max-width:1060px}.inbox-narrow{max-width:650px}.inbox-heading{gap:20px;margin-bottom:26px}.inbox-heading h1{margin:8px 0 10px;overflow-wrap:anywhere}.inbox-link{display:inline-block;color:var(--brand);font-weight:650}.inbox-saved-list{margin-top:15px}.inbox-saved-list .session-row{padding:14px 0;overflow-wrap:anywhere}.inbox-saved-list .session-row+.session-row{border-top:1px solid var(--border)}.inbox-filter-bar{margin:0 0 16px}.inbox-questions{display:grid;gap:14px}.inbox-question{padding:18px 22px}.inbox-question-text{margin:10px 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}.inbox-question-tools{padding-top:10px;border-top:1px solid var(--border)}.inbox-remark{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.inbox-remark-button{color:var(--muted);font-weight:500}.inbox-star{font-size:17px;color:var(--muted)}.inbox-star.is-starred{color:var(--amber);background:#fcf2de}select.inbox-status-select{width:auto;min-width:105px;padding:5px 9px;font-size:12px}.inbox-receipt{margin:22px 0}.inbox-receipt strong{display:flex;gap:8px;align-items:center;color:var(--green)}.inbox-ask h1,.inbox-share-url{overflow-wrap:anywhere}.inbox-error{color:var(--red);margin:10px 0}.inbox-error:empty{display:none}.difficulty-review{display:grid;gap:9px}.difficulty-item{border:1px solid var(--border);background:#fff;border-radius:10px}.difficulty-item summary{display:flex;align-items:center;gap:10px;padding:12px;cursor:pointer;list-style:none}.difficulty-item summary::-webkit-details-marker{display:none}.difficulty-item summary:after{content:"▸";color:var(--brand)}.difficulty-item[open] summary:after{content:"▾"}.difficulty-stem{flex:1;min-width:0;overflow-wrap:anywhere}.difficulty-accuracy{white-space:nowrap}.difficulty-breakdown{padding:0 12px 12px}.breakdown-choice{border:1px solid var(--border);border-radius:9px;padding:10px;margin-top:8px;overflow-wrap:anywhere}.breakdown-choice.correct{border-color:#b9d9c6;background:#edf6f0}.breakdown-choice.correct .vote-bar>div{background:var(--green)}.breakdown-choice .split-bar{margin-top:8px}@media(max-width:840px){.brand .brand-subtitle{display:none}}@media(max-width:480px){.topbar{height:auto;min-height:65px;gap:8px;flex-wrap:wrap;padding:10px 12px}.topbar .nav{gap:9px}.topbar .nav a{font-size:12px}.topbar .nav button{padding:8px}.inbox-question{padding:15px}.inbox-question-tools{align-items:flex-start}.difficulty-item summary{gap:7px;font-size:13px}}
