/* ==========================================================================
   Panel Roselló Webs — diseño móvil primero, neumorfismo claro
   Móvil: barra superior fija + barra inferior con botón central.
   Ordenador (≥ 900 px): menú lateral, misma interfaz centrada.
   ========================================================================== */
:root {
  --bg: #e9e6ef;
  --bg2: #e2deea;
  --surf: linear-gradient(150deg, #f2f0f6, #e7e3ed);
  --txt: #2a2433;
  --txt2: #554d62;
  --gris: #665d74;
  --lila: #6a3c98;
  --ok: #217a40;
  --warn: #8f5a0c;
  --bad: #b3261e;
  --mor: linear-gradient(145deg, #7142a3, #4a2766);
  --sh-d: rgba(146, 136, 172, .42);
  --sh-l: rgba(255, 255, 255, .92);
  --out: 6px 6px 16px var(--sh-d), -6px -6px 16px var(--sh-l);
  --out-s: 3px 3px 8px var(--sh-d), -3px -3px 8px var(--sh-l);
  --in: inset 3px 3px 8px var(--sh-d), inset -3px -3px 8px var(--sh-l);
  --in-s: inset 2px 2px 5px var(--sh-d), inset -2px -2px 5px var(--sh-l);
  --brand-sh: 0 8px 18px rgba(74, 39, 102, .32);
  --hair: rgba(110, 100, 135, .16);
  --glass: rgba(236, 233, 242, .9);
  --f: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs: "Instrument Serif", Georgia, "Times New Roman", serif;
  --tab-h: 66px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html, body { min-height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font: 16px/1.45 var(--f);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--lila); }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lila); outline-offset: 3px; border-radius: 12px; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- tipografía ---------- */
h1 { font-size: 30px; line-height: 1.08; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
h1.hero { font-size: 27px; line-height: 1.15; }
h2 { font-size: 17px; font-weight: 700; }
.serif { font-family: var(--fs); font-style: italic; font-weight: 400; color: var(--lila); }
.sub { color: var(--txt2); margin-top: 6px; max-width: 60ch; }
.eyebrow, .lbl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 500; }
.eyebrow { margin-bottom: 6px; }
.est { color: var(--gris); font-size: 13.5px; }
.err { color: var(--bad); font-size: 14px; }
.tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--lila); font-weight: 700; margin-left: 4px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- estructura ---------- */
.app { min-height: 100%; }
.side { display: none; }
.col { min-width: 0; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  min-height: calc(58px + env(safe-area-inset-top, 0px));
  padding: calc(env(safe-area-inset-top, 0px) + 9px) 16px 9px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  transition: box-shadow .2s;
}
.topbar.scrolled { box-shadow: 0 1px 0 var(--hair), 0 6px 18px rgba(110, 100, 135, .1); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.brand b { display: block; font-size: 15px; line-height: 1.2; }
.brand small { display: block; color: var(--gris); font-size: 12.5px; }
.brand > div { min-width: 0; }
.brand b, .brand small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mark { width: 38px; height: 38px; border-radius: 12px; background: var(--surf); box-shadow: var(--out-s); display: grid; place-items: center; color: var(--lila); flex-shrink: 0; }
.mark svg { width: 21px; height: 19px; }
.mark-lg { width: 64px; height: 64px; border-radius: 18px; }
.mark-lg svg { width: 34px; height: 32px; }
.back { display: flex; align-items: center; gap: 0; min-height: 44px; padding: 0 10px 0 0; margin-left: -6px; border: 0; background: none; color: var(--lila); font-weight: 500; font-size: 16px; flex: 1; min-width: 0; }
.back .i { width: 26px; height: 26px; }
.back span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttl { opacity: 0; transition: opacity .2s; position: absolute; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 9px); line-height: 40px; max-width: 46%; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surf); box-shadow: var(--out-s); color: var(--lila); font-weight: 700; font-size: 15px; display: grid; place-items: center; flex-shrink: 0; }
.avatar[aria-current="page"] { box-shadow: var(--in-s); background: var(--bg); }

