:root{--ink:#252525;--muted:#858585;--line:#ececec;--soft-line:#f2f2f2;--red:#d9293d;--orange:#d58a16;--green:#22b969;--bar-green:#44d486;--paper:#fff;--subtle:#f7f7f7;--focus:#315fce;color-scheme:light;font-synthesis:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,Arial,sans-serif}*{box-sizing:border-box}html{background:var(--paper);min-width:320px}body{min-width:320px;min-height:100vh;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;margin:0}body.drawer-open{overflow:hidden}button,select,input{font:inherit}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.dashboard-app{min-height:100vh}.dashboard-header{z-index:50;border-bottom:1px solid var(--line);backdrop-filter:blur(12px);background:#fffffff5;justify-content:space-between;align-items:center;gap:24px;min-height:64px;padding:0 24px;font-size:13px;display:flex;position:sticky;top:0}.dashboard-header-context,.dashboard-header-actions{align-items:center;min-width:0;display:flex}.dashboard-header-context{flex:0 auto;gap:16px}.dashboard-header-divider{background:var(--line);flex:none;width:1px;height:24px}.dashboard-header-title{color:#555a61;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650;overflow:hidden}.dashboard-header .dashboard-header-actions{flex:none;justify-content:flex-end;gap:12px}.dashboard-header .dashboard-switcher button{min-height:0}.dashboard-header .auth-button{min-height:30px}.last-update{color:var(--muted)}.imap-check-history{position:relative}.imap-check-history-trigger{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:4px 2px;display:inline-flex}.imap-check-history-trigger:hover,.imap-check-history-trigger[aria-expanded=true]{color:var(--ink)}.imap-check-history-trigger>span{font-size:var(--text-caption,12px);transition:transform .14s}.imap-check-history-trigger[aria-expanded=true]>span{transform:rotate(180deg)}.imap-check-history-popup{z-index:60;border:1px solid var(--line);background:var(--paper);border-radius:12px;width:min(360px,100vw - 32px);position:absolute;top:calc(100% + 14px);right:0;overflow:hidden;box-shadow:0 18px 50px #1e1e1e29}.imap-check-history-popup>header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:start;gap:16px;padding:16px 16px 13px;display:flex}.imap-check-history-popup>header div{gap:3px;display:grid}.imap-check-history-popup>header strong{color:var(--ink);font-size:14px}.imap-check-history-popup>header small{color:var(--muted);font-size:var(--text-caption,12px)}.imap-check-history-popup>header button{color:#666;background:var(--subtle);cursor:pointer;border:0;border-radius:7px;flex:none;width:26px;height:26px;font-size:18px;line-height:1}.imap-check-history-popup ol{max-height:360px;margin:0;padding:5px 0;list-style:none;overflow-y:auto}.imap-check-history-popup li{border-bottom:1px solid var(--soft-line);grid-template-columns:auto auto 1fr;align-items:center;gap:9px;min-height:43px;padding:8px 16px;display:grid}.imap-check-history-popup li:last-child{border-bottom:0}.imap-check-history-popup time{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:650}.imap-check-success{color:#137a45;font-size:var(--text-caption,12px);background:#eaf8f0;border-radius:999px;padding:2px 6px;font-weight:700}.imap-check-history-popup li small{color:var(--muted);font-size:var(--text-caption,12px);text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.imap-check-history-state{color:var(--muted);text-align:center;font-size:var(--text-caption,12px);margin:0;padding:24px 16px}.imap-check-history-state.is-error{color:var(--red)}.dashboard-switcher{color:var(--ink);text-align:left;flex:none;font-size:12px;display:inline-flex;position:relative}.dashboard-switcher.is-open{z-index:40}.dashboard-switcher-trigger{min-width:0;height:38px;color:var(--ink);background:var(--paper);cursor:pointer;text-align:left;border:1px solid #dedede;border-radius:9px;align-items:center;gap:9px;padding:0 10px;transition:border-color .12s,background-color .12s,box-shadow .12s;display:inline-flex}.dashboard-switcher-trigger:hover,.dashboard-switcher.is-open .dashboard-switcher-trigger{background:var(--subtle);border-color:#cacaca}.dashboard-switcher.is-open .dashboard-switcher-trigger{box-shadow:0 4px 14px #1c1c1c14}.dashboard-switcher-menu-icon{border-top:1.5px solid;border-bottom:1.5px solid;flex:none;width:15px;height:12px;position:relative}.dashboard-switcher-menu-icon:after{content:"";border-top:1.5px solid;position:absolute;top:4px;left:0;right:0}.dashboard-switcher-trigger-copy{gap:1px;min-width:0;display:grid}.dashboard-switcher-trigger-kicker,.dashboard-switcher-panel-kicker{color:var(--muted);font-size:var(--text-caption,12px);letter-spacing:.08em;font-weight:700;line-height:1}.dashboard-switcher-trigger-label{max-width:210px;font-size:var(--text-caption,12px);text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.2;overflow:hidden}.dashboard-switcher-chevron{border-bottom:1.5px solid #777;border-right:1.5px solid #777;flex:none;width:7px;height:7px;margin:-3px 2px 0 0;transition:transform .12s;transform:rotate(45deg)}.dashboard-switcher.is-open .dashboard-switcher-chevron{margin-top:3px;transform:rotate(225deg)}.dashboard-switcher-panel[hidden],.dashboard-switcher-backdrop[hidden],.dashboard-switcher-backdrop{display:none}.dashboard-switcher-panel{border:1px solid var(--line);background:var(--paper);border-radius:12px;width:294px;max-height:min(520px,100vh - 76px);position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 16px 44px #1a1a1a29}.dashboard-switcher-panel:focus{outline:none}.dashboard-switcher-panel-header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;padding:15px 16px 12px;display:flex}.dashboard-switcher-panel-header>div{gap:4px;display:grid}.dashboard-switcher-panel-header h2{letter-spacing:-.02em;margin:0;font-size:15px}.dashboard-switcher-close{border:1px solid var(--line);color:#5b5b5b;background:var(--paper);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:20px;line-height:1;display:none}.dashboard-switcher-navigation{padding:8px}.dashboard-switcher-list,.dashboard-switcher-sublist{margin:0;padding:0;list-style:none}.dashboard-switcher-list{gap:2px;display:grid}.dashboard-switcher-link{color:#3e3e3e;border-radius:8px;align-items:center;gap:10px;min-height:42px;padding:9px 10px;font-size:12px;font-weight:650;text-decoration:none;display:flex}.dashboard-switcher-link:hover{color:var(--ink);background:var(--subtle)}.dashboard-switcher-link:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.dashboard-switcher-link-marker{border:1.5px solid #b1b1b1;border-radius:50%;flex:none;width:7px;height:7px}.dashboard-switcher-link.is-current{color:#a51e2f;background:#d9293d12}.dashboard-switcher-link.is-current .dashboard-switcher-link-marker{border-color:var(--red);background:var(--red);box-shadow:0 0 0 3px #d9293d17}.dashboard-switcher-list>.is-section-current>.dashboard-switcher-link:not(.is-current) .dashboard-switcher-link-marker{border-color:#d9293d8c}.dashboard-switcher-current-label{color:var(--red);background:var(--paper);font-size:var(--text-caption,12px);border-radius:999px;margin-left:auto;padding:2px 6px;font-weight:700}.dashboard-switcher-sublist{gap:2px;margin:1px 0 4px 18px;padding-left:13px;display:grid;position:relative}.dashboard-switcher-sublist:before{background:var(--line);content:"";width:1px;position:absolute;top:0;bottom:0;left:0}.dashboard-switcher-link.is-child{color:#666;min-height:36px;font-size:var(--text-caption,12px);padding-top:7px;padding-bottom:7px}.dashboard-switcher-link.is-child .dashboard-switcher-link-marker{width:5px;height:5px}.app-summary{color:var(--muted)}.app-summary>i{background:var(--red);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #d9293d14}.app-summary>strong{color:var(--red);font-size:12px}.refresh-button{color:#555;background:var(--paper);cursor:pointer;min-height:30px;font-size:var(--text-caption,12px);border:1px solid #dedede;border-radius:7px;margin-left:4px;padding:0 10px}.refresh-button:hover:not(:disabled){background:var(--subtle)}.refresh-button:disabled{cursor:wait;opacity:.6}.auth-account{border-left:1px solid var(--line);align-items:center;gap:7px;min-width:0;margin-left:4px;padding-left:12px;display:flex}.auth-avatar{color:#fff;width:26px;height:26px;font-size:var(--text-caption,12px);background:#343434;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.auth-avatar.kiosk{background:var(--red)}.auth-user{color:#555;max-width:170px;font-size:var(--text-caption,12px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.auth-button{min-height:30px;font-size:var(--text-caption,12px);white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;padding:0 11px;font-weight:650;text-decoration:none;display:inline-flex}.auth-login{color:#fff;background:#303030;margin-left:4px}.auth-login:hover{background:#171717}.auth-logout{color:#555;cursor:pointer;background:#fff;border:1px solid #dedede}.auth-logout:hover{background:var(--subtle)}.auth-checking{background:linear-gradient(90deg,#f2f2f2,#fafafa,#f2f2f2) 0 0/200% 100%;border-radius:7px;width:64px;height:28px;margin-left:4px;animation:1.2s linear infinite auth-loading}@keyframes auth-loading{to{background-position:-200% 0}}.login-page{background:radial-gradient(circle at 12% 20%,#d9293d17,#0000 28rem),#f4f5f7;place-items:center;min-height:100vh;padding:36px 24px;display:grid}.login-card{background:var(--paper);border-radius:24px;grid-template-columns:minmax(280px,.9fr) minmax(390px,1.1fr);width:min(920px,100%);min-height:540px;display:grid;overflow:hidden;box-shadow:0 28px 70px #1d212824}.login-visual{color:#fff;background:radial-gradient(circle at 100% 100%,#d9293d59,#0000 18rem),#242529;flex-direction:column;justify-content:center;gap:18px;padding:48px;display:flex}.login-brand-mark{background:var(--red);border-radius:15px;place-items:center;width:54px;height:54px;font-size:13px;font-weight:800;display:grid;box-shadow:0 12px 28px #d9293d52}.login-visual p,.login-visual strong,.login-visual small{margin:0;display:block}.login-visual p{color:#ffffff8c;font-size:var(--text-caption,12px);letter-spacing:.16em}.login-visual strong{letter-spacing:-.04em;margin-top:8px;font-size:28px}.login-visual small{color:#ffffff94;max-width:260px;line-height:1.7}.login-content{flex-direction:column;justify-content:center;padding:54px clamp(36px,6vw,72px);display:flex}.login-eyebrow{color:var(--red);font-size:var(--text-caption,12px);letter-spacing:.13em;margin:0 0 14px;font-weight:750}.login-content h1{letter-spacing:-.045em;margin:0;font-size:clamp(28px,4vw,38px)}.login-description,.login-help{color:var(--muted);line-height:1.6}.microsoft-login,.login-content form button{color:#fff;cursor:pointer;background:#303030;border:0;border-radius:9px;justify-content:center;align-items:center;width:100%;min-height:44px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.microsoft-login:hover,.login-content form button:hover:not(:disabled){background:#171717}.login-divider{color:var(--muted);font-size:var(--text-caption,12px);align-items:center;gap:12px;margin:25px 0 19px;display:flex}.login-divider:before,.login-divider:after{background:var(--line);content:"";flex:1;height:1px}.login-content form{gap:9px;display:grid}.login-content form label{color:#555;font-size:12px;font-weight:650}.login-content form input{background:#fff;border:1px solid #d9dadd;border-radius:9px;width:100%;height:44px;padding:0 13px}.login-token-field{position:relative}.login-token-field input{padding-right:58px}.login-content form .login-token-field button{color:#555;width:50px;min-height:36px;font-size:var(--text-caption,12px);background:#f2f2f3;border-radius:7px;margin:0;position:absolute;top:4px;right:4px}.login-content form .login-token-field button:hover{background:#e6e6e8}.login-content form button{background:var(--red);margin-top:3px}.login-content form button:hover:not(:disabled){background:#ba2133}.login-content form button:disabled{cursor:wait;opacity:.62}.login-error{color:var(--red);margin:12px 0 0;font-size:12px}.login-help{font-size:var(--text-caption,12px);margin:14px 0 0}@media (width<=720px){.login-card{grid-template-columns:1fr}.login-visual{min-height:190px;padding:32px}.login-content{padding:40px 30px}}.dashboard-content{width:min(1080px,100%);margin:auto;padding:28px 30px 60px}.device-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:42px;margin-bottom:7px;font-size:13px;display:flex}.toolbar-heading{align-items:center;gap:12px;display:flex}.view-switch{background:#f1f2f3;border-radius:8px;padding:2px;display:inline-flex}.view-switch button{min-width:48px;height:25px;color:var(--muted);cursor:pointer;font-size:var(--text-caption,12px);background:0 0;border:0;border-radius:6px;padding:0 10px}.view-switch button.active{color:var(--ink);background:var(--paper);font-weight:650;box-shadow:0 1px 3px #0000001a}.device-filter-fields{gap:10px;display:flex}.device-filter-fields label,.alert-sort{color:var(--muted);font-size:var(--text-caption,12px)}select{color:var(--ink);cursor:pointer;background:0 0;border:0;margin-left:5px;font-size:12px}.device-list{width:100%}.device-row{width:100%;height:66px;color:inherit;background:var(--paper);text-align:left;cursor:pointer;border:0;border-bottom:1px solid #f0f0f0;grid-template-columns:92px minmax(120px,1fr) minmax(240px,480px);align-items:center;gap:16px;padding:0 4px;display:grid}.device-row:hover{background:#fafafa}.status-badge{color:#fff;width:76px;height:28px;font-size:var(--text-caption,12px);border-radius:999px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.alert{background:var(--red)}.watch{background:var(--orange)}.clear{background:var(--green)}.device-name{text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:650;overflow:hidden}.device-name small{color:#aaa;font-size:var(--text-caption,12px);font-weight:500}.store-identity{white-space:nowrap;min-width:0;line-height:1.15;overflow:hidden}.store-identity span{font-size:17px;font-weight:700}.store-identity small{color:#777;font-size:14px;font-weight:600}.store-identity em{color:var(--muted);font-size:var(--text-caption,12px);text-overflow:ellipsis;margin-top:5px;font-style:normal;font-weight:500;display:block;overflow:hidden}.timeout-bars{grid-template-columns:repeat(24,minmax(0,1fr));align-items:end;height:43px;padding-top:13px;display:grid;position:relative}.timeout-bars>.bar-scale{z-index:3;color:var(--muted);font-size:var(--text-caption,12px);white-space:nowrap;font-weight:400;line-height:10px;position:absolute;top:0;transform:translate(-50%)}.timeout-bars i{z-index:2;background:#dfe4e7;border-radius:5px 5px 1px 1px;justify-self:center;width:8px;min-height:1px}.timeout-bars i.alert{background:var(--red)}.timeout-bars i.watch{background:var(--orange)}.business-marker{z-index:1;pointer-events:none;border-left:1px solid #9ba4aa;width:0;position:absolute;top:13px;bottom:0}.business-marker em{color:#747d83;background:var(--paper);font-size:var(--text-caption,12px);white-space:nowrap;padding:0 3px;font-style:normal;font-weight:600;line-height:10px;position:absolute;top:-13px;left:0;transform:translate(-50%)}.timeout-bars i.clear{background:var(--bar-green)}.dashboard-note{color:var(--muted);font-size:var(--text-caption,12px);margin:14px 0;line-height:1.6}.notice{color:#766022;font-size:var(--text-caption,12px);background:#fff8df;border-radius:7px;margin:0 0 10px;padding:8px 10px}.loading-state,.empty-state{min-height:180px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:12px;display:flex}.empty-state strong{color:#555;font-size:13px}.error-state{color:#9e2634;background:#fff8f8;border:1px solid #d9293d33;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:52px;margin-top:12px;padding:10px 12px;font-size:12px;display:flex}.error-state button{color:inherit;cursor:pointer;background:#fff;border:1px solid #d9293d4d;border-radius:6px;flex:none;padding:6px 10px}.drawer-layer{z-index:10;position:fixed;inset:0}.drawer-backdrop{cursor:default;background:#0000002e;border:0;width:100%;height:100%;position:absolute;inset:0}.device-drawer{background:var(--paper);width:min(760px,100vw);height:100vh;padding:24px 28px 38px;animation:.16s ease-out drawer-in;position:absolute;inset:0 0 0 auto;overflow:auto;box-shadow:-12px 0 44px #00000026}@keyframes drawer-in{0%{opacity:0;transform:translate(20px)}}@media (prefers-reduced-motion:reduce){.device-drawer,.auth-checking{animation:none}}.drawer-header{justify-content:space-between;align-items:start;display:flex}.drawer-header p{color:var(--muted);font-size:var(--text-caption,12px);margin:0 0 6px}.drawer-header h2{margin:0;font-size:22px}.drawer-header h2 small{color:#999;font-size:12px;font-weight:500}.close-button{color:#555;cursor:pointer;background:#f3f3f3;border:0;border-radius:8px;width:32px;height:32px;font-size:21px;line-height:1}.machine-summary{gap:10px;margin:20px 0 14px;display:flex}.store-summary{flex-wrap:wrap}.store-readonly-panel{border:1px solid #eceeef}.machine-summary>span{border:1px solid var(--line);border-radius:9px;min-width:110px;padding:9px 12px;font-size:12px}.machine-summary small{color:var(--muted);font-size:var(--text-caption,12px);margin-bottom:4px;display:block}.machine-summary b{color:#fff;font-size:var(--text-caption,12px);border-radius:999px;padding:3px 8px;display:inline-flex}.reset-panel{background:var(--subtle);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:10px 12px;display:flex}.reset-panel p{color:#555;font-size:var(--text-caption,12px);margin:0;line-height:1.5}.reset-panel p small{color:var(--muted);font-size:var(--text-caption,12px);display:block}.reset-panel button{color:#fff;cursor:pointer;font-size:var(--text-caption,12px);background:#333;border:0;border-radius:7px;flex:none;padding:7px 11px}.reset-panel button:disabled{cursor:wait;opacity:.65}.reset-panel .reset-error{color:var(--red);font-size:var(--text-caption,12px)}.drawer-toolbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:15px;padding:12px 0;display:flex}.filter-menus{gap:10px;display:flex;position:relative}.filter-menus details{position:relative}.filter-menus summary{color:#444;cursor:pointer;font-size:var(--text-caption,12px);white-space:nowrap;border:1px solid #dedede;border-radius:7px;padding:7px 27px 7px 10px;list-style:none;position:relative}.filter-menus summary::-webkit-details-marker{display:none}.filter-menus summary:after{content:"⌄";color:#888;position:absolute;right:9px}.filter-menu{z-index:5;background:#fff;border:1px solid #ddd;border-radius:8px;min-width:155px;padding:7px;position:absolute;top:36px;left:0;box-shadow:0 8px 20px #0000001f}.filter-menu label{font-size:var(--text-caption,12px);white-space:nowrap;padding:5px 4px;display:block}.filter-menu input{accent-color:#333;margin:0 6px 0 0}.alert-sort{white-space:nowrap;padding-bottom:2px}.alert-list{margin-top:13px}.alert-list-head,.alert-item>button{grid-template-columns:minmax(0,1fr) 86px 70px;align-items:center;gap:10px;width:100%;display:grid}.alert-list-head{color:var(--muted);font-size:var(--text-caption,12px);padding:0 10px 7px}.alert-list-head span:nth-child(n+2){text-align:right}.alert-item{border-bottom:1px solid var(--line)}.alert-item>button{color:inherit;text-align:left;cursor:pointer;background:#fff;border:0;padding:12px 10px}.alert-item>button:hover{background:#fafafa}.alert-item code{color:#444;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--text-caption,12px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.alert-item time,.alert-item strong{text-align:right;font-size:var(--text-caption,12px)}.alert-item strong{color:var(--red)}.alert-source{background:var(--subtle);border-radius:8px;margin:0 10px 13px;padding:13px}.alert-source h3{font-size:var(--text-caption,12px);margin:0 0 10px}.alert-source dl{grid-template-columns:1fr 1fr;gap:7px 18px;margin:0;display:grid}.alert-source dl div:nth-child(3){grid-column:1/-1}.alert-source dt{color:var(--muted);font-size:var(--text-caption,12px);margin-bottom:2px}.alert-source dd{overflow-wrap:anywhere;font-size:var(--text-caption,12px);margin:0}.store-name-tag{color:#315fce;white-space:nowrap;background:#edf3ff;border-radius:999px;margin-left:6px;padding:1px 6px;font-weight:650;display:inline-flex}.alert-source dl div:nth-child(3) dd{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.drawer-empty{color:var(--muted);text-align:center;font-size:var(--text-caption,12px);padding:32px 10px}@media (width>=681px) and (width<=900px){.dashboard-content{padding-left:24px;padding-right:24px}.device-row{grid-template-columns:92px minmax(120px,1fr) minmax(180px,1.6fr);gap:12px}.timeout-bars i{width:6px}}@media (width<=680px){.imap-check-history,.last-update{display:none}.refresh-button{color:#0000;flex:none;width:30px;height:30px;min-height:30px;padding:0;font-size:0;line-height:1;overflow:hidden}.refresh-button:after{content:"↻";color:#555;font-size:16px}.auth-account{padding-left:8px}.auth-user{display:none}.auth-button{min-height:28px;padding:0 9px}.dashboard-content{padding:20px 18px 40px}.device-toolbar{margin-bottom:4px}.toolbar-heading{gap:6px}.view-switch button{min-width:38px;font-size:var(--text-caption,12px);padding:0 7px}.device-filter-fields{gap:2px}.device-row{grid-template-columns:68px minmax(0,160px) minmax(105px,1fr);gap:8px;height:60px}.status-badge{width:61px;height:25px;font-size:var(--text-caption,12px)}.device-name{font-size:14px}.store-identity span{font-size:13px}.store-identity small{font-size:var(--text-caption,12px);text-overflow:ellipsis;display:block;overflow:hidden}.store-identity em{font-size:var(--text-caption,12px);margin-top:3px}.timeout-bars{grid-template-columns:repeat(24,minmax(0,1fr))}.timeout-bars i{width:clamp(3px,.8vw,5px)}.business-marker em{display:none}.device-drawer{padding:20px 16px 32px}.machine-summary{gap:6px}.machine-summary>span{min-width:0;font-size:var(--text-caption,12px);flex:1;padding:8px}.drawer-toolbar{align-items:start}.filter-menus{flex-wrap:wrap;gap:6px}.filter-menus summary{font-size:var(--text-caption,12px);padding-left:8px}.alert-list-head,.alert-item>button{grid-template-columns:minmax(0,1fr) 48px 60px;gap:6px}.alert-source dl{grid-template-columns:1fr}.alert-source dl div:nth-child(3){grid-column:auto}}@keyframes dashboard-switcher-drawer-in{0%{opacity:0;transform:translate(-18px)}}@media (width<=720px){body.dashboard-navigation-open{overflow:hidden}.dashboard-header{gap:8px;min-height:56px;padding:0 12px}.dashboard-header-context{gap:8px}.dashboard-header-divider,.dashboard-header-title{display:none}.dashboard-header .dashboard-header-actions{gap:7px}.dashboard-header .auth-button{min-height:28px}.dashboard-switcher.is-open{z-index:1000}.dashboard-switcher-trigger{gap:8px;height:34px;padding:0 9px}.dashboard-switcher-trigger-kicker{display:none}.dashboard-switcher-trigger-label{max-width:min(34vw,150px);font-size:var(--text-caption,12px)}.dashboard-switcher-backdrop{z-index:1;cursor:default;background:#14141457;border:0;width:100vw;height:100dvh;display:block;position:fixed;inset:0}.dashboard-switcher-panel{z-index:2;border:0;border-right:1px solid var(--line);overscroll-behavior:contain;border-radius:0;width:min(360px,88vw);height:100dvh;max-height:none;animation:.16s ease-out dashboard-switcher-drawer-in;position:fixed;top:0;bottom:0;left:0;box-shadow:14px 0 46px #1313132e}.dashboard-switcher-panel-header{min-height:66px;padding:14px 16px}.dashboard-switcher-panel-header h2{font-size:17px}.dashboard-switcher-close{display:inline-flex}.dashboard-switcher-navigation{padding:10px}.dashboard-switcher-link{min-height:48px;padding:11px 12px;font-size:13px}.dashboard-switcher-link.is-child{min-height:42px;font-size:12px}}@media (width<=560px){.dashboard-switcher-trigger-copy,.dashboard-switcher-chevron{display:none}.dashboard-switcher-trigger{justify-content:center;width:34px;padding:0}}@media (prefers-reduced-motion:reduce){.dashboard-switcher-panel,.dashboard-switcher-chevron,.dashboard-switcher-trigger{transition:none;animation:none}}:root{--text-caption:12px;--text-body:14px;--ink:#253044;--muted:#657186;--line:#e1e6ed;--soft-line:#edf0f4;--paper:#fff;--subtle:#f5f7fa;--focus:#315fce;--action:#253f72;--action-soft:#edf2fb;--page-gutter:28px;--page-width:1280px;--sidebar-width:248px;--radius-control:8px;--radius-panel:12px}body.workspace-layout{padding-left:var(--sidebar-width);background:var(--subtle);font-size:var(--text-body);line-height:1.5}body.workspace-layout:has(.workspace-navigation[data-collapsed=true]){--sidebar-width:76px}#workspace-content{outline:none;min-width:0}body.workspace-layout :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--focus);outline-offset:3px}body.workspace-layout button:disabled{cursor:not-allowed}body.workspace-layout :is(input,select,textarea){accent-color:var(--action)}.workspace-sidebar{z-index:55;width:var(--sidebar-width);border-right:1px solid var(--line);background:var(--paper);flex-direction:column;height:100dvh;display:flex;position:fixed;inset:0 auto 0 0}.workspace-brand{border-bottom:1px solid var(--line);align-items:center;gap:8px;min-height:72px;padding:0 16px;display:flex}.workspace-brand>a{min-width:0;color:var(--ink);flex:1;align-items:center;gap:10px;text-decoration:none;display:flex}.workspace-brand-mark{background:var(--action);color:#fff;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;font-size:19px;font-weight:800;display:grid}.workspace-brand-copy{white-space:nowrap;display:grid}.workspace-brand-copy strong{letter-spacing:-.02em;font-size:15px}.workspace-brand-copy small{color:var(--muted);font-size:12px}body.workspace-layout :is(.workspace-collapse,.workspace-mobile-close,.workspace-menu-toggle){border:1px solid var(--line);background:var(--paper);width:36px;min-height:36px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;font-size:24px;display:grid}body.workspace-layout .workspace-mobile-close,body.workspace-layout .workspace-menu-toggle{display:none}.workspace-nav{overscroll-behavior:contain;scrollbar-width:thin;flex:1;padding:20px 12px;overflow-y:auto}.workspace-nav-group+.workspace-nav-group{margin-top:24px}.workspace-nav-group h2{color:var(--muted);margin:0 10px 8px;font-size:12px;font-weight:600}.workspace-nav ul{margin:0;padding:0;list-style:none}.workspace-nav li+li{margin-top:3px}.workspace-nav :is(a,summary){color:#48546a;cursor:pointer;border-radius:8px;align-items:center;gap:10px;min-height:40px;padding:8px 10px;font-size:13px;font-weight:550;text-decoration:none;display:flex}.workspace-nav :is(a,summary):hover{background:var(--subtle);color:var(--ink)}.workspace-nav summary{list-style:none}.workspace-nav summary::-webkit-details-marker{display:none}.workspace-nav-abbr{border:1px solid var(--line);width:22px;height:22px;color:var(--muted);background:#fff;border-radius:6px;flex:none;place-items:center;font-size:12px;display:grid}.workspace-nav-label{flex:1}.workspace-nav-chevron{color:var(--muted)}.workspace-nav details[open]>summary .workspace-nav-chevron{transform:rotate(180deg)}.workspace-nav-section>ul{border-left:1px solid var(--line);margin-left:20px;padding:4px 0 4px 22px}.workspace-nav-section>ul a{min-height:36px;font-size:13px}.workspace-nav a[aria-current=page]{background:var(--action-soft);color:var(--action);font-weight:700}.workspace-nav a[aria-current=page] .workspace-nav-abbr{color:var(--action);border-color:#c5d3ed}.workspace-nav-section:has([aria-current=page])>summary{color:var(--action);font-weight:700}.workspace-nav-footer{border-top:1px solid var(--line);color:var(--muted);white-space:nowrap;padding:16px;font-size:12px}.workspace-nav-backdrop{display:none}.workspace-skip{z-index:300;color:var(--action);border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px 20px;position:fixed;top:-100px;left:16px}.workspace-skip:focus{top:12px}@media (width>=1024px){.workspace-navigation[data-collapsed=true] :is(.workspace-brand-copy,.workspace-nav-label,.workspace-nav-chevron,.workspace-nav-footer,.workspace-nav-group h2,.workspace-nav-section>ul){display:none}.workspace-navigation[data-collapsed=true] .workspace-brand{flex-direction:column;gap:8px;padding:12px 0}.workspace-navigation[data-collapsed=true] .workspace-brand>a{flex:none}.workspace-navigation[data-collapsed=true] .workspace-collapse{width:32px;height:28px;min-height:28px}.workspace-navigation[data-collapsed=true] .workspace-nav{padding-inline:10px}.workspace-navigation[data-collapsed=true] .workspace-nav :is(a,summary){justify-content:center;padding-inline:8px}.workspace-navigation[data-collapsed=true] .workspace-nav-section:has([aria-current=page])>summary{background:var(--action-soft)}}body.workspace-layout .dashboard-header{min-height:72px;padding:12px var(--page-gutter);background:var(--paper);backdrop-filter:none;flex-wrap:wrap;gap:16px}body.workspace-layout .dashboard-header-context{gap:12px}body.workspace-layout .dashboard-header-module{color:var(--muted);font-size:13px;font-weight:500}body.workspace-layout .dashboard-header-title{color:var(--ink);font-size:14px;font-weight:650}body.workspace-layout .dashboard-header-actions{flex-wrap:wrap;gap:10px;min-width:0}body.workspace-layout :is(.dashboard-content,.smartit-workspace,.threads-shell,.maps-content,.bpm-live-wrap,.line-classification-review,.line-report-shell){width:100%;max-width:var(--page-width);padding:28px var(--page-gutter) 48px;margin-inline:auto}body.workspace-layout :is(.networking-shell,.line-problems-content,.sentiment-content,.line-debugging-shell){padding:24px var(--page-gutter) 48px}body.workspace-layout :is(.llm-audit-intro,.llm-audit-tabs,.llm-audit-grid,.line-identities-intro,.line-identities-tabs,.line-identities-workspace){max-width:var(--page-width);padding-inline:var(--page-gutter)}body.workspace-layout .networking-shell{width:100%;max-width:1600px}body.workspace-layout .ai-usage-page{max-width:none;padding:0}body.workspace-layout .ai-usage-page>:not(.dashboard-header){max-width:var(--page-width);margin-inline:auto}body.workspace-layout .ai-usage-page>.ai-usage-heading{max-width:none;padding:28px var(--page-gutter) 20px}body.workspace-layout .ai-usage-page>:not(.dashboard-header,.ai-usage-heading){width:calc(100% - var(--page-gutter) * 2)}body.workspace-layout :is(.dashboard-app,.networking-app,.line-problems-app,.smartit-app,.bpm-live-app,.threads-app,.maps-dashboard,.sentiment-app){background:var(--subtle);color:var(--ink)}body.workspace-layout .dashboard-content{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-panel);width:calc(100% - var(--page-gutter) * 2);margin-top:28px;margin-bottom:28px}body.workspace-layout :is(.threads-intro h1,.smartit-hero h1,.bpm-live-wrap h1,.maps-title h1,.ai-usage-heading h1,.line-report-intro h1,.llm-audit-intro h1,.line-debugging-intro h1,.line-identities-intro h1){letter-spacing:-.035em;font-size:26px;line-height:1.35}body.workspace-layout :is(.threads-intro p,.smartit-hero>p,.maps-title p,.ai-usage-heading p,.bpm-live-wrap p){font-size:14px;line-height:1.7}body.workspace-layout :is(.smartit-panel,.bpm-panel,.maps-panel){border-radius:var(--radius-panel);border-color:var(--line);padding:24px}body.workspace-layout :is(.smartit-panel h2,.bpm-live-wrap h2,.maps-panel h2){font-size:18px}body.workspace-layout :is(.refresh-button,.networking-refresh,.auth-button,.smartit-app button,.bpm-live-wrap button,.ai-usage-page button,.maps-dashboard button,.pos-chat-header-views button,.pos-chat-usage-toggle){border-radius:var(--radius-control);min-height:36px;font-size:13px}body.workspace-layout :is(.refresh-button,.networking-refresh,.bpm-filters button,.ai-usage-heading button){background:var(--paper);border:1px solid var(--line);color:var(--ink);padding:7px 12px}body.workspace-layout :is(.smartit-primary,.smartit-app .smartit-primary,.maps-dashboard .maps-primary,.bpm-actions button),body.workspace-layout :is(.threads-button.is-primary,.line-report-export-button,.llm-audit-actions button,.inv-primary,.line-identities-detail button:first-child){background:var(--action);border-color:var(--action);color:#fff}body.workspace-layout :is(.smartit-primary,.maps-primary,.threads-button.is-primary,.line-report-export-button,.llm-audit-actions button,.inv-primary,.pos-chat-new):hover:not(:disabled){color:#fff;background:#1c325e;border-color:#1c325e}body.workspace-layout .llm-audit-intro>button{background:var(--paper);border-color:var(--line);color:var(--ink)}body.workspace-layout .ai-usage-filter-actions button.ai-usage-primary{background:var(--action);border-color:var(--action);color:#fff}body.workspace-layout .dashboard-header .auth-button{min-height:36px;padding:7px 10px;font-size:13px}body.workspace-layout :is(.threads-button,.line-report-export-button,.line-report-cancel-button,.llm-audit-tabs button,.line-identities-actions>button,.inv-primary){border-radius:var(--radius-control);min-height:36px;font-size:13px}body.workspace-layout :is(.view-switch button.active,.networking-display-tabs button.is-active,.ai-usage-tabs button[aria-selected=true]){background:var(--action-soft);color:var(--action);box-shadow:none}body.workspace-layout :is(.line-identities-tabs,.llm-audit-tabs){border-bottom:1px solid var(--line);gap:20px;padding-bottom:0}body.workspace-layout :is(.line-identities-tabs button,.llm-audit-tabs button){min-height:44px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;font-size:14px}body.workspace-layout :is(.line-identities-tabs button.is-active,.llm-audit-tabs button.is-active){border-bottom-color:var(--action);color:var(--action);background:0 0}body.workspace-layout :is(.smartit-app input:not(.smartit-sr-only),.smartit-app select,.bpm-live-wrap input:not([type=checkbox]),.bpm-live-wrap select,.ai-usage-filters input,.ai-usage-filters select,.maps-dashboard input:not([type=checkbox]),.maps-dashboard select){border-radius:var(--radius-control);border-color:#cdd5e0;min-height:40px;font-size:14px}body.workspace-layout :is(.smartit-tabs,.networking-view-tabs){border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;gap:24px;width:100%;margin-bottom:24px;padding:0;display:flex;overflow-x:auto}body.workspace-layout :is(.smartit-tabs a,.networking-view-tabs button){min-height:44px;color:var(--muted);white-space:nowrap;box-shadow:none;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:10px 0;font-size:14px}body.workspace-layout :is(.smartit-tabs a[aria-current],.networking-view-tabs button.is-active,.networking-view-tabs button[aria-selected=true]){color:var(--action);border-bottom-color:var(--action);background:0 0;font-weight:650}body.workspace-layout :is(.smartit-table,.maps-dashboard table,.bpm-live-wrap table,.ai-usage-page table){font-size:14px}body.workspace-layout :is(.smartit-notice,.maps-error,.bpm-error){border-radius:var(--radius-control);font-size:14px}body.workspace-layout .line-problems-shell:not(.has-detail){grid-template-columns:minmax(0,1fr)}body.workspace-layout .line-problems-detail-region[hidden],body.workspace-layout .sentiment-detail-region[hidden]{display:none}body.workspace-layout .sentiment-shell:not(.has-detail){grid-template-columns:minmax(0,1fr)}body.workspace-layout .sentiment-ai-summary>header{flex-wrap:wrap;gap:16px}body.workspace-layout .sentiment-ai-summary>header>div:first-child{flex:280px;min-width:min(280px,100%)}body.workspace-layout .sentiment-ai-summary-actions{flex-wrap:wrap;flex:0 auto;max-width:100%}body.workspace-layout .drawer-layer{z-index:150}body.workspace-layout .line-problems-category-badge{white-space:normal;overflow-wrap:anywhere;display:inline}body.workspace-layout .line-problems-category-badge:before{margin-right:5px;display:inline-block}@media (width>=768px){body.workspace-layout .line-problems-table-wrap{overflow-x:auto}body.workspace-layout .line-problems-table{min-width:880px}}@media (width<=1599px){body.workspace-layout .line-problems-shell.has-detail{grid-template-columns:minmax(0,1fr)}body.workspace-layout .line-problems-detail-region.is-open{z-index:150;visibility:visible;pointer-events:auto;width:min(440px,100vw - 32px);height:100dvh;position:fixed;top:0;right:0;transform:none;box-shadow:-20px 0 50px #1c212829}body.workspace-layout .line-problems-detail-backdrop{z-index:140;background:#181c2257;border:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}body.workspace-layout .sentiment-shell.has-detail{grid-template-columns:minmax(0,1fr)}body.workspace-layout .sentiment-detail-region.is-open{z-index:150;visibility:visible;pointer-events:auto;width:min(440px,100vw - 32px);height:100dvh;position:fixed;top:0;right:0;transform:none;box-shadow:-20px 0 50px #1c212829}body.workspace-layout .sentiment-detail-backdrop{z-index:140;background:#181c2261;border:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}}body.workspace-layout .pos-chat-composer-status{color:#855318;margin:0 0 8px;font-size:13px;line-height:1.6}body.workspace-layout .pos-chat-composer-status:empty{display:none}body.workspace-layout .pos-chat-welcome p{font-size:14px}body.workspace-layout .pos-chat-welcome-actions button{min-height:44px;font-size:14px}body.workspace-layout .pos-chat-context input{min-height:36px;font-size:13px}body.workspace-layout .pos-chat-scope-fields label{min-width:0}body.workspace-layout .pos-chat-composer textarea{font-size:14px}body.workspace-layout .pos-chat-context{flex-wrap:wrap}body.workspace-layout .pos-chat-main{min-width:0}body.workspace-layout .pos-chat-new{background:var(--action);border-color:var(--action)}body.workspace-layout :is(.pos-chat-main,.pos-chat-sidebar){height:calc(100dvh - var(--workspace-header-height,72px))}body.workspace-layout .pos-chat-sidebar{top:var(--workspace-header-height,72px)}@media (width>=1600px){body.workspace-layout .line-problems-detail-region{top:var(--workspace-header-height,72px);height:calc(100dvh - var(--workspace-header-height,72px))}}body.workspace-layout :is(.pos-chat-shell,.pos-chat-usage-dashboard,.line-problems-shell,.sentiment-shell){min-height:calc(100dvh - var(--workspace-header-height,72px))}body.workspace-layout .line-problems-filter-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}@media (width<=1279px) and (width>=1024px){:root{--page-gutter:20px}body.workspace-layout .dashboard-header-module,body.workspace-layout .dashboard-header-divider{display:none}}@media (width<=1023px){body.workspace-layout,body.workspace-layout:has(.workspace-navigation[data-collapsed=true]){--sidebar-width:0px;padding-left:0}:root{--page-gutter:20px}.workspace-sidebar{visibility:hidden;width:min(300px,100vw - 48px);transform:translate(-100%)}.workspace-navigation[data-open=true] .workspace-sidebar{visibility:visible;z-index:200;transform:none}body.workspace-layout .workspace-menu-toggle{z-index:60;top:18px;left:var(--page-gutter);font-size:18px;display:grid;position:fixed}body.workspace-layout .workspace-mobile-close{display:grid}body.workspace-layout .workspace-collapse{display:none}.workspace-navigation[data-open=true] .workspace-nav-backdrop{z-index:199;background:#151f3161;border:0;width:100%;height:100%;display:block;position:fixed;inset:0}body.workspace-layout .dashboard-header{padding-left:calc(var(--page-gutter) + 48px)}}@media (width<=720px){:root{--page-gutter:16px}body.workspace-layout .dashboard-header{align-items:center;gap:8px;min-height:72px}body.workspace-layout .dashboard-header-context{flex:100%}body.workspace-layout .dashboard-header-title{white-space:normal;font-size:14px;display:block}body.workspace-layout .dashboard-header-module,body.workspace-layout .dashboard-header-divider{display:none}body.workspace-layout .dashboard-header-actions{flex:100%;justify-content:flex-start}body.workspace-layout :is(.networking-refresh,.refresh-button){width:auto;height:auto;overflow:visible}body.workspace-layout .refresh-button:after{content:none}body.workspace-layout :is(.dashboard-content,.smartit-workspace,.threads-shell,.maps-content,.bpm-live-wrap,.networking-shell,.line-problems-content,.sentiment-content,.line-report-shell,.line-debugging-shell){padding:20px var(--page-gutter) 32px}body.workspace-layout :is(.threads-intro h1,.smartit-hero h1,.bpm-live-wrap h1,.maps-title h1,.ai-usage-heading h1){font-size:24px}body.workspace-layout :is(.smartit-panel,.bpm-panel,.maps-panel){padding:18px}body.workspace-layout #workspace-content :is(input:not([type=checkbox],[type=radio]),select,textarea){font-size:16px}body.workspace-layout .pos-chat-main{height:calc(100dvh - var(--workspace-header-height,116px));min-height:0;overflow:hidden}body.workspace-layout .pos-chat-transcript{min-height:0}body.workspace-layout .pos-chat-shell{min-height:calc(100dvh - var(--workspace-header-height,116px))}body.workspace-layout .pos-chat-scope-fields{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}body.workspace-layout .pos-chat-scope-fields label:has(input[type=date]){order:1;grid-column:1/-1}}@media print{body.workspace-layout{background:#fff;padding-left:0}.workspace-navigation{display:none}}@media screen{body.workspace-layout .bpm-review .wrap{max-width:var(--page-width);padding-inline:var(--page-gutter)}body.workspace-layout .bpm-review .hero h1{font-size:26px}body.workspace-layout .bpm-review :is(.kpi-sub,.panel-desc,.panel-foot,.section-side,.bar-label){font-size:12px}}@media (prefers-reduced-motion:no-preference){.workspace-nav :is(a,summary),body.workspace-layout button{transition:background-color .14s,border-color .14s}}
