:root { --navy: #172b42; --navy-deep: #142338; --green: #2e627f; --green-dark: #214c68; --green-pale: #edf3f7; --ink: #233346; --muted: #67788a; --border: #e1e7ee; --bg: #f4f6f9; --white: #fff; --red: #b83c40; --shadow: 0 8px 28px #17304a05; font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--bg); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0px; font-size: 14px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
button[aria-busy="true"], form[aria-busy="true"] button:disabled { cursor: wait; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { border: 0px; }
svg { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentcolor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0px; }
h1 { font-size: 27px; letter-spacing: -0.6px; line-height: 1.35; margin-bottom: 8px; }
h2 { font-size: 17px; letter-spacing: -0.2px; margin-bottom: 0px; }
h3 { font-size: 15px; }
p { margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 0%; }
.stack { display: grid; gap: 20px; }
.hidden { display: none !important; }
.spacer { height: 20px; }
.divider { height: 1px; background: var(--border); margin: 22px 0px; }
.eyebrow { font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
:focus-visible { outline: rgb(104, 182, 164) solid 3px; outline-offset: 3px; }
input, select, textarea { width: 100%; padding: 11px 13px; border: 1px solid rgb(217, 227, 219); background: rgb(255, 255, 255); color: var(--ink); border-radius: 8px; min-height: 44px; transition: border-color 0.15s, box-shadow 0.15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: rgba(46, 98, 127, 0.086) 0px 0px 0px 3px; }
input[type="checkbox"] { width: 17px; min-height: 17px; accent-color: var(--green); }
input[type="file"] { padding: 9px; }
textarea { min-height: 100px; resize: vertical; }
label.field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; align-content: start; }
label.field small { font-weight: 400; color: var(--muted); }
.checkbox { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 18px; }
.full { grid-column: 1 / -1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 17px; border-radius: 8px; border: 1px solid var(--border); background: white; font-weight: 600; font-size: 13px; white-space: nowrap; color: var(--ink); transition: background 0.15s, transform 0.15s; }
.btn:hover { background: rgb(238, 243, 239); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); color: white; border-color: var(--green); }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.danger { color: var(--red); border-color: rgb(240, 216, 216); }
.btn.icon { width: 42px; padding: 10px; }
.text-btn { background: none; color: var(--green); padding: 8px; font-weight: 600; }
.actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 24px; }
.error { background: rgb(255, 240, 239); border: 1px solid rgb(244, 214, 211); color: rgb(167, 53, 53); border-radius: 8px; padding: 13px 16px; }
.notice { background: rgb(240, 246, 243); border: 1px solid rgb(220, 233, 225); color: rgb(66, 100, 82); border-radius: 9px; padding: 14px 17px; font-size: 13px; }
.badge { display: inline-flex; align-items: center; border-radius: 5px; padding: 3px 9px; line-height: 1.6; background: rgb(237, 242, 238); color: rgb(82, 101, 90); font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge.green { color: rgb(22, 116, 74); background: rgb(230, 245, 235); }
.badge.amber { color: rgb(155, 104, 23); background: rgb(255, 244, 217); }
.badge.red { color: rgb(178, 64, 69); background: rgb(252, 235, 236); }
.badge.blue { color: rgb(61, 105, 164); background: rgb(234, 241, 253); }
.dot { display: inline-block; width: 6px; height: 6px; background: currentcolor; border-radius: 50%; margin-right: 6px; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0px, 1fr); }
.sidebar { background: var(--navy-deep); color: rgb(173, 189, 207); padding: 30px 17px 20px; position: fixed; inset: 0px auto 0px 0px; width: 236px; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; color: white; padding: 0px 12px 32px; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 39px; background: rgb(134, 179, 201); border-radius: 11px; color: rgb(23, 50, 73); font-weight: 800; font-size: 23px; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: 1px; }
.brand-sub { font-size: 9px; letter-spacing: 2.3px; color: rgb(146, 169, 189); }
.nav-label { font-size: 10px; color: rgb(132, 151, 175); letter-spacing: 1.5px; padding: 18px 15px 10px; }
.nav-link { display: flex; align-items: center; gap: 13px; width: 100%; color: rgb(173, 189, 207); text-decoration: none; padding: 12px 15px; margin: 4px 0px; border-radius: 8px; font-weight: 500; font-size: 13px; }
.nav-link svg { width: 19px; height: 19px; opacity: 0.85; }
.nav-link:hover { color: white; background: rgba(255, 255, 255, 0.03); text-decoration: none; }
.nav-link.active { color: rgb(237, 245, 255); background: rgb(41, 67, 94); }
.nav-link.active::after { content: ""; height: 6px; width: 6px; background: rgb(147, 188, 212); border-radius: 50%; margin-left: auto; }
.sidebar-footer { margin-top: auto; padding: 18px 12px 0px; }
.workspace-state { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 9px; padding: 12px; font-size: 11px; color: rgb(157, 174, 193); margin-bottom: 20px; }
.workspace-state strong { display: block; color: rgb(217, 227, 237); font-size: 12px; margin-bottom: 4px; }
.user-chip { display: flex; gap: 10px; align-items: center; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: rgb(237, 243, 238); color: var(--green); font-weight: 600; flex: 0 0 auto; }
.sidebar .avatar { background: rgb(43, 63, 86); color: rgb(196, 216, 232); }
.user-chip .name { color: white; font-size: 12px; }
.user-chip .role { font-size: 10px; color: rgb(153, 172, 192); }
.shell-main { grid-column: 2; min-width: 0px; }
.topbar { height: 78px; background: rgb(255, 255, 255); border-bottom: 1px solid var(--border); padding: 0px 34px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.crumb { font-size: 12px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.crumb strong { color: rgb(64, 85, 107); font-weight: 500; }
.tenant-select { max-width: 220px; min-height: 36px; padding: 7px 30px 7px 10px; font-size: 12px; }
.top-date { font-size: 12px; color: var(--muted); }
.mobile-toggle { display: none; }
.content { max-width: 1640px; padding: 34px; margin: 0px auto; }
.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px; }
.page-heading p { color: var(--muted); font-size: 13px; margin: 0px; }
.panel { background: white; border: 1px solid var(--border); border-radius: 9px; box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 23px; border-bottom: 1px solid var(--border); }
.panel-body { padding: 23px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 18px; }
.stat { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 22px 23px; box-shadow: var(--shadow); position: relative; }
.stat-title { font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.stat-value { font-size: 34px; font-weight: 650; line-height: 1.2; letter-spacing: -1px; }
.stat-foot { font-size: 11px; color: var(--muted); margin-top: 15px; }
.stat-icon { position: absolute; top: 20px; right: 21px; background: rgb(242, 247, 243); border-radius: 10px; color: var(--green); padding: 10px; }
.stat:first-child { background: rgb(238, 243, 248); border-color: rgb(220, 229, 239); }
.chart-row { display: grid; grid-template-columns: 74px 1fr 32px; gap: 12px; align-items: center; margin: 18px 0px; font-size: 12px; }
.bar-track { height: 9px; background: rgb(239, 242, 246); border-radius: 5px; overflow: hidden; }
.bar-fill { background: rgb(113, 149, 179); height: 100%; border-radius: 5px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-link { padding: 17px; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); display: flex; flex-direction: column; gap: 9px; }
.quick-link:hover { background: var(--green-pale); border-color: rgb(186, 215, 200); text-decoration: none; }
.quick-link svg { color: var(--green); }
.quick-link span { font-size: 12px; color: var(--muted); }
.toolbar { display: flex; gap: 10px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.toolbar input { width: 260px; }
.toolbar select { width: 150px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; }
th { background: rgb(250, 251, 253); font-weight: 500; color: rgb(124, 138, 129); letter-spacing: 0.2px; }
th, td { padding: 15px 21px; border-bottom: 1px solid rgb(237, 240, 244); }
td { color: rgb(76, 96, 117); }
tbody tr:last-child td { border: 0px; }
tbody tr:hover { background: rgb(250, 251, 253); }
td strong { font-weight: 600; color: var(--ink); }
.table-foot { padding: 14px 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.empty { text-align: center; padding: 52px 24px; color: var(--muted); }
.empty-icon { margin: 0px auto 14px; width: 53px; height: 53px; display: grid; place-items: center; border-radius: 15px; color: rgb(119, 149, 175); background: rgb(237, 242, 247); }
.empty h3 { color: rgb(62, 82, 105); margin-bottom: 7px; font-weight: 600; }
.empty p { font-size: 12px; margin-bottom: 0px; }
.loading { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 180px; color: var(--muted); }
.loader { display: inline-block; width: 22px; height: 22px; border-width: 2px; border-style: solid; border-right-color: rgb(219, 231, 221); border-bottom-color: rgb(219, 231, 221); border-left-color: rgb(219, 231, 221); border-image: none; border-top-color: var(--green); border-radius: 50%; animation: 0.8s linear 0s infinite normal none running spin; }
.initial-loading { display: grid; place-content: center; justify-items: center; height: 100vh; gap: 16px; }
.details-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.kv { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 13px; margin: 13px 0px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0px; overflow-wrap: anywhere; }
.tabs { display: flex; border-bottom: 1px solid var(--border); padding: 0px 23px; gap: 24px; overflow: auto; }
.tab { padding: 17px 0px; background: none; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--green); border-color: var(--green); font-weight: 600; }
.timeline { padding: 4px 0px 0px 6px; }
.timeline-entry { padding: 0px 0px 25px 24px; position: relative; border-left: 1px solid rgb(220, 231, 222); }
.timeline-entry::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: rgb(107, 172, 137); border: 2px solid white; box-shadow: rgb(186, 217, 198) 0px 0px 0px 1px; }
.timeline-entry:last-child { border-color: transparent; padding-bottom: 0px; }
.timeline-entry h3 { margin-bottom: 5px; }
.timeline-entry p { font-size: 13px; margin: 9px 0px; overflow-wrap: anywhere; }
.attachments { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0px; }
.attachment { font-size: 12px; border: 1px solid var(--border); border-radius: 6px; padding: 6px 9px; display: flex; gap: 6px; align-items: center; }
.attachment svg { width: 14px; }
.record-actions { display: flex; gap: 5px; margin-top: 10px; }
.record-actions button { font-size: 11px; }
.item-row { display: grid; grid-template-columns: 1.3fr 1fr 0.65fr 0.6fr 40px; gap: 8px; margin-bottom: 10px; }
.item-row input { min-width: 0px; }
.item-head { font-size: 12px; color: var(--muted); }
.import-stats { display: flex; gap: 26px; flex-wrap: wrap; padding: 18px 0px; }
.import-stats strong { font-size: 24px; color: var(--green); margin-right: 7px; }
.message { display: flex; gap: 11px; margin-bottom: 20px; }
.message.staff { flex-direction: row-reverse; }
.bubble { background: white; border: 1px solid var(--border); border-radius: 0px 11px 11px; padding: 12px 15px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.staff .bubble { background: rgb(237, 243, 248); border-color: rgb(220, 229, 239); border-radius: 11px 0px 11px 11px; }
.composer { padding: 16px 21px; border-top: 1px solid var(--border); }
.composer textarea { min-height: 72px; }
.composer .row { margin-top: 10px; }
.composer select { width: 150px; min-height: 34px; padding: 6px 10px; }
.capabilities { display: grid; gap: 12px; }
.capability { padding: 12px; background: rgb(246, 248, 251); border-radius: 8px; font-size: 12px; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: white; }
.auth-story { background: rgb(23, 43, 66); color: rgb(238, 243, 248); display: flex; flex-direction: column; padding: 50px 12%; position: relative; overflow: hidden; }
.auth-story .brand { padding: 0px; }
.auth-copy { margin: auto 0px; position: relative; z-index: 1; padding: 60px 0px; }
.auth-copy h1 { font-size: 43px; line-height: 1.45; letter-spacing: -1.2px; margin-bottom: 22px; }
.auth-copy h1 em { font-style: normal; color: rgb(157, 190, 213); }
.auth-copy p { color: rgb(167, 184, 203); max-width: 360px; font-size: 14px; line-height: 1.9; }
.auth-feature { display: flex; gap: 12px; align-items: center; margin-top: 24px; color: rgb(203, 216, 230); font-size: 12px; }
.auth-feature svg { color: rgb(141, 180, 206); }
.auth-story footer { font-size: 11px; color: rgb(145, 165, 188); }
.auth-form-area { display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h2 { font-size: 27px; margin-bottom: 9px; }
.auth-form .field { margin: 19px 0px; }
.auth-form .primary { width: 100%; margin-top: 9px; }
.auth-form .error { margin-top: 20px; }
.auth-foot { font-size: 11px; color: rgb(138, 150, 141); text-align: center; margin-top: 26px; }
.public-page { max-width: 920px; margin: 0px auto; padding: 40px 24px; }
.public-page .brand { padding: 0px; color: var(--ink); margin-bottom: 45px; }
.public-page .brand-name { color: var(--ink); }
.query-hero { text-align: center; margin-bottom: 27px; }
.query-hero h1 { font-size: 31px; }
.query-hero p { color: var(--muted); }
.query-form { display: flex; gap: 10px; padding: 23px; }
.query-result { margin-top: 24px; }
.public-foot { text-align: center; color: var(--muted); font-size: 11px; margin-top: 34px; }
dialog { border: 1px solid var(--border); border-radius: 14px; padding: 0px; width: min(700px, -32px + 100vw); max-height: 90vh; color: var(--ink); box-shadow: rgba(23, 50, 73, 0.18) 0px 25px 100px; }
dialog::backdrop { background: rgba(17, 42, 35, 0.4); }
.modal-head { padding: 22px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.modal-body { padding: 25px; overflow: auto; max-height: calc(-90px + 90vh); }
.modal-head h2 { font-size: 19px; }
.modal-body .error { margin-bottom: 18px; }
#toasts { position: fixed; right: 25px; bottom: 25px; z-index: 100; display: grid; gap: 10px; max-width: calc(-50px + 100vw); }
.toast { padding: 13px 21px; background: rgb(24, 62, 42); color: white; border-radius: 10px; box-shadow: rgba(16, 44, 36, 0.2) 0px 8px 28px; font-size: 13px; }
.toast.fail { background: rgb(139, 52, 57); }
@keyframes spin { 
  100% { transform: rotate(360deg); }
}
@media (min-width: 1600px) {.content { padding: 40px 48px; }
.topbar { padding: 0px 48px; }}
@media (max-width: 1150px) {.shell { grid-template-columns: 210px minmax(0px, 1fr); }
.sidebar { width: 210px; }
.content { padding: 26px; }
.topbar { padding: 0px 26px; }
.stats { gap: 12px; }
.stat { padding: 18px; }
.stat-icon { position: static; float: right; padding: 6px; }
.stat-value { font-size: 28px; }
.dashboard-grid, .details-grid { grid-template-columns: 1fr; }
.auth-story { padding: 40px 9%; }
.auth-copy h1 { font-size: 35px; }}
@media (max-width: 780px) {.shell { display: block; }
.sidebar { transform: translateX(-100%); transition: transform 0.2s; width: 236px; box-shadow: rgba(0, 0, 0, 0.133) 12px 0px 40px; }
.sidebar.open { transform: translateX(0px); }
.mobile-toggle { display: inline-flex; }
.topbar { height: 68px; padding: 0px 18px; }
.top-date, .crumb { display: none; }
.content { padding: 24px 16px; }
.page-heading { align-items: flex-start; margin-bottom: 22px; flex-wrap: wrap; }
.page-heading h1 { font-size: 24px; }
.stats { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.stat-foot { font-size: 10px; }
.stat-icon { padding: 5px; }
.panel-head, .panel-body { padding: 18px; }
.toolbar { padding: 16px; }
.toolbar input { width: 100%; }
.toolbar select { flex: 1 1 0%; width: 120px; }
th, td { padding: 13px 16px; }
.form-grid { grid-template-columns: 1fr; }
.item-row { grid-template-columns: 1fr 1fr 60px 60px 34px; gap: 4px; }
.item-row input { padding: 8px 6px; font-size: 12px; }
.item-row .btn { min-width: 34px; width: 34px; }
.auth-layout { display: block; }
.auth-story { display: none; }
.auth-form-area { min-height: 100vh; padding: 32px 24px; }
.query-form { display: block; }
.query-form .btn { margin-top: 12px; width: 100%; }
.topbar .actions { gap: 5px; }
.tenant-select { max-width: 175px; }
.quick-grid { grid-template-columns: 1fr 1fr; }
.modal-body { padding: 20px; }
.panel-head .actions { gap: 5px; }
.panel-head .btn { font-size: 11px; padding: 8px 10px; }}
@media (prefers-reduced-motion: reduce) {*, ::before, ::after { animation: auto ease 0s 1 normal none running none !important; transition: none !important; scroll-behavior: auto !important; }}
.storage-banner { padding: 8px 34px; border-bottom: 1px solid rgb(220, 229, 237); background: rgb(237, 242, 247); color: rgb(82, 103, 125); font-size: 12px; }
.auth-storage { margin-top: 18px; padding: 10px 12px; border: 1px solid rgb(220, 229, 237); border-radius: 6px; text-align: center; }
.feature-fields { border: 1px solid var(--border); border-radius: 8px; padding: 15px; }
.feature-fields legend { font-size: 13px; font-weight: 600; padding: 0px 6px; }
.feature-fields .row { gap: 14px 22px; }
.topbar { height: auto; min-height: 78px; padding-block: 14px; }
.topbar > .row { flex: 1 1 0px; min-width: 0px; flex-wrap: nowrap; }
.topbar .crumb { min-width: 0px; white-space: nowrap; overflow: hidden; }
.topbar .crumb strong { min-width: 0px; overflow: hidden; text-overflow: ellipsis; }
.topbar > .actions { flex: 0 1 auto; min-width: 0px; max-width: 100%; flex-wrap: nowrap; }
.tenant-switcher { display: flex; align-items: center; gap: 9px; min-width: 0px; max-width: 100%; flex: 0 1 auto; }
.tenant-switcher label { flex: 0 0 auto; white-space: nowrap; }
.tenant-select { width: 220px; min-width: 0px; max-width: 100%; flex: 0 1 220px; text-overflow: ellipsis; }
.top-date { flex: 0 0 auto; white-space: nowrap; }
.topbar .badge { min-width: 0px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content, .panel, .panel-body, .table-wrap, .form-grid > :not(.full), .dashboard-grid > *, .details-grid > *, .settings-grid > *, .quick-grid > *, .stat { min-width: 0px; }
.table-wrap { max-width: 100%; overscroll-behavior-x: contain; }
.page-heading > div, .panel-head > h2 { min-width: 0px; overflow-wrap: anywhere; }
.attachment { max-width: 100%; overflow-wrap: anywhere; }
.item-field { display: grid; gap: 4px; min-width: 0px; }
.item-field > span { display: none; }
.nav-backdrop { display: none; }
@media (max-width: 1150px) {.top-date { display: none; }}
@media (max-width: 780px) {.topbar { min-height: 68px; padding-block: 12px; gap: 12px; }
.topbar > .row { flex: 0 0 44px; }
.topbar > .actions { flex: 1 1 0px; justify-content: flex-end; }
.tenant-switcher { flex: 0 1 220px; }
.tenant-switcher label { position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tenant-select { min-height: 44px; }
.sidebar { width: min(280px, -56px + 100vw); height: 100dvh; overflow-y: auto; }
.sidebar:not(.open) { visibility: hidden; }
.nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0px; z-index: 19; background: rgba(20, 35, 56, 0.4); border-radius: 0px; }
.panel-head { flex-wrap: wrap; }
.page-heading .actions, .panel-head .actions { max-width: 100%; flex-wrap: wrap; gap: 8px; }
.form-grid { grid-template-columns: minmax(0px, 1fr); }
.form-grid > * { min-width: 0px; }
input, select, textarea { min-width: 0px; max-width: 100%; font-size: 16px; }
.btn, .text-btn, .tab { min-height: 44px; }
.btn.icon { width: 44px; flex-shrink: 0; }
.form-actions { flex-wrap: wrap; }
.toolbar input, .toolbar select { max-width: 100%; min-width: 0px; }
.storage-banner { padding: 8px 16px; overflow-wrap: anywhere; }
.kv { grid-template-columns: 80px minmax(0px, 1fr); }
.modal-body { max-height: calc(90dvh - 90px); }
.item-row:not(.item-head) { grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr) 44px; border: 1px solid var(--border); border-radius: 8px; padding: 12px; gap: 10px; }
.item-row.item-head { display: none; }
.item-field:nth-child(-n+2) { grid-column: 1 / -1; }
.item-field > span { display: block; color: var(--muted); font-size: 12px; }
.item-row input { font-size: 16px; }
.item-row .remove-item { align-self: end; min-width: 44px; width: 44px; }}
@media (max-width: 380px) {.stats, .quick-grid { grid-template-columns: minmax(0px, 1fr); }}
.channel-enabled { min-height: 44px; font-weight: 600; }
.callback-field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; min-width: 0px; }
.callback-controls { display: flex; gap: 10px; align-items: center; min-width: 0px; }
.callback-controls input { min-width: 0px; flex: 1 1 0%; }
.callback-field small { font-weight: 400; }
.channel-runtime { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.channel-optional { margin-top: 22px; border: 1px solid var(--border); border-radius: 8px; padding: 0px 16px; }
.channel-optional summary { cursor: pointer; min-height: 48px; padding: 12px 0px; font-weight: 600; }
.channel-optional[open] { padding-bottom: 16px; }
.channel-optional p { margin-top: 8px; }
.channel-optional .form-grid { margin-top: 14px; }
#kf-result td { overflow-wrap: anywhere; }
#kf-result .table-wrap { margin-top: 12px; }
@media (max-width: 480px) {.callback-controls { align-items: stretch; flex-direction: column; }
.callback-controls .btn { align-self: flex-start; }}
:root { --navy: #e8f0fc; --navy-deep: #e8f0fc; --green: #287cf1; --green-dark: #1766d2; --green-pale: #f0f6ff; --ink: #20242b; --muted: #8b929b; --border: #ebedf0; --bg: #e8f0fc; --shadow: none; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
body { font-size: 14px; line-height: 1.5; background: var(--bg); }
h1 { font-size: 18px; font-weight: 600; letter-spacing: 0px; line-height: 1.5; margin-bottom: 8px; }
h2 { font-size: 15px; font-weight: 600; letter-spacing: 0px; }
h3 { font-size: 14px; font-weight: 500; }
.small { font-size: 12px; }
.muted { color: var(--muted); }
a { color: rgb(51, 126, 203); }
strong { font-weight: 600; }
.eyebrow { display: none; }
.shell { grid-template-columns: 210px minmax(0px, 1fr); min-height: 100vh; padding: 12px 12px 26px 0px; }
.sidebar { width: 210px; padding: 26px 12px 18px; background: rgb(232, 240, 252); color: rgb(36, 42, 50); box-shadow: none; }
.brand { gap: 8px; padding: 0px 12px 21px; color: rgb(52, 133, 249); }
.brand-mark { width: 29px; height: 29px; border-radius: 7px; background: transparent; color: rgb(52, 133, 249); font-size: 24px; }
.brand-name { font-size: 21px; letter-spacing: 0px; font-weight: 600; }
.brand-sub { display: none; }
.nav-link { color: rgb(36, 42, 50); margin: 1px 0px; padding: 11px 13px; gap: 11px; font-size: 14px; font-weight: 400; min-height: 42px; border-radius: 5px; }
.nav-link svg { width: 16px; height: 16px; color: rgb(113, 120, 128); opacity: 1; }
.nav-link:hover { color: rgb(38, 119, 231); background: rgb(220, 233, 250); }
.nav-link.active { background: rgb(211, 227, 250); color: rgb(45, 131, 245); }
.nav-link.active svg { color: rgb(45, 131, 245); }
.nav-link.active::after { display: none; }
@media (min-width: 781px) {.nav-link { font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: rgb(0, 0, 0); font-size: 14px; font-weight: 400; line-height: 20px; }}
.sidebar-footer { padding: 16px 12px 0px; }
.sidebar .tenant-switcher { display: grid; gap: 6px; margin-bottom: 18px; max-width: 100%; }
.sidebar .tenant-switcher label { position: static; width: auto; height: auto; clip-path: none; overflow: visible; white-space: normal; }
.sidebar .tenant-select { font-size: 12px; min-height: 34px; width: 100%; padding: 6px 24px 6px 8px; background: rgb(243, 247, 254); border-color: rgb(214, 225, 240); }
.sidebar-company { display: flex; gap: 8px; font-size: 12px; overflow-wrap: anywhere; margin-bottom: 15px; }
.sidebar-company svg { width: 15px; height: 15px; flex-shrink: 0; }
.workspace-state { padding: 14px 0px 10px; border-width: 1px 0px 0px; border-style: solid none none; border-color: rgb(219, 228, 240) currentcolor currentcolor; border-image: none; border-radius: 0px; color: rgb(140, 150, 162); font-size: 11px; margin-bottom: 10px; }
.workspace-state strong { font-weight: 400; color: rgb(127, 138, 151); font-size: 12px; margin-bottom: 7px; }
.workspace-state svg { width: 14px; height: 14px; }
.sidebar .avatar { background: rgb(213, 229, 250); color: rgb(66, 128, 201); width: 30px; height: 30px; border-radius: 5px; }
.user-chip { gap: 8px; }
.user-chip .grow { min-width: 0px; }
.user-chip .name { color: rgb(69, 80, 95); overflow-wrap: anywhere; }
.user-chip .role { color: rgb(140, 150, 162); font-size: 10px; }
.user-chip .btn { color: rgb(132, 144, 159); padding: 5px; width: 28px; min-height: 30px; }
.shell-main { position: relative; background: rgb(255, 255, 255); border-radius: 10px; min-height: calc(-38px + 100vh); box-shadow: rgba(86, 123, 175, 0.03) 0px 2px 5px; }
.topbar { min-height: 52px; height: auto; padding: 12px 30px; border-bottom: 1px solid var(--border); border-radius: 10px 10px 0px 0px; gap: 12px; }
.crumb, .crumb strong { font-size: 12px; color: rgb(146, 153, 162); }
.crumb svg { width: 13px; height: 13px; }
.top-date { font-size: 12px; }
.content { max-width: none; padding: 25px 30px 35px; width: 100%; margin: 0px; }
.workspace-footer { position: absolute; top: 100%; left: 12px; padding-top: 8px; font-size: 11px; color: rgb(168, 182, 201); }
.page-heading { margin-bottom: 23px; align-items: flex-start; gap: 15px; }
.page-heading p { font-size: 13px; color: rgb(139, 146, 155); }
.page-heading h1 { font-size: 18px; }
.panel { border-radius: 7px; border-color: rgb(232, 235, 239); box-shadow: none; }
.panel-head { padding: 16px 20px; }
.panel-body { padding: 20px; }
.panel-head h2 { font-size: 15px; }
.stack { gap: 20px; }
.btn { font-size: 13px; font-weight: 400; min-height: 34px; padding: 6px 14px; border-radius: 4px; border-color: rgb(220, 224, 229); box-shadow: none; }
.btn:hover { background: rgb(243, 247, 253); }
.btn.primary { background: rgb(40, 124, 241); border-color: rgb(40, 124, 241); }
.btn.primary:hover { background: rgb(23, 102, 210); }
.btn.icon { width: 34px; padding: 7px; }
.btn svg { width: 16px; height: 16px; }
.actions { gap: 8px; }
input, select, textarea { font-size: 13px; min-height: 36px; border-radius: 4px; padding: 8px 10px; border-color: rgb(220, 225, 231); }
.field, label.field { font-size: 13px; font-weight: 400; gap: 7px; }
input:focus, select:focus, textarea:focus { border-color: rgb(82, 149, 237); box-shadow: rgba(40, 124, 241, 0.07) 0px 0px 0px 2px; }
.form-grid { gap: 17px 20px; }
.form-actions { margin-top: 20px; padding-top: 17px; gap: 10px; }
.notice { background: rgb(243, 247, 253); border: 1px solid rgb(226, 235, 248); color: rgb(101, 124, 154); border-radius: 5px; font-size: 12px; padding: 12px 15px; }
.error { border-radius: 5px; }
.badge { border-radius: 3px; font-size: 12px; padding: 2px 7px; }
table { font-size: 13px; }
th { background: rgb(248, 249, 251); color: rgb(139, 146, 155); font-size: 12px; letter-spacing: 0px; }
th, td { padding: 13px 18px; }
td { color: rgb(66, 74, 85); }
.toolbar { padding: 16px 20px; gap: 10px; }
.table-foot { padding: 12px 20px; }
.tabs { padding: 0px 20px; }
.tab { font-size: 13px; padding: 14px 0px; font-weight: 400; }
.tab.active { font-weight: 500; }
dialog { border-radius: 8px; }
.modal-head { padding: 18px 22px; }
.modal-head h2 { font-size: 17px; }
.modal-body { padding: 22px; }
.empty { padding: 40px 20px; }
.empty h3 { font-size: 14px; font-weight: 500; color: rgb(112, 124, 139); }
.empty-icon { border-radius: 8px; }
.bubble { font-size: 13px; }
.setup-steps { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); border: 1px solid rgb(231, 233, 237); border-radius: 8px; overflow: hidden; }
.setup-step { min-width: 0px; min-height: 154px; padding: 15px 17px 17px; border-right: 1px solid rgb(231, 233, 237); }
.setup-step:last-child { border-right: 0px; }
.step-number { font: 600 32px / 1.2 Arial, sans-serif; color: rgb(200, 203, 208); margin-bottom: 5px; }
.setup-step:first-child .step-number { color: rgb(49, 133, 247); }
.setup-step h2 { font-size: 14px; line-height: 1.5; margin-bottom: 3px; font-weight: 600; }
.setup-step p { font-size: 13px; color: rgb(139, 146, 155); margin-bottom: 16px; line-height: 1.5; }
.setup-step a, .setup-step > span { font-size: 12px; }
.setup-step a svg { width: 12px; height: 12px; margin-left: 1px; }
.quick-caption { margin-top: 37px; margin-bottom: 13px; }
.quick-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: rgb(75, 150, 245); color: white; }
.quick-icon svg { width: 21px; height: 21px; fill: currentcolor; stroke: none; }
.quick-color-1 .quick-icon { background: rgb(21, 191, 85); }
.quick-color-2 .quick-icon { background: rgb(255, 184, 0); }
.quick-color-3 .quick-icon { background: rgb(75, 150, 245); }
.company-identity { text-align: center; padding-bottom: 25px; }
.company-logo { display: grid; place-items: center; background: rgb(240, 246, 255); color: rgb(49, 133, 247); width: 62px; height: 62px; margin: 0px auto 13px; border-radius: 12px; }
.company-logo svg { width: 38px; height: 38px; }
.company-identity h2 { font-size: 16px; font-weight: 500; margin: 0px 0px 5px; overflow-wrap: anywhere; }
.company-identity > span { font-size: 12px; }
.company-metrics { margin: 0px; border-top: 1px solid rgb(236, 238, 241); border-bottom: 1px solid rgb(236, 238, 241); padding: 15px 0px; }
.company-metrics > div { display: flex; gap: 13px; align-items: center; font-size: 13px; line-height: 2.2; }
.company-metrics dt { color: rgb(150, 156, 164); min-width: 74px; }
.company-metrics dd { margin: 0px; color: rgb(53, 64, 77); }
.company-section { padding: 22px 0px 0px; font-size: 12px; }
.company-section h3 { font-size: 14px; font-weight: 400; margin-bottom: 5px; }
.company-section p { margin: 0px 0px 6px; line-height: 1.65; }
.company-section > a { font-size: 12px; }
@media (max-width: 1100px) {.company-identity { padding: 0px; }
.company-metrics { border: 0px; padding: 0px; }
.company-section { padding: 0px; }
.setup-step { padding: 14px 12px; }}
@media (max-width: 780px) {.shell { display: block; padding: 8px 8px 26px; }
.sidebar { width: min(280px, -56px + 100vw); padding: 24px 12px 18px; }
.shell-main { min-height: calc(100dvh - 34px); }
.topbar, .home-shell .topbar { display: flex; min-height: 58px; padding: 8px 14px; }
.topbar > .row { flex: 1 1 0%; gap: 10px; }
.topbar .crumb { display: flex; white-space: normal; }
.topbar .crumb > svg, .topbar .crumb > strong { display: none; }
.topbar > .actions { flex: 0 1 0%; }
.mobile-toggle { display: inline-flex; }
.content { padding: 22px 16px; }
.home-title, .page-heading h1 { font-size: 18px; }
.setup-steps { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.setup-step { min-height: 145px; padding: 15px; }
.setup-step:nth-child(2) { border-right: 0px; }
.setup-step:nth-child(-n+2) { border-bottom: 1px solid rgb(231, 233, 237); }
.btn, .btn.icon, .text-btn, .tab { min-height: 44px; }
.btn.icon { width: 44px; }
.user-chip .btn { min-height: 44px; width: 44px; }
.sidebar .tenant-select { min-height: 44px; }
.panel-head, .panel-body { padding: 16px; }
.panel-head .btn { font-size: 12px; }
.form-grid { grid-template-columns: minmax(0px, 1fr); }
input, select, textarea { font-size: 16px; min-height: 44px; }
.workspace-footer { font-size: 10px; }
.company-section { overflow-wrap: anywhere; }}
@media (max-width: 380px) {.setup-step { padding: 13px 11px; }
.setup-step h2 { font-size: 13px; }
.setup-step p { font-size: 12px; }}
.business-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.business-heading p { font-size: 13px; margin: 0px; }
.business-heading > div { min-width: 0px; }
.business-metrics { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.business-metric { padding: 18px 20px; color: var(--ink); border-right: 1px solid var(--border); min-width: 0px; }
.business-metric:last-child { border-right: 0px; }
.business-metric:hover { text-decoration: none; background: rgb(249, 251, 255); }
.business-metric > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: rgb(115, 125, 137); font-size: 13px; }
.business-metric svg { width: 16px; height: 16px; color: rgb(157, 170, 185); }
.business-metric > strong { display: block; font: 500 30px / 1.4 Arial, sans-serif; margin: 10px 0px 8px; overflow-wrap: anywhere; }
.business-metric small { display: flex; align-items: center; font-size: 12px; color: rgb(139, 146, 155); gap: 5px; }
.business-metric small svg { width: 12px; height: 12px; }
.business-reminder { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 14px 17px; background: rgb(242, 247, 255); border-radius: 6px; color: rgb(83, 117, 157); font-size: 13px; }
.business-reminder > span { display: flex; align-items: center; gap: 9px; }
.business-reminder > span:last-child { white-space: nowrap; }
.business-reminder svg { width: 16px; height: 16px; flex: 0 0 auto; }
.business-quick { grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 12px; }
.business-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0px 14px; }
.business-section-head h2 { font-size: 15px; font-weight: 500; }
.business-section-head a { font-size: 12px; display: flex; align-items: center; gap: 4px; }
.business-section-head svg { width: 12px; height: 12px; }
.business-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 18px; margin-top: 20px; }
.business-status-grid > * { min-width: 0px; }
.business-status-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0px; font-size: 13px; border-bottom: 1px solid rgb(241, 242, 245); }
.business-status-row:last-child { border: 0px; }
.business-status-row strong { font-weight: 500; }
@media (max-width: 1300px) {.business-metric { padding: 16px 13px; }
.business-metric > strong { font-size: 27px; }
.business-quick { grid-template-columns: repeat(2, minmax(0px, 1fr)); }}
@media (max-width: 780px) {.business-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.business-metrics { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.business-metric:nth-child(2) { border-right: 0px; }
.business-metric:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.business-reminder { align-items: flex-start; flex-wrap: wrap; }
.business-reminder > span:first-child { align-items: flex-start; }
.business-reminder > span:last-child { margin-left: 25px; min-height: 30px; }
.business-status-grid { grid-template-columns: minmax(0px, 1fr); }
.business-quick { grid-template-columns: repeat(2, minmax(0px, 1fr)); }}
@media (max-width: 380px) {.business-quick { grid-template-columns: minmax(0px, 1fr); }}
.model-test-toolbar { gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.model-test-success { background: rgb(239, 249, 241); border: 1px solid rgb(204, 232, 211); border-radius: 5px; color: rgb(36, 106, 56); padding: 13px 16px; }
.model-test-item { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0px; overflow-wrap: anywhere; }
.model-test-item span { min-width: 0px; }
#model-result { overflow-wrap: anywhere; }
@media (max-width: 600px) {.model-test-toolbar > .actions { width: 100%; }
.model-test-toolbar > .actions .btn { flex: 1 1 0%; }}
.sidebar { height: 100dvh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.sidebar > .brand, .sidebar > nav, .sidebar-footer { flex-shrink: 0; }
.sidebar-footer { min-width: 0px; }
.stack, .full, .field, .row > *, .panel-head > div, .modal-head h2 { min-width: 0px; }
.panel-head > div, .notice, .error, .empty, .company-section, .page-heading p { overflow-wrap: anywhere; }
.btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.btn svg, .checkbox input { flex-shrink: 0; }
.panel-head h2, .modal-head h2 { overflow-wrap: anywhere; }
.panel-head .actions, .modal-head > .btn { flex-shrink: 0; }
.attachment { flex-wrap: wrap; }
.attachment > .text-btn { min-width: 0px; overflow-wrap: anywhere; text-align: left; }
.table-wrap { width: 100%; scrollbar-width: thin; }
.table-wrap:focus-visible { outline: rgb(82, 149, 237) solid 2px; outline-offset: -2px; }
td:not(.nowrap) { white-space: normal; overflow-wrap: anywhere; min-width: 160px; max-width: 320px; }
td .mono { white-space: nowrap; }
th { white-space: nowrap; }
dialog { max-height: calc(100dvh - 32px); overflow: hidden; }
body:has(dialog[open]) { overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; }
.modal-head { flex-shrink: 0; gap: 12px; }
.modal-form { display: flex; flex-direction: column; min-height: 0px; overflow: hidden; }
.modal-body { min-height: 0px; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
.modal-actions { flex-shrink: 0; margin: 0px; padding: 16px 22px; background: rgb(255, 255, 255); }
.modal-actions[hidden] { display: none; }
@media (max-width: 780px) {body.nav-open { overflow: hidden; }
.content { padding: 22px 16px; }
.topbar .crumb { overflow-wrap: anywhere; }
.topbar .mobile-toggle { border-color: transparent; background: transparent; }
.business-heading > .btn { align-self: flex-start; }
.sidebar .tenant-select { font-size: 16px; }
.modal-head { padding: 14px 16px; }
.modal-body { padding: 18px 16px; }
.modal-actions { padding: 12px 16px; }
.modal-actions > .btn { flex: 1 1 0%; }
.form-grid > .divider { margin: 8px 0px; }
.panel-head .actions { flex-shrink: 1; }
.message { gap: 8px; }}
@media (max-width: 480px) {.panel-head > .actions { width: 100%; }
.panel-head > .actions .btn { flex: 1 1 0%; }
.page-heading > .actions { width: 100%; }
.toolbar select { flex: 1 1 100%; width: 100%; }
.toolbar > .btn { width: 100%; }
.table-foot > .actions { width: 100%; justify-content: space-between; }
.form-actions > .btn { flex: 1 1 auto; }
.modal-actions > .btn { flex: 1 1 0%; }}
.workspace-context { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0px; margin: 0px 12px 12px; padding-bottom: 12px; border-bottom: 1px solid rgb(219, 228, 240); color: rgb(104, 120, 140); font-size: 12px; flex-shrink: 0; }
.workspace-context strong { font-weight: 500; white-space: nowrap; }
.workspace-context .text-btn { font-size: 12px; font-weight: 400; padding: 4px 0px; min-width: 0px; }
@media (max-width: 780px) {.workspace-context { margin-bottom: 8px; padding-bottom: 8px; }
.workspace-context .text-btn { min-height: 44px; }}
.captcha-row { display: grid; grid-template-columns: minmax(0px, 1fr) 156px; align-items: stretch; gap: 12px; }
.captcha-row input { min-width: 0px; width: 100%; }
.captcha-refresh { padding: 0px; border: 1px solid var(--border); border-radius: 5px; background: rgb(244, 248, 253); overflow: hidden; cursor: pointer; min-height: 48px; color: var(--muted); font: inherit; }
.captcha-refresh img { display: block; width: 100%; height: 48px; object-fit: contain; }
.captcha-refresh img[hidden], .captcha-refresh span[hidden] { display: none; }
.captcha-refresh:focus-visible { outline: 2px solid var(--blue,#287bf4); outline-offset: 2px; }
.captcha-refresh:disabled { cursor: wait; opacity: 0.7; }
.captcha-field small { display: block; margin-top: 8px; line-height: 1.5; }
@media (max-width: 380px) {.captcha-row { grid-template-columns: minmax(0px, 1fr) 128px; gap: 8px; }
.captcha-row input { padding-left: 10px; padding-right: 10px; }}
.brand { gap: 9px; min-width: 0px; color: rgb(33, 48, 71); }
.brand img.brand-mark { display: block; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; background: transparent; }
.brand-wordmark { min-width: 0px; }
.brand .brand-name { font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: 0px; white-space: nowrap; color: rgb(33, 48, 71); }
.brand-name span { font-family: Arial, sans-serif; color: rgb(40, 124, 244); font-weight: 600; }
.brand .brand-sub { display: block; font-size: 10px; line-height: 1.5; letter-spacing: 1px; color: rgb(101, 117, 138); }
.sidebar > .brand { padding: 0px 8px 22px; gap: 8px; }
.sidebar .brand-name { font-size: 18px; }
.sidebar .brand-sub { font-size: 10px; }
.public-page .brand { margin-bottom: 36px; }
.login-page { min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(at 16% 38%, rgb(231, 240, 255) 0px, transparent 48%), radial-gradient(at 86% 82%, rgb(234, 243, 255) 0px, transparent 44%), rgb(246, 248, 252); color: rgb(32, 41, 55); }
.login-header { height: 80px; flex: 0 0 auto; width: 100%; padding: 0px max(32px, 50% - 560px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.login-header .brand { padding: 0px; }
.login-header .brand-sub { display: none; }
.login-header-caption { font-size: 13px; color: rgb(97, 112, 135); border-left: 1px solid rgb(214, 223, 236); padding-left: 18px; letter-spacing: 1px; }
.login-main { flex: 1 1 0%; display: grid; place-items: center; padding: 24px 32px 32px; min-width: 0px; }
.login-card { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); width: 100%; max-width: 1060px; min-height: 584px; border: 1px solid rgb(255, 255, 255); border-radius: 22px; background: rgb(255, 255, 255); overflow: hidden; box-shadow: rgba(36, 76, 132, 0.2) 0px 24px 70px -28px, rgba(52, 84, 122, 0.02) 0px 2px 10px; }
.login-intro { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 40px 44px; background: linear-gradient(135deg, rgb(237, 245, 255) 0%, rgb(229, 239, 255) 62%, rgb(240, 246, 255) 100%); border-right: 1px solid rgb(230, 237, 246); }
.login-intro::before, .login-intro::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; width: 360px; height: 360px; right: -220px; top: -120px; box-shadow: rgba(255, 255, 255, 0.15) 0px 0px 0px 36px, rgba(255, 255, 255, 0.125) 0px 0px 0px 72px; }
.login-intro::after { width: 240px; height: 240px; inset: auto auto -205px -90px; }
.login-intro-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 27px; font-size: 16px; font-weight: 600; color: rgb(32, 56, 88); }
.login-emblem { display: block; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; box-shadow: rgba(40, 124, 244, 0.098) 0px 6px 14px; }
.login-intro-brand small { display: block; font-size: 11px; font-weight: 400; letter-spacing: 1px; color: rgb(93, 115, 145); margin-top: 4px; }
.login-intro h1 { font-size: 34px; font-weight: 700; line-height: 1.4; letter-spacing: 1px; margin: 0px 0px 15px; color: rgb(24, 46, 75); }
.login-intro h1 span { color: rgb(38, 114, 221); }
.login-intro-summary { font-size: 13px; line-height: 1.9; color: rgb(93, 115, 145); margin: 0px; }
.login-capabilities { display: grid; gap: 12px; margin-top: 26px; }
.login-capabilities > div { display: flex; gap: 13px; align-items: center; padding: 10px 14px; border: 1px solid rgb(255, 255, 255); border-radius: 11px; background: rgba(255, 255, 255, 0.5); font-size: 14px; font-weight: 500; color: rgb(43, 66, 97); }
.login-capability-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: rgb(225, 237, 255); color: rgb(38, 114, 221); }
.login-capabilities svg { width: 20px; height: 20px; stroke: currentcolor; }
.login-capabilities small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: rgb(93, 115, 145); line-height: 1.5; }
.login-intro-foot { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 24px; font-size: 11px; color: rgb(93, 115, 145); line-height: 1.6; }
.login-intro-foot svg { width: 15px; height: 15px; flex: 0 0 auto; }
.login-form-panel { display: flex; align-items: center; justify-content: center; min-width: 0px; padding: 44px 52px; }
.login-form-panel .auth-form { width: 100%; max-width: 368px; min-width: 0px; margin: 0px; }
.login-form-panel .auth-form h2 { font-size: 26px; font-weight: 600; line-height: 1.4; letter-spacing: 0px; margin: 0px 0px 10px; color: rgb(24, 38, 57); }
.login-subtitle { font-size: 13px; color: rgb(107, 119, 138); line-height: 1.7; margin: 0px 0px 30px; }
.login-form-panel .field { margin: 0px 0px 21px; gap: 9px; }
.login-form-panel label { font-size: 14px; font-weight: 400; color: rgb(57, 71, 90); }
.login-form-panel input:not([type="hidden"]) { min-height: 48px; border: 1px solid rgb(219, 227, 238); border-radius: 8px; background: rgb(250, 252, 254); font-size: 14px; padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.login-form-panel input:not([type="hidden"]):hover { border-color: rgb(170, 189, 215); }
.login-form-panel input:not([type="hidden"]):focus { background: rgb(255, 255, 255); border-color: rgb(38, 126, 240); outline: rgba(38, 126, 240, 0.15) solid 2px; outline-offset: 1px; box-shadow: rgba(40, 124, 244, 0.04) 0px 0px 0px 3px; }
.login-form-panel input::placeholder { color: rgb(128, 141, 160); }
.login-form-panel .captcha-row { grid-template-columns: minmax(0px, 1fr) 132px; gap: 10px; }
.login-form-panel .captcha-field { display: grid; grid-template-columns: minmax(0px, 1fr); }
.login-form-panel .captcha-refresh { border-color: rgb(219, 227, 238); border-radius: 8px; }
.login-form-panel .captcha-refresh img { height: 48px; }
.login-form-panel .captcha-field small { margin-top: 0px; font-size: 12px; color: rgb(107, 119, 138); }
.login-form-panel .auth-form > .primary { margin-top: 5px; min-height: 48px; border: 1px solid rgb(38, 126, 240); border-radius: 8px; font-size: 15px; font-weight: 500; justify-content: center; gap: 12px; background: rgb(38, 126, 240); box-shadow: rgba(38, 126, 240, 0.137) 0px 6px 14px; transition: background 0.15s, box-shadow 0.15s; }
.login-form-panel .auth-form > .primary:hover { background: rgb(23, 110, 224); box-shadow: rgba(38, 126, 240, 0.2) 0px 8px 18px; }
.login-form-panel .auth-form > .primary:focus-visible { outline: rgb(23, 79, 155) solid 2px; outline-offset: 3px; }
.login-form-panel .auth-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgb(237, 240, 245); font-size: 12px; line-height: 1.7; color: rgb(107, 119, 138); }
.login-form-panel .error { font-size: 13px; margin: 0px 0px 18px; }
.login-footer { flex: 0 0 auto; padding: 8px 24px 22px; text-align: center; font-size: 12px; line-height: 1.6; color: rgb(113, 128, 152); }
@media (max-width: 1000px) {.login-intro { padding: 36px 30px; }
.login-form-panel { padding: 36px 32px; }
.login-intro h1 { font-size: 30px; }
.login-intro-summary br { display: none; }}
@media (max-width: 700px) {.login-header { height: 72px; padding: 0px 24px; }
.login-header-caption { display: none; }
.login-main { padding: 12px 20px 24px; align-items: center; }
.login-card { display: block; max-width: 440px; min-height: 0px; border-radius: 18px; }
.login-intro { display: none; }
.login-form-panel { padding: 36px 30px; }
.login-form-panel .auth-form h2 { font-size: 24px; }
.login-form-panel input:not([type="hidden"]) { font-size: 16px; min-height: 48px; }
.login-form-panel .auth-form > .primary { min-height: 48px; }
.login-footer { padding-bottom: max(22px,env(safe-area-inset-bottom)); font-size: 12px; }
.login-subtitle { margin-bottom: 28px; }}
@media (max-width: 380px) {.login-header { padding: 0px 20px; }
.login-main { padding-left: 12px; padding-right: 12px; }
.login-form-panel { padding: 28px 20px; }
.login-form-panel .captcha-row { grid-template-columns: minmax(0px, 1fr) 108px; gap: 8px; }
.login-form-panel .captcha-row input { font-size: 16px; padding: 12px 8px; }
.login-form-panel .auth-foot { font-size: 12px; }}
#kf-servicers-result { min-width: 0px; overflow-wrap: anywhere; }
#kf-servicers-result .actions { flex-wrap: wrap; }
#kf-servicers-result .btn { min-height: 44px; }
#kf-servicers-result h4 { margin: 18px 0px 10px; }
@media (max-width: 600px) {#kf-servicers-result td .actions { min-width: 140px; }}
.customer-identity { display: flex; flex-direction: column; gap: 3px; margin: 5px 0px 8px; line-height: 1.6; overflow-wrap: anywhere; word-break: break-word; }
.customer-identity .mono { white-space: normal; }
.customer-suggestions { max-height: 220px; overflow: auto; border: 1px solid var(--border,#dbe2ea); border-radius: 8px; }
.customer-suggestions button { display: block; width: 100%; padding: 10px; text-align: left; background: white; border: 0px; cursor: pointer; }
.customer-suggestions button:hover, .customer-suggestions button:focus { background: rgb(237, 245, 255); }
#conversation-more { margin: 12px; }
.history-loader { text-align: center; padding: 0px 0px 12px; min-height: 32px; }
.table-cell-value { min-width: 0px; overflow-wrap: anywhere; }
@media (max-width: 780px) {:root { --mobile-text-muted: #697586; }
.content { padding: 18px 12px; }
.topbar { min-height: 56px; padding: 6px 12px; }
.topbar .crumb { display: flex; font-size: 13px; }
.topbar > .row { flex: 1 1 auto; }
.topbar > .actions:empty { display: none; }
.page-heading { gap: 14px; margin-bottom: 18px; }
.page-heading > .actions { width: 100%; display: flex; }
.page-heading > .actions > .btn { flex: 1 1 0%; }
.page-heading p { line-height: 1.7; }
.panel-head, .panel-body { padding: 16px; }
.toolbar { padding: 14px; gap: 10px; }
.toolbar input, .toolbar select { width: 100%; flex: 1 1 100%; }
.toolbar .btn { flex: 1 1 0%; }
.table-wrap.responsive-table { overflow: visible; outline-offset: 0px; }
.responsive-table table, .responsive-table tbody { display: block; width: 100%; white-space: normal; }
.responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.responsive-table tbody > tr { display: block; padding: 12px 14px; border-bottom: 8px solid rgb(244, 246, 249); background: white; }
.responsive-table tbody > tr:last-child { border-bottom: 0px; }
.responsive-table tbody > tr > td { display: grid; grid-template-columns: 90px minmax(0px, 1fr); gap: 12px; align-items: start; width: auto; min-width: 0px; max-width: none; padding: 8px 0px; font-size: 13px; white-space: normal; border: 0px !important; }
.responsive-table td::before { content: attr(data-label); color: var(--mobile-text-muted); font-size: 12px; line-height: 1.8; }
.responsive-table td .mono, .responsive-table td.mono { white-space: normal; overflow-wrap: anywhere; }
.responsive-table .table-cell-value { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.responsive-table td.pre .table-cell-value { white-space: pre-wrap; }
.responsive-table .actions { gap: 6px; flex-wrap: wrap; }
.responsive-table .btn, .responsive-table .text-btn { min-height: 44px; }
.table-foot { padding: 14px; }
.table-foot > .actions { width: 100%; justify-content: space-between; }
.tabs { padding: 0px 14px; gap: 20px; }
.callback-controls { flex-direction: column; align-items: stretch; }
.callback-controls .btn { align-self: stretch; }
.panel-head > .actions { width: 100%; justify-content: flex-start; }
.panel-head > .actions .btn { flex: 1 1 auto; }
.modal-body .field + .field { margin-top: 14px; }
.modal-body :is(.form-grid, .appointment-grid) > .field { margin-top: 0px; }
dialog { width: calc(-20px + 100vw); max-height: calc(100dvh - 20px); }
.modal-head { padding: 12px 14px; }
.modal-body { padding: 16px 14px; }
.modal-actions { padding: 12px 14px max(12px,env(safe-area-inset-bottom)); }
.modal-actions > .btn { min-height: 44px; }
.modal-head h2 { font-size: 16px; }
.modal-body input:not([type="checkbox"]):not([type="hidden"]), .modal-body select, .modal-body textarea { font-size: 16px; }
.notice, .error { overflow-wrap: anywhere; }
.attachments, .attachment { min-width: 0px; }
.badge { max-width: 100%; white-space: normal; }
.kv { grid-template-columns: 80px minmax(0px, 1fr); }
.query-hero h1 { font-size: 23px; }
.public-page { padding: 24px 12px; }
.query-form { padding: 16px; }
.query-result .details-grid { display: block; }
.message { gap: 8px; margin-bottom: 18px; }
.message .avatar { width: 28px; height: 28px; border-radius: 6px; font-size: 12px; }
.bubble { font-size: 14px; line-height: 1.7; padding: 10px 12px; }
.composer textarea { min-height: 60px; max-height: 100px; }
.composer .notice { font-size: 11px; padding: 8px 10px; }
.composer .row { gap: 8px; margin-top: 8px; }
.composer select { flex: 1 1 0%; min-width: 0px; width: auto; }}
@media (max-width: 360px) {.responsive-table tbody > tr > td { grid-template-columns: 76px minmax(0px, 1fr); gap: 8px; }
.login-form-panel .captcha-row { grid-template-columns: minmax(0px, 1fr) 100px; }}
.conversation-avatar, .conversation-short-time, .conversation-channel, .message-meta-mobile, .summary-updated { display: none; }
.system-event { display: block; text-align: center; color: rgb(107, 119, 137); font-size: 12px; margin: 14px 0px 22px; }
.system-event details { max-width: 100%; overflow-wrap: anywhere; }
.system-event summary { cursor: pointer; list-style: none; }
.system-event summary::-webkit-details-marker { display: none; }
.system-event summary time { display: block; font-size: 11px; margin-top: 3px; }
.system-event-detail { padding: 10px; background: rgb(239, 242, 246); border-radius: 8px; margin-top: 8px; text-align: left; }
.delivery-failed { color: rgb(180, 35, 50); }
.delivery-pending { color: rgb(148, 93, 18); }
@media (max-width: 780px) {:root { --muted: #66758a; --border: #e6ebf1; --bg: #f5f7fa; --ink: #1c2b40; }
.shell { padding: 0px; background: rgb(245, 247, 250); }
.shell-main { min-height: 100dvh; border-radius: 0px; background: rgb(245, 247, 250); box-shadow: none; }
.topbar, .home-shell .topbar { height: 56px; min-height: 56px; background: rgb(255, 255, 255); padding: 6px 16px; }
.topbar .mobile-toggle { border: 0px; background: transparent; margin-left: -8px; color: rgb(52, 68, 91); }
.topbar .crumb { color: rgb(80, 96, 121); font-size: 13px; font-weight: 500; }
.content { padding: 20px 16px 28px; }
.workspace-footer { position: static; padding: 12px 16px 20px; color: rgb(115, 129, 152); font-size: 11px; }
.page-heading h1 { font-size: 22px; letter-spacing: -0.4px; font-weight: 650; }
.page-heading p { font-size: 12px; color: rgb(102, 117, 138); }
.panel { border-radius: 12px; box-shadow: none; }
.btn { border-radius: 8px; }
.btn:disabled { cursor: default; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: rgb(88, 150, 237) solid 3px; outline-offset: 2px; }
.conversations-content { padding: 22px 0px 0px; }
.conversations-content > .page-heading { padding: 0px 16px; margin-bottom: 18px; display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: start; gap: 10px; }
.conversations-content > .page-heading > div:first-child { display: contents; }
.conversations-content .page-heading h1 { grid-area: 1 / 1; margin: 0px; align-self: center; }
.conversations-content .page-heading p { grid-area: 2 / 1 / auto / -1; font-size: 12px; margin-top: 0px; }
.conversations-content > .page-heading > .actions { width: auto; grid-area: 1 / 2; display: block; }
.conversations-content #new-conversation { background: rgb(255, 255, 255); border: 1px solid rgb(220, 229, 240); color: rgb(53, 99, 150); font-size: 12px; padding: 8px 11px; gap: 5px; }
.conversations-content #new-conversation svg { width: 16px; height: 16px; }
#conversation-count { font-size: 11px; padding: 10px 1px 0px; color: rgb(102, 117, 138); }
#conversation-results { border-top: 1px solid rgb(230, 235, 241); background: rgb(255, 255, 255); }
.summary-title { font-weight: 600; }
.summary-state { font-size: 11px; color: rgb(97, 114, 137); }
.summary-date { display: none; }
.summary-updated { display: block; }
.history-loader { min-height: 24px; padding: 0px 0px 10px; }
.history-loader .small { font-size: 11px; color: rgb(115, 129, 152); }
.message { gap: 9px; margin-bottom: 22px; align-items: flex-start; }
.message .avatar { width: 30px; height: 30px; margin-top: 21px; border-radius: 9px; background: rgb(229, 236, 239); color: rgb(71, 101, 119); font-size: 12px; }
.message.ai-message .avatar { background: rgb(229, 237, 252); color: rgb(52, 101, 166); font-size: 10px; font-weight: 700; }
.bubble { padding: 11px 13px; font-size: 15px; line-height: 1.65; border: 1px solid rgb(230, 234, 240); border-radius: 2px 12px 12px; color: rgb(37, 54, 77); background: white; box-shadow: rgba(32, 49, 73, 0.01) 0px 1px 2px; }
.staff .bubble { background: rgb(234, 241, 255); border-color: rgb(221, 231, 248); border-radius: 12px 2px 12px 12px; }
.system-event { margin: 6px 0px 22px; font-size: 11px; color: rgb(106, 120, 139); }
.system-event summary { padding: 8px 12px; min-height: 44px; }
.system-event summary time { font-size: 10px; margin-top: 2px; }
.system-event-detail { font-size: 11px; }
.composer > .notice { border: 0px; background: transparent; color: rgb(82, 101, 126); padding: 0px; font-size: 11px; line-height: 1.6; text-align: center; }}
.mobile-bottom-nav, .mobile-workspace-header, .mobile-conversation-shortcuts, .conversation-inline-status, .conversation-search-icon { display: none; }
@media (max-width: 780px) {:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; --ink: #171a1f; --muted: #757a83; --bg: #fff; --border: #eef0f2; --green: #1677ff; --green-dark: #0968e8; -webkit-font-smoothing: antialiased; text-rendering: optimizelegibility; }
body { font-size: 15px; line-height: 1.5; }
.shell, .shell-main { background: rgb(255, 255, 255); }
.shell-main { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
.workspace-footer { display: none; }
.topbar, .home-shell .topbar { height: 76px; min-height: 76px; padding: max(14px,env(safe-area-inset-top)) 16px 10px; border-bottom: 0px; gap: 8px; background: rgb(255, 255, 255); }
.topbar .crumb { display: none; }
.topbar > .row { flex: 0 0 auto; margin-left: auto; }
.topbar > .actions { display: none; }
.topbar .mobile-toggle { width: 44px; margin: 0px; color: rgb(37, 40, 45); border-radius: 50%; }
.mobile-workspace-header { display: flex; gap: 10px; align-items: center; min-width: 0px; flex: 1 1 0%; }
.mobile-workspace-header img { border-radius: 10px; flex: 0 0 auto; }
.mobile-workspace-header > div { min-width: 0px; }
.mobile-workspace-header strong { font-size: 17px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgb(24, 27, 32); line-height: 1.4; }
.mobile-workspace-header span { font-size: 12px; color: rgb(117, 122, 131); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.content { padding: 16px 16px 24px; }
.page-heading h1 { font-size: 21px; font-weight: 600; color: rgb(23, 26, 31); }
.page-heading p { font-size: 13px; color: rgb(117, 122, 131); }
.btn { font-weight: 400; border-radius: 8px; }
.panel { border-color: rgb(236, 238, 241); border-radius: 10px; }
.panel-head h2 { font-weight: 500; color: rgb(31, 35, 41); }
.badge { font-weight: 400; }
.sidebar { background: rgb(255, 255, 255); box-shadow: rgba(24, 35, 56, 0.094) 8px 0px 40px; }
.mobile-bottom-nav { position: fixed; z-index: 12; bottom: max(12px,env(safe-area-inset-bottom)); left: 12px; right: 12px; display: flex; align-items: stretch; justify-content: space-around; background: rgba(255, 255, 255, 0.96); border: 1px solid rgb(238, 239, 241); box-shadow: rgba(30, 41, 59, 0.047) 0px 4px 24px; border-radius: 30px; padding: 5px 4px; min-height: 70px; backdrop-filter: blur(14px); }
.mobile-bottom-nav > a, .mobile-bottom-nav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 1 1 0%; min-width: 0px; min-height: 58px; max-width: 92px; padding: 6px 2px; border-radius: 24px; color: rgb(115, 119, 126); background: transparent; font-size: 11px; line-height: 1.4; text-decoration: none; border: 0px; }
.mobile-bottom-nav svg { width: 23px; height: 23px; stroke-width: 1.8; }
.mobile-bottom-nav [aria-current="page"] { background: rgb(240, 241, 243); color: rgb(24, 27, 32); font-weight: 500; }
.mobile-bottom-nav [aria-current="page"] svg { stroke-width: 2.2; }
.mobile-bottom-nav a:active, .mobile-bottom-nav button:active { background: rgb(233, 237, 244); }
.conversations-content { padding: 0px; }
.conversations-content > .page-heading { padding: 6px 16px 8px; gap: 0px; margin: 0px; align-items: center; }
.conversations-content .page-heading h1 { font-size: 21px; font-weight: 600; }
.conversations-content .page-heading p { display: none; }
.conversations-content #new-conversation { font-size: 12px; background: transparent; border: 0px; color: rgb(81, 88, 99); padding: 8px 0px 8px 10px; min-height: 44px; }
.conversations-content #new-conversation svg { width: 19px; height: 19px; color: rgb(37, 43, 52); }
#conversation-count { font-size: 12px; color: rgb(125, 130, 139); padding: 12px 0px 4px; }
.mobile-conversation-shortcuts { display: flex; justify-content: space-around; padding: 4px 16px 12px; gap: 8px; border-bottom: 7px solid rgb(247, 248, 250); }
.mobile-conversation-shortcuts:empty { display: none; }
.mobile-conversation-shortcuts a { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; flex: 1 1 0%; color: rgb(36, 39, 45); text-decoration: none; font-size: 15px; font-weight: 400; }
.mobile-conversation-shortcuts svg { width: 21px; height: 21px; color: rgb(22, 119, 255); }
.mobile-conversation-shortcuts a:nth-child(2) svg { color: rgb(22, 165, 107); }
.mobile-conversation-shortcuts a:nth-child(3) svg { color: rgb(22, 119, 255); }
#conversation-results { border: 0px; padding-top: 3px; }
.summary-title { font-weight: 500; }
.summary-state { color: rgb(134, 139, 148); font-size: 11px; }
.message { gap: 10px; margin-bottom: 20px; }
.message .avatar { width: 34px; height: 34px; border-radius: 9px; background: rgb(64, 156, 240); color: white; font-size: 14px; font-weight: 400; margin-top: 20px; }
.message.ai-message .avatar { background: rgb(22, 119, 255); color: white; font-size: 11px; font-weight: 600; }
.bubble { font-size: 16px; font-weight: 400; line-height: 1.55; letter-spacing: 0px; color: rgb(31, 35, 41); background: white; border: 1px solid rgb(233, 235, 239); border-radius: 3px 8px 8px; padding: 10px 12px; box-shadow: none; }
.staff .bubble { background: rgb(223, 234, 255); border-color: rgb(223, 234, 255); border-radius: 8px 3px 8px 8px; color: rgb(31, 35, 41); }
.system-event { font-size: 11px; color: rgb(146, 151, 161); margin: 0px 0px 16px; }
.history-loader .small { color: rgb(150, 155, 164); }
.system-event summary { min-height: 44px; padding: 8px 10px; }
.composer > .notice { color: rgb(128, 134, 145); font-size: 11px; line-height: 1.5; }
.modal-head h2 { font-weight: 600; }
.modal-body { color: rgb(37, 42, 52); }
.responsive-table td strong { font-weight: 500; }
.responsive-table td::before { color: rgb(131, 136, 146); }}
@media (max-width: 360px) {.mobile-bottom-nav { left: 8px; right: 8px; }}
@media (max-width: 780px) {html { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }}
.directory-toggle { display: none; }
@media (max-width: 780px) {.directory-content > .page-heading { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 8px 10px; align-items: center; margin-bottom: 16px; }
.directory-content > .page-heading > div:first-child { display: contents; }
.directory-content .page-heading h1 { grid-area: 1 / 1; margin: 0px; font-size: 21px; }
.directory-content .page-heading p { grid-area: 2 / 1 / auto / -1; font-size: 12px; line-height: 1.6; }
.directory-content > .page-heading > .actions { grid-area: 1 / 2; width: auto; }
.directory-content .page-heading > .actions .btn { font-size: 12px; min-height: 44px; padding: 8px 10px; gap: 4px; background: rgb(240, 246, 255); color: rgb(22, 119, 255); border-color: transparent; }
.directory-content .page-heading > .actions svg { width: 16px; height: 16px; }
.directory-content .panel:has(.compact-directory) > .panel-head { padding: 12px 14px; background: rgb(250, 251, 252); }
.directory-content .panel:has(.compact-directory) > .panel-head h2 { font-size: 12px; color: rgb(122, 129, 140); font-weight: 400; }
.directory-content #customer-filter { display: flex; flex-wrap: nowrap; padding: 12px; gap: 8px; }
.directory-content #customer-filter input { min-width: 0px; flex: 1 1 0%; width: 0px; height: 44px; border-radius: 8px; background: rgb(245, 246, 248); border-color: transparent; font-size: 16px; }
.directory-content #customer-filter input::placeholder { font-size: 12px; }
.directory-content #customer-filter .btn { flex: 0 0 auto; padding: 8px 10px; font-size: 13px; border: 0px; color: rgb(22, 119, 255); background: transparent; }
.compact-directory.responsive-table tbody > tr { padding: 0px; border-bottom: 1px solid rgb(237, 240, 243); background: rgb(255, 255, 255); }
.compact-directory.responsive-table tbody > tr:last-child { border-bottom: 0px; }
.compact-directory.responsive-table tbody > tr > td { display: none; padding: 8px 14px; font-size: 13px; grid-template-columns: 90px minmax(0px, 1fr); gap: 10px; }
.compact-directory.responsive-table tbody > tr > td:first-child { display: block; padding: 0px; }
.compact-directory.responsive-table td:first-child::before, .compact-directory.responsive-table td:first-child > .table-cell-value { display: none; }
.directory-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 78px; text-align: left; padding: 14px; background: white; color: rgb(31, 35, 41); border: 0px; border-radius: 0px; }
.directory-toggle:hover { background: rgb(248, 250, 252); }
.directory-toggle:focus-visible { outline-offset: -3px; }
.directory-avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: rgb(234, 242, 255); color: rgb(62, 122, 203); font-size: 17px; font-weight: 500; }
.directory-record:nth-child(3n+2) .directory-avatar { background: rgb(234, 245, 240); color: rgb(64, 134, 108); }
.directory-record:nth-child(3n+3) .directory-avatar { background: rgb(241, 237, 250); color: rgb(121, 97, 172); }
.directory-label { min-width: 0px; flex: 1 1 0%; }
.directory-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 1.45; font-weight: 500; color: rgb(31, 35, 41); }
.directory-subtitle { display: block; font-size: 11px; line-height: 1.5; color: rgb(133, 139, 149); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.directory-chevron { display: flex; color: rgb(154, 161, 172); flex: 0 0 auto; }
.directory-chevron svg { width: 16px; height: 16px; }
.directory-toggle > .badge { font-size: 10px; padding: 2px 5px; flex: 0 0 auto; }
.compact-directory.responsive-table tbody > tr.directory-open > td:not(:first-child) { display: grid; background: rgb(250, 251, 252); }
.directory-open .directory-toggle { background: rgb(244, 248, 254); }
.directory-open .directory-chevron { transform: rotate(90deg); }
.compact-directory.responsive-table tbody > tr.directory-open > td:nth-child(2) { padding-top: 14px; }
.compact-directory.responsive-table tbody > tr.directory-open > td:last-child { padding-bottom: 14px; }
.compact-directory .table-cell-value a { overflow-wrap: anywhere; }
.directory-content .table-foot { gap: 8px; padding: 12px; display: flex; flex-wrap: nowrap; font-size: 11px; }
.directory-content .table-foot > .actions { width: auto; gap: 4px; margin-left: auto; }
.directory-content .table-foot .btn { font-size: 11px; min-height: 44px; padding: 7px 8px; }}
@media (max-width: 780px) {.directory-content #customer-filter .btn { width: auto; }}
.mobile-order-list, .mobile-order-empty { display: none; }
@media (max-width: 780px) {.order-compact-list { display: none; }
.mobile-order-list { display: block; }
.mobile-order-empty { display: block; }
.orders-list-content > .page-heading { gap: 10px; }
.orders-list-content > .page-heading > .actions { justify-content: flex-end; }
.orders-list-content > .page-heading > .actions > .btn { flex: 0 0 auto; padding: 8px 12px; font-size: 12px; }
.orders-list-content #order-filter { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr) auto; gap: 8px; padding: 12px; }
.orders-list-content #order-filter input { grid-column: 1 / -1; width: 100%; background: rgb(245, 246, 248); border-color: transparent; border-radius: 9px; }
.orders-list-content #order-filter select { width: 100%; min-width: 0px; font-size: 12px; padding: 8px 5px; min-height: 44px; }
.orders-list-content #order-filter > .btn { width: auto; min-width: 44px; font-size: 12px; padding: 8px; gap: 4px; }
.orders-list-content #order-filter > .btn svg { width: 14px; height: 14px; }
.mobile-order-card { display: block; padding: 15px 14px; border-bottom: 7px solid rgb(245, 246, 248); color: rgb(37, 42, 52); text-decoration: none; background: rgb(255, 255, 255); }
.mobile-order-card:last-child { border-bottom: 0px; }
.mobile-order-card:hover { text-decoration: none; background: rgb(250, 252, 255); }
.mobile-order-card:active { background: rgb(240, 245, 254); }
.mobile-order-card:focus-visible { outline-offset: -3px; }
.mobile-order-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.mobile-order-title strong { font-family: Arial, sans-serif; font-size: 16px; font-weight: 600; color: rgb(36, 43, 54); overflow-wrap: anywhere; min-width: 0px; letter-spacing: 0.2px; }
.mobile-order-title svg { width: 16px; height: 16px; color: rgb(155, 162, 173); }
.mobile-order-customer, .mobile-order-status { display: flex; align-items: center; gap: 8px; margin: 7px 0px; font-size: 13px; min-width: 0px; }
.mobile-order-customer > span, .mobile-order-status > span:first-child { font-size: 12px; color: rgb(131, 138, 149); flex: 0 0 auto; width: 28px; }
.mobile-order-customer strong { font-size: 13px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-order-status .badge { font-size: 11px; font-weight: 400; padding: 2px 7px; border-radius: 5px; }
.mobile-order-progress { display: flex; gap: 10px; align-items: center; margin-top: 12px; border-top: 1px solid rgb(241, 243, 245); padding-top: 10px; }
.mobile-order-progress > span { font-size: 11px; color: rgb(113, 121, 133); flex: 0 0 auto; }
.mobile-order-progress small { font-size: 9px; color: rgb(150, 155, 164); display: block; }
.mobile-order-progress ol { display: flex; flex: 1 1 0%; gap: 5px; margin: 0px; padding: 0px; list-style: none; min-width: 0px; }
.mobile-order-progress li { flex: 1 1 0%; font-size: 10px; color: rgb(149, 155, 165); min-width: 0px; }
.mobile-order-progress li i { display: block; height: 4px; background: rgb(233, 237, 242); border-radius: 2px; margin-bottom: 5px; }
.mobile-order-progress li.done { color: rgb(59, 135, 111); }
.mobile-order-progress li.done i { background: rgb(58, 170, 133); }
.mobile-order-progress li.current { color: rgb(40, 124, 241); }
.mobile-order-progress li.current i { background: rgb(119, 168, 244); }
.mobile-order-progress.exceptional strong { font-size: 12px; color: rgb(179, 116, 35); font-weight: 500; }
.orders-list-content .table-foot { display: flex; flex-wrap: nowrap; padding: 12px; gap: 8px; font-size: 11px; }
.orders-list-content .table-foot > .actions { width: auto; margin-left: auto; gap: 4px; }
.orders-list-content .table-foot .btn { padding: 7px 8px; font-size: 11px; min-height: 44px; }}
.reply-settings .reply-group { border: 1px solid var(--border,#e5e7eb); border-radius: 10px; min-width: 0px; }
.reply-settings .reply-group > summary { padding: 14px 16px; cursor: pointer; font-weight: 600; min-height: 48px; }
.reply-settings .reply-group > summary > span { margin-left: 12px; font-weight: 400; }
.reply-settings .reply-group-body { padding: 0px 16px; }
.reply-settings .reply-item { padding: 16px 0px; border-top: 1px solid var(--border,#e5e7eb); min-width: 0px; }
.reply-settings .reply-item label { font-weight: 600; }
.reply-settings textarea { display: block; width: 100%; min-height: 90px; box-sizing: border-box; }
.reply-settings .reply-variables { margin-top: 8px; overflow-wrap: anywhere; }
.reply-settings .reply-variables code { color: rgb(40, 91, 166); }
.reply-settings .reply-validation { color: rgb(180, 35, 24); margin: 6px 0px; }
.reply-settings .reply-validation:empty { display: none; }
.reply-settings .reply-preview { margin-top: 12px; background: rgb(245, 247, 250); border-radius: 8px; padding: 10px 12px; overflow-wrap: anywhere; }
.reply-settings .reply-preview > summary { cursor: pointer; min-height: 28px; }
.reply-settings .reply-preview .pre { white-space: pre-wrap; }
.reply-settings .form-actions { flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 767px) {.reply-settings .panel-body { padding: 14px; }
.reply-settings .reply-group-body { padding: 0px 12px; }
.reply-settings .reply-group > summary { padding: 14px 12px; }
.reply-settings .reply-item > .row { flex-wrap: wrap; gap: 8px; }
.reply-settings .reply-item .btn { min-height: 44px; width: auto; padding: 8px 10px; font-size: 12px; }
.reply-settings .reply-preview > summary { min-height: 44px; display: flex; align-items: center; }
.reply-settings .form-actions > span { flex-basis: 100%; }}
.nav-parent { background: transparent; text-align: left; cursor: pointer; }
.nav-parent:hover { color: rgb(0, 0, 0); background: rgb(220, 229, 240); }
.nav-parent > span:not(.nav-chevron) { flex: 1 1 0%; min-width: 0px; }
.nav-parent .nav-chevron { display: flex; align-items: center; margin-left: auto; flex: 0 0 auto; }
.nav-parent .nav-chevron svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform 0.16s; color: rgb(144, 153, 165); }
.nav-parent[aria-expanded="true"] .nav-chevron svg { transform: rotate(270deg); }
.nav-children { display: grid; gap: 2px; padding: 2px 0px 6px; }
.nav-children[hidden] { display: none; }
.nav-child { display: flex; align-items: center; min-height: 38px; padding: 9px 10px 9px 40px; border-radius: 5px; font-size: 14px; line-height: 20px; font-weight: 400; color: rgb(0, 0, 0); overflow-wrap: anywhere; }
.nav-child:hover { color: rgb(38, 119, 231); background: rgb(220, 233, 250); text-decoration: none; }
.nav-child.active { color: rgb(45, 131, 245); background: rgb(211, 227, 250); }
.nav-parent:focus-visible, .nav-child:focus-visible { outline: rgb(40, 124, 241) solid 2px; outline-offset: -2px; }
@media (min-width: 781px) {.nav-child { font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
.order-management-tabs, .knowledge-tabs { display: none; }}
@media (max-width: 780px) {.nav-parent, .nav-child { min-height: 44px; }
.nav-child { padding-left: 40px; }}
@media (prefers-reduced-motion: reduce) {.nav-parent .nav-chevron svg { transition: none; }}
.routing-fields { border: 0px; padding: 0px; margin: 20px 0px; min-width: 0px; }
.routing-fields > legend { font-weight: 700; margin-bottom: 16px; }
.routing-rule { border: 1px solid var(--border); border-radius: 10px; margin: 14px 0px; padding: 16px; }
.routing-rule > summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.routing-rule[open] > summary { margin-bottom: 16px; }
.routing-template { margin: 18px 0px; }
.routing-id { overflow-wrap: anywhere; }
.routing-flow { background: var(--bg); border-left: 3px solid var(--green); padding: 12px 16px; line-height: 1.75; }
.routing-fields :disabled { opacity: 1; color: var(--ink); -webkit-text-fill-color: var(--ink); cursor: default; }
.routing-fields [hidden] { display: none !important; }
.routing-preview-section { margin: 22px 0px; padding: 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.routing-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 18px; }
.routing-preview-card { min-width: 0px; }
.routing-preview-card h4 { margin: 0px 0px 10px; font-size: 13px; color: var(--muted); }
.routing-preview-bubble { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.routing-preview-option { color: var(--green); text-decoration: underline; }
.routing-preview-grid[aria-busy="true"] { opacity: 0.55; }
@media (max-width: 780px) {.routing-preview-grid { grid-template-columns: 1fr; }}
@media (min-width: 781px) {:root { --desktop-font: system-ui,-apple-system,BlinkMacSystemFont,Helvetica,"PingFang SC",SCHeiti,"Microsoft YaHei",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; --navy: #e8effa; --navy-deep: #e8effa; --bg: #e8effa; --green: #267ef0; --green-dark: #1d69ce; --green-pale: rgba(38,126,240,.06); --ink: #10141a; --muted: rgba(10,17,26,.5); --border: rgba(6,15,26,.07); --desktop-link: #1b539a; --control-border: rgba(7,15,26,.15); font-family: var(--desktop-font); }
body { font-size: 14px; line-height: 20px; }
a { color: var(--desktop-link); }
.sidebar { background: var(--bg); }
.nav-link, .nav-child { font-family: var(--desktop-font); font-size: 14px; font-weight: 400; line-height: 20px; min-height: 40px; border-radius: 6px; }
.nav-link { padding: 10px 13px; }
.nav-child { padding: 10px 10px 10px 40px; }
.nav-link.active, .nav-child.active { color: var(--green); background: rgba(38, 126, 240, 0.12); }
.nav-link.active svg { color: var(--green); }
.nav-link:hover, .nav-child:hover { color: var(--green); background: rgba(38, 126, 240, 0.07); }
.nav-parent:hover { color: rgb(0, 0, 0); background: rgba(7, 15, 26, 0.06); }
.shell-main { box-shadow: none; border-radius: 10px; }
.content { padding: 24px 32px 36px; }
.topbar { padding-inline: 32px; }
.crumb, .crumb strong, .top-date, .page-heading p { color: var(--muted); }
.page-heading { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.page-heading h1, .home-title { font-size: 18px; font-weight: 700; line-height: 24px; color: rgb(0, 0, 0); letter-spacing: 0px; }
.page-heading p { font-size: 13px; line-height: 18px; }
.panel-head h2, .modal-head h2 { font-size: 16px; font-weight: 700; line-height: 22.4px; color: var(--ink); }
.panel-head h2 .mono { font-size: inherit; line-height: inherit; }
.modal-head h2 { font-size: 18px; line-height: 24px; }
.content h3 { font-size: 15px; font-weight: 700; line-height: 21px; color: var(--ink); }
.panel { border-color: var(--border); border-radius: 8px; box-shadow: none; }
.panel-head { padding: 20px 24px; }
.panel-body { padding: 24px; }
.stack { gap: 24px; }
.toolbar { padding: 16px 20px; gap: 12px; }
.table-foot { padding: 12px 20px; }
.btn, .knowledge-list .btn, #kf-servicers-result .btn { font-size: 14px; font-weight: 400; line-height: 20px; min-height: 32px; padding: 5px 12px; border-radius: 4px; border-color: var(--control-border); }
.btn.primary { background: var(--green); border-color: transparent; color: rgb(255, 255, 255); }
.btn.primary:hover { background: var(--green-dark); }
.btn:not(.primary):not(.danger):not(.ghost):hover { background: rgb(246, 246, 247); }
.btn.ghost { border-color: transparent; }
.btn.danger { border-color: rgb(240, 216, 216); }
.btn.icon { width: 32px; padding: 5px; }
.btn:disabled { transform: none; }
.content .text-btn, .modal-body .text-btn { font-size: 14px; font-weight: 400; line-height: 20px; color: var(--desktop-link); }
.content .text-btn:hover, .modal-body .text-btn:hover { text-decoration: underline; }
.btn:disabled:hover { background: rgb(255, 255, 255); }
.btn.primary:disabled:hover { background: var(--green); }
:is(.shell, dialog) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), :is(.shell, dialog) select { font-family: inherit; font-size: 14px; line-height: 20px; min-height: 32px; height: 32px; padding: 5px 12px; border-radius: 4px; border-color: var(--control-border); }
select { padding-right: 28px; }
textarea { font-family: inherit; font-size: 14px; line-height: 20px; min-height: 100px; padding: 8px 12px; border-radius: 4px; border-color: var(--control-border); }
input[type="file"] { font-size: 14px; border-color: var(--control-border); }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; min-height: 16px; padding: 0px; accent-color: var(--green); flex: 0 0 auto; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: rgba(38, 126, 240, 0.14) 0px 0px 0px 2px; }
:focus-visible { outline-color: var(--green); }
.nav-parent:focus-visible, .nav-child:focus-visible { outline-color: var(--green); }
.field, label.field, .callback-field, .checkbox, .knowledge-keyword-label { font-size: 14px; line-height: 20px; font-weight: 400; }
.channel-enabled { font-weight: 700; }
.form-grid { gap: 20px 24px; }
.field small, .callback-field small { font-size: 12px; line-height: 18px; }
.form-actions { margin-top: 24px; padding-top: 20px; }
.kv { grid-template-columns: 120px minmax(0px, 1fr); font-size: 14px; line-height: 20px; gap: 16px; margin: 16px 0px; }
.kv dt { color: var(--muted); }
.kv dd { color: var(--ink); }
table { font-size: 14px; line-height: 20px; }
th { font-size: 13px; font-weight: 400; line-height: 24px; color: rgba(11, 18, 26, 0.6); background: rgb(246, 246, 247); letter-spacing: 0px; }
th { padding: 5px 18px; }
td { padding: 14px 18px; color: var(--ink); }
th, td { border-bottom-color: var(--border); }
td strong { font-weight: 600; }
td .mono, td.mono { font-size: 13px; }
.timeline-entry p:not(.small) { font-size: 14px; line-height: 20px; }
.tab { font-size: 14px; line-height: 20px; font-weight: 400; padding: 16px 0px; color: var(--ink); }
.tab.active { color: var(--green); font-weight: 700; border-color: var(--green); }
.notice { font-size: 13px; line-height: 20px; color: var(--ink); background: rgb(243, 246, 252); border-color: rgba(38, 126, 240, 0.12); border-radius: 4px; }
.badge { font-weight: 400; }
.badge.amber { background: rgb(253, 244, 220); }
.bubble { font-size: 14px; line-height: 21px; }
.knowledge-editor-options, .channel-optional, .reply-settings .reply-group, .routing-rule { border-radius: 8px; }
.reply-settings .reply-group > summary, .routing-rule > summary { font-weight: 600; }
.modal-head { padding: 20px 24px; }
.modal-body { padding: 24px; }
.home-section-caption, .company-section-title { color: var(--muted); }
.sidebar-footer { font-size: 13px; line-height: 18px; color: var(--muted); }
.sidebar .tenant-switcher label, .sidebar-company { font-size: 13px; line-height: 18px; color: var(--muted); }
.workspace-state { font-size: 13px; line-height: 18px; color: var(--muted); }
.workspace-state strong { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 400; color: inherit; }
.workspace-state svg, .sidebar-company svg { width: 16px; height: 16px; }
.user-chip .name { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--ink); }
.user-chip .role { font-size: 12px; line-height: 18px; color: var(--muted); }
.workspace-footer { font-size: 12px; line-height: 15px; color: rgba(8, 16, 26, 0.3); }}
.workspace-state { display: grid; grid-template-columns: 16px minmax(0px, 1fr); gap: 7px 6px; }
.workspace-state strong { display: contents; }
.workspace-state svg { width: 16px; height: 16px; align-self: center; }
.workspace-state strong > span, .workspace-state .workspace-kind { grid-column: 2; min-width: 0px; }
@media (min-width: 781px) {.sidebar-footer .user-chip { display: grid; grid-template-columns: 16px minmax(0px, 1fr) 28px; column-gap: 6px; }
.sidebar-footer .user-chip .avatar { width: 24px; height: 24px; justify-self: center; font-size: 13px; border-radius: 4px; }
.sidebar-footer .user-chip .btn { width: 28px; }}
.mobile-order-summary { display: block; color: inherit; }
.mobile-order-summary:hover { text-decoration: none; }
.order-export-dates[hidden] { display: none; }
.customer-order-stats { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 12px; margin-bottom: 12px; }
.customer-order-stats > div, .customer-order-stats > a { padding: 14px; border: 1px solid var(--border); border-radius: 6px; }
.customer-order-stats span { display: block; color: var(--muted); font-size: 13px; line-height: 18px; }
.customer-order-stats strong { display: block; margin-top: 8px; font-size: 24px; line-height: 30px; font-weight: 600; color: var(--ink); }
@media (max-width: 600px) {.customer-order-stats { grid-template-columns: repeat(2, minmax(0px, 1fr)); }}
@media (max-width: 780px) {.mobile-order-customer strong { min-width: 0px; flex: 1 1 0%; }
.directory-content .page-heading > .actions .btn.primary { color: rgb(255, 255, 255); background: rgb(40, 124, 241); border-color: rgb(40, 124, 241); }
.directory-content .page-heading > .actions .btn.primary:hover { background: rgb(23, 102, 210); border-color: rgb(23, 102, 210); }}
@media (max-width: 360px) {.orders-list-content #order-filter { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.orders-list-content #order-filter > .btn { grid-column: 1 / -1; }}
@media (min-width: 781px) {.modal-body .field + .field { margin-top: 16px; }
.modal-body :is(.form-grid, .appointment-grid) > .field { margin-top: 0px; }}
@media (max-width: 780px) {.modal-actions { flex-wrap: wrap; }
.modal-actions > .btn { flex: 1 1 auto; min-width: max-content; max-width: 100%; white-space: nowrap; }
.mobile-bottom-nav span { white-space: nowrap; }}
.brand img.brand-mark, .login-emblem, .mobile-workspace-header > img { object-fit: contain; border-radius: 0px; mix-blend-mode: multiply; box-shadow: none; }
.brand .brand-name, .login-intro-brand { color: rgb(8, 75, 57); }
.order-percent { padding: 12px 0px; margin-bottom: 12px; }
.order-percent progress { display: block; width: 100%; height: 14px; accent-color: rgb(40, 124, 241); margin: 10px 0px; }
.item-progress { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; padding: 12px; border-top: 1px solid rgb(233, 237, 242); }
.item-progress .full { grid-column: 1 / -1; }
.item-row { align-items: start; }
.item-row .remove-item { grid-area: 1 / 5; }
.order-percent .small { margin: 6px 0px; }
@media (max-width: 640px) {.item-progress { grid-template-columns: minmax(0px, 1fr); }
.item-row .remove-item { grid-area: auto; }}
.public-progress { margin: 18px 0px 12px; }
.public-progress-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.public-progress-label strong { color: var(--green); }
.public-progress progress { display: block; width: 100%; height: 12px; border: 0px; border-radius: 6px; overflow: hidden; background: var(--green-pale); accent-color: var(--green); }
.public-progress progress::-webkit-progress-bar { background: var(--green-pale); border-radius: 6px; }
.public-progress progress::-webkit-progress-value { background: var(--green); border-radius: 6px; }
.public-product-search { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.public-product-search .field { flex: 1 1 0%; min-width: 0px; margin: 0px; font-size: 14px; }
.public-product-search .field[hidden] { display: none; }
.public-product-search input { min-height: 44px; font-size: 16px; width: 100%; margin-top: 6px; }
.public-product-search .btn, .public-product-actions .btn { min-height: 44px; min-width: 108px; font-size: 14px; }
.public-products-list { display: grid; gap: 16px; }
.public-product-card { border: 1px solid var(--border); border-radius: 9px; padding: 18px; min-width: 0px; }
.public-product-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.public-product-heading h3 { font-size: 16px; margin: 0px; overflow-wrap: anywhere; }
.public-product-status { color: var(--green); font-size: 14px; overflow-wrap: anywhere; flex-shrink: 0; max-width: 45%; text-align: right; }
.public-product-meta { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 12px; margin: 12px 0px; }
.public-product-meta > div { display: flex; gap: 8px; font-size: 14px; min-width: 0px; }
.public-product-meta dt { color: var(--muted); flex: 0 0 auto; }
.public-product-meta dd { margin: 0px; overflow-wrap: anywhere; }
.public-product-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.public-product-actions p { margin: 0px; font-size: 13px; overflow-wrap: anywhere; }
.public-products-count { font-size: 13px; margin: 0px 0px 12px; }
@media (max-width: 600px) {.public-product-search { flex-wrap: wrap; gap: 8px; }
.public-product-search .field { flex-basis: 100%; }
.public-product-card { padding: 16px 12px; }
.public-product-meta { grid-template-columns: minmax(0px, 1fr); gap: 6px; }
.public-product-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
.public-product-actions .btn { width: 100%; }}
.order-product-table { min-width: 0px; max-width: 100%; }
.order-product-table table { table-layout: fixed; width: 100%; white-space: normal; }
.order-product-table th, .order-product-table td { padding: 12px; white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.order-product-table th:nth-child(1) { width: 23%; }
.order-product-table th:nth-child(2) { width: 16%; }
.order-product-table th:nth-child(3) { width: 10%; }
.order-product-table th:nth-child(4) { width: 13%; }
.order-product-table th:nth-child(5) { width: 19%; }
.order-product-table th:nth-child(6) { width: 19%; }
.order-product-table td.pre .table-cell-value { white-space: pre-wrap; }
.order-product-meter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0px; }
.order-product-meter progress { display: block; flex: 1 1 0%; min-width: 36px; width: 100%; height: 8px; accent-color: var(--green); }
.order-product-meter span { font-size: 12px; color: var(--ink); white-space: nowrap; }
.order-product-table .has-details td { border-bottom: 0px; }
.order-product-table .order-product-extra td { padding-top: 0px; }
.order-product-details summary { cursor: pointer; color: var(--green); min-height: 36px; padding: 8px 0px; font-size: 13px; overflow-wrap: anywhere; }
.order-product-details summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.order-product-description { background: var(--green-pale); padding: 12px 16px; border-radius: 6px; margin-bottom: 4px; white-space: normal; }
.order-product-description .pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0px; }
.order-product-description dl { margin: 0px; }
.order-product-description .kv { grid-template-columns: minmax(80px, 25%) minmax(0px, 1fr); margin: 8px 0px; }
@media (max-width: 768px) {.order-product-table table { table-layout: auto; }
.order-product-table .responsive-table tbody > tr.has-details { border-bottom: 0px; padding-bottom: 0px; }
.order-product-table .responsive-table tbody > tr.order-product-extra { padding-top: 0px; }
.order-product-table .responsive-table tbody > tr.order-product-extra > td { display: block; padding: 0px; }
.order-product-table .responsive-table .order-product-extra td::before { display: none; }
.order-product-details summary { min-height: 44px; padding: 12px 0px; }}
.order-status-percentage { min-width: 120px; max-width: 240px; }
.order-status-caption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.mobile-order-percentages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 12px 0px 0px; }
.mobile-order-percentages .order-status-percentage { min-width: 0px; max-width: none; margin-top: 6px; }
.mobile-order-percentages .order-product-meter { flex-wrap: nowrap; }
@media (max-width: 420px) {.mobile-order-percentages { grid-template-columns: 1fr; gap: 12px; }}
#order-notification-summary { margin-bottom: 24px; }
.order-notification-recipients { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 16px; }
.order-notification-recipients p { margin: 6px 0px 0px; overflow-wrap: anywhere; }
@media (max-width: 768px) {.order-notification-recipients { grid-template-columns: minmax(0px, 1fr); }}
:is(.order-product-meter, .order-percent, .public-progress) progress { appearance: none; display: block; height: 8px; border: 0px; border-radius: 999px; overflow: hidden; background: rgb(233, 238, 245); accent-color: var(--green); box-shadow: none; }
:is(.order-product-meter, .order-percent, .public-progress) progress::-webkit-progress-bar { background: rgb(233, 238, 245); border-radius: 999px; box-shadow: none; }
:is(.order-product-meter, .order-percent, .public-progress) progress::-webkit-progress-value { background: var(--green); border-radius: 999px; }
.order-product-meter { flex-wrap: nowrap; gap: 10px; }
.order-product-meter progress { flex: 1 1 0px; width: auto; min-width: 36px; }
.order-product-meter > span { flex: 0 0 54px; text-align: right; font-variant-numeric: tabular-nums; line-height: 1.4; }
.order-percent .row > strong:last-child, .public-progress-label > span { font-variant-numeric: tabular-nums; }
.order-editor { align-items: start; }
.order-editor .customer-picker-field { position: relative; min-width: 0px; }
.order-editor .customer-picker-hint { margin: -8px 0px 0px; font-size: 12px; line-height: 18px; }
.order-editor .field { min-width: 0px; margin: 0px !important; }
.order-editor #items { display: grid; gap: 16px; margin-top: 12px; }
.order-editor .item-row { grid-template-columns: minmax(0px, 1.3fr) minmax(0px, 1fr) minmax(72px, 0.65fr) minmax(64px, 0.6fr) 32px; gap: 16px 12px; margin: 0px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); align-items: start; }
.order-editor .item-field { display: grid; gap: 7px; font-size: 14px; line-height: 20px; font-weight: 400; }
.order-editor .item-field > span { display: block; color: var(--ink); font-size: inherit; line-height: inherit; }
.order-editor .item-row .remove-item { grid-area: 1 / 5; align-self: end; width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 6px; }
.order-editor .item-progress { gap: 20px 24px; padding: 16px 0px 0px; border-top: 1px solid var(--border); }
.order-editor .item-progress textarea { min-height: 80px; }
@media (max-width: 780px) {.order-editor .item-row { grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr) 44px; padding: 14px; gap: 14px 12px; }
.order-editor .item-field:nth-child(-n+2) { grid-column: 1 / -1; }
.order-editor .item-row .remove-item { grid-area: 3 / 3; width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
.order-editor .item-progress { grid-template-columns: minmax(0px, 1fr); gap: 16px; padding-top: 14px; }
.order-editor .item-field { font-size: 14px; line-height: 20px; }
.order-editor .item-row input { padding: 8px 10px; font-size: 16px; }}
.record-editor { align-items: start; }
.record-editor .field { min-width: 0px; margin: 0px !important; }
.record-editor #progress-scope-hint { margin: 0px; font-size: 12px; line-height: 18px; }
.record-editor .notice { margin: 0px; }
.order-detail-progress-summary { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px; }
.order-detail-progress-summary .order-product-meter { margin-top: 14px; }
.product-shipment-row { display: flex; gap: 16px; flex-wrap: wrap; padding: 8px 0px; border-top: 1px solid var(--border); }
.shipment-attachment-details { margin: 12px 0px; min-width: 0px; }
.shipment-attachment-details > summary { width: fit-content; max-width: 100%; min-height: 44px; cursor: pointer; }
.shipment-attachment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.shipment-attachment-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0px; border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.shipment-attachment-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 130px; width: 100%; padding: 8px; background: var(--bg); color: inherit; border: 0px; border-radius: 6px; cursor: pointer; }
.shipment-attachment-image img { width: 100%; height: 120px; object-fit: contain; }
.shipment-attachment-image img[hidden] { display: none; }
.shipment-attachment-name { white-space: normal; overflow-wrap: anywhere; text-align: left; min-height: 44px; }
.shipment-attachment-details > summary:focus-visible, .shipment-attachment-image:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.shipment-products-details { margin: 12px 0px; min-width: 0px; }
.shipment-products-details > summary { width: fit-content; max-width: 100%; white-space: normal; min-height: 44px; cursor: pointer; }
.shipment-products-details > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.shipment-products-table { margin-top: 12px; max-width: 100%; overflow-x: auto; }
.shipment-products-table td { white-space: normal; overflow-wrap: anywhere; }
.shipment-products-table table { min-width: 420px; }
@media (max-width: 780px) {.order-detail-progress-summary { grid-template-columns: minmax(0px, 1fr); gap: 16px; }
.product-shipment-row { gap: 8px 12px; }}
.order-row-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-product-table th:nth-child(1) { width: 16%; }
.order-product-table th:nth-child(2) { width: 10%; }
.order-product-table th:nth-child(3) { width: 9%; }
.order-product-table th:nth-child(4) { width: 12%; }
.order-product-table th:nth-child(5) { width: 14%; }
.order-product-table th:nth-child(6) { width: 11%; }
.order-product-table th:nth-child(7) { width: 14%; }
.order-product-table th:nth-child(8) { width: 14%; }
.mobile-order-product { font-size: 13px; color: var(--muted); padding: 8px 0px; }
@media (max-width: 780px) {.mobile-order-card > .order-row-actions { justify-content: flex-end; padding-top: 12px; }}
.import-preview-toolbar { align-items: end; gap: 16px; }
.import-preview-toolbar .field { margin: 0px; min-width: 160px; }
.import-preview-table th, .import-preview-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.import-preview-table table { table-layout: fixed; }
.import-preview-table th:nth-child(1) { width: 12%; }
.import-preview-table th:nth-child(2) { width: 20%; }
.import-preview-table th:nth-child(3) { width: 20%; }
.import-preview-table th:nth-child(4) { width: 13%; }
.import-preview-table th:nth-child(5) { width: 18%; }
.import-preview-table th:nth-child(6) { width: 17%; }
.import-cell { margin: 3px 0px; white-space: pre-wrap; overflow-wrap: anywhere; }
.import-cell.changed, .import-cell.added { border-left: 3px solid var(--green); padding-left: 8px; }
.import-cell.invalid { background: rgb(255, 240, 239); border-left: 3px solid var(--red); padding: 6px 8px; }
.import-field-error { color: var(--red); font-size: 12px; margin: 5px 0px; }
.import-invalid-row > td:first-child { border-left: 3px solid var(--red); }
.import-row-details summary, .import-warning summary { cursor: pointer; color: var(--green); padding: 8px 0px; min-height: 32px; }
.import-field-grid { display: grid; gap: 12px; margin-top: 10px; }
.import-warning { margin-top: 16px; }
#import-error-summary p { margin: 8px 0px 12px; }
#import-issue-list th, #import-issue-list td { white-space: normal; overflow-wrap: anywhere; }
#import-preview .import-stats { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 16px; }
#import-preview .import-stats span { border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; }
#import-preview .import-stats strong { display: block; }
@media (max-width: 780px) {.import-preview-toolbar { display: grid; grid-template-columns: minmax(0px, 1fr); padding: 16px; }
.import-preview-toolbar .field { min-width: 0px; }
.import-preview-toolbar input, .import-preview-toolbar select { height: 44px; min-height: 44px; }
.import-preview-table table, .import-preview-table tbody, .import-preview-table tr, .import-preview-table td { display: block; width: 100%; }
.import-preview-table thead { display: none; }
.import-preview-table td { border: 0px; padding: 6px 16px; }
.import-preview-table tr { border-bottom: 1px solid var(--border); padding: 12px 0px; }
.import-row-details summary, .import-warning summary { min-height: 44px; }
#import-preview .import-stats { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; }}
.import-group-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0px 24px 16px; }
.import-group-controls .checkbox { margin: 0px; }
.import-group-list { padding: 0px 24px; display: grid; gap: 14px; min-width: 0px; }
.import-order-card { border: 1px solid var(--border); border-radius: 10px; background: rgb(255, 255, 255); min-width: 0px; overflow: hidden; }
.import-order-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; cursor: pointer; list-style: none; background: rgb(248, 250, 252); }
.import-order-card > summary::-webkit-details-marker { display: none; }
.import-order-card > summary:focus-visible { outline: rgb(37, 99, 235) solid 3px; outline-offset: -3px; }
.import-order-card[open] > summary { border-bottom: 1px solid var(--border); background: rgb(240, 246, 255); }
.import-order-identity, .import-order-overview { display: grid; gap: 6px; min-width: 0px; overflow-wrap: anywhere; }
.import-order-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.import-order-overview { text-align: right; justify-items: end; }
.import-order-status { font-size: 12px; font-weight: 600; border-radius: 5px; padding: 4px 9px; background: rgb(238, 242, 246); color: rgb(82, 97, 116); }
.import-order-status.added { color: rgb(4, 120, 87); background: rgb(236, 253, 245); }
.import-order-status.updated { color: rgb(29, 78, 216); background: rgb(239, 246, 255); }
.import-order-status.invalid { color: rgb(185, 28, 28); background: rgb(255, 241, 242); }
.import-order-toggle { font-size: 12px; color: rgb(37, 99, 235); display: flex; align-items: center; gap: 8px; }
.import-order-card:not([open]) .when-open, .import-order-card[open] .when-closed { display: none; }
.import-order-info { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.import-order-info h3 { font-size: 13px; margin: 0px 0px 10px; }
.import-group-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 10px; }
.import-group-field { min-width: 0px; }
.import-group-field > .small { font-weight: 600; }
.import-order-card .import-cell.changed { border-left-color: rgb(37, 99, 235); background: rgb(239, 246, 255); padding: 5px 8px; }
.import-order-card .import-cell.added { border-left-color: rgb(5, 150, 105); background: rgb(236, 253, 245); padding: 5px 8px; }
.import-order-card .import-cell.ignored { color: rgb(100, 116, 139); }
.import-order-card .import-cell.preserved { background: rgb(248, 250, 252); padding: 5px 8px; }
.import-group-table { min-width: 0px; overflow: auto; }
.import-group-table table { width: 100%; table-layout: fixed; }
.import-group-table th, .import-group-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.import-group-table th:first-child { width: 16%; }
.import-group-table th:nth-child(2) { width: 25%; }
.import-group-table th:nth-child(3) { width: 59%; }
.import-product-title { font-weight: 600; }
.import-group-table .import-row-details { margin-top: 10px; }
.import-group-table .import-row-details summary { font-size: 12px; }
.import-group-table tr:focus { outline: rgb(37, 99, 235) solid 3px; outline-offset: -3px; }
.import-order-empty { padding: 20px; color: var(--muted); }
#import-preview .import-stats { grid-template-columns: repeat(5, minmax(0px, 1fr)); }
.import-group-page { padding: 18px 24px; }
.import-group-page .small { margin-top: 4px; }
@media (max-width: 780px) {.import-group-list { padding: 0px 12px; gap: 12px; }
.import-group-controls { padding: 0px 16px 16px; }
.import-order-card > summary { padding: 14px; align-items: flex-start; gap: 12px; }
.import-order-title { font-size: 15px; }
.import-order-identity { flex: 1 1 0%; }
.import-order-overview { max-width: 46%; }
.import-order-info { padding: 14px; }
.import-group-table table, .import-group-table tbody, .import-group-table tr, .import-group-table td { display: block; width: 100%; }
.import-group-table thead { display: none; }
.import-group-table tr { border-bottom: 1px solid var(--border); padding: 12px 0px; }
.import-group-table td { padding: 6px 14px; border: 0px; }
.import-group-table td:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.import-group-table .import-group-fields { grid-template-columns: minmax(0px, 1fr); }
.import-group-page { padding: 16px; gap: 12px; flex-wrap: wrap; }
#import-preview .import-stats { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.import-order-card .table-foot { flex-wrap: wrap; gap: 10px; }
.import-order-card .table-foot .actions { flex-wrap: wrap; }}
#live-chat-controls { display: contents; }
.order-status-percentage { display: grid; grid-template-rows: 20px minmax(26px, auto); row-gap: 6px; }
.order-status-percentage > .order-product-meter { min-height: 20px; }
.order-status-percentage > .order-status-caption { margin-top: 0px; min-height: 26px; align-items: flex-start; align-content: flex-start; }
.responsive-table td:has(.order-status-percentage) { vertical-align: top; }
.product-schema-row { grid-template-columns: minmax(0px, 2fr) minmax(0px, 1fr) auto; align-items: end; padding: 14px 0px; border-bottom: 1px solid var(--border); }
.product-schema-row .remove-status { min-height: 44px; }
@media (max-width: 780px) {.product-schema-row { grid-template-columns: minmax(0px, 2fr) minmax(0px, 1fr); gap: 12px; }
.product-schema-row .remove-status { grid-column: 1 / -1; justify-self: start; }}
#kf-add-directory .actions { margin-top: 12px; }
#kf-add-directory .btn { min-height: 44px; }
dialog.order-fullscreen { inset: 0px; margin: 0px; width: 100vw; max-width: none; height: 100dvh; max-height: 100dvh; border: 0px; border-radius: 0px; }
html.mobile-visual-viewport dialog { position: fixed; top: var(--mobile-viewport-top); bottom: calc(100% - var(--mobile-viewport-top) - var(--mobile-viewport-height)); max-height: calc(var(--mobile-viewport-height) - 20px); margin: auto; }
html.mobile-visual-viewport dialog.order-fullscreen { height: var(--mobile-viewport-height); max-height: var(--mobile-viewport-height); margin: 0px; }
html.mobile-keyboard-open .mobile-bottom-nav { display: none; }
html.mobile-visual-viewport dialog .modal-actions { margin: 0px; }
html.mobile-viewport-short dialog .modal-head { padding: 8px 14px; }
html.mobile-viewport-short dialog .modal-head h2 { max-height: 48px; overflow: auto; }
html.mobile-viewport-short dialog .modal-body { padding: 8px 14px; }
html.mobile-viewport-short dialog .modal-actions { padding: 8px 14px max(8px,env(safe-area-inset-bottom)); }
html.mobile-keyboard-open.mobile-viewport-tight dialog { max-height: var(--mobile-viewport-height); }
html.mobile-keyboard-open.mobile-viewport-tight dialog :is(.modal-head, .modal-body, .modal-actions) { padding: 4px 14px; }
html.mobile-keyboard-open.mobile-viewport-tight dialog .modal-head h2 { max-height: 44px; }
dialog.order-fullscreen .modal-form { flex: 1 1 0%; }
dialog.order-fullscreen .modal-body { flex: 1 1 0%; }
dialog.order-fullscreen .modal-actions { border-top: 1px solid var(--border); padding-bottom: max(16px,env(safe-area-inset-bottom)); }
.bridge-remote-root :is(input, select, textarea) { min-width: 0px; max-width: 100%; }
@media (max-width: 780px) {.bridge-remote-root :is(button, input:not([type="checkbox"]), select) { min-height: 44px; }}
.order-fullscreen .order-products-scroll { overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
@media (min-width: 1000px) {.order-fullscreen .order-editor { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
.order-fullscreen .order-editor .customer-picker-field { grid-column: 1 / 3; }
.order-fullscreen .order-editor .customer-picker-hint { grid-column: 3 / 5; align-self: center; margin: 0px; }
.order-fullscreen .order-editor #items { gap: 10px; min-width: 1550px; }
.order-fullscreen .order-editor .item-row { grid-template-columns: minmax(150px, 1.2fr) minmax(100px, 0.8fr) 80px 64px minmax(125px, 0.9fr) 92px minmax(170px, 1.3fr) minmax(150px, 1.2fr) 125px 145px 44px; padding: 12px; gap: 12px; align-items: start; }
.order-fullscreen .order-editor .item-row > .item-field:nth-child(1) { grid-area: 1 / 1; }
.order-fullscreen .order-editor .item-row > .item-field:nth-child(2) { grid-area: 1 / 2; }
.order-fullscreen .order-editor .item-row > .item-field:nth-child(3) { grid-area: 1 / 3; }
.order-fullscreen .order-editor .item-row > .item-field:nth-child(4) { grid-area: 1 / 4; }
.order-fullscreen .order-editor .item-row > .item-field { grid-template-rows: 40px auto; }
.order-fullscreen .order-editor .item-progress { display: contents; }
.order-fullscreen .order-editor .item-progress > .field { display: grid; gap: 7px; font-size: 14px; line-height: 20px; grid-template-rows: 40px auto; grid-column: span 2; }
.order-fullscreen .order-editor .item-progress > .field:nth-child(1) { grid-area: 1 / 5; }
.order-fullscreen .order-editor .item-progress > .field:nth-child(2) { grid-area: 1 / 6; }
.order-fullscreen .order-editor .item-progress > .field:nth-child(3) { grid-area: 1 / 7; }
.order-fullscreen .order-editor .item-progress > .field:nth-child(4) { grid-area: 1 / 8; }
.order-fullscreen .order-editor .item-progress textarea { height: 44px; min-height: 44px; resize: none; overflow: auto; }
.order-fullscreen .order-editor .item-row :is(input[data-item], select[data-item], textarea[data-item]) { height: 44px; min-height: 44px; font-size: 14px; font-weight: 400; line-height: 20px; padding: 11px 10px; border: 1px solid var(--control-border); border-radius: 4px; margin: 0px; width: 100%; min-width: 0px; }
.order-fullscreen .order-editor .item-row .remove-item { grid-area: 1 / 11; align-self: start; margin-top: 47px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; }}
@media (min-width: 1000px) {.order-fullscreen .order-editor .item-progress > .field:nth-child(5) { grid-area: 1 / 9; }
.order-fullscreen .order-editor .item-progress > .field:nth-child(6) { grid-area: 1 / 10; }}
.shipment-product-fields { padding: 14px; border: 1px solid var(--border); border-radius: 8px; }
.order-fullscreen .order-editor :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), select) { height: 44px; min-height: 44px; font-size: 14px; font-weight: 400; line-height: 20px; padding: 11px 10px; border-radius: 4px; }
.order-fullscreen .order-editor .item-progress > .field { font-weight: 400; }
.order-fullscreen .order-editor > label.field:has(> input:only-child, > select:only-child) { align-self: stretch; grid-template-rows: minmax(min-content, 1fr) auto; align-content: stretch; }
label.field { grid-template-columns: minmax(0px, 1fr); overflow-wrap: anywhere; }
@media (max-width: 780px) {.page-heading > .actions > .btn { flex: 0 1 auto; }}
.public-order-page { max-width: 1320px; --public-blue: #245fad; --public-blue-soft: #f0f6ff; --public-teal: #146b60; --public-teal-soft: #f0f8f5; --public-ink: #18324f; }
.public-order-page .query-hero { margin-bottom: 20px; }
.public-order-overview > .panel { box-shadow: rgba(23, 48, 74, 0.024) 0px 4px 20px; border-radius: 14px; }
.public-order-heading { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 20px; margin-bottom: 14px; align-items: start; }
.public-order-heading > div { min-width: 0px; overflow-wrap: anywhere; }
.public-order-heading h2 { margin: 4px 0px 0px; font-size: 25px; color: var(--public-ink); }
.public-order-heading > div:last-child { text-align: right; display: grid; gap: 4px; }
.public-summary-counts { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 12px; margin: 20px 0px 12px; }
.public-summary-counts > div { padding: 14px 16px; border-radius: 10px; background: var(--public-blue-soft); display: grid; gap: 4px; }
.public-summary-counts > div:nth-child(2) { background: var(--public-teal-soft); }
.public-summary-counts span { font-size: 13px; color: var(--muted); }
.public-summary-counts strong { font-size: 28px; line-height: 1.25; color: var(--public-blue); font-variant-numeric: tabular-nums; }
.public-summary-counts > div:nth-child(2) strong { color: var(--public-teal); }
.public-order-progress-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px; }
.public-order-explanation { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 12px 0px 0px; }
.public-order-overview .public-progress-label { flex-wrap: wrap; gap: 4px 8px; }
.public-order-overview .public-progress-label strong { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.public-order-overview .public-products-list { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 20px; align-items: start; }
.public-order-overview .public-products-list > .empty { grid-column: 1 / -1; }
.public-order-overview .public-product-card { display: block; padding: 0px; border: 1px solid rgb(213, 225, 239); border-radius: 12px; box-shadow: rgba(24, 50, 79, 0.03) 0px 4px 14px; background: rgb(255, 255, 255); min-width: 0px; }
.public-order-overview .public-product-identity { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: var(--public-blue-soft); border-left: 4px solid var(--public-blue); border-radius: 11px 11px 0px 0px; min-width: 0px; }
.public-order-overview .is-complete .public-product-identity { border-left-color: var(--public-teal); }
.public-product-title { min-width: 0px; flex: 1 1 0%; }
.public-order-overview .public-product-number { display: block; width: auto; height: auto; border-radius: 0px; background: none; color: var(--public-blue); font-size: 12px; font-weight: 600; margin: 0px 0px 5px; letter-spacing: 0.4px; }
.public-order-overview .public-product-identity h3 { font-size: 20px; font-weight: 700; color: var(--public-ink); line-height: 1.45; margin: 0px 0px 7px; overflow-wrap: anywhere; }
.public-order-overview .public-product-spec { font-size: 14px; line-height: 1.6; color: rgb(68, 86, 109); margin: 0px; overflow-wrap: anywhere; }
.public-product-spec > span { color: rgb(91, 110, 133); margin-right: 6px; }
.public-product-ordered { flex: 0 0 auto; max-width: 42%; min-width: 0px; align-self: center; text-align: right; overflow-wrap: anywhere; }
.public-product-ordered > span { font-size: 12px; color: rgb(82, 105, 129); display: block; margin-bottom: 2px; }
.public-product-ordered strong { font-size: 26px; line-height: 1.35; color: var(--public-ink); font-variant-numeric: tabular-nums; }
.public-product-ordered > div > span { font-size: 13px; color: rgb(82, 105, 129); }
.public-product-progress-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; padding: 16px; }
.public-product-production, .public-product-delivery { min-width: 0px; padding: 12px; border-radius: 9px; background: var(--public-blue-soft); }
.public-product-delivery { background: var(--public-teal-soft); }
.public-product-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 26px; font-size: 13px; line-height: 1.5; }
.public-product-section-heading > span:first-child { display: flex; align-items: center; gap: 5px; font-weight: 600; color: var(--public-blue); }
.public-product-section-heading svg { width: 17px; height: 17px; }
.public-product-delivery .public-product-section-heading > span:first-child { color: var(--public-teal); }
.public-order-overview .public-product-status, .public-product-delivery-status { display: inline-block; max-width: 100%; text-align: left; font-size: 12px; line-height: 1.5; padding: 3px 7px; border-radius: 5px; background: rgb(224, 236, 255); color: var(--public-blue); overflow-wrap: anywhere; margin: 0px; }
.public-order-overview .is-complete .public-product-status { background: rgb(220, 238, 230); color: var(--public-teal); }
.public-product-delivery-status { background: rgb(220, 238, 230); color: var(--public-teal); }
.public-product-progress-grid .public-progress { margin: 12px 0px 0px; }
.public-product-progress-grid .public-progress-label { font-size: 13px; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.public-product-progress-grid .public-progress-label strong { font-size: 20px; line-height: 1.35; color: var(--public-blue); }
.public-product-progress-grid progress { height: 8px; background: rgb(220, 231, 246); accent-color: var(--public-blue); }
.public-product-progress-grid progress::-webkit-progress-bar { background: rgb(220, 231, 246); }
.public-product-progress-grid progress::-webkit-progress-value { background: var(--public-blue); }
.public-product-delivery .public-progress-label strong { color: var(--public-teal); }
.public-product-delivery progress { accent-color: var(--public-teal); background: rgb(217, 233, 227); }
.public-product-delivery progress::-webkit-progress-bar { background: rgb(217, 233, 227); }
.public-product-delivery progress::-webkit-progress-value { background: var(--public-teal); }
.public-product-quantities { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 10px; margin: 12px 0px 0px; line-height: 1.6; }
.public-product-quantities > div { min-width: 0px; overflow-wrap: anywhere; }
.public-product-quantities dt { font-size: 12px; color: rgb(81, 109, 102); }
.public-product-quantities dd { margin: 1px 0px 0px; font-size: 12px; color: rgb(81, 109, 102); }
.public-product-quantities strong { font-size: 17px; font-variant-numeric: tabular-nums; color: rgb(25, 77, 67); }
.public-order-records > details { padding: 0px 20px; border-bottom: 1px solid var(--border); }
.public-order-records > details:last-child { border-bottom: 0px; }
.public-order-records > details > summary { min-height: 44px; cursor: pointer; font-size: 14px; line-height: 1.7; padding: 10px 0px; overflow-wrap: anywhere; }
.public-order-records .panel-body { padding: 4px 0px 18px; }
@media (max-width: 1099px) {.public-order-overview .public-products-list { grid-template-columns: minmax(0px, 1fr); }}
@media (max-width: 600px) {.public-order-heading { grid-template-columns: minmax(0px, 1fr); gap: 12px; }
.public-order-heading > div:last-child { text-align: left; }
.public-summary-counts { gap: 6px; }
.public-summary-counts > div { padding: 10px 8px; }
.public-summary-counts span { font-size: 12px; }
.public-summary-counts strong { font-size: 23px; }
.public-order-progress-grid { grid-template-columns: minmax(0px, 1fr); gap: 0px; }
.public-order-overview .public-products-list { gap: 16px; }
.public-order-overview .public-product-identity { padding: 14px 12px; gap: 12px; }
.public-order-overview .public-product-identity h3 { font-size: 18px; }
.public-product-ordered strong { font-size: 24px; }
.public-product-progress-grid { grid-template-columns: minmax(0px, 1fr); padding: 12px; gap: 10px; }
.public-product-production, .public-product-delivery { padding: 10px 12px; }
.public-product-progress-grid .public-progress-label strong { font-size: 19px; }
.public-product-quantities { margin-top: 10px; }
.public-product-quantities > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.public-order-records > details { padding: 0px 14px; }}
.public-product-followup { min-width: 0px; padding: 12px 16px; }
.public-followup-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.public-products-columns { display: none; }
@media (min-width: 1024px) {.public-product-followup { grid-area: 1 / 6; padding: 0px; }
.public-followup-label { display: none; }
.public-order-overview { --public-product-columns: minmax(0,1.6fr) minmax(0,.55fr) minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,.95fr) minmax(0,.7fr); }
.public-products-columns { display: grid; grid-template-columns: var(--public-product-columns); gap: 16px; padding: 14px 16px; background: rgb(237, 243, 251); border-width: 1px 1px 0px; border-style: solid solid none; border-color: rgb(213, 225, 239) rgb(213, 225, 239) currentcolor; border-image: none; border-radius: 10px 10px 0px 0px; color: rgb(68, 91, 116); font-size: 13px; font-weight: 600; }
.public-order-overview .public-products-list { grid-template-columns: minmax(0px, 1fr); gap: 0px; border: 1px solid rgb(213, 225, 239); border-radius: 0px 0px 10px 10px; }
.public-order-overview .public-product-card { display: grid; grid-template-columns: var(--public-product-columns); gap: 12px 16px; align-items: start; padding: 16px; border-width: 0px 0px 1px; border-style: none none solid; border-color: currentcolor currentcolor rgb(227, 234, 242); border-image: none; box-shadow: none; border-radius: 0px; background: rgb(255, 255, 255); }
.public-order-overview .public-product-card:last-child { border-bottom: 0px; border-radius: 0px 0px 10px 10px; }
.public-order-overview .public-product-identity, .public-product-progress-grid, .public-product-delivery { display: contents; }
.public-order-overview .public-product-card { position: relative; }
.public-product-title { grid-area: 1 / 1; border-left: 3px solid var(--public-blue); padding-left: 12px; }
.public-order-overview .is-complete .public-product-title { border-left-color: var(--public-teal); }
.public-order-overview .public-product-identity h3 { font-size: 17px; margin-bottom: 5px; }
.public-order-overview .public-product-spec { font-size: 13px; }
.public-product-ordered { grid-area: 1 / 2; max-width: 100%; align-self: start; text-align: left; padding-top: 8px; }
.public-product-ordered { position: relative; }
.public-product-ordered > span { position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0px; }
.public-product-ordered strong { font-size: 22px; }
.public-product-production { grid-area: 1 / 3; padding: 10px 12px; }
.public-product-delivery-progress { grid-area: 1 / 4; padding: 10px 12px; border-radius: 9px; background: var(--public-teal-soft); }
.public-product-progress-grid .public-progress-label strong { font-size: 18px; }
.public-product-quantities { grid-area: 1 / 5; margin: 8px 0px 0px; gap: 8px; }}
.public-product-search { align-items: flex-start; }
.public-product-picker { position: relative; }
.public-product-search > #public-product-clear { margin-top: 26px; }
.public-product-picker-input { display: flex; gap: 0px; margin-top: 6px; min-width: 0px; }
.public-product-picker-input input { flex: 1 1 0%; min-width: 0px; margin-top: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; }
.public-product-picker-input .btn { min-width: 44px; width: 44px; flex: 0 0 44px; padding: 10px; border-left: 0px; border-top-left-radius: 0px; border-bottom-left-radius: 0px; }
.public-product-picker-input svg { transform: rotate(90deg); }
.public-product-options { position: static; margin-top: 4px; background: var(--surface,#fff); box-shadow: rgba(19, 34, 55, 0.125) 0px 8px 24px; }
.public-product-options[hidden] { display: none; }
.public-product-options button { min-height: 44px; overflow-wrap: anywhere; white-space: normal; }
.public-product-options strong, .public-product-options span { display: block; }
.public-product-options span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.public-product-options [aria-selected="true"] { background: rgb(237, 245, 255); outline: 2px solid var(--primary,#287cf8); outline-offset: -2px; }
.public-product-options p { padding: 12px; margin: 0px; }
@media (max-width: 640px) {.public-product-search > #public-product-clear { margin-top: 0px; }}
@media (min-width: 1024px) {.public-order-page { padding-top: 24px; }
.public-order-header { display: grid; grid-template-columns: minmax(0px, 1fr) auto minmax(0px, 1fr); align-items: center; gap: 24px; }
.public-order-header .brand { margin-bottom: 0px; justify-self: start; }
.public-order-header .query-hero { display: contents; }
.public-order-header .query-hero h1 { font-size: 26px; line-height: 1.4; margin: 0px; }
.public-order-header .query-hero p { margin: 0px; text-align: right; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.public-order-page > .query-result { margin-top: 20px; }}
.public-order-page .public-progress-meter { position: relative; border-radius: 999px; overflow: hidden; }
.public-order-page .public-progress-meter.is-moving::after { content: ""; position: absolute; inset: 0px auto 0px 0px; width: var(--public-progress-percent); border-radius: inherit; pointer-events: none; background-image: repeating-linear-gradient(115deg, transparent 0px, transparent 10px, rgba(255, 255, 255, 0.196) 10px, rgba(255, 255, 255, 0.196) 20px, transparent 20px, transparent 30px); background-size: 40px 100%; animation: 2.8s linear 0s infinite normal none running public-progress-flow; }
@keyframes public-progress-flow { 
  0% { background-position: 0px 0px; }
  100% { background-position: 40px 0px; }
}
@media (prefers-reduced-motion: reduce) {.public-order-page .public-progress-meter.is-moving::after { display: none; animation: auto ease 0s 1 normal none running none; }}
.public-order-external { display: grid; gap: 4px; text-align: center; }
.public-order-external-value { font-size: 22px; line-height: 1.4; color: var(--public-ink); overflow-wrap: anywhere; }
@media (max-width: 600px) {.public-order-external { text-align: left; }}
@media (max-width: 600px) {.public-order-overview .public-product-card { border: 4px solid rgb(143, 183, 237); box-shadow: rgba(36, 95, 173, 0.08) 0px 4px 14px; }
.public-order-overview .public-product-identity { border-left: 0px; border-radius: 7px 7px 0px 0px; }}
@media (max-width: 600px) {.public-order-page { padding-top: 20px; }
.public-order-header { display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: center; gap: 12px 16px; }
.public-order-header .brand { margin-bottom: 0px; justify-self: start; }
.public-order-header .query-hero { display: contents; }
.public-order-header .query-hero h1 { font-size: 24px; line-height: 1.4; margin: 0px; justify-self: end; text-align: right; }
.public-order-header .query-hero p { grid-column: 1 / -1; margin: 0px; text-align: left; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.public-order-page > .query-result { margin-top: 16px; }}
.public-order-page { position: relative; isolation: isolate; min-height: 100vh; --muted: #586b80; --border: #dce5ef; --public-frame: #8fb7ed; --public-surface: #f6f9fd; --public-shadow: 0 8px 28px #18324f08; }
.public-order-page::before { content: ""; position: fixed; inset: 0px; z-index: -1; pointer-events: none; background: linear-gradient(rgb(234, 242, 255) 0px, rgb(243, 247, 252) 320px, rgb(245, 248, 252) 100%); }
.public-order-header .query-hero h1 { color: var(--public-ink); font-weight: 700; letter-spacing: 0.5px; }
.public-order-header .query-hero p { color: var(--muted); }
.public-order-overview > .panel { border-color: var(--border); border-radius: 16px; box-shadow: var(--public-shadow); }
.public-order-page .panel-head { padding: 18px 24px; background: linear-gradient(90deg, rgb(249, 251, 255), rgb(255, 255, 255)); border-color: var(--border); }
.public-order-page .panel-head h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 650; color: var(--public-ink); margin: 0px; }
.public-order-page .panel-head h2::before { content: ""; width: 3px; height: 16px; flex: 0 0 auto; background: var(--public-blue); border-radius: 2px; }
.public-order-page .panel-body { padding: 24px; }
.public-order-heading { gap: 12px; }
.public-order-heading > div { background: var(--public-surface); border: 1px solid rgb(229, 237, 246); border-radius: 12px; padding: 12px 16px; align-self: stretch; align-content: start; }
.public-order-heading > div:first-child { background: var(--public-blue-soft); border-color: rgb(220, 232, 248); }
.public-order-heading h2 { font-size: 24px; line-height: 1.4; letter-spacing: 0.2px; }
.public-order-external-value { font-size: 20px; line-height: 1.4; }
.public-summary-counts { gap: 12px; margin: 20px 0px 16px; }
.public-summary-counts > div { border: 1px solid rgb(226, 235, 248); padding: 14px 16px; border-radius: 12px; gap: 6px; }
.public-summary-counts > div:nth-child(2) { border-color: rgb(220, 236, 231); }
.public-summary-counts span { color: var(--muted); }
.public-order-progress-grid { gap: 16px; }
.public-order-progress-grid > .public-progress { min-width: 0px; padding: 14px 16px; margin: 0px; background: var(--public-blue-soft); border: 1px solid rgb(226, 235, 248); border-radius: 12px; }
.public-order-progress-grid > .public-progress:nth-child(2) { background: var(--public-teal-soft); border-color: rgb(220, 236, 231); }
.public-order-progress-grid .public-progress-label { font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.public-order-progress-grid .public-progress-label strong { font-size: 20px; color: var(--public-blue); }
.public-order-progress-grid > .public-progress:nth-child(2) .public-progress-label strong { color: var(--public-teal); }
.public-order-progress-grid progress { height: 9px; }
.public-order-progress-grid > .public-progress:nth-child(2) progress { accent-color: var(--public-teal); }
.public-order-progress-grid > .public-progress:nth-child(2) progress::-webkit-progress-value { background: var(--public-teal); }
.public-order-explanation { font-size: 12px; line-height: 1.7; padding: 12px 0px 0px; margin: 16px 0px 0px; border-top: 1px solid rgb(233, 238, 245); }
.public-order-page .public-product-search { gap: 12px; }
.public-order-page .public-product-picker label { font-size: 13px; color: rgb(68, 91, 114); font-weight: 500; }
.public-order-page .public-product-picker-input input { border-color: rgb(203, 217, 234); background: rgb(251, 253, 255); min-height: 44px; font-size: 14px; }
.public-order-page .public-product-picker-input .btn { border-color: rgb(203, 217, 234); background: rgb(240, 246, 255); color: var(--public-blue); }
.public-order-page .public-product-search > #public-product-clear { min-height: 44px; border-color: rgb(203, 217, 234); background: rgb(255, 255, 255); color: var(--public-blue); font-size: 13px; }
.public-order-page .public-product-options { border-color: rgb(203, 217, 234); border-radius: 10px; }
.public-order-page .public-products-count { font-size: 13px; color: var(--muted); margin: 18px 0px 12px; }
.public-order-page .public-order-records summary:focus-visible { outline: 2px solid var(--public-blue); outline-offset: 3px; border-radius: 6px; }
.public-order-page .public-product-actions .btn:active, .public-order-page .public-product-search .btn:active { background: rgb(230, 239, 252); }
.public-order-records > details > summary { color: var(--public-ink); font-weight: 500; min-height: 48px; }
@media (max-width: 1023px) {.public-order-header { display: grid; grid-template-columns: minmax(0px, 1fr) auto minmax(0px, 1fr); align-items: center; gap: 12px 8px; }
.public-order-header .brand { margin-bottom: 0px; justify-self: start; grid-area: 1 / 1; gap: 6px; }
.public-order-header .query-hero { display: contents; }
.public-order-header .query-hero h1 { grid-area: 1 / 2; justify-self: center; text-align: center; font-size: 24px; line-height: 1.4; margin: 0px; white-space: nowrap; }
.public-order-header .query-hero p { grid-area: 2 / 1 / auto / -1; margin: 0px; text-align: center; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.public-order-overview .public-product-identity { background: linear-gradient(120deg, rgb(237, 245, 255), rgb(246, 249, 255)); }
.public-order-overview .public-product-production, .public-order-overview .public-product-delivery { border: 1px solid rgb(226, 235, 248); border-radius: 10px; }
.public-order-overview .public-product-delivery { border-color: rgb(220, 236, 231); }
.public-order-overview .public-product-section-heading { font-size: 14px; }}
@media (max-width: 600px) {.public-order-page { padding: 20px 12px 32px; }
.public-order-header .brand img.brand-mark { width: 28px; height: 28px; }
.public-order-header .brand .brand-name { font-size: 18px; }
.public-order-header .brand .brand-sub { font-size: 9px; letter-spacing: 0px; white-space: nowrap; }
.public-order-page .panel-head { padding: 16px; }
.public-order-page .panel-body { padding: 16px; }
.public-order-heading { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 8px; }
.public-order-heading > div { padding: 10px; }
.public-order-heading > div:first-child { grid-column: 1 / -1; }
.public-order-heading h2 { font-size: 22px; }
.public-order-external-value { font-size: 17px; }
.public-summary-counts { gap: 6px; margin: 16px 0px 12px; }
.public-summary-counts > div { padding: 10px 6px; gap: 6px; }
.public-summary-counts span { font-size: 12px; line-height: 1.5; }
.public-summary-counts strong { font-size: 25px; }
.public-order-progress-grid { gap: 10px; }
.public-order-progress-grid > .public-progress { padding: 12px; }
.public-order-progress-grid .public-progress-label { font-size: 13px; }
.public-order-progress-grid .public-progress-label strong { font-size: 20px; }
.public-order-page .public-order-explanation { margin-top: 12px; }
.public-order-overview .public-product-card { border-color: var(--public-frame); }
.public-order-overview .public-product-identity { padding: 14px 12px; }
.public-order-overview .public-product-progress-grid { gap: 12px; }}
.public-order-page .public-order-records .panel-body { padding: 4px 0px 18px; }
@media (max-width: 360px) {.public-order-header .query-hero h1 { font-size: 22px; }}
.bridge-remote-history-layout :is(h4, strong, .small) { overflow-wrap: anywhere; white-space: normal; }
@container remote-manager (max-width: 900px) {
  .bridge-remote-history-layout { grid-template-columns: minmax(0px, 1fr); }
}
.memory-device-id { overflow-wrap: anywhere; max-width: 24rem; }
.memory-computer-root :is([data-memory-feedback], [data-memory-clean-result], [data-memory-clean-reason], [data-memory-update-reason], [data-memory-update-status], [data-memory-startup-reason]):empty { display: none; }
.memory-controls { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--paper,#f7f9fc); min-width: 0px; }
.memory-controls :is(p, h3) { margin: 0px; overflow-wrap: anywhere; }
.memory-action-bar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.memory-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; }
.memory-status-card { display: flex; flex-direction: column; gap: 8px; min-width: 0px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface,#fff); }
.memory-status-card h3 { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 20px; }
.memory-startup-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.memory-startup-row p { flex: 1 1 160px; min-width: 0px; }
@media (max-width: 700px) {.memory-status-grid { grid-template-columns: minmax(0px, 1fr); }
.memory-controls { padding: 12px; }
.memory-action-bar > .btn { flex: 1 1 140px; }}
.memory-summary { padding: 12px 16px; border: 1px solid var(--border,#dfe5ed); border-radius: 12px; background: var(--surface,#fff); }
.memory-commands { white-space: pre-wrap; font-size: 13px; color: var(--muted,#65758b); }
.memory-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; padding: 12px; background: rgb(244, 247, 251); border-radius: 8px; }
.memory-screenshot { display: block; max-width: 100%; height: auto; border: 1px solid rgb(223, 229, 237); border-radius: 8px; margin-top: 12px; }
.memory-path-row { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.memory-path-row .grow { min-width: min(100%, 240px); }
.memory-result { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 780px) {.memory-path-row .field { width: 100%; }}
.memory-network, .memory-connection-ip { overflow-wrap: anywhere; max-width: 20rem; }
.memory-network-adapter + .memory-network-adapter { margin-top: 10px; }
.memory-network-adapter strong { font-size: 13px; }
.memory-network-details { padding: 10px 16px; border: 1px solid var(--border); border-radius: 10px; }
.memory-network-details summary { cursor: pointer; min-height: 24px; }
.memory-network-details [data-memory-network] { margin-top: 8px; }
.order-list-products { max-width: 19rem; white-space: normal; }
.order-list-products-trigger { display: block; max-width: 100%; min-height: 44px; padding: 4px 0px; text-align: left; white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
.order-list-products-table table { table-layout: fixed; width: 100%; white-space: normal; }
.order-list-products-table th, .order-list-products-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.order-list-products-table th:first-child { width: 45%; }
.order-list-products-table th:nth-child(2) { width: 30%; }
.order-list-products-table th:last-child { width: 25%; }
.order-list-product-names { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.order-list-products-popover { position: fixed; inset: auto; margin: 0px; padding: 14px; width: min(640px, -24px + 100vw); max-height: min(440px, 100dvh - 24px); overflow: auto; border: 1px solid var(--border); border-radius: 8px; background: var(--paper,#fff); color: var(--ink); box-shadow: rgba(23, 50, 73, 0.19) 0px 10px 32px; white-space: normal; }
.order-list-products-popover p { margin: 0px 0px 10px; }
.order-list-products-popover .table-wrap { overflow: visible; }
.order-list-products-popover th, .order-list-products-popover td { padding: 9px 12px; }
.order-compact-list .order-list-products-cell { width: 60%; white-space: normal; }
.order-compact-list .order-list-products { max-width: none; width: 100%; }
.order-compact-list .order-list-product-names { display: grid; grid-template-columns: repeat(5, minmax(0px, 1fr)); gap: 8px; align-items: center; }
.order-compact-list .order-list-products-trigger { width: 100%; min-width: 0px; }
.mobile-order-list .order-list-product-names { flex-flow: wrap; gap: 4px 14px; }
.order-custom-list td[data-list-field] { white-space: normal; overflow-wrap: anywhere; min-width: 120px; max-width: 460px; }
.order-expanded-list .order-list-products-cell { min-width: 260px; }
.mobile-order-field { display: grid; gap: 5px; margin-bottom: 12px; overflow-wrap: anywhere; min-width: 0px; }
.mobile-order-field .order-status-percentage { min-width: 0px; max-width: none; }
.mobile-order-field .order-list-products { max-width: 100%; }
@media (max-width: 780px) {.order-expanded-list { display: none; }
.mobile-order-field .order-list-product-names { display: flex; flex-wrap: wrap; }}
#list-fields { border: 0px; padding: 0px; min-width: 0px; }
.order-list-presentation.appearance-compact .order-desktop-list th, .order-list-presentation.appearance-compact .order-desktop-list td { padding: 8px 12px; }
.order-list-presentation.appearance-compact .mobile-order-field { gap: 3px; margin-bottom: 8px; }
.order-list-presentation.appearance-compact .mobile-order-card { padding: 12px; }
.order-list-presentation.appearance-card .order-desktop-list { display: none; }
.order-list-presentation.appearance-card .mobile-order-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; padding: 16px; background: rgb(244, 247, 251); }
.order-list-presentation.appearance-card .mobile-order-card { display: flex; flex-direction: column; min-width: 0px; padding: 18px; border: 1px solid rgb(219, 227, 238); border-radius: 12px; background: rgb(255, 255, 255); color: rgb(37, 42, 52); }
.order-list-presentation.appearance-card .mobile-order-field:first-child { padding-bottom: 12px; border-bottom: 1px solid rgb(231, 237, 245); }
.order-list-presentation.appearance-card .mobile-order-field:first-child > div { font-weight: 600; }
.order-list-presentation.appearance-card .mobile-order-field > div { min-width: 0px; }
.order-list-presentation.appearance-card .order-list-product-names { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.order-list-presentation.appearance-card .order-row-actions { margin-top: auto; padding-top: 12px; border-top: 1px solid rgb(231, 237, 245); }
.order-list-presentation.appearance-card .mobile-order-empty { display: block; }
@media (max-width: 780px) {.order-list-presentation.appearance-card .mobile-order-list { grid-template-columns: minmax(0px, 1fr); padding: 10px; gap: 10px; }}
.order-compact-list .order-list-products[data-product-limit="3"] .order-list-product-names { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
.order-compact-list .order-list-products[data-product-limit="1"] .order-list-product-names { grid-template-columns: minmax(0px, 1fr); }
#list-fields .list-template-settings { display: grid; grid-template-columns: minmax(180px, 240px) minmax(220px, 320px); align-items: start; gap: 12px; }
#list-fields .list-template-settings > .field { margin: 0px; display: grid; gap: 7px; line-height: 20px; min-width: 0px; }
#list-fields .list-template-settings :is(input, select) { box-sizing: border-box; width: 100%; height: 44px; min-height: 44px; margin: 0px; }
@media (max-width: 600px) {#list-fields .list-template-settings { grid-template-columns: minmax(0px, 1fr); }}
@media (max-width: 780px) {.mobile-bottom-nav { bottom: 0px; left: 8px; right: 8px; min-height: 64px; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0px 0px; background: rgb(245, 249, 255); border-color: rgb(200, 218, 245); box-shadow: rgba(29, 85, 149, 0.15) 0px -3px 18px; backdrop-filter: none; }
.mobile-bottom-nav > a, .mobile-bottom-nav > button { min-height: 56px; border-radius: 17px; color: rgb(82, 103, 128); font-size: 11px; }
.mobile-bottom-nav [aria-current="page"] { background: rgb(40, 124, 241); color: rgb(255, 255, 255); font-weight: 600; box-shadow: rgba(40, 124, 241, 0.19) 0px 2px 7px; }
.shell-main { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
:is(.orders-list-content, .order-detail-content) > .page-heading > .actions { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); width: 100%; gap: 8px; }
:is(.orders-list-content, .order-detail-content) > .page-heading > .actions > .btn { width: 100%; min-width: 0px; min-height: 44px; margin: 0px; padding: 8px; font-size: 14px; white-space: nowrap; }
.order-detail-content > .page-heading > .actions > .btn:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
.orders-list-content #order-filter { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 8px; align-items: start; padding: 12px; }
.orders-list-content #order-filter input, .orders-list-content #order-filter select { min-width: 0px; width: 100%; min-height: 44px; margin: 0px; border: 1px solid rgb(216, 223, 233); border-radius: 8px; background: rgb(255, 255, 255); font-size: 16px; padding: 8px; }
.orders-list-content #order-filter input, .orders-list-content #order-filter select[name="shipping_status"] { grid-column: 1 / -1; }
.orders-list-content #order-filter .order-filter-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 0.85fr 1fr; gap: 8px; min-width: 0px; width: 100%; align-items: start; }
.orders-list-content #order-filter .order-filter-actions .btn { display: flex; justify-content: center; align-items: center; width: 100%; min-width: 0px; min-height: 44px; margin: 0px; padding: 8px 4px; font-size: 14px; white-space: nowrap; border-radius: 8px; gap: 4px; }
.orders-list-content #order-filter .order-date-picker { min-width: 0px; width: 100%; margin: 0px; }
.orders-list-content #order-filter .order-date-popover { max-width: calc(-58px + 100vw); box-sizing: border-box; }}
@media (max-width: 780px) {.customer-period-filter :is(#customer-stats-month-label, #customer-stats-quarter-label) { grid-column: 1 / -1; }}
@media (max-width: 780px), (pointer: coarse) and (max-width: 1024px) {:is(#app, #modal) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]), select, textarea) { min-width: 0px; max-width: 100%; font-size: 16px; }
:is(#app, #modal) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]), select) { min-height: 44px; }
:is(#app, #modal) :is(.btn, .text-btn, .tab) { min-height: 44px; }
:is(#app, #modal) :is(.btn, .text-btn) { font-size: 14px; }
:is(#app, #modal) .btn.icon { min-width: 44px; }}
#modal [data-image-retry][hidden] { display: none; }
@media (max-width: 780px) {#customer-list .compact-directory.responsive-table tbody > tr > td:last-child { display: block; padding: 0px 14px 12px; }
#customer-list .compact-directory.responsive-table tbody > tr > td:last-child::before { display: none; }
#customer-list .compact-directory td:last-child .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
#customer-list .compact-directory td:last-child .btn { width: auto; min-height: 44px; padding: 8px 12px; }}
.template-recycle { margin-bottom: 20px; }
.template-recycle .panel-body { display: grid; gap: 16px; min-width: 0px; }
.template-recycle-details { min-width: 0px; }
.template-recycle-details > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.template-recycle-select, .template-recycle-item { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0px; min-width: 0px; }
.template-recycle input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 0px; }
.template-recycle-list { display: grid; gap: 8px; margin-top: 16px; }
.template-recycle-item { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; }
.template-recycle-item span, .template-recycle-names li, .template-recycle .small { overflow-wrap: anywhere; min-width: 0px; }
.template-recycle-names { max-height: 30dvh; overflow: auto; padding-left: 24px; }
.template-recycle .actions { gap: 10px; align-items: center; flex-wrap: wrap; }
.template-recycle .btn { min-height: 44px; white-space: normal; }
.customer-order-stats .customer-order-total { display: block; min-width: 0px; text-decoration: none; background: rgb(244, 248, 255); border-color: rgb(199, 220, 250); overflow-wrap: anywhere; }
.customer-order-stats .customer-order-total span, .customer-order-stats .customer-order-total strong { color: var(--green); }
.customer-order-stats .customer-order-total:hover { background: rgb(234, 242, 255); }
.customer-order-stats .customer-order-total:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Notification retries disappear once queued; .btn display must not override hidden. */
#retry-task-notification[hidden], #retry-after-sales-notification[hidden] { display: none; }
