/* TJ-Web: Gemeinsamer kompakter Programmrahmen – Kopf und Fuß abgestimmt.
   Ausschließlich Kopf-/Fußleisten und bekannte Seitentitel; keine Formulare/Tabellen. */
body.tj-desktop-ui{
 --tj-shell-blue:#286090;--tj-shell-navy:#173d5c;--tj-shell-line:#dce4ec;
 --tj-shell-ink:#20364a;--tj-shell-muted:#4c6275;
 background:#f4f6f8;font-family:'Segoe UI',Arial,sans-serif;
}
.tj-desktop-ui>.wrap{grid-template-rows:auto minmax(0,1fr) auto!important}
.tj-desktop-ui .brand.site-header{
 box-sizing:border-box;height:auto!important;min-height:30px!important;padding:0!important;font-weight:400;
 background:var(--tj-shell-navy)!important;border-bottom:1px solid #254d6c;
 overflow:visible;box-shadow:none;white-space:normal;
}
.tj-desktop-ui .site-header .site-header-inner{
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
 gap:2px 16px;box-sizing:border-box;width:100%;min-width:0;min-height:29px;height:auto;padding:0 12px;
}
.tj-desktop-ui .site-header .header-left{align-self:center;min-width:0}
.tj-desktop-ui .site-header .header-center{display:flex;min-width:0;overflow:hidden}
.tj-desktop-ui .site-header .site-title{color:#e0eaf3;font-size:13px;line-height:18px;font-weight:400}
.tj-desktop-ui .site-header .header-right{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
 justify-self:end;gap:2px;width:auto;min-width:0;max-width:100%;overflow:visible;
}
.tj-desktop-ui .site-header :is(.header-left,.header-right) :is(a,button){
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 gap:6px;min-height:28px;height:28px;padding:0 8px;border:0;border-radius:0;
 background:transparent;color:#f1f6fc;font:400 13px/18px 'Segoe UI',Arial,sans-serif;
 text-decoration:none;white-space:nowrap;box-shadow:none;text-shadow:none;filter:none;opacity:1;
}
.tj-desktop-ui .site-header .header-column .fa{font-size:13px;color:inherit;line-height:1;transform:none}
.tj-desktop-ui .site-header :is(.header-left,.header-right) :is(a,button):hover{background:#234e70;color:#fff;text-decoration:none}
.tj-desktop-ui .site-header .header-column a.is-active{
 background:#286090;color:#fff;box-shadow:none;text-decoration:none;border:0;font-weight:400;
}
.tj-desktop-ui .site-header .header-column a.is-active .fa{background:transparent;color:inherit}
.tj-desktop-ui .site-header :is(a,button):focus-visible{outline:1px solid #fff;outline-offset:-2px}
.tj-desktop-ui .site-header :is(a,button):focus:not(:focus-visible){outline:none}
.tj-desktop-ui .site-footer{
 display:block;box-sizing:border-box;width:100%;min-width:0;height:auto!important;
 min-height:30px!important;margin:0;padding:0;border-top:1px solid #254d6c;
 background:var(--tj-shell-navy)!important;color:#e0eaf3;overflow:visible;box-shadow:none;
}
.tj-desktop-ui .site-footer .site-footer-inner{
 display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;
 gap:2px 14px;box-sizing:border-box;width:100%;min-width:0;min-height:29px;height:auto;padding:0 12px;
 font:400 13px/18px 'Segoe UI',Arial,sans-serif;
}
.tj-desktop-ui .site-footer .footer-column{min-width:0;max-width:100%;font:400 13px/18px 'Segoe UI',Arial,sans-serif}
.tj-desktop-ui .site-footer .footer-left{justify-content:flex-start}
.tj-desktop-ui .site-footer .footer-center{justify-content:center;color:#e0eaf3}
.tj-desktop-ui .site-footer .footer-right{justify-content:flex-end}
.tj-desktop-ui .site-footer a{box-sizing:border-box;min-height:28px;height:28px;padding:0 8px;color:#f1f6fc;font:400 13px/18px 'Segoe UI',Arial,sans-serif;text-decoration:none;border-radius:0}
.tj-desktop-ui .site-footer a:hover{background:#234e70;color:#fff;text-decoration:none}
.tj-desktop-ui .site-footer a:focus-visible{outline:1px solid #fff;outline-offset:-2px}
/* Gemeinsame helle Titelzeilen. Hohe Spezifität hält spätere Bereichs-CSS im Rahmen. */
.tj-desktop-ui #application .dashboard-hub .dashboard-hub-header,
.tj-desktop-ui #application :is(#software-app,#documents-app) :is(.sw-header,.dv-header),
.tj-desktop-ui #application :is(#mp3-home,#mp3-audit,#mp3-editor,#mp3-backup-ui,#mp3-import,#mp3-rename) :is(.mp3-home-header,.audit-header,.mp3-edit-header,.mp3-job-header){
 box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:8px 18px;min-height:54px!important;height:auto!important;
 padding:10px 18px!important;margin-top:0;background:#fff!important;
 color:#20364a!important;border-bottom:1px solid #dce4ec!important;box-shadow:none!important;
}
.tj-desktop-ui #application .dashboard-hub .dashboard-hub-header h1,
.tj-desktop-ui #application :is(#software-app,#documents-app) :is(.sw-header,.dv-header) h1,
.tj-desktop-ui #application :is(#mp3-home,#mp3-audit,#mp3-editor,#mp3-backup-ui,#mp3-import,#mp3-rename) :is(.mp3-home-header,.audit-header,.mp3-edit-header,.mp3-job-header) h1{
 margin:0!important;font:400 19px/26px 'Segoe UI',Arial,sans-serif!important;
 color:#20364a!important;letter-spacing:normal;text-shadow:none;
}
.tj-desktop-ui #application .dashboard-hub .dashboard-hub-header p,
.tj-desktop-ui #application :is(#software-app,#documents-app) :is(.sw-header,.dv-header) p,
.tj-desktop-ui #application :is(#mp3-home,#mp3-audit,#mp3-editor,#mp3-backup-ui,#mp3-import,#mp3-rename) :is(.mp3-home-header,.audit-header,.mp3-edit-header,.mp3-job-header) p{
 margin:2px 0 0!important;color:#4c6275!important;font:400 12px/18px 'Segoe UI',Arial,sans-serif!important;
}
.tj-desktop-ui #application .dashboard-hub .dashboard-hub-account-link{
 min-height:30px;box-sizing:border-box;padding:4px 10px;border:1px solid #dce4ec;
 border-radius:0;background:#fff;color:#286090;font:400 12px/20px 'Segoe UI',Arial,sans-serif;
}
.tj-desktop-ui #application .dashboard-hub .dashboard-hub-account-link:hover{background:#e7eff7;border-color:#bccddd;color:#20364a}
.tj-desktop-ui #application .dashboard-hub .dashboard-hub-account-link:focus-visible{outline-color:#286090!important}
.tj-desktop-ui #application :is(#software-app,#documents-app) :is(.sw-header,.dv-header)>span,
.tj-desktop-ui #application #mp3-home .mp3-home-header .mp3-home-role,
.tj-desktop-ui #application #mp3-audit .audit-header .audit-state{color:#4c6275!important;background:#f7f8fa!important;border-color:#dce4ec!important;font-weight:400}
/* Bild-/Musikarbeitsflächen besitzen bereits eine schmale Werkzeugleiste. */
.tj-desktop-ui #application #bv2-app .bv-topbar h2,
.tj-desktop-ui #application #music-app .music-heading h1{font:400 19px/26px 'Segoe UI',Arial,sans-serif!important;color:#20364a!important}
@media(max-width:1500px){
 .tj-desktop-ui .site-header .header-center{display:none}
 .tj-desktop-ui .site-header .site-header-inner{grid-template-columns:auto minmax(0,1fr);gap:2px 8px}
 .tj-desktop-ui .site-header .header-right{width:100%}
}
@media(max-width:740px){
 .tj-desktop-ui .site-header .site-header-inner{grid-template-columns:minmax(0,1fr);gap:2px;padding:0 8px}
 .tj-desktop-ui .site-header .header-right{justify-self:stretch;justify-content:flex-start}
 .tj-desktop-ui .site-header :is(.header-left,.header-right) :is(a,button){padding:0 7px}
 .tj-desktop-ui .site-footer .site-footer-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 8px;padding:0 8px}
 .tj-desktop-ui .site-footer .footer-center{grid-column:1/-1;grid-row:2}
}
@media(max-width:380px){
 .tj-desktop-ui .site-header :is(.header-left,.header-right) :is(a,button){max-width:100%;height:auto;white-space:normal}
 .tj-desktop-ui .site-header :is(a,button) span{overflow-wrap:anywhere}
}
/* Der gemeinsame Rahmen darf die Startansicht auf kleinen Fenstern nicht verbreitern. */
.tj-desktop-ui #application.app-scroll>section.panel.dashboard-panel.dashboard-hub{min-width:0!important}

/* Desktopbedienung auf schmalen Geräten: Leisten bleiben eine Zeile.
   Der sichtbare Ausschnitt scrollt, statt die Bedienelemente umzuordnen. */
html body.tj-desktop-ui .brand.site-header,
html body.tj-desktop-ui .site-footer{
 display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;
 height:auto!important;min-height:30px!important;overflow-x:auto!important;overflow-y:hidden!important;
 white-space:nowrap!important;scrollbar-width:thin;overscroll-behavior-x:contain;
}
html body.tj-desktop-ui .site-header .site-header-inner,
html body.tj-desktop-ui .site-footer .site-footer-inner{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
 box-sizing:border-box;width:max-content!important;min-width:100%!important;max-width:none!important;
 height:29px!important;min-height:29px!important;gap:0 18px!important;padding:0 12px!important;
}
html body.tj-desktop-ui .site-header :is(.header-left,.header-right){
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
 flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;
 overflow:visible!important;gap:2px!important;align-self:center!important;white-space:nowrap!important;
}
html body.tj-desktop-ui .site-header .header-center{
 display:flex!important;flex:1 0 auto!important;min-width:max-content!important;max-width:none!important;
 justify-content:center!important;overflow:visible!important;
}
html body.tj-desktop-ui .site-header :is(a,button,.site-title),
html body.tj-desktop-ui .site-header :is(a,button) span{
 flex-shrink:0!important;max-width:none!important;white-space:nowrap!important;overflow-wrap:normal!important;
 word-break:normal!important;overflow:visible!important;text-overflow:clip!important;
}
html body.tj-desktop-ui .site-header :is(.header-left,.header-right) :is(a,button){height:28px!important;min-height:28px!important}
html body.tj-desktop-ui .site-footer .footer-column{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
 flex:0 0 auto!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;
 grid-row:auto!important;grid-column:auto!important;order:0!important;
}
html body.tj-desktop-ui .site-footer .footer-center{flex:1 0 auto!important;justify-content:center!important}
html body.tj-desktop-ui .site-footer a{flex-shrink:0;white-space:nowrap}
html body.tj-desktop-ui :is(.site-header,.site-footer)::-webkit-scrollbar{height:8px}
html body.tj-desktop-ui :is(.site-header,.site-footer)::-webkit-scrollbar-track{background:#174c79}
html body.tj-desktop-ui :is(.site-header,.site-footer)::-webkit-scrollbar-thumb{background:#b9cddd}
html body.tj-desktop-ui #application.app-scroll{min-width:0!important;overflow:auto!important}
/* Reihenfolge, Spalten und Player bleiben wie auf der Desktop-Arbeitsfläche. */
html body.tj-desktop-ui #application.app-scroll>#music-app.music-app{
 min-width:1280px!important;width:100%!important;flex-shrink:0!important;
}
html body.tj-desktop-ui #application.app-scroll>#music-app :is(.music-toolbar-track,.music-actionbar-track,.music-selection-tools,.music-player-controls){flex-wrap:nowrap!important}
html body.tj-desktop-ui #application.app-scroll>#music-app :is(.music-toolbar-track,.music-actionbar-track)>*{flex-shrink:0}
html body.tj-desktop-ui #application.app-scroll>#music-app .music-content-scroll{overflow:auto!important;min-height:0}
html body.tj-desktop-ui #application.app-scroll>#music-app .music-shell.panel{min-width:1000px!important;max-width:none!important}
html body.tj-desktop-ui #application.app-scroll>#music-app .music-workspace{grid-template-columns:var(--music-left) minmax(0,1fr) var(--music-right)!important}
html body.tj-desktop-ui #application.app-scroll>#music-app:not(.music-hide-left){--music-left:240px}
html body.tj-desktop-ui #application.app-scroll>#music-app:not(.music-hide-right){--music-right:280px}
html body.tj-desktop-ui #application.app-scroll>section.panel.dashboard-panel.dashboard-hub{
 min-width:1080px!important;align-self:flex-start!important;margin:16px auto!important;
}
html body.tj-desktop-ui #application .dashboard-hub .dashboard-hub-header{flex-wrap:nowrap!important}
