/* Approved daily-overview dashboard. Customer pages are not affected. */
body:has(#dashboard:not(.hidden)) .wrap{max-width:600px;padding:0 20px 110px;background:#0b1010}
body:has(#dashboard:not(.hidden)) .top{display:flex;flex-direction:row;gap:12px;align-items:center;padding:22px 0 20px;background:#0b1010!important}
body:has(#dashboard:not(.hidden)) .top .staff-logo{width:175px;max-width:48%;margin-inline-end:auto}
.top .staff-logo img{display:block;width:100%;height:auto}
body:has(#dashboard:not(.hidden)) .top .top-tools{display:none}
.top .customer-preview{font-size:13px;color:#edcd8b;text-decoration:none;white-space:nowrap;padding:8px 0;text-underline-offset:5px}
.top .customer-preview:hover{text-decoration:underline}
.daily-menu{position:relative;z-index:30;flex:0 0 auto;color:#edcd8b}
.daily-menu>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:40px;height:40px;border:1px solid #3c443e;border-radius:13px;background:#151c1a;font-size:27px;line-height:1}
.daily-menu>summary::-webkit-details-marker{display:none}
.daily-menu-body{position:absolute;inset-inline-end:0;top:48px;display:grid;gap:8px;width:210px;padding:12px;border-radius:16px;background:#1b2420;border:1px solid #75623d;box-shadow:0 12px 30px #0008}
.daily-menu:not([open])>.daily-menu-body{display:none}
.daily-menu-body button,.daily-menu-body select{width:100%;min-height:44px;border-radius:10px;border:1px solid #434b41;background:#242c27;color:#eee9dc;text-align:start;padding:10px;font-size:14px}
body:has(#dashboard:not(.hidden)) .top .daily-menu select{width:100%;color-scheme:dark}
.daily-menu #logoutBtn{color:#eab8aa}
.app-tools:empty{display:none}
#dashboard:not(.hidden){background:#0b1010!important}
#dashboard .dashboard-top,#dashboard .dashboard-nav{display:none}
#dashboard .daily-heading{margin:16px 0 24px}
#dashboard .daily-heading h1{font-family:inherit;font-size:clamp(32px,8.5vw,42px);line-height:1.1;letter-spacing:-.03em;font-weight:750;color:#f8f4ea;margin:0 0 8px}
#dashboard .daily-heading p{margin:0;font-size:18px;color:#bfc2bb;line-height:1.4}
#dashboard .daily-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}
#dashboard .daily-stat{display:flex;gap:12px;align-items:center;min-height:100px;padding:17px 14px;border:1px solid #7e7051;border-radius:18px;background:linear-gradient(125deg,#202822,#111917);min-width:0}
#dashboard .daily-stat svg{width:30px;height:30px;flex:0 0 30px;fill:none;stroke:#ecc988;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#dashboard .daily-stat strong{display:block;font-size:32px;font-weight:700;line-height:1.15;letter-spacing:-.03em;color:#f8f4ea;font-variant-numeric:tabular-nums}
#dashboard .daily-stat span{display:block;color:#bfc2bb;font-size:13px;margin-top:4px;line-height:1.4}
#dashboard .dashboard-day{margin:0 0 20px}
#dashboard .dashboard-day>div:first-child{display:none}
#dashboard .dashboard-date-actions{margin:0;gap:6px;flex-wrap:nowrap}
#dashboard .dashboard-date-actions label{min-width:0;flex:1}
#dashboard .dashboard-date-actions label>span{display:none}
#dashboard .dashboard-date-actions input{padding:8px;min-width:0;font-size:13px}
#dashboard .dashboard-date-actions button{padding:8px;flex-shrink:0;font-size:13px}
#dashboard .dashboard-date-actions .date-arrow{width:36px;font-size:23px}
#dashboard .appointment-card{border-radius:16px;background:linear-gradient(115deg,#202822,#111917)!important;box-shadow:none}
#dashboard .appointment-card .appointment-main{grid-template-columns:60px minmax(0,1fr);padding:16px;gap:12px}
#dashboard .appointment-card .appointment-time{font-size:21px;min-height:44px;color:#f3e3bf;padding-inline-end:10px}
#dashboard .appointment-card .appointment-name{font-size:18px;color:#f8f4ea}
#dashboard .appointment-card-service{font-size:13px}
#dashboard .appointment-card-service strong{font-size:17px}
#dashboard .appointment-card .appointment-main-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:0}
#dashboard .appointment-main-actions .card-call,#dashboard .appointment-main-actions .card-details{width:auto;min-height:40px;padding:7px 10px;border-radius:10px!important;font-size:12px}
#dashboard .appointment-main-actions svg{width:16px;height:16px;flex-basis:16px}
#dashboard .appointment-main-actions .card-details{background:transparent!important;color:#edcd8b!important;border-color:#5b5944}
#dashboard .daily-featured{border:1px solid #c6a56a!important;border-radius:20px;margin-bottom:28px}
#dashboard .daily-up-next{display:inline-block;margin:18px 18px 0;background:linear-gradient(110deg,#f4d599,#bf9b58);color:#17180f;padding:6px 12px;border-radius:18px;font-size:11px;font-weight:750;letter-spacing:.1em}
#dashboard .daily-featured .appointment-main{grid-template-columns:1fr;padding:18px;gap:12px}
#dashboard .daily-featured .appointment-time{grid-row:2;border:0;min-height:0;padding:0;color:#d3d5ca;font-size:19px}
#dashboard .daily-featured .appointment-card-info{grid-row:1}
#dashboard .daily-featured .appointment-name{font-size:27px;font-weight:700}
#dashboard .daily-featured .appointment-card-service{font-size:15px;margin-top:10px}
#dashboard .daily-featured .appointment-main-actions{grid-row:3;grid-column:1;justify-content:space-between}
#dashboard .daily-featured .card-details{background:linear-gradient(110deg,#f4d599,#bf9b58)!important;color:#17180f!important;min-height:46px;font-size:14px;font-weight:650}
#dashboard .daily-list-heading{margin:0 0 18px}
#dashboard .daily-list-heading h2{color:#f8f4ea;font-size:25px;font-weight:700;margin:0 0 5px;letter-spacing:-.02em}
#dashboard .daily-list-heading p{color:#bfc2bb;font-size:13px;line-height:1.5;margin:0}
#dashboard .dashboard-bottom{background:#101714f5;border-top:1px solid #454b3e}
#dashboard .dashboard-bottom button.primary{border-radius:0 0 18px 18px;background:#18211a!important}
#dashboard .empty{border:1px solid #4e584b;color:#c9ccbf!important}
@media(max-width:360px){
 body:has(#dashboard:not(.hidden)) .wrap{padding-inline:14px}
 body:has(#dashboard:not(.hidden)) .top{gap:8px}
 body:has(#dashboard:not(.hidden)) .top .staff-logo{width:140px;max-width:45%}
 .top .customer-preview{font-size:11px}
 .daily-menu>summary{width:36px;height:36px}
 #dashboard .daily-stats{gap:8px}
 #dashboard .daily-stat{padding:14px 10px;gap:8px;min-height:92px}
 #dashboard .daily-stat svg{width:23px;height:23px;flex-basis:23px}
 #dashboard .daily-stat strong{font-size:27px}
 #dashboard .daily-stat span{font-size:12px}
}
