/* Casa Limpa — Portal do Motorista | Mobile-first refresh v2
   This layer deliberately overrides the previous desktop-first stylesheet.
   The Board is not affected. */
:root{
  --cl-ink:#122f3b;--cl-muted:#637b86;--cl-primary:#087c70;
  --cl-deep:#0d303c;--cl-soft:#e8f5f0;--cl-line:#dfe9e9;
  --cl-bg:#f5f8f7;--cl-surface:#fff;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--cl-ink);background:var(--cl-bg);-webkit-text-size-adjust:100%;
}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{background:var(--cl-bg);overflow-x:hidden}
body.review-dialog-open{overflow:hidden}
button,input,textarea,select{font:inherit}
button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid #40b99f;outline-offset:3px
}
button:disabled{cursor:not-allowed}
a{-webkit-tap-highlight-color:transparent}
.shell{min-height:100dvh;min-width:0}
main{flex:1;min-width:0}
.site-header{
  position:relative;z-index:45;height:72px;min-height:72px;
  background:var(--cl-deep);border-bottom:1px solid #ffffff20;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 max(16px,env(safe-area-inset-left)) 0 max(16px,env(safe-area-inset-left));
}
.identity{display:inline-flex;align-items:center;gap:11px;min-width:0}
.logo{
  width:42px;height:42px;flex:0 0 42px;border:1px solid #7be0bd4a;
  border-radius:13px;background:linear-gradient(135deg,#0d877a 0%,#0f665d 100%);
  color:#fff;font-size:18px;letter-spacing:-1.6px;font-weight:900;
  line-height:1;display:flex;align-items:center;justify-content:center;
  transform:none;box-shadow:0 6px 18px #011a2526
}
.logo-accent{color:#9df3be;font-size:22px;margin-left:1px}
.identity-text{gap:5px;min-width:0}
.identity-text strong{font-size:16px;letter-spacing:1.7px;white-space:nowrap}
.identity-text small{font-size:8px;letter-spacing:.85px;color:#bed0d2;white-space:nowrap}
.header-right{gap:10px}
.status{color:#d1e2e0;font-size:12px;white-space:nowrap}
.status-dot{background:#4ae2ae}
.menu-button{display:none!important}
footer{
  background:var(--cl-deep);color:#a5bbc2;font-size:10px;
  padding:22px 22px calc(22px + env(safe-area-inset-bottom));
  letter-spacing:.5px;line-height:1.55
}
body.portal-active footer{display:none}

/* Login: narrow screens get compact, readable composition */
.login-layout{
  display:flex;flex-direction:column;gap:27px;min-height:0;
  padding:32px 18px 44px;
  background:radial-gradient(circle at 105% -15%,#d9eee7 0%,transparent 48%),var(--cl-bg)
}
.welcome{max-width:550px;width:100%;margin:0 auto}
.eyebrow{font-size:10px;letter-spacing:1.45px;gap:10px}
.eyebrow-line{background:#0c9f89;width:22px}
.welcome h1{font-size:clamp(34px,9.5vw,52px);letter-spacing:-1.9px;line-height:1.09;margin:15px 0 11px}
.welcome h1 em{color:#088e7d}
.welcome>p{font-size:14px;line-height:1.6;margin:0;color:var(--cl-muted)}
.welcome-feature{display:none}
.login-panel{
  margin:0 auto;width:100%;max-width:550px;padding:27px 22px 24px;
  border-radius:20px;background:#fff;border:1px solid #e3ece9;
  box-shadow:0 13px 40px #163b4110
}
.panel-kicker{letter-spacing:1.4px;font-size:10px;color:#0a8d7d}
.login-panel h2{font-size:25px;line-height:1.2;letter-spacing:-.8px;margin:12px 0 6px}
.panel-subtitle{font-size:13px;line-height:1.5;margin-bottom:22px}
label{font-size:13px;margin:17px 0 9px;color:#32505b}
input{
  width:100%;max-width:100%;height:52px;min-height:52px;
  font-size:16px;border-radius:11px;border:1px solid #cddddd;padding:0 15px;
  background:#fff;color:var(--cl-ink)
}
input::placeholder{color:#9aadb5}
.password-wrap{position:relative}
.password-wrap input{padding-right:91px}
.toggle-password{
  right:8px;color:var(--cl-primary);font-size:13px;font-weight:750;
  min-width:72px;height:44px;border-radius:8px;padding:0 8px
}
.primary{
  min-height:54px;height:auto;padding:15px 18px;border-radius:11px;
  background:#0b8778;font-size:15px;box-shadow:0 8px 19px #0c877c25
}
.help{font-size:12px;color:#68818b;line-height:1.6;margin-top:20px;padding-top:16px}
.message{border-radius:10px;line-height:1.55;font-size:13px;padding:13px 15px}
.center-layout{min-height:calc(100dvh - 160px)}

/* The app: fixed thumb-friendly bottom navigation instead of a drawer. */
.portal-layout{display:block;min-height:calc(100dvh - 72px);position:relative}
.side-nav{display:none}
.portal-main{
  min-width:0;width:100%;max-width:1180px;margin:0 auto;
  padding:27px 17px calc(108px + env(safe-area-inset-bottom))
}
.mobile-nav{
  position:fixed;left:0;right:0;bottom:0;z-index:70;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;
  width:100%;min-height:70px;padding:7px 9px calc(7px + env(safe-area-inset-bottom));
  background:#fffffffa;border-top:1px solid #dce7e7;
  box-shadow:0 -7px 32px #143a4511;backdrop-filter:blur(12px);
}
.mobile-tab{
  appearance:none;min-width:0;min-height:56px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:3px;padding:7px 3px;
  color:#81969e;background:transparent;border:0;border-radius:12px;
  font-size:10px;line-height:1.2;font-weight:740;letter-spacing:.1px
}
.mobile-tab svg{width:22px;height:22px;display:block;flex:0 0 22px}
.mobile-tab.selected{color:var(--cl-primary);background:#e8f6f0}
.mobile-tab:disabled{opacity:.35;cursor:not-allowed}
.mobile-tab[aria-current="page"]{color:var(--cl-primary)}
.page{min-width:0;animation:cl-enter .17s ease-out}
@keyframes cl-enter{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.eyebrow.dark{color:#118974}
.page-title{
  font-size:clamp(29px,7.6vw,43px);line-height:1.16;letter-spacing:-1.2px;
  font-weight:800;color:var(--cl-ink);margin:13px 0 9px;overflow-wrap:anywhere
}
.page-subtitle{font-size:14px;line-height:1.65;color:var(--cl-muted);margin:0 0 25px;max-width:720px}
.wave{font-size:.69em;vertical-align:baseline}
.notice{
  align-items:flex-start;border:1px solid #efdfa9;background:#fff7df;
  box-shadow:none;margin:0 0 20px;padding:16px;border-radius:13px;gap:13px
}
.notice strong{font-size:14px}
.notice p{font-size:12px;line-height:1.6}

/* Home: one primary action, two secondary actions; no oversized dashboard. */
.home-hero{
  padding:23px 22px 22px;border:1px solid #ddece7;border-radius:19px;
  background:linear-gradient(125deg,#fff 56%,#eaf8f1 100%);
  box-shadow:0 5px 22px #16433209
}
.home-hero .page-title{font-size:clamp(28px,7vw,40px);margin:13px 0 9px}
.home-hero .page-subtitle{margin-bottom:16px;font-size:13px;max-width:470px}
.home-eyebrow-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#15b18a;box-shadow:0 0 0 4px #dff4e9}
.home-status{
  display:inline-flex;align-items:center;gap:8px;
  background:#e5f5ec;color:#127a5e;border:1px solid #c9e9d7;
  font-size:11px;font-weight:780;padding:9px 12px;border-radius:999px
}
.home-status-dot{width:7px;height:7px;border-radius:50%;background:#19a773}
.home-section-label{margin:29px 2px 13px;font-size:11px;letter-spacing:1.4px;color:#789096;font-weight:830}
.dashboard-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dash-card{
  display:flex;flex-direction:column;gap:14px;align-items:stretch;
  min-width:0;min-height:0;padding:19px;background:#fff;border-radius:16px;
  border:1px solid var(--cl-line);box-shadow:0 4px 16px #143a4710
}
.dash-card h2{font-size:16px;letter-spacing:-.35px;line-height:1.26;margin:0 0 7px;color:var(--cl-ink)}
.dash-card p{margin:0;font-size:12px;line-height:1.55;color:#738b94}
.dash-card small{font-size:10px;letter-spacing:1.1px;color:#84a8a3;font-weight:850}
.dash-card-icon{
  background:#e7f5ee;color:#0b927b;width:41px;height:41px;display:grid;
  place-items:center;border-radius:12px;flex:0 0 41px
}
.dash-card-icon svg{width:22px;height:22px}
.dash-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.dash-card-pill{font-size:11px;font-weight:830;color:#bdecd9;border:1px solid #6fbaaa6c;padding:7px 11px;border-radius:999px}
.dash-card.daily-highlight{
  grid-column:1/-1;padding:23px;gap:18px;min-height:235px;
  background:linear-gradient(132deg,#113745 0%,#0b5151 66%,#0b7965 100%);
  color:white;border-color:#0d5550;box-shadow:0 12px 28px #083e4621
}
.dash-card.daily-highlight .dash-card-icon{background:#ffffff24;color:#b9f3d9}
.dash-card.daily-highlight h2{font-size:24px;color:#fff;letter-spacing:-.8px;margin:7px 0}
.dash-card.daily-highlight small{color:#aae7d4}
.dash-card.daily-highlight p{font-size:13px;line-height:1.65;color:#d0e9e5}
.text-link{
  display:inline-flex;align-items:center;justify-content:space-between;gap:9px;
  min-height:44px;width:100%;margin-top:auto;border:0;background:transparent;
  color:#087d6f;text-align:left;padding:8px 0 0;font-size:12px;font-weight:820
}
.text-link svg{width:18px;height:18px;flex:0 0 18px}
.daily-highlight .text-link{
  margin-top:auto;min-height:50px;background:#fff;color:#116554;border-radius:11px;
  padding:12px 16px;font-size:13px;box-shadow:0 6px 18px #032b3333
}
.quick-card .text-link{color:#087d6f}
.quick-card h2{font-size:16px}
.quick-card p{font-size:12px}

/* Diaries: 2 compact metrics, accessible period selector, card-style list. */
.daily-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0 0 20px}
.daily-periods{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;
  padding:5px;width:100%;max-width:100%;border-radius:13px;background:#e8efee
}
.daily-period{
  min-width:0;min-height:46px;padding:10px 9px;border-radius:9px;
  font-size:13px;font-weight:790;color:#68818b;overflow-wrap:anywhere
}
.daily-period.selected{color:#087d70;background:white;box-shadow:0 3px 10px #163e4416}
.daily-refresh{
  min-height:44px;min-width:130px;align-self:flex-end;display:inline-flex;
  align-items:center;justify-content:center;border-radius:10px;
  font-size:13px;background:white;color:#0c8575;border:1px solid #cfe2dd;
  padding:10px 15px
}
.daily-heading{margin:0 0 17px;display:block}
.daily-heading h2{font-size:21px;letter-spacing:-.5px;margin:0 0 7px}
.daily-heading p{font-size:12px;color:#718b96;line-height:1.6;overflow-wrap:anywhere}
.daily-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 20px}
.daily-metric{
  min-width:0;border-radius:15px;border:1px solid #e0eae9;
  padding:17px 14px 16px;background:#fff;box-shadow:0 4px 16px #153e3d09
}
.daily-metric span{font-size:11px;line-height:1.45;color:#627e87;font-weight:760}
.daily-metric strong{
  color:#123541;font-size:clamp(21px,5.7vw,28px);font-weight:830;
  letter-spacing:-.6px;margin:12px 0 6px;line-height:1.17;
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere
}
.daily-metric:nth-child(2) strong{color:#07816d}
.daily-metric small{font-size:10.5px;line-height:1.45;color:#849aa1}
.daily-warning{padding:14px 15px;border-radius:12px;font-size:12px;margin-bottom:17px;line-height:1.55}
.daily-history{background:transparent;border:0;border-radius:0;overflow:visible}
.daily-history-header{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:0 2px 13px;margin:0
}
.daily-history-header h3{margin:0 0 5px;font-size:17px;letter-spacing:-.2px}
.daily-history-header p{font-size:12px}
.daily-history-header>span{font-size:11px;color:#7b949c;white-space:nowrap}
.daily-table-scroll{overflow:visible;width:100%;max-width:100%}
.daily-table{width:100%;min-width:0!important;display:block;border-collapse:separate}
.daily-table thead{display:none}
.daily-table tbody{display:flex;flex-direction:column;gap:11px;width:100%}
.daily-table tr{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:9px 10px;padding:15px 17px;background:#fff;border:1px solid #e0eae9;
  border-radius:14px;box-shadow:0 3px 12px #16333b08;min-width:0
}
.daily-table td,.daily-table th{
  display:block;border:0!important;padding:0!important;min-width:0;
  font-size:14px;line-height:1.4;background:transparent!important
}
.daily-table td:first-child{align-self:center;color:#264652!important;font-size:14px;font-weight:730}
.daily-table td:nth-child(2){align-self:center;text-align:right;color:#123743!important;font-size:16px;font-weight:820;white-space:nowrap}
.daily-table td.daily-review-action{
  grid-column:1/-1;display:flex;justify-content:stretch;align-items:center;
  width:100%;padding-top:10px!important;border-top:1px solid #edf1f1!important
}
.daily-table tr:not(.has-review) .daily-review-action{display:none}
.daily-request-button{
  display:flex;justify-content:center;align-items:center;
  width:100%;min-height:47px;min-width:0;padding:11px 12px;
  background:#e4f5ec;color:#0a7563;border:1px solid #bce4d3;
  border-radius:10px;font-size:13px;font-weight:820;letter-spacing:0;white-space:normal
}
.daily-request-button:disabled{
  border-color:#dfe9ea;background:#f1f5f4;color:#69828c;
  opacity:1
}
.daily-empty{padding:25px 18px;background:white;border-radius:13px;font-size:13px}
.daily-disclaimer{color:#758b91;font-size:11.5px;line-height:1.65;margin:17px 3px 0}
.daily-loading{padding:28px 15px;border-radius:13px;font-size:13px}

/* Profile, password change and messages */
.content-card{
  width:100%;max-width:none;display:flex;gap:17px;align-items:flex-start;
  padding:22px 18px;border-radius:16px;border:1px solid var(--cl-line);
  background:#fff;box-shadow:0 4px 18px #1437470a
}
.profile-data{min-width:0;flex:1}
.profile-data strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.profile-data label{font-size:11px;line-height:1.3;margin:0 0 5px}
.profile-note{font-size:12px;line-height:1.7}
.avatar{width:54px;height:54px;flex:0 0 54px;border-radius:15px;font-size:22px}
.form-card{display:block;padding:24px 20px}
.form-card h2{font-size:23px;margin:0 0 8px}
.form-card>p{font-size:13px;line-height:1.65}
.form-card .primary{margin-top:28px}
.form-card label{margin:20px 0 8px}
.form-card input{font-size:16px}
.password-wrap .toggle-password{min-height:44px}

/* Review modal: comfortable mobile bottom sheet with full-width fields. */
.daily-review-dialog{
  position:fixed;inset:auto 0 0 0!important;z-index:100;
  margin:0;width:100%;max-width:100%;min-width:0;max-height:calc(100dvh - 14px);
  border:0;border-radius:24px 24px 0 0;padding:0;overflow-y:auto;
  overscroll-behavior:contain;background:#fff;color:var(--cl-ink);
  box-shadow:0 -22px 70px #051e3380
}
.daily-review-dialog::backdrop{background:#041c2d9e;backdrop-filter:blur(2px)}
.daily-review-dialog form{
  display:block;padding:26px 20px calc(20px + env(safe-area-inset-bottom));
  min-width:0
}
.daily-review-header{
  position:sticky;top:-26px;z-index:2;
  display:flex;align-items:flex-start;justify-content:space-between;
  background:#fff;padding:0 0 10px;gap:12px
}
.daily-review-header h2{font-size:26px;margin:9px 0 0;line-height:1.15;letter-spacing:-.8px}
.daily-review-close{
  width:44px;height:44px;min-width:44px;display:grid;place-items:center;
  color:#52717d;background:#f0f5f5;border:0;border-radius:13px;font-size:28px
}
.daily-review-intro{color:#68828c;font-size:13px;line-height:1.65;margin:10px 0 20px}
.daily-review-current{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
  padding:16px;background:#eef7f3;border-radius:14px
}
.daily-review-current>div{min-width:0}
.daily-review-current small{display:block;font-size:9px;color:#64858b;letter-spacing:.6px;line-height:1.45;margin:0 0 8px;font-weight:790}
.daily-review-current strong{font-size:clamp(14px,4.5vw,18px);letter-spacing:-.15px;line-height:1.35;overflow-wrap:anywhere}
.daily-review-dialog label{display:block;margin:20px 0 8px;font-size:13px}
.daily-review-dialog select,.daily-review-dialog textarea{
  display:block;max-width:100%;width:100%;border:1px solid #d1dfe1;
  border-radius:11px;background:#fff;color:var(--cl-ink);padding:13px 14px;
  font-size:16px;line-height:1.5;box-sizing:border-box
}
.daily-review-dialog select{min-height:54px}
.daily-review-dialog textarea{min-height:118px;resize:vertical}
.daily-review-count{font-size:11px;color:#78929b;text-align:right;margin-top:6px}
.daily-review-actions{
  display:grid;grid-template-columns:1fr;gap:10px;
  margin:24px 0 0;padding:0;
  border-top:0;background:#fff
}
.daily-review-secondary,.daily-review-submit{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-width:0;min-height:52px;border-radius:11px;
  font-size:14px;font-weight:790;padding:12px 18px
}
.daily-review-submit{grid-row:1;background:#078676;border:1px solid #078676;color:#fff}
.daily-review-secondary{grid-row:2;background:#f0f4f4;border:1px solid #e0e9e8;color:#47616d}
.daily-review-actions button:disabled{opacity:.65}
body.review-dialog-open .mobile-nav{pointer-events:none}
@media(min-width:420px){
  .portal-main{padding-left:22px;padding-right:22px}
  .daily-metric{padding:20px 18px}
  .dash-card{padding:21px}
  .daily-review-dialog form{padding-left:26px;padding-right:26px}
}
@media(min-width:650px) and (max-width:899px){
  .portal-main{padding:36px 36px calc(115px + env(safe-area-inset-bottom))}
  .dashboard-cards{gap:17px}
  .dash-card.daily-highlight{min-height:220px}
  .daily-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .login-layout{padding:40px 38px 50px}
}
@media(min-width:900px){
  html{scroll-padding-top:88px}
  .site-header{height:80px;min-height:80px;padding:0 clamp(28px,5vw,70px)}
  .identity{gap:13px}
  .logo{width:47px;height:47px;flex-basis:47px;font-size:20px}
  .identity-text strong{font-size:19px;letter-spacing:2px}
  .identity-text small{font-size:9px;letter-spacing:1px}
  .status{display:flex}
  footer{padding:23px clamp(28px,5vw,70px)}
  body.portal-active footer{display:none}
  .login-layout{
    min-height:calc(100dvh - 146px);display:grid;
    grid-template-columns:minmax(0,1fr) minmax(370px,445px);
    align-items:center;gap:clamp(45px,6vw,105px);
    padding:50px clamp(40px,7vw,120px)
  }
  .welcome h1{font-size:clamp(52px,5.1vw,76px);margin:27px 0 18px;letter-spacing:-2.9px}
  .welcome>p{font-size:16px;line-height:1.75}
  .welcome-feature{display:flex}
  .login-panel{max-width:none;padding:37px}
  .login-panel h2{font-size:28px}
  .portal-layout{
    display:grid;grid-template-columns:245px minmax(0,1fr);
    min-height:calc(100dvh - 80px);max-width:none
  }
  .side-nav{
    display:flex;position:sticky;top:0;
    width:245px;height:calc(100dvh - 80px);min-height:560px;
    padding:28px 15px 21px;gap:7px;overflow:auto;
    border-right:1px solid #e2eaeb;background:#fff;
    box-shadow:3px 0 20px #1a404406
  }
  .nav-label{font-size:10px;letter-spacing:1.5px;padding:12px 14px 10px}
  .nav-button{
    display:flex;align-items:center;gap:13px;min-height:49px;
    padding:12px 14px;border-radius:11px;font-size:14px;
    color:#65808b;font-weight:710;transition:background .12s,color .12s
  }
  .nav-button svg{width:20px;height:20px;flex:0 0 20px}
  .nav-button:hover{background:#f0f7f5;color:#08786c}
  .nav-button.selected{background:#e2f4ec;color:#087869;font-weight:820}
  .nav-button:disabled{opacity:.35}
  .nav-end{margin-top:auto;padding:25px 3px 0}
  .nav-account{display:flex;align-items:center;gap:10px;padding:14px 10px;border-top:1px solid #eaf0f0}
  .nav-account-avatar{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;border-radius:10px;background:#dbf1e8;color:#13816e;font-weight:850;font-size:12px}
  .nav-account strong{display:block;font-size:12px;color:#274551}
  .nav-account small{display:block;color:#8a9da3;font-size:11px;margin-top:3px}
  .logout{min-height:44px;display:flex;justify-content:space-between;gap:10px;color:#a34e49;padding:12px}
  .mobile-nav{display:none}
  .portal-main{max-width:1200px;padding:42px clamp(35px,4.4vw,75px) 70px;margin:0 auto}
  .page-title{font-size:clamp(35px,3.2vw,45px)}
  .page-subtitle{font-size:14px}
  .home-hero{padding:30px 32px}
  .home-hero .page-title{font-size:40px}
  .dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
  .dash-card.daily-highlight{min-height:230px}
  .daily-toolbar{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
  .daily-periods{width:max-content;display:flex;gap:4px;padding:5px}
  .daily-period{min-width:155px;padding:12px 16px}
  .daily-refresh{align-self:auto}
  .daily-heading h2{font-size:26px}
  .daily-metrics{gap:18px}
  .daily-metric{padding:24px}
  .daily-metric span{font-size:13px}
  .daily-metric strong{font-size:31px}
  .daily-metric small{font-size:12px}
  .daily-history{
    background:#fff;border:1px solid #e1e8e9;border-radius:17px;
    overflow:hidden;box-shadow:0 5px 25px #102d3708
  }
  .daily-history-header{padding:25px 28px 20px}
  .daily-history-header h3{font-size:19px}
  .daily-history-header>span{font-size:12px}
  .daily-table-scroll{overflow-x:auto}
  .daily-table{display:table;width:100%;border-collapse:collapse;min-width:600px!important}
  .daily-table thead{display:table-header-group}
  .daily-table tbody{display:table-row-group}
  .daily-table tr{
    display:table-row;padding:0;border:0;border-radius:0;box-shadow:none;
    background:transparent
  }
  .daily-table th{
    display:table-cell;background:#f7fafa!important;
    color:#81959d;font-size:11px;font-weight:830;
    border-block:1px solid #e6eeee!important;
    text-transform:uppercase;letter-spacing:.8px;padding:15px 28px!important
  }
  .daily-table td{
    display:table-cell;padding:17px 28px!important;
    border-bottom:1px solid #eaf0f0!important;
    font-size:14px;vertical-align:middle
  }
  .daily-table td:nth-child(2){font-size:15px;text-align:left}
  .daily-table th:last-child,.daily-table td:last-child{text-align:right}
  .daily-table td.daily-review-action{display:table-cell;width:210px;padding:12px 28px!important;border-top:0!important}
  .daily-table tr:not(.has-review) .daily-review-action{display:table-cell}
  .daily-table tr:hover td{background:#f9fcfb!important}
  .daily-request-button{min-height:43px;min-width:147px;width:auto;display:inline-flex;padding:9px 15px;font-size:12px}
  .daily-disclaimer{font-size:12px}
  .content-card{max-width:780px;padding:35px}
  .form-card{max-width:580px}
  .daily-review-dialog{
    position:fixed;inset:0!important;margin:auto;
    width:min(540px,calc(100% - 36px));max-width:540px;
    max-height:min(90dvh,780px);border:1px solid #dce8e8;
    border-radius:19px;box-shadow:0 23px 80px #0c2b3b45
  }
  .daily-review-dialog form{padding:30px 33px 31px}
  .daily-review-header{top:-30px}
  .daily-review-current{padding:19px}
  .daily-review-actions{grid-template-columns:1fr 1.45fr}
  .daily-review-secondary{grid-row:1}
  .daily-review-submit{grid-row:1}
}
@media(min-width:1150px){
 .dashboard-cards{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr))}
 .dash-card.daily-highlight{grid-column:auto;min-height:290px}
 .dash-card.quick-card{min-height:290px}
 .dash-card h2{font-size:19px}
 .dash-card.daily-highlight h2{font-size:26px}
}
@media(max-width:359px){
 .site-header{padding-left:12px;padding-right:12px}
 .identity-text strong{font-size:15px}
 .identity-text small{font-size:7px;letter-spacing:.7px}
 .portal-main{padding-left:13px;padding-right:13px}
 .daily-metric{padding:14px 12px}
 .daily-metric strong{font-size:21px}
 .daily-table tr{padding:14px 13px}
 .daily-review-dialog form{padding-left:16px;padding-right:16px}
 .quick-card{padding:14px}
 .quick-card h2{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .page{animation:none}
}


/* Sign-out remains reachable without the desktop sidebar. */
.mobile-logout{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;min-height:52px;margin:18px 0 0;padding:14px 17px;
  color:#a44743;font-size:14px;font-weight:750;background:#fff;
  border:1px solid #f0dad8;border-radius:12px;
  box-shadow:0 3px 12px #342a2a05
}
.mobile-logout svg{width:20px;height:20px;flex:0 0 20px}
.mobile-logout:hover{background:#fff3f0}
@media(min-width:900px){.mobile-logout{display:none}}

/* Navegação inferior e Diárias sem legendas redundantes. */
.mobile-tab.mobile-exit{color:#b14943}
.mobile-tab.mobile-exit svg{stroke:#b14943}
.mobile-tab.mobile-exit:active{background:#fff0ef}
#page-diarias>.page-title{margin-top:0;margin-bottom:22px}
#page-diarias .daily-toolbar{margin-bottom:18px}
#page-diarias .daily-heading{margin-bottom:13px}
#page-diarias .daily-metric{min-height:112px;justify-content:center;display:flex;flex-direction:column}
#page-diarias .daily-metric strong{margin-bottom:0}
#page-diarias .daily-history-header{padding-bottom:12px}
@media(min-width:900px){#page-diarias>.page-title{margin-bottom:25px}#page-diarias .daily-metric{min-height:125px}}

/* Início com uma ação principal, sem cards ou avisos secundários. */
#page-inicio .home-hero{padding-bottom:24px}
#page-inicio .home-hero .page-title{margin-bottom:0}
#page-inicio .dashboard-cards{grid-template-columns:minmax(0,1fr);margin-top:18px}
#page-inicio .dash-card.daily-highlight{grid-column:1/-1}
@media(min-width:900px){#page-inicio .dash-card.daily-highlight{min-height:240px}}
@media(min-width:1150px){#page-inicio .dashboard-cards{grid-template-columns:minmax(0,1fr)}}
