.history-page{min-width:0;max-width:1240px;margin:0 auto;padding:36px 32px 44px}.history-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.history-heading h1{font-family:var(--font-display);margin:0;font-size:32px;font-weight:500;line-height:1.3}.history-heading p{color:var(--muted);margin:8px 0 0;font-size:15px}.history-new{display:none}.history-tabs{border-bottom:1px solid var(--line);gap:28px;margin-bottom:24px;display:flex}.history-tabs button{min-height:48px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:8px 0 14px;font-size:15px}.history-tabs button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.history-filters{grid-template-columns:minmax(180px,1fr) 174px 174px;gap:12px;margin-bottom:20px;display:grid}.history-search{border:1px solid var(--control);min-width:0;color:var(--muted);background:var(--surface);border-radius:8px;align-items:center;gap:10px;padding:0 14px;display:flex}.history-search:focus-within{border-color:var(--accent)}.history-search input:not([type=checkbox]):not([type=file]){width:100%;min-width:0;min-height:44px;color:var(--text);background:0 0;border:0;border-radius:0;outline:0;padding:10px 0;font-size:14px}.history-search input::placeholder{color:var(--muted);opacity:1}.history-filters select,.history-selection select{background:var(--surface);min-width:0;min-height:44px;color:var(--text);border:1px solid var(--control);border-radius:8px;padding:8px 12px;font-size:14px}.history-summary{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;font-size:13px;display:flex}.history-table-heading,.history-row{grid-template-columns:28px minmax(150px,2fr) minmax(132px,1fr) minmax(100px,.8fr) minmax(132px,.9fr) 92px;align-items:center;column-gap:14px;display:grid}.history-table-heading{border-bottom:1px solid var(--line);min-height:44px;color:var(--muted);padding:0 0 8px;font-size:13px}.history-table-heading>span{align-items:center;gap:5px;display:flex}.history-table-heading button{min-width:28px;min-height:32px;color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.history-row{border-bottom:1px solid var(--line);min-height:98px;padding:18px 0;font-size:14px}.history-row.is-selected{background:var(--selected-mode,#ebf8f4);background:color-mix(in srgb,var(--brand-soft) 22%,var(--surface))}.history-check{justify-content:center;align-self:stretch;align-items:center;min-height:44px;display:flex}.history-check input{width:17px;height:17px;accent-color:var(--accent);margin:0}.history-content{align-items:center;gap:14px;min-width:0;display:flex}.history-content-text{min-width:0}.history-thumbnail{background:var(--soft);width:64px;height:50px;color:var(--muted);border-radius:6px;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.history-thumbnail img{object-fit:cover;width:100%;height:100%}.history-record-title{white-space:nowrap;text-overflow:ellipsis;width:100%;min-width:0;max-width:40ch;color:var(--text);text-align:left;padding:0;font-weight:600;line-height:1.45;display:block;overflow:hidden}.history-record-title:hover{color:var(--accent);text-decoration:underline}.history-meta{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:0 8px;margin-top:5px;font-size:12px;display:flex}.history-meta span+span:before{content:"·";margin-right:8px}.history-batch-link{min-height:28px;color:var(--accent);text-align:left;background:0 0;border:0;padding:0;font-size:12px}.history-status{align-items:center;gap:6px;font-size:13px;line-height:1.45;display:flex}.history-status svg{flex-shrink:0}.history-status.is-ready{color:var(--success)}.history-status.is-pending{color:var(--warning)}.history-status.is-attention{color:var(--danger)}.history-credit{font-variant-numeric:tabular-nums;align-items:center;gap:4px;min-width:0;font-size:13px;display:flex}.history-credit-rules{margin:0;padding-left:18px;list-style:outside}.history-credit-rules li+li{margin-top:6px}.history-credit-trigger{min-height:36px;color:var(--text);text-align:left;font-variant-numeric:tabular-nums;background:0 0;border:0;align-items:center;gap:5px;padding:0;line-height:1.4;display:inline-flex}.history-credit-trigger svg{color:var(--muted);flex-shrink:0}.history-credit-detail{color:var(--muted);overflow-wrap:anywhere;margin:6px 0;font-size:12px;line-height:1.6}.history-date{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;line-height:1.5}.history-row .history-open,.history-batch-heading .history-batch-open{border:1px solid var(--control);min-height:36px;color:var(--text);background:0 0;border-radius:8px;justify-content:center;justify-self:start;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:500;line-height:1.45;display:inline-flex}.history-open svg{flex-shrink:0}.history-selection{background:color-mix(in srgb,var(--brand-soft) 45%,var(--surface));border-radius:8px;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:12px;padding:12px 16px;font-size:14px;display:flex}.history-selection strong{font-weight:600}.history-selection-note{color:var(--muted);margin-right:auto;font-size:12px}.history-selection button{min-height:36px;color:var(--accent);background:0 0;border:0;padding:6px 10px}.history-selection .history-download{background:var(--surface);border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:8px 12px;display:inline-flex}.history-selection button:disabled{opacity:.6;cursor:wait}.history-format-note,.history-billing-note{color:var(--muted);margin:10px 0 20px;font-size:13px;line-height:1.6}.history-format-note button,.history-error button,.history-export-notice button,.history-batch-children>p button{color:var(--accent);background:0 0;border:0;min-height:36px;padding:0 4px;text-decoration:underline}.history-error{background:var(--danger-bg);color:var(--danger);border-radius:8px;align-items:flex-start;gap:12px;margin:16px 0;padding:14px 16px;font-size:14px;display:flex}.history-error>div,.history-error>span{overflow-wrap:anywhere;flex:1;min-width:0}.history-error p{margin:4px 0}.history-export-notice{color:var(--accent);font-size:14px}.history-skeleton{color:var(--muted);gap:16px;margin-top:24px;font-size:14px;display:grid}.history-skeleton>div{background:var(--soft);border-radius:8px;height:76px}.history-pagination,.history-batch-paging{color:var(--muted);flex-wrap:wrap;align-items:center;gap:16px;padding-top:18px;font-size:13px;display:flex}.history-pagination>span{margin-right:auto}.history-pagination button,.history-batch-paging button{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--text);border-radius:8px;margin-left:8px;padding:6px 12px}.history-pagination button:disabled,.history-batch-paging button:disabled{color:var(--muted);opacity:.55;cursor:not-allowed}.history-pagination .history-refresh{color:var(--accent);border:0;margin:0;padding:0}.history-batch{border-bottom:1px solid var(--line);padding:22px 0}.history-batch-heading{align-items:center;gap:14px;display:flex}.history-batch-heading>div{flex:1;min-width:0}.history-batch-heading h2{font-family:var(--font-sans);margin:0;font-size:16px;font-weight:600;line-height:1.5}.history-batch-heading p{color:var(--muted);margin:3px 0 0;font-size:13px}.history-expand{min-width:44px;min-height:44px;color:var(--accent);background:0 0;border:0;flex-shrink:0;align-items:center;gap:8px;padding:0;display:flex}.history-batch-children{min-width:0;padding:16px 0 0 12px}.history-batch-select{color:var(--accent);background:0 0;border:0;min-height:44px;padding:0;font-size:13px}.history-batch-children .history-row:last-child{border:0}.history-page .empty-state h2{font-size:24px}.history-sort{align-items:center;gap:8px;display:flex}.history-sort-toggle{min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border:0;justify-content:flex-end;align-items:center;gap:7px;padding:0;font-size:13px;display:inline-flex}.history-sort-toggle svg{flex-shrink:0}.history-sort-toggle:hover,.history-sort-toggle:active{color:var(--accent)}@media (width<=1200px){.history-table-heading,.history-row{grid-template-columns:24px minmax(140px,2fr) minmax(100px,1fr) minmax(78px,.7fr) minmax(132px,.9fr) 80px;gap:6px}.history-page{padding:28px 22px}.history-thumbnail{width:52px;height:44px}.history-content{gap:10px}.history-filters{grid-template-columns:minmax(160px,1fr) 154px 154px}}@media (width<=900px){.history-new{display:inline-flex}.history-heading{align-items:flex-start}.history-page{padding:26px 24px}.history-heading h1{font-size:28px}}@media (width<=740px){.history-page{padding:24px 18px}.history-heading{flex-wrap:wrap;gap:16px}.history-heading p{font-size:14px}.history-filters{grid-template-columns:1fr 1fr;gap:10px}.history-search{grid-column:1/-1}.history-search input,.history-filters select{font-size:16px}.history-table-heading{grid-template-columns:28px minmax(0,1fr) auto;gap:12px}.history-table-heading>span:not(:first-of-type):not(.history-credits-heading){display:none}.history-row{grid-template-columns:28px minmax(0,1fr) 104px;gap:6px 12px;min-height:130px;padding:16px 0}.history-row>.history-check{grid-area:1/1/5}.history-content{grid-column:2/-1;gap:12px}.history-thumbnail{width:58px;height:48px}.history-record-title{font-size:15px}.history-status{grid-area:2/2}.history-credit{grid-area:3/2}.history-date{grid-area:4/2/auto/-1}.history-row .history-open{grid-area:2/3/5;place-self:start end;min-height:44px}.history-selection{gap:10px}.history-selection strong{margin-right:auto}.history-selection-note{order:4;width:100%}.history-selection select{max-width:90px}.history-batch-heading{flex-wrap:wrap;gap:10px}.history-batch-heading>.history-batch-open{min-height:44px;margin-left:54px}.history-batch-children{padding-left:0}.history-batch-paging{justify-content:space-between;gap:8px}.history-batch-paging button{margin:0}.history-batch-paging span{order:3;width:100%}.history-tabs{margin-bottom:20px}}@media (prefers-reduced-motion:no-preference){.history-tabs button,.history-record-title,.history-open{transition:color .16s,border-color .16s}}@media (width<=740px){.history-search input:not([type=checkbox]):not([type=file]){font-size:16px}.history-credit-trigger{min-height:44px}.history-batch-link{align-items:center;min-height:44px;display:inline-flex}}.history-platform{align-items:center;gap:5px;display:inline-flex}.history-platform svg{flex-shrink:0}.history-selection .choice-menu{min-width:86px}.history-selection .choice-menu-trigger{min-height:40px}.wise-dialog.history-detail-drawer{border-radius:0;flex-direction:column;gap:0;width:min(1200px,100vw - 48px);max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:24px;display:flex;inset:0 0 0 auto;overflow:hidden}.history-detail-drawer>.dialog-head{flex-shrink:0;margin-bottom:12px}.history-detail-content{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.history-detail-content:has(>.transcript-workspace){overflow:hidden}.history-detail-content>.transcript-workspace{height:100%;min-height:0}.history-detail-content>.transcript-workspace>.workspace-columns{grid-template-rows:minmax(0,1fr);height:100%}.history-detail-content>.transcript-workspace .workspace-source{overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:var(--control) transparent;height:100%;overflow-y:auto}.history-detail-content>.transcript-workspace .live-video-info{height:auto;max-height:none;overflow:visible}.result-unavailable{color:var(--muted);padding:24px}.result-unavailable h3{font-family:var(--font-sans);color:var(--text);margin:0 0 12px;font-size:18px;font-weight:600}.result-unavailable p{margin:0;font-size:14px;line-height:1.6}@media (width<=899px){.wise-dialog.history-detail-drawer{width:100%;padding:20px 16px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}.history-detail-content>.transcript-workspace>.workspace-columns{grid-template-rows:44px minmax(0,1fr)}.history-detail-content>.transcript-workspace>.workspace-columns:has(>.workspace-source[open]){grid-template-rows:minmax(44px,min(240px,33%)) minmax(0,1fr)}}@media (width<=740px){.history-filters .choice-menu-trigger{font-size:16px}.history-record-title{font-size:15px}}
