/* ===== Inventario Davor — tema claro utilitario ===== */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8f8;
  --bg-head: #f0f2f2;
  --border: #d5d9d9;
  --border-soft: #e7e7e7;
  --text: #0f1111;
  --text-2: #565959;
  --link: #007185;
  --link-hover: #c7511f;
  --cta: #ffd814;
  --cta-border: #fcd200;
  --cta-hover: #f7ca00;
  --ok: #007600;
  --warn: #c7511f;
  --bad: #b12704;
  --shadow: 0 2px 5px rgba(15, 17, 17, .12);
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  overflow: hidden;
}
.hidden { display: none !important; }
a, .linklike { color: var(--link); text-decoration: none; cursor: pointer; }
a:hover, .linklike:hover { color: var(--link-hover); text-decoration: underline; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #c8cccc; border-radius: 10px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: #a8acac; }

/* ============ BOTONES ============ */
.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}
.btn:hover { background: var(--bg-soft); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-cta {
  background: var(--cta);
  border-color: var(--cta-border);
  font-weight: 400;
}
.btn-cta:hover { background: var(--cta-hover); }
.btn-danger { color: var(--bad); }
.btn-danger:hover { background: #fdf0ee; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 6px; }

.icon-btn {
  background: none; border: 1px solid transparent; border-radius: 6px;
  padding: 6px 8px; cursor: pointer; color: var(--text-2); font-family: var(--font); font-size: 13px;
}
.icon-btn:hover { border-color: var(--border); background: var(--bg-soft); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; display: block; }

/* ============ CAMPOS ============ */
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field span { font-size: 13px; font-weight: bold; }
.field input, .field select, .field textarea, select.plain, input.plain {
  background: #fff; border: 1px solid #888c8c; border-radius: 4px;
  padding: 7px 10px; color: var(--text);
  font-family: var(--font); font-size: 13px; outline: none;
  box-shadow: 0 1px 2px rgba(15, 17, 17, .07) inset;
}
.field input:focus, .field select:focus, .field textarea:focus, select.plain:focus, input.plain:focus {
  border-color: var(--link);
  box-shadow: 0 0 0 3px #c8f3fa;
}
.field textarea { resize: vertical; }

.form-error {
  background: #fff; border: 1px solid var(--bad); border-radius: 6px;
  color: var(--bad); padding: 8px 12px; font-size: 13px; margin-bottom: 12px;
}

/* ============ LOGIN ============ */
.login-screen {
  position: fixed; inset: 0; z-index: 100;
  background: #fff;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 8vh; overflow-y: auto;
}
.login-brand { font-size: 26px; font-weight: bold; margin-bottom: 18px; letter-spacing: -.5px; }
.login-brand small { display: block; font-size: 12px; font-weight: normal; color: var(--text-2); margin-top: 3px; letter-spacing: 0; }
.login-card {
  width: 350px; max-width: calc(100vw - 32px);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 22px 26px;
}
.login-card h2 { font-size: 21px; font-weight: normal; margin-bottom: 14px; }
.login-footer { color: var(--text-2); font-size: 11px; margin-top: 26px; border-top: 1px solid var(--border-soft); padding-top: 14px; width: 350px; max-width: calc(100vw - 32px); text-align: center; }

/* ============ ESTRUCTURA ============ */
.app { display: flex; flex-direction: column; height: 100vh; }

.header {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 22px; border-bottom: 1px solid var(--border);
  background: #fff; flex-shrink: 0;
}
.brand { font-size: 18px; font-weight: bold; white-space: nowrap; cursor: pointer; }
.brand small { display: block; font-size: 10px; font-weight: normal; color: var(--text-2); }

.search-box { flex: 1; display: flex; max-width: 720px; }
.search-box input {
  flex: 1; border: 1px solid #888c8c; border-right: none;
  border-radius: 6px 0 0 6px; padding: 9px 13px;
  font-family: var(--font); font-size: 14px; outline: none;
}
.search-box input:focus { border-color: var(--link); }
.search-box button {
  border: 1px solid var(--cta-border); background: var(--cta);
  border-radius: 0 6px 6px 0; padding: 0 16px; cursor: pointer;
}
.search-box button:hover { background: var(--cta-hover); }
.search-box button svg { width: 18px; height: 18px; fill: var(--text); display: block; }

.header-right { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.conn-pill { font-size: 12px; color: var(--text-2); margin-right: 4px; }
.conn-pill::before { content: '●'; color: var(--ok); margin-right: 4px; }
.conn-pill.off::before { color: var(--bad); }
.user-mini { font-size: 12px; color: var(--text-2); text-align: right; line-height: 1.3; }
.user-mini b { display: block; color: var(--text); font-size: 13px; }

.chat-toggle { position: relative; }
.chat-badge {
  position: absolute; top: -3px; right: -3px;
  background: var(--bad); color: #fff; font-size: 10px; font-weight: bold;
  min-width: 16px; height: 16px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

.navtabs {
  display: flex; gap: 2px; padding: 0 22px;
  border-bottom: 1px solid var(--border); background: var(--bg-soft);
  flex-shrink: 0;
}
.navtab {
  background: none; border: none; border-bottom: 3px solid transparent;
  font-family: var(--font); font-size: 13.5px; color: var(--text-2);
  padding: 11px 16px 9px; cursor: pointer;
}
.navtab:hover { color: var(--text); }
.navtab.active { color: var(--text); font-weight: bold; border-bottom-color: var(--link); background: #fff; }

.body-row { display: flex; flex: 1; min-height: 0; }
.main { flex: 1; min-width: 0; overflow-y: auto; padding: 18px 22px 50px; }

/* ============ DASHBOARD ============ */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; margin-bottom: 16px;
}
.stat-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; background: #fff;
}
.stat-card .stat-label { color: var(--text-2); font-size: 12px; margin-bottom: 5px; }
.stat-card .stat-value { font-size: 24px; font-weight: bold; }
.stat-card .stat-extra { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.stat-card.clickable { cursor: pointer; }
.stat-card.clickable:hover { background: var(--bg-soft); }
.stat-card .stat-value.alert { color: var(--bad); }

.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }

.panel {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 16px 18px; background: #fff; margin-bottom: 12px;
}
.panel h3 { font-size: 15px; margin-bottom: 12px; }
.panel h3 small { color: var(--text-2); font-weight: normal; font-size: 12px; }
.chart-wrap { height: 230px; position: relative; }

.low-list { display: flex; flex-direction: column; max-height: 230px; overflow-y: auto; }
.low-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 4px; cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
}
.low-item:last-child { border-bottom: none; }
.low-item:hover .li-name { color: var(--link-hover); text-decoration: underline; }
.low-item img { width: 42px; height: 32px; object-fit: contain; flex-shrink: 0; }
.low-item .li-name { font-size: 13px; color: var(--link); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.low-item .li-sku { font-size: 11px; color: var(--text-2); }
.low-item .li-stock { font-size: 12px; font-weight: bold; color: var(--warn); white-space: nowrap; margin-left: auto; }
.low-item .li-stock.zero { color: var(--bad); }

.warehouse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.wh-card { border: 1px solid var(--border-soft); border-radius: 8px; padding: 13px; background: var(--bg-soft); }
.wh-card .wh-name { font-weight: bold; font-size: 14px; }
.wh-card .wh-units { font-size: 20px; font-weight: bold; margin: 4px 0 1px; }
.wh-card .wh-skus { color: var(--text-2); font-size: 12px; }

/* ============ INVENTARIO ============ */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border); border-radius: 99px; background: #fff;
  padding: 6px 14px; font-family: var(--font); font-size: 12.5px; cursor: pointer; color: var(--text);
}
.chip:hover { background: var(--bg-soft); }
.chip.active { border-color: var(--link); background: #e7f6f8; color: var(--link); font-weight: bold; }
.toolbar .spacer { flex: 1; }
.toolbar select.plain { padding: 6px 8px; cursor: pointer; }

.viewmode { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.viewmode button {
  background: #fff; border: none; padding: 6px 10px; cursor: pointer; color: var(--text-2);
  font-family: var(--font); font-size: 12.5px;
}
.viewmode button.active { background: var(--bg-head); color: var(--text); font-weight: bold; }
.viewmode button + button { border-left: 1px solid var(--border); }

/* tabla */
.table-panel { padding: 0; overflow: hidden; }
.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th {
  text-align: left; font-size: 12px; color: var(--text);
  font-weight: bold; padding: 10px 12px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
  background: var(--bg-head);
}
.inv-table th[data-sort] { cursor: pointer; user-select: none; }
.inv-table th[data-sort]:hover { color: var(--link); }
.inv-table th.sorted::after { content: ' ▾'; color: var(--link); }
.inv-table th.sorted.asc::after { content: ' ▴'; }
.inv-table td { padding: 9px 12px; border-bottom: 1px solid var(--border-soft); font-size: 13px; vertical-align: middle; }
.inv-table tbody tr:hover { background: #fafafa; }
.inv-table .num { text-align: right; }
.td-photo { width: 56px; }
.td-photo img { width: 52px; height: 40px; object-fit: contain; display: block; }
.td-sku { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.td-name { max-width: 330px; }
.td-name .pname { color: var(--link); cursor: pointer; font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-name .pname:hover { color: var(--link-hover); text-decoration: underline; }
.td-name .pmodel { color: var(--text-2); font-size: 11.5px; }
.td-loc { font-size: 12px; color: var(--text-2); white-space: nowrap; }

.stock-state { font-size: 12.5px; font-weight: bold; white-space: nowrap; }
.stock-state.ok { color: var(--ok); }
.stock-state.low { color: var(--warn); }
.stock-state.out { color: var(--bad); }
.stock-state small { font-weight: normal; color: var(--text-2); }

.cat-tag { font-size: 11.5px; color: var(--text-2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px; white-space: nowrap; background: var(--bg-soft); }
.status-txt { font-size: 12px; white-space: nowrap; }
.status-txt.activo { color: var(--ok); }
.status-txt.en_transito { color: var(--warn); }
.status-txt.descontinuado { color: var(--text-2); }

.row-actions { display: flex; gap: 4px; justify-content: flex-end; }

.table-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; color: var(--text-2); font-size: 12.5px;
  border-top: 1px solid var(--border-soft); background: var(--bg-soft);
}
.pager { display: flex; align-items: center; gap: 8px; }

/* vista de cuadrícula con fotos */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}
.prod-card {
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
  padding: 12px; cursor: pointer; display: flex; flex-direction: column;
}
.prod-card:hover { box-shadow: var(--shadow); }
.prod-card img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 8px; }
.prod-card .pc-name { color: var(--link); font-size: 13px; line-height: 1.35; height: 35px; overflow: hidden; }
.prod-card:hover .pc-name { color: var(--link-hover); text-decoration: underline; }
.prod-card .pc-sku { color: var(--text-2); font-size: 11px; margin: 3px 0; }
.prod-card .pc-price { font-size: 17px; font-weight: bold; }
.prod-card .pc-price small { font-size: 11px; font-weight: normal; color: var(--text-2); }
.prod-card .pc-stock { margin-top: 4px; }
.prod-card .pc-actions { margin-top: 9px; display: flex; gap: 6px; }
.prod-card .pc-actions .btn { flex: 1; }

/* ============ MOVIMIENTOS ============ */
.mov-list { display: flex; flex-direction: column; }
.mov-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px; border-bottom: 1px solid var(--border-soft);
}
.mov-item:last-child { border-bottom: none; }
.mov-ico {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: bold; border: 1px solid var(--border);
}
.mov-ico.entrada { color: var(--ok); background: #f0f7f0; }
.mov-ico.salida { color: var(--bad); background: #fdf2f0; }
.mov-ico.ajuste { color: var(--text-2); background: var(--bg-soft); }
.mov-info { flex: 1; min-width: 0; }
.mov-line { font-size: 13px; }
.mov-line .linklike { font-size: 12.5px; }
.mov-note { color: var(--text-2); font-size: 12px; margin-top: 2px; }
.mov-meta { text-align: right; flex-shrink: 0; }
.mov-qty { font-weight: bold; font-size: 13.5px; }
.mov-qty.entrada { color: var(--ok); }
.mov-qty.salida { color: var(--bad); }
.mov-qty.ajuste { color: var(--text-2); }
.mov-date { color: var(--text-2); font-size: 11.5px; margin-top: 2px; }

/* ============ CHAT ============ */
.chat-panel {
  width: 310px; flex-shrink: 0; display: flex; flex-direction: column;
  background: #fff; border-left: 1px solid var(--border);
}
.chat-panel.collapsed { display: none; }
.chat-header { padding: 13px 14px 10px; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: flex-start; }
.chat-header h3 { font-size: 14.5px; }
.online-row { display: flex; align-items: center; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.online-chip {
  display: flex; align-items: center; gap: 5px;
  border: 1px solid var(--border); border-radius: 99px;
  padding: 2px 9px 2px 3px; font-size: 11.5px; background: var(--bg-soft);
}
.online-chip .mini-avatar {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: bold; color: #fff;
}
.online-chip .on-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

.chat-messages { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 11px; background: var(--bg-soft); }
.msg { display: flex; gap: 8px; max-width: 94%; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 11px; color: #fff;
}
.msg-body { min-width: 0; }
.msg-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.msg-head .msg-name { font-size: 12px; font-weight: bold; }
.msg-head .msg-time { font-size: 10px; color: var(--text-2); }
.msg-text {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 7px 11px;
  font-size: 13px; line-height: 1.4; word-wrap: break-word;
}
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.msg.mine .msg-head { flex-direction: row-reverse; }
.msg.mine .msg-text { background: #e7f6f8; border-color: #bfe3e8; }
.msg-system { text-align: center; color: var(--text-2); font-size: 11px; padding: 1px 0; }

.chat-typing { padding: 4px 16px; color: var(--text-2); font-size: 11.5px; font-style: italic; }
.chat-input { display: flex; gap: 7px; padding: 10px 12px; border-top: 1px solid var(--border-soft); }
.chat-input input {
  flex: 1; border: 1px solid #888c8c; border-radius: 6px; padding: 8px 11px;
  font-family: var(--font); font-size: 13px; outline: none;
}
.chat-input input:focus { border-color: var(--link); }

/* ============ MODALES ============ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 17, 17, .45); z-index: 200; }
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 680px; max-width: calc(100vw - 24px); max-height: 90vh;
  background: #fff; border-radius: 10px; z-index: 201;
  display: flex; flex-direction: column; box-shadow: 0 8px 28px rgba(15, 17, 17, .25);
}
.modal.wide { width: 860px; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border-soft);
}
.modal-head h3 { font-size: 16px; }
.modal-body { padding: 18px 20px; overflow-y: auto; }

.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.edit-grid .span-2 { grid-column: span 2; }
.modal-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

/* ============ DETALLE (estilo ficha de producto) ============ */
.detail-layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; }
@media (max-width: 640px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-photo { border: 1px solid var(--border-soft); border-radius: 8px; padding: 10px; }
.detail-photo img { width: 100%; height: 190px; object-fit: contain; }
.detail-info h4 { font-size: 18px; line-height: 1.3; margin-bottom: 2px; }
.detail-info .d-sku { font-size: 12px; color: var(--text-2); }
.detail-info .d-sku .linklike { font-size: 12px; }
.d-pricebox { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin: 12px 0; background: var(--bg-soft); }
.d-price { font-size: 22px; font-weight: bold; }
.d-price small { font-size: 12px; font-weight: normal; color: var(--text-2); }
.d-bulk { font-size: 12.5px; color: var(--text-2); margin-top: 3px; }
.d-stockline { margin-top: 8px; font-size: 14px; }
.detail-bullets { margin: 10px 0 0 18px; font-size: 13px; line-height: 1.75; }
.detail-bullets b { text-transform: capitalize; }
.detail-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.d-section-title { font-size: 13.5px; font-weight: bold; margin: 18px 0 6px; border-top: 1px solid var(--border-soft); padding-top: 14px; }

/* ============ ASISTENTE NUEVO PRODUCTO ============ */
.wiz-steps { display: flex; gap: 4px; margin-bottom: 18px; }
.wiz-step {
  flex: 1; text-align: center; font-size: 11.5px; color: var(--text-2);
  border-bottom: 3px solid var(--border-soft); padding-bottom: 7px;
}
.wiz-step.done { border-bottom-color: #79b8c4; }
.wiz-step.current { border-bottom-color: var(--link); color: var(--text); font-weight: bold; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.opt-card {
  border: 1px solid var(--border); border-radius: 8px; padding: 12px;
  cursor: pointer; text-align: center; background: #fff;
}
.opt-card:hover { border-color: var(--link); background: #fafdfd; }
.opt-card.selected { border: 2px solid var(--link); background: #e7f6f8; padding: 11px; }
.opt-card img { width: 100%; height: 86px; object-fit: contain; margin-bottom: 7px; }
.opt-card .oc-title { font-size: 13px; font-weight: bold; }
.opt-card .oc-sub { font-size: 11.5px; color: var(--text-2); margin-top: 3px; }

.pick-row { margin-bottom: 14px; }
.pick-row > label { display: block; font-size: 13px; font-weight: bold; margin-bottom: 7px; }
.pick-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.pick-chip {
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
  padding: 8px 14px; font-family: var(--font); font-size: 13px; cursor: pointer;
}
.pick-chip:hover { border-color: var(--link); }
.pick-chip.selected { border: 2px solid var(--link); background: #e7f6f8; font-weight: bold; padding: 7px 13px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.stepper button {
  width: 38px; height: 38px; border: none; background: var(--bg-head);
  font-size: 18px; cursor: pointer; font-family: var(--font); color: var(--text);
}
.stepper button:hover { background: #e3e6e6; }
.stepper input {
  width: 76px; height: 38px; border: none; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); text-align: center;
  font-family: var(--font); font-size: 15px; font-weight: bold; outline: none;
}
.qty-quick { display: inline-flex; gap: 6px; margin-left: 10px; }

.wiz-summary { border: 1px solid var(--border); border-radius: 8px; padding: 14px; display: flex; gap: 16px; align-items: center; background: var(--bg-soft); }
.wiz-summary img { width: 110px; height: 84px; object-fit: contain; background: #fff; border: 1px solid var(--border-soft); border-radius: 6px; }
.wiz-summary .ws-name { font-weight: bold; font-size: 14.5px; }
.wiz-summary .ws-line { font-size: 12.5px; color: var(--text-2); margin-top: 3px; }
.wiz-nav { display: flex; justify-content: space-between; margin-top: 18px; gap: 10px; }
.wiz-nav .right { display: flex; gap: 8px; }

/* ============ AVISOS ============ */
.toasts { position: fixed; bottom: 18px; right: 18px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 15px; font-size: 13px;
  box-shadow: var(--shadow); max-width: 330px;
}
.toast.success { border-left: 4px solid var(--ok); }
.toast.error { border-left: 4px solid var(--bad); }
.toast.chat { border-left: 4px solid var(--link); cursor: pointer; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .chat-panel { position: fixed; right: 0; top: 0; bottom: 0; z-index: 150; box-shadow: var(--shadow); }
  .brand small { display: none; }
}
