@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* touch-action: manipulation fjerner dobbelttrykk-zoom, men beholder
   pinch-zoom. Pultene overstyrer med touch-action: none for draging. */
* { box-sizing: border-box; touch-action: manipulation; }

:root {
  --bg: #f4f2ec;
  --panel: #ffffff;
  --surface: #ffffff;
  --surface-dim: #eae7de;
  --ink: #22302a;
  --muted: #5c6b63;
  --line: #e3dfd4;
  --brand: #1e6b52;
  --brand-strong: #17553f;
  --brand-tint: rgba(30, 107, 82, .1);
  --accent: #e8a13a;
  --danger: #c0442c;
  --warn-bg: #fff7e8;
  --warn-line: #ecd9b0;
  --board-bg: #edf0e8;
  --board-front: #2e5c49;
  --dark-bg: #14231d;
  --header-bg: rgba(244, 242, 236, .92);
  --tabbar-bg: rgba(255, 255, 255, .93);
  --gridline: rgba(30, 60, 45, .05);
  --radius: 14px;
  --shadow: 0 1px 3px rgba(30, 50, 40, .08), 0 4px 16px rgba(30, 50, 40, .06);
  --shadow-lift: 0 6px 20px rgba(30, 50, 40, .14);
}

:root { color-scheme: light; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

svg.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

html, body {
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button { font-family: inherit; }
h2, h3, h4 { margin: 0 0 8px; }

/* ---------- Ramme ---------- */

.app-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 40;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  color: var(--brand);
  text-decoration: none;
}

.brand-mark { width: 26px; height: 26px; border-radius: 7px; }

.class-picker {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-weight: 600;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%238a978f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  color: var(--ink);
  max-width: 46vw;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px calc(96px + env(safe-area-inset-bottom));
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  background: var(--tabbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  z-index: 40;
}

.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 10px;
}

.tab-ico { width: 23px; height: 23px; }
.tabbar a.active { color: var(--brand); background: rgba(30, 107, 82, .08); }

/* ---------- Byggeklosser ---------- */

.view-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 6px 0 14px;
  flex-wrap: wrap;
}

.view-head h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 27px);
  font-weight: 750;
  letter-spacing: -0.015em;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); color: #fff; border-color: transparent; }
.btn.danger { color: var(--danger); border-color: rgba(192, 68, 44, .4); }
.btn.big { font-size: 18px; padding: 14px 26px; }
.btn.small { padding: 4px 10px; font-size: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
a.btn { text-decoration: none; }

.input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
}

textarea.input { width: 100%; resize: vertical; }

.seg {
  display: inline-flex;
  background: var(--surface-dim);
  border-radius: 12px;
  padding: 3px;
  gap: 2px;
  flex-wrap: wrap;
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
}

.seg-btn .icon { width: 16px; height: 16px; }

.seg-btn.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.spread { justify-content: space-between; }
.row.center { justify-content: center; flex-wrap: wrap; }
.form-col { display: flex; flex-direction: column; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.chip.absent { opacity: .45; text-decoration: line-through; }
.chip.done { background: var(--brand); color: #fff; border-color: transparent; opacity: .75; }

.stepper { display: inline-flex; align-items: center; gap: 2px; }
.stepper-val { min-width: 38px; text-align: center; font-weight: 800; font-size: 18px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.toolbar-sec { display: contents; }
.toolbar-more-btn { display: none; }

@media (max-width: 640px) {
  .toolbar-more-btn { display: inline-flex; }
  .toolbar-sec { display: none; }
  .toolbar-sec.open { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
}

.contextbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.linklike {
  background: none;
  border: none;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
  margin: 2px 0 10px;
}

.rules .rule { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.rules .rule:last-child { border-bottom: none; }

.hist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.hist-row { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hist-row:last-child { border-bottom: none; }

.empty { text-align: center; padding: 44px 20px; }
.empty-icon { font-size: 40px; margin-bottom: 8px; }
.empty .btn { margin-top: 14px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(8px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: .25s;
  z-index: 100;
  max-width: 88vw;
  text-align: center;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.update-toast { background: var(--brand); cursor: pointer; }

/* ---------- Verktøy-hub ---------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.tool-card {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 0;
  padding: 18px;
}

.tool-card:active { transform: scale(.98); }

.tool-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--brand-tint);
  color: var(--brand);
  flex-shrink: 0;
}

.tool-ico .icon { width: 26px; height: 26px; }
.tool-info { display: flex; flex-direction: column; gap: 2px; }

.toolnav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 2px 0 12px;
}

.toolnav a.seg-btn { text-decoration: none; }

/* ---------- Klassekart ---------- */

.board-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--board-bg);
}

.board {
  position: relative;
  transform-origin: top left;
  background-image:
    linear-gradient(var(--gridline) 1px, transparent 1px),
    linear-gradient(90deg, var(--gridline) 1px, transparent 1px);
  background-size: 32px 32px;
}

.board-front {
  position: absolute;
  left: 25%;
  width: 50%;
  height: 30px;
  background: var(--board-front);
  color: #dfe9e2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .35em;
  text-indent: .35em;
}

.desk {
  position: absolute;
  width: 110px;
  height: 64px;
  background: var(--surface);
  border: 1.5px solid #c9d3cb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 40, 30, .08);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  padding: 4px;
}

.desk-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.15;
}

.desk.free { border-style: dashed; color: var(--muted); font-weight: 400; background: rgba(255, 255, 255, .55); }
.desk-lock { position: absolute; top: 2px; right: 5px; font-size: 10px; }
.desk.sel { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 161, 58, .35); }
.desk.snap { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 107, 82, .25); }
.board-wrap.readonly .desk { cursor: default; }

.tip { margin-top: 10px; font-size: 13px; }

/* ---------- Grupper ---------- */

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.group-card { margin-bottom: 0; }
.group-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--brand); }
.group-card ul { margin: 0; padding-left: 20px; line-height: 1.75; }

/* ---------- Trekker ---------- */

.draw-panel { text-align: center; padding: 28px 16px; }

.draw-display {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 800;
  min-height: 1.3em;
  margin-bottom: 18px;
  color: var(--brand);
  word-break: break-word;
}

/* ---------- Timer ---------- */

.timer-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
}

