/* POLSAS 98 (2026-11) – ét fælles udtryk for POLintra, POLSAS & KR, Mail, Vagtcentral, login og forside.
   Inspireret af 90'ernes skrivebord, men moderniseret: hvert system er ét vindue (titellinje, kant, knapper) på et
   blågrønt skrivebord, og systemskifteren er en proceslinje forneden med "POLITI"-startknap og startmenu.
   Kontrollerne er klassiske 98-flader (grå med lys/mørk kant, hvide nedsænkede felter, faner som egenskabsark),
   men med skarpere skrift, mere luft og tydeligere markeringer.
   Indlæses sidst af system-shell.js (klassen html.pol98), så det vinder over systemernes egne stilark.
   Kun farver, kanter, typografi og knapper ændres – ikke funktioner, felter eller arbejdsgange.
   Ikonerne (titellinjeknapper, POLITI-logo, nøgle) er små SVG'er som data-URI'er – se docs/polsas-98-tema.md. */

/* ---------- Tokens (bruges også af system-refresh.css, polintra.css, vagtcentral.css m.fl.) ---------- */
:root, :root body {
  --w98-desktop: #2b7d86; --w98-face: #d4d0c8; --w98-select: #0a246a; --w98-tip: #ffffe1;
  --w98-title: linear-gradient(90deg, #0a246a, #3a6ea5);
  --w98-raised: inset -1px -1px #404040, inset 1px 1px #ffffff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  --w98-sunken: inset 1px 1px #808080, inset -1px -1px #ffffff, inset 2px 2px #404040, inset -2px -2px #dfdfdf;
  --w98-pressed: inset 1px 1px #404040, inset -1px -1px #ffffff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
  --w98-etched: inset 1px 1px #808080, inset -1px -1px #ffffff, inset 2px 2px #ffffff, inset -2px -2px #808080;
  --w98-dither: repeating-conic-gradient(#ffffff 0 25%, #d4d0c8 0 50%) 0 0 / 2px 2px;
  --w98-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2716%27%20height%3D%2716%27%20viewBox%3D%270%200%2016%2016%27%3E%3Cpath%20d%3D%27M8%200.8%2014.5%203v5c0%203.6-2.8%206.1-6.5%207.3C4.3%2014.1%201.5%2011.6%201.5%208V3z%27%20fill%3D%27%230a246a%27%20stroke%3D%27%23fff%27%20stroke-width%3D%271%27%2F%3E%3Cpath%20d%3D%27M4.5%205.2h7v1.6h-7zM4.5%208h7v1.6h-7z%27%20fill%3D%27%23ffcc00%27%2F%3E%3C%2Fsvg%3E"); --w98-controls: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2752%27%20height%3D%2714%27%20viewBox%3D%270%200%2052%2014%27%3E%3Crect%20x%3D%270%27%20y%3D%270%27%20width%3D%2716%27%20height%3D%2714%27%20fill%3D%27%23d4d0c8%27%2F%3E%3Cpath%20d%3D%27M0.5%2013V0.5H15%27%20stroke%3D%27%23fff%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M0.5%2013.5H15.5V0%27%20stroke%3D%27%23404040%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M1.5%2012V1.5H14%27%20stroke%3D%27%23dfdfdf%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M1.5%2012.5H14.5V1%27%20stroke%3D%27%23808080%27%20fill%3D%27none%27%2F%3E%3Crect%20x%3D%274%27%20y%3D%279%27%20width%3D%276%27%20height%3D%272%27%20fill%3D%27%23000%27%2F%3E%3Crect%20x%3D%2716%27%20y%3D%270%27%20width%3D%2716%27%20height%3D%2714%27%20fill%3D%27%23d4d0c8%27%2F%3E%3Cpath%20d%3D%27M16.5%2013V0.5H31%27%20stroke%3D%27%23fff%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M16.5%2013.5H31.5V0%27%20stroke%3D%27%23404040%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M17.5%2012V1.5H30%27%20stroke%3D%27%23dfdfdf%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M17.5%2012.5H30.5V1%27%20stroke%3D%27%23808080%27%20fill%3D%27none%27%2F%3E%3Crect%20x%3D%2719.5%27%20y%3D%272.5%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%2F%3E%3Crect%20x%3D%2719%27%20y%3D%272%27%20width%3D%279%27%20height%3D%272%27%20fill%3D%27%23000%27%2F%3E%3Crect%20x%3D%2736%27%20y%3D%270%27%20width%3D%2716%27%20height%3D%2714%27%20fill%3D%27%23d4d0c8%27%2F%3E%3Cpath%20d%3D%27M36.5%2013V0.5H51%27%20stroke%3D%27%23fff%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M36.5%2013.5H51.5V0%27%20stroke%3D%27%23404040%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M37.5%2012V1.5H50%27%20stroke%3D%27%23dfdfdf%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M37.5%2012.5H50.5V1%27%20stroke%3D%27%23808080%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M40%203.5l7%206.5M47%203.5l-7%206.5%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.6%27%2F%3E%3C%2Fsvg%3E"); --w98-logo: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2718%27%20height%3D%2718%27%20viewBox%3D%270%200%2018%2018%27%3E%3Crect%20x%3D%271%27%20y%3D%271%27%20width%3D%277.5%27%20height%3D%277.5%27%20fill%3D%27%231d4fd8%27%2F%3E%3Crect%20x%3D%279.5%27%20y%3D%271%27%20width%3D%277.5%27%20height%3D%277.5%27%20fill%3D%27%23d7ef00%27%2F%3E%3Crect%20x%3D%271%27%20y%3D%279.5%27%20width%3D%277.5%27%20height%3D%277.5%27%20fill%3D%27%23d7ef00%27%2F%3E%3Crect%20x%3D%279.5%27%20y%3D%279.5%27%20width%3D%277.5%27%20height%3D%277.5%27%20fill%3D%27%231d4fd8%27%2F%3E%3Crect%20x%3D%270.5%27%20y%3D%270.5%27%20width%3D%2717%27%20height%3D%2717%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E"); --w98-key: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2738%27%20height%3D%2738%27%20viewBox%3D%270%200%2038%2038%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2713%27%20r%3D%278%27%20fill%3D%27%23ffcc00%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2710%27%20cy%3D%2711%27%20r%3D%272.5%27%20fill%3D%27%23d4d0c8%27%20stroke%3D%27%23000%27%2F%3E%3Cpath%20d%3D%27M17.5%2017.5%2031%2031l-3%203-2.5-2.5-2%202-2.5-2.5%202-2-6-6%27%20fill%3D%27%23ffcc00%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.5%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E");

  --pol-navy: #0a246a; --pol-navy-deep: #06184a; --pol-blue: #0b4fb3; --pol-accent: #3a6ea5; --pol-focus: #0a246a;
  --pol-bg: #d4d0c8; --pol-surface: #d4d0c8; --pol-paper: #ffffff;
  --pol-line: #808080; --pol-line-soft: #b9b5ad; --pol-line-strong: #404040;
  --pol-text: #000000; --pol-text-muted: #4a4a4a; --pol-heading: #000000;
  --pol-danger: #b00020; --pol-ok: #1a6b1a; --pol-warn: #8a5300; --pol-badge: #ffcc00; --pol-badge-text: #000;
  --pol-font: Tahoma, Verdana, "Segoe UI", Geneva, sans-serif; --pol-font-size: 12px; --pol-radius: 0px;
  --pol-shadow: none; --pol-shadow-lift: 3px 3px 0 #00000059;
  --pol-header-bg: #d4d0c8; --pol-header-line: #808080; --pol-header-sub: #4a4a4a;
  --pol-bar-bg: #d4d0c8; --pol-bar-text: #000; --pol-bar-h: 30px;
  --pol-btn-bg: #d4d0c8; --pol-btn-border: #404040; --pol-btn-text: #000;
  --polsas-navy: #0a246a; --polsas-blue: #3a6ea5; --polsas-surface: #d4d0c8; --polsas-paper: #fff;
}

