.maintenance-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px;background:#e7f3ed;border-bottom:1px solid #c0d8cc;color:#155d45}.maintenance-banner.is-active{background:#fff2d9;border-color:#dfb767;color:#754500}.maintenance-banner a{font-weight:700;color:inherit;text-underline-offset:4px}.maintenance-settings{max-width:820px;margin:0 auto;background:white;border:1px solid #dce6e8;border-radius:14px;padding:28px}.maintenance-settings p{line-height:1.8}.maintenance-scope{display:grid;grid-template-columns:160px 1fr;gap:16px;line-height:1.7;padding:20px;background:#f3f7f6;border-radius:10px}.maintenance-scope dt{font-weight:bold}.maintenance-scope dd{margin:0}.maintenance-form{display:grid;gap:14px}.maintenance-form>label:first-of-type{font-weight:700}.maintenance-form textarea{width:100%;box-sizing:border-box;font:inherit;line-height:1.7;padding:12px;border:1px solid #9eb6ad;border-radius:8px;resize:vertical}.maintenance-confirm{display:flex;gap:10px;align-items:baseline;margin:10px 0}.maintenance-confirm input{width:auto}.maintenance-start{background:#95601b}.maintenance-start:hover{background:#794b10}.maintenance-resume{background:#197459}.maintenance-note{font-size:.9rem;color:#52696a}.maintenance-error{background:#fff0ed;border:1px solid #e09c92;padding:14px;border-radius:8px;color:#8a3025}.maintenance-patient{margin:0;background:#f0f6f4;color:#203e42;font:16px/1.8 -apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN',sans-serif}.maintenance-patient-card{box-sizing:border-box;max-width:560px;margin:8vh auto;padding:32px;background:white;border:1px solid #d8e5df;border-radius:18px;text-align:center}.maintenance-patient-card h1{font-size:1.4rem;line-height:1.6}.maintenance-patient-card p{white-space:pre-wrap;overflow-wrap:anywhere}.maintenance-clinic{font-size:.9rem;color:#576f67}.maintenance-mark{display:inline-flex;align-items:center;justify-content:center;font-size:40px;font-weight:bold;width:66px;height:66px;border-radius:50%;background:#e6f3ee;color:#23664f}.maintenance-patient-card button{padding:14px 20px;border:0;border-radius:9px;background:#1c765a;color:white;font:inherit;font-weight:700;cursor:pointer;display:block;width:100%;margin:24px 0 14px}.maintenance-patient-card a{color:#246a54}.maintenance-overlay{position:fixed;inset:0;z-index:2147483647;background:#f0f6f4;overflow:auto;padding:16px;box-sizing:border-box;font:16px/1.8 -apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN',sans-serif;color:#203e42}.maintenance-overlay[hidden]{display:none}.maintenance-overlay .maintenance-patient-card{margin:4vh auto}.maintenance-overlay :focus-visible,.maintenance-patient :focus-visible{outline:3px solid #60b9a0;outline-offset:3px}@media(max-width:600px){.maintenance-settings{padding:20px}.maintenance-scope{grid-template-columns:1fr;gap:6px;padding:16px}.maintenance-scope dd{margin-bottom:12px}.maintenance-patient-card{margin:24px 16px;padding:24px 20px}.maintenance-banner{padding:12px 16px}.maintenance-overlay .maintenance-patient-card{margin:12px 0}}
