/* =====================================================================
   Demos angelcm.com — sistema visual común
   Petróleo + laguna, papel frío, Bricolage Grotesque + Geist.
   ===================================================================== */
:root {
    color-scheme: light;
    --paper: #F5F7F8;
    --surface: #FFFFFF;
    --surface-2: #EEF2F4;
    --ink: #142027;
    --ink-2: #4A5862;
    --muted: #6B7A84;
    --line: #E1E7EA;
    --line-2: #CFD8DD;
    --petrol: #0E4F5C;
    --lagoon: #1FA4B5;
    --lagoon-soft: rgba(31, 164, 181, .12);
    --amber: #E89B2D;
    --amber-soft: rgba(232, 155, 45, .14);
    --coral: #D9534A;
    --coral-soft: rgba(217, 83, 74, .12);
    --leaf: #2E9E6A;
    --leaf-soft: rgba(46, 158, 106, .13);
    --on-petrol: #FFFFFF;
    --shadow: 0 1px 2px rgba(20, 32, 39, .05), 0 12px 32px -18px rgba(14, 79, 92, .35);
    --shadow-lg: 0 30px 70px -30px rgba(14, 79, 92, .45);
    --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --font: 'Geist', 'Segoe UI', system-ui, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --r-shell: 22px;
    --r-panel: 16px;
    --r-ctl: 11px;
    --bar-h: 44px;
    --rail-w: 236px;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #0B1115;
    --surface: #111A20;
    --surface-2: #17232A;
    --ink: #E8F0F2;
    --ink-2: #A9B9C0;
    --muted: #7F919A;
    --line: #1E2C34;
    --line-2: #2A3B45;
    --petrol: #7FD3DE;
    --lagoon: #4CC3D2;
    --lagoon-soft: rgba(76, 195, 210, .13);
    --amber: #F2B04E;
    --amber-soft: rgba(242, 176, 78, .14);
    --coral: #F07A70;
    --coral-soft: rgba(240, 122, 112, .14);
    --leaf: #4CC48D;
    --leaf-soft: rgba(76, 196, 141, .14);
    --on-petrol: #0B1115;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -20px rgba(0, 0, 0, .8);
    --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .9);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 400 15px/1.55 var(--font); font-feature-settings: 'ss01', 'cv11'; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex-shrink: 0; }
.num, .kpi-value, td.n, .money { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root[data-theme="dark"] .only-light, :root:not([data-theme="dark"]) .only-dark { display: none; }

/* ---------------------------------------------------------------- barra demo */
.demobar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 16px; height: var(--bar-h); padding: 0 16px; background: var(--petrol); color: var(--on-petrol); font-size: .84rem; }
:root[data-theme="dark"] .demobar { background: #0E3A44; color: #E8F0F2; }
.demobar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.demobar .i { width: 16px; height: 16px; }
.demobar-home { padding: 6px 10px; margin-left: -10px; border-radius: 9px; }
.demobar-home:hover { background: rgba(255, 255, 255, .12); }
.demobar-note { display: flex; align-items: center; gap: 8px; margin: 0 auto; opacity: .85; }
.demobar-cta { padding: 6px 12px; border-radius: 999px; background: #25D366; color: #06301B !important; }
.demobar-cta:hover { filter: brightness(1.06); }

/* ---------------------------------------------------------------- estructura */
.shell { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: calc(100vh - var(--bar-h)); }
.rail { position: sticky; top: var(--bar-h); display: flex; flex-direction: column; gap: 22px; height: calc(100vh - var(--bar-h)); padding: 22px 14px 16px; border-right: 1px solid var(--line); background: var(--surface); }
.rail-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px; text-decoration: none; }
.rail-logo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--petrol); color: var(--on-petrol); box-shadow: 0 10px 20px -10px var(--petrol); }
.rail-logo .i { width: 22px; height: 22px; }
.rail-name b { display: block; font-family: var(--font-display); font-size: 1.06rem; line-height: 1.15; }
.rail-name small { display: block; color: var(--muted); font-size: .76rem; }
.rail-nav { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rail-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease); }
.rail-nav a:hover { background: var(--surface-2); color: var(--ink); }
.rail-nav a[aria-current="page"] { background: var(--lagoon-soft); color: var(--ink); font-weight: 600; }
.rail-nav a[aria-current="page"]::before { content: ''; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lagoon); }
.rail-nav a[aria-current="page"] .i { color: var(--lagoon); }
.rail-foot { display: grid; gap: 2px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.rail-foot form { margin: 0; }
.rail-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-size: .9rem; text-align: left; }
.rail-btn:hover { background: var(--surface-2); color: var(--ink); }

