/* A focused work surface, with compact company context and a calm visual rhythm. */
.command-trigger { display:inline-flex; align-items:center; gap:9px; min-height:42px; padding:8px 12px; color:var(--muted); background:var(--desk-surface); border-radius:12px; font-size:11px; }
.command-trigger kbd { padding:2px 5px; border:1px solid var(--line); border-radius:5px; font-size:9px; font-family:inherit; white-space:nowrap; }
.command-trigger .df-icon { width:16px; height:16px; }
#listing .title-row { margin-bottom:22px; }
#listing .title-row h1 { font-size:clamp(26px,2.5vw,36px); }
.company-overview { margin-bottom:24px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(115deg,color-mix(in srgb,var(--soft) 24%,var(--paper)),var(--paper) 65%); }
.company-overview>summary { list-style:none; display:flex; align-items:center; gap:14px; min-height:68px; padding:16px 22px; cursor:pointer; border-radius:20px; }
.company-overview>summary::-webkit-details-marker { display:none; }
.company-overview>summary>span:first-child { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 12px; }
.company-overview>summary strong { font-size:13px; font-weight:650; }
.company-overview>summary small { color:var(--muted); font-size:10px; }
#overviewDigest { margin-left:auto; font-size:11px; color:var(--muted); text-align:right; font-variant-numeric:tabular-nums; }
.overview-chevron { font-size:19px; color:var(--muted); transition:transform .18s; }
.company-overview[open] .overview-chevron { transform:rotate(180deg); }
.overview-body { padding:0 18px 16px; }
.company-overview .stats { gap:10px; margin:0; }
.company-overview .stat { padding:14px 16px; border-radius:13px; box-shadow:none; display:grid; grid-template-columns:1fr auto; align-items:center; gap:6px 10px; }
.company-overview .stat-head { grid-column:2; grid-row:1 / 3; }
.company-overview .stat-arrow { display:none; }
.company-overview .stat strong { margin:0; font-size:26px; line-height:1.25; letter-spacing:-.04em; }
.company-overview .stat-label { grid-row:2; font-size:10px; }
.company-overview .stat-icon { width:32px; height:32px; border-radius:9px; }
.company-overview .attention-desk { padding:16px 0 0; margin:0; border:none; border-radius:0; background:transparent; }
.company-overview .attention-heading { margin-bottom:10px; gap:4px 12px; }
.company-overview .attention-heading .eyebrow { display:none; }
.company-overview .attention-heading h2 { font-size:12px; font-weight:600; }
.company-overview .attention-heading p { font-size:10px; }
.company-overview .attention-grid { gap:10px; }
.company-overview .attention-item { border:0; border-radius:11px; padding:10px 12px; gap:10px; background:color-mix(in srgb,var(--paper) 78%,var(--bg)); min-height:60px; }
.company-overview .attention-count { font-size:21px; flex-basis:27px; }
.company-overview .attention-copy b { font-size:11px; }
.company-overview .attention-copy>span { font-size:10px; line-height:1.4; }
.company-overview .attention-arrow { font-size:15px; }
#workspaceTools { margin-bottom:20px; }
.views-panel { margin-bottom:20px; border:1px solid var(--line); border-radius:17px; background:var(--paper); }
.views-panel>summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; padding:16px 20px; gap:12px; min-height:62px; }
.views-panel>summary::-webkit-details-marker { display:none; }
.views-panel>summary>span:first-child { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 12px; }
.views-panel>summary strong { font-size:12px; font-weight:650; }
.views-panel>summary small { color:var(--muted); font-size:10px; }
.views-panel>summary>span:last-child { color:var(--muted); font-size:19px; }
.views-panel[open]>summary>span:last-child { transform:rotate(180deg); }
.views-panel>summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:17px; }
.views-panel[open]>summary { padding-bottom:5px; min-height:46px; }
.views-panel #workspaceTools { margin:0; }
.views-panel .df-workspace-tools { padding-top:4px; margin:0; border:0; background:transparent; }
.views-panel .df-workspace-intro h2 { display:none; }
.views-panel .df-workspace-head { margin-bottom:9px; }
.decision-filters { display:flex; align-items:center; flex-wrap:wrap; gap:14px; padding:12px 18px; }
.decision-filters>select { flex:1; max-width:290px; }
.decision-filters>.check { display:flex; }
.refinements { background:var(--desk-surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.refinements .desk-focus { background:transparent; border:0; padding-bottom:0; }
#toggleRefinements { min-height:44px; display:inline-flex; align-items:center; gap:7px; }
#filterCount:not(:empty) { min-width:18px; height:18px; padding:0 4px; display:inline-grid; place-items:center; border-radius:6px; background:var(--soft); color:var(--accent); font-size:10px; }
.list-card { overflow:visible; }
.list-card>.desk-focus { border-radius:19px 19px 0 0; padding:12px 18px; }
.list-card .toolbar { padding:16px 18px 10px; }
.list-card .desk-tools { padding:0 18px 12px; }
.list-card .toolbar .search { background:var(--desk-surface); border-radius:12px; }
.list-card .pagination { border-radius:0 0 19px 19px; }
.list-card .list-summary { background:var(--desk-surface); }
#evidenceTools { position:relative; z-index:2; }
.company-overview>summary:focus-visible,.command-trigger:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
@media(min-width:1101px) { .company-overview .attention-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1100px) and (min-width:761px) { .company-overview .attention-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .company-overview .attention-copy { display:grid; gap:3px; } .company-overview .attention-copy>span { display:none; } }
@media(max-width:760px) {
 .command-trigger { padding:9px; width:40px; height:40px; justify-content:center; flex-shrink:0; }
 .command-trigger>span,.command-trigger kbd { display:none; }
 .header-actions { gap:7px; }
 #listing .title-row { gap:14px; margin-bottom:16px; }
 #deskIntro { font-size:12px; line-height:1.6; }
 #listUpdated { margin-top:5px; }
 .company-overview { margin-bottom:16px; border-radius:16px; }
 .company-overview>summary { min-height:64px; padding:12px 14px; gap:9px; }
 .company-overview>summary>span:first-child { display:grid; gap:3px; }
 #overviewDigest { font-size:10px; max-width:130px; line-height:1.6; }
 .overview-body { padding:0 12px 12px; }
 .company-overview .stats { gap:7px; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .company-overview .stat { padding:12px; gap:5px; }
 .company-overview .stat strong { font-size:24px; }
 .company-overview .stat-icon { width:26px; height:26px; }
 .company-overview .stat-label { font-size:10px; line-height:1.5; }
 .company-overview .attention-grid { gap:6px; }
 .company-overview .attention-heading p { line-height:1.6; }
 #workspaceTools { margin-bottom:16px; }
 .views-panel { margin-bottom:16px; }
 .views-panel>summary { padding:12px 14px; min-height:60px; }
 .views-panel>summary>span:first-child { display:grid; gap:3px; }
 .views-panel .df-workspace-tools { padding:8px 14px 14px; }
 .views-panel .df-workspace-intro p { font-size:9px; }
 .decision-filters { padding:12px; gap:10px; }
 .decision-filters>select { width:100%; max-width:none; flex-basis:100%; }
 .refinements .desk-focus { padding:10px; gap:5px; }
 .refinements .desk-focus button { flex:1 0 calc(50% - 5px); font-size:10px; padding:8px 9px; }
 #deskIntro { display:none; }
 .list-card>.desk-focus { padding:10px; gap:5px; }
 .list-card>.desk-focus button { padding:8px 9px; font-size:10px; min-height:40px; flex:1 0 calc(50% - 5px); }
 .list-card .toolbar { padding:12px 12px 10px; }
 .list-card .desk-tools { padding:0 12px 12px; }
}
@media(prefers-reduced-motion:no-preference) {
 .company-overview[open] .overview-body { animation:df-overview-reveal .19s ease-out; }
 @keyframes df-overview-reveal { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:none; } }
}
@media(prefers-reduced-motion:reduce) { .overview-chevron { transition:none; } }
/* Mobile preview dedicates the screen to the original. Approval and editing
   remain together in the adjacent “Údaje a schválení” tab. */
@media(max-width:760px) {
 #detail[data-pane=preview] .workflow-panel { display:none; }
}
