/* Raise a request: a service portal in the DK825 style */
.links a[aria-current="page"] { color: var(--yellow); }
.rq-hero { background: var(--black); color: var(--chalk); padding: clamp(56px, 7vw, 112px) 0 clamp(48px, 6vw, 88px); }
.rq-hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: end; }
.rq-hero h1 { font-size: clamp(48px, 7vw, 112px); }
.rq-hero .lead { margin-top: 24px; max-width: 46ch; }

.rq-body { background: var(--paper); padding: clamp(48px, 6vw, 96px) 0 var(--gap-section); }
.rq-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }

.rq-form { display: grid; gap: 14px; }
.rq-form fieldset { border: 0; margin: 0; background: #fff; border-radius: 20px; padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 16px; }
.rq-form legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.01em; margin-bottom: 4px; }
.rq-form legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 15px; flex: none; }
.rq-form label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.rq-form input:not([type="radio"]):not([type="checkbox"]), .rq-form select, .rq-form textarea { font: 400 16px/1.4 var(--f); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 10px; padding: 13px 14px; width: 100%; }
.rq-form textarea { resize: vertical; }
.rq-form input:focus, .rq-form select:focus, .rq-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.rq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rq-only { display: grid; gap: 16px; }
.rq-only[hidden] { display: none; }

