/* Shared cockpit: presentation only; financial content stays in existing templates. */
:root{--depot-sidebar:240px;--bg:#f5f7f9;--line:#e0e6eb;--ink:#23313d;--muted:#566574;--depot-radius:12px}
body.depot-app main{min-width:0}
body .mfr-head{gap:16px;flex-wrap:wrap}
body .mfr-grid,body .fp-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:14px}
body .mfr-kpi,body .fp-kpi,body .tile{padding:18px;box-shadow:0 2px 5px #20304004}
body .mfr-kpi strong,body .fp-kpi>b,body .tile b{font-size:clamp(22px,2.1vw,30px);overflow-wrap:anywhere}
body .mfr-kpi small,body .fp-kpi small{display:block;line-height:1.5;margin-top:7px}
body .mfr-kpi.hero{background:#eaf4ee;color:#163f30;border-color:#bad5c6}
body .mfr-kpi.hero :is(small,.label,.depot-info-button){color:#244d3b}
body .mfr-kpi.hero .depot-info-button{border-color:#6f9681}
body h2{margin-top:28px}
body .card h3:first-child{margin-top:0}
.depot-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:8px}
.depot-table-scroll:focus-visible{outline:3px solid #2871b9;outline-offset:2px}
body .depot-menu-toggle{display:none}
body section[aria-label=Objektfokus]{border-radius:10px;background:#fff;margin-bottom:22px}
@media(min-width:1100px){
body.depot-app header.top{background:#fff;border-right:1px solid var(--line);gap:24px;padding:24px 14px}
body.depot-app .top .brand{color:var(--ink);font-size:17px;line-height:1.7}
body.depot-app .top .logo{background:#166548;padding:5px 7px}
body.depot-app .top .tag{color:var(--muted);border:0;padding:0;margin:7px 0 0;font-size:11px}
body.depot-app .top nav a{color:#43525f;font-weight:500}
body.depot-app .top nav a:hover{background:#f0f4f6}
body.depot-app .top nav a[aria-current=page]{background:#e7f2ec;color:#154f35;font-weight:700;box-shadow:inset 3px 0 #237249}
body.depot-app .top nav a.btn{color:white;background:#166548}
body.depot-app .top nav a.btn:hover{background:#104e37}
body.depot-app .depot-object-nav{border-color:#d9e3dd;margin-left:16px}
body.depot-app .top .depot-object-nav a{font-size:12px;line-height:1.45;padding:8px 10px}
body.depot-app main{padding:28px 32px;max-width:1740px}
}
@media(max-width:1099px){
body.depot-app header.top{align-items:center;background:white}
body.depot-app .top .brand{max-width:calc(100% - 125px)}
body.depot-app .top .tag{display:none}
body.depot-app .depot-menu-toggle:not([hidden]){display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;background:white;border:1px solid #b6c7bc;border-radius:8px;color:#184e35;font:600 14px inherit;cursor:pointer}
body.depot-app.menu-ready .top nav{display:none}
body.depot-app.menu-ready.menu-open .top nav{display:flex;flex-direction:column;align-items:stretch;width:100%;border-top:1px solid var(--line);padding-top:12px}
body.depot-app .depot-object-nav{display:flex;flex-direction:column;border-left:2px solid #dde7e1;border-bottom:0;margin-left:16px;padding-left:8px}
body.depot-app .top nav a{margin:0}
}
@media(max-width:600px){
body.depot-app main{padding:16px 12px}
body .card,body .mfr-card,body .col{padding:16px}
body .mfr-grid,body .fp-grid{grid-template-columns:1fr;gap:10px}
body .mfr-kpi strong,body .fp-kpi>b{font-size:28px}
body .mfr-head .btn{min-height:44px}
body section[aria-label=Objektfokus] form{gap:8px}
body .depot-table-scroll table{min-width:580px}
}
@media print{body .depot-table-scroll{overflow:visible}body .depot-menu-toggle{display:none!important}}
@media(min-width:1100px){body.depot-app header.top{flex-wrap:nowrap}body.depot-app .top .brand,body.depot-app .top nav{flex-shrink:0;width:100%}}

.depot-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end;max-width:780px;margin:20px 0}.depot-search-form label{grid-column:1/-1}.depot-search-form input{margin:0}.depot-search-form .btn{min-height:44px}body main input[type=checkbox],body main input[type=radio]{display:inline-block;width:auto;margin-right:8px;vertical-align:middle}body main td{overflow-wrap:anywhere}

/* Document and object forms share the same spacing and narrow-screen behavior. */
.depot-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}
.depot-document-title{overflow-wrap:anywhere}
body .form fieldset{min-width:0;padding:18px;margin:20px 0;background:#fafcfb;gap:16px}
body .form legend{font-size:15px;color:var(--ink);padding:0 8px}
body .form label{min-width:0;font-weight:500;color:#455663}
body .form label small{font-weight:400;color:var(--muted)}
body .form input,body .form select,body .form textarea{margin-top:6px}
body .depot-ownership-form>label{max-width:420px;margin:16px 0}
body .depot-ownership-form fieldset{grid-template-columns:minmax(140px,1fr) minmax(220px,2fr)}
body .card>h1{margin-top:0}
@media(max-width:600px){
body .form fieldset,body .depot-ownership-form fieldset{grid-template-columns:minmax(0,1fr);padding:12px}
.depot-actions{align-items:stretch}.depot-actions .btn{text-align:center}
body .form input,body .form select,body .form textarea{max-width:100%}
}
.depot-object-summary .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.depot-object-summary h1{margin:4px 0 8px}.depot-object-summary .tile b{font-size:26px}@media(max-width:850px){.depot-object-summary .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.depot-object-summary .tiles{grid-template-columns:1fr}}
