/* Shared controls: account, calendar, patients, team, places and operator. */
a{color:var(--brand-action,#315e4f);text-underline-offset:3px;text-decoration-thickness:1px}a:hover{text-decoration-thickness:2px}a:focus-visible,summary:focus-visible{outline:3px solid #92bcb1;outline-offset:4px;border-radius:5px}
.button,.btn,#book-patient{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 18px;border:1px solid var(--brand-action,#315e4f);border-radius:10px;background:var(--brand-action,#315e4f);color:white;font:inherit;font-weight:600;line-height:1.4;text-decoration:none;text-align:center;cursor:pointer;box-sizing:border-box}
.button:visited,.btn:visited{color:white}.button.secondary,.btn-secondary,.btn-info{background:#fff;color:var(--brand-action,#315e4f);border-color:#c8d5ce}.button:hover,.btn:hover,#book-patient:hover{filter:brightness(.96);text-decoration:none}.button.danger{color:#a23d2e;background:#fff6f3;border-color:#e7b8ad}
button{border-radius:10px;line-height:1.4}button:disabled,[aria-disabled=true]{cursor:not-allowed}.app-header{flex-wrap:wrap;gap:12px}.app-header .brand{margin-right:auto;flex-shrink:0}.app-header>a:not(.brand){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;background:#f4f8f6;border:1px solid #e1e9e4;border-radius:10px;font-size:14px;font-weight:600;text-decoration:none}.app-header form{margin:0}.app-header>a:not(.brand):hover{background:#eaf3ee}
.login{max-width:560px;padding:32px;border-radius:18px;box-shadow:0 8px 28px #1b3b3008}.login h1{font-size:29px;line-height:1.2}.login form>p{margin:18px 0}.login .auth-links a{display:inline-flex;align-items:center;min-height:44px}.login form>button{margin-top:12px}.login .password-toggle{margin:10px 0 18px auto;padding:10px 16px;width:auto;min-height:44px;font-size:14px}.login label,.security-setup label{line-height:1.5}.helptext{display:block;font-size:13px;line-height:1.5;margin:8px 0;color:#63716a}.helptext ul{padding-left:20px}
input[type=checkbox],input[type=radio]{width:18px;height:18px;display:inline-block;vertical-align:middle;margin:0 8px 0 0;accent-color:#315e4f;flex-shrink:0}label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:8px}label:has(>input[type=checkbox]) input{margin-top:3px}input,select,textarea{min-width:0}fieldset{border:1px solid #dce3df;border-radius:12px;padding:16px;margin:20px 0}legend{font-weight:650;padding:0 6px;font-size:14px}summary{cursor:pointer;font-weight:650;padding:12px 0}form>button+button{margin-left:8px}form>button{margin-bottom:8px}.panel{border-radius:16px}.panel+ .panel{margin-top:20px}.panel h3{margin-top:24px}.tabs{gap:8px;flex-wrap:wrap}.tabs a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;text-decoration:none}.tabs a[aria-current]{font-weight:700;border-color:#9db9aa}
.errorlist,[role=alert]{border-radius:10px;color:#a23d2e;line-height:1.55}.errorlist{padding:12px 16px 12px 32px;background:#fff4ef}.errorlist:empty,[role=status]:empty{display:none}.action-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.action-row form{margin:0}#legal-downloads{padding:20px;background:#f5f8f6;border:1px solid #dce3df;border-radius:12px;margin:24px 0}#legal-downloads form+form{margin-top:12px}#legal-downloads button{white-space:normal;height:auto;line-height:1.5;padding:14px 18px}
.operator-page{display:grid;gap:24px}.operator-page h1{margin:0}.operator-page section,.operator-page article{background:white;border:1px solid #dce3df;border-radius:16px;padding:24px}.operator-page section article{margin:12px 0;background:#f8faf9}.operator-page pre{font:inherit;overflow-wrap:anywhere}.operator-page nav{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.mail-list{list-style:none;padding:0;margin:0}.mail-list li{padding:18px 0;border-bottom:1px solid #e1e9e4;overflow-wrap:anywhere}.mail-list li:last-child{border-bottom:0}.mail-list a{display:inline-block;min-height:32px;font-weight:650}.mail-list span{font-size:14px;color:#63716a}
@media(max-width:700px){.app-header .brand{flex-basis:100%}.app-header>a:not(.brand){font-size:13px;padding:9px 12px}.app-header form{margin-left:auto}.login{padding:24px 20px}.login h1{font-size:26px}.action-row>*{flex:1 1 auto}.operator-page section,.operator-page article{padding:20px}.button,.btn{white-space:normal}.security-actions{gap:12px}.security-actions .button{width:100%}form>button+button{margin-left:0}.panel form>button{margin-right:8px;max-width:100%}}