/* ---------- Skrivebord og vindue ---------- */
html.pol98 { background: var(--w98-desktop); min-height: 100%; }
html.pol98 body { font-family: var(--pol-font); -webkit-font-smoothing: auto; }
html.pol98 body.has-systembar { padding-bottom: 36px; }
html.pol98 body.pol-window {
  margin: 12px 12px 48px !important; padding-bottom: 0; min-height: calc(100vh - 60px);
  background: var(--w98-face) !important; color: var(--pol-text); border: 0;
  box-shadow: var(--w98-raised), 4px 4px 0 #00000040; font: var(--pol-font-size) var(--pol-font);
}
html.pol98 .pol-titlebar {
  position: sticky; top: 0; z-index: 3500; display: flex; align-items: center; gap: 6px; height: 22px; margin: 3px 3px 0; padding: 0 3px 0 4px;
  background: var(--w98-title); color: #fff; font: bold 12px var(--pol-font); letter-spacing: .02em; user-select: none; cursor: default;
}
html.pol98 .pol-titlebar-icon { flex: 0 0 16px; height: 16px; background: var(--w98-icon) center / 16px 16px no-repeat; }
html.pol98 .pol-titlebar-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.pol98 .pol-titlebar-buttons, body.pol-login-page .pol-titlebar-buttons { display: flex; flex: 0 0 auto; gap: 2px; margin-left: auto; }
.pol-tb-btn { width: 18px; height: 16px; min-height: 0 !important; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background-color: #d4d0c8 !important; background-position: center !important; background-repeat: no-repeat !important; box-shadow: inset -1px -1px #404040, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf !important; cursor: pointer; }
.pol-tb-btn:active { box-shadow: inset 1px 1px #404040, inset -1px -1px #fff, inset 2px 2px #808080 !important; background-position: calc(50% + 1px) calc(50% + 1px) !important; }
.pol-tb-btn:focus-visible { outline: 1px dotted #000 !important; outline-offset: -4px !important; }
.pol-tb-min { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2716%27%20height%3D%2714%27%20viewBox%3D%270%200%2016%2014%27%3E%3Crect%20x%3D%274%27%20y%3D%279%27%20width%3D%276%27%20height%3D%272%27%20fill%3D%27%23000%27%2F%3E%3C%2Fsvg%3E") !important; }
.pol-tb-max { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2716%27%20height%3D%2714%27%20viewBox%3D%270%200%2016%2014%27%3E%3Crect%20x%3D%273.5%27%20y%3D%272.5%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%2F%3E%3Crect%20x%3D%273%27%20y%3D%272%27%20width%3D%279%27%20height%3D%272%27%20fill%3D%27%23000%27%2F%3E%3C%2Fsvg%3E") !important; }
.pol-tb-restore { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2716%27%20height%3D%2714%27%20viewBox%3D%270%200%2016%2014%27%3E%3Crect%20x%3D%275.5%27%20y%3D%271.5%27%20width%3D%276%27%20height%3D%275%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%2F%3E%3Crect%20x%3D%275%27%20y%3D%271%27%20width%3D%277%27%20height%3D%272%27%20fill%3D%27%23000%27%2F%3E%3Crect%20x%3D%272.5%27%20y%3D%275.5%27%20width%3D%276%27%20height%3D%275%27%20fill%3D%27%23d4d0c8%27%20stroke%3D%27%23000%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%275%27%20width%3D%277%27%20height%3D%272%27%20fill%3D%27%23000%27%2F%3E%3C%2Fsvg%3E") !important; }
.pol-tb-close { margin-left: 2px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2716%27%20height%3D%2714%27%20viewBox%3D%270%200%2016%2014%27%3E%3Cpath%20d%3D%27M4%203.5l7%206.5M11%203.5l-7%206.5%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%2F%3E%3C%2Fsvg%3E") !important; }

/* Maksimeret: vinduet fylder hele skærmen over proceslinjen */
html.pol98.pol-maximized body.pol-window { margin: 0 0 36px !important; min-height: calc(100vh - 36px); box-shadow: var(--w98-raised); }
html.pol98.pol-maximized body.outlook-mail.pol-window { height: calc(100vh - 36px) !important; }
html.pol98.pol-maximized .polsas-workbench.pol-window .verser-panel { right: 8px; bottom: 42px; }
html.pol98.pol-maximized .polsas-workbench.pol-window .case-help-panel { right: 296px; bottom: 42px; }
/* Minimeret: vinduet skjules, og skrivebordet med ikoner kommer frem */
html.pol98.pol-minimized body.pol-window { min-height: 0 !important; height: auto !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; }
html.pol98.pol-minimized body.pol-window > :not(.pol-taskbar):not(.pol-desktop):not(.pol-search-overlay) { display: none !important; }

/* Skrivebordsikoner (på forsiden og når et vindue er minimeret) */
html.pol98 .pol-desktop { display: none; }
html.pol98.pol-minimized .pol-desktop { position: fixed; top: 12px; left: 12px; bottom: 48px; z-index: 10; display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 86px); gap: 6px; align-content: start; }
html.pol98.pol-home-desktop .pol-desktop { position: fixed; top: 14px; right: 90px; z-index: 40; display: flex; flex-direction: row-reverse; flex-wrap: wrap; gap: 4px; max-width: 60vw; }
html.pol98 .pol-desk-icon { display: grid; justify-items: center; align-content: start; gap: 4px; width: 80px; min-height: 80px; padding: 6px 2px 4px; border: 1px solid transparent; background: transparent; color: #fff; font: 12px/1.25 var(--pol-font); text-align: center; cursor: default; }
html.pol98 .pol-desk-icon i { display: grid; place-items: center; width: 40px; height: 40px; font-size: 30px; font-style: normal; filter: drop-shadow(1px 1px 0 #000); }
html.pol98 .pol-desk-icon span { padding: 1px 3px; text-shadow: 1px 1px 0 #000; overflow-wrap: anywhere; }
html.pol98 .pol-desk-icon.selected span { background: var(--w98-select); text-shadow: none; outline: 1px dotted #ffcc00; }
html.pol98 .pol-desk-icon.selected i { filter: drop-shadow(1px 1px 0 #000) sepia(1) hue-rotate(190deg) saturate(3) brightness(.8); }
html.pol98 .pol-desk-icon:focus-visible { outline: 1px dotted #fff !important; outline-offset: -2px !important; }
/* Forsidens vinduer: rigtige knapper og skjul/vis */
html.pol98 .pol-hidden-window { display: none !important; }
html.pol98 .pol-home-titlebar { display: flex !important; align-items: center; gap: 6px; }
html.pol98 .pol-task-window { font-weight: normal !important; }
html.pol98 :focus-visible { outline: 1px dotted #000 !important; outline-offset: -4px !important; }
html.pol98 ::selection { background: var(--w98-select); color: #fff; }
html.pol98 a { color: var(--pol-blue); }

/* ---------- Systemer vist som vindue på skrivebordet (iframe, html.pol-embedded) ---------- */
html.pol98.pol-embedded, html.pol98.pol-embedded body { --pol-bar-h: 0px; background: var(--w98-face); }
html.pol98.pol-embedded body { margin: 0 !important; padding: 0 !important; min-height: 100vh; box-shadow: none !important; }
html.pol98.pol-embedded .pi-nav { top: 6px !important; }
html.pol98.pol-embedded .global-mail-notice { display: none !important; }
html.pol98.pol-embedded body.outlook-mail { height: 100vh !important; }

/* ---------- Proceslinje og startmenu ---------- */
html.pol98 .pol-systembar.pol-taskbar {
  position: fixed !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 4000; display: flex; align-items: center; gap: 4px;
  height: 36px; min-height: 0 !important; margin: 0; padding: 3px 4px 3px 3px !important; flex-wrap: nowrap !important;
  background: var(--w98-face) !important; border: 0 !important; box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff !important; color: #000; font: 12px var(--pol-font);
}
html.pol98 .pol-taskbar .pol-systembar-brand { display: none; }
html.pol98 :is(.pol-start, .pol-taskbar .pol-systembar-system, .pol-taskbar .pol-systembar-logout, .pol-taskbar .pol-search-button) {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; margin: 0; padding: 0 10px; border: 0 !important; border-radius: 0 !important;
  background: var(--w98-face) !important; box-shadow: var(--w98-raised) !important; color: #000 !important; font: 12px var(--pol-font) !important;
  letter-spacing: 0 !important; text-transform: none !important; text-decoration: none; white-space: nowrap; cursor: pointer;
}
html.pol98 .pol-start { flex: 0 0 auto; padding: 0 9px 0 5px; font-weight: bold !important; }
html.pol98 .pol-start-logo { width: 18px; height: 18px; background: var(--w98-logo) center / contain no-repeat; }
html.pol98 .pol-start:is(.pressed, :active) { box-shadow: var(--w98-pressed) !important; padding-top: 1px; }
html.pol98 .pol-taskbar .pol-systembar-systems { display: flex; gap: 3px; flex: 1 1 auto; min-width: 0; height: 28px; margin-left: 2px; padding-left: 5px; border-left: 1px solid #808080; box-shadow: inset 1px 0 #fff; overflow: hidden; }
html.pol98 .pol-taskbar .pol-systembar-system { flex: 0 1 170px; min-width: 0; justify-content: flex-start; font-weight: normal !important; }
html.pol98 .pol-taskbar .pol-systembar-system span { overflow: hidden; text-overflow: ellipsis; }
html.pol98 .pol-taskbar .pol-systembar-system:hover { background: var(--w98-face) !important; color: #000 !important; }
html.pol98 .pol-taskbar .pol-systembar-system.active { background: var(--w98-dither) !important; box-shadow: var(--w98-pressed) !important; border-bottom: 0 !important; font-weight: bold !important; }
html.pol98 .pol-taskbar .pol-systembar-count { min-width: 16px; padding: 0 4px; border-radius: 0; background: #b00020 !important; color: #fff !important; box-shadow: 1px 1px 0 #000; font: bold 10px/14px var(--pol-font); }
html.pol98 .pol-taskbar .pol-search-button { margin-left: 4px; padding: 0 8px; }
html.pol98 .pol-taskbar .pol-search-button kbd { padding: 0 3px; border: 1px solid #808080; border-radius: 0; background: #fff; color: #000; opacity: 1; }
html.pol98 .pol-taskbar .pol-systembar-user { display: grid; align-content: center; gap: 0; height: 28px; max-width: 240px; padding: 0 8px; text-align: left; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; }
html.pol98 .pol-taskbar .pol-systembar-user strong { color: #000; font-size: 11px; }
html.pol98 .pol-taskbar .pol-systembar-user small { color: #4a4a4a; font-size: 10px; }
html.pol98 .pol-tray-clock { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; color: #000; font: 12px var(--pol-font); }
html.pol98 .pol-taskbar :is(.pol-systembar-logout, .pol-systembar-system, .pol-search-button):active { box-shadow: var(--w98-pressed) !important; }

html.pol98 .pol-startmenu { position: absolute; left: 2px; bottom: 34px; z-index: 4100; display: flex; min-width: 270px; padding: 3px; background: var(--w98-face); box-shadow: var(--w98-raised), 3px 3px 0 #00000059; }
html.pol98 .pol-startmenu[hidden] { display: none; }
html.pol98 .pol-startmenu-stripe { display: flex; justify-content: flex-start; align-items: center; gap: 4px; width: 26px; padding: 8px 0; background: linear-gradient(0deg, #0a246a, #3a6ea5); color: #fff; writing-mode: vertical-rl; transform: rotate(180deg); font: bold 17px var(--pol-font); letter-spacing: .04em; }
html.pol98 .pol-startmenu-stripe span { color: #ffcc00; font-weight: normal; }
html.pol98 .pol-startmenu-items { display: grid; flex: 1; padding: 2px 0; }
html.pol98 .pol-startmenu-user { display: grid; margin-bottom: 3px; padding: 6px 10px 7px; border-bottom: 1px solid #808080; box-shadow: 0 1px #fff; }
html.pol98 .pol-startmenu-user strong { font-size: 12px; }
html.pol98 .pol-startmenu-user small { color: #4a4a4a; font-size: 10px; }
html.pol98 .pol-startmenu-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 0 12px 0 8px; border: 0; background: transparent; color: #000 !important; font: 12px var(--pol-font); text-align: left; text-decoration: none; cursor: pointer; }
html.pol98 .pol-startmenu-item i { width: 22px; font-size: 17px; font-style: normal; text-align: center; }
html.pol98 .pol-startmenu-item kbd { margin-left: auto; color: inherit; font: 10px var(--pol-font); opacity: .75; }
html.pol98 .pol-startmenu-item:is(:hover, :focus-visible) { background: var(--w98-select); color: #fff !important; outline: 0 !important; }
html.pol98 .pol-startmenu hr { width: calc(100% - 8px); margin: 3px 4px; border: 0; border-top: 1px solid #808080; border-bottom: 1px solid #fff; }

/* ---------- Kontroller: knapper, felter, gruppebokse, faner, tabeller ---------- */
html.pol98 :is(button:not([class]), input[type=button], input[type=submit], input[type=reset], .pi-btn, .pi-icon-btn, .pi-link-btn, .dp-btn, .dp-btn-close, .dp-close, .vc-btn, .admin-btn, .pol-btn,
  .polsas-confirm-primary, .close-case-helper-choice, .rd-tool, .vo-refresh, .verser-focus-toggle, .logout-button, .mail-subfolder-add, .save-case, #opret-sag-button,
  .outlook-ribbon-actions button, .outlook-compose-title button, .mail-modern-actions button, .mail-address-row button, .mail-address-book-title button, .open-archived-case-btn) {
  min-height: 24px; padding: 3px 12px; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important;
  box-shadow: var(--w98-raised) !important; font: 12px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none; text-shadow: none; cursor: pointer;
}
html.pol98 :is(button:not([class]), .pi-btn, .dp-btn, .vc-btn, .admin-btn, .pol-btn, .outlook-ribbon-actions button, .mail-modern-actions button, .save-case, #opret-sag-button, .rd-tool):active:not(:disabled) { box-shadow: var(--w98-pressed) !important; padding: 4px 11px 2px 13px; }
html.pol98 :is(button, input[type=button], input[type=submit]):disabled { color: #808080 !important; text-shadow: 1px 1px #fff !important; opacity: 1 !important; cursor: default; }
/* Standardknappen (primær) får den klassiske sorte ramme */
html.pol98 :is(.pi-btn-primary, .dp-btn-primary, .vc-btn-primary, .pol-btn-primary, .admin-btn:not(.admin-btn-danger), .polsas-confirm-primary, #mail-send, #mail-compose-open) {
  font-weight: bold !important; box-shadow: 0 0 0 1px #000, var(--w98-raised) !important;
}
html.pol98 :is(.pi-btn-danger, .admin-btn-danger, .dp-btn.danger) { color: var(--pol-danger) !important; }
/* Minimumshøjde kun for enkeltlinjefelter og uden specificitet, så tekstfelter (fx feedback og noter) beholder deres egne højder. */
:where(html.pol98) :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]):not([type=file]), select) { min-height: 22px; }
html.pol98 :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]):not([type=file]), select, textarea) {
  padding: 3px 5px; border: 0 !important; border-radius: 0 !important; background: #fff !important; color: #000 !important;
  box-shadow: var(--w98-sunken) !important; font: 12px var(--pol-font) !important;
}
html.pol98 :is(input, select, textarea):disabled { background: var(--w98-face) !important; color: #808080 !important; }
html.pol98 :is(input, select, textarea):focus { outline: 0 !important; }
html.pol98 input:is([type=checkbox], [type=radio]) { accent-color: var(--w98-select); }
html.pol98 ::placeholder { color: #808080 !important; opacity: 1; }
html.pol98 fieldset { margin: 6px 0; padding: 10px 10px 8px; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: var(--w98-etched) !important; }
html.pol98 fieldset legend { padding: 0 4px; background: var(--w98-face) !important; color: #000 !important; font: 12px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none !important; }
html.pol98 table { border-collapse: collapse; }
html.pol98 th { padding: 4px 6px; border: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised); font: 12px var(--pol-font); font-weight: normal !important; letter-spacing: 0; text-align: left; text-transform: none; }
html.pol98 td { border-color: #d4d0c8 !important; color: #000; }

/* Faner som egenskabsark (POLSAS-faner, sagsfaner, Vagtcentral-faner) */
html.pol98 :is(.tab-button, .case-tab-button, .dp-tabs button) {
  position: relative; margin: 0 -1px 0 0; padding: 4px 12px !important; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important;
  box-shadow: inset 1px 1px #fff, inset -1px 0 #404040, inset 2px 2px #dfdfdf, inset -2px 0 #808080 !important; font: 12px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none !important;
}
html.pol98 :is(.tab-button.active, .case-tab-button.active, .dp-tabs button.active) { z-index: 1; margin-top: -2px; padding-bottom: 6px !important; background: var(--w98-face) !important; color: #000 !important; font-weight: bold !important; }

/* ---------- Systemernes hoveder bliver vinduets værktøjslinje ---------- */
html.pol98 :is(.polsas-workbench > header, .pi-header, .dp-header, .outlook-mail .outlook-ribbon, .admin-modern:not(.outlook-mail) .admin-header) {
  margin: 0 3px; padding: 6px 8px 0 !important; background: var(--w98-face) !important; color: #000 !important; border: 0 !important;
  box-shadow: 0 1px #808080, 0 2px #fff !important; text-align: left;
}
html.pol98 :is(.polsas-workbench > header h1, .pi-header h1, .dp-header h1, .outlook-mail .outlook-app-title strong, .admin-header h1) {
  margin: 0 !important; color: #000 !important; font: bold 15px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none;
}
html.pol98 :is(.polsas-workbench > header p, .pi-sub, .outlook-mail .outlook-app-title span, .admin-header p) { margin: 1px 0 6px !important; color: #4a4a4a !important; font-size: 11px !important; }
html.pol98 :is(.pi-kicker, .admin-kicker), html.pol98 .outlook-mail .outlook-app-title::before { display: none !important; }
html.pol98 .polsas-workbench > header .tabs { margin-top: 2px; padding-left: 2px; }
html.pol98 :is(.pi-header, .outlook-mail .outlook-ribbon) { padding-bottom: 6px !important; }
html.pol98 .outlook-mail .outlook-ribbon-actions { gap: 3px; }

/* ---------- Paneler: hvert kort er et lille undervindue med egen titellinje ---------- */
html.pol98 :is(.polsas-workbench .card, .pi-card, .dp-col, .dp-panel, .dp-drawer, .admin-card, .pi-work-tile, .vc-panel, .polsas-workbench .verser-panel, .polsas-workbench .case-help-panel) {
  padding: 3px !important; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised) !important;
}
html.pol98 :is(.polsas-workbench .card > h2, .pi-card > h2, .dp-col > header, .admin-card h2, .polsas-workbench .verser-title, .case-help-titlebar, .vc-panel-head) {
  min-height: 20px; margin: 0 0 6px !important; padding: 3px 6px !important; border: 0 !important; border-radius: 0 !important; background: var(--w98-title) !important; color: #fff !important;
  box-shadow: none !important; font: bold 12px var(--pol-font) !important; letter-spacing: .02em !important; text-align: left; text-transform: none !important;
}
html.pol98 :is(.pi-card > h2, .vc-panel-head, .dp-col > header) * { color: #fff !important; }
html.pol98 :is(.pi-card > h2 a, .vc-panel-head a) { text-decoration: underline; }
html.pol98 .pol-vc-head :is(a, a:visited) { color: #fff !important; text-decoration: underline; }
html.pol98 .pi-card-alert > h2 { background: linear-gradient(90deg, #7a3d00, #c9861a) !important; }
html.pol98 :is(.pi-card, .polsas-workbench .card) > :not(h2) { margin-left: 4px; margin-right: 4px; }
/* Nedsænkede, hvide "brønde" til lister og indhold */
html.pol98 :is(.pi-post, .pi-link-list, .pi-doc-list, .pi-shift-list, .verser-list, .dp-card, .bilag-item, .case-card, .archive-category, .sagsplacering-item, .vc-brief, .vc-next, .journal-suggestions, .mail-modern-view, .mail-modern-compose, .verser-focus-view) {
  border: 0 !important; border-radius: 0 !important; background: #fff !important; color: #000 !important; box-shadow: var(--w98-sunken) !important;
}
html.pol98 .case-tab-content { padding: 8px !important; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised) !important; }
/* Fastgjorte POLSAS-paneler holdes inden for vinduet og over proceslinjen */
html.pol98 .polsas-workbench.pol-window .verser-panel { right: 20px; bottom: 54px; }
html.pol98 .polsas-workbench.pol-window .case-help-panel { right: 308px; bottom: 54px; }
html.pol98 .verser-list { padding: 3px; }
html.pol98 .polsas-workbench .verser-case { border: 0 !important; border-bottom: 1px dotted #808080 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
html.pol98 .polsas-workbench .verser-case:hover { background: #e8eefa !important; }
html.pol98 .polsas-workbench .verser-subtitle { color: #4a4a4a !important; }
html.pol98 .polsas-workbench .case-status { padding: 1px 6px !important; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised); }
html.pol98 .polsas-workbench label { color: #000; }
html.pol98 #polsas-live-status { margin: 0 3px; border-bottom: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: inset 0 -1px #808080, inset 0 -2px #fff; }
html.pol98 .polsas-workbench #case-help-toggle { border: 0 !important; background: var(--w98-title) !important; color: #fff !important; }
html.pol98 #visitation-cockpit .vc-root { background: var(--w98-face) !important; }
html.pol98 #visitation-cockpit .vc-header { border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; box-shadow: var(--w98-raised) !important; }
html.pol98 .polsas-workbench .vc-actionbar { border-top: 0 !important; background: var(--w98-face) !important; box-shadow: inset 0 1px #808080, inset 0 2px #fff !important; }
html.pol98 #visitation-cockpit .vc-btn { border-radius: 0 !important; }

/* Statustal (POLintra-tal og Vagtcentral-tal) som nedsænkede tællere */
html.pol98 :is(.dp-stat, .pi-stat-list > *) { padding: 6px 8px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: var(--w98-sunken) !important; }
html.pol98 :is(.dp-stat :is(b, strong), .pi-stat-list :is(b, strong)) { color: var(--w98-select) !important; }

/* ---------- POLintra ---------- */
html.pol98 body.polintra { background: var(--w98-face) !important; }
html.pol98 .pi-nav { top: 30px !important; padding: 2px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: var(--w98-sunken) !important; }
html.pol98 .pi-nav-group { margin: 8px 6px 2px !important; color: #4a4a4a !important; font: bold 11px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none !important; }
html.pol98 .pi-nav-link { padding: 4px 8px !important; border: 1px solid transparent !important; border-radius: 0 !important; color: #000 !important; font: 12px var(--pol-font) !important; }
html.pol98 .pi-nav-link:hover { background: #e8eefa !important; }
html.pol98 .pi-nav-link.active { border: 1px dotted #ffcc00 !important; background: var(--w98-select) !important; color: #fff !important; box-shadow: none !important; }
html.pol98 .pi-welcome { border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; box-shadow: var(--w98-raised) !important; }
html.pol98 :is(.pi-avatar, .ch-avatar) { border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised); }
html.pol98 .ch-server { border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised) !important; }
html.pol98 .ch-server:is(.active, :hover) { background: var(--w98-select) !important; color: #fff !important; }
html.pol98 .ch-dept-link { border-radius: 0 !important; background: var(--w98-title) !important; color: #fff !important; }
html.pol98 .pi-post-comments { background: var(--w98-face) !important; }

/* ---------- Mail: tre ruder som i et klassisk mailprogram ---------- */
html.pol98 body.outlook-mail.pol-window { height: calc(100vh - 60px) !important; min-height: 0 !important; }
html.pol98 .outlook-mail .outlook-shell { gap: 4px !important; margin: 0 !important; padding: 4px !important; background: var(--w98-face) !important; }
html.pol98 .outlook-mail :is(.outlook-folder-pane, .outlook-list-pane) { border: 0 !important; background: #fff !important; box-shadow: var(--w98-sunken) !important; }
html.pol98 .outlook-mail .outlook-reading-pane { padding: 0 !important; border: 0 !important; background: var(--w98-face) !important; box-shadow: none !important; }
html.pol98 .outlook-mail .outlook-pane-heading { color: #4a4a4a !important; font: bold 11px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none !important; }
html.pol98 .outlook-mail :is(.mail-modern-folder, .mail-modern-mailbox) { padding: 4px 8px !important; border: 1px solid transparent !important; border-radius: 0 !important; background: transparent !important; color: #000 !important; font: 12px var(--pol-font) !important; }
html.pol98 .outlook-mail :is(.mail-modern-folder, .mail-modern-mailbox):hover { background: #e8eefa !important; }
html.pol98 .outlook-mail :is(.mail-modern-folder, .mail-modern-mailbox).active { border: 1px dotted #ffcc00 !important; background: var(--w98-select) !important; color: #fff !important; box-shadow: none !important; }
html.pol98 .outlook-mail :is(.mail-modern-folder, .mail-modern-mailbox).active :is(small, b, span) { color: #fff !important; }
html.pol98 .outlook-mail .mail-modern-item { padding: 6px 8px !important; border: 0 !important; border-bottom: 1px solid #e4e1da !important; border-radius: 0 !important; background: #fff !important; color: #000 !important; }
html.pol98 .outlook-mail .mail-modern-item.unread { background: #fff !important; box-shadow: inset 3px 0 var(--w98-select); }
html.pol98 .outlook-mail .mail-modern-item.unread strong { font-weight: bold; }
html.pol98 .outlook-mail .mail-modern-item.active { background: var(--w98-select) !important; }
html.pol98 .outlook-mail .mail-modern-item.active :is(strong, span, small, em) { color: #fff !important; }
html.pol98 .outlook-mail :is(.mail-modern-item small, .mail-modern-item em, #mail-list-status, .mail-list-filters, .mail-mailbox-heading small, .outlook-message-header) { color: #4a4a4a !important; }
html.pol98 .outlook-mail :is(.mail-modern-item strong, .outlook-message-header h2, .mail-mailbox-heading h2) { color: #000 !important; }
html.pol98 .outlook-mail :is(.mail-modern-view, .mail-modern-compose) { padding: 12px !important; }
html.pol98 .outlook-mail .mail-address-book-window { border: 0 !important; background: var(--w98-face) !important; box-shadow: var(--w98-raised), 3px 3px 0 #00000059 !important; }
html.pol98 .outlook-mail .mail-address-book-title { margin: -11px -11px 8px; padding: 3px 4px 3px 8px; background: var(--w98-title); color: #fff; }
html.pol98 .outlook-mail pre { color: #000 !important; }

/* ---------- Vagtcentral ---------- */
html.pol98 body.dispatch { background: var(--w98-face) !important; }
html.pol98 .dp-card { padding: 6px 8px !important; }
html.pol98 .dp-card-prio { border-radius: 0 !important; }
html.pol98 :is(.dp-filters, .dp-legend) { background: transparent !important; }

/* ---------- Dialoger, søgning og notifikationer ---------- */
html.pol98 :is(.polsas-confirm, .pol-search) { padding: 3px; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised), 4px 4px 0 #00000059 !important; }
html.pol98 .polsas-confirm .polsas-confirm-titlebar { background: var(--w98-title) !important; }
html.pol98 .pol-search::before { content: 'Søg i alle systemer'; display: block; height: 20px; padding: 0 6px; background: var(--w98-title); color: #fff; font: bold 12px/20px var(--pol-font); }
html.pol98 .pol-search-overlay { background: transparent !important; backdrop-filter: none !important; }
html.pol98 .pol-search-field { border-bottom: 0 !important; background: var(--w98-face); }
html.pol98 .pol-search-list { margin: 0 8px 6px !important; background: #fff; box-shadow: var(--w98-sunken); }
html.pol98 .pol-search-list li { border-radius: 0 !important; }
html.pol98 .pol-search-list li:is(.active, :hover) { background: var(--w98-select) !important; }
html.pol98 .pol-search-list li:is(.active, :hover) :is(b, small) { color: #fff !important; }
html.pol98 .pol-search-foot { border-top: 0 !important; color: #4a4a4a !important; }
html.pol98 .global-mail-notice { right: 8px !important; bottom: 44px !important; top: auto !important; padding: 8px 10px !important; border: 1px solid #000 !important; border-radius: 0 !important; background: var(--w98-tip) !important; color: #000 !important; box-shadow: 2px 2px 0 #00000059 !important; font: 12px var(--pol-font) !important; }
html.pol98 .global-mail-notice::before { content: '✉ '; }

/* ---------- Login: logon-dialog midt på skrivebordet (gælder også før html.pol98 er sat) ---------- */
body.pol-login-page { background: var(--w98-desktop) !important; font: 12px var(--pol-font); }
body.pol-login-page .pol-login-wrap { width: min(430px, 100%); margin: 0 !important; } /* style.css giver alle <main> margin-right: 568px */
body.pol-login-page .pol-login-card { padding: 3px; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000; box-shadow: var(--w98-raised), 4px 4px 0 #00000059 !important; }
body.pol-login-page .pol-login-card > .pol-login-head { display: flex; align-items: center; min-height: 22px; padding: 0 3px 0 24px !important; border: 0 !important; background: var(--w98-icon) 4px 50% / 16px 16px no-repeat, var(--w98-title) !important; box-shadow: none !important; }
body.pol-login-page .pol-login-head :is(.pol-login-kicker, p) { display: none; }
body.pol-login-page .pol-login-head h1 { margin: 0 !important; color: #fff !important; font: bold 12px var(--pol-font) !important; letter-spacing: 0 !important; }
body.pol-login-page .pol-login-head h1::before { content: 'Log på – '; }
body.pol-login-page .pol-login-form { padding: 16px 16px 4px 74px; background: var(--w98-key) 18px 20px / 38px 38px no-repeat; }
body.pol-login-page .pol-login-form label { color: #000 !important; font: 12px var(--pol-font) !important; }
body.pol-login-page .pol-login-form input { min-height: 24px; border: 0 !important; border-radius: 0 !important; background: #fff !important; color: #000; box-shadow: var(--w98-sunken) !important; font: 12px var(--pol-font); }
body.pol-login-page .pol-login-actions button { min-width: 90px; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: 0 0 0 1px #000, var(--w98-raised) !important; font: bold 12px var(--pol-font) !important; letter-spacing: 0 !important; }
body.pol-login-page .pol-login-actions button:active { box-shadow: 0 0 0 1px #000, var(--w98-pressed) !important; }
body.pol-login-page .pol-login-back { color: #000 !important; }
body.pol-login-page :is(.pol-login-sso, .login-hint) { padding-left: 74px !important; color: #4a4a4a !important; }
body.pol-login-page .pol-login-error { color: var(--pol-danger) !important; }
body.pol-login-page .pol-login-notice { border: 1px solid #000 !important; background: var(--w98-tip) !important; color: #000 !important; }

/* ---------- Forside: fotoet er tapet, panelerne er vinduer ---------- */
html.pol98 body.home-shortcuts { font-family: var(--pol-font); }
html.pol98 body.home-shortcuts::before { background: #0b2a3a40 !important; }
html.pol98 .home-brand { border: 0 !important; background: transparent !important; color: #fff !important; box-shadow: none !important; text-shadow: 2px 2px 0 #000; font: bold 40px var(--pol-font) !important; letter-spacing: .08em !important; }
html.pol98 .intranet-welcome { padding: 6px 10px !important; border: 1px solid #000 !important; border-radius: 0 !important; background: var(--w98-tip) !important; color: #000 !important; box-shadow: 2px 2px 0 #00000059; font: 12px var(--pol-font) !important; }
html.pol98 :is(.shortcut-panel, .home-info-board, .home-audio-control) { padding: 3px !important; border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised), 4px 4px 0 #00000066 !important; backdrop-filter: none !important; font: 12px var(--pol-font); }
html.pol98 .shortcut-panel h2 { margin: 0 0 4px !important; padding: 3px 3px 3px 24px !important; border: 0 !important; background: var(--w98-icon) 4px 50% / 16px 16px no-repeat, var(--w98-title) !important; color: #fff !important; font: bold 12px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none !important; }
html.pol98 .shortcut-item { margin: 0 3px; padding: 6px 10px !important; border: 0 !important; border-bottom: 1px solid #e4e1da !important; background: #fff !important; color: #000 !important; font: 13px var(--pol-font) !important; }
html.pol98 .shortcut-item.active:hover { padding-left: 10px !important; background: var(--w98-select) !important; color: #fff !important; }
html.pol98 .shortcut-item.active:hover .arrow { color: #fff !important; }
html.pol98 .shortcut-item .arrow { color: #000 !important; }
html.pol98 .shortcut-item.disabled { color: #808080 !important; text-shadow: 1px 1px #fff; }
html.pol98 .home-info-board { padding: 3px 3px 12px !important; border-left: 0 !important; }
html.pol98 .home-info-kicker { margin: 0 0 8px; padding: 3px 3px 3px 24px; background: var(--w98-icon) 4px 50% / 16px 16px no-repeat, var(--w98-title); color: #fff !important; font: bold 12px var(--pol-font) !important; letter-spacing: 0 !important; text-transform: none !important; }
html.pol98 .home-info-board :is(h2, p) { margin-left: 10px !important; margin-right: 10px !important; color: #000 !important; font-family: var(--pol-font) !important; }
html.pol98 .home-audio-control button { border: 0 !important; border-radius: 0 !important; background: var(--w98-face) !important; color: #000 !important; box-shadow: var(--w98-raised) !important; }
html.pol98 .home-audio-control :is(.home-audio-label, small) { color: #000 !important; }

/* ---------- Fælles søgning (Ctrl+K) og POLintra-widgets – grundopsætning ---------- */
.pol-search-button { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.pol-search-badge { display: inline-block; min-width: 16px; padding: 0 5px; background: #b00020; color: #fff; font: bold 10px/16px var(--pol-font); text-align: center; }
.pol-search-overlay { position: fixed; inset: 0; z-index: 5000; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; }
.pol-search-overlay[hidden] { display: none; }
.pol-search { width: min(640px, calc(100vw - 32px)); overflow: hidden; font-family: var(--pol-font); }
.pol-search-field { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.pol-search-field input { flex: 1; font: 14px var(--pol-font); }
.pol-search-list { list-style: none; margin: 0; padding: 4px; max-height: 52vh; overflow-y: auto; }
.pol-search-list li { display: flex; gap: 10px; align-items: center; padding: 6px 8px; cursor: pointer; }
.pol-search-icon { width: 24px; font-size: 16px; text-align: center; }
.pol-search-text { display: grid; min-width: 0; }
.pol-search-text b { overflow: hidden; color: #000; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pol-search-text small { color: #4a4a4a; font-size: 11px; }
.pol-search-empty { color: #4a4a4a; font-style: italic; cursor: default !important; }
.pol-search-foot { margin: 0; padding: 4px 12px 8px; font-size: 11px; }
.pol-mb-link { display: block; margin: 0 0 10px; padding: 6px 10px; border: 1px solid #000; background: var(--w98-tip); color: #000 !important; font-size: 12px; text-decoration: none; }
.pol-vc-widget { margin-top: 10px; }
.pol-vc-head { display: flex; justify-content: space-between; align-items: center; padding: 3px 6px; background: var(--w98-title); }
.pol-vc-head h2 { margin: 0; color: #fff; font: bold 12px var(--pol-font); }
.pol-vc-head a { color: #fff; font-size: 11px; }
.pol-vc-body { padding: 6px 8px 8px; font-size: 12px; }
.pol-vc-stats b.alert { color: var(--pol-danger); }
.pol-vc-mine { padding: 6px 10px; background: #fff; box-shadow: var(--w98-sunken); }
.pol-vc-list { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.pol-vc-list li { display: flex; gap: 8px; align-items: baseline; }
.pol-vc-list i { display: inline-block; flex: none; width: 18px; height: 18px; color: #fff; font: bold 10px/18px var(--pol-font); font-style: normal; text-align: center; }
.pol-vc-list span { color: #4a4a4a; font-size: 12px; }
.pol-vc-quiet { color: #4a4a4a; font-style: italic; }

/* ---------- Smalle skærme ---------- */
@media (max-width: 800px) {
  html.pol98 body.pol-window { margin: 0 0 36px !important; box-shadow: none; }
  html.pol98 .pol-taskbar .pol-systembar-systems { order: 0 !important; flex: 1 1 auto !important; min-height: 0 !important; overflow-x: auto; }
  html.pol98 .pol-taskbar .pol-systembar-user { flex: 0 0 auto !important; }
  html.pol98 .pol-taskbar .pol-systembar-system { flex: 0 1 auto; padding: 0 7px; }
  html.pol98 .pol-taskbar :is(.pol-systembar-user small, .pol-search-button span, .pol-search-button kbd) { display: none; }
  html.pol98 .pol-taskbar .pol-systembar-user { max-width: 110px; }
  html.pol98 .pol-taskbar .pol-systembar-logout { padding: 0 7px; }
  html.pol98 .pol-tray-clock { display: none; }
  html.pol98 body.outlook-mail.pol-window { height: auto !important; }
}
@media (max-width: 560px) { html.pol98 .pol-taskbar .pol-systembar-user { display: none; } }
@media print {
  html.pol98 { background: #fff; }
  html.pol98 body.pol-window { margin: 0 !important; background: #fff !important; box-shadow: none; }
  html.pol98 .pol-titlebar, html.pol98 .pol-taskbar, html.pol98 .pol-desktop { display: none !important; }
}
