/* looks.css - v2.7.12 */
/* Looks for the week calendar in Calendar.html. docs/LOOKS_GUIDE.md describes the architecture and how to add a look.
   Every value of a look (colours, fonts, sizes) is defined once, in looks.js, which writes the look on
   screen as variables on <html>. This file only reads them. Every rule is gated on <html>: html[data-look...],
   html[data-look-is~="<flag>"] or html[data-cal-compact], and on the surface it styles, :where([data-look-on~="..."]),
   which adds no weight. With Klassisk and compact off not one of those rules matches. Everything is screen only:
   print stays as it always was. Only the ART sections name a look: the shapes of a drawn look that no value can
   express. The eye menu band at the end is the only part that applies to everyone, and only while the menu is open. */

/* Fonts, self-hosted, under their own names so they never collide with a page's own @font-face.
   A browser only downloads a face when text uses it, so only the selected look's fonts load.
   Fraunces trap: fraunces-italic-var.woff2 holds the UPRIGHT face. */
@font-face { font-family: 'CL Schibsted'; src: url('/assets/fonts/schibsted-grotesk-var.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'CL Fraunces'; src: url('/assets/fonts/fraunces-italic-var.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'CL Quicksand'; src: url('/assets/fonts/quicksand.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'CL Fredoka'; src: url('/assets/fonts/fredoka.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'CL Nunito'; src: url('/assets/fonts/nunito.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'CL Caveat'; src: url('/assets/fonts/caveat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'CL Schoolbell'; src: url('/assets/fonts/schoolbell.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'CL Walter'; src: url('/assets/fonts/walter-turncoat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'CL Cabin Sketch'; src: url('/assets/fonts/cabin-sketch-regular.woff2') format('woff2'); font-weight: 100 500; font-display: swap; }
@font-face { font-family: 'CL Cabin Sketch'; src: url('/assets/fonts/cabin-sketch-bold.woff2') format('woff2'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'CL Fredericka'; src: url('/assets/fonts/fredericka-the-great.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

@media screen {

/* ---------- ART: sorbet ----------
   Shapes only; every value of the look is in looks.js. Playful and round, for the youngest classes. */
html[data-look="sorbet"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] { border-radius: 18px 18px 0 0; }
/* the scalloped edge under the header */
html[data-look="sorbet"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    background: radial-gradient(ellipse 25px 12px at 25px 0, #ff7a90 98%, transparent 100%) 0 0 / 50px 12px repeat-x;
    pointer-events: none;
}
html[data-look="sorbet"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell {
    box-shadow: inset 0 -5px 0 color-mix(in srgb, var(--lesson-c, #999) 72%, #000), 0 2px 0 rgba(0, 0, 0, 0.04);
}
html[data-look="sorbet"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell:hover {
    box-shadow: inset 0 -5px 0 color-mix(in srgb, var(--lesson-c, #999) 72%, #000), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
html[data-look="sorbet"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell.print-full { padding-bottom: 0.75rem; }
html[data-look="sorbet"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .non-teaching-block {
    box-shadow: inset 0 -5px 0 color-mix(in srgb, var(--lesson-c, #999) 72%, #000);
}
html[data-look="sorbet"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .daily-notes-row .note-container { transform: rotate(-0.4deg); }
/* ---------- END ART: sorbet ---------- */

/* ---------- ART: lys ----------
   Shapes only; every value of the look is in looks.js. Airy and white, a warm serif on top, pill
   buttons, today ringed. */
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] { border-radius: 20px 20px 0 0; }
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow h1 { font-variation-settings: 'SOFT' 50, 'WONK' 0; }
/* round pill buttons and pill chips */
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .left-menu-hover-zone > .v-btn,
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .right-menu-trigger,
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn { background: var(--cl-pill-bg) !important; }
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn { margin: 0 6px; }
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small { padding: 7px 16px; }
/* today: the date in a coral ring, the day name stays plain */
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header.cl-today .day-date-dot { display: none; }
html[data-look="lys"]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header.cl-today .day-date {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--cl-accent);
    color: #ffffff;
    font-weight: 700;
}
/* ---------- END ART: lys ---------- */

/* ---------- ART: rutebok ----------
   Shapes only; every value of the look is in looks.js. Graph paper, sticky notes and marker, like a
   real planner. Its compact part is in the compact block. */
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] { border-radius: 6px 6px 0 0; }
/* the title sits on a paper card */
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-center::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -1px;
    width: 400px;
    height: 84px;
    margin-left: -200px;
    z-index: -1;
    border-radius: 6px;
    background: #fdfbf3;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28), inset 0 0 0 5px #fdfbf3, inset 0 0 0 6.5px #7d94bd;
    transform: rotate(-1.2deg);
    pointer-events: none;
}
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-week > .v-btn { margin-top: 10px !important; }
/* on a phone the card is wider than the room between the side buttons and would cover them: no card there, and the
   title takes the header's own ink on the blue cover */
@media (max-width: 600px) {
    html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-center::before { display: none; }
    html[data-look="rutebok"][data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] :is(.cal-head-weekrow h1, .cal-head-month > span, .cal-head-weekrow > .v-btn, .cal-head-week > .v-btn) { color: var(--look-head-ink) !important; }
}
/* binder rings down the left edge */
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-body { padding-left: 38px; }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-body::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 18px;
    bottom: 18px;
    width: 20px;
    background: radial-gradient(circle at 10px 10px, #cfc7b5 0 6.5px, rgba(0, 0, 0, 0.18) 7px 8px, transparent 8.6px) 0 0 / 20px 76px repeat-y;
    pointer-events: none;
}
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper td.time-slot-header,
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.time-slot-header { border-right: 2px solid #e5807a; }
/* sticky notes with tape, a little crooked */
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .daily-notes-row .note-container { transform: rotate(-1.4deg); }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .daily-notes-row td:nth-child(odd) .note-container { transform: rotate(1.1deg); }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .daily-note-textarea { box-shadow: 0 5px 9px rgba(60, 50, 20, 0.22); line-height: 1.1; }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .daily-notes-row .note-container::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    width: 62px;
    height: 18px;
    margin-left: -31px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: rotate(-3deg);
    pointer-events: none;
}
/* marker: the subject colour half strength, a hand-drawn outline */
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell,
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .non-teaching-block {
    background: color-mix(in srgb, var(--lesson-c, #999) 52%, transparent) !important;
    border: 2px solid #2b3550 !important;
    color: #1e2438 !important;
    border-radius: 255px 14px 225px 16px / 16px 225px 14px 255px !important;
}
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper tr:nth-child(odd) td:nth-child(even) .lesson-cell { border-radius: 15px 225px 14px 255px / 255px 16px 225px 14px !important; transform: rotate(0.5deg); }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper tr:nth-child(even) td:nth-child(odd) .lesson-cell { border-radius: 225px 16px 255px 14px / 14px 255px 16px 225px !important; }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper tr:nth-child(even) td:nth-child(even) .lesson-cell { border-radius: 14px 255px 16px 225px / 225px 14px 255px 16px !important; transform: rotate(-0.5deg); }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell.print-full { top: 9px !important; bottom: 9px !important; left: 10px !important; right: 10px !important; }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell.print-full .lesson-class { font-family: 'CL Caveat', cursive; font-weight: 700; font-size: 17px; opacity: 0.8; }
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell:hover { transform: scale(1.03); }
/* Fagvisning off: a paper slip with the same hand-drawn edge */
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .text-subject-header {
    background: color-mix(in srgb, var(--lesson-c, #999) 58%, #fffdf4) !important;
    color: #1e2438 !important;
    font-size: 0.8rem !important;
}
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .calendar-note-overflow-host:has(> .text-subject-header) {
    border: 1.6px solid #2b3550;
    border-radius: 7px 12px 6px 11px / 11px 6px 12px 7px;
    overflow: hidden;
}
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .subject-note-textarea { font-size: 0.95rem !important; line-height: 1.05 !important; }
/* today circled in red marker */
html[data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header.cl-today::after {
    content: '';
    position: absolute;
    inset: 2px 6px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44' preserveAspectRatio='none'%3E%3Cpath d='M70 33C40 27 44 6 118 4c62-2 100 4 100 18 0 14-58 19-104 18-44-1-66-8-62-17 3-7 20-12 44-14' fill='none' stroke='%23e0453a' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* ---------- END ART: rutebok ---------- */

/* ---------- ART: krittavle ----------
   Shapes only; every value of the look is in looks.js. A green board in a wooden frame, chalk in the
   tray. */
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small { border-style: dashed !important; }
/* the chalk tray under the board, with three pieces of chalk */
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-page > div::after {
    content: '';
    display: block;
    max-width: 1348px;
    height: 20px;
    margin: -4px auto 0;
    border-radius: 0 0 8px 8px;
    background:
        linear-gradient(#f4f1e8, #f4f1e8) 140px 0 / 52px 9px no-repeat,
        linear-gradient(#ffc6d0, #ffc6d0) 214px 1px / 34px 9px no-repeat,
        linear-gradient(#fff1a8, #fff1a8) calc(100% - 160px) 0 / 44px 9px no-repeat,
        linear-gradient(180deg, #a57140, #6e4422);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}
/* chalk lessons: an outline and the name in chalk of the subject colour */
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell,
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .non-teaching-block {
    --chalk: color-mix(in srgb, var(--lesson-c, #999) 80%, #fff);
    background: color-mix(in srgb, var(--lesson-c, #999) 4%, transparent) !important;
    border: 2.5px solid var(--chalk) !important;
    color: var(--chalk) !important;
    text-shadow: 0 0 1px color-mix(in srgb, var(--chalk) 55%, transparent);
    border-radius: 18px 26px 14px 24px / 24px 14px 26px 18px !important;
}
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper tr:nth-child(odd) td:nth-child(even) .lesson-cell { border-radius: 24px 16px 26px 14px / 14px 26px 16px 24px !important; }
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper tr:nth-child(even) td:nth-child(odd) .lesson-cell { border-radius: 14px 24px 18px 26px / 26px 18px 24px 14px !important; }
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper tr:nth-child(even) td:nth-child(even) .lesson-cell { border-radius: 26px 14px 24px 16px / 16px 24px 14px 26px !important; }
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell.print-full .lesson-class { font-size: 13px; opacity: 0.85; }
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-daytime { color: #f4f1e8; }
/* Fagvisning off: chalk outline, the subject in chalk, notes in handwriting */
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .text-subject-header {
    --chalk: color-mix(in srgb, var(--lesson-c, #999) 80%, #fff);
    background: transparent !important;
    color: var(--chalk) !important;
    border-bottom: 1.5px dashed color-mix(in srgb, var(--chalk) 55%, transparent);
    font-size: 0.85rem !important;
}
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .calendar-note-overflow-host:has(> .text-subject-header) {
    border: 2px solid rgba(244, 241, 232, 0.55);
    border-radius: 12px 18px 10px 16px / 16px 10px 18px 12px;
    overflow: hidden;
}
/* today underlined in yellow chalk */
html[data-look="krittavle"]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header.cl-today::after {
    content: '';
    position: absolute;
    inset: 2px 6px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44' preserveAspectRatio='none'%3E%3Cpath d='M84 35c14-3 30 1 46-1s32-2 46 0' fill='none' stroke='%23fff1a8' stroke-width='3' stroke-linecap='round' opacity='.9' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* ---------- END ART: krittavle ---------- */

/* a header with drawn ground at its bottom edge (head.chipsBottom): the switcher and Tavle sit above the ground */
html[data-look-is~="ground"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-left,
html[data-look-is~="ground"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-right {
    top: auto;
    bottom: var(--cl-chips-bottom);
}

/* ---------- Where the variables land in Calendar.html ---------- */
/* a look with a dark body (body.scheme): dark scrollbars and form controls on the calendar page, not on the sidebar
   inside the wrapper. Unset, it inherits as before */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-page { color-scheme: var(--cl-color-scheme); }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-page { background: var(--look-page) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-card {
    background: var(--cl-card-bg, var(--look-surface)) !important;
    font-family: var(--look-font);
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-card.v-card {
    border-radius: var(--look-radius, 4px) !important;
    box-shadow: var(--look-shadow, 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12)) !important;
    border: var(--cl-card-border, 0 solid transparent) !important;
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-body { padding-top: var(--cl-body-pad-top, 0px); }

/* header (the purple shared-mode header keeps its own colour; Calendar.html hands shared calendars to SharedCalendar.html) */
/* under a picture: its placeholder (a tiny blurred copy of the strip, written by looks.js for picture looks) until the
   strip is in, then the strip itself on .cal-look-art above it; the flat head colour under both */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header]:not(.shared-mode-header) { background: var(--look-strip-ph-normal, none) center / cover no-repeat, var(--look-head-bg) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] {
    color: var(--look-head-ink) !important;
    border-bottom: var(--cl-head-rule, 0 solid transparent);
    min-height: var(--look-head-h, 0px);
    text-shadow: var(--cl-head-shadow);
}
/* ---------- ART: hav ----------
   Shapes only; every value of the look is in looks.js. Waves along the header, sea-glass colours. The
   waves end in the registry's body.surface #fbf8f1 over its head.bg #0e6577; if either changes, redraw the art
   (scripts/looks/gen-pictures.cjs). */
html[data-look="hav"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] { border-radius: 12px 12px 0 0; }
html[data-look="hav"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header]:not(.shared-mode-header) {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 128' preserveAspectRatio='none'%3E%3Cpath d='M0 134L0 90.0L14 92.1L28 93.9L42 95.2L56 95.9L70 95.9L84 95.1L98 93.8L112 91.9L126 89.8L140 87.8L154 86.0L168 84.7L182 84.1L196 84.1L210 84.9L224 86.4L238 88.2L252 90.3L266 92.3L280 94.1L294 95.4L308 96.0L322 95.8L336 95.0L350 93.5L364 91.6L378 89.5L392 87.5L406 85.8L420 84.6L434 84.0L448 84.2L462 85.1L476 86.6L490 88.5L504 90.6L518 92.6L532 94.3L546 95.5L560 96.0L574 95.8L588 94.8L602 93.3L616 91.3L630 89.2L644 87.2L658 85.6L672 84.4L686 84.0L700 84.3L714 85.3L728 86.8L742 88.8L756 90.9L770 92.9L784 94.5L798 95.6L812 96.0L826 95.7L840 94.6L854 93.0L868 91.1L882 88.9L896 87.0L910 85.4L924 84.3L938 84.0L952 84.4L966 85.5L980 87.1L994 89.1L1008 91.2L1022 93.2L1036 94.7L1050 95.7L1064 96.0L1078 95.6L1092 94.4L1106 92.8L1120 90.8L1134 88.7L1148 86.7L1162 85.2L1176 84.2L1190 84.0L1204 84.5L1218 85.7L1232 87.4L1246 89.4L1260 91.5L1274 93.4L1288 94.9L1302 95.8L1316 96.0L1330 95.4L1344 94.2L1358 92.5L1372 90.5L1386 88.4L1400 86.5L1400 134Z' fill='%231b8a99'/%3E%3Cpath d='M0 134L0 107.0L14 106.2L28 104.6L42 102.5L56 100.3L70 98.4L84 97.3L98 97.0L112 97.8L126 99.4L140 101.5L154 103.7L168 105.6L182 106.7L196 107.0L210 106.2L224 104.6L238 102.5L252 100.3L266 98.4L280 97.3L294 97.0L308 97.8L322 99.4L336 101.5L350 103.7L364 105.6L378 106.7L392 107.0L406 106.2L420 104.6L434 102.5L448 100.3L462 98.4L476 97.3L490 97.0L504 97.8L518 99.4L532 101.5L546 103.7L560 105.6L574 106.7L588 107.0L602 106.2L616 104.6L630 102.5L644 100.3L658 98.4L672 97.3L686 97.0L700 97.8L714 99.4L728 101.5L742 103.7L756 105.6L770 106.7L784 107.0L798 106.2L812 104.6L826 102.5L840 100.3L854 98.4L868 97.3L882 97.0L896 97.8L910 99.4L924 101.5L938 103.7L952 105.6L966 106.7L980 107.0L994 106.2L1008 104.6L1022 102.5L1036 100.3L1050 98.4L1064 97.3L1078 97.0L1092 97.8L1106 99.4L1120 101.5L1134 103.7L1148 105.6L1162 106.7L1176 107.0L1190 106.2L1204 104.6L1218 102.5L1232 100.3L1246 98.4L1260 97.3L1274 97.0L1288 97.8L1302 99.4L1316 101.5L1330 103.7L1344 105.6L1358 106.7L1372 107.0L1386 106.2L1400 104.6L1400 134Z' fill='%235fbfc4'/%3E%3Cpath d='M0 134L0 115.2L14 113.8L28 112.6L42 111.6L56 110.9L70 110.5L84 110.6L98 111.1L112 111.9L126 113.0L140 114.3L154 115.7L168 117.0L182 118.1L196 118.9L210 119.4L224 119.5L238 119.1L252 118.4L266 117.4L280 116.1L294 114.8L308 113.5L322 112.3L336 111.3L350 110.7L364 110.5L378 110.7L392 111.3L406 112.2L420 113.4L434 114.7L448 116.1L462 117.3L476 118.4L490 119.1L504 119.5L518 119.4L532 119.0L546 118.2L560 117.1L574 115.8L588 114.4L602 113.1L616 112.0L630 111.1L644 110.6L658 110.5L672 110.8L686 111.5L700 112.5L714 113.8L728 115.1L742 116.4L756 117.7L770 118.6L784 119.3L798 119.5L812 119.3L826 118.8L840 117.9L854 116.7L868 115.4L882 114.0L896 112.8L910 111.7L924 110.9L938 110.5L952 110.6L966 111.0L980 111.8L994 112.9L1008 114.1L1022 115.5L1036 116.8L1050 118.0L1064 118.8L1078 119.4L1092 119.5L1106 119.2L1120 118.5L1134 117.6L1148 116.3L1162 115.0L1176 113.6L1190 112.4L1204 111.4L1218 110.8L1232 110.5L1246 110.6L1260 111.2L1274 112.1L1288 113.2L1302 114.5L1316 115.9L1330 117.2L1344 118.2L1358 119.0L1372 119.4L1386 119.5L1400 119.1L1400 134Z' fill='%23fbf8f1'/%3E%3C/svg%3E") top / 100% 100% no-repeat, linear-gradient(180deg, #0e6577 80%, #fbf8f1 80%) !important;
}
/* ---------- END ART: hav ---------- */
/* ---------- ART: vinter ----------
   Shapes only; every value of the look is in looks.js. A night-blue sky with snow falling slowly. The
   snowdrift ends in the registry's body.surface #f6f9fd; if it changes, redraw the art
   (scripts/looks/gen-pictures.cjs). */
html[data-look="vinter"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header]:not(.shared-mode-header) {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 124' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='n' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231b2f52'/%3E%3Cstop offset='1' stop-color='%232d4a78'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1400' height='124' fill='url(%23n)'/%3E%3Ccircle cx='615' cy='6' r='1.7' fill='%23fff' opacity='0.52'/%3E%3Ccircle cx='949' cy='17' r='1.0' fill='%23fff' opacity='0.93'/%3E%3Ccircle cx='1209' cy='41' r='1.8' fill='%23fff' opacity='0.82'/%3E%3Ccircle cx='1233' cy='44' r='1.6' fill='%23fff' opacity='0.84'/%3E%3Ccircle cx='1208' cy='34' r='2.2' fill='%23fff' opacity='0.52'/%3E%3Ccircle cx='289' cy='95' r='1.7' fill='%23fff' opacity='0.79'/%3E%3Ccircle cx='891' cy='4' r='1.8' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='1357' cy='6' r='1.0' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='1134' cy='12' r='1.3' fill='%23fff' opacity='0.88'/%3E%3Ccircle cx='473' cy='99' r='1.7' fill='%23fff' opacity='0.74'/%3E%3Ccircle cx='1364' cy='93' r='0.8' fill='%23fff' opacity='0.79'/%3E%3Ccircle cx='430' cy='39' r='1.1' fill='%23fff' opacity='0.63'/%3E%3Ccircle cx='262' cy='31' r='1.7' fill='%23fff' opacity='0.56'/%3E%3Ccircle cx='886' cy='5' r='1.1' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='512' cy='14' r='2.0' fill='%23fff' opacity='0.82'/%3E%3Ccircle cx='1269' cy='38' r='1.5' fill='%23fff' opacity='0.92'/%3E%3Ccircle cx='884' cy='23' r='2.2' fill='%23fff' opacity='0.69'/%3E%3Ccircle cx='1217' cy='2' r='1.7' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='267' cy='81' r='1.4' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='9' cy='31' r='1.0' fill='%23fff' opacity='0.81'/%3E%3Ccircle cx='324' cy='26' r='0.8' fill='%23fff' opacity='0.61'/%3E%3Ccircle cx='1172' cy='16' r='2.7' fill='%23fff' opacity='0.72'/%3E%3Ccircle cx='1235' cy='40' r='2.4' fill='%23fff' opacity='0.86'/%3E%3Ccircle cx='274' cy='78' r='1.2' fill='%23fff' opacity='0.51'/%3E%3Ccircle cx='1093' cy='65' r='2.6' fill='%23fff' opacity='0.89'/%3E%3Ccircle cx='118' cy='51' r='1.6' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='268' cy='74' r='1.3' fill='%23fff' opacity='0.70'/%3E%3Ccircle cx='424' cy='32' r='1.2' fill='%23fff' opacity='0.77'/%3E%3Ccircle cx='1370' cy='35' r='1.3' fill='%23fff' opacity='0.71'/%3E%3Ccircle cx='259' cy='18' r='1.1' fill='%23fff' opacity='0.46'/%3E%3Ccircle cx='899' cy='80' r='1.9' fill='%23fff' opacity='0.64'/%3E%3Ccircle cx='551' cy='0' r='2.2' fill='%23fff' opacity='0.47'/%3E%3Ccircle cx='18' cy='99' r='1.4' fill='%23fff' opacity='0.64'/%3E%3Ccircle cx='1163' cy='43' r='1.1' fill='%23fff' opacity='0.49'/%3E%3Ccircle cx='716' cy='13' r='2.4' fill='%23fff' opacity='0.73'/%3E%3Ccircle cx='984' cy='18' r='0.9' fill='%23fff' opacity='0.69'/%3E%3Ccircle cx='331' cy='73' r='2.6' fill='%23fff' opacity='0.72'/%3E%3Ccircle cx='1106' cy='60' r='1.5' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='1143' cy='15' r='1.3' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='325' cy='20' r='1.8' fill='%23fff' opacity='0.89'/%3E%3Ccircle cx='1395' cy='13' r='1.5' fill='%23fff' opacity='0.76'/%3E%3Ccircle cx='457' cy='9' r='1.4' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='1112' cy='17' r='2.7' fill='%23fff' opacity='0.51'/%3E%3Ccircle cx='709' cy='16' r='2.4' fill='%23fff' opacity='0.63'/%3E%3Ccircle cx='279' cy='26' r='1.5' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='1308' cy='99' r='1.1' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='1242' cy='92' r='1.3' fill='%23fff' opacity='0.91'/%3E%3Ccircle cx='222' cy='84' r='1.3' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='1289' cy='99' r='1.5' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='1283' cy='98' r='2.4' fill='%23fff' opacity='0.60'/%3E%3Ccircle cx='437' cy='53' r='1.3' fill='%23fff' opacity='0.63'/%3E%3Ccircle cx='959' cy='55' r='1.0' fill='%23fff' opacity='0.60'/%3E%3Ccircle cx='1094' cy='54' r='2.3' fill='%23fff' opacity='0.49'/%3E%3Ccircle cx='7' cy='40' r='2.2' fill='%23fff' opacity='0.71'/%3E%3Ccircle cx='1186' cy='4' r='1.1' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='722' cy='5' r='1.6' fill='%23fff' opacity='0.59'/%3E%3Ccircle cx='423' cy='58' r='1.4' fill='%23fff' opacity='0.86'/%3E%3Ccircle cx='913' cy='70' r='0.9' fill='%23fff' opacity='0.67'/%3E%3Ccircle cx='122' cy='25' r='2.6' fill='%23fff' opacity='0.72'/%3E%3Ccircle cx='108' cy='100' r='1.2' fill='%23fff' opacity='0.63'/%3E%3Ccircle cx='922' cy='40' r='1.4' fill='%23fff' opacity='0.56'/%3E%3Ccircle cx='84' cy='81' r='2.2' fill='%23fff' opacity='0.72'/%3E%3Ccircle cx='38' cy='68' r='1.3' fill='%23fff' opacity='0.74'/%3E%3Ccircle cx='306' cy='99' r='1.0' fill='%23fff' opacity='0.66'/%3E%3Ccircle cx='202' cy='23' r='2.0' fill='%23fff' opacity='0.80'/%3E%3Ccircle cx='1329' cy='73' r='1.1' fill='%23fff' opacity='0.69'/%3E%3Ccircle cx='1064' cy='99' r='2.0' fill='%23fff' opacity='0.69'/%3E%3Ccircle cx='1046' cy='79' r='1.2' fill='%23fff' opacity='0.66'/%3E%3Ccircle cx='216' cy='77' r='1.8' fill='%23fff' opacity='0.62'/%3E%3Ccircle cx='84' cy='80' r='1.6' fill='%23fff' opacity='0.58'/%3E%3Ccircle cx='1053' cy='77' r='2.2' fill='%23fff' opacity='0.72'/%3E%3Ccircle cx='1026' cy='76' r='1.8' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='1067' cy='23' r='1.2' fill='%23fff' opacity='0.90'/%3E%3Ccircle cx='416' cy='42' r='2.2' fill='%23fff' opacity='0.70'/%3E%3Ccircle cx='539' cy='5' r='2.1' fill='%23fff' opacity='0.74'/%3E%3Ccircle cx='588' cy='18' r='1.8' fill='%23fff' opacity='0.54'/%3E%3Cpath d='M0 130L0 109.4L14 110.3L28 111.1L42 111.7L56 111.9L70 112.0L84 111.8L98 111.3L112 110.6L126 109.7L140 108.6L154 107.4L168 106.2L182 104.9L196 103.7L210 102.6L224 101.7L238 100.9L252 100.3L266 100.1L280 100.0L294 100.2L308 100.7L322 101.4L336 102.3L350 103.4L364 104.6L378 105.8L392 107.1L406 108.3L420 109.4L434 110.3L448 111.1L462 111.7L476 111.9L490 112.0L504 111.8L518 111.3L532 110.6L546 109.7L560 108.6L574 107.4L588 106.2L602 104.9L616 103.7L630 102.6L644 101.7L658 100.9L672 100.3L686 100.1L700 100.0L714 100.2L728 100.7L742 101.4L756 102.3L770 103.4L784 104.6L798 105.8L812 107.1L826 108.3L840 109.4L854 110.3L868 111.1L882 111.7L896 111.9L910 112.0L924 111.8L938 111.3L952 110.6L966 109.7L980 108.6L994 107.4L1008 106.2L1022 104.9L1036 103.7L1050 102.6L1064 101.7L1078 100.9L1092 100.3L1106 100.1L1120 100.0L1134 100.2L1148 100.7L1162 101.4L1176 102.3L1190 103.4L1204 104.6L1218 105.8L1232 107.1L1246 108.3L1260 109.4L1274 110.3L1288 111.1L1302 111.7L1316 111.9L1330 112.0L1344 111.8L1358 111.3L1372 110.6L1386 109.7L1400 108.6L1400 130Z' fill='%23d7e3f2'/%3E%3Cpath d='M0 130L0 117.4L14 116.3L28 115.0L42 113.7L56 112.4L70 111.2L84 110.2L98 109.5L112 109.1L126 109.0L140 109.3L154 109.9L168 110.8L182 112.0L196 113.2L210 114.6L224 115.9L238 117.0L252 118.0L266 118.6L280 119.0L294 118.9L308 118.6L322 117.9L336 116.9L350 115.8L364 114.5L378 113.1L392 111.9L406 110.8L420 109.9L434 109.3L448 109.0L462 109.1L476 109.5L490 110.3L504 111.3L518 112.5L532 113.8L546 115.1L560 116.4L574 117.5L588 118.3L602 118.8L616 119.0L630 118.8L644 118.3L658 117.5L672 116.5L686 115.2L700 113.9L714 112.6L728 111.4L742 110.3L756 109.6L770 109.1L784 109.0L798 109.2L812 109.8L826 110.7L840 111.8L854 113.1L868 114.4L882 115.7L896 116.9L910 117.8L924 118.6L938 118.9L952 119.0L966 118.7L980 118.0L994 117.1L1008 115.9L1022 114.7L1036 113.3L1050 112.0L1064 110.9L1078 110.0L1092 109.3L1106 109.0L1120 109.1L1134 109.5L1148 110.2L1162 111.1L1176 112.3L1190 113.6L1204 115.0L1218 116.2L1232 117.3L1246 118.2L1260 118.8L1274 119.0L1288 118.9L1302 118.4L1316 117.6L1330 116.6L1344 115.4L1358 114.1L1372 112.8L1386 111.5L1400 110.5L1400 130Z' fill='%23f6f9fd'/%3E%3C/svg%3E") top / 100% 100% no-repeat, linear-gradient(180deg, #1b2f52 0, #2d4a78 85%, #f6f9fd 85%) !important;
}
/* ---------- END ART: vinter ---------- */
/* the header's popups keep their own plain text */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] :is(.menu-hint-tooltip, .profile-popover, .calendar-dropdown) { text-shadow: none; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-month > span {
    font-family: var(--look-font-display, inherit) !important;
    font-weight: var(--cl-month-weight, 500) !important;
    color: var(--cl-head-month-ink, var(--cl-title-ink, inherit));
    letter-spacing: 0 !important;
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow h1 {
    font-family: var(--cl-week-font, var(--look-font-display, inherit)) !important;
    font-weight: var(--cl-week-weight, 700) !important;
    color: var(--cl-title-ink, var(--look-head-ink)) !important;
    letter-spacing: 0 !important;
}
/* phones keep the page's own small title sizes */
@media (min-width: 601px) {
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-month > span { font-size: var(--cl-month-size, 1.25rem) !important; }
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow h1 { font-size: var(--cl-week-size, 1.25rem) !important; }
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small {
    background: var(--cl-chip-bg, rgba(255, 255, 255, 0.15)) !important;
    border: 1px solid var(--cl-chip-border, rgba(255, 255, 255, 0.25)) !important;
    color: var(--cl-chip-ink, #ffffff) !important;
    border-radius: var(--cl-chip-radius, 6px) !important;
    font-family: var(--cl-chip-font, inherit);
    font-weight: var(--cl-chip-weight, 500);
    text-shadow: none;
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small > span { font-size: var(--cl-chip-size, inherit); }
/* the two header boxes are twins on every look: same height, padding, icon size and gap (Klassisk keeps its own) */
@media (min-width: 601px) {
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small {
        height: var(--cl-chip-h, 36px);
        box-sizing: border-box;
        padding: 0 12px !important;
        gap: 6px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small > :is(.mdi, .v-icon):first-child {
        font-size: 20px !important;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small > span { line-height: 1; }
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small > .mdi-calendar:first-child { position: relative; top: 1px; }
}
/* Picture headers are taller on wide screens: the switcher and Tavle sit at the bottom edge */
@media (min-width: 961px) {
    html[data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] { min-height: var(--cl-head-h-wide); }
    html[data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] { padding-top: 20px !important; }
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .right-menu-wrapper { right: -22px; }
    /* the right menu hangs from the title block, which the taller padding moved 8 px down */
    html[data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .right-menu-wrapper { top: -24px; }
    html[data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-left,
    html[data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-right {
        top: auto;
        bottom: 14px;
    }
}
/* the picture strip and its scrim, behind everything in the header (the element exists only while a strip is on) */
/* z-index -1 inside the header's own stacking context (it has a z-index): under every control, also the
   ones compact mode turns into plain flex items */
html:where([data-look][data-look-on~="calendar"]) .calendar-view-wrapper[data-cal-picture] .cal-look-art {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--look-strip) center / cover no-repeat;
    pointer-events: none;
}
html:where([data-look][data-look-on~="calendar"]) .calendar-view-wrapper[data-cal-picture] .cal-look-art::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--look-scrim, none);
}
/* one picture header replacing another: the old picture fades out on top of the new one (0.25 s, opacity only) */
html:where([data-look][data-look-on~="calendar"]) .calendar-view-wrapper:is(.cl-art-fade-a, .cl-art-fade-b) .cal-look-art::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--cl-strip-prev) center / cover no-repeat;
    pointer-events: none;
}
html:where([data-look][data-look-on~="calendar"]) .calendar-view-wrapper.cl-art-fade-a .cal-look-art::before { animation: cl-art-out-a 0.25s ease forwards; }
html:where([data-look][data-look-on~="calendar"]) .calendar-view-wrapper.cl-art-fade-b .cal-look-art::before { animation: cl-art-out-b 0.25s ease forwards; }
@keyframes cl-art-out-a { from { opacity: 1; } to { opacity: 0; } }
@keyframes cl-art-out-b { from { opacity: 1; } to { opacity: 0; } }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-snow {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

/* day headers */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header {
    font-family: var(--cl-day-font, var(--look-font));
    font-size: var(--cl-day-size, 0.875rem);
    font-weight: var(--cl-day-weight, 700);
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header.cl-today {
    background: var(--cl-today-head-bg) !important;
    box-shadow: var(--cl-today-mark, none);
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header .day-date {
    color: var(--cl-date-ink, inherit);
    font-weight: var(--cl-date-weight, 400);
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper th.day-header.cl-today .day-date { color: inherit; }

/* time column and grid */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .time-slot-header {
    background-color: var(--look-surface-quiet);
    color: var(--look-ink-quiet);
    font-family: var(--cl-time-font, var(--look-font));
    font-size: var(--cl-time-size, 0.75rem);
    font-weight: var(--cl-time-weight, 600);
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-slot-clock { color: var(--look-ink-quiet); }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-display-menu-btn { color: var(--cl-eye-ink, #475569) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .calendar-cell {
    border: var(--cl-line-w) var(--cl-line-style) var(--look-line);
}

/* daily notes */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .daily-note-textarea {
    border: var(--cl-note-border, 0 solid transparent) !important;
    border-radius: var(--cl-note-radius, 8px) !important;
    color: var(--cl-note-ink);
    font-family: var(--cl-note-font, var(--look-font));
    font-size: var(--cl-note-size, 0.75rem) !important;
    font-weight: var(--cl-note-weight, 400);
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .daily-note-textarea::placeholder { color: var(--cl-note-ph); opacity: 0.3; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .notes-lock-btn { color: var(--cl-lock-ink); }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .note-cover {
    background: var(--look-note-bg);
    border-radius: var(--cl-note-radius, 8px);
}

/* lessons, Fagvisning on */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell { border-radius: var(--cl-lesson-radius, 0.5rem); }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell,
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .non-teaching-block { font-family: var(--cl-lesson-font, var(--look-font)); }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell.print-full .lesson-subject {
    font-size: var(--cl-lesson-size, 0.875rem);
    font-weight: var(--cl-lesson-weight, 700);
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell.print-full .lesson-class { font-weight: var(--cl-class-weight, 400); }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .non-teaching-block { border-radius: var(--cl-lesson-radius, 6px) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .empty-cell:hover,
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .empty-cell-textview:hover {
    border-color: var(--cl-empty-line) !important;
    background-color: var(--cl-empty-bg) !important;
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .empty-text,
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .empty-cell-textview > span { color: var(--cl-empty-ink) !important; }

/* lessons, Fagvisning off: a strip in the subject colour over a box to write in */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .text-subject-header {
    border-radius: var(--cl-open-radius, 3px) var(--cl-open-radius, 3px) 0 0 !important;
    font-family: var(--cl-strip-font, var(--look-font));
    font-weight: var(--cl-strip-weight, 600) !important;
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .subject-note-textarea,
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .text-note-cols {
    color: var(--cl-box-ink);
    font-family: var(--cl-box-font, var(--look-font)) !important;
    font-weight: var(--cl-box-weight, 400);
    border-radius: 0 0 var(--cl-open-radius, 3px) var(--cl-open-radius, 3px) !important;
}
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .subject-note-textarea { border: var(--cl-box-border, 1px solid var(--cl-box-line)) !important; border-top: none !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .subject-note-textarea::placeholder { color: var(--cl-box-ph); opacity: 0.75; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .text-note-cols { border-color: var(--cl-box-line) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .text-note-cols .note-cols,
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .text-note-cols .note-col { border-color: var(--cl-box-line) !important; }

/* header buttons follow the header ink; on pictures with dark text they get a light disc behind them */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .v-btn { color: var(--look-head-ink) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn { color: var(--cl-title-ink, var(--look-head-ink)) !important; }
html[data-look-is~="head-dark"][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .left-menu-hover-zone > .v-btn,
html[data-look-is~="head-dark"][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .right-menu-trigger,
html[data-look-is~="head-dark"][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn { background: var(--cl-btn-bg, transparent) !important; }
/* looks with dark header text draw a round chip behind each week arrow: in the normal header the chips keep about 12 px
   from the week title's drawn letters, the same on both sides (measured on Fraunces, the title font of all of them) */
/* (not on a phone, where the arrows would crowd the two boxes beside them; and in the normal header only, which under
   961 px, COMPACT_MIN, is on screen whatever the compact choice) */
@media (min-width: 601px) and (max-width: 960px) {
    html[data-look-is~="head-dark"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn:first-child { margin-right: 12px; }
    html[data-look-is~="head-dark"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn:last-child { margin-left: 11.5px; }
}
@media (min-width: 961px) {
    html[data-look-is~="head-dark"]:not([data-cal-compact]):where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn:first-child { margin-right: 12px; }
    html[data-look-is~="head-dark"]:not([data-cal-compact]):where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn:last-child { margin-left: 11.5px; }
}

/* lessons as a tint of the subject colour on a dark body, with the colour as an edge (Galakse) */
html[data-look-is~="tint"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .lesson-cell,
html[data-look-is~="tint"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .non-teaching-block {
    background: color-mix(in oklab, var(--lesson-c, #999) 33%, var(--cl-tint-base, #16121f)) !important;
    border-left: 5px solid var(--lesson-c, #999);
    color: #f1f4fa !important;
}

/* heldagsaktivitet on a dark body: the coloured title bar stays, the writing area follows the look */
html[data-look-is~="dark"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .special-day-overlay-notes,
html[data-look-is~="dark"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .special-day-overlay-notes textarea {
    background: var(--cl-sd-body, var(--look-note-bg)) !important;
    color: var(--cl-sd-ink, var(--cl-note-ink)) !important;
}
html[data-look-is~="dark"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .special-day-overlay-notes textarea::placeholder { color: var(--cl-sd-ink, var(--cl-note-ink)); opacity: 0.55; }

/* ---------- Compact mode: the whole header on one line (wide screens only) ----------
   961 px is COMPACT_MIN in looks.js: the engine offers compact mode and picks the compact picture only from there.
   Change both together; `node scripts/looks.cjs check` compares them. */
@media (min-width: 961px) {
    html[data-look-is~="picture"][data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header]:not(.shared-mode-header) {
        background: var(--look-strip-ph-compact, none) center / cover no-repeat, var(--look-head-bg) !important;
    }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] {
        display: flex;
        align-items: center;
        gap: 14px;
        height: var(--look-head-h-compact, 64px);
        min-height: 0;
        padding: 0 6px var(--cl-line-pad-bottom, 0px) 6px !important;
    }
    /* "Rolig felt bak tittelen": a calm field in the look's own colour behind menu, week, month and arrows */
    html[data-cal-compact][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-block .cal-look-art::after {
        display: block;
        background: linear-gradient(90deg, var(--cl-solid) 0, var(--cl-solid) calc(var(--cl-title-end, 420px) + 22px), transparent calc(var(--cl-title-end, 420px) + 132px));
    }
    /* ---------- ART: rutebok, compact part. It sits here, after the compact rules it overrides. ---------- */
    /* the paper card holds the title row, 28 px after the menu icon, and the title moves with it */
    html[data-cal-compact][data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-center::before {
        left: 78px;
        top: 12px;
        width: calc(var(--cl-title-end, 444px) - 64px);
        height: 50px;
        margin-left: 0;
    }
    html[data-cal-compact][data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-week > .v-btn { margin-top: 0 !important; color: var(--look-head-ink) !important; }
    html[data-cal-compact][data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow h1 { margin-left: 24px; }
    /* Caveat: the go-to-this-week label sits 1 px low even trimmed to its capitals (measured) */
    html[data-cal-compact][data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-week > .v-btn .v-btn__content { position: relative; top: -1px; }
    /* ---------- END ART: rutebok, compact part ---------- */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-week > .v-btn .v-btn__content { text-box: trim-both cap alphabetic; }
    html[data-cal-compact][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] { text-shadow: var(--cl-line-shadow, none); }
    html[data-cal-compact][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-look-art::after { display: none; }
    html[data-cal-compact][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .v-btn .v-icon { filter: var(--cl-line-icon-shadow, none); }
    /* One row, one centre line: [menu] [Uke] [month] [<] [>] [go to this week] ... [Min kalender] [Tavle] [menu].
       The title block's wrappers step aside (display: contents), so every control is a flex item of the header
       and is centred by the same rule. The content box ends where a drawn bottom edge begins (--cl-line-pad-bottom). */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-center,
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-week,
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow,
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > div { display: contents !important; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-center::after { content: ''; order: 6; flex: 1 1 auto; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] :is(.left-menu-wrapper, .right-menu-wrapper) {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        flex: 0 0 auto;
    }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .left-menu-wrapper { order: 0; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .right-menu-wrapper { order: 9; }
    /* the gap from the Tavle box to the right menu button is the gap between the two boxes */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .right-menu-hover-zone { padding-left: 0; }
    /* titles: the box is trimmed to the capitals (cap height to baseline), so flex centring puts the middle of the
       capitals on the line, whatever the font. Browsers without text-box keep the line box centred. */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow h1 {
        order: 1;
        text-box: trim-both cap alphabetic;
        white-space: nowrap;
        line-height: 1 !important;
        font-size: max(var(--cl-week-size, 1.25rem), 26px) !important;
    }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-month {
        order: 2;
        margin: 0 !important;
        white-space: nowrap;
        opacity: var(--cl-compact-month-opacity, 0.8);
    }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-month > span {
        display: block;
        text-box: trim-both cap alphabetic;
        line-height: 1 !important;
        font-size: min(var(--cl-month-size, 1.25rem), 18px) !important;
    }
    /* the month line's own colour and weight in compact mode (text.compact.month), else the normal header's */
    html[data-cal-compact][data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-month > span {
        color: var(--cl-compact-month-ink, var(--cl-head-month-ink, var(--cl-title-ink, inherit)));
        font-weight: var(--cl-compact-month-weight, var(--cl-month-weight, 500)) !important;
    }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn:first-child { order: 3; margin-left: 2px; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-weekrow > .v-btn:last-child { order: 4; margin-left: -10px; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper .cal-head-week > .v-btn { order: 5; margin-top: 0 !important; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-left,
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-right {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        flex: 0 0 auto;
    }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-left { order: 7; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .corner-btn-right { order: 8; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small {
        height: var(--cl-chip-h, 36px);
        min-height: 0;
        box-sizing: border-box;
        padding: 0 12px !important;
        gap: 6px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: var(--cl-chip-size, 0.75rem) !important;
        font-weight: var(--cl-chip-weight, 600) !important;
        line-height: 1;
    }
    /* "Myk glød" (text.compact.fix glow): a soft ring on the two boxes, as on the letters and icons */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-glow [data-planner-calendar-header] .calendar-btn-small { box-shadow: var(--cl-line-box-shadow); }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small > :is(.mdi, .v-icon):first-child {
        font-size: 20px !important;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small > span { line-height: 1; }
    /* the calendar glyph sits 1.25 px high in its square (measured); one whole pixel keeps it sharp */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .calendar-btn-small > .mdi-calendar:first-child { position: relative; top: 1px; }
}

/* ---------- Text recipe "titleChip" (Brikke bak tittelen): one chip behind month, week and both arrows, in the
   family of the two boxes (it reads their variables). For text.calendar.fix or text.compact.fix "titleChip". ---------- */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper:is(.cl-title-chip, .cl-title-chip-c) [data-planner-calendar-header] :is(.cal-head-month > span, .cal-head-weekrow h1, .cal-head-week > .v-btn) { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper:is(.cl-title-chip, .cl-title-chip-c) [data-planner-calendar-header] .cal-head-month { opacity: 1 !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper:is(.cl-title-chip, .cl-title-chip-c) [data-planner-calendar-header] .cal-head-month > span { color: var(--cl-chip-ink, #ffffff) !important; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper:is(.cl-title-chip, .cl-title-chip-c) [data-planner-calendar-header] .cal-head-weekrow > .v-btn .v-icon { filter: none !important; }
/* the normal header: a one-column grid as wide as the widest line, the chip spans both rows */
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip [data-planner-calendar-header] .cal-head-center { display: grid; grid-template-columns: max-content; justify-content: center; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip [data-planner-calendar-header] .cal-head-month { grid-area: 1 / 1; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip [data-planner-calendar-header] .cal-head-week { grid-area: 2 / 1; }
html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip [data-planner-calendar-header] .cal-head-center::before {
    content: '';
    grid-area: 1 / 1 / 3 / 2;
    margin: -5px -22px -3px;
    background: var(--cl-chip-bg, rgba(8, 14, 30, 0.66));
    border: 1px solid var(--cl-chip-border, rgba(255, 255, 255, 0.55));
    border-radius: var(--cl-chip-radius, 6px);
    pointer-events: none;
}
/* on a phone the chip would run over the menu icons and the two boxes: no chip there, a dark rim on the letters */
@media (max-width: 600px) {
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip [data-planner-calendar-header] .cal-head-center::before { display: none; }
    html[data-look]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip [data-planner-calendar-header] :is(.cal-head-month > span, .cal-head-weekrow h1) { text-shadow: 0 0 2px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.8) !important; }
}
/* compact: one box from the menu icon to the end of the arrows (--cl-title-end, measured), on the centre line */
@media (min-width: 961px) {
    html[data-look][data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip-c [data-planner-calendar-header] .cal-head-center::before {
        content: '';
        position: absolute;
        left: 68px;
        width: calc(var(--cl-title-end, 444px) - 61px);
        top: calc((100% - var(--cl-line-pad-bottom, 0px)) / 2 - 22px);
        height: 44px;
        z-index: -1;
        box-sizing: border-box;
        background: var(--cl-chip-bg, rgba(8, 14, 30, 0.66));
        border: 1px solid var(--cl-chip-border, rgba(255, 255, 255, 0.55));
        border-radius: var(--cl-chip-radius, 6px);
        pointer-events: none;
    }
}

/* ---------- Menus: the "Tilbake" flyout on every page (back-menu.js). The same menu set as the calendar's main menu
   (--look-menu-*, written by looks.js from MENUS), so the two look alike on every look. Colours, font and icons only. ---------- */
html[data-look][data-look-on~="menu"] .bm-card {
    background: var(--look-menu-bg);
    color: var(--look-menu-ink);
    font-family: var(--look-menu-font, var(--look-font, inherit));
    color-scheme: var(--look-menu-scheme, light);
}
html[data-look][data-look-on~="menu"] .bm-menu { scrollbar-color: var(--look-menu-line) transparent; }
html[data-look][data-look-on~="menu"] .bm-item { color: var(--look-menu-ink); border-radius: var(--look-menu-radius, 8px); }
html[data-look][data-look-on~="menu"] .bm-item:is(:hover, :focus) { background: var(--look-menu-hover); color: var(--look-menu-hover-ink); }
html[data-look][data-look-on~="menu"] .bm-item:focus { box-shadow: inset 0 0 0 2px var(--look-menu-focus); }
html[data-look][data-look-on~="menu"] .bm-icon { filter: var(--look-menu-icon, invert(52%) sepia(93%) saturate(382%) hue-rotate(182deg) brightness(92%) contrast(86%)); }
html[data-look][data-look-on~="menu"] .bm-divider { background: var(--look-menu-line); }

} /* @media screen */

/* ---------- The eye menu's lower band: Utseende. Applies to everyone, only while the menu is open. ---------- */
.cal-display-menu.has-looks {
    grid-template-rows: auto auto;
    height: auto;
}
/* three options in OPPSETT now: every section's options start at the top, and Kompakt modus gets a whole row */
.cal-display-menu.has-looks .cal-display-options { align-content: start; padding: 6px 0 2px; }
.cal-display-menu.has-looks label[for="cal-option-compact"] { grid-column: 1 / -1; }
.cal-looks-band {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 4px;
    padding: 6px 4px 0;
    border-top: 1px solid #eef2f7;
}
.cal-looks-head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
}
.cal-looks-head .cal-display-section-title { margin-bottom: 0; }
.cal-looks-current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
    font-size: 0.875rem;
}
.cal-looks-live { margin-left: auto; }
.cal-looks-strip-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}
.cal-looks-arrow {
    flex: 0 0 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #111;
    cursor: pointer;
}
.cal-looks-arrow:hover { background: #f1f5ff; }
.cal-looks-arrow svg { width: 20px; height: 20px; display: block; }
.cal-looks-strip {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: none;   /* wheel, trackpad and mouse drag are driven by looks.js */
    scrollbar-width: none;
    padding: 5px 0 4px;
    outline-offset: 2px;
    cursor: grab;
    overscroll-behavior-x: contain;
}
.cal-looks-strip::-webkit-scrollbar { display: none; }
.cal-looks-strip.is-touch { scroll-snap-type: x mandatory; }   /* touch keeps the browser's own scrolling */
.cal-looks-strip.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.cal-looks-pad { flex: 0 0 calc(50% - 79px); }
.cal-looks-item {
    flex: 0 0 150px;
    scroll-snap-align: center;
    border: 0;
    padding: 0;
    background: none;
    text-align: center;
    cursor: pointer;
    font: inherit;
    color: #000;
    transform: scale(0.9);
    opacity: 0.7;
    transition: transform 0.15s, opacity 0.15s;
}
.cal-looks-item.is-centred { transform: none; opacity: 1; }
.cal-looks-tv {
    display: block;
    width: 150px;
    height: 82px;
    border-radius: 5px;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 0 0 1px #d6dbe2;
}
.cal-looks-item.is-centred .cal-looks-tv { box-shadow: 0 0 0 3px #000; }
.cal-looks-tv img { display: block; width: 150px; height: 82px; object-fit: cover; object-position: top; }
.cal-looks-name {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (prefers-reduced-motion: reduce) {
    .cal-looks-item { transition: none; }
}

/* ---------- Text recipe "outline": a line round each letter and symbol, the opposite of the ink, as the ink line round
   Tavle's icons. Alexander, 2026-12-04: "not a box, just a boarder around them, as we have done with the icons in
   Tavle.html". The letters keep their weight: the line sits behind the fill. Where text stroke can be painted behind
   the fill (browsers with light-dark(), the same releases that paint text stroke in paint-order) it is a 2 px stroke,
   1 px outside; elsewhere eight hard 1 px shadows, which can never eat a letter. Icons are SVG paths: their stroke
   goes behind the fill everywhere. "Gå til nåværende uke" wears it on every picture look ("Strand compact mode - we
   need black around "gå til nåverende uke" as well"); the compact header wears it where text.compact.fix is outline. */
html[data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-week > .v-btn,
html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-outline [data-planner-calendar-header] :is(.cal-head-weekrow h1, .cal-head-month > span) {
    text-shadow: 1px 0 0 var(--cl-outline),-1px 0 0 var(--cl-outline),0 1px 0 var(--cl-outline),0 -1px 0 var(--cl-outline),1px 1px 0 var(--cl-outline),-1px -1px 0 var(--cl-outline),1px -1px 0 var(--cl-outline),-1px 1px 0 var(--cl-outline) !important;
}
@supports (color: light-dark(#000, #fff)) {
    html[data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-week > .v-btn,
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-outline [data-planner-calendar-header] :is(.cal-head-weekrow h1, .cal-head-month > span) {
        text-shadow: none !important;
        -webkit-text-stroke: 2px var(--cl-outline);
        paint-order: stroke fill;
    }
}
html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-outline [data-planner-calendar-header] .v-btn .v-icon { filter: none !important; }
html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-outline [data-planner-calendar-header] .v-btn .v-icon__svg path {
    stroke: var(--cl-outline);
    stroke-width: 2px;
    stroke-linejoin: round;
    paint-order: stroke fill;
}
/* ---------- Compact: the week arrows in the middle of the header (mockup-compact-nav.html, arrows 4, go-to 4 with the dot).
   The title (week and month) stays on the left without arrows. "Gå til nåværende uke" is a dot between the arrows, in a
   place kept for it, so the arrows never move; it is shown only off the current week. Rutebok and the title-chip looks
   get a piece of their paper or box behind the middle group. ---------- */
.calendar-view-wrapper .cal-head-goto-dot,
.calendar-view-wrapper .cal-head-navpatch { display: none !important; }
@media (min-width: 961px) {
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] :is(.cal-head-weekrow > .v-btn, .cal-head-navpatch) {
        position: absolute !important;
        top: calc((100% - var(--cl-line-pad-bottom, 0px)) / 2) !important;
        bottom: auto !important;
        right: auto !important;
        translate: 0 -50% !important;
        margin: 0 !important;
        flex: none !important;
    }
    /* [<] 4 px [dot] 4 px [>], 40 px each, the dot's place on the middle line */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-weekrow > .v-btn:first-child { left: calc(50% - 64px) !important; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-weekrow > .v-btn.cal-head-goto-dot { left: calc(50% - 20px) !important; display: inline-flex !important; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-weekrow > .v-btn:last-child { left: calc(50% + 24px) !important; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-week > .v-btn { display: none !important; }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-goto-dot .cal-head-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
    html[data-cal-compact][data-look-is~="picture"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-dot { filter: var(--cl-line-icon-shadow, none); }
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-outline [data-planner-calendar-header] .cal-head-dot { filter: none; box-shadow: 0 0 0 1px var(--cl-outline); }
    /* the patch behind the middle group: Rutebok's paper, a title-chip look's box */
    html[data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-navpatch { left: calc(50% - 84px) !important; width: 168px; pointer-events: none; box-sizing: border-box; z-index: -1; }
    html[data-cal-compact][data-look="rutebok"]:where([data-look-on~="calendar"]) .calendar-view-wrapper [data-planner-calendar-header] .cal-head-navpatch {
        display: block !important;
        top: 12px !important;
        translate: none !important;
        height: 50px;
        border-radius: 6px;
        background: #fdfbf3;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28), inset 0 0 0 5px #fdfbf3, inset 0 0 0 6.5px #7d94bd;
        transform: rotate(0.9deg);
    }
    html[data-look][data-cal-compact]:where([data-look-on~="calendar"]) .calendar-view-wrapper.cl-title-chip-c [data-planner-calendar-header] .cal-head-navpatch {
        display: block !important;
        height: 44px;
        background: var(--cl-chip-bg, rgba(8, 14, 30, 0.66));
        border: 1px solid var(--cl-chip-border, rgba(255, 255, 255, 0.55));
        border-radius: var(--cl-chip-radius, 6px);
    }
}
/* ===== BAR (looks-builder) START ===== */
/* The look in the standard page header of other pages ("bar"), header only. Generated by
   scripts/looks/gen-bar.cjs; never edit this block by hand. A page header uses only what the calendar's
   header uses for the look (Alexander, testing the real pages: "If we don't need in Calendar.html - we don't need it
   other places"): its picture or art, its header ink and its compact header's text shadow. No chips: Tilbake and the
   title are plain text, the buttons keep their Klassisk form. Every rule is gated on the look, on the page listing
   "bar" in data-look-on, and inside @media screen, so Klassisk and print are untouched. Headers whose colour means
   something are left alone: shared mode (.shared-mode) and any header coloured by an inline style. */
@media screen {
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) {
    /* the engine's tiny blurred copy of the compact strip lies under the strip until the picture has loaded
       (--look-strip-ph-compact, picture looks only; drawn looks have none) */
    background: var(--look-bar-strip) center / cover no-repeat, var(--look-strip-ph-compact, none) center / cover no-repeat, var(--look-bar-bg);
    color: var(--look-head-ink);
    border-bottom: var(--look-bar-rule);
    border-radius: var(--look-bar-radius);
}
/* a header that runs edge to edge keeps its square corners */
html[data-look][data-look-on~="bar"] header.page-header:has(> .back-link) { border-radius: 0 !important; }
/* loading skeletons: a shimmer would slide the picture, so it stops under a look; the header itself is the look's */
html[data-look][data-look-on~="bar"] .boot-shell-header,
html[data-look][data-look-on~="bar"] #initial-skeleton .skeleton-header:not([data-planner-calendar-header]),
html[data-look][data-look-on~="bar"] header.page-header:has(> .back-link) { animation: none; }
/* text the pages colour white inline follows the header ink */
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) [style*="color: white"],
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) [style*="color:white"],
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) [style*="color: #ffffff"],
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) [style*="color: #fff;"],
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) [style*="color: rgba(255,255,255"],
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) [style*="color: rgba(255, 255, 255"] {
    color: inherit !important;
    /* and the same shadow as Tilbake and the title, so one header never mixes treated and bare text */
    text-shadow: var(--cl-line-shadow, none);
}
/* Tilbake, separators and the brand: plain text in the header ink with the calendar header's shadow */
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .back-link,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .boot-back,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-title-sep,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-header-sep,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .settings-brand,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .view-tab:not(.active) {
    color: var(--look-head-ink);
    text-shadow: var(--cl-line-shadow, none);
}
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-title-sep,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-header-sep,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-sep { color: inherit !important; opacity: 0.75; text-shadow: var(--cl-line-shadow, none); }
/* form fields on the header keep their form; their text, label, outline and arrow follow the header ink */
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-field:not([class*="bg-"]),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-field:not([class*="bg-"]) .v-label,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-field:not([class*="bg-"]) .v-select__selection-text,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-field:not([class*="bg-"]) .v-field__append-inner .mdi,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-room-value,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-room-value .mdi { color: var(--look-head-ink) !important; }
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-field:not([class*="bg-"]) .v-select__selection-text,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-room-value { text-shadow: var(--cl-line-shadow, none); }
/* the page title: the look's display type, the calendar's title ink, the same shadow; size as on Klassisk */
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-title-center,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-header-title,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-title-text,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) #boot-title,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .boot-title,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .page-title,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-tittel,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .title-block > span,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .month-title,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) h1.header-title,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) h1.text-h6 {
    color: var(--cl-title-ink, var(--look-head-ink)) !important;
    font-family: var(--look-font-display, inherit) !important;
    text-shadow: var(--cl-line-shadow, none);
}
/* icons in the header: the calendar's icon shadow */
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .back-link :is(i, svg),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .boot-back svg,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) button :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-btn--variant-text .v-icon,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav-btn { filter: var(--cl-line-icon-shadow, none); }
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-print-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .calendar-switcher-btn :is(.mdi, .v-icon) { filter: none; }
/* buttons keep their Klassisk form; their text and icons follow the header ink (white would vanish on light pictures) */
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-print-btn,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .calendar-switcher-btn,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .view-tab:not(.active),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav-btn,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) button[style*="color: white"],
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-btn--variant-text,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .fakta-phone-connect,
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .year-picker-btn { color: var(--look-head-ink) !important; }
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-print-btn :is(span, .mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .calendar-switcher-btn :is(span, .mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .view-tab:not(.active) :is(span, .mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav-btn :is(span, .mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) button[style*="color: white"] :is(span, .mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-btn--variant-text :is(span, .mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .fakta-phone-connect :is(span, .mdi, .v-icon),
html[data-look][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .year-picker-btn :is(span, .mdi, .v-icon) { color: inherit !important; }
/* a named button treatment where the look has one (BUTTON_TREATMENTS in the generator): a soft edge on the boxed
   buttons, a shadow on every button's letters and icons. Tilbake and the title keep the calendar header's shadow. */
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-print-btn,
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .calendar-switcher-btn,
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .view-tab:not(.active),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .fakta-phone-connect { box-shadow: var(--look-bar-btn-ring); background: var(--look-bar-btn-fill); }
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-print-btn,
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .calendar-switcher-btn,
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .view-tab:not(.active),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav-btn,
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) button[style*="color: white"],
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-btn--variant-text,
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .fakta-phone-connect,
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .year-picker-btn { text-shadow: var(--look-bar-btn-text); }
/* icon fonts are text too: they get exactly what the "Tilbake" arrow has (the header's text shadow plus its icon
   shadow), so no icon halo is heavier than the arrow's */
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-print-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .calendar-switcher-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .view-tab:not(.active) :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) button[style*="color: white"] :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-btn--variant-text :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .fakta-phone-connect :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .year-picker-btn :is(.mdi, .v-icon) { text-shadow: var(--cl-line-shadow, none); }
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-print-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .calendar-switcher-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .view-tab:not(.active) :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) button[style*="color: white"] :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .v-btn--variant-text :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .fakta-phone-connect :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .year-picker-btn :is(.mdi, .v-icon),
html[data-look][data-look-on~="bar"][data-look-bar~="btn-fx"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .week-nav-btn { filter: var(--look-bar-btn-icon); }

/* ---------- ART for the bar: drawn looks (shapes only; the calendar's header has the same) ---------- */
/* Hav: three waves along the bottom edge */
html[data-look="hav"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 75' preserveAspectRatio='none'%3E%3Cpath d='M0 81L0 52.2L14 53.4L28 54.5L42 55.3L56 55.8L70 55.7L84 55.3L98 54.5L112 53.4L126 52.1L140 50.9L154 49.8L168 49.0L182 48.6L196 48.7L210 49.2L224 50.0L238 51.1L252 52.4L266 53.6L280 54.7L294 55.4L308 55.8L322 55.7L336 55.2L350 54.3L364 53.2L378 51.9L392 50.7L406 49.7L420 48.9L434 48.6L448 48.7L462 49.3L476 50.2L490 51.3L504 52.6L518 53.8L532 54.8L546 55.5L560 55.8L574 55.7L588 55.1L602 54.2L616 53.0L630 51.7L644 50.5L658 49.5L672 48.9L686 48.6L700 48.8L714 49.4L728 50.3L742 51.5L756 52.7L770 53.9L784 54.9L798 55.6L812 55.8L826 55.6L840 55.0L854 54.0L868 52.8L882 51.6L896 50.4L910 49.4L924 48.8L938 48.6L952 48.8L966 49.5L980 50.5L994 51.7L1008 52.9L1022 54.1L1036 55.0L1050 55.6L1064 55.8L1078 55.5L1092 54.9L1106 53.9L1120 52.7L1134 51.4L1148 50.2L1162 49.3L1176 48.7L1190 48.6L1204 48.9L1218 49.6L1232 50.6L1246 51.8L1260 53.1L1274 54.2L1288 55.1L1302 55.7L1316 55.8L1330 55.5L1344 54.7L1358 53.7L1372 52.5L1386 51.2L1400 50.1L1400 81Z' fill='%231b8a99'/%3E%3Cpath d='M0 81L0 62.4L14 61.9L28 61.0L42 59.7L56 58.4L70 57.2L84 56.6L98 56.4L112 56.9L126 57.8L140 59.1L154 60.4L168 61.6L182 62.2L196 62.4L210 61.9L224 61.0L238 59.7L252 58.4L266 57.2L280 56.6L294 56.4L308 56.9L322 57.8L336 59.1L350 60.4L364 61.6L378 62.2L392 62.4L406 61.9L420 61.0L434 59.7L448 58.4L462 57.2L476 56.6L490 56.4L504 56.9L518 57.8L532 59.1L546 60.4L560 61.6L574 62.2L588 62.4L602 61.9L616 61.0L630 59.7L644 58.4L658 57.2L672 56.6L686 56.4L700 56.9L714 57.8L728 59.1L742 60.4L756 61.6L770 62.2L784 62.4L798 61.9L812 61.0L826 59.7L840 58.4L854 57.2L868 56.6L882 56.4L896 56.9L910 57.8L924 59.1L938 60.4L952 61.6L966 62.2L980 62.4L994 61.9L1008 61.0L1022 59.7L1036 58.4L1050 57.2L1064 56.6L1078 56.4L1092 56.9L1106 57.8L1120 59.1L1134 60.4L1148 61.6L1162 62.2L1176 62.4L1190 61.9L1204 61.0L1218 59.7L1232 58.4L1246 57.2L1260 56.6L1274 56.4L1288 56.9L1302 57.8L1316 59.1L1330 60.4L1344 61.6L1358 62.2L1372 62.4L1386 61.9L1400 61.0L1400 81Z' fill='%235fbfc4'/%3E%3Cpath d='M0 81L0 67.3L14 66.5L28 65.8L42 65.1L56 64.7L70 64.5L84 64.6L98 64.8L112 65.3L126 66.0L140 66.8L154 67.6L168 68.4L182 69.1L196 69.6L210 69.8L224 69.9L238 69.7L252 69.3L266 68.6L280 67.9L294 67.1L308 66.3L322 65.6L336 65.0L350 64.6L364 64.5L378 64.6L392 65.0L406 65.5L420 66.2L434 67.0L448 67.8L462 68.6L476 69.2L490 69.7L504 69.9L518 69.9L532 69.6L546 69.1L560 68.4L574 67.7L588 66.8L602 66.1L616 65.4L630 64.9L644 64.6L658 64.5L672 64.7L686 65.1L700 65.7L714 66.5L728 67.3L742 68.1L756 68.8L770 69.4L784 69.8L798 69.9L812 69.8L826 69.5L840 68.9L854 68.2L868 67.4L882 66.6L896 65.9L910 65.2L924 64.8L938 64.5L952 64.5L966 64.8L980 65.3L994 65.9L1008 66.7L1022 67.5L1036 68.3L1050 69.0L1064 69.5L1078 69.8L1092 69.9L1106 69.7L1120 69.3L1134 68.7L1148 68.0L1162 67.2L1176 66.4L1190 65.7L1204 65.1L1218 64.7L1232 64.5L1246 64.6L1260 64.9L1274 65.4L1288 66.1L1302 66.9L1316 67.7L1330 68.5L1344 69.1L1358 69.6L1372 69.9L1386 69.9L1400 69.6L1400 81Z' fill='%23fbf8f1'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat, var(--look-bar-bg); }
/* Vinter: snowflakes and a snowdrift */
html[data-look="vinter"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 75' preserveAspectRatio='none'%3E%3Ccircle cx='615' cy='4' r='1.7' fill='%23fff' opacity='0.52'/%3E%3Ccircle cx='949' cy='10' r='1.0' fill='%23fff' opacity='0.93'/%3E%3Ccircle cx='1209' cy='24' r='1.8' fill='%23fff' opacity='0.82'/%3E%3Ccircle cx='1233' cy='26' r='1.6' fill='%23fff' opacity='0.84'/%3E%3Ccircle cx='1208' cy='20' r='2.2' fill='%23fff' opacity='0.52'/%3E%3Ccircle cx='289' cy='56' r='1.7' fill='%23fff' opacity='0.79'/%3E%3Ccircle cx='743' cy='28' r='2.0' fill='%23fff' opacity='0.77'/%3E%3Ccircle cx='56' cy='33' r='2.7' fill='%23fff' opacity='0.93'/%3E%3Ccircle cx='75' cy='6' r='0.9' fill='%23fff' opacity='0.86'/%3E%3Ccircle cx='161' cy='15' r='2.4' fill='%23fff' opacity='0.62'/%3E%3Ccircle cx='1337' cy='28' r='1.9' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='1251' cy='1' r='2.1' fill='%23fff' opacity='0.60'/%3E%3Ccircle cx='521' cy='9' r='1.5' fill='%23fff' opacity='0.54'/%3E%3Ccircle cx='412' cy='30' r='1.2' fill='%23fff' opacity='0.77'/%3E%3Ccircle cx='69' cy='9' r='0.9' fill='%23fff' opacity='0.63'/%3E%3Ccircle cx='189' cy='38' r='2.2' fill='%23fff' opacity='0.90'/%3E%3Ccircle cx='518' cy='23' r='2.6' fill='%23fff' opacity='0.68'/%3E%3Ccircle cx='1067' cy='44' r='2.0' fill='%23fff' opacity='0.56'/%3E%3Ccircle cx='995' cy='30' r='1.7' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='1355' cy='53' r='0.8' fill='%23fff' opacity='0.68'/%3E%3Ccircle cx='9' cy='12' r='2.3' fill='%23fff' opacity='0.61'/%3E%3Ccircle cx='4' cy='0' r='1.4' fill='%23fff' opacity='0.50'/%3E%3Ccircle cx='1011' cy='14' r='1.3' fill='%23fff' opacity='0.46'/%3E%3Ccircle cx='436' cy='51' r='1.1' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='766' cy='54' r='1.5' fill='%23fff' opacity='0.87'/%3E%3Ccircle cx='1149' cy='29' r='1.6' fill='%23fff' opacity='0.77'/%3E%3Ccircle cx='274' cy='46' r='1.2' fill='%23fff' opacity='0.51'/%3E%3Ccircle cx='1093' cy='38' r='2.6' fill='%23fff' opacity='0.89'/%3E%3Ccircle cx='118' cy='30' r='1.6' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='268' cy='43' r='1.3' fill='%23fff' opacity='0.70'/%3E%3Ccircle cx='424' cy='19' r='1.2' fill='%23fff' opacity='0.77'/%3E%3Ccircle cx='734' cy='15' r='2.0' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='467' cy='18' r='1.8' fill='%23fff' opacity='0.54'/%3E%3Ccircle cx='241' cy='9' r='0.8' fill='%23fff' opacity='0.77'/%3E%3Ccircle cx='1074' cy='36' r='1.5' fill='%23fff' opacity='0.65'/%3E%3Ccircle cx='4' cy='45' r='0.9' fill='%23fff' opacity='0.46'/%3E%3Ccircle cx='1334' cy='19' r='1.5' fill='%23fff' opacity='0.87'/%3E%3Ccircle cx='580' cy='9' r='1.0' fill='%23fff' opacity='0.68'/%3E%3Ccircle cx='955' cy='44' r='1.8' fill='%23fff' opacity='0.51'/%3E%3Ccircle cx='1142' cy='34' r='2.1' fill='%23fff' opacity='0.53'/%3E%3Ccircle cx='84' cy='29' r='1.2' fill='%23fff' opacity='0.80'/%3E%3Ccircle cx='1305' cy='33' r='2.3' fill='%23fff' opacity='0.74'/%3E%3Ccircle cx='530' cy='4' r='2.4' fill='%23fff' opacity='0.52'/%3E%3Ccircle cx='368' cy='37' r='1.7' fill='%23fff' opacity='0.58'/%3E%3Ccircle cx='167' cy='14' r='1.2' fill='%23fff' opacity='0.70'/%3E%3Ccircle cx='1221' cy='61' r='1.0' fill='%23fff' opacity='0.64'/%3E%3Ccircle cx='872' cy='24' r='1.3' fill='%23fff' opacity='0.55'/%3E%3Ccircle cx='457' cy='5' r='1.4' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='1112' cy='10' r='2.7' fill='%23fff' opacity='0.51'/%3E%3Ccircle cx='709' cy='10' r='2.4' fill='%23fff' opacity='0.63'/%3E%3Ccircle cx='279' cy='15' r='1.5' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='1308' cy='58' r='1.1' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='1242' cy='54' r='1.3' fill='%23fff' opacity='0.91'/%3E%3Ccircle cx='222' cy='49' r='1.3' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='1289' cy='58' r='1.5' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='572' cy='40' r='2.4' fill='%23fff' opacity='0.66'/%3E%3Ccircle cx='985' cy='39' r='2.5' fill='%23fff' opacity='0.92'/%3E%3Ccircle cx='1176' cy='18' r='1.4' fill='%23fff' opacity='0.70'/%3E%3Ccircle cx='344' cy='22' r='1.6' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='663' cy='42' r='1.8' fill='%23fff' opacity='0.50'/%3E%3Ccircle cx='407' cy='48' r='1.8' fill='%23fff' opacity='0.85'/%3E%3Ccircle cx='110' cy='0' r='1.5' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='718' cy='52' r='0.9' fill='%23fff' opacity='0.54'/%3E%3Ccircle cx='1380' cy='28' r='2.4' fill='%23fff' opacity='0.85'/%3E%3Ccircle cx='716' cy='17' r='1.3' fill='%23fff' opacity='0.71'/%3E%3Ccircle cx='66' cy='27' r='1.3' fill='%23fff' opacity='0.60'/%3E%3Ccircle cx='779' cy='20' r='2.4' fill='%23fff' opacity='0.78'/%3E%3Ccircle cx='940' cy='3' r='1.6' fill='%23fff' opacity='0.49'/%3E%3Ccircle cx='334' cy='57' r='1.8' fill='%23fff' opacity='0.49'/%3E%3Ccircle cx='1347' cy='12' r='1.5' fill='%23fff' opacity='0.78'/%3E%3Ccircle cx='539' cy='21' r='1.2' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='1092' cy='44' r='1.8' fill='%23fff' opacity='0.46'/%3E%3Ccircle cx='909' cy='17' r='1.9' fill='%23fff' opacity='0.56'/%3E%3Ccircle cx='1334' cy='6' r='1.6' fill='%23fff' opacity='0.52'/%3E%3Ccircle cx='315' cy='39' r='2.1' fill='%23fff' opacity='0.92'/%3E%3Ccircle cx='984' cy='10' r='1.7' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='1338' cy='37' r='1.7' fill='%23fff' opacity='0.82'/%3E%3Ccircle cx='1067' cy='13' r='1.6' fill='%23fff' opacity='0.53'/%3E%3Ccircle cx='1035' cy='32' r='1.4' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='1076' cy='25' r='1.3' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='1037' cy='44' r='1.8' fill='%23fff' opacity='0.82'/%3E%3Ccircle cx='1024' cy='31' r='0.9' fill='%23fff' opacity='0.83'/%3E%3Ccircle cx='305' cy='12' r='2.5' fill='%23fff' opacity='0.60'/%3E%3Ccircle cx='567' cy='45' r='1.7' fill='%23fff' opacity='0.65'/%3E%3Ccircle cx='1292' cy='41' r='1.5' fill='%23fff' opacity='0.48'/%3E%3Ccircle cx='921' cy='35' r='1.6' fill='%23fff' opacity='0.54'/%3E%3Ccircle cx='710' cy='11' r='1.7' fill='%23fff' opacity='0.94'/%3E%3Ccircle cx='158' cy='47' r='0.8' fill='%23fff' opacity='0.85'/%3E%3Ccircle cx='1359' cy='8' r='1.3' fill='%23fff' opacity='0.53'/%3E%3Ccircle cx='188' cy='50' r='0.9' fill='%23fff' opacity='0.55'/%3E%3Ccircle cx='1194' cy='10' r='1.4' fill='%23fff' opacity='0.72'/%3E%3Ccircle cx='963' cy='10' r='2.5' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='515' cy='37' r='2.5' fill='%23fff' opacity='0.67'/%3E%3Cpath d='M0 81L0 66.2L14 66.8L28 67.3L42 67.6L56 67.8L70 67.8L84 67.7L98 67.4L112 66.9L126 66.4L140 65.8L154 65.0L168 64.3L182 63.6L196 62.8L210 62.2L224 61.6L238 61.1L252 60.8L266 60.6L280 60.6L294 60.7L308 61.0L322 61.5L336 62.0L350 62.6L364 63.4L378 64.1L392 64.8L406 65.6L420 66.2L434 66.8L448 67.3L462 67.6L476 67.8L490 67.8L504 67.7L518 67.4L532 66.9L546 66.4L560 65.8L574 65.0L588 64.3L602 63.6L616 62.8L630 62.2L644 61.6L658 61.1L672 60.8L686 60.6L700 60.6L714 60.7L728 61.0L742 61.5L756 62.0L770 62.6L784 63.4L798 64.1L812 64.8L826 65.6L840 66.2L854 66.8L868 67.3L882 67.6L896 67.8L910 67.8L924 67.7L938 67.4L952 66.9L966 66.4L980 65.8L994 65.0L1008 64.3L1022 63.6L1036 62.8L1050 62.2L1064 61.6L1078 61.1L1092 60.8L1106 60.6L1120 60.6L1134 60.7L1148 61.0L1162 61.5L1176 62.0L1190 62.6L1204 63.4L1218 64.1L1232 64.8L1246 65.6L1260 66.2L1274 66.8L1288 67.3L1302 67.6L1316 67.8L1330 67.8L1344 67.7L1358 67.4L1372 66.9L1386 66.4L1400 65.8L1400 81Z' fill='%23d7e3f2'/%3E%3Cpath d='M0 81L0 71.0L14 70.4L28 69.6L42 68.8L56 68.0L70 67.3L84 66.7L98 66.3L112 66.0L126 66.0L140 66.2L154 66.6L168 67.1L182 67.8L196 68.5L210 69.3L224 70.1L238 70.8L252 71.4L266 71.8L280 72.0L294 72.0L308 71.8L322 71.3L336 70.8L350 70.1L364 69.3L378 68.5L392 67.7L406 67.1L420 66.5L434 66.2L448 66.0L462 66.1L476 66.3L490 66.8L504 67.4L518 68.1L532 68.9L546 69.7L560 70.4L574 71.1L588 71.6L602 71.9L616 72.0L630 71.9L644 71.6L658 71.1L672 70.5L686 69.7L700 68.9L714 68.2L728 67.4L742 66.8L756 66.3L770 66.1L784 66.0L798 66.1L812 66.5L826 67.0L840 67.7L854 68.4L868 69.2L882 70.0L896 70.7L910 71.3L924 71.7L938 72.0L952 72.0L966 71.8L980 71.4L994 70.9L1008 70.2L1022 69.4L1036 68.6L1050 67.8L1064 67.1L1078 66.6L1092 66.2L1106 66.0L1120 66.0L1134 66.3L1148 66.7L1162 67.3L1176 68.0L1190 68.8L1204 69.6L1218 70.3L1232 71.0L1246 71.5L1260 71.9L1274 72.0L1288 71.9L1302 71.7L1316 71.2L1330 70.6L1344 69.8L1358 69.1L1372 68.3L1386 67.5L1400 66.9L1400 81Z' fill='%23f6f9fd'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat, var(--look-bar-bg); }
/* Sorbet: scallops hanging under the header */
html[data-look="sorbet"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) { position: relative; }
html[data-look="sorbet"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link))::after {
    content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
    background: radial-gradient(ellipse 25px 12px at 25px 0, #ff7a90 98%, transparent 100%) 0 0 / 50px 12px repeat-x;
}
/* Rutebok: the title on the paper label, as in the calendar header */
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-title-center,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .mc-header-title,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-title-text,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) #boot-title,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .boot-title,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .page-title,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .header-tittel,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .title-block > span,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .month-title,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) h1.header-title,
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) h1.text-h6 {
    background: #fdfbf3; color: #22314f !important; border-radius: 5px; padding: 2px 16px; text-shadow: none;
    box-shadow: inset 0 0 0 4px #fdfbf3, inset 0 0 0 5.5px #7d94bd, 0 3px 8px rgba(0, 0, 0, 0.28);
    rotate: -1.2deg;
}
/* the year in Gule notater's title is a button of its own on that label: the label's ink, not the header's */
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .month-title .year-picker-btn { color: #22314f !important; text-shadow: none; }
html[data-look="rutebok"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) .month-title .year-picker-btn :is(.mdi, .v-icon) { text-shadow: none; filter: none; }
/* Krittavle: a wooden frame round the board */
html[data-look="krittavle"][data-look-on~="bar"] :is(.fixed-header-inner:not(.shared-mode):not([style*="background"]), .boot-shell-header, #initial-skeleton .skeleton-header:not([data-planner-calendar-header]), header.page-header:has(> .back-link)) { box-shadow: inset 0 0 0 7px #86572f, 0 2px 4px rgba(0, 0, 0, 0.15); }
}
/* ===== BAR END ===== */
