/* ==========================================================================
   CWC Admin — Fiori (Horizon-inspired) admin theme
   ========================================================================== */
:root {
  --brand: #0070f2;
  --brand-hover: #0064d9;
  --brand-active: #0057c2;
  --brand-soft: #ebf8ff;
  --shell: #ffffff;
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-alt: #f8f9fa;
  --text: #1d2d3e;
  --text-2: #556b82;
  --text-3: #758ca4;
  --border: #e5e8eb;
  --border-strong: #c9d1d9;
  --field-border: #8396a8;
  --positive: #256f3a;  --positive-bg: #f5fae5;  --positive-line: #a7d48f;
  --negative: #aa0808;  --negative-bg: #ffeaf4;  --negative-line: #f0a3a3;
  --critical: #b44f00;  --critical-bg: #fff8d6;  --critical-line: #f2c46b;
  --info:     #0064d9;  --info-bg:     #e1f4ff;  --info-line:     #9cd1ff;
  --neutral:  #556b82;  --neutral-bg:  #eff1f2;
  --gold: #c58b00; --silver: #8396a8; --bronze: #a2592a;
  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 16px;
  --shadow-1: 0 0 2px rgba(34,53,72,.16), 0 2px 4px rgba(34,53,72,.12);
  --shadow-2: 0 0 2px rgba(34,53,72,.16), 0 8px 16px rgba(34,53,72,.16);
  --shadow-3: 0 0 4px rgba(34,53,72,.2), 0 16px 48px rgba(34,53,72,.22);
  --font: "72", "72full", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell-h: 52px;
  --nav-w: 248px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.fx {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.nowrap { white-space: nowrap; }

/* ---------- Shell bar ---------- */
.shell {
  position: sticky; top: 0; z-index: 50;
  height: var(--shell-h);
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px 0 8px;
  background: var(--shell);
  box-shadow: 0 0 2px rgba(34,53,72,.2), 0 2px 4px rgba(34,53,72,.08);
}
.shell-btn {
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  display: inline-grid; place-items: center;
  background: transparent; color: var(--text-2); cursor: pointer;
}
.shell-btn:hover { background: var(--bg); color: var(--text); }
.shell-brand { display: flex; align-items: center; gap: 10px; color: var(--text); padding-right: 12px; }
.shell-brand:hover { text-decoration: none; }
.shell-brand img { height: 30px; width: auto; }
.shell-title { font-weight: 700; font-size: 15px; }
.shell-sub { color: var(--text-2); font-size: 13px; padding-left: 10px; border-left: 1px solid var(--border); }
.shell-spacer { flex: 1; }
.shell-search {
  display: flex; align-items: center; gap: 6px;
  width: min(340px, 34vw); height: 36px; padding: 0 12px;
  background: var(--bg); border: 1px solid transparent; border-radius: 18px;
  color: var(--text-2);
}
.shell-search:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.shell-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--text); }
.shell-user { position: relative; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-grid; place-items: center;
  background: #5d36ff; color: #fff; font-weight: 700; font-size: 13px;
}
.avatar-lg { width: 64px; height: 64px; font-size: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.menu-pop {
  position: absolute; right: 0; top: 44px; min-width: 220px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-3);
  padding: 6px; display: none;
}
.menu-pop.open { display: block; }
.menu-pop .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.menu-pop .who b { display: block; }
.menu-pop .who span { color: var(--text-2); font-size: 12px; }
.menu-pop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text); }
.menu-pop a:hover { background: var(--bg); text-decoration: none; }

/* ---------- Layout ---------- */
.shell-body { display: flex; min-height: calc(100vh - var(--shell-h)); }
.sidenav {
  position: sticky; top: var(--shell-h); align-self: flex-start;
  width: var(--nav-w); height: calc(100vh - var(--shell-h));
  flex: none; display: flex; flex-direction: column;
  background: #fff; border-right: 1px solid var(--border);
  padding: 10px 8px; overflow-y: auto;
  transition: width .18s ease;
}
.nav-group { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); padding: 14px 12px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 12px; margin: 1px 0;
  border-radius: 8px; color: var(--text); white-space: nowrap; overflow: hidden;
}
.nav-item:hover { background: var(--bg); text-decoration: none; }
.nav-item.active { background: var(--brand-soft); color: var(--brand-hover); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); }
.nav-item .ic { width: 20px; height: 20px; }
.nav-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 8px; }
body.nav-collapsed .sidenav { width: 60px; }
body.nav-collapsed .nav-item span, body.nav-collapsed .nav-group { display: none; }
.nav-scrim { display: none; }

