/* Compact thematic headers. Illustrations are decorative and never cover controls. */
.crm-workspace-ready #workspace>main{background:radial-gradient(ellipse at 95% 0,#eaf0e7 0,transparent 420px),#f7f8f4}
.crm-workspace-ready #workspace .heading[data-crm-theme]{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:18px;align-items:center;padding:20px 24px;margin:18px 0 16px;border:1px solid #dce5da;border-radius:16px;background:#f0f4ec;min-height:126px;overflow:hidden}
.crm-workspace-ready #workspace .heading[data-crm-theme]>div:first-child{grid-column:1;min-width:0;position:relative;z-index:1}
.crm-workspace-ready #workspace .heading[data-crm-theme] .actions{grid-column:3;display:grid;grid-template-columns:1fr 1fr;width:240px;align-items:stretch;gap:8px;position:relative;z-index:1}
.crm-workspace-ready #workspace .heading[data-crm-theme] .actions button{min-height:38px;padding:9px 12px;font-size:12px;white-space:normal}
.crm-workspace-ready #workspace .heading[data-crm-theme] h1{font-size:clamp(23px,2.1vw,30px);line-height:1.16;margin:5px 0 7px;letter-spacing:-.6px;overflow-wrap:break-word}
.crm-workspace-ready #workspace .heading[data-crm-theme] .eyebrow{font-size:9px;letter-spacing:1.8px;margin:0;color:#60775e}
.crm-workspace-ready #workspace .heading[data-crm-theme] #pageDescription{font-size:12px;line-height:1.5;margin:0;color:#526a5a;max-width:520px}
.crm-workspace-ready #workspace .heading[data-crm-theme]::after{content:"";grid-column:2;grid-row:1;align-self:stretch;width:180px;min-height:92px;pointer-events:none;background:center/contain no-repeat;opacity:.95}
.crm-workspace-ready #workspace .heading[data-crm-theme=home]::after{background-image:linear-gradient(90deg,#f0f4ec,transparent 24%,transparent 82%,#f0f4ec),url('../../images/hausplaner-aussenansicht-20261012-640.webp');background-size:cover;border-radius:12px}
.crm-workspace-ready #workspace .heading[data-crm-theme=land]{background-color:#edf3ed}
.crm-workspace-ready #workspace .heading[data-crm-theme=land]::after{background-image:url('crm-theme-land.svg')}
.crm-workspace-ready #workspace .heading[data-crm-theme=desk]{background-color:#f4f1e9}
.crm-workspace-ready #workspace .heading[data-crm-theme=desk]::after{background-image:url('crm-theme-desk.svg')}
.crm-workspace-ready .stats article{border-radius:12px;box-shadow:0 3px 12px #183f3504}
.crm-workspace-ready .list-card{box-shadow:0 5px 24px #183f3505}
@media(max-width:1200px){.crm-workspace-ready #workspace .heading[data-crm-theme]{grid-template-columns:minmax(0,1fr) auto;gap:16px}.crm-workspace-ready #workspace .heading[data-crm-theme]::after{display:none}.crm-workspace-ready #workspace .heading[data-crm-theme] .actions{grid-column:2}}
@media(max-width:720px){.crm-workspace-ready #workspace .heading[data-crm-theme]{padding:16px;grid-template-columns:1fr;gap:14px;min-height:0;margin-top:12px}.crm-workspace-ready #workspace .heading[data-crm-theme] .actions{grid-column:1;flex-direction:row;flex-wrap:wrap}.crm-workspace-ready #workspace .heading[data-crm-theme] h1{font-size:25px}.crm-workspace-ready #workspace .heading[data-crm-theme] .actions button{min-height:42px;white-space:normal}}
@media print{.crm-workspace-ready #workspace .heading[data-crm-theme]::after{display:none}.crm-workspace-ready #workspace>main,.crm-workspace-ready #workspace .heading[data-crm-theme]{background:#fff}}

.crm-workspace-ready #workspace .heading[data-crm-theme] .actions:has(>:nth-child(3))>:first-child{grid-column:1/-1}
@media(max-width:720px){.crm-workspace-ready #workspace .heading[data-crm-theme] .actions{display:flex;width:auto}}
