:root {
  color-scheme: light;
  --lc-green: #00a850;
  --lc-green-rgb: 0 168 80;
  --lc-green-dark: #006030;
  --lc-green-dark-rgb: 0 96 48;
  --lc-green-soft: #edf8f0;
  --lc-yellow: #fff000;
  --lc-yellow-rgb: 255 240 0;
  --lc-yellow-soft: #fff9bf;
  --lc-yellow-muted: #e6d800;
  --lc-bg: #f4f7f1;
  --lc-card: #ffffff;
  --lc-card-tint: #f8fcf6;
  --lc-ink: #151713;
  --lc-text: #2d332d;
  --lc-muted: #687166;
  --lc-line: #dce7d8;
  --lc-line-strong: #bdd1b7;
  --brand-yellow: var(--lc-yellow);
  --brand-yellow-soft: var(--lc-yellow-soft);
  --brand-yellow-muted: var(--lc-yellow-muted);
  --brand-green: var(--lc-green);
  --brand-green-dark: var(--lc-green-dark);
  --brand-green-soft: var(--lc-green-soft);
  --ink: var(--lc-ink);
  --text: var(--lc-text);
  --muted: var(--lc-muted);
  --line: var(--lc-line);
  --line-strong: var(--lc-line-strong);
  --bg: var(--lc-bg);
  --surface: var(--lc-card);
  --surface-warm: #fffef0;
  --danger: #9f1d1d;
  --warn: #a36500;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-xs: 0 1px 2px rgb(21 23 19 / 5%);
  --shadow-sm: 0 8px 22px rgb(21 23 19 / 7%);
  --shadow-md: 0 18px 44px rgb(21 23 19 / 11%);
  --shadow-lg: 0 24px 70px rgb(21 23 19 / 14%);
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% -10%, rgb(var(--lc-yellow-rgb) / 22%) 0, transparent 32%),
    radial-gradient(circle at 88% 7%, rgb(var(--lc-green-rgb) / 11%) 0, transparent 31%),
    linear-gradient(135deg, rgb(255 255 255 / 0%) 0 48%, rgb(var(--lc-green-rgb) / 4%) 48% 49%, rgb(255 255 255 / 0%) 49% 100%),
    linear-gradient(180deg, var(--lc-card-tint) 0, var(--lc-bg) 420px),
    var(--lc-bg);
  color: var(--text);
  font-family: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: var(--brand-green-dark);
  font-weight: 800;
}

a:hover {
  color: var(--ink);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(var(--lc-green-dark-rgb) / 16%);
  box-shadow: 0 10px 32px rgb(21 23 19 / 8%);
  backdrop-filter: blur(14px);
}

.top-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: var(--space-3);
  padding: 7px clamp(20px, 4vw, 54px);
  background:
    linear-gradient(120deg, #fff67a 0, var(--lc-yellow) 46%, #fff9b0 100%);
  color: var(--ink);
}

.brand-service-link,
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-service-link {
  justify-self: start;
}

.brand-logo-link {
  justify-self: center;
}

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 46px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.brand-logo img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(2px 3px 3px rgb(0 0 0 / 22%));
}

.brand-logo-full {
  width: auto;
  max-height: 46px;
}

.brand-logo-icon {
  display: none;
  width: auto;
  height: 100%;
}

.brand-service {
  position: relative;
  display: grid;
  grid-template-columns: 32px auto;
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  padding-left: 0;
}

.helpdesk-symbol {
  position: relative;
  grid-row: 1 / 3;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgb(var(--lc-green-dark-rgb) / 24%);
  border-radius: 999px;
  background:
    linear-gradient(145deg, var(--lc-card) 0, var(--lc-green-soft) 58%, #dff4e6 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    0 6px 14px rgb(var(--lc-green-dark-rgb) / 13%);
}

.helpdesk-symbol svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand-green-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.brand-service strong,
.brand-service small {
  display: block;
}

.brand-service strong {
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-service small {
  color: #3b3b34;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.support-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 14px;
  color: #292919;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.support-meta strong {
  color: var(--brand-green-dark);
  font-size: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 8px clamp(18px, 4vw, 48px);
  background: rgb(255 255 255 / 92%);
}

.nav a,
.link-button,
.current-user-pill {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  padding: 6px 11px;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.current-user-pill {
  display: inline-flex;
  align-items: center;
  border-color: var(--lc-line);
  background: linear-gradient(180deg, var(--lc-card), var(--lc-card-tint));
  color: var(--muted);
  cursor: default;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.current-user-pill strong {
  color: var(--ink);
}

.nav a:hover,
.link-button:hover {
  border-color: rgb(var(--lc-green-rgb) / 34%);
  background: linear-gradient(180deg, var(--lc-green-soft), #e5f6ea);
  color: var(--lc-green-dark);
  box-shadow: 0 6px 16px rgb(var(--lc-green-dark-rgb) / 9%);
}

.page {
  width: min(1220px, calc(100% - 40px));
  margin: 32px auto 56px;
}

.eyebrow {
  margin: 0 0 var(--space-1);
  color: var(--brand-green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-2);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.16;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
}

h2 {
  font-size: clamp(22px, 2.6vw, 30px);
}

p {
  margin: 0 0 var(--space-3);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  margin-bottom: var(--space-6);
  border: 1px solid rgb(var(--lc-green-dark-rgb) / 18%);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 18%, rgb(var(--lc-green-rgb) / 12%) 0, transparent 34%),
    radial-gradient(circle at 16% 8%, rgb(var(--lc-yellow-rgb) / 19%) 0, transparent 38%),
    linear-gradient(135deg, rgb(255 254 240 / 97%) 0%, rgb(255 255 255 / 96%) 56%, var(--lc-green-soft) 100%);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--lc-green-rgb) / 11%) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgb(var(--lc-green-rgb) / 8%) 0 1px, transparent 1px 100%);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, transparent);
  opacity: 0.24;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(28px, 4vw, 44px);
  right: clamp(28px, 4vw, 44px);
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--lc-green), var(--lc-yellow));
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: var(--space-4);
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  color: #37372f;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.65;
}