.timer-digits {
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
}

.timer-digits.urgent { color: var(--danger); animation: urgentPulse 1s ease-in-out infinite; }

@keyframes urgentPulse {
  50% { transform: scale(1.015); }
}
.timer-digits.done { animation: blink 1s steps(2, start) infinite; color: var(--danger); }

@keyframes blink { to { visibility: hidden; } }

.timer-view.full {
  position: fixed;
  inset: 0;
  z-index: 60;
  margin: 0;
  padding: 0;
  justify-content: center;
  background: var(--dark-bg);
}

.timer-view.full .timer-digits { color: #f2f6f1; font-size: clamp(120px, 26vw, 400px); }
.timer-view.full .btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }
.timer-view.full .btn.primary { background: var(--brand); }

.timer-exit {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 18px;
}

/* ---------- Aktivitetsbank ---------- */

.act-card { margin-bottom: 10px; }
.act-title { font-size: 16px; }

.act-how {
  white-space: pre-wrap;
  margin: 8px 0 2px;
  line-height: 1.5;
  font-size: 14.5px;
}

.chip.static { cursor: default; font-size: 13px; padding: 5px 12px; }
.filter-label { align-self: center; min-width: 56px; }

/* ---------- Timeplan ---------- */

.tt-grid {
  display: grid;
  grid-template-columns: 86px repeat(5, 1fr);
  gap: 4px;
}

.tt-day {
  font-weight: 700;
  text-align: center;
  padding: 8px 2px;
  color: var(--brand);
  font-size: 14px;
}

.tt-rowlabel {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  padding: 6px 8px 6px 0;
  cursor: pointer;
  border-radius: 8px;
}

.tt-rowlabel.sel { background: rgba(232, 161, 58, .25); color: var(--ink); }

