.duty-card{border-top:3px solid #244874}.duty-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.duty-heading h2{margin:5px 0 14px}.duty-eyebrow{font-size:.75rem;font-weight:700;color:#3b766c;letter-spacing:.12em}.duty-week{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f1f5fa;border-radius:12px;padding:12px 16px;margin:10px 0}.duty-week strong{margin-right:auto}.duty-week small{display:block;font-weight:400;font-size:.875rem;color:#506782}.duty-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.duty-days .push-day{border:1px solid #d7e2ec;border-radius:14px;padding:16px;background:#fcfdff}.duty-day-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3ebf2;padding-bottom:10px;margin-bottom:12px}.duty-day-title h3{margin:0;font-size:1rem}.duty-day-title span{font-size:.875rem;color:#5b7287}.duty-days .push-slot{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:8px;padding:12px 0;border-bottom:1px solid #e3ebf2}.duty-days .push-slot>select:first-of-type{grid-column:1/3}.duty-days .push-slot>button{grid-column:3;grid-row:1/3;align-self:center;padding:6px}.duty-days .push-slot>select:last-of-type{grid-column:1/3}.duty-days .push-slot input,.duty-days .push-slot select{width:100%;min-width:0}.duty-day-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.duty-day-actions button{font-size:.875rem}.duty-empty{color:#6b7c8e;font-size:.875rem}.duty-config,.duty-policy{border:1px solid #dce6ee;border-radius:12px;padding:16px;margin:18px 0}.duty-config summary,.duty-policy summary{font-weight:650;cursor:pointer;min-height:24px}.duty-config[open]>summary,.duty-policy[open]>summary{margin-bottom:16px}.duty-contacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.duty-contacts>div{padding:14px;background:#f3f7fb;border-radius:10px}.duty-contacts label{display:grid;gap:5px;margin:8px 0}.duty-contacts small,.push-people label small{display:block;color:#526981;font-size:.875rem;overflow-wrap:anywhere}.duty-card [hidden]{display:none!important}.duty-card input,.duty-card select{font-size:1rem}.duty-card label{font-size:.875rem}.anlage-personality{margin-top:28px;padding-top:22px;border-top:1px solid #dce6ee}.ui-archive{margin-top:12px;padding:10px 0;border-top:1px solid #dce6ee}.ui-archive summary{cursor:pointer;font-size:.875rem;font-weight:600}.ui-archive p,.ui-archive small{font-size:.875rem;line-height:1.5}.ui-archive form{display:flex;gap:8px;align-items:end;margin:12px 0}.ui-archive label{display:grid;gap:5px;min-width:0}.ui-archive input{width:100%;max-width:140px;font-size:1rem}.ui-archive button{flex-shrink:0}.test-chat-screen .test-transcript{overflow-anchor:none;overscroll-behavior:contain}.test-chat-card{display:flex;flex-direction:column;min-height:0}.test-chat-card .test-transcript{flex:1 1 auto;min-height:160px}.test-chat-card #testSend{flex:0 0 auto}
@media(max-width:800px){.test-chat-screen .banner{display:none}.test-chat-screen .growth-more-back{margin:0 0 6px;min-height:32px;height:32px;padding:4px 8px;flex:0 0 auto;text-align:left}.test-chat-screen .test-chat-card>.live-actions{flex-wrap:nowrap;overflow-x:auto;min-height:40px}.test-chat-screen .test-chat-card>.live-actions>button{flex:0 0 auto;white-space:nowrap}.test-chat-screen.composer-focused .growth-more-back{display:none}.test-chat-screen .test-chat-card>.row-head{min-height:28px}.test-chat-screen .test-chat-card .test-transcript{min-height:0!important}}
@media(max-width:1000px){.duty-days{grid-template-columns:1fr}}
@media(max-width:800px){.duty-heading{align-items:flex-start;flex-direction:column;gap:4px}.duty-contacts{grid-template-columns:1fr}.duty-week{padding:10px;gap:8px}.duty-week button{font-size:.875rem}.duty-days .push-day{padding:12px}.duty-policy{padding:10px}.duty-policy>.card{padding:12px}.test-chat-screen>.main{padding-bottom:0;display:flex;flex-direction:column;min-height:0}.test-chat-screen .mobile-bottom{display:none}.test-chat-screen .page{display:flex;flex:1 1 0;min-height:0;overflow:hidden;padding:8px}.test-chat-screen .page-inner{display:flex;flex-direction:column;flex:1 1 0;min-height:0;width:100%}.test-chat-screen .page-inner>.intro{display:none}.test-chat-screen .page-inner>.notice{font-size:.75rem;padding:6px;margin:0 0 6px;flex:0 0 auto}.test-chat-screen .test-chat-card{flex:1 1 0;margin:0;padding:10px;overflow:hidden}.test-chat-card>.row-head{flex:0 0 auto}.test-chat-card h2{font-size:1rem}.test-chat-card>.live-actions{flex:0 0 auto;margin:6px 0}.test-chat-card .test-transcript{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;padding:12px 4px}.test-chat-card #testSend{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;border-top:1px solid #dce6ee;padding:8px 0 max(6px,env(safe-area-inset-bottom))}.test-chat-card #testSend>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.test-chat-card #testMessage{min-width:0;width:100%;height:48px;min-height:48px;max-height:96px;resize:none;font-size:16px;margin:0}.test-chat-card #testSend .footer-actions{margin:0;display:block}.test-chat-card #testSend button{max-width:none;min-height:48px}.test-chat-card>small{display:none}.test-chat-screen.composer-focused .page-inner>.notice,.test-chat-screen.composer-focused .test-chat-card>.live-actions{display:none}.test-chat-screen.composer-focused .test-chat-card>.row-head{padding:2px 0}.composer-focused .mobile-message-stage{min-height:0;flex:1 1 0}}
/* The navigation is a separate screen, never a translucent layer over a live composer. */
@media(max-width:800px){
 .shell.mobile-more-open>.main>.page{display:none!important}
 .shell.mobile-more-open .mobile-more{inset:0 0 calc(62px + env(safe-area-inset-bottom));padding-bottom:20px}
 .shell.mobile-more-open>.main{min-height:0;overflow:hidden}
 /* Navigation stays reachable even while a request or keyboard is active. */
 .shell.mobile-more-open .mobile-bottom,.shell.test-chat-screen .mobile-bottom{display:grid!important}
 .shell.test-chat-screen>.main{padding-bottom:calc(62px + env(safe-area-inset-bottom))}
 .shell.test-chat-screen .growth-more-back{display:block}
 .shell.test-chat-screen .test-chat-card #testSend{padding-bottom:6px}
 .shell.test-chat-screen .test-chat-card #testSend button{max-width:140px;white-space:normal}
}
/* Keyboard animations can resize the viewport after focus has already moved. */
@media(max-width:800px) and (max-height:560px){
 .shell.test-chat-screen .topbar,
 .shell.test-chat-screen .page-inner>.notice,
 .shell.test-chat-screen .test-chat-card>.live-actions{display:none}
 .shell.test-chat-screen .test-chat-card>.row-head{padding:2px 0}
}