.hero-aside {
  display: grid;
  gap: var(--space-3);
  align-content: center;
}

.hero-aside span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 66px;
  border: 1px solid rgb(var(--lc-green-dark-rgb) / 18%);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 88%), rgb(248 252 246 / 84%));
  color: var(--ink);
  font-weight: 900;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgb(21 23 19 / 7%);
  backdrop-filter: blur(10px);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.hero-aside span::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #fff 0 4px, transparent 5px),
    linear-gradient(145deg, var(--lc-green), var(--lc-green-dark));
  box-shadow: inset 0 0 0 7px rgb(255 255 255 / 86%), 0 7px 14px rgb(var(--lc-green-dark-rgb) / 16%);
}

.hero-aside span:nth-child(2)::before {
  border-radius: 10px;
  background:
    linear-gradient(#fff 0 0) center 9px / 16px 3px no-repeat,
    linear-gradient(#fff 0 0) center 20px / 18px 4px no-repeat,
    linear-gradient(145deg, var(--lc-yellow-muted), var(--lc-yellow));
  box-shadow: inset 0 0 0 6px rgb(255 255 255 / 76%), 0 7px 14px rgb(103 80 0 / 12%);
}

.hero-aside span:nth-child(3)::before {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 27% 28%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 73% 72%, #fff 0 2px, transparent 3px),
    linear-gradient(145deg, var(--lc-green), var(--lc-green-dark));
}

.hero-aside span:hover {
  border-color: rgb(var(--lc-green-rgb) / 38%);
  box-shadow: 0 14px 28px rgb(21 23 19 / 10%);
  transform: translateY(-2px);
}

.panel,
.service-guide,
.login-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 96%);
  box-shadow: var(--shadow-sm);
}

.panel {
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
}

.panel + .panel {
  margin-top: var(--space-5);
}

.panel-heading {
  margin-bottom: var(--space-5);
}

.panel-heading p:not(.eyebrow),
.panel p {
  color: var(--muted);
}

.narrow {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.wide {
  max-width: 1180px;
}

.request-layout,
.login-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.service-guide,
.login-copy {
  position: sticky;
  top: 132px;
  padding: var(--space-5);
  background:
    linear-gradient(180deg, #fffdf5, #ffffff);
}

.service-form,
.login-panel,
.success-panel {
  border-top: 5px solid var(--brand-green);
}

.service-guide {
  border-color: rgb(var(--lc-green-dark-rgb) / 18%);
  background:
    radial-gradient(circle at 92% 10%, rgb(var(--lc-yellow-rgb) / 13%) 0, transparent 34%),
    linear-gradient(180deg, rgb(255 255 255 / 96%), rgb(249 252 246 / 94%));
  box-shadow: var(--shadow-md);
}

.service-form {
  position: relative;
  border-color: rgb(var(--lc-green-dark-rgb) / 20%);
  background:
    linear-gradient(180deg, var(--lc-card) 0, var(--lc-card-tint) 100%);
  box-shadow: var(--shadow-lg);
}

.service-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--lc-green), var(--lc-yellow));
}

.steps {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: service-step;
}

.steps li {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 0 0 0 54px;
  counter-increment: service-step;
}

.steps li::before {
  content: counter(service-step);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgb(var(--lc-green-dark-rgb) / 22%);
  border-radius: 999px;
  background: linear-gradient(145deg, var(--lc-card), var(--lc-green-soft));
  color: var(--lc-green-dark);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgb(var(--lc-green-dark-rgb) / 12%);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: -14px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(var(--lc-green-rgb) / 28%), rgb(var(--lc-yellow-rgb) / 28%));
}

.steps strong {
  color: var(--ink);
  font-size: 15px;
}

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

.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-5);
}

.toolbar {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.split-toolbar {
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}

.stack {
  display: grid;
  gap: var(--space-4);
}

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

.form-section {
  padding-top: var(--space-3);
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
}

.section-title span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(var(--lc-green-dark-rgb) / 18%);
  border-radius: 999px;
  background: linear-gradient(145deg, var(--lc-yellow), var(--lc-yellow-soft));
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 6px 14px rgb(103 80 0 / 10%);
}

.service-form .panel-heading {
  max-width: 760px;
}

.service-form .panel-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.service-form label {
  min-width: 0;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

label small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.field-title {
  display: block;
  cursor: help;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.inline-check input {
  width: auto;
}

.inline-check span {
  margin: 0;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px var(--space-2);
  align-items: center;
}

.checkbox-row input {
  width: auto;
}

.checkbox-row span {
  margin: 0;
}

.checkbox-row small {
  grid-column: 2;
  margin: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--lc-line-strong);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--lc-card), var(--lc-card-tint));
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 72%);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgb(var(--lc-green-rgb) / 36%);
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--lc-green);
  background: #fff;
  box-shadow:
    0 0 0 4px rgb(var(--lc-green-rgb) / 15%),
    inset 0 1px 0 rgb(255 255 255 / 80%);
}

textarea {
  min-height: 156px;
  resize: vertical;
}

