/* (c) schober24.com Deutschland | Schober, Thorsten */
.process-board{margin:16px 0}.process-heading,.process-card-top,.process-card-actions,.process-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.process-heading h2,.process-card h3{margin:0}.process-heading p,.process-owner{color:#52637b;font-size:13px}.process-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:16px}.process-card{border:1px solid #d7e0eb;border-top:4px solid #55728e;border-radius:10px;padding:16px;min-width:0;overflow-wrap:anywhere}.process-card-top{font-size:12px;margin-bottom:12px}.process-card-top strong{border-radius:5px;background:#edf1f6;padding:4px 7px}.process-active{border-top-color:#245b92}.process-waiting{border-top-color:#a26610}.process-done{border-top-color:#287352}.process-cancelled{border-top-color:#808891}.process-wait{background:#fff1db;padding:8px;border-radius:6px}.process-card-actions{flex-wrap:wrap;margin-top:15px}.process-board button,.process-dialog button,.process-dialog summary{min-height:44px}.process-dialog{max-width:760px;width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}.process-dialog header{position:sticky;top:-24px;background:white;padding:12px 0;z-index:2}.process-dialog section,.process-dialog details{border-top:1px solid #d7e0eb;margin-top:18px;padding-top:16px}.process-task{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0}.process-history{margin-top:18px}.process-history article{border-left:2px solid #cbd8e7;padding:12px;margin:12px 0}.process-history b,.process-history small{display:block}.process-history p{white-space:normal}.process-board>form{margin-top:16px}.process-board>form small{display:block;margin-top:8px}.process-dialog input:not([type=checkbox]),.process-dialog select,.process-dialog textarea{font-size:16px;max-width:100%;box-sizing:border-box}@media(max-width:600px){.process-heading{align-items:flex-start;flex-direction:column}.process-cards{grid-template-columns:1fr}.process-dialog{padding:16px}.process-dialog header{top:-16px}.process-card-actions button{flex:1}.process-task{align-items:flex-start}}

.process-completion{display:flex;flex-wrap:wrap;gap:10px 20px;border-bottom:1px solid #d7e0eb;padding:8px 0 14px;margin:8px 0;font-size:13px;color:#52637b}.process-completion b{color:#253348}

/* Component headers must not inherit the fixed application header. */
main header.process-heading{position:static;inset:auto;width:auto;height:auto;min-height:0;margin:0;padding:0 0 14px;border:0;box-shadow:none;background:transparent;z-index:auto;display:flex}
main dialog.process-dialog{width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}
main dialog.process-dialog>header{position:sticky;inset:auto;top:-28px;width:auto;height:auto;min-height:0;margin:0 0 18px;padding:12px 0;border-bottom:1px solid #d7e0eb;box-shadow:none;background:white;z-index:2}
main dialog.process-dialog input:not([type=checkbox]),main dialog.process-dialog select,main dialog.process-dialog textarea{font-size:16px}
@media(max-width:600px){main dialog.process-dialog{padding:16px}main dialog.process-dialog>header{top:-16px}main header.process-heading{align-items:flex-start;flex-direction:column}}

.process-concerns{padding:0 0 16px;margin:0 0 12px;border-bottom:1px solid #d7e0eb}.process-concerns h3{margin:0}.process-concerns details{margin-top:8px;padding:10px;background:#f6f8fb;border-radius:6px}.process-concerns summary{cursor:pointer;min-height:32px}.process-concern-label{font-size:13px;color:#245b92}

/* One overview, explicit work areas, touch-sized actions. */
.case-sections{display:flex;flex-direction:row;flex:0 0 auto;flex-wrap:wrap;gap:4px;margin:16px 0;padding:5px;background:#fff;border:1px solid #dbe2ea;border-radius:10px}.case-sections button{flex:0 0 auto;width:auto;min-height:44px;padding:10px 16px;background:transparent;color:#42536a;border:1px solid transparent;border-radius:7px}.case-sections button:hover{background:#edf2f7;color:#243c57}.case-sections button.is-active{background:#244d74;color:#fff;border-color:#244d74}.case-mobile-sections{display:none}.case-area-content [data-case-panel][hidden]{display:none!important}.process-next{display:flex;gap:24px;align-items:center;justify-content:space-between;border-left:5px solid #245b92;margin-bottom:16px}.process-next h2{font-size:22px;margin:4px 0 8px}.process-next p{margin:6px 0}.process-next button{min-height:48px;flex-shrink:0}.process-next-meta{font-size:14px;color:#52637b}.process-finished{grid-column:1/-1}.process-finished>summary,.case-tools>summary,.case-head-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.case-head-details{margin-top:10px}.case-head-details .case-at-a-glance{margin-top:8px}.case-tools .position-commandbar{position:static;box-shadow:none;border:0;margin:12px 0 0}.process-board .process-completion{font-size:13px}.case-tools:not([open]) .position-commandbar{display:none}.case-sections button:focus-visible,.case-mobile-sections select:focus-visible,.process-next button:focus-visible{outline:3px solid #c46200;outline-offset:3px}
@media(max-width:700px){.case-sections{display:none}.case-mobile-sections{display:block;margin:14px 0;font-size:16px}.case-mobile-sections select{min-height:48px;font-size:16px;width:100%}.process-next{align-items:stretch;flex-direction:column;gap:12px;padding:18px}.process-next button{width:100%;white-space:normal}.process-next h2{font-size:21px}.process-next p{font-size:16px}.case-title-row h1{font-size:24px}.process-card-actions{align-items:stretch}.process-card-actions button{white-space:normal}.case-workspace-head{padding:18px}.process-concerns>summary{min-height:44px}}
