:root {
  --ink: #253450;
  --muted: #61708a;
  --line: #d6dfed;
  --bg: #f2f5fa;
  --teal: #315cc6;
  --paper: #ffffff;
  --cyan: #c1f3f3;
  --lilac: #e4ddf8;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px/1.55 system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image: radial-gradient(
    ellipse at 95% 10%,
    #dae8ff80,
    transparent 45%
  );
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--teal);
}
:focus-visible {
  outline: 3px solid #5388dd;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -60px;
  z-index: 20;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 0;
}
.sidebar {
  display: flex;
  align-items: center;
  gap: 38px;
  max-width: 1480px;
  margin: auto;
  padding: 23px 42px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.8px;
  font-weight: 650;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font: 9px var(--mono);
  letter-spacing: 2.6px;
  color: var(--muted);
  margin-top: 1px;
}
.logo {
  display: grid;
  place-content: center;
  width: 39px;
  height: 42px;
  border: 1px solid #9bb5d3;
  border-radius: 11px 3px 11px 3px;
  background: #e3f1fa;
  font: 24px var(--mono);
  letter-spacing: -4px;
  padding-right: 4px;
  transform: rotate(-5deg);
}
.logo span {
  display: none;
}
.workspace,
.sidebar-bottom {
  display: none;
}
nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
nav button {
  border: 0;
  border-radius: 25px;
  background: transparent;
  color: var(--muted);
  padding: 10px 13px;
  font-size: 12px;
  white-space: nowrap;
}
nav button span {
  display: none;
}
nav button:hover {
  color: var(--ink);
  background: #e4ebf5;
}
nav button.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 3px 8px #25345018;
}
.shell {
  max-width: 1480px;
  margin: auto;
}
header {
  height: 66px;
  margin: 0 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 11px var(--mono);
}
.breadcrumb {
  color: var(--muted);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.local-tag {
  color: #476879;
}
.avatar {
  display: grid;
  place-items: center;
  border: 1px solid #bfcce0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  font-size: 9px;
}
main {
  padding: 38px 42px 70px;
  min-height: calc(100vh - 220px);
}
h1 {
  font-size: clamp(28px, 3.2vw, 45px);
  font-weight: 520;
  letter-spacing: -1.8px;
  line-height: 1.15;
  margin: 12px 0;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.65px;
  font-weight: 570;
  margin: 7px 0;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  margin: 8px 0;
  color: var(--muted);
}
.eyebrow {
  font: 10px var(--mono);
  letter-spacing: 1.4px;
  color: #526886;
}
.page-heading,
.desk-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 35px;
}
.page-heading p,
.desk-heading p {
  font-size: 13px;
}
.desk-heading {
  margin-bottom: 44px;
}
.desk-heading .primary {
  margin-top: 20px;
}
.button,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid #aac2e8;
  border-radius: 8px;
  background: #d7e8ff;
  color: #1a3e79;
  box-shadow: 0 3px 0 #b7cbea66;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.secondary,
