/* Desktop admin v3: prototype navigation, Tabler-style density and scoped native controls. */
:root {
  --brand:#ED6E21;
  --brand-d:#B84F12;
  --brand-soft:#FFF2E8;
  --bg:#F3F5F8;
  --panel:#FFF;
  --sidebar:#1E2532;
  --sidebar-2:#27303F;
  --ink:#202733;
  --sub:#566171;
  --muted:#667386;
  --line:#E9EDF2;
  --border:#D6DDE6;
  --green:#087A52;
  --green-t:#E7F7EE;
  --blue:#2463C5;
  --blue-t:#EAF2FF;
  --purple:#7742BE;
  --purple-t:#F1EAFF;
  --orange:#B9580E;
  --orange-t:#FFF3E6;
  --amber:#9A5C03;
  --amber-t:#FFF1C9;
  --red:#BD2936;
  --red-t:#FDECEE;
  --r-sm:8px;
  --r-md:12px;
  --r-lg:16px;
  --r-pill:999px;
  --sh-sm:0 2px 6px rgba(22,32,48,.04);
  --sh-md:0 8px 28px rgba(22,32,48,.1);
  --sh-lg:0 24px 70px rgba(22,32,48,.22)
}
* {
  box-sizing:border-box;
  margin:0;
  padding:0;
  -webkit-tap-highlight-color:transparent
}
html,body {
  height:100%
}
body {
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
  background:var(--bg);
  color:var(--ink);
  font-size:14px;
  line-height:1.6;
  overflow:hidden
}
button,input,select,textarea {
  font-family:inherit
}
button {
  cursor:pointer
}
button,input,select,textarea,a,.nav-item,.tab,.content-card {
  transition:transform .18s,background .2s,color .2s,border-color .2s,box-shadow .2s,opacity .2s
}
button:hover:not(:disabled),a:hover {
  transform:translateY(-1px)
}
button:active:not(:disabled),.nav-item:active,.tab:active {
  transform:scale(.98)
}
button:disabled {
  opacity:.5;
  cursor:not-allowed;
  transform:none
}
button:focus-visible,a:focus-visible {
  outline:3px solid #F5BD9A;
  outline-offset:3px
}
input:not([type=checkbox]):not([type=radio]),select,textarea {
  font-size:14px;
  min-height:38px;
  background:#FFF;
  border:1px solid var(--border);
  border-radius:8px;
  padding:8px 11px;
  outline:none;
  color:var(--ink);
  width:100%;
  line-height:1.5
}
input::placeholder,textarea::placeholder {
  color:#778395
}
input:focus,select:focus,textarea:focus {
  border-color:var(--brand);
  box-shadow:0 0 0 3px var(--brand-soft)
}
textarea {
  resize:vertical;
  min-height:88px
}
input[type=checkbox] {
  width:16px;
  height:16px;
  min-height:16px;
  accent-color:var(--brand);
  padding:0;
  flex:none;
  cursor:pointer
}
input[hidden] {
  display:none!important
}
.ui-icon {
  width:20px;
  height:20px;
  display:inline-block;
  vertical-align:middle;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round
}
.app {
  display:flex;
  height:100vh;
  width:100%
}
/* Navigation follows the supplied desktop prototype. */
.sidebar {
  width:232px;
  flex-shrink:0;
  background:var(--sidebar);
  color:#C9D1DC;
  display:flex;
  flex-direction:column
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  padding:22px 18px;
  border-bottom:1px solid rgba(255,255,255,.08)
}
.brand .logo {
  width:38px;
  height:38px;
  border-radius:10px;
  background:linear-gradient(135deg,#F58B4B,#ED6E21);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 12px rgba(237,110,33,.3);
  flex:none
}
.brand .ui-icon {
  width:24px;
  height:24px;
  color:#FFF
}
.brand .t1 {
  font-size:14px;
  font-weight:700;
  color:#FFF;
  line-height:1.4
}
.brand .t2 {
  font-size:13px;
  color:#A2AEBD;
  margin-top:3px
}
.nav {
  padding:12px;
  flex:1;
  overflow-y:auto
}
.nav .grp {
  font-size:13px;
  color:#A2AEBD;
  padding:16px 12px 8px;
  letter-spacing:.3px
}
.nav-item {
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px;
  border-radius:10px;
  font-size:14px;
  color:#C3CBD7;
  margin-bottom:4px;
  user-select:none;
  min-height:47px;
  width:100%;
  text-align:left;
  background:transparent;
  border:0
}
.nav-item .ic {
  width:20px;
  text-align:center;
  display:flex
}
.nav-item .ui-icon {
  width:19px;
  height:19px
}
.nav-item:hover {
  background:var(--sidebar-2);
  color:#FFF
}
.nav-item.active {
  background:linear-gradient(135deg,#F58B4B,#ED6E21);
  color:#FFF;
  box-shadow:0 6px 16px rgba(237,110,33,.25)
}
.nav-item .badge-n {
  margin-left:auto;
  background:rgba(255,255,255,.18);
  color:#FFF;
  font-size:13px;
  padding:1px 8px;
  border-radius:20px
}
.side-foot {
  padding:18px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:14px;
  color:#D1D8E3;
  display:flex;
  align-items:center;
  gap:10px
}
.side-foot .av {
  width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg,#F7B184,#ED6E21);
  color:#FFF;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700
}
.side-foot small {
  display:block;
  font-size:13px;
  color:#A2AEBD;
  margin-top:3px
}
/* Desktop title and content hierarchy. */
.main {
  flex:1;
  display:flex;
  flex-direction:column;
  min-width:0
}
.topbar {
  min-height:76px;
  background:var(--panel);
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  padding:12px 24px;
  gap:14px;
  flex-shrink:0
}
.pgtitle {
  font-size:24px;
  font-weight:750;
  letter-spacing:.2px;
  line-height:1.4
}
.pgdesc {
  font-size:14px;
  color:var(--sub);
  margin-top:5px
}
.spacer {
  flex:1
}
.search {
  display:flex;
  align-items:center;
  gap:9px;
  background:#F8FAFC;
  border:1px solid var(--border);
  border-radius:10px;
  padding:0 12px;
  width:295px;
  color:var(--sub);
  flex:none
}
.search input {
  border:none;
  background:transparent;
  box-shadow:none;
  padding:11px 0;
  min-width:0
}
.content {
  flex:1;
  overflow-y:auto;
  padding:22px;
  position:relative;
  scroll-behavior:smooth
}
.content::-webkit-scrollbar {
  width:9px
}
.content::-webkit-scrollbar-thumb {
  background:#C5CFDB;
  border-radius:8px
}
.id-switch {
  position:relative;
  flex:none
}
.id-btn {
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 14px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  min-height:38px
}
.id-btn:hover {
  border-color:var(--brand);
  box-shadow:var(--sh-sm)
}
.id-menu {
  position:absolute;
  top:55px;
  right:0;
  width:250px;
  background:#FFF;
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:var(--sh-md);
  padding:7px;
  z-index:80;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .2s,transform .2s,visibility .2s
}
.id-menu.open {
  visibility:visible;
  opacity:1;
  transform:none
}
.id-opt {
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  border-radius:8px;
  font-size:14px;
  border:0;
  background:#FFF;
  width:100%;
  min-height:36px;
  text-align:left;
  color:var(--ink)
}
.id-opt:hover {
  background:var(--bg)
}
.account-summary {
  padding:12px 13px;
  border-bottom:1px solid var(--line);
  margin-bottom:6px
}
.account-summary small {
  display:block;
  font-size:13px;
  color:var(--sub)
}
/* Cards and workflow funnel. */
.stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:20px
}
.stat {
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px;
  box-shadow:var(--sh-sm);
  position:relative;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s
}
.stat:hover {
  box-shadow:var(--sh-md);
  transform:translateY(-2px)
}
.stat .lab {
  font-size:14px;
  color:var(--sub)
}
.stat .num {
  font-size:30px;
  font-weight:800;
  margin-top:7px;
  line-height:1.3;
  letter-spacing:-.5px
}
.stat .ic {
  position:absolute;
  right:16px;
  top:18px;
  color:var(--sub)
}
.stat .ic .ui-icon {
  width:27px;
  height:27px
}
.stat .bar {
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px
}
.panel {
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:10px;
  box-shadow:var(--sh-sm);
  margin-bottom:20px;
  overflow:hidden
}
.panel-h {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 20px;
  border-bottom:1px solid var(--line)
}
.panel-h .h-t {
  font-size:16px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:9px;
  line-height:1.4
}
.panel-h .h-t::before {
  content:'';
  width:4px;
  height:20px;
  background:var(--brand);
  border-radius:2px;
  flex:none
}
.panel-h .h-r {
  font-size:14px;
  color:var(--sub);
  display:flex;
  align-items:center;
  gap:12px
}
.panel-b {
  padding:8px 0
}
.funnel {
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:12px;
  padding:28px 24px;
  overflow-x:auto
}
.fn-step {
  flex:1;
  min-width:95px;
  text-align:center;
  position:relative;
  padding:0 6px;
  cursor:pointer
}
.fn-step::after {
  content:'';
  position:absolute;
  top:22px;
  left:calc(50% + 29px);
  width:calc(100% - 46px);
  height:2px;
  background:var(--line)
}
.fn-step:last-child::after {
  display:none
}
.fn-dot {
  width:36px;
  height:36px;
  border-radius:50%;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:700;
  color:#FFF;
  position:relative;
  z-index:1;
  box-shadow:0 0 0 5px var(--brand-soft);
  transition:transform .2s
}
.fn-step:hover .fn-dot {
  transform:scale(1.08)
}
.fn-lab {
  font-size:14px;
  font-weight:600
}
.fn-cnt {
  font-size:13px;
  color:var(--sub);
  margin-top:5px
}
/* Visible filters, tables and pagination. */
.toolbar {
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 20px;
  flex-wrap:wrap
}
.toolbar-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
.tabs {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.tab {
  font-size:14px;
  padding:10px 15px;
  border-radius:10px;
  background:#F7F9FB;
  border:1px solid var(--border);
  cursor:pointer;
  color:var(--sub);
  user-select:none;
  line-height:1.4;
  min-height:42px
}
.tab:hover {
  border-color:var(--brand);
  color:var(--brand-d)
}
.tab.active {
  background:var(--brand-soft);
  color:var(--brand-d);
  border-color:#F1AB8C;
  font-weight:700
}
.tab .c {
  margin-left:7px;
  font-size:13px;
  background:#FFF;
  border-radius:6px;
  padding:0 5px
}
.table-wrap {
  overflow-x:auto;
  width:100%
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:760px
}
thead th {
  text-align:left;
  padding:12px 16px;
  font-size:13px;
  color:#475365;
  font-weight:650;
  background:#F5F7FA;
  border-bottom:1px solid var(--border);
  white-space:nowrap
}
tbody td {
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  vertical-align:middle;
  line-height:1.55
}
tbody tr {
  transition:background .18s;
  cursor:pointer
}
tbody tr:hover {
  background:#FFF8F3
}
tbody tr:last-child td {
  border-bottom:0
}
.oid {
  font-size:13px;
  font-family:Consolas,monospace;
  letter-spacing:.15px;
  color:#34435A;
  word-break:break-all
}
.owner {
  font-weight:650;
  white-space:nowrap
}
.ph {
  font-size:13px;
  font-weight:400;
  color:var(--sub);
  margin-top:5px;
  white-space:nowrap
}
.price {
  font-size:15px;
  color:var(--brand-d);
  font-weight:700;
  white-space:nowrap
}
.row-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  min-width:155px
}
.pill {
  display:inline-flex;
  align-items:center;
  padding:4px 9px;
  border-radius:5px;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  line-height:1.5
}
.pill.green {
  background:var(--green-t);
  color:var(--green)
}
.pill.blue {
  background:var(--blue-t);
  color:var(--blue)
}
.pill.purple {
  background:var(--purple-t);
  color:var(--purple)
}
.pill.orange {
  background:var(--orange-t);
  color:var(--orange)
}
.pill.amber {
  background:var(--amber-t);
  color:var(--amber)
}
.pill.red {
  background:var(--red-t);
  color:var(--red)
}
.pill.gray {
  background:#EDF0F4;
  color:var(--sub)
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid transparent;
  border-radius:8px;
  padding:8px 14px;
  font-size:14px;
  font-weight:600;
  min-height:36px;
  line-height:1.4;
  background:#FFF;
  white-space:nowrap
}
.btn.primary {
  background:var(--brand);
  color:#FFF;
  box-shadow:0 4px 10px rgba(237,110,33,.16)
}
.btn.primary:hover {
  background:var(--brand-d);
  box-shadow:0 5px 16px rgba(237,110,33,.25)
}
.btn.ghost {
  background:#FFF;
  color:var(--brand-d);
  border-color:#E6B29B
}
.btn.ghost:hover {
  background:var(--brand-soft);
  border-color:var(--brand)
}
.btn.sm {
  padding:7px 11px;
  font-size:13px;
  min-height:34px
}
.btn.danger {
  color:var(--red);
  border-color:#EBC0C5;
  background:#FFF
}
.btn.danger:hover {
  background:var(--red-t)
}
.btn .ui-icon {
  width:17px;
  height:17px
}
.icon-btn {
  border:1px solid transparent;
  background:transparent;
  color:var(--sub);
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  flex:none
}
.icon-btn:hover {
  background:var(--bg);
  color:var(--brand-d);
  border-color:var(--border)
}
.pagination {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 20px;
  border-top:1px solid var(--line);
  color:var(--sub);
  font-size:14px
}
.pagination>div {
  display:flex;
  align-items:center;
  gap:14px
}
.muted {
  font-size:14px;
  color:var(--sub)
}
.block {
  display:block;
  margin-top:6px
}
.workflow-note {
  font-size:14px;
  line-height:1.8;
  color:var(--sub);
  padding:16px 24px;
  background:#FAFBFC;
  border-top:1px solid var(--line)
}
.filterbar {
  display:flex;
  align-items:flex-end;
  gap:14px;
  padding:14px 20px;
  background:#FBFCFE;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  flex-wrap:wrap
}
.filter-control {
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:155px;
  max-width:220px;
  flex:1
}
.filter-control>span {
  font-size:13px;
  font-weight:600;
  color:var(--sub)
}
.filter-control select {
  min-height:36px;
  font-size:14px
}
.filter-note {
  font-size:13px;
  color:var(--sub);
  align-self:center;
  margin-left:auto
}
.row-checkbox {
  width:16px;
  height:16px;
  min-height:16px
}
.bulk-toolbar {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  padding:14px 24px;
  border-top:1px solid var(--line);
  background:#F8FAFD;
  font-size:14px;
  color:var(--sub)
}
/* Fee maintenance and staff permissions. */
.fee-grid {
  display:grid;
  grid-template-columns:1fr
}
.fee-row {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 116px;
  align-items:center;
  padding:14px 20px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  gap:14px
}
.fee-row.head {
  background:#F5F7FA;
  color:var(--sub);
  font-weight:600;
  font-size:14px
}
.fee-row .fp {
  color:var(--brand-d);
  font-weight:700;
  text-align:right
}
.fee-row .fm {
  color:var(--sub)
}
.fee-row .acts {
  display:flex;
  justify-content:flex-end
}
.fee-act {
  display:flex;
  gap:5px
}
.fee-act button {
  border:1px solid var(--border);
  background:#FFF;
  padding:10px;
  border-radius:8px;
  color:var(--sub);
  width:43px;
  height:43px;
  display:flex;
  align-items:center;
  justify-content:center
}
.fee-act button:hover {
  background:var(--bg)
}
.fee-act .e:hover {
  color:var(--brand-d)
}
.fee-act .d:hover {
  color:var(--red)
}
.xcat {
  margin-left:8px;
  color:var(--sub);
  cursor:pointer;
  border:1px solid var(--border);
  border-radius:6px;
  width:20px;
  height:20px;
  line-height:17px;
  text-align:center;
  display:inline-block;
  font-size:14px
}
.xcat:hover {
  background:var(--red);
  border-color:var(--red);
  color:#FFF
}
.fee-add {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:22px 24px;
  padding:16px;
  border:1px dashed #D98A66;
  border-radius:10px;
  color:var(--brand-d);
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:background .2s
}
.fee-add:hover {
  background:var(--brand-soft)
}
.perm-toggle {
  border:1px solid var(--border);
  background:#FFF;
  color:var(--sub);
  border-radius:8px;
  padding:8px 11px;
  font-size:14px;
  font-weight:600;
  min-height:42px
}
.perm-toggle.on {
  background:var(--green-t);
  color:var(--green);
  border-color:#8DD2B4
}
/* Wide desktop drawers and readable forms. */
.drawer-mask {
  position:fixed;
  inset:0;
  background:rgba(15,23,38,.36);
  opacity:0;
  visibility:hidden;
  z-index:50;
  transition:opacity .25s,visibility .25s
}
.drawer-mask.show {
  opacity:1;
  visibility:visible
}
.drawer {
  position:fixed;
  right:0;
  top:0;
  bottom:0;
  width:680px;
  max-width:94vw;
  background:#FFF;
  box-shadow:var(--sh-lg);
  transform:translateX(100%);
  visibility:hidden;
  transition:transform .3s cubic-bezier(.2,.7,.2,1),visibility .3s;
  z-index:55;
  display:flex;
  flex-direction:column
}
.drawer.show {
  transform:none;
  visibility:visible
}
.drawer-h {
  padding:16px 22px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.drawer-h .dt {
  font-size:20px;
  font-weight:700;
  word-break:break-all;
  line-height:1.5
}
.drawer-b {
  padding:20px 22px;
  overflow-y:auto;
  flex:1
}
.drawer-f {
  padding:14px 22px;
  border-top:1px solid var(--border);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  background:#FBFCFE;
  box-shadow:0 -4px 15px rgba(30,40,55,.03)
}
.drawer-f .primary {
  flex:1
}
.track {
  display:flex;
  gap:8px;
  padding:18px 0 26px;
  overflow-x:auto
}
.tk {
  position:relative;
  flex:1;
  min-width:75px;
  text-align:center
}
.tk::before {
  content:'';
  position:absolute;
  left:50%;
  top:15px;
  width:calc(100% + 8px);
  height:2px;
  background:var(--line)
}
.tk:last-child::before {
  display:none
}
.tk.done::before {
  background:#EDB49C
}
.tk .d {
  width:32px;
  height:32px;
  border-radius:50%;
  background:#BDC6D3;
  color:#FFF;
  font-size:14px;
  line-height:32px;
  margin:0 auto 11px;
  position:relative;
  z-index:1;
  font-weight:700
}
.tk.done .d,.tk.cur .d {
  background:var(--brand)
}
.tk.cur .d {
  box-shadow:0 0 0 5px var(--brand-soft)
}
.tk .l {
  font-size:13px;
  color:var(--sub);
  line-height:1.5
}
.tk.cur .l {
  color:var(--brand-d);
  font-weight:700
}
.tk .d .ui-icon {
  width:17px;
  height:17px
}
.b-title {
  font-size:16px;
  font-weight:700;
  color:var(--ink);
  padding:20px 0 10px;
  display:flex;
  align-items:center;
  gap:9px;
  grid-column:1/-1
}
.b-title::before {
  content:'';
  width:4px;
  height:18px;
  background:var(--brand);
  border-radius:2px;
  flex:none
}
.kv {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:10px 0;
  font-size:14px;
  border-top:1px solid var(--line);
  gap:20px;
  line-height:1.7
}
.kv .k {
  color:var(--sub);
  min-width:110px
}
.kv .v {
  font-weight:500;
  text-align:right;
  max-width:70%;
  overflow-wrap:anywhere
}
.goods {
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  font-size:14px;
  border-top:1px solid var(--line);
  gap:15px
}
.goods-cost {
  text-align:right;
  font-weight:600;
  white-space:nowrap
}
.goods-cost small {
  display:block;
  font-size:13px;
  font-weight:400;
  color:var(--sub);
  margin-top:4px
}
.goods-total {
  padding:15px 0;
  font-size:14px;
  text-align:right;
  color:var(--sub);
  border-top:1px solid var(--border)
}
.goods-total b {
  color:var(--brand-d);
  font-size:16px;
  margin-left:12px
}
.goods .qn {
  color:var(--sub);
  font-size:14px;
  margin-left:8px
}
.note,.quote-ref,.form-intro {
  background:#FFF8F3;
  border:1px solid #F1CEBD;
  border-radius:10px;
  padding:15px 18px;
  font-size:14px;
  color:#7F4228;
  line-height:1.8;
  margin:14px 0;
  grid-column:1/-1
}
.quote-ref {
  background:#F5F7FA;
  border-color:var(--border);
  color:var(--sub);
  margin-top:0
}
.form-intro {
  background:#FFF6F0;
  border-color:#F1CCB4;
  color:#854519;
  margin:0 0 6px
}
.modal-mask {
  position:fixed;
  inset:0;
  background:rgba(15,23,38,.43);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:70;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s,visibility .22s;
  padding:24px
}
.modal-mask.show {
  opacity:1;
  visibility:visible;
  pointer-events:auto
}
.modal {
  background:#FFF;
  border-radius:16px;
  width:680px;
  max-width:96vw;
  box-shadow:var(--sh-lg);
  overflow:hidden;
  max-height:92vh;
  display:flex;
  flex-direction:column;
  transform:translateY(16px) scale(.985);
  opacity:0;
  transition:transform .25s cubic-bezier(.2,.7,.2,1),opacity .22s
}
.modal-mask.show .modal {
  transform:none;
  opacity:1
}
.modal.wide {
  width:860px
}
.modal-h {
  padding:18px 22px;
  border-bottom:1px solid var(--border);
  font-size:19px;
  font-weight:700;
  line-height:1.4
}
.modal-b {
  padding:20px 22px;
  overflow-y:auto;
  max-height:70vh
}
.modal form {
  display:flex;
  flex-direction:column;
  min-height:0
}
#genericBody,#mq_fields,.form-columns {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:20px;
  row-gap:16px
}
#genericBody>.kv,#genericBody>.audit-list,#genericBody>.empty,#genericBody>.goods-editor,#genericBody>#orderMeasureFields,#genericBody>.gallery-editor,#genericBody>.banner-edit-row {
  grid-column:1/-1
}
#orderMeasureFields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 20px
}
.field {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:9px;
  margin:0;
  padding:0;
  min-width:0
}
.modal-b>.field {
  margin:15px 0
}
#genericBody>.field {
  margin:0
}
.field>label:not(.check-control) {
  font-size:14px;
  color:#384557;
  flex-shrink:0;
  font-weight:600;
  line-height:1.5;
  width:auto
}
.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea {
  width:100%;
  min-width:0
}
.full-width {
  grid-column:1/-1
}
.required {
  color:var(--red);
  margin-left:6px
}
.check-control {
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  width:fit-content;
  max-width:100%;
  min-height:38px;
  margin:0;
  color:var(--ink);
  font-size:14px;
  font-weight:400;
  cursor:pointer;
  white-space:nowrap
}
.check-control>input[type=checkbox] {
  appearance:auto;
  flex:0 0 16px;
  width:16px;
  min-width:16px;
  max-width:16px;
  height:16px;
  min-height:16px;
  padding:0;
  margin:0;
  align-self:center
}
.check-control>span {
  flex:0 0 auto;
  display:inline-block;
  white-space:nowrap;
  word-break:keep-all;
  line-height:20px
}
.checkbox-field {
  align-self:start
}
.image-field {
  display:flex;
  flex-wrap:wrap;
  gap:12px
}
.image-field input[type=text] {
  width:100%;
  flex-basis:100%
}
.image-field img {
  width:140px;
  height:100px;
  object-fit:cover;
  border-radius:9px;
  border:1px solid var(--border)
}
.modal-f {
  padding:14px 22px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:flex-end;
  gap:12px;
  background:#FBFCFE
}
.modal-f .btn {
  min-width:110px
}
.form-error {
  color:#A51E2E;
  font-size:14px;
  line-height:1.7;
  padding:0 28px
}
.form-error:not(:empty) {
  padding:12px 28px;
  background:#FFF1F2
}
.busy .modal-f .primary,.busy .drawer-f .primary {
  pointer-events:none;
  opacity:.55
}
.goods-editor {
  padding-top:15px;
  border-top:1px solid var(--line);
  margin-top:10px
}
.goods-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:16px;
  margin:12px 0 18px;
  gap:14px
}
.goods-edit-head,.goods-edit-row {
  display:grid;
  grid-template-columns:1.8fr .65fr .8fr 1fr 44px;
  gap:10px;
  align-items:center;
  margin-bottom:12px
}
.goods-edit-head {
  font-size:14px;
  color:var(--sub)
}
.goods-edit-row input {
  padding:10px;
  font-size:14px;
  min-width:0
}
.action-status {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--sub);
  font-size:14px;
  padding:7px 2px
}
.action-status.green {
  color:var(--green)
}
.photo-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}
.photo-grid a {
  position:relative;
  display:block;
  aspect-ratio:1.2;
  text-decoration:none;
  border-radius:10px;
  overflow:hidden;
  background:#F5F7FA;
  border:1px solid var(--border)
}
.photo-grid img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s
}
.photo-grid a:hover img {
  transform:scale(1.035)
}
.photo-grid span {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:9px;
  background:rgba(20,28,40,.65);
  font-size:13px;
  color:#FFF
}
.photo-grid.small {
  max-width:440px;
  margin-top:14px
}
.photo-grid>.note {
  grid-column:1/-1
}
.upload-order {
  display:flex;
  align-items:center;
  gap:14px;
  margin:16px 0
}
.upload-order select {
  flex:1
}
.timeline {
  padding:13px 0
}
.timeline-item {
  position:relative;
  padding:0 0 23px 24px;
  border-left:1px solid var(--border);
  margin-left:6px;
  font-size:14px
}
.timeline-dot {
  position:absolute;
  left:-5px;
  top:6px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--brand)
}
.timeline-item p {
  margin-top:7px;
  color:var(--sub);
  line-height:1.7
}
.timeline-item small {
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:13px
}
.related-item {
  padding:17px;
  border:1px solid var(--border);
  border-radius:10px;
  margin:12px 0;
  font-size:14px;
  cursor:pointer;
  transition:background .2s,transform .2s
}
.related-item:hover {
  background:#FFF8F3;
  transform:translateY(-1px)
}
.related-item p {
  margin-top:8px;
  color:var(--sub);
  line-height:1.7
}
.related-item small {
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:13px
}
.feedback-row {
  padding:23px 24px;
  gap:20px
}
.feedback-summary {
  padding:18px 24px;
  gap:14px;
  align-items:center;
  font-size:14px
}
.feedback-title {
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:10px;
  line-height:1.8;
  font-size:14px
}
.feedback-title .pill {
  flex:none
}
.feedback-reply {
  background:#F4F7FA;
  padding:15px 18px;
  border-radius:10px;
  line-height:1.8;
  font-size:14px;
  margin-top:14px
}
/* Content cards and complete image gallery editors. */
.content-cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  padding:6px 24px 24px
}
.content-card {
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  background:#FFF
}
.content-card:hover {
  box-shadow:var(--sh-md);
  transform:translateY(-3px)
}
.content-card-media {
  position:relative;
  background:#F4F6F9
}
.content-card-media>img,.content-card>img {
  width:100%;
  height:160px;
  object-fit:cover;
  display:block
}
.content-card-media .media-count {
  position:absolute;
  right:12px;
  bottom:12px;
  background:rgba(18,27,40,.76);
  color:#FFF;
  border-radius:6px;
  padding:4px 9px;
  font-size:13px
}
.content-card-body {
  padding:16px
}
.content-card-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px
}
.content-card-header h3 {
  font-size:16px;
  line-height:1.5
}
.content-card-body>p {
  color:var(--sub);
  font-size:14px;
  line-height:1.8;
  margin:10px 0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:42px
}
.content-card-body>small {
  font-size:13px;
  color:var(--muted);
  display:block
}
.content-card-actions {
  display:flex;
  gap:9px;
  margin-top:12px;
  flex-wrap:wrap
}
.gallery-editor {
  padding:20px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#FAFBFD
}
.gallery-help {
  font-size:14px;
  line-height:1.8;
  color:var(--sub);
  margin-bottom:16px
}
.gallery-rows {
  display:grid;
  gap:16px
}
.gallery-edit-row {
  display:grid;
  grid-template-columns:140px minmax(0,1fr) 36px;
  gap:14px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#FFF
}
.gallery-preview {
  display:flex;
  flex-direction:column;
  gap:9px
}
.gallery-preview img {
  width:140px;
  height:112px;
  object-fit:cover;
  border-radius:8px;
  background:#F3F5F8
}
.gallery-meta {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.gallery-meta .field>label:not(.check-control) {
  font-size:14px
}
.gallery-meta .field:first-child {
  grid-column:1/-1
}
.gallery-placeholder {
  display:flex;
  align-items:center;
  justify-content:center;
  background:#F3F5F8;
  height:136px;
  border-radius:8px;
  color:var(--sub)
}
.gallery-rows:empty:after {
  content:'暂无现场图片 点击上传图片添加完整案例图集';
  color:var(--sub);
  font-size:14px;
  padding:22px;
  text-align:center
}
.related-products {
  grid-column:1/-1;
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px
}
.related-products legend {
  font-size:16px;
  font-weight:600;
  padding:0 8px
}
.related-product-choices {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-height:280px;
  overflow:auto
}
.related-product-choices label {
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  cursor:pointer
}
.related-product-choices label:hover {
  background:var(--brand-soft)
}
.related-product-choices small {
  display:block;
  font-size:13px;
  color:var(--sub);
  margin-top:3px
}
.related-product-choices input {
  margin-top:3px
}
.content-detail-gallery {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
.content-detail-gallery figure {
  margin:0;
  background:#F5F7FA;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden
}
.content-detail-gallery img {
  width:100%;
  height:200px;
  object-fit:cover;
  display:block
}
.content-detail-gallery figcaption {
  padding:13px;
  font-size:14px;
  line-height:1.7
}
.content-detail-gallery figcaption small {
  display:block;
  font-size:13px;
  color:var(--sub)
}
/* Settings: persistent form fields in clear tabs. */
.settings-layout {
  max-width:1180px;
  margin:0 auto
}
.settings-tabs {
  display:flex;
  gap:4px;
  padding:12px 18px 0;
  border-bottom:1px solid var(--border);
  background:#FFF;
  flex-wrap:wrap
}
.settings-tab {
  border:0;
  background:transparent;
  padding:12px 16px;
  font-size:14px;
  color:var(--sub);
  border-bottom:2px solid transparent;
  border-radius:6px 6px 0 0
}
.settings-tab.active {
  color:var(--brand-d);
  background:#FFF8F3;
  border-bottom-color:var(--brand);
  font-weight:600
}
.settings-form {
  padding:0
}
.settings-form textarea {
  min-height:116px;
  line-height:1.75;
  overflow-y:hidden;
  resize:none
}
.settings-section {
  padding:22px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 22px
}
.settings-section[hidden] {
  display:none
}
.settings-section .section-heading {
  grid-column:1/-1;
  margin-bottom:2px
}
.section-heading h2 {
  font-size:17px;
  line-height:1.5;
  margin-bottom:5px
}
.section-heading p {
  font-size:13px;
  color:var(--sub);
  line-height:1.7
}
.settings-section>.note,.settings-section>#bannerEditor,.settings-section>.marketing-preview {
  grid-column:1/-1
}
.settings-actions {
  padding:14px 22px;
  border-top:1px solid var(--border);
  background:#FBFCFE;
  display:flex;
  align-items:center;
  gap:12px;
  position:sticky;
  bottom:0;
  z-index:2
}
.settings-actions span {
  font-size:13px;
  color:var(--sub)
}
.settings-section[data-settings-section=account] {
  display:block
}
.settings-section[data-settings-section=account][hidden] {
  display:none
}
.account-settings-card {
  border:1px solid var(--border);
  border-radius:10px;
  padding:18px;
  margin-top:16px;
  background:#FAFBFD
}
.account-settings-card h3 {
  font-size:15px;
  margin-bottom:8px
}
.account-settings-card p {
  font-size:13px;
  color:var(--sub);
  line-height:1.7;
  margin-bottom:14px
}
.marketing-preview {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:22px 16px;
  background:#FFF8F3;
  border:1px solid #F2D8CC;
  border-radius:10px;
  gap:12px;
  text-align:center
}
.marketing-preview b {
  display:block;
  color:var(--brand-d);
  font-size:25px;
  line-height:1.3;
  white-space:nowrap
}
.marketing-preview span {
  display:block;
  margin-top:7px;
  color:var(--sub);
  font-size:13px
}
.preview-heading {
  grid-column:1/-1;
  font-size:13px;
  color:var(--sub);
  margin-bottom:6px;
  text-align:left
}
/* One banner editor expands at a time. */
.banner-edit-row {
  border:1px solid var(--border);
  border-radius:10px;
  margin:12px 0;
  overflow:hidden;
  background:#FFF;
}
.banner-summary {
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 16px;
}
.banner-summary-image {
  width:76px;
  height:52px;
  flex:0 0 76px;
  border-radius:6px;
  overflow:hidden;
  background:#F2F5F8;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--sub);
}
.banner-summary-image img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.banner-summary-text {
  min-width:0;
  flex:1;
}
.banner-summary-text b {
  display:block;
  font-size:14px;
  line-height:1.6;
}
.banner-summary-text span {
  display:block;
  color:var(--sub);
  font-size:13px;
  margin-top:3px;
  line-height:1.5;
}
.banner-collapse {
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  pointer-events:none;
  transition:grid-template-rows .2s ease,opacity .18s ease;
}
.banner-collapse.open {
  grid-template-rows:1fr;
  opacity:1;
  pointer-events:auto;
}
.banner-edit-fields {
  min-height:0;
  overflow:hidden;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:0 16px;
  border-top:0 solid var(--line);
  background:#FAFBFD;
  transition:padding .2s ease;
}
.banner-collapse.open .banner-edit-fields {
  padding:18px 16px;
  border-top-width:1px;
}
.banner-collapse[hidden],.search[hidden] {
  display:none;
}
.banner-edit-row.editing {
  border-color:#E7B299;
}
.account-details {
  padding:15px 22px;
  max-width:850px
}
.audit-list table {
  min-width:760px
}
.audit-list th,.audit-list td {
  font-size:13px
}
.audit-list td {
  vertical-align:top
}
.audit-list td:nth-child(1),.audit-list td:nth-child(2) {
  white-space:nowrap;
}
.audit-list td:nth-child(4) {
  overflow-wrap:anywhere;
}
.content-card-thumbs {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  padding:5px;
  background:#F5F7FA
}
.content-card-thumbs img {
  width:100%;
  height:42px;
  object-fit:cover;
  display:block;
  border-radius:3px
}
/* Login, feedback and motion. */
.login-overlay {
  position:fixed;
  inset:0;
  background:linear-gradient(135deg,#F6F8FB,#FFF2E8);
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .3s,visibility .3s
}
.login-overlay.show {
  opacity:1;
  visibility:visible
}
.login-card {
  width:480px;
  max-width:94vw;
  background:#FFF;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:0 24px 80px rgba(31,35,41,.1);
  padding:42px;
  display:flex;
  flex-direction:column;
  transform:translateY(15px);
  transition:transform .3s
}
.login-overlay.show .login-card {
  transform:none
}
.login-logo {
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--brand-soft);
  border-radius:15px;
  color:var(--brand-d);
  margin-bottom:20px
}
.login-logo .ui-icon {
  width:32px;
  height:32px
}
.login-card h1 {
  font-size:26px;
  line-height:1.4
}
.login-card>p {
  font-size:14px;
  color:var(--sub);
  margin:10px 0 28px
}
.login-card>label {
  font-size:14px;
  color:var(--ink);
  margin-bottom:9px;
  font-weight:600
}
.login-card>input {
  margin-bottom:22px;
  min-height:50px
}
.login-card>.btn {
  min-height:50px;
  margin-top:12px;
  font-size:14px
}
.login-card>.login-help {
  font-size:14px;
  text-align:center;
  line-height:1.8;
  margin:24px 0 0;
  color:var(--sub)
}
.loading-state {
  padding:55px;
  color:var(--sub);
  text-align:center
}
.empty {
  text-align:center;
  color:var(--sub);
  padding:42px 20px;
  font-size:14px;
  grid-column:1/-1
}
.empty .e-ic {
  display:block;
  margin:0 auto 12px
}
.empty .ui-icon {
  width:36px;
  height:36px
}
.toast {
  position:fixed;
  bottom:35px;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  background:#252F3F;
  color:#FFF;
  padding:15px 24px;
  border-radius:10px;
  font-size:14px;
  opacity:0;
  transition:.25s;
  pointer-events:none;
  z-index:110;
  max-width:85vw;
  line-height:1.6;
  box-shadow:var(--sh-md)
}
.toast.show {
  opacity:1;
  transform:translateX(-50%) translateY(0)
}
.content>* {
  animation:enter-content .28s both
}
.content>*:nth-child(2) {
  animation-delay:.04s
}
.content>*:nth-child(3) {
  animation-delay:.07s
}
.content>*:nth-child(4) {
  animation-delay:.1s
}
.fee-row,.related-item,.gallery-edit-row,.field,.content-card,tbody tr {
  animation:enter-content .24s both
}
@keyframes enter-content {
  from {
    opacity:0;
    transform:translateY(7px)
  }
  to {
    opacity:1;
    transform:none
  }
}
::view-transition-group(root),::view-transition-old(root),::view-transition-new(root) {
  pointer-events:none;
}
::view-transition-old(root) {
  animation:fade-old .18s both
}
::view-transition-new(root) {
  animation:fade-new .25s both
}
@keyframes fade-old {
  to {
    opacity:0;
    transform:translateY(-4px)
  }
}
@keyframes fade-new {
  from {
    opacity:0;
    transform:translateY(7px)
  }
}
@media(max-width:1450px) {
  .content-cards {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .topbar {
    padding:16px 22px;
    gap:12px
  }
  .search {
    width:255px
  }
  .content {
    padding:22px
  }
  .stats {
    gap:14px
  }
  .stat {
    padding:20px
  }
  .stat .ic {
    right:14px;
    top:21px
  }
  .stat .lab {
    max-width:80%;
    font-size:14px
  }
}
@media(max-width:1150px) {
  .topbar .pgdesc {
    max-width:230px
  }
  .search {
    width:215px
  }
  .pgtitle {
    font-size:22px
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .toolbar-actions {
    margin-left:0
  }
  .panel-h {
    flex-wrap:wrap
  }
  .filter-note {
    width:100%;
    margin:0
  }
  .gallery-edit-row {
    grid-template-columns:140px minmax(0,1fr) 44px
  }
  .gallery-preview img {
    width:140px;
    height:120px
  }
}
@media(max-width:900px) {
  .sidebar {
    width:200px
  }
  .brand {
    padding:22px 12px
  }
  .brand .t1 {
    font-size:14px
  }
  .topbar {
    flex-wrap:wrap;
    min-height:104px
  }
  .search {
    display:none
  }
  .pgdesc {
    font-size:13px
  }
  .content {
    padding:18px
  }
  .content-cards {
    grid-template-columns:1fr
  }
  .filter-control {
    min-width:145px
  }
  .panel-h,.toolbar,.filterbar,.bulk-toolbar {
    padding:18px
  }
  .settings-section {
    grid-template-columns:1fr
  }
  .settings-section>* {
    grid-column:1/-1
  }
  .marketing-preview {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .modal-mask {
    padding:14px
  }
  .modal-h {
    padding:20px 22px
  }
  .modal-b {
    padding:22px
  }
  .modal-f {
    padding:18px 22px
  }
  .gallery-edit-row {
    grid-template-columns:130px minmax(0,1fr) 44px
  }
  .gallery-meta {
    grid-template-columns:1fr
  }
  .gallery-preview img {
    width:130px;
    height:115px
  }
  .content-detail-gallery {
    grid-template-columns:1fr
  }
}
@media(max-width:680px) {
  .sidebar {
    width:68px
  }
  .brand {
    justify-content:center;
    padding:18px 10px
  }
  .brand>div:last-child,.nav-item>span:not(.ic),.nav .grp,.side-foot {
    display:none
  }
  .nav {
    padding:10px 7px
  }
  .nav-item {
    padding:14px 10px;
    justify-content:center
  }
  .topbar {
    min-height:80px;
    padding:12px 15px
  }
  .topbar .pgdesc {
    display:none
  }
  .pgtitle {
    font-size:22px
  }
  .id-btn {
    padding:10px
  }
  .id-btn .ui-icon {
    display:none
  }
  .topbar>.btn {
    padding:10px
  }
  .content {
    padding:14px
  }
  .stats {
    gap:10px
  }
  .stat {
    padding:16px
  }
  .stat .num {
    font-size:28px
  }
  .stat .ic {
    display:none
  }
  .stat .lab {
    max-width:none
  }
  .panel-h .h-t {
    font-size:16px
  }
  .panel-h .h-r {
    font-size:13px
  }
  .modal-h {
    font-size:19px
  }
  .modal-b {
    padding:20px 18px
  }
  #genericBody,#mq_fields,#orderMeasureFields {
    grid-template-columns:1fr
  }
  .field {
    grid-column:1/-1
  }
  .gallery-edit-row {
    grid-template-columns:1fr 44px
  }
  .gallery-preview {
    grid-column:1/-1
  }
  .gallery-preview img {
    width:100%;
    height:180px
  }
  .gallery-meta {
    grid-column:1;
    grid-template-columns:1fr
  }
  .drawer-h,.drawer-b,.drawer-f {
    padding:18px 20px
  }
  .drawer-h .dt {
    font-size:20px
  }
  .goods-edit-head,.goods-edit-row {
    grid-template-columns:1.2fr .6fr .7fr .9fr 36px;
    gap:5px
  }
  .goods-edit-row input {
    font-size:14px;
    padding:8px 5px
  }
  .goods-edit-head {
    font-size:13px
  }
  .goods-edit-row .icon-btn {
    width:36px
  }
  .photo-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .fee-row {
    grid-template-columns:1.2fr .8fr 1fr 95px;
    padding:16px 14px;
    gap:8px;
    font-size:14px
  }
  .fee-row.head {
    font-size:13px
  }
  .pagination {
    padding:18px 14px;
    flex-wrap:wrap
  }
  .login-card {
    padding:30px
  }
  .login-card h1 {
    font-size:24px
  }
  .feedback-row {
    flex-direction:column
  }
  .banner-edit-fields {
    grid-template-columns:1fr;
  }
  .banner-summary {
    padding:10px;
    gap:8px;
  }
  .banner-summary-image {
    width:58px;
    height:44px;
    flex-basis:58px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration:.01ms!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important
  }
  ::view-transition-old(root),::view-transition-new(root) {
    animation:none
  }
}
