/* Industry design system — vendored from the Claude Design project "Industry".
   Source of truth is that project; re-vendor rather than editing tokens here.

   Changed on vendoring: the upstream sheet pulls Barlow from Google Fonts via
   @import. Serving a compliance product to EU customers should not hand every
   visitor's IP to a third party on page load, so the faces below are served
   from wwwroot/design/fonts instead. Same files, same unicode-ranges. */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-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: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-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: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500-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: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500-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: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-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: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-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;
}


/* ── Vendoring note: scoping ──────────────────────────────────────────────
   The upstream sheet styles `body`, `h1`–`h6`, `p`, `a`, `img`, `*` and
   `:focus-visible` as bare element rules, and App.razor links every
   stylesheet application-wide. Left alone, linking this file would restyle
   the whole signed-in application and fight MudBlazor.

   Every rule below is therefore scoped under `.industry`, and `:root` /
   `body` are folded into that class. Put `.industry` on the outermost
   element of a page that wants this system; nothing outside it is touched.
   Re-vendoring means re-running this transform, not hand-editing.
   ────────────────────────────────────────────────────────────────────── */

.industry{
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f5f5f8;
  --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b;
  --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3;
  --color-accent-500: #749dc4;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --color-accent-2-100: #eef6ff;
  --color-accent-2-200: #d6ebff;
  --color-accent-2-300: #bdd8f2;
  --color-accent-2-400: #9ebbd8;
  --color-accent-2-500: #7e9cb8;
  --color-accent-2-600: #627d98;
  --color-accent-2-700: #486077;
  --color-accent-2-800: #314457;
  --color-accent-2-900: #1f2d3a;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);
}

.industry{
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
.industry h1, .industry h2, .industry h3, .industry h4{ font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.industry .blueprint{
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: 0;
}
/* The overlay image treatments (halftone, duotone) clip their overlay
   (overflow:hidden); a blueprint wrapper draws its registration marks
   outside the box, so when both classes share a wrapper the frame must
   win. */
.industry .blueprint.halftone, .industry .blueprint.plate, .industry .blueprint.duotone{ overflow: visible; }
.industry .blueprint > .corner{
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.industry .blueprint > .corner::before, .industry .blueprint > .corner::after{
  content: ""; position: absolute; background: currentColor;
}
.industry .blueprint > .corner::before{ left: 5px; top: 0; width: 1px; height: 100%; }
.industry .blueprint > .corner::after{ top: 5px; left: 0; width: 100%; height: 1px; }
.industry .blueprint > .corner.tl{ top: -6px; left: -6px; }
.industry .blueprint > .corner.tr{ top: -6px; right: -6px; }
.industry .blueprint > .corner.bl{ bottom: -6px; left: -6px; }
.industry .blueprint > .corner.br{ bottom: -6px; right: -6px; }

.industry .duotone{position:relative;overflow:hidden}
.industry .duotone::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--color-accent);mix-blend-mode:color}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

.industry *, .industry *::before, .industry *::after{ box-sizing: border-box; }
.industry{ margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
.industry h1, .industry h2, .industry h3, .industry h4, .industry h5, .industry h6{
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
.industry h1{ font-size: 42px; }
.industry h2{ font-size: 32px; }
.industry h3{ font-size: 25px; }
.industry h4{ font-size: 20px; }
.industry h5{ font-size: 16px; }
.industry h6{ font-size: 13px; }
.industry h6{ letter-spacing: 0.08em; text-transform: uppercase; }
.industry p{ margin: 0 0 var(--space-3); }
.industry a{ color: var(--color-accent); text-underline-offset: 3px; }
.industry img{ display: block; max-width: 100%; }
.industry figure{ margin: 0; }
.industry figcaption{
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.industry .text-muted{ color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.industry :focus{ outline: none; }
.industry :focus-visible{ outline: 2px solid var(--color-accent); outline-offset: 2px; }
.industry ::selection{ background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.industry .hr{
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.industry .btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.industry .btn svg{ display: block; }
.industry .btn:disabled{ opacity: 0.45; cursor: not-allowed; }
.industry .btn-primary{ background: var(--color-accent); color: var(--color-bg); }
.industry .btn-primary:hover{ background: var(--color-accent-600); }
.industry .btn-primary:active{ background: var(--color-accent-700); }
.industry .btn-secondary{ border-color: var(--color-divider); }
.industry .btn-secondary:hover{ background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.industry .btn-secondary:active{ background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.industry .btn-ghost{ color: var(--color-accent); padding-inline: var(--space-1); }
.industry .btn-ghost:hover{ background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.industry .btn-ghost:active{ background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.industry .btn-icon{ width: 36px; height: 36px; padding: 0; }
.industry .btn-block{ width: 100%; margin-top: var(--space-2); }

/* — forms — */
.industry .field > label{
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.industry .input{
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.industry .input:hover{ border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.industry .input:focus-visible{ border-color: var(--color-accent); outline-offset: 0; }
.industry textarea.input{ min-height: 90px; resize: vertical; }
.industry .radio{ display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.industry .radio input, .industry .seg-opt input{
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.industry .radio .dot{
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.industry .radio:hover .dot{ border-color: var(--color-accent); }
.industry .radio input:checked + .dot{
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.industry .radio input:focus-visible + .dot{ outline: 2px solid var(--color-accent); outline-offset: 2px; }
.industry .seg{
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.industry .seg-opt{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.industry .seg-opt + .seg-opt{ border-left: 1px solid var(--color-divider); }
.industry .seg-opt:has(input:checked){ background: var(--color-accent); color: var(--color-bg); }
.industry .seg-opt:not(:has(input:checked)):hover{ background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.industry .seg-opt:has(input:focus-visible){ outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.industry .card{
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.industry .card-kicker{ font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.industry .card-title{
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.industry .card-body{ margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.industry .card-meta{
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.industry .elev-sm{ box-shadow: var(--shadow-sm); }
.industry .elev-md{ box-shadow: var(--shadow-md); }
.industry .elev-lg{ box-shadow: var(--shadow-lg); }

/* — tags — */
.industry .tag{
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.industry .tag-accent{ background: var(--color-accent-100); color: var(--color-accent-800); }
.industry .tag-accent-2{ background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.industry .tag-neutral{ background: var(--color-neutral-100); color: var(--color-neutral-800); }
.industry .tag-outline{ border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.industry .nav{
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.industry .nav-brand{
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.industry .nav a{ color: inherit; text-decoration: none; font-size: 14px; }
.industry .nav a:hover, .industry .nav a[aria-current='page']{ color: var(--color-accent); }

/* — tables — */
.industry .table{ width: 100%; border-collapse: collapse; font-size: 14px; }
.industry .table th{
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.industry .table td{
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.industry .table tbody tr:hover{ background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.industry .dialog-backdrop{
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.industry .dialog{
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.industry .dialog-title{
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.industry .dialog-body{ font-size: 14px; opacity: 0.85; }
.industry .dialog-actions{ display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — blueprint frame: components are wireframe objects (see .blueprint
     and .corner above) — square, transparent, hairline-bordered — */
.industry .card, .industry .btn, .industry .input, .industry .tag, .industry .seg, .industry .dialog{ border-radius: 0; }
.industry .card, .industry .dialog{ background: transparent; border: 1px solid var(--color-divider); }
.industry .btn{ border: 1px solid var(--color-divider); }
.industry .btn-primary{ border-color: var(--color-accent); }
.industry .btn-ghost{ border-color: transparent; }
