/* Shared liquid-glass finish. Table headers intentionally retain opaque surfaces. */
:root {
    --lg-panel: rgba(27, 39, 61, .64);
    --lg-card: rgba(37, 52, 76, .48);
    --lg-popover: rgba(23, 34, 54, .96);
    --lg-edge: rgba(220, 236, 255, .19);
    --lg-highlight: rgba(255, 255, 255, .25);
    --lg-shadow: 0 16px 44px rgba(0, 7, 21, .18), inset 0 1px 0 var(--lg-highlight);
    --lg-ink: #eff5ff;
    --lg-muted: #afbed1;
    --lg-field: rgba(8, 19, 35, .48);
    --lg-button: rgba(133, 182, 236, .12);
}
html[data-app-theme="light"] {
    --lg-panel: rgba(255, 255, 255, .66);
    --lg-card: rgba(255, 255, 255, .54);
    --lg-popover: rgba(245, 249, 255, .97);
    --lg-edge: rgba(98, 132, 172, .22);
    --lg-highlight: rgba(255, 255, 255, .9);
    --lg-shadow: 0 14px 40px rgba(61, 93, 132, .09), inset 0 1px 0 var(--lg-highlight);
    --lg-ink: #20334c;
    --lg-muted: #526a85;
    --lg-field: rgba(255, 255, 255, .68);
    --lg-button: rgba(255, 255, 255, .58);
}
html body {
    color: var(--lg-ink);
    background: radial-gradient(ellipse at 8% 0%, rgba(45, 133, 174, .23), transparent 55%), radial-gradient(ellipse at 93% 30%, rgba(103, 91, 170, .2), transparent 50%), linear-gradient(145deg, #101d30, #0a1322 68%, #18253a) !important;
}
html[data-app-theme="light"] body {
    background: radial-gradient(ellipse at 4% 0%, #d7eaf7, transparent 58%), radial-gradient(ellipse at 95% 30%, #e6e1f7, transparent 52%), linear-gradient(145deg, #f3f6fa, #e9f0f6 68%, #f5f8fb) !important;
}
html body::before { background: none; }
html body .menu-shell {
    border: 1px solid var(--lg-edge);
    border-radius: 28px;
    background: var(--lg-panel) !important;
    box-shadow: var(--lg-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
}
html body .app-topbar {
    border: 1px solid var(--lg-edge);
    border-radius: 26px;
    background: var(--lg-panel) !important;
    box-shadow: var(--lg-shadow);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
}
html body :is(.glass-card, .customer-profile-card, .customer-card-toolbar, .router-history-card, .cron-run-item, .launcher-panel) {
    color: var(--lg-ink);
    border-color: var(--lg-edge);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 65%), var(--lg-card) !important;
    box-shadow: 0 7px 22px rgba(0, 10, 30, .06), inset 0 1px 0 var(--lg-highlight);
}
html body .customer-profile-card:hover { transform: translateY(-2px); box-shadow: var(--lg-shadow); }
html body :is(.glass-header, .card-header) {
    color: var(--lg-ink);
    background: rgba(120, 158, 202, .08) !important;
    border-bottom-color: var(--lg-edge);
}
html body :is(.back-button, .monitoring-action, .filter-submit-button, .filter-reset-button, .app-home-link, .app-menu-dropdown > summary, .theme-switch, .customer-action-menu > summary, .table-action-button) {
    color: var(--lg-ink);
    border: 1px solid var(--lg-edge);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), transparent), var(--lg-button);
    box-shadow: inset 0 1px 0 var(--lg-highlight), 0 3px 10px rgba(0, 10, 30, .045);
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
html body :is(.back-button, .monitoring-action, .filter-submit-button, .filter-reset-button):hover {
    color: var(--lg-ink);
    background-color: rgba(93, 169, 241, .2);
    box-shadow: inset 0 1px 0 var(--lg-highlight), 0 5px 16px rgba(26, 100, 167, .12);
}
html body :is(.form-control, .form-select) {
    color: var(--lg-ink);
    background-color: var(--lg-field) !important;
    border-color: var(--lg-edge);
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(0, 8, 24, .04);
}
html body :is(.form-control, .form-select):focus {
    color: var(--lg-ink);
    border-color: #61aff3;
    box-shadow: 0 0 0 3px rgba(65, 151, 231, .16);
}
html body .form-control::placeholder { color: var(--lg-muted); opacity: .85; }
html body :is(.form-label, .menu-heading h1, .customer-card-identity h2, .cron-run-main strong, .cron-run-metric strong) { color: var(--lg-ink); }
html body :is(.form-text, .menu-heading p, .customer-card-summary, .customer-card-footer, .cron-task-item p) { color: var(--lg-muted); }
html body :is(.app-menu-panel, .customer-action-dropdown, .ktp-modal-panel, .customer-search-panel, .profit-print-panel, .pppoe-hover-detail, .pppoe-map-modal-panel) {
    color: var(--lg-ink);
    background: var(--lg-popover) !important;
    border: 1px solid var(--lg-edge);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 10, 30, .28), inset 0 1px 0 var(--lg-highlight);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
}
html body :is(.customer-action-item, .app-menu-panel a) { color: var(--lg-ink); }
html body :is(.customer-action-item, .app-menu-panel a):hover { background: rgba(80, 160, 230, .14); }
html body .customer-action-item.is-danger { color: #f16c80; }
html[data-app-theme="light"] body .customer-action-item.is-danger { color: #bf294b; }
html body .launcher-icon { border-radius: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 9px 22px rgba(0,20,50,.14); }
html body .pppoe-hover-detail.is-open > .pppoe-detail-title { background: var(--lg-popover) !important; }
html body :is(.customer-network-strip, .customer-card-service) { border-color: var(--lg-edge); }
html body .customer-network-strip b { color: var(--lg-ink); }
/* Blur stays on the shell, navigation, and open overlays to limit mobile GPU work. */
@media (max-width: 767.98px) {
    html body .menu-shell { border-radius: 22px; -webkit-backdrop-filter: none; backdrop-filter: none; }
    html body .app-topbar { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
    html body :is(.customer-profile-card, .glass-card, .customer-card-toolbar) { -webkit-backdrop-filter: none; backdrop-filter: none; }
    html body :is(.back-button, .filter-submit-button, .filter-reset-button) { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    html body :is(.back-button, .monitoring-action, .customer-profile-card) { transition: none; transform: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root { --lg-panel: #18263c; --lg-card: #203049; }
    html[data-app-theme="light"] { --lg-panel: #f4f8fc; --lg-card: #ffffff; }
}
/* iOS visual language: neutral grouped surfaces and floating liquid controls. */
:root {
    --lg-panel: rgba(28, 29, 34, .58);
    --lg-card: rgba(53, 54, 61, .52);
    --lg-popover: rgba(37, 38, 44, .94);
    --lg-edge: rgba(255, 255, 255, .13);
    --lg-highlight: rgba(255, 255, 255, .28);
    --lg-ink: #f5f5f7;
    --lg-muted: #ababB3;
    --lg-field: rgba(118, 118, 128, .16);
    --lg-button: rgba(255, 255, 255, .085);
    --lg-accent: #0a84ff;
    --text: var(--lg-ink);
    --muted: var(--lg-muted);
}
html[data-app-theme="light"] {
    --lg-panel: rgba(245, 245, 250, .56);
    --lg-card: rgba(255, 255, 255, .76);
    --lg-popover: rgba(250, 250, 252, .94);
    --lg-edge: rgba(255, 255, 255, .68);
    --lg-highlight: #fff;
    --lg-ink: #1c1c1e;
    --lg-muted: #6c6c74;
    --lg-field: rgba(118, 118, 128, .09);
    --lg-button: rgba(255, 255, 255, .52);
    --lg-accent: #007aff;
}
html body {
    background:
        radial-gradient(ellipse at 7% 8%, rgba(102, 196, 237, .72), transparent 49%),
        radial-gradient(ellipse at 94% 13%, rgba(174, 148, 228, .72), transparent 48%),
        radial-gradient(ellipse at 80% 92%, rgba(228, 157, 151, .48), transparent 49%),
        radial-gradient(ellipse at 12% 82%, rgba(106, 159, 195, .55), transparent 53%),
        linear-gradient(135deg, #536c92, #59658c 48%, #786b88) !important;
    background-attachment: fixed !important;
    -webkit-font-smoothing: antialiased;
}
html[data-app-theme="light"] body {
    background:
        radial-gradient(ellipse at 7% 8%, rgba(156, 222, 249, .95), transparent 49%),
        radial-gradient(ellipse at 94% 13%, rgba(203, 186, 245, .88), transparent 48%),
        radial-gradient(ellipse at 80% 92%, rgba(255, 204, 186, .82), transparent 49%),
        radial-gradient(ellipse at 12% 82%, rgba(179, 224, 233, .82), transparent 53%),
        linear-gradient(135deg, #e1edf9, #e9e4f6 48%, #f6e6e5) !important;
}
html body .menu-shell {
    padding: clamp(18px, 2.3vw, 32px);
    border-color: rgba(255,255,255,.075);
    border-radius: 32px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-app-theme="light"] body .menu-shell { border-color: rgba(255,255,255,.5); }
html body .menu-heading { margin-bottom: 24px; }
html body .menu-heading h1 {
    color: var(--lg-ink) !important;
    font-size: clamp(27px, 2.8vw, 36px);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.15;
    text-shadow: none;
}
html body .menu-heading p { max-width: 680px; margin-top: 8px; font-size: 13px; line-height: 1.6; }
html body .app-topbar {
    min-height: 64px;
    border-radius: 34px;
    background: linear-gradient(165deg, rgba(255,255,255,.12), rgba(255,255,255,.025) 45%, rgba(255,255,255,.065)), var(--lg-panel) !important;
    border-color: var(--lg-edge);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(255,255,255,.075), 0 8px 26px rgba(0,0,0,.12);
}
html body .toolbar-actions { gap: 8px; border: 0; border-radius: 28px; background: transparent !important; box-shadow: none; }
html body :is(.back-button, .app-home-link, .app-menu-dropdown > summary) { font-size: 12px; font-weight: 600; letter-spacing: -.02em; }
html body :is(.back-button, .monitoring-action, .filter-reset-button, .customer-action-menu > summary) {
    color: var(--lg-accent);
    border-color: var(--lg-edge);
    background: linear-gradient(165deg, rgba(255,255,255,.1), transparent 70%), var(--lg-button);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 8px rgba(0,0,0,.04);
    text-shadow: none;
}
html body .filter-submit-button {
    color: #fff;
    background: var(--lg-accent);
    border-color: rgba(255,255,255,.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 12px rgba(0,122,255,.16);
}
html body .filter-submit-button:hover { color: #fff; background: #006ee5; }
html body :is(.glass-card, .customer-profile-card, .customer-card-toolbar, .cron-run-item) {
    border-radius: 24px;
    border-color: var(--lg-edge);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 4px 14px rgba(0,0,0,.045);
}
html[data-app-theme="light"] body :is(.glass-card, .customer-profile-card, .customer-card-toolbar) {
    box-shadow: inset 0 1px 0 #fff, 0 5px 18px rgba(45,45,65,.035);
}
html body .customer-profile-card::before { width: 3px; inset-block: 18px; box-shadow: none !important; }
html body .customer-card-identity h2 { font-weight: 700; letter-spacing: -.025em; }
html body .customer-code { color: var(--lg-muted); font-weight: 600; }
html body .customer-avatar { background: linear-gradient(145deg,#4aa2ff,#007aff); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); border: 0; border-radius: 14px; }
html body .monitoring-badge { border: 0; border-radius: 999px; box-shadow: none; text-shadow: none; letter-spacing: .01em; }
html body .monitoring-badge.is-online { color: #30d158; background: rgba(48,209,88,.12); }
html body .monitoring-badge.is-offline { color: #ff6961; background: rgba(255,69,58,.12); }
html[data-app-theme="light"] body .monitoring-badge.is-online { color: #24883b; }
html[data-app-theme="light"] body .monitoring-badge.is-offline { color: #c5342c; }
html body :is(.form-control, .form-select) { min-height: 44px; border: 1px solid transparent; border-radius: 13px; font-size: 14px; box-shadow: none; }
html body .form-label { font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
html body .form-text { font-size: 11px; line-height: 1.5; }
html body :is(.language-switch, .theme-switch) { border-radius: 999px; background: var(--lg-field); border: 1px solid var(--lg-edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
html body .language-switch a { color: var(--lg-muted); border-radius: 999px; }
html body .language-switch a.is-active { color: var(--lg-ink); background: var(--lg-card); box-shadow: 0 2px 5px rgba(0,0,0,.12); }
html body .app-menu-panel { padding: 10px; border-radius: 28px; }
html body .app-menu-panel a { border: 0; border-radius: 14px; }
html body .app-menu-panel a > i { color: var(--lg-accent); text-shadow: none; }
html body .app-menu-panel a.is-active { color: var(--lg-ink); background: rgba(0,122,255,.12); }
html body .app-menu-panel a small { color: var(--lg-muted); }
html body :is(.customer-action-dropdown, .app-menu-panel) { -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%); }
html body .customer-action-item { padding-block: 12px; border-bottom: 1px solid var(--lg-edge); border-radius: 0; }
html body .customer-action-item:last-child { border-bottom: 0; }
html body .launcher-app { border: 0; background: transparent !important; box-shadow: none; }
html body .launcher-app strong { color: var(--lg-ink); font-size: 13px; font-weight: 600; letter-spacing: -.02em; }
html body .launcher-app small { color: var(--lg-muted); }
html body .launcher-icon { border-radius: 28%; border: 1px solid rgba(255,255,255,.23); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.08), 0 7px 16px rgba(0,0,0,.12); }
html body .launcher-icon.is-cyan { color: #fff; background: linear-gradient(160deg,#53c6ff,#007aff); }
html body .launcher-icon.is-violet { color: #fff; background: linear-gradient(160deg,#cf8cff,#8947df); }
html body .launcher-icon.is-blue { color: #fff; background: linear-gradient(160deg,#77aaff,#3156d8); }
html body .launcher-icon.is-orange { color: #fff; background: linear-gradient(160deg,#ffc15c,#ff8b20); }
html body .launcher-icon.is-green { color: #fff; background: linear-gradient(160deg,#69df8a,#25a749); }
html body .launcher-subapp { background: var(--lg-card); border: 1px solid var(--lg-edge); border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
html body .customer-network-strip i { color: var(--lg-muted); }
html body :is(.glass-header, .card-header) { font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
@media(max-width:767.98px) {
    html body .app-topbar { min-height: 58px; }
    html body .menu-shell { padding: 18px 14px; border-radius: 26px; }
    html body .menu-heading h1 { font-size: 30px; }
    html body .menu-heading { margin-bottom: 20px; }
    html body :is(.glass-card, .customer-profile-card) { border-radius: 22px; }
    html body :is(.form-control, .form-select) { font-size: 16px; }
}
/* Clear glass: reflected edges and translucent layers, without opaque white fills. */
:root { --lg-panel: rgba(23, 30, 47, .34); --lg-card: rgba(43, 52, 72, .33); }
html[data-app-theme="light"] { --lg-panel: rgba(255,255,255,.18); --lg-card: rgba(255,255,255,.25); }
html body .menu-shell {
    background: linear-gradient(125deg,rgba(255,255,255,.13),transparent 32%,rgba(255,255,255,.035) 65%,rgba(255,255,255,.1)),var(--lg-panel) !important;
    border: 1px solid rgba(255,255,255,.38);
    box-shadow: inset 0 2px 1px rgba(255,255,255,.32), inset 1px 0 1px rgba(255,255,255,.18), inset 0 -1px 1px rgba(255,255,255,.12), 0 22px 60px rgba(22,35,68,.14);
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    backdrop-filter: blur(14px) saturate(145%);
}
html body :is(.launcher-panel,.glass-card,.customer-profile-card,.customer-card-toolbar) {
    background: linear-gradient(145deg,rgba(255,255,255,.14),transparent 45%,rgba(255,255,255,.045)),var(--lg-card) !important;
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.42), inset 0 -1px 0 rgba(255,255,255,.07), 0 12px 30px rgba(19,30,55,.12);
}
html[data-app-theme="light"] body :is(.launcher-panel,.glass-card,.customer-profile-card,.customer-card-toolbar) {
    border-color: rgba(255,255,255,.72);
    box-shadow: inset 0 2px 1px rgba(255,255,255,.85), inset 0 -1px 1px rgba(255,255,255,.3), 0 14px 35px rgba(62,78,120,.13);
}
html body .launcher-panel { -webkit-backdrop-filter: blur(12px) saturate(135%); backdrop-filter: blur(12px) saturate(135%); }
html body .launcher-subapp {
    background: linear-gradient(130deg,rgba(255,255,255,.18),rgba(255,255,255,.045)) !important;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 5px 14px rgba(35,50,90,.06);
}
html body .launcher-subapp:hover { background: rgba(255,255,255,.25) !important; }
html body .launcher-icon {
    --icon-tint: 26,149,255;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg,rgba(255,255,255,.45),rgba(255,255,255,.04) 48%,rgba(255,255,255,.16)),rgba(var(--icon-tint),.38) !important;
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: inset 0 2px 2px rgba(255,255,255,.7), inset 0 -2px 3px rgba(var(--icon-tint),.22), 0 12px 22px rgba(var(--icon-tint),.19), 0 4px 10px rgba(26,42,76,.1);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    backdrop-filter: blur(8px) saturate(150%);
}
html body .launcher-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,rgba(255,255,255,.7),transparent 42%,transparent 70%,rgba(255,255,255,.3));
    pointer-events: none;
}
html body .launcher-icon i { position: relative; filter: drop-shadow(0 2px 3px rgba(var(--icon-tint),.5)); }
html body .launcher-icon.is-violet { --icon-tint: 155,73,235; }
html body .launcher-icon.is-blue { --icon-tint: 58,104,235; }
html body .launcher-icon.is-orange { --icon-tint: 255,147,25; }
html body .launcher-icon.is-green { --icon-tint: 40,186,88; }
html body .launcher-app:hover .launcher-icon,html body .launcher-app[aria-expanded="true"] .launcher-icon {
    box-shadow: inset 0 2px 2px rgba(255,255,255,.85), 0 16px 28px rgba(var(--icon-tint),.24), 0 5px 12px rgba(26,42,76,.12);
}
@media(max-width:767.98px) {
    html body .menu-shell { -webkit-backdrop-filter: none; backdrop-filter: none; }
    html body .launcher-panel { -webkit-backdrop-filter: none; backdrop-filter: none; }
    html body .launcher-icon { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media(prefers-reduced-transparency:reduce) {
    html body :is(.menu-shell,.launcher-panel,.glass-card,.customer-profile-card,.customer-card-toolbar) { background: var(--lg-popover) !important; }
}
/* Keep text readable independently of the wallpaper shining through the glass. */
html[data-app-theme="light"] {
    --lg-ink: #142238;
    --lg-muted: #43536a;
    --text: #142238;
    --muted: #43536a;
    --app-text: #142238;
    --app-muted: #43536a;
}
html:not([data-app-theme="light"]) {
    --lg-ink: #ffffff;
    --lg-muted: #e0e7f1;
    --text: #ffffff;
    --muted: #e0e7f1;
    --app-text: #ffffff;
    --app-muted: #e0e7f1;
}
html body :is(.launcher-app strong,.launcher-subapp strong,.launcher-panel-head h2,.customer-card-identity h2,.customer-card-service strong,.customer-code,.menu-heading h1,.form-label,.pppoe-detail-item strong,.customer-search-panel>header h2) {
    color: var(--lg-ink) !important;
}
html body :is(.launcher-app small,.launcher-subapp small,.launcher-panel-head small,.menu-heading p,.form-text,.brand-subtitle,.customer-card-identity>span:last-child,.customer-card-service span,.customer-card-summary,.customer-card-footer,.customer-page-indicator,.pppoe-detail-item span,.customer-filter-field>span,.customer-search-panel>header small) {
    color: var(--lg-muted) !important;
    opacity: 1;
}
html body :is(.launcher-subapp,.launcher-close,.customer-action-menu>summary,.app-menu-panel a,.app-menu-dropdown>summary,.app-home-link) { color: var(--lg-ink) !important; }
html body .launcher-subapp>span { color: #007aff; background: rgba(0,122,255,.12); }
html body .customer-network-strip { color: var(--lg-muted); }
html body .customer-network-strip b { color: var(--lg-ink); }
html body .customer-network-summary :is(strong,b) { color: var(--lg-ink); }
html body .customer-network-summary small { color: var(--lg-muted); }
html body :is(.form-control,.form-select)::placeholder { color: var(--lg-muted); opacity: .85; }
html body .app-menu-panel a small { color: var(--lg-muted) !important; }
html[data-app-theme="light"] body .launcher-icon i { color: #fff; filter: drop-shadow(0 1px 2px rgba(16,40,76,.45)); }
html:not([data-app-theme="light"]) body :is(.launcher-app strong,.launcher-app small,.menu-heading h1,.menu-heading p) { text-shadow: 0 1px 3px rgba(8,18,36,.42); }
/* Native option popovers do not inherit translucent glass reliably. */
html body .form-select option { color: #fff; background: #273348; }
html[data-app-theme="light"] body .form-select option { color: #142238; background: #f5f8fc; }
/* Action labels must not rely on blue against the tinted glass wallpaper. */
html body :is(.back-button,.monitoring-action,.filter-reset-button,.table-action-button,.customer-action-menu>summary,.pppoe-map-button,.profit-print-cancel) {
    color: var(--lg-ink) !important;
    font-weight: 650;
    border-color: var(--lg-edge);
    background: linear-gradient(150deg,rgba(255,255,255,.16),rgba(255,255,255,.04)),rgba(21,31,48,.35);
}
html[data-app-theme="light"] body :is(.back-button,.monitoring-action,.filter-reset-button,.table-action-button,.customer-action-menu>summary,.pppoe-map-button,.profit-print-cancel) {
    background: linear-gradient(150deg,rgba(255,255,255,.62),rgba(255,255,255,.25));
    border-color: rgba(255,255,255,.65);
}
html body :is(.back-button,.monitoring-action,.filter-reset-button,.table-action-button,.customer-action-menu>summary,.pppoe-map-button,.profit-print-cancel) :is(i,span) {
    color: inherit !important;
}
html body :is(.back-button,.monitoring-action,.filter-reset-button,.table-action-button,.pppoe-map-button):hover {
    color: var(--lg-ink) !important;
    background-color: rgba(255,255,255,.18);
}
html body :is(.filter-submit-button,.profit-print-submit) :is(i,span) { color: #fff !important; }
/* Grouped glass tables: shared header plane, quiet dividers, readable surfaces. */
:root {
    --lg-table-bg: rgba(30,38,54,.48);
    --lg-table-stripe: rgba(255,255,255,.035);
    --lg-table-line: rgba(230,238,255,.09);
    --lg-table-head: linear-gradient(110deg,#3c4960,#343e54 55%,#40435a);
    --lg-table-head-ink: #f5f7ff;
    --lg-table-hover: rgba(132,185,244,.12);
}
html[data-app-theme="light"] {
    --lg-table-bg: rgba(255,255,255,.3);
    --lg-table-stripe: rgba(255,255,255,.22);
    --lg-table-line: rgba(48,63,91,.09);
    --lg-table-head: linear-gradient(110deg,#e5edf6,#e2e7f3 55%,#eae4f2);
    --lg-table-head-ink: #1c2c45;
    --lg-table-hover: rgba(255,255,255,.48);
}
html[data-app-theme] body .table-responsive,
html[data-app-theme] body .card-body.table-responsive {
    background: var(--lg-table-bg) !important;
    border: 1px solid var(--lg-edge);
    border-radius: 20px !important;
    clip-path: inset(0 round 20px) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 10px 28px rgba(26,40,70,.08);
    scrollbar-width: thin;
    scrollbar-color: rgba(139,158,185,.6) transparent;
}
html[data-app-theme] body .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--lg-ink);
    --bs-table-striped-bg: var(--lg-table-stripe);
    --bs-table-striped-color: var(--lg-ink);
    --bs-table-hover-bg: var(--lg-table-hover);
    --bs-table-hover-color: var(--lg-ink);
    --bs-table-border-color: var(--lg-table-line);
    color: var(--lg-ink);
    background: transparent !important;
    font-size: 12px;
}
html[data-app-theme] body .table-responsive > table.table > thead,
html[data-app-theme] body .card-body.table-responsive > table.table > thead,
html[data-app-theme] body .table-responsive > table.table > thead::before,
html[data-app-theme] body .card-body.table-responsive > table.table > thead::before {
    background: var(--lg-table-head) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4),0 3px 9px rgba(29,43,65,.09) !important;
    border-radius: 19px 19px 0 0;
}
html[data-app-theme] body .table-responsive > table.table > thead > tr,
html[data-app-theme] body .table-responsive > table.table > thead > tr > th,
html[data-app-theme] body .card-body.table-responsive > table.table > thead > tr > th,
html[data-app-theme] body .customer-table-search.table-responsive > table.table > thead > tr.customer-search-row > th {
    color: var(--lg-table-head-ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--lg-table-line) !important;
    box-shadow: none !important;
}
html[data-app-theme] body .table-responsive > table.table > thead > tr > th {
    padding: 13px 14px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: -.01em;
    text-shadow: none;
}
html[data-app-theme] body .table-responsive > table.table > tbody,
html[data-app-theme] body .table-responsive > table.table > tbody > tr {
    background: transparent !important;
}
html[data-app-theme] body .table-responsive > table.table > tbody > tr > td {
    color: var(--lg-ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--lg-table-line) !important;
    padding: 13px 14px;
    box-shadow: none !important;
    vertical-align: middle;
}
html[data-app-theme] body .table-responsive > table.table > tbody > tr:nth-child(even) > td { background: var(--lg-table-stripe) !important; }
html[data-app-theme] body .table-responsive > table.table > tbody > tr:hover > td { background: var(--lg-table-hover) !important; }
html[data-app-theme] body .table-responsive > table.table > thead :is(.form-control,.form-select) {
    color: var(--lg-table-head-ink) !important;
    background-color: rgba(255,255,255,.09) !important;
    border: 1px solid var(--lg-table-line);
    border-radius: 999px;
    min-height: 36px;
    font-size: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-app-theme="light"] body .table-responsive > table.table > thead :is(.form-control,.form-select) { background-color: rgba(255,255,255,.62) !important; }
html[data-app-theme] body .table-responsive > table.table > thead input::placeholder { color: var(--lg-muted); opacity: 1; }
html[data-app-theme] body .table-responsive::-webkit-scrollbar { width: 7px; height: 7px; }
html[data-app-theme] body .table-responsive::-webkit-scrollbar-track { background: transparent; }
html[data-app-theme] body .table-responsive::-webkit-scrollbar-thumb { background: rgba(139,158,185,.6); border: 1px solid transparent; background-clip: padding-box; border-radius: 999px; }
html[data-app-theme] body .table-responsive::-webkit-scrollbar-corner { background: transparent; }
/* Transparent scrollbar tracks across tables, popovers and document scrolling. */
html[data-app-theme] {
    --lg-scroll-thumb: rgba(220,232,255,.25);
    --lg-scroll-hover: rgba(220,232,255,.48);
}
html[data-app-theme="light"] {
    --lg-scroll-thumb: rgba(47,66,97,.23);
    --lg-scroll-hover: rgba(47,66,97,.43);
}
html[data-app-theme], html[data-app-theme] body,
html[data-app-theme] body * {
    scrollbar-width: thin !important;
    scrollbar-color: var(--lg-scroll-thumb) transparent !important;
}
html[data-app-theme]::-webkit-scrollbar,
html[data-app-theme] body::-webkit-scrollbar,
html[data-app-theme] body *::-webkit-scrollbar { width: 6px !important; height: 6px !important; background: transparent !important; }
html[data-app-theme]::-webkit-scrollbar-track,
html[data-app-theme] body::-webkit-scrollbar-track,
html[data-app-theme] body *::-webkit-scrollbar-track,
html[data-app-theme]::-webkit-scrollbar-corner,
html[data-app-theme] body::-webkit-scrollbar-corner,
html[data-app-theme] body *::-webkit-scrollbar-corner { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html[data-app-theme]::-webkit-scrollbar-thumb,
html[data-app-theme] body::-webkit-scrollbar-thumb,
html[data-app-theme] body *::-webkit-scrollbar-thumb {
    background: var(--lg-scroll-thumb) !important;
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}
html[data-app-theme]::-webkit-scrollbar-thumb:hover,
html[data-app-theme] body::-webkit-scrollbar-thumb:hover,
html[data-app-theme] body *::-webkit-scrollbar-thumb:hover { background-color: var(--lg-scroll-hover) !important; }
@media (forced-colors: active) {
    html[data-app-theme], html[data-app-theme] body, html[data-app-theme] body * { scrollbar-color: auto !important; }
}
/* Unified glass dialogs, including dialogs portalled directly to the body. */
html[data-app-theme] {
    --lg-dialog: rgba(33, 42, 60, .8);
    --lg-dialog-header: rgba(45, 55, 75, .97);
    --lg-dialog-section: rgba(255,255,255,.045);
    --lg-dialog-field: rgba(255,255,255,.04);
    --lg-dialog-dim: rgba(10,18,35,.38);
}
html[data-app-theme="light"] {
    --lg-dialog: rgba(242,247,255,.78);
    --lg-dialog-header: rgba(238,244,253,.97);
    --lg-dialog-section: rgba(255,255,255,.27);
    --lg-dialog-field: rgba(255,255,255,.3);
    --lg-dialog-dim: rgba(29,42,69,.22);
}
html[data-app-theme] body :is(.pppoe-hover-detail,.ktp-modal-panel,.customer-search-panel,.profit-print-panel,.pppoe-map-modal-panel,.modal-content,.swal2-popup) {
    color: var(--lg-ink) !important;
    background: linear-gradient(130deg,rgba(255,255,255,.14),transparent 45%,rgba(255,255,255,.04)),var(--lg-dialog) !important;
    border: 1px solid rgba(255,255,255,.36) !important;
    border-radius: 28px !important;
    box-shadow: inset 0 2px 1px rgba(255,255,255,.3),inset 0 -1px 1px rgba(255,255,255,.1),0 30px 90px rgba(8,18,38,.3) !important;
    -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
    backdrop-filter: blur(24px) saturate(145%) !important;
    overflow-x: hidden !important;
}
html[data-app-theme] body :is(.pppoe-modal-backdrop,.ktp-modal-backdrop,.customer-search-backdrop,.profit-print-backdrop,.pppoe-map-modal-backdrop) {
    background: var(--lg-dialog-dim) !important;
    -webkit-backdrop-filter: blur(9px) !important;
    backdrop-filter: blur(9px) !important;
}
html[data-app-theme] body .swal2-container.swal2-backdrop-show { background: var(--lg-dialog-dim) !important; -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
html[data-app-theme] body .pppoe-hover-detail.is-open > .pppoe-detail-title,
html[data-app-theme] body :is(.ktp-modal-header,.customer-search-panel>header,.profit-print-panel>header,.pppoe-map-modal-panel>header,.modal-header) {
    background: var(--lg-dialog-header) !important;
    color: var(--lg-ink) !important;
    border-bottom: 1px solid var(--lg-edge) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 3px 10px rgba(15,28,48,.05) !important;
}
html[data-app-theme] body :is(.pppoe-detail-title h6,.ktp-modal-header strong,.customer-search-panel h2,.profit-print-panel h2,.pppoe-map-modal-panel header strong,.modal-title,.swal2-title,.swal2-html-container) { color: var(--lg-ink) !important; }
html[data-app-theme] body .pppoe-detail-group {
    background: var(--lg-dialog-section) !important;
    border: 1px solid var(--lg-edge) !important;
    border-radius: 20px;
    padding: 12px !important;
}
html[data-app-theme] body .pppoe-detail-group-body > .pppoe-detail-item {
    background: var(--lg-dialog-field) !important;
    border: 1px solid var(--lg-table-line) !important;
    border-radius: 13px;
    padding: 10px !important;
    min-width: 0;
}
html[data-app-theme] body :is(.pppoe-detail-group-title,.pppoe-detail-group>h7) { color: var(--lg-ink) !important; font-size: 11px; font-weight: 650; letter-spacing: .025em; }
html[data-app-theme] body .pppoe-detail-item span { color: var(--lg-muted) !important; }
html[data-app-theme] body .pppoe-detail-item strong { color: var(--lg-ink) !important; overflow-wrap: anywhere; }
html[data-app-theme] body :is(.pppoe-detail-group-title,.pppoe-detail-title,.pppoe-detail-item span) i { color: var(--lg-accent); }
html[data-app-theme] body :is(.pppoe-detail-close,.ktp-modal-close,.customer-search-panel>header button,.profit-print-panel>header button,.pppoe-map-modal-panel>header button,.swal2-close) {
    color: var(--lg-ink) !important;
    background: var(--lg-dialog-field) !important;
    border: 1px solid var(--lg-edge) !important;
    border-radius: 50% !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
html[data-app-theme] body :is(.customer-search-panel footer,.profit-print-panel footer,.modal-footer,.customer-network-detail-actions,.pppoe-detail-actions,.pppoe-map-modal-panel footer) {
    border-color: var(--lg-edge) !important;
    color: var(--lg-ink);
}
html[data-app-theme] body :is(.customer-search-panel footer,.profit-print-panel footer,.modal-footer) { background: transparent !important; }
html[data-app-theme] body :is(.swal2-confirm,.profit-print-submit,.customer-search-panel button[type="submit"]) { background: var(--lg-accent) !important; color: #fff !important; border-radius: 999px !important; }
html[data-app-theme] body :is(.swal2-cancel,.customer-search-cancel,.profit-print-cancel) { background: var(--lg-dialog-field) !important; color: var(--lg-ink) !important; border: 1px solid var(--lg-edge) !important; border-radius: 999px !important; }
html[data-app-theme] body .profit-print-fields label>span { color: var(--lg-muted); }
html[data-app-theme] body :is(.pppoe-whatsapp-button,.pppoe-map-button) { color: var(--lg-ink); }
@media(max-width:767.98px) {
    html[data-app-theme] body :is(.pppoe-hover-detail,.ktp-modal-panel,.customer-search-panel,.profit-print-panel,.modal-content,.swal2-popup) { -webkit-backdrop-filter: blur(12px) !important; backdrop-filter: blur(12px) !important; border-radius: 24px !important; }
}
/* Detail dialog: fixed frame/header with a separate, inset scrolling body. */
html[data-app-theme] body #customerDetailModal.is-open {
    display: flex !important;
    flex-direction: column;
    width: min(740px,calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: min(86vh,850px) !important;
    max-height: min(86dvh,850px) !important;
    padding: 0 !important;
    overflow: hidden !important;
}
html[data-app-theme] body #customerDetailModal.is-open > .pppoe-detail-title {
    position: relative !important;
    top: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 16px;
    width: 100%;
    margin: 0 !important;
    padding: 17px 22px !important;
    border-radius: 0;
}
html[data-app-theme] body #customerDetailModal .pppoe-detail-title h6 { margin: 0; min-width: 0; line-height: 1.4; }
html[data-app-theme] body #customerDetailModal .pppoe-detail-close { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; margin: 0; padding: 0; }
html[data-app-theme] body #customerDetailModal > .customer-detail-scroll-body {
    display: block !important;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    padding: 18px 20px 22px !important;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    border: 0;
}
html[data-app-theme] body #customerDetailModal .pppoe-detail-group { width: 100%; min-width: 0; margin: 0 0 14px !important; padding: 14px !important; }
html[data-app-theme] body #customerDetailModal .pppoe-detail-group:last-child { margin-bottom: 0 !important; }
html[data-app-theme] body #customerDetailModal .pppoe-detail-group-title { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; line-height: 1.4; }
html[data-app-theme] body #customerDetailModal .pppoe-detail-group-body { gap: 10px; min-width: 0; }
html[data-app-theme] body #customerDetailModal .pppoe-detail-value-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
html[data-app-theme] body #customerDetailModal .pppoe-detail-value-action strong { flex: 1 1 120px; min-width: 0; }
html[data-app-theme] body #customerDetailModal .pppoe-detail-value-action :is(button,a) { flex: 0 0 auto; max-width: 100%; }
html[data-app-theme] body #customerDetailModal .customer-network-detail-actions { flex-wrap: wrap; padding: 12px 0 0; }
html[data-app-theme] body #customerDetailModal .customer-network-detail-actions>* { max-width: 100%; white-space: normal; }
html[data-app-theme] body :is(.ktp-modal-panel,.profit-print-panel,.customer-search-panel,.modal-content) { max-width: calc(100vw - 24px); }
html[data-app-theme] body :is(.payment-modal-panel form,.profit-print-fields,.customer-search-fields) { min-width: 0; }
html[data-app-theme] body :is(.payment-modal-panel form,.profit-print-fields,.customer-search-fields) :is(input,select,textarea) { min-width: 0; max-width: 100%; }
@media(max-width:575.98px) {
    html[data-app-theme] body #customerDetailModal.is-open { width: calc(100vw - 20px) !important; max-width: calc(100vw - 20px) !important; max-height: 90dvh !important; }
    html[data-app-theme] body #customerDetailModal.is-open>.pppoe-detail-title { padding: 14px 16px !important; }
    html[data-app-theme] body #customerDetailModal>.customer-detail-scroll-body { padding: 12px 12px 18px !important; }
    html[data-app-theme] body #customerDetailModal .pppoe-detail-group { padding: 12px !important; }
    html[data-app-theme] body #customerDetailModal .pppoe-detail-group-body { grid-template-columns: minmax(0,1fr); }
}
/* Floating navigation glass, with softer grouping and tactile menu items. */
html[data-app-theme] body .app-menu-panel {
    padding: 14px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255,255,255,.32) !important;
    background: linear-gradient(145deg,rgba(255,255,255,.16),transparent 48%,rgba(255,255,255,.055)),rgba(35,47,70,.88) !important;
    box-shadow: inset 0 2px 1px rgba(255,255,255,.28),0 24px 65px rgba(12,24,48,.28) !important;
    -webkit-backdrop-filter: blur(26px) saturate(145%);
    backdrop-filter: blur(26px) saturate(145%);
}
html[data-app-theme="light"] body .app-menu-panel {
    background: linear-gradient(145deg,rgba(255,255,255,.6),rgba(255,255,255,.1)),rgba(229,237,251,.9) !important;
    box-shadow: inset 0 2px 1px rgba(255,255,255,.9),0 24px 65px rgba(40,57,96,.21) !important;
}
html[data-app-theme] body .app-menu-dropdown[open]>.app-menu-panel { animation: liquidMenuReveal .2s cubic-bezier(.2,.75,.3,1) both; }
@keyframes liquidMenuReveal { from { opacity: 0; translate: 0 -7px; } to { opacity: 1; translate: 0 0; } }
html[data-app-theme] body .app-menu-panel a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    margin: 3px 0;
    padding: 10px 12px;
    border: 1px solid transparent !important;
    border-radius: 17px;
    background: transparent;
    box-shadow: none;
    transition: background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
html[data-app-theme] body .app-menu-panel a>i {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: #9dd4ff;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background: linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.035));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
    filter: none;
}
html[data-app-theme="light"] body .app-menu-panel a>i { color: #186abe; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.48); }
html[data-app-theme] body .app-menu-panel a strong { font-size: 13px; font-weight: 650; letter-spacing: -.015em; line-height: 1.4; }
html[data-app-theme] body .app-menu-panel a small { margin-top: 3px; font-size: 10px; font-weight: 400; line-height: 1.4; }
html[data-app-theme] body .app-menu-panel a:hover {
    background: rgba(255,255,255,.095) !important;
    border-color: rgba(255,255,255,.16) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    transform: none;
}
html[data-app-theme] body .app-menu-panel a.is-active {
    background: linear-gradient(115deg,rgba(105,175,255,.22),rgba(170,172,247,.12)) !important;
    border-color: rgba(180,213,255,.33) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 4px 12px rgba(12,35,70,.07) !important;
}
html[data-app-theme] body .app-menu-panel a.is-active>i { color: #fff; background: linear-gradient(145deg,#56a9ff,#087cf4); border-color: rgba(255,255,255,.35); }
html[data-app-theme="light"] body .app-menu-panel a:hover { background: rgba(255,255,255,.45) !important; }
html[data-app-theme="light"] body .app-menu-panel a.is-active { background: linear-gradient(115deg,rgba(255,255,255,.68),rgba(217,232,255,.6)) !important; }
html[data-app-theme] body .app-menu-section { margin: 18px 12px 7px; color: var(--lg-muted); font-size: 9px; font-weight: 650; letter-spacing: .12em; }
html[data-app-theme] body .app-menu-section:first-child { margin-top: 4px; }
html[data-app-theme] body .app-menu-section::after { background: var(--lg-edge); }
html[data-app-theme] body .app-menu-panel a.is-logout,html[data-app-theme] body .app-menu-panel a.is-logout>i { color: #ff9ba7 !important; }
html[data-app-theme="light"] body .app-menu-panel a.is-logout,html[data-app-theme="light"] body .app-menu-panel a.is-logout>i { color: #b8314b !important; }
@media(prefers-reduced-motion:reduce) { html[data-app-theme] body .app-menu-dropdown[open]>.app-menu-panel { animation: none; } }
/* Shared motion language: light floating accents, stable working surfaces. */
@keyframes liquidPageAppear {
    from { opacity: .15; }
    to { opacity: 1; }
}
@keyframes liquidFloat {
    0%,100% { translate: 0 0; }
    50% { translate: 0 -4px; }
}
@keyframes liquidCardAppear {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
    html body .app-content > main,
    html body .app-content > .container { animation: liquidPageAppear .38s ease-out both; }
    html body .launcher-icon { animation: liquidFloat 7s ease-in-out infinite; }
    html body .launcher-app:nth-child(2) .launcher-icon { animation-delay: -.9s; }
    html body .launcher-app:nth-child(3) .launcher-icon { animation-delay: -1.8s; }
    html body .launcher-app:nth-child(4) .launcher-icon { animation-delay: -2.7s; }
    html body .launcher-app:nth-child(5) .launcher-icon { animation-delay: -3.6s; }
    html body .profit-summary-icon { animation: liquidFloat 8s ease-in-out infinite; }
    html body .profit-summary-card:nth-child(even) .profit-summary-icon { animation-delay: -4s; }
    html body .customer-profile-card { animation: liquidCardAppear .32s ease-out backwards; }
    html body .customer-profile-card:nth-child(3n+2) { animation-delay: .045s; }
    html body .customer-profile-card:nth-child(3n+3) { animation-delay: .09s; }
    html body :is(.customer-profile-card,.launcher-subapp,.profit-summary-card) {
        transition: box-shadow .22s ease,border-color .22s ease,background-color .22s ease;
    }
    html body :is(.back-button,.monitoring-action,.filter-submit-button,.filter-reset-button) {
        transition: translate .18s ease,box-shadow .18s ease,background-color .18s ease;
    }
    html body :is(.back-button,.monitoring-action,.filter-submit-button,.filter-reset-button):active { translate: 0 1px; }
    @media (hover: hover) and (pointer: fine) {
        html body :is(.back-button,.monitoring-action,.filter-submit-button,.filter-reset-button):hover { translate: 0 -2px; }
        html body .profit-summary-card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.4),0 12px 26px rgba(20,40,75,.13); }
        html body .launcher-app:hover .launcher-icon { animation-play-state: paused; }
    }
    @media (max-width:767.98px) {
        html body :is(.launcher-icon,.profit-summary-icon) { animation-duration: 10s; }
        html body .customer-profile-card { animation: liquidPageAppear .25s ease-out backwards; }
    }
}
@media(prefers-reduced-motion:reduce) {
    html body :is(.launcher-icon,.profit-summary-icon,.customer-profile-card,.app-content>main,.app-content>.container) { animation: none !important; translate: none !important; }
}
/* Keep scrollbars inset from the floating frame and obscure underlying text. */
html[data-app-theme] body .app-menu-dropdown .app-menu-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    padding: 10px 6px 10px 10px !important;
    background: linear-gradient(140deg,rgba(255,255,255,.08),transparent 60%),rgba(35,47,67,.985) !important;
    -webkit-backdrop-filter: blur(40px) saturate(145%) !important;
    backdrop-filter: blur(40px) saturate(145%) !important;
}
html[data-app-theme="light"] body .app-menu-dropdown .app-menu-panel {
    background: linear-gradient(140deg,rgba(255,255,255,.3),transparent 60%),rgba(234,240,250,.985) !important;
}
html[data-app-theme] body .app-menu-panel>.app-menu-scroll {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-height: min(72vh - 24px,536px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 3px 7px 5px 2px;
    border-radius: 20px;
}
html[data-app-theme] body .app-menu-scroll .app-menu-section:first-child { margin-top: 5px; }
/* Navigation pills share one baseline and one control height. */
html[data-app-theme] body .app-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
html[data-app-theme] body .app-nav>.app-menu-dropdown {
    display: block;
    margin: 0;
    padding: 0;
    align-self: center;
}
html[data-app-theme] body .app-nav>.app-home-link,
html[data-app-theme] body .app-nav>.app-menu-dropdown>summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    min-height: 38px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 14px;
    line-height: 1;
    font-size: 12px;
    font-weight: 650;
    vertical-align: middle;
}
html[data-app-theme] body .app-nav>.app-home-link>i,
html[data-app-theme] body .app-nav>.app-menu-dropdown>summary>i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    line-height: 1;
}
html[data-app-theme] body .app-nav>.app-home-link>span,
html[data-app-theme] body .app-nav>.app-menu-dropdown>summary>span { line-height: 1; }
/* Launcher submenus need a strong icon silhouette on both glass palettes. */
html[data-app-theme] body .launcher-subapp>span {
    display: grid;
    place-items: center;
    color: #fff !important;
    background: linear-gradient(145deg,#288df0,#0865c8) !important;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36),0 4px 10px rgba(15,72,140,.16);
}
html[data-app-theme] body .launcher-subapp>span>i {
    color: #fff !important;
    opacity: 1;
    font-size: 19px;
    filter: none;
    text-shadow: 0 1px 2px rgba(0,45,100,.2);
}
html[data-app-theme] body .launcher-subapp>i { color: var(--lg-ink); opacity: .9; }
/* Contextual motion: submenu expansion, dialog arrival, and once-only scroll reveal. */
@keyframes liquidPanelEnter {
    from { opacity: 0; translate: 0 10px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes liquidDialogEnter {
    from { opacity: 0; translate: 0 12px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes liquidBackdropEnter { from { opacity: 0; } to { opacity: 1; } }
@media(prefers-reduced-motion:no-preference) {
    html body .launcher-panel:not([hidden]) { animation: liquidPanelEnter .28s cubic-bezier(.2,.75,.3,1) both; }
    html body .launcher-panel:not([hidden]) .launcher-subapp { animation: liquidPanelEnter .3s cubic-bezier(.2,.75,.3,1) backwards; }
    html body .launcher-panel:not([hidden]) .launcher-subapp:nth-child(2) { animation-delay: .035s; }
    html body .launcher-panel:not([hidden]) .launcher-subapp:nth-child(n+3) { animation-delay: .07s; }
    html body .pppoe-hover-detail.is-open,
    html body .ktp-modal.is-open>.ktp-modal-panel,
    html body .customer-search-modal.is-open>.customer-search-panel,
    html body .profit-print-modal.is-open>.profit-print-panel,
    html body .pppoe-map-modal.is-open>.pppoe-map-modal-panel {
        animation: liquidDialogEnter .26s cubic-bezier(.2,.75,.3,1) both;
    }
    html body .pppoe-modal-backdrop,
    html body .ktp-modal.is-open>.ktp-modal-backdrop,
    html body .profit-print-modal.is-open>.profit-print-backdrop,
    html body .customer-search-modal.is-open>.customer-search-backdrop,
    html body .pppoe-map-modal.is-open>.pppoe-map-modal-backdrop {
        animation: liquidBackdropEnter .2s ease-out both;
    }
    html body .liquid-scroll-reveal {
        animation: none !important;
        opacity: 0;
        translate: 0 10px;
        transition: opacity .35s ease-out,translate .35s cubic-bezier(.2,.75,.3,1),box-shadow .2s ease;
    }
    html body .liquid-scroll-reveal.liquid-revealed { opacity: 1; translate: 0 0; }
    html body .pppoe-hover-detail,
    html body .customer-detail-scroll-body,
    html body .app-menu-scroll { scroll-behavior: smooth; }
}
@media(prefers-reduced-motion:reduce) {
    html body .liquid-scroll-reveal { opacity: 1; translate: none; }
}
@media print {
    html body .liquid-scroll-reveal { opacity: 1 !important; translate: none !important; }
    html body *,html body *::before,html body *::after { animation: none !important; transition: none !important; translate: none !important; }
    html body { background: #fff !important; }
    html body .menu-shell { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
}