.page { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.page-head {
  background: #fff; padding: 14px 32px 18px;
  box-shadow: 0 1px 0 var(--border);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.crumbs .sep { color: var(--text-3); }
.page-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.page-sub { margin: 2px 0 0; color: var(--text-2); }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page-content { padding: 24px 32px 48px; display: flex; flex-direction: column; gap: 24px; }
.page-foot { margin-top: auto; padding: 14px 32px; color: var(--text-3); font-size: 12px; border-top: 1px solid var(--border); background: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--field-border); background: #fff; color: var(--brand-hover);
  font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--brand-soft); text-decoration: none; }
.btn:focus-visible, .seg button:focus-visible, .nav-item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-emph { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-emph:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--bg); }
.btn-pos { background: var(--positive); border-color: var(--positive); color: #fff; }
.btn-pos:hover { background: #1e5c30; color: #fff; }
.btn-neg { border-color: var(--negative); color: var(--negative); }
.btn-neg:hover { background: var(--negative-bg); }
.btn-neg-emph { background: var(--negative); border-color: var(--negative); color: #fff; }
.btn-neg-emph:hover { background: #8f0606; color: #fff; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 13px; border-radius: 6px; }
.btn-icon { width: 32px; padding: 0; }

/* ---------- Cards / tiles ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.card-title { margin: 0; font-size: 16px; font-weight: 700; }
.card-sub { margin: 2px 0 0; color: var(--text-2); font-size: 13px; }
.card-body { padding: 16px 20px 20px; }
.section-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column;
  min-height: 176px; padding: 16px;
  background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-1);
  color: var(--text); transition: box-shadow .15s, transform .15s;
}
a.tile:hover { box-shadow: var(--shadow-2); text-decoration: none; transform: translateY(-1px); }
.tile-head { font-weight: 700; font-size: 15px; }
.tile-sub { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.tile-kpi { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; }
.tile-kpi .val { font-size: 34px; font-weight: 300; line-height: 1; color: var(--text); letter-spacing: -.02em; }
.tile-kpi .unit { color: var(--text-2); font-size: 14px; padding-bottom: 3px; }
.tile-kpi .ic { margin-left: auto; width: 28px; height: 28px; color: var(--brand); stroke-width: 1.5; }
.tile-foot { margin-top: 10px; font-size: 12px; color: var(--text-2); }
.tile-foot.pos { color: var(--positive); }
.tile-app .tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-top: auto; }
.tile-app .tile-icon .ic { width: 24px; height: 24px; }

.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.grid-2e { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- Message strip ---------- */
.strip {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; border-radius: 8px; border: 1px solid;
}
.strip .ic { margin-top: 1px; }
.strip-pos { background: var(--positive-bg); border-color: var(--positive-line); color: var(--positive); }
.strip-neg { background: var(--negative-bg); border-color: var(--negative-line); color: var(--negative); }
.strip-info { background: var(--info-bg); border-color: var(--info-line); color: var(--info); }
.strip-warn { background: var(--critical-bg); border-color: var(--critical-line); color: var(--critical); }
.strip .txt { flex: 1; color: var(--text); }
.strip-close { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; }

/* ---------- Object status ---------- */
.status { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.status .ic { width: 15px; height: 15px; }
.status-pos { color: var(--positive); }
.status-neg { color: var(--negative); }
.status-warn { color: var(--critical); }
.status-neutral { color: var(--neutral); }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 6px; font-size: 12px; font-weight: 600;
  background: var(--neutral-bg); color: var(--text-2); white-space: nowrap;
}
.tag-info { background: var(--info-bg); color: var(--info); }
.tag-warn { background: var(--critical-bg); color: var(--critical); }
.tag-pos { background: var(--positive-bg); color: var(--positive); }

/* ---------- Filter bar ---------- */
.filterbar { padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1 1 160px; max-width: 260px; }
.field label { font-size: 13px; color: var(--text-2); }
.input, .select {
  height: 36px; width: 100%; padding: 0 10px;
  border: 1px solid var(--field-border); border-radius: 8px;
  background: #fff; color: var(--text); font: inherit;
}
.input:hover, .select:hover { border-color: var(--brand); }
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.filter-actions { display: flex; gap: 8px; margin-left: auto; }

/* ---------- Table ---------- */
.table-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.table-toolbar h2 { margin: 0; font-size: 16px; font-weight: 700; }
.table-toolbar .count { color: var(--text-2); font-weight: 400; }
.table-toolbar .grow { flex: 1; }
.search-field { position: relative; width: min(280px, 100%); }
.search-field .ic { position: absolute; left: 10px; top: 9px; color: var(--text-2); }
.search-field .input { padding-left: 34px; }
.seg { display: inline-flex; border: 1px solid var(--field-border); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 0 12px; height: 34px; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; border-right: 1px solid var(--border); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--brand-soft); color: var(--brand-hover); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  position: sticky; top: 0; background: #fff;
  text-align: left; font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 10px 14px; border-bottom: 1px solid var(--border-strong); white-space: nowrap;
}
.tbl th[data-sort] { cursor: pointer; user-select: none; }
.tbl th[data-sort]:hover { color: var(--text); }
.tbl th .arrow { opacity: 0; margin-left: 4px; font-size: 10px; }
.tbl th.sorted .arrow { opacity: 1; color: var(--brand); }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tbody tr:hover { background: var(--surface-alt); }
.tbl tr.nav-row { cursor: pointer; }
.tbl .r { text-align: right; }
.tbl .c { text-align: center; }
.tbl .chev { width: 36px; color: var(--text-3); }
.tbl .strong { font-weight: 600; }
.tbl tfoot td { font-weight: 700; background: var(--surface-alt); border-bottom: 0; }
.cell-person { display: flex; align-items: center; gap: 10px; }
.cell-person .mini { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.cell-person small { display: block; color: var(--text-2); font-size: 12px; }
.empty { text-align: center; padding: 48px 16px !important; color: var(--text-2); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; }

/* ---------- Charts ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--border); stroke-width: 1; }
.chart .axis text { fill: var(--text-3); font-size: 11px; font-family: var(--font); }
.chart .bar { fill: var(--brand); }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover + .bar, .chart g.col:hover .bar { fill: var(--brand-active); }
.hbars { display: flex; flex-direction: column; gap: 12px; }
.hbar { display: grid; grid-template-columns: 110px 1fr 84px; align-items: center; gap: 12px; }
.hbar .lbl { color: var(--text); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .track { height: 12px; background: var(--bg); border-radius: 4px; }
.hbar .fill { height: 100%; background: var(--brand); border-radius: 4px; min-width: 2px; }
.hbar .v { text-align: right; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.hbar:hover .fill { background: var(--brand-active); }
.microbar { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.microbar .track { flex: 1; height: 8px; background: var(--bg); border-radius: 4px; }
.microbar .fill { height: 100%; background: var(--brand); border-radius: 4px; min-width: 2px; }
.tip {
  position: fixed; z-index: 100; pointer-events: none;
  background: #fff; color: var(--text); border-radius: 8px; box-shadow: var(--shadow-2);
  padding: 8px 10px; font-size: 12px; line-height: 1.4; white-space: nowrap;
  opacity: 0; transition: opacity .08s;
}
.tip b { display: block; font-size: 14px; }
.tip.show { opacity: 1; }

/* ---------- Lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-top: 1px solid var(--border); }
.list li:first-child { border-top: 0; }
.list a.row-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--text); }
.list a.row-link:hover { text-decoration: none; }
.list li:hover { background: var(--surface-alt); }
.list .grow { flex: 1; min-width: 0; }
.list .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .s { color: var(--text-2); font-size: 12px; }
.rank { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--bg); color: var(--text-2); flex: none; }
.rank-1 { background: #fff3cc; color: var(--gold); }
.rank-2 { background: #eef1f4; color: #5b6b7c; }
.rank-3 { background: #fbe9dd; color: var(--bronze); }

/* ---------- Object page ---------- */
.obj-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.obj-head .meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; color: var(--text-2); font-size: 13px; }
.obj-head .meta span { display: inline-flex; align-items: center; gap: 6px; }
.obj-head .meta .ic { width: 15px; height: 15px; }
.obj-kpis { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 18px; }
.obj-kpi .k { font-size: 12px; color: var(--text-2); }
.obj-kpi .v { font-size: 24px; font-weight: 300; }
.obj-kpi .v small { font-size: 13px; color: var(--text-2); margin-left: 3px; }
.anchor-bar { display: flex; gap: 4px; margin: 16px -32px -18px; padding: 0 28px; border-top: 1px solid var(--border); position: sticky; top: var(--shell-h); background: #fff; z-index: 5; }
.anchor-bar a { white-space: nowrap; padding: 12px 10px; color: var(--text-2); font-weight: 600; border-bottom: 3px solid transparent; }
.anchor-bar a:hover { color: var(--text); text-decoration: none; }
.anchor-bar a.on { color: var(--brand-hover); border-bottom-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 28px; }
.form-grid .k { font-size: 13px; color: var(--text-2); margin-bottom: 3px; }
.form-grid .v { font-weight: 600; word-break: break-word; }
.form-grid .v code { font-family: Consolas, monospace; font-weight: 400; font-size: 13px; background: var(--bg); padding: 2px 6px; border-radius: 4px; }

/* ---------- Podium ---------- */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.podium .card { padding: 18px; display: flex; gap: 14px; align-items: center; position: relative; overflow: hidden; }
.podium .card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; }
.podium .p1::before { background: var(--gold); }
.podium .p2::before { background: var(--silver); }
.podium .p3::before { background: var(--bronze); }
.podium .medal { font-size: 30px; line-height: 1; }
.podium .name { font-weight: 700; font-size: 15px; }
.podium .big { font-size: 26px; font-weight: 300; }
.podium .big small { font-size: 13px; color: var(--text-2); }

/* ---------- Dialog ---------- */
dialog.dlg { border: 0; border-radius: var(--radius-l); padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow-3); color: var(--text); font-family: var(--font); }
dialog.dlg::backdrop { background: rgba(0,0,0,.4); }
.dlg-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 16px; }
.dlg-head .ic { width: 22px; height: 22px; }
.dlg.neg .dlg-head { color: var(--negative); box-shadow: inset 0 -3px 0 var(--negative); }
.dlg.info .dlg-head { color: var(--brand-hover); box-shadow: inset 0 -3px 0 var(--brand); }
.dlg-body { padding: 18px 20px; white-space: pre-line; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; background: var(--surface-alt); border-top: 1px solid var(--border); }

/* ---------- Login ---------- */
body.fx-login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1200px 600px at 10% -10%, #d6eaff 0%, transparent 60%),
              radial-gradient(900px 500px at 110% 110%, #e6dcff 0%, transparent 55%),
              var(--bg);
}
.login-card { width: min(400px, 100%); background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-3); padding: 36px 32px 28px; }
.login-card img { height: 54px; display: block; margin-bottom: 18px; }
.login-card h1 { margin: 0; font-size: 22px; }
.login-card p.sub { margin: 4px 0 24px; color: var(--text-2); }
.login-card .field { max-width: none; margin-bottom: 16px; }
.login-card .btn { width: 100%; height: 40px; margin-top: 6px; }
.login-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; display: flex; justify-content: space-between; }

