@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#20243b;--muted:#7b8198;--line:#e9eaf1;--paper:#fff;--wash:#f6f7fb;--blue:#3345d7;--blue-dark:#2637bd;--lime:#d8f78a;--green:#238365;--rose:#d85467;--lav:#eff0ff;--shadow:0 16px 48px rgba(38,48,101,.08);font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--wash);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{height:74px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:space-between;padding:0 max(30px,calc((100vw - 1240px)/2));position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:11px;font:800 17px Manrope,sans-serif;letter-spacing:-.5px}.brand-mark{width:36px;height:36px}.brand em{font-style:normal;color:var(--blue)}.bar-right{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:13px}.online-dot,.live-dot{width:8px;height:8px;border-radius:50%;background:#47bd8b;box-shadow:0 0 0 4px #e7f8f0;display:inline-block}.top-pill{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:8px 12px;border-radius:999px;background:#fff}.container{max-width:1200px;margin:0 auto;padding:44px 30px 72px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--blue)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.7px}h1{font-size:clamp(30px,4vw,42px);line-height:1.15;margin:11px 0 10px}h2{font-size:23px;margin-bottom:7px}h3{font-size:16px;margin-bottom:6px}.intro{color:var(--muted);font-size:15px;line-height:1.55;margin-bottom:28px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:20px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.form-card{padding:28px}.card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:24px}.step-label{display:inline-flex;align-items:center;gap:7px;color:#626982;font-size:12px;font-weight:700}.step-number{width:24px;height:24px;border-radius:8px;background:var(--lav);color:var(--blue);display:inline-grid;place-items:center;font-size:12px}.field{display:block;margin:18px 0}.field-label{display:block;font-weight:700;font-size:13px;margin-bottom:8px}.field-hint{font-size:12px;color:var(--muted);margin:0 0 9px}.text-input,.text-area,.select-input{width:100%;border:1px solid #e1e3ec;background:#fff;border-radius:11px;color:var(--ink);padding:13px 14px;outline:none;transition:border .15s,box-shadow .15s}.text-input:focus,.text-area:focus,.select-input:focus{border-color:#7784f1;box-shadow:0 0 0 3px #eff0ff}.text-area{min-height:105px;resize:vertical;line-height:1.5}.options-input{min-height:128px}.type-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.type-option{border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;align-items:flex-start;gap:10px;cursor:pointer;transition:.15s}.type-option:has(input:checked){border-color:#6978e8;background:#f6f7ff;box-shadow:0 0 0 2px #eff0ff}.type-option input{accent-color:var(--blue);margin-top:3px}.type-option strong{font-size:13px;display:block}.type-option small{color:var(--muted);font-size:11px;display:block;margin-top:3px}.button{border:0;border-radius:11px;padding:12px 17px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:transform .12s,background .12s}.button:active{transform:translateY(1px)}.button-primary{background:var(--blue);color:#fff;box-shadow:0 7px 18px rgba(51,69,215,.2)}.button-primary:hover{background:var(--blue-dark)}.button-light{background:#f0f1f6;color:#4d536c}.button-light:hover{background:#e7e9f0}.button-danger{background:#fff0f1;color:#af3147}.button-full{width:100%;min-height:48px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.helper-card{padding:23px}.helper-card h3{margin-top:8px}.helper-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f0f4df;font-size:19px}.helper-copy{font-size:13px;color:var(--muted);line-height:1.55}.mini-list{display:grid;gap:13px;margin-top:19px}.mini-item{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#555d75;line-height:1.4}.mini-item b{color:var(--ink)}.mini-check{width:20px;height:20px;border-radius:7px;background:#eff0ff;color:var(--blue);font-size:11px;display:grid;place-items:center;flex:none}.session-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.session-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:17px}.tag{font-size:11px;font-weight:700;border-radius:999px;padding:7px 10px;background:#f0f1f6;color:#575e76}.tag-live{background:#e7f8f0;color:#217354;display:inline-flex;gap:7px;align-items:center}.tag-closed{background:#f0f1f6;color:#74798e}.session-code{font:800 16px Manrope,sans-serif;letter-spacing:2px;color:var(--blue);background:#f2f3ff;padding:8px 12px;border-radius:9px}.session-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:19px;align-items:start}.main-column{display:grid;gap:18px}.question-card{padding:24px 26px}.question-card .question-text{font:700 23px/1.4 Manrope,sans-serif;margin:13px 0 0;letter-spacing:-.45px}.live-card{padding:22px 24px;min-height:320px}.live-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.live-card-head h2{font-size:18px}.count-chip{font-size:11px;background:#f1f2f7;border-radius:999px;padding:6px 10px;color:#60667c;font-weight:700}.people-list{display:grid;gap:8px}.person-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 13px;border:1px solid #f0f0f5;border-radius:11px}.person-name{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-answer{font-size:12px;color:#5c6279;max-width:390px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{font-size:11px;color:#9a9eb0;background:#f4f5f8;padding:6px 9px;border-radius:999px}.status.done{color:#247451;background:#e9f8f0}.empty-state{padding:42px 18px;text-align:center;color:var(--muted)}.empty-emoji{font-size:30px;margin-bottom:11px}.empty-state p{font-size:13px;line-height:1.5;max-width:320px;margin:6px auto 0}.side-stack{display:grid;gap:17px}.qr-card{padding:20px;text-align:center}.qr-card h3{font-size:15px}.qr-card .helper-copy{margin-bottom:14px}.qr-wrap{height:204px;width:204px;margin:0 auto 13px;border:1px solid var(--line);border-radius:13px;padding:8px;background:#fff;display:grid;place-items:center}.qr-wrap img{width:100%;height:100%;object-fit:contain}.join-link{display:block;font-size:11px;color:var(--muted);word-break:break-all;line-height:1.45;margin:10px auto 15px;max-width:230px}.code-tile{font:800 29px Manrope,sans-serif;letter-spacing:4px;background:#f5f6fb;border-radius:12px;padding:12px;margin:12px 0 10px}.stats-card{padding:19px}.stats-head{font-weight:700;font-size:13px;margin-bottom:13px}.stats-row{display:flex;justify-content:space-between;font-size:12px;color:#697087;margin:12px 0 7px}.stats-row b{color:var(--ink)}.meter{height:7px;background:#eff0f5;border-radius:8px;overflow:hidden}.meter span{display:block;height:100%;background:var(--blue);border-radius:8px;transition:width .35s}.response-stack{display:grid;gap:9px}.response-card{padding:14px 15px;border:1px solid #efeff5;border-radius:12px}.response-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:7px}.response-top strong{font-size:12px}.response-top time{font-size:10px;color:#999eb0}.response-body{font-size:13px;color:#424861;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:9px;margin-bottom:16px}.tab{background:transparent;border:0;padding:8px 11px;border-radius:8px;font-size:12px;color:var(--muted);font-weight:700}.tab.active{background:#f0f1ff;color:var(--blue)}.notice{border-radius:10px;background:#f5f6fc;color:#656c82;padding:12px 14px;font-size:11px;line-height:1.5;margin-top:13px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#20243b;color:#fff;padding:11px 16px;border-radius:9px;font-size:13px;box-shadow:var(--shadow);transition:.2s;z-index:20}.toast.show{opacity:1;transform:translate(-50%,0)}.student-page{min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#e9ebff 0,transparent 42%),var(--wash);display:grid;place-items:center;padding:28px 18px}.student-wrap{width:min(100%,520px)}.student-brand{justify-content:center;margin-bottom:25px}.student-card{padding:30px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.student-card h1{font-size:28px;margin-bottom:9px}.student-sub{font-size:13px;color:var(--muted);line-height:1.55}.student-question{font:700 20px/1.45 Manrope,sans-serif;letter-spacing:-.4px;margin:22px 0}.choice-list{display:grid;gap:9px}.choice-button{width:100%;text-align:left;padding:13px 15px;border-radius:11px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:13px;font-weight:600;transition:.15s}.choice-button:hover,.choice-button.selected{border-color:#7581e9;background:#f5f6ff;color:var(--blue)}.success-mark{height:54px;width:54px;border-radius:18px;background:#e8f8ef;display:grid;place-items:center;color:#21815e;font-size:27px;margin:7px 0 17px}.student-code{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:1px;text-transform:uppercase}.error-line{color:#b72f49;font-size:12px;margin:10px 0 0}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.boot{display:flex;min-height:100vh;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:13px}.spinner{height:18px;width:18px;border:2px solid #dfe1ec;border-top-color:var(--blue);border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.footnote{text-align:center;color:#9a9eb0;font-size:11px;margin:17px auto 0;line-height:1.5}.session-summary{color:var(--muted);font-size:13px}@media(max-width:900px){.session-layout{grid-template-columns:minmax(0,1fr) 270px}.qr-wrap{width:184px;height:184px}.dashboard-grid{grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr)}}@media(max-width:700px){.topbar{height:64px;padding:0 18px}.top-pill{font-size:11px;padding:7px 9px}.container{padding:30px 16px 52px}.dashboard-grid,.session-layout{grid-template-columns:1fr}.helper-card{display:none}.form-card{padding:21px}.session-head{display:block}.session-head>.button-row{margin-top:15px}.side-stack{grid-row:1}.qr-card{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;text-align:left;align-items:center}.qr-card h3,.qr-card .helper-copy,.qr-card .qr-wrap,.qr-card .join-link,.qr-card .code-tile,.qr-card .button-row,.qr-card .notice{grid-column:1/-1}.qr-card h3{margin:0}.qr-card .qr-wrap{justify-self:center}.qr-card .button-row .button{flex:1}.question-card,.live-card{padding:20px}.question-card .question-text{font-size:20px}.person-row{grid-template-columns:minmax(0,1fr) auto}.person-answer{grid-column:1/-1;grid-row:2;white-space:normal;max-width:none}.person-row .status{grid-column:2;grid-row:1}.type-picker{grid-template-columns:1fr}.student-card{padding:24px 20px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* CDA visual system for Tickets de salida. */
:root{--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--paper:#fff;--wash:#f8fafc;--blue:#f24405;--blue-dark:#d83d05;--lime:#ffe7db;--green:#238365;--rose:#d85467;--lav:#fff0e9;--shadow:0 2px 8px rgba(15,23,42,.045);font-family:'Poppins',system-ui,sans-serif;color:var(--ink);background:var(--wash)}
h1,h2,h3,.brand,.session-code,.question-card .question-text,.student-question,.code-tile{font-family:'Poppins',system-ui,sans-serif;letter-spacing:-.25px}
.topbar{height:64px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);padding-inline:max(24px,calc((100vw - 1216px)/2));backdrop-filter:blur(12px)}
.brand{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:600;line-height:1.25;letter-spacing:0;color:#475569}.brand-mark{width:54px;height:32px;object-fit:contain}.brand em{color:var(--blue)}.brand small{display:block;margin-top:3px;color:var(--blue);font-size:10px;font-weight:600;letter-spacing:.2px}
.bar-right{font-size:12px}.back-link{color:#475569;font-size:12px;font-weight:500;margin-right:6px}.back-link:hover{color:var(--blue)}.top-pill{border-radius:5px;border-color:var(--line);padding:7px 10px}
.container{max-width:1216px;padding:32px 32px 64px}.eyebrow{color:var(--blue);font-size:11px;letter-spacing:1.2px}.intro{font-size:15px;line-height:1.7;color:#475569;margin-bottom:26px}h1{font-size:clamp(30px,3.1vw,38px);font-weight:600;line-height:1.2;letter-spacing:-.6px}h2{font-size:21px;line-height:1.35;font-weight:600;letter-spacing:-.35px}h3{font-size:16px;line-height:1.4;font-weight:600;letter-spacing:-.2px}
.card{border-radius:8px;border-color:var(--line);box-shadow:0 1px 3px rgba(15,23,42,.04)}.form-card{padding:26px}.helper-card,.qr-card,.stats-card,.question-card,.live-card{border-radius:8px}.field-label{font-size:13px;font-weight:600}.field-hint{font-size:12px;line-height:1.6;color:#64748b}.text-input,.text-area,.select-input{border-color:var(--line);border-radius:5px;padding:12px 14px;color:var(--ink)}.text-input:focus,.text-area:focus,.select-input:focus{border-color:#f24405;box-shadow:0 0 0 3px #f2440518}
.button{border-radius:5px;box-shadow:none}.button-primary{background:#f24405;color:#fff}.button-primary:hover{background:#d83d05}.button-light{background:#f1f5f9;color:#475569}.button-light:hover{background:#e2e8f0}.step-number,.mini-check{background:#fff0e9;color:#f24405;border-radius:5px}.step-number{width:24px;height:24px}.type-option{border-radius:6px}.type-option:has(input:checked){border-color:#f24405;background:#fff8f4;box-shadow:0 0 0 1px #f2440520}.type-option input{accent-color:#f24405}.helper-icon{border-radius:6px;background:#fff0e9;color:#f24405}.mini-check{border-radius:50%}.tag{border-radius:5px}.tag-live{background:#e7f8f0;color:#217354}.session-code{color:#f24405;background:#fff0e9;border-radius:5px}.code-tile{background:#f1f5f9;border-radius:6px}.meter span{background:#f24405}.tab{border-radius:5px}.tab.active{background:#fff0e9;color:#f24405}.notice{border-radius:6px;background:#f8fafc;border:1px solid var(--line);color:#475569}.recent-item{border-radius:6px;box-shadow:none}.recent-item:hover{border-color:#f2440580}.recent-badge{background:#fff0e9;color:#f24405;border-radius:50%}
.student-page{background:radial-gradient(ellipse at 100% 0,#f2440510,transparent 50%),var(--wash)}.student-card{border-radius:8px;box-shadow:0 2px 10px rgba(15,23,42,.05)}.choice-button{border-radius:6px}.choice-button:hover,.choice-button.selected{border-color:#f24405;background:#fff8f4;color:#d83d05}.success-mark{border-radius:50%;background:#e7f8f0}.toast{border-radius:6px;background:#0f172a}.spinner{border-top-color:#f24405}
@media(max-width:700px){.topbar{height:60px;padding-inline:16px}.brand-mark{width:45px;height:28px}.brand small{font-size:9px}.back-link{font-size:11px}.top-pill{font-size:10px}.container{padding:27px 18px 48px}.form-card{padding:21px}.student-card{padding:24px 20px}}
.topbar a{text-decoration:none}.back-link{text-decoration:none}
.live-results-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px;color:var(--ink);font-size:13px}.live-results-summary span{color:var(--muted);font-size:11px}.live-result-list{display:grid;gap:13px}.live-result-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;color:var(--secondary);font-size:12px}.live-result-label b{color:var(--ink)}.live-result .meter span{background:#f24405}.live-participants{margin-top:20px;border-top:1px solid var(--line);padding-top:13px}.live-participants summary{cursor:pointer;font-size:12px;font-weight:600;color:#475569;margin-bottom:12px}.live-participants[open] summary{margin-bottom:14px}
