/* Concepción OS 6.0 */
:root{--cx-blue:#0a84ff;--cx-blue-2:#38bdf8;--cx-navy:#071a33;--cx-line:rgba(255,255,255,.12)}
.cx-window{min-width:720px}.cx-window-content{height:100%;overflow:auto}
.cx-standard{padding:22px}.cx-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;margin-bottom:18px;border-radius:22px;background:linear-gradient(135deg,rgba(10,132,255,.18),rgba(8,47,73,.35));border:1px solid rgba(125,211,252,.18);overflow:hidden}.cx-hero span,.cx-section-title>span{font-size:.66rem;font-weight:900;letter-spacing:1.5px;color:#7dd3fc}.cx-hero h2,.cx-section-title h2{margin:4px 0 6px;font-size:1.55rem}.cx-hero p,.cx-section-title p{color:var(--text-muted);line-height:1.5}.cx-hero>i{font-size:4.2rem;color:#7dd3fc;opacity:.85}
.cx-phone-shell{height:100%;display:grid;grid-template-columns:210px 1fr;min-height:560px}.cx-phone-side{padding:18px 12px;border-right:1px solid var(--border-color);background:rgba(3,11,23,.22)}.cx-phone-brand{display:flex;align-items:center;gap:11px;padding:10px 8px 22px}.cx-phone-brand>i{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#16a34a,#22c55e);color:white;font-size:1.25rem}.cx-phone-brand b,.cx-phone-brand span{display:block}.cx-phone-brand span{font-size:.72rem;color:var(--text-muted);margin-top:3px}.cx-phone-side>button{width:100%;border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:11px;text-align:left;cursor:pointer;margin-bottom:4px}.cx-phone-side>button.active,.cx-phone-side>button:hover{background:rgba(10,132,255,.14);color:#7dd3fc}#cx-phone-main{padding:26px;overflow:auto}.cx-section-title{margin-bottom:20px}
.cx-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cx-services>button{border:1px solid var(--border-color);background:var(--app-card);color:inherit;border-radius:18px;padding:17px;display:grid;grid-template-columns:58px 1fr 30px;gap:12px;align-items:center;text-align:left;cursor:pointer;transition:.18s transform,.18s border-color}.cx-services>button:hover{transform:translateY(-2px);border-color:rgba(56,189,248,.45)}.cx-service-number{font-size:1.15rem;font-weight:900;color:#7dd3fc}.cx-services b,.cx-services small{display:block}.cx-services small{color:var(--text-muted);margin-top:4px;line-height:1.35}.cx-services>button>i{font-size:1.25rem;color:#22c55e}
.cx-call-card{margin-top:18px;padding:18px;border-radius:18px;border:1px solid rgba(34,197,94,.25);background:rgba(34,197,94,.06)}.cx-call-head{display:flex;gap:13px;align-items:center;margin-bottom:14px}.cx-call-head>span{font-size:1.4rem;font-weight:900;color:#4ade80}.cx-call-head small{display:block;color:var(--text-muted);margin-top:3px}.cx-call-success{text-align:center;padding:32px;margin-top:18px;border-radius:20px;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.2)}.cx-call-success i{font-size:3rem;color:#22c55e}.cx-call-success h3{margin:8px 0}
.cx-list,.cx-dispatch{display:grid;gap:10px}.cx-list article,.cx-dispatch article{border:1px solid var(--border-color);border-radius:15px;padding:14px;background:var(--app-card)}.cx-list article{display:flex;justify-content:space-between;gap:12px}.cx-list article b,.cx-list article span,.cx-list article small{display:block}.cx-list article span,.cx-list article small{color:var(--text-muted);margin-top:3px}.cx-list article em{font-style:normal;font-size:.67rem;font-weight:900;color:#7dd3fc}.cx-dispatch-meta{display:flex;justify-content:space-between;color:#7dd3fc;font-size:.72rem}.cx-dispatch article h3{margin:8px 0 5px}.cx-dispatch article p{line-height:1.5}.cx-dispatch article>small{display:block;color:var(--text-muted);margin:8px 0}.cx-status-select{max-width:210px;margin:0!important}
.cx-admission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.cx-admission-card{border:1px solid var(--border-color);border-radius:20px;background:var(--app-card);overflow:hidden}.cx-admission-card>img,.cx-admission-cover{height:145px;width:100%;object-fit:cover}.cx-admission-cover{display:grid;place-items:center;background:linear-gradient(135deg,#082f49,#0a84ff);font-size:3rem;color:white}.cx-admission-card>div:last-child{padding:17px}.cx-admission-card span{font-size:.65rem;font-weight:900;color:#7dd3fc;letter-spacing:.8px}.cx-admission-card h3{margin:5px 0 8px}.cx-admission-card p{color:var(--text-muted);line-height:1.5;margin-bottom:12px}.cx-adm-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.cx-adm-meta b{font-size:.68rem;color:#4ade80}.cx-create-box{margin-bottom:14px}.cx-create-box summary{cursor:pointer;font-weight:800;padding:2px}.cx-create-box form{margin-top:15px}
.cx-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cx-city-status{display:flex;align-items:center;gap:14px;padding:15px 18px;border-radius:16px;margin-bottom:14px;border:1px solid}.cx-city-status.ok{border-color:rgba(34,197,94,.25);background:rgba(34,197,94,.07)}.cx-city-status.warn{border-color:rgba(251,191,36,.3);background:rgba(251,191,36,.07)}.cx-city-status i{font-size:1.8rem}.cx-city-status b,.cx-city-status span{display:block}.cx-city-status span{color:var(--text-muted);margin-top:3px}.cx-record{padding:12px 0;border-bottom:1px solid var(--border-color)}.cx-record:last-child{border-bottom:0}.cx-record>div{display:flex;justify-content:space-between;gap:10px}.cx-record span{font-size:.7rem;color:#7dd3fc}.cx-record p{color:var(--text-muted);margin-top:5px;line-height:1.4}
.cx-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cx-news-grid article{padding:18px;border:1px solid var(--border-color);background:var(--app-card);border-radius:18px}.cx-news-grid img{width:100%;height:160px;object-fit:cover;border-radius:12px;margin-bottom:12px}.cx-news-grid span{font-size:.64rem;font-weight:900;color:#7dd3fc}.cx-news-grid h3{margin:5px 0 8px}.cx-news-grid p{line-height:1.5;color:var(--text-muted)}.cx-news-grid small{display:block;margin-top:10px}
.cx-games .cx-hero{background:linear-gradient(135deg,rgba(147,51,234,.2),rgba(8,47,73,.32))}.cx-game-table{max-width:690px;margin:0 auto;border:1px solid rgba(255,255,255,.14);border-radius:28px;padding:30px;background:radial-gradient(circle at 50% 20%,rgba(16,185,129,.18),rgba(3,20,17,.78));box-shadow:inset 0 0 0 8px rgba(255,255,255,.025)}.cx-game-score{text-align:center}.cx-game-score span{display:block;color:#a7f3d0;font-size:.72rem;font-weight:800}.cx-game-score strong{font-size:3rem}.cx-playing-cards{display:flex;justify-content:center;gap:10px;min-height:130px;align-items:center;margin:15px 0}.cx-playing-cards span{width:78px;height:112px;border-radius:10px;background:#fff;color:#111827;display:grid;place-items:center;font-size:1.7rem;font-weight:900;box-shadow:0 12px 25px rgba(0,0,0,.25)}
.cx-dock-menu{position:fixed;z-index:999999;background:rgba(20,24,32,.96);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.14);border-radius:13px;padding:7px;min-width:205px;box-shadow:0 18px 50px rgba(0,0,0,.4)}.cx-dock-menu button{border:0;background:transparent;color:white;padding:9px 10px;border-radius:8px;width:100%;text-align:left;display:flex;gap:8px;align-items:center;cursor:pointer}.cx-dock-menu button:hover{background:rgba(255,255,255,.09)}.cx-dock-menu small{display:block;color:#94a3b8;padding:7px 10px 4px}.cx-dock-item.cx-dragging{opacity:.35;transform:scale(.9)}
.cx-dock-settings{margin-top:14px}.cx-app-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.cx-app-picker button{border:1px solid var(--border-color);background:var(--app-card);color:inherit;border-radius:12px;padding:10px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:7px;text-align:left;cursor:pointer}.cx-app-picker button.active{border-color:rgba(10,132,255,.35);background:rgba(10,132,255,.09)}.cx-app-picker b{font-size:.63rem;color:#7dd3fc}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 18% 20%,rgba(10,132,255,.08),transparent 30%);z-index:-1}
@media(max-width:850px){.cx-window{min-width:0}.cx-phone-shell{grid-template-columns:1fr}.cx-phone-side{display:flex;overflow:auto;border-right:0;border-bottom:1px solid var(--border-color)}.cx-phone-brand{min-width:180px;padding:7px}.cx-phone-side>button{width:auto;white-space:nowrap}.cx-services,.cx-admission-grid,.cx-news-grid,.cx-two-col{grid-template-columns:1fr}.cx-app-picker{grid-template-columns:1fr 1fr}}

/* Concepción OS 6.2 · Teléfono realista y menús contextuales */
.cx-dialer{max-width:360px;margin:18px auto;text-align:center}
.cx-dial-display{min-height:76px;display:grid;place-items:center;margin-bottom:16px}
.cx-dial-display span{font-size:.72rem;color:var(--text-muted)}
.cx-dial-display strong{font-size:2rem;letter-spacing:.06em;margin-top:4px}
.cx-keypad{display:grid;grid-template-columns:repeat(3,78px);justify-content:center;gap:12px}
.cx-keypad button{width:78px;height:78px;border-radius:50%;border:1px solid var(--border-color);background:var(--app-card);color:inherit;font-size:1.65rem;font-weight:650;cursor:pointer;transition:transform .12s ease,background .12s ease}
.cx-keypad button:hover{background:rgba(255,255,255,.09)}
.cx-keypad button:active{transform:scale(.94)}
.cx-dial-actions{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:18px}
.cx-call-button,.cx-delete-button{border:0;cursor:pointer;display:grid;place-items:center}
.cx-call-button{width:62px;height:62px;border-radius:50%;background:#22c55e;color:white;font-size:1.45rem;box-shadow:0 10px 24px rgba(34,197,94,.24)}
.cx-delete-button{width:42px;height:42px;border-radius:50%;background:var(--app-card);color:inherit;font-size:1.1rem}
.cx-dial-hint{display:block;margin-top:14px;color:var(--text-muted)}
.cx-calling{height:100%;min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.cx-call-avatar{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0a84ff,#22c55e);color:#fff;font-size:2rem;box-shadow:0 18px 45px rgba(0,0,0,.24)}
.cx-call-avatar.small{width:42px;height:42px;font-size:1rem;flex:0 0 42px}
.cx-calling span{margin-top:18px;color:var(--text-muted)}
.cx-calling h2{margin:5px 0}
.cx-calling strong{color:#7dd3fc}
.cx-call-pulse{width:12px;height:12px;border-radius:50%;background:#22c55e;margin-top:20px;animation:cxPulse 1s infinite}
@keyframes cxPulse{50%{opacity:.35;transform:scale(1.6)}}
.cx-chat-call{height:100%;display:flex;flex-direction:column;min-height:520px}
.cx-chat-head{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border-color)}
.cx-chat-head b,.cx-chat-head span{display:block}
.cx-chat-head span{font-size:.72rem;color:#4ade80;margin-top:3px}
.cx-chat-thread{flex:1;padding:20px;overflow:auto;display:flex;flex-direction:column;gap:12px}
.cx-bubble{max-width:78%;padding:12px 14px;border-radius:16px;line-height:1.45}
.cx-bubble.operator{align-self:flex-start;background:var(--app-card);border:1px solid var(--border-color)}
.cx-bubble.user{align-self:flex-end;background:#0a84ff;color:#fff}
.cx-bubble b,.cx-bubble small{display:block}
.cx-bubble small{margin-top:6px;opacity:.72;font-size:.68rem}
.cx-chat-compose{border-top:1px solid var(--border-color);padding:14px;display:grid;grid-template-columns:180px 1fr auto;gap:8px;align-items:end}
.cx-chat-compose textarea{min-height:42px;max-height:100px;resize:vertical}
@media(max-width:850px){.cx-chat-compose{grid-template-columns:1fr}.cx-keypad{grid-template-columns:repeat(3,70px)}.cx-keypad button{width:70px;height:70px}}
