/* Central-only toolbar: hidden by default; ?showRecords=1 opts in. */
html[data-theme][data-central-toolbar] body:not(.camera-panel-mode)>.shell{
 height:100svh!important;height:100dvh!important;min-height:0;
}
#central-live-bar{
 position:static;inset:auto;z-index:2;box-sizing:border-box;flex:0 0 auto;
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;
 width:100%;max-width:100%;margin:0;padding:8px 12px;
 border:0;border-bottom:1px solid var(--line,#a5c4dc);border-radius:0;
 background:var(--panel,#fbfeff);color:var(--text,#20303b);
 box-shadow:none;font:12px/1.3 "Segoe UI","Microsoft JhengHei",sans-serif;
}
#central-live-bar[hidden]{display:none!important}
#central-live-bar>strong{grid-column:1;grid-row:1;justify-self:start;white-space:normal;text-align:left;font-size:12px}
#central-live-bar>span{grid-column:1;grid-row:2;justify-self:start;font-size:11px;white-space:normal;text-align:left}
#central-live-bar>button{grid-column:2;grid-row:1/3;align-self:center;min-width:0;min-height:34px;font:inherit;padding:5px 12px;white-space:normal;cursor:pointer}
html[data-theme][data-central-toolbar] body:not(.camera-panel-mode)>.shell>.layout>.main-area{
 padding-bottom:max(20px,env(safe-area-inset-bottom));
}
#central-live-records{width:min(1100px,95vw);max-height:85vh;border:1px solid var(--line,#ccd6df);border-radius:8px;background:var(--panel,#fff);color:var(--text,#20303b);padding:1rem;font:14px "Segoe UI","Microsoft JhengHei",sans-serif}#central-live-records::backdrop{background:#0008}#central-live-records h2{margin:0;font-size:18px}#central-live-records p{margin:.7rem 0}.central-records-table{max-height:60vh;overflow:auto}.central-records-table table{width:100%;min-width:620px;border-collapse:collapse}.central-records-table td,.central-records-table th{padding:.6rem;text-align:left;border-bottom:1px solid var(--line,#ccd6df);vertical-align:top}.central-records-table td:last-child{overflow-wrap:anywhere;max-width:28rem}.central-records-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1rem}.central-records-actions button{font:inherit;min-height:36px;cursor:pointer}.central-records-actions button:disabled{cursor:not-allowed}
#central-live-bar button,.central-records-actions button{color:var(--text,#20303b);background:var(--panel-2,var(--panel,#fff));border:1px solid var(--line,#ccd6df);border-radius:4px}
.central-records-actions button{padding:.35rem .8rem}
#central-live-notice{margin:0;padding:8px 12px;background:var(--panel,#fff);color:var(--text,#20303b);font:600 12px "Segoe UI","Microsoft JhengHei",sans-serif}
#central-live-notice[hidden]{display:none!important}
