.az-workspace{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr);padding:0;overflow:hidden;background:#152128;border:1px solid #34474f;border-radius:12px;text-align:left}
.az-workspace [hidden]{display:none!important}
.az-workspace .az-source,.az-workspace .az-inspector{padding:20px;min-width:0}
.az-workspace .az-source{background:#19272f;border-right:1px solid #34474f}
.az-workspace h2{font-size:1rem;margin:0 0 12px}
.az-workspace .az-hint,.az-workspace .az-empty,.az-workspace .az-legend{font-size:.83rem;line-height:1.65;color:#bbcdd3}
.az-workspace #az-source-file{width:100%;box-sizing:border-box;min-height:46px;min-width:0;color:#e5eff1;background:#101a20;border:1px solid #47616c;border-radius:6px;padding:7px;font:inherit;font-size:.85rem}
.az-workspace #az-source-file::file-selector-button{font:inherit;background:#253943;color:#eef7f8;border:1px solid #47616c;border-radius:4px;padding:8px;margin-right:8px;cursor:pointer}
.az-workspace #az-filename{overflow-wrap:anywhere}
.az-workspace .az-transport,.az-workspace .az-source-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}
.az-workspace .btn{min-height:44px;margin:0;font-size:.85rem;padding:8px 12px}
.az-workspace #az-analyze{background:#57c4c0;color:#10161a}
.az-workspace .az-transport label{display:flex;align-items:center;gap:6px;font-size:.85rem;margin:0}
.az-workspace input[type=range]{display:block;width:100%;min-height:34px;box-sizing:border-box;accent-color:#57c4c0;padding:0}
.az-workspace #az-time{display:block;text-align:right;font-size:.82rem;font-variant-numeric:tabular-nums;color:#c5d6dc}
.az-workspace .az-volume{display:flex;align-items:center;gap:8px;font-size:.83rem;margin:14px 0 0}.az-workspace .az-volume input{max-width:140px}
.az-workspace #az-status{font-size:.88rem;line-height:1.6;overflow-wrap:anywhere}
.az-workspace .az-key-readings{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.az-workspace .az-key-reading{background:#101a20;border:1px solid #34474f;border-radius:6px;padding:10px;min-width:0}
.az-workspace .az-key-reading span{display:block;font-size:.75rem;color:#b5c8cf}.az-workspace .az-key-reading strong{display:block;font-size:1.25rem;color:#75cfca;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.az-workspace #az-summary{font-size:.83rem;line-height:1.6;padding:10px 0;margin:0 0 10px;background:transparent;border:0;color:#c5d5db}
.az-workspace .az-view-tabs{display:flex;gap:4px;margin:10px 0 16px;padding:4px;background:#10191f;border:1px solid #34474f;border-radius:6px}
.az-workspace .az-view-tabs button{flex:1;min-width:0;min-height:44px;border:0;border-radius:4px;background:transparent;color:#cbdce2;font:inherit;font-size:.85rem;cursor:pointer;padding:8px 4px}
.az-workspace .az-view-tabs button[aria-selected=true]{background:#29444b;color:#a6eee8}.az-workspace .az-view-tabs button:hover{background:#23383f;color:#fff}
.az-workspace button:focus-visible,.az-workspace input:focus-visible{outline:2px solid #75cfca;outline-offset:3px}
.az-workspace [role=tabpanel]{min-width:0}.az-workspace [role=tabpanel] h3{font-size:.93rem;margin:16px 0 8px}
.az-workspace .az-canvas{width:100%;height:100px}.az-workspace .az-avg-canvas{height:220px}.az-workspace .az-loud-canvas{height:180px}.az-workspace .az-spec-canvas{height:200px}
.az-workspace #az-gonio-canvas{width:min(100%,281px);height:auto;margin:auto;display:block}
.az-workspace .az-reading-details{border-top:1px solid #34474f;padding:12px 0;margin-top:12px}.az-workspace .az-reading-details summary{cursor:pointer;font-size:.87rem;line-height:1.5;color:#d9e7ec;font-weight:600;min-height:32px}
.az-workspace .az-stats,.az-workspace .az-stat-group{grid-template-columns:1fr;gap:8px}.az-workspace .az-stat{flex-wrap:wrap}.az-workspace .az-stat-value{max-width:100%;overflow-wrap:anywhere}
.az-workspace .az-readout{font-size:.8rem;line-height:1.6;overflow-wrap:anywhere}.az-workspace .hk-file-activity{display:none!important}
@media(max-width:760px){.az-workspace{grid-template-columns:minmax(0,1fr)}.az-workspace .az-source{border-right:0;border-bottom:1px solid #34474f}.az-workspace .az-source,.az-workspace .az-inspector{padding:16px}.az-workspace .az-volume input{max-width:150px}}

.az-workspace h2,.az-workspace h3{font-family:var(--font-body);font-weight:600;line-height:1.4}.az-workspace h2{font-size:1rem}.az-workspace .az-readout{font-family:var(--font-body);font-size:.8rem}.az-workspace .az-loud-canvas,.az-workspace .az-avg-canvas,.az-workspace .az-spec-canvas{max-width:100%;box-sizing:border-box}
.hk-tool .az-workspace{padding:0}

.az-workspace #az-wave-canvas{display:block;width:100%;height:120px;box-sizing:border-box;border:1px solid #47616c;border-radius:6px;touch-action:pan-y;cursor:crosshair;margin:12px 0 6px}.az-workspace #az-wave-canvas[aria-disabled=true]{cursor:default}.az-workspace #az-wave-canvas:focus-visible{outline:2px solid #75cfca;outline-offset:3px}.az-workspace .az-time-row{display:flex;align-items:end;gap:8px;font-size:.85rem;font-variant-numeric:tabular-nums}.az-workspace .az-time-row label{flex:1;min-width:0}.az-workspace #az-time-input{display:block;box-sizing:border-box;width:100%;min-width:0;background:#0e181e;color:#ecf6f8;border:1px solid #47616c;border-radius:5px;padding:8px;min-height:44px;font:inherit;font-family:var(--font-mono);font-size:.85rem}.az-workspace .az-time-row>span{padding-bottom:11px;white-space:nowrap;font-size:.8rem}.az-workspace #az-time{text-align:left;display:inline;font-size:inherit}.az-workspace #az-position-status:empty,.az-workspace #az-wave-state:empty{display:none}.az-workspace #az-position-status{font-size:.8rem;line-height:1.5;color:#f1c67b}.az-workspace #az-time-input[aria-invalid=true]{border-color:#f1c67b}.az-workspace #az-wave-hint,.az-workspace #az-time-help{font-size:.76rem;margin:5px 0 10px;line-height:1.5}
.az-workspace .az-picker{position:relative;margin:10px 0}.az-workspace #az-source-file.az-native-file{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.az-workspace .az-native-file:focus-visible+label{outline:2px solid #75cfca;outline-offset:3px}.az-workspace .az-picker label{display:inline-flex;align-items:center;cursor:pointer}.az-workspace #az-filename:empty{display:none}.az-workspace .az-analysis-target{margin:16px 0 0;padding:12px 0 0;border:0;border-top:1px solid #34474f}.az-workspace .az-analysis-target legend{font-size:.9rem;font-weight:600;padding:0 6px 0 0}.az-workspace .az-analysis-target>label{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;min-height:40px;margin:0 12px 0 0}.az-workspace .az-range-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.az-workspace .az-range-row label{font-size:.82rem;min-width:0}.az-workspace .az-range-row input{display:block;width:100%;min-width:0;box-sizing:border-box;min-height:44px;background:#0e181e;color:#ecf6f8;border:1px solid #47616c;border-radius:5px;padding:8px;font-family:var(--font-mono);font-size:.8rem}.az-workspace #az-range-status{color:#f1c67b;font-size:.8rem;line-height:1.5}.az-workspace #az-range-status:empty{display:none}.az-workspace [aria-invalid=true]{border-color:#f1c67b!important}.az-workspace .az-scope{font-size:.85rem;line-height:1.6;margin:0 0 12px;color:#dcf0f1}.az-workspace .az-stats{display:block}.az-workspace .az-stat-group{display:block;margin:0 0 10px;border-bottom:1px solid #34474f;padding:8px 0}.az-workspace .az-stat-group-title{font:inherit;font-size:.85rem;letter-spacing:0;text-transform:none;min-height:36px;padding:8px 0;cursor:pointer}.az-workspace .az-stat-group .az-stat{display:flex;margin:8px 0;padding:6px 0}.az-workspace #az-wave-canvas{height:100px}

/* Fixed transport geometry: playback labels never reflow the workspace. */
.az-workspace .az-transport{display:grid;grid-template-columns:44px 44px minmax(0,1fr);gap:8px;align-items:center;min-height:44px}
.az-workspace .az-transport #az-play,.az-workspace .az-transport #az-stop{width:44px;height:44px;min-width:44px;max-width:44px;padding:0;gap:0;font-size:0;line-height:0}
.az-workspace .az-transport label{min-width:0;min-height:44px;font-size:.8rem;line-height:1.3;cursor:pointer}
.az-workspace .az-transport label input{flex:0 0 auto;margin:0;accent-color:#57c4c0}
.az-workspace .az-transport label span{min-width:0;overflow-wrap:normal}
.az-workspace .az-reading-details{border:1px solid #405963;border-radius:7px;padding:0;margin-top:12px;background:#132027}
.az-workspace .az-reading-details>summary{padding:12px;min-height:44px;box-sizing:border-box;position:relative}
.az-workspace .az-reading-details>summary:hover{background:#20343c;color:#efffff}
.az-workspace summary:focus-visible{outline:2px solid #75cfca;outline-offset:2px;border-radius:5px}
.az-workspace .az-detail-action{float:right;margin-left:8px;font-size:.75rem;font-weight:500;color:#8cddd6}
.az-workspace .az-detail-action::after{content:attr(data-closed)}
.az-workspace details[open]>summary>.az-detail-action::after{content:attr(data-open)}
.az-workspace .az-detail-preview{display:block;clear:both;font-size:.78rem;font-weight:400;line-height:1.6;color:#bbcdd3;margin-top:5px}
.az-workspace .az-reading-details>summary~*{margin-left:12px;margin-right:12px}
.az-workspace .az-reading-details[open]{padding-bottom:12px}
.az-workspace .az-stat-group-title{line-height:1.6}

.az-workspace .az-report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}.az-workspace #az-report-status:empty{display:none}.az-workspace .az-report-actions .az-hint{font-size:.78rem}

/* 271/23: loading, measurement and review follow the same order. */
.hk-studio-preview .az-workspace{border-radius:14px;grid-template-columns:minmax(280px,.85fr) minmax(0,1.5fr)}
.hk-studio-preview .az-workspace h2,.hk-studio-preview .az-analysis-target legend{font-size:1rem;color:#e8f3f4;letter-spacing:0;line-height:1.5}
.hk-studio-preview .az-picker{display:flex;gap:8px;flex-wrap:wrap;align-items:stretch;margin:14px 0}
.hk-studio-preview .az-picker .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.4}
.hk-studio-preview .az-picker [aria-disabled=true]{opacity:.5;cursor:wait;pointer-events:none}
.hk-studio-preview #az-inspector-title,.hk-studio-preview #az-source-title{scroll-margin-top:24px}
.hk-studio-preview #az-inspector-title:focus,.hk-studio-preview #az-source-title:focus{outline:2px solid #75cfca;outline-offset:5px}
.hk-studio-preview .az-text-action{display:none;border:0;background:transparent;color:#98dfd8;font:inherit;font-size:.85rem;min-height:44px;padding:8px 0;cursor:pointer}
.hk-studio-preview .az-text-action:focus-visible{outline:2px solid #75cfca;outline-offset:3px}
.hk-studio-preview #az-results-link{margin-bottom:10px}
@media(max-width:760px){.hk-studio-preview .az-workspace{grid-template-columns:minmax(0,1fr)}.hk-studio-preview .az-text-action{display:inline-block}.hk-studio-preview .az-picker>*{flex:1 1 135px}.hk-studio-preview .az-workspace .az-key-reading strong{font-size:1.2rem}}
