/* Skytten Film: felles stil */
/* Skriftene ligger på siden selv (ingen data sendes til Google) */
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-var.woff') format('woff'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibmplexmono-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibmplexmono-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
:root {
  --bg: #0F0E0D;
  --panel: #1C1A18;
  --panel-2: #171513;
  --line: #2B2825;
  --line-2: #3A3632;
  --line-3: #4A453F;
  --fg: #EEE9E2;
  --fg-2: #D9D3CB;
  --fg-3: #C9C2B9;
  --muted: #A39C93;
  --red: #E0453A;
  --err: #F07D73;
  --ok: #8FD19E;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--display); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--fg); text-underline-offset: 4px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
input::placeholder, textarea::placeholder { color: #8A837A; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 140px; }
.section-sm { padding-top: 120px; }
.pb { padding-bottom: 120px; }

/* Typografi */
.display { font-stretch: 62%; font-weight: 800; text-transform: uppercase; margin: 0; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; text-wrap: balance; }
.h-hero { font-size: clamp(64px, 11.5vw, 176px); line-height: 0.86; letter-spacing: -0.005em; }
.h-xl { font-size: clamp(48px, 10vw, 152px); line-height: 0.86; }
.h-l { font-size: clamp(42px, 7vw, 104px); line-height: 0.9; }
.h-film { font-size: clamp(48px, 7vw, 112px); line-height: 0.86; }
.h-m { font-size: clamp(34px, 4vw, 48px); line-height: 0.95; }
.h-s { font-size: 32px; line-height: 1; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 400; }
.muted { color: var(--muted); }
.muted-s { font-size: 14px; color: var(--muted); margin: 0; }
.lead { font-size: 18px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.big-p { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.body-p { color: var(--fg-3); margin: 0; max-width: 640px; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 22px; background: var(--fg); color: var(--bg); border: 0; font: 700 16px/1 var(--display); text-decoration: none; cursor: pointer; }
.btn:hover { background: #fff; color: var(--bg); }
.btn-wide { display: flex; justify-content: space-between; min-height: 60px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); font-weight: 500; }
.btn-ghost:hover { background: var(--panel); color: #fff; }
.btn-dark { background: var(--bg); color: var(--fg); }
.btn-dark:hover { background: #000; color: #fff; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--panel); }

/* Topp */
.site-head { border-bottom: 1px solid var(--line); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 40px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 6px 0; }
.brand img { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-stretch: 62%; font-weight: 800; font-size: 30px; line-height: 0.9; text-transform: uppercase; letter-spacing: 0.02em; }
.brand-sub { font-family: var(--mono); font-size: 10px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; font-size: 15px; }
.main-nav a { text-decoration: none; padding: 12px 0; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.main-nav .nav-cta { padding: 11px 18px; border: 1px solid var(--fg); font-weight: 600; }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font: 600 15px var(--display); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 12px; text-align: center; }
}

/* Bunn */
.site-foot { border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 40px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-row a { color: var(--fg-3); padding: 12px 0; }

/* Forside: helt */
.hero { padding-top: 72px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; margin-bottom: 48px; }
.hero-side { max-width: 360px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 10px; }
.slides { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 900ms ease; }
.slides img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slides img { transition: none; } }
.corner { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(238,233,226,0.7); pointer-events: none; }
.c-tl { top: 20px; left: 20px; border-top-width: 1px; border-left-width: 1px; }
.c-tr { top: 20px; right: 20px; border-top-width: 1px; border-right-width: 1px; }
.c-bl { bottom: 20px; left: 20px; border-bottom-width: 1px; border-left-width: 1px; }
.c-br { bottom: 20px; right: 20px; border-bottom-width: 1px; border-right-width: 1px; }
/* Fast oppsett: knappene står alltid på samme sted, uansett hvor lang teksten er */
.slide-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "count ctrl" "cap ctrl"; align-items: start; gap: 10px 40px; padding-top: 22px; }
.slide-count { grid-area: count; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); line-height: 20px; }
.slide-cap { grid-area: cap; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.slide-title { font-stretch: 62%; font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide-line { display: flex; align-items: baseline; gap: 24px; min-width: 0; }
.slide-meta { font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.slide-buy { font-size: 15px; font-weight: 600; flex: none; }
.slide-ctrl { grid-area: ctrl; display: flex; align-items: center; gap: 8px; }
@media (max-width: 640px) {
  .slide-bar { grid-template-areas: "count ctrl" "cap cap"; align-items: center; gap: 14px 16px; }
  .slide-title { font-size: 28px; }
  .slide-line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .slide-meta { max-width: 100%; }
}
.dots { display: flex; margin-right: 8px; }
.dot { width: 36px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot span { display: block; width: 26px; height: 3px; background: var(--line-3); }
.dot[aria-current="true"] span { background: var(--fg); }

/* Om-blokk */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; border-top: 1px solid var(--line); padding-top: 40px; }
.split-fig { flex: 1 1 280px; margin: 0; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.split-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.split-fig figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.split-body { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-top: 12px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-stretch: 62%; font-weight: 800; font-size: 64px; line-height: 1; }

/* Seksjonstopp */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head > div:not(.chips) { display: flex; flex-direction: column; gap: 14px; }

/* Filter */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font: 15px var(--display); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

/* Plakatkort */
.grid-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 48px 24px; }
.grid-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 56px 24px; }
.card { display: flex; flex-direction: column; gap: 16px; }
.card[hidden] { display: none; }
.poster { position: relative; display: block; background: var(--panel); aspect-ratio: 2 / 3; overflow: hidden; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; top: 14px; padding: 4px 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-new { left: 14px; background: var(--red); color: var(--bg); }
.badge-sale { right: 14px; background: var(--fg); color: var(--bg); }
.card-body { display: flex; flex-direction: column; gap: 6px; }
.card-title { font-stretch: 62%; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; margin: 0; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
.card-meta { font-size: 15px; color: var(--muted); }
.card-link { align-self: flex-start; padding: 10px 0; font-size: 15px; font-weight: 600; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.price { font-size: 20px; font-weight: 600; }

/* Butikkbanner */
.banner { background: var(--fg); color: var(--bg); display: flex; flex-wrap: wrap; align-items: stretch; }
.banner a { color: var(--bg); }
.banner-body { flex: 2 1 460px; min-width: 0; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 20px; justify-content: flex-end; }
.banner-body .eyebrow { color: #4A453F; }
.banner-body p { margin: 0; max-width: 520px; font-size: 18px; color: #2E2A26; }
.banner img { flex: 1 1 380px; min-width: 0; min-height: 320px; width: 100%; object-fit: cover; display: block; }
.banner .btn-dark { color: var(--fg); }

/* Tjenester */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 28px 28px 40px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.service p { margin: 0; font-size: 16px; color: var(--fg-3); }
.num { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Lag */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 24px; }
.person { display: flex; flex-direction: column; gap: 16px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--panel); }
.person h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Sitater */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 40px; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--fg); padding-top: 24px; }
.quote-head { font-stretch: 62%; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.quote blockquote { margin: 0; color: var(--fg-2); }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.quote figcaption b { font-weight: 600; }

/* Partnere */
.logos { list-style: none; margin: 0; padding: 36px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos li { display: flex; }
.logos img { width: auto; display: block; }
.logo-text { font-stretch: 75%; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }

/* Skjema */
.contact { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.contact > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 6px; font-size: 22px; font-weight: 600; }
.contact-links a { text-decoration: none; padding: 6px 0; }
.form { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--fg-3); }
.input { height: 52px; padding: 0 14px; background: transparent; border: 1px solid var(--line-3); color: var(--fg); font: 16px var(--display); width: 100%; }
textarea.input { height: auto; padding: 14px; resize: vertical; }
.input:focus { border-color: var(--fg); outline: none; }
.input.mono { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 14px 16px; border: 1px solid var(--line-2); font-size: 15px; }
.note-ok { border-color: #3D6B47; color: var(--ok); }
.note-err { border-color: #7A3A33; color: var(--err); }

/* Butikk */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps li { display: flex; gap: 16px; align-items: baseline; padding: 22px 24px 22px 0; font-size: 16px; }
.faq { display: flex; flex-wrap: wrap; gap: 40px 80px; border-top: 1px solid var(--line); padding-top: 40px; }
.faq > h2 { flex: 1 1 280px; font-size: clamp(34px, 4vw, 44px); line-height: 0.95; }
.faq-items { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 40px; }
.faq-items h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.faq-items p { margin: 0; font-size: 15px; color: var(--fg-3); }

/* Filmside */
.crumbs { padding-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--fg-3); }
.product { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; padding-top: 32px; }
.product-poster { flex: 1 1 360px; min-width: 0; max-width: 560px; }
.product-poster img { display: block; width: 100%; height: auto; background: var(--panel); }
.product-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.product-info > header { display: flex; flex-direction: column; gap: 12px; }
.subtitle { font-size: 18px; color: var(--fg-2); }
.shows { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.shows legend { padding: 0 0 12px; font-size: 15px; font-weight: 600; }
.show { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 18px; border: 1px solid var(--line-2); cursor: pointer; }
.show:has(input:checked) { border-color: var(--fg); background: var(--panel); }
.show input { width: 18px; height: 18px; margin: 0; accent-color: var(--fg); }
.show span { display: flex; flex-direction: column; line-height: 1.35; }
.show small { font-size: 14px; color: var(--muted); }
.buy { display: flex; flex-direction: column; gap: 16px; }
.buy-h { margin: 0; font-size: 15px; font-weight: 600; }
.vipps-box { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line-2); font-size: 15px; color: var(--fg-2); }
.vipps-box strong { font-weight: 600; color: var(--fg); }
.vipps-nr { align-self: flex-start; font-stretch: 75%; font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: 0.02em; text-decoration: none; color: var(--fg); }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.stills { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.stills img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.about { display: flex; flex-wrap: wrap; gap: 32px 80px; border-top: 1px solid var(--line); padding-top: 40px; }
.about h2 { flex: 1 1 260px; }

.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; }
.more a { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.more img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); }
.more-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

/* Se filmen */
.watch-lock { display: flex; flex-wrap: wrap; gap: 56px 96px; align-items: flex-start; padding-top: 96px; padding-bottom: 120px; }
.watch-lock > div, .watch-lock > form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.code-input { height: 64px; padding: 0 18px; font-family: var(--mono); font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.help { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; color: var(--fg-3); }
.player-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--fg-3); }
.watch-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 15px; color: var(--fg-3); }
.watch-meta code { font-family: var(--mono); color: var(--fg); letter-spacing: 0.06em; }
.film-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Admin */
.admin-badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bg); background: var(--fg); padding: 3px 7px; }
.admin { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; padding-top: 40px; padding-bottom: 120px; }
.admin-side { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.admin-side a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.admin-side a[aria-current="page"] { border-color: var(--fg); background: var(--panel); }
.admin-side small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.admin-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.box { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.box h2 { margin: 0; font-size: 18px; font-weight: 700; }
.row-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px; }
td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 0; }
td.code { font-family: var(--mono); letter-spacing: 0.06em; white-space: nowrap; }
td.off { color: #8A837A; }
.status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; white-space: nowrap; }
.status-on { background: #1F3A26; color: var(--ok); }
.status-off { background: #3A1F1C; color: #F0A097; }
.actions { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.actions form { margin: 0; }
.small-btn { min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font: 14px var(--display); cursor: pointer; }
.small-btn:hover { background: var(--panel); }
.small-btn.danger { color: var(--err); }
.login { max-width: 460px; padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 20px; }

svg[hidden] { display: none; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* Filmside: tekst, medvirkende og takk */
.tagline { font-size: 18px; font-style: italic; color: var(--fg-3); }
.about-text { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.about .about-text p { flex: none; margin: 0; font-size: 17px; line-height: 1.65; color: var(--fg-3); }
.about .about-text p.about-lead { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: var(--fg-2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.credit-wide { grid-column: 1 / -1; }
.credit-group dl { margin: 18px 0 0; display: grid; gap: 10px 32px; }
.credit-wide dl { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.credit-group dl div { display: flex; flex-direction: column; gap: 1px; break-inside: avoid; }
.credit-group dt { font-size: 13px; color: var(--muted); }
.credit-group dd { margin: 0; font-size: 16px; }
.thanks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 48px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 32px; }
.thanks p { margin: 12px 0 0; font-size: 15px; color: var(--fg-3); }

/* YouTube: usynlige skjold over tittellinjen og YouTube-logoen */
.yt-shield { position: absolute; z-index: 2; background: transparent; }
.yt-top { top: 0; left: 0; right: 0; height: 64px; }
.yt-logo { right: 0; bottom: 0; width: 96px; height: 52px; }

/* Slideshow: fremdriftslinje og pause/spill-ikon */
.slide-progress { height: 2px; background: var(--line); margin-top: 14px; }
.slide-progress span { display: block; height: 100%; background: var(--fg); transition: width 400ms ease; }
[data-pause] .ico-play { display: none; }
[data-pause][aria-pressed="true"] .ico-pause { display: none; }
[data-pause][aria-pressed="true"] .ico-play { display: block; }

/* Lange ord i overskrifter: mindre skrift i stedet for orddeling */
.h-long { font-size: clamp(40px, 5.4vw, 84px); line-height: 0.9; }
.h-film-long { font-size: clamp(40px, 4.6vw, 72px); line-height: 0.9; }

/* Porteføljekort: tittel, årstall og lenke står på samme linje i alle kortene */
/* Tittel og årstall rett under plakaten, kjøpslenken nederst på samme linje i hele raden */
.grid-posters .card-body, .grid-shop .card-body { flex: 1; }
.grid-posters .card-link { margin-top: auto; }
.grid-shop .card-foot { margin-top: auto; }
#trailer .player-wrap { max-width: 1040px; }

/* Film uten bilde ennå: en enkel flate med tittelen */
.poster-empty { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; background: var(--panel); color: var(--fg-3); font-stretch: 62%; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.product-poster .poster-empty { position: relative; aspect-ratio: 2 / 3; font-size: 44px; padding: 28px; }
.more .more-empty { position: relative; aspect-ratio: 16 / 9; }

/* ---------- Kontrollpanel ---------- */
.admin-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 15px; }
.admin-tabs a { text-decoration: none; padding: 10px 12px; border: 1px solid transparent; }
.admin-tabs a:hover { background: var(--panel); }
.admin-tabs a[aria-current="page"] { border-color: var(--line-2); background: var(--panel); }
.admin-tabs form { margin-left: 6px; }
.dash, .editor { padding-top: 40px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 24px; }
.editor { max-width: 1040px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.dash-head .h-l { font-size: clamp(40px, 5vw, 72px); }
.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.a-stats div { background: var(--bg); padding: 18px 20px; display: flex; flex-direction: column-reverse; gap: 6px; }
.a-stats dt { font-size: 13px; color: var(--muted); }
.a-stats dd { margin: 0; font-stretch: 62%; font-weight: 800; font-size: 44px; line-height: 1; }
.a-film-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.film-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; align-items: center; gap: 12px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
@media (max-width: 860px) { .film-row { grid-template-columns: minmax(0, 1fr) auto; } .film-row-actions { grid-column: 1 / -1; } }
.film-row-main { display: flex; align-items: center; gap: 16px; min-width: 0; text-decoration: none; }
.film-row-main:hover .film-row-title { text-decoration: underline; text-underline-offset: 4px; }
.a-thumb { width: 52px; aspect-ratio: 2 / 3; object-fit: cover; flex: none; background: var(--panel); display: block; }
.a-thumb-empty { border: 1px dashed var(--line-3); }
.film-row-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.film-row-title { font-stretch: 62%; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.status-new { background: var(--red); color: #fff; }
.film-row-codes { flex: 0 0 auto; min-width: 80px; line-height: 1.4; }
.film-row-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.dash-head .film-row-actions, .editor .film-row-actions { justify-content: flex-start; }
.film-row-actions a.small-btn { display: inline-flex; align-items: center; text-decoration: none; }
.film-row-actions .move { display: flex; gap: 4px; margin: 0; }
.small-btn[disabled] { opacity: 0.35; cursor: default; }
.mono-s { font-family: var(--mono); font-size: 13px; }

.ed-form { display: flex; flex-direction: column; gap: 24px; }
.ed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ed-wide { grid-column: 1 / -1; }
.ed-h3 { margin: 10px 0 0; font-size: 15px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
select.input { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23EEE9E2' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
select.input option { background: var(--bg); color: var(--fg); }
.input.file { height: auto; padding: 12px; font-size: 14px; }
.input.file::file-selector-button { margin-right: 12px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--panel); color: var(--fg); font: 600 14px var(--display); cursor: pointer; }
.mono-in, .mono-area { font-family: var(--mono) !important; font-size: 14px !important; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--fg); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--fg); margin: 0; }
.chip-radio { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); font-size: 15px; cursor: pointer; }
.chip-radio:has(input:checked) { border-color: var(--fg); background: var(--panel); }
.chip-radio input { accent-color: var(--fg); margin: 0; }
.variants { display: flex; flex-direction: column; gap: 12px; }
.variant { display: grid; grid-template-columns: 2fr 2fr 1.2fr 1fr auto; gap: 12px; align-items: end; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .variant { grid-template-columns: 1fr 1fr; } }
[data-pricing-many] { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
[data-pricing-many][hidden], [data-pricing-one][hidden] { display: none; }
[data-pricing-many] .variants { align-self: stretch; }
.img-pick { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.img-pick-preview { flex: none; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-size: 13px; text-align: center; padding: 0; }
.img-pick-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-frame { width: 120px; aspect-ratio: 2 / 3; }
.banner-frame { width: 120px; aspect-ratio: 16 / 9; }
.img-pick-fields { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.img-tile { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.img-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--panel); }
.img-tile.wide img { aspect-ratio: 16 / 9; }
.img-tile .check { min-height: 36px; font-size: 14px; }
.img-tile:has(input:checked) img { opacity: 0.3; outline: 2px solid var(--err); }
.save-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 16px; padding: 14px 0; background: var(--bg); border-top: 1px solid var(--line-2); }
.save-bar [data-dirty-note] { margin-right: auto; }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--err); }
.input.filled { border-color: var(--ok); box-shadow: inset 3px 0 0 var(--ok); }

.scan { border-color: var(--line-2); background: var(--panel-2); }
.scan-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.drop { flex: 1 1 320px; position: relative; display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 20px; border: 1px dashed var(--line-3); text-align: center; font-size: 15px; cursor: pointer; }
.drop small { color: var(--muted); font-size: 13px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--fg); background: var(--panel); }
.drop:focus-within { outline: 2px solid var(--fg); outline-offset: 2px; }
.scan-actions { flex: 0 1 280px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.scan-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.scan-previews:empty { display: none; }
.scan-previews img { height: 84px; width: auto; display: block; border: 1px solid var(--line); }
.scan-status:empty { display: none; }
.scan pre { white-space: pre-wrap; font: 13px/1.5 var(--mono); color: var(--fg-3); max-height: 320px; overflow: auto; margin: 10px 0 0; }
.scan summary { cursor: pointer; font-size: 14px; }
@media (max-width: 860px) { .admin-body .head-row { flex-direction: column; align-items: flex-start; } }

/* ---------- Showreel øverst på forsiden ---------- */
.reel-hero { position: relative; overflow: hidden; background: #000; height: clamp(560px, 42.5vw, 88vh); display: flex; align-items: flex-end; }
.reel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,14,13,0.92) 0%, rgba(15,14,13,0.55) 32%, rgba(15,14,13,0) 62%); pointer-events: none; }
.reel-content { position: relative; z-index: 1; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 64px; padding-top: 48px; padding-bottom: 56px; }
.reel-content .h-hero { margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.reel-side { max-width: 400px; display: flex; flex-direction: column; gap: 18px; padding-bottom: 10px; }
.reel-side .lead { color: var(--fg); }
.reel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reel-actions .btn { gap: 12px; }
.reel-ghost { background: rgba(15,14,13,0.35); border-color: rgba(238,233,226,0.45); }
.reel-toggle { position: absolute; z-index: 2; top: 20px; right: var(--gutter); background: rgba(15,14,13,0.45); border-color: rgba(238,233,226,0.35); }
.reel-toggle .ico-play { display: none; }
.reel-toggle[aria-pressed="true"] .ico-pause { display: none; }
.reel-toggle[aria-pressed="true"] .ico-play { display: block; }
@media (max-width: 700px) {
  .reel-hero { height: auto; min-height: 0; flex-direction: column; align-items: stretch; }
  .reel-bg { position: relative; inset: auto; aspect-ratio: 1920 / 816; height: auto; }
  .reel-shade { display: none; }
  .reel-content { padding-top: 28px; padding-bottom: 8px; background: var(--bg); }
  .reel-toggle { top: 12px; }
}

/* Når musa står stille over showreelen, toner teksten ut så filmen får hele plassen */
.reel-content, .reel-shade { transition: opacity 500ms ease; }
.reel-idle .reel-content, .reel-idle .reel-shade { opacity: 0; transition: opacity 1400ms ease; }
.reel-idle { cursor: none; }
.reel-idle .reel-content { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .reel-content, .reel-shade, .reel-idle .reel-content, .reel-idle .reel-shade { transition: none; } }

/* «Vi har jobbet med» på mobil: ryddig rutenett med to logoer per rad, like store felt, alt sentrert */
@media (max-width: 700px) {
  .logos { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
  .logos li { justify-content: center; align-items: center; height: 96px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .logos li:nth-child(odd) { border-right: 1px solid var(--line); }
  .logos li:nth-last-child(-n+2):nth-child(odd), .logos li:last-child { border-bottom: 0; }
  .logos img { height: auto !important; max-height: 46px; max-width: 100%; object-fit: contain; }
  .logos .logo-text { font-size: 22px; text-align: center; }
  .logos img[alt="RECO"] { max-height: 30px; }
}

/* Ny kode laget: knapper for å sende koden på e-post */
.new-code { display: flex; flex-direction: column; gap: 14px; }
.new-code-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.new-code-actions .btn { text-decoration: none; }

/* Salg i kontrollpanelet */
.chip-link { display: inline-flex; align-items: center; text-decoration: none; }
.chip-link[aria-current="true"] { background: var(--fg); color: var(--bg); }
table.sales th[scope="row"] { font: 600 15px var(--display); text-transform: none; letter-spacing: 0; color: var(--fg); text-align: left; }
table.sales .num, table.sales th.num { text-align: right; white-space: nowrap; }
table.sales tr.sub th, table.sales tr.sub td { font-weight: 400; color: var(--muted); font-size: 14px; padding-top: 4px; }
table.sales tr.sub th { padding-left: 22px; }
table.sales tfoot th, table.sales tfoot td { border-top: 1px solid var(--line-2); }
.bar { display: inline-block; width: 90px; height: 6px; background: var(--line); vertical-align: middle; }
.bar span { display: block; height: 100%; background: var(--fg); }
.month-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.month-bars li { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 16px; font-size: 15px; }
.month-bars .bar { width: 100%; height: 10px; }
.mb-val { white-space: nowrap; }
.price-form { display: flex; align-items: center; gap: 6px; margin: 0; }
.price-in { width: 72px; height: 36px; padding: 0 8px; background: transparent; border: 1px solid var(--line-3); color: var(--fg); font: 15px var(--display); text-align: right; }
.price-in:focus { border-color: var(--fg); outline: none; }
@media (max-width: 600px) { .month-bars li { grid-template-columns: 1fr auto; } .month-bars .bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- Faktura og tilbud ---------- */
.chip.on { background: var(--fg); color: var(--bg); }
.st { display: inline-block; padding: 3px 9px; border: 1px solid var(--line-2); font-size: 13px; white-space: nowrap; }
.st-sendt { border-color: #6B5A2E; color: #E3C77A; }
.st-betalt, .st-akseptert { border-color: #3D6B47; color: var(--ok); }
.st-forfalt, .st-avslatt { border-color: #7A3A33; color: var(--err); }
.st-kreditert { color: var(--muted); text-decoration: line-through; }
table.docs .row-acts { display: flex; gap: 8px; justify-content: flex-end; }
table.docs a.small-btn { display: inline-flex; align-items: center; text-decoration: none; }
.dl-list { display: flex; flex-direction: column; gap: 0; }
.dl-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.dl-row:first-child { border-top: 0; padding-top: 0; }
.dl-main { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dl-main .field, .dl-nums .field { gap: 6px; font-size: 13px; }
.dl-main .input, .dl-nums .input { height: 44px; font-size: 15px; }
.dl-pick .input { color: var(--fg-3); }
.dl-nums { display: grid; grid-template-columns: 64px 1fr 1fr 84px; gap: 10px; align-content: start; align-items: end; }
form[data-mva="0"] .dl-nums { grid-template-columns: 70px 1fr 1fr; }
.dl-nums .field[hidden] { display: none; }
.dl-sum { grid-column: 1 / -2; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; padding-top: 6px; }
.dl-x { grid-column: -2 / -1; grid-row: 2; justify-self: end; }
.dl-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.dl-totals { margin: 0; min-width: 260px; display: flex; flex-direction: column; gap: 6px; }
.dl-totals div { display: flex; justify-content: space-between; gap: 24px; color: var(--fg-3); }
.dl-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.dl-totals .big { border-top: 1px solid var(--fg); padding-top: 8px; color: var(--fg); font-weight: 800; font-size: 22px; }
.dl-cust .input { height: 44px; min-width: 240px; }
.svc-list { display: flex; flex-direction: column; }
.svc-row { display: grid; grid-template-columns: 1.2fr 1.6fr 130px 110px 90px auto; gap: 10px; align-items: end; padding: 14px 0; border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row .field { gap: 6px; font-size: 13px; }
.svc-row .input { height: 44px; font-size: 15px; }
.svc-del { min-height: 44px; font-size: 14px; color: var(--muted); }
.mail-preview { border: 1px solid var(--line-2); background: var(--panel-2); padding: 18px 20px; max-height: 460px; overflow: auto; }
.mail-preview .mp-sub { margin: 0 0 12px; font-weight: 600; }
.mail-preview pre { margin: 0; white-space: pre-wrap; font: 15px/1.55 var(--display); color: var(--fg-2); }
.mail-tpl { height: auto; min-height: 520px; padding: 14px; font: 15px/1.55 var(--display); }
.ph-list { margin: 0; padding-left: 18px; color: var(--fg-3); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.ph-list code { font-family: var(--mono); font-size: 13px; color: var(--fg); background: var(--panel); padding: 1px 5px; }
.send-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.status-row .chip { min-height: 38px; padding: 0 14px; font-size: 14px; }
.cust-list { list-style: none; margin: 0; padding: 0; }
.cust-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.empty-docs { max-width: 720px; }
@media (max-width: 860px) {
  .dl-row { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row .svc-detail { grid-column: 1 / -1; }
}
.brreg { position: relative; display: flex; flex-direction: column; gap: 8px; }
.brreg .field .muted-s { display: inline; font-size: 13px; }
.brreg-hits { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-2); max-height: 340px; overflow: auto; background: var(--panel-2); }
.brreg-hits li + li { border-top: 1px solid var(--line); }
.brreg-hits button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; background: transparent; border: 0; color: var(--fg); font: 15px var(--display); text-align: left; cursor: pointer; }
.brreg-hits button:hover, .brreg-hits button:focus-visible { background: var(--panel); outline: none; }
.brreg-hits button span { font-size: 13px; color: var(--muted); }
.mail-paper { background: #fff; color: #1d1b19; padding: 22px 24px; }
.mail-paper a { color: #1d1b19; }

/* ---------- Kommer snart og filter i butikken ---------- */
.badge-soon { left: 14px; background: #E3C77A; color: var(--bg); }
.price-soon { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #E3C77A; }
.soon-tag { align-self: flex-start; padding: 5px 10px; background: #E3C77A; color: var(--bg); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.soon-box { border: 1px solid var(--line-2); padding: 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.soon-box p { margin: 0; font-size: 16px; color: var(--fg-2); }
.status-soon { background: #E3C77A; color: var(--bg); }
.shop-filters { margin-bottom: 40px; }
.credit-group dt:empty { display: none; }

/* Mobil: to plakater i bredden under «Tidligere arbeid», så forsiden ikke blir så lang */
@media (max-width: 640px) {
  .grid-posters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .grid-posters .card { gap: 12px; }
  .grid-posters .card-title { font-size: 21px; overflow-wrap: anywhere; }
  .grid-posters .card-meta { font-size: 13px; }
  .grid-posters .card-link { font-size: 14px; padding: 8px 0; }
  .grid-posters .badge { top: 8px; padding: 3px 6px; font-size: 9.5px; }
  .grid-posters .badge-new, .grid-posters .badge-soon { left: 8px; }
  .grid-posters .badge-sale { right: 8px; }
}
.soon-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; width: 100%; }
.soon-form .field { flex: 1 1 240px; font-size: 15px; font-weight: 600; color: var(--fg); }
.notify-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.notify-list li { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.notify-list .mails { font-family: var(--mono); font-size: 13px; color: var(--fg-2); word-break: break-all; }
.notify-list .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.notify-list a.small-btn { display: inline-flex; align-items: center; text-decoration: none; }

/* Hva skjer: arrangementer, kontaktsøk og kilder */
.radar-area { margin: 10px 0 0; }
.radar-list, .contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.radar-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.radar-date { font-family: var(--mono); font-size: 13px; color: var(--fg-2); text-transform: uppercase; }
.radar-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.radar-main a { font-weight: 600; overflow-wrap: anywhere; }
.radar-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.radar-search, .radar-add { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.radar-add { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 0.7fr) auto; }
.contact-list li { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-head { display: flex; flex-direction: column; gap: 3px; }
.contact-info { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; overflow-wrap: anywhere; }
.contact-actions a.small-btn { display: inline-flex; align-items: center; text-decoration: none; }
@media (max-width: 760px) {
  .radar-list li { grid-template-columns: minmax(0, 1fr); }
  .radar-search, .radar-add { grid-template-columns: minmax(0, 1fr); }
}

.radar-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.radar-list li { align-items: start; }
.radar-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.radar-actions { justify-content: flex-end; max-width: 420px; }
.radar-actions a.small-btn { display: inline-flex; align-items: center; text-decoration: none; }
.small-btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 600; }
@media (max-width: 760px) { .radar-actions { justify-content: flex-start; max-width: none; } }

/* Hva skjer: typefilter og eget arrangement */
.radar-filter { margin: 4px 0; }
.radar-filter .chip { min-height: 38px; padding: 0 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.chip-n { font-family: var(--mono); font-size: 11px; opacity: 0.7; }
.radar-cat { color: var(--fg-2); font-weight: 600; }
.radar-list li[hidden], .radar-list[hidden], .radar-area[hidden] { display: none; }
.radar-manual { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.radar-manual .rm-wide { grid-column: span 2; }
@media (max-width: 760px) { .radar-manual { grid-template-columns: minmax(0, 1fr); } .radar-manual .rm-wide { grid-column: auto; } }

/* Hva skjer: Mine oppdrag */
.small-btn.ok { border-color: var(--ok); color: var(--ok); }
.job-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.job-list li { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.job-list li.done { opacity: 0.75; }
.job-top { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px 18px; align-items: start; }
.job-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr) auto; gap: 10px; align-items: end; }
.job-form .field { font-size: 13px; }
@media (max-width: 900px) { .job-top, .job-form { grid-template-columns: minmax(0, 1fr); } }

/* Isadoras hjørne i kontrollpanelet */
.isa-top-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.isa-up { display: flex; flex-direction: column; gap: 16px; }
.isa-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 34px 20px; border: 2px dashed var(--line); border-radius: 14px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.isa-drop:hover, .isa-drop.over { border-color: var(--fg); background: rgba(255,255,255,0.03); }
.isa-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.isa-drop-big { font-weight: 700; font-size: 18px; }
.isa-queue, .isa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.isa-q { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 20px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.isa-q.ok { border-color: #3D6B47; }
.isa-q.err { border-color: #8A3A3A; }
.isa-q-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.isa-q-head b { overflow-wrap: anywhere; }
.isa-q-head .small-btn { margin-left: auto; }
.isa-q-fields { display: flex; flex-direction: column; gap: 12px; }
.isa-prog { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.isa-prog span { display: block; height: 100%; width: 0; background: var(--ok); transition: width .3s; }
.isa-q-msg { grid-column: 1 / -1; margin: 0; }
.isa-pick { display: flex; flex-direction: column; gap: 10px; }
.isa-pick-video { aspect-ratio: 9 / 16; max-height: 320px; width: 100%; background: #000; border-radius: 10px; overflow: hidden; display: flex; justify-content: center; }
.isa-pick-video video { width: 100%; height: 100%; object-fit: contain; }
.isa-pick-range input { width: 100%; accent-color: var(--fg); }
.isa-up-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.isa-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.isa-thumb { width: 110px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #5a3460, #c23f6c); }
.isa-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.isa-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.isa-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.isa-edit { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.isa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.isa-repost { max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 700px) {
  .isa-q { grid-template-columns: minmax(0, 1fr); }
  .isa-list li { grid-template-columns: 72px minmax(0, 1fr); }
  .isa-thumb { width: 72px; }
  .isa-edit { grid-template-columns: minmax(0, 1fr); }
}

.isa-pickers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .isa-pickers { grid-template-columns: minmax(0, 1fr); } }

.gb-admin { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gb-admin li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.gb-admin p { margin: 6px 0 0; overflow-wrap: anywhere; }
.isa-comments summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