button,
.button-secondary,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--lc-green);
  border-radius: 7px;
  background: linear-gradient(180deg, var(--lc-green), var(--lc-green-dark));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 11px 19px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgb(var(--lc-green-dark-rgb) / 16%);
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

button:hover,
.button-secondary:hover {
  border-color: var(--lc-green-dark);
  background: linear-gradient(180deg, #008f44, var(--lc-green-dark));
  box-shadow: 0 12px 24px rgb(var(--lc-green-dark-rgb) / 22%);
  transform: translateY(-1px);
}

button:focus-visible,
.button-secondary:focus-visible,
.danger-button:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgb(var(--lc-green-rgb) / 18%),
    0 12px 24px rgb(var(--lc-green-dark-rgb) / 20%);
}

.button-secondary {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, var(--lc-card), var(--lc-card-tint));
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.button-secondary:hover {
  border-color: var(--lc-green);
  background: var(--lc-green-soft);
  color: var(--lc-green-dark);
}

.danger-button {
  border-color: #d98b8b;
  background: #fff2f2;
  color: var(--danger);
}

.danger-button:hover {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
}

.service-form .submit-bar {
  margin-top: var(--space-2);
  border-top-color: rgb(var(--lc-green-dark-rgb) / 18%);
  background:
    linear-gradient(90deg, rgb(var(--lc-green-rgb) / 5%), rgb(var(--lc-yellow-rgb) / 7%));
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}

.alert {
  display: grid;
  gap: 4px;
  margin-bottom: var(--space-4);
  border: 1px solid #e7b0b0;
  border-radius: var(--radius-sm);
  background: #fff2f2;
  color: var(--danger);
  padding: 13px 14px;
}

.alert p {
  margin: 0;
  color: inherit;
}

.notice {
  display: grid;
  gap: 4px;
  margin-bottom: var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  color: var(--text);
  padding: 13px 14px;
}

.notice p {
  margin: 0;
  color: inherit;
}

.notice-success {
  border-color: #b7e2b5;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}

.notice-warning {
  border-color: #f0c36c;
  background: #fff7e5;
  color: var(--warn);
}

.notice-error {
  border-color: #e7b0b0;
  background: #fff2f2;
  color: var(--danger);
}

.ticket-number {
  display: inline-block;
  margin: 0 0 var(--space-3);
  border: 1px solid var(--brand-yellow-muted);
  border-radius: var(--radius-sm);
  background: var(--brand-yellow-soft);
  color: var(--ink);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  padding: 8px 13px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: var(--space-5);
  align-items: stretch;
  margin-bottom: var(--space-5);
  border: 1px solid rgb(232 215 122 / 82%);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #fff8cf 0, #ffffff 72%);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.dashboard-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  border: 1px solid rgb(225 211 146 / 82%);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, #ffffff, #fffdf6);
  box-shadow: var(--shadow-xs);
  padding: var(--space-4);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.metric-card:hover {
  border-color: #d9c45b;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
}

.filter {
  display: flex;
  gap: var(--space-2);
  align-items: end;
}

.filter select {
  min-width: 220px;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(160px, 0.8fr) minmax(160px, 0.8fr) minmax(150px, 0.7fr) auto;
  gap: var(--space-3);
  align-items: end;
}

.filter-actions {
  display: flex;
  gap: var(--space-2);
}

.status-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 11px;
  text-decoration: none;
}

.filter-pill span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-yellow-soft);
}

.filter-pill.active,
.filter-pill:hover {
  border-color: var(--brand-green);
  background: linear-gradient(180deg, #f4fbf3, #e8f7e7);
  color: var(--brand-green-dark);
  box-shadow: 0 7px 16px rgb(var(--lc-green-dark-rgb) / 9%);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 15px 14px;
  text-align: left;
  vertical-align: middle;
}

.ticket-row td:first-child,
.account-row td:first-child {
  border-left: 4px solid transparent;
}

.ticket-row.priority-row-vysoká td:first-child {
  border-left-color: #f0c36c;
}

.ticket-row.priority-row-kritická td:first-child {
  border-left-color: var(--danger);
}

.ticket-row.priority-row-vysoká {
  background: #fffaf0;
}

.ticket-row.priority-row-kritická {
  background: #fff7f7;
}

.badge-cell {
  min-width: 132px;
}

tbody tr:hover {
  background: #fbfdf7;
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  background: linear-gradient(180deg, #fff9d9, #fff6bf);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-link {
  color: var(--ink);
  text-decoration: none;
}

.ticket-link:hover {
  color: var(--brand-green-dark);
  text-decoration: underline;
}

.badge,
.priority,
.role-badge,
.account-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  min-height: 29px;
  padding: 5px 11px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%);
}

.badge {
  border: 1px solid #bfe4bd;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge.large {
  font-size: 15px;
  min-height: 36px;
  padding: 8px 14px;
}

