@font-face { font-family: "Studio Plex"; src: local("IBM Plex Sans"); font-display: swap; }
@font-face { font-family: "Studio Condensed"; src: local("IBM Plex Sans Condensed Bold"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Studio Mono"; src: local("IBM Plex Mono"); font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f1e9d6;
  --surface: #faf5e8;
  --ink: #10262d;
  --muted: #40575c;
  --line: #a5aca1;
  --azure: #009ccc;
  --azure-light: #72d2e9;
  --azure-soft: #dceef0;
  --error: #9b3427;
  --error-soft: #f7e5dc;
  --success: #205d46;
  --success-soft: #d9eee7;
  --space: 8px;
  --sans: "Studio Plex", "Trebuchet MS", sans-serif;
  --display: "Studio Condensed", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  --mono: "Studio Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); background-image: radial-gradient(#10262d12 .6px, transparent .6px); background-size: 5px 5px; font: 16px/1.55 var(--sans); }
::selection { background: var(--azure-light); color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary, .button { cursor: pointer; touch-action: manipulation; }
button { border-radius: 0; }
button:disabled { cursor: not-allowed; }
:is(a, button, input, textarea, select, summary):focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: #006d91; outline-offset: 2px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; }
h1, h2 { font-family: var(--display); letter-spacing: -.04em; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p + p { margin-top: 8px; }
.container { width: min(1312px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 5; padding: 12px 16px; color: var(--surface); background: var(--ink); }
.skip-link:focus { top: 8px; }
.site-header { border-bottom: 1px solid var(--ink); background: var(--surface); }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 24px/1 var(--display); letter-spacing: -.04em; }
.brand img { object-fit: contain; flex: none; }
.brand-sub { display: block; margin-top: 8px; color: var(--muted); font: 11px/1.2 var(--mono); letter-spacing: .08em; }
.header-nav { display: flex; align-items: stretch; align-self: stretch; gap: 32px; font-size: 14px; }
.header-nav a { min-height: 48px; display: flex; align-items: center; gap: 16px; text-decoration: none; }
.header-nav a:hover { color: #006d91; }
.header-nav .current { border-bottom: 3px solid var(--azure); font-weight: 700; }
.intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; padding-block: 48px 40px; align-items: end; }
.eyebrow { font: 12px/1.5 var(--mono); letter-spacing: .07em; }
h1 { margin-top: 20px; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.03; }
h1 span { color: #006d91; }
.intro-copy { margin-top: 20px; max-width: 570px; color: var(--muted); }
.process-note { padding-left: 32px; border-left: 1px solid var(--ink); }
.process { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.process li { display: flex; gap: 20px; align-items: baseline; }
.process-number { color: #006d91; font: 14px var(--mono); }
.process strong, .process li div > span { display: block; }
.process li div > span { color: var(--muted); font-size: 14px; }
.notice { padding: 18px 24px; border: 1px solid var(--ink); }
.provision-notice { border-left: 5px solid var(--azure); background: var(--azure-soft); font-size: 15px; }
.error-notice { margin-top: 16px; background: var(--error-soft); color: var(--error); }
.workspace { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px; margin-top: 40px; align-items: start; }
.cases, .new-request, .workspace > *, .filters > *, .request-button > *, .request-detail > *, .two-fields > * { min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 8px; }
.count { vertical-align: middle; margin-left: 8px; border: 1px solid var(--ink); padding: 2px 8px; font: 14px/1.4 var(--mono); letter-spacing: 0; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 11px 18px; border: 1px solid var(--ink); font-size: 16px; font-weight: 700; line-height: 1.45; text-decoration: none; text-align: center; transition: background-color 140ms, color 140ms; }
.button.primary { color: var(--surface); background: var(--ink); }
.button.primary:hover:not(:disabled) { color: var(--ink); background: var(--azure-light); }
.button.secondary { background: transparent; }
.button.secondary:hover:not(:disabled) { background: var(--azure-soft); }
.button.danger { color: var(--error); border-color: var(--error); background: transparent; }
.button.danger:hover:not(:disabled) { background: var(--error-soft); }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled, .button[aria-disabled="true"] { background: #e4dfd2; color: #546264; border-color: #8c9691; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: 16px; margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
input, textarea, select { width: 100%; min-height: 48px; border: 1px solid var(--ink); border-radius: 0; background: var(--surface); padding: 11px 12px; font-size: 16px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #66716b; opacity: 1; }
textarea { display: block; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border: 2px solid var(--error); }
.request-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.request-button { min-height: 100px; width: 100%; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; border: 0; border-bottom: 1px solid var(--ink); border-left: 4px solid transparent; background: var(--surface); text-align: left; font-size: 16px; }
.request-button:hover { background: var(--azure-soft); }
.request-button[aria-pressed="true"] { border-left-color: var(--azure); background: var(--azure-soft); }
.request-title { display: block; font-weight: 700; overflow-wrap: anywhere; }
.request-meta { display: block; margin-top: 6px; color: var(--muted); font: 12px/1.5 var(--mono); overflow-wrap: anywhere; }
.state-label { display: inline-block; max-width: 100%; padding: 4px 8px; border: 1px solid currentColor; color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.state-quote_sent, .state-accepted, .state-provisioning, .state-payment_confirmed { color: #006079; background: var(--azure-soft); }
.state-ready { color: var(--success); background: var(--success-soft); }
.state-blocked, .state-rejected { color: var(--error); background: var(--error-soft); }
.list-message { border: 1px solid var(--line); background: var(--surface); padding: 32px; min-height: 200px; }
.list-message p { margin-block: 12px 20px; color: var(--muted); }
.empty-index { display: block; margin-bottom: 20px; color: #006d91; font: 28px var(--mono); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-weight: 700; }
.loading-mark { display: inline-block; width: 12px; height: 12px; margin-right: 12px; background: var(--azure); animation: pulse 1s ease-in-out infinite alternate; }
.request-detail { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ink); overflow-wrap: anywhere; }
.detail-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 16px; }
.detail-heading h3 { margin-top: 8px; font-size: 24px; }
.detail-heading .state-label { flex: none; max-width: 45%; }
.requirements-copy, .terms-copy { margin-top: 12px; white-space: pre-wrap; color: var(--muted); }
.detail-section { margin-top: 24px; }
.detail-section + .detail-section { padding-top: 24px; border-top: 1px solid var(--line); }
.timeline { list-style: none; margin: 16px 0 0 8px; padding: 0 0 0 24px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; width: 9px; height: 9px; top: 7px; left: -29px; background: var(--ink); border: 2px solid var(--paper); }
.timeline time { display: block; margin-top: 4px; color: var(--muted); font: 12px/1.5 var(--mono); }
.timeline-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.quote-summary { background: var(--surface); border: 1px solid var(--ink); margin-top: 24px; padding: 24px; }
.quote-summary h4 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.quote-version { color: var(--muted); font: 12px var(--mono); }
.quote-prices { display: grid; grid-template-columns: 1fr 1fr; margin-block: 20px; gap: 16px; }
.quote-prices dt { color: var(--muted); font-size: 13px; }
.quote-prices dd { margin: 8px 0 0; font: 700 23px/1.3 var(--display); font-variant-numeric: tabular-nums; }
.quote-facts { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.inline-notice { margin-top: 16px; padding: 16px; background: var(--error-soft); border-left: 3px solid var(--error); }
.new-request { border: 1px solid var(--ink); background: var(--surface); }
.form-heading { padding: 24px; border-bottom: 1px solid var(--ink); background: var(--azure-light); }
.form-heading h2 { margin-block: 12px; font-size: 30px; }
.form-heading p:last-child { font-size: 15px; }
.create-form { padding: 24px; }
.field { margin-bottom: 24px; }
.field-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.helper { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.scope-note { margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.create-form > .button { width: 100%; justify-content: space-between; }
.form-footer { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.form-footer p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.form-error { margin-bottom: 16px; padding: 12px; background: var(--error-soft); border-left: 3px solid var(--error); color: var(--error); font-size: 15px; }
.field-error { color: var(--error); margin-top: 8px; font-size: 14px; }
.action-form { margin-top: 20px; padding: 24px; border: 1px solid var(--ink); background: var(--surface); }
.action-form h4 { margin-bottom: 12px; }
.action-form > .helper { margin-bottom: 20px; }
.action-form .field { margin-bottom: 16px; }
.action-form .button { max-width: 100%; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { min-width: 0; margin: 0 0 20px; border: 1px solid var(--line); padding: 16px; }
legend { padding: 0 6px; font-weight: 700; font-size: 15px; }
.resource-choice { display: flex; align-items: start; gap: 12px; margin-bottom: 12px; font-size: 16px; font-weight: 400; }
.resource-choice:last-child { margin-bottom: 0; }
.resource-choice input { width: 44px; height: 44px; min-width: 44px; margin: 0; accent-color: #006d91; }
.resource-choice > span { padding-top: 8px; min-width: 0; overflow-wrap: anywhere; }
.resource-choice small { display: block; color: var(--muted); font-size: 13px; }
.auth-panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; margin-top: 24px; padding: 24px; border: 1px solid var(--ink); background: var(--surface); }
.auth-panel h2 { margin-block: 12px; }
.auth-panel p:not(.eyebrow) { color: var(--muted); }
.auth-actions { display: flex; flex-direction: column; gap: 12px; }
.auth-actions .helper { margin: 0; }
.action-status:not(:empty) { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--success); background: var(--success-soft); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; margin-top: 56px; padding-block: 24px 32px; border-top: 1px solid var(--ink); font-size: 13px; color: var(--muted); }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; margin-top: -12px; }
.footer-brand { font: 12px/1.5 var(--mono); letter-spacing: .04em; }
@keyframes pulse { from { opacity: .35; } to { opacity: 1; } }
@media (min-width: 1500px) { .new-request { position: sticky; top: 24px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .intro { gap: 32px; grid-template-columns: 1.2fr 1fr; }
  .workspace { gap: 24px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .filters { grid-template-columns: 1fr; }
  .request-button { grid-template-columns: 1fr; }
  .request-button .state-label { justify-self: start; }
  .create-form, .form-heading, .form-footer, .action-form { padding: 20px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 80px; gap: 16px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-sub { font-size: 10px; }
  .header-nav { gap: 16px; font-size: 13px; }
  .header-nav .current { display: none; }
  .header-nav a { max-width: 110px; gap: 8px; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 24px; }
  h1 { margin-top: 16px; font-size: clamp(34px, 8.8vw, 48px); }
  .intro-copy { font-size: 16px; margin-top: 16px; }
  .process-note { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-note > .eyebrow { display: none; }
  .process { margin-top: 0; grid-template-columns: 1fr; gap: 12px; }
  .process li { gap: 16px; }
  .process li div { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: baseline; }
  .process li div > span { font-size: 13px; }
  .notice { padding: 16px; font-size: 15px; }
  .workspace { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .section-heading { margin-bottom: 20px; }
  h2 { font-size: 26px; }
  .section-heading .button { padding-inline: 12px; }
  .filters { grid-template-columns: 1fr; gap: 12px; }
  label { font-size: 16px; }
  .request-button { padding: 16px 12px; }
  .detail-heading { flex-direction: column; }
  .detail-heading .state-label { max-width: 100%; }
  .quote-summary { padding: 20px; }
  .quote-prices { grid-template-columns: 1fr; }
  .two-fields { grid-template-columns: 1fr; gap: 0; }
  .auth-panel { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .list-message { padding: 24px; }
  .site-footer { margin-top: 32px; padding-top: 20px; flex-direction: column; gap: 12px; }
  .site-footer a { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
