/* Shared visual theme from DHP/game. Analysis, tracking and export are unchanged. */
:root{--paper:#e5e7e9;--bg:#e5e7e9;--ink:#25282c;--muted:#69717a;--line:#bcc2c8;--green:#424a53;--accent:#424a53;--lime:#f5f6f7;--dark:#f5f6f7;--soft:#e0e3e6;--surface:#f5f6f7}
html,body{background:#e5e7e9!important;color:#25282c!important}
.app-header{background:#e5e7e9;border-bottom-color:#bfc4ca}
body:has(#homePage:not([hidden])) .analysis-brand{display:flex}
body:has(#homePage:not([hidden])) .brand{font-size:19px;font-weight:800;letter-spacing:.2em}
.brand-fish{display:block;width:36px;height:38px;object-fit:contain;flex:none}
.brand-copy{display:block!important;white-space:nowrap}
.brand-copy small{text-transform:none;letter-spacing:2px}
.brand{color:#25282c}
body:is([data-mode=three],[data-mode=two]) .analysis-brand>.brand-copy{display:block}
.test-label{border-radius:0;background:#f5f6f7;color:#69717a;border-color:#bcc2c8}
button:not(.brand),select,.file,.file-button,.disclosureButton,#armModelDownloadVideo{
 border-radius:0!important;box-shadow:none!important;border-color:#bcc2c8!important;background:#f5f6f7!important;color:#25282c!important;
 transition:background .18s,border-color .18s;
}
button:not(.brand):hover:not(:disabled),.file:hover,.file-button:hover,.disclosureButton:hover{background:#fff!important;border-color:#424a53!important}
button:not(.brand):active:not(:disabled),.file:active,.file-button:active{background:#dce0e4!important}
button:not(.brand):focus-visible,select:focus-visible,.file:focus-within,.file-button:focus-within{outline:2px solid #424a53!important;outline-offset:3px}
button.selected,button[aria-pressed=true],#appNavigation button[aria-current=page],button.active,button.is-active{
 background:#dce0e4!important;border-color:#424a53!important;color:#25282c!important;
}
input[type=range],input[type=checkbox],progress{accent-color:#424a53!important}
.panel,.panel.result-panel,#studioSidebar,.control-panel,.viewer,.video-stage,.film-row,.two-inputs>div,.arm-three-grid article,.unified-two-empty,#empty,dialog{
 border-radius:0!important;border-color:#bcc2c8!important;box-shadow:none!important;
}
.panel,.panel.result-panel,#studioSidebar,.control-panel,.two-inputs>div,.arm-three-grid article,.unified-two-empty,#empty,dialog{background:#f5f6f7!important;color:#25282c!important}
.unified-heading h1,h2,h3,.film-label,.analysis-controls label{color:#25282c!important}
.unified-eyebrow,.unified-filename,.muted,.status,#status,#twoStatus,#detectionDiagnostics,.unified-extra,.unified-file-offer,#fileTransferNote{color:#69717a!important}
#fileTransferNote{background:#e0e3e6!important;border-color:#bcc2c8}
.result-tabs,.analysis-controls,.workspace-tabs,#twoFrameButtons,.range-panel,.arm-preparation{border-color:#bcc2c8!important}
.analysis-controls{background:#f5f6f7!important}
.result-tab{background:transparent!important;color:#69717a!important}
.result-tab.selected{background:transparent!important;color:#25282c!important;border-bottom-color:#424a53!important}
.film-label{background:#e0e3e6!important}
.film-viewport,.original-analysis-stage,#twoSideCanvas,#twoOverlay,#overlay,#preparedOverlay,.video-stage{background:#dce0e4!important}
.video-controls{background:#e0e3e6f2!important;color:#25282c!important;border-color:#bcc2c8!important}
.video-controls button{color:#25282c!important}
body[data-native-app=motion] .control{border-radius:0!important;border-color:#bcc2c8!important;background:#f5f6f7!important;color:#25282c!important}
body[data-native-app=motion] .control-panel .toolbar{background:#f5f6f7!important;color:#25282c!important}
.video-controls label,.video-controls .time-display{color:#25282c!important}
video{background:#383c3c!important}
.home-subtitle,.card-features,.home-footer{color:#69717a}
@media(max-width:760px){.brand-fish{width:29px;height:31px}}
@media(max-width:420px){body:has(#homePage:not([hidden])) .brand{font-size:15px;letter-spacing:.12em}}
@media(orientation:landscape) and (max-height:550px){.brand-fish{width:25px;height:26px}}
@media(prefers-reduced-motion:reduce){button,select,.file,.file-button{transition:none!important}}