.badge-stack {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-nový {
  border-color: #e3c85f;
  background: var(--brand-yellow-soft);
  color: #675000;
}

.status-přijato,
.status-řeší-se {
  border-color: #bfe4bd;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}

.status-čeká-se-na-klienta {
  border-color: #f0c36c;
  background: #fff7e5;
  color: var(--warn);
}

.status-vyřešeno {
  border-color: #93d891;
  background: #edf9ed;
  color: #1d6f1b;
}

.status-uzavřeno {
  border-color: #d2d0c3;
  background: #f6f5ee;
  color: #555;
}

.priority {
  border: 1px solid #d6d3c4;
  background: #f7f6ef;
  color: #444;
}

.priority-nízká {
  border-color: #c9dfc8;
  background: #f0faf0;
  color: #2f7830;
}

.priority-běžná {
  border-color: #d6d3c4;
  background: #f7f6ef;
  color: #444;
}

.priority-vysoká {
  border-color: #f0c36c;
  background: #fff7e5;
  color: var(--warn);
}

.priority-kritická {
  border-color: #e5a0a0;
  background: #fff2f2;
  color: var(--danger);
}

.role-badge,
.account-badge {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.role-superadmin {
  border-color: #b7e2b5;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}

.role-admin {
  border-color: #e6d278;
  background: var(--brand-yellow-soft);
  color: #675000;
}

.role-technician {
  border-color: #c5d7ee;
  background: #f0f6ff;
  color: #24527f;
}

.role-client {
  border-color: #d2d0c3;
  background: #f7f6ef;
  color: #555;
}

.account-approved {
  border-color: #b7e2b5;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}

.account-pending {
  border-color: #f0c36c;
  background: #fff7e5;
  color: var(--warn);
}

.account-row-pending {
  background: #fffaf0;
}

.account-row-pending td:first-child {
  border-left-color: var(--warn);
}

.account-disabled {
  border-color: #e5a0a0;
  background: #fff2f2;
  color: var(--danger);
}

.detail-grid,
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
  gap: var(--space-5);
}

.workspace-grid {
  align-items: start;
  margin-top: var(--space-5);
}

.ticket-summary,
.action-box,
.client-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fffdf7, #ffffff);
  box-shadow: var(--shadow-xs);
  padding: var(--space-5);
}

.action-box {
  border-top: 4px solid var(--brand-yellow);
}

.client-card {
  border-top: 4px solid var(--brand-green);
}

.side-stack {
  display: grid;
  gap: var(--space-5);
  align-content: start;
}

.reply-panel {
  border-top: 4px solid var(--brand-green);
}

.internal-panel {
  border-top: 4px solid #f0c36c;
  background: #fffef8;
}

.panel-note {
  margin-top: -4px;
  color: var(--muted);
  font-size: 13px;
}

dl {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 14px;
  margin: var(--space-4) 0;
}

dt {
  color: #555;
  font-weight: 900;
}

dd {
  margin: 0;
}

.description,
.entry,
.timeline-card {
  white-space: pre-wrap;
}

.description {
  margin-bottom: 0;
  color: #333;
}

.entry-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.client-ticket-list {
  display: grid;
  gap: var(--space-3);
}

.client-ticket-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #fbfcf8);
  box-shadow: var(--shadow-xs);
  padding: var(--space-4);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.client-ticket-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.client-ticket-card p {
  margin: 4px 0 0;
}

.client-ticket-card small {
  grid-column: 1 / -1;
}

.entry {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #fbfcf8);
  box-shadow: var(--shadow-xs);
  padding: var(--space-4);
}

.entry p {
  margin: var(--space-2) 0;
}

.entry strong {
  color: var(--brand-green-dark);
}

.entry.note {
  border-color: #e6d278;
  background: #fffdf1;
}

.internal-note {
  border-left: 4px solid #f0c36c;
}

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-left: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-green-soft), var(--line), var(--brand-yellow-soft));
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -22px;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 2px var(--brand-green-soft);
}

.from-client .timeline-marker {
  background: var(--brand-yellow);
  box-shadow: 0 0 0 2px var(--brand-yellow-soft);
}

.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #fbfcf8);
  box-shadow: var(--shadow-xs);
  padding: var(--space-4);
}

.from-admin .timeline-card {
  background: linear-gradient(180deg, #f3fbf2, #ffffff);
}

.public-reply .timeline-card {
  border-color: #b7e2b5;
}

.client-message .timeline-card {
  border-color: #e6d278;
  background: linear-gradient(180deg, #fffdf1, #ffffff);
}

.system-event .timeline-marker {
  background: #777;
  box-shadow: 0 0 0 2px #eeeeea;
}

.system-event .timeline-card {
  border-style: dashed;
  background: linear-gradient(180deg, #f7f6ef, #ffffff);
}

.timeline-card p {
  margin: var(--space-2) 0;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fffdf5, #ffffff);
  color: var(--muted);
  padding: var(--space-5);
  text-align: center;
}

.empty-state strong {
  display: block;
  color: var(--ink);
}

.empty-state.compact {
  padding: var(--space-4);
  text-align: left;
}

.settings-panel {
  border-top: 5px solid var(--brand-green);
}

.settings-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: calc(var(--space-5) * -0.4) 0 var(--space-5);
}

.settings-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  padding: 8px 13px;
  text-decoration: none;
}

.settings-subnav a:hover,
.settings-subnav a.is-active {
  border-color: #b7e2b5;
  background: linear-gradient(180deg, #f4fbf3, #e8f7e7);
  color: var(--brand-green-dark);
}

.settings-form {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-5);
}

.settings-actions p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.settings-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  padding: 0;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.settings-status-heading {
  margin-bottom: var(--space-3);
}

.settings-status-heading h3 {
  margin: 0 0 4px;
  color: var(--ink);
}

.settings-status-heading p {
  margin: 0;
  color: var(--muted);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #fbfcf8);
  box-shadow: var(--shadow-xs);
  padding: var(--space-3) var(--space-4);
}

.setting-row span {
  color: var(--muted);
  font-weight: 900;
}

.setting-label {
  display: block;
  color: var(--ink);
  cursor: help;
  font-weight: 900;
  text-align: left;
}

.setting-row small {
  display: block;
  margin-top: 4px;
  max-width: 520px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.setting-row > strong {
  color: var(--ink);
  text-align: right;
  overflow-wrap: anywhere;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.pagination span {
  color: var(--muted);
  font-weight: 900;
}

.account-tickets-primary {
  border-top: 5px solid var(--brand-green);
  box-shadow: var(--shadow-md);
}

.account-tickets-primary .panel-heading h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.account-profile-card {
  margin-top: var(--space-5);
  opacity: 0.96;
}

.login-layout {
  max-width: 980px;
  margin: min(7vh, 70px) auto 0;
}

.login-copy {
  background: linear-gradient(160deg, var(--lc-yellow-soft), var(--lc-card));
}

.design-lab-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 20%, rgb(var(--lc-green-rgb) / 14%) 0, transparent 34%),
    linear-gradient(135deg, var(--lc-yellow-soft), var(--lc-card) 56%, var(--lc-green-soft));
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 46px);
}

