:root {
  --ops-blue: #247ff0;
  --ops-blue-dark: #102b55;
  --ops-blue-soft: #eef6ff;
  --ops-green: #19ad55;
  --ops-orange: #ff7a14;
  --ops-line: #dfe8f3;
  --ops-muted: #68768b;
  --ops-bg: #f4f8fd;
}

.admin-shell:not(.login-shell) {
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--ops-blue-dark);
  background: var(--ops-bg);
}
.admin-shell:not(.login-shell) .sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 18px 20px;
  color: var(--ops-blue-dark);
  background: #fff;
  border-right: 1px solid #e7eef7;
  box-shadow: 6px 0 24px rgba(34, 86, 137, .04);
}
.admin-shell:not(.login-shell) .brand { gap: 13px; padding: 0 4px; }
.brand-logo { display: block; width: 66px; height: 61px; padding: 3px; object-fit: contain; border-radius: 11px; background: #fff; }
.admin-shell:not(.login-shell) .brand strong { color: #132c4f; font-size: 23px; line-height: 1.2; letter-spacing: .02em; }
.admin-shell:not(.login-shell) .brand small { margin-top: 5px; color: #718097; font-size: 13px; }
.admin-shell:not(.login-shell) .side-nav { gap: 10px; margin-top: 26px; min-height: 0; align-content: start; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d2dfec transparent; }
.admin-shell:not(.login-shell) .menu-group { gap: 4px; }
.admin-shell:not(.login-shell) .menu-title { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; color: #293e59; background: transparent; font-size: 15px; line-height: 24px; font-weight: 700; letter-spacing: 0; text-align: left; cursor: pointer; transition: color .15s, background .15s; }
.admin-shell:not(.login-shell) .menu-title:hover { color: #176bca; background: #f0f6fd; }
.admin-shell:not(.login-shell) .menu-group:has(a.active) > .menu-title { color: #176bca; background: #f3f8ff; }
.admin-shell:not(.login-shell) .menu-group > .menu-children { gap: 3px; margin: 0 0 4px 20px; padding-left: 0; border-left: 1px solid #e1e9f2; }
.admin-shell:not(.login-shell) .menu-title:focus-visible { outline: 2px solid rgba(36, 127, 240, .45); outline-offset: -2px; border-radius: 8px; }
.admin-shell:not(.login-shell) .menu-toggle-state { display: inline-grid; flex: 0 0 18px; place-items: center; width: 18px; height: 18px; border: 1px solid #dce6f0; border-radius: 5px; color: #617b99; background: #f6f9fd; font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: 0; text-align: center; }
.menu-children[hidden] { display: none; }
.admin-shell:not(.login-shell) .side-nav a {
  position: relative;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #53647a;
  font-size: 14px;
  line-height: 20px;
  transition: color .15s, background .15s;
}
.admin-shell:not(.login-shell) .side-nav a.menu-child { padding-left: 18px; }
.admin-shell:not(.login-shell) .side-nav a:hover { color: #176bca; background: #f3f8ff; }
.admin-shell:not(.login-shell) .side-nav a.menu-workbench { min-height: 44px; padding-left: 12px; color: #293e59; background: #fff; font-size: 15px; line-height: 24px; font-weight: 700; }
.admin-shell:not(.login-shell) .side-nav a.active,
.admin-shell:not(.login-shell) .side-nav a.menu-workbench.active,
.admin-shell:not(.login-shell) .side-nav a.menu-workbench:hover {
  color: #176ee0;
  background: #eaf3ff;
  font-weight: 800;
}
.admin-shell:not(.login-shell) .side-nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 3px;
  background: var(--ops-blue);
}
.admin-shell:not(.login-shell) .sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px;
  border: 1px solid var(--ops-line);
  border-radius: 14px;
  color: #253a57;
  background: #fbfdff;
}
.operator-avatar { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #45a1ef; font-weight: 800; }
.admin-shell:not(.login-shell) .sidebar-footer strong,
.admin-shell:not(.login-shell) .sidebar-footer small { display: block; }
.admin-shell:not(.login-shell) .sidebar-footer small { margin-top: 3px; color: #8a98aa; font-size: 11px; }

.admin-shell:not(.login-shell) .workspace { min-width: 0; padding: 22px 28px 42px; background: var(--ops-bg); }
.admin-shell:not(.login-shell) .top-logout { top: 22px; right: 28px; z-index: 5; border-color: var(--ops-line); color: #53637a; border-radius: 10px; }
.admin-shell:not(.login-shell) .console-panel { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.admin-shell:not(.login-shell) .page-view > .config-card,
.admin-shell:not(.login-shell) .config-card {
  border-color: var(--ops-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(34, 86, 137, .045);
}
.admin-shell:not(.login-shell) .section-heading { padding: 9px 2px 3px; }
.admin-shell:not(.login-shell) .section-heading h2 { color: var(--ops-blue-dark); font-size: 26px; }
.admin-shell:not(.login-shell) .eyebrow { color: #2783e9; }
.admin-shell:not(.login-shell) .operation-table,
.admin-shell:not(.login-shell) .account-table,
.admin-shell:not(.login-shell) .permission-table { border-color: var(--ops-line); }
.admin-shell:not(.login-shell) .operation-table-head,
.admin-shell:not(.login-shell) .account-table-head,
.admin-shell:not(.login-shell) .permission-table-head { color: #66768b; background: #f6f9fd; border-color: var(--ops-line); }
.admin-shell:not(.login-shell) .operation-table-row:hover,
.admin-shell:not(.login-shell) .account-table-row:hover { background: #f7fbff; }
.admin-shell:not(.login-shell) .primary { background: var(--ops-blue); }
.admin-shell:not(.login-shell) .primary:hover { background: #176fd7; }
.admin-shell:not(.login-shell) .operation-actions .primary { width: auto; min-width: 68px; margin: 0; padding: 7px 12px; border-radius: 8px; }
.admin-shell:not(.login-shell) .operation-actions .primary:disabled { background: #9aa9b8; }
.admin-shell:not(.login-shell) .pagination button,
.admin-shell:not(.login-shell) .back-button,
.admin-shell:not(.login-shell) .sub-actions button { border-color: #cfe0f5; color: #176dc8; background: #f3f8ff; }

/* Shared visual system for every page after sign-in. */
.admin-shell:not(.login-shell) .page-view { color: #253a57; }
.admin-shell:not(.login-shell) .section-heading {
  min-height: 78px;
  padding: 9px 110px 8px 2px;
  align-items: center;
}
.admin-shell:not(.login-shell) .section-heading h2 {
  margin-top: 7px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.admin-shell:not(.login-shell) .section-heading p {
  max-width: 420px;
  color: #738198;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}
.admin-shell:not(.login-shell) .eyebrow {
  color: #2179dc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.admin-shell:not(.login-shell) .page-view > .config-card { margin-top: 14px; }
.admin-shell:not(.login-shell) .config-card {
  padding: 24px;
  border: 1px solid var(--ops-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(34, 86, 137, .045);
}
.admin-shell:not(.login-shell) .page-title {
  min-height: 58px;
  padding: 0 0 14px;
  align-items: flex-start;
  border-bottom: 1px solid #edf2f8;
}
.admin-shell:not(.login-shell) .page-title h3 { color: #17345e; font-size: 19px; }
.requirement-tabs { display: flex; gap: 28px; margin-top: 18px; border-bottom: 1px solid var(--ops-line); }
.requirement-status-tab { position: relative; padding: 9px 5px 13px; color: #5a687c; background: transparent; font-size: 15px; font-weight: 650; }
.requirement-status-tab::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.requirement-status-tab span { display: inline-grid; min-width: 25px; height: 22px; margin-left: 5px; padding: 0 7px; place-items: center; border-radius: 99px; color: #6d7b8e; background: #f1f5fa; font-size: 12px; }
.requirement-status-tab:hover, .requirement-status-tab.active { color: var(--ops-blue); }
.requirement-status-tab.active::after { background: var(--ops-blue); }
.requirement-status-tab.active span { color: #176ee0; background: #e8f2ff; }
.admin-shell:not(.login-shell) .card-note { margin: 7px 0 0; color: #7a899e; }
.admin-shell:not(.login-shell) .muted-label {
  padding: 5px 10px;
  border-radius: 999px;
  color: #65768d;
  background: #f3f7fc;
}
.admin-shell:not(.login-shell) .list-caption { margin: 16px 0 10px; color: #29415f; }

.admin-shell:not(.login-shell) .operation-table,
.admin-shell:not(.login-shell) .account-table,
.admin-shell:not(.login-shell) .permission-table {
  margin-top: 16px;
  border: 1px solid var(--ops-line);
  border-radius: 13px;
  background: #fff;
}
.admin-shell:not(.login-shell) .operation-table-head,
.admin-shell:not(.login-shell) .account-table-head,
.admin-shell:not(.login-shell) .permission-table-head {
  min-height: 45px;
  padding-top: 13px;
  padding-bottom: 13px;
  color: #63748b;
  background: #f5f8fc;
  border-color: var(--ops-line);
}
.admin-shell:not(.login-shell) .operation-table-row,
.admin-shell:not(.login-shell) .account-table-row,
.admin-shell:not(.login-shell) .permission-table-row { border-color: #e8eef5; }
.admin-shell:not(.login-shell) .operation-table-row { min-height: 56px; }
.admin-shell:not(.login-shell) .operation-sequence { color: #1975dd; }
.admin-shell:not(.login-shell) .operation-title { color: #1d3658; }
.admin-shell:not(.login-shell) .agreement-draft-warning { color: #c62828; font-weight: 700; }
.admin-shell:not(.login-shell) .operation-title:hover { color: #176fd7; }
.admin-shell:not(.login-shell) .operation-actions .draft-open,
.admin-shell:not(.login-shell) .operation-actions .draft-account,
.admin-shell:not(.login-shell) .small-button {
  border-color: #cfe0f5;
  color: #176dc8;
  background: #f3f8ff;
}
.admin-shell:not(.login-shell) .operation-actions .draft-open:hover,
.admin-shell:not(.login-shell) .operation-actions .draft-account:hover,
.admin-shell:not(.login-shell) .small-button:hover { border-color: #9fc8f5; background: #e7f2ff; }
.admin-shell:not(.login-shell) .operation-actions .danger { color: #c13f3f; background: #fff0f0; }
.admin-shell:not(.login-shell) .operation-actions .danger:hover { background: #ffe3e3; }

.admin-shell:not(.login-shell) .pagination { margin-top: 18px; }
.admin-shell:not(.login-shell) .pagination button,
.admin-shell:not(.login-shell) .back-button,
.admin-shell:not(.login-shell) .sub-actions button {
  border: 1px solid #cfe0f5;
  border-radius: 9px;
  color: #176dc8;
  background: #f3f8ff;
}
.admin-shell:not(.login-shell) .pagination button:hover,
.admin-shell:not(.login-shell) .back-button:hover,
.admin-shell:not(.login-shell) .sub-actions button:hover { background: #e4f0ff; }

.admin-shell:not(.login-shell) .account-index {
  border-color: #d5e7fb;
  color: #176ed7;
  background: #edf5ff;
}
.admin-shell:not(.login-shell) .account-action-cell,
.admin-shell:not(.login-shell) .open-hint { color: #176dc8 !important; }
.admin-shell:not(.login-shell) .account-table-row:hover { background: #f7fbff; }
.admin-shell:not(.login-shell) .data-list {
  gap: 0;
  max-height: none;
  overflow: hidden;
  border: 1px solid var(--ops-line);
  border-radius: 13px;
  background: #fff;
}
.admin-shell:not(.login-shell) .data-row {
  min-height: 60px;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid #e8eef5;
  border-radius: 0;
}
.admin-shell:not(.login-shell) .data-row:last-child { border-bottom: 0; }
.admin-shell:not(.login-shell) .account-row:hover,
.admin-shell:not(.login-shell) .role-row:hover { background: #f7fbff; }
.admin-shell:not(.login-shell) .row-side { gap: 12px; }

.admin-shell:not(.login-shell) .config-form label,
.admin-shell:not(.login-shell) .config-card > label { color: #29415f; }
.admin-shell:not(.login-shell) .config-form input,
.admin-shell:not(.login-shell) .config-card select {
  min-height: 42px;
  border-color: #d7e2ef;
  border-radius: 9px;
  color: #263b56;
  background: #fbfdff;
}
.admin-shell:not(.login-shell) .config-form input:focus,
.admin-shell:not(.login-shell) .config-card select:focus {
  border-color: #5fa6ef;
  box-shadow: 0 0 0 3px rgba(36, 127, 240, .12);
}
.admin-shell:not(.login-shell) .detail-form,
.admin-shell:not(.login-shell) .sms-config-card .config-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e3ebf5;
  border-radius: 13px;
  background: #f9fbfe;
}
.admin-shell:not(.login-shell) .detail-form .primary,
.admin-shell:not(.login-shell) .sms-config-card .config-form .primary,
.admin-shell:not(.login-shell) .user-create-form .primary {
  grid-column: 1 / -1;
  justify-self: start;
  width: auto;
  min-width: 150px;
  padding: 11px 20px;
  border-radius: 9px;
}
.admin-shell:not(.login-shell) .detail-form .small-result,
.admin-shell:not(.login-shell) .sms-config-card .small-result,
.admin-shell:not(.login-shell) .user-create-form .small-result { grid-column: 1 / -1; }
.admin-shell:not(.login-shell) .permission-item input { accent-color: var(--ops-blue); }
.admin-shell:not(.login-shell) .selected-role {
  border-color: #cfe0f5;
  color: #176dc8;
  background: #f3f8ff;
}
.admin-shell:not(.login-shell) .permission-type { color: #176dc8; }
.admin-shell:not(.login-shell) .data-options-list { gap: 16px; }
.admin-shell:not(.login-shell) .data-option-group {
  border-color: var(--ops-line);
  border-radius: 13px;
  background: #fbfdff;
}
.admin-shell:not(.login-shell) .data-option-heading { border-color: #e8eef5; }
.admin-shell:not(.login-shell) .requirement-detail {
  border-color: #dce7f3;
  color: #243a57;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 80px rgba(16, 43, 85, .22), 0 0 0 100vmax rgba(15, 40, 72, .22);
}
.admin-shell:not(.login-shell) .requirement-detail-header h3,
.admin-shell:not(.login-shell) .requirement-detail-body,
.admin-shell:not(.login-shell) .requirement-detail-body strong { color: #17345e; }
.admin-shell:not(.login-shell) .attachment-link { border-color: #cfe0f5; color: #176dc8; background: #f3f8ff; }
.admin-shell:not(.login-shell) .attachment-link:hover { border-color: #9fc8f5; background: #e7f2ff; }
.admin-shell:not(.login-shell) .small-result,
.admin-shell:not(.login-shell) .operation-panel-card .small-result {
  width: fit-content;
  min-height: 0;
  margin: 14px 0 0;
  padding: 8px 11px;
  border-radius: 8px;
  color: #188653 !important;
  background: #edf9f2;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
}
.admin-shell:not(.login-shell) .small-result.is-error {
  color: #b42318 !important;
  background: #fff0f0;
}

.workbench-topbar { display: flex; min-height: 54px; justify-content: space-between; align-items: center; padding: 0 120px 14px 4px; }
.workbench-topbar h2 { margin: 0; color: var(--ops-blue-dark); font-size: 27px; }
.workbench-tools { display: flex; align-items: center; gap: 8px; }
.tool-button { position: relative; padding: 8px 12px; border: 1px solid var(--ops-line); border-radius: 10px; color: #52637b; background: #fff; font-size: 12px; }
.notification-button span { position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #f14b45; }
.admin-shell:not(.login-shell) .role-badge { max-width: 190px; overflow: hidden; color: #146cc4; background: #eaf3ff; text-overflow: ellipsis; }
.workbench-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 250px;
  overflow: hidden;
  padding: 40px 42% 40px 56px;
  border-radius: 18px;
  background: #5dbbe3 url('assets/login-sky.png') center 44% / cover no-repeat;
}
.workbench-hero::after { content: ''; position: absolute; inset: 0; background: rgba(105, 198, 232, .12); pointer-events: none; }
.workbench-copy { position: relative; z-index: 2; }
.workbench-hero h3 { margin: 0; color: #0c2c57; font-size: clamp(30px, 3vw, 47px); line-height: 1.3; letter-spacing: -.03em; white-space: nowrap; }
.workbench-hero p { margin: 12px 0 20px; color: #163c62; font-size: 19px; }
.dashboard-date { color: #2d5477; font-size: 15px; }
.workbench-mascot-zone {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: -49%;
  width: min(34%, 380px);
  aspect-ratio: 1;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}
.workbench-mascot-zone:focus-visible { outline: 3px solid rgba(255, 255, 255, .9); outline-offset: 4px; border-radius: 44%; }
.workbench-mascot {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: elephant-float 5.6s ease-in-out infinite;
  will-change: transform;
}
.workbench-green-star {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 13%;
  height: auto;
  pointer-events: none;
  filter: hue-rotate(65deg) saturate(1.12);
  opacity: 0;
  transform: translate3d(0, 0, 0) translate(-50%, -50%) rotate(12deg);
  transform-origin: center;
  will-change: transform;
  transition: opacity 180ms ease;
}
.workbench-green-star.is-ready { opacity: 1; }
.cloud-wave-layer { position: absolute; z-index: 3; inset: 0; overflow: visible; pointer-events: none; }
.cloud-wave {
  position: absolute;
  width: 46px;
  height: 22px;
  margin: -11px 0 0 -23px;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  opacity: 0;
  filter: drop-shadow(0 0 9px rgba(221, 245, 255, .95));
  animation: cloud-wave 900ms ease-out forwards;
}
.cloud-wave.delay { animation-delay: 110ms; }
@keyframes cloud-wave {
  0% { opacity: .9; transform: scale(.45); }
  65% { opacity: .58; }
  100% { opacity: 0; transform: scale(3.4, 2.25); }
}
.summary-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 12px; padding: 16px 0; border: 1px solid var(--ops-line); border-radius: 17px; background: #fff; box-shadow: 0 8px 28px rgba(34, 86, 137, .045); }
.summary-item { display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 0; padding: 3px 22px; color: inherit; background: transparent; text-align: left; }
.summary-item + .summary-item { border-left: 1px solid var(--ops-line); }
.summary-item:hover { background: #f8fbff; }
.summary-symbol { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 17px; font-style: normal; font-weight: 800; }
.summary-symbol.blue { color: #176fe4; background: #e6f0ff; }
.summary-symbol.green { color: #15a84c; background: #e9faee; }
.summary-symbol.orange { color: #ff7412; background: #fff0e4; }
.summary-symbol.red { color: #d95050; background: #fff0f0; }
.summary-item small { display: block; color: #5b6980; font-size: 14px; }
.summary-item strong { display: block; margin-top: 2px; font-size: 29px; line-height: 1; }
.summary-item:nth-child(1) strong { color: #176fe4; }
.summary-item:nth-child(2) strong { color: #16a94e; }
.summary-item:nth-child(3) strong { color: #f57616; }
.summary-item:nth-child(4) strong { color: #16a94e; }
.summary-item:nth-child(5) strong { color: #d95050; }
.todo-panel { margin-top: 12px; padding: 24px; border: 1px solid var(--ops-line); border-radius: 17px; background: #fff; box-shadow: 0 8px 28px rgba(34, 86, 137, .045); }
.todo-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.todo-heading > div { display: flex; align-items: baseline; gap: 18px; }
.todo-heading h3 { margin: 0; color: var(--ops-blue-dark); font-size: 24px; }
.todo-heading p { margin: 0; color: #8290a2; font-size: 14px; }
.todo-heading > button, .todo-footer button { padding: 9px 15px; border-radius: 9px; color: #fff; background: var(--ops-blue); font-size: 13px; font-weight: 700; }
.todo-tabs { display: flex; gap: 32px; margin-top: 18px; border-bottom: 1px solid var(--ops-line); }
.todo-tabs button { padding: 10px 6px 13px; color: #506079; background: transparent; font-size: 15px; }
.todo-tabs button.active { color: #1674e5; border-bottom: 3px solid #1674e5; }
.todo-tabs span { margin-left: 5px; }
.todo-table { overflow-x: auto; }
.todo-row { display: grid; grid-template-columns: minmax(220px,1.6fr) minmax(150px,1fr) 150px 100px 90px; gap: 12px; align-items: center; min-width: 760px; min-height: 50px; padding: 10px 14px; border-bottom: 1px solid #e9eff6; color: #34445b; font-size: 13px; }
.todo-head { min-height: 46px; color: #53637a; background: #f6f9fd; }
.todo-row strong { color: #1c3555; }
.todo-row em { justify-self: start; padding: 5px 10px; border-radius: 999px; color: #f16f0f; background: #fff1e6; font-style: normal; font-weight: 700; }
.review-link { padding: 5px 0; color: #1674e5; background: transparent; font-weight: 700; }
.todo-table-body { display: block; }
.dashboard-loading, .dashboard-empty {
  padding: 28px 18px;
  color: #8592a5;
  text-align: center;
}
.dashboard-empty strong { display: block; margin-bottom: 5px; color: #29415f; font-size: 14px; }
.todo-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px 0; color: #9aa5b4; font-size: 12px; }
.workbench-technical { display: none !important; }
.construction-toast {
  position: fixed;
  z-index: 30;
  top: 24px;
  left: calc(50% + 116px);
  transform: translateX(-50%);
  padding: 11px 18px;
  border: 1px solid #cfe0f5;
  border-radius: 11px;
  color: #176dc8;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(28, 76, 128, .16);
  font-size: 13px;
  font-weight: 700;
}

.application-filters {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(150px, .7fr) minmax(160px, .75fr) minmax(160px, .75fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--ops-line);
  border-radius: 13px;
  background: #f8fbff;
}
.application-filters label { display: grid; gap: 7px; color: #52647b; font-size: 12px; font-weight: 700; }
.application-filters input,
.application-filters select { width: 100%; height: 39px; padding: 0 11px; border: 1px solid #d5e1ef; border-radius: 9px; color: #203a5d; background: #fff; font: inherit; font-weight: 500; }
.application-filters input:focus,
.application-filters select:focus { border-color: #6aa8f3; outline: 3px solid rgba(36, 127, 240, .12); }
.application-filter-actions { display: flex; gap: 8px; }
.application-filter-actions button { min-width: 64px; height: 39px; margin: 0; padding: 0 14px; border: 1px solid #cfe0f5; border-radius: 9px; color: #176dc8; background: #fff; font-weight: 700; }
.application-filter-actions .primary { width: auto; border-color: var(--ops-blue); color: #fff; background: var(--ops-blue); }
.application-stats { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 12px; margin-top: 14px; }
.application-stats > span { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 12px 16px; border: 1px solid #e1eaf5; border-radius: 12px; background: #fff; }
.application-stats small { color: #718096; font-size: 12px; }
.application-stats strong { color: #1b69c8; font-size: 22px; }
.application-stats > span:nth-child(2) strong { color: #d97706; }
.application-stats > span:nth-child(3) strong { color: #17955a; }
.application-stats > span:nth-child(4) strong { color: #c04c4c; }
.application-table .operation-table-head,
.application-table .operation-table-row { grid-template-columns: 42px 120px minmax(150px, 1.18fr) minmax(86px, .56fr) minmax(96px, .66fr) minmax(104px, .7fr) minmax(118px, .8fr) 64px; gap: 12px; }
.capability-table .operation-table-head,
.capability-table .operation-table-row { grid-template-columns: 42px 120px minmax(170px, 1.28fr) minmax(105px, .75fr) minmax(96px, .68fr) minmax(108px, .72fr) minmax(136px, .9fr); gap: 12px; }
.application-project-cell { min-width: 0; }
.application-project-cell strong { display: block; overflow: hidden; color: #19385f; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.application-project-cell small { display: block; margin-top: 4px; color: #8794a6; font-size: 11px; }
.application-progress { display: grid; justify-items: start; gap: 4px; }
.application-progress small { color: #8592a4; font-size: 11px; line-height: 1.35; }
.application-detail { width: min(900px, calc(100vw - 48px)); }
.application-detail-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.application-detail-section { padding: 16px; border: 1px solid #e1eaf5; border-radius: 13px; background: #f9fbfe; }
.application-detail-section.full { grid-column: 1 / -1; }
.application-detail-section h4 { margin: 0 0 12px; color: #17345e; font-size: 15px; }
.application-detail-grid { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 9px 12px; color: #334b69; }
.application-detail-grid dt { color: #78879b; }
.application-detail-grid dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.application-copy { margin: 0; color: #334b69; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.application-timeline { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.application-timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e5edf7; color: #314b6d; }
.application-timeline li:last-child { border-bottom: 0; }
.application-timeline time { color: #7a899d; font-size: 12px; }
.application-attachment-list { display: grid; gap: 8px; }
.application-attachment-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; border: 1px solid #d6e5f7; border-radius: 9px; color: #176dc8; background: #fff; text-align: left; }
.application-attachment-link small { color: #8693a5; }
.readonly-notice { grid-column: 1 / -1; padding: 11px 14px; border-radius: 10px; color: #476789; background: #edf5ff; font-size: 12px; }

@media (max-width: 1050px) {
  .admin-shell:not(.login-shell) { grid-template-columns: 200px minmax(0, 1fr); }
  .summary-strip { grid-template-columns: repeat(2, 1fr); }
  .summary-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--ops-line); }
  .summary-item:nth-child(4) { border-top: 1px solid var(--ops-line); }
  .summary-item:nth-child(5) { border-left: 0; border-top: 1px solid var(--ops-line); }
  .workbench-hero { padding-left: 34px; padding-right: 38%; }
  .workbench-mascot-zone { right: 1%; width: min(38%, 360px); }
  .workbench-hero h3 { font-size: 31px; white-space: normal; }
  .workbench-hero p { font-size: 16px; }
  .application-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-filter-actions { justify-content: flex-end; }
}
@media (max-width: 820px) {
  .admin-shell:not(.login-shell) { display: block; }
  .admin-shell:not(.login-shell) .sidebar { position: static; height: auto; padding: 16px; }
  .admin-shell:not(.login-shell) .side-nav { display: flex; margin-top: 14px; padding-bottom: 3px; flex-wrap: nowrap; overflow-x: auto; }
  .admin-shell:not(.login-shell) .menu-group { display: contents; }
  .admin-shell:not(.login-shell) .menu-title { display: none; }
  .admin-shell:not(.login-shell) .menu-children { display: flex; gap: 5px; }
  .admin-shell:not(.login-shell) .menu-group > .menu-children { margin: 0; border-left: 0; }
  .admin-shell:not(.login-shell) .side-nav a { flex: 0 0 auto; }
  .admin-shell:not(.login-shell) .sidebar-footer { display: none; }
  .admin-shell:not(.login-shell) .workspace { padding: 18px 16px 30px; }
  .admin-shell:not(.login-shell) .top-logout { top: 19px; right: 16px; }
  .workbench-topbar { padding-right: 80px; }
  .workbench-tools .tool-button, .workbench-tools .role-badge { display: none; }
  .workbench-hero { min-height: 240px; padding: 28px 30% 28px 24px; }
  .workbench-hero h3 { font-size: 27px; }
  .workbench-hero p { font-size: 14px; }
  .workbench-mascot-zone { right: -9%; bottom: -11%; width: 48%; }
  .summary-strip { grid-template-columns: 1fr; padding: 0; }
  .summary-item { justify-content: flex-start; padding: 14px 22px; }
  .summary-item + .summary-item { border-left: 0; border-top: 1px solid var(--ops-line); }
  .construction-toast { top: 12px; left: 50%; width: max-content; max-width: calc(100vw - 32px); }
  .todo-panel { padding: 18px; }
  .todo-heading > div { display: block; }
  .todo-heading p { margin-top: 6px; }
  .admin-shell:not(.login-shell) .section-heading { min-height: 70px; padding: 8px 72px 8px 2px; }
  .admin-shell:not(.login-shell) .section-heading p { margin-top: 8px; text-align: left; }
  .admin-shell:not(.login-shell) .config-card { padding: 18px; border-radius: 15px; }
  .admin-shell:not(.login-shell) .page-title { display: flex; min-height: 0; gap: 12px; }
  .admin-shell:not(.login-shell) .page-title h3 { font-size: 18px; }
  .requirement-tabs { gap: 18px; overflow-x: auto; }
  .requirement-status-tab { flex: 0 0 auto; }
  .application-filters { grid-template-columns: 1fr; }
  .application-filter-actions { justify-content: stretch; }
  .application-filter-actions button { flex: 1; }
  .application-stats { grid-template-columns: 1fr; }
  .application-table .operation-table-head,
  .application-table .operation-table-row { min-width: 980px; }
  .capability-table .operation-table-head,
  .capability-table .operation-table-row { min-width: 960px; }
  .application-detail { width: calc(100vw - 28px); padding: 18px; }
  .application-detail-body { grid-template-columns: 1fr; }
  .application-detail-section.full { grid-column: auto; }
  .admin-shell:not(.login-shell) .detail-form,
  .admin-shell:not(.login-shell) .sms-config-card .config-form { grid-template-columns: 1fr; padding: 14px; }
  .admin-shell:not(.login-shell) .detail-form .primary,
  .admin-shell:not(.login-shell) .sms-config-card .config-form .primary,
  .admin-shell:not(.login-shell) .user-create-form .primary { grid-column: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .workbench-mascot { animation: none; will-change: auto; }
  .workbench-green-star { will-change: auto; }
  .cloud-wave { animation: none; display: none; }
}

/* ===== 工程师能力详情 · 商户服务商品风格 ===== */
.admin-shell:not(.login-shell) .requirement-detail.capability-mode {
  border-color: #ffd9b0;
  background: linear-gradient(180deg, #fff4e6 0%, #fffdf9 180px);
  box-shadow: 0 24px 80px rgba(120, 60, 0, .18), 0 0 0 100vmax rgba(70, 40, 10, .24);
}
.admin-shell:not(.login-shell) .requirement-detail.capability-mode .requirement-detail-header h3 { color: #9a4b00; }
.admin-shell:not(.login-shell) .requirement-detail.capability-mode .requirement-detail-body,
.admin-shell:not(.login-shell) .requirement-detail.capability-mode .requirement-detail-body strong { color: #4a2400; }

.cap-showcase { display: grid; gap: 14px; }
.cap-hero {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: stretch;
  padding: 18px 20px;
  border: 1px solid #ffe0bd;
  border-radius: 16px;
  background: linear-gradient(120deg, #fff3e4, #ffeacb 55%, #ffd9a8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.cap-hero-main { min-width: 0; }
.cap-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #9a4b00;
  background: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.cap-hero-title { margin-top: 10px; color: #4a2400; font-size: 19px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.cap-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cap-tag {
  padding: 3px 12px;
  border: 1px solid #ffb763;
  border-radius: 999px;
  color: #a85a08;
  background: rgba(255, 255, 255, .85);
  font-size: 12px;
  font-weight: 600;
}
.cap-tag-empty { border-style: dashed; color: #b0855a; background: transparent; }
.cap-price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 3px;
  min-width: 150px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff9a2e, #f96808);
  box-shadow: 0 10px 24px rgba(249, 104, 8, .32);
}
.cap-price small { color: #ffe7cc; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.cap-price strong { color: #fff; font-size: 26px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cap-price strong i { font-style: normal; font-size: 15px; margin-right: 2px; font-weight: 700; }
.cap-price em { color: #ffe7cc; font-size: 12px; font-style: normal; }
.cap-price-empty { font-size: 18px; }

.cap-cover-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.cap-cover-card {
  gap: 10px;
  padding: 14px 16px;
  border: 1px dashed #f5b26b;
  border-radius: 14px;
  background: #fffaf3;
}
.cap-facts { display: grid; gap: 12px; align-content: start; }
.cap-fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border: 1px solid #ffe3c4;
  border-radius: 14px;
  background: #fffaf3;
}
.cap-fact small { color: #a06a2c; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.cap-fact strong { color: #4a2400; font-size: 15px; overflow-wrap: anywhere; }

.cap-field-label { color: #a06a2c; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.cap-section {
  padding: 14px 16px;
  border: 1px solid #ffe3c4;
  border-radius: 14px;
  background: #fffdf9;
}
.cap-section p { margin: 6px 0 0; color: #4a2400; line-height: 1.7; overflow-wrap: anywhere; }
.cap-reject { border-color: #ffd2c2; background: #fff6f2; }
.cap-reject .cap-field-label { color: #c0532b; }
.cap-reject p { color: #8a4326; }

@media (max-width: 720px) {
  .cap-hero { flex-direction: column; }
  .cap-price { align-items: flex-start; }
  .cap-cover-row { grid-template-columns: 1fr; }
}
.registration-filters { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.registration-filters label { display: grid; gap: 7px; min-width: 200px; color: #526774; font-size: 12px; font-weight: 700; }
.registration-filters label:first-child { flex: 1; }
.registration-filters input, .registration-filters select { width: 100%; min-height: 38px; padding: 8px 11px; border: 1px solid #d7e3ec; border-radius: 9px; color: #233648; background: #fff; font: inherit; box-sizing: border-box; }
.registration-table .operation-table-head, .registration-table .operation-table-row { grid-template-columns: 52px minmax(125px, .95fr) minmax(135px, 1.25fr) 90px minmax(110px, .85fr) 95px 110px; }
.registration-table .empty-state { padding: 34px 20px; color: #7d8c95; text-align: center; }
.registration-role-cell { color: #526774; font-weight: 700; }
.registration-message { margin: 14px 0 0; color: #63778a; font-size: 13px; }
.registration-detail { width: min(840px, calc(100vw - 48px)); background: rgba(250,252,255,.98); }
.registration-detail-section { margin-top: 20px; padding: 18px; border: 1px solid #e1eaf2; border-radius: 14px; background: #fff; }
.registration-detail-section h4 { margin: 0 0 12px; color: #17345e; font-size: 16px; }
.registration-detail-section .card-note { margin: -5px 0 14px; }
.registration-profile { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.registration-field { display: grid; gap: 5px; min-width: 0; padding: 11px 13px; border-radius: 9px; background: #f4f8fc; overflow-wrap: anywhere; }
.registration-field strong { color: #64778b; font-size: 12px; }
.registration-field span { color: #1e3650; font-size: 14px; }
.registration-documents { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.registration-document { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; border: 1px solid #e2eaf1; border-radius: 11px; background: #f8fbfd; overflow-wrap: anywhere; }
.registration-document strong { color: #29415f; font-size: 13px; }
.registration-document img { width: 100%; max-height: 300px; object-fit: contain; border-radius: 7px; background: #fff; }
.registration-document-missing { justify-content: center; min-height: 75px; color: #b42318; background: #fff5f4; border-color: #f4d3cf; }
.registration-reason-label { display: block; margin-bottom: 8px; color: #526774; font-size: 13px; font-weight: 700; }
.registration-detail textarea { width: 100%; min-height: 88px; padding: 11px 13px; resize: vertical; border: 1px solid #d7e3ec; border-radius: 9px; font: inherit; box-sizing: border-box; }

/* About content follows the list → editor pattern used by project type configuration. */
.admin-shell:not(.login-shell) .about-config-card .page-title { align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--ops-line); }
.admin-shell:not(.login-shell) .about-config-card .page-title-actions { flex: 0 0 auto; flex-wrap: nowrap; }
.admin-shell:not(.login-shell) .about-config-card .page-title-actions button { width: auto; min-width: 96px; margin: 0; padding: 9px 15px; white-space: nowrap; font-size: 13px; }
.admin-shell:not(.login-shell) .about-content-list { display: grid; gap: 12px; margin-top: 20px; }
.admin-shell:not(.login-shell) .about-content-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px; padding: 18px 20px; border: 1px solid #e2eaf4; border-radius: 12px; background: #f9fbfe; }
.admin-shell:not(.login-shell) .about-content-main { min-width: 0; }
.admin-shell:not(.login-shell) .about-content-main strong { display: block; color: #17345e; font-size: 17px; }
.admin-shell:not(.login-shell) .about-content-main span { display: block; margin-top: 7px; overflow: hidden; color: #73839b; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell:not(.login-shell) .about-status { padding: 6px 12px; border-radius: 999px; color: #42627f; background: #edf3fa; font-size: 12px; white-space: nowrap; }
.admin-shell:not(.login-shell) .about-status.published { color: #13795a; background: #e5f6ed; }
.admin-shell:not(.login-shell) .about-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-shell:not(.login-shell) .about-row-actions button { width: auto; min-width: 64px; margin: 0; padding: 8px 12px; font-size: 12px; white-space: nowrap; }
.admin-shell:not(.login-shell) .about-content-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-top: 22px; padding: 28px 30px; border: 1px solid #e3ebf5; border-radius: 13px; background: #f9fbfe; }
.admin-shell:not(.login-shell) .about-content-form label { display: block; min-width: 0; margin: 0; font-size: 14px; font-weight: 700; }
.admin-shell:not(.login-shell) .about-content-form label:not(:first-child) { grid-column: 1 / -1; }
.admin-shell:not(.login-shell) .about-content-form input,
.admin-shell:not(.login-shell) .about-content-form textarea { display: block; box-sizing: border-box; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid #d7e2ef; border-radius: 9px; outline: none; background: #fbfdff; color: #263b56; font-size: 14px; font-family: inherit; }
.admin-shell:not(.login-shell) .about-content-form textarea { min-height: 96px; resize: vertical; font-family: inherit; line-height: 1.65; }
.admin-shell:not(.login-shell) .about-content-form #aboutService { min-height: 150px; }
.admin-shell:not(.login-shell) .about-content-form input:focus,
.admin-shell:not(.login-shell) .about-content-form textarea:focus { border-color: #5fa6ef; box-shadow: 0 0 0 3px rgba(36,127,240,.12); }
@media (max-width: 760px) {
  .admin-shell:not(.login-shell) .about-config-card .page-title { align-items: flex-start; flex-direction: column; }
  .admin-shell:not(.login-shell) .about-config-card .page-title-actions { flex-wrap: wrap; justify-content: flex-start; }
  .admin-shell:not(.login-shell) .about-content-row { grid-template-columns: 1fr; gap: 12px; }
  .admin-shell:not(.login-shell) .about-row-actions { justify-content: flex-start; }
  .admin-shell:not(.login-shell) .about-content-form { grid-template-columns: 1fr; padding: 18px; }
}
.registration-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.registration-actions button { flex: 0 0 auto; width: auto; min-width: 0; margin: 0; padding: 9px 14px; border-radius: 8px; cursor: pointer; }
.registration-actions .danger { border: 1px solid #e7bab4; color: #aa342c; background: #fff2f0; }
.registration-actions button:disabled { cursor: not-allowed; opacity: .5; }
.registration-detail-message { min-height: 18px; margin: 10px 0 0; color: #b42318; font-size: 13px; }
#registrationReviewReason { margin: 0; color: #a03b31; overflow-wrap: anywhere; }
@media (max-width: 900px) { .registration-table { overflow-x: auto; } .registration-table .operation-table-head, .registration-table .operation-table-row { min-width: 920px; } }
@media (max-width: 800px) { .registration-profile, .registration-documents { grid-template-columns: 1fr; } .registration-filters label { flex: 1 1 100%; } }
