/* Patua One and Roboto (SIL OFL / Apache 2.0), self-hosted: no request to Google. */
@font-face { font-family: 'Patua One'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(/assets/themes/nettstar/patua-one-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/assets/themes/nettstar/roboto-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/assets/themes/nettstar/roboto-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/*
 * Nettstar theme for Min Side (minside.nettstar.no), from nettstar.no
 * (01.10.2026): orange #ec6a1c as the action colour, near-black #0a0807 top
 * bar with the white logo and white upper-case menu, light #f8fafb page with
 * white cards, Patua One headings and Roboto text, rounded upper-case
 * buttons. Only the avur-ui.css tokens and a few components are overridden,
 * so every page follows. Light only, as the website: the selectors match the
 * dark-mode token blocks in avur-ui.css and win by coming later.
 * Loaded by includes/header.php when tenant setting minside_theme = nettstar.
 */
:root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
    --au-midnight:   #ec6a1c;   /* primary action */
    --au-midnight-2: #d05a12;
    --au-mint:       #ec6a1c;   /* accent (active tab, selected) */
    --au-mint-dark:  #b8500f;   /* links, AA on white */
    --au-mint-soft:  #fdf1e8;   /* selected wash */
    --au-bg:         #f8fafb;
    --au-panel:      #ffffff;
    --au-surface:    #ffffff;
    --au-border:     #e7e9eb;
    --au-border-strong: #c9ced3;
    --au-text:       #0a0807;
    --au-text-2:     #4f4f4f;
    --au-text-3:     #7c7c7c;
    --au-ok:      #13612e;  --au-ok-bg:     #e8f3ec;
    --au-warn:    #93650f;  --au-warn-bg:   #faf3e2;
    --au-danger:  #b82105;  --au-danger-bg: #fbeceb;
    --au-info:    #1159af;  --au-info-bg:   #eaf1fa;
    --au-radius:     12px;
    --au-radius-sm:  8px;
    --au-pill:       25px;
    --au-focus-ring: 0 0 0 3px rgba(236,106,28,.30);
    --au-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color-scheme: light;
}
body { background: var(--au-bg); color: var(--au-text); }

/* Top bar: dark, white logo, white upper-case menu, orange line. */
.topnav { background: #0a0807; border-bottom: 3px solid #ec6a1c; height: 72px; }
.topnav-brand, .topnav-brand:visited { color: #ffffff; }
.topnav-brand img { height: 40px; filter: none !important; }
.topnav-links a { color: rgba(255,255,255,.82); text-transform: uppercase; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; }
.topnav-links a:hover, .topnav-links a.active { color: #ffffff; }
.topnav-links a.active::after { background: #ec6a1c; }
.topnav-links a.logout { color: rgba(255,255,255,.6); }

/* Headings in the site's display face. */
.page-title, .card-title, .card h2, h1, h2 { font-family: 'Patua One', Georgia, serif; font-weight: 400; letter-spacing: 0; }
.page-title { font-size: 34px; }

/* Cards: white on the light page, as on nettstar.no. */
.card { background: #ffffff; box-shadow: 0 1px 3px rgba(10,8,7,.06), 0 6px 20px rgba(10,8,7,.04); }

/* Buttons: rounded, upper case, spaced. */
.btn { text-transform: uppercase; letter-spacing: .08em; font-size: 13.5px; font-weight: 500; }
.btn-sm { font-size: 12.5px; }
.btn-primary, .btn-accent { background: #ec6a1c; color: #ffffff; }
.btn-primary:hover, .btn-accent:hover { background: #d05a12; }
