:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #69736f;
  --line: #dfe5e1;
  --soft: #f3f6f4;
  --canvas: #f7f9f7;
  --white: #fff;
  --green: #146c52;
  --green-2: #0f5b45;
  --green-soft: #e8f3ee;
  --lime: #d8efaa;
  --orange: #d86b31;
  --red: #bc3f45;
  --shadow: 0 18px 55px rgba(28, 49, 41, .09);
  --radius: 20px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: #a9d7c2; }
.muted { color: var(--muted); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: white;
  background: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .05em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand-mark.large {
  width: 64px;
  height: 64px;
  margin-bottom: 38px;
  border-radius: 20px;
  background: #d9efb5;
  color: #113e30;
  font-size: 18px;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(420px, .95fr);
  min-height: 100vh;
}
.login-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 8vw, 120px);
  overflow: hidden;
  position: relative;
  color: white;
  background:
    radial-gradient(circle at 85% 17%, rgba(218,242,176,.2), transparent 24%),
    radial-gradient(circle at 5% 85%, rgba(85,171,133,.28), transparent 29%),
    linear-gradient(145deg, #0b4434, #123b30 63%, #0b2f26);
}
.login-brand::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}
.login-brand h1 {
  max-width: 630px;
  margin: 14px 0 25px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
}
.admin-login .login-brand h1 { font-size: clamp(42px, 5.2vw, 72px); }
.login-brand p {
  max-width: 570px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.9;
}
.login-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.login-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 700;
}
.back-link { position: relative; z-index: 1; margin-top: 36px; color: #d8efaa; font-weight: 700; }
.login-panel { display: grid; place-items: center; padding: 40px; background: #f6f8f6; }
.login-card { width: min(420px, 100%); padding: 42px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.login-card h2 { margin: 9px 0 8px; font-size: 32px; letter-spacing: -.04em; }
.login-card > p { margin: 0 0 30px; }
label { display: grid; gap: 8px; color: #36413d; font-size: 13px; font-weight: 700; }
form label + label { margin-top: 17px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: #fbfcfb;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input, select { min-height: 45px; padding: 0 13px; }
textarea { padding: 14px; resize: vertical; line-height: 1.65; }
input:focus, textarea:focus, select:focus {
  border-color: #73a995;
  background: white;
  box-shadow: 0 0 0 4px rgba(20,108,82,.09);
}
.primary, .secondary, .text-button, .table-button, .filters button {
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 750;
  transition: transform .15s, background .15s, color .15s, opacity .15s;
}
.primary { padding: 12px 17px; color: white; background: var(--green); box-shadow: 0 7px 18px rgba(20,108,82,.17); }
.primary:hover { background: var(--green-2); transform: translateY(-1px); }
.primary:disabled { cursor: wait; opacity: .55; transform: none; }
.secondary { padding: 11px 16px; border: 1px solid var(--line); background: white; }
.secondary:hover { background: var(--soft); }
.wide { width: 100%; margin-top: 24px; }
.admin-link { display: block; margin-top: 27px; color: var(--green); text-align: center; font-size: 13px; font-weight: 750; }
.form-error { min-height: 20px; margin: 12px 0 0 !important; color: var(--red); font-size: 12px; }

.app-shell { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 22px 14px 16px;
  border-right: 1px solid var(--line);
  background: #fff;
  z-index: 10;
}
.side-brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 24px; }
.side-brand > span:last-child, .profile-button > span:last-child { display: grid; gap: 2px; }
.side-brand strong { font-size: 15px; }
.side-brand small, .profile-button small { color: var(--muted); font-size: 10px; }
.side-nav { display: grid; gap: 5px; }
.nav-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  color: #5b6561;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.nav-item b { font-size: 16px; font-weight: 500; }
.nav-item span { font-size: 13px; font-weight: 750; }
.nav-item i {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 20px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 10px;
  font-style: normal;
  text-align: center;
}
.nav-item:hover { color: var(--ink); background: var(--soft); }
.nav-item.active { color: var(--green); background: var(--green-soft); }
.side-spacer { flex: 1; }
.credit-card {
  display: grid;
  gap: 3px;
  width: 100%;
  margin: 8px 0 10px;
  padding: 14px;
  border: 1px solid #d4e5dc;
  border-radius: 13px;
  color: var(--green-2);
  background: linear-gradient(135deg, #eef7f2, #f8fbf9);
  text-align: left;
  cursor: pointer;
}
.credit-card span { font-size: 10px; font-weight: 700; }
.credit-card strong { font-size: 24px; letter-spacing: -.04em; }
.credit-card small { color: #6d8279; font-size: 9px; }
.profile-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 9px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.profile-button strong { font-size: 12px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 12px; font-weight: 800; }
.customer-link { padding: 13px 10px; color: var(--green); font-size: 12px; font-weight: 750; }

.main { min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(215,223,218,.8);
  background: rgba(247,249,247,.9);
  backdrop-filter: blur(14px);
}
.topbar h1 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.mobile-brand { display: none; }
.top-pills { display: flex; gap: 8px; }
.top-pills span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); background: white; font-size: 10px; font-weight: 750; }
.top-pills .success-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #36a26c; box-shadow: 0 0 0 3px #dff3e8; }
.workspace { max-width: 1380px; margin: 0 auto; padding: 34px 34px 60px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 7px 0 5px; font-size: clamp(26px, 2.5vw, 38px); letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.price-note { display: grid; gap: 2px; min-width: 145px; padding: 12px 15px; border-left: 2px solid var(--green); }
.price-note span, .price-note small { color: var(--muted); font-size: 9px; }
.price-note strong { color: var(--green); font-size: 15px; }
.creation-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(480px, 1.28fr); gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 6px 25px rgba(39,61,52,.035); }
.asset-panel, .prompt-panel { min-height: 580px; padding: 22px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel-title > div { display: flex; align-items: center; gap: 10px; }
.panel-title h3 { margin: 0; font-size: 15px; }
.step { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 850; }
.counter { color: var(--muted); font-size: 10px; font-weight: 700; }
.dropzone {
  place-items: center;
  min-height: 184px;
  padding: 22px;
  border: 1.5px dashed #bdcbc4;
  border-radius: 16px;
  background: #fafcfb;
  text-align: center;
  cursor: pointer;
  transition: border .2s, background .2s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--green); background: var(--green-soft); }
.dropzone input { display: none; }
.dropzone .drop-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 11px; border-radius: 14px; color: var(--green); background: var(--green-soft); font-size: 25px; font-weight: 300; }
.dropzone strong { font-size: 13px; }
.dropzone small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 500; }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.asset-thumb { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.asset-thumb img { width: 100%; height: 100%; object-fit: cover; }
.asset-thumb button { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 23px; height: 23px; border: 0; border-radius: 50%; color: white; background: rgba(13,25,20,.67); cursor: pointer; }
.asset-thumb span { position: absolute; left: 6px; bottom: 5px; padding: 2px 5px; border-radius: 5px; color: white; background: rgba(13,25,20,.6); font-size: 8px; }
.reference-tip { display: flex; gap: 8px; margin-top: 15px; padding: 11px; border-radius: 10px; color: #647169; background: var(--soft); font-size: 10px; line-height: 1.6; }
.reference-tip b { color: var(--green); }
.text-button { padding: 7px 10px; color: var(--green); background: var(--green-soft); font-size: 10px; }
.prompt-field { position: relative; }
.prompt-field textarea { min-height: 200px; padding-bottom: 30px; font-size: 13px; }
.prompt-field > span { position: absolute; right: 12px; bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 500; }
.negative { min-height: 73px; }
.prompt-panel > label + label { margin-top: 14px; }
.form-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 20px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 9px; color: #36413d; font-size: 11px; font-weight: 750; }
legend strong { color: var(--green); }
.segmented { display: flex; gap: 6px; flex-wrap: wrap; }
.segmented label { display: block; margin: 0; }
.segmented input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.segmented span { display: block; min-width: 52px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfb; font-size: 9px; text-align: center; cursor: pointer; }
.segmented input:checked + span { border-color: var(--green); color: var(--green); background: var(--green-soft); font-weight: 800; }
.range { min-height: auto; padding: 0; accent-color: var(--green); box-shadow: none !important; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }
.delivery-row { display: flex; align-items: center; gap: 19px; margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--line); }
.delivery-row > span { display: grid; gap: 2px; }
.delivery-row > span:first-child { flex: 1; }
.delivery-row b { font-size: 12px; }
.delivery-row small { color: var(--muted); font-size: 9px; }
.submit-button { min-width: 170px; }
.submit-button b { margin-left: 7px; }
.image-delivery { margin-top: 35px; }

.filters { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.filters button { padding: 8px 12px; color: var(--muted); background: transparent; font-size: 10px; }
.filters button.active { color: var(--green); background: var(--green-soft); }
.task-list { display: grid; gap: 10px; }
.task-card {
  display: grid;
  grid-template-columns: minmax(200px, 1.35fr) 110px minmax(160px, .85fr) 150px;
  align-items: center;
  gap: 20px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}
.task-identity { min-width: 0; }
.task-identity > span { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.task-identity h3 { overflow: hidden; margin: 5px 0 4px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.task-identity p, .task-meta p { margin: 0; color: var(--muted); font-size: 9px; }
.task-status { display: grid; gap: 5px; }
.status-pill { justify-self: start; padding: 5px 8px; border-radius: 20px; color: #73571e; background: #f8efd8; font-size: 9px; font-weight: 800; }
.status-pill.completed { color: var(--green); background: var(--green-soft); }
.status-pill.failed { color: var(--red); background: #fbeaec; }
.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: #e9eeeb; }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .4s; }
.progress-native { width: 100%; height: 6px; overflow: hidden; border: 0; border-radius: 10px; background: #e9eeeb; accent-color: var(--green); }
.progress-native::-webkit-progress-bar { border-radius: 10px; background: #e9eeeb; }
.progress-native::-webkit-progress-value { border-radius: 10px; background: var(--green); }
.progress-native::-moz-progress-bar { border-radius: 10px; background: var(--green); }
.task-actions { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.table-button { padding: 7px 9px; border: 1px solid var(--line); color: #52605a; background: white; font-size: 9px; }
.table-button:hover { color: var(--green); border-color: #a8c8b9; }
.table-button.primary-lite { color: white; border-color: var(--green); background: var(--green); }
.task-error { grid-column: 1 / -1; margin: -8px 0 0; padding-top: 10px; border-top: 1px solid #f4d9dc; color: var(--red); font-size: 10px; }
.empty-state { padding: 70px 25px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: white; text-align: center; }
.empty-state strong { color: var(--ink); }
.empty-state p { margin: 7px 0 0; font-size: 12px; }
.empty-state.compact { padding: 25px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(15,27,22,.48); backdrop-filter: blur(5px); }
.modal { width: min(660px, 100%); max-height: 88vh; overflow: auto; padding: 24px; border-radius: 21px; background: white; box-shadow: 0 28px 80px rgba(10,31,23,.28); }
.modal.compact { width: min(460px, 100%); }
.modal header { display: flex; justify-content: space-between; gap: 15px; }
.modal h2 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.04em; }
.modal-close { width: 35px; height: 35px; border: 0; border-radius: 50%; color: var(--muted); background: var(--soft); font-size: 22px; cursor: pointer; }
.prompt-preview { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); font-size: 13px; line-height: 1.8; white-space: pre-wrap; }
.modal footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.credit-summary-large { display: flex; align-items: baseline; gap: 6px; margin: 25px 0 18px; padding: 22px; border-radius: 15px; color: white; background: linear-gradient(135deg, var(--green), #174c3e); }
.credit-summary-large span { flex: 1; font-size: 11px; }
.credit-summary-large strong { font-size: 36px; letter-spacing: -.05em; }
.credit-summary-large small { font-size: 11px; }
.credit-lines { display: grid; gap: 8px; }
.credit-lines p { display: flex; justify-content: space-between; margin: 0; padding: 10px 2px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.credit-lines b { color: var(--ink); }
.service-note { margin: 16px 0 0; padding: 12px; border-radius: 10px; color: #6a5b32; background: #faf3df; font-size: 11px; line-height: 1.6; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; max-width: 360px; padding: 12px 15px; border-radius: 11px; color: white; background: #193c31; box-shadow: var(--shadow); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #8d3036; }

.admin-body { background: #f5f7f5; }
.admin-shell .sidebar { background: #102c24; border-color: #1d3e34; }
.admin-shell .side-brand, .admin-shell .profile-button { color: white; }
.admin-shell .side-brand small, .admin-shell .profile-button small { color: #89a49a; }
.admin-shell .nav-item { color: #9db1aa; }
.admin-shell .nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.admin-shell .nav-item.active { color: #dff3bd; background: rgba(216,239,170,.1); }
.admin-shell .customer-link { color: #d8efaa; }
.admin-shell .profile-button { border-color: #27483e; }
.admin-shell .avatar { color: #d8efaa; background: rgba(216,239,170,.1); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.metric-grid article { display: grid; gap: 6px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.metric-grid span { color: var(--muted); font-size: 10px; font-weight: 700; }
.metric-grid strong { font-size: 30px; letter-spacing: -.05em; }
.metric-grid small { color: #8a938f; font-size: 9px; }
.config-panel { padding: 22px; }
.config-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.config-grid p { display: grid; gap: 4px; margin: 0; padding: 13px; border-radius: 11px; background: var(--soft); }
.config-grid span { color: var(--muted); font-size: 9px; }
.config-grid b { font-size: 12px; }
.table-panel { overflow: hidden; }
.table-panel > .panel-title { padding: 20px 20px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: 10px; text-align: left; white-space: nowrap; }
th { color: var(--muted); background: #fafbfa; font-size: 9px; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
td strong { display: block; font-size: 11px; }
td small { color: var(--muted); font-size: 8px; }
.admin-two-column { display: grid; grid-template-columns: 330px 1fr; gap: 16px; align-items: start; }
.admin-form { padding: 22px; }
.admin-form.narrow { max-width: 520px; }
.recharge-preview { display: flex; justify-content: space-between; margin-top: 17px; padding: 13px; border-radius: 11px; color: var(--green); background: var(--green-soft); font-size: 11px; }
.modal-form { margin-top: 22px; }
.modal-form footer { margin-top: 22px; }
.check-row { display: flex; align-items: center; gap: 8px; }
.check-row input { width: 17px; min-height: 17px; }
.positive { color: var(--green); }
.negative-value { color: var(--red); }

@media (max-width: 1050px) {
  .creation-grid { grid-template-columns: 1fr; }
  .asset-panel, .prompt-panel { min-height: auto; }
  .task-card { grid-template-columns: 1fr 100px minmax(150px, .8fr); }
  .task-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-two-column { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { min-height: 44vh; padding: 45px 28px; }
  .login-brand .brand-mark { margin-bottom: 24px; }
  .login-brand h1 { font-size: 45px; }
  .login-brand p { font-size: 14px; }
  .login-panel { padding: 24px 18px 45px; }
  .login-card { margin-top: -22px; padding: 28px 22px; position: relative; z-index: 2; }
  .app-shell { grid-template-columns: 1fr; padding-bottom: 70px; }
  .sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 66px;
    padding: 7px 10px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .side-brand, .side-spacer, .credit-card, .profile-button, .customer-link { display: none; }
  .side-nav { display: flex; justify-content: space-around; gap: 4px; }
  .nav-item { display: grid; grid-template-columns: 1fr; place-items: center; gap: 2px; min-width: 68px; min-height: 52px; padding: 4px 9px; text-align: center; }
  .nav-item b { font-size: 14px; }
  .nav-item span { font-size: 9px; }
  .nav-item i { position: absolute; transform: translate(22px,-12px); }
  .admin-shell .sidebar { background: white; border-color: var(--line); overflow-x: auto; }
  .admin-shell .side-nav { min-width: 425px; }
  .admin-shell .nav-item { color: var(--muted); }
  .admin-shell .nav-item.active { color: var(--green); background: var(--green-soft); }
  .topbar { min-height: 62px; padding: 0 18px; }
  .topbar h1 { font-size: 14px; }
  .mobile-brand { display: block; color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
  .top-pills span:not(:first-child) { display: none; }
  .workspace { padding: 25px 15px 40px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 29px; }
  .price-note { width: 100%; grid-template-columns: 1fr auto; }
  .price-note small { grid-column: 1 / -1; }
  .asset-panel, .prompt-panel { padding: 17px; border-radius: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .delivery-row { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
  .task-card { grid-template-columns: 1fr; gap: 10px; }
  .task-actions { grid-column: auto; }
  .tasks-heading .filters { width: 100%; overflow-x: auto; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .config-grid { grid-template-columns: 1fr; }
  .admin-login .login-brand { min-height: 36vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
