/* Shared theme for the shell, forms, tables and workflow screens. */
:root {
  --ink: #182743;
  --muted: #55667d;
  --line: #dce2ec;
  --field-border: #bfcbdc;
  --bg: #f1f4f9;
  --surface: #fff;
  --nav: #283f78;
  --brand: #46458a;
  --blue: #345a91;
  --focus: #4969a3;
  --pale: #edf2fa;
  --green: #176d56;
  --red: #aa3b45;
  --amber: #845714;
  --radius: 12px;
  --control-radius: 7px;
  --control-height: 36px;
  --compact-height: 32px;
  --touch-target: 44px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --text-caption: 12px;
  --text-section: 17px;
  --text-title: clamp(24px, 2.1vw, 30px);
  --elevation: 0 1px 2px rgb(25 38 70 / 4%), 0 5px 16px -10px rgb(39 53 96 / 18%);
  --command-edge: #cdd5e4;
  --command-face: linear-gradient(180deg, #fff, #f7f9fc);
  --command-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(26 40 72 / 6%);
  --primary-face: linear-gradient(135deg, #484b91, #283d71);
  --ai-ink: #514497;
  --ai-surface: #f1effa;
  --ai-edge: #d8d3eb;
  color: var(--ink);
  background: var(--bg);
  font:
    14px/1.56 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea,
[tabindex] {
  outline-offset: 3px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
b,
strong {
  font-weight: 650;
}
h1 {
  font-size: var(--text-title);
  letter-spacing: -.035em;
  line-height: 1.3;
}
h2 {
  font-size: var(--text-section);
  letter-spacing: -0.03em;
}
h3 {
  font-size: 15px;
}
p + p {
  margin-top: 0.6em;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.mono,
.metric,
.score,
.num {
  font-variant-numeric: tabular-nums;
}
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  top: -80px;
  left: 10px;
  padding: 10px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 8px;
}
.loading {
  padding: 40px;
  color: var(--muted);
}
.brand-logo {
  display: block;
  width: 145px;
  height: auto;
}
.shell {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  z-index: 5;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 25px 14px 14px;
}
.brand {
  padding: 0 12px 23px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.product-name {
  margin-top: 14px;
  line-height: 1.4;
  color: #253758;
  font-weight: 650;
  font-size: 15px;
}
.nav-group {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6b778b;
  margin: 18px 12px 9px;
}
.navs {
  display: grid;
  gap: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 550;
  color: #536079;
  min-height: 43px;
}
.nav:hover {
  background: #f4f6fa;
}
.nav[aria-current='page'] {
  background: #eaf0f9;
  color: #253e73;
}
.nav[aria-current='page'] .icon {
  stroke-width: 2;
}
.nav-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 36px 1fr 30px;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 5px 0;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e7ecf7;
  display: grid;
  place-items: center;
  color: var(--nav);
  font-weight: 650;
}
.identity {
  min-width: 0;
}
.identity b,
.identity small {
  display: block;
  overflow-wrap: anywhere;
}
.identity small {
  color: var(--muted);
  font-size: 11px;
}
.work {
  min-width: 0;
}
.topbar {
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  padding: 9px clamp(16px, 3vw, 45px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffffeb;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}
.crumb b {
  color: var(--ink);
  font-weight: 550;
}
.crumb .icon {
  width: 16px;
  height: 16px;
}
.top-actions,
.actions,
.inline,
.section-head,
.title-line,
.subline,
.chips {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-actions,
.actions,
.chips,
.subline {
  flex-wrap: wrap;
}
.month-control {
  display: flex;
  gap: 8px;
  align-items: center;
}
.month-control select {
  max-width: 250px;
}
.main {
  padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 45px) 60px;
  max-width: 1600px;
  margin: auto;
}
.page-head {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}
.page-head .subline {
  margin-top: 7px;
  color: var(--muted);
}
.tiny {
  font-size: 11px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #66758c;
  margin-bottom: 7px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 0;
}
.panel + .panel,
.stack > * + * {
  margin-top: var(--space-4);
}
.section-head {
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.section-head .icon {
  width: 17px;
}
.section-link,
.link-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 550;
  padding: 3px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.button,
.icon-button,
.chip,
.toolbar button {
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  min-height: var(--control-height);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-weight: 550;
  line-height: 1.45;
  text-decoration: none;
}
.button:hover,
.chip:hover,
.toolbar button:hover,
.icon-button:hover {
  background: #f1f4f9;
  text-decoration: none;
}
.button,
.icon-button {
  background: var(--command-face);
  border-color: var(--command-edge);
  box-shadow: var(--command-shadow);
}
.button:not(:disabled):hover,
.icon-button:not(:disabled):hover {
  border-color: #a6b3ca;
}
.button:active:not(:disabled),
.icon-button:active:not(:disabled) {
  box-shadow: inset 0 1px 3px rgb(31 44 78 / 14%);
}
.button.ai-action {
  background: var(--ai-surface);
  border-color: var(--ai-edge);
  color: var(--ai-ink);
}
.button.ai-action:hover:not(:disabled) {
  background: #e6e2f5;
  border-color: #b5acd7;
}
.button.subtle-action {
  background: transparent;
  border-color: transparent;
  color: #495c78;
  box-shadow: none;
}
.button.subtle-action:hover:not(:disabled) {
  background: var(--pale);
  border-color: var(--line);
}
.button.primary {
  background: var(--primary-face);
  border-color: #344374;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 2px 5px rgb(33 47 94 / 17%);
  color: white;
}
.button.primary:hover {
  background: #19315f;
}
.button.quiet {
  background: #f5f7fb;
}
.button.danger {
  color: var(--red);
  border-color: #e7c9cb;
}
.icon-button {
  min-width: 33px;
  min-height: 33px;
  padding: 5px;
  color: var(--muted);
}
.button.sm {
  font-size: var(--text-caption);
  min-height: var(--compact-height);
  padding: 4px 9px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  background: #eef1f6;
  color: #546177;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  padding: 3px 7px;
  white-space: normal;
  max-width: 100%;
}
.badge.green {
  background: #e5f3ed;
  color: var(--green);
}
.badge.red {
  background: #faeaeb;
  color: var(--red);
}
.badge.blue {
  background: #e9f0fb;
  color: #335386;
}
.badge.amber {
  background: #f9f1df;
  color: var(--amber);
}
.banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0f4fb;
  border: 1px solid #d6e1f0;
  color: #36547c;
  border-radius: 9px;
  padding: 12px 14px;
  margin-bottom: 15px;
}
.banner.warn {
  background: #fbf7ec;
  border-color: #eae0c8;
  color: #775921;
}
.banner .icon {
  margin-top: 2px;
  width: 17px;
  height: 17px;
}
.banner b {
  display: block;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 1fr);
  gap: 16px;
}
.dashboard-grid .panel + .panel {
  margin: 0;
}
.summary-strip {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr 1fr;
  margin-bottom: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 20px 22px;
  min-width: 0;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat.first {
  background: #233961;
  color: #fff;
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 550;
  font-size: 13px;
}
.stat-label .icon {
  width: 16px;
  height: 16px;
}
.first .stat-label,
.first .stat-detail {
  color: #d4e0f1;
}
.metric {
  font-size: clamp(25px, 2.65vw, 40px);
  line-height: 1.35;
  letter-spacing: -0.055em;
  font-weight: 650;
  margin: 8px 0;
}
.metric small {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 450;
  color: var(--muted);
  margin-left: 4px;
}
.first .metric small {
  color: #d4e0f1;
}
.stat-detail {
  font-size: 12px;
  color: var(--muted);
}
.dim-row,
.task-row,
.simple-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid #e9edf3;
  background: transparent;
  text-align: left;
  width: 100%;
  color: inherit;
  overflow-wrap: anywhere;
}
.dim-row:first-of-type,
.task-row:first-of-type,
.simple-row:first-of-type {
  border-top: 0;
}
.dim-row:hover,
.task-row:hover {
  color: var(--blue);
}
.dim-main {
  flex: 1;
  min-width: 0;
}
.dim-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.dim-top span {
  font-size: 12px;
  color: var(--muted);
}
progress {
  height: 6px;
  background: #edf1f7;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
  display: block;
  color: #55739f;
}
progress::-webkit-progress-bar {
  background: #edf1f7;
}
progress::-webkit-progress-value {
  background: #577ba5;
  border-radius: 99px;
}
progress::-moz-progress-bar {
  background: #577ba5;
  border-radius: 99px;
}
.tile-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eff3fa;
  color: #46618b;
  flex: none;
}
.task-row .dim-main small,
.simple-row small {
  display: block;
  color: var(--muted);
}
.empty {
  padding: 22px 10px;
  text-align: center;
  color: var(--muted);
}
.empty .icon {
  margin: 0 auto 8px;
  display: block;
  width: 26px;
  height: 26px;
  color: #8d9bb1;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 4px;
}
.mutedbox {
  padding: 12px 14px;
  background: #f5f7fa;
  border-radius: 8px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.actions.end {
  justify-content: flex-end;
}
.actions.pad {
  margin-top: 16px;
}
.chip {
  border-radius: 20px;
  min-height: 31px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--muted);
}
.chip.active {
  color: #294c80;
  border-color: #bdcde4;
  background: #edf3fb;
}
.filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
.data-table th {
  background: #f5f7fb;
  color: var(--muted);
  text-align: left;
  font-size: 11px;
  padding: 9px 8px;
  font-weight: 600;
}
.data-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #e5eaf2;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.data-table small {
  display: block;
  color: var(--muted);
}
.data-table .name {
  color: var(--ink);
  font-weight: 600;
}
.ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.num {
  text-align: right !important;
}
.data-table .num {
  white-space: nowrap;
}
.align-end {
  text-align: right;
}
.main .panel.table-panel {
  padding: 16px;
}
.mobile-list {
  display: none;
}
.mobile-item {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 10px;
  background: white;
  margin: 9px 0;
}
.mobile-item header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.mobile-item p {
  margin-top: 6px;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #e8edf4;
  padding-top: 8px;
  margin-top: 10px;
}
.mobile-menu {
  display: none;
}
.scrim {
  display: none;
}
label.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 560;
  min-width: 0;
}
.field > small,
.hint {
  font-size: 12px;
  font-weight: normal;
  color: var(--muted);
}
input:not([type='checkbox']):not([type='radio']):not([type='file']),
select,
textarea {
  max-width: 100%;
  border-radius: var(--control-radius);
  border: 1px solid var(--field-border);
  background: var(--surface);
  padding: 7px 10px;
  min-height: var(--control-height);
  min-width: 0;
}
textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus,
.rich:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.full {
  grid-column: 1/-1;
}
.form-error {
  color: var(--red);
  background: #fcf0f0;
  border-radius: 7px;
  padding: 8px 10px;
  margin: 9px 0;
}
.form-error:empty {
  display: none;
}
details {
  min-width: 0;
}
summary {
  cursor: pointer;
  font-weight: 570;
}
.form-section,
.drawer-section {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-section:first-child {
  padding-top: 0;
}
.drawer-section h3,
.form-section h3 {
  margin-bottom: 9px;
}
.drawer-section:last-child {
  border: 0;
}
.label-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.section-text {
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.kv {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 10px;
  margin: 0;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.dropzone {
  display: block;
  text-align: center;
  padding: 15px;
  background: #f7f9fd;
  border: 1px dashed #b5c5dc;
  border-radius: 9px;
  font-weight: 550;
}
.dropzone.drag {
  outline: 2px solid var(--blue);
}
.dropzone input {
  display: block;
  max-width: 100%;
  margin: 7px auto 0;
}
.files,
.comments {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.file-row,
.comment,
.deduction,
.section-entry {
  padding: 10px 12px;
  background: #f5f7fa;
  border-radius: 7px;
  overflow-wrap: anywhere;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.file-row a {
  overflow-wrap: anywhere;
}
.file-row small {
  color: var(--muted);
}
.comment header,
.deduction header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}
.rich {
  border: 1px solid #ccd7e4;
  min-height: 130px;
  padding: 12px;
  border-radius: 0 0 7px 7px;
  background: white;
  font-weight: 400;
}
.rich table,
.richview table {
  border-collapse: collapse;
  max-width: 100%;
  table-layout: fixed;
}
.rich td,
.rich th,
.richview td,
.richview th {
  padding: 4px 7px;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.rich,
.richview {
  overflow-wrap: anywhere;
  min-width: 0;
  overflow-x: auto;
}
.rich img,
.richview img,
.image-preview {
  max-width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
}
.rich ul,
.rich ol,
.richview ul,
.richview ol {
  margin: 5px 0;
  padding-left: 25px;
}
.rich p,
.richview p {
  margin: 3px 0;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  background: #f4f7fb;
  border: 1px solid #ccd7e4;
  border-bottom: 0;
  padding: 5px;
  border-radius: 7px 7px 0 0;
}
.toolbar button {
  font-size: 12px;
  min-height: 27px;
  padding: 2px 7px;
  border: 0;
  background: transparent;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.check input {
  width: 16px;
  height: 16px;
}
.timeline {
  border-left: 2px solid #dbe3ef;
  margin: 10px 0 0 5px;
  padding-left: 14px;
}
.timeline div + div {
  margin-top: 10px;
}
.notice {
  color: var(--amber);
  font-weight: 550;
}
.blocked {
  color: var(--red);
}
.login-wrap {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(390px, 1.05fr);
  background: #fff;
}
.login-brand {
  color: #fff;
  background: #1b2e53;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(35px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.login-brand::before {
  content: '';
  position: absolute;
  right: -18%;
  bottom: -16%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid #526387;
  transform: rotate(45deg);
  border-radius: 22px;
  box-shadow:
    0 0 0 35px #23375b,
    0 0 0 36px #415778,
    0 0 0 75px #23375b,
    0 0 0 76px #415778;
  pointer-events: none;
}
.login-brand > * {
  position: relative;
}
.login-lockup {
  width: 160px;
  filter: brightness(0) invert(1);
}
.login-copy h1 {
  font-size: clamp(35px, 4.3vw, 66px);
  line-height: 1.25;
  letter-spacing: -0.055em;
  margin: 12px 0;
}
.login-copy p,
.login-foot {
  color: #d3deec;
}
.login-copy .eyebrow {
  color: #c4d6f1;
}
.login-steps {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
  color: #eef4fc;
}
.login-main {
  display: grid;
  place-items: center;
  padding: 32px;
}
.login-panel {
  max-width: 350px;
  width: 100%;
}
.preview-login {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.preview-login h3 {
  margin: 0;
  font-size: 14px;
}
.preview-login p {
  margin: 3px 0 10px;
}
.preview-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.preview-options form { flex: 1 1 90px; }
.model-account {
  display:grid; grid-template-columns:minmax(145px,2fr) 1fr minmax(125px,1.5fr) 1fr auto;
  gap:8px 16px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line);
}
.model-account[hidden], .model-detail[hidden] { display:none; }
.model-account > div, .model-attempt { min-width:0; overflow-wrap:anywhere; }
.model-account small, .model-attempt span { display:block; font-size:12px; color:var(--muted); }
.model-account b { font-variant-numeric:tabular-nums; }
.model-detail { grid-column:1/-1; background:var(--pale); padding:10px 14px; border-radius:8px; }
.model-attempt { padding:8px 0; }
@media(max-width:760px) {
  .model-account { grid-template-columns:1fr 1fr; }
  .model-account > .button { justify-self:start; }
}
.preview-options .button {
  width: 100%;
  min-height: 40px;
}
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 7px clamp(13px, 3vw, 45px);
  background: var(--pale);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--nav);
}
.preview-bar .button {
  min-height: 32px;
}
.login-form h2 {
  font-size: 27px;
}
.login-form .field,
.login-form .button {
  margin-top: 15px;
}
.login-form .button {
  width: 100%;
  min-height: 44px;
}
.login-form input {
  min-height: 43px !important;
}
dialog {
  border: 0;
  padding: 0;
  max-height: 94dvh;
  max-width: min(740px, 94vw);
  width: 740px;
  border-radius: 13px;
  box-shadow: 0 16px 70px #13274744;
  color: var(--ink);
  background: #fff;
}
dialog::backdrop {
  background: #14213766;
}
dialog.drawer {
  max-height: 100dvh;
  height: 100dvh;
  max-width: min(660px, 100vw);
  width: 660px;
  margin: 0 0 0 auto;
  border-radius: 13px 0 0 13px;
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 15px 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.dialog-head h2 {
  font-size: 18px;
}
.dialog-head .icon-button {
  font-size: 23px;
  line-height: 1;
}
.dialog-head small {
  display: block;
  color: var(--muted);
}
#dialog-content {
  padding: 18px 19px 24px;
}
#toast {
  position: fixed;
  z-index: 22;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  font-weight: 550;
  background: #203352;
  color: #fff;
  border-radius: 8px;
  padding: 9px 16px;
  box-shadow: 0 3px 15px #14274426;
  pointer-events: none;
}
#toast:empty {
  display: none;
}
.toolbar-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.toolbar-line .field {
  min-width: 120px;
  flex: 1;
}
.tabbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.subcard {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 8px 0;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}
.score {
  font-weight: 650;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1120px) {
  .shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main,
  .topbar {
    padding-left: 20px;
    padding-right: 20px;
  }
  .stat {
    padding: 16px;
  }
  .dashboard-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .data-table {
    font-size: 12px;
  }
  .panel {
    padding: 17px;
  }
}
@media (max-width: 850px) {
  .shell {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .shell.menu-open .sidebar {
    display: flex;
    position: fixed;
    left: 0;
    width: 220px;
  }
  .shell.menu-open .scrim {
    position: fixed;
    inset: 0;
    display: block;
    z-index: 4;
    border: 0;
    background: #12233d68;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat .metric {
    font-size: 29px;
  }
  .crumb .crumb-root {
    display: none;
  }
  .desktop-table {
    display: none;
  }
  .mobile-list {
    display: block;
  }
  .month-control select {
    max-width: 180px;
  }
  .login-wrap {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .login-brand {
    padding: 32px;
  }
  .main {
    padding-top: 22px;
  }
  .page-head {
    align-items: flex-start;
  }
}
@media (max-width: 620px) {
  .main {
    padding: 18px 13px 48px;
  }
  .topbar {
    padding: 8px 13px;
    min-height: 54px;
  }
  .page-head {
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
  }
  .top-actions .month-control > span,
  .top-actions .month-control > .icon {
    display: none;
  }
  .dashboard-grid,
  .two-col,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .full {
    grid-column: auto;
  }
  .panel {
    padding: 15px;
  }
  .section-head {
    margin-bottom: 10px;
  }
  .stat {
    padding: 14px 13px;
  }
  .summary-strip {
    border-radius: 10px;
  }
  .login-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
  }
  .login-brand {
    padding: 25px 24px;
    min-height: 182px;
  }
  .login-copy h1 {
    font-size: 34px;
    margin: 11px 0 0;
  }
  .login-copy .eyebrow,
  .login-copy p,
  .login-foot,
  .login-steps {
    display: none;
  }
  .login-lockup {
    width: 121px;
  }
  .login-main {
    padding: 33px 24px;
    align-items: start;
    flex: 1;
  }
  .login-panel {
    max-width: 420px;
  }
  .login-form h2 {
    font-size: 23px;
  }
  .section-head .button,
  .page-head .button {
    font-size: 12px;
  }
  .page-head h1 {
    font-size: 25px;
  }
  .month-control select {
    max-width: 145px;
    min-height: 33px;
    padding: 4px;
  }
  .desktop-only {
    display: none !important;
  }
  .actions {
    gap: 6px;
  }
  .badge {
    font-size: 11px;
  }
  .crumb {
    gap: 6px;
  }
  .kv {
    grid-template-columns: 80px 1fr;
  }
  .dialog-head,
  #dialog-content {
    padding-left: 14px;
    padding-right: 14px;
  }
  dialog.drawer {
    border-radius: 0;
  }
  dialog {
    max-width: 96vw;
  }
  .toolbar-line .field {
    min-width: 125px;
  }
  .login-copy {
    align-self: flex-start;
  }
  .dashboard-grid {
    gap: 12px;
  }
  .dim-row,
  .task-row {
    padding: 12px 0;
  }
  .topbar.compact .top-actions {
    margin-left: auto;
  }
}
.grade-row {
  display: grid;
  grid-template-columns: minmax(50px, 0.6fr) minmax(55px, 0.65fr) minmax(80px, 1.2fr) auto;
  margin: 6px 0;
}
.grade-row input {
  width: 100%;
}
.hint.pad {
  margin-top: 10px;
}
.simple-row .actions {
  justify-content: flex-end;
}
.richview p[align='justify'],
.rich [align='justify'] {
  text-align: justify;
}
.richview p[align='left'],
.rich [align='left'] {
  text-align: left;
}
@media (max-width: 420px) {
  .simple-row .actions {
    max-width: 48%;
    gap: 5px;
  }
  .form-grid .check {
    align-items: start;
  }
  .grade-row {
    grid-template-columns: minmax(40px, 0.6fr) minmax(42px, 0.65fr) minmax(54px, 1fr) auto;
  }
  .grade-row input:not([type='checkbox']) {
    padding: 5px;
  }
  .summary-strip .metric {
    font-size: 24px;
  }
}

.deduction-rule-row {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.deduction-rule-row .button {
  justify-self: start;
}

.daily-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(235px, .85fr);
  gap: 16px;
  align-items: start;
}
.daily-layout .panel { margin: 0; min-width: 0; }
.daily-editor { display: grid; gap: 14px; }
.daily-editor textarea { width: 100%; min-height: 68px; resize: vertical; }
.daily-editor textarea[name="work"] { min-height: 112px; }
.daily-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0 0 16px; }
.daily-tools .field { min-width: 0; }
.daily-entry {
  width: 100%; text-align: left; display: grid; gap: 5px;
  background: transparent; padding: 11px 8px; border: 0;
  border-bottom: 1px solid var(--line); border-radius: 5px; color: inherit;
}
.daily-entry[aria-current="date"] { background: #eff4fa; }
.daily-entry .label-line { margin: 0; }
.daily-excerpt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.daily-readout { margin: 0; display: grid; gap: 12px; }
.daily-readout dt { font-weight: 600; font-size: 13px; }
.daily-readout dd { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.daily-reference summary { cursor: pointer; overflow-wrap: anywhere; }
.daily-reference[open] summary { margin-bottom: 10px; }
.daily-options { display: grid; gap: 9px; padding: 10px 0; }
.daily-options .check { align-items: start; }
.daily-options .check span { min-width: 0; overflow-wrap: anywhere; }
.daily-month-list { max-height: 72vh; overflow-y: auto; }
@media (max-width: 850px) {
  .daily-layout { grid-template-columns: minmax(0, 1fr); }
  .daily-month-list { max-height: none; }
}

.proof-box,.proof-edit,.proof-day,.proof-list article{border:1px solid var(--line,#dce4ee);border-radius:8px;padding:12px;margin:10px 0;min-width:0}
.proof-box legend{font-weight:650;padding:0 4px}.proof-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:8px}.proof-thumb{display:block;width:auto;max-width:100%;height:88px;object-fit:contain;margin:4px 0}.proof-name{overflow-wrap:anywhere;margin:6px 0}.proof-day summary{cursor:pointer;font-weight:600}.proof-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:8px}.proof-list article{margin:4px 0}.proof-list small,.proof-day small{display:block}.post-totals{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.post-totals span{background:#f2f5f9;padding:3px 7px;border-radius:4px}.sheet-sample{min-width:0;max-width:100%;grid-column:1/-1}.sheet-sample details>div{overflow:auto;max-height:240px}.sheet-sample table{font-size:12px;width:max-content}.sheet-sample td{padding:4px 6px;max-width:240px;overflow-wrap:anywhere;border:1px solid #dde3ed}.clock-result{margin:6px 0}.daily-tools{flex-wrap:wrap}
@media(max-width:600px){.proof-box,.proof-edit{padding:9px}.proof-fields{grid-template-columns:minmax(0,1fr)}.daily-tools>*{max-width:100%}.daily-layout>*{min-width:0}}

.diary-page {max-width: 880px; margin: 0 auto;}
.diary-date,.diary-upload-tools,.diary-footer,.diary-chips {display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
.diary-date {margin:0 0 14px;}
.diary-date input,.diary-date select {width:auto;max-width:100%;}
.diary-page .section-head {border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:18px;}
.diary-page .daily-editor {gap:12px;}
.diary-page .daily-editor textarea {min-height:158px;line-height:1.75;}
.diary-attachments {padding:2px 0 12px;}
.diary-camera {display:none;}
.diary-footer {justify-content:space-between;border-top:1px solid var(--line);padding-top:14px;}
.diary-footer span {font-size:12px;}
.diary-chips:empty {display:none;}
.diary-chips {margin:4px 0 12px;gap:6px;}
.diary-chip {display:inline-flex;align-items:center;max-width:100%;border:1px solid var(--line);border-radius:8px;padding:4px 6px;gap:6px;}
.diary-file {display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere;}
.diary-file img {width:38px;height:38px;object-fit:cover;border-radius:4px;}
.diary-file span {min-width:0;}
.diary-file small,.diary-name-edit>small,.proof-name small {display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere;}
.diary-chip .chip-rename {flex:none;min-height:36px;padding:4px 8px;border:0;background:transparent;color:var(--blue);font-size:13px;}
.diary-name-edit {width:min(100%,460px);flex-wrap:wrap;padding:6px 8px;}
.diary-name-field {display:flex;align-items:center;flex:1 1 150px;min-width:0;gap:4px;}
.diary-name-field input {flex:1;min-width:0;width:100%;padding:7px 8px;}
.diary-ext {color:var(--muted);font-size:13px;}
.diary-name-actions {display:flex;gap:4px;margin-left:auto;}
.diary-name-edit>small {flex-basis:100%;}
.diary-name-edit .diary-name-error {color:var(--red);}
.diary-name-error:empty {display:none;}
@media (max-width:700px),(pointer:coarse){.diary-chip .chip-rename,.diary-name-actions .button,.diary-chip .chip-delete{min-width:40px;min-height:42px;}.diary-name-field input{font-size:16px;}}
.chip-delete {background:transparent;border:0;color:var(--muted);min-width:30px;min-height:30px;font-size:18px;cursor:pointer;}
.diary-history,.diary-older {margin:14px 0;color:var(--muted);}
.diary-history summary,.diary-older summary {cursor:pointer;padding:8px 0;}
.diary-history small {font-weight:normal;margin-left:8px;}
.diary-older details {margin-left:12px;}
@media(max-width:700px),(pointer:coarse){.diary-camera{display:inline-flex;}}
.ev-item {border:1px solid var(--line);border-radius:9px;margin:8px 0;}
.ev-item>summary {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;cursor:pointer;}
.ev-item>summary strong::before {content:'›';margin-right:8px;color:var(--muted);}
.ev-item[open]>summary strong::before {content:'⌄';}
.ev-toolbar {display:flex;align-items:end;gap:10px;flex-wrap:wrap;}
.ev-body {border-top:1px solid var(--line);padding:0 12px 12px;}
.ev-source {padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;}
.ev-source:last-child {border-bottom:0;}
.ev-meta,.ev-snippet,.ev-read {font-size:13px;line-height:1.65;}
.ev-meta {color:var(--muted);}
.ev-title {margin:5px 0;}
.ev-original {display:inline-flex;align-items:center;gap:8px;max-width:100%;overflow-wrap:anywhere;}
.ev-original img {width:64px;height:55px;object-fit:cover;border-radius:6px;}
.ev-read {white-space:pre-wrap;overflow-wrap:anywhere;}
.ev-snippet {margin:4px 0 8px;}
.ev-toolbar input {max-width:100%;}
.diary-page .daily-editor textarea {font-weight:400;}
.ev-excerpts {margin:8px 0;}
.ev-index {max-height:320px;overflow:auto;overflow-wrap:anywhere;font-size:13px;}
.ev-index p {margin:6px 0;}

.diary-optionals {display:grid;gap:5px;}
.diary-optional {border:1px solid var(--line);border-radius:7px;}
.diary-optional summary {display:flex;align-items:center;gap:8px;padding:8px 10px;min-height:36px;cursor:pointer;list-style:none;font-size:14px;}
.diary-optional summary::-webkit-details-marker {display:none;}
.diary-optional summary small {font-weight:400;font-size:12px;color:var(--muted);}
.diary-optional summary::after {content:'＋';margin-left:auto;color:var(--muted);}
.diary-optional[open] summary::after {content:'−';}
.diary-page .diary-optional textarea {display:block;width:calc(100% - 20px);margin:0 10px 10px;min-height:70px;line-height:1.6;}
@media(max-width:700px){.diary-page .daily-editor textarea[name=work]{min-height:125px;height:135px;}.diary-optional summary{min-height:40px;}}

.diary-page .daily-editor .field:has(textarea[required])>span::after {content:'必填';margin-left:8px;font-weight:400;font-size:12px;color:var(--muted);}
.diary-page .daily-editor textarea[name=next_step] {min-height:70px;}

/* Indicator details share the same drawer in employee, review and historical views. */
dialog.drawer:has(.item-detail) {
  width: min(736px, 100vw);
  max-width: 100vw;
}
dialog.drawer:has(.item-detail) .dialog-head {
  padding: 15px clamp(14px, 2vw, 24px);
}
dialog.drawer:has(.item-detail) #dialog-content {
  padding: 14px clamp(14px, 2vw, 24px) 24px;
}
.item-detail {
  min-width: 0;
  overflow-wrap: anywhere;
}
.item-summary {
  display: grid;
  gap: 9px;
}
.item-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.item-goal {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.55;
  color: #384962;
}
.item-score-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  padding: 10px 0;
  background: #f4f7fb;
  border: 1px solid #e1e8f1;
  border-radius: 9px;
  font-variant-numeric: tabular-nums;
}
.item-score-strip > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 9px;
  padding: 0 clamp(8px, 1.3vw, 16px);
}
.item-score-strip > div + div {
  border-left: 1px solid #d5deeb;
}
.item-score-strip span {
  color: var(--muted);
  font-size: 12px;
}
.item-score-strip strong {
  font-size: 15px;
  line-height: 1.35;
}
.item-tabs {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin: 9px 0 0;
  border-bottom: 1px solid var(--line);
}
.item-tabs [role=tab] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 3px 2px 1px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 560;
}
.item-tabs [role=tab][aria-selected=true] {
  border-bottom-color: var(--nav);
  color: var(--nav);
  font-weight: 660;
}
.item-tabs [role=tab]:hover { color: var(--nav); }
.item-tabs [role=tab] small {
  padding: 0 5px;
  border-radius: 4px;
  background: #edf1f7;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.item-tabs [role=tab]:focus-visible,
.item-panel:focus-visible,
.item-panel summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  border-radius: 4px;
}
.item-panel { min-width: 0; }
.item-panel[hidden] { display: none; }
.item-panel > .drawer-section {
  padding: 14px 0;
}
.item-panel .form-grid {
  gap: 10px 14px;
}
.item-panel .kv {
  grid-template-columns: minmax(68px, 6em) minmax(0, 1fr);
  row-gap: 7px;
}
.item-panel .file-row > a,
.item-panel .file-row > small { min-width: 0; }
.item-panel .dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 54px;
  cursor: pointer;
}
.item-panel .dropzone input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.item-panel .dropzone:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.item-extra-fields summary { color: var(--blue); }
.item-extra-fields[open] > summary { margin-bottom: 8px; }
.item-panel .item-self-form {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.item-panel .item-self-form > .form-error:not(:empty) { flex-basis: 100%; }
.item-panel .item-self-form input[type=number] { width: 8em; }
@media (max-width: 620px) {
  .item-tabs { gap: 0; }
  .item-tabs [role=tab] { flex: 1; font-size: 13px; }
  .item-score-strip > div { flex-direction: column; gap: 3px; }
  .item-score-strip { padding: 8px 0; }
  .item-panel .form-grid { gap: 9px; }
  .item-panel .form-grid:has([data-collection]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .item-panel .form-grid:has([data-collection]) > .full { grid-column: 1 / -1; }
  .item-panel :is(input[type=number], input[type=date], input[type=url], select, textarea) {
    font-size: 16px;
  }
  .item-panel .actions { flex-wrap: wrap; }
  .item-panel .button.sm,
  .item-panel summary { min-height: 36px; }
  .item-panel summary { padding-block: 6px; }
}
@media (min-width: 621px) {
  .item-panel form[data-form=accept] .form-grid:has([name=evidence_ref]) > .field:has([name=note], [name=evidence_ref]) {
    grid-column: auto;
  }
  .item-panel form[data-form=accept] textarea { min-height: 60px; }
}

.item-detail .item-long-text > summary {
  min-height: 0;
  padding: 3px 0;
  list-style: none;
  font-weight: 400;
  white-space: normal;
}
.item-detail .item-long-text > summary::-webkit-details-marker { display: none; }
.item-detail .item-long-text .item-read-full,
.item-detail .item-long-text .item-collapse-text {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}
.item-detail .item-long-text:not([open]) > summary .item-collapse-text,
.item-detail .item-long-text[open] > summary :is(.item-text-preview, .item-read-full) {
  display: none;
}
.item-detail .item-long-text[open] > .wrap { margin-top: 4px; }
.item-detail .item-review-note {
  margin-top: 12px;
  padding: 9px 12px;
  background: #fff8ee;
  border-left: 3px solid #b68237;
  border-radius: 4px;
}
#monthly-report { scroll-margin-top: 4.5rem; }
.month-exports { position: relative; }
.month-exports > summary { cursor: pointer; padding: .45rem .75rem; }
.month-exports[open] .actions { position: absolute; z-index: 3; top: 100%; right: 0; min-width: 14rem; padding: .5rem; background: white; border: 1px solid #ccd6e2; border-radius: .5rem; }

#model-usage .simple-row { overflow-wrap: anywhere; }
.model-price-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; align-items: end; margin-bottom: 8px; }
.model-price-row input, [data-model-tier] input { min-width: 0; width: 100%; }
[data-model-tier] input[type=checkbox] { width: auto; }
@media (max-width: 640px) {
  .model-price-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 8px; border-bottom: 1px solid #dce2eb; }
}

.org-department {padding: 14px 0; border-bottom: 1px solid var(--line, #d9e2ec);}
.org-department:last-child {border-bottom: 0;}
.org-heading {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;}
.org-heading h3 {margin:0 0 4px;}
.org-heading small {color:var(--muted, #50617b);}
.org-heading .actions {flex-wrap:wrap;}
.org-department .simple-row {padding-inline:8px;}
.org-department .simple-row small {overflow-wrap:anywhere;}

.diary-submit-actions,.diary-submit-actions [data-outline-tools]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.daily-editor[data-outline-preview] [data-daily-submit-control],
.daily-editor[data-outline-preview] textarea[hidden]{display:none}
.daily-editor [data-preview-field]{border-color:var(--accent,#667eaa)}
.outline-comparison{min-width:0;border:1px solid var(--line);border-radius:8px;padding:12px 14px;background:#f8faff}
.outline-comparison summary{font-weight:650;cursor:pointer}
.outline-comparison ol{list-style:none;padding:0;margin:8px 0 0;max-height:40vh;overflow:auto}
.outline-comparison li{padding:9px 0;border-top:1px solid var(--line);font-size:13px}
.outline-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin-top:6px}
.outline-pair small,.outline-comparison>small{color:var(--muted)}
.outline-pair p{margin:2px 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.outline-pair{grid-template-columns:1fr}.outline-comparison ol{max-height:45vh}}

.list-empty-actions:not([hidden]) {
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
  gap:var(--space-3); padding:var(--space-4); color:var(--muted);
  border:1px dashed var(--field-border); border-radius:var(--control-radius);
}