.page-content > *, .grid-2 > *, .grid-2e > *, .tiles > *, .podium > * { min-width: 0; }
.tile { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-2, .grid-2e { grid-template-columns: 1fr; }
  .shell-sub { display: none; }
}
@media (max-width: 860px) {
  .sidenav { position: fixed; left: 0; top: var(--shell-h); z-index: 40; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-3); width: var(--nav-w) !important; }
  body.nav-open .sidenav { transform: none; }
  body.nav-collapsed .nav-item span, body.nav-collapsed .nav-group { display: initial; }
  body.nav-open .nav-scrim { display: block; position: fixed; inset: var(--shell-h) 0 0 0; background: rgba(0,0,0,.3); z-index: 30; }
  .page-head { padding: 12px 16px 14px; }
  .page-content { padding: 16px 16px 40px; gap: 16px; }
  .page-foot { padding: 12px 16px; }
  .anchor-bar { margin: 14px -16px -14px; padding: 0 12px; overflow-x: auto; }
  .shell-search { display: none; }
  .podium { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile { min-height: 150px; }
  .tile-kpi .val { font-size: 26px; }
  .tile-kpi .ic { display: none; }
  .tile { padding: 14px; }
  .list li { padding: 10px 14px; }
  .list .microbar { display: none; }
  .card-head { padding: 14px 14px 0; }
  .card-body { padding: 14px; }
  .table-toolbar, .filterbar, .pager { padding-left: 14px; padding-right: 14px; }
  .seg { overflow-x: auto; max-width: 100%; }
  .field { max-width: none; }
  .filter-actions { margin-left: 0; width: 100%; }
  .hbar { grid-template-columns: 84px 1fr 70px; }
}
@media (max-width: 480px) {
  .shell-title { font-size: 14px; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
