
.demo-top { position: fixed; top: 0; left: 0; right: 0; height: 36px; z-index: 100; background: #1d2a22; color: #f4efe3; font: 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.demo-top b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-top button { font: inherit; color: #f4efe3; background: transparent; border: 1px solid rgba(244, 239, 227, .35); border-radius: 5px; padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.demo-top button:hover { background: rgba(244, 239, 227, .1); }
.demo-top a { color: #f4efe3; margin-left: auto; text-decoration: none; white-space: nowrap; }
.demo-top a:hover { text-decoration: underline; }
body { padding-top: 36px; }
.app { min-height: calc(100vh - 36px); }
.rail { top: 36px; height: calc(100vh - 36px); }
.topbar { top: 36px; }
html.nobar .demo-top { display: none; }
html.nobar body { padding-top: 0; }
html.nobar .app { min-height: 100vh; }
html.nobar .rail { top: 0; height: 100vh; }
html.nobar .topbar { top: 0; }
.rolesw { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.rolesw .sel { height: 34px; font-weight: 600; }
.topbar .grow { margin-left: auto; }
.topbar .search { margin-left: 0; }
.rail-foot .acc { cursor: pointer; }
.menu-btn { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--asphalt); color: #fff; padding: 10px 16px; border-radius: var(--r); font-size: 13.5px; box-shadow: 0 12px 32px rgba(27, 35, 44, .28); display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); animation: rise .25s cubic-bezier(.16, 1, .3, 1); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatches button { width: 28px; height: 28px; border-radius: var(--r); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatches button.on { box-shadow: 0 0 0 2px var(--ink); }
.swatches input[type="color"] { width: 44px; height: 34px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 2px; cursor: pointer; }
.brandprev { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--asphalt); border-radius: var(--r); color: #c9d2db; }
.brandprev b { display: block; color: #fff; font-size: 15px; }
.brandprev small { color: #8d9aa7; font-size: 11.5px; }
.stepedit { display: grid; grid-template-columns: 1fr 1fr 1fr 34px; gap: 8px; align-items: center; }
.tip { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.tip > span { flex: 1; }
.tip button { border: 0; background: none; color: inherit; cursor: pointer; padding: 2px; display: grid; }
.crumbs { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 1440px) {
  .rolesw > span { display: none; }
  .topbar .search { width: 240px; }
}
@media (max-width: 1100px) {
  .topbar .search { width: 200px; }
  .topbar .sample { display: none; }
}
@media (max-width: 760px) {
  .rail { position: sticky; top: 36px; z-index: 20; height: auto; overflow: visible; flex-direction: column; }
  html.nobar .rail { top: 0; height: auto; }
  .brand { padding: 10px 16px; border-bottom: 0; }
  .brand .mark { width: 36px; height: 36px; font-size: 13px; }
  .menu-btn { display: grid; margin-left: auto; width: 36px; height: 36px; border-radius: var(--r); border: 1px solid var(--asphalt-line); background: transparent; color: #c9d2db; place-items: center; cursor: pointer; }
  .rail .navs { display: none; }
  .rail.open .navs { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--asphalt); max-height: calc(100vh - 100px); overflow-y: auto; padding-bottom: 12px; box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
  .rail.open .navgrp { display: block; }
  .topbar { top: 92px; gap: 8px; height: 52px; }
  html.nobar .topbar { top: 56px; }
  .topbar .crumbs, .topbar .sample { display: none; }
  .rolesw > span { display: none; }
  .rolesw .sel { max-width: 190px; }
  .notif .drop { position: fixed; left: 12px; right: 12px; width: auto; top: 150px; }
  .stepedit { grid-template-columns: 1fr 1fr; }
  .totals { width: 100%; }
  .decide .actions { flex-wrap: wrap; }
  .demo-top { gap: 8px; padding: 0 10px; font-size: 12px; }
  .doc .meta { grid-template-columns: 1fr; }
  .doc .lh h3 { font-size: 16px; }
  .head h1 { font-size: 21px; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .panel > .pad:has(> .flow) { overflow-x: auto; }
  .flow.auto { min-width: calc(var(--n, 5) * 112px); }
  .tabs a { white-space: nowrap; }
}
@media (max-width: 1320px) { .actpanel .t th:nth-child(2), .actpanel .t td:nth-child(2) { display: none; } }
@media (max-width: 1320px) { .actpanel .st { white-space: normal; height: auto; min-height: 22px; padding: 3px 8px; line-height: 1.25; } .actpanel .t td, .actpanel .t th { padding-left: 10px; padding-right: 10px; } }
