:root {
  color-scheme: light;
  --ink: #1c312d;
  --muted: #536962;
  --line: #dce6e2;
  --surface: #f4f7f6;
  --green: #087469;
  --green-dark: #075c53;
  --pale: #e3f4ed;
  --header-height: 4.4rem;
  font-family: Inter, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ul, fieldset { margin: 0; }
a { color: var(--green-dark); text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #218e7c; outline-offset: 3px; }
main:focus { outline: none; }
button:disabled { cursor: not-allowed; }
.icon { display: inline-block; width: 1.22rem; height: 1.22rem; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: .55rem; left: .55rem; z-index: 10; padding: .6rem 1rem; background: white; border-radius: .4rem; transform: translateY(-190%); }
.skip-link:focus { transform: none; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #182e29; font-size: 1.24rem; font-weight: 750; letter-spacing: .065em; line-height: 1; white-space: nowrap; }
.brand img { width: 2.35rem; height: 2.35rem; display: block; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .48rem; min-height: 2.7rem; padding: .55rem 1.03rem; border: 1px solid transparent; border-radius: .55rem; text-align: center; font-size: .93rem; line-height: 1.35; font-weight: 650; }
.button .icon { width: 1.06rem; height: 1.06rem; }
.primary { color: white; background: var(--green); }
.primary:hover { background: var(--green-dark); }
.mint { color: #0e4538; background: #baf0d9; }
.mint:hover { background: #d5ffec; }
.secondary { color: var(--green-dark); background: white; border-color: #a6c9be; }
.secondary:hover { background: #eff8f4; }
.button:disabled { color: #536761; border-color: #d9e4de; background: #e5ece8; }

/* The cabinet uses the same portrait and mark as the installed application. */
.login-scene, .dashboard-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(ellipse at 76% 87%, #368779 0, transparent 51%), linear-gradient(125deg, #103832 3%, #154f45 64%, #205e52);
}
.login-scene::before, .dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(205, 251, 225, .33) .8px, transparent 1px);
  background-size: 15px 15px;
  mask-image: linear-gradient(143deg, transparent 3%, #000 46%, #000 86%, transparent);
}
.login-scene::after, .dashboard-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  right: -27rem;
  top: -20rem;
  border: 1px solid rgba(175, 231, 210, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 1.8rem rgba(21, 69, 59, .1), 0 0 0 calc(1.8rem + 1px) rgba(175, 231, 210, .09), 0 0 0 3.7rem rgba(21, 69, 59, .1), 0 0 0 calc(3.7rem + 1px) rgba(175, 231, 210, .09);
}
.cabinet-art { --screen-height: 16.3rem; position: absolute; inset: 0; pointer-events: none; }
.cabinet { position: absolute; left: 50%; bottom: 16%; width: calc(var(--screen-height) * .565); height: var(--screen-height); transform: translateX(-50%) perspective(50rem) rotateY(-12deg) rotateZ(1.6deg); }
.cabinet-display { position: relative; z-index: 1; width: 100%; height: 100%; padding: 4.8% 4.4% 7.2%; border: 1.5px solid #b5ccc4; border-right: 2px solid #89aca0; border-radius: 6% / 3.5%; background: linear-gradient(135deg, #59685f 0, #24342e 18%, #1d2d27 60%, #486053); box-shadow: .3rem .08rem 0 #3f544a, .42rem .11rem 0 #88a69a, .65rem .3rem .8rem #123b3355; }
.cabinet-display::before { content: ""; position: absolute; top: .65%; left: 49%; width: 2%; aspect-ratio: 1; border-radius: 50%; background: #14231c; }
.cabinet-display img { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid #25382f; border-radius: 2.5% / 1.5%; }
.cabinet-joint, .cabinet-foot { position: absolute; display: block; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #77988a, #cad7cd 36%, #95ab9e 72%, #5b7c6c); }
.cabinet-joint { top: 99%; width: 16%; height: 8%; box-shadow: .15rem 0 #526c5f; }
.cabinet-foot { top: 105.8%; width: 67%; height: 2.2%; transform: translateX(-50%) skewX(-27deg); border-radius: 50% 36% 13% 12%; box-shadow: 0 2px #617c70, .7rem .3rem .5rem #173f3566; }
.orbit { position: absolute; left: 50%; border: 1px solid rgba(162, 222, 193, .33); border-radius: 50%; transform: translateX(-50%) rotate(-7deg); }
.orbit-outer { width: 88%; height: 20%; bottom: 5%; }
.orbit-inner { width: 63%; height: 13%; bottom: 8.6%; border-style: dashed; border-color: rgba(162, 222, 193, .35); }
.orbit::after { content: ""; position: absolute; right: 10%; top: 16%; width: .31rem; height: .31rem; border-radius: 50%; background: #a6ddc4; }
.orbit-inner::after { right: auto; left: 15%; top: 83%; width: .25rem; height: .25rem; }

.login-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: #f4f7f5; }
.login-top { width: min(100%, 79rem); margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.45rem) clamp(1.25rem, 4vw, 3.25rem) 0; }
.login-main { flex: 1; display: grid; align-items: center; padding: 2rem clamp(1.25rem, 5vw, 4.5rem); }
.login-card { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); width: min(100%, 69.5rem); min-height: 34rem; margin: 0 auto; border: 1px solid #dbe5df; border-radius: 1.25rem; background: white; box-shadow: 0 1.05rem 3.4rem rgba(37, 72, 56, .07); }
.login-scene { min-height: 32.6rem; margin: .62rem 0 .62rem .62rem; border-radius: .95rem; }
.scene-heading { position: relative; z-index: 1; padding: clamp(1.7rem, 3vw, 3rem); }
.scene-heading h2, .hero-copy h1 { font-size: clamp(2rem, 3.2vw, 2.9rem); font-weight: 690; letter-spacing: -.035em; line-height: 1.22; }
.scene-heading p, .hero-copy p { margin-top: .7rem; color: #d1e8df; font-size: .98rem; line-height: 1.7; }
.login-panel { display: grid; place-items: center; padding: 2.5rem clamp(1.8rem, 4.4vw, 4.5rem); }
.login-inner { width: 100%; max-width: 22rem; }
.login-inner h1 { font-size: clamp(1.75rem, 2.3vw, 2.16rem); font-weight: 690; line-height: 1.25; letter-spacing: -.04em; }
.login-description { margin-top: .55rem; color: var(--muted); }
.login-form { display: grid; gap: 1.1rem; margin-top: 1.95rem; }
.login-button { width: 100%; min-height: 2.95rem; margin-top: .35rem; }
.login-help { padding-top: 1.35rem; margin-top: 1.45rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.login-footer { padding: 0 1.2rem 1.35rem; color: #62756d; text-align: center; font-size: .81rem; }

.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1.35rem; height: var(--header-height); padding: 0 clamp(1.1rem, 2.25vw, 2.3rem); border-bottom: 1px solid var(--line); background: #fff; }
.product-label { padding-left: 1.35rem; border-left: 1px solid #d3dfd7; color: #496159; font-size: .95rem; letter-spacing: .02em; }
.account-bar, .account-name, .logout { display: flex; align-items: center; }
.account-bar { gap: .95rem; margin-left: auto; min-width: 0; }
.account-name { gap: .5rem; min-width: 0; font-size: .92rem; font-weight: 600; }
.account-text { max-width: 13rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-emblem { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; color: #2b6b54; background: #e5f0e9; }
.account-emblem .icon { width: 1.04rem; height: 1.04rem; }
.logout { gap: .38rem; min-height: 2.5rem; padding: .25rem .4rem; border: 0; border-radius: .4rem; background: transparent; color: var(--muted); font-size: .875rem; }
.logout:hover { color: var(--green-dark); background: var(--surface); }
.logout .icon { width: 1rem; height: 1rem; }
.app-shell { display: grid; grid-template-columns: 13.05rem minmax(0, 1fr); min-height: calc(100vh - var(--header-height)); }
.sidebar { min-width: 0; border-right: 1px solid var(--line); background: #fff; }
.side-nav { position: sticky; top: calc(var(--header-height) + 1.4rem); display: grid; gap: .38rem; margin: 1.4rem .85rem; }
.nav-link { position: relative; display: flex; align-items: center; gap: .68rem; min-height: 2.9rem; padding: .56rem .9rem; border-radius: .55rem; font-size: .94rem; font-weight: 550; color: #50635b; }
.nav-link .icon { width: 1.12rem; height: 1.12rem; }
.nav-link:hover { background: #f1f6f3; color: var(--green-dark); }
.nav-link.active { color: #075f51; background: #def1e9; font-weight: 660; }
.admin-nav { margin-top: 1.3rem; }
.admin-nav::before { content: ""; position: absolute; inset: -.78rem .65rem auto; height: 1px; background: var(--line); }
.work-area { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2.45rem) clamp(1.25rem, 3vw, 3rem) 3rem; }
.content-wrap { display: grid; gap: 1.3rem; max-width: 77rem; margin: 0 auto; }
[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }
.dashboard-hero { display: flex; align-items: center; min-height: 13rem; border-radius: .9rem; }
.hero-copy { position: relative; z-index: 1; width: 65%; padding: 1.85rem clamp(1.4rem, 3.25vw, 3.05rem); }
.hero-copy h1 { font-size: clamp(1.9rem, 2.65vw, 2.55rem); }
.hero-copy .button { margin-top: 1.25rem; }
.dashboard-hero .cabinet-art { --screen-height: 7.8rem; left: auto; width: 37%; }
.dashboard-hero .cabinet { bottom: 24%; }
.dashboard-hero .orbit-outer { bottom: 12%; }
.dashboard-hero .orbit-inner { bottom: 16.3%; }
.dashboard-hero::after { top: -29rem; right: -19rem; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .86rem; background: white; box-shadow: 0 2px 5px rgba(28, 59, 43, .022); }
.panel-header, .section-title, .publish-head { display: flex; align-items: center; gap: .65rem; }
.panel-header { padding: 1.12rem 1.32rem; border-bottom: 1px solid var(--line); }
.section-mark { display: inline-grid; place-items: center; flex: none; width: 2.12rem; height: 2.12rem; border: 1px solid #d2e8df; border-radius: .6rem; background: #e9f5ef; color: #247562; }
.section-mark .icon { width: 1.12rem; height: 1.12rem; }
.panel h2, .issued-code h2 { font-size: 1.12rem; font-weight: 680; line-height: 1.4; }
.count { margin-left: auto; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.role-list, .document-list, .file-selection { padding: 0; list-style: none; }
.role-list li + li { border-top: 1px solid #e6ede9; }
.role-link { display: flex; gap: .85rem; align-items: center; padding: 1rem 1.32rem; color: var(--ink); }
.role-link:hover { background: #f6faf7; }
.role-link:focus-visible { outline-offset: -3px; }
.item-symbol, .empty-icon { display: grid; place-items: center; flex: none; width: 2.65rem; height: 2.65rem; border: 1px solid #dce7e0; border-radius: .6rem; background: #f4f8f5; color: #607f6f; }
.item-symbol .icon { width: 1.24rem; height: 1.24rem; }
.row-details { min-width: 0; }
.row-details strong { display: block; font-size: 1rem; font-weight: 630; overflow-wrap: anywhere; }
.row-details small { display: block; margin-top: .16rem; color: var(--muted); font-size: .81rem; }
.row-action { display: inline-flex; align-items: center; gap: .36rem; flex: none; margin-left: auto; color: var(--green-dark); font-size: .875rem; font-weight: 600; }
.row-action .icon { width: .98rem; height: .98rem; }
.empty-state { display: flex; align-items: center; gap: 1rem; min-height: 7.3rem; padding: 1.35rem 1.5rem; }
.empty-icon { width: 3rem; height: 3rem; border-style: dashed; }
.empty-state h3, .knowledge-summary h3 { font-size: .98rem; font-weight: 620; }
.empty-state p, .publish-empty p { margin-top: .28rem; color: var(--muted); font-size: .9rem; }
.table-wrap { min-width: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .91rem; line-height: 1.5; }
th, td { padding: .82rem 1.08rem; overflow-wrap: anywhere; }
th:first-child, td:first-child { padding-left: 1.32rem; }
th { background: #f6f9f7; color: #566c60; font-weight: 560; }
td { border-top: 1px solid #e6ede9; vertical-align: middle; }
td.row-title { font-weight: 620; }
.tabular, time, .count { font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: .38rem; max-width: 100%; padding: .2rem .6rem; border-radius: 1rem; font-size: .875rem; line-height: 1.45; font-weight: 530; }
.status::before { content: ""; display: block; flex: none; width: .35rem; height: .35rem; border-radius: 50%; background: currentColor; }
.status.success { color: #1b6a46; background: #e6f4e9; }
.status.pending { color: #805421; background: #faf0d9; }
.status.subdued { color: #53665e; background: #eef2ef; }

.breadcrumbs { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .875rem; }
.breadcrumbs a:hover, .text-action:hover, .table-action:hover { text-decoration: underline; }
.page-heading { overflow-wrap: anywhere; }
.page-heading h1 { font-size: clamp(1.7rem, 2.35vw, 2.25rem); line-height: 1.26; letter-spacing: -.035em; font-weight: 690; }
.page-heading p { margin-top: .52rem; color: var(--muted); }
.breadcrumbs + .page-heading { margin-top: -.42rem; }
.editor-layout { display: grid; align-items: start; gap: 1.2rem; grid-template-columns: minmax(0, 1.8fr) minmax(15.7rem, 1fr); }
.editor-section, .operator-form { display: grid; gap: 1.15rem; padding: 1.35rem; }
.editor-section + .editor-section { border-top: 1px solid var(--line); }
.field { display: grid; align-content: start; gap: .4rem; min-width: 0; }
.field label, .device-picker legend { font-size: .92rem; font-weight: 620; }
.field-help, .check-row small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.field input:not([type="file"]), .field textarea, .field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  padding: .57rem .76rem;
  border: 1px solid #bdcec4;
  border-radius: .48rem;
  background-color: #fff;
  color: var(--ink);
  line-height: 1.5;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #697c71; }
.field select { appearance: none; padding-right: 2.25rem; background-image: url("chevron.svg"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1rem; }
.field select:disabled { background-color: #f2f5f2; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #198174; }
.field-with-icon { position: relative; }
.field-with-icon > .icon { position: absolute; z-index: 1; top: 50%; left: .85rem; width: 1.1rem; height: 1.1rem; transform: translateY(-50%); color: #657b70; pointer-events: none; }
.field-with-icon input:not([type="file"]) { min-height: 2.92rem; padding-left: 2.65rem; }
.password-field input:not([type="file"]) { padding-right: 2.8rem; }
.password-toggle { position: absolute; right: .25rem; top: 50%; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; padding: .2rem; transform: translateY(-50%); color: #546e61; border: 0; border-radius: .36rem; background: transparent; }
.password-toggle:hover { background: #eff5f0; }
.password-toggle .icon { width: 1.05rem; height: 1.05rem; }
.password-toggle span { display: grid; }
.input-error { color: #9c3733; font-size: .875rem; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.check-row input[type="checkbox"] { flex: none; width: 1.04rem; height: 1.04rem; margin: .17rem 0 0; accent-color: var(--green); }
.check-row strong { display: block; font-size: .94rem; font-weight: 620; overflow-wrap: anywhere; }
.check-row small { margin-top: .15rem; overflow-wrap: anywhere; }
.factory-check { padding: .75rem .85rem; border: 1px solid #d9e6dc; border-radius: .55rem; background: #f4f8f4; }
.file-field input[type="file"] { width: 100%; min-width: 0; padding: .62rem; border: 1px dashed #9ebcaf; border-radius: .55rem; background: #f7faf7; color: #486255; font-size: .88rem; }
.file-field input::file-selector-button { margin-right: .55rem; padding: .38rem .66rem; border: 1px solid #bad1c4; border-radius: .32rem; background: white; color: #215d47; font: inherit; font-weight: 600; cursor: pointer; }
.file-selection { display: grid; gap: .15rem; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.format-guide { color: var(--muted); font-size: .875rem; }
.format-guide summary { width: fit-content; max-width: 100%; padding-block: .2rem; color: var(--green-dark); cursor: pointer; font-weight: 600; }
.format-guide p { margin-top: .45rem; }
.format-guide pre { overflow-x: auto; margin: .55rem 0 0; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: .45rem; background: #f6f9f7; color: var(--ink); }
.knowledge-summary { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .37rem .85rem; }
.knowledge-summary p { color: var(--muted); font-size: .875rem; }
.knowledge-summary strong { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.stat-divider { margin: 0 .6rem; }
.document-list { margin-top: -.55rem; }
.document-list li { display: flex; align-items: center; gap: .52rem; padding: .48rem 0; border-top: 1px solid #e5ece7; font-size: .9rem; overflow-wrap: anywhere; }
.document-list .icon { width: 1rem; height: 1rem; color: var(--muted); }
.document-list small { flex: none; margin-left: auto; color: var(--muted); font-size: .84rem; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.35rem; border-top: 1px solid var(--line); background: #fafcfb; }
.text-action, .table-action { color: var(--green-dark); font-size: .91rem; font-weight: 600; }
.publish-panel { position: sticky; top: calc(var(--header-height) + 1rem); }
.publish-standalone { width: min(100%, 39rem); }
.publish-head { padding: 1.15rem 1.22rem; border-bottom: 1px solid #cde2d5; background: #e6f2e9; }
.publish-head .section-mark { background: #f6fbf6; }
.publish-form { display: grid; gap: 1rem; padding: 1.15rem 1.22rem; }
.publish-help { color: var(--muted); font-size: .92rem; }
.device-picker { min-width: 0; padding: 0; border: 0; }
.device-picker legend { padding: 0 0 .5rem; }
.device-check { padding: .7rem .05rem; }
.device-check + .device-check { border-top: 1px solid #e6ede9; }
.device-check.unavailable { color: var(--muted); cursor: default; }
.publish-empty { padding: 1.1rem .85rem; border: 1px dashed #c4d7c9; border-radius: .55rem; background: #f7faf7; }
.publish-empty > .icon { color: #557c65; margin-bottom: .35rem; }
.publish-empty strong { display: block; font-size: .94rem; font-weight: 620; }
.operator-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.operator-action { display: flex; justify-content: flex-end; }
.table-action { padding: .4rem .2rem; border: 0; border-radius: .25rem; background: transparent; white-space: nowrap; }
.issued-code { display: grid; gap: .72rem; padding: 1.25rem 1.35rem; border: 1px solid #b1d9bf; border-radius: .8rem; background: #eaf7ed; }
.issued-code p { color: #375843; font-size: .92rem; overflow-wrap: anywhere; }
.code-row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.code-row code { max-width: 100%; padding: .45rem .72rem; border: 1px solid #c7deca; border-radius: .35rem; background: #fbfffb; font: 600 1.05rem/1.5 "IBM Plex Mono", ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
.copy-feedback:empty { display: none; }
.notices { display: grid; gap: .5rem; }
.notice { display: flex; align-items: flex-start; gap: .55rem; padding: .75rem .85rem; border: 1px solid #bfdcc8; border-radius: .48rem; background: #e9f5eb; color: #26563b; font-size: .9rem; overflow-wrap: anywhere; }
.notice .icon { width: 1.08rem; height: 1.08rem; margin-top: .14rem; }
.notice.warning { border-color: #ead6ac; background: #fbf4e4; color: #745021; }
.notice.error { border-color: #eac7c1; background: #fbefed; color: #873b31; }
.login-inner .notices, .login-error { margin-top: 1rem; }

@media (min-width: 105rem) {
  .app-shell { grid-template-columns: 14rem minmax(0, 1fr); }
}
@media (max-width: 68rem) {
  .app-shell { grid-template-columns: 11rem minmax(0, 1fr); }
  .side-nav { margin-inline: .6rem; }
  .work-area { padding-inline: 1.2rem; }
  .editor-layout { grid-template-columns: minmax(0, 1.65fr) minmax(14rem, 1fr); gap: .9rem; }
  .editor-section, .operator-form { padding: 1.05rem; }
}
@media (max-width: 55rem) {
  :root { --header-height: 3.9rem; }
  .app-shell { display: block; }
  .sidebar { border: 0; border-bottom: 1px solid var(--line); }
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: .28rem; margin: 0; padding: .34rem 1rem; }
  .nav-link { min-height: 2.45rem; padding: .45rem .7rem; gap: .42rem; }
  .admin-nav { margin-top: 0; }
  .admin-nav::before { display: none; }
  .login-main { padding-inline: 1.2rem; }
  .login-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); min-height: 31rem; }
  .login-scene { min-height: 30rem; }
  .login-panel { padding: 2rem 1.65rem; }
  .scene-heading { padding: 1.65rem; }
  .login-scene .cabinet-art { --screen-height: 14.4rem; }
}
@media (max-width: 43rem) {
  .login-top { padding: 1rem 1.1rem 0; }
  .login-main { padding: 1.05rem 1rem 1.25rem; }
  .login-card { grid-template-columns: minmax(0, 1fr); width: min(100%, 31rem); min-height: 0; border-radius: .92rem; }
  .login-scene { min-height: 8.4rem; margin: .4rem .4rem 0; border-radius: .68rem; }
  .scene-heading { width: 67%; padding: 1.35rem 1.2rem; }
  .scene-heading h2 { font-size: 1.55rem; }
  .scene-heading p { margin-top: .4rem; font-size: .875rem; line-height: 1.55; }
  .login-scene .cabinet-art { --screen-height: 5.65rem; left: auto; width: 35%; }
  .login-scene .cabinet { bottom: 20%; }
  .login-panel { padding: 1.7rem 1.35rem 1.5rem; }
  .login-inner { max-width: none; }
  .login-form { margin-top: 1.3rem; gap: .9rem; }
  .login-help { margin-top: 1.1rem; padding-top: 1.05rem; }
  .login-footer { padding-bottom: .9rem; }
  .topbar { gap: .7rem; padding-inline: .95rem; }
  .brand { font-size: 1.05rem; gap: .4rem; }
  .brand img { width: 2rem; height: 2rem; }
  .product-label { padding-left: .72rem; font-size: .87rem; }
  .account-bar { gap: .4rem; }
  .account-text { max-width: 5.8rem; }
  .account-emblem { width: 1.7rem; height: 1.7rem; }
  .logout { width: 2.25rem; justify-content: center; }
  .logout span { display: none; }
  .side-nav { padding-inline: .65rem; }
  .nav-link { padding-inline: .58rem; font-size: .875rem; }
  .work-area { padding: 1rem .9rem 2rem; }
  .content-wrap { gap: .95rem; }
  .dashboard-hero { min-height: 10.5rem; border-radius: .7rem; }
  .hero-copy { width: 69%; padding: 1.2rem; }
  .hero-copy h1 { font-size: 1.62rem; }
  .hero-copy p { margin-top: .4rem; font-size: .875rem; line-height: 1.5; }
  .hero-copy .button { margin-top: .75rem; min-height: 2.35rem; padding: .42rem .7rem; font-size: .875rem; }
  .dashboard-hero .cabinet-art { --screen-height: 6.1rem; width: 34%; }
  .panel-header { padding: .9rem .95rem; }
  .panel-header h2, .publish-head h2 { font-size: 1.01rem; }
  .role-link { padding: .85rem .95rem; gap: .6rem; }
  .row-action { font-size: .84rem; }
  .empty-state { gap: .7rem; padding: 1rem; min-height: 6.5rem; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr { display: block; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .table-wrap tr { padding: .65rem 1rem; }
  .table-wrap tr + tr { border-top: 1px solid var(--line); }
  .table-wrap td { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: .65rem; align-items: baseline; border: 0; padding: .22rem 0; }
  .table-wrap td > * { justify-self: start; }
  .table-wrap td::before { content: attr(data-label); color: var(--muted); font-size: .875rem; font-weight: 500; }
  .table-action { padding: .12rem 0; }
  .editor-layout, .operator-forms { grid-template-columns: minmax(0, 1fr); gap: .95rem; }
  .publish-panel { position: static; }
  .form-actions, .publish-form, .publish-head, .issued-code { padding: .95rem 1.05rem; }
}
@media (max-width: 25rem) {
  .product-label { display: none; }
  .nav-link { padding-inline: .48rem; }
  .nav-link .icon { display: none; }
  .row-action .icon { display: none; }
  .item-symbol, .empty-icon { width: 2.25rem; height: 2.25rem; }
  .role-link { gap: .5rem; }
  .hero-copy { padding: 1rem; }
}
.asset-choices { border: 0; margin: 12px 0; padding: 0; }
.asset-choices legend { font-weight: 600; margin-bottom: 6px; }
.asset-choices .check-row { padding: 5px 1px; overflow-wrap: anywhere; }
