/* Identidade AT Rapia. As imagens originais são preservadas. */
:root{--at-graphite:#20272D;--at-green:#B8CF32;--at-paper:#F5F4EF;--at-muted:#778087;--at-border:#DCE0D5}
body.at-home-login{background:radial-gradient(ellipse at 0 0,rgba(184,207,50,.13),transparent 55%),var(--at-graphite);color:var(--at-paper)}
.at-home__logo-frame{background:var(--at-paper);border:1px solid #ffffff26;box-shadow:0 20px 50px #0000001f;border-radius:16px;padding:24px 28px;display:flex;flex-direction:column;align-items:flex-start;gap:18px;max-width:100%}
.at-home__brand-logo{display:block;width:390px;max-width:100%;height:auto}
.at-home__method{color:var(--at-muted);font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase}
.at-home__kicker{border-color:#B8CF3240;background:#B8CF3212;color:var(--at-paper)}
.at-home__points span{background:#ffffff07;border-color:#ffffff24;color:var(--at-paper)}
.at-home__card{background:var(--at-paper);color:var(--at-graphite);border:1px solid #ffffff12;border-radius:16px;box-shadow:0 24px 70px #00000026}
.at-home__card h2{color:var(--at-graphite);font-weight:700}
.at-home__card p,.at-home__card small{color:#606970}
.at-home__card label,.at-home__card a{color:var(--at-graphite)}
.at-home__card input[type=text],.at-home__card input[type=password]{background:#fff;border-color:#B5BBB2;border-radius:8px}
.at-home__card #wp-submit,.at-home__card input[type=submit],.at-home__button,.at-content button,.at-content a.at-button,.at-app button{background:var(--at-green);border-color:var(--at-green);color:var(--at-graphite);font-weight:700;border-radius:8px;box-shadow:none}
.at-content button:hover,.at-content a.at-button:hover,.at-home__card #wp-submit:hover,.at-app button:hover{background:#A9BF26;border-color:#A9BF26;color:var(--at-graphite)}
.at-content a:not(.at-button){color:var(--at-graphite);text-decoration-color:var(--at-green);text-underline-offset:3px}
.at-content input:focus,.at-content select:focus,.at-content textarea:focus,.at-home__card input:focus{outline:2px solid var(--at-green);outline-offset:2px;border-color:var(--at-graphite);box-shadow:none}
.at-shell-header{background:var(--at-graphite);border-bottom:1px solid #ffffff10;box-shadow:0 4px 20px #20272D12}
.at-shell-brand{display:flex;align-items:center;gap:12px;background:none;padding:0;color:var(--at-paper);font-size:21px}
.at-shell-brand img{display:block;width:44px;height:44px;object-fit:contain}
.at-shell-brand span{line-height:1.2}
.at-shell-brand small{display:block;margin:3px 0 0;color:var(--at-green);font-size:10px;letter-spacing:1.4px;text-transform:uppercase}
.at-sidebar{background:var(--at-graphite);border-right:1px solid #ffffff10}
.at-sidebar{scrollbar-width:thin;scrollbar-color:var(--at-muted) var(--at-graphite)}
.at-sidebar::-webkit-scrollbar{width:6px}.at-sidebar::-webkit-scrollbar-track{background:var(--at-graphite)}.at-sidebar::-webkit-scrollbar-thumb{background:#5B6369;border-radius:8px}
.at-sidebar-label{color:#ADB4AE}
.at-sidebar nav a{color:#DEE1DC}
.at-sidebar nav a:hover{background:#ffffff0c;color:var(--at-paper)}
.at-sidebar nav a[aria-current]{background:#B8CF3219;color:#D3E47E;box-shadow:inset 3px 0 var(--at-green)}
.at-sidebar-footer{color:var(--at-paper)}
.at-sidebar-footer small{color:#ADB4AE}
.at-content .at-card,.at-content .at-table-wrap,.at-patient-workspace .at-app aside,.at-patient-workspace .at-app section{border-color:var(--at-border);box-shadow:0 6px 20px #20272D05}
.at-content h1,.at-content h2,.at-content h3,.at-content h4{color:var(--at-graphite)}
.at-status-pill,.at-notice{background:#EEF2DA;color:#465018;border-color:#CFD9A6}
.at-stats .at-card strong{color:var(--at-graphite)}
.at-stats .at-card{border-top:3px solid var(--at-green)}
.at-content .at-eyebrow,.at-content small,.at-content .at-muted{color:#606970}
.at-week>div,.at-patient-workspace .at-app .at-week>div,.widefat th{background:var(--at-paper)}
.at-patient-workspace .at-app aside a.active{background:#EEF2DA;color:var(--at-graphite);box-shadow:inset 3px 0 var(--at-green)}
.at-event{background:#F8F9F1;border-left-color:var(--at-green)}
.at-profile-menu summary:hover{border-color:var(--at-green)}
.at-profile-menu>div{background:var(--at-graphite);border:1px solid #ffffff20}
.at-profile-menu a:hover{background:#B8CF3219;border-radius:6px}
input[type=checkbox]{accent-color:var(--at-green)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--at-green);outline-offset:3px}
body.login{background:var(--at-paper)}
body.login #loginform{border-color:var(--at-border);border-radius:12px;box-shadow:0 12px 40px #20272D0d}
body.login .button-primary{background:var(--at-green);border-color:var(--at-green);color:var(--at-graphite);font-weight:700}
body.login input:focus{border-color:var(--at-graphite);box-shadow:0 0 0 2px var(--at-green)}
@media(max-width:700px){.at-home{gap:28px;padding:30px 20px}.at-home__logo-frame{padding:20px}.at-home__brand-logo{width:300px}.at-home__intro p{font-size:17px}.at-home__points{margin-top:20px}.at-shell-brand small{display:block}.at-shell-brand img{width:38px;height:38px}.at-shell-brand{gap:9px;font-size:18px}}
/* Escala tipográfica do aplicativo e editor de atividades. */
body.at-shell{font-size:14px;line-height:1.5}
.at-shell .at-content h1{font-size:24px;line-height:1.3}
.at-shell .at-content h2,.at-shell .at-app h2{font-size:20px;line-height:1.35}
.at-shell .at-content h3{font-size:18px;line-height:1.4}
.at-shell .at-content h4{font-size:15px;line-height:1.4}
.at-shell .at-profile-menu summary,.at-shell .at-profile-menu a{font-size:14px;line-height:1.5}
.at-shell .at-content p,.at-shell .at-content summary{font-size:14px}
.at-shell .at-content small{font-size:12px}
.at-shell .at-week{grid-template-columns:repeat(2,minmax(0,1fr))}
.at-activity-row{padding:12px 0;border-bottom:1px solid #dce0d5;display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}
.at-activity-row label{margin:0!important}.at-activity-row button{grid-column:2;justify-self:end;margin-bottom:8px}
[data-add-activity]{margin-top:12px}.at-avatar{width:40px;height:40px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-right:8px}.at-avatar-preview{width:96px;height:96px;object-fit:cover;border-radius:50%}
@media(max-width:800px){.at-shell .at-week{grid-template-columns:1fr}}
.at-shell .at-week>div,.at-activity-row,.at-activity-row label,.at-activity-row input{min-width:0;max-width:100%}
.at-shell .at-activity-row input{width:100%}
.at-shell-layout>*{min-width:0}.at-sidebar nav{min-width:0;max-width:100%}.at-patient-workspace .at-layout>main{min-width:0}
@media(max-width:700px){.at-shell-layout{grid-template-columns:minmax(0,1fr)}.at-sidebar{width:100%;min-width:0}.at-patient-workspace .at-layout{grid-template-columns:minmax(0,1fr)}}
