/* Magazyn Baptysterium – wspólny arkusz stylów */
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #174677;
  --navy-d: #0E2F52;
  --navy-l: #E8EEF6;
  --bg: #F3F5F8;
  --card: #FFFFFF;
  --line: #E1E6EE;
  --line-2: #C7D1DE;
  --line-3: #EEF1F5;
  --text: #16202C;
  --muted: #4A5566;
  --green: #26703F;
  --green-d: #1B5E3B;
  --green-l: #E6F4EA;
  --amber: #7A5A00;
  --amber-l: #FFF6D6;
  --orange: #B93E0A;
  --orange-l: #FDEEE4;
  --red: #B42318;
  --red-l: #FDECEA;
  --purple: #8A3FA0;
  --purple-l: #F6ECF9;
  --ext: #6B3A00;
  --ext-l: #FFFBF3;
  --ext-b: #F3D9AE;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 18px rgba(23, 70, 119, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.45; }
a { color: var(--navy); }
a:hover { color: var(--navy-d); }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
h1 { font-size: 28px; color: var(--navy); font-weight: 700; }
h2 { font-size: 18px; color: var(--navy); font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.sr-only, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid #6FA8DC; outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xsmall { font-size: 12px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.bold { font-weight: 700; }
.hidden, [hidden] { display: none !important; }
.ico { flex-shrink: 0; vertical-align: middle; }

/* ---------- Pasek górny ---------- */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-in { max-width: 1240px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: 12px; }
.brand:hover { color: #fff; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-sm { font-size: 10px; letter-spacing: .14em; opacity: .85; }
.brand-lg { font-size: 18px; font-weight: 700; }
.mainnav { display: flex; gap: 4px; flex: 1 1 auto; flex-wrap: wrap; }
.mainnav a { color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 14px; }
.mainnav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mainnav a.on { background: #fff; color: var(--navy); font-weight: 600; }
.usermenu { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; text-decoration: none; }
.uname { display: flex; flex-direction: column; line-height: 1.15; font-size: 14px; font-weight: 600; }
.uname small { font-weight: 400; opacity: .85; font-size: 12px; }
.btn-onnavy { color: #fff !important; border: 1px solid rgba(255, 255, 255, .5); background: transparent; }
.lnk-onnavy { color: #fff; font-size: 13px; }
.lnk-onnavy:hover { color: #fff; }

.netstatus { background: var(--amber-l); color: #5E4500; font-size: 13px; padding: 8px 16px; text-align: center; display: flex; gap: 8px; justify-content: center; align-items: center; }

/* ---------- Dolny pasek (telefon) ---------- */
.bottomnav { display: none; }
@media (max-width: 760px) {
  .mainnav, .uname, .usermenu .btn-onnavy, .usermenu .lnk-onnavy { display: none; }
  .topbar-in { padding: 8px 14px; }
  .brand-lg { font-size: 16px; }
  .usermenu { margin-left: auto; }
  .bottomnav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; font-size: 11px; color: var(--muted); text-decoration: none; }
  .bottomnav a.on { color: var(--navy); font-weight: 600; }
  body:not(.bare) { padding-bottom: 78px; }
}

/* ---------- Kontener ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 24px 24px 48px; display: flex; flex-direction: column; gap: 18px; }
.wrap-narrow { max-width: 640px; }
@media (max-width: 760px) { .wrap { padding: 14px 12px 32px; gap: 14px; } h1 { font-size: 23px; } }
.backlink { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-size: 14px; font-weight: 500; align-self: flex-start; min-height: 32px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.page-head > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 500; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #F7F9FC; color: var(--navy-d); }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--navy-d); color: #fff; }
.btn-danger { color: var(--red); border-color: #F0C6C1; }
.btn-danger:hover { background: var(--red-l); color: var(--red); }
.btn-green { color: var(--green); border-color: var(--green); }
.btn-purple { color: var(--purple); border-color: #D9B8E3; }
.btn-purple.on, .btn-purple[aria-pressed="true"] { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-soft { background: var(--navy-l); border-color: var(--navy); color: var(--navy); font-weight: 600; }
.btn-lg { min-height: 52px; font-size: 16px; border-radius: 12px; padding: 0 20px; }
.btn-sm { min-height: 36px; font-size: 13px; padding: 0 12px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.topbar .btn-onnavy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.topbar .btn-onnavy:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font-size: 14px; }

/* ---------- Karty i siatki ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.card-tight { padding: 12px; }
.card h2 { margin-bottom: 10px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.cols { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.cols > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cols > .side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gauto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 760px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .g2.g-collapse, .g3.g-collapse { grid-template-columns: 1fr; } }

.tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.tile { flex: 1 1 170px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tile .t-label { font-size: 13px; color: var(--muted); }
.tile .t-val { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.tile .t-sub { font-size: 12px; color: var(--muted); }
.tile.good { background: var(--green-l); } .tile.good .t-val { color: var(--green-d); }
.tile.bad { background: var(--red-l); } .tile.bad .t-val { color: var(--red); }
@media (max-width: 760px) { .tile { flex-basis: 140px; padding: 12px; } .tile .t-val { font-size: 22px; } }

/* ---------- Formularze ---------- */
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; }
.field > input, .field > select, .field > textarea, .input, select.input {
  min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px; font-size: 15px; color: var(--text); background: #fff; width: 100%;
}
.field > textarea, textarea.input { padding: 10px 12px; min-height: 80px; }
.input-lg { min-height: 54px !important; font-size: 22px !important; font-weight: 700; }
.input-num { text-align: right; }
.inline-field { display: flex; align-items: center; gap: 6px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.form-grid .span2 { grid-column: span 2; }
.form-grid .span3 { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span3, .form-grid .span2 { grid-column: 1 / -1; } }
.missing { border-color: #E8B867 !important; background: #FFFBF0 !important; }
.missing-tag { display: inline-block; font-size: 11px; font-weight: 600; color: #8A6500; background: #FFF3CC; padding: 1px 8px; border-radius: 999px; }
.req-note { color: #8A6500; font-weight: 600; }

/* ---------- Licznik +/- ---------- */
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper input { width: 52px; height: 44px; text-align: center; border: 1px solid var(--line-2); border-radius: 8px; font-size: 17px; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.st-btn:active { background: var(--navy-l); }
.stepper-lg .st-btn { width: 48px; height: 48px; font-size: 24px; border-radius: 12px; }
.stepper-lg input { width: 54px; height: 48px; font-size: 21px; }

/* ---------- Chipy i segmenty ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.chip.on, .chip[aria-pressed="true"], input:checked + .chip { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-radio { position: absolute; opacity: 0; pointer-events: none; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #E4E8EE; border-radius: 12px; padding: 4px; gap: 4px; }
.seg a, .seg button, .seg label { min-height: 44px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; text-align: center; padding: 0 6px; }
.seg .on, .seg input:checked + span { background: #fff; color: var(--navy); }
.seg label span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 9px; }
.seg input { position: absolute; opacity: 0; }

/* ---------- Komunikaty ---------- */
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.alert-ok { background: var(--green-l); color: var(--green-d); }
.alert-err { background: var(--red-l); color: var(--red); }
.alert-info { background: var(--navy-l); color: var(--navy); }
.alert-warn { background: var(--amber-l); color: #5E4500; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.b-navy { background: var(--navy); color: #fff; }
.b-soft { background: var(--navy-l); color: var(--navy); }
.b-green { background: var(--green-l); color: var(--green); }
.b-amber { background: var(--amber-l); color: var(--amber); }
.b-red { background: var(--red-l); color: var(--red); }
.b-grey { background: #E4E8EE; color: var(--muted); }
.b-purple { background: var(--purple-l); color: var(--purple); }
.b-ext { background: #FFE7C2; color: var(--ext); }
.empty { background: #fff; border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* ---------- Tabele ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px 12px; white-space: nowrap; }
.table td { padding: 10px 12px; border-top: 1px solid var(--line-3); vertical-align: middle; }
.table .num { text-align: right; white-space: nowrap; }
.table tfoot td { font-weight: 700; background: var(--navy-l); border-top: 2px solid var(--navy); }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 4px 0; }
.kv > span:first-child { color: var(--muted); }
.kv-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; }

/* ---------- Stany magazynowe ---------- */
.sbar { display: block; height: 10px; border-radius: 5px; background: #E4E8EE; overflow: hidden; flex: 1 1 auto; max-width: 420px; }
.sbar > span { display: block; height: 100%; border-radius: 5px; }
.sbar-sm { height: 8px; }
.sbar-zero { background: repeating-linear-gradient(45deg, #F4D4D0 0 4px, #fff 4px 8px); border: 1px dashed var(--red); }
.sbar-neg { background: repeating-linear-gradient(45deg, #B42318 0 6px, #D9483A 6px 12px); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); align-items: center; }
.legend i { display: inline-block; width: 28px; height: 8px; border-radius: 4px; vertical-align: middle; margin-right: 6px; }

.prow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prow.is-zero { background: #FFFBFA; border-color: #F0C6C1; }
.prow.is-neg { background: var(--red-l); border: 2px solid var(--red); }
.prow.is-neg .p-title { color: var(--red); }
.prow > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; }
.prow > summary::-webkit-details-marker { display: none; }
.p-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.p-title { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-bar { display: flex; align-items: center; gap: 12px; }
.p-locs { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); align-items: center; }
.p-locs b { color: var(--text); }
.p-qty { display: flex; flex-direction: column; align-items: flex-end; width: 72px; flex-shrink: 0; }
.p-qty b { font-size: 26px; line-height: 1; }
.p-qty small { font-size: 11px; color: var(--muted); }
.p-quick { display: flex; gap: 6px; flex-shrink: 0; }
.p-detail { border-top: 1px solid var(--line); padding: 16px; background: #FAFBFD; display: flex; flex-wrap: wrap; gap: 20px; }
.p-detail > div { flex: 1 1 340px; min-width: 0; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 14px; }
.dl dt { font-size: 12px; color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; }
.hist { display: flex; flex-direction: column; gap: 6px; }
.hist-item { display: flex; gap: 10px; align-items: baseline; font-size: 13px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.hist-item .d { font-weight: 700; width: 48px; flex-shrink: 0; }
.hist-item .m { color: var(--muted); white-space: nowrap; margin-left: auto; }
.hist-item.reverted { opacity: .55; text-decoration: line-through; }
@media (max-width: 760px) {
  .prow > summary { gap: 10px; padding: 10px; flex-wrap: wrap; }
  .p-title { white-space: normal; font-size: 15px; }
  .p-qty { width: 56px; } .p-qty b { font-size: 22px; }
  .p-quick { width: 100%; justify-content: flex-end; }
  .hist-item { flex-wrap: wrap; } .hist-item .m { margin-left: 0; width: 100%; }
}

/* ---------- Okładki ---------- */
.cover { width: 56px; height: 76px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #E4E8EE; display: inline-flex; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph { color: #fff; font-size: 9px; font-weight: 600; line-height: 1.2; padding: 6px; align-items: flex-end; }
.cover-sm { width: 44px; height: 60px; border-radius: 5px; overflow: hidden; flex-shrink: 0; display: inline-flex; background: #E4E8EE; }
.cover-sm img { width: 100%; height: 100%; object-fit: cover; }
.cover-sm.cover-ph { font-size: 7px; padding: 4px; }
.cover-lg { width: 120px; height: 164px; border-radius: 8px; overflow: hidden; display: inline-flex; background: #E4E8EE; }
.cover-lg img { width: 100%; height: 100%; object-fit: cover; }
.vdot { display: inline-block; border-radius: 50%; border: 2px solid #16202C; box-sizing: border-box; flex-shrink: 0; vertical-align: middle; }

/* ---------- Pozycje list (event, kampania) ---------- */
.line-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.line-card.ext { background: var(--ext-l); border-color: var(--ext-b); }
.line-card.sel { border: 2px solid var(--navy); }
.line-title { font-size: 16px; font-weight: 700; }
.var-row { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line-3); }
.var-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.var-head .r { margin-left: auto; font-size: 14px; color: var(--muted); }
.var-ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.var-ctrl .lbl { font-size: 14px; color: var(--muted); width: 60px; }
.var-ctrl .res { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }
.var-ctrl .res b { font-size: 22px; color: var(--green-d); line-height: 1; }
.var-ctrl .res small { font-size: 12px; color: var(--muted); }

/* ---------- Pasek akcji przyklejony u dołu (telefon) ---------- */
.sticky-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px 14px; margin: 0 -12px; display: flex; flex-direction: column; gap: 8px; z-index: 5; box-shadow: 0 -6px 16px rgba(22, 32, 44, .06); }
@media (min-width: 761px) { .sticky-foot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); } }
@media (max-width: 760px) { .sticky-foot { bottom: 62px; } }

/* ---------- Logowanie ---------- */
body.bare { background: #fff; }
.bare-wrap { max-width: 420px; margin: 0 auto; padding: 40px 22px; display: flex; flex-direction: column; gap: 16px; }
.login-card { display: flex; flex-direction: column; gap: 18px; }
.login-logo { display: flex; justify-content: center; padding: 10px 0 6px; }
.install-box { background: var(--navy-l); border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.install-box > div { flex: 1 1 auto; display: flex; flex-direction: column; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pw-meter span { height: 6px; border-radius: 3px; background: #E4E8EE; }
.pw-meter span.on { background: #40A060; }

/* ---------- Różne ---------- */
.hero { background: var(--navy); color: #fff; border-radius: 16px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero .grow { display: flex; flex-direction: column; gap: 4px; }
.hero .k { font-size: 12px; letter-spacing: .08em; opacity: .85; }
.hero .t { font-size: 22px; font-weight: 700; }
.hero .btn { background: #fff; color: var(--navy); border-color: #fff; font-weight: 700; }
.divider { height: 1px; background: var(--line); margin: 4px 0; }
details.more > summary { cursor: pointer; color: var(--navy); font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.pos { color: var(--green); } .neg { color: var(--red); }
.money-big { font-size: 22px; font-weight: 700; }
.timeline { display: flex; flex-direction: column; gap: 8px; }
.timeline > div { display: flex; gap: 12px; font-size: 13px; align-items: flex-start; }
.timeline .d { width: 52px; flex-shrink: 0; color: var(--muted); font-weight: 600; }
.bar2 { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #E4E8EE; }
.bar2 > span { display: block; height: 100%; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.toolbar .field { flex: 1 1 260px; }
.searchbox { display: flex; gap: 6px; }
.searchbox input { flex: 1 1 auto; min-width: 0; }
@media print { .topbar, .bottomnav, .actions, .no-print, .backlink { display: none !important; } body { background: #fff; } .wrap { padding: 0; } }
