/* 有球之星 · product experience. One visual language across independent modules. */
:root{--xp-blue:#246bff;--xp-blue-strong:#1558e8;--xp-ink:#16263d;--xp-muted:#596d85;--xp-line:#e2e9f2;--xp-wash:#f6f8fc;--xp-radius:18px;--xp-shadow:0 3px 16px #16335b05;--xp-ease-out:cubic-bezier(.215,.61,.355,1);--xp-ease-io:cubic-bezier(.645,.045,.355,1);--blue:#246bff;--blue-dark:#1558e8;--blue-soft:#eaf2ff}
html{scrollbar-gutter:stable;scroll-behavior:smooth;background:var(--xp-wash)}
body[data-module]{font-family:"Segoe UI Variable","Segoe UI","Microsoft YaHei",sans-serif;color:var(--xp-ink);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;letter-spacing:0;background:radial-gradient(ellipse at 55% -200px,#e0ecff 0,transparent 65%),var(--xp-wash)}
body[data-module] :is(button,input,select,textarea){font-family:inherit;letter-spacing:0}
body[data-module] :is(button,.button){transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s,opacity .16s;cursor:pointer}
body[data-module] :is(button,.button):focus-visible,body[data-module] a:focus-visible,body[data-module] summary:focus-visible{outline:3px solid #246bff73;outline-offset:3px}
body[data-module] button:disabled{cursor:default;opacity:.42;box-shadow:none}
body[data-module] :is(button,.button).primary{background:linear-gradient(135deg,#347bff,#1d60eb)!important;color:white!important;border:1px solid #2164ed!important;box-shadow:0 3px 8px #246bff20;font-weight:600}
body[data-module] :is(button,.button).primary:hover:not(:disabled){background:#1558e8!important;box-shadow:0 5px 14px #246bff30}
body[data-module]:not([data-module=reconstruction]) :is(input,select,textarea){color:var(--xp-ink);border-color:#dfe6ef;background:#fff;border-radius:9px;font-size:15px;box-shadow:0 1px 2px #16263d03}
body[data-module] input[type=checkbox]{accent-color:var(--xp-blue)}
body[data-module] input[type=range]{accent-color:var(--xp-blue);cursor:pointer}
body[data-module]:not([data-module=reconstruction]) :is(input,select,textarea):focus{outline:none;border-color:#75a5ff;box-shadow:0 0 0 3px #246bff12}
body[data-module] :is(.panel,.card){border:1px solid var(--xp-line);border-radius:var(--xp-radius);box-shadow:var(--xp-shadow);background:#fff}
body[data-module] h1,body[data-module] h2,body[data-module] h3{color:var(--xp-ink);font-weight:650;letter-spacing:-.025em;text-wrap:balance}
body[data-module] h2{font-size:21px;line-height:1.35}
body[data-module] h3{font-size:17px;line-height:1.4}
body[data-module] :is(.muted,.hint,.card-footnote){color:var(--xp-muted)}
body[data-module] .eyebrow,body[data-module] .page-footer{display:none!important}
body[data-module] .badge{border:0;background:#edf3fc;color:#487199;border-radius:7px;font-size:12px;line-height:22px;padding:0 7px;box-shadow:none}
body[data-module] .empty{min-height:200px;padding:40px 24px;color:var(--xp-muted);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
body[data-module] .empty h2{font-size:23px;margin:14px 0 6px}
body[data-module] .empty p{margin:4px 0;font-size:15px;line-height:1.7}
body[data-module] .empty-icon{display:none}
body[data-module] .empty button{margin-top:16px}
body[data-module] svg{flex-shrink:0}
.experience-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Shared frame: fixed navigation coordinates, light glass, quiet typography. */
body[data-module] .app-header{height:48px;background:#fffffff0;backdrop-filter:blur(18px);border-bottom:1px solid #dfe7f199;box-shadow:none;grid-template-columns:240px minmax(0,1fr) 240px}
body[data-module] .app-logo{font-size:20px;font-weight:700;color:#18345c;gap:9px;letter-spacing:-.03em}
body[data-module] .app-logo svg{width:29px;height:29px;color:var(--xp-blue)}
body[data-module] .shell-brand{gap:9px;padding-left:18px}
body[data-module] .shell-toggle{width:30px;height:30px;border:0;border-radius:8px;padding:5px;color:#74849a}
body[data-module] .shell-toggle:hover{color:var(--xp-blue);background:#edf3ff}
body[data-module] .app-main-nav{gap:12px;height:48px;position:relative;align-items:center}
body[data-module] .app-main-nav>a{height:48px;padding:0 14px;display:inline-flex;align-items:center;border:0!important;color:#64748b;font-size:15px;font-weight:550;text-decoration:none;white-space:nowrap;background:transparent}
body[data-module] .app-main-nav>a::after{display:none!important}
body[data-module] .app-main-nav>a[aria-current=page]{color:#185de0;background:linear-gradient(#246bff00,#246bff06)}
body[data-module] .app-header-state{padding-right:22px;color:#7e8b9b;font-size:12px}
body[data-module] .module-sidebar{top:48px;background:#fbfcff;border-right:1px solid var(--xp-line);padding:22px 14px;box-shadow:none}
body[data-module] .module-sidebar .module-label{font-size:12px;color:#8a98ac;font-weight:500;margin:0 12px 14px}
body[data-module] .module-sidebar nav :is(a,button){min-height:42px;padding:10px 13px;border-radius:10px;border:0;font-size:15px;line-height:22px;color:#617086;background:transparent;box-shadow:none}
body[data-module] .module-sidebar nav :is(a,button).active{color:#1c5fd7;background:#eaf1ff;font-weight:650}
body[data-module] .module-sidebar nav :is(a,button):hover{color:#1c5fd7;background:#f0f5ff}
body[data-module] .module-sidebar .nav-item>span{display:none}
body[data-module] .shell-resizer{width:6px}
body[data-module] .shell-resizer:hover{background:#246bff35}
.experience-tabs{display:flex;align-items:center;gap:8px;min-width:0;position:relative;white-space:nowrap}
.experience-tabs :is(button,a){border:0!important;box-shadow:none!important;border-radius:8px;background:transparent!important;color:#748198;font-size:15px;font-weight:550;line-height:24px;padding:8px 14px;min-height:40px;text-decoration:none;white-space:nowrap}
.experience-tabs :is(button,a):hover{color:#185de0;background:#e8f0fc!important}
.experience-tabs :is(button,a).active{color:#1d62e2!important;font-weight:650}
.experience-motion-rail{position:relative;isolation:isolate}
.experience-motion-rail>.experience-indicator{pointer-events:none;position:absolute;left:0;bottom:0;height:2px;border-radius:2px;background:var(--xp-blue);z-index:1;transition:transform .25s var(--xp-ease-io),width .25s var(--xp-ease-io)}
.experience-motion-rail>.experience-indicator[hidden]{display:none}
.experience-pagebar{display:flex;align-items:center;gap:28px;margin:0 0 18px;min-height:44px}
.experience-pagebar h1{font-size:24px;line-height:32px;margin:0;min-width:96px}
.pagebar-status{margin-left:auto;font-size:13px;color:#718197;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.pagebar-status::before{content:"";width:6px;height:6px;border-radius:50%;background:#7ebda1}
.pagebar-status.is-busy::before{background:#347bff;box-shadow:0 0 0 4px #347bff12}
body[data-module] .experience-icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:7px!important;border:1px solid #e2e9f2!important;border-radius:9px!important;color:#64809f;background:#fff!important;box-shadow:none!important;flex:none}
.experience-icon-button svg{width:17px;height:17px}
body[data-module] .experience-icon-button:hover{color:var(--xp-blue);border-color:#bcd2fb!important;background:#f4f8ff!important}
.experience-more{position:relative}
.experience-more>summary{list-style:none;cursor:pointer;padding:6px 10px;border-radius:8px;color:#70839a;font-size:14px}
.experience-more>summary::-webkit-details-marker{display:none}
.experience-more[open]>summary{background:#edf3fc;color:#246bff}
.experience-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:180px;z-index:30;padding:8px;background:white;border:1px solid var(--xp-line);border-radius:12px;box-shadow:0 12px 35px #18345b1c}
.experience-menu button{width:100%;text-align:left;border:0!important;background:transparent!important;white-space:nowrap}

/* Motion Prompt #049 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#049 */
/* Scale .9 → 1 / 320 ms easeOutCubic; 280 ms exit; scrim alpha .42. */
body[data-module] dialog{border:1px solid #e0e8f1;border-radius:22px;background:#fff;color:var(--xp-ink);padding:26px;box-shadow:0 24px 80px #0c234838;max-height:calc(100dvh - 56px);max-width:calc(100vw - 48px);opacity:0;transform:scale(.9);transition:opacity .28s var(--xp-ease-io),transform .28s var(--xp-ease-io),display .28s allow-discrete,overlay .28s allow-discrete}
body[data-module] dialog[open]{opacity:1;transform:scale(1);animation:experience-dialog-in .32s var(--xp-ease-out)}
body[data-module] dialog::backdrop{background:rgba(18,20,28,.42);backdrop-filter:blur(5px);transition:background .28s}
@keyframes experience-dialog-in{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:scale(1)}}
body[data-module] dialog :is(.dialog-heading,.dialog-title){margin-bottom:22px;padding:0 0 16px;border-bottom:1px solid var(--xp-line);align-items:center}
body[data-module] dialog :is(h2,.dialog-heading h2,.dialog-title h2){font-size:23px;line-height:32px;margin:0}
body[data-module] dialog :is([data-close],[data-close="player-dialog"]){border:0;background:#f1f5fa;color:#7890aa;border-radius:50%;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;font-size:20px;line-height:30px}
body[data-module] dialog .dialog-footer :is([data-close],button){width:auto;min-width:72px;border-radius:9px;padding:6px 14px;font-size:15px;height:36px;line-height:24px}
body[data-module] dialog label{font-size:15px;line-height:24px;color:#536881;gap:7px}
body[data-module] dialog :is(input,select){min-height:38px}
body[data-module] dialog .dialog-footer{border-top:1px solid var(--xp-line);padding-top:18px;gap:8px;margin-top:22px}
body[data-module] dialog :is(.muted,.hint){font-size:14px;line-height:1.65}
body[data-module] #notice:not([hidden]){position:fixed;right:24px;bottom:24px;top:auto;left:auto;z-index:2000;max-width:min(520px,calc(100vw - 48px));padding:15px 48px 15px 18px;border:1px solid #cddffb;border-radius:14px;background:#fafdff;box-shadow:0 10px 38px #16386520;color:#365779;font-size:15px;line-height:24px;animation:experience-toast .2s ease-out}
body[data-module] #notice.error{background:#fff9f7;border-color:#ecc8c3;color:#a24d45}
.notice-dismiss{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:4px!important;border:0!important;background:transparent!important;color:inherit}
.notice-dismiss svg{width:16px;height:16px}
@keyframes experience-toast{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* Motion Prompt #060 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#060 */
body[data-module] .experience-segmented{padding:3px;gap:2px;border:1px solid #e6ecf4;background:#eef3f9;border-radius:10px;box-shadow:none}
body[data-module] .experience-segmented>button{position:relative;z-index:2;background:transparent!important;border-color:transparent!important;border-radius:7px;box-shadow:none!important;color:#697c93;font-size:14px;line-height:24px;min-height:32px;padding:3px 12px}
body[data-module] .experience-segmented>button:is(.active,[aria-selected=true],[aria-pressed=true]){color:#fff!important}
.experience-segmented>.experience-indicator{border-radius:7px;bottom:auto;background:#2b6ff1;box-shadow:0 2px 6px #246bff25;z-index:1;transition:transform .25s var(--xp-ease-io),width .25s var(--xp-ease-io),height .25s var(--xp-ease-io)}

/* Workbench: a product home, separate from the operator console. */
body[data-module=workbench]>main.page-content{padding:18px 24px 22px;max-width:none}
body[data-module=workbench] .experience-home{display:grid;grid-template-rows:minmax(310px,1fr) auto auto;gap:20px;min-height:calc(100dvh - 150px)}
.showcase-hero{position:relative;min-height:310px;border-radius:24px;overflow:hidden;display:flex;align-items:center;text-decoration:none;background:#071d3b;isolation:isolate}
.showcase-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center;z-index:-2;opacity:.92}
.showcase-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#061c3cf2 0%,#08254dc9 31%,#0d294c25 65%),linear-gradient(0deg,#06182a99,transparent 50%)}
.showcase-copy{padding:38px clamp(30px,4.2vw,80px);max-width:590px}
.showcase-label{display:inline-flex;align-items:center;gap:8px;color:#adcaff;font-size:14px;letter-spacing:.04em;margin-bottom:22px}
.showcase-label::before{content:"";width:6px;height:6px;border-radius:50%;background:#68a2ff;box-shadow:0 0 15px #68a2ff}
body[data-module=workbench] .showcase-copy h2{font-size:clamp(40px,4vw,64px);font-weight:650;line-height:1.14;letter-spacing:-.06em;margin:0 0 18px;color:#fff;text-wrap:nowrap}
.showcase-copy h2 em{font-style:normal;color:#81b3ff}
.showcase-copy p{color:#bdd0e7;font-size:17px;line-height:28px;margin:0 0 28px}
.showcase-cta{display:inline-flex;align-items:center;gap:26px;padding:11px 18px;font-size:16px;font-weight:550;color:white;border:1px solid #ffffff35;border-radius:10px;background:#ffffff12;backdrop-filter:blur(10px);transition:background .2s,border-color .2s}
.showcase-cta svg{width:20px;height:20px;transition:transform .25s var(--xp-ease-out)}
.showcase-hero:hover .showcase-cta{background:#246bff;border-color:#246bff}
.showcase-hero:hover .showcase-cta svg{transform:translateX(4px)}
.showcase-mark{position:absolute;right:26px;bottom:22px;color:#d9e8f1b0;font-size:12px}
.showcase-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.feature-card{display:flex;align-items:center;gap:18px;padding:26px 24px;min-height:116px;text-decoration:none;color:var(--xp-ink);border-radius:18px;background:#fff;border:1px solid #e7edf5}
.feature-card>.feature-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:#edf4ff;color:#3578e7;flex:none}
.feature-icon svg{width:25px;height:25px}
.feature-card>svg{width:20px;height:20px;margin-left:auto;color:#8aa7c9}
body[data-module=workbench] .feature-card h2{font-size:19px;margin:0 0 6px;line-height:26px}
.feature-card p{font-size:14px;color:#8291a5;margin:0}
/* Motion Prompt #081 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#081 */
/* Only these three spacious entry cards lift: 10 px / .3 s, blur 6→22, offset 2→12. */
.feature-card{box-shadow:0 2px 6px rgba(28,35,51,.08);transition:transform .3s var(--xp-ease-out),box-shadow .3s var(--xp-ease-out),border-color .3s}
@media(hover:hover){.feature-card:hover{transform:translateY(-10px);box-shadow:0 12px 22px rgba(28,35,51,.22);border-color:#bed5fb}}
.hub-activity{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 4px}
.activity-icon{display:flex;color:#849bb8}.activity-icon svg{width:20px;height:20px}
#hub-activity-text{display:flex;align-items:center;gap:16px;min-width:0}
#hub-activity-text strong{font-size:14px;font-weight:600;white-space:nowrap;color:#526c8d}
#hub-activity-text span{font-size:14px;color:#8190a3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-activity>a{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap;text-decoration:none;color:#5380b8}.hub-activity>a svg{width:16px;height:16px}
body[data-module=workbench]:not([data-workbench-view=overview]) #overview{display:none}
body[data-module=workbench]:not([data-workbench-view=tasks]) :is(#tasks,.task-section-heading){display:none}
body[data-module=workbench]:not([data-workbench-view=resources]) :is(#budgets,#resources){display:none}
body[data-module=workbench] .task-section-heading{margin:0 0 12px;min-height:36px}
body[data-module=workbench] .task-section-heading h2{font-size:18px}
body[data-module=workbench] .task-section-heading button{font-size:14px;min-height:32px;padding:5px 11px}
body[data-module=workbench] .workspace{grid-template-columns:300px minmax(0,1fr);align-items:stretch;gap:18px}
body[data-module=workbench] .workspace>.task-list{height:calc(100dvh - 206px);padding:16px;min-height:320px}
body[data-module=workbench] #task-detail{min-height:calc(100dvh - 206px);padding:20px 24px}
body[data-module=workbench] .task-idle{height:100%;min-height:450px}
.idle-orbit{width:70px;height:70px;display:block;border:1px solid #bcd2f6;border-radius:50%;position:relative;background:radial-gradient(circle,#dbeaff 0 25%,#f4f8ff 26% 55%,transparent 56%)}
.idle-orbit::after{content:"";position:absolute;right:8px;top:5px;width:9px;height:9px;border-radius:50%;background:#4483ed;box-shadow:0 0 0 5px #e8f1ff}
body[data-module=workbench] .task-row{padding:14px 12px;border:1px solid transparent;border-radius:12px;margin-bottom:6px;background:transparent;min-height:76px}
body[data-module=workbench] .task-row:hover{background:#f6f9fe}
body[data-module=workbench] .task-row.selected{background:#edf4ff;border-color:#d1e1fc;box-shadow:none}
body[data-module=workbench] .task-row strong{font-size:15px;font-weight:600;line-height:23px;color:#2c4769}
body[data-module=workbench] .row-footer{font-size:11px;margin-top:8px;color:#93a0b1}
body[data-module=workbench] .task-heading h2{font-size:21px;max-width:70%;line-height:1.5}
body[data-module=workbench] .stage{border:0;border-bottom:1px solid #edf1f7;border-radius:0;background:transparent;margin:0;padding:0}
body[data-module=workbench] .stage-heading{padding:12px 0;min-height:54px;column-gap:16px}
body[data-module=workbench] .stage-heading h3{font-size:15px;font-weight:550;gap:12px}
body[data-module=workbench] .stage-number{width:24px;height:24px;border-radius:8px;background:#f0f5fb;color:#7996b7;font-size:12px}
body[data-module=workbench] .stage-message{font-size:12px;color:#8c9bb0}
body[data-module=workbench] .stage-percent{font-size:12px;color:#7790ae}
body[data-module=workbench] .stage-heading progress{height:2px;opacity:.45}
body[data-module=workbench] .status{font-size:12px;line-height:22px;padding:0 9px;border:0;border-radius:6px;font-weight:500}
body[data-module=workbench] .status.succeeded{background:#edf5f1;color:#719585}
body[data-module=workbench] .stage-diagnostics{padding:14px;background:#f7f9fc;border-radius:10px;margin:8px 0 16px}
body[data-module=workbench] #budgets{gap:18px;margin:0 0 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-module=workbench] #budgets .budget{display:flex;align-items:flex-start;flex-direction:column;gap:14px;padding:24px;border-radius:18px;min-height:142px}
body[data-module=workbench] #budgets .budget strong{font-size:30px;font-weight:600;color:#245ba6;line-height:38px}
body[data-module=workbench] #budgets .budget small{font-size:16px;font-weight:400;color:#8b9bb1}
body[data-module=workbench] #budgets .budget p{font-size:14px;color:#7c8ca2;margin:0}
body[data-module=workbench] #budgets .budget progress{width:100%;height:4px}
body[data-module=workbench] #resources{padding:22px 26px}
body[data-module=workbench] #resources>summary{font-size:19px;font-weight:600;color:#243e61;margin-bottom:18px}

/* Data library and the two maintenance views. */
body[data-module=data]>main.page-content{padding:16px 24px 24px}
body[data-module=data] .content-toolbar{display:flex;align-items:center;gap:24px;min-height:44px;margin:0 0 16px}
body[data-module=data] .content-toolbar h1{order:-1;position:static;width:auto;height:auto;margin:0;padding:0;clip:auto;white-space:nowrap;font-size:23px;line-height:32px;flex:none}
body[data-module=data] #create-match{margin-left:auto;white-space:nowrap;padding:6px 14px;min-height:36px;font-size:14px}
body[data-module=data] .library-layout{grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:stretch}
body[data-module=data] .match-panel{padding:18px 14px;height:calc(100dvh - 150px);min-height:380px;background:#ffffffa8}
body[data-module=data] .match-panel .panel-heading{padding:0 6px;margin-bottom:16px}
body[data-module=data] .match-panel h2{font-size:17px}
body[data-module=data] .match-panel #search{margin:0 0 14px;height:36px;min-height:36px;font-size:14px;background:#f8fafd;border-color:#e5ebf4}
body[data-module=data] .match-row{display:flex;align-items:center;gap:11px;padding:14px 10px;border:1px solid transparent;border-radius:12px;box-shadow:none;background:transparent;margin-bottom:7px}
body[data-module=data] .match-row.selected{background:#ecf3ff;border-color:#d4e3fc}
body[data-module=data] .match-row:hover{background:#f0f5fd}
.match-monogram{display:flex;align-items:center;justify-content:center;width:36px;height:42px;flex:none;border-radius:10px;background:linear-gradient(145deg,#e5efff,#f5f8fd);border:1px solid #d9e6fa;color:#4d7db9;font-size:17px;font-weight:650}
.match-row-copy{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.match-chevron{color:#a5b8cf;font-size:21px;line-height:1}
body[data-module=data] .match-row strong{font-size:15px;font-weight:600;line-height:23px;color:#284465;display:block}
body[data-module=data] .match-row small{font-size:12px;line-height:18px;color:#91a1b7;margin:0}
body[data-module=data] #match-detail:not(:has(.empty)){min-height:calc(100dvh - 150px);padding:22px 24px;gap:4px}
body[data-module=data] #match-detail>.panel-heading:first-child h2{font-size:24px;line-height:32px}
body[data-module=data] #match-detail>.two-columns{grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:18px;margin:2px 0 14px}
body[data-module=data] #match-detail>.two-columns label{display:flex;flex-direction:row;align-items:center;gap:12px;font-size:14px;color:#8092a9}
body[data-module=data] #scenario-select{flex:1;max-width:560px;font-size:14px;height:36px;min-height:36px}
body[data-module=data] #match-detail :is(.actions button,#add-video){min-height:32px;font-size:14px;padding:4px 11px;white-space:nowrap}
body[data-module=data] #match-detail>.panel-heading h2{font-size:17px;line-height:24px}
body[data-module=data] #match-detail>.sources{flex:1;display:flex;gap:12px;margin:0 0 14px;min-height:180px}
body[data-module=data] .sources>.source{position:relative;align-items:center;padding:0;background:#f7faff;border:1px solid #e4edf8;border-radius:14px;gap:20px;overflow:hidden;min-height:200px}
body[data-module=data] .source-icon{width:48%;max-width:600px;min-height:220px;align-self:stretch;height:auto;border-radius:0;background:#102741;aspect-ratio:16/9;flex:none}
body[data-module=data] .source-icon img{object-fit:cover}
body[data-module=data] .source-body{padding:18px 12px 18px 0;min-width:0}
body[data-module=data] .source h3{font-size:17px;font-weight:600;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 12px}
body[data-module=data] .source p{font-size:13px;line-height:23px;color:#8597ad;overflow-wrap:anywhere;margin:5px 0}
body[data-module=data] .sources [data-play]{position:absolute;left:18px;bottom:16px;border:1px solid #ffffff55;color:#fff;background:#122b55a8;backdrop-filter:blur(8px);border-radius:8px;font-size:13px;padding:5px 12px;min-height:32px}
body[data-module=data] .published-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:0 0 10px}
body[data-module=data] .published-result{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;min-height:64px;padding:12px;border:1px solid #e3ebf7;border-radius:12px;background:#fafdff;text-decoration:none;box-shadow:none;transition:background .18s,border-color .18s}
body[data-module=data] .published-result:hover{background:#edf5ff;border-color:#bdd5fa;transform:none}
body[data-module=data] .published-result strong{font-size:15px;font-weight:600;line-height:22px;color:#345b8c}
.result-glyph{font-size:24px;color:#679bec;line-height:1}.result-version{font-size:12px;color:#8aa2bf}.result-version b{margin-left:4px;font-weight:400}
body[data-module=data] .base-results{margin:2px 0 0;padding:9px 0;border-top:1px solid #edf1f7}
body[data-module=data] .base-results>summary,body[data-module=data] .delivery-options>summary{color:#7c90a9;font-size:14px;line-height:22px;cursor:pointer}
body[data-module=data] .base-results>summary span{margin-left:6px;color:#a1b1c6;font-size:12px}
body[data-module=data] .base-results .published-grid{margin:14px 0 0}
body[data-module=data] .base-results .published-result{min-height:42px;padding:8px 10px;background:#f8fafd}
body[data-module=data] .base-results .result-glyph{display:none}
body[data-module=data] .base-results .published-result{grid-template-columns:1fr auto}
body[data-module=data] .base-results .published-result strong{font-size:13px;font-weight:500}
body[data-module=data] .divider{display:none}
body[data-module=data] .delivery-options{padding-top:10px;border-top:1px solid #edf1f7;margin:0}
body[data-module=data] .delivery-options label{font-size:13px;line-height:22px;margin-top:12px;display:flex;flex-direction:row;align-items:center;gap:7px}
body[data-module=data] .delivery-options input{width:16px;height:16px;min-height:0;margin:0}
body[data-module=data] .view>.two-columns{gap:20px;grid-template-columns:1fr 1fr}
body[data-module=data] .view>.two-columns>.panel{padding:26px;min-height:240px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
body[data-module=data] .view>.two-columns>.panel h2{margin:0;font-size:22px}
body[data-module=data] .view>.two-columns>.panel :is(p,form){margin:0;width:100%;font-size:15px;line-height:26px}
body[data-module=data] .view>.two-columns>.panel form{display:flex;flex-direction:column;gap:18px}
body[data-module=data] .view>.two-columns>.panel form button{align-self:flex-start}
body[data-module=data] .view>.two-columns>.panel>button{margin-top:auto}
body[data-module=data] .view>.panel.spaced{margin-top:20px;padding:22px 26px}
body[data-module=data] #stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 20px}
body[data-module=data] #stats .stat{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:22px 24px;min-height:118px;border-radius:16px;background:#fff;border:1px solid var(--xp-line)}
body[data-module=data] #stats small{font-size:13px;color:#7f92ac}
body[data-module=data] #stats strong{font-size:26px;font-weight:600;color:#2b5f9f;line-height:34px}
body[data-module=data] .maintenance-details>summary{font-size:18px;font-weight:600;color:#415d7f;cursor:pointer}
body[data-module=data] .maintenance-details[open]>.panel-heading{margin-top:22px}
body[data-module=data] .maintenance-details .source{min-height:62px;padding:12px 0;border:0;border-bottom:1px solid #eaf0f7;background:transparent}
body[data-module=data] .maintenance-details .source-body{padding:0}
body[data-module=data] .maintenance-details .source h3{font-size:15px;margin:0}
body[data-module=data] #storage-path{font-family:Consolas,monospace;font-size:12px;overflow-wrap:anywhere}

/* Annotation: video stays central; secondary tools share a single quiet row. */
body[data-module=annotation]>.annotation-shell{padding:12px 18px 14px}
body[data-module=annotation] .match-toolbar{padding:0;margin:0 0 10px;gap:9px;min-height:36px}
body[data-module=annotation] .match-toolbar :is(select,button){height:36px;min-height:36px;font-size:14px}
body[data-module=annotation] .match-toolbar #matchSelect{background:#fff;border-color:#e0e8f2;font-weight:550;padding-left:13px}
.experience-review-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;min-height:40px}
.experience-review-bar>.experience-tabs{flex:none}
.experience-review-bar .review-display-controls{margin:0;min-height:32px;gap:12px;justify-content:flex-end;flex-wrap:nowrap}
.experience-review-bar .review-display-controls label{font-size:13px;gap:6px;white-space:nowrap;color:#71859e}
.experience-review-bar .review-display-controls input[type=checkbox]{width:14px;height:14px;min-height:0}
.experience-review-bar .review-display-controls .trail-length input{width:80px}
.experience-review-bar .review-display-controls output{font-size:12px;min-width:42px}
.experience-review-bar .review-display-controls :is(#openVisualCalibration,#openAnalysisScope){min-height:30px;font-size:13px;padding:3px 9px;color:#6682a5;border-color:#dfe8f4;background:#fff;border-radius:8px}
body[data-module=annotation] #reviewWorkspace{--ur-stage-height:calc(100dvh - 252px);--ur-rail-width:52px}
body[data-module=annotation] #reviewWorkspace .ur-shell{background:#fff;border:1px solid #e2eaf5;border-radius:16px;box-shadow:0 4px 24px #12345c06;padding:7px}
#reviewWorkspace .ur-operator-rail{background:#f6f9fd;border:0;border-radius:10px}
#reviewWorkspace .ur-operator-rail :is(button,summary){border:0!important;border-radius:8px!important;background:transparent;color:#7f91aa;font-size:12px;line-height:18px;min-height:38px}
#reviewWorkspace .ur-operator-rail button:is([aria-checked=true],[aria-pressed=true],.active){background:#e4eeff!important;color:#2866cd!important;box-shadow:none}
#reviewWorkspace .ur-operator-panel{border:1px solid #e2eaf5;border-radius:13px;background:#fff;box-shadow:0 6px 24px #193d6a09;padding:14px}
#reviewWorkspace .ur-task{border:1px solid #e6edf7;border-radius:10px;margin-bottom:6px;box-shadow:none;background:#fbfdff}
#reviewWorkspace .ur-task:hover{background:#f0f6ff;border-color:#cbdcf8}
#reviewWorkspace .ur-task strong{font-size:15px;font-weight:600;color:#315579}
#reviewWorkspace .ur-operator-panel-heading h3{font-size:17px;font-weight:650}
#reviewWorkspace .ur-search input{background:#f8fafd;font-size:14px}
#reviewWorkspace .ur-queue-count{color:#8ca0b9;font-size:12px;line-height:20px}
#reviewWorkspace .ur-queue-filter>summary{font-size:13px;line-height:24px;color:#6984a6;background:#f6f9fd;border-radius:8px}
#reviewWorkspace .ar-transport{background:#fff;border-top:0;min-height:42px}
#reviewWorkspace .ar-transport :is(button,select){font-size:13px;min-height:30px;border-color:#e1e9f3;border-radius:7px;color:#5f7999;background:#f9fbfe}
#reviewWorkspace .ar-stage,#reviewWorkspace #arFrameFocus{border-radius:10px;overflow:hidden;background:#07192c}
#reviewWorkspace .ar-caption{display:none}
#reviewWorkspace .ur-filter-checks label{font-size:13px;line-height:20px}
#reviewWorkspace .ur-filter-actions button{font-size:13px}
#reviewWorkspace #arQuickIdentity.ar-track-gallery{border:1px solid #d9e5f6;border-radius:18px!important;box-shadow:0 20px 70px #0f294938}
#reviewWorkspace .ar-track-gallery :is(h3,h4){font-size:18px;color:#2e4b71}
#analysisSettings>.analysis-settings-tabs{border-bottom:1px solid #e3eaf5;margin:2px 0 14px;padding:0;gap:5px}
#analysisSettings .analysis-settings-tabs button{font-size:14px;min-height:38px;padding:7px 13px;border:0!important;border-radius:7px;background:transparent!important;color:#8090a6}
#analysisSettings .analysis-settings-tabs button[aria-selected=true]{color:#2164d6;background:transparent!important}
#analysisSettings .settings-panel[role=tabpanel]{border-radius:16px;padding:24px;background:#fff;border:1px solid var(--xp-line);box-shadow:none}
#analysisSettings .form-grid{gap:22px 24px}
#analysisSettings .form-grid label{padding:0;margin:0;font-size:14px;color:#70869f;line-height:22px}
#analysisSettings .form-grid :is(input,select){font-size:15px;min-height:38px;height:38px;background:#fbfcff}
#analysisSettings .muted{font-size:12px;color:#98a8bc;margin-bottom:18px}
#analysisSettings .hint{font-size:14px;line-height:24px}
#analysisSettings .actions button{font-size:14px;min-height:34px;padding:5px 12px}
body[data-module=annotation] #calibrationDialog{width:min(1400px,calc(100vw - 48px))}
body[data-module=annotation] .calibration-assist-toolbar{padding:10px 12px;background:#f3f7fd;border:1px solid #e1eaf8;border-radius:10px;font-size:13px}
body[data-module=annotation] .calibration-point-sidebar{background:#f7faff;border:1px solid #e2eaf5;border-radius:12px;padding:16px}
body[data-module=annotation] .calibration-layout{gap:18px}

/* Profile: keep the established analytical layouts and make every level coherent. */
body[data-module=profile]>main>.topbar{background:transparent;border-bottom:0;box-shadow:none;padding:8px 22px!important;height:50px!important;min-height:50px!important}
body[data-module=profile] #matchTitle{font-size:19px;line-height:28px;letter-spacing:-.025em}
body[data-module=profile] .topbar :is(.button,button){min-height:32px;height:32px;font-size:13px;padding:4px 11px;border-radius:8px}
body[data-module=profile] #exportButton{display:inline-flex;align-items:center;gap:6px}
body[data-module=profile] #exportButton svg{width:15px;height:15px}
body[data-module=profile] #workspace{padding:0 22px 22px!important}
body[data-module=profile] #workspaceHeading{min-height:42px;display:flex;align-items:center;gap:16px;margin:0 0 14px;padding:0}
body[data-module=profile] #workspaceHeading>.experience-tabs{flex:1;min-width:0}
body[data-module=profile] #workspaceHeading>div:has(>#workspaceTitle){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
body[data-module=profile] #workspaceHeading .yqzx-analysis-status{display:flex;align-items:center;gap:10px;margin:0}
body[data-module=profile] #workspaceHeading #profileRecompute{margin:0!important}
body[data-module=profile] .analysis-grid{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body[data-module=profile] .analysis-grid .card{padding:18px 18px 12px;overflow:hidden;border-radius:17px;box-shadow:none}
body[data-module=profile] .card-heading{margin-bottom:14px;min-height:30px}
body[data-module=profile] .card-heading h2{font-size:18px;line-height:26px}
body[data-module=profile] .card-heading p,body[data-module=profile] .card-footnote,body[data-module=profile] .tiny-square{display:none}
body[data-module=profile] .summary-stats{border-radius:13px;padding:0;border-color:#e2eaf6;background:#ffffffc2;box-shadow:none;margin-bottom:0}
body[data-module=profile] .summary-stats .stat{background:transparent;border:0;border-right:1px solid #e9eef5;border-radius:0;padding:13px 18px;gap:18px;min-height:58px}
body[data-module=profile] .summary-stats .stat:last-child{border:0}
body[data-module=profile] .summary-stats .stat .stat-label{font-size:13px;color:#7b8da3}
body[data-module=profile] .summary-stats .stat strong{font-size:28px;font-weight:600;color:#254e82;line-height:34px;letter-spacing:-.04em}
body[data-module=profile] .summary-stats .stat small{font-size:12px;color:#a0aec0}
body[data-module=profile] .video-stage{border-radius:11px;background:#0b1e35;overflow:hidden}
body[data-module=profile] .video-camera-label{font-size:12px;color:#d0dfef}
body[data-module=profile] .timeline{gap:10px;padding-top:10px;min-height:36px}
body[data-module=profile] .timeline .icon-button{width:30px;height:30px;min-height:30px;border-radius:9px;background:#edf4ff;color:#246bff;border:0;font-size:13px}
body[data-module=profile] .timeline>span{font-size:12px;font-variant-numeric:tabular-nums;color:#8ca0b9}
body[data-module=profile] .pitch-stage{background:#fbfdff;border:0;border-radius:12px}
body[data-module=profile] .viz-legend{font-size:12px;gap:5px 12px;line-height:20px;color:#8295ae}
body[data-module=profile] .pitch-legend #resetPlayer{display:none}
body[data-module=profile] .pitch-card .card-heading select{font-size:13px;height:32px;min-height:32px;padding:4px 8px}
body[data-module=profile] .tactical-views{display:flex;align-items:center;justify-content:flex-start;border-bottom:1px solid #dee7f3;margin:0 0 14px;padding:0 0 1px;gap:8px}
body[data-module=profile] .tactical-views>button{font-size:14px;padding:7px 14px;min-height:38px;background:transparent!important;border:0!important;border-radius:8px;color:#8395ac;box-shadow:none!important}
body[data-module=profile] .tactical-views>button[aria-selected=true]{color:#2164d5;font-weight:600}
body[data-module=profile] .tactics-card{padding:18px 20px}
body[data-module=profile] .tactics-layout{grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:24px}
body[data-module=profile] .tactics-sidebar{border-left:1px solid #e8eef7;padding-left:22px}
body[data-module=profile] .tactics-sidebar :is(h3,.viz-shape-panel h3){font-size:16px;margin-bottom:10px}
body[data-module=profile] .shape-chart-hint,body[data-module=profile] #tacticsQuality{display:none}
body[data-module=profile] .viz-shape-controls{gap:12px}
body[data-module=profile] .viz-shape-controls label{font-size:12px;color:#8a9db5}
body[data-module=profile] .viz-shape-controls select{font-size:13px;min-height:32px;padding:4px 8px}
body[data-module=profile] .workspace-timeline{border:0;border-radius:10px;background:#f5f8fd;padding:8px 12px;min-height:40px}
body[data-module=profile] .players-card{padding:20px 22px;min-height:calc(100dvh - 180px)}
body[data-module=profile] .table-tools{gap:10px}
body[data-module=profile] .table-tools input{height:36px;min-height:36px;min-width:230px;font-size:14px}
body[data-module=profile] .table-scroll{max-height:calc(100dvh - 300px);overflow:auto;border:1px solid #e7edf6;border-radius:11px}
body[data-module=profile] table{width:100%;border-collapse:collapse;font-size:14px}
body[data-module=profile] th{position:sticky;top:0;z-index:2;background:#f5f8fc;color:#8799b0;font-size:12px;font-weight:550;padding:12px 14px;white-space:nowrap}
body[data-module=profile] td{border-bottom:1px solid #edf2f8;padding:12px 14px;font-size:14px;color:#4a6586;line-height:24px}
body[data-module=profile] tbody tr:hover td{background:#f3f8ff}
body[data-module=profile] .events-card{padding:20px 22px;min-height:calc(100dvh - 180px)}
body[data-module=profile] .event-filters{width:max-content;margin-bottom:20px}
body[data-module=profile] .events-list{max-height:none;overflow:visible}
body[data-module=profile] .event-item{border:1px solid #e4ebf5;border-radius:12px;padding:14px 16px;background:#fbfdff;margin-bottom:8px}
body[data-module=profile] .profile-dialog{width:min(1280px,calc(100vw - 56px));padding:0;border-radius:22px;max-height:calc(100dvh - 48px)}
body[data-module=profile] .profile-header{padding:22px 28px;background:#f9fbff;border-bottom:1px solid #e4ebf6}
body[data-module=profile] .profile-header h2{font-size:27px;line-height:36px;font-weight:650}
body[data-module=profile] .profile-content{padding:0 28px 28px}
body[data-module=profile] .profile-tabs{background:#fff;gap:10px;padding:12px 0 0;border-bottom:1px solid #e5ecf5;margin:0 0 20px}
body[data-module=profile] .profile-tab{background:transparent!important;border:0!important;border-radius:8px;font-size:15px;padding:9px 15px;line-height:24px;color:#8a9ab0;box-shadow:none!important}
body[data-module=profile] .profile-tab[aria-selected=true]{color:#246bff;font-weight:600}
body[data-module=profile] .profile-panel{border:1px solid #e6edf7;border-radius:14px;padding:20px;background:#fff;box-shadow:none}
body[data-module=profile] .profile-panel h3{font-size:18px;font-weight:600;color:#294d7b}
body[data-module=profile] .profile-panel :is(.small,.muted,p){font-size:13px;line-height:1.65;color:#8195af}
body[data-module=profile] .profile-grid{gap:16px}
body[data-module=profile] .profile-kpis{gap:12px}
body[data-module=profile] #researchCard{border:1px solid var(--xp-line);border-radius:16px;padding:18px 20px!important}
body[data-module=profile] #researchCard .research-stat{border:0;border-radius:10px;background:#f4f8ff;min-height:54px;gap:12px;padding:8px 12px!important}
body[data-module=profile] #researchCard .research-stat b{font-size:25px;color:#2f68b0;font-weight:600}
body[data-module=profile] #researchCard .research-stat span{font-size:12px;color:#7d96b5}
body[data-module=profile] #researchCard .research-layout{gap:22px}
body[data-module=profile] .control-candidates{padding:20px 22px;border:1px solid var(--xp-line);border-radius:16px}
body[data-module=profile] .cc-timeline .cc-minute{padding:14px 6px;min-height:56px;font-size:14px}
body[data-module=profile] .cc-timeline .cc-minute .cc-bar{height:20px;border-radius:6px;overflow:hidden}
body[data-module=profile] .reading-details,body[data-module=profile] .tactics-method{border-color:#e9eef7;color:#8b9cb2;font-size:13px}
body[data-module=profile] .reading-details>summary{font-size:13px;line-height:22px}
body[data-module=profile] .club-briefing{border-radius:16px;padding:22px;border:1px solid var(--xp-line);background:white}
body[data-module=profile] .club-briefing :is(h2,h3){font-size:20px;color:#2e507b}
body[data-module=profile] .club-briefing p{font-size:15px;line-height:1.7;color:#6a819e}

/* 3D: the field is the interface; chrome is quiet, blue and translucent. */
html:has(body[data-module=reconstruction]){scrollbar-gutter:auto;background:#07182d}
body[data-module=reconstruction]{background:#07182d;color:#d4e4f9}
body[data-module=reconstruction] .app-header{background:#081d32c9;border-bottom:1px solid #8db8f016;backdrop-filter:blur(20px);box-shadow:none;grid-template-columns:240px minmax(0,1fr) 240px}
body[data-module=reconstruction] .app-logo{color:#e1edff;font-size:20px;padding-left:20px}
body[data-module=reconstruction] .app-logo svg{color:#76a6fa}
body[data-module=reconstruction] .app-main-nav>a{color:#9db3cf}
body[data-module=reconstruction] .app-main-nav>a[aria-current=page]{color:#e6f0ff;background:linear-gradient(transparent,#74a9ff0c)}
body[data-module=reconstruction] .app-main-nav .experience-indicator{background:#7cacff}
body[data-module=reconstruction] .scene-caption{top:62px;max-width:45%;left:50%;transform:translateX(-50%)}
body[data-module=reconstruction] #match-title{color:#dcecff;font-size:15px;font-weight:500;line-height:24px;padding:7px 15px;border-radius:10px;background:#071d3480;border:1px solid #a5c8ff16;backdrop-filter:blur(12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-module=reconstruction] .scene-actions{top:62px;right:20px;gap:7px}
body[data-module=reconstruction] .scene-actions button{font-size:13px;min-height:32px;height:32px;padding:5px 12px;border:1px solid #9dbbe52d;border-radius:8px;background:#102b4899;color:#c1d6f3}
body[data-module=reconstruction] .scene-actions button:hover{background:#22549a99;color:#fff}
body[data-module=reconstruction] .scene-actions .experience-icon-button{background:#102b4899!important;border-color:#9dbbe52d!important;color:#bdd4f8}
body[data-module=reconstruction] .view-switcher{top:62px;left:20px;border:1px solid #9dbbe52d;background:#0d2741ae;backdrop-filter:blur(16px);border-radius:10px;box-shadow:none}
body[data-module=reconstruction] .view-switcher>summary{min-height:34px;padding:6px 12px;gap:8px;font-size:14px;color:#d6e7fc}
body[data-module=reconstruction] .view-switcher-label{display:none}
body[data-module=reconstruction] .view-rail{background:#0b2037e8;border:1px solid #829dc72d;box-shadow:0 16px 36px #0003;backdrop-filter:blur(20px);border-radius:12px;padding:6px}
body[data-module=reconstruction] .view-rail button{border:0;border-radius:8px;min-height:38px;font-size:14px;color:#9fb9db;background:transparent;padding:7px 12px}
body[data-module=reconstruction] .view-rail button.active{color:#e8f2ff;background:#2a6bd34a}
body[data-module=reconstruction] .view-rail kbd{background:transparent;border:0;color:#667f9e;font-size:11px}
body[data-module=reconstruction] .scene-top{left:20px;top:106px;background:transparent;border:0;box-shadow:none;padding:0 2px;font-size:12px;gap:8px;color:#7e9ebf;backdrop-filter:none}
body[data-module=reconstruction] .scene-top .live-dot{width:5px;height:5px;box-shadow:none;background:#5f94da}
body[data-module=reconstruction] .scene-top .divider{opacity:.3}
body[data-module=reconstruction] .source-panel{top:106px;right:20px;width:clamp(260px,25vw,420px);border:1px solid #aac8f02a;background:#09223ac4;border-radius:13px;box-shadow:0 12px 30px #0002;overflow:hidden;backdrop-filter:blur(12px)}
body[data-module=reconstruction] .panel-label{height:32px;min-height:32px;padding:5px 10px;font-size:12px;color:#9fb9db;gap:8px}
body[data-module=reconstruction] .panel-label #source-time{font-variant-numeric:tabular-nums;font-size:11px;color:#86a5ca}
body[data-module=reconstruction] #source-close{height:22px;min-height:22px;width:22px;padding:0;border:0;background:transparent;color:#87a7cf}
body[data-module=reconstruction] .source-caption{display:none}
body[data-module=reconstruction] .playback{left:20px;right:20px;bottom:18px;border:1px solid #9fbce62b;border-radius:15px;padding:9px 16px;background:linear-gradient(120deg,#081e35e8,#102841d6);backdrop-filter:blur(22px);box-shadow:0 10px 30px #0002}
body[data-module=reconstruction] .timeline-labels{height:0;min-height:0;margin:0;overflow:hidden}
body[data-module=reconstruction] .timeline-wrap{height:18px;margin:0 0 3px}
body[data-module=reconstruction] .transport{padding:3px 0 0;min-height:40px}
body[data-module=reconstruction] .transport-main{gap:10px}
body[data-module=reconstruction] .transport-options{gap:8px}
body[data-module=reconstruction] .transport :is(button,select){height:30px;min-height:30px;padding:3px 8px;font-size:13px;line-height:24px;background:#ffffff06;border:1px solid #bdd4f021;border-radius:8px;color:#9db8da}
body[data-module=reconstruction] .transport button:hover{color:#e4efff;border-color:#7eb0fb72;background:#1e4e8b66}
body[data-module=reconstruction] .transport button[aria-pressed=true]{background:#2a63a948;color:#d4e7ff;border-color:#71a5e340}
body[data-module=reconstruction] .transport .play{width:36px;height:36px;min-height:36px;border-radius:50%;background:#3479ef;color:#fff;border:0;box-shadow:0 3px 18px #246bff38;font-size:13px}
body[data-module=reconstruction] .transport #current-time{font-size:16px;color:#d7e7fc;font-variant-numeric:tabular-nums;margin-left:10px}
body[data-module=reconstruction] .transport #duration{font-size:12px;color:#6c8bb1}
body[data-module=reconstruction] .transport-options>label{font-size:0;gap:0}
body[data-module=reconstruction] #perf{display:none}
body[data-module=reconstruction] .loading{background:#0c2645eb;border:1px solid #618dca45;color:#bfd8ff;border-radius:12px;box-shadow:0 8px 30px #0003;font-size:14px;padding:13px 18px}
body[data-module=reconstruction] #library-dialog{width:min(1100px,calc(100vw - 56px));background:#f7faff;padding:26px}
body[data-module=reconstruction] .library-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-height:none;overflow:visible}
body[data-module=reconstruction] .library-item{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:1px solid #e0e9f6;background:#fff;border-radius:15px;overflow:hidden;text-align:left;box-shadow:0 3px 10px #14396605;transition:box-shadow .2s,border-color .2s}
body[data-module=reconstruction] .library-item:hover{background:white;border-color:#80aaf0;box-shadow:0 8px 22px #246bff18}
.replay-art{height:124px;position:relative;display:block!important;overflow:hidden;background:radial-gradient(ellipse at 66% 18%,#204d86,transparent 70%),linear-gradient(130deg,#071c36,#13395e)}
.replay-art::before{content:"";position:absolute;left:16%;right:16%;top:18%;bottom:18%;border:1px solid #7ca9d77a;transform:perspective(220px) rotateX(40deg) rotateZ(-12deg);background:repeating-linear-gradient(90deg,#649ac60b 0 12%,#669fc51c 12% 24%)}
.replay-art::after{content:"";position:absolute;left:43%;top:37%;width:38px;height:29px;border:1px solid #89b3dc88;border-radius:50%;transform:rotate(-12deg)}
.replay-art i{position:absolute;width:5px;height:7px;border-radius:3px;background:#71acff;box-shadow:0 2px 7px #73b6ff55;left:35%;top:35%}
.replay-art i:nth-child(2){left:64%;top:28%;background:#ffcf85}.replay-art i:nth-child(3){left:45%;top:66%}.replay-art i:nth-child(4){left:70%;top:57%;background:#ffcf85}.replay-art i:nth-child(5){left:28%;top:62%}
.replay-card-copy{display:flex!important;flex-direction:column;gap:8px;padding:16px 18px}
body[data-module=reconstruction] .library-item strong{font-size:15px;line-height:23px;color:#2b4c75;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body[data-module=reconstruction] .library-item .replay-card-copy>span{font-size:12px;color:#8da3bd}
body[data-module=reconstruction] #info-content .metric{padding:11px 0;border-bottom:1px solid #eaf0f8;gap:24px;font-size:14px;line-height:22px}
body[data-module=reconstruction] #info-content .metric span{color:#859ab3}
body[data-module=reconstruction] #info-content .metric b{color:#385a82;font-weight:500;text-align:right}
body[data-module=reconstruction] #info-content>p{font-size:13px;color:#8b9eb5;line-height:1.8;padding-top:10px}
body[data-module=reconstruction] #import-dialog{width:min(720px,calc(100vw - 48px))}
body[data-module=reconstruction] #import-dialog label{color:#6b83a0;margin:14px 0;font-size:14px}
body[data-module=reconstruction] #import-dialog :is(input,select){background:#f9fbfe;border:1px solid #dce6f4;color:#365676;border-radius:9px;height:38px;font-size:15px}
body[data-module=reconstruction] #import-dialog p{color:#8b9db4;font-size:14px;line-height:24px}

/* Desktop layouts fill the available canvas; small screens flow naturally. */
@media(min-width:1700px){body[data-module=workbench]>main.page-content,body[data-module=data]>main.page-content{padding-left:36px;padding-right:36px}.showcase-copy{padding-left:64px}.showcase-paths{gap:24px}.feature-card{min-height:132px;padding:30px}.feature-card h2{font-size:21px}body[data-module=data] .library-layout{grid-template-columns:330px minmax(0,1fr)}}
@media(max-width:1200px){body[data-module] .app-header,body[data-module=reconstruction] .app-header{grid-template-columns:200px minmax(0,1fr) 150px}body[data-module] .app-main-nav{gap:0}body[data-module] .app-main-nav>a{padding:0 11px;font-size:14px}.feature-card{gap:12px;padding:22px 18px}.feature-card>.feature-icon{width:38px;height:38px}.feature-card>svg{display:none}.experience-review-bar .review-display-controls{gap:8px}.experience-review-bar .review-display-controls .trail-length input{width:60px}.experience-review-bar .experience-tabs button{padding:8px 9px;font-size:14px}.experience-review-bar .review-display-controls label{font-size:12px}body[data-module=data] .library-layout{grid-template-columns:260px minmax(0,1fr)}body[data-module=data] .source-icon{width:43%;min-height:180px}body[data-module=data] .source h3{font-size:15px}body[data-module=profile] .tactics-layout{grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr)}}
@media(max-width:1000px){body[data-module] .app-header,body[data-module=reconstruction] .app-header{grid-template-columns:180px minmax(0,1fr)}body[data-module] .app-header-state{display:none}.experience-pagebar{gap:20px}.pagebar-status{display:none}.showcase-copy{padding:32px}.showcase-copy h2{font-size:46px}.feature-card{align-items:flex-start;flex-direction:column;gap:14px;padding:20px}.feature-card>div{min-width:0}.feature-card h2{font-size:17px!important}.feature-card p{font-size:12px}.experience-review-bar{flex-wrap:wrap;gap:6px}.experience-review-bar .review-display-controls{flex:1}.experience-review-bar .experience-tabs{flex:1}.experience-review-bar .review-display-controls .trail-length{display:none}body[data-module=annotation] #reviewWorkspace{--ur-stage-height:calc(100dvh - 270px)}body[data-module=data] .content-toolbar{flex-wrap:wrap;gap:10px}body[data-module=data] .content-toolbar>.experience-tabs{order:2;flex:1 1 100%}body[data-module=data] .library-layout{grid-template-columns:230px minmax(0,1fr)}body[data-module=data] .sources>.source{flex-direction:column;align-items:stretch;gap:0}body[data-module=data] .source-icon{width:100%;height:200px;min-height:200px;max-width:none}body[data-module=data] .source-body{padding:14px 18px}body[data-module=data] .sources [data-play]{top:156px;bottom:auto}body[data-module=data] .match-panel{height:calc(100dvh - 185px)}body[data-module=data] #match-detail>.two-columns{grid-template-columns:1fr}body[data-module=data] .source p{font-size:12px}body[data-module=profile] .tactics-layout{grid-template-columns:1fr}body[data-module=profile] .tactics-sidebar{border-left:0;padding-left:0}body[data-module=reconstruction] .scene-caption{max-width:36%}body[data-module=reconstruction] .library-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html{scrollbar-gutter:auto}body[data-module] .app-header,body[data-module=reconstruction] .app-header{grid-template-columns:155px minmax(0,1fr)}body[data-module] .shell-brand{padding-left:8px;gap:3px}body[data-module] .app-logo{font-size:17px;gap:6px}body[data-module] .app-logo svg{width:24px;height:24px}body[data-module] .app-main-nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;gap:0}body[data-module] .app-main-nav>a{font-size:13px;padding:0 10px}body[data-module=workbench]>main.page-content,body[data-module=data]>main.page-content{padding:12px 14px 20px}.experience-pagebar{flex-wrap:wrap;gap:8px;margin-bottom:14px}.experience-pagebar h1{font-size:21px;min-width:0}.experience-pagebar .experience-tabs{margin-left:auto}.experience-tabs :is(button,a){font-size:13px;padding:6px 10px;min-height:36px}.showcase-hero{min-height:380px}.showcase-copy{padding:28px}.showcase-label{font-size:12px;margin-bottom:20px}.showcase-copy p{font-size:14px}.showcase-copy h2{font-size:42px!important}.showcase-hero::before{background:linear-gradient(90deg,#061c3ce8,#08254d66)}.showcase-paths{grid-template-columns:1fr;gap:12px}.feature-card{flex-direction:row;align-items:center;min-height:88px;padding:18px}.feature-card>svg{display:block}.hub-activity{padding:8px 2px}.hub-activity>span{display:none}#hub-activity-text{flex-direction:column;align-items:flex-start;gap:3px}#hub-activity-text span{max-width:55vw;font-size:12px}body[data-module=workbench] .experience-home{min-height:0}body[data-module=workbench] .workspace{grid-template-columns:1fr}body[data-module=workbench] .workspace>.task-list{height:auto;max-height:340px;min-height:220px}body[data-module=workbench] #task-detail{min-height:280px;padding:18px}body[data-module=workbench] #budgets{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-module=workbench] .task-section-heading{gap:10px;align-items:flex-start;flex-wrap:wrap}body[data-module=workbench] .stage-heading{grid-template-columns:minmax(0,1fr) auto}body[data-module=workbench] .stage-message{display:none}body[data-module=workbench] .stage-heading h3{font-size:13px}body[data-module=workbench] .task-heading h2{max-width:none;font-size:18px}body[data-module=data] .library-layout{grid-template-columns:1fr}body[data-module=data] .match-panel{height:auto;max-height:330px;min-height:200px}body[data-module=data] #match-detail:not(:has(.empty)){padding:18px;min-height:0}body[data-module=data] .view>.two-columns{grid-template-columns:1fr}body[data-module=data] #stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body[data-module=data] #stats .stat{padding:18px}body[data-module=data] .published-grid{grid-template-columns:1fr 1fr}body[data-module=data] #match-detail>.panel-heading:first-child h2{font-size:20px}body[data-module=annotation] .match-toolbar{flex-wrap:wrap}body[data-module=annotation] #matchSelect{flex:1 1 100%}body[data-module=annotation] #reviewSource{flex:1}.experience-review-bar .review-display-controls{justify-content:flex-start;flex-wrap:wrap}.experience-review-bar>.experience-tabs{flex:1 1 100%}body[data-module=annotation] #reviewWorkspace{--ur-stage-height:max(280px,calc(100dvh - 350px))}body[data-module=profile]>main>.topbar{height:auto!important;min-height:50px!important;padding:8px 14px!important;gap:8px;flex-wrap:wrap}body[data-module=profile] #workspace{padding:0 14px 18px!important}body[data-module=profile] #workspaceHeading{gap:6px}body[data-module=profile] #workspaceHeading>.experience-tabs{overflow-x:auto;scrollbar-width:none}body[data-module=profile] .analysis-grid{grid-template-columns:1fr!important}body[data-module=profile] .analysis-grid :is(.video-stage,.pitch-stage){height:auto;min-height:280px;aspect-ratio:16/10}body[data-module=profile] .summary-stats{display:grid!important;grid-template-columns:1fr 1fr!important}body[data-module=profile] .summary-stats .stat{min-height:62px;padding:10px 14px}body[data-module=profile] .summary-stats .stat strong{font-size:24px}body[data-module=profile] .profile-header{padding:18px}body[data-module=profile] .profile-content{padding:0 18px 20px}body[data-module=profile] .profile-tabs{overflow:auto;flex-wrap:nowrap;white-space:nowrap;gap:4px}body[data-module=profile] .profile-tab{padding:8px;font-size:13px}body[data-module=profile] .tactical-views{overflow-x:auto;white-space:nowrap;gap:0}body[data-module=profile] .tactical-views>button{font-size:13px;padding:6px 10px}body[data-module=profile] .table-tools{flex-wrap:wrap}body[data-module=profile] .table-tools input{min-width:170px;width:100%}body[data-module=profile] .table-scroll{max-height:65dvh}body[data-module] dialog{padding:20px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:17px}body[data-module=reconstruction] .app-logo{padding-left:10px}body[data-module=reconstruction] .scene-caption{top:106px;left:16px;right:16px;transform:none;max-width:100%;pointer-events:none}body[data-module=reconstruction] #match-title{font-size:12px;max-width:100%;padding:5px 10px;display:inline-block}body[data-module=reconstruction] .scene-top{display:none}body[data-module=reconstruction] .scene-actions{right:12px;top:60px}body[data-module=reconstruction] .view-switcher{left:12px;top:60px}body[data-module=reconstruction] .source-panel{top:150px;right:12px;width:180px}body[data-module=reconstruction] .playback{left:10px;right:10px;bottom:10px;padding:9px 12px}body[data-module=reconstruction] .transport{flex-wrap:wrap;gap:10px}body[data-module=reconstruction] .transport-main{gap:5px;flex:1}body[data-module=reconstruction] .transport-options{justify-content:flex-end;flex:1;gap:5px}body[data-module=reconstruction] .transport #current-time{font-size:14px;margin-left:5px}body[data-module=reconstruction] .transport :is(#prev-frame,#next-frame){display:none}body[data-module=reconstruction] .library-list{grid-template-columns:1fr 1fr;gap:10px}.replay-card-copy{padding:12px}.replay-art{height:95px}body[data-module=reconstruction] .library-item strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body[data-module] *,body[data-module] *::before,body[data-module] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.feature-card:hover{transform:none}}
/* Refinements from the actual workspace, including long lists and report subviews. */
body[data-module] input[type=checkbox]{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;padding:0!important;margin:0!important;flex:0 0 16px!important;box-shadow:none!important;appearance:auto}
body[data-module=data] #match-list{align-content:start;grid-auto-rows:max-content;gap:5px}
body[data-module=data] #match-list .match-row{min-height:76px;height:auto;max-height:106px;margin:0}
body[data-module=data] #match-detail>.two-columns{align-items:center}
body[data-module=data] #match-detail>.two-columns .actions{margin:0;align-items:center}
body[data-module=data] .source-icon img{object-fit:contain}
body[data-module=workbench] #task-detail{display:flex;flex-direction:column;align-self:start;min-height:0}
body[data-module=workbench] #task-detail:has(.task-idle){min-height:calc(100dvh - 206px)}
.task-overview{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e4edf9;border-radius:13px;background:#f7faff;margin:12px 0 24px;padding:18px 0}
.task-overview>div{padding:0 22px;border-right:1px solid #e3ebf6;display:flex;flex-direction:column;gap:7px}.task-overview>div:last-child{border:0}
.task-overview span{font-size:12px;color:#8b9db4}.task-overview strong{font-size:25px;line-height:32px;color:#3467a6;font-weight:550}.task-overview small{font-size:15px;color:#92a6bf;font-weight:400}.task-overview .task-clock{font-size:22px;font-variant-numeric:tabular-nums}
.task-delivery{display:flex;align-items:center;gap:18px;padding:26px;margin-top:24px;border-radius:14px;border:1px solid #d9e6fb;background:linear-gradient(120deg,#edf4ff,#f9fcff)}
.delivery-symbol{display:flex;align-items:center;justify-content:center;width:52px;height:56px;flex:none;font-size:31px;color:#4f8bef;background:white;border:1px solid #d9e7fc;border-radius:13px}
.task-delivery>div>span{font-size:12px;color:#8ba3c2}.task-delivery h3{margin:5px 0;font-size:19px!important}.task-delivery p{font-size:13px;color:#8da1bd;margin:0}.task-delivery>a{margin-left:auto;text-decoration:none;white-space:nowrap;font-size:14px;padding:7px 13px;border-radius:9px}
body[data-module=profile] .profile-coverage-toggle{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:7px!important;padding:0!important;margin:0!important;white-space:nowrap;font-size:12px!important;color:#8397b0;flex:none!important}
body[data-module=profile] .players-card>.card-heading{min-height:36px;align-items:center;flex-wrap:wrap;gap:10px}
body[data-module=profile] .players-card .table-tools{width:auto;align-items:center;gap:10px;display:flex;flex:0 1 auto}
body[data-module=profile] .players-card .table-tools input[type=search]{width:220px;min-width:180px;flex:none;height:34px;min-height:34px}
body[data-module=profile] .players-card .table-tools select{width:160px;min-height:34px;height:34px;font-size:13px}
body[data-module=profile] .players-card .roster-filters{margin:0 0 12px;min-height:32px;padding:0;display:flex;align-items:center;gap:6px}
body[data-module=profile] .roster-filters button{font-size:13px;padding:5px 10px;min-height:30px;border-radius:7px}
body[data-module=profile] .player-pagination{padding:10px 0 0;min-height:42px;gap:8px;border-top:0;font-size:12px;color:#93a3b7}
body[data-module=profile] .player-pagination button{height:30px;min-height:30px;padding:4px 10px;font-size:13px}
body[data-module=profile] #workspace>#tacticalViews{background:transparent;border:0;border-bottom:1px solid #dfe7f3;border-radius:0;justify-content:flex-start;gap:8px}
body[data-module=profile] #workspace>#tacticalViews>button{flex:0 0 auto;width:auto;padding:7px 16px}
body[data-module=profile] .club-card{margin:0;padding:0;border:1px solid var(--xp-line);border-radius:16px;background:white;box-shadow:none}
body[data-module=profile] .club-report{padding:20px 24px 24px}
body[data-module=profile] .club-toolbar{gap:10px;margin:0 0 18px}
body[data-module=profile] .club-toolbar label{font-size:13px;gap:8px;color:#879bb4}
body[data-module=profile] .club-toolbar select{font-size:14px;min-height:34px;height:34px;padding:5px 10px}
body[data-module=profile] .club-export-actions .button{font-size:13px;min-height:32px;padding:5px 11px}
body[data-module=profile] .club-summary{margin:14px 0 20px;border:1px solid #e4edf8;border-radius:12px;background:#f5f9ff}
body[data-module=profile] .club-summary>div{padding:14px 20px;border-color:#e4edf8}
body[data-module=profile] .club-summary span{font-size:12px;color:#8a9db7}
body[data-module=profile] .club-summary strong{font-size:28px;font-weight:550;color:#2f69b1}
body[data-module=profile] .club-view-tabs{gap:8px;border-bottom:1px solid #e3ebf7;margin-bottom:20px}
body[data-module=profile] .club-view-tabs>button{border:0!important;background:transparent!important;border-radius:0;color:#8297b2;font-size:14px;min-height:38px;padding:7px 13px;box-shadow:none!important}
body[data-module=profile] .club-view-tabs>button[aria-selected=true]{color:#246bff}
body[data-module=profile] .club-insight{padding:18px 0;border-color:#edf2f8}
body[data-module=profile] .club-insight-top h3{font-size:19px;line-height:28px}
body[data-module=profile] .club-insight :is(p,summary){font-size:14px;line-height:1.7;color:#758da9}
body[data-module=profile] .club-empty-insight{padding:28px 24px;background:#f7faff;border:1px solid #e9eff8;border-radius:12px}
body[data-module=profile] .club-empty-insight h3{font-size:19px;margin:0 0 10px;color:#426892}
body[data-module=profile] .club-empty-insight p{font-size:14px;margin:0;color:#8b9fb8}
body[data-module=profile] .club-source-notes{margin-top:22px;padding-top:16px;border-color:#e7edf6}
body[data-module=profile] .club-source-notes summary{font-size:13px;color:#8ba0ba}
@media(min-width:1000px){
body[data-module=profile]:has(#workspace[data-workspace-section=players])>main{height:calc(100dvh - 48px);display:flex;flex-direction:column}
body[data-module=profile] #workspace[data-workspace-section=players]{display:flex;flex-direction:column;flex:1;min-height:0}
body[data-module=profile] #workspace[data-workspace-section=players]>.workspace-heading{flex:none}
body[data-module=profile] #workspace[data-workspace-section=players]>.players-card{display:flex;flex-direction:column;flex:1;min-height:0;padding:18px 22px}
body[data-module=profile] .players-card>:not(.table-scroll){flex:none}
body[data-module=profile] #workspace[data-workspace-section=players] .table-scroll{height:auto;max-height:none;flex:1;min-height:200px}
body[data-module=profile] #workspace #researchPitch{height:clamp(220px,calc(100dvh - 510px),740px)}
}
@media(max-width:760px){.task-overview{padding:14px 0}.task-overview>div{padding:0 12px}.task-overview strong{font-size:21px}.task-overview .task-clock{font-size:17px}.task-delivery{padding:18px;gap:12px;flex-wrap:wrap}.task-delivery>a{margin-left:0}.task-delivery h3{font-size:17px!important}.delivery-symbol{width:40px;height:46px}body[data-module=profile] .players-card .table-tools{width:100%;flex-wrap:wrap}body[data-module=profile] .players-card .table-tools input[type=search]{min-width:130px;flex:1}body[data-module=profile] .players-card .table-tools select{width:130px}body[data-module=profile] .club-report{padding:18px}body[data-module=profile] .club-summary>div{padding:14px}}
:root:has(body[data-module]):not(:has(body[data-module=reconstruction])){background:var(--xp-wash)}
body[data-module=annotation] #reviewWorkspace{--ur-stage-height:calc(100dvh - 266px)}
body[data-module=annotation] #reviewWorkspace.ur-panel-open{--ur-stage-height:calc(100dvh - 294px)}
body[data-module=annotation] #reviewWorkspace #arTransportReverse:disabled{display:inline-flex}
body[data-module=annotation] #reviewWorkspace #arTransportRange{min-width:100px;flex:1}
body[data-module=profile] .experience-events-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;flex-wrap:wrap}
body[data-module=profile] .experience-events-toolbar>.event-filters{margin:0;width:auto;flex:none}
body[data-module=profile] .experience-events-toolbar>.event-navigation{margin:0;padding:0;gap:8px;min-height:34px}
body[data-module=profile] .event-navigation :is(select,button){min-height:32px;height:32px;font-size:13px;padding:4px 10px}
body[data-module=profile] .events-card>.card-heading{margin-bottom:14px}
@media(min-width:1000px){
body[data-module=profile]:has(#workspace[data-workspace-section=events])>main{height:calc(100dvh - 48px);display:flex;flex-direction:column}
body[data-module=profile] #workspace[data-workspace-section=events]{display:flex;flex-direction:column;flex:1;min-height:0}
body[data-module=profile] #workspace[data-workspace-section=events]>.lower-grid{display:flex;flex-direction:column;flex:1;min-height:0}
body[data-module=profile] #workspace[data-workspace-section=events] .events-card{display:flex;flex-direction:column;flex:1;min-height:0}
body[data-module=profile] .events-card>:not(.events-list){flex:none}
body[data-module=profile] #workspace[data-workspace-section=events] .events-list{flex:1;min-height:220px;overflow:auto;padding-right:6px}
}
body[data-module=reconstruction] .scene-caption{border:0;background:transparent;padding:0;box-shadow:none;backdrop-filter:none}
body[data-module=reconstruction] .view-switcher>summary{border:0;box-shadow:none;background:transparent}
body[data-module=reconstruction] .app-logo{padding-left:64px}
body[data-module=reconstruction] .replay-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}
@media(max-width:760px){body[data-module=reconstruction] .app-logo{padding-left:44px}.experience-events-toolbar{gap:10px!important}body[data-module=annotation] #reviewWorkspace{--ur-stage-height:max(280px,calc(100dvh - 350px))}}
/* Detailed tools stay readable without taking space from video or charts. */
body[data-module=profile] #profileDialog .speed-zone{grid-template-columns:minmax(100px,118px) minmax(35px,1fr) minmax(128px,140px);gap:14px;align-items:center;padding:13px 0}
body[data-module=profile] #profileDialog .speed-zone-label{white-space:nowrap;overflow-wrap:normal}
body[data-module=profile] #profileDialog .speed-zone>strong small{font-size:12px!important;white-space:nowrap;overflow-wrap:normal;line-height:1.7}
body[data-module=profile] #profileDialog .profile-title p{font-size:14px;line-height:22px}
body[data-module=profile] #profileDialog .profile-panel>p{font-size:14px;line-height:22px;margin:7px 0 14px}
body[data-module=profile] #profileDialog #profileHeatCanvas{max-height:max(260px,calc(100dvh - 480px));object-fit:contain}
body[data-module=annotation] #reviewWorkspace :is(.pc-play-options>label,.pc-short-filter){display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:8px;min-height:30px;margin:0;padding:0;font-size:13px}
body[data-module=annotation] #reviewWorkspace .pc-play-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0}
body[data-module=annotation] #reviewWorkspace .pc-play-options>#pcAbsent{margin-left:auto;min-height:32px;padding:5px 10px}
body[data-module=annotation] #reviewWorkspace .pc-breakpoint-nav{width:100%;margin:0;gap:8px}
body[data-module=annotation] #reviewWorkspace .pc-short-filter{margin:8px 0}
#analysisSettings .experience-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:22px 0}
#analysisSettings .experience-param-group{min-width:0;margin:0;padding:22px;border:1px solid #e5edf7;background:#f8faff;border-radius:14px}
#analysisSettings .experience-param-group legend{padding:0 9px;font-size:18px;font-weight:600;color:#34577f}
#analysisSettings .experience-param-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px}
#analysisSettings .experience-param-fields label{font-size:15px;color:#637d9d}
body[data-module=reconstruction] #info-content .metric{font-size:15px;padding:12px 0}
@media(max-width:1000px){#analysisSettings .experience-config-grid{grid-template-columns:1fr}body[data-module=profile] #profileDialog .speed-zone{grid-template-columns:minmax(100px,1fr) 135px;gap:6px 12px}body[data-module=profile] #profileDialog .speed-zone-label{grid-column:1;grid-row:1}body[data-module=profile] #profileDialog .speed-zone>strong{grid-column:2;grid-row:1}body[data-module=profile] #profileDialog .speed-zone-track{grid-column:1/-1;grid-row:2}}
@media(max-width:520px){#analysisSettings .experience-param-fields{grid-template-columns:1fr}}
body[data-module=annotation] #reviewWorkspace:not(:fullscreen):not(.is-review-fullscreen-window){--ur-stage-height:max(280px,calc(100dvh - 266px))}
body[data-module=annotation] #reviewWorkspace.ur-panel-open:not(:fullscreen):not(.is-review-fullscreen-window){--ur-stage-height:max(280px,calc(100dvh - 294px))}
@media(max-width:760px){body[data-module=annotation] #reviewWorkspace:not(:fullscreen):not(.is-review-fullscreen-window){--ur-stage-height:max(280px,calc(100dvh - 350px))}}
body[data-module=reconstruction] #import-form{display:grid;gap:14px}
body[data-module=reconstruction] #import-form label{margin:0;gap:7px}
body[data-module=reconstruction] #import-form .form-row{margin:0;gap:14px}
body[data-module=reconstruction] #import-dialog>p{margin:0 0 22px}
/* Analysis focus: one line of navigation, full-height evidence, compact tools. */
body[data-module=annotation] .annotation-shell{padding-top:8px!important;gap:8px}
body[data-module=annotation] .experience-analysis-bar{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:10px;padding:0 0 8px!important;margin:0!important;min-height:44px;position:relative;z-index:45}
body[data-module=annotation] .experience-analysis-bar>.experience-tabs{flex:0 0 auto;min-width:0;margin:0;gap:0}
body[data-module=annotation] .experience-analysis-bar>.experience-tabs button{padding:8px 12px;font-size:15px;white-space:nowrap}
body[data-module=annotation] .experience-analysis-bar>#matchSelect{flex:1 1 280px!important;min-width:120px;max-width:none;width:0;font-size:15px;height:36px;margin-left:8px}
body[data-module=annotation] .experience-analysis-bar>#reviewSource{flex:0 1 130px;width:130px;min-width:70px;height:36px;font-size:14px}
body[data-module=annotation] .analysis-focus-actions{display:flex;gap:4px;flex-shrink:0}
body[data-module=annotation] .analysis-focus-actions button{display:flex;align-items:center;gap:5px;height:34px;min-height:34px;padding:5px 9px;font-size:14px;background:transparent;border:1px solid transparent;white-space:nowrap;color:#496787}
body[data-module=annotation] .analysis-focus-actions button:hover{background:#e6f0ff;border-color:#c9dbf6;color:#176bdf}
body[data-module=annotation] .analysis-focus-actions button:disabled{opacity:.35;cursor:default}
.analysis-focus-actions svg{width:18px;height:18px}
body[data-module=annotation] .technical-entry{flex-shrink:0;position:relative;margin:0}
body[data-module=annotation] .technical-entry>summary{height:34px;padding:6px 10px;font-size:14px;line-height:20px;white-space:nowrap}
body[data-module=annotation] .technical-entry>.analysis-more-panel{position:absolute;display:block;right:0;top:calc(100% + 10px);width:320px;padding:18px;background:rgba(250,253,255,.97);backdrop-filter:blur(22px);border:1px solid #d9e6f6;border-radius:14px;box-shadow:0 18px 55px #18396724;z-index:100}
body[data-module=annotation] .analysis-more-panel .review-display-controls{display:grid!important;grid-template-columns:1fr 1fr;gap:14px!important;padding:0;margin:0;width:100%;border:0;background:none}
body[data-module=annotation] .analysis-more-panel .review-display-controls label{font-size:14px;display:flex;gap:7px;align-items:center;white-space:nowrap}
body[data-module=annotation] .analysis-more-panel .trail-length{grid-column:1/-1}
body[data-module=annotation] .analysis-more-panel .trail-length input{width:auto;min-width:0;flex:1}
body[data-module=annotation] .analysis-more-panel .trail-length output{min-width:42px;font-variant-numeric:tabular-nums}
body[data-module=annotation] .analysis-more-panel button{font-size:14px;min-height:34px;padding:6px 10px}
body[data-module=annotation] .analysis-id-details{border-top:1px solid #e3ebf5;margin-top:16px;padding-top:12px}
body[data-module=annotation] .analysis-id-details>summary{font-size:13px;color:#7186a0;cursor:pointer}
body[data-module=annotation] .analysis-more-panel .analysis-open-id{position:static;display:flex;width:auto;gap:8px;padding:10px 0 0;border:0;background:none;box-shadow:none}
body[data-module=annotation] .analysis-open-id input{width:0;min-width:0;flex:1;font-size:13px}
body[data-module=annotation] #reviewWorkspace:not(:fullscreen):not(.is-review-fullscreen-window){--ur-stage-height:max(340px,calc(100dvh - var(--analysis-toolbar-bottom,104px) - 110px))!important;--ur-stage-height-closed:max(340px,calc(100dvh - var(--analysis-toolbar-bottom,104px) - 110px))!important;margin-top:0!important}
body[data-module=annotation] #reviewWorkspace:not(:fullscreen):not(.is-review-fullscreen-window) #arFrameFocus{height:var(--ur-stage-height)!important;min-height:var(--ur-stage-height)!important;max-height:none!important}
body[data-module=annotation] #reviewWorkspace .ur-canvas-meta{min-height:26px;padding:2px 7px;margin:0}
body[data-module=annotation] #reviewWorkspace .ur-segment-nav{min-height:30px;margin:0;padding:2px 4px}
body[data-module=annotation] #reviewWorkspace .ar-transport{min-height:38px;margin:0;padding:4px 6px;gap:7px}
body[data-module=annotation] #reviewWorkspace :is(#arZoomIn,#arZoomOut){display:none!important}
body[data-module=annotation] #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window){--ur-stage-height:100dvh!important;width:100vw!important;height:100dvh!important;border:0!important;border-radius:0!important}
body[data-module=annotation] #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window) #arFrameFocus{height:100dvh!important;min-height:100dvh!important;border-radius:0!important}
body[data-module=annotation] #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window) #arTransport{background:rgba(11,29,48,.7)!important;backdrop-filter:blur(20px) saturate(140%);border:1px solid #ffffff26!important;box-shadow:0 6px 28px #0003;color:#e5f0ff!important;left:78px;right:18px;bottom:14px;padding:9px 14px!important;border-radius:14px!important}
body[data-module=annotation] #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window) #arTransport :is(button,select){background:#ffffff12!important;border-color:#ffffff20!important;color:#eaf3ff!important}
body[data-module=annotation] #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window) #arTransport :is(span,label,output){color:#d9e8fa!important}
body[data-module=annotation] #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window) .ur-segment-nav{background:#0b1d30ad!important;backdrop-filter:blur(12px);color:#deebff;border:1px solid #ffffff24;bottom:77px}
body[data-module=annotation] #reviewWorkspace:is(:fullscreen,.is-review-fullscreen-window) .ur-segment-nav button{color:#deebff;background:#ffffff12;border-color:#ffffff20}
@media(max-width:1100px){body[data-module=annotation] .experience-analysis-bar{gap:5px}body[data-module=annotation] .experience-analysis-bar>.experience-tabs button{padding:8px;font-size:14px}body[data-module=annotation] .experience-analysis-bar>#reviewSource{width:90px;flex-basis:90px}.analysis-focus-actions button span{display:none}}
@media(max-width:760px){body[data-module=annotation] .experience-analysis-bar{flex-wrap:wrap!important}body[data-module=annotation] .experience-analysis-bar>.experience-tabs{flex-basis:100%}body[data-module=annotation] .experience-analysis-bar>#matchSelect{margin-left:0}}

body[data-module=annotation][data-annotation-view=continuous] #reviewWorkspace:not(:fullscreen):not(.is-review-fullscreen-window){--ur-stage-height:max(340px,calc(100dvh - var(--analysis-toolbar-bottom,104px) - 82px))!important}
body[data-module=annotation][data-annotation-view=continuous] #reviewWorkspace:not(:fullscreen):not(.is-review-fullscreen-window) .ur-operator-panel{max-height:calc(100dvh - var(--analysis-toolbar-bottom,104px) - 24px)!important}

/* Playback state never changes transport geometry or fades the whole bar. */
body[data-module=annotation] #reviewWorkspace #arTransport{flex-wrap:nowrap;align-items:center}
body[data-module=annotation] #reviewWorkspace #arTransportPlay{flex:0 0 52px;width:52px}
body[data-module=annotation] #reviewWorkspace #arTransportReverse{display:inline-flex;align-items:center;justify-content:center;flex:0 0 76px;width:76px;white-space:nowrap}
body[data-module=annotation] #reviewWorkspace #arTransportClock{flex:0 0 19ch;width:19ch;text-align:center;font-variant-numeric:tabular-nums}
body[data-module=annotation] #reviewWorkspace #arTransport :is(button,select){flex-shrink:0;transition:color .12s,background-color .12s,border-color .12s}
body[data-module=annotation] #reviewWorkspace #arTransport :is(button,select,input):disabled{opacity:1;color:#8c9bad;box-shadow:none}
@media(max-width:760px){body[data-module=annotation] #reviewWorkspace #arTransport{flex-wrap:wrap}body[data-module=annotation] #reviewWorkspace #arTransportRange{order:10;flex-basis:100%}}

/* Shared annotation save stays visible in normal and immersive review. */
body[data-module=annotation] .analysis-focus-actions #analysisSave{color:#1263ca;background:#e7f0ff;border-color:#cadcf8}
body[data-module=annotation] .analysis-focus-actions #analysisSave:enabled:hover{color:#fff;background:#176bdf;border-color:#176bdf}
body[data-module=annotation] .analysis-focus-actions #analysisSave:disabled{opacity:.55}
#analysisSave [data-save-count]{min-width:19px;padding:1px 5px;border-radius:10px;background:#176bdf;color:white;font-size:12px;line-height:17px;font-variant-numeric:tabular-nums}
#analysisSave [hidden]{display:none!important}
body[data-module=annotation] #reviewWorkspace [data-ur-save]{color:#176bdf}
body[data-module=annotation] #reviewWorkspace [data-ur-save] .ur-save-icon{display:flex}
@media(max-width:1100px){body[data-module=annotation] #analysisSave [data-save-label]{display:inline}}


/* Product baseline: restrained motion, legible controls and stable workspaces. */
body[data-module] .app-main-nav>a{font-size:16px;font-weight:600;padding-inline:13px}
body[data-module] .app-header-state{font-size:13px;color:#60738a}
body[data-module] .experience-tabs :is(button,a){font-size:16px}
body[data-module] :is(.panel-heading,.content-toolbar,.experience-pagebar){gap:14px}
body[data-module] :is(.match-row,.task-row){border:1px solid transparent;transition:background-color .16s,border-color .16s,box-shadow .16s}
body[data-module] :is(.match-row,.task-row):hover{background:#f0f5ff;border-color:#dce8fc}
body[data-module] :is(.match-row,.task-row).selected{background:#eaf2ff;border-color:#bbd1f6;box-shadow:inset 3px 0 #286cf0}
body[data-module] :is(.match-row,.task-row) strong{font-size:16px;line-height:1.5;font-weight:600}
body[data-module] :is(.match-row,.task-row) small{font-size:13px;line-height:1.4;color:#667990}
body[data-module] :is(.source-body,.panel,.card) p{line-height:1.6}
body[data-module] :is(.panel,.card) :is(input,select){min-height:36px;font-size:15px}
body[data-module] :is(.panel,.card) :is(input[type=checkbox],input[type=radio]){min-height:0}
body[data-module] .experience-menu{padding:6px;border:1px solid #dce6f2;box-shadow:0 12px 36px #102d5017}
body[data-module] .experience-menu button{font-size:15px;line-height:22px;min-height:36px;border-radius:7px}
body[data-module] :is(.published-result,.feature-card){transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
body[data-module] .published-result:hover{border-color:#a5c5ff;background:#f4f8ff;box-shadow:0 5px 18px #246bff0d;transform:translateY(-1px)}
body[data-module=data] .published-result strong{font-size:16px}
body[data-module=data] .source-body p{font-size:14px;color:#5b7189}
body[data-module=data] .two-columns{align-items:end}
body[data-module=data] .two-columns label{font-size:14px;color:#5b7189}
body[data-module=data] .two-columns select{color:var(--xp-ink);font-size:15px}
body[data-module=data] .panel-heading h2{margin-block:0;line-height:1.3}
body[data-module=workbench] .task-section-heading{margin-top:0;margin-bottom:12px}
body[data-module=workbench] .stage-message{font-size:14px;color:#536c88}
body[data-module=workbench] .row-footer{font-size:13px}
body[data-module=workbench] .task-heading h2{font-size:21px;line-height:1.4}
body[data-module=workbench] .stage-heading{min-height:58px}
body[data-module=workbench] .task-clock{font-variant-numeric:tabular-nums}
body[data-module] :is(.loading-state,.task-idle){background:radial-gradient(ellipse at 50% 38%,#eaf3ff70,transparent 65%)}
.loading-dot{width:12px;height:12px;border-radius:50%;background:#347af1;box-shadow:0 0 0 8px #347af112;animation:product-loading 1.4s ease-in-out infinite}
@keyframes product-loading{50%{opacity:.45;box-shadow:0 0 0 13px #347af108}}
body[data-module] #notice{max-width:min(620px,calc(100vw - 32px));font-size:15px;line-height:1.55;overflow-wrap:anywhere}
body[data-module] dialog{max-height:calc(100dvh - 32px);overscroll-behavior:contain}
body[data-module] dialog::backdrop{background:#10223d54;backdrop-filter:blur(4px)}
body[data-module] .experience-icon-button{min-width:32px;min-height:32px}
body[data-module=reconstruction] #play{aspect-ratio:1;border-radius:50%;flex-shrink:0}
body[data-module=reconstruction] .app-main-nav>a{color:#b9cce2}
body[data-module=reconstruction] .app-main-nav>a[aria-current=page]{color:#8bd4ff}
body[data-module=reconstruction] #source-panel{box-shadow:0 12px 40px #020c2440}
@media(max-width:900px){body[data-module] .app-main-nav>a{font-size:14px;padding-inline:11px}body[data-module] .experience-tabs :is(button,a){font-size:14px}}
@media(prefers-reduced-motion:reduce){.loading-dot{animation:none}body[data-module] .published-result:hover{transform:none}}

/* Product control scale: readable labels, compact chrome, content-led layouts. */
:root {
  --product-text:16px;--product-label:15px;--product-title:20px;
  --product-leading:24px;--product-control:36px;--product-compact:32px;
}
body:is([data-module=workbench],[data-module=data],[data-module=annotation]) {
  font-size:var(--product-text);line-height:1.5;
}
body:is([data-module=workbench],[data-module=data])>main.page-content {padding:14px 20px 20px;}
body:is([data-module=workbench],[data-module=data]) .experience-pagebar,
body[data-module=data] .content-toolbar {min-height:44px;gap:16px;margin:0 0 12px;}
body:is([data-module=workbench],[data-module=data]) :is(.experience-pagebar h1,#page-title) {
  font-size:var(--product-title)!important;line-height:28px;margin:0;font-weight:650;
}
body:is([data-module=workbench],[data-module=data],[data-module=annotation]) .experience-tabs :is(a,button),
body[data-module=annotation] #analysisSettings .analysis-settings-tabs button {
  font-size:var(--product-text)!important;line-height:var(--product-leading)!important;
  min-height:var(--product-control);height:var(--product-control);padding:6px 12px!important;
}
body:is([data-module=workbench],[data-module=data],[data-module=annotation]) .app-header-state {
  font-size:14px;line-height:20px;
}
body[data-module=workbench] :is(.section-heading .actions button,.task-heading .actions button,.pager button,.task-delivery .button),
body[data-module=data] :is(.content-toolbar>button,.panel-heading>button,.panel>button,.actions button,form>button,.pager button,.experience-menu button),
body[data-module=annotation] :is(.analysis-focus-actions>button,.analysis-more-panel button,#analysisSettings .actions>button) {
  min-height:var(--product-control)!important;height:var(--product-control);
  font-size:var(--product-text)!important;line-height:var(--product-leading)!important;
  padding:5px 12px!important;border-radius:9px;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
}
body:is([data-module=workbench],[data-module=data]) .experience-icon-button {
  width:var(--product-control);min-width:var(--product-control);height:var(--product-control);padding:0!important;
}
body:is([data-module=workbench],[data-module=data]) :is(.panel-heading,.section-heading) {gap:12px;margin-bottom:12px;}
body:is([data-module=workbench],[data-module=data]) :is(.panel-heading h2,.panel-heading h3,.section-heading h2) {
  font-size:18px;line-height:26px;margin:0;
}
body:is([data-module=workbench],[data-module=data]) .actions {gap:8px;align-items:center;flex-wrap:wrap;}
body:is([data-module=workbench],[data-module=data],[data-module=annotation],[data-module=reconstruction]) dialog {
  padding:20px;border-radius:16px;
}
body:is([data-module=workbench],[data-module=data],[data-module=annotation],[data-module=reconstruction]) dialog :is(h2,.dialog-title h2) {
  font-size:var(--product-title);line-height:28px;margin:0;
}
body:is([data-module=workbench],[data-module=data],[data-module=annotation],[data-module=reconstruction]) dialog :is(label,p,.hint,.muted) {
  font-size:var(--product-label);line-height:var(--product-leading);
}
body:is([data-module=data],[data-module=annotation],[data-module=reconstruction]) dialog :is(select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color])) {
  min-height:var(--product-control);height:var(--product-control);padding:5px 10px;
  font-size:var(--product-text);line-height:var(--product-leading);border-radius:8px;box-sizing:border-box;
}
body:is([data-module=data],[data-module=annotation],[data-module=reconstruction]) dialog :is(.actions button,.dialog-footer button,form>button) {
  min-height:var(--product-control);font-size:var(--product-text);line-height:var(--product-leading);padding:5px 14px;border-radius:9px;
}
body:is([data-module=data],[data-module=annotation],[data-module=reconstruction]) dialog :is(.dialog-title>button,.dialog-heading>button) {
  display:grid;place-items:center;width:34px;min-width:34px;height:34px;padding:0;line-height:1;flex:none;
}

/* Workbench: one status, one result entry, denser task detail without tiny text. */
body[data-module=workbench] #hub-task-status[hidden] {display:none!important;}
body[data-module=workbench] .experience-home {gap:14px;}
body[data-module=workbench] .showcase-hero {min-height:300px;height:clamp(300px,calc(100dvh - 300px),850px);}
body[data-module=workbench] .showcase-copy {gap:18px;}
body[data-module=workbench] .showcase-copy h2 {margin:0;}
body[data-module=workbench] .showcase-cta {margin-top:18px;font-size:16px;line-height:24px;padding:9px 16px;}
body[data-module=workbench] .showcase-paths {gap:14px;margin-top:0;}
body[data-module=workbench] .feature-card {padding:16px 20px;min-height:80px;gap:16px;}
body[data-module=workbench] .feature-card h2 {font-size:20px;line-height:28px;margin:0;}
body[data-module=workbench] .feature-card .feature-icon {width:42px;height:42px;flex:none;}
body[data-module=workbench] .hub-activity {min-height:40px;padding:8px 4px;font-size:14px;margin-top:0;}
body[data-module=workbench] .hub-activity :is(a,#hub-activity-text) {font-size:14px;line-height:22px;}
body[data-module=workbench] .task-list {padding:16px;}
body[data-module=workbench] .task-list>select {height:36px;padding:5px 10px;font-size:16px;margin-bottom:10px;}
body[data-module=workbench] .task-row {padding:10px;}
body[data-module=workbench] .task-row strong {font-size:16px;line-height:24px;margin-bottom:6px;}
body[data-module=workbench] .task-row .row-footer {font-size:13px;line-height:20px;}
body[data-module=workbench] .status {font-size:14px;line-height:20px;padding:2px 7px;}
body[data-module=workbench] #task-detail {padding:20px;}
body[data-module=workbench] .task-heading {margin-bottom:14px;}
body[data-module=workbench] .task-heading h2 {font-size:20px;line-height:28px;max-width:none;}
body[data-module=workbench] .task-overview {margin:0 0 14px;padding:14px 16px;}
body[data-module=workbench] .task-overview span {font-size:14px;line-height:20px;}
body[data-module=workbench] .task-overview strong {font-size:23px;line-height:30px;}
body[data-module=workbench] .detail .stages {margin-top:0;padding:0;}
body[data-module=workbench] .stage-heading {min-height:48px;padding:8px 2px;gap:8px;}
body[data-module=workbench] .stage-heading h3 {font-size:16px;line-height:24px;}
body[data-module=workbench] .stage-message {font-size:14px;line-height:22px;}
body[data-module=workbench] .task-delivery {margin-top:16px;min-height:78px;padding:14px 16px;gap:14px;}
body[data-module=workbench] .task-delivery .delivery-symbol {width:40px;height:40px;font-size:24px;}
body[data-module=workbench] .task-delivery h3 {font-size:18px;line-height:26px;margin:0;}
body[data-module=workbench] .task-delivery p {font-size:14px;line-height:22px;margin:4px 0 0;}
body[data-module=workbench] .budgets {gap:12px;}
body[data-module=workbench] .budget {padding:16px;}
body[data-module=workbench] .budget p {font-size:16px;line-height:24px;}
body[data-module=workbench] .leases {padding:18px 20px;}
body[data-module=workbench] .leases>summary {font-size:18px;line-height:26px;}

/* Archive: identity and colors share a row; keep room for video and published outputs. */
body[data-module=data] #match-detail {padding:18px 20px;}
body[data-module=data] #match-detail>.match-heading {margin-bottom:12px;align-items:center;}
body[data-module=data] .match-identity {display:flex;align-items:center;gap:14px;min-width:0;flex-wrap:wrap;}
body[data-module=data] .match-identity h2 {font-size:20px;line-height:28px;}
body[data-module=data] .match-identity .match-teams {margin:0;gap:8px;}
body[data-module=data] .match-team {padding:3px 8px;gap:6px;border-radius:8px;font-size:15px;line-height:24px;}
body[data-module=data] .match-team i {width:11px;height:11px;}
body[data-module=data] #match-detail>.two-columns {gap:12px;margin:0 0 16px;}
body[data-module=data] #match-detail>.two-columns label {font-size:15px;line-height:24px;gap:8px;margin:0;height:36px;min-height:36px;}
body[data-module=data] #match-detail>.two-columns select {height:36px;min-height:36px;font-size:16px;padding:5px 10px;}
body[data-module=data] .sources {margin:0 0 14px;gap:12px;}
body[data-module=data] .sources>.source {padding:0;gap:18px;overflow:hidden;}
body[data-module=data] .sources .source-body {padding:12px 16px 12px 0;min-width:0;}
body[data-module=data] .sources .source-body h3 {font-size:18px;line-height:26px;margin:0 0 8px;overflow-wrap:anywhere;}
body[data-module=data] .sources .source-body .source-meta {display:flex;flex-wrap:wrap;gap:2px 12px;font-size:15px;line-height:24px;margin:0;}
body[data-module=data] .source-index-status:not([hidden]) {display:block;margin-top:6px;font-size:14px;color:#8c5d16;}
body[data-module=data] .results-heading {margin:0 0 10px;}
body[data-module=data] .published-result {padding:12px;min-height:56px;gap:10px;font-size:16px;}
body[data-module=data] .published-result .result-version {font-size:14px;}
body[data-module=data] .base-results {margin-top:12px;}
body[data-module=data] :is(.base-results,.delivery-options)>summary {font-size:16px;line-height:24px;padding-block:8px;}
body[data-module=data] .divider {margin:12px 0;}
body[data-module=data] :is(#view-transfer,#view-maintenance) .panel {padding:20px;}
body[data-module=data] :is(#view-transfer,#view-maintenance) :is(.muted,.hint,p,label) {font-size:15px;line-height:24px;}
body[data-module=data] #package-preview-form {display:flex;flex-direction:row;gap:10px;align-items:flex-end;margin-top:auto;}
body[data-module=data] #package-preview-form label {display:block;flex:1;min-width:0;margin:0;}
body[data-module=data] #package-preview-form button {align-self:flex-end;flex:none;}
body[data-module=data] #package-path {height:36px;padding:5px 10px;font-size:16px;}

/* Review: common controls stay compact; fullscreen keeps its own save/undo tools. */
body[data-module=annotation] .experience-analysis-bar {gap:8px;}
body[data-module=annotation] .experience-analysis-bar select {height:36px;min-height:36px;line-height:24px;font-size:16px!important;padding:5px 9px;}
body[data-module=annotation] .analysis-focus-actions {gap:4px;}
body[data-module=annotation] .analysis-more-panel {padding:12px;}
body[data-module=annotation] .analysis-more-panel :is(label,summary) {font-size:15px;line-height:24px;}
body[data-module=annotation]:has(#analysisSave) #reviewWorkspace:not([data-review-fullscreen=native]):not([data-review-fullscreen=window]) .ur-tools :is([data-ur-save],[data-ur-draft-undo]) {display:none!important;}
body[data-module=annotation] #reviewWorkspace .ur-operator-label {font-size:14px!important;line-height:18px!important;}
body[data-module=annotation] #reviewWorkspace .ur-panel-tabs button {font-size:15px!important;line-height:22px!important;min-height:32px;padding:4px 8px!important;}
body[data-module=annotation] #reviewWorkspace #arTransport :is(button,select) {font-size:15px!important;line-height:22px!important;}
body[data-module=annotation] #reviewWorkspace :is(.pc-choice button,.pc-team button,.pc-tools button,.pc-play-options button,.pc-profile-fields input) {
  min-height:32px;height:32px;padding:4px 8px!important;font-size:15px!important;line-height:22px!important;
}
body[data-module=annotation] #reviewWorkspace :is(.pc-choice,.pc-team,.pc-tools,.pc-play-options) {gap:6px;margin-block:6px;}
body[data-module=annotation] #reviewWorkspace .pc-status {min-height:32px;padding:5px 0;font-size:15px;line-height:22px;}
body[data-module=annotation] #analysisSettings .experience-param-group {padding:16px 18px;}
body[data-module=annotation] #analysisSettings :is(label,legend) {font-size:16px;line-height:24px;}
body[data-module=annotation] #analysisSettings .experience-param-fields {gap:14px 18px;}
body[data-module=annotation] #analysisSettings :is(input,select) {font-size:16px;line-height:24px;height:36px;min-height:36px;padding:5px 9px;}
body[data-module=annotation] #analysisSettings .actions {margin-top:16px;gap:8px;}

@media(max-width:900px) {
  body:is([data-module=workbench],[data-module=data],[data-module=annotation]) .experience-tabs :is(a,button) {padding-inline:9px!important;font-size:15px!important;}
  body[data-module=data] .sources .source-body {padding:12px;}
  body[data-module=data] #package-preview-form {flex-wrap:wrap;}
  body[data-module=workbench] .showcase-hero {height:360px;}
}
@media(max-width:600px) {
  body:is([data-module=workbench],[data-module=data])>main.page-content {padding:12px;}
  body[data-module=workbench] .feature-card {padding:12px;min-height:68px;}
  body[data-module=workbench] .feature-card h2 {font-size:17px;line-height:24px;}
  body[data-module=data] .match-identity {gap:8px;}
}

body[data-module=data] .view>.two-columns>.panel {min-height:180px;gap:12px;}
body[data-module=data] .view>.two-columns>.panel h2 {font-size:20px;line-height:28px;}
body[data-module=data] #package-preview:empty {display:none;}