.view {
  display: flex; flex-direction: column; gap: 16px;
  width: 100%; max-width: 760px; margin: 0 auto;
  padding: 6px 16px calc(var(--tab-h) + 30px + env(safe-area-inset-bottom, 0px));
}
.view > * { min-width: 0; }
.view.enter { animation: rise .26s ease both; }
.view.push { animation: slide .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes slide { from { opacity: 0; transform: translateX(26px); } }

/* ---------- componentes ---------- */
.card { background: var(--surf); border-radius: 22px; box-shadow: var(--out); padding: 16px; min-width: 0; }
.card.tap { cursor: pointer; transition: transform .12s ease; display: block; width: 100%; text-align: left; border: 0; color: inherit; text-decoration: none; }
.card.tap:active { transform: scale(.985); }
.sunk { background: var(--bg); border-radius: 18px; box-shadow: var(--in); padding: 14px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.row > * { min-width: 0; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.sec { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 2px -6px; }
.link { border: 0; background: none; color: var(--lila); font-weight: 500; font-size: 14.5px; padding: 8px 0; text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--surf); box-shadow: var(--out-s); color: var(--txt);
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { box-shadow: var(--in-s); transform: scale(.98); }
.btn .i { width: 19px; height: 19px; }
.btn.pri { background: var(--mor); color: #fff; box-shadow: var(--brand-sh); }
.btn.pri:active { box-shadow: 0 3px 8px rgba(74, 39, 102, .3); }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.danger { color: var(--bad); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.ib { width: 42px; height: 42px; border-radius: 13px; background: var(--surf); box-shadow: var(--out-s); color: var(--lila); display: grid; place-items: center; flex-shrink: 0; font-weight: 700; }
.ib .i { width: 21px; height: 21px; }
.ib.flat { box-shadow: var(--in-s); background: var(--bg); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--bg); box-shadow: var(--in-s); color: var(--txt2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.pill.ok { color: var(--ok); } .pill.warn { color: var(--warn); } .pill.bad { color: var(--bad); } .pill.lila { color: var(--lila); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.kpi { display: flex; flex-direction: column; gap: 4px; padding: 14px; }
.kpi .l { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--txt2); }
.kpi .l .i { width: 16px; height: 16px; color: var(--lila); }
.kpi .n { font-size: 30px; line-height: 1.05; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trend { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--ok); }
.trend.flat { color: var(--gris); }
.trend .i { width: 14px; height: 14px; }

.item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--hair); }
.item:first-child { border-top: 0; padding-top: 0; }
.item:last-child { padding-bottom: 0; }
.item b { display: block; font-size: 15px; }
.item p { margin-top: 2px; color: var(--txt2); font-size: 14px; }
.item .grow { min-width: 0; }

/* lista agrupada estilo ajustes */
.group { padding: 2px 16px; }
.group-title { margin: 6px 4px -8px; }
.gi { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 9px 0; border: 0; border-top: 1px solid var(--hair); background: none; color: inherit; text-align: left; text-decoration: none; }
.gi:first-child { border-top: 0; }
.gi .ib { width: 36px; height: 36px; border-radius: 11px; }
.gi .ib .i { width: 19px; height: 19px; }
.gi .t { flex: 1; min-width: 0; }
.gi .t b { display: block; font-weight: 500; font-size: 15.5px; }
.gi .t span { display: block; color: var(--gris); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gi .chev { width: 18px; height: 18px; color: var(--gris); }
.gi.danger, .gi.danger .ib { color: var(--bad); }

/* formularios */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.inp {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 14px;
  background: var(--bg); box-shadow: var(--in); color: var(--txt);
  font: inherit; font-size: 16px;
}
textarea.inp { min-height: 112px; resize: vertical; line-height: 1.45; display: block; }
select.inp { appearance: auto; }
.inp::placeholder { color: #8a8297; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: #5a3282; }
.fgrid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.search { position: relative; }
.search .i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gris); }
.search .inp { padding-left: 44px; border-radius: 999px; }

/* segmentos y chips */
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); box-shadow: var(--in); }
.seg button { flex: 1; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--txt2); font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--mor); color: #fff; box-shadow: var(--brand-sh); }
.seg.sm button { min-height: 34px; font-size: 13px; padding: 0 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; margin: 0 -4px -6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; min-height: 38px; padding: 0 15px; border: 0; border-radius: 999px; background: var(--surf); box-shadow: var(--out-s); color: var(--txt2); font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--bg); box-shadow: var(--in-s); color: var(--lila); }