.design-lab-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 54px);
}

.design-lab-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 750;
}

.design-lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.design-lab-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: var(--space-5);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.design-lab-card:hover {
  border-color: rgb(var(--lc-green-rgb) / 32%);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.design-lab-card span,
.preview-kicker {
  display: inline-flex;
  margin-bottom: var(--space-3);
  border: 1px solid rgb(var(--lc-green-rgb) / 22%);
  border-radius: 999px;
  background: rgb(237 248 240 / 86%);
  color: var(--lc-green-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  text-transform: uppercase;
}

.design-lab-card h2 {
  font-size: 24px;
}

.design-lab-card p {
  color: var(--muted);
  font-weight: 700;
}

.design-lab-card.premium {
  background: linear-gradient(145deg, var(--lc-ink), var(--lc-green-dark) 48%, #fff7a8);
  color: #fff;
}

.design-lab-card.premium h2,
.design-lab-card.premium p {
  color: #fff;
}

.design-lab-card.saas {
  background: linear-gradient(145deg, #ffffff, #eef8ff 54%, #eef9ee);
}

.design-lab-card.hybrid {
  background:
    radial-gradient(circle at 85% 16%, rgb(var(--lc-yellow-rgb) / 26%) 0, transparent 30%),
    linear-gradient(145deg, var(--lc-ink), var(--lc-green-dark) 52%, #f8f3c6);
  color: #fff;
}

.design-lab-card.hybrid h2,
.design-lab-card.hybrid p {
  color: #fff;
}

.design-lab-card.corporate {
  background: linear-gradient(145deg, #ffffff, #fff9d8);
}

.preview-shell {
  display: grid;
  gap: var(--space-5);
}

.preview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(34px, 5vw, 64px);
}

.preview-copy h1 {
  max-width: 800px;
  font-size: clamp(38px, 5vw, 68px);
}

.preview-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.65;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.premium-hero {
  background:
    radial-gradient(circle at 82% 20%, rgb(var(--lc-yellow-rgb) / 22%) 0, transparent 28%),
    radial-gradient(circle at 15% 15%, rgb(var(--lc-green-rgb) / 30%) 0, transparent 34%),
    linear-gradient(135deg, var(--lc-ink), var(--lc-green-dark) 58%, #fff7a8);
}

.premium-hero .preview-copy h1,
.premium-hero .preview-copy p {
  color: #fff;
}

.premium-visual {
  position: relative;
  min-height: 360px;
}

.service-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 22px 60px rgb(0 0 0 / 22%);
  backdrop-filter: blur(12px);
}

.service-orbit.center {
  inset: 86px auto auto 72px;
  width: 180px;
  height: 180px;
  background: rgb(255 255 255 / 17%);
  font-size: 44px;
}

.service-orbit.node {
  width: 92px;
  height: 92px;
  font-size: 14px;
}

.node-a { right: 42px; top: 28px; }
.node-b { right: 8px; bottom: 72px; }
.node-c { left: 0; bottom: 22px; }

.preview-service-grid,
.saas-panels,
.corporate-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.preview-service-grid article,
.saas-panels article,
.corporate-service-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.preview-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-3);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--lc-green), var(--lc-green-dark));
  box-shadow: 0 10px 22px rgb(var(--lc-green-dark-rgb) / 16%);
}

.preview-icon.support-accent {
  background: linear-gradient(145deg, var(--lc-yellow), #d8cc00);
}

.preview-icon.network {
  border-radius: 999px;
}

.preview-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.preview-steps,
.preview-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
}

.preview-steps > span {
  color: var(--brand-green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-steps ol {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.preview-steps li {
  border-left: 3px solid var(--brand-yellow);
  padding-left: var(--space-3);
}

.preview-steps small {
  display: block;
}

.preview-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

.preview-fields span {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fff, #fbfcf8);
  color: var(--muted);
  font-weight: 800;
  padding: 13px 14px;
}

.preview-fields .wide {
  grid-column: 1 / -1;
  min-height: 104px;
}

.saas-hero {
  background:
    radial-gradient(circle at 80% 20%, rgb(var(--lc-green-rgb) / 12%) 0, transparent 30%),
    linear-gradient(135deg, #ffffff, #eef8ff 54%, #f7fff0);
}

.saas-dashboard {
  border: 1px solid #d9e8d6;
  border-radius: 18px;
  background: rgb(255 255 255 / 82%);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
}

.dash-top {
  height: 42px;
  margin-bottom: var(--space-3);
  border-radius: 12px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-yellow));
}

.dash-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: var(--space-3);
}

.dash-row span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-green);
}

.dash-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.dash-metrics span {
  border-radius: 12px;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
  font-size: 24px;
  font-weight: 900;
  padding: var(--space-4);
  text-align: center;
}

