
*, ::before, ::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: "Inter", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 1em; }
small { font-size: 80%; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, select, optgroup, textarea { font: inherit; font-feature-settings: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; }
button, [role="button"] { cursor: pointer; }
ol, ul, menu { list-style: none; }
img, svg, video, canvas { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
textarea { resize: vertical; }
::placeholder { opacity: 1; color: #9ca3af; }
[hidden]:where(:not([hidden="until-found"])) { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
body { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; display: flex; min-height: 100%; flex-direction: column; overflow-x: hidden; }

#demo-bar { position: fixed; top: 0; left: 0; right: 0; height: 36px; z-index: 3000; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #1d2a22; color: #f4efe3; font: 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#demo-bar .db-tag { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#demo-bar .db-sp { flex: 1; }
#demo-bar button, #demo-bar a { font: inherit; color: #f4efe3; white-space: nowrap; }
#demo-bar button { border: 1px solid rgba(244, 239, 227, .35); border-radius: 6px; padding: 4px 10px; background: transparent; cursor: pointer; }
#demo-bar button:hover { background: rgba(244, 239, 227, .12); }
#demo-bar a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { #demo-bar { gap: 8px; padding: 0 10px; font-size: 12px; } #demo-bar .db-long { display: none; } }
.tr-shell { top: 36px; height: calc(100vh - 36px); height: calc(100dvh - 36px); }
html.no-demobar .tr-shell { top: 0; height: 100dvh; }
html.no-demobar #demo-bar { display: none; }

.tr-shell { display: flex; overflow: hidden; background: #F8F9FB; color: #111827; }
.tr-col { display: flex; min-width: 0; flex: 1 1 0%; flex-direction: column; }
.tr-main { flex: 1 1 0%; overflow-y: auto; }

.sb-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .4); animation: tr-fade .15s ease-out; }
.sb { display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid #E5E7EB; background: #fff; color: #334155;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: 272px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  transform: translateX(-100%); transition: transform .3s ease-out; }
.sb.open { transform: translateX(0); }
.sb-head { display: flex; height: 60px; flex: none; align-items: center; gap: 11px; border-bottom: 1px solid #E5E7EB; padding: 0 16px; }
.sb-logo { flex: none; border-radius: 10px; width: 40px; height: 40px; }
.sb-brand { min-width: 0; line-height: 1.25; }
.sb-brand p:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: #111827; }
.sb-brand p:last-child { font-size: 11px; font-weight: 500; color: #94A3B8; }
.sb-fill { flex: 1 1 0%; }
.sb-ibtn { display: grid; place-items: center; flex: none; border-radius: 9px; color: #64748B; transition: background-color .15s, color .15s; }
.sb-ibtn:hover { background: #F1F5F9; color: #111827; }
.sb-collapse { display: none; width: 36px; height: 36px; }
.sb-expand { display: none; border-radius: 10px; }
.sb-close { width: 40px; height: 40px; }
.sb-nav { flex: 1 1 0%; overflow-y: auto; padding: 12px 12px max(12px, env(safe-area-inset-bottom)); }
.sb-group + .sb-group { margin-top: 16px; }
.sb-gtitle { padding: 6px 12px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94A3B8; }
.sb-list > li + li { margin-top: 1px; }
.sb-link { display: flex; align-items: center; gap: 11px; border-radius: 10px; padding: 11px 12px; font-size: 13px; font-weight: 500; color: #334155; transition: background-color .15s, color .15s; cursor: pointer; width: 100%; text-align: left; }
.sb-link svg { flex: none; color: #94A3B8; }
.sb-link:hover { background: #F1F5F9; color: #111827; }
.sb-link.active { background: #ECFDF5; font-weight: 600; color: #047857; }
.sb-link.active svg { color: #059669; }
@media (min-width: 768px) {
  .sb { position: static; z-index: auto; flex: none; transform: none; box-shadow: none; width: 236px; transition: width .2s ease-out; }
  .sb-backdrop, .sb-close { display: none; }
  .sb-collapse { display: grid; }
  .sb-link { padding-top: 9px; padding-bottom: 9px; }
  .sb.collapsed { width: 64px; }
  .sb.collapsed .sb-head { justify-content: center; padding: 0; }
  .sb.collapsed .sb-logo, .sb.collapsed .sb-brand, .sb.collapsed .sb-fill, .sb.collapsed .sb-collapse, .sb.collapsed .sb-gtitle, .sb.collapsed .sb-link span { display: none; }
  .sb.collapsed .sb-expand { display: grid; }
  .sb.collapsed .sb-link { justify-content: center; gap: 0; padding-left: 0; padding-right: 0; }
}

.tb { display: flex; min-height: 60px; flex: none; align-items: center; gap: 12px; border-bottom: 1px solid #E5E7EB; background: rgba(255, 255, 255, .85); backdrop-filter: blur(4px); padding: 0 16px; }
.tb-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 9px; border: 1px solid #E5E7EB; background: #fff; color: #64748B; transition: background-color .15s, color .15s, border-color .15s; }
.tb-btn:hover { background: #F1F5F9; color: #111827; }
.tb-out:hover { border-color: #FECACA; background: #FEF2F2; color: #DC2626; }
.tb-nav { min-width: 0; flex: 1 1 0%; }
.tb-nav ol { display: flex; min-width: 0; align-items: center; gap: 6px; }
.tb-home { display: none; }
.tb-home a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: #94A3B8; }
.tb-home a:hover { background: #F1F5F9; color: #111827; }
.tb-cur { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tb-cur svg { display: none; flex: none; }
.tb-cur span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: #111827; }
.tb-right { display: flex; flex: none; align-items: center; gap: 8px; }
.tb-user { display: inline-flex; height: 40px; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid #E5E7EB; background: #F8FAFC; padding: 0 14px 0 5px; font-size: 12px; font-weight: 600; color: #334155; }
.tb-user i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: #047857; font-size: 11.5px; font-weight: 700; color: #fff; font-style: normal; }
.tb-user span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-bell { position: relative; flex: none; }
.tb-bell > button { position: relative; }
.tb-bell > button.on { border-color: #FECACA; background: #FEF2F2; color: #B91C1C; }
.tb-badge { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; height: 19px; min-width: 19px; border-radius: 999px; border: 2px solid #fff; background: #DC2626; padding: 0 4px; font-size: 10.5px; font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.tb-pop { position: fixed; left: 12px; right: 12px; top: 104px; z-index: 60; display: flex; max-height: min(520px, calc(100dvh - 130px)); flex-direction: column; overflow: hidden; border-radius: 14px; border: 1px solid #E5E7EB; background: #fff; box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .28); }
.tb-pop-h { flex: none; border-bottom: 1px solid #F1F5F9; padding: 14px 16px 12px; }
.tb-pop-h div:first-child { font-size: 14px; font-weight: 700; color: #111827; }
.tb-pop-h div:last-child { margin-top: 2px; font-size: 12px; line-height: 1.375; color: #64748B; }
.tb-pop ul { min-height: 0; flex: 1 1 0%; overflow-y: auto; }
.tb-pop li { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-top: 1px solid #F1F5F9; cursor: pointer; }
.tb-pop li:first-child { border-top: 0; }
.tb-pop li:hover { background: #F8FAFC; }
.tb-pop .r1 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tb-pop .r1 span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: #111827; }
.tb-pop .r1 span:last-child { flex: none; font-size: 13.5px; font-weight: 700; color: #B91C1C; font-variant-numeric: tabular-nums; }
.tb-pop .r2 { font-size: 11.5px; color: #64748B; }
@media (min-width: 640px) { .tb-pop { position: absolute; left: auto; right: 0; top: 48px; width: 380px; } }
@media (min-width: 768px) {
  .tb { padding: 0 24px; }
  .tb-menu { display: none; }
  .tb-home { display: block; flex: none; }
  .tb-cur svg { display: block; }
}
@media (max-width: 420px) { .tb-user span { display: none; } .tb-user { padding-right: 5px; } }

@media (min-width: 1100px) {
  #demo-bar { height: 40px; font-size: 14.4px; }
  html:has(.tr-shell) .tr-shell { top: 40px; height: calc(100dvh / var(--ui-zoom) - 40px); }
  html.no-demobar:has(.tr-shell) .tr-shell { top: 0; height: calc(100dvh / var(--ui-zoom)); }
}

.demo-doc { display: grid; place-items: center; height: 240px; border: 1px dashed #D1D5DB; border-radius: 12px; background: #F8FAFC; color: #6B7280; font-size: 13px; text-align: center; padding: 20px; }

.modal-overlay, .vc-ov, .cust .ov, .tr-modal-backdrop { top: 36px; }
.modal-edit, .modal-dp { max-height: calc(100vh - 116px); max-height: calc(100dvh - 116px); }
@media (max-width: 640px) { .modal-edit, .modal-dp { max-height: calc(100dvh - 60px); } }
@media (min-width: 1100px) { .modal-overlay, .vc-ov, .cust .ov, .tr-modal-backdrop { top: 40px; } }
html.no-demobar .modal-overlay, html.no-demobar .vc-ov, html.no-demobar .cust .ov, html.no-demobar .tr-modal-backdrop { top: 0; }
@media (max-width: 767px) { .sb, .sb-backdrop { top: 36px; } html.no-demobar .sb, html.no-demobar .sb-backdrop { top: 0; } }
