/* AURA · Ruta de la cita v2 — panel del día y modo tablet (prefijo .prb-). Pegar en el <style> del dashboard. */
.prb-overlay{position:fixed;inset:0;background:rgba(36,31,39,.45);z-index:1200;display:flex;align-items:flex-start;justify-content:center;padding:24px 12px;overflow:auto}
.prb-panel{width:min(1180px,100%);background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(52,32,64,.25);display:flex;flex-direction:column;max-height:calc(100vh - 48px)}
.prb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px 12px;border-bottom:1px solid #eee7f0}.prb-head h2{margin:0;font-size:1.3rem;letter-spacing:-.02em}.prb-sub{margin:4px 0 0;color:#746d78;font-size:.86rem}
.prb-tools{display:flex;gap:6px;align-items:center}.prb-date{border:1px solid #e9e3eb;border-radius:10px;padding:8px 10px;font:inherit}
.prb-btn{border:1px solid #e3d5ea;background:#fff;color:#4e3f55;border-radius:10px;padding:9px 12px;font:inherit;font-weight:700;cursor:pointer}.prb-btn:hover{background:#faf5fc}.prb-close{font-size:1.2rem;line-height:1;padding:7px 12px}
.prb-primary{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:800;color:#fff;cursor:pointer;background:linear-gradient(110deg,#ff6f91,#b439e2);box-shadow:0 10px 24px rgba(180,57,226,.22)}
.prb-link{border:0;background:none;color:#7a4f8a;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;padding:6px 4px}
.prb-counts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 24px;border-bottom:1px solid #f1ecf3}
.prb-chip{font-size:.78rem;font-weight:700;padding:5px 10px;border-radius:999px;background:#f4eff6;color:#594e5e}.prb-chip b{margin-left:4px}
.prb-body{display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(320px,1fr);min-height:360px;overflow:hidden}
.prb-list{overflow:auto;border-right:1px solid #f1ecf3;padding:8px}.prb-detail{overflow:auto;padding:20px 22px}
.prb-row{display:grid;grid-template-columns:14px 52px 1fr auto;gap:10px;align-items:center;width:100%;text-align:left;border:1px solid transparent;background:#fff;border-radius:14px;padding:11px 12px;font:inherit;cursor:pointer}.prb-row:hover{background:#faf7fb}.prb-row.sel{border-color:#d9c7e6;background:#f8f2fb}
.prb-time{font-weight:800;font-variant-numeric:tabular-nums}.prb-who b{display:block;font-size:.95rem}.prb-who small{color:#746d78;font-size:.76rem}
.prb-state{font-size:.74rem;font-weight:800;padding:4px 9px;border-radius:999px;white-space:nowrap}
.prb-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.prb-dot.big{width:16px;height:16px;margin-top:6px}
.gray{background:#f0ecf2;color:#6c6371}.blue{background:#e8f0ff;color:#2f56a8}.orange{background:#fff1dc;color:#8a5a12}.green{background:#e6f7ef;color:#1b6d4f}.red{background:#ffe9ec;color:#a13942}
.prb-dot.gray{background:#b9b1bd}.prb-dot.blue{background:#4d7bd6}.prb-dot.orange{background:#e39a2c}.prb-dot.green{background:#28a273}.prb-dot.red{background:#d9485a}
.prb-dhead{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}.prb-dhead h3{margin:0;font-size:1.15rem}.prb-dhead p{margin:3px 0 0;color:#746d78;font-size:.84rem}
.prb-status{border-radius:12px;padding:10px 12px;font-size:.86rem;margin-bottom:10px}.prb-status b{margin-right:4px}
.prb-docs{border:1px solid #eee7f0;border-radius:14px;padding:6px 12px;margin:12px 0}.prb-doc{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #f3eef5;font-size:.86rem}.prb-doc:last-child{border-bottom:0}.prb-doc b{font-size:.76rem;font-weight:800;padding:3px 8px;border-radius:999px;white-space:nowrap}
.prb-timeline{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 14px}.prb-timeline span{font-size:.74rem;color:#594e5e;background:#f4eff6;border-radius:999px;padding:4px 9px}
.prb-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.prb-fine{font-size:.76rem;color:#746d78;line-height:1.5;margin:10px 0 0}.prb-fine.warn{color:#8a5a12}
.prb-back{display:none;border:0;background:transparent;color:#7a4f8a;font:inherit;font-size:.82rem;font-weight:800;padding:0;margin:0 0 14px;cursor:pointer}
.prb-empty{padding:30px;text-align:center;color:#746d78}
.prb-tablet{position:fixed;inset:0;z-index:2000;background:#f7f4f8;display:flex;flex-direction:column}.prb-tablet iframe{flex:1;border:0;width:100%}.prb-tablet-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 14px;background:#241f27;color:#fff;font-size:.8rem}.prb-tablet-bar .prb-btn{background:#fff;border-color:#fff}
body.prb-tablet-open{overflow:hidden}
body.prb-board-open{overflow:hidden}body.prb-board-open #copilotFab,body.prb-board-open #copilotNudge{display:none!important}
.prb-pin{position:absolute;inset:0;background:rgba(36,31,39,.7);display:grid;place-items:center}.prb-pin.hidden{display:none}.prb-pin-box{background:#fff;border-radius:18px;padding:22px;width:min(360px,92vw);text-align:center}.prb-pin-box h3{margin:0 0 6px}.prb-pin-box p{color:#746d78;font-size:.86rem;margin:0 0 12px}.prb-pin-box input{width:100%;font-size:1.6rem;letter-spacing:.4em;text-align:center;border:1px solid #e9e3eb;border-radius:12px;padding:10px;margin-bottom:12px}
@media(max-width:820px){.prb-overlay{padding:12px 8px}.prb-panel{max-height:calc(100dvh - 24px);border-radius:18px}.prb-head{flex-direction:column;gap:12px;padding:16px}.prb-head>div:first-child{width:100%}.prb-tools{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 42px 42px 42px;gap:6px}.prb-date{min-width:0;width:100%;padding:8px}.prb-btn{min-width:0;padding:9px 8px}.prb-counts{padding:10px 16px}.prb-body{grid-template-columns:1fr;min-height:0;flex:1}.prb-list{border-right:0;border-bottom:1px solid #f1ecf3;max-height:40vh}.prb-row{grid-template-columns:12px 46px 1fr}.prb-state{grid-column:2/-1}}
@media(max-width:600px){.prb-panel{height:calc(100dvh - 24px)}.prb-sub{max-width:32ch}.prb-counts{gap:5px}.prb-link{width:100%;text-align:left}.prb-body{display:block;overflow:hidden}.prb-list{display:block;height:100%;max-height:none;overflow:auto;border-bottom:0;padding:8px}.prb-detail{display:none}.prb-panel.prb-detail-active .prb-counts,.prb-panel.prb-detail-active .prb-list{display:none}.prb-panel.prb-detail-active .prb-detail{display:block;height:100%;overflow:auto;padding:16px 14px 88px}.prb-panel.prb-detail-active .prb-back{display:inline-flex}.prb-row{grid-template-columns:10px 42px minmax(0,1fr);gap:8px;padding:12px 10px}.prb-who b{font-size:.9rem}.prb-actions{display:grid;grid-template-columns:1fr}.prb-actions>*{width:100%}.prb-doc{align-items:flex-start}.prb-doc b{white-space:normal;text-align:right}}