.saas-panels article span {
  color: var(--brand-green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.corporate-hero {
  background:
    linear-gradient(90deg, rgb(var(--lc-green-rgb) / 12%) 0 4px, transparent 4px),
    linear-gradient(135deg, #fff, #fff8d4);
}

.corporate-card {
  display: grid;
  gap: var(--space-3);
  border: 1px solid #d6c45c;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
}

.corporate-card strong {
  font-size: 34px;
  line-height: 1.1;
}

.corporate-card span,
.corporate-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.corporate-service-list article {
  border-top: 4px solid var(--brand-green);
}

.corporate-service-list b {
  color: #9d8300;
  font-size: 12px;
}

.corporate-form {
  border-top: 4px solid var(--brand-yellow);
}

.premium-hybrid-hero {
  background:
    radial-gradient(circle at 84% 18%, rgb(var(--lc-yellow-rgb) / 23%) 0, transparent 31%),
    radial-gradient(circle at 18% 12%, rgb(var(--lc-green-rgb) / 30%) 0, transparent 34%),
    linear-gradient(135deg, var(--lc-ink), var(--lc-green-dark) 58%, #e4da60);
}

.premium-hybrid-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 8%) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgb(255 255 255 / 7%) 0 1px, transparent 1px 100%);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, transparent);
  opacity: 0.28;
}

.premium-hybrid-hero > * {
  position: relative;
  z-index: 1;
}

.premium-hybrid-hero .preview-copy h1,
.premium-hybrid-hero .preview-copy p {
  color: #fff;
}

.hybrid-primary {
  border-color: rgb(var(--lc-yellow-rgb) / 78%);
  background: linear-gradient(180deg, #fff67a, var(--lc-yellow));
  color: var(--ink);
}

.hybrid-ticket-panel {
  position: relative;
  display: grid;
  gap: var(--space-3);
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgb(var(--lc-yellow-rgb) / 16%) 0, transparent 28%),
    linear-gradient(180deg, rgb(255 255 255 / 17%), rgb(255 255 255 / 9%));
  box-shadow: 0 28px 70px rgb(0 0 0 / 26%), inset 0 1px 0 rgb(255 255 255 / 20%);
  padding: var(--space-5);
  backdrop-filter: blur(14px);
}

.hybrid-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-1);
  color: rgb(255 255 255 / 76%);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hybrid-panel-top strong {
  border: 1px solid rgb(var(--lc-yellow-rgb) / 34%);
  border-radius: 999px;
  background: rgb(var(--lc-yellow-rgb) / 14%);
  color: #fff5b7;
  padding: 5px 9px;
}

.hybrid-panel-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(0 0 0 / 16%);
  color: rgb(255 255 255 / 82%);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--lc-green);
  box-shadow: 0 0 0 5px rgb(var(--lc-green-rgb) / 16%);
}

.hybrid-ticket-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: var(--space-2);
  align-items: center;
  min-height: 54px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 13px;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  padding: var(--space-3);
}

.hybrid-ticket-row div {
  display: grid;
  gap: 2px;
}

.hybrid-ticket-row small {
  color: rgb(255 255 255 / 62%);
  font-size: 11px;
  font-weight: 800;
}

.hybrid-ticket-row.active {
  border-color: rgb(var(--lc-yellow-rgb) / 48%);
  background: rgb(var(--lc-yellow-rgb) / 13%);
}

.hybrid-ticket-row.done {
  opacity: 0.86;
}

.ticket-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lc-yellow);
  box-shadow: 0 0 0 4px rgb(var(--lc-yellow-rgb) / 14%);
}

.hybrid-ticket-row em {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  font-style: normal;
  font-size: 16px;
  font-weight: 900;
}

.hybrid-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.hybrid-metrics span {
  display: grid;
  gap: 2px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 13px;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  padding: var(--space-3);
}

.hybrid-metrics strong {
  font-size: 26px;
  line-height: 1;
}

.hybrid-metrics small {
  color: rgb(255 255 255 / 68%);
  font-size: 11px;
  font-weight: 800;
}

.hybrid-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.hybrid-benefits article,
.hybrid-benefits a {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(var(--lc-green-dark-rgb) / 18%);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 10%, rgb(var(--lc-yellow-rgb) / 10%) 0, transparent 30%),
    linear-gradient(180deg, var(--lc-card), var(--lc-card-tint));
  color: var(--text);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.hybrid-benefits a:hover {
  border-color: rgb(var(--lc-green-rgb) / 38%);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hybrid-benefits article::before,
.hybrid-benefits a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lc-green), var(--lc-yellow));
}

.hybrid-benefits span {
  display: inline-flex;
  margin-bottom: var(--space-3);
  border: 1px solid rgb(var(--lc-green-rgb) / 20%);
  border-radius: 999px;
  background: var(--lc-green-soft);
  color: var(--lc-green-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.hybrid-benefits h2 {
  font-size: 24px;
}

.hybrid-steps,
.hybrid-form-preview {
  background:
    radial-gradient(circle at 90% 10%, rgb(var(--lc-yellow-rgb) / 9%) 0, transparent 30%),
    linear-gradient(180deg, var(--lc-card), var(--lc-card-tint));
}

.hybrid-steps {
  border-top: 4px solid var(--brand-green);
}

.hybrid-form-preview {
  border-top: 4px solid var(--brand-yellow);
}

.live-home-hero {
  margin-bottom: var(--space-5);
}

#request-start,
#service-request-form,
#services,
#queue-info,
#history-info,
#account-info {
  scroll-margin-top: 128px;
}

.public-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.public-service-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgb(var(--lc-green-dark-rgb) / 18%);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 12%, rgb(var(--lc-yellow-rgb) / 10%) 0, transparent 30%),
    linear-gradient(180deg, var(--lc-card), var(--lc-card-tint));
  color: var(--text);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.public-service-card:hover {
  border-color: rgb(var(--lc-green-rgb) / 38%);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.public-service-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: var(--space-4);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 48%, #fff 0 5px, transparent 6px),
    linear-gradient(145deg, var(--lc-green), var(--lc-green-dark));
  box-shadow: inset 0 0 0 7px rgb(255 255 255 / 78%), 0 10px 22px rgb(var(--lc-green-dark-rgb) / 16%);
}

