/* public/portal/modelstatus.css — Modelstatus-siden (public/portal/modelstatus.js). Bygger på GT UI,
   app-side.css og IKT Status-klasserne (.is, .is-hoved, .is-seg, .is-fyld i ikt-status.css). */
.ms { display: flex; flex-direction: column; gap: 16px; }
.ms-claude { display: flex; flex-direction: column; gap: 8px; }
.ms-claude-top { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ms-claude-top .app-u { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ms-prik { width: 8px; height: 8px; border-radius: 99px; background: var(--gt-accent); }
#ms-claude-tekst p { font-size: 16px; line-height: 1.55; max-width: 860px; }
#ms-claude-tekst p + p { margin-top: 8px; }
.ms .is-seg button[aria-pressed="true"] { background: var(--gt-tekst); color: var(--gt-flade); }
.ms-hoved { padding-bottom: 16px; }

.ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.ms-skelet { height: 220px; margin: 0; }
.ms-kort { display: flex; flex-direction: column; gap: 12px; text-align: left; cursor: pointer; font: inherit; color: inherit; width: 100%; }
.ms-kort:hover { border-color: var(--gt-accent); }
.ms-kort:focus-visible { outline: 2px solid var(--gt-tekst); outline-offset: 2px; }
.ms-kort-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ms-navn { font-family: Georgia, serif; font-size: 20px; font-weight: 600; }
.ms-under { font-size: 13px; color: var(--gt-tekst2); }
.ms-st { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.ms-st-ok { background: rgba(27, 122, 58, .14); color: #1b7a3a; }
.ms-st-se { background: rgba(192, 57, 43, .12); color: #c0392b; }
.ms-st-ikke { border: 1px dashed var(--gt-kant); color: var(--gt-tekst2); }

.ms-fag { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.ms-f { border-radius: 8px; padding: 8px; background: var(--gt-flade2); border: 1px solid var(--gt-kant); border-top-width: 4px; min-height: 64px; display: flex; flex-direction: column; gap: 2px; }
.ms-f b { font-size: 13px; }
.ms-f span { font-size: 12px; color: var(--gt-tekst2); line-height: 1.3; }
.ms-f .ms-f-tal { font-size: 13px; font-weight: 700; color: var(--gt-tekst); }
.ms-f-groen { border-top-color: #1b7a3a; }
.ms-f-gul { border-top-color: #e3a92a; }
.ms-f-roed { border-top-color: #c0392b; }
.ms-f-ikke { border-style: dashed; border-top-width: 1px; background: transparent; }

.ms-bund { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--gt-kant); padding-top: 8px; margin-top: auto; }
.ms-linje { font-size: 14px; color: var(--gt-tekst2); }
.ms-linje b { color: var(--gt-tekst); }
.ms-prikker { display: flex; gap: 3px; flex-shrink: 0; }
.ms-pk { width: 8px; height: 8px; border-radius: 99px; display: block; }
.ms-pk-groen { background: #1b7a3a; }
.ms-pk-gul { background: #e3a92a; }
.ms-pk-roed { background: #c0392b; }
.ms-pk-ikke { border: 1px dashed var(--gt-kant); }

.ms-baggrund { position: fixed; inset: 0; background: rgba(51, 50, 44, .45); z-index: 30; display: grid; place-items: center; padding: 16px; }
.ms-baggrund[hidden] { display: none; }
.ms-vindue { width: min(900px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.ms-v-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ms-v-top h2 { font-family: Georgia, serif; font-size: 26px; font-weight: 600; }
.ms-v-tekst { font-size: 15px; line-height: 1.55; background: var(--gt-flade2); border-left: 3px solid var(--gt-accent); border-radius: 8px; padding: 12px 16px; }
.ms-tabel { display: flex; flex-direction: column; border: 1px solid var(--gt-kant); border-radius: 8px; overflow: hidden; }
.ms-mx { display: grid; grid-template-columns: minmax(200px, 2.4fr) repeat(var(--fag, 1), minmax(56px, 1fr)); gap: 8px; padding: 10px 12px; font-size: 14px; align-items: center; border-top: 1px solid var(--gt-kant); }
.ms-mx:first-child { border-top: none; }
.ms-mx-hoved { background: var(--gt-tekst); color: var(--gt-flade); font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.ms-mx-hoved span:not(:first-child) { text-align: center; }
.ms-fn { font-weight: 600; }
.ms-mx-krav .app-u { font-size: 12px; line-height: 1.35; }
.ms-c { text-align: center; font-weight: 700; font-size: 13px; padding: 6px 0; border-radius: 6px; }
.ms-c-groen { background: rgba(27, 122, 58, .14); color: #1b7a3a; }
.ms-c-gul { background: rgba(227, 169, 42, .22); color: #7a5a10; }
.ms-c-roed { background: rgba(192, 57, 43, .12); color: #c0392b; }
.ms-c-ikke { color: var(--gt-tekst2); font-weight: 400; }

@media (max-width: 720px) {
  .ms-fag { grid-template-columns: repeat(3, 1fr); }
  .ms-bund { flex-direction: column; align-items: flex-start; }
  .ms-v-top h2 { font-size: 22px; }
  #ms-claude-tekst p { font-size: 15px; }
  .ms-mx-hoved { display: none; }
  .ms-mx { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .ms-mx-krav { grid-column: 1 / -1; }
  .ms-c::before { content: attr(data-fag); display: block; font-size: 11px; font-weight: 600; opacity: .8; }
}