.rq-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rq-types label { position: relative; cursor: pointer; }
.rq-types input { position: absolute; opacity: 0; }
.rq-types span { display: grid; gap: 4px; height: 100%; padding: 16px; border-radius: 14px; background: var(--paper); border: 2px solid transparent; transition: border-color .15s, background .15s; }
.rq-types small { font-weight: 500; color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.rq-types input:checked + span { background: #fff8d1; border-color: var(--ink); }
.rq-types input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.rq-priority { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; }
.rq-priority b { padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.rq-priority b[data-p="1"] { background: #fee2e2; color: #b91c1c; }
.rq-priority b[data-p="2"] { background: #ffedd5; color: #c2410c; }
.rq-priority b[data-p="3"] { background: #fef3c7; color: #a16207; }
.rq-priority b[data-p="4"] { background: #e5e7eb; color: #374151; }
.rq-priority span { color: var(--ink-2); font-weight: 500; }

.rq-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 8px 4px; }
.rq-submit p { color: var(--ink-2); }
.rq-ok { background: #dcfce7; color: #14532d; border-radius: 16px; padding: 18px 22px; font-size: 17px; }
.rq-ok strong { font-variant-numeric: tabular-nums; background: #fff; padding: 2px 8px; border-radius: 6px; }

.rq-side { display: grid; gap: 14px; position: sticky; top: 96px; }
.rq-card { background: var(--black); color: var(--chalk); border-radius: 20px; padding: clamp(22px, 2.4vw, 30px); }
.rq-card h2 { font-size: 22px; margin-bottom: 16px; letter-spacing: -0.01em; }
.rq-steps { display: grid; gap: 14px; counter-reset: s; }
.rq-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; counter-increment: s; }
.rq-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; }
.rq-steps span { color: var(--chalk-2); font-size: 15px; }
.rq-matrix { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; font-size: 13px; }
.rq-matrix th { color: var(--chalk-2); font-weight: 600; text-align: left; }
.rq-matrix td { text-align: center; font-weight: 800; border-radius: 8px; padding: 9px 0; }
.rq-matrix .p1 { background: #b91c1c; } .rq-matrix .p2 { background: #c2410c; } .rq-matrix .p3 { background: #a16207; } .rq-matrix .p4 { background: #374151; }
.rq-urgent { background: var(--yellow); color: var(--ink); }
.rq-urgent a { font-weight: 800; color: var(--ink); }

.rq-footer { padding-top: 36px; }

@media (max-width: 1080px) {
  .rq-hero-in, .rq-grid { grid-template-columns: 1fr; }
  .rq-side { position: static; }
  .rq-types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .rq-row, .rq-types { grid-template-columns: 1fr; }
  .rq-submit .btn { width: 100%; text-align: center; }
}
.rq-urgent a { white-space: nowrap; }

/* Support channels: product-style list */
.rq-channels { background: var(--flap); border-radius: 20px; padding: 10px; }
.rq-ch-title { font-size: 13px; font-weight: 700; color: var(--chalk-2); padding: 10px 14px 6px; }
.rq-ch { display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; text-decoration: none; color: var(--chalk); transition: background .2s; }
.rq-ch + .rq-ch { border-top: 1px solid #2a2e36; }
.rq-ch:hover { background: #2a2e36; }
.rq-ch-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #2a2e36; color: var(--yellow); }
.rq-ch-ic svg, .rq-ch-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rq-ch b { display: block; font-size: 17px; white-space: nowrap; }
.rq-ch small { color: var(--chalk-2); font-size: 14px; }
.rq-ch-go { color: var(--chalk-2); transition: transform .2s, color .2s; }
.rq-ch:hover .rq-ch-go { transform: translateX(3px); color: var(--yellow); }
#rq-project[hidden] { display: none; }

/* Required fields */
.rq-form .lbl::after { content: ""; }
.rq-form label:has(> :is(input, select, textarea)[required]:not(:disabled)) > .lbl::after { content: " *"; color: #b91c1c; }
.req { color: #b91c1c; font-weight: 800; }
.rq-form .opt { font-style: normal; font-weight: 500; color: var(--ink-2); font-size: 13px; margin-left: 4px; }
.rq-form.checked :is(input, select, textarea):invalid { border-color: #dc2626; background: #fef2f2; }
.rq-form.checked .rq-types:has(input:invalid) span { border-color: #dc2626; }
.rq-err { background: #fee2e2; color: #991b1b; font-weight: 700; border-radius: 12px; padding: 14px 18px; }
.rq-priority b[data-p="0"] { background: #e5e7eb; color: #6b7280; }
.rq-env-rule { background: #fff7ed; color: #9a3412; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.rq-env-rule[hidden] { display: none; }

/* Support SLA */
.rq-sla { background: var(--black); color: var(--chalk); padding: clamp(56px, 7vw, 112px) 0; }
.rq-sla-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 36px; }
.rq-sla-head h2 { font-size: clamp(34px, 4.2vw, 60px); }
.rq-sla-head p { color: var(--chalk-2); font-size: 18px; max-width: 52ch; }
.rq-sla-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.rq-sla-table thead th { text-align: left; font-size: 13px; font-weight: 700; color: var(--chalk-2); padding: 0 22px 6px; }
.rq-sla-table tbody th, .rq-sla-table td { background: var(--flap); padding: 20px 22px; text-align: left; vertical-align: middle; }
.rq-sla-table tbody th { border-radius: 14px 0 0 14px; font-size: 18px; white-space: nowrap; width: 1%; }
.rq-sla-table td:last-child { border-radius: 0 14px 14px 0; white-space: nowrap; width: 1%; }
.rq-sla-table td { color: #d9dce1; }
.rq-sla-table td b { color: var(--yellow); }
.pri { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 9px; border-radius: 7px; margin-right: 10px; color: #fff; }
.pri.p1 { background: #b91c1c; } .pri.p2 { background: #c2410c; } .pri.p3 { background: #a16207; } .pri.p4 { background: #374151; }
.rq-sla-note { color: var(--chalk-2); font-size: 15px; margin-top: 18px; max-width: 80ch; }
.rq-hint { font-size: 14px; color: var(--ink-2); margin-top: -6px; }
.rq-hint a { color: var(--ink); font-weight: 700; }
@media (max-width: 1080px) { .rq-sla-head { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 720px) {
  .rq-sla-table thead { display: none; }
  .rq-sla-table, .rq-sla-table tbody, .rq-sla-table tr, .rq-sla-table th, .rq-sla-table td { display: block; width: auto; }
  .rq-sla-table tr { background: var(--flap); border-radius: 14px; margin-bottom: 8px; padding: 6px 0; }
  .rq-sla-table tbody th, .rq-sla-table td { background: none; border-radius: 0; padding: 8px 18px; white-space: normal; }
}

/* Response times beside the priority matrix */
.rq-legend { display: grid; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #2a2e36; }
.rq-legend li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 4px; font-size: 14.5px; }
.rq-legend .pri { margin-right: 8px; }
.rq-legend b { font-weight: 700; }
.rq-legend em { font-style: normal; color: var(--yellow); font-weight: 700; white-space: nowrap; }
.rq-legend-more { display: inline-block; margin-top: 14px; color: var(--chalk-2); font-size: 14px; text-underline-offset: 3px; }
.rq-legend-more:hover { color: var(--chalk); }