.public-service-card.network::before {
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 26% 30%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 74% 70%, #fff 0 2px, transparent 3px),
    linear-gradient(145deg, var(--lc-green), var(--lc-green-dark));
}

.public-service-card.support::before {
  background:
    linear-gradient(#fff 0 0) center 14px / 18px 3px no-repeat,
    linear-gradient(#fff 0 0) center 23px / 14px 3px no-repeat,
    linear-gradient(145deg, var(--lc-yellow), #d8cc00);
}

.public-service-card span {
  display: inline-flex;
  margin-bottom: var(--space-2);
  border: 1px solid rgb(var(--lc-green-rgb) / 20%);
  border-radius: 999px;
  background: var(--lc-green-soft);
  color: var(--lc-green-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
  text-transform: uppercase;
}

.public-service-card h2 {
  font-size: 24px;
}

.public-service-card p {
  color: var(--muted);
  font-weight: 700;
}

.live-benefits {
  margin-bottom: var(--space-6);
}

.live-request-layout {
  grid-template-columns: 340px minmax(0, 1fr);
  gap: var(--space-6);
}

.full-request-layout {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 10%, rgb(var(--lc-yellow-rgb) / 18%) 0, transparent 34%),
    radial-gradient(circle at 90% 12%, rgb(var(--lc-green-rgb) / 21%) 0, transparent 33%),
    linear-gradient(135deg, var(--lc-ink), var(--lc-green-dark) 52%, #fff7a8);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
}

.full-request-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 8%) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgb(255 255 255 / 7%) 0 1px, transparent 1px 100%);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, transparent);
  opacity: 0.18;
}

.full-request-layout > * {
  position: relative;
  z-index: 1;
}

.full-request-layout .live-workflow {
  position: relative;
  top: auto;
  border-color: rgb(255 255 255 / 24%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 10%));
  color: #fff;
  box-shadow: 0 24px 64px rgb(0 0 0 / 18%);
  backdrop-filter: blur(12px);
}

.full-request-layout .live-workflow h2,
.full-request-layout .live-workflow strong {
  color: #fff;
}

.full-request-layout .live-workflow p,
.full-request-layout .live-workflow span {
  color: rgb(255 255 255 / 76%);
}

.full-request-layout .live-service-form {
  border-color: rgb(255 255 255 / 88%);
  border-top-color: var(--lc-yellow);
  background:
    radial-gradient(circle at 92% 10%, rgb(var(--lc-yellow-rgb) / 10%) 0, transparent 28%),
    linear-gradient(180deg, rgb(255 255 255 / 97%), rgb(247 251 245 / 96%));
  box-shadow: 0 26px 68px rgb(0 0 0 / 20%);
}

.live-workflow {
  position: sticky;
  top: 132px;
}

.live-workflow .steps {
  margin-top: var(--space-4);
}

.live-workflow .steps li {
  min-height: auto;
  padding: 0 0 var(--space-5) 50px;
}

.live-workflow .steps li::before {
  width: 34px;
  height: 34px;
}

.live-workflow .steps li:not(:last-child)::after {
  left: 16px;
  top: 40px;
  bottom: -2px;
}

.live-workflow .steps li strong {
  display: block;
  margin-bottom: 3px;
}

.live-workflow .steps li span {
  display: block;
  line-height: 1.48;
}

.live-service-form {
  position: relative;
  overflow: hidden;
}

.live-service-form .form-grid {
  position: relative;
  z-index: 1;
}

.live-service-form .panel-heading {
  position: relative;
  z-index: 1;
}

.live-cta-panel {
  display: grid;
  gap: var(--space-5);
  min-height: 100%;
}

.quick-request-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}

.quick-request-summary span {
  display: grid;
  gap: 3px;
  border: 1px solid rgb(var(--lc-green-rgb) / 18%);
  border-radius: 13px;
  background: rgb(255 255 255 / 72%);
  padding: var(--space-3);
}

.quick-request-summary strong {
  color: var(--ink);
  font-size: 14px;
}

.quick-request-summary small {
  color: var(--muted);
  font-weight: 800;
}

.login-layout {
  position: relative;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 10%, rgb(var(--lc-yellow-rgb) / 18%) 0, transparent 34%),
    radial-gradient(circle at 92% 12%, rgb(var(--lc-green-rgb) / 21%) 0, transparent 32%),
    linear-gradient(135deg, var(--lc-ink), var(--lc-green-dark) 52%, #fff7a8);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
}

.login-copy,
.login-panel {
  align-self: start;
}

.login-layout .login-copy {
  position: relative;
  top: auto;
}

.login-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 8%) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgb(255 255 255 / 7%) 0 1px, transparent 1px 100%);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, transparent);
  opacity: 0.2;
}

.login-layout > * {
  position: relative;
  z-index: 1;
}

.login-copy {
  border-color: rgb(255 255 255 / 24%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 10%));
  color: #fff;
  box-shadow: 0 24px 64px rgb(0 0 0 / 18%);
  backdrop-filter: blur(12px);
}

