:root{
  --ground:#f2f3ee;--surface:#fff;--raised:#f8f9f6;--active:#e5e8e1;
  --text:#203830;--ink:#203830;--muted:#59655f;--faint:#657067;
  --border:#e4e8e1;--rule:#edf0e9;--control:#cbd1c8;--primary:#203c32;
  --accent:#486b54;--chart-1:#486b54;--chart-2:#718576;--chart-muted:#a4afa5;--grid:#e9ede6;--axis-ink:#657067;
  --negative:#a13e31;--positive:#486b54;--gap:24px;--radius-card:8px;--radius-control:6px;
  --font:"IBM Plex Sans","PingFang SC","Microsoft YaHei",sans-serif;--mono:"IBM Plex Mono",monospace;
}
*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--text);font:14px/1.5 var(--font);font-variant-numeric:tabular-nums}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:active,a:active{background-image:none}button:disabled{cursor:not-allowed;color:var(--faint);border-color:var(--border)}a{color:inherit;text-decoration:none}button{border:0;background:none}button,input,select{border-radius:var(--radius-control)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input::placeholder{color:var(--faint)}h1,h2,h3,p{margin:0}h1{font-size:22px;line-height:32px;font-weight:600}h2{font-size:16px;line-height:24px;font-weight:600}h3{font-size:14px;font-weight:500}small,.small{font-size:12px}.muted{color:var(--muted)}.mono,code{font-family:var(--mono);font-size:12px}.num{text-align:right;font-variant-numeric:tabular-nums}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}.btn{height:34px;padding:0 12px;border:1px solid var(--control);display:inline-flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap;background:var(--surface)}.btn:hover:not(:disabled){border-color:var(--muted)}.btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.btn.text{background:transparent;border-color:transparent;padding:0 6px}.iconbtn{height:34px;width:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent}.iconbtn:hover{border-color:var(--control)}.chip{padding:2px 7px;border:1px solid var(--border);border-radius:4px;white-space:nowrap;flex:none;font-size:12px;line-height:19px;display:inline-flex;gap:5px;align-items:center;background:var(--raised);color:var(--muted)}.dot{width:5px;height:5px;border-radius:50%;background:var(--accent);display:inline-block}.skip{position:fixed;left:12px;top:-80px;z-index:100;background:#fff;padding:12px;border:1px solid var(--accent)}.skip:focus{top:8px}
/* 1440 = 228 sidebar + 1204 sheet + 8 right inset. Sheet inner width = 1154 after 2×24 + 2 border. */
.shell{display:grid;grid-template-columns:228px minmax(0,1fr);grid-template-rows:52px minmax(0,1fr);min-height:100vh;padding:0 8px 8px 0}.sidebar{grid-row:1/3;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 8px);padding:24px 16px 14px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px;margin-bottom:30px}.brandmark{width:32px;height:32px;color:var(--accent);flex:none}.brandname{font-size:23px;font-weight:600;line-height:30px}.brand .small{font-size:12px;color:var(--muted)}.workspace{padding:10px 12px;border:1px solid var(--control);border-radius:8px;margin-bottom:26px;font-size:13px;display:flex;align-items:center;justify-content:space-between}.workspace small{display:block;color:var(--muted)}.navlabel{padding:0 12px;font-size:12px;color:var(--muted);margin:14px 0 8px}.navitem{display:flex;gap:10px;align-items:center;min-height:38px;padding:8px 12px;border-radius:6px;margin-bottom:4px;font-weight:400}.navitem.active{background:var(--active);font-weight:500}.navitem:not(.active):hover{outline:1px solid var(--control);outline-offset:-1px}.navsub{margin-left:28px;padding-left:12px;font-size:13px}.navitem .icon{width:17px;height:17px}.sidebar-foot{margin-top:auto;padding:24px 10px 0}.sidebar-foot p{font-size:12px;line-height:20px;color:var(--muted)}.edition{margin-bottom:10px;display:flex;gap:8px;align-items:center;font-size:12px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:0 24px 0 4px;gap:10px;font-size:12px;color:var(--muted)}.top-left,.top-right{display:flex;gap:12px;align-items:center}.account{display:flex;gap:7px;align-items:center;color:var(--text)}.avatar{height:24px;width:24px;background:var(--active);display:grid;place-items:center;border-radius:50%;font-size:12px}.sheet{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;min-height:calc(100vh - 60px);overflow:hidden}.content{padding:24px}.title-row{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.title-row p{font-size:13px;color:var(--muted);margin-top:4px}.title-actions{display:flex;align-items:center;gap:12px}.breadcrumbs{display:flex;align-items:center;gap:8px}.breadcrumbs span{color:var(--faint)}.mobile-menu{display:none}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:20px}.tab{padding:0 0 11px;border-radius:0;border-bottom:2px solid transparent;color:var(--muted)}.tab.active{color:var(--text);font-weight:500;border-color:var(--accent)}.filterbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px}.filterbar label,.filter-more label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}input,select{height:34px;border:1px solid var(--control);background:var(--surface);padding:0 10px;min-width:0}select{padding-right:25px}input[type=date]{width:145px}input[type=search]{width:240px}.date-group{display:flex;gap:6px;align-items:center}.filterbar label select{min-width:112px}.filterbar .grow{margin-right:auto}.filter-more{display:flex;flex-wrap:wrap;gap:12px;background:var(--raised);border-radius:8px;padding:14px;margin:-4px 0 16px}.notice{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--muted);margin:0 0 24px}.notice .icon{width:15px;height:15px;margin-top:2px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}.panel{border:1px solid var(--border);border-radius:8px;min-width:0;overflow:hidden;background:var(--surface)}.panel-head{padding:18px 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head p{font-size:12px;color:var(--muted);margin-top:4px}.panel-head .btn{height:30px}.table-wrap{overflow:auto;overscroll-behavior:contain}.events-table-wrap{max-height:565px}.table{width:100%;border-collapse:collapse;white-space:nowrap}.table th{font-size:12px;font-weight:400;color:var(--muted);height:36px;text-align:left;background:var(--surface);position:sticky;top:0;z-index:1}.table th.num{text-align:right}.table th,.table td{padding:0 20px}.table td{height:54px;border-top:1px solid var(--rule);font-size:13px}.table td:first-child{max-width:280px}.table .event-name{font-weight:500;display:block;font-size:13px}.table .event-code{display:block;color:var(--muted);font:11px/19px var(--mono)}.table tr.selected{background:var(--raised)}.table tr[data-event],.table tr[data-record],.table tr[data-feedback]{cursor:pointer}.table tr:hover td:first-child .event-name,.table tr:hover td .rowlink{text-decoration:underline;text-underline-offset:4px}.table .rowlink{text-align:left;padding:0;font-weight:500;color:var(--text)}.table tr:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.event-search{height:30px!important;width:150px!important;font-size:12px}.panel-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 20px;border-top:1px solid var(--rule);font-size:12px;color:var(--muted)}.side-stack{display:flex;flex-direction:column;gap:24px}.summary-top{padding:18px 20px 0}.summary-top p{color:var(--muted);font:12px/20px var(--mono);margin-top:3px;overflow-wrap:anywhere}.metrics{display:grid;grid-template-columns:1fr 1fr;margin:20px 20px 0;padding-bottom:18px;border-bottom:1px solid var(--rule)}.metric+.metric{padding-left:20px;border-left:1px solid var(--border)}.metric label{font-size:12px;color:var(--muted)}.metric strong{display:block;font-size:28px;line-height:36px;font-weight:400;margin-top:4px}.metric strong small{font:12px var(--font);margin-left:6px;color:var(--muted)}.chart-head{display:flex;align-items:center;justify-content:space-between;margin:16px 20px 0;gap:8px}.seg{display:flex;align-items:center;gap:2px;border:1px solid var(--border);border-radius:6px;padding:2px}.seg button{font-size:12px;min-height:26px;padding:2px 8px;white-space:nowrap}.seg .active{background:var(--active)}.chart{height:180px;padding:10px 10px 0 0}.chart-note{font-size:12px;color:var(--muted);margin:0 20px 16px}.explain{padding:18px 20px}.explain h2{font-size:14px}.explain p{font-size:13px;line-height:22px;margin-top:10px;color:var(--muted)}.explain .btn{margin-top:14px}.section-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px;font-size:12px;color:var(--muted);gap:12px}.prototype-tools{display:flex;align-items:center;gap:8px}.prototype-tools select{height:28px;font-size:12px}.stamp{font-size:12px;color:var(--muted)}.pagination{display:flex;align-items:center;gap:7px}.pagination button{height:28px;min-width:28px}.pagination .current{background:var(--active);border-radius:4px}.table .ellipsis{max-width:440px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.table .date{font-size:12px}.table .date small{display:block;color:var(--muted);font-size:12px}.danger{color:var(--negative)}.quality{font-size:12px;white-space:nowrap}.detail-table td{height:58px}.detail-table th,.detail-table td{padding:0 16px}.detail-table{min-width:1130px}.feedback-table{min-width:760px}.feedback-table td{height:70px}.feedback-table td:first-child{width:52%}.feedback-table .feedback-id{font:11px/20px var(--mono);color:var(--muted)}.feedback-table .rowlink{display:block;max-width:540px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty{padding:64px 24px;text-align:center;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.empty h2{font-size:16px}.empty p{font-size:13px;color:var(--muted);max-width:400px}.empty>.icon{width:28px;height:28px;color:var(--muted);margin-bottom:4px}.skeleton{padding:20px}.skel{height:14px;background:var(--active);border-radius:4px;margin:14px 0;width:80%}.skeleton .skel:nth-child(even){width:58%}.drawer-backdrop{position:fixed;inset:0;background:rgba(21,35,27,.16);z-index:20}.drawer{position:fixed;right:0;top:0;height:100dvh;width:520px;max-width:100%;z-index:21;background:var(--surface);border-left:1px solid var(--border);display:flex;flex-direction:column}.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;padding:24px;border-bottom:1px solid var(--border);gap:12px}.drawer-head h2{font-size:18px}.drawer-head p{margin-top:5px;color:var(--muted);font-size:12px}.drawer-body{padding:24px;overflow:auto}.drawer-section+.drawer-section{margin-top:28px}.drawer-section h3{margin-bottom:12px}.kv{display:grid;grid-template-columns:140px minmax(0,1fr);font-size:13px;gap:12px 16px}.kv dt{color:var(--muted)}.kv dd{margin:0;overflow-wrap:anywhere}.kv code{font-size:11px;overflow-wrap:anywhere}.drawer-copy{display:flex;align-items:center;gap:7px}.drawer-copy code{flex:1;min-width:0}.property{padding:10px 0;border-bottom:1px solid var(--rule);display:flex;justify-content:space-between;gap:20px;font-size:13px}.property .muted{font-size:11px;display:block;font-family:var(--mono);margin-top:3px}.property .value{font-family:var(--mono);font-size:12px;text-align:right;max-width:55%;overflow-wrap:anywhere}.drawer .fulltext{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.drawer-foot{margin-top:auto;padding:14px 24px;border-top:1px solid var(--border);font-size:12px;color:var(--muted);background:var(--surface)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--primary);color:#fff;border-radius:8px;padding:10px 18px;z-index:99;font-size:13px;display:none}.mobile-nav-backdrop{display:none}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:var(--surface)}.login-story{background:var(--ground);padding:64px;display:flex;flex-direction:column;justify-content:space-between}.login-story .brand{padding:0;margin:0}.login-story h2{font-size:32px;font-weight:400;line-height:1.6;margin-top:40px}.login-story p{color:var(--muted);line-height:1.8;max-width:340px}.pondline{height:220px;max-width:440px;width:100%;color:var(--accent)}.login-form-wrap{display:grid;place-items:center;padding:40px}.login-form{width:340px;max-width:100%}.login-form h1{margin-bottom:8px}.login-form p{font-size:13px;color:var(--muted)}.login-form label{display:block;margin-top:20px;font-size:13px}.login-form input{display:block;width:100%;height:42px;margin-top:7px}.login-form .btn{width:100%;height:42px;margin-top:24px}.login-form .small{margin-top:18px}.mobile-only{display:none}
@media(min-width:1600px){.content{padding:32px}.overview-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.events-table-wrap{max-height:620px}}
@media(max-width:1100px){.shell{grid-template-columns:1fr;padding:0 8px 8px}.sidebar{position:fixed;left:0;top:0;z-index:31;transform:translateX(-100%);height:100dvh;width:250px;background:var(--ground)}.sidebar.open{transform:translateX(0)}.mobile-nav-backdrop{display:block;position:fixed;inset:0;background:rgba(21,35,27,.16);z-index:30}.mobile-menu{display:inline-flex}.topbar{padding:0 12px}.top-left{gap:8px}.overview-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.content{padding:24px}.topbar .breadcrumbs{display:none}.sheet{min-height:calc(100vh - 60px)}.filterbar{gap:10px}.filterbar input[type=date]{width:133px}.filterbar label select{min-width:98px}.panel-head,.table th,.table td{padding-left:14px;padding-right:14px}.events-table-wrap{max-height:550px}.login-story{padding:40px}}
@media(max-width:700px){.shell{padding:0;grid-template-rows:48px minmax(0,1fr)}.sheet{border:0;border-radius:0;min-height:calc(100vh - 48px)}.content{padding:20px 16px}.topbar{padding:0 12px}.topbar .top-right>.chip,.topbar .account .account-name{display:none}.topbar .top-right{gap:4px}.topbar .btn.text{font-size:12px}.topbar .top-left>.stamp{font-size:11px}.title-row{margin-bottom:16px;align-items:flex-start}.title-row h1{font-size:22px}.title-row p{max-width:240px;font-size:12px}.title-actions>.stamp{display:none}.title-actions{gap:0}.title-actions .btn{font-size:12px;padding:0 8px}.tabs{gap:24px}.filterbar{gap:8px;display:flex}.filterbar>label.grow{margin-right:0}.filterbar>label.env,.filterbar>label.platform,.filterbar>.date-group,.filterbar>label.date-label{display:none}.filterbar>.mobile-date{display:inline-flex;max-width:calc(100% - 88px)}.filterbar .more-filter{margin-left:auto}.filterbar .reset-btn{display:none}.filter-more{gap:10px}.filter-more .mobile-date-inputs{display:contents}.filter-more label{flex:1 1 125px}.filter-more input[type=date]{width:100%}.filter-more input[type=search]{width:100%}.filter-more .date-group{width:100%}.notice{margin-bottom:18px;font-size:12px}.overview-grid{display:flex;flex-direction:column;gap:20px}.overview-grid>.panel{order:2;width:100%}.overview-grid>.side-stack{order:1;width:100%;gap:16px}.overview-grid .explain{display:none}.summary-top{padding:16px 16px 0}.summary-top h2{font-size:15px}.metrics{margin:14px 16px 0;padding-bottom:12px}.metric strong{font-size:26px}.chart-head{margin:12px 16px 0}.chart{height:168px}.chart-note{margin:0 16px 12px}.events-table-wrap{max-height:none}.event-search{width:130px!important}.panel-head{padding:14px 12px 10px}.table th,.table td{padding-left:12px;padding-right:12px}.table .event-code{font-size:11px;overflow-wrap:anywhere;white-space:normal}.table .event-name{font-size:13px}.table td{height:60px}.table th{font-size:11px}.panel-foot{padding:12px;font-size:11px}.section-bottom{flex-direction:column;align-items:flex-start;margin-top:18px}.prototype-tools{width:100%;justify-content:space-between}.prototype-tools select{height:36px;flex:1}.prototype-tools span{white-space:nowrap}.detail-table{min-width:930px}.detail-table td:first-child,.detail-table th:first-child{position:sticky;left:0;background:var(--surface);z-index:2}.detail-table td{height:64px}.table .ellipsis{max-width:280px}.drawer{width:100%;border:0}.drawer-head{padding:18px 16px}.drawer-body{padding:20px 16px}.kv{grid-template-columns:110px minmax(0,1fr);gap:12px}.drawer-head .iconbtn{width:44px;height:44px}.drawer-head h2{padding-top:5px}.login-page{grid-template-columns:1fr}.login-story{padding:24px 24px 30px;min-height:280px}.login-story h2{font-size:24px;margin-top:24px}.login-story .pondline{display:none}.login-story>p{display:none}.login-form-wrap{padding:36px 24px;align-items:start}.login-form{width:100%}.feedback-table{min-width:0;table-layout:fixed}.feedback-table thead{display:none}.feedback-table tr{display:flex;flex-wrap:wrap;padding:12px;gap:6px 16px;border-top:1px solid var(--rule)}.feedback-table td{border:0;height:auto;padding:0}.feedback-table td:first-child{width:100%;max-width:none}.feedback-table .rowlink{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:left}.feedback-table td:nth-child(2){flex:1}.feedback-table .date small{display:inline;margin-left:8px}.feedback-table td:last-child{display:none}.feedback-table .feedback-id{margin-top:5px}.mobile-only{display:initial}.pagination button,.btn,.tab,.iconbtn{min-height:36px}.navitem{min-height:44px}.tab{min-height:44px}button:not(.seg button){touch-action:manipulation}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:700px){.btn,.iconbtn,.pagination button,.seg button{min-height:44px}.seg button{padding:0 8px}.filterbar .grow input[type=search]{width:100%;max-width:200px}.filterbar input[type=search]{height:44px}.chart-head{margin-top:8px}.panel-head .btn{height:44px}.more-filter{min-width:64px}.prototype-tools select{height:44px}.event-search{height:44px!important}.topbar .btn.text,.topbar .iconbtn{min-height:44px}.title-actions .btn{min-height:36px}.mobile-date-inputs select,.mobile-date-inputs input{height:44px}}
/* Keep both the event list and its next action within a 1440×900 working view. */
@media(min-width:1101px){.events-table-wrap{max-height:420px}.notice{margin-bottom:16px}.tabs{margin-bottom:16px}.filterbar{margin-bottom:12px}.explain{padding:16px 20px}.explain p{margin-top:8px}.explain .btn{margin-top:10px}.side-stack{gap:16px}}
/* Labels carry meaning; 11–12px is reserved for code, chart ticks and secondary metadata. */
.filterbar label,.filter-more label,.table th,.metric label,.navlabel{font-size:13px}
@media(min-width:701px) and (max-width:1100px){.panel-head{flex-wrap:wrap}.events-table-wrap{max-height:560px}}
.mobile-product{display:none}
@media(min-width:1101px){.events-table-wrap{max-height:460px}}
@media(max-width:1100px){.mobile-product{display:inline;font-weight:600;font-size:14px}}