.main { min-width: 0; padding: 30px clamp(18px, 3vw, 40px) 64px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.page-head p { margin-top: 6px; color: var(--muted); max-width: 60ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- piezas */
.panel { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.05rem; }
.panel-head p { color: var(--muted); font-size: .85rem; }
.panel-body { padding: 18px 20px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
.stack { display: grid; gap: 18px; align-content: start; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { position: relative; display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.kpi-label { color: var(--muted); font-size: .84rem; }
.kpi-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.kpi-hint { color: var(--muted); font-size: .8rem; }
.kpi.up .kpi-hint { color: var(--leaf); }
.kpi.warn .kpi-hint { color: var(--amber); }
.kpi.down .kpi-hint { color: var(--coral); }
.kpi.hero { background: var(--petrol); border-color: transparent; color: var(--on-petrol); }
.kpi.hero .kpi-label, .kpi.hero .kpi-hint { color: inherit; opacity: .8; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--petrol); border-color: var(--petrol); color: var(--on-petrol); box-shadow: 0 10px 22px -12px var(--petrol); }
.btn-primary:hover { border-color: var(--petrol); filter: brightness(1.08); }
.btn-accent { background: var(--lagoon); border-color: var(--lagoon); color: #062a30; }
.btn-danger { color: var(--coral); }
.btn-danger:hover { border-color: var(--coral); background: var(--coral-soft); }
.btn-wa { background: #25D366; border-color: #25D366; color: #06301B; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: .84rem; border-radius: 9px; }
.btn-icon { width: 38px; min-height: 38px; padding: 0; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font-weight: 400; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px var(--lagoon-soft); }
.search { position: relative; }
.search .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 38px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.badge.ok { background: var(--leaf-soft); color: var(--leaf); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }
.badge.err { background: var(--coral-soft); color: var(--coral); }
.badge.info { background: var(--lagoon-soft); color: var(--lagoon); }
:root:not([data-theme="dark"]) .badge.warn { color: #9A5D08; }
:root:not([data-theme="dark"]) .badge.info { color: #0B6E7C; }
:root:not([data-theme="dark"]) .badge.ok { color: #1F7A50; }

.meter { display: block; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter > span { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--lagoon); transition: width 1.1s var(--ease); }
.meter.warn > span { background: var(--amber); }
.meter.err > span { background: var(--coral); }
.meter.ok > span { background: var(--leaf); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .86rem; font-weight: 500; text-decoration: none; }
.chip[aria-current="true"], .chip.on { border-color: var(--petrol); background: var(--petrol); color: var(--on-petrol); }

/* Tablas: en celular cada fila se vuelve tarjeta */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 600; text-align: left; white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .15s; }
.table tbody tr:hover { background: var(--surface-2); }
.table .n { text-align: right; white-space: nowrap; }
.table .t-main b { display: block; font-weight: 600; }
.table .t-main small { color: var(--muted); }
.table td.actions { text-align: right; white-space: nowrap; }
.table td.actions > * { display: inline-flex; vertical-align: middle; margin: 0 0 0 6px; }

.empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; text-align: center; color: var(--muted); }
.empty .i { width: 34px; height: 34px; color: var(--lagoon); }
.empty b { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
.empty p { max-width: 36ch; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500; transform: translateX(-50%); animation: toast-in .5s var(--ease) both, toast-out .4s var(--ease) 4.2s forwards; }
.toast.ok .i { color: var(--leaf); }
.toast.err { background: var(--coral); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 18px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 10px); visibility: hidden; } }

dialog.modal { width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(8, 20, 25, .55); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.modal-head h2 { font-size: 1.2rem; }
.modal-body { padding: 16px 20px 20px; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs a { padding: 7px 14px; border-radius: 9px; color: var(--ink-2); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- gráficos */
.chart { margin: 0; width: 100%; min-height: 220px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .ax { stroke: var(--line); stroke-width: 1; }
.chart .lbl { fill: var(--muted); font: 500 11px var(--font); }
.chart .line { fill: none; stroke: var(--lagoon); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .line.s2 { stroke: var(--amber); stroke-dasharray: 5 6; }
.chart .area { fill: var(--lagoon-soft); }
.chart .bar { fill: var(--lagoon); }
.chart .bar.alt { fill: var(--petrol); }
.chart .dot { fill: var(--surface); stroke: var(--lagoon); stroke-width: 2.5; }
.chart .val { fill: var(--ink); font: 600 11px var(--font); }
.chart-donut { min-height: 0; }
.chart .slice { fill: none; stroke-width: 22; }
.chart .donut-total { fill: var(--ink); font: 700 22px var(--font-display); }
.chart .donut-cap { fill: var(--muted); font: 500 11px var(--font); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--ink-2); font-size: .84rem; }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.chart-spark { min-height: 0; height: 44px; }

/* ---------------------------------------------------------------- acceso */
.login { background: var(--paper); }
.login-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.login-card { display: grid; align-content: center; gap: 14px; width: min(420px, 100%); margin: 0 auto; padding: 40px 24px; }
.login-back { display: inline-flex; align-items: center; gap: 8px; width: max-content; margin-bottom: 18px; color: var(--muted); font-size: .9rem; text-decoration: none; }
.login-back:hover { color: var(--ink); }
.login-logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: var(--petrol); color: var(--on-petrol); box-shadow: 0 16px 30px -14px var(--petrol); }
.login-logo .i { width: 28px; height: 28px; }
.login-card h1 { font-size: 2.1rem; }
.login-pitch { color: var(--ink-2); margin-bottom: 8px; }
.login-hint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--lagoon-soft); color: var(--ink-2); font-size: .86rem; }
.login-hint b { color: var(--ink); font-weight: 600; }
.login .toast { position: static; transform: none; animation: none; max-width: none; }
.login-side { position: relative; display: grid; align-items: end; padding: 48px; overflow: hidden; background: #0A2F37; color: #DDF3F6; }
.login-side p { position: relative; max-width: 22ch; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.15; }
.login-orb { position: absolute; inset: -20% -30% auto auto; width: 120%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, #1FA4B5, #0E4F5C, #E89B2D, #1FA4B5); filter: blur(60px); opacity: .55; animation: orb 18s linear infinite; }
@keyframes orb { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- movimiento de carga (una sola secuencia) */
.js .main > *:not(.toast) { animation: rise .7s var(--ease) backwards; } /* backwards: al terminar no deja transform (no rompe position: fixed/sticky) */
.js .main > *:nth-child(2) { animation-delay: .06s; }
.js .main > *:nth-child(3) { animation-delay: .12s; }
.js .main > *:nth-child(4) { animation-delay: .18s; }
.js .main > *:nth-child(5) { animation-delay: .24s; }
.js .main > *:nth-child(n+6) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); clip-path: inset(0 0 100% 0 round 16px); } to { clip-path: inset(0 0 0 0 round 16px); } }
.js .kpis .kpi { animation: kpi-in .8s var(--ease) backwards; }
.js .kpis .kpi:nth-child(2) { animation-delay: .08s; }
.js .kpis .kpi:nth-child(3) { animation-delay: .16s; }
.js .kpis .kpi:nth-child(4) { animation-delay: .24s; }
@keyframes kpi-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pulse-once { animation: pulse-once .6s var(--ease); }
@keyframes pulse-once { 40% { transform: scale(1.04); } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
    .grid-main { grid-template-columns: minmax(0, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    :root { --bar-h: 40px; }
    .demobar { gap: 10px; padding: 0 12px; font-size: .8rem; }
    .demobar-note { display: none; }
    .demobar-cta { margin-left: auto; }
    .shell { grid-template-columns: minmax(0, 1fr); }
    .rail { position: sticky; top: var(--bar-h); z-index: 40; flex-direction: row; align-items: center; height: auto; gap: 10px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
    .rail-logo { width: 36px; height: 36px; border-radius: 11px; }
    .rail-name small { display: none; }
    .rail-foot { flex-direction: row; display: flex; margin: 0 0 0 auto; padding: 0; border: 0; }
    .rail-btn { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .rail-btn span { display: none; }
    .rail-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; gap: 0; padding: 6px 6px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); overflow-x: auto; }
    .rail-nav li { flex: 1 0 auto; min-width: 64px; }
    .rail-nav a { flex-direction: column; gap: 3px; padding: 7px 6px; font-size: .7rem; text-align: center; }
    .rail-nav a[aria-current="page"]::before { left: 30%; right: 30%; top: -6px; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
    .main { padding: 20px 14px 110px; }
    .toast { bottom: 88px; }
    .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
    .login-wrap { grid-template-columns: 1fr; }
    .login-side { display: none; }
    /* tabla → tarjetas */
    .table.stackable thead { display: none; }
    .table.stackable, .table.stackable tbody, .table.stackable tr, .table.stackable td { display: block; width: 100%; }
    .table.stackable tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
    .table.stackable tr:last-child { border-bottom: 0; }
    .table.stackable td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
    .table.stackable td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; text-align: left; }
    .table.stackable td.t-main { display: block; text-align: left; padding-bottom: 6px; }
    .table.stackable td.t-main::before { display: none; }
    .table.stackable td.actions { justify-content: flex-end; gap: 6px; padding-top: 8px; }
    .table.stackable td.actions::before { display: none; }
    .table.stackable td.actions > * { margin: 0; }
}
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi-value { font-size: 1.35rem; } .page-actions { width: 100%; } .page-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
@media print {
    .demobar, .rail, .page-actions, .toast, .no-print { display: none !important; }
    .shell { display: block; }
    body { background: #fff; color: #000; }
    .main { padding: 0; }
    .panel { box-shadow: none; border-color: #ccc; }
}
