/* Quiet desktop workbench. No remote fonts, motion, or cloud assets. */
.status-edit-row{display:flex;gap:15px;align-items:center;margin:10px 0}.status-edit-row>input{flex:1}.status-edit-row label{white-space:nowrap}.type-color-legend{display:flex;gap:18px;flex-wrap:wrap;margin:0 0 12px}.type-color-legend span{display:flex;align-items:center;gap:7px}.type-color-legend i{width:13px;height:13px;border-radius:4px}.calendar-size-tools{display:flex;gap:20px;flex-wrap:wrap;flex-basis:100%;padding:12px;background:#eaf3f1;border-radius:8px}.calendar-size-tools label{display:flex;align-items:center;gap:8px}.period-table td{height:var(--period-height,55px)}.mood-color-settings{display:flex;gap:8px;flex-wrap:wrap}.mood-color-settings label{display:grid;font-size:12px;gap:6px}.workspace-settings{padding-bottom:18px;border-bottom:1px solid #d9e3e6;margin-bottom:20px}.report-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.report-person:disabled{opacity:.6}.planning-controls input[type=date]{padding:9px;border:1px solid #c3d4d9;border-radius:8px;background:white}.free-print-workspace{grid-template-columns:360px minmax(0,1fr);align-items:start}.free-print-workspace .print-preview{position:sticky;top:0;min-height:0}.print-stage{position:relative;width:100%;background:white;margin-top:14px}.print-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;margin:0}.print-stage #print-handles{position:absolute}.layout-box{position:absolute;border:1px dashed #437c87;cursor:move;touch-action:none;outline:none;min-width:0}.layout-box.selected{border:2px solid #088579;z-index:2}.layout-box>span{position:absolute;left:2px;top:2px;padding:2px 5px;background:#fffdf2e8;font-size:10px;color:#164854;pointer-events:none}.layout-box:focus{outline:3px solid #deb333;outline-offset:2px}.layout-box .resize-handle{position:absolute;right:-6px;bottom:-6px;width:14px;height:14px;min-height:14px;min-width:14px;border:2px solid white;border-radius:50%;padding:0;background:#087c75;cursor:nwse-resize}.geometry-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.geometry-grid input{width:100%}.print-block-choices{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin:12px 0}.free-print-workspace .dialog-footer{flex-wrap:wrap}.free-print-workspace #print-builder{border:1px solid #cfdddd;border-radius:10px;margin:16px 0;padding:14px}.free-print-workspace #print-warnings .notice{font-size:11px;margin:6px 0}.free-print-workspace #template-name{width:100%;margin:8px 0}.app-header .nav{white-space:nowrap}
.daily-table .choice-option[data-value=""][aria-pressed=true]{background:#edf1f3;color:#596d78;border-color:#a8bbc4;box-shadow:inset 0 0 0 1px #a8bbc4}.daily-table .choice-option[data-value=""][aria-pressed=true]::before{content:'○ '}
#daily-form .daily-columns .table-wrap{max-height:32vh}#daily-form .dialog-footer{bottom:0;padding-bottom:12px}.period-entry{min-height:24px}
:root{--navy:#203c4c;--accent:#087c75;--muted:#597080;--border:#d9e3e6;background:#f3f6f6;color:#203c4c;font-family:"Segoe UI",system-ui,sans-serif}
.app-header{background:#fff;min-height:68px;box-shadow:0 1px 0 #d9e3e6;gap:28px}.brand{gap:12px}.brand-sub{font-size:9px;letter-spacing:.16em}.brand-logo{width:30px;height:39px}.app-header nav{gap:6px}.app-header .nav{border:0;border-radius:8px;padding:10px 13px;min-height:40px;color:#526a79}.app-header .nav.active{background:#e6f3ef;color:#086b65;box-shadow:none;border-bottom:0}.test-badge{border:1px solid #ead8a9;border-radius:20px;padding:6px 10px}
main{padding:18px 24px 30px}.page-heading{margin-bottom:14px;gap:16px}.page-heading h1{font-size:25px;letter-spacing:-.6px}.subheading{color:#657b87;line-height:1.5}.page-heading .actions{flex-wrap:wrap}.panel,.calendar-panel,.legend-panel{border-radius:12px;border-color:#d7e2e5;box-shadow:0 2px 6px #203c4c04}.panel{padding:24px}.info{color:#597080;line-height:1.6}
button{border-radius:8px;min-height:38px;font-weight:600}button.primary{background:#087c75;border-color:#087c75;box-shadow:0 2px 3px #087c7514}button.primary:hover:not(:disabled){background:#06665f}.view-switch{border:1px solid #d5e3e3;background:#e9efef;border-radius:10px}.view-switch button{border-color:transparent;min-width:66px}.view-switch .primary{box-shadow:0 2px 4px #17395218}
.toolbar{background:#fcfdfd;border-radius:12px 12px 0 0}.calendar-help{font-size:12px;color:#506c79;background:#f7fbfa}.legend-panel{padding:16px}.legend-item{padding:9px 7px;border-radius:8px}.legend-item.active{background:#dcf0e9;box-shadow:inset 3px 0 #087c75}.legend-name{font-weight:600}.employee-sub{font-weight:400}.legend-note{font-size:11px}.avatar{border-radius:10px}.stats-footer{padding-bottom:6px}
.choice-source{display:none!important}.choice-control{min-width:0;max-width:100%}.choice-short{display:flex;flex-wrap:wrap;gap:6px}.choice-option{padding:8px 11px;min-height:38px;white-space:normal;text-align:left;line-height:1.3;background:#f7f9fa;border-color:#d7e2e5;color:#435d6d;font-size:13px}.choice-option[aria-pressed=true]{background:#e0f2ea;border-color:#168577;color:#065d55;box-shadow:inset 0 0 0 1px #168577;font-weight:700}.choice-option[aria-pressed=true]::before{content:'✓ ';font-weight:800}.choice-option:disabled{opacity:.4;box-shadow:none}.choice-control[aria-disabled=true]{opacity:.65}.choice-trigger{width:100%;text-align:left;white-space:normal;padding:11px 13px;background:white;border-color:#b6cbd0;font-weight:500}.choice-panel{margin-top:8px;border:1px solid #bacdd1;padding:12px;border-radius:10px;background:#f8fbfb;box-shadow:0 6px 20px #1a3e4810}.choice-panel input{width:100%;padding:10px;border:1px solid #b6cbd0;border-radius:7px;min-height:40px}.choice-list{display:flex;flex-direction:column;gap:5px;max-height:230px;overflow:auto;margin-top:9px}.choice-result{font-size:11px;color:#5f7480;margin:9px 0 0}.choice-invalid{outline:2px solid #ba2439;outline-offset:3px;border-radius:8px}.choice-cards{display:grid;grid-template-columns:1fr 1fr}.choice-cards .choice-option{min-height:58px;padding:11px;font-size:12px;background:#fff}.choice-cards .choice-option[aria-pressed=true]{background:#e0f2ea}
dialog{border:1px solid #c6d6da;border-radius:16px;box-shadow:0 26px 100px #17395235;max-height:93vh}dialog::backdrop{background:#1d364f60;backdrop-filter:blur(2px)}#dialog-content{padding:24px}.dialog-heading{margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid #e3ebed}.dialog-heading h2{font-size:22px;letter-spacing:-.4px}.dialog-heading p{max-width:800px;line-height:1.5;font-size:13px}.close{min-width:36px;border-radius:50%;background:#f0f5f5}.dialog-footer{position:sticky;bottom:-24px;background:#fff;padding:16px 0;margin-top:22px;z-index:9}.field label,.report-fields label,.report-notes{color:#294c5c}.field input,.field textarea,input.search{background:#fbfdfd;border-color:#c3d4d9;border-radius:8px}.field input:focus,.field textarea:focus{background:white;border-color:#168577}.form-grid>.field{min-width:0}.notice{font-size:12px;background:#fff9eb;padding:10px 13px}
.workflow-tabs{display:flex;gap:6px;background:#edf3f3;padding:5px;border-radius:10px;margin:16px 0}.workflow-tabs button{border:0;flex:1;background:transparent;padding:12px}.workflow-tabs button[aria-selected=true]{background:#fff;color:#08746a;box-shadow:0 1px 4px #17395218}.daily-columns{display:block}.daily-columns .daily-section{border-top:0;padding-top:0}.daily-columns .table-wrap{max-height:45vh;border:1px solid #d9e3e6;border-radius:10px}.daily-columns .daily-table{table-layout:auto}.daily-table .choice-short{flex-wrap:nowrap}.daily-table .choice-option{font-size:12px;padding:8px;flex:1;min-width:72px;text-align:center}.daily-table td:first-child{min-width:175px}.daily-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em}.daily-table tbody tr:nth-child(even){background:#f8fbfb}.daily-table .employee-identity{gap:12px}.daily-table .avatar{width:34px;height:34px}#daily-form>.field{max-width:220px}#daily-form>.actions{float:right}
.settings-jump{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #dbe5e6}.settings-jump button{font-size:12px;min-height:32px;padding:5px 10px;background:#edf5f3}.settings-layout{max-width:none;grid-template-columns:minmax(500px,1.2fr) minmax(340px,.8fr)}#settings-form h2{scroll-margin-top:90px;font-size:17px}#settings-form .choice-short{gap:7px}#settings-form .form-grid{align-items:start}.settings-stack .panel h2{font-size:18px}.employee-tools{flex-wrap:wrap}.employee-tools>.choice-control{min-width:250px}.employee-tools>label>.choice-control{margin-top:8px}.employee-tools label:has(.choice-control){min-width:270px}.table-wrap th{background:#eff5f5;color:#536e7b}tbody tr:hover{background:#f4faf8}.balance-cards>div{background:white;border-color:#d6e6e1;border-radius:12px;box-shadow:inset 0 3px #68ae9b}.balance-cards strong{font-size:28px;letter-spacing:-1px}
.report-person{background:#f8fbfb;border-color:#d1dfdf;border-radius:12px}.mood-choice{border-radius:12px;background:#f9fbfb;min-height:96px}.mood-choice.selected{background:#e0f2ea;border-color:#168577}.observation-row{background:#f7faf9;border:1px solid #d9e5e2;border-radius:10px;padding:14px;margin:10px 0}.markdown-tools button{min-height:33px;padding:5px 11px}.report-preview{border-color:#d5e2df;background:#fcfefd}
.print-workspace{grid-template-columns:350px minmax(0,1fr)}.print-preview{background:#e8eeee;border:1px solid #d4dfdf}.print-preview img{box-shadow:0 3px 14px #1c3b4520}.print-block{grid-template-columns:1fr}.print-block .choice-short{display:grid;grid-template-columns:1fr 1fr}.print-block .choice-option{font-size:11px;padding:6px;min-height:31px}.print-workspace .row{align-items:start}.print-workspace .row .choice-option{width:100%}
@media(max-width:1050px){.settings-layout{grid-template-columns:1fr}.print-workspace{grid-template-columns:300px minmax(0,1fr)}.app-header{gap:14px}.app-header .nav{padding:9px}.daily-table .choice-short{flex-wrap:wrap}}
@media(max-width:800px){.print-workspace{grid-template-columns:1fr}.daily-table{min-width:620px}.app-header nav{gap:3px}main{padding:14px}.page-heading h1{font-size:22px}.choice-cards{grid-template-columns:1fr 1fr}.dialog-footer{flex-wrap:wrap}.observation-row{grid-template-columns:1fr}}
.daily-topbar{display:grid;grid-template-columns:180px minmax(220px,1fr) minmax(220px,1fr);gap:14px;align-items:start}.daily-meal-plan{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:4px 0 12px}.daily-meal-plan label{font-weight:650;color:#294c5c}.daily-meal-plan textarea{width:100%;margin-top:7px;border:1px solid #c3d4d9;border-radius:8px;padding:10px;resize:vertical}.daily-list-wrap{max-height:calc(100vh - 410px);min-height:260px;overflow:auto;border:1px solid #d9e3e6;border-radius:10px}.daily-page-form .dialog-footer{position:sticky;bottom:0;background:white}.daily-table th{position:sticky;top:0;z-index:3}.daily-combined{table-layout:fixed}.daily-combined th:first-child,.daily-combined td:first-child{width:34%}.daily-combined .choice-control{min-width:0}.employee-tools{align-items:end}.employee-tools>.checkbox{align-self:center;margin:0;padding:8px 10px;border:1px solid #d8e5e5;border-radius:8px;background:#f8fbfb}.balance-cards>div{box-shadow:none}.mood-scale{display:inline-flex;background:#edf5f3;border:1px solid #d4e2df;border-radius:999px;padding:6px 10px;margin:4px 0 12px;color:#294c5c;font-size:12px}.traffic-light.mood-1{color:#c93945!important}.traffic-light.mood-3{color:#b99b29!important}.traffic-light.mood-5{color:#22815e!important}
.vacation-table-tools{display:grid;grid-template-columns:minmax(280px,420px) 120px;gap:14px;align-items:end;margin-bottom:18px}.vacation-table-tools .field{margin:0}.vacation-table-tools select,.vacation-table-tools input{height:44px;border:1px solid #bfd0d6;border-radius:9px;background:#fbfdfd;padding:10px 12px;color:#203c4c}.vacation-year-field input{width:100%;text-align:center;font-weight:750}
@media(max-width:1000px){.daily-topbar,.daily-meal-plan{grid-template-columns:1fr}.daily-list-wrap{max-height:none}}

/* Tagesberichte: bewusst als Arbeitsliste, nicht als Kartenraster. */
.report-list.report-list-rows{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:58vh;
  overflow:auto;
  min-width:0;
}
.report-person-row{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:64px;
  padding:12px 14px;
  border:1px solid #d1dfdf;
  border-radius:10px;
  background:#fbfdfd;
}
.report-person-row.report-person-muted{
  background:#eef2f2;
  color:#6f8088;
}
.report-select{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1 1 auto;
  min-width:0;
  cursor:pointer;
}
.report-select>span{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.report-select>span>span{
  min-width:0;
}
.report-select strong,
.report-select small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.report-select input{
  flex:0 0 auto;
  accent-color:#087f82;
}
.report-state{
  flex:0 0 155px;
  font-size:13px;
  color:#38576a;
  white-space:nowrap;
}
.report-person-row button{
  flex:0 0 auto;
  white-space:nowrap;
}
.report-toolbar{
  display:flex;
  align-items:center;
  gap:18px;
  margin:10px 0 14px;
}
.report-select-all{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
}
@media(max-width:760px){
  .report-person-row{align-items:flex-start;flex-wrap:wrap}
  .report-state{flex-basis:100%}
}


/* Druckarbeitsplatz: Einstellungen, Vorschau und Exporte bilden getrennte Bereiche. */
#dialog:has(.free-print-workspace){width:min(1530px,96vw);max-width:96vw}
#dialog:has(.free-print-workspace) #dialog-content{padding:24px 28px}
#dialog:has(.free-print-workspace) .dialog-heading{margin-bottom:18px}
#dialog .free-print-workspace{display:grid;grid-template-columns:minmax(390px,480px) minmax(0,1fr);gap:20px;align-items:start}
.free-print-workspace #print-form{
  min-width:0;padding:20px;background:#fcfdfd;border:1px solid #d4e2e0;
  border-radius:13px;box-shadow:0 2px 10px #203c4c08
}
.print-controls-heading{margin-bottom:15px}
.print-controls-heading h3,.print-preview-heading h3{margin:0;font-size:16px;color:#203c4c}
.print-controls-heading .info{margin:5px 0 0;font-size:12px}
.free-print-workspace #print-form>.field{margin-bottom:16px}
.free-print-workspace #print-form .field>label{display:block;margin-bottom:6px;color:#294c5c;font-weight:650}
.free-print-workspace #print-mode+.choice-control.choice-cards{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  padding:0;margin-top:3px
}
.free-print-workspace #print-mode+.choice-control .choice-option{
  display:flex;align-items:center;justify-content:flex-start;
  min-width:0;width:100%;min-height:61px;padding:11px 12px;
  white-space:normal;text-align:left;line-height:1.35;font-size:12px;
  border:1px solid #d5e2e4;border-radius:9px;background:#fff;color:#315165
}
.free-print-workspace #print-mode+.choice-control .choice-option:hover:not(:disabled){
  background:#f1f8f7;border-color:#76ada8
}
.free-print-workspace #print-mode+.choice-control .choice-option[aria-pressed=true]{
  background:#e4f3ef;color:#075e58;border:2px solid #138679;
  box-shadow:0 1px 4px #087c7515;padding:10px 11px
}
.free-print-workspace #print-form>.form-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;
  margin:16px 0;align-items:start
}
.free-print-workspace #print-form>.form-grid>label{
  display:flex;flex-direction:column;gap:7px;min-width:0;
  font-size:12px;font-weight:650;color:#294c5c
}
.free-print-workspace #print-form input[type=number],
.free-print-workspace #print-form input[type=date],
.free-print-workspace #print-form .choice-trigger{
  width:100%;min-width:0;min-height:42px;border:1px solid #c6d7d9;
  border-radius:8px;background:white;padding:9px 10px;color:#203c4c
}
.free-print-workspace #print-form>.checkbox{margin:10px 0}
.free-print-workspace #print-form .dialog-footer{
  display:flex;flex-wrap:wrap;gap:9px;margin-top:17px;padding-top:16px;
  border-top:1px solid #dde8e7;background:#fcfdfd;bottom:0
}
.free-print-workspace #print-form .dialog-footer button{flex:1 1 145px;white-space:normal}
.free-print-workspace .print-preview{
  position:sticky;top:0;min-width:0;min-height:420px;
  border:1px solid #d5e2e0;border-radius:13px;
  background:#f1f5f4;padding:18px;box-shadow:0 2px 10px #203c4c07
}
.print-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.print-preview-heading .info{margin:0;font-size:12px}
.free-print-workspace .print-preview>.actions{
  display:flex;justify-content:center;align-items:center;margin-bottom:12px
}
.free-print-workspace .print-stage{
  width:100%;max-width:100%;margin:0 auto;
  border:1px solid #c8d7d8;background:white;box-shadow:0 6px 22px #203c4c17
}
.free-print-workspace .print-preview>p.info{font-size:12px;margin:12px 0 0}
#dialog #print-export-area{
  display:block;margin:22px 0 0;padding:19px 20px;
  border:1px solid #d5e2e0;border-radius:12px;background:#f8fbfa
}
#dialog #print-export-area h3{margin:0 0 12px;font-size:15px}
#dialog #print-export-area .actions{display:flex;gap:9px;flex-wrap:wrap}
#dialog #print-export-area .actions button{min-height:38px}

/* Tagesanwesenheit: gut lesbare Mitarbeiterliste und eindeutige Zustände. */
.attendance-workspace{padding:22px}
.attendance-workspace .daily-topbar{
  display:grid;grid-template-columns:minmax(155px,.55fr) repeat(2,minmax(210px,1fr));
  gap:16px;align-items:start
}
.attendance-workspace .daily-topbar .field{margin-bottom:10px}
.attendance-workspace .daily-topbar input{
  width:100%;min-height:44px;border:1px solid #c5d8d9;border-radius:9px;
  padding:10px 12px;background:#fff
}
.attendance-workspace .daily-meal-plan label{font-size:13px}
.attendance-workspace .daily-meal-plan textarea{min-height:74px;background:#fbfdfc}
.daily-list-wrap{border:1px solid #d5e3e0;border-radius:11px;overflow:auto}
.daily-table.daily-combined{
  width:100%;min-width:850px;table-layout:fixed;border-collapse:separate;
  border-spacing:0;background:white
}
.daily-combined th:first-child,.daily-combined td:first-child{width:31%}
.daily-combined th:not(:first-child),.daily-combined td:not(:first-child){width:23%}
.daily-combined thead th{
  padding:14px;background:#edf5f3;color:#355665;
  font-size:12px;letter-spacing:.035em;text-align:left
}
.daily-combined tbody td{
  padding:11px 12px;border-bottom:1px solid #e2ebea;vertical-align:middle
}
.daily-combined tbody tr:nth-child(even){background:#fafcfc}
.daily-combined tbody tr:hover{background:#edf8f5}
.daily-combined .employee-identity{display:flex;gap:10px;align-items:center;min-width:0}
.daily-combined .employee-identity .avatar{width:36px;height:36px}
.daily-combined .employee-identity>span{min-width:0;font-size:13px;font-weight:650}
.daily-combined .employee-identity small{display:block;margin-top:2px;font-size:11px;font-weight:400;color:#647b86}
.daily-combined .choice-control.choice-short{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
  width:100%;min-width:0
}
.daily-combined .choice-control.choice-short .choice-option{
  min-width:0;min-height:37px;width:100%;padding:7px 3px;
  border:1px solid #d4dfe0;border-radius:7px;background:#f7f9f9;
  color:#456472;font-size:12px;font-weight:600;text-align:center
}
.daily-combined .choice-control.choice-short .choice-option[aria-pressed=true]{
  box-shadow:inset 0 0 0 1px currentColor
}
.daily-combined .choice-option[data-value=""][aria-pressed=true]{
  background:#e8eef0;color:#425966;border-color:#91a7b0
}
.daily-combined .choice-option[data-value="present"][aria-pressed=true],
.daily-combined .choice-option[data-value="yes"][aria-pressed=true]{
  background:#e1f2ea;color:#11674d;border-color:#54a689
}
.daily-combined .choice-option[data-value="absent"][aria-pressed=true],
.daily-combined .choice-option[data-value="no"][aria-pressed=true]{
  background:#fbe8e8;color:#a23c3c;border-color:#d79b9b
}
.daily-combined .choice-option:disabled{opacity:.45}

/* Die Zusatzoptionen stehen jetzt direkt bei ihren eigenen Einstellungen. */
#settings-form .workspace-display-options{padding:8px 0 4px;margin-bottom:13px}
#settings-form .workspace-display-options .checkbox{margin:9px 0}
#settings-form .report-preferences{
  margin:16px 0 6px;padding:15px 17px;
  border:1px solid #d5e4e0;border-radius:10px;background:#f8fbfa
}
#settings-form .report-preferences h3{margin:0 0 5px;font-size:15px}
#settings-form .report-preferences .info{font-size:12px;margin:0 0 11px}
#settings-form .report-preferences .checkbox{margin:8px 0}

@media(max-width:1120px){
  #dialog .free-print-workspace{grid-template-columns:minmax(340px,420px) minmax(0,1fr)}
  .free-print-workspace #print-form{padding:14px}
  .daily-table.daily-combined{min-width:780px}
}
@media(max-width:870px){
  #dialog .free-print-workspace{grid-template-columns:minmax(0,1fr)}
  .free-print-workspace .print-preview{position:static}
  .free-print-workspace #print-form>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .attendance-workspace .daily-topbar{grid-template-columns:1fr}
}
@media(max-width:520px){
  #dialog:has(.free-print-workspace) #dialog-content{padding:16px}
  .free-print-workspace #print-mode+.choice-control.choice-cards{grid-template-columns:1fr}
  .free-print-workspace #print-form>.form-grid{grid-template-columns:1fr 1fr}
  .attendance-workspace{padding:12px}
}

/* Druckdialog: feste Grid-Positionen auch bei älteren, noch gecachten JS-Versionen.
   Der Exportbereich durfte zuvor die rechte Spalte belegen und die Vorschau verdrängen. */
#dialog .print-workspace.free-print-workspace{
  display:grid;
  grid-template-columns:minmax(380px,480px) minmax(0,1fr);
  grid-template-rows:auto;
  grid-template-areas:"settings preview";
  align-items:start;
  gap:22px;
}
#dialog .print-workspace.free-print-workspace > #print-form{
  grid-area:settings;
  min-width:0;
}
#dialog .print-workspace.free-print-workspace > .print-preview{
  grid-area:preview;
  min-width:0;
  width:100%;
  justify-self:stretch;
  align-self:start;
}
#dialog .print-workspace.free-print-workspace > #print-export-area{
  grid-area:auto;
  grid-column:1 / -1;
  grid-row:2;
}
@media(max-width:900px){
  #dialog .print-workspace.free-print-workspace{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"settings" "preview";
  }
  #dialog .print-workspace.free-print-workspace > #print-export-area{
    grid-column:1;
    grid-row:3;
  }
}

/* Essensplan: schnelle Wochenliste und direkt bearbeitbarer Monatskalender. */
.meal-plan-workspace{padding:0;overflow:hidden}.meal-plan-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:16px 18px;border-bottom:1px solid #d9e3e6;background:#fbfdfd}.meal-plan-navigation{display:flex;align-items:center;gap:7px}.meal-plan-navigation button{min-width:40px;font-size:20px}.meal-plan-navigation input{min-height:40px;padding:8px 11px;border:1px solid #bfd0d6;border-radius:8px;background:#fff;color:#203c4c;font:inherit;font-weight:650}.meal-save-state{margin-left:auto;color:#5d7480;font-size:12px}.meal-period-title{display:flex;align-items:baseline;gap:10px;padding:16px 18px 10px}.meal-period-title strong{font-size:18px}.meal-period-title span{color:#5d7480}.meal-week-list{padding:0 18px 20px}.meal-week-row{display:grid;grid-template-columns:150px minmax(260px,1fr) minmax(210px,.65fr);gap:16px;align-items:center;padding:12px 14px;border:1px solid #d7e2e5;border-bottom:0;background:#fff}.meal-week-row:first-child{border-radius:10px 10px 0 0}.meal-week-row:last-child{border-bottom:1px solid #d7e2e5;border-radius:0 0 10px 10px}.meal-week-row.meal-weekend{background:#f1f5f6}.meal-week-date strong,.meal-week-date span{display:block}.meal-week-date strong{font-size:14px;text-transform:capitalize}.meal-week-date span{margin-top:4px;color:#617885;font-size:12px}.meal-week-row label{min-width:0}.meal-week-row textarea,.meal-month-day textarea{display:block;width:100%;resize:vertical;border:1px solid #b9ccd1;border-radius:8px;padding:9px 10px;background:#fbfdfd;color:#203c4c;font:inherit;line-height:1.35}.meal-week-row textarea:focus,.meal-month-day textarea:focus{outline:2px solid #168577;outline-offset:1px;background:#fff}.meal-actual{margin:0;color:#496675;font-size:12px;line-height:1.45}.meal-actual.meal-empty{color:#8a989e}.meal-month-head,.meal-month-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr))}.meal-month-head{margin:0 18px;background:#e9f0f1;border:1px solid #aebfc6;border-bottom:0;border-radius:10px 10px 0 0}.meal-month-head span{padding:9px 8px;border-right:1px solid #aebfc6;text-align:center;color:#526e7b;font-size:11px;font-weight:750;text-transform:uppercase}.meal-month-head span:last-child{border-right:0}.meal-month-grid{margin:0 18px 20px;border-left:1px solid #aebfc6;border-top:1px solid #aebfc6}.meal-month-day{min-height:126px;padding:8px;border-right:1px solid #aebfc6;border-bottom:1px solid #aebfc6;background:#fff;overflow:hidden}.meal-month-day.meal-weekend{background:#f1f5f6}.meal-month-day.outside{background:#e7edef;min-height:44px}.meal-month-date{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.meal-month-date strong{font-size:14px}.meal-month-date span{color:#70858f;font-size:10px}.meal-month-day textarea{min-height:75px;font-size:12px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1050px){.meal-week-row{grid-template-columns:125px minmax(240px,1fr)}.meal-actual{grid-column:2}.meal-month-head,.meal-month-grid{grid-template-columns:repeat(7,minmax(95px,1fr));min-width:760px}.meal-plan-workspace{overflow-x:auto}.meal-plan-toolbar,.meal-period-title,.meal-week-list{min-width:700px}}

/* Essensplan: geplante und tatsächlich ausgegebene Mahlzeiten gemeinsam bearbeiten. */
.meal-week-head,.meal-week-row{grid-template-columns:150px minmax(240px,1fr) minmax(240px,1fr)}
.meal-week-head{display:grid;gap:16px;align-items:end;padding:10px 14px;background:#e9f0f1;border:1px solid #aebfc6;border-radius:10px 10px 0 0;color:#294c5c;font-size:12px}
.meal-week-head strong{font-size:13px}
.meal-week-head+.meal-week-row{border-radius:0}
.meal-month-day{min-height:196px}
.meal-month-fields{display:grid;gap:7px}
.meal-month-fields label>span{display:block;margin:0 0 3px;color:#526e7b;font-size:10px;font-weight:750}
.meal-month-day textarea{min-height:54px;padding:6px 7px}
@media(max-width:1050px){.meal-week-head,.meal-week-row{grid-template-columns:125px minmax(230px,1fr) minmax(230px,1fr)}}
