/* Narrow dashboard navigation, line-chart health, and shared protocol colors */
.workspace{max-width:1120px!important;padding-inline:24px!important}
.content-grid{grid-template-columns:minmax(0,1fr) 310px!important;gap:18px!important}
.right-column>.dashboard-nav-card{display:block!important}
.right-column>.side-card:not(.dashboard-health-card):not(.dashboard-nav-card){display:none!important}

.compact-app-bar nav{padding:5px;border:1px solid rgba(49,111,150,.14);border-radius:16px;background:rgba(255,255,255,.48);box-shadow:0 10px 26px rgba(35,83,113,.08)}
.compact-app-bar nav button,.compact-app-bar nav a{border:0!important;background:transparent!important;border-radius:11px!important;padding:10px 14px!important;transition:.18s ease}
.compact-app-bar nav button:hover,.compact-app-bar nav a:hover{background:rgba(214,235,247,.72)!important;transform:translateY(-1px)}
.compact-app-bar nav .top-dashboard-button{color:#fff!important;background:linear-gradient(135deg,#225f89,#3182ad)!important;box-shadow:0 7px 16px rgba(35,102,145,.2)}

.dashboard-nav-card{position:relative;overflow:hidden;padding:17px!important;border-color:rgba(49,111,150,.16)!important;background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(230,244,251,.58))!important}
.dashboard-nav-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-55px;top:-50px;background:rgba(73,158,204,.10)}
.dashboard-nav-card>div>small,.dashboard-nav-card>small{font-size:.67rem;letter-spacing:.12em;color:#56819b;font-weight:800}.dashboard-nav-card h3{margin:3px 0 5px;color:#173b57}.dashboard-nav-card p{margin:0;color:#6c8190;font-size:.76rem;line-height:1.45}
.dashboard-nav-card>button{position:relative;z-index:1;width:100%;margin-top:12px;border:0;border-radius:11px;padding:10px 12px;background:linear-gradient(135deg,#e3f2fa,#d3eaf7);color:#205d83;font-weight:800;display:flex;justify-content:space-between;cursor:pointer}
.protocols-nav-card .card-title{margin-bottom:8px}.protocols-nav-card .protocol-row{padding:8px 0}.protocols-nav-card .protocol-color{width:9px;height:9px;border-radius:50%;flex:0 0 auto}
.weight-card-actions{display:flex;gap:5px}.weight-card-actions button{font-size:.68rem!important;padding:5px 7px!important}

.dashboard-weight-line{margin-top:7px}.dashboard-weight-line svg{display:block;width:100%;height:138px;border-radius:12px;background:linear-gradient(180deg,rgba(224,241,249,.46),rgba(255,255,255,.26))}
.dashboard-weight-line svg:before{content:""}.weight-goal-line{stroke:#d59a3c;stroke-width:2;stroke-dasharray:5 5;opacity:.85}.weight-actual-line{fill:none;stroke:#2c7ca7;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.dashboard-weight-line circle{fill:#fff;stroke:#2c7ca7;stroke-width:3}.weight-line-labels{display:flex;justify-content:space-between;margin-top:5px;color:#6b8190;font-size:.68rem;font-weight:700}.weight-line-empty{min-height:100px;display:grid;place-items:center;color:#718795;font-size:.75rem;text-align:center}

.dose-card.protocol-colored{position:relative;border-left-width:4px!important}.protocol-color-0{border-left-color:#5a8fbd!important}.protocol-color-1{border-left-color:#d17658!important}.protocol-color-2{border-left-color:#8977b3!important}.protocol-color-3{border-left-color:#4d9b7e!important}.protocol-color-4{border-left-color:#d4a840!important}.protocol-color-5{border-left-color:#b36183!important}
.protocol-product-mark.dot-0{background:#e3eef7!important;color:#356b98}.protocol-product-mark.dot-1{background:#f8e7e1!important;color:#a95841}.protocol-product-mark.dot-2{background:#eeeaf7!important;color:#6f5d9e}.protocol-product-mark.dot-3{background:#e2f2eb!important;color:#357d64}.protocol-product-mark.dot-4{background:#f8f0d8!important;color:#9b781e}.protocol-product-mark.dot-5{background:#f5e5ec!important;color:#974a6c}
.status-dot.dot-0,.protocol-color.dot-0{background:#5a8fbd!important}.status-dot.dot-1,.protocol-color.dot-1{background:#d17658!important}.status-dot.dot-2,.protocol-color.dot-2{background:#8977b3!important}.status-dot.dot-3,.protocol-color.dot-3{background:#4d9b7e!important}.status-dot.dot-4,.protocol-color.dot-4{background:#d4a840!important}.status-dot.dot-5,.protocol-color.dot-5{background:#b36183!important}
.back-button{border-radius:999px!important}
@media(max-width:850px){.workspace{max-width:720px!important}.content-grid{grid-template-columns:1fr!important}.right-column{order:0!important}.compact-app-bar{align-items:center}.compact-app-bar nav{gap:1px}.compact-app-bar nav button{padding:9px!important;font-size:.76rem}}
