:root{--bg:#070b12;--panel:#101823;--panel2:#151f2c;--text:#f7f8fb;--muted:#91a0b2;--line:#233142;--purple:#7c4dff;--blue:#1687ff;--danger:#ff5574;--success:#35d39a;--radius:22px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#102031 0,#070b12 45%,#05070b 100%);color:var(--text);min-height:100vh}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{max-width:980px;margin:0 auto;min-height:100vh;padding:0 18px 96px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:30;background:linear-gradient(180deg,rgba(7,11,18,.98) 75%,rgba(7,11,18,0));padding-top:env(safe-area-inset-top)}.brand-wrap{display:inline-flex;align-items:center;gap:6px}.brand-logo{display:block;width:184px;height:auto;max-height:42px;object-fit:contain}.brand-logo-small{width:145px;max-height:32px}.app-version{font-size:10px;color:#7f8a9a;white-space:nowrap}.top-actions{display:flex;gap:10px}.top-actions a{width:42px;height:42px;border:1px solid var(--line);display:grid;place-items:center;border-radius:50%;font-size:23px;background:#0e1620}.hero{padding:10px 0 18px}.hero h1{font-size:clamp(26px,6vw,42px);margin:0 0 8px}.muted{color:var(--muted)}.search-box{display:flex;gap:10px;background:#151f2c;border:1px solid #2a394b;border-radius:18px;padding:12px 14px;margin:4px 0 20px}.search-box input{flex:1;background:transparent;border:0;outline:0;color:var(--text);font-size:16px}.questions-grid{columns:2 280px;column-gap:12px}.question-card{display:flex;min-height:174px;break-inside:avoid;flex-direction:column;justify-content:space-between;padding:16px;border-radius:20px;margin:0 0 12px;box-shadow:0 12px 25px rgba(0,0,0,.22);color:#071018}.card-meta,.card-stats{display:flex;justify-content:space-between;gap:10px;font-size:12px}.card-question{font-size:20px;line-height:1.18;font-weight:780;padding:16px 0}.card-stats{justify-content:flex-start;font-weight:700;font-size:14px}.card-sunset{background:linear-gradient(135deg,#ffd58c,#ff8fa8 55%,#ff42a5)}.card-violet{background:linear-gradient(135deg,#3f7cff,#7d46ff 55%,#bb4cff);color:#fff}.card-ocean{background:linear-gradient(135deg,#60d5ff,#167cff 70%);color:#061321}.card-mint{background:linear-gradient(135deg,#b2ffd9,#45e2b7)}.card-gold{background:linear-gradient(135deg,#fff2a9,#ffc95c)}.card-night{background:linear-gradient(135deg,#202757,#4f2a93 65%,#b239b3);color:#fff}.card-rose{background:linear-gradient(135deg,#ff93c4,#ff5fa8 60%,#7568ff)}.card-aqua{background:linear-gradient(135deg,#95ffe5,#4ee2d1)}.card-sky{background:linear-gradient(135deg,#b7efff,#53b9ff)}.card-graphite{background:linear-gradient(135deg,#2f3744,#121924);color:#fff}.bottom-nav{position:fixed;z-index:40;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,760px);height:76px;padding:8px 12px max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:rgba(8,13,20,.96);border-top:1px solid var(--line);backdrop-filter:blur(18px)}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#8fa0b3}.nav-item span{font-size:24px}.nav-item small{font-size:10px}.nav-item.active{color:#9a72ff}.nav-create span{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#7956ff,#447eff);color:#fff;font-size:32px}.panel{background:linear-gradient(180deg,#121b27,#0e1620);border:1px solid var(--line);border-radius:22px;padding:18px;margin-bottom:16px}.form-stack{display:grid;gap:14px}.form-stack label,.form-grid label{display:grid;gap:7px;color:#c8d2df;font-weight:650}.form-stack input,.form-stack textarea,.form-stack select,.form-grid input,.form-grid textarea,.form-grid select{width:100%;border:1px solid #2a394b;background:#111b27;color:#fff;border-radius:14px;padding:13px;outline:0}.form-stack textarea{min-height:140px;resize:vertical}.primary-btn,.secondary-btn,.danger-btn{border:0;border-radius:14px;padding:13px 16px;display:inline-flex;justify-content:center;align-items:center;font-weight:750}.primary-btn{background:linear-gradient(135deg,#8458ff,#6f45eb);color:#fff}.secondary-btn{background:#1a2634;color:#e9eef5;border:1px solid #2e3b4a}.danger-btn{background:#501f2c;color:#ffdbe2}.style-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.style-picker label{position:relative}.style-picker input{position:absolute;opacity:0}.swatch{height:56px;border-radius:15px;border:2px solid transparent;display:block}.style-picker input:checked+.swatch{border-color:#fff;box-shadow:0 0 0 3px #8756ff}.question-detail{padding:18px;border-radius:24px;margin-bottom:18px}.responses-head{display:flex;justify-content:space-between;align-items:center}.response-card{background:#111a25;border:1px solid #263546;border-radius:18px;padding:15px;margin:10px 0}.response-card.best{border-color:#e5a900;box-shadow:0 0 0 1px #9a6e00 inset}.response-meta{display:flex;gap:10px;align-items:center;color:#a8b5c4;font-size:13px}.best-badge{margin-left:auto;border:1px solid #e5a900;color:#ffd449;border-radius:99px;padding:5px 9px;font-size:11px}.response-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.inline-form{display:inline}.link-btn{background:none;border:0;color:inherit;padding:0}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.list-card{background:#101923;border:1px solid var(--line);border-radius:16px;padding:14px;margin:8px 0}.chat-window{display:grid;gap:10px;max-height:58vh;overflow:auto;padding:8px}.chat-msg{max-width:80%;background:#182433;border-radius:16px;padding:10px 12px}.chat-msg.mine{justify-self:end;background:#5f43c5}.empty{padding:30px 10px;text-align:center;color:var(--muted)}.toast{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:100;background:#182432;border:1px solid #2b3b4d;padding:12px 16px;border-radius:12px;box-shadow:0 12px 30px #0008}.toast-success{border-color:#2d936f}.toast-error{border-color:#a63c55}.toast-hide{opacity:0;transition:.4s;pointer-events:none}.landing{max-width:900px;margin:0 auto;padding:50px 18px}.community-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:28px}.community-link{padding:20px;border:1px solid var(--line);border-radius:20px;background:#111a25}.auth-card,.install-card{width:min(92vw,620px);margin:7vh auto;background:#101923;border:1px solid var(--line);border-radius:24px;padding:24px}.auth-card h1,.install-card h1{margin-top:18px}.auth-links{display:flex;gap:14px;justify-content:space-between;margin-top:18px;color:#9eb1c8}.notice{padding:12px;border-radius:12px;margin:12px 0}.notice.success{background:#173b31}.notice.error{background:#45202b}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .wide,.wide{grid-column:1/-1}.form-grid hr{width:100%;border:0;border-top:1px solid var(--line)}.admin-body{background:#080c12}.admin-wrap{max-width:1180px;margin:0 auto;padding:0 18px 50px}.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:72px;border-bottom:1px solid var(--line);margin-bottom:22px}.admin-topbar nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.admin-topbar nav a{color:#96a5b7;padding:8px}.admin-topbar nav a.active{color:#fff}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.stat{background:#101923;border:1px solid var(--line);border-radius:18px;padding:18px}.stat strong{font-size:28px;display:block}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{text-align:left;padding:11px;border-bottom:1px solid var(--line);white-space:nowrap}.update-drop{border:1px dashed #46566a;border-radius:16px;padding:20px}.install-body{padding:12px}.install-card{max-width:720px}.helper{font-size:12px;color:var(--muted)}
@media(max-width:620px){.app-shell{padding-left:12px;padding-right:12px}.brand-logo{width:150px}.questions-grid{columns:2 145px;column-gap:9px}.question-card{min-height:155px;padding:13px;margin-bottom:9px}.card-question{font-size:16px}.topbar{height:68px}.top-actions a{width:36px;height:36px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.admin-topbar{align-items:flex-start;flex-direction:column;padding:12px 0}.style-picker{grid-template-columns:repeat(5,1fr)}.auth-card{margin:2vh auto;padding:20px}}
@media(max-width:360px){.questions-grid{columns:1}.question-card{min-height:145px}.bottom-nav{height:70px}.nav-item small{display:none}}
.admin-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.admin-title-row h1{margin-bottom:6px}.diag-actions{display:flex;gap:10px;flex-wrap:wrap}.diag-summary{border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin:0 0 16px}.diag-summary.diag-ok{background:#12352c;border-color:#286c57}.diag-summary.diag-warn{background:#3a3016;border-color:#816720}.diag-summary.diag-fail{background:#40202a;border-color:#8a3a51}.diag-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-bottom:16px}.diag-card{background:#101923;border:1px solid var(--line);border-left-width:4px;border-radius:16px;padding:14px}.diag-card.diag-ok{border-left-color:#35d39a}.diag-card.diag-warn{border-left-color:#f2c14e}.diag-card.diag-fail{border-left-color:#ff5574}.diag-card.diag-info{border-left-color:#5ca7ff}.diag-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.diag-card-head span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.diag-card p{margin:10px 0 6px}.diag-card small{color:var(--muted);line-height:1.45}.panel code,.data-table code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#cbd5ff}
@media(max-width:700px){.admin-title-row{flex-direction:column}.diag-actions{width:100%}.diag-actions a{flex:1}.diag-grid{grid-template-columns:1fr}}

.verification-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.method-card{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:10px!important;border:1px solid var(--line);background:#0f1823;border-radius:16px;padding:14px}.method-card input{width:auto!important;margin-top:3px}.method-card strong{display:block;color:#fff}.method-card small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.verification-panel{border:1px solid var(--line);border-radius:18px;padding:16px;background:#0d151f}.verification-panel[hidden]{display:none}.quiz-question{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.quiz-question:first-child{border-top:0;padding-top:0;margin-top:0}.choice-row{display:grid;grid-template-columns:38px 1fr 120px;gap:8px;align-items:center;margin-top:8px}.choice-row>span{width:32px;height:32px;border-radius:10px;background:#1a2634;display:grid;place-items:center;font-weight:800}.choice-row label{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:7px!important;font-size:12px;font-weight:500!important}.choice-row label input{width:auto!important}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.status-active{background:#153b31;color:#82f0c4}.status-paused{background:#3b3015;color:#ffd86b}.action-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.action-row form{margin:0}.compact-btn{padding:8px 10px;border-radius:10px;font-size:12px}.danger-zone{border-color:#633041;background:#1a1015}.paused-page{max-width:620px;margin:15vh auto;padding:28px;text-align:center;background:#101923;border:1px solid var(--line);border-radius:24px}.mcq-list{display:grid;gap:9px;margin-top:10px}.mcq-option{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:10px!important;background:#111b27;border:1px solid #2a394b;border-radius:14px;padding:12px;font-weight:500!important}.mcq-option input{width:auto!important;margin-top:3px}.domain-chip{display:inline-flex;padding:7px 10px;border-radius:999px;background:#172538;border:1px solid #2d4662;color:#bcd9ff;font-weight:700}
@media(max-width:700px){.verification-methods{grid-template-columns:1fr}.choice-row{grid-template-columns:32px 1fr}.choice-row label{grid-column:2}.data-table .action-row{min-width:220px}}

.code-input{font-size:30px!important;letter-spacing:.35em;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}.resend-form{margin-top:14px}.resend-form .secondary-btn{width:100%}.auth-card .helper{display:block;margin-top:4px}.mail-security-note{border-left:3px solid #5ca7ff;padding-left:12px;color:var(--muted)}

.physical-path{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;background:#0a1119;border:1px solid var(--line);padding:12px 14px;border-radius:12px;color:#dce6ff}.diag-actions form{margin:0}.diag-actions form .primary-btn{height:100%}

/* Agente IA */
.ai-answer{margin-top:18px;padding:18px;border:1px solid #33415f;border-radius:16px;background:#0b1321;line-height:1.6}.ai-answer h3{margin-top:0}.ai-answer div{white-space:normal}.primary-btn:disabled,.secondary-btn:disabled,button:disabled{opacity:.48;cursor:not-allowed}.panel code{overflow-wrap:anywhere}.admin-topbar nav{flex-wrap:wrap}


/* Portada pública */
.public-landing{min-height:100vh;max-width:1280px;margin:0 auto;padding:22px clamp(18px,4vw,56px) 28px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.public-landing::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 78% 22%,rgba(124,77,255,.11),transparent 28%),radial-gradient(circle at 12% 78%,rgba(255,224,0,.07),transparent 26%);z-index:-1}
.public-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;border-bottom:1px solid rgba(255,255,255,.08)}
.public-logo .brand-logo{width:210px;max-height:36px}.public-logo .app-version{display:none}.public-trust{color:#8f9bad;font-size:12px;letter-spacing:.02em}
.public-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:clamp(34px,6vw,86px);align-items:center;flex:1;padding:clamp(42px,8vh,90px) 0}
.public-copy{position:relative;max-width:760px}.public-eyebrow{font-size:12px;letter-spacing:.18em;color:#b5becb;text-transform:uppercase;margin:0 0 24px}.public-copy h1{font-size:clamp(50px,7vw,104px);line-height:.92;letter-spacing:-.055em;margin:0;font-weight:780;display:grid;gap:8px}.public-copy h1 span{display:block}.public-copy h1 em{display:block;color:#ffe600;font-family:Georgia,"Times New Roman",serif;font-weight:500;font-style:italic;letter-spacing:-.06em}.public-description{font-size:clamp(18px,2.2vw,27px);line-height:1.42;color:#c6cfda;max-width:680px;margin:28px 0 0}.typing-line{min-height:28px;color:#fff;margin:22px 0 0;font-size:15px;letter-spacing:.03em}.typing-caret{display:inline-block;width:2px;height:1.1em;background:#ffe600;margin-left:3px;vertical-align:-2px;animation:caretBlink .8s step-end infinite}
.thinking-orb{width:68px;height:68px;position:relative;margin-top:34px;filter:drop-shadow(0 0 24px rgba(99,112,255,.35))}.thinking-orb span{position:absolute;width:16px;height:16px;border-radius:50%;left:26px;top:26px;background:linear-gradient(135deg,#1687ff,#b85cff);transform-origin:8px 8px;animation:orbPulse 2.8s ease-in-out infinite}.thinking-orb span:nth-child(1){transform:translate(0,-25px);animation-delay:-.1s}.thinking-orb span:nth-child(2){transform:translate(18px,-18px);animation-delay:-.35s}.thinking-orb span:nth-child(3){transform:translate(25px,0);animation-delay:-.6s}.thinking-orb span:nth-child(4){transform:translate(18px,18px);animation-delay:-.85s}.thinking-orb span:nth-child(5){transform:translate(0,25px);animation-delay:-1.1s}.thinking-orb span:nth-child(6){transform:translate(-18px,18px);animation-delay:-1.35s}.thinking-orb span:nth-child(7){transform:translate(-25px,0);animation-delay:-1.6s}.thinking-orb span:nth-child(8){transform:translate(-18px,-18px);animation-delay:-1.85s}.thinking-orb span:nth-child(9){transform:scale(.8);background:#ffe600;animation-delay:-2.1s}
.landing-auth{background:rgba(14,22,32,.78);border:1px solid rgba(160,178,204,.18);box-shadow:0 28px 80px rgba(0,0,0,.34);backdrop-filter:blur(18px);border-radius:28px;padding:20px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#0a1018;border-radius:16px;padding:5px;margin-bottom:18px}.auth-tabs button{border:0;background:transparent;color:#8f9bad;border-radius:12px;padding:11px;font-weight:760}.auth-tabs button.active{background:#192433;color:#fff;box-shadow:0 3px 14px rgba(0,0,0,.2)}.landing-form{display:grid;gap:13px}.landing-form[hidden]{display:none}.landing-form label{display:grid;gap:7px;font-size:13px;color:#c9d1dc;font-weight:700}.landing-form input{width:100%;border:1px solid #2b394a;background:#0b121b;color:#fff;border-radius:14px;padding:13px 14px;outline:0}.landing-form input:focus{border-color:#7d63ff;box-shadow:0 0 0 3px rgba(125,99,255,.12)}.landing-form small,.landing-helper{font-size:12px;color:#8f9bad;margin:0;line-height:1.45}.landing-primary{border:0;border-radius:14px;padding:14px 18px;font-weight:850;background:#ffe600;color:#101010;box-shadow:0 10px 28px rgba(255,230,0,.16)}.landing-primary:hover{transform:translateY(-1px)}.forgot-link{text-align:center;color:#b8c5d4;font-size:13px}.forgot-link.is-disabled{opacity:.45;pointer-events:none}.auth-switch-copy{text-align:center;color:#8f9bad;font-size:13px;margin:2px 0 0}.auth-switch-copy button{border:0;background:none;color:#ffe600;font-weight:800;padding:0}.landing-verification{display:grid;gap:12px}.landing-verification-note{border:1px solid #2d4662;background:#101c2a;border-radius:14px;padding:12px}.landing-verification-note strong{color:#cce2ff}.landing-verification-note p{margin:5px 0 0;color:#95a8bc;font-size:12px}.landing-quiz{border:1px solid #28364a;border-radius:15px;padding:12px;margin:0;display:grid;gap:8px}.landing-quiz legend{padding:0 6px;font-size:13px;font-weight:800;color:#fff}.landing-choice{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;background:#0b131e;border:1px solid #223044;border-radius:12px;padding:9px!important;font-weight:500!important}.landing-choice input{width:auto!important;margin-top:2px}.landing-choice span{font-size:12px;line-height:1.35}.error-text{color:#ff8da2}.public-footer{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid rgba(255,255,255,.08);padding-top:18px;color:#707d8e;font-size:12px}.public-footer a{color:#aeb9c8}.landing-animated .public-eyebrow{animation:fadeUp .65s both}.landing-animated .public-copy h1 span{animation:fadeUp .75s .08s both}.landing-animated .public-copy h1 em{animation:fadeSoft .9s .22s both}.landing-animated .public-description{animation:fadeUp .8s .32s both}.landing-animated .landing-auth{animation:fadeSoft .75s .16s both}
.landing-admin-toggles{display:grid;gap:10px;align-content:start}.toggle-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px!important;padding:12px;border:1px solid var(--line);border-radius:14px;background:#0f1823}.toggle-row input{width:auto!important}.brand-assets-preview{display:flex;align-items:flex-end;gap:34px;flex-wrap:wrap}.brand-assets-preview>div{display:grid;gap:8px}.brand-assets-preview img{max-width:230px;height:auto}.brand-assets-preview .brand-icon-preview{width:72px}.brand-assets-preview small{color:var(--muted)}
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes fadeSoft{from{opacity:0}to{opacity:1}}@keyframes caretBlink{50%{opacity:0}}@keyframes orbPulse{0%,100%{opacity:.38;filter:saturate(.8)}50%{opacity:1;filter:saturate(1.35)}}
@media(max-width:900px){.public-layout{grid-template-columns:1fr;gap:34px;padding-top:46px}.public-copy{max-width:720px}.landing-auth{max-width:620px;width:100%;margin:0 auto}.public-trust{display:none}.thinking-orb{margin-top:24px}.public-copy h1{font-size:clamp(48px,12vw,82px)}}
@media(max-width:560px){.public-landing{padding:14px 14px 22px}.public-nav{min-height:58px}.public-logo .brand-logo{width:172px}.public-layout{padding:32px 0 40px}.public-eyebrow{font-size:10px;margin-bottom:17px}.public-copy h1{font-size:clamp(44px,14vw,68px)}.public-description{font-size:17px;margin-top:20px}.typing-line{font-size:13px;margin-top:18px}.thinking-orb{width:54px;height:54px;transform:scale(.82);transform-origin:left top;margin-bottom:-8px}.landing-auth{padding:15px;border-radius:22px}.public-footer{flex-direction:column;align-items:flex-start}.landing-quiz{padding:10px}.landing-choice{padding:8px!important}}
@media(prefers-reduced-motion:reduce){.landing-animated *,.thinking-orb span,.typing-caret{animation:none!important;transition:none!important}.landing-primary:hover{transform:none}}

/* v0.1.11 · portada y preguntas demo */
.public-mark{width:44px;height:44px;object-fit:contain;border-radius:12px;filter:drop-shadow(0 6px 18px rgba(255,230,0,.14))}
.thinking-orb{margin-left:auto;margin-right:auto}
.typing-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
.demo-module-link .admin-title-row{align-items:center}.demo-admin-list{display:grid;gap:16px}.demo-admin-card{border:1px solid var(--line);background:#0d1621;border-radius:18px;padding:16px;display:grid;gap:12px}.demo-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.demo-replies-edit{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:12px}.demo-reply-edit{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px;align-items:end}.demo-reply-edit label{display:grid;gap:6px}.demo-delete-form{display:flex;justify-content:flex-end;margin-top:-2px}
@media(max-width:700px){.typing-admin-grid{grid-template-columns:1fr}.demo-reply-edit{grid-template-columns:1fr}.demo-card-head{align-items:flex-start;flex-direction:column}.public-mark{width:38px;height:38px}.thinking-orb{transform-origin:center top!important}}


/* v0.1.12 · iconos y ayuda de instalación PWA */
.top-actions a{overflow:hidden}.top-actions a img{width:30px;height:30px;object-fit:contain;display:block}.bottom-nav .nav-item span{width:34px;height:34px;display:grid;place-items:center}.bottom-nav .nav-item span img{width:32px;height:32px;object-fit:contain;display:block}.bottom-nav .nav-create span{width:52px;height:52px;background:transparent}.bottom-nav .nav-create span img{width:52px;height:52px}.bottom-nav .nav-item.active span img{filter:drop-shadow(0 0 8px rgba(129,83,255,.42));transform:translateY(-1px)}.card-stats span{display:inline-flex;align-items:center;gap:4px}.card-stats img{width:18px;height:18px;object-fit:contain}.explore-search>span{display:grid;place-items:center}.explore-search>span img{width:22px;height:22px;object-fit:contain}
.pwa-install-nudge{position:fixed;z-index:75;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(94vw,620px);display:grid;grid-template-columns:42px minmax(0,1fr) auto 28px;align-items:center;gap:10px;padding:10px 12px;background:rgba(12,20,31,.96);border:1px solid #2a3c52;border-radius:18px;box-shadow:0 18px 46px rgba(0,0,0,.5);backdrop-filter:blur(18px)}.pwa-install-nudge[hidden]{display:none}.pwa-install-nudge>img{width:42px;height:42px;border-radius:11px}.pwa-install-copy{display:grid;gap:2px;min-width:0}.pwa-install-copy strong{font-size:14px}.pwa-install-copy small{font-size:11px;line-height:1.28;color:#93a4b7}.pwa-install-main{border:0;border-radius:12px;padding:9px 12px;background:linear-gradient(135deg,#6f4fff,#8f5dff);color:#fff;font-size:12px;font-weight:800;white-space:nowrap}.pwa-install-close,.pwa-modal-close{border:0;background:transparent;color:#aab7c7;font-size:24px;line-height:1}.pwa-install-modal{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:18px}.pwa-install-modal[hidden]{display:none}.pwa-install-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(10px)}.pwa-install-dialog{position:relative;z-index:1;width:min(96vw,760px);max-height:min(90vh,920px);overflow:auto;background:#0c1420;border:1px solid #2c3a50;border-radius:24px;padding:18px;box-shadow:0 30px 90px #000b}.pwa-modal-close{position:sticky;top:0;float:right;z-index:2;width:40px;height:40px;border-radius:50%;background:#172233;color:#fff;font-size:28px}.pwa-help-head{display:flex;align-items:center;gap:12px;padding-right:46px;margin:2px 0 14px}.pwa-help-head img{width:54px;height:54px;border-radius:14px}.pwa-help-head div{display:grid;gap:3px}.pwa-help-head strong{font-size:20px}.pwa-help-head small{color:#8ea0b6}.pwa-ios-guide{display:block;width:100%;height:auto;border-radius:16px;background:#070b12}.pwa-help-note{color:#aebaca;font-size:13px;line-height:1.5;margin:14px 0}.pwa-steps{display:grid;gap:12px;margin:18px 0;padding-left:24px;color:#eaf0f7}.pwa-steps li{padding-left:4px;line-height:1.45}.pwa-legacy-switch{width:100%}.pwa-modal-open{overflow:hidden}
@media(max-width:560px){.pwa-install-nudge{grid-template-columns:38px minmax(0,1fr) auto 24px;gap:8px;padding:9px 10px}.pwa-install-nudge>img{width:38px;height:38px}.pwa-install-copy small{display:none}.pwa-install-main{padding:8px 10px}.pwa-install-dialog{padding:13px;border-radius:20px}.pwa-help-head strong{font-size:17px}.pwa-help-head img{width:46px;height:46px}.bottom-nav .nav-item span{width:31px;height:31px}.bottom-nav .nav-item span img{width:29px;height:29px}.bottom-nav .nav-create span,.bottom-nav .nav-create span img{width:48px;height:48px}}

/* v0.1.13 · header limpio, texto de comunidad, pull-to-refresh y Push */
.top-actions{align-items:center}.top-app-mark{width:42px;height:42px;display:grid;place-items:center}.top-app-mark img{width:40px;height:40px;object-fit:contain;border-radius:12px}.community-hero{padding:8px 0 18px}.community-hero h1{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0;font-size:clamp(26px,6vw,42px)}.community-name{white-space:nowrap}.community-typing{font-size:clamp(13px,2.2vw,17px);font-weight:500;color:#9bb2ca;letter-spacing:.01em;min-width:1ch}.community-caret{display:inline-block;width:2px;height:1em;background:#ffe600;margin-left:-8px;vertical-align:-2px;animation:caretBlink .8s step-end infinite}.icon-action{gap:7px}.icon-action img,.inline-stat img{width:20px;height:20px;object-fit:contain}.inline-stat{display:inline-flex;align-items:center;gap:5px}.card-stats img{width:19px;height:19px}
.pull-refresh{position:fixed;z-index:65;left:50%;top:calc(env(safe-area-inset-top) - 62px);transform:translate(-50%,0);display:flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:#111b27;border:1px solid #2a394b;color:#aebdcd;box-shadow:0 10px 28px #0007;transition:transform .16s ease;pointer-events:none}.pull-refresh span{font-size:18px}.pull-refresh small{font-size:11px;font-weight:750}.pull-refresh.ready{color:#ffe600;border-color:#5a5560}.pull-refresh.refreshing span{animation:pushSpin .7s linear infinite}@keyframes pushSpin{to{transform:rotate(360deg)}}
.push-user-box{display:grid;gap:10px}.push-admin-actions{display:grid;grid-template-columns:minmax(180px,.45fr) minmax(0,1fr);gap:16px;align-items:start}.push-manual-form textarea{min-height:96px}.physical-path{display:block;padding:10px 12px;background:#08111a;border:1px solid #24364a;border-radius:12px;overflow-wrap:anywhere;white-space:normal}
@media(max-width:620px){.top-app-mark{width:36px;height:36px}.top-app-mark img{width:34px;height:34px}.community-hero h1{gap:8px}.community-typing{font-size:12px}.community-caret{height:.9em}.push-admin-actions{grid-template-columns:1fr}}

/* v0.1.14 · encuestas, Push con IA/destinatario e iconos transparentes */
.community-caret{height:clamp(12px,2.2vw,16px);width:1.5px;margin-left:-8px;transform:translateY(1px)}
.card-stats img,.inline-stat img,.icon-action img{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.content-badge{display:inline-flex;align-self:flex-start;margin-top:10px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.24);border:1px solid rgba(0,0,0,.12);font-size:11px;font-weight:800;letter-spacing:.02em}.card-violet .content-badge,.card-night .content-badge,.card-graphite .content-badge{border-color:rgba(255,255,255,.25);background:rgba(0,0,0,.18)}
.poll-vote-stat{font-size:12px;white-space:nowrap}.create-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.create-choice-card{display:grid;gap:8px;min-height:150px;align-content:center}.create-choice-card strong{font-size:26px}.create-choice-card span{color:#9fb0c3;line-height:1.45}.poll-create-options{display:grid;gap:12px}.poll-create-options label{display:grid;gap:6px}.poll-create-options input{width:100%;border:1px solid #2a394b;background:#111b27;color:#fff;border-radius:14px;padding:13px;outline:0}
.poll-panel{margin-top:8px}.poll-form{display:grid;gap:10px}.poll-option{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;border:1px solid #2a394b;background:#0d1621;border-radius:15px;padding:10px 12px;overflow:hidden}.poll-option.selected{border-color:#8662ff;box-shadow:0 0 0 1px #8662ff inset}.poll-option input{width:18px;height:18px}.poll-option-copy{position:relative;display:grid;gap:4px;z-index:1}.poll-option-copy small{color:#91a0b2}.poll-option-copy i{position:absolute;left:-12px;top:-10px;bottom:-10px;background:linear-gradient(90deg,rgba(37,198,255,.12),rgba(173,63,255,.18));z-index:-1;border-radius:12px;transition:width .25s ease}.poll-form>.primary-btn{margin-top:4px}.push-preview{display:grid;gap:6px;padding:14px;border-radius:16px;background:#09121c;border:1px solid #29394d}.push-preview strong{font-size:14px}.push-preview p{margin:0;color:#bac6d4;line-height:1.4}.push-recipient-note{font-size:11px;color:#8fa0b3}
@media(max-width:620px){.community-caret{height:12px}.create-choice-grid{grid-template-columns:1fr}.create-choice-card{min-height:110px}.create-choice-card strong{font-size:22px}}


/* v0.1.15 · aviso Push por sesión y estado fijo en Perfil */
.push-optin-banner{position:fixed;z-index:88;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(560px,calc(100% - 24px));display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px 12px 11px 14px;border:1px solid #33445a;border-radius:16px;background:rgba(14,24,36,.96);box-shadow:0 16px 42px #0009;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.push-optin-banner[hidden]{display:none!important}.push-optin-copy{min-width:0;display:grid;gap:2px}.push-optin-copy strong{font-size:13px;color:#f5f8ff}.push-optin-copy span{font-size:11px;line-height:1.3;color:#9fb0c3}.push-optin-activate{border:0;border-radius:11px;background:linear-gradient(135deg,#6f4dff,#8b5cff);color:#fff;font-weight:800;font-size:12px;padding:9px 13px;cursor:pointer}.push-optin-close{width:30px;height:30px;border:1px solid #33445a;border-radius:50%;background:#111c29;color:#b9c6d6;font-size:20px;line-height:1;cursor:pointer}.push-optin-banner.busy{opacity:.72;pointer-events:none}
.push-user-box .push-state{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:6px 9px;border-radius:999px;border:1px solid #33445a;background:#0a1320;font-size:11px;font-weight:750;color:#aebdcd}.push-user-box .push-state.active{color:#79f4c8;border-color:#1d6e58}.push-user-box .push-state.blocked{color:#ffb7c0;border-color:#713742}.push-user-box .push-state.off{color:#ffe785;border-color:#6b5f25}
@media(max-width:520px){.push-optin-banner{bottom:calc(72px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:10px 10px 10px 12px}.push-optin-copy span{display:none}.push-optin-activate{padding:8px 11px}}
.status-danger{background:#4a1720;color:#ff9cae}
.moderation-user{max-width:760px;margin:24px auto}.moderation-status-line{display:flex;justify-content:flex-start;margin-bottom:12px}.moderation-user h1{margin-top:8px}.moderation-rewrite-form textarea{min-height:150px}.safety-help{border:1px solid #5b3240;background:#1b1015;border-radius:16px;padding:14px;margin:14px 0}.safety-help strong{color:#ffb5c1}.moderation-restricted_private{border-color:#5b4c28}.moderation-safety_hold,.moderation-moderation_error{border-color:#653244}.admin-wrap .data-table .status-badge{white-space:nowrap}
@media(max-width:640px){.moderation-user{margin:14px 0}.moderation-rewrite-form .action-row{display:grid;grid-template-columns:1fr}.moderation-rewrite-form .action-row button{width:100%}}

.send-progress-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:22px;background:rgba(2,6,12,.72);backdrop-filter:blur(8px)}
.send-progress-overlay[hidden]{display:none}.send-progress-open{overflow:hidden}
.send-progress-card{width:min(390px,92vw);border:1px solid #2b3849;border-radius:22px;background:#111a27;box-shadow:0 24px 70px rgba(0,0,0,.45);padding:24px}
.send-progress-card strong{display:block;font-size:1.35rem;margin-bottom:16px}.send-progress-track{height:10px;border-radius:999px;background:#26303e;overflow:hidden}.send-progress-track i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#7f52ff,#c9ff5d);transition:width .18s ease}.send-progress-meta{display:flex;justify-content:flex-start;margin-top:10px;font-weight:800;color:#d7ff66;font-size:1.05rem}

/* v0.1.21 · Tipografía y Laboratorio simplificado */
.admin-body{font-family:"Roboto",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:400}
.admin-body h1,.admin-body h2,.admin-body h3{font-weight:700;letter-spacing:-.01em}
.admin-body p,.admin-body td,.admin-body .muted{font-weight:400}
.admin-body .form-stack label,.admin-body .form-grid label{font-weight:500}
.admin-body .primary-btn,.admin-body .secondary-btn,.admin-body .danger-btn{font-weight:600}
.admin-body .stat strong{font-weight:700}
.admin-body .status-badge{font-weight:600}

.app-body .question-card,.app-body .question-detail,.app-body .response-card,.app-body .poll-panel,.app-body .profile-grid .list-card{font-family:"Ubuntu",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.app-body .card-question{font-weight:700;letter-spacing:-.01em}
.app-body .card-meta{font-weight:400}.app-body .card-meta strong{font-weight:700}
.app-body .card-stats{font-weight:500}.app-body .response-card p{font-weight:400;line-height:1.5}.app-body .response-meta{font-weight:400}.app-body .response-meta strong{font-weight:700}.app-body .poll-option-copy{font-weight:400}.app-body .poll-option-copy strong{font-weight:700}

.moderation-lab-main h2,.lab-result-panel h2,.lab-student-preview h2{margin:0 0 6px}
.lab-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.lab-heading p{max-width:760px;margin:6px 0 0;line-height:1.5}
.lab-test-form{margin-top:18px}.lab-type-row{max-width:340px}.lab-test-form textarea{font-weight:400;line-height:1.5}.lab-run-btn{width:100%}
.lab-optional{border:1px solid #26374a;border-radius:14px;padding:0 14px;background:#0d1621}.lab-optional summary{cursor:pointer;padding:12px 0;font-weight:500;color:#d4dde8}.lab-optional summary span{font-weight:400;color:var(--muted)}.lab-optional[open] summary{border-bottom:1px solid #243245;margin-bottom:12px}.lab-optional label{padding-bottom:14px}
.lab-kicker{display:block;color:#9dacbd;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px}
.lab-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:18px}.lab-summary-item{background:#0d1621;border:1px solid #253548;border-radius:16px;padding:14px;display:grid;gap:6px}.lab-summary-item span{color:#93a4b7;font-size:12px;font-weight:400}.lab-summary-item strong{font-size:18px;font-weight:600;line-height:1.2}.lab-result-actions{margin-top:14px;flex-wrap:wrap}
.lab-student-preview{max-width:820px}.lab-preview-head{margin-bottom:14px}.moderation-preview-card{border:1px solid #5b4c28;background:linear-gradient(180deg,#111a25,#0d1620);border-radius:18px;padding:18px}.lab-student-message,.lab-student-fallback{font-weight:400;line-height:1.55;margin:0 0 14px}.lab-student-fallback{color:#c7d0dc}.lab-proposal-label{display:grid;gap:8px;color:#dbe4ef;font-weight:600}.lab-proposal-label textarea{width:100%;min-height:120px;resize:none;border:1px solid #2a394b;background:#111b27;color:#fff;border-radius:14px;padding:14px;font:400 15px/1.5 "Roboto",ui-sans-serif,system-ui,sans-serif}.lab-proposal-label textarea::placeholder{color:#8494a7}.lab-preview-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.lab-preview-actions button{min-width:150px}.lab-preview-actions button:disabled{opacity:.9;cursor:default}
.lab-details summary,.lab-technical-tools>summary{cursor:pointer;font-weight:600;font-size:16px}.lab-details summary::marker,.lab-technical-tools>summary::marker{color:#8d6cff}.lab-details .data-table th{font-weight:500;color:#aebccc}.lab-details .data-table td{font-weight:400}.lab-technical-tools{margin-top:18px}.lab-technical-tools>summary{padding:2px 0}.lab-technical-tools>p{margin:14px 0 18px;max-width:760px}.lab-tech-block{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.lab-tech-block h3{margin:0 0 5px;font-size:16px}.lab-tech-block p{margin:0 0 14px}
@media(max-width:620px){.lab-type-row{max-width:none}.lab-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-summary-item strong{font-size:16px}.lab-preview-actions{display:grid;grid-template-columns:1fr}.lab-preview-actions button{width:100%}.lab-result-actions{display:grid;grid-template-columns:1fr}.lab-result-actions form,.lab-result-actions button{width:100%}}


/* v0.1.22 · Laboratorio secuencial + sesión persistente */
.lab-analysis-flow{display:grid;gap:18px}.lab-analysis-head h2{margin:0;font-size:clamp(22px,2vw,30px);font-weight:600}.lab-tested-text{margin:0;border:1px solid #2a3a4d;border-radius:16px;background:#0c151f;padding:16px 18px}.lab-tested-text span{display:block;color:#91a2b5;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;margin-bottom:7px}.lab-tested-text p{margin:0;color:#fff;font-size:17px;font-weight:400;line-height:1.5}.lab-final-result{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #2a3a4d;border-radius:16px;background:#111a26}.lab-final-result>div{min-width:0}.lab-final-result>div>span{display:block;color:#95a4b5;font-size:12px;font-weight:400;margin-bottom:5px}.lab-final-result strong{display:block;font-size:24px;font-weight:600;line-height:1.15}.lab-final-result p{margin:8px 0 0;color:#bdc8d4;font-weight:400;line-height:1.5;max-width:760px}.lab-filter-sequence{display:grid;gap:10px}.lab-filter-card{border:1px solid #26374a;border-radius:16px;padding:15px 17px;background:#0d1621}.lab-filter-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.lab-filter-head span{font-weight:500;color:#dfe7ef}.lab-filter-head strong{font-size:13px;font-weight:600;color:#cfd8e3}.lab-filter-card p{margin:8px 0 0;color:#9eafc1;font-weight:400;line-height:1.5}.lab-usage-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.lab-usage-strip>span{display:grid;gap:5px;border:1px solid #26374a;border-radius:14px;background:#0d1621;padding:12px 14px}.lab-usage-strip small{color:#91a2b5;font-weight:400}.lab-usage-strip strong{font-size:17px;font-weight:600}.lab-report-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.lab-report-actions h3{margin:0 0 4px;font-size:18px;font-weight:600}.lab-report-actions p{margin:0}.lab-report-actions .action-row{margin:0;flex-wrap:wrap}.lab-report-actions form{margin:0}.lab-student-preview{max-width:none}.lab-student-preview h2{font-weight:600}.lab-technical-tools>summary{font-weight:500}.lab-details>summary{font-weight:500}
@media(max-width:720px){.lab-final-result{display:grid}.lab-final-result .status-badge{justify-self:start}.lab-usage-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-report-actions{display:grid}.lab-report-actions .action-row{display:grid;grid-template-columns:1fr}.lab-report-actions form,.lab-report-actions button{width:100%}}


/* v0.1.27 · Administrador > Publicaciones · periodo */
.posts-toolbar{display:grid;gap:16px}.posts-filter-grid{display:grid;grid-template-columns:minmax(190px,1fr) minmax(150px,.65fr) minmax(170px,.8fr) auto auto;gap:12px;align-items:end}.posts-filter-grid label{display:grid;gap:7px;font-weight:500;color:#c8d2df}.posts-filter-grid select{width:100%;border:1px solid #2a394b;background:#111b27;color:#fff;border-radius:14px;padding:12px}.posts-risk-filter{display:flex!important;align-items:center;gap:8px;min-height:44px;padding:0 4px}.posts-risk-filter input{width:18px;height:18px}.posts-review-status{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;border-top:1px solid var(--line)}.posts-review-status span{color:#dbe4ef}.posts-review-status small{color:var(--muted)}.posts-run-summary{display:flex;justify-content:space-between;gap:14px;align-items:center}.posts-run-summary span{color:#aab8c8}.posts-admin-list{display:grid;gap:12px}.posts-admin-card{margin:0;border-left-width:4px}.posts-admin-card.posts-risk-high{background:#241316;border-color:#6d2b38;border-left-color:#ff5574}.posts-admin-card.posts-risk-review{background:#251f12;border-color:#665623;border-left-color:#e2b93f}.posts-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.posts-card-head>div:first-child{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.posts-card-head small{color:var(--muted)}.posts-state-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.posts-body{font-size:17px;line-height:1.5;margin:16px 0}.posts-risk-box{display:grid;gap:4px;border-radius:14px;padding:12px 14px;background:rgba(0,0,0,.14);border:1px solid rgba(255,255,255,.08)}.posts-risk-box strong{font-size:14px}.posts-risk-box span{color:#c9d3df;font-size:13px}.posts-risk-comments{display:grid;gap:8px;margin-top:10px}.posts-risk-comment{border:1px solid #5f5123;border-radius:13px;padding:10px 12px;background:rgba(255,210,72,.04);display:grid;gap:4px}.posts-risk-comment.is-high{border-color:#70313e;background:rgba(255,85,116,.05)}.posts-risk-comment strong{font-size:12px}.posts-risk-comment span{font-size:12px;color:#c4cfdb}.posts-risk-comment p{margin:2px 0 0;color:#e6ebf2;line-height:1.42}.posts-review-note{margin:12px 0 0;font-size:12px}.posts-admin-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07)}.posts-admin-actions form{margin:0}.posts-technical summary{cursor:pointer;font-weight:600}.posts-technical p{max-width:760px}.posts-admin-card .content-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#1a2634;color:#cdd8e4;font-size:11px;font-weight:600}.posts-poll-options{display:grid;gap:5px;margin:-6px 0 14px;padding:11px 13px;border-radius:13px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}.posts-poll-options span{font-size:13px;color:#c9d3df}
@media(max-width:760px){.admin-title-row{display:grid}.admin-title-row>.inline-form,.admin-title-row>.inline-form button{width:100%}.posts-filter-grid{grid-template-columns:1fr}.posts-risk-filter{min-height:auto;padding:4px 0}.posts-review-status,.posts-run-summary,.posts-card-head{display:grid}.posts-state-badges{justify-content:flex-start}.posts-admin-actions{display:grid;grid-template-columns:1fr}.posts-admin-actions form,.posts-admin-actions button{width:100%}}

/* v0.1.29 · Comunidades > Administrar · Publicaciones por comunidad */
.community-config-details{padding:0;overflow:hidden}.community-config-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer}.community-config-summary::-webkit-details-marker{display:none}.community-config-summary>div{display:grid;gap:4px}.community-config-summary strong{font-size:18px}.community-config-summary small{color:var(--muted);font-size:12px}.community-details-toggle{flex:0 0 auto;border:1px solid #2e3b4a;background:#1a2634;color:#e9eef5;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:750}.community-config-details .when-open{display:none}.community-config-details[open] .when-closed{display:none}.community-config-details[open] .when-open{display:inline}.community-config-details[open] .community-config-summary{border-bottom:1px solid var(--line)}.community-config-body{padding:18px}.community-posts-module{margin-top:20px}.community-posts-title{align-items:center;margin-bottom:12px}.community-posts-title h2{margin:0 0 5px}.community-posts-title p{margin:0;max-width:820px}.posts-filter-grid-community{grid-template-columns:minmax(170px,.7fr) minmax(200px,1fr) auto auto}.posts-admin-list-compact{gap:8px}.posts-admin-card-compact{padding:11px 14px;border-radius:17px;margin:0}.posts-admin-card-compact .posts-card-head{align-items:center}.posts-admin-card-compact .posts-card-head>div:first-child{gap:7px}.posts-admin-card-compact .content-badge{padding:3px 7px;font-size:10px}.posts-admin-card-compact .status-badge{padding:4px 8px;font-size:10px}.posts-admin-card-compact .posts-body{font-size:15px;line-height:1.35;margin:7px 0 5px}.posts-admin-card-compact .posts-risk-box{padding:8px 10px;border-radius:11px;margin-top:7px}.posts-admin-card-compact .posts-risk-comments{margin-top:7px;gap:6px}.posts-admin-card-compact .posts-risk-comment{padding:8px 10px}.posts-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.07)}.posts-card-footer .posts-review-note{margin:0}.posts-admin-card-compact .posts-admin-actions{margin:0;padding:0;border-top:0;gap:6px;justify-content:flex-end}.posts-admin-card-compact .compact-btn{padding:6px 9px;border-radius:9px;font-size:11px}.posts-poll-options-compact{margin:6px 0 4px;padding:0;background:transparent;border:0}.posts-poll-options-compact summary{cursor:pointer;color:#b8c6d6;font-size:12px}.posts-poll-options-compact>div{display:flex;gap:6px 12px;flex-wrap:wrap;margin-top:6px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}.posts-poll-options-compact>div span{font-size:12px}.posts-technical{margin-top:10px}
@media(max-width:760px){.community-config-summary{align-items:flex-start}.community-details-toggle{margin-top:1px}.community-config-body{padding:14px}.posts-filter-grid-community{grid-template-columns:1fr}.posts-card-footer{display:grid}.posts-admin-card-compact .posts-admin-actions{display:flex;grid-template-columns:none;justify-content:flex-start}.posts-admin-card-compact .posts-admin-actions form,.posts-admin-card-compact .posts-admin-actions button{width:auto}.posts-admin-card-compact{padding:10px 12px}.community-posts-title>.inline-form,.community-posts-title>.inline-form button{width:100%}}


/* v0.1.31 · Riesgo visual reforzado + Nueva comunidad plegable */
.community-admin-module-card{margin-top:16px}.community-admin-module-card .admin-title-row{align-items:center}.community-admin-module-card h2{margin:0 0 5px}.community-admin-module-card p{margin:0}.community-module-status{margin-top:7px!important;color:#9fb0c2;font-size:12px}.community-posts-module{margin-top:18px}.community-posts-module>.community-posts-title{margin-top:0}
@media(max-width:760px){.community-admin-module-card .admin-title-row{display:grid}.community-admin-module-card .primary-btn{width:100%;text-align:center}.community-module-status{line-height:1.5}}

/* v0.1.31 */
.community-new-details{margin-bottom:16px}.community-new-details .community-config-body{padding-top:16px}

/* v0.1.35 · contenido largo en móvil */
.question-card,.question-card .card-question,.question-detail,.question-detail .card-question,.response-card,.chat-msg,.posts-body,.posts-risk-comment,.posts-risk-comment p{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.question-card{overflow:hidden}
@media(max-width:620px){.question-card .card-question{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;overflow:hidden}.question-detail .card-question,.response-card,.chat-msg{overflow-wrap:anywhere;word-break:break-word}}
