/* DetailFlow v1.6.7 · Maximize the editor without removing essential controls.
   The old 30px footer is no longer in the viewport. Width and version live
   beside the content-block heading; preview zoom remains in the compact ribbon. */
.footer.df167-hidden-footer,.footer[hidden]{display:none!important}
/* Desktop: a single, compact 46px application header. */
.topbar{height:46px;min-height:46px;padding:0 10px;gap:8px;flex-wrap:nowrap}
.topbar .brand{min-width:126px;max-width:126px;margin:0;flex:0 0 126px}
.topbar .brand-logo{width:126px;height:auto;max-height:43px;object-fit:contain}
.top-tabs.df95-tabs{gap:3px;margin:0;min-width:0;flex:0 1 auto;align-items:center;align-self:stretch}
.top-tabs.df95-tabs .df95-current-tab{flex:0 1 158px;max-width:158px;min-width:105px}
.top-tabs.df95-tabs #tabBulk,.top-tabs.df95-tabs #tabFinal{height:29px;font-size:10px;padding:0 8px}
.topbar .header-actions{margin-left:auto;gap:4px;min-width:0;flex:0 0 auto}
.topbar .header-actions .btn{height:29px;min-height:29px;padding:0 8px;border-radius:6px;font-size:10px}
.topbar .header-actions .btn .ico{font-size:12px}
/* 27px workspace strip includes breadcrumbs, editor/final zoom and actions. */
.subbar.df166-subbar{height:28px;min-height:28px;padding:0 9px;gap:7px}
.df166-subbar .crumb{font-size:10px;min-width:0;max-width:250px}
.df166-subbar .center-toolbar.df166-subbar-editor,.df166-subbar .final-preview-header.df166-subbar-final{height:27px;max-height:27px;min-height:0;gap:6px}
.df166-subbar .df82-preview-zoom{height:25px;min-width:207px;width:231px;padding:1px 4px;gap:3px}
.df166-subbar .df82-preview-zoom button{height:21px;width:21px;font-size:12px}
.df166-subbar .df82-preview-zoom #previewZoomReset{width:34px;font-size:9px}
.df166-subbar .df82-preview-zoom output{width:39px;font-size:10px}
.df166-subbar .df82-preview-zoom input[type=range]{min-width:40px}
.df166-subbar .final-zoom-controls button{height:23px;min-width:23px;padding:0 5px;font-size:10px}
.df166-subbar .final-actions .btn{height:24px;font-size:10px;padding:0 8px}
/* Content block heading: version on the first slim line, output width next to heading. */
.left-pane .pane-top.df167-left-pane-head{height:54px;min-height:54px;padding:6px 10px 6px 13px;gap:6px}
.df167-block-heading{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.df167-version{font-size:9px;font-weight:650;color:#8194a7;white-space:nowrap;line-height:13px}
.df167-block-title-row{display:flex;align-items:baseline;gap:7px;min-width:0;white-space:nowrap}
.df167-block-title-row h2{font-size:16px;line-height:21px;font-weight:780;white-space:nowrap}
.df167-output-width{font-size:9px;color:#6d849b;white-space:nowrap;flex:0 0 auto}
.df167-output-width strong{font-variant-numeric:tabular-nums;color:#3a698e}
.left-pane .pane-top.df167-left-pane-head .count{font-size:11px;padding:4px 7px;flex:0 0 auto}
/* The left helper was redundant and removed from the DOM. */
.left-pane>.hint{display:none!important}
.right-pane .pane-top{min-height:52px;padding:8px 12px 7px;margin:0}
.right-pane .pane-top .eyebrow{font-size:9px;margin-bottom:2px}
.right-pane .pane-top h2{font-size:16px}
/* Let both side panels and the center image gain the bottom 30px and top savings. */
#editorView.workspace{height:var(--editor-height,calc(100dvh - 74px));min-height:0}
#editorView .preview-scroll{padding-top:0!important}
#finalView.df96-final-compact{height:var(--editor-height,calc(100dvh - 74px));padding-top:1px;padding-bottom:3px}
/* The bulk tab also inherits the reclaimed footer height. */
@media(max-width:1360px){
 .topbar{gap:5px;padding:0 6px}
 .topbar .brand{min-width:100px;max-width:100px;flex-basis:100px}
 .topbar .brand-logo{width:100px;max-height:38px}
 .top-tabs.df95-tabs .df95-current-tab{max-width:125px;flex-basis:125px;min-width:88px}
 .topbar .header-actions .btn{padding:0 5px;font-size:9px}
 .top-tabs.df95-tabs #tabBulk,.top-tabs.df95-tabs #tabFinal{font-size:9px;padding:0 6px}
 .left-pane .pane-top.df167-left-pane-head{padding-left:9px;padding-right:7px}
 .df167-block-title-row{gap:4px}
 .df167-block-title-row h2{font-size:14px}
 .df167-output-width{font-size:9px}
}
@media(max-width:1050px){
 /* Keep the main header in one row instead of losing height to wrapping. */
 .topbar{height:45px;min-height:45px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
 .topbar::-webkit-scrollbar{display:none}
 .topbar .header-actions{width:auto;flex:0 0 auto}
 .topbar .top-tabs.df95-tabs{flex:0 0 auto}
 .subbar.df166-subbar{height:28px;min-height:28px}
 .df166-subbar .zoom-pill{display:none}
}
@media(max-width:790px){
 .topbar{min-width:0}
 .df166-subbar .crumb{max-width:90px}
 .df166-subbar .df82-preview-zoom{min-width:174px;width:195px}
 .left-pane .pane-top.df167-left-pane-head{height:54px;min-height:54px}
}
/* Status/count also appears in the content selector, so the slim final ribbon
   displays just the title without a second text line. */
.df166-subbar .final-preview-title .subtle{display:none!important}
.df166-subbar .final-preview-title{flex:0 0 auto;white-space:nowrap;align-items:center}