/* barras y gráficas */
.bar { height: 10px; border-radius: 999px; background: var(--bg); box-shadow: var(--in-s); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--mor); }
.bars { display: flex; flex-direction: column; gap: 14px; }
.bars .t { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.bars .t span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .t span:last-child { color: var(--txt2); font-variant-numeric: tabular-nums; white-space: nowrap; }
svg.chart { display: block; width: 100%; height: auto; }
svg.chart text { fill: var(--gris); font-family: var(--f); font-size: 9px; }

/* estados vacíos y de carga */
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; text-align: center; color: var(--txt2); }
.empty p { max-width: 34ch; }
.sk { border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%) var(--bg2); background-size: 220% 100%; animation: shim 1.3s linear infinite; }
@keyframes shim { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--bg); box-shadow: var(--in-s); color: var(--txt2); font-size: 14px; }
.banner b { color: var(--lila); }
.banner .x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--gris); display: grid; place-items: center; }

.note { padding: 10px 14px; border-radius: 14px; background: var(--bg); box-shadow: var(--in-s); color: var(--txt2); font-size: 14px; }
.note b { color: var(--lila); }

.st { padding: 4px 10px; border-radius: 999px; background: var(--bg); box-shadow: var(--in-s); font-size: 12px; font-weight: 500; white-space: nowrap; }
.st.pend { color: var(--warn); } .st.curso { color: var(--lila); } .st.hecho { color: var(--ok); }

.url { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--lila); overflow-wrap: anywhere; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: var(--bg); box-shadow: var(--in-s); border-radius: 12px; padding: 12px; overflow-x: auto; white-space: pre; color: var(--txt); }

.qrbox { width: min(260px, 100%); align-self: center; padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--out); }
.qrbox svg { display: block; width: 100%; height: auto; }

