/*
 * Booth UI — общая дизайн-система веб-кабинетов облака: кабинет продавца (/vendor) и кабинет клиента.
 * Облако отдаёт файл по /ui/booth-ui.css. Палитра — как у сайта продаж: лента сублимационной печати
 * (жёлтый, пурпурный, бирюзовый), пурпурный — главный акцент.
 *
 * Каркас:     .app > .side (меню, десктоп) + .main; .tabbar — нижние вкладки на телефоне (≤ 820px)
 * Блоки:      .card, .card-head, .stats > .stat, .grid-auto, .stack, .row, .spacer
 * Элементы:   .btn (.primary .ghost .danger .sm .icon), .field (label + input/select/textarea), .check,
 *             .seg (переключатель), .chip (.ok .warn .bad .info .accent), .mono, .muted, .empty
 * Таблицы:    table.tbl — на телефоне строки становятся карточками; подпись ячейки берётся из data-label
 * Панели:     .sheet-backdrop + .sheet — справа на десктопе, снизу на телефоне; .sheet.open показывает
 * Будки:      .booth-grid (сетка карточек), .booth (карточка будки), .online / .offline (точка «в сети»), .meter > i (полоса остатка, style="--v:40%"),
 *             .meter.low, .warn-list
 * Ввод:       .switch (input type=checkbox внутри label.switch), textarea.code (JSON и конфиги)
 * Меню:       .side-tools (язык, тема, выход в подвале меню)
 * Прочее:     .toast (.show), .login-wrap (вход и регистрация по центру, и страница /link с телефона),
 *             .ribbon (полоска Y/M/C), .skeleton, .keybox (ключи и коды крупно моноширинным)
 */

:root {
  --bg: #f4f5fa;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --ink: #14152b;
  --muted: #5b5e78;
  --line: #e3e4ee;
  --accent: #e0167a;
  --accent-ink: #ffffff;
  --accent-soft: #fde7f1;
  --y: #f5c400;
  --m: #e0167a;
  --c: #0098d6;
  --ok: #188a4a;
  --ok-soft: #e3f6ea;
  --warn: #b26a00;
  --warn-soft: #fff1d6;
  --bad: #c8293f;
  --bad-soft: #fde6e9;
  --info: #0079ad;
  --info-soft: #e0f3fb;
  --shadow: 0 1px 2px rgba(20, 21, 43, .06), 0 8px 24px rgba(20, 21, 43, .06);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 14px;
  --r-sm: 10px;
  /* Знак BoothOps, одинаковый в обеих темах (исходник mobile/assets/brand/mark.svg). */
  --brand-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cdefs%3E%3CradialGradient id='g' cx='0.25' cy='0.15' r='1'%3E%3Cstop offset='0' stop-color='%232b2e5c'/%3E%3Cstop offset='0.7' stop-color='%2314152b'/%3E%3C/radialGradient%3E%3CclipPath id='t'%3E%3Crect width='1024' height='1024' rx='232'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23t)'%3E%3Crect width='1024' height='1024' fill='url(%23g)'/%3E%3Cg transform='translate(512 512) rotate(-6) scale(1.45) translate(-512 -512)'%3E%3Crect x='376' y='262' width='272' height='500' rx='40' fill='%23ffffff'/%3E%3Crect x='406' y='292' width='212' height='120' rx='18' fill='%23f5c400'/%3E%3Crect x='406' y='432' width='212' height='120' rx='18' fill='%23e0167a'/%3E%3Crect x='406' y='572' width='212' height='120' rx='18' fill='%230098d6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --side: 232px;
  --tabbar: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0f1d; --surface: #171930; --surface-2: #20233d; --ink: #eceefa; --muted: #9ea2c2; --line: #2b2e4c;
    --accent: #ff4fa0; --accent-ink: #1a0a12; --accent-soft: #3a1a2c;
    --ok: #4cd38a; --ok-soft: #133524; --warn: #ffb547; --warn-soft: #3a2a10; --bad: #ff6b7f; --bad-soft: #3d1820;
    --info: #4cc3f5; --info-soft: #10314a; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0f1d; --surface: #171930; --surface-2: #20233d; --ink: #eceefa; --muted: #9ea2c2; --line: #2b2e4c;
  --accent: #ff4fa0; --accent-ink: #1a0a12; --accent-soft: #3a1a2c;
  --ok: #4cd38a; --ok-soft: #133524; --warn: #ffb547; --warn-soft: #3a2a10; --bad: #ff6b7f; --bad-soft: #3d1820;
  --info: #4cc3f5; --info-soft: #10314a; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font: 700 clamp(22px, 3vw, 28px)/1.15 var(--display); letter-spacing: -.01em; }
h2 { font: 700 17px/1.3 var(--body); }
h3 { font: 700 15px/1.3 var(--body); }
a { color: var(--accent); }
a.btn, a.nav-btn { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: .01em; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- каркас ---------- */
.ribbon { height: 4px; background: linear-gradient(90deg, var(--y) 0 33.3%, var(--m) 33.3% 66.6%, var(--c) 66.6% 100%); }
.app {
  display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh;
  /* Фон боковой панели — на всю высоту страницы, как бы длинно ни прокручивали. */
  background: linear-gradient(to right, var(--surface) calc(var(--side) - 1px), var(--line) 0 var(--side), transparent 0);
}
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px;
  padding: 20px 14px; padding-left: max(14px, env(safe-area-inset-left, 0px));
  background: var(--surface); border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font: 700 17px/1 var(--display); }