.login-copy .eyebrow,
.login-copy p {
  color: rgb(255 255 255 / 78%);
}

.login-copy h1 {
  color: #fff;
}

.login-panel {
  border-color: rgb(255 255 255 / 88%);
  border-top-color: var(--lc-yellow);
  background:
    radial-gradient(circle at 92% 10%, rgb(var(--lc-yellow-rgb) / 10%) 0, transparent 28%),
    linear-gradient(180deg, rgb(255 255 255 / 97%), rgb(247 251 245 / 96%));
  box-shadow: 0 26px 68px rgb(0 0 0 / 20%);
}

@media (max-width: 900px) {
  .top-strip,
  .support-meta,
  .row,
  .filter,
  .filter-actions,
  .submit-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .support-meta {
    gap: 4px;
    text-align: left;
  }

  .page {
    width: min(100% - 20px, 1180px);
    margin: 18px auto 32px;
  }

  .hero,
  .request-layout,
  .login-layout,
  .admin-hero,
  .detail-grid,
  .workspace-grid,
  .form-grid,
  .filter-grid,
  .settings-grid,
  .design-lab-grid,
  .preview-hero,
  .preview-service-grid,
  .saas-panels,
  .corporate-service-list,
  .public-service-grid,
  .hybrid-benefits,
  .preview-workspace,
  .live-request-layout {
    grid-template-columns: 1fr;
  }

  .service-guide,
  .login-copy,
  .live-workflow {
    position: static;
  }

  .quick-request-summary {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .pagination {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .nav {
    width: 100%;
  }

  .nav a,
  .link-button,
  .current-user-pill,
  button,
  .button-secondary,
  .danger-button {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.45;
  }

  .topbar {
    position: static;
  }

  .top-strip {
    align-items: center;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 8px;
    padding: 7px 10px;
  }

  .brand-service-link,
  .brand-logo-link {
    min-width: 0;
    margin-inline: 0;
  }

  .brand-logo {
    width: 104px;
    height: 30px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .brand-logo-full {
    display: block;
    max-height: 30px;
  }

  .brand-logo img {
    filter: drop-shadow(1px 2px 2px rgb(0 0 0 / 18%));
  }

  .brand-logo-icon {
    display: none;
  }

  .brand-service {
    grid-template-columns: 24px auto;
    column-gap: 6px;
  }

  .helpdesk-symbol {
    width: 24px;
    height: 24px;
  }

  .helpdesk-symbol svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
  }

  .brand-service strong {
    font-size: 13px;
    line-height: 1;
  }

  .brand-service small {
    font-size: 8px;
    line-height: 1.1;
  }

  .support-meta {
    flex: 1 1 auto;
    align-items: flex-end;
    gap: 1px;
    font-size: 11px;
    line-height: 1.2;
    text-align: right;
  }

  .support-meta strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .nav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 7px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .link-button,
  .current-user-pill {
    width: auto;
    min-width: max-content;
    min-height: 30px;
    border-color: var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 7px 10px;
    text-align: center;
  }

  .current-user-pill {
    font-size: 11px;
    max-width: min(78vw, 340px);
  }

  .nav form {
    flex: 0 0 auto;
  }

  .settings-subnav {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    margin: 0 0 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .settings-subnav::-webkit-scrollbar {
    display: none;
  }

  .settings-subnav a {
    min-width: max-content;
    min-height: 32px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    padding: 7px 10px;
  }

  .page {
    width: min(100% - 16px, 1180px);
    margin: 12px auto 28px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  h2 {
    font-size: 22px;
    line-height: 1.12;
  }

  .hero {
    gap: 14px;
    margin-bottom: 14px;
    padding: 18px;
  }

  .hero h1 {
    margin-bottom: 8px;
    font-size: 34px;
    line-height: 1.05;
  }

  .hero p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
  }

  .hero-aside {
    gap: 7px;
  }

  .hero-aside span {
    min-height: 48px;
    font-size: 13px;
    padding: 8px 10px;
  }

  .hero-aside span::before {
    width: 26px;
    height: 26px;
    box-shadow: inset 0 0 0 5px rgb(255 255 255 / 84%), 0 5px 10px rgb(var(--lc-green-dark-rgb) / 12%);
  }

  .request-layout,
  .login-layout {
    gap: 14px;
  }

  .service-guide {
    padding: 16px;
  }

  .steps {
    gap: 9px;
    margin-top: 12px;
  }

  .steps li {
    min-height: 48px;
    padding-left: 44px;
  }

  .steps li::before {
    width: 30px;
    height: 30px;
  }

  .steps li:not(:last-child)::after {
    left: 14px;
    top: 36px;
    bottom: -9px;
  }

  .panel {
    padding: 16px;
  }

  .panel-heading {
    margin-bottom: 16px;
  }

  .form-grid,
  .stack {
    gap: 12px;
  }

  .form-section {
    padding-top: 4px;
  }

  .section-title span {
    width: 24px;
    height: 24px;
  }

  input,
  select,
  textarea {
    padding: 10px 11px;
  }

  textarea {
    min-height: 132px;
  }

  .submit-bar {
    gap: 12px;
    padding-top: 16px;
  }

  .submit-bar button {
    width: 100%;
  }

  .client-ticket-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .client-ticket-card .badge-stack {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .brand-logo {
    width: 82px;
    height: 28px;
  }

  .brand-service strong {
    font-size: 14px;
  }

  .panel,
  .service-guide,
  .login-copy {
    padding: 18px;
  }

  th,
  td {
    padding: 12px 10px;
  }
}