.tt-pause {
  grid-column: 1 / -1;
  border: none;
  background: repeating-linear-gradient(-45deg, #eae6db, #eae6db 8px, #f0ece2 8px, #f0ece2 16px);
  border-radius: 8px;
  padding: 7px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}

.tt-pause.sel { box-shadow: 0 0 0 3px rgba(232, 161, 58, .35); color: var(--ink); }

.tt-cell {
  min-height: 56px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.tt-cell.empty { border-style: dashed; background: rgba(255, 255, 255, .5); }
.tt-cell.sel { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 161, 58, .35); }

.tt-fag { font-weight: 700; font-size: 13.5px; line-height: 1.15; text-align: center; }
.tt-rom { font-size: 11.5px; color: var(--muted); }

@media (max-width: 600px) {
  .tt-grid { grid-template-columns: 58px repeat(5, 1fr); gap: 3px; }
  .tt-day { font-size: 12px; }
  .tt-fag { font-size: 10.5px; }
  .tt-rowlabel { font-size: 10.5px; }
}

/* ---------- Faneoverganger ---------- */

main.view-enter > * { animation: viewInF .2s ease both; }
main.view-enter[data-dir="b"] > * { animation-name: viewInB; }

@keyframes viewInF {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes viewInB {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hover (PC) og mikrointeraksjoner ---------- */

.tool-card, .chip, .hist-item { transition: transform .18s, box-shadow .18s, border-color .15s, background .15s; }

@media (hover: hover) {
  .btn:hover { border-color: #cfcabd; background: #fbfaf6; }
  .btn.primary:hover { background: var(--brand-strong); }
  .btn.danger:hover { background: rgba(192, 68, 44, .06); }
  .tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .chip:hover:not(.static) { border-color: var(--brand); }
  .hist-item:hover { border-color: var(--brand); }
  .tabbar a:hover { color: var(--brand); }
  .seg-btn:hover { color: var(--ink); }
}

.desk.dragging {
  box-shadow: 0 8px 22px rgba(20, 40, 30, .22);
  z-index: 5;
  cursor: grabbing;
}

.draw-display.pop { animation: drawPop .25s ease; }

@keyframes drawPop {
  from { transform: scale(.92); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  main.view-enter > * { animation: none; }
  .draw-display.pop { animation: none; }
  .timer-digits.urgent { animation: none; }
  .timer-digits.done { animation: none; visibility: visible; }
  .tool-card, .btn { transition: none; }
}

/* ---------- Tavlemodus (dagens plan) ---------- */

.tavle-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tavle-clock { font-size: clamp(44px, 7vw, 80px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.tavle-date { font-size: 16px; margin-top: 4px; }

.tavle-agenda { display: flex; flex-direction: column; gap: 8px; }

.tavle-item {
  display: grid;
  grid-template-columns: 34px 110px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.tavle-item.empty { border-style: dashed; color: var(--muted); background: transparent; }
.tavle-item.done { opacity: .5; }
.tavle-item.done .tavle-fag { text-decoration: line-through; }
.tavle-item[disabled] { cursor: default; }

.tavle-check {
  width: 26px;
  height: 26px;
  border: 2px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--brand);
  background: var(--surface);
}

.tavle-label { font-weight: 600; color: var(--muted); font-size: 14px; }
.tavle-fag { font-weight: 700; font-size: 17px; }
.tavle-detalj { font-size: 14px; }

.tavle-pause {
  padding: 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, #eae6db, #eae6db 8px, #f0ece2 8px, #f0ece2 16px);
  border-radius: 8px;
}

.tavle-view.full {
  position: fixed;
  inset: 0;
  z-index: 60;
  margin: 0;
  padding: calc(20px + env(safe-area-inset-top)) 30px 30px;
  background: var(--bg);
  overflow-y: auto;
}

.tavle-view.full .tavle-clock { font-size: clamp(70px, 10vw, 130px); }
.tavle-view.full .tavle-fag { font-size: clamp(19px, 2.6vw, 30px); }
.tavle-view.full .tavle-item { padding: 18px 22px; }
.tavle-exit { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 18px; z-index: 61; }

/* ---------- Støymåler ---------- */

.stoy-panel {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  padding: 34px 20px;
  flex-wrap: wrap;
}

.trafikklys {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #2b3530;
  padding: 18px;
  border-radius: 20px;
}

.lys { width: 64px; height: 64px; border-radius: 50%; opacity: .18; transition: opacity .25s, box-shadow .25s; }
.lys.rod { background: #e04a2e; }
.lys.gul { background: #f0b23e; }
.lys.gronn { background: #3fa46f; }
.lys.aktiv { opacity: 1; box-shadow: 0 0 26px 4px currentColor; }
.lys.rod.aktiv { color: rgba(224, 74, 46, .55); }
.lys.gul.aktiv { color: rgba(240, 178, 62, .55); }
.lys.gronn.aktiv { color: rgba(63, 164, 111, .55); }

.stoy-status { display: flex; flex-direction: column; gap: 10px; min-width: 240px; max-width: 380px; flex: 1; }
.stoy-tekst { font-size: clamp(26px, 4vw, 40px); font-weight: 800; min-height: 1.3em; }
.stoy-meter { height: 14px; border-radius: 999px; background: var(--surface-dim); overflow: hidden; }
.stoy-meter-fill { height: 100%; width: 0; background: var(--brand); border-radius: 999px; transition: width .12s linear; }

/* ---------- Vikarpakke-utskrift ---------- */

.vikar-print { display: none; }

@media print {
  body.print-vikar .app-header,
  body.print-vikar main,
  body.print-vikar .tabbar { display: none !important; }
  body.print-vikar .vikar-print { display: block; }
  .vikar-print h1 { font-size: 24px; margin: 0 0 2px; }
  .vikar-print h2 { font-size: 17px; margin: 16px 0 8px; page-break-after: avoid; }
  .vikar-print .board-wrap {
    height: 430px !important;
    overflow: hidden;
    border: none;
    background: #fff;
  }
  .vikar-print .board { transform: scale(.62) !important; transform-origin: top left; background: none; }
  .vikar-print .tt-grid { font-size: 10px; }
  .vikar-print .tt-fag { font-size: 10px; }
  .vikar-print ul { margin: 4px 0; }
}

/* ---------- Utskrift ---------- */

.print-caption { display: none; }

@media print {
  body.print-mode .app-header,
  body.print-mode .tabbar,
  body.print-mode .no-print,
  body.print-mode .tip { display: none !important; }
  body.print-mode main { padding: 0; max-width: none; }
  body.print-mode .print-caption {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
  }
  body.print-mode .panel { box-shadow: none; border-color: #bbb; break-inside: avoid; }
  body.print-mode .board-wrap {
    height: auto !important;
    overflow: visible;
    border: none;
    background: var(--surface);
  }
  body.print-mode .board { transform: scale(.73) !important; background: none; }
  body.print-mode .desk { box-shadow: none; }
}

