/* Round 63 candidate-only brand, sidebar and readability corrections. */
.app-shell{grid-template-columns:clamp(205px,12.5vw,240px) minmax(0,1fr)}
.sidebar{overflow:hidden;padding:14px 10px 10px}
.brand{flex:none;gap:9px;padding:3px 6px 12px}
.brand-logo{flex:0 0 48px;width:48px;height:48px;margin:0;object-fit:contain}
.brand-copy{text-align:left;line-height:1.35}
.brand strong{position:static;font-size:14px;line-height:1.4}
.brand span{font-size:9px;line-height:1.35}
.brand small{font-size:12px;line-height:1.4}
.local-badge{flex:none;margin:10px 3px 7px;padding:7px 8px;font-size:12px}
.local-badge small{font-size:12px}
.sidebar-scroll-region{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding:0 2px 3px 0;scrollbar-width:thin;scrollbar-color:#365367 transparent}
.sidebar-scroll-region::-webkit-scrollbar{width:5px}
.sidebar-scroll-region::-webkit-scrollbar-track{background:transparent}
.sidebar-scroll-region::-webkit-scrollbar-thumb{border-radius:6px;background:#365367}
.side-section-label{margin:8px 7px 4px;font-size:12px;letter-spacing:.08em}
.nav-list{gap:2px}
.nav-item{min-height:38px;padding:8px 8px;border:1px solid transparent;border-left:3px solid transparent;border-radius:4px;background:transparent;font-size:15px;line-height:1.25;gap:9px}
.nav-item span{width:19px;font-size:17px}
.nav-item.active{border-color:rgba(200,149,52,.72);border-left-color:#d5a541;background:rgba(200,149,52,.07);color:#fff}
.nav-item.active span{color:#e6bd62}
.nav-item:hover{background:rgba(255,255,255,.06)}
.nav-item b{font-size:11px}
.service-list{flex:none;margin-top:0;padding:9px 7px 7px;gap:5px;font-size:12px}
.service-list>small{font-size:12px}
.service-list b{font-size:12px}
.service-list i{background:#718391;box-shadow:none}
.service-list i.ok{background:#45bf79;box-shadow:0 0 0 3px rgba(69,191,121,.12)}
.service-list i.warn{background:#d9a53d;box-shadow:0 0 0 3px rgba(217,165,61,.12)}
.service-list i.error{background:#d5645b;box-shadow:0 0 0 3px rgba(213,100,91,.12)}
.backup-label{flex:none;padding:6px;font-size:12px;overflow:hidden;text-overflow:ellipsis}
.sidebar-foot{flex:none;padding:8px 6px 0;gap:8px}
.sidebar-foot-logo{flex-basis:30px;width:30px;height:30px}
.sidebar-foot strong{font-size:13px}
.sidebar-foot span{font-size:12px}
body.dashboard-mode .brand strong{font-size:14px}
body.dashboard-mode .brand span{font-size:9px}
body.dashboard-mode .brand small{font-size:12px}
body.dashboard-mode .nav-item{min-height:38px;font-size:15px}

body.dashboard-mode .main-area{padding:0 12px}
body.dashboard-mode .topbar{height:86px}
body.dashboard-mode .topbar>div:first-child{padding-left:8px}
body.dashboard-mode .topbar h1{font-size:28px;line-height:1.2}
body.dashboard-mode .topbar p{max-width:720px;margin-top:6px;font-size:13px;line-height:1.45}
body.dashboard-mode .date-time{font-size:12px}
body.dashboard-mode .demo-pill{padding:4px 8px;font-size:12px}
body.dashboard-mode .status-pill{padding:5px 7px;font-size:12px}
body.dashboard-mode .status-pill b{color:var(--ui-muted)}
body.dashboard-mode .status-pill b.is-ok{color:var(--ui-success)}
body.dashboard-mode .status-pill b.is-warn{color:var(--ui-warning)}
body.dashboard-mode .status-pill b.is-error{color:var(--ui-danger)}
body.dashboard-mode .top-actions{min-width:500px;gap:5px 7px}
body.dashboard-mode .top-icon{width:30px;height:30px;font-size:14px}
body.dashboard-mode .user-pill{min-height:30px}
body.dashboard-mode .user-pill span,body.dashboard-mode .user-pill b{font-size:12px}
body.dashboard-mode #page-content{padding:8px 0 10px}
body.dashboard-mode .dashboard-page{grid-template-rows:minmax(0,1fr) 158px;gap:8px}
body.dashboard-mode .dashboard-upper{grid-template-columns:minmax(0,3fr) minmax(300px,1fr)}
body.dashboard-mode .dashboard-left{grid-template-rows:176px minmax(0,1fr) 210px}
body.dashboard-mode .dashboard-right{grid-template-rows:390px minmax(0,1fr)}
body.dashboard-mode .dashboard-page .card{padding:12px}
body.dashboard-mode .dashboard-page .card-title h3,
body.dashboard-mode .home-section-title h3{font-size:17px;line-height:1.3}
body.dashboard-mode .home-link{font-size:12px}
body.dashboard-mode .home-link b{font-size:13px}
body.dashboard-mode .compact-empty{font-size:14px}
body.dashboard-mode .queue-block{padding:11px 9px 9px}
body.dashboard-mode .home-section-title{height:29px;padding:0 5px}
body.dashboard-mode .queue-grid{height:calc(100% - 29px)}
body.dashboard-mode .summary-card{padding:9px 10px}
body.dashboard-mode .summary-icon{flex-basis:27px;width:27px;height:27px;font-size:17px}
body.dashboard-mode .summary-card small{font-size:12px}
body.dashboard-mode .summary-card strong{margin-top:6px;font-size:31px}
body.dashboard-mode .summary-card strong em{font-size:14px}
body.dashboard-mode .summary-card>span,
body.dashboard-mode .summary-link{font-size:12px}
body.dashboard-mode .activity-tabs{gap:15px;padding-bottom:6px;overflow-x:auto}
body.dashboard-mode .activity-tabs button{font-size:12px}
body.dashboard-mode .activity-list{overflow:auto;scrollbar-width:thin}
body.dashboard-mode .activity-row{min-height:43px;padding:6px 2px}
body.dashboard-mode .activity-icon{flex-basis:24px;width:24px;height:24px;font-size:13px}
body.dashboard-mode .activity-copy strong,
body.dashboard-mode .mini-item strong{font-size:14px}
body.dashboard-mode .activity-copy small,
body.dashboard-mode .mini-item small,
body.dashboard-mode .activity-time,
body.dashboard-mode .mini-item time{font-size:12px}
body.dashboard-mode .mini-item{min-height:42px;padding:7px 0}
body.dashboard-mode .progress-inline b,
body.dashboard-mode .project-line strong{font-size:12px}
body.dashboard-mode .project-line .pill{font-size:11px}
body.dashboard-mode .dashboard-page .assistant-card{padding:13px 14px}
body.dashboard-mode .assistant-card .card-title h3{font-size:18px}
body.dashboard-mode .assistant-state,
body.dashboard-mode .assistant-state select{font-size:12px}
body.dashboard-mode .assistant-body h4{font-size:16px}
body.dashboard-mode .assistant-body>small{font-size:12px;line-height:1.45}
body.dashboard-mode .dashboard-right .assistant-prompts button,
body.dashboard-mode .dashboard-right .assistant-prompts button:nth-child(n+4){height:33px;font-size:13px}
body.dashboard-mode .assistant-inline{height:40px}
body.dashboard-mode .assistant-inline input{font-size:14px}
body.dashboard-mode .assistant-result-mini,
body.dashboard-mode .assistant-result-mini>small{font-size:12px}
body.dashboard-mode .quick-card .card-title h3{font-size:17px}
body.dashboard-mode .quick-btn{padding-left:36px}
body.dashboard-mode .quick-btn b{font-size:14px}
body.dashboard-mode .quick-btn small{font-size:12px}
body.dashboard-mode .quick-symbol{left:8px;width:21px;height:21px;font-size:19px}

body.dashboard-mode .resource-panel{padding:10px 9px 8px;overflow:visible}
body.dashboard-mode .resource-panel h3{height:25px;font-size:17px}
body.dashboard-mode .resource-panel h3 small{margin-left:8px;color:var(--ui-muted);font-size:12px;font-weight:400}
body.dashboard-mode .resource-row{height:calc(100% - 25px)}
body.dashboard-mode .resource-row>div{padding:8px 9px 4px}
body.dashboard-mode .resource-row small{font-size:12px;line-height:1.25}
body.dashboard-mode .resource-row strong{margin-top:6px;font-size:24px;line-height:1.15}
body.dashboard-mode .resource-row strong.resource-model{font-size:16px;line-height:1.25}
body.dashboard-mode .resource-row span{font-size:12px;line-height:1.25}
body.dashboard-mode .resource-row>div:nth-child(5) span,
body.dashboard-mode .resource-row>div:nth-child(6) span{color:var(--ui-muted)}
body.dashboard-mode .resource-cell.is-demo strong{color:var(--ui-accent)}
body.dashboard-mode .resource-cell.is-error strong{color:var(--ui-danger)}
body.dashboard-mode .resource-cell.is-stale strong{color:var(--ui-warning)}
body.dashboard-mode .resource-meter{height:4px}

.page:not(.dashboard-page){font-size:14px}
.page:not(.dashboard-page) .page-head h2{font-size:24px}
.page:not(.dashboard-page) .page-head p,
.page:not(.dashboard-page) .card p,
.page:not(.dashboard-page) .field,
.page:not(.dashboard-page) .data-table{font-size:14px}
.page:not(.dashboard-page) .card-title h3{font-size:17px}

@media(max-width:1450px){
  body.dashboard-mode .top-actions{min-width:430px}
  body.dashboard-mode .date-time{display:none}
  body.dashboard-mode .dashboard-upper{grid-template-columns:minmax(0,1fr) 290px}
  body.dashboard-mode .summary-card small{font-size:12px}
  body.dashboard-mode .summary-card strong{font-size:28px}
  body.dashboard-mode .resource-row>div{padding-left:7px;padding-right:7px}
  body.dashboard-mode .resource-row strong{font-size:22px}
  body.dashboard-mode .resource-row strong.resource-model{font-size:14px}
}

@media(max-height:900px){
  body.dashboard-mode .topbar{height:80px}
  body.dashboard-mode .dashboard-page{grid-template-rows:minmax(0,1fr) 150px}
  body.dashboard-mode .dashboard-left{grid-template-rows:168px minmax(0,1fr) 195px}
  body.dashboard-mode .dashboard-right{grid-template-rows:360px minmax(0,1fr)}
}

@media(max-width:1450px) and (max-height:900px){
  .app-shell{grid-template-columns:194px minmax(0,1fr)}
  .brand strong{font-size:13px;white-space:normal;overflow:visible}
  body.dashboard-mode .main-area{padding:0 10px}
  body.dashboard-mode .topbar{height:76px}
  body.dashboard-mode #page-content{padding:0}
  body.dashboard-mode .dashboard-page{grid-template-rows:minmax(0,1fr) 147px;gap:10px}
  body.dashboard-mode .dashboard-left{grid-template-rows:164px minmax(0,1fr) 195px}
  body.dashboard-mode .dashboard-right{grid-template-rows:371px minmax(0,1fr)}
}

/* Homepage quick actions candidate: the assistant remains on its own page,
   while the freed right-column space becomes a scrollable operations panel. */
body.dashboard-mode .dashboard-right{display:block;min-height:0;overflow:hidden}
body.dashboard-mode .dashboard-page .quick-card{height:100%;min-height:0;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;background:var(--ui-panel);border-color:var(--ui-line);color:var(--ui-text)}
body.dashboard-mode .quick-card>.card-title{flex:none;display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:var(--ui-text)}
body.dashboard-mode .quick-card>.card-title h3{color:var(--ui-text);font-size:17px}
body.dashboard-mode .quick-card>.card-title small{display:block;color:var(--ui-muted);font-size:10px;letter-spacing:.08em}
.quick-live-status{border:1px solid var(--ui-line);border-radius:999px;padding:3px 7px;color:var(--ui-success);font-size:10px;white-space:nowrap}
.ing-home-card{flex:none;border:1px solid var(--ui-line);border-radius:6px;padding:10px;margin:0 0 9px;background:var(--ui-panel);color:var(--ui-text)}
.ing-home-head{display:flex;align-items:center;gap:8px;min-width:0}.ing-home-head>span:nth-child(2){min-width:0;flex:1}.ing-home-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:5px;background:var(--ui-subtle);color:var(--ui-accent)}.ing-home-icon .home-icon{width:19px;height:19px}.ing-home-head strong,.ing-home-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ing-home-head strong{font-size:13px;color:var(--ui-text)}.ing-home-head small{margin-top:2px;color:var(--ui-muted);font-size:9px}.ing-home-state{display:inline-flex;align-items:center;gap:4px;flex:none;font-size:10px;color:var(--ui-success)}.ing-home-state i,.ing-home-disk i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ui-success);box-shadow:0 0 0 3px rgba(67,215,154,.12)}.ing-home-state.warn,.ing-home-state.warn i{color:var(--ui-warning)}.ing-home-state.warn i{background:var(--ui-warning);box-shadow:0 0 0 3px rgba(224,173,53,.12)}.ing-home-state.error,.ing-home-state.error i{color:var(--ui-danger)}.ing-home-state.error i{background:var(--ui-danger);box-shadow:0 0 0 3px rgba(223,102,93,.12)}
.ing-home-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-top:9px}.ing-home-metric{min-width:0;border-top:1px solid rgba(157,216,225,.16);padding-top:6px}.ing-home-metric small,.ing-home-metric strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ing-home-metric small{color:var(--ui-muted);font-size:8px}.ing-home-metric strong{margin-top:3px;color:var(--ui-text);font-size:16px;font-weight:600}.ing-home-metric.warn strong{color:var(--ui-warning)}.ing-home-metric.error strong{color:var(--ui-danger)}.ing-home-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px}.ing-home-disk{display:flex;align-items:center;gap:5px;min-width:0;color:var(--ui-muted)}.ing-home-disk small{font-size:8px}.ing-home-disk b{font-size:9px;font-weight:500;color:var(--ui-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ing-home-disk.warn i{background:var(--ui-warning);box-shadow:0 0 0 3px rgba(224,173,53,.12)}.ing-home-disk.error i{background:var(--ui-danger);box-shadow:0 0 0 3px rgba(223,102,93,.12)}
body.dashboard-mode .ing-home-foot .button{flex:none;padding:5px 7px;font-size:10px;background:var(--ui-subtle);border-color:var(--ui-border-strong);color:var(--ui-text)}
body.dashboard-mode .quick-grid{flex:1;min-height:0;height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(82px,auto);align-content:start;gap:7px;overflow-y:auto;padding:0 5px 4px 0;scrollbar-width:thin;scrollbar-color:var(--ui-border-strong) transparent}
body.dashboard-mode .quick-grid::-webkit-scrollbar{width:5px}body.dashboard-mode .quick-grid::-webkit-scrollbar-thumb{background:var(--ui-subtle);border-radius:5px}
body.dashboard-mode .quick-btn{position:relative;min-width:0;min-height:82px;height:auto;box-sizing:border-box;padding:10px 8px 24px 42px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-panel);color:var(--ui-text);text-align:left;transition:border-color .15s,background .15s,transform .15s}
body.dashboard-mode .quick-btn:hover{border-color:var(--ui-accent);background:var(--ui-selected)}.quick-btn .quick-symbol{left:8px;top:12px;width:21px;height:21px;background:var(--ui-panel);color:var(--ui-accent)}.quick-btn b{display:block;padding-right:14px;color:var(--ui-text);font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-btn small{display:block;margin-top:4px;color:var(--ui-muted);font-size:9px;line-height:1.3;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.quick-btn-external{border-color:var(--ui-line);background:var(--ui-panel)}.quick-btn-external .quick-symbol{background:var(--ui-warning-bg);color:var(--ui-warning)}.quick-warning{display:block;margin-top:3px;color:var(--ui-warning);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-badge{position:absolute;right:7px;top:6px;min-width:18px;padding:2px 5px;border-radius:999px;background:var(--ui-warning-bg);color:var(--ui-warning);font-size:10px;font-style:normal;text-align:center}.quick-btn:nth-child(5) .quick-symbol,.quick-btn:nth-child(6) .quick-symbol{background:var(--ui-panel);color:var(--ui-accent)}.quick-btn:nth-child(7) .quick-symbol{background:var(--ui-panel);color:var(--ui-success)}.quick-btn:nth-child(8) .quick-symbol{background:var(--ui-panel);color:var(--ui-text)}.quick-btn:nth-child(9) .quick-symbol{background:var(--ui-warning-bg);color:var(--ui-warning)}.quick-btn:nth-child(12) .quick-symbol{background:var(--ui-panel);color:var(--ui-danger)}
.quick-btn:hover{transform:translateY(-1px)}.quick-btn .quick-symbol{left:10px;top:11px;width:25px;height:25px;border-radius:6px}.quick-btn .quick-symbol .home-icon{width:18px;height:18px}.quick-copy{display:block;min-width:0}.quick-btn .quick-copy>b{display:block;padding-right:18px;color:var(--ui-text);font-size:12px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}.quick-btn .quick-copy>small{display:-webkit-box;margin-top:4px;color:var(--ui-muted);font-size:9px;line-height:1.35;white-space:normal;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.quick-open{position:absolute;left:42px;bottom:7px;color:var(--ui-accent);font-size:9px;font-weight:600}.quick-open b{display:inline;padding:0;color:inherit;font-size:10px;overflow:visible}.quick-btn-external .quick-copy>small{-webkit-line-clamp:1}.quick-warning{position:static;display:block;max-width:100%;margin-top:2px;color:var(--ui-warning);font-size:8px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.resource-detail-page{min-height:0}.resource-detail-card{min-height:0;overflow:auto}.resource-detail-card .resource-panel{margin:0 0 12px}.resource-detail-card .resource-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.resource-detail-card .resource-row>div{border:1px solid var(--ui-line);border-radius:5px;padding:10px;background:var(--ui-panel)}.resource-detail-card .resource-row small{font-size:11px}.resource-detail-card .resource-row strong{font-size:22px;color:var(--ui-text)}.resource-detail-card .resource-row span{font-size:10px;color:var(--ui-muted)}
@media(max-width:1450px){body.dashboard-mode .quick-btn{min-height:60px;padding-left:33px}body.dashboard-mode .quick-btn b{font-size:11px}body.dashboard-mode .quick-btn small{font-size:9px}.ing-home-card{padding:8px}.ing-home-head strong{font-size:12px}.ing-home-metric strong{font-size:15px}}
@media(max-height:900px){body.dashboard-mode .quick-grid{grid-auto-rows:minmax(78px,auto)}body.dashboard-mode .quick-btn{min-height:78px;padding-top:8px}.ing-home-card{margin-bottom:7px;padding:7px}.ing-home-metrics{margin-top:6px}.ing-home-foot{margin-top:6px}}
body.dashboard-mode .quick-btn-image{border-color:var(--ui-line);background:var(--ui-panel)}body.dashboard-mode .quick-btn-image .quick-symbol{background:var(--ui-subtle);color:var(--ui-text)}

/* Keep the compact dashboard cards on the shared workspace palette. */
body.dashboard-mode .dashboard-page .card{
  background:var(--ui-panel);
  border-color:var(--ui-line);
  box-shadow:none;
  color:var(--ui-text);
}
body.dashboard-mode .dashboard-page .card .card-title h3,
body.dashboard-mode .dashboard-page .card .home-link,
body.dashboard-mode .dashboard-page .card .compact-empty,
body.dashboard-mode .dashboard-page .card .activity-copy strong,
body.dashboard-mode .dashboard-page .card .activity-copy small,
body.dashboard-mode .dashboard-page .card .activity-time,
body.dashboard-mode .dashboard-page .card .mini-item strong,
body.dashboard-mode .dashboard-page .card .mini-item small,
body.dashboard-mode .dashboard-page .card .mini-item time,
body.dashboard-mode .dashboard-page .card .project-line strong,
body.dashboard-mode .dashboard-page .card .project-line .pill,
body.dashboard-mode .dashboard-page .card .progress-inline b,
body.dashboard-mode .dashboard-page .card .card-title small,
body.dashboard-mode .dashboard-page .card .home-scheduled-state,
body.dashboard-mode .dashboard-page .card .home-scheduled-state strong,
body.dashboard-mode .dashboard-page .card .home-scheduled-state small{
  color:inherit;
}
body.dashboard-mode .activity-tabs{border-bottom-color:var(--ui-line)}
body.dashboard-mode .activity-tabs button{color:var(--ui-muted)}
body.dashboard-mode .activity-tabs button.active{color:var(--ui-accent);border-bottom-color:var(--ui-accent)}
body.dashboard-mode .activity-row{border-bottom-color:var(--ui-line)}
body.dashboard-mode .activity-icon{background:var(--ui-subtle);color:var(--ui-accent)}
body.dashboard-mode .activity-row:nth-child(2) .activity-icon{background:var(--ui-subtle);color:var(--ui-success)}
body.dashboard-mode .activity-row:nth-child(3) .activity-icon{background:var(--ui-warning-bg);color:var(--ui-danger)}
body.dashboard-mode .activity-row:nth-child(4) .activity-icon{background:var(--ui-subtle);color:var(--ui-accent)}
body.dashboard-mode .mini-item{border-bottom-color:var(--ui-line)}
body.dashboard-mode .mini-item .activity-icon{background:var(--ui-subtle);color:var(--ui-danger)}
body.dashboard-mode .mini-item .approval-icon{background:var(--ui-subtle);color:var(--ui-warning)}
body.dashboard-mode .project-line{border-bottom-color:var(--ui-line)}
body.dashboard-mode .project-line .pill{background:var(--ui-subtle);color:var(--ui-accent)}
body.dashboard-mode .progress-inline i{background:var(--ui-accent)}
body.dashboard-mode .progress-inline i u{background:var(--ui-accent)}
body.dashboard-mode .home-scheduled-state{background:var(--ui-subtle);border-color:var(--ui-line)}
body.dashboard-mode .home-scheduled-state i{background:var(--ui-subtle)}