.brand i { flex: none; width: 30px; height: 30px; background: var(--brand-mark) center / contain no-repeat; }
/* Знак BoothOps (mobile/assets/brand/mark.svg): плитка с полоской фото Y/M/C. Разметка <i><b></b><b></b><b></b></i> прежняя. */
.brand i b { display: none; }
.brand small { font: 600 11px/1 var(--body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.nav-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: var(--muted);
  font: 600 14px/1 var(--body); padding: 11px 12px; border-radius: var(--r-sm); cursor: pointer; text-align: left;
}
.nav-btn svg { width: 20px; height: 20px; flex: none; }
.nav-btn:hover { background: var(--surface-2); color: var(--ink); }
.nav-btn.on { background: var(--accent-soft); color: var(--accent); }
.side .spacer { flex: 1; }
.side-foot { display: flex; flex-direction: column; gap: 10px; padding: 12px 10px 0; border-top: 1px solid var(--line); }
.side-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; flex: none; }
.who div { min-width: 0; } .who b, .who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { font-size: 12px; color: var(--muted); }
.main { min-width: 0; padding-block: 28px 48px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.page { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.topbar { display: none; }
.tabbar { display: none; }

@media (max-width: 820px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app { background: none; }
  .side { display: none; }
  .topbar {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20;
    /* Отступ под строку состояния — внутри шапки. С top: env(...) липкая шапка на старте съезжала вниз на высоту
       строки состояния и закрывала заголовок страницы (видно в приложении BoothOps, Android edge-to-edge). */
    padding-block: calc(10px + env(safe-area-inset-top, 0px)) 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  }
  .topbar .brand { padding: 0; flex: 1; }
  .main { padding-block: 18px calc(var(--tabbar) + 28px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .tabbar .nav-btn { flex-direction: column; gap: 4px; justify-content: center; height: var(--tabbar); font-size: 11px; border-radius: 0; padding: 6px 2px; text-align: center; }
  .tabbar .nav-btn.on { background: none; }
}

/* ---------- блоки ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.card.flat { box-shadow: none; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row .spacer { flex: 1; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1020px) { .cols-2 { grid-template-columns: minmax(0, 1fr); } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.stat b { font: 700 24px/1.1 var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat small { color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .stat { padding: 14px; } .stat b { font-size: 20px; } }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); }

/* ---------- элементы ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 700 14px/1 var(--body); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.icon { width: 38px; min-height: 38px; padding: 0; }
.btn svg { width: 18px; height: 18px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .input {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink); font: 500 15px/1.4 var(--body);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field small { color: var(--muted); font-size: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in .check { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
.chips-in .check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; white-space: nowrap; border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--body); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.info { background: var(--info-soft); color: var(--info); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.chip svg { width: 14px; height: 14px; flex: none; }
.chip.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.err { color: var(--bad); font-size: 14px; min-height: 1.2em; }

/* ---------- таблицы: на телефоне строки — карточки ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -20px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th:first-child, .tbl td:first-child { padding-left: 20px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 20px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.tbl tr.click { cursor: pointer; }
@media (max-width: 820px) {
  .tbl-wrap { margin: 0; overflow: visible; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { border: 0; padding: 3px 0 !important; display: flex; gap: 12px; justify-content: space-between; text-align: right; }
  .tbl td::before { content: attr(data-label); color: var(--muted); font-size: 13px; text-align: left; flex: none; }
  .tbl td[data-label=""]::before { content: none; }
  .tbl td:empty { display: none; }
  .tbl td.lead { display: block; text-align: left; font-size: 15px; padding-bottom: 6px !important; }
  .tbl td.lead::before { content: none; }
  .tbl tbody tr:hover td { background: none; }
}

/* ---------- выезжающая панель ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(10, 11, 25, .38); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet {
  position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(560px, 100%); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateX(102%); visibility: hidden; transition: transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s .25s;
  padding-top: env(safe-area-inset-top, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { flex: 1; }
.sheet-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.sheet-foot { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.sheet.open { transform: none; visibility: visible; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.sheet .grid-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.sheet.open + .sheet-backdrop, .sheet-backdrop.open { opacity: 1; pointer-events: auto; }
@media (max-width: 820px) {
  .sheet { top: auto; left: 0; width: 100%; max-height: 92vh; border-left: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; transform: translateY(102%); padding-left: env(safe-area-inset-left, 0px); }
  .sheet-head::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line); }
}
.section-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- прочее ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 820px) { .toast { bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom, 0px)); } }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding-block: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.login-wrap .card { width: min(420px, 100%); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.keybox { font: 600 clamp(15px, 2.4vw, 18px)/1.7 var(--mono); letter-spacing: .04em; background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; min-height: 16px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; animation: none !important; } }

/* ---------- будки (кабинет клиента) ---------- */
.booth { display: flex; flex-direction: column; gap: 12px; }
.booth-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.booth-head { align-items: flex-start; }
.booth-head h3 { flex: 1; min-width: 0; overflow-wrap: anywhere; }
/* Список будок: карточки шире общей сетки, чтобы влезали название, адрес и бумага. */
.booth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.online, .offline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.online::before, .offline::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.online { color: var(--ok); } .online::before { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.offline { color: var(--muted); } .offline::before { background: var(--muted); }
.meter { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter > i { display: block; height: 100%; width: var(--v, 0%); background: var(--c); border-radius: inherit; }
.meter.low > i { background: var(--warn); }
.meter.empty > i { background: var(--bad); }
.warn-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.warn-list li { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--warn); }
.warn-list li::before { content: "!"; font-weight: 800; }

/* ---------- переключатель и редактор ---------- */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; margin: 0; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
textarea.code { font: 500 13px/1.55 var(--mono); tab-size: 2; min-height: 220px; white-space: pre; overflow: auto; }
