:root {
  --ink: #1d2433;
  --muted: #5d6677;
  --line: #dfe3ea;
  --bg: #f5f6f8;
  --card: #fff;
  --accent: #9c1c1c;
  --accent-ink: #fff;
  --ok: #1f7a3d;
  --warn: #9a6200;
  --bad: #b3261e;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.45; }
a { color: var(--accent); }
h1 { font-size: 1.5rem; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
p { margin: .4rem 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }

/* Layout */
.topbar { background: var(--ink); color: #fff; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .5rem 1rem; position: relative; z-index: 40; }
.topbar a { color: #fff; text-decoration: none; }
.brand { font-weight: 700; letter-spacing: .02em; }
.topbar nav { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; flex: 1; }
.topbar nav > a, .navgroup > summary { padding: .4rem .65rem; border-radius: 6px; opacity: .88; cursor: pointer; }
.topbar nav > a.active, .topbar nav > a:hover, .navgroup.active > summary, .navgroup > summary:hover, .navgroup[open] > summary { background: rgba(255,255,255,.14); opacity: 1; }
.navgroup { position: relative; }
.navgroup > summary { list-style: none; user-select: none; }
.navgroup > summary::-webkit-details-marker { display: none; }
.navgroup > summary::after { content: ""; display: inline-block; margin-left: .4rem; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.navmenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16,24,40,.18); padding: .35rem; display: grid; z-index: 60; }
.navmenu-right { left: auto; right: 0; }
.topbar .navmenu a, .navmenu .linkish { color: var(--ink); padding: .5rem .7rem; border-radius: 6px; display: block; text-align: left; }
.topbar .navmenu a:hover, .navmenu .linkish:hover { background: var(--bg); }
.topbar .navmenu a.active { background: #f6e8e8; color: var(--accent); font-weight: 600; }
.navmenu-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .55rem .7rem .2rem; border-top: 1px solid var(--line); margin-top: .25rem; }
.navmenu form { border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .25rem; }
.linkish { background: none; border: 0; font: inherit; cursor: pointer; width: 100%; }
.nav-user { margin-left: auto; }
.topbar-icons { display: flex; gap: .25rem; align-items: center; }
.iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; opacity: .9; }
.iconbtn:hover, .iconbtn.active { background: rgba(255,255,255,.14); opacity: 1; }
.iconbtn .count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #e5484d; color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: .4rem .75rem; font: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 1rem; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem; margin-bottom: 1rem; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.stat { font-size: 1.75rem; font-weight: 700; }
.stat-label { color: var(--muted); font-size: .85rem; }
.stat.bad { color: var(--bad); }

@media (max-width: 760px) {
  .topbar { padding: .45rem .75rem; }
  .menu-toggle { display: inline-block; }
  .topbar-icons { margin-left: auto; }
  .topbar nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: .4rem; }
  .topbar nav.open { display: flex; }
  .topbar nav > a, .navgroup > summary { padding: .7rem .5rem; border-radius: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .navmenu { position: static; box-shadow: none; border: 0; background: rgba(255,255,255,.06); min-width: 0; padding: .2rem 0 .4rem 1rem; }
  .topbar .navmenu a, .navmenu .linkish { color: #fff; padding: .6rem .5rem; }
  .topbar .navmenu a:hover, .navmenu .linkish:hover { background: rgba(255,255,255,.08); }
  .topbar .navmenu a.active { background: rgba(255,255,255,.16); color: #fff; }
  .navmenu-head { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.15); }
  .navmenu form { border-color: rgba(255,255,255,.15); }
  .nav-user { margin-left: 0; }
  .container { padding: 1rem .75rem 3rem; }
  h1 { font-size: 1.3rem; }
  .page-head { align-items: flex-start; }
}

/* Tables */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .925rem; }
th, td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #fafbfc; font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.overdue td:first-child { border-left: 3px solid var(--bad); }
tfoot td { font-weight: 700; background: #fafbfc; }

/* Forms */
form.stack { display: grid; gap: .85rem; max-width: 720px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .825rem; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=url], input[type=file], select, textarea {
  width: 100%; padding: .55rem .65rem; border: 1px solid #c8ced8; border-radius: 6px; font: inherit; background: #fff; color: inherit;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(156,28,28,.3); border-color: var(--accent); }
.row { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.check { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
.check input { width: auto; }
.btn, button.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); padding: .5rem .95rem; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.secondary { background: #fff; color: var(--ink); border-color: #c8ced8; }
.btn.danger { background: var(--bad); border-color: var(--bad); }
.btn.ok { background: var(--ok); border-color: var(--ok); }
.btn.small { padding: .25rem .6rem; font-size: .85rem; }
button.link { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
form.inline { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; margin-bottom: .75rem; }
.filters select, .filters input { width: auto; min-width: 150px; }
.errors { background: #fdecea; border: 1px solid #f3c2bd; color: var(--bad); padding: .6rem .8rem; border-radius: 6px; }
.errors ul { margin: .25rem 0 0 1.1rem; padding: 0; }

/* Flash messages */
.flash { padding: .6rem .85rem; border-radius: 6px; margin-bottom: .75rem; border: 1px solid; }
.flash-success { background: #e8f5ec; border-color: #b9dfc5; color: #14522a; }
.flash-error { background: #fdecea; border-color: #f3c2bd; color: #7d1a14; }
.flash-info { background: #eaf1fb; border-color: #c3d6f1; color: #183e72; }

/* Badges */
.badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #eceff3; color: var(--ink); white-space: nowrap; }
.badge-done, .badge-approved, .badge-paid, .badge-purchased { background: #e3f3e8; color: #14522a; }
.badge-in-progress, .badge-submitted { background: #e7effb; color: #183e72; }
.badge-blocked, .badge-denied, .badge-overdue { background: #fbe6e4; color: #7d1a14; }
.badge-high { background: #fff1d6; color: #7a4b00; }
.badge-cancelled, .badge-low { background: #f0f0f0; color: #666; }

/* Progress bar */
.bar { height: 8px; background: #eceff3; border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--ok); }
.bar.over > span { background: var(--bad); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .5rem; align-items: center; padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.checklist li.done span { text-decoration: line-through; color: var(--muted); }
.comment { border-left: 3px solid var(--line); padding: .3rem .75rem; margin: .5rem 0; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: .35rem .75rem; }
.kv dt { color: var(--muted); font-size: .875rem; }
.kv dd { margin: 0; }
.copybox { display: flex; gap: .5rem; }
.copybox input { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
.empty { color: var(--muted); padding: 1rem; text-align: center; }
.auth-box { max-width: 420px; margin: 3rem auto; }
.perm-grid th.rot { text-transform: none; font-size: .75rem; }
.perm-grid td { text-align: center; }
.perm-grid td:first-child { text-align: left; }

/* Venue grid */
.tgrid { display: grid; min-width: max-content; }
.tgrid-head { position: sticky; top: 0; background: #fafbfc; border-bottom: 1px solid var(--line); padding: .45rem .5rem; font-weight: 600; font-size: .85rem; z-index: 2; }
.tgrid-col { position: relative; border-left: 1px solid var(--line); }
.tgrid-hours { border-left: 0; }
.tgrid-hour { position: absolute; right: 6px; font-size: .72rem; color: var(--muted); transform: translateY(-50%); }
.tgrid-hour:first-child { transform: none; }
.tgrid-line { position: absolute; left: 0; right: 0; border-top: 1px dashed #edf0f4; }
.tgrid-ev { position: absolute; overflow: hidden; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); padding: .2rem .35rem; font-size: .78rem; line-height: 1.2; color: var(--ink); text-decoration: none; z-index: 1; }
.tgrid-ev:hover { z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.tgrid-ev.bad { border: 2px solid var(--bad); }

button[disabled], .btn[disabled] { opacity: .45; cursor: not-allowed; }

.backlink { display: inline-block; margin: 0 0 .5rem; font-size: .9rem; color: var(--muted); text-decoration: none; }
.backlink:hover { color: var(--ink); text-decoration: underline; }
@media print { .backlink { display: none; } }

.preview-bar { position: sticky; top: 0; z-index: 50; display: flex; gap: .75rem; align-items: center; justify-content: center; flex-wrap: wrap; background: #f59e0b; color: #1f1300; padding: .5rem 1rem; font-size: .9rem; }
.preview-bar .btn { background: #1f1300; border-color: #1f1300; color: #fff; }
@media print { .preview-bar { display: none; } }

/* Dance mode (dashboard): stepped color changes, about two per second */
@keyframes dance-bg { 0% { background-color: #ff5ea8; } 25% { background-color: #ffd43b; } 50% { background-color: #51cf66; } 75% { background-color: #4dabf7; } 100% { background-color: #b197fc; } }
@keyframes dance-card { 0% { background-color: #fff0f6; border-color: #ff5ea8; } 25% { background-color: #e7f5ff; border-color: #4dabf7; } 50% { background-color: #fff9db; border-color: #fab005; } 75% { background-color: #ebfbee; border-color: #40c057; } 100% { background-color: #f3f0ff; border-color: #7950f2; } }
@keyframes dance-hue { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }
@keyframes dance-bob { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-4px) rotate(-1deg); } 75% { transform: translateY(2px) rotate(1deg); } }
body.dance { animation: dance-bg 2.5s steps(1) infinite; }
body.dance .topbar { animation: dance-hue 3s linear infinite; }
body.dance .card { animation: dance-card 2.5s steps(1) infinite, dance-bob 1s ease-in-out infinite; }
body.dance .card:nth-child(2n) { animation-delay: -.6s, -.3s; }
body.dance .card:nth-child(3n) { animation-delay: -1.2s, -.6s; }
body.dance .btn, body.dance .badge, body.dance .bar span, body.dance .stat { animation: dance-hue 2s linear infinite; }
body.dance h1, body.dance h2 { animation: dance-bob .8s ease-in-out infinite; }
.dance-stop { position: fixed; bottom: 1rem; right: 1rem; z-index: 100; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: reduce) { body.dance .card, body.dance h1, body.dance h2 { animation: dance-card 2.5s steps(1) infinite; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Simpler layout (v8) ---------- */
.pill { display: inline-block; min-width: 1.5rem; padding: .05rem .45rem; border-radius: 999px; background: #eceff3; color: var(--ink); font-size: .8rem; font-weight: 700; text-align: center; vertical-align: middle; }
.bad-text { color: var(--bad); }
ul.plain { list-style: none; margin: .25rem 0; padding: 0; }
ul.plain li { padding: .35rem 0; border-bottom: 1px dashed var(--line); }
ul.plain li:last-child { border-bottom: 0; }
.section-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 1.5rem 0 .6rem; }
.section-title-row { display: flex; justify-content: space-between; align-items: baseline; }
.section-title-row .link { color: var(--muted); }
.countdown { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem 1rem; display: grid; }
.countdown .stat { line-height: 1.1; }

/* Needs-you cards */
.needs { align-items: start; }
.needs .card h3 { margin-top: 0; }
.needs-card { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: inherit; }
.needs-approve { border-left: 4px solid var(--accent); }
.needs-approve .stat { color: var(--accent); font-size: 2.25rem; }
.needs-card:hover { box-shadow: 0 2px 10px rgba(16,24,40,.08); }
.due-head { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: .6rem 0 .1rem; font-weight: 700; }
.due-head.bad { color: var(--bad); }
.allclear { border-left: 4px solid var(--ok); }
.statrow .card { text-decoration: none; color: inherit; }

/* Folding cards */
details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
details.fold > summary h2::before { content: ""; width: 0; height: 0; border: 5px solid transparent; border-left: 6px solid var(--muted); transition: transform .15s; transform-origin: 3px 5px; }
details.fold[open] > summary h2::before { transform: rotate(90deg); }
details.fold[open] > summary { margin-bottom: .6rem; }
.overview-grid { margin-top: 1rem; align-items: start; }

/* Quick start and help */
.quickstart { border-left: 4px solid #3b82f6; margin-bottom: .5rem; }
ul.tips { margin: .5rem 0; padding-left: 1.1rem; }
ul.tips li { margin: .35rem 0; }
.help-section { margin-bottom: 1rem; }

/* Approvals inbox */
.approvals-block { margin-bottom: 1rem; }
.approvals-block h2 { margin-top: 0; }
.selectall { margin: 0 0 .25rem; }
.approve-list { list-style: none; margin: 0; padding: 0; }
.approve-list li { display: flex; gap: .75rem; align-items: flex-start; justify-content: space-between; border-top: 1px solid var(--line); padding: .6rem 0; }
.approve-item { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; margin: 0; flex: 1; cursor: pointer; }
.approve-item input { width: 22px; height: 22px; margin-top: .1rem; flex: none; }
.approve-main { display: grid; gap: .1rem; }
.approve-main .amount { font-weight: 700; }
.decide-bar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: .75rem; }
.decide-bar input { flex: 1; min-width: 200px; }

/* Notifications */
.notif-list { list-style: none; padding: 0; margin: 0; }
.notif-list li a { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.notif-list li:last-child a { border-bottom: 0; }
.notif-list li.unread a { background: #f3f7fe; font-weight: 600; }
.notif-list li.unread a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; align-self: center; flex: none; }
.notif-list li a > span:first-of-type { flex: 1; }
.notif-list li a:hover { background: var(--bg); }

/* Search */
.searchbox { display: flex; gap: .5rem; margin-bottom: 1rem; }
.searchbox input { flex: 1; font-size: 1.05rem; padding: .7rem .8rem; border: 1px solid #c8ced8; border-radius: 6px; }
.search-group { margin-bottom: .75rem; }
.search-group h2 { margin-top: 0; font-size: 1rem; }
.search-group ul { list-style: none; padding: 0; margin: 0; }
.search-group li { padding: .4rem 0; border-top: 1px solid var(--line); }

/* Tab rows: one line that scrolls sideways on small screens */
.tabs { display: flex; gap: .4rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.tabbar { display: flex; gap: .4rem; align-items: center; margin-bottom: 1rem; }
.tabbar .tabs { margin-bottom: 0; flex: 1; min-width: 0; }
.more-menu { position: relative; }
.more-menu > summary { list-style: none; }
.more-menu > summary::-webkit-details-marker { display: none; }
.more-menu > summary::after { content: ""; display: inline-block; margin-left: .35rem; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.more-panel { position: absolute; right: 0; top: calc(100% + 4px); min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16,24,40,.18); padding: .35rem; display: grid; z-index: 30; }
.more-panel a { color: var(--ink); text-decoration: none; padding: .5rem .7rem; border-radius: 6px; }
.more-panel a:hover { background: var(--bg); }
.more-panel a.active { background: #f6e8e8; color: var(--accent); font-weight: 600; }
.more-panel .navmenu-head { color: var(--muted); }
.more-panel .btn { text-align: left; background: none; color: var(--ink); border: 0; font-weight: 400; padding: .5rem .7rem; }
.more-panel .btn:hover { background: var(--bg); }
.more-panel form { display: block; }

/* Filters behind a button on phones */
.filter-toggle { display: none; }

/* Offline */
.offline-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #1f1300; color: #fff; text-align: center; padding: .55rem 1rem; font-size: .9rem; }
.install-hint { margin-top: .5rem; }

/* Now and next (conclave mode) */
.now h1 { font-size: 1.9rem; }
.now-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.now-card h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.now-mine { border: 2px solid var(--accent); }
.now-list { list-style: none; margin: 0; padding: 0; }
.now-ev a { display: grid; grid-template-columns: 7.5rem 1fr; gap: .1rem .9rem; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.now-ev:first-child a { border-top: 0; }
.now-time { grid-row: span 2; font-size: 1.15rem; font-weight: 700; color: var(--muted); }
.now-title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.now-where { font-size: 1.05rem; color: var(--muted); }
.now-ev.live .now-time { color: var(--ok); }
.now-ev.live .now-time::before { content: "● "; }
.now-ev.late .now-time { color: var(--bad); }
.now-alerts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.now-alert { display: block; background: #eaf1fb; border: 1px solid #c3d6f1; color: #183e72; border-radius: 12px; padding: .8rem 1rem; font-size: 1.1rem; text-decoration: none; }
.now-alert.bad { background: #fdecea; border-color: #f3c2bd; color: #7d1a14; }
.now-alert strong { font-size: 1.5rem; margin-right: .25rem; }
.now-later summary { cursor: pointer; font-weight: 600; margin-top: .5rem; color: var(--accent); }
.now-links { text-align: center; font-size: 1.05rem; }

@media (max-width: 760px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; margin-left: -.75rem; margin-right: -.75rem; padding-left: .75rem; padding-right: .75rem; }
  .tabbar .tabs { margin-left: -.75rem; margin-right: 0; padding-right: .25rem; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs > * { flex: none; white-space: nowrap; }
  .tabs > [style*="margin-left:auto"] { margin-left: 0 !important; }
  .filter-toggle { display: inline-flex; gap: .4rem; align-items: center; margin-bottom: .75rem; }
  form.filters.collapsed > div, form.filters.collapsed > label, form.filters.collapsed > button { display: none; }
  form.filters.collapsed { margin: 0; }
  form.filters > div { flex: 1 1 140px; }
  form.filters select, form.filters input { width: 100%; min-width: 0; }
  .page-head .actions .phone-more { position: relative; }
  .needs-approve .stat { font-size: 2rem; }
  .now h1 { font-size: 1.6rem; }
  .now-ev a { grid-template-columns: 5.5rem 1fr; }
  .now-title { font-size: 1.15rem; }
  .decide-bar .btn { flex: 1; }
  .approve-list li > a { padding-top: .1rem; }
}
@media print { .topbar-icons, .offline-bar, .tabbar, .tabs { display: none !important; } }
