@font-face {
  font-family: Inter;
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Semantic palette shared by every screen and business component. */
:root {
  color-scheme: light;
  --ink: #17181b;
  --orange: #ff5a1f;
  --paper: #ffffff;
  --app-bg: #f6f7f9;
  --muted: #606670;
  --subtle: #6c727d;
  --surface: #f1f3f6;
  --surface-soft: #f8f9fb;
  --surface-hover: #e9edf2;
  --field: #ffffff;
  --peach: #fff1eb;
  --accent-border: #efcebd;
  --accent-text: #92320f;
  --on-accent: #17130f;
  --border: #dfe3e9;
  --border-hover: #b9c1cd;
  --border-focus: #8d98a8;
  --blue: #a4370e;
  --action-bg: #17181b;
  --action-text: #ffffff;
  --action-hover: #33363d;
  --disabled-bg: #eef0f4;
  --disabled-text: #737b88;
  --table-hover: #fffaf7;
  --table-focus: #fff2eb;
  --danger-bg: #fff0ed;
  --danger-text: #a52c20;
  --danger-border: #edc9c2;
  --warning-bg: #fff5e5;
  --warning-text: #805016;
  --success-bg: #edf8ef;
  --success-text: #245f33;
  --success-border: #cde5d3;
  --selection: #ffd1bf;
  --selection-text: #17181b;
  --hero-bg: #111216;
  --hero-text: #ffffff;
  --hero-muted: #b8bec9;
  --hero-decoration: #23262d;
  --shadow: 0 4px 20px #17181b05;
  --nav-shadow: 0 1px 3px #17181b08;
  --drawer-shadow: 8px 0 28px #0000001f;
  --overlay: #11121666;
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23606a78' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  --sidebar: 248px;
  --header: 72px;
  --scroll-offset: 176px;
  --radius: 14px;
  --control-height: 44px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1f3f7;
  --paper: #1a1d23;
  --app-bg: #111318;
  --muted: #b7bdc9;
  --subtle: #a4adbd;
  --surface: #272c35;
  --surface-soft: #20242c;
  --surface-hover: #303744;
  --field: #20252e;
  --peach: #34261f;
  --accent-border: #70442f;
  --accent-text: #ffb28f;
  --border: #3a424f;
  --border-hover: #5c6779;
  --border-focus: #8997ad;
  --blue: #ffab83;
  --action-bg: #ff713f;
  --action-text: #17130f;
  --action-hover: #ff946e;
  --disabled-bg: #252a33;
  --disabled-text: #a0a9b8;
  --table-hover: #292821;
  --table-focus: #35291f;
  --danger-bg: #3d2427;
  --danger-text: #ffb7ad;
  --danger-border: #824248;
  --warning-bg: #372d1c;
  --warning-text: #f6cf8c;
  --success-bg: #1e3429;
  --success-text: #9ee1b1;
  --success-border: #3a6a4c;
  --selection: #81482d;
  --selection-text: #ffffff;
  --hero-bg: #0c0e12;
  --hero-text: #f4f6fa;
  --hero-muted: #adb6c6;
  --hero-decoration: #20242d;
  --shadow: 0 6px 24px #00000018;
  --nav-shadow: 0 1px 4px #00000024;
  --drawer-shadow: 8px 0 28px #00000055;
  --overlay: #00000088;
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b7bdc9' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--app-bg);
  font:
    14px/1.6 Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

[hidden] {
  display: none !important;
}

button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition:
    background 0.14s,
    border-color 0.14s,
    transform 0.14s;
}

button:hover:not(:disabled) {
  background: var(--surface);
  border-color: var(--border-hover);
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

button.primary {
  background: var(--action-bg);
  border-color: var(--action-bg);
  color: var(--action-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button.primary:hover:not(:disabled) {
  background: var(--action-hover);
  border-color: var(--action-hover);
}

button:disabled {
  cursor: default;
  opacity: 0.46;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.scroll:focus-visible,
.drop:focus-within {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.14s;
}

textarea {
  resize: vertical;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--border-focus);
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
  cursor: pointer;
}

input:disabled,
textarea:disabled,
select:disabled {
  color: var(--disabled-text);
  background: var(--disabled-bg);
}

::selection {
  background: var(--selection);
  color: var(--ink);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

h1,
h2,
h3,
h4 {
  font-weight: 580;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

h1 {
  font-size: 42px;
  margin: 8px 0 14px;
  letter-spacing: -1.8px;
}

h2 {
  font-size: 23px;
  margin: 0 0 18px;
}

h3 {
  font-size: 19px;
  margin: 22px 0 14px;
}

h4 {
  font-size: 16px;
  margin: 18px 0 10px;
}

p {
  margin: 0 0 12px;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin: 0 0 14px;
}

.eyebrow:before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--orange);
  flex: none;
}

.section-head,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head {
  flex-wrap: wrap;
}

.section-head h2,
.section-head h3 {
  margin: 0;
}

.actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-grid > label {
  min-width: 0;
}

.wide {
  grid-column: 1/-1;
}

label {
  font-size: 13px;
  font-weight: 450;
}

label input,
label select,
label textarea {
  font-size: 14px;
  font-weight: 400;
}

.panel {
  padding: 26px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
}

.request-form {
  margin: 24px 0;
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  scroll-margin-top: var(--scroll-offset);
}

.request-form h3 {
  margin-top: 0;
}

.request-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.request-form input,
.request-form select {
  width: 100%;
}

.request-form .actions > * {
  max-width: 100%;
}