button.secondary {
  display: inline-flex;
  justify-content: center;
  gap: 15px;
  border: 1px solid #c3cee0;
  border-radius: 7px;
  background: #ffffff90;
  color: var(--ink);
  padding: 9px 14px;
  text-decoration: none;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 550;
  padding: 6px;
  white-space: nowrap;
}
.text-button span {
  margin-left: 9px;
}
button.danger {
  border: 1px solid #e8c9d1;
  background: #fff1f3;
  color: #903d58;
  border-radius: 7px;
  padding: 9px 14px;
}
.desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 48px;
  align-items: start;
}
.work-surface {
  min-width: 0;
}
.live-overview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 170px;
  min-height: 205px;
  align-items: center;
  padding: 7px 26px 25px 0;
  border-bottom: 1px solid var(--line);
}
.open-count {
  font-size: 82px;
  line-height: 1;
  letter-spacing: -5px;
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 16px 0 25px;
  font-variant-numeric: tabular-nums;
}
.open-count > span {
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--muted);
}
.deadline-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  grid-column: 1/-1;
  flex-wrap: wrap;
}
.deadline-note b {
  font-weight: 550;
}
.deadline-note small {
  color: var(--muted);
  font-size: 11px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #469797;
  box-shadow: 0 0 0 4px #65c4c417;
  flex-shrink: 0;
}
.signal-art {
  width: 156px;
  height: 156px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.signal-ring {
  position: absolute;
  inset: 9px;
  border: 1px solid #b9cadf;
  border-radius: 50%;
  transform: rotate(-32deg) scaleY(0.65);
}
.ring-two {
  transform: rotate(42deg) scaleY(0.65);
  border-color: #c1b2e2;
}
.signal-core {
  display: grid;
  place-items: center;
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #e1ebfa;
  border: 1px solid #bed0ed;
  box-shadow:
    inset 0 0 18px #fff,
    0 15px 35px #7b9fcd18;
  font: 26px var(--mono);
  transform: rotate(-9deg);
  animation: float-core 6s ease-in-out infinite;
}
.signal-core span {
  font-size: 9px;
  position: absolute;
  bottom: 8px;
  color: #7596b9;
}
.signal-dot {
  width: 9px;
  height: 9px;
  background: #b6a6e3;
  border: 2px solid #f9f6ff;
  box-shadow: 0 0 0 5px #dbd3f050;
  position: absolute;
  right: 14px;
  top: 38px;
  border-radius: 50%;
  animation: float-core 6s ease-in-out infinite reverse;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 31px 0 22px;
}
.recent-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 88px 20px;
  gap: 16px;
  width: 100%;
  align-items: center;
  text-align: left;
  padding: 23px 9px 23px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.order-index {
  font: 10px var(--mono);
  color: #70819e;
}
.service-info {
  min-width: 0;
}
.service-info strong {
  font-size: 14px;
  font-weight: 570;
  display: block;
  overflow-wrap: anywhere;
}
.service-info small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.service-info small span {
  display: none;
}
.row-value {
  font: 11px var(--mono);
  text-align: right;
}
.row-arrow {
  color: #758aab;
  transition: transform 0.2s;
}
.service-row:hover {
  background: #e7edf880;
  padding-left: 9px;
}
.service-row:hover .row-arrow {
  transform: translate(3px, -3px);
  color: var(--teal);
}
.desk-summary {
  display: flex;
  gap: 35px;
  justify-content: space-between;
  padding: 26px 0;
}
.desk-summary > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.desk-summary span:not(.summary-number):not(.summary-money) {
  font-size: 11px;
  color: var(--muted);
}
.summary-number {
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -1px;
}
.summary-money {
  font-size: 22px;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.desk-summary small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.desk-rail {
  padding-top: 14px;
}
.stock-panel {
  position: relative;
  background: #e4e7f6;
  border: 1px solid #d2d7ed;
  border-radius: 3px 26px 3px 26px;
  padding: 25px 24px 23px;
  overflow: hidden;
}
.rail-caption {
  display: flex;
  justify-content: space-between;
}
.stock-number {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 56px;
  letter-spacing: -3px;
  margin: 20px 0 15px;
  line-height: 1;
}
.stock-number span {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.5;
}
.stock-panel p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.stock-panel .secondary {
  width: 100%;
  background: #f7f7ffb0;
  font-size: 12px;
}
.stock-track {
  display: flex;
  gap: 5px;
  margin-top: 23px;
  opacity: 0.7;
}
.stock-track i {
  height: 4px;
  flex: 1;
  background: #bcc8e7;
  border-radius: 3px;
}
.stock-track i:nth-child(3n) {
  background: #99bacf;
}
.shortcuts {
  margin: 32px 0 26px;
  padding: 0 9px;
}
.shortcuts > .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.shortcuts button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}
.shortcuts small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.shortcuts button > span:last-child {
  font-size: 19px;
  font-weight: 300;
  color: #657daa;
}
.rail-footnote {
  font-size: 10px;
  padding: 0 9px;
  line-height: 1.9;
}
.rail-footnote .status-dot {
  margin-right: 9px;
}
.rail-footnote > span:last-child {
  padding-left: 15px;
  color: #728198;
}
.card {
  background: #ffffffb0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.card-head {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.card-head small {
  color: var(--muted);
}
.card-body {
  padding: 22px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font: 10px var(--mono);
  letter-spacing: 0.5px;
  color: #5b6f8c;
  background: #eef2f9;
  padding: 15px 18px;
  white-space: nowrap;
}
td {
  padding: 19px 18px;
  border-top: 1px solid #e4eaf3;
  vertical-align: middle;
}
td strong {
  display: block;
  font-weight: 570;
  font-size: 12px;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
}
tbody tr {
  transition: background 0.18s;
}
tbody tr:hover {
  background: #edf4fe80;
}
.badge {
  display: inline-block;
  border-radius: 4px;
  font-size: 10px;
  padding: 4px 8px;
  white-space: nowrap;
  font-weight: 550;
  background: #e5eaf3;
  color: #526483;
}
.badge.APPROVED {
  background: #d9f1f0;
  color: #2f686c;
}
.badge.IN_PROGRESS {
  background: #e1e6ff;
  color: #4b58a4;
}
.badge.COMPLETED {
  background: #deefe7;
  color: #416c5c;
}
.badge.CANCELED {
  background: #f2e5ed;
  color: #85566e;
}
.badge.HIGH {
  background: #f7e8df;
  color: #8f6045;
}
.badge.NORMAL {
  background: #e4eafa;
  color: #516794;
}
.badge.LOW {
  background: #e7edf1;
  color: #566f7b;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
}
.toolbar input {
  flex: 1;
  min-width: 180px;
}
.toolbar select {
  width: 180px;
}
input,
select,
textarea {
  border: 1px solid #c6d1e3;
  border-radius: 7px;
  padding: 10px 12px;
  background: #fcfdff;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #6b96dc;
  box-shadow: 0 0 0 3px #94baff20;
}
input[readonly] {
  background: #edf2fa;
}
textarea {
  resize: vertical;
  min-height: 85px;
}
label {
  font-size: 12px;
  font-weight: 550;
  display: grid;
  gap: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.full {
  grid-column: 1/-1;
}
.muted {
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 45px 24px;
  color: var(--muted);
}
.pagination {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pagination div {
  display: flex;
  gap: 10px;
}
.pagination span {
  font-size: 12px;
}
.list-note {
  padding: 14px 22px;
  background: #eff3fa;
  font-size: 12px;
  color: var(--muted);
}
footer {
  padding: 20px 42px;
  color: var(--muted);
  font: 10px var(--mono);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
dialog {
  border: 1px solid #c6d5ee;
  border-radius: 16px;
  padding: 0;
  width: min(860px, 94vw);
  max-height: 90vh;
  color: var(--ink);
  background: #f8faff;
  box-shadow: 0 35px 100px #27457440;
}
dialog[open] {
  animation: dialog-in 0.25s ease-out;
}
dialog::backdrop {
  background: #233e6650;
  backdrop-filter: blur(8px);
}
.dialog-header {
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  background: #ecf2fc;
}
.dialog-header h2 {
  font-size: 21px;
}
.dialog-header p {
  font-size: 12px;
}
.close {
  border: 1px solid #c5d2e6;
  background: #f6f9ff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 25px;
  color: #657c9e;
  flex-shrink: 0;
}
.dialog-body {
  padding: 24px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 20px;
}
.detail-section {
  margin: 24px 0;
}
.detail-section h3 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.total {
  display: flex;
  justify-content: space-between;
  background: #e1edf9;
  border-radius: 7px;
  padding: 14px 16px;
  font-size: 14px;
}
.total b {
  font-size: 20px;
}
.timeline {
  padding: 0;
  list-style: none;
  max-height: 190px;
  overflow: auto;
}
.timeline li {
  padding: 10px 0 10px 15px;
  border-left: 1px solid #bdcde5;
  border-bottom: 1px solid #e1e9f4;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.timeline small {
  display: block;
  color: var(--muted);
}
.form-error,
#error {
  background: #fff0f3;
  border: 1px solid #e8c1cd;
  color: #903c59;
  padding: 12px 16px;
  border-radius: 7px;
  margin-bottom: 17px;
  font-size: 13px;
}
#error button {
  margin-left: 12px;
}
.form-error:empty {
  display: none;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #253e63;
  color: white;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 8px 30px #203d6220;
  z-index: 4;
  max-width: 90vw;
  font-size: 12px;
}
#toast:empty {
  display: none;
}
.help-content {
  max-width: 900px;
}
.help-content section {
  padding: 26px;
  margin-bottom: 22px;
}
.help-content h2 {
  margin-bottom: 12px;
}
.help-content li {
  margin: 10px 0;
  color: var(--muted);
}
code {
  background: #e8eef8;
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 12px;
}
.nowrap {
  white-space: nowrap;
}
.wrap {
  overflow-wrap: anywhere;
}
.money {
  font-variant-numeric: tabular-nums;
}
.count {
  font-size: 12px;
  color: var(--muted);
  margin-left: 7px;
}
.loading {
  padding: 70px;
  text-align: center;
  color: var(--muted);
  animation: soft-pulse 1.5s ease-in-out infinite;
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
button.primary:hover {
  background: #c5dcff;
  box-shadow: 0 5px 15px #80a6df30;
  transform: translateY(-2px);
}
button.secondary:hover {
  background: #e8effc;
}
.shortcuts button:hover {
  padding-left: 5px;
  color: var(--teal);
}
#page > *,
.service-row {
  animation: enter 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.desk-layout {
  animation-delay: 0.07s !important;
}
.service-row:nth-child(2) {
  animation-delay: 0.06s;
}
.service-row:nth-child(3) {
  animation-delay: 0.12s;
}
.service-row:nth-child(4) {
  animation-delay: 0.18s;
}
.service-row:nth-child(5) {
  animation-delay: 0.24s;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes float-core {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}
@keyframes soft-pulse {
  50% {
    opacity: 0.5;
  }
}
@media (min-width: 1500px) {
  main {
    padding-top: 45px;
  }
  .desk-layout {
    gap: 70px;
    grid-template-columns: minmax(0, 1fr) 310px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    gap: 20px;
    padding: 20px 25px 0;
  }
  .brand {
    font-size: 18px;
  }
  nav {
    gap: 0;
  }
  nav button {
    font-size: 11px;
    padding: 9px;
  }
  header {
    margin: 0 25px;
  }
  main {
    padding: 30px 25px 55px;
  }
  .desk-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .service-row {
    gap: 10px;
    grid-template-columns: 25px minmax(0, 1fr) auto 15px;
  }
  .row-value {
    display: none;
  }
  .desk-summary {
    gap: 20px;
    flex-wrap: wrap;
  }
  .stock-panel {
    padding: 22px 18px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: block;
    padding: 20px 18px 0;
  }
  .brand {
    font-size: 21px;
  }
  nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px;
    padding: 20px 0 12px;
    margin: 0 -2px;
    scrollbar-width: thin;
  }
  nav button {
    font-size: 11px;
    flex-shrink: 0;
    padding: 10px 12px;
  }
  header {
    height: 44px;
    margin: 0 18px;
  }
  .local-tag {
    font-size: 9px;
  }
  main {
    padding: 28px 18px 40px;
  }
  .page-heading,
  .desk-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
  }
  .desk-heading h1 {
    font-size: 35px;
    letter-spacing: -1.4px;
    max-width: 310px;
  }
  .desk-heading .primary {
    margin: 0;
  }
  .desk-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .live-overview {
    grid-template-columns: 1fr 110px;
    padding: 10px 0 25px;
    min-height: 185px;
  }
  .signal-art {
    width: 110px;
    height: 120px;
  }
  .signal-core {
    width: 57px;
    height: 57px;
    font-size: 22px;
    border-radius: 16px;
  }
  .signal-ring {
    inset: 6px;
  }
  .signal-dot {
    right: 0;
    top: 28px;
  }
  .open-count {
    font-size: 67px;
    gap: 17px;
  }
  .open-count > span {
    font-size: 13px;
  }
  .deadline-note {
    gap: 8px;
  }
  .deadline-note small {
    flex-basis: 100%;
    padding-left: 15px;
  }
  .section-heading {
    margin: 27px 0 20px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading .text-button {
    font-size: 10px;
  }
  .service-row {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 19px 0;
  }
  .service-info strong {
    font-size: 12px;
  }
  .service-info small {
    font-size: 10px;
  }
  .row-arrow {
    display: none;
  }
  .badge {
    font-size: 9px;
    padding: 4px 6px;
  }
  .desk-summary {
    gap: 20px;
    padding: 24px 0;
  }
  .summary-money {
    font-size: 21px;
  }
  .desk-rail {
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
  }
  .stock-panel {
    padding: 23px;
    border-radius: 3px 24px 3px 24px;
  }
  .stock-number {
    margin: 17px 0;
    font-size: 45px;
  }
  .stock-panel p {
    max-width: 350px;
  }
  .shortcuts {
    margin: 27px 0 13px;
  }
  .rail-footnote {
    margin-top: 20px;
  }
  footer {
    padding: 20px 18px;
    display: block;
  }
  footer span {
    display: block;
    margin-top: 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .dialog-body,
  .dialog-header {
    padding: 18px;
  }
  .dialog-header h2 {
    font-size: 19px;
  }
  .card-head {
    padding: 18px;
  }
  .toolbar {
    padding: 15px;
  }
  .toolbar select,
  .toolbar input {
    width: 100%;
  }
  .pagination {
    gap: 10px;
    flex-wrap: wrap;
  }
  .card-head h2 {
    font-size: 15px;
  }
  .detail-meta {
    font-size: 12px;
  }
  td {
    padding: 14px;
  }
  th {
    padding: 12px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .sidebar,
  header,
  footer,
  .form-actions,
  .close,
  button {
    display: none !important;
  }
  .shell {
    margin: 0;
  }
  dialog {
    position: static;
    max-height: none;
    width: 100%;
    box-shadow: none;
  }
  main {
    display: none;
  }
}

/* Auth screens reuse the existing ice-blue, lilac and cyan palette. */
[hidden] { display:none !important; }
.login-layout { max-width:1100px; min-height:100vh; margin:auto; padding:64px 32px; display:grid; grid-template-columns:1.1fr 1fr; gap:80px; align-items:center; }
.login-intro .brand { margin-bottom:72px; }.login-intro h1 { font-size:clamp(38px,5vw,64px); line-height:1.12; letter-spacing:-.05em; margin:18px 0; }.login-intro p { color:var(--muted); max-width:360px; }
.login-art { margin-top:42px; display:flex; gap:10px; flex-wrap:wrap; }.login-art span { font:11px var(--mono); padding:18px 14px; border:1px solid var(--line); border-radius:18px; background:var(--cyan); }.login-art span:nth-child(2){background:var(--lilac);}.login-art span:nth-child(3){background:#e2ebfa;}
.login-card { background:#ffffffd9; border:1px solid var(--line); border-radius:28px; padding:36px; box-shadow:0 24px 70px #2534500b; }.login-card h2 { font-size:27px; letter-spacing:-.03em; margin:12px 0; }.login-card p{color:var(--muted);}.login-card form{display:grid;gap:18px;margin:28px 0 14px;}.login-card label{display:grid;gap:7px;}.login-card button{width:100%;min-height:46px;}.login-divider{text-align:center;font:10px var(--mono);color:var(--muted);margin:26px 0 18px;}.login-note{font-size:12px;line-height:1.7;text-align:center;}.login-card [role=alert]{padding:12px;border-radius:10px;background:#fff0ee;color:#923f36;}.login-card [role=status]{font-size:12px;text-align:center;min-height:20px;}
.demo-banner { background:linear-gradient(110deg,#e4ddf8,#d9f5f5);border-bottom:1px solid var(--line);padding:12px 24px;color:var(--ink);font-size:13px; }.demo-banner small{display:block;color:var(--muted);}.session-label{font-size:12px;color:var(--muted);}.header-right{flex-wrap:wrap;}
@media(max-width:760px){.login-layout{grid-template-columns:1fr;gap:30px;padding:28px 20px;}.login-intro .brand{margin-bottom:30px;}.login-intro h1{font-size:36px;}.login-art{display:none;}.login-card{padding:26px 22px;}.demo-banner{padding:12px 20px;}.header-right .local-tag{display:none;}}