/* vista previa de la web */
.webframe { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--out); height: min(66vh, 640px); }
.webframe iframe { display: block; width: 100%; height: 100%; border: 0; }
.webframe.desk { height: auto; }
.webframe.desk .vp { overflow: hidden; }
.webframe.desk iframe { width: 1280px; height: 800px; transform-origin: 0 0; }
.webframe.phone { width: 390px; max-width: 100%; align-self: center; height: 700px; border-radius: 32px; border: 8px solid #2a2433; }

/* acordeones (admin) */
details.acc { background: var(--surf); border-radius: 22px; box-shadow: var(--out); padding: 0 16px; }
details.acc > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; font-weight: 700; cursor: pointer; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary .chev { margin-left: auto; width: 18px; height: 18px; color: var(--gris); transition: transform .2s; }
details.acc[open] > summary .chev { transform: rotate(90deg); }
details.acc > summary .ib { width: 34px; height: 34px; border-radius: 11px; }
details.acc > summary .ib .i { width: 18px; height: 18px; }
.acc-body { display: flex; flex-direction: column; gap: 14px; padding: 2px 0 16px; }

/* ---------- barra inferior ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); align-items: end;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 -1px 0 var(--hair), 0 -10px 26px rgba(110, 100, 135, .12);
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-height: 54px; padding: 2px 0; border: 0; background: none; color: var(--gris); font-size: 11px; font-weight: 500; }
.tab .ic { display: grid; place-items: center; width: 54px; height: 31px; border-radius: 999px; transition: box-shadow .2s, background .2s; }
.tab .i { width: 23px; height: 23px; }
.tab[aria-current="page"] { color: var(--lila); }
.tab[aria-current="page"] .ic { background: var(--bg); box-shadow: var(--in-s); }
.tab.plus .ic { width: 56px; height: 56px; margin-top: -24px; border-radius: 50%; background: var(--mor); color: #fff; box-shadow: var(--brand-sh), 0 0 0 5px #ece9f2; }
.tab.plus .i { width: 26px; height: 26px; stroke-width: 2.2; }
.tab.plus[aria-current="page"] .ic { background: var(--mor); box-shadow: var(--brand-sh), 0 0 0 5px #ece9f2; }
.tab.plus:active .ic { transform: scale(.94); }
.cnt { position: absolute; top: 0; left: calc(50% + 5px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; border: 2px solid #ece9f2; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }

/* ---------- hoja inferior (sheet) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(42, 36, 51, .38); animation: fade .2s ease both; }
.sheet-panel { display: flex; flex-direction: column; max-height: 92vh; padding: 6px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; background: var(--bg); box-shadow: 0 -10px 30px rgba(42, 36, 51, .2); animation: up .28s cubic-bezier(.2, .8, .2, 1) both; }
.sheet.full .sheet-panel { height: 92vh; }
.sheet-grab { width: 40px; height: 5px; margin: 4px auto 8px; border-radius: 3px; background: rgba(110, 100, 135, .35); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; }
.sheet-head h2 { font-size: 18px; }
.sheet-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--surf); box-shadow: var(--out-s); color: var(--txt2); display: grid; place-items: center; flex-shrink: 0; }
.sheet-body { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet.full .sheet-body { flex: 1; }
.sheet-body iframe { flex: 1; width: 100%; min-height: 0; border: 0; border-radius: 16px; background: #fff; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--txt2); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* ---------- aviso flotante ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 22px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: #2f2838; color: #fff; font-size: 14px; text-align: center; box-shadow: 0 10px 26px rgba(42, 36, 51, .3); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: .25s ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.skel { color: var(--gris); padding: 40px 16px; text-align: center; }

/* ---------- páginas sueltas (entrar, contraseña, sin conexión) ---------- */
body.solo { min-height: 100vh; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.solo-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; padding: 28px 22px; }
.solo-card form { display: flex; flex-direction: column; gap: 12px; }
.okbox { padding: 14px; border-radius: 16px; background: var(--bg); box-shadow: var(--in-s); color: var(--txt2); }

/* ---------- ordenador ---------- */
@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: 252px minmax(0, 1fr); }
  .side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 0; height: 100vh; padding: 22px 16px; overflow-y: auto; box-shadow: inset -1px 0 0 var(--hair); }
  .side .brand { flex: none; }
  .side nav { display: flex; flex-direction: column; gap: 4px; }
  .side nav button { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border: 0; border-radius: 14px; background: none; color: var(--txt2); font-size: 15px; font-weight: 500; text-align: left; }
  .side nav button[aria-current="page"] { background: var(--mor); color: #fff; box-shadow: var(--brand-sh); }
  .side nav .cnt { position: static; margin-left: auto; border: 0; }
  .side .sep { height: 1px; margin: 8px 6px; background: var(--hair); }
  .tabbar { display: none; }
  .topbar .brand, .topbar .avatar { display: none; }
  .topbar { min-height: 52px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .topbar.scrolled { background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .topbar .back { flex: none; }
  .ttl { display: none; }
  .view { padding: 4px 32px 56px; }
  .toast { bottom: 32px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fgrid .full { grid-column: 1 / -1; }
  .sheet { justify-content: center; align-items: center; }
  .sheet-panel { width: min(560px, 92vw); max-height: 86vh; border-radius: 24px; padding-bottom: 20px; }
  .sheet.full .sheet-panel { width: min(900px, 94vw); height: 86vh; }
  .sheet-grab { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .view.enter, .view.push, .sheet, .sheet-panel, .sk { animation: none; }
  .btn, .card.tap, .toast { transition: none; }
}

/* tarjetas pulsables que también son KPI */
.card.tap.kpi { display: flex; }
button.card { font: inherit; }

.topbar.show-ttl .ttl { opacity: 1; }
.banner.slim { flex-wrap: nowrap; padding: 7px 7px 7px 14px; min-height: 50px; }
.banner.slim > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.banner.slim .btn { flex-shrink: 0; }
@media (min-width: 900px) { .topbar.root { display: none; } .view { padding-top: 28px; } }
