/* StageBase v6.0 — clean Admin Dashboard UI
   One coherent theme. No legacy dark overrides, no stacked version patches. */
:root{
  --sb-bg:#f4f7fa;
  --sb-surface:#ffffff;
  --sb-surface-2:#f8fafc;
  --sb-line:#e8edf2;
  --sb-line-2:#dde5ec;
  --sb-text:#172033;
  --sb-text-2:#445168;
  --sb-muted:#8b98aa;
  --sb-brand:#18b8a7;
  --sb-brand-dark:#0f9486;
  --sb-brand-soft:#e9f8f5;
  --sb-blue:#4f7cf3;
  --sb-blue-soft:#eef3ff;
  --sb-green:#22b573;
  --sb-green-soft:#eaf8f0;
  --sb-orange:#f4a11e;
  --sb-orange-soft:#fff5df;
  --sb-red:#f15d63;
  --sb-red-soft:#fff0f1;
  --sb-sidebar:232px;
  --sb-radius:11px;
  --sb-shadow:0 8px 28px rgba(31,55,77,.055);
  --sb-shadow-hover:0 14px 36px rgba(31,55,77,.095);
  --sb-motion:cubic-bezier(.2,.8,.2,1);
  color-scheme:light;
}
html{background:var(--sb-bg)!important;color-scheme:light!important}
body.sb-web{margin:0!important;background:var(--sb-bg)!important;color:var(--sb-text)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:14px!important;letter-spacing:-.01em!important}
body.sb-web::before{display:none!important;content:none!important}
body.sb-web *{box-sizing:border-box}
body.sb-web a{color:inherit}
body.sb-web svg{display:block}
body.sb-web .app-shell{display:grid!important;grid-template-columns:var(--sb-sidebar) minmax(0,1fr)!important;min-height:100vh!important;background:var(--sb-bg)!important}

/* sidebar */
body.sb-web .sidebar{position:sticky!important;top:0!important;width:var(--sb-sidebar)!important;max-width:var(--sb-sidebar)!important;height:100vh!important;display:flex!important;flex-direction:column!important;padding:20px 14px 14px!important;background:#fff!important;border-right:1px solid #edf1f4!important;box-shadow:none!important;z-index:40!important}
body.sb-web .brand{display:flex!important;align-items:center!important;gap:10px!important;margin:0 4px 20px!important;padding:0!important;border:0!important;background:transparent!important}
body.sb-web .brand-mark.stagebase-logo-mark{width:42px!important;height:42px!important;min-width:42px!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:1fr!important;place-items:center!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.sb-web .brand-mark.stagebase-logo-mark img{display:block!important;width:42px!important;height:42px!important;object-fit:contain!important}
body.sb-web .brand-title{font-size:1.02rem!important;font-weight:820!important;line-height:1!important;letter-spacing:-.04em!important;color:#172033!important}
body.sb-web .brand-subtitle{margin-top:5px!important;font-size:.50rem!important;font-weight:760!important;line-height:1!important;letter-spacing:.17em!important;color:#a3adba!important;text-transform:uppercase!important}
body.sb-web .nav{display:flex!important;flex-direction:column!important;gap:3px!important;padding:0!important;margin:0!important}
body.sb-web .nav-section-title{margin:15px 10px 7px!important;padding:0!important;color:#a7b0bd!important;font-size:.54rem!important;font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important}
body.sb-web .nav-link{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:42px!important;padding:6px 9px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#68778a!important;text-decoration:none!important;font-size:.73rem!important;font-weight:680!important;box-shadow:none!important;transition:background .17s ease,color .17s ease,transform .17s var(--sb-motion)!important}
body.sb-web .nav-link:hover{background:#f5faf9!important;color:#24354a!important;transform:translateX(2px)!important}
body.sb-web .nav-link.active{background:#e5f7f4!important;color:#0d8f82!important}
body.sb-web .nav-link.active::before{content:""!important;position:absolute!important;left:-14px!important;top:8px!important;bottom:8px!important;width:3px!important;border-radius:0 4px 4px 0!important;background:var(--sb-brand)!important}
body.sb-web .nav-icon{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;padding:7px!important;border:0!important;border-radius:8px!important;background:#f5f7fa!important;color:#8c98a8!important}
body.sb-web .nav-link.active .nav-icon{background:#fff!important;color:var(--sb-brand)!important;box-shadow:0 4px 12px rgba(18,183,164,.10)!important}
body.sb-web .nav-link:hover .nav-icon{transform:scale(1.05)!important}
body.sb-web .nav-collapsible{margin:5px 0 0!important}
body.sb-web .nav-collapsible>summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:10px 9px 5px!important;color:#9da7b5!important;font-size:.54rem!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;cursor:pointer!important}
body.sb-web .nav-collapsible>summary::-webkit-details-marker{display:none!important}
body.sb-web .nav-chevron{width:14px!important;height:14px!important;transition:transform .2s ease!important}
body.sb-web .nav-collapsible[open] .nav-chevron{transform:rotate(180deg)!important}
body.sb-web .nav-group-items{display:flex!important;flex-direction:column!important;gap:3px!important}
body.sb-web .nav-account-title{margin-top:12px!important}
body.sb-web .sidebar-user{margin-top:auto!important;display:flex!important;align-items:center!important;gap:9px!important;padding:9px!important;border:0!important;border-radius:10px!important;background:#f7f9fb!important;text-decoration:none!important;color:inherit!important;box-shadow:none!important}
body.sb-web .sidebar-user:hover{background:#eef7f6!important}
body.sb-web .sidebar-user .avatar{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:#e9f8f5!important;color:#0d9688!important;font-weight:800!important}
body.sb-web .sidebar-user strong{display:block!important;font-size:.71rem!important;color:#344054!important}
body.sb-web .sidebar-user span{display:block!important;margin-top:3px!important;font-size:.57rem!important;color:#98a2b3!important}
body.sb-web .mobile-menu-toggle{display:none!important}

/* main + topbar */
body.sb-web .main{min-width:0!important;width:100%!important;margin-left:0!important;padding:0 24px 36px!important;background:var(--sb-bg)!important;color:var(--sb-text)!important}
body.sb-web .topbar{min-height:70px!important;display:grid!important;grid-template-columns:minmax(210px,.7fr) minmax(360px,1.5fr) auto!important;align-items:center!important;gap:18px!important;margin:0 -24px 20px!important;padding:0 24px!important;border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;background:rgba(255,255,255,.97)!important;box-shadow:none!important;backdrop-filter:blur(12px)!important;position:sticky!important;top:0!important;z-index:25!important}
body.sb-web .topbar-heading{display:grid!important;grid-template-columns:auto auto!important;align-items:end!important;justify-content:start!important;gap:0 9px!important;min-width:0!important}
body.sb-web .topbar-kicker{grid-column:1/-1!important;margin-bottom:3px!important;color:#a5afbd!important;font-size:.50rem!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important}
body.sb-web .topbar h1{margin:0!important;color:#172033!important;font-size:1.06rem!important;font-weight:790!important;letter-spacing:-.035em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.sb-web .topbar-heading p{margin:0 0 1px!important;color:#a1aab8!important;font-size:.56rem!important;white-space:nowrap!important}
body.sb-web .topbar-search{position:relative!important;display:flex!important;align-items:center!important;width:100%!important;max-width:620px!important;justify-self:center!important}
body.sb-web .topbar-search>.ui-icon{position:absolute!important;left:14px!important;width:17px!important;height:17px!important;color:#9aa5b5!important;z-index:2!important}
body.sb-web .topbar-search input{width:100%!important;height:42px!important;padding:0 14px 0 42px!important;border:1px solid #e7ecf1!important;border-radius:10px!important;background:#fbfcfe!important;color:#344054!important;font-size:.70rem!important;outline:none!important;box-shadow:none!important}
body.sb-web .topbar-search input:focus{background:#fff!important;border-color:#b9e6df!important;box-shadow:0 0 0 4px rgba(24,184,167,.07)!important}
body.sb-web .topbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}
body.sb-web .top-notification-link{position:relative!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:10px!important;background:#f7f9fb!important;color:#7d8998!important;text-decoration:none!important}
body.sb-web .top-notification-link>.ui-icon{width:18px!important;height:18px!important}
body.sb-web .top-notification-link strong{position:absolute!important;right:-3px!important;top:-3px!important;min-width:17px!important;height:17px!important;display:grid!important;place-items:center!important;padding:0 4px!important;border-radius:99px!important;background:var(--sb-red)!important;color:#fff!important;font-size:.52rem!important}
body.sb-web .top-user-menu{position:relative!important}
body.sb-web .top-user-menu>summary{list-style:none!important;display:flex!important;align-items:center!important;gap:9px!important;min-height:42px!important;padding:5px 8px 5px 6px!important;border:0!important;border-radius:10px!important;background:#f7f9fb!important;cursor:pointer!important}
body.sb-web .top-user-menu>summary::-webkit-details-marker{display:none!important}
body.sb-web .top-user-avatar{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:var(--brand-soft)!important;background:#e9f8f5!important;color:#0d9487!important;font-size:.70rem!important;font-weight:800!important}
body.sb-web .top-user-copy strong{display:block!important;color:#344054!important;font-size:.66rem!important;line-height:1.1!important}
body.sb-web .top-user-copy small{display:block!important;margin-top:3px!important;color:#9da7b5!important;font-size:.53rem!important}
body.sb-web .top-user-chevron{width:14px!important;height:14px!important;color:#9da6b4!important}
body.sb-web .top-user-dropdown,body.sb-web .toolbar-menu-dropdown,body.sb-web .asset-row-dropdown{position:absolute!important;right:0!important;top:calc(100% + 7px)!important;min-width:180px!important;padding:6px!important;border:1px solid var(--sb-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:0 18px 42px rgba(31,55,77,.12)!important;z-index:100!important}
body.sb-web .top-user-dropdown a,body.sb-web .toolbar-menu-dropdown a,body.sb-web .asset-row-dropdown a{display:flex!important;align-items:center!important;gap:8px!important;min-height:36px!important;padding:7px 9px!important;border-radius:7px!important;color:#475467!important;text-decoration:none!important;font-size:.68rem!important;font-weight:650!important}
body.sb-web .top-user-dropdown a:hover,body.sb-web .toolbar-menu-dropdown a:hover,body.sb-web .asset-row-dropdown a:hover{background:#f6f8fb!important}

/* shared controls */
body.sb-web .ui-icon{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;width:16px!important;height:16px!important;line-height:0!important;overflow:hidden!important}
body.sb-web .ui-icon svg{width:100%!important;height:100%!important}
body.sb-web .btn,body.sb-web button.btn,body.sb-web a.btn{min-height:39px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 13px!important;border:1px solid #e5eaf0!important;border-radius:8px!important;background:#fff!important;color:#4a586b!important;font-family:inherit!important;font-size:.67rem!important;font-weight:730!important;line-height:1!important;text-decoration:none!important;cursor:pointer!important;box-shadow:0 2px 7px rgba(31,55,77,.025)!important;transition:transform .16s var(--sb-motion),box-shadow .18s ease,background .18s ease!important}
body.sb-web .btn:hover{transform:translateY(-1px)!important;box-shadow:0 7px 16px rgba(31,55,77,.07)!important}
body.sb-web .btn:active{transform:scale(.98)!important}
body.sb-web .btn.primary{border-color:transparent!important;background:linear-gradient(135deg,#1cc2af,#10a894)!important;color:#fff!important;box-shadow:0 7px 17px rgba(17,172,154,.17)!important}
body.sb-web .btn.ghost{background:#fff!important;color:#536075!important}
body.sb-web .btn.danger,body.sb-web .danger-btn{background:#fff4f4!important;border-color:#f5d8da!important;color:#c9454b!important}
body.sb-web .btn.small{min-height:34px!important;padding:0 10px!important;font-size:.63rem!important}
body.sb-web input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),body.sb-web select,body.sb-web textarea{width:100%!important;min-height:40px!important;padding:9px 11px!important;border:1px solid #e2e8ef!important;border-radius:8px!important;background:#fff!important;color:#344054!important;font-family:inherit!important;font-size:.70rem!important;outline:none!important;box-shadow:none!important}
body.sb-web input:focus,body.sb-web select:focus,body.sb-web textarea:focus{border-color:#b8e5de!important;box-shadow:0 0 0 4px rgba(24,184,167,.065)!important}
body.sb-web label{color:#66758a!important;font-size:.66rem!important;font-weight:680!important}
body.sb-web label>span,body.sb-web .filter-search-v3>span{display:block!important;margin-bottom:6px!important;font-size:.55rem!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#8d99aa!important}
body.sb-web .eyebrow{display:block!important;color:#10a995!important;font-size:.55rem!important;font-weight:820!important;letter-spacing:.12em!important;text-transform:uppercase!important}
body.sb-web .badge,body.sb-web [class*="badge-"]{display:inline-flex!important;align-items:center!important;min-height:23px!important;padding:3px 7px!important;border:1px solid transparent!important;border-radius:6px!important;font-size:.56rem!important;font-weight:760!important;line-height:1!important}
body.sb-web .badge-ok,body.sb-web .badge.green,body.sb-web .badge.status-active,body.sb-web .badge.status-warehouse{background:var(--sb-green-soft)!important;color:#16804b!important;border-color:#d6eedf!important}
body.sb-web .badge-info,body.sb-web .badge.blue,body.sb-web .badge.status-in_use{background:var(--sb-blue-soft)!important;color:#4167d3!important;border-color:#dbe4ff!important}
body.sb-web .badge-warn{background:var(--sb-orange-soft)!important;color:#9a6816!important;border-color:#f5e1b8!important}
body.sb-web .badge-danger{background:var(--sb-red-soft)!important;color:#bf4b50!important;border-color:#f4d6d8!important}
body.sb-web .badge-muted,body.sb-web .badge-neutral{background:#f2f5f8!important;color:#6f7c8e!important;border-color:#e6ebf0!important}
body.sb-web .card,body.sb-web .soft-card,body.sb-web .panel,body.sb-web .panel-card,body.sb-web .table-card{background:#fff!important;color:var(--sb-text-2)!important;border:0!important;border-radius:10px!important;box-shadow:var(--sb-shadow)!important}
body.sb-web .card{padding:17px!important}
body.sb-web table{width:100%!important;border-collapse:collapse!important;background:transparent!important;color:#475467!important}
body.sb-web th{padding:10px 12px!important;background:#f7f9fb!important;color:#8b96a6!important;font-size:.56rem!important;font-weight:800!important;letter-spacing:.07em!important;text-transform:uppercase!important;border:0!important;border-bottom:1px solid #edf1f5!important}
body.sb-web td{padding:11px 12px!important;border:0!important;border-bottom:1px solid #eef2f5!important;color:#4c596c!important;font-size:.67rem!important}
body.sb-web tbody tr:hover{background:#fbfdfd!important}

/* loader + effects */
body.sb-web.sb-loading{overflow:hidden!important}
body.sb-web .sb-page-loader{position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;background:rgba(247,250,252,.97)!important;backdrop-filter:blur(14px)!important;transition:opacity .35s ease,visibility .35s ease!important}
body.sb-web:not(.sb-loading) .sb-page-loader{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
body.sb-web .sb-loader-core{position:relative!important;width:56px!important;height:56px!important}
body.sb-web .sb-loader-ring{position:absolute!important;inset:0!important;border:3px solid transparent!important;border-radius:50%!important}
body.sb-web .sb-loader-ring-a{border-top-color:var(--sb-brand)!important;border-right-color:var(--sb-brand)!important;animation:sbspin .78s linear infinite!important}
body.sb-web .sb-loader-ring-b{inset:8px!important;border-width:2px!important;border-bottom-color:var(--sb-blue)!important;border-left-color:var(--sb-blue)!important;animation:sbspin 1.1s linear reverse infinite!important}
body.sb-web .sb-loader-dot{position:absolute!important;left:50%!important;top:50%!important;width:9px!important;height:9px!important;margin:-4.5px!important;border-radius:50%!important;background:var(--sb-brand)!important;box-shadow:0 0 0 7px rgba(24,184,167,.08)!important}
body.sb-web .sb-loader-copy{text-align:center!important}
body.sb-web .sb-loader-copy strong{display:block!important;color:#172033!important;font-size:.86rem!important}
body.sb-web .sb-loader-copy span{display:block!important;margin-top:3px!important;color:#8f9bab!important;font-size:.60rem!important}
body.sb-web .sb-loader-progress{width:126px!important;height:3px!important;overflow:hidden!important;border-radius:99px!important;background:#e8edf3!important}
body.sb-web .sb-loader-progress i{display:block!important;width:48%!important;height:100%!important;background:linear-gradient(90deg,var(--sb-brand),var(--sb-blue))!important;animation:sbloader 1.1s ease-in-out infinite alternate!important}
@keyframes sbspin{to{transform:rotate(360deg)}}
@keyframes sbloader{from{transform:translateX(-70%)}to{transform:translateX(155%)}}
body.sb-web .sb-ripple{position:absolute!important;width:8px!important;height:8px!important;margin:-4px 0 0 -4px!important;border-radius:50%!important;background:rgba(255,255,255,.5)!important;transform:scale(0)!important;pointer-events:none!important;animation:sbripple .58s ease-out forwards!important}
@keyframes sbripple{to{transform:scale(24);opacity:0}}
body.sb-web.sb-navigating .main::after{content:""!important;position:fixed!important;left:var(--sb-sidebar)!important;right:0!important;top:0!important;height:2px!important;z-index:99998!important;background:linear-gradient(90deg,transparent,var(--sb-brand),var(--sb-blue),transparent)!important;background-size:220% 100%!important;animation:sbnavprogress .8s linear infinite!important}
@keyframes sbnavprogress{from{background-position:100% 0}to{background-position:-120% 0}}

/* dashboard */
body.sb-web.route-dashboard .topbar-heading{display:none!important}
body.sb-web.route-dashboard .topbar{grid-template-columns:minmax(0,1fr) auto!important}
body.sb-web.route-dashboard .topbar-search{justify-self:start!important;max-width:760px!important;width:min(760px,75vw)!important}
body.sb-web .dashboard-v4{width:100%!important;max-width:1500px!important;margin:0 auto!important;background:transparent!important;color:var(--sb-text)!important}
body.sb-web .dashboard-context-title{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:15px!important;padding:0 3px 12px!important}
body.sb-web .dashboard-context-title>div{display:flex!important;align-items:baseline!important;gap:9px!important}
body.sb-web .dashboard-context-title span{font-size:.59rem!important;color:#9ba6b5!important;font-weight:700!important}
body.sb-web .dashboard-context-title h2{margin:0!important;color:#172033!important;font-size:1.42rem!important;font-weight:810!important;letter-spacing:-.045em!important}
body.sb-web .dashboard-context-title time{color:#a1abb9!important;font-size:.58rem!important}
body.sb-web .dashboard-page-head.dashboard-welcome-hero{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(250px,.72fr) minmax(255px,.62fr)!important;align-items:center!important;gap:18px!important;min-height:128px!important;margin:0 0 13px!important;padding:18px 18px 18px 22px!important;border:0!important;border-radius:12px!important;background:linear-gradient(105deg,#eaf9f8 0%,#f0fbfa 48%,#ddf7f4 100%)!important;box-shadow:0 8px 30px rgba(36,95,100,.055)!important;overflow:hidden!important}
body.sb-web .dashboard-page-head.dashboard-welcome-hero::after{content:""!important;position:absolute!important;right:21%!important;top:-65px!important;width:240px!important;height:240px!important;border-radius:50%!important;background:rgba(255,255,255,.42)!important;filter:blur(1px)!important}
body.sb-web .dashboard-welcome-copy{position:relative!important;z-index:2!important}
body.sb-web .dashboard-welcome-copy h2{margin:5px 0 5px!important;color:#14213a!important;font-size:1.72rem!important;font-weight:820!important;letter-spacing:-.05em!important}
body.sb-web .dashboard-welcome-copy p{margin:0!important;max-width:650px!important;color:#718299!important;font-size:.68rem!important;line-height:1.45!important}
body.sb-web .welcome-wave{display:inline-block!important;transform-origin:70% 70%!important;animation:sbwave 4.2s ease-in-out infinite!important}
@keyframes sbwave{0%,75%,100%{transform:rotate(0)}80%{transform:rotate(16deg)}84%{transform:rotate(-9deg)}88%{transform:rotate(13deg)}92%{transform:rotate(0)}}
body.sb-web .dashboard-hero-art{position:relative!important;z-index:2!important;height:96px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.sb-web .dashboard-hero-art img{display:block!important;width:min(100%,320px)!important;height:108px!important;object-fit:contain!important;filter:drop-shadow(0 10px 16px rgba(37,84,90,.10))!important;transition:transform .28s var(--sb-motion)!important}
body.sb-web .dashboard-page-head:hover .dashboard-hero-art img{transform:translateY(-3px) scale(1.015)!important}
body.sb-web .dashboard-quick-actions-card{position:relative!important;z-index:2!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:9px!important;padding:13px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.78)!important;box-shadow:0 8px 26px rgba(36,80,87,.06)!important;backdrop-filter:blur(9px)!important}
body.sb-web .dashboard-quick-actions-card>span{font-size:.61rem!important;color:#43526a!important;font-weight:790!important}
body.sb-web .dashboard-quick-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
body.sb-web .dashboard-kpi-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:13px!important}
body.sb-web .dashboard-kpi{min-height:102px!important;display:grid!important;grid-template-columns:46px minmax(0,1fr) 60px!important;align-items:center!important;gap:12px!important;padding:14px 15px!important;border:0!important;border-radius:11px!important;background:#fff!important;color:inherit!important;text-decoration:none!important;box-shadow:var(--sb-shadow)!important;transition:transform .2s var(--sb-motion),box-shadow .2s ease!important}
body.sb-web a.dashboard-kpi:hover{transform:translateY(-3px)!important;box-shadow:var(--sb-shadow-hover)!important}
body.sb-web .kpi-icon{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border-radius:11px!important}
body.sb-web .kpi-icon>.ui-icon{width:20px!important;height:20px!important}
body.sb-web .tone-blue .kpi-icon{background:var(--sb-blue-soft)!important;color:var(--sb-blue)!important}
body.sb-web .tone-orange .kpi-icon{background:var(--sb-orange-soft)!important;color:var(--sb-orange)!important}
body.sb-web .tone-red .kpi-icon{background:var(--sb-red-soft)!important;color:var(--sb-red)!important}
body.sb-web .tone-green .kpi-icon{background:var(--sb-green-soft)!important;color:var(--sb-green)!important}
body.sb-web .kpi-copy small{display:block!important;margin-bottom:2px!important;color:#8793a5!important;font-size:.58rem!important;font-weight:680!important}
body.sb-web .kpi-copy strong{display:block!important;color:#14213a!important;font-size:1.55rem!important;font-weight:820!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
body.sb-web .kpi-copy span{display:block!important;margin-top:5px!important;color:#a0aab8!important;font-size:.53rem!important;white-space:nowrap!important}
body.sb-web .kpi-trend{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:2px!important;color:#34c79a!important}
body.sb-web .kpi-trend svg{width:52px!important;height:24px!important;overflow:visible!important}
body.sb-web .kpi-trend svg path{fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.sb-web .kpi-trend small{font-size:.50rem!important;font-weight:800!important}
body.sb-web .tone-orange .kpi-trend{color:#f3a11c!important}body.sb-web .tone-red .kpi-trend{color:#ff7379!important}body.sb-web .tone-green .kpi-trend{color:#35c98f!important}
body.sb-web .dashboard-main-grid{display:grid!important;grid-template-columns:minmax(0,2.15fr) minmax(300px,.9fr)!important;gap:13px!important;margin-bottom:13px!important}
body.sb-web .dashboard-lower-grid{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(310px,.95fr)!important;gap:13px!important;margin-bottom:13px!important}
body.sb-web .dashboard-panel{padding:17px 18px!important;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important;color:var(--sb-text-2)!important;transition:transform .2s var(--sb-motion),box-shadow .2s ease!important}
body.sb-web .dashboard-panel:hover{transform:translateY(-1px)!important;box-shadow:0 12px 32px rgba(31,55,77,.072)!important}
body.sb-web .dashboard-panel-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:11px!important}
body.sb-web .dashboard-panel-head h2{margin:4px 0 0!important;color:#1d2a40!important;font-size:.86rem!important;font-weight:790!important;letter-spacing:-.025em!important}
body.sb-web .period-pill,body.sb-web .panel-subtle,body.sb-web .panel-count{display:inline-flex!important;align-items:center!important;min-height:27px!important;padding:0 9px!important;border:0!important;border-radius:7px!important;background:#f5f7fa!important;color:#8190a3!important;font-size:.54rem!important;font-weight:720!important}
body.sb-web .panel-count{min-width:27px!important;justify-content:center!important;background:#fff0f1!important;color:#ef5d63!important}
body.sb-web .panel-link{display:inline-flex!important;align-items:center!important;gap:4px!important;color:#536176!important;text-decoration:none!important;font-size:.58rem!important;font-weight:730!important}
body.sb-web .panel-link .ui-icon{width:14px!important;height:14px!important}
body.sb-web .activity-chart-card{min-height:324px!important}
body.sb-web .activity-chart-wrap{position:relative!important}
body.sb-web .activity-chart-summary{display:flex!important;align-items:baseline!important;gap:6px!important;margin:1px 0 4px!important}
body.sb-web .activity-chart-summary strong{font-size:1.05rem!important;color:#1d2a40!important;font-variant-numeric:tabular-nums!important}
body.sb-web .activity-chart-summary span{color:#a1abb8!important;font-size:.55rem!important}
body.sb-web .activity-chart{width:100%!important;height:214px!important}
body.sb-web .chart-grid-line{stroke:#edf1f5!important;stroke-width:1!important}
body.sb-web .chart-line{fill:none!important;stroke:var(--sb-blue)!important;stroke-width:2.1!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.sb-web .chart-dot{fill:#fff!important;stroke:var(--sb-blue)!important;stroke-width:2!important;transform-box:fill-box!important;transform-origin:center!important}
body.sb-web .chart-labels{display:grid!important;grid-template-columns:repeat(14,1fr)!important;gap:0!important;margin-top:-3px!important;color:#adb6c2!important;font-size:.49rem!important;text-align:center!important}
body.sb-web .attention-feed{display:flex!important;flex-direction:column!important}
body.sb-web .attention-item{display:grid!important;grid-template-columns:38px minmax(0,1fr) 16px!important;align-items:center!important;gap:10px!important;min-height:62px!important;padding:8px 0!important;border-bottom:1px solid #eef2f5!important;text-decoration:none!important;color:inherit!important}
body.sb-web .attention-item:last-child{border-bottom:0!important}
body.sb-web .attention-icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:var(--sb-blue-soft)!important;color:var(--sb-blue)!important}
body.sb-web .attention-icon>.ui-icon{width:18px!important;height:18px!important}
body.sb-web .tone-warning .attention-icon{background:var(--sb-orange-soft)!important;color:var(--sb-orange)!important}body.sb-web .tone-danger .attention-icon{background:var(--sb-red-soft)!important;color:var(--sb-red)!important}
body.sb-web .attention-copy strong{display:block!important;color:#334155!important;font-size:.66rem!important}
body.sb-web .attention-copy small{display:block!important;margin-top:3px!important;color:#98a2b3!important;font-size:.54rem!important;line-height:1.35!important}
body.sb-web .row-arrow{width:14px!important;height:14px!important;color:#a3adba!important}
body.sb-web .work-feed{display:flex!important;flex-direction:column!important}
body.sb-web .work-feed-item{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto 16px!important;align-items:center!important;gap:10px!important;min-height:66px!important;padding:7px 0!important;border-bottom:1px solid #eef2f5!important;text-decoration:none!important;color:inherit!important}
body.sb-web .work-feed-item:last-child{border-bottom:0!important}
body.sb-web .work-date{width:58px!important;min-height:44px!important;display:grid!important;place-items:center!important;padding:5px!important;border-radius:9px!important;background:#f6f8fb!important;text-align:center!important}
body.sb-web .work-date strong{display:block!important;color:#3c4a5f!important;font-size:.66rem!important}body.sb-web .work-date small{display:block!important;color:#9ba5b4!important;font-size:.50rem!important}
body.sb-web .work-feed-main strong{display:block!important;color:#334155!important;font-size:.66rem!important}body.sb-web .work-feed-main small{display:flex!important;align-items:center!important;gap:4px!important;margin-top:4px!important;color:#9aa5b3!important;font-size:.53rem!important}body.sb-web .work-feed-main small .ui-icon{width:12px!important;height:12px!important}
body.sb-web .work-status{padding:4px 7px!important;border-radius:6px!important;background:#f2f5f8!important;color:#7b8798!important;font-size:.52rem!important;font-weight:750!important}
body.sb-web .status-progress-list{display:flex!important;flex-direction:column!important;gap:10px!important}
body.sb-web .status-progress-row{display:block!important;text-decoration:none!important}
body.sb-web .status-progress-copy{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:5px!important;color:#66758a!important;font-size:.57rem!important;font-weight:690!important}
body.sb-web .status-progress-copy strong{color:#354257!important;font-size:.60rem!important}
body.sb-web .status-progress-track{height:7px!important;overflow:hidden!important;border-radius:99px!important;background:#edf1f5!important}
body.sb-web .status-progress-track i{display:block!important;height:100%!important;border-radius:99px!important;background:var(--sb-brand)!important;transition:width .85s var(--sb-motion)!important}
body.sb-web .tone-green .status-progress-track i{background:var(--sb-green)!important}body.sb-web .tone-blue .status-progress-track i{background:var(--sb-blue)!important}body.sb-web .tone-orange .status-progress-track i{background:var(--sb-orange)!important}body.sb-web .tone-red .status-progress-track i{background:var(--sb-red)!important}
body.sb-web .recent-activity-panel{padding-bottom:6px!important}
body.sb-web .activity-table{overflow:hidden!important;border-radius:8px!important}
body.sb-web .activity-table-head,body.sb-web .activity-table-row{display:grid!important;grid-template-columns:1.25fr 1.7fr .95fr .95fr 16px!important;align-items:center!important;gap:12px!important}
body.sb-web .activity-table-head{padding:9px 10px!important;background:#f7f9fb!important;color:#9aa5b4!important;font-size:.51rem!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.05em!important}
body.sb-web .activity-table-row{min-height:58px!important;padding:8px 10px!important;border-bottom:1px solid #eef2f5!important;text-decoration:none!important;color:#66758a!important;font-size:.58rem!important}
body.sb-web .activity-table-row:last-child{border-bottom:0!important}
body.sb-web .activity-table-row:hover{background:#fbfdfd!important}
body.sb-web .activity-event{display:flex!important;align-items:center!important;gap:9px!important}.activity-event i{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:#eaf8f5!important;color:#16a997!important}.activity-event i .ui-icon{width:15px!important;height:15px!important}
body.sb-web .activity-table-row strong{display:block!important;color:#415066!important;font-size:.61rem!important}.activity-table-row small{display:block!important;margin-top:2px!important;color:#a1abb8!important;font-size:.50rem!important}.activity-table-row time{color:#8793a4!important}
body.sb-web .dashboard-empty{display:flex!important;align-items:center!important;gap:9px!important;padding:13px!important;border-radius:8px!important;background:#f8fafc!important;color:#7f8b9d!important}.dashboard-empty>span{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:#eef7f5!important;color:#18a995!important}.dashboard-empty>span .ui-icon{width:15px!important;height:15px!important}.dashboard-empty strong{display:block!important;color:#4b586b!important;font-size:.65rem!important}.dashboard-empty small{display:block!important;margin-top:2px!important;font-size:.53rem!important}

/* inventory / asset list */
body.sb-web .inventory-page{display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;max-width:1500px!important;margin:0 auto!important;background:transparent!important;color:var(--sb-text)!important}
body.sb-web .inventory-page-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;padding:1px 2px 3px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.sb-web .inventory-page-head .eyebrow{margin-bottom:5px!important}
body.sb-web .inventory-page-head h2{margin:0!important;color:#172033!important;font-size:1.36rem!important;font-weight:810!important;letter-spacing:-.04em!important}
body.sb-web .inventory-page-head p{margin:5px 0 0!important;color:#8d99aa!important;font-size:.64rem!important}
body.sb-web .inventory-toolbar-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
body.sb-web .toolbar-menu{position:relative!important}.toolbar-menu>summary{list-style:none!important}.toolbar-menu>summary::-webkit-details-marker{display:none!important}
body.sb-web .asset-filter-panel{display:grid!important;grid-template-columns:minmax(300px,1.35fr) minmax(180px,.58fr) minmax(220px,.72fr) auto!important;gap:10px!important;align-items:end!important;padding:13px!important;border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important}
body.sb-web .field-with-icon{position:relative!important}.field-with-icon>.ui-icon{position:absolute!important;left:11px!important;top:50%!important;transform:translateY(-50%)!important;width:15px!important;height:15px!important;color:#9aa5b4!important}.field-with-icon input{padding-left:34px!important}
body.sb-web .filter-actions{display:flex!important;align-items:center!important;gap:7px!important}
body.sb-web .inventory-list-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:3px 2px!important;color:#98a2b3!important}.inventory-list-head>div{display:flex!important;align-items:baseline!important;gap:5px!important}.inventory-list-head strong{color:#172033!important;font-size:.82rem!important}.inventory-list-head span,.inventory-list-head small{font-size:.55rem!important}
body.sb-web .bulk-upload-v3{border:0!important;border-radius:9px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important;overflow:hidden!important}.bulk-upload-v3>summary{list-style:none!important;display:flex!important;align-items:center!important;gap:9px!important;min-height:48px!important;padding:10px 12px!important;cursor:pointer!important}.bulk-upload-v3>summary::-webkit-details-marker{display:none!important}.bulk-upload-v3>summary>.ui-icon{width:16px!important;height:16px!important;color:#8b97a8!important}.bulk-upload-v3>summary span{min-width:0!important;flex:1!important}.bulk-upload-v3>summary strong{display:block!important;color:#536075!important;font-size:.64rem!important}.bulk-upload-v3>summary small{display:block!important;margin-top:2px!important;color:#9ba5b4!important;font-size:.52rem!important}.bulk-upload-body{padding:12px!important;border-top:1px solid #eef2f5!important;background:#fbfcfd!important}
body.sb-web .inventory-list-v3{display:block!important;visibility:visible!important;opacity:1!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important}
body.sb-web .inventory-row-v3{position:relative!important;display:grid!important;visibility:visible!important;opacity:1!important;grid-template-columns:58px minmax(270px,1.15fr) minmax(250px,1fr) auto 38px!important;align-items:center!important;gap:14px!important;min-height:82px!important;padding:11px 12px!important;margin:0!important;border:0!important;border-bottom:1px solid #eef2f5!important;border-radius:0!important;background:#fff!important;color:#344054!important;box-shadow:none!important;transition:background .16s ease,transform .16s var(--sb-motion)!important}
body.sb-web .inventory-row-v3:last-child{border-bottom:0!important}.inventory-row-v3:hover{background:#fbfdfd!important;transform:translateX(2px)!important}
body.sb-web .inventory-image-v3{width:54px!important;height:54px!important;display:grid!important;place-items:center!important;overflow:hidden!important;border:0!important;border-radius:8px!important;background:#f5f7fa!important;color:#8d99a8!important;text-decoration:none!important}.inventory-image-v3 img{width:100%!important;height:100%!important;object-fit:cover!important}.inventory-image-v3>span{width:20px!important;height:20px!important}.inventory-image-v3>span .ui-icon{width:20px!important;height:20px!important}
body.sb-web .inventory-main-v3{min-width:0!important}.inventory-title-v3{display:flex!important;align-items:baseline!important;gap:8px!important;min-width:0!important}.inventory-title-v3 a{color:#253246!important;font-size:.77rem!important;font-weight:780!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.inventory-title-v3 .mono{color:#9aa5b3!important;font-size:.54rem!important;white-space:nowrap!important}.inventory-type-v3{margin-top:4px!important;color:#68768a!important;font-size:.60rem!important;font-weight:640!important}
body.sb-web .inventory-meta-v3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.inventory-meta-v3>span{display:grid!important;grid-template-columns:15px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:6px!important;align-items:center!important;min-width:0!important;color:#8c98a8!important}.inventory-meta-v3>span>.ui-icon{grid-row:1/3!important;width:15px!important;height:15px!important}.inventory-meta-v3 small{display:block!important;color:#a0aab8!important;font-size:.49rem!important;line-height:1!important}.inventory-meta-v3 strong{display:block!important;margin-top:3px!important;color:#5b687b!important;font-size:.56rem!important;font-weight:680!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.sb-web .inventory-state-v3{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;white-space:nowrap!important}.asset-department-badge{background:#edf8f6!important;color:#168b7e!important;border-color:#d6efea!important}
body.sb-web .asset-row-menu{position:relative!important;justify-self:end!important}.asset-row-menu>summary{list-style:none!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:8px!important;background:#f5f7fa!important;color:#7f8a99!important;cursor:pointer!important}.asset-row-menu>summary::-webkit-details-marker{display:none!important}.asset-row-menu>summary>.ui-icon{width:17px!important;height:17px!important}
body.sb-web .asset-select-check{display:none!important;position:absolute!important;left:7px!important;top:7px!important;z-index:4!important}.inventory-v3.bulk-mode .asset-select-check{display:block!important}.inventory-v3.bulk-mode .inventory-row-v3{padding-left:42px!important}.bulk-move-v3{display:none!important}.inventory-v3.bulk-mode .bulk-move-v3{display:block!important}.bulk-action-bar{display:grid!important;grid-template-columns:auto minmax(170px,1fr) minmax(170px,1fr) auto!important;gap:10px!important;align-items:end!important;padding:12px!important;border:0!important;border-radius:9px!important;background:#eef6ff!important;box-shadow:var(--sb-shadow)!important}.bulk-action-title{display:flex!important;align-items:center!important;gap:8px!important}.bulk-action-title>.ui-icon{width:18px!important;height:18px!important;color:var(--sb-blue)!important}.bulk-action-title strong{display:block!important;font-size:.62rem!important}.bulk-action-title small{display:block!important;margin-top:2px!important;color:#98a2b3!important;font-size:.51rem!important}
body.sb-web .empty-state-v3{padding:30px!important;text-align:center!important;color:#8f9bab!important}.empty-state-v3>.ui-icon{width:25px!important;height:25px!important;margin:0 auto 8px!important;color:#a8b1bd!important}.empty-state-v3 strong{display:block!important;color:#576477!important}.empty-state-v3 span{display:block!important;margin-top:4px!important;font-size:.61rem!important}

/* asset view */
body.sb-web .asset-v2-page{max-width:1450px!important;margin:0 auto!important;background:transparent!important}.asset-v2-hero{display:grid!important;grid-template-columns:88px minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;padding:16px!important;border:0!important;border-radius:11px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important}.asset-v2-cover{width:82px!important;height:82px!important;overflow:hidden!important;border-radius:9px!important;background:#f5f7fa!important}.asset-v2-cover img{width:100%!important;height:100%!important;object-fit:cover!important}.asset-v2-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.asset-fact-card,.asset-status-control,.asset-v2-info-card,.asset-quick-log-card,.asset-history-card,.asset-fold{border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important}.asset-fact-card{padding:13px!important}.asset-status-control,.asset-v2-info-card,.asset-quick-log-card,.asset-history-card{padding:15px!important}.asset-status-buttons{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}.status-action-btn{min-height:60px!important;border:0!important;border-radius:8px!important;background:#f7f9fb!important;box-shadow:none!important}.asset-history-item{border:0!important;border-bottom:1px solid #eef2f5!important;border-radius:0!important;background:transparent!important}

/* technical / department pages */
body.sb-web .department-dashboard{max-width:1450px!important;margin:0 auto!important;background:transparent!important;color:var(--sb-text)!important}.department-hero,.technical-hero,.maintenance-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;padding:2px 2px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.department-hero h2,.technical-hero h2,.maintenance-hero h2{margin:4px 0 5px!important;color:#172033!important;font-size:1.58rem!important;font-weight:820!important;letter-spacing:-.045em!important}.department-hero p,.technical-hero p,.maintenance-hero p{margin:0!important;color:#8996a8!important;font-size:.67rem!important}.department-kpi-grid,.summary-grid.small-summary-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important}.department-kpi-grid .stat-card,.summary-grid.small-summary-grid .stat-card{min-height:92px!important;padding:14px!important;border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important}.department-panel{border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important;color:#475467!important}.department-item{border-bottom:1px solid #eef2f5!important}.department-item:last-child{border-bottom:0!important}.department-item em{color:#0f9f8f!important}

/* chat */
body.sb-web .chat-page{height:calc(100dvh - 95px)!important;min-height:560px!important;display:flex!important;flex-direction:column!important;gap:10px!important;overflow:hidden!important;background:transparent!important}.chat-page-bar{display:flex!important;align-items:end!important;justify-content:space-between!important;padding:0 2px!important}.chat-page-title h2{margin:4px 0 0!important;color:#172033!important;font-size:1.35rem!important}.chat-page-summary{display:flex!important;gap:6px!important}.chat-page-summary span{padding:5px 8px!important;border-radius:7px!important;background:#fff!important;color:#6f7c8e!important;font-size:.56rem!important;box-shadow:var(--sb-shadow)!important}.chat-shell{flex:1 1 auto!important;min-height:0!important;display:grid!important;grid-template-columns:290px minmax(0,1fr)!important;gap:12px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}.chat-contacts,.chat-window{min-height:0!important;height:100%!important;border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important;overflow:hidden!important}.chat-contacts{display:flex!important;flex-direction:column!important}.chat-contact-search-wrap{padding:10px!important;border-bottom:1px solid #eef2f5!important}.chat-contact-list{flex:1!important;min-height:0!important;overflow-y:auto!important;background:#fff!important}.chat-contact{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;padding:10px!important;border:0!important;border-bottom:1px solid #eef2f5!important;border-radius:0!important;background:#fff!important;text-decoration:none!important;color:#475467!important}.chat-contact:hover{background:#f8fbfa!important}.chat-contact.active{background:#eaf8f5!important;box-shadow:inset 3px 0 0 var(--sb-brand)!important}.chat-avatar{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#e9f8f5!important;color:#0c9587!important;font-weight:800!important}.chat-window{display:flex!important;flex-direction:column!important}.chat-window-head{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:10px!important;padding:11px 13px!important;border-bottom:1px solid #eef2f5!important;background:#fff!important}.chat-window-person h3{margin:0!important;color:#334155!important;font-size:.74rem!important}.chat-window-person span{display:block!important;margin-top:3px!important;color:#98a2b3!important;font-size:.53rem!important}.chat-thread{flex:1!important;min-height:0!important;overflow-y:auto!important;padding:16px!important;background:#f8fafc!important}.chat-bubble{max-width:min(76%,760px)!important;margin-bottom:9px!important;padding:9px 11px!important;border-radius:10px!important}.chat-bubble.mine{margin-left:auto!important;background:#e8f8f5!important;color:#31524c!important}.chat-bubble.theirs{margin-right:auto!important;background:#fff!important;border:1px solid #e7ecf1!important;color:#465468!important}.chat-compose{flex:0 0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;gap:9px!important;padding:10px!important;border-top:1px solid #eef2f5!important;background:#fff!important}.chat-compose textarea{min-height:44px!important;max-height:110px!important;resize:none!important;background:#f7f9fb!important}.chat-send-button{height:44px!important}

/* settings + app modules */
body.sb-web .sb-settings-page,body.sb-web .sb-module-settings-page{max-width:1240px!important;margin:0 auto!important;background:transparent!important}.sb-settings-head,.sb-module-settings-page>header{padding:2px 2px 12px!important;border:0!important;background:transparent!important;box-shadow:none!important}.sb-settings-card,.sb-module-settings-card,.sb-module-settings-page .card{padding:17px!important;border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--sb-shadow)!important}.sb-module-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:13px 0!important;border:0!important;border-bottom:1px solid #eef2f5!important;background:transparent!important}.sb-module-row:last-child{border-bottom:0!important}.sb-switch{position:relative!important;display:inline-flex!important;align-items:center!important;width:48px!important;height:27px!important}.sb-switch input{position:absolute!important;inset:0!important;opacity:0!important;cursor:pointer!important}.sb-switch span{position:absolute!important;inset:0!important;border-radius:99px!important;background:#dbe2e9!important;transition:.2s ease!important}.sb-switch span::after{content:""!important;position:absolute!important;left:3px!important;top:3px!important;width:21px!important;height:21px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 6px rgba(31,55,77,.18)!important;transition:.2s ease!important}.sb-switch input:checked+span{background:var(--sb-brand)!important}.sb-switch input:checked+span::after{transform:translateX(21px)!important}.sb-module-state-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.sb-module-state-grid>div{padding:12px!important;border:0!important;border-radius:9px!important;background:#f7f9fb!important}.sb-settings-logo-preview img{display:block!important;width:52px!important;height:52px!important}

/* generic legacy pages: light and consistent */
body.sb-web .next-work-board,body.sb-web .notification-board,body.sb-web .calendar-hero,body.sb-web .calendar-feed-card,body.sb-web .request-filter-card,body.sb-web .request-ticket,body.sb-web .location-tree-card,body.sb-web .room-row,body.sb-web .person-row,body.sb-web .log-hero,body.sb-web .log-filter-card,body.sb-web .log-entry,body.sb-web .workplan-create>summary,body.sb-web .pick-panel,body.sb-web .check-card,body.sb-web .day-column,body.sb-web .work-card,body.sb-web .work-row{background:#fff!important;color:#475467!important;border:0!important;border-radius:10px!important;box-shadow:var(--sb-shadow)!important}
body.sb-web .empty-note{padding:13px!important;border:1px dashed #dce4eb!important;border-radius:8px!important;background:#f8fafc!important;color:#8b97a8!important}
body.sb-web .main a:not(.btn):not(.nav-link):not(.chat-contact):hover{color:#0f9486!important}

/* responsive */
@media(max-width:1180px){
  :root{--sb-sidebar:218px}
  body.sb-web .dashboard-page-head.dashboard-welcome-hero{grid-template-columns:minmax(0,1fr) 250px!important}
  body.sb-web .dashboard-quick-actions-card{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important}
  body.sb-web .dashboard-quick-actions{grid-template-columns:repeat(2,minmax(130px,190px))!important;justify-content:end!important}
  body.sb-web .dashboard-kpi{grid-template-columns:44px minmax(0,1fr)!important}.kpi-trend{display:none!important}
  body.sb-web .inventory-row-v3{grid-template-columns:56px minmax(220px,1fr) auto 38px!important}.inventory-meta-v3{grid-column:2/3!important;margin-top:7px!important}.inventory-state-v3{grid-column:3!important;grid-row:1/3!important}.asset-row-menu{grid-column:4!important;grid-row:1/3!important}.inventory-main-v3{display:contents!important}.inventory-title-v3,.inventory-type-v3{grid-column:2!important}.inventory-title-v3{align-self:end!important}.inventory-type-v3{align-self:start!important}
}
@media(max-width:900px){
  body.sb-web .app-shell{display:block!important}.sidebar{position:fixed!important;left:0!important;top:0!important;width:260px!important;height:100vh!important;transform:translateX(-102%)!important;transition:transform .2s ease!important;box-shadow:0 20px 50px rgba(31,55,77,.15)!important}.sidebar.mobile-open{transform:translateX(0)!important}.mobile-menu-toggle{display:flex!important;position:fixed!important;left:12px!important;top:14px!important;width:40px!important;height:40px!important;z-index:70!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border:1px solid #e5eaf0!important;border-radius:9px!important;background:#fff!important}.mobile-menu-toggle span{width:17px!important;height:2px!important;border-radius:9px!important;background:#667085!important}
  body.sb-web .main{padding:0 12px 24px!important}.topbar{grid-template-columns:minmax(0,1fr) auto!important;margin:0 -12px 16px!important;padding:0 12px 0 62px!important}.topbar-heading{display:none!important}.topbar-search{justify-self:start!important;max-width:none!important}.top-user-copy{display:none!important}
  body.sb-web .dashboard-main-grid,body.sb-web .dashboard-lower-grid{grid-template-columns:1fr!important}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-page-head.dashboard-welcome-hero{grid-template-columns:1fr!important}.dashboard-hero-art{position:absolute!important;right:10px!important;top:5px!important;width:260px!important;opacity:.14!important}.dashboard-welcome-copy{padding-right:20px!important}.dashboard-quick-actions-card{grid-column:auto!important;display:block!important}.dashboard-quick-actions{margin-top:8px!important;justify-content:start!important}
  body.sb-web .asset-filter-panel{grid-template-columns:1fr 1fr!important}.filter-search-v3{grid-column:1/-1!important}.filter-actions{grid-column:1/-1!important}.inventory-row-v3{grid-template-columns:54px minmax(0,1fr) 38px!important}.inventory-state-v3{grid-column:2!important;grid-row:auto!important;justify-content:flex-start!important;margin-top:6px!important}.asset-row-menu{grid-column:3!important;grid-row:1/4!important}.inventory-meta-v3{grid-column:2!important;grid-template-columns:1fr 1fr!important}.inventory-meta-v3>span:nth-child(3){grid-column:1/-1!important}
  body.sb-web .chat-page{height:auto!important;overflow:visible!important}.chat-shell{grid-template-columns:1fr!important}.chat-contacts{max-height:330px!important}.chat-window{min-height:62dvh!important}
}
@media(max-width:620px){
  body.sb-web .topbar-search{display:none!important}.topbar{grid-template-columns:1fr!important;justify-content:end!important}.topbar-actions{justify-self:end!important}
  body.sb-web .dashboard-context-title{display:block!important}.dashboard-context-title>div{display:block!important}.dashboard-context-title span{display:block!important;margin-bottom:4px!important}.dashboard-context-title time{display:none!important}.dashboard-context-title h2{font-size:1.25rem!important}
  body.sb-web .dashboard-kpi-grid{grid-template-columns:1fr!important}.dashboard-quick-actions{grid-template-columns:1fr!important}.activity-table-head{display:none!important}.activity-table-row{grid-template-columns:1fr auto!important;gap:6px!important}.activity-table-row>span:nth-child(2),.activity-table-row>span:nth-child(3){grid-column:1!important}.activity-table-row time{grid-column:2!important;grid-row:1!important}.activity-table-row>.row-arrow{grid-column:2!important;grid-row:2/4!important}
  body.sb-web .asset-filter-panel{grid-template-columns:1fr!important}.filter-search-v3,.filter-actions{grid-column:auto!important}.inventory-page-head{align-items:flex-start!important;flex-direction:column!important}.inventory-row-v3{grid-template-columns:52px minmax(0,1fr) 36px!important;padding:10px!important}.inventory-meta-v3{grid-template-columns:1fr!important}.inventory-meta-v3>span:nth-child(3){grid-column:auto!important}.asset-v2-facts{grid-template-columns:1fr!important}.asset-status-buttons{grid-template-columns:1fr 1fr!important}
}
@media(prefers-reduced-motion:reduce){body.sb-web *,body.sb-web *::before,body.sb-web *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* StageBase v6.0.2 — final consistency + icon safety hotfix
   Keeps the dashboard design intact and normalizes the remaining pages. */

/* Custom icon wrappers must never inherit intrinsic SVG size. */
body.sb-web .fold-chevron,
body.sb-web .asset-fact-icon{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  width:16px!important;
  height:16px!important;
  line-height:0!important;
  overflow:hidden!important;
}
body.sb-web .fold-chevron svg,
body.sb-web .asset-fact-icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
}
body.sb-web .asset-fact-icon{width:20px!important;height:20px!important}

/* Asset list: keep the upload accordion compact when closed. */
body.sb-web .bulk-upload-v3{
  min-height:0!important;
  height:auto!important;
}
body.sb-web .bulk-upload-v3>summary{
  position:relative!important;
  min-height:48px!important;
  height:auto!important;
  justify-content:flex-start!important;
}
body.sb-web .bulk-upload-v3>summary .fold-chevron{
  margin-left:auto!important;
  color:#8b97a8!important;
  transition:transform .18s var(--sb-motion)!important;
}
body.sb-web .bulk-upload-v3[open]>summary .fold-chevron{transform:rotate(180deg)!important}
body.sb-web .bulk-upload-v3:not([open])>.bulk-upload-body{display:none!important}

/* Asset detail accordions use the same compact chevron treatment. */
body.sb-web .asset-fold>summary,
body.sb-web .asset-advanced-event>summary{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
body.sb-web .asset-fold>summary .fold-chevron,
body.sb-web .asset-advanced-event>summary .fold-chevron{
  margin-left:auto!important;
  transition:transform .18s var(--sb-motion)!important;
}
body.sb-web .asset-fold[open]>summary .fold-chevron,
body.sb-web .asset-advanced-event[open]>summary .fold-chevron{transform:rotate(180deg)!important}

/* Keep secondary pages on the same canvas rhythm as the dashboard. */
body.sb-web .inventory-page,
body.sb-web .department-dashboard,
body.sb-web .sb-settings-page,
body.sb-web .sb-module-settings-page,
body.sb-web .locations-manager-page,
body.sb-web .notifications-page,
body.sb-web .calendar-page,
body.sb-web .profile-page,
body.sb-web .users-page,
body.sb-web .scanner-page{
  width:100%!important;
  max-width:1500px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Inventory page header and controls should sit like the dashboard content, not under the topbar. */
body.sb-web .inventory-page-head{
  min-height:58px!important;
  align-items:center!important;
  padding:0 2px 4px!important;
}
body.sb-web .inventory-toolbar-actions{align-self:center!important}
body.sb-web .asset-filter-panel{margin-top:0!important}
body.sb-web .inventory-list-v3{overflow:hidden!important}
body.sb-web .inventory-row-v3{min-width:0!important}

/* Settings: complete the classes used by the current HTML. */
body.sb-web .sb-settings-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
}
body.sb-web .sb-settings-head h2,
body.sb-web .sb-module-intro h2{
  margin:4px 0 5px!important;
  color:#172033!important;
  font-size:1.42rem!important;
  font-weight:810!important;
  letter-spacing:-.045em!important;
}
body.sb-web .sb-settings-head p,
body.sb-web .sb-module-intro p{
  margin:0!important;
  color:#8d99aa!important;
  font-size:.66rem!important;
}
body.sb-web .sb-settings-logo-preview{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:210px!important;
  padding:9px 11px!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:var(--sb-shadow)!important;
}
body.sb-web .sb-settings-logo-preview strong{display:block!important;color:#334155!important;font-size:.72rem!important}
body.sb-web .sb-settings-logo-preview span{display:block!important;margin-top:3px!important;color:#98a2b3!important;font-size:.50rem!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.sb-web .sb-settings-form{display:grid!important;gap:12px!important}
body.sb-web .sb-settings-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:13px!important;
  align-items:start!important;
}
body.sb-web .sb-settings-card-icon{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:var(--sb-brand-soft)!important;
  color:var(--sb-brand)!important;
}
body.sb-web .sb-settings-card-icon>.ui-icon{width:19px!important;height:19px!important}
body.sb-web .sb-settings-card-icon.tone-blue{background:var(--sb-blue-soft)!important;color:var(--sb-blue)!important}
body.sb-web .sb-settings-card-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:13px!important;
}
body.sb-web .sb-settings-card-head span{display:block!important;color:#9aa5b4!important;font-size:.50rem!important;font-weight:800!important;letter-spacing:.09em!important;text-transform:uppercase!important}
body.sb-web .sb-settings-card-head h3{margin:3px 0 0!important;color:#344054!important;font-size:.82rem!important}
body.sb-web .sb-settings-card-head small{color:#a0aab8!important;font-size:.53rem!important}
body.sb-web .sb-settings-fields.two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:11px!important}
body.sb-web .sb-settings-help{margin:9px 0 0!important;color:#98a2b3!important;font-size:.57rem!important}
body.sb-web .sb-setting-switch-row,
body.sb-web .sb-module-toggle-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  min-height:62px!important;
  padding:10px 0!important;
  border:0!important;
  border-bottom:1px solid #eef2f5!important;
  background:transparent!important;
  cursor:pointer!important;
}
body.sb-web .sb-setting-switch-row:last-child,
body.sb-web .sb-module-toggle-row:last-of-type{border-bottom:0!important}
body.sb-web .sb-setting-switch-copy strong,
body.sb-web .sb-module-toggle-copy strong{display:block!important;color:#415066!important;font-size:.70rem!important}
body.sb-web .sb-setting-switch-copy small,
body.sb-web .sb-module-toggle-copy small{display:block!important;margin-top:4px!important;color:#98a2b3!important;font-size:.55rem!important;line-height:1.45!important}
body.sb-web .sb-settings-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:11px 0 0!important;
  color:#98a2b3!important;
  font-size:.56rem!important;
}

/* App modules: same visual language as Settings / dashboard. */
body.sb-web .sb-module-settings-page{display:grid!important;gap:12px!important}
body.sb-web .sb-module-intro{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,.55fr)!important;
  align-items:center!important;
  gap:20px!important;
}
body.sb-web .sb-module-sync-note{
  padding:11px 12px!important;
  border-radius:9px!important;
  background:#f3faf8!important;
  color:#66807a!important;
  font-size:.57rem!important;
  line-height:1.5!important;
}
body.sb-web .sb-module-settings-card>.card-head{margin-bottom:3px!important}
body.sb-web .sb-module-settings-card>.card-head h2{font-size:.88rem!important;color:#344054!important}
body.sb-web .sb-module-state-grid{margin-top:10px!important}
body.sb-web .sb-module-state-grid>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body.sb-web .sb-module-state-grid>div>span{color:#8d99aa!important;font-size:.56rem!important;font-weight:760!important}
body.sb-web .sb-module-state-grid strong{font-size:.61rem!important}
body.sb-web .sb-module-state-grid strong.is-on{color:#159968!important}
body.sb-web .sb-module-state-grid strong.is-off{color:#9aa5b3!important}
body.sb-web .sb-module-settings-card .form-actions{display:flex!important;justify-content:flex-end!important;margin-top:10px!important}

/* Generic page cards: remove the last legacy hard outlines so they match the homepage. */
body.sb-web .section-hero,
body.sb-web .compact-hero,
body.sb-web .scanner-hero,
body.sb-web .location-structure-hero{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.sb-web .section-hero h2,
body.sb-web .location-structure-hero h2,
body.sb-web .scanner-hero h2{
  color:#172033!important;
}

@media(max-width:760px){
  body.sb-web .sb-settings-head{align-items:flex-start!important;flex-direction:column!important}
  body.sb-web .sb-settings-logo-preview{width:100%!important;min-width:0!important}
  body.sb-web .sb-settings-card{grid-template-columns:1fr!important}
  body.sb-web .sb-settings-fields.two{grid-template-columns:1fr!important}
  body.sb-web .sb-settings-actions{align-items:stretch!important;flex-direction:column!important}
  body.sb-web .sb-settings-actions .btn{width:100%!important}
  body.sb-web .sb-module-intro{grid-template-columns:1fr!important}
}

/* StageBase v6.0.3 — inventory structural safety.
   The asset rows must always appear before the optional bulk uploader. */
body.sb-web .inventory-page .inventory-list-v3{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  margin-top:10px!important;
}
body.sb-web .inventory-page .inventory-list-v3>.inventory-row-v3{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
}
body.sb-web .inventory-page .bulk-upload-v3{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin-top:12px!important;
  overflow:hidden!important;
}
body.sb-web .inventory-page .bulk-upload-v3>summary{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  padding:0 14px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body.sb-web .inventory-page .bulk-upload-v3>summary>.ui-icon{
  width:16px!important;
  height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
}
body.sb-web .inventory-page .bulk-upload-caret{
  display:inline-grid!important;
  place-items:center!important;
  margin-left:auto!important;
  width:24px!important;
  height:24px!important;
  font-size:18px!important;
  line-height:1!important;
  color:#8b97a8!important;
  transform:rotate(0deg)!important;
  transition:transform .18s ease!important;
}
body.sb-web .inventory-page .bulk-upload-v3[open] .bulk-upload-caret{transform:rotate(180deg)!important}

/* ======================================================================
   StageBase v6.0.4 — CORE ASSET EXPERIENCE
   Fixes the hidden inventory list and makes the asset detail page the
   primary operational surface of StageBase.
   ====================================================================== */

/* --- INVENTORY: the bulk move FORM contains the list, so never hide it. --- */
body.sb-web .inventory-page .bulk-move-v3{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.sb-web .inventory-page .bulk-move-v3>.bulk-action-bar{
  display:none!important;
  margin:0 0 10px!important;
}
body.sb-web .inventory-page.bulk-mode .bulk-move-v3>.bulk-action-bar{
  display:grid!important;
}
body.sb-web .inventory-page .inventory-list-v3{
  display:block!important;
  margin-top:8px!important;
  background:#fff!important;
  border:0!important;
  border-radius:12px!important;
  box-shadow:0 8px 26px rgba(31,55,77,.055)!important;
  overflow:hidden!important;
}
body.sb-web .inventory-page .inventory-row-v3{
  min-height:86px!important;
  padding:12px 14px!important;
  border-bottom:1px solid #edf1f5!important;
  background:#fff!important;
}
body.sb-web .inventory-page .inventory-row-v3:hover{
  background:#f8fbfb!important;
  transform:none!important;
}
body.sb-web .inventory-page .inventory-title-v3 a{
  color:#162033!important;
  font-size:.86rem!important;
  font-weight:790!important;
}
body.sb-web .inventory-page .inventory-type-v3{
  color:#667085!important;
  font-size:.67rem!important;
}
body.sb-web .inventory-page .inventory-meta-v3 small{
  color:#98a2b3!important;
  font-size:.54rem!important;
}
body.sb-web .inventory-page .inventory-meta-v3 strong{
  color:#475467!important;
  font-size:.62rem!important;
}
body.sb-web .inventory-page .bulk-upload-v3{
  margin-top:14px!important;
}

/* --- ASSET DETAIL: actual class is sb-asset-page-v2, not asset-v2-page. --- */
body.sb-web .sb-asset-page-v2{
  width:100%!important;
  max-width:1450px!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  color:#344054!important;
}

/* Hero / identity */
body.sb-web .sb-asset-page-v2 .asset-v2-hero{
  position:relative!important;
  display:grid!important;
  grid-template-columns:140px minmax(0,1fr) 230px!important;
  grid-template-rows:auto auto!important;
  gap:14px 20px!important;
  align-items:center!important;
  padding:18px!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#ffffff 0%,#fbfefe 68%,#f0fbf9 100%)!important;
  box-shadow:0 10px 32px rgba(31,55,77,.065)!important;
  overflow:hidden!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-hero::after{
  content:""!important;
  position:absolute!important;
  right:-90px!important;
  top:-110px!important;
  width:310px!important;
  height:310px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(25,183,165,.10),rgba(25,183,165,0) 70%)!important;
  pointer-events:none!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-cover{
  grid-column:1!important;
  grid-row:1/3!important;
  width:140px!important;
  height:140px!important;
  border-radius:12px!important;
  background:#f2f5f7!important;
  overflow:hidden!important;
  box-shadow:inset 0 0 0 1px #e8edf1!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-cover img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-placeholder{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  color:#9aa6b2!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-placeholder .ui-icon{
  width:38px!important;
  height:38px!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-title{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  align-self:end!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-title>.eyebrow{
  display:block!important;
  margin:0 0 5px!important;
  color:#14a896!important;
  font-size:.60rem!important;
  font-weight:820!important;
  letter-spacing:.11em!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-title h2{
  margin:0!important;
  color:#101828!important;
  font-size:clamp(1.65rem,2.2vw,2.35rem)!important;
  line-height:1.05!important;
  font-weight:820!important;
  letter-spacing:-.045em!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-identifiers{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px 14px!important;
  margin-top:10px!important;
  color:#667085!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-identifiers>span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  font-size:.70rem!important;
  font-weight:600!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-identifiers .ui-icon{
  width:14px!important;
  height:14px!important;
  color:#98a2b3!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-current-status{
  grid-column:3!important;
  grid-row:1!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  padding:14px 16px!important;
  border:0!important;
  border-radius:11px!important;
  background:#f7fafb!important;
  box-shadow:inset 0 0 0 1px #edf1f4!important;
  z-index:1!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-current-status small{
  color:#98a2b3!important;
  font-size:.59rem!important;
  font-weight:700!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-current-status>strong{
  margin-top:4px!important;
  color:#172033!important;
  font-size:1.22rem!important;
  font-weight:800!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-current-status>span{
  margin-top:8px!important;
}
body.sb-web .sb-asset-page-v2 .asset-v2-hero-actions{
  grid-column:2/4!important;
  grid-row:2!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  align-self:start!important;
  z-index:1!important;
}

/* Four operational facts */
body.sb-web .sb-asset-page-v2 .asset-v2-facts{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}
body.sb-web .sb-asset-page-v2 .asset-fact-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  min-height:78px!important;
  padding:13px!important;
  border:0!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(31,55,77,.05)!important;
}
body.sb-web .sb-asset-page-v2 .asset-fact-card>.asset-fact-icon,
body.sb-web .sb-asset-page-v2 .asset-fact-card>.ui-icon{
  width:42px!important;
  height:42px!important;
  padding:11px!important;
  border-radius:10px!important;
  background:#f2f6ff!important;
  color:#3976f6!important;
  box-sizing:border-box!important;
}
body.sb-web .sb-asset-page-v2 .asset-fact-card.tone-green>.asset-fact-icon,
body.sb-web .sb-asset-page-v2 .asset-fact-card.tone-green>.ui-icon{background:#eaf8f2!important;color:#1eaa73!important}
body.sb-web .sb-asset-page-v2 .asset-fact-card.tone-orange>.asset-fact-icon,
body.sb-web .sb-asset-page-v2 .asset-fact-card.tone-orange>.ui-icon{background:#fff4df!important;color:#ef9a15!important}
body.sb-web .sb-asset-page-v2 .asset-fact-card span{
  display:block!important;
  color:#98a2b3!important;
  font-size:.58rem!important;
  font-weight:700!important;
}
body.sb-web .sb-asset-page-v2 .asset-fact-card strong{
  display:block!important;
  margin-top:4px!important;
  color:#344054!important;
  font-size:.78rem!important;
  font-weight:760!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Shared card treatment */
body.sb-web .sb-asset-page-v2 .asset-status-control,
body.sb-web .sb-asset-page-v2 .asset-v2-info-card,
body.sb-web .sb-asset-page-v2 .asset-quick-log-card,
body.sb-web .sb-asset-page-v2 .asset-history-card,
body.sb-web .sb-asset-page-v2 .asset-fold,
body.sb-web .sb-asset-page-v2 .asset-advanced-event{
  border:0!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 8px 26px rgba(31,55,77,.055)!important;
}
body.sb-web .sb-asset-page-v2 .asset-status-control,
body.sb-web .sb-asset-page-v2 .asset-v2-info-card,
body.sb-web .sb-asset-page-v2 .asset-quick-log-card,
body.sb-web .sb-asset-page-v2 .asset-history-card{
  padding:17px!important;
}
body.sb-web .sb-asset-page-v2 .asset-section-heading{
  display:flex!important;
  align-items:flex-start!important;
  gap:11px!important;
  margin:0 0 14px!important;
}
body.sb-web .sb-asset-page-v2 .asset-section-heading-icon{
  flex:0 0 auto!important;
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:#edf4ff!important;
  color:#3976f6!important;
}
body.sb-web .sb-asset-page-v2 .asset-section-heading-icon .ui-icon{width:18px!important;height:18px!important}
body.sb-web .sb-asset-page-v2 .asset-section-heading-icon.tone-green{background:#eaf8f2!important;color:#1eaa73!important}
body.sb-web .sb-asset-page-v2 .asset-section-heading-icon.tone-orange{background:#fff4df!important;color:#ef9a15!important}
body.sb-web .sb-asset-page-v2 .asset-section-heading span{
  color:#14a896!important;
  font-size:.56rem!important;
  font-weight:820!important;
  letter-spacing:.09em!important;
}
body.sb-web .sb-asset-page-v2 .asset-section-heading h2{
  margin:2px 0 0!important;
  color:#172033!important;
  font-size:1rem!important;
  font-weight:800!important;
  letter-spacing:-.025em!important;
}
body.sb-web .sb-asset-page-v2 .asset-section-heading p{
  margin:4px 0 0!important;
  color:#8b97a8!important;
  font-size:.65rem!important;
}

/* Status: one glance, one click */
body.sb-web .sb-asset-page-v2 .asset-status-buttons{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
}
body.sb-web .sb-asset-page-v2 .asset-status-buttons form{min-width:0!important}
body.sb-web .sb-asset-page-v2 .status-action-btn{
  width:100%!important;
  min-height:66px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:2px 8px!important;
  padding:10px!important;
  border:0!important;
  border-radius:9px!important;
  background:#f8fafc!important;
  color:#475467!important;
  box-shadow:inset 0 0 0 1px #edf1f4!important;
  text-align:left!important;
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease!important;
}
body.sb-web .sb-asset-page-v2 .status-action-btn:not(:disabled):hover{
  transform:translateY(-1px)!important;
  box-shadow:0 8px 20px rgba(31,55,77,.07)!important;
}
body.sb-web .sb-asset-page-v2 .status-action-btn>.ui-icon{
  grid-row:1/3!important;
  width:30px!important;
  height:30px!important;
  padding:7px!important;
  border-radius:8px!important;
  background:#edf4ff!important;
  color:#3976f6!important;
  box-sizing:border-box!important;
}
body.sb-web .sb-asset-page-v2 .status-action-btn>span{
  font-size:.70rem!important;
  font-weight:780!important;
}
body.sb-web .sb-asset-page-v2 .status-action-btn>small{
  color:#98a2b3!important;
  font-size:.52rem!important;
}
body.sb-web .sb-asset-page-v2 .status-action-btn.tone-green>.ui-icon{background:#eaf8f2!important;color:#1eaa73!important}
body.sb-web .sb-asset-page-v2 .status-action-btn.tone-orange>.ui-icon{background:#fff4df!important;color:#ef9a15!important}
body.sb-web .sb-asset-page-v2 .status-action-btn.tone-red>.ui-icon{background:#fff0ef!important;color:#ef5350!important}
body.sb-web .sb-asset-page-v2 .status-action-btn.tone-gray>.ui-icon{background:#f1f3f5!important;color:#7d8998!important}
body.sb-web .sb-asset-page-v2 .status-action-btn.is-current{
  background:#ecfaf7!important;
  box-shadow:inset 0 0 0 1px #bfe9df!important;
  color:#117a6e!important;
  opacity:1!important;
}
body.sb-web .sb-asset-page-v2 .asset-secondary-statuses{
  margin-top:9px!important;
}
body.sb-web .sb-asset-page-v2 .asset-secondary-statuses>summary{
  list-style:none!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#7c8797!important;
  font-size:.62rem!important;
  font-weight:700!important;
  cursor:pointer!important;
}
body.sb-web .sb-asset-page-v2 .asset-secondary-statuses>summary::-webkit-details-marker{display:none!important}
body.sb-web .sb-asset-page-v2 .asset-secondary-statuses>summary .ui-icon{width:14px!important;height:14px!important}
body.sb-web .sb-asset-page-v2 .asset-secondary-statuses .asset-status-buttons{margin-top:9px!important;grid-template-columns:repeat(2,minmax(0,220px))!important}

/* Core information + quick log */
body.sb-web .sb-asset-page-v2 .asset-v2-main-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr)!important;
  gap:12px!important;
  align-items:start!important;
}
body.sb-web .sb-asset-page-v2 .asset-info-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  border-top:1px solid #eef2f5!important;
}
body.sb-web .sb-asset-page-v2 .asset-info-grid>div{
  min-width:0!important;
  padding:11px 8px!important;
  border-bottom:1px solid #eef2f5!important;
}
body.sb-web .sb-asset-page-v2 .asset-info-grid>div:nth-child(odd){padding-left:0!important}
body.sb-web .sb-asset-page-v2 .asset-info-grid>div:nth-child(even){padding-right:0!important}
body.sb-web .sb-asset-page-v2 .asset-info-grid span,
body.sb-web .sb-asset-page-v2 .asset-text-block>span{
  display:block!important;
  color:#98a2b3!important;
  font-size:.56rem!important;
  font-weight:700!important;
}
body.sb-web .sb-asset-page-v2 .asset-info-grid strong{
  display:block!important;
  margin-top:4px!important;
  color:#344054!important;
  font-size:.72rem!important;
  font-weight:740!important;
  overflow-wrap:anywhere!important;
}
body.sb-web .sb-asset-page-v2 .asset-text-block{
  margin-top:12px!important;
  padding:11px 12px!important;
  border-radius:8px!important;
  background:#f8fafc!important;
}
body.sb-web .sb-asset-page-v2 .asset-text-block p{
  margin:5px 0 0!important;
  color:#596579!important;
  font-size:.68rem!important;
  line-height:1.55!important;
}
body.sb-web .sb-asset-page-v2 .asset-mini-log{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:9px!important;
  padding:9px 0!important;
  border-bottom:1px solid #eef2f5!important;
}
body.sb-web .sb-asset-page-v2 .asset-mini-log:last-child{border-bottom:0!important}
body.sb-web .sb-asset-page-v2 .mini-log-icon{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:8px!important;
  background:#f1f5f9!important;
  color:#667085!important;
}
body.sb-web .sb-asset-page-v2 .mini-log-icon .ui-icon{width:16px!important;height:16px!important}
body.sb-web .sb-asset-page-v2 .asset-mini-log strong{display:block!important;color:#344054!important;font-size:.66rem!important}
body.sb-web .sb-asset-page-v2 .asset-mini-log input{
  width:100%!important;
  margin-top:4px!important;
  min-height:34px!important;
  padding:7px 9px!important;
  border:1px solid #e3e8ef!important;
  border-radius:7px!important;
  background:#fafbfc!important;
  color:#344054!important;
  font-size:.62rem!important;
}

/* History is the main narrative, not a pile of boxes. */
body.sb-web .sb-asset-page-v2 .asset-history-card{overflow:hidden!important}
body.sb-web .sb-asset-page-v2 .history-heading{align-items:center!important}
body.sb-web .sb-asset-page-v2 .history-count{
  margin-left:auto!important;
  padding:6px 9px!important;
  border-radius:7px!important;
  background:#f3f6f8!important;
  color:#7b8798!important;
  font-size:.57rem!important;
  font-weight:740!important;
}
body.sb-web .sb-asset-page-v2 .asset-history-list{
  position:relative!important;
  margin-left:17px!important;
  padding-left:22px!important;
}
body.sb-web .sb-asset-page-v2 .asset-history-list::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:8px!important;
  bottom:8px!important;
  width:1px!important;
  background:#e5eaef!important;
}
body.sb-web .sb-asset-page-v2 .asset-history-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  min-height:70px!important;
  padding:10px 0 12px!important;
  border:0!important;
  border-bottom:1px solid #eef2f5!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.sb-web .sb-asset-page-v2 .asset-history-item:last-child{border-bottom:0!important}
body.sb-web .sb-asset-page-v2 .history-icon{
  position:absolute!important;
  left:-39px!important;
  top:12px!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#edf4ff!important;
  color:#3976f6!important;
  box-shadow:0 0 0 4px #fff!important;
}
body.sb-web .sb-asset-page-v2 .history-icon .ui-icon{width:15px!important;height:15px!important}
body.sb-web .sb-asset-page-v2 .asset-history-item.tone-green .history-icon{background:#eaf8f2!important;color:#1eaa73!important}
body.sb-web .sb-asset-page-v2 .asset-history-item.tone-orange .history-icon{background:#fff4df!important;color:#ef9a15!important}
body.sb-web .sb-asset-page-v2 .asset-history-item.tone-red .history-icon{background:#fff0ef!important;color:#ef5350!important}
body.sb-web .sb-asset-page-v2 .history-title-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
body.sb-web .sb-asset-page-v2 .history-title-row strong{color:#344054!important;font-size:.70rem!important;font-weight:780!important}
body.sb-web .sb-asset-page-v2 .history-title-row span{color:#98a2b3!important;font-size:.55rem!important}
body.sb-web .sb-asset-page-v2 .history-by{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  margin-top:3px!important;
  color:#98a2b3!important;
  font-size:.55rem!important;
}
body.sb-web .sb-asset-page-v2 .history-by .ui-icon{width:12px!important;height:12px!important}
body.sb-web .sb-asset-page-v2 .history-change{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:8px!important;
  color:#7b8797!important;
  font-size:.62rem!important;
}
body.sb-web .sb-asset-page-v2 .history-change>.ui-icon{width:13px!important;height:13px!important}
body.sb-web .sb-asset-page-v2 .history-change strong{color:#344054!important;font-weight:760!important}
body.sb-web .sb-asset-page-v2 .history-note-text{margin:7px 0 0!important;color:#596579!important;font-size:.64rem!important;line-height:1.5!important}

/* Secondary data: compact accordions. */
body.sb-web .sb-asset-page-v2 .asset-fold-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body.sb-web .sb-asset-page-v2 .asset-fold{
  padding:0!important;
  overflow:hidden!important;
}
body.sb-web .sb-asset-page-v2 .asset-fold>summary,
body.sb-web .sb-asset-page-v2 .asset-advanced-event>summary{
  list-style:none!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 16px!important;
  align-items:center!important;
  gap:9px!important;
  min-height:58px!important;
  padding:10px 12px!important;
  cursor:pointer!important;
}
body.sb-web .sb-asset-page-v2 .asset-fold>summary::-webkit-details-marker,
body.sb-web .sb-asset-page-v2 .asset-advanced-event>summary::-webkit-details-marker{display:none!important}
body.sb-web .sb-asset-page-v2 .fold-icon{
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#edf4ff!important;
  color:#3976f6!important;
}
body.sb-web .sb-asset-page-v2 .fold-icon .ui-icon{width:17px!important;height:17px!important}
body.sb-web .sb-asset-page-v2 .fold-icon.tone-orange{background:#fff4df!important;color:#ef9a15!important}
body.sb-web .sb-asset-page-v2 .fold-icon.tone-green{background:#eaf8f2!important;color:#1eaa73!important}
body.sb-web .sb-asset-page-v2 .asset-fold>summary strong,
body.sb-web .sb-asset-page-v2 .asset-advanced-event>summary strong{display:block!important;color:#344054!important;font-size:.68rem!important}
body.sb-web .sb-asset-page-v2 .asset-fold>summary small,
body.sb-web .sb-asset-page-v2 .asset-advanced-event>summary small{display:block!important;margin-top:2px!important;color:#98a2b3!important;font-size:.54rem!important}
body.sb-web .sb-asset-page-v2 .fold-chevron{width:16px!important;height:16px!important;color:#98a2b3!important;transition:transform .16s ease!important}
body.sb-web .sb-asset-page-v2 details[open]>summary .fold-chevron{transform:rotate(180deg)!important}
body.sb-web .sb-asset-page-v2 .asset-fold-body{
  padding:12px!important;
  border-top:1px solid #eef2f5!important;
  background:#fbfcfd!important;
}
body.sb-web .sb-asset-page-v2 .asset-advanced-event{padding:0!important;overflow:hidden!important}
body.sb-web .sb-asset-page-v2 .asset-advanced-event>form{padding:14px!important;border-top:1px solid #eef2f5!important}
body.sb-web .sb-asset-page-v2 .asset-danger-zone{
  margin-top:0!important;
  padding:0 2px!important;
  color:#a0a8b4!important;
}
body.sb-web .sb-asset-page-v2 .asset-danger-zone>summary{font-size:.58rem!important;cursor:pointer!important}

@media(max-width:1100px){
  body.sb-web .sb-asset-page-v2 .asset-v2-hero{grid-template-columns:120px minmax(0,1fr) 210px!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-cover{width:120px!important;height:120px!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-main-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  body.sb-web .sb-asset-page-v2{gap:10px!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-hero{
    grid-template-columns:86px minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    padding:13px!important;
  }
  body.sb-web .sb-asset-page-v2 .asset-v2-cover{grid-row:1/2!important;width:86px!important;height:86px!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-title{grid-column:2!important;grid-row:1!important;align-self:center!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-title h2{font-size:1.45rem!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-current-status{grid-column:1/3!important;grid-row:2!important;min-height:70px!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-hero-actions{grid-column:1/3!important;grid-row:3!important;justify-content:stretch!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-hero-actions .btn{flex:1!important;justify-content:center!important}
  body.sb-web .sb-asset-page-v2 .asset-v2-facts{grid-template-columns:1fr 1fr!important}
  body.sb-web .sb-asset-page-v2 .asset-status-buttons{grid-template-columns:1fr 1fr!important}
  body.sb-web .sb-asset-page-v2 .asset-fold-grid{grid-template-columns:1fr!important}
}
@media(max-width:480px){
  body.sb-web .sb-asset-page-v2 .asset-v2-facts{grid-template-columns:1fr!important}
  body.sb-web .sb-asset-page-v2 .asset-info-grid{grid-template-columns:1fr!important}
  body.sb-web .sb-asset-page-v2 .asset-info-grid>div{padding:10px 0!important}
  body.sb-web .sb-asset-page-v2 .asset-mini-log{grid-template-columns:32px minmax(0,1fr)!important}
  body.sb-web .sb-asset-page-v2 .asset-mini-log .btn{grid-column:2!important;justify-self:start!important}
}

/* ======================================================================
   StageBase v6.1 — technician workflow: notes -> tasks -> actual work log
   ====================================================================== */
body.sb-web .tech-notes-page,
body.sb-web .work-execution-board{
  --wf-teal:#18b7a5;
  --wf-blue:#4b7bec;
  --wf-green:#22b573;
  --wf-orange:#f4a62a;
  --wf-red:#ef5b62;
  --wf-ink:#172033;
  --wf-muted:#778398;
  --wf-line:#e7ebf0;
  --wf-surface:#fff;
}
body.sb-web .tech-notes-page{display:flex;flex-direction:column;gap:14px}
body.sb-web .tech-notes-hero{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  padding:20px 22px;background:linear-gradient(120deg,#f1fffc 0%,#f6fbff 58%,#fff 100%);
  border:1px solid #e5efef;border-radius:10px;box-shadow:0 8px 28px rgba(26,48,66,.045)
}
body.sb-web .tech-notes-hero h2{margin:4px 0 5px;color:var(--wf-ink);font-size:1.45rem;letter-spacing:-.045em}
body.sb-web .tech-notes-hero p{max-width:760px;margin:0;color:var(--wf-muted);font-size:.78rem;line-height:1.55}
body.sb-web .tech-notes-summary{min-width:125px;padding:12px 14px;background:#fff;border:1px solid var(--wf-line);border-radius:9px;text-align:center}
body.sb-web .tech-notes-summary strong{display:block;color:var(--wf-ink);font-size:1.5rem}
body.sb-web .tech-notes-summary span{color:var(--wf-muted);font-size:.62rem}
body.sb-web .tech-notes-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:14px;align-items:start}
body.sb-web .tech-note-capture,
body.sb-web .tech-note-board{background:#fff;border:1px solid var(--wf-line);border-radius:10px;box-shadow:0 8px 28px rgba(26,48,66,.04)}
body.sb-web .tech-note-capture{position:sticky;top:82px;padding:16px}
body.sb-web .tech-note-capture .section-title{margin-bottom:12px}
body.sb-web .tech-note-capture .section-title h2,
body.sb-web .tech-note-board-head h2{margin:2px 0 0;color:var(--wf-ink);font-size:1rem;letter-spacing:-.035em}
body.sb-web .tech-note-form{display:flex;flex-direction:column;gap:10px}
body.sb-web .tech-note-form label,
body.sb-web .tech-note-convert-form label,
body.sb-web .work-finish-now-form label,
body.sb-web .manual-worklog-form label{display:flex;flex-direction:column;gap:5px}
body.sb-web .tech-note-form label>span,
body.sb-web .tech-note-convert-form label>span,
body.sb-web .work-finish-now-form label>span,
body.sb-web .manual-worklog-form label>span{color:#667085;font-size:.59rem;font-weight:700;text-transform:uppercase;letter-spacing:.045em}
body.sb-web .tech-note-form input,
body.sb-web .tech-note-form select,
body.sb-web .tech-note-form textarea,
body.sb-web .tech-note-convert-form input,
body.sb-web .tech-note-convert-form textarea,
body.sb-web .work-finish-now-form textarea,
body.sb-web .manual-worklog-form input,
body.sb-web .manual-worklog-form textarea{
  width:100%;min-height:38px;padding:9px 10px;border:1px solid #dfe5eb;border-radius:7px;background:#fbfcfd;color:var(--wf-ink);font-size:.72rem;outline:none
}
body.sb-web .tech-note-form textarea,
body.sb-web .tech-note-convert-form textarea,
body.sb-web .work-finish-now-form textarea,
body.sb-web .manual-worklog-form textarea{min-height:82px;resize:vertical}
body.sb-web .tech-note-form input:focus,
body.sb-web .tech-note-form select:focus,
body.sb-web .tech-note-form textarea:focus,
body.sb-web .tech-note-convert-form input:focus,
body.sb-web .work-finish-now-form textarea:focus,
body.sb-web .manual-worklog-form input:focus,
body.sb-web .manual-worklog-form textarea:focus{border-color:rgba(24,183,165,.55);box-shadow:0 0 0 3px rgba(24,183,165,.09)}
body.sb-web .tech-note-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.sb-web .tech-note-board{overflow:hidden}
body.sb-web .tech-note-board-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--wf-line)}
body.sb-web .tech-note-tabs{display:flex;align-items:center;gap:4px;padding:3px;background:#f3f6f8;border-radius:7px}
body.sb-web .tech-note-tabs a{padding:6px 8px;border-radius:5px;color:#7c8798;font-size:.6rem;font-weight:700}
body.sb-web .tech-note-tabs a.active{background:#fff;color:#152033;box-shadow:0 2px 7px rgba(22,34,50,.06)}
body.sb-web .tech-note-list{display:flex;flex-direction:column}
body.sb-web .tech-note-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:16px;border-bottom:1px solid #edf0f3;background:#fff;transition:background .15s ease}
body.sb-web .tech-note-item:last-child{border-bottom:0}
body.sb-web .tech-note-item:hover{background:#fcfdfd}
body.sb-web .tech-note-item.priority-urgent{box-shadow:inset 3px 0 0 var(--wf-red)}
body.sb-web .tech-note-item.priority-high{box-shadow:inset 3px 0 0 var(--wf-orange)}
body.sb-web .tech-note-item.status-planned{background:#fbfdfc}
body.sb-web .tech-note-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:6px}
body.sb-web .tech-note-meta time{color:#98a2b3;font-size:.57rem}
body.sb-web .tech-note-item h3{margin:0;color:var(--wf-ink);font-size:.86rem;letter-spacing:-.025em}
body.sb-web .tech-note-item p{margin:6px 0 0;color:#667085;font-size:.68rem;line-height:1.55}
body.sb-web .tech-note-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:11px}
body.sb-web .tech-note-context>span{display:grid;grid-template-columns:16px auto;grid-template-rows:auto auto;column-gap:5px;align-items:center;color:#8a95a6}
body.sb-web .tech-note-context .ui-icon{grid-row:1/3;width:14px;height:14px;color:#94a0b2}
body.sb-web .tech-note-context small{font-size:.49rem;text-transform:uppercase;letter-spacing:.04em}
body.sb-web .tech-note-context strong{color:#536074;font-size:.58rem;font-weight:700}
body.sb-web .tech-note-actions{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap;justify-content:flex-end;min-width:150px}
body.sb-web .tech-note-convert{position:relative}
body.sb-web .tech-note-convert>summary{list-style:none}
body.sb-web .tech-note-convert>summary::-webkit-details-marker{display:none}
body.sb-web .tech-note-convert-form{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:min(460px,80vw);padding:14px;background:#fff;border:1px solid #dfe6ec;border-radius:9px;box-shadow:0 18px 45px rgba(24,37,54,.16)}
body.sb-web .tech-note-convert-form fieldset{margin:10px 0 0;padding:0;border:0}
body.sb-web .tech-note-convert-form legend{margin-bottom:7px;color:#667085;font-size:.59rem;font-weight:700;text-transform:uppercase;letter-spacing:.045em}
body.sb-web .tech-assignee-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body.sb-web .tech-assignee-picks label{display:block;position:relative}
body.sb-web .tech-assignee-picks input{position:absolute;opacity:0;pointer-events:none}
body.sb-web .tech-assignee-picks span{display:block;padding:9px;border:1px solid #e2e8ee;border-radius:7px;background:#fafcfd;cursor:pointer}
body.sb-web .tech-assignee-picks strong{display:block;color:#334155;font-size:.66rem}
body.sb-web .tech-assignee-picks small{color:#8a95a6;font-size:.54rem}
body.sb-web .tech-assignee-picks input:checked+span{border-color:#21b8a7;background:#edfbf8;box-shadow:0 0 0 2px rgba(24,183,165,.08)}

body.sb-web .work-execution-board{margin:14px 0;padding:17px;background:#fff;border:1px solid #e5eaf0;border-radius:10px;box-shadow:0 8px 28px rgba(26,48,66,.04)}
body.sb-web .work-execution-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
body.sb-web .work-execution-head h2{margin:3px 0 4px;color:var(--wf-ink);font-size:1.02rem;letter-spacing:-.035em}
body.sb-web .work-execution-head p{margin:0;color:#7b8798;font-size:.66rem}
body.sb-web .live-work-badge{display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:20px;background:#ecfbf7;color:#168d70;font-size:.6rem;font-weight:750;white-space:nowrap}
body.sb-web .live-work-badge i{width:7px;height:7px;border-radius:50%;background:#21b977;box-shadow:0 0 0 5px rgba(33,185,119,.12);animation:sbLivePulse 1.5s ease-in-out infinite}
@keyframes sbLivePulse{50%{box-shadow:0 0 0 9px rgba(33,185,119,0)}}
body.sb-web .work-execution-actions{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;padding:12px 0 15px;border-top:1px solid #f0f2f5;border-bottom:1px solid #f0f2f5}
body.sb-web .work-start-now-form{display:flex}
body.sb-web .work-finish-now-form{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:10px;flex:1;min-width:320px}
body.sb-web .manual-worklog{margin-left:auto;min-width:210px;border:1px solid #e3e8ed;border-radius:7px;background:#fafcfd}
body.sb-web .manual-worklog>summary{list-style:none;display:flex;align-items:center;gap:7px;padding:9px 10px;color:#596579;font-size:.62rem;font-weight:700;cursor:pointer}
body.sb-web .manual-worklog>summary::-webkit-details-marker{display:none}
body.sb-web .manual-worklog>summary .ui-icon{width:14px;height:14px}
body.sb-web .manual-worklog-form{width:390px;max-width:80vw;padding:11px;border-top:1px solid #e7ebef;background:#fff}
body.sb-web .worklog-time-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:7px}
body.sb-web .inline-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;margin:8px 0}
body.sb-web .inline-check input{width:auto!important;min-height:0!important}
body.sb-web .inline-check span{text-transform:none!important;letter-spacing:0!important;color:#5d697b!important}
body.sb-web .worklog-history{display:flex;flex-direction:column}
body.sb-web .worklog-entry{display:grid;grid-template-columns:58px 155px minmax(0,1fr);gap:12px;align-items:start;padding:12px 2px;border-bottom:1px solid #edf0f3}
body.sb-web .worklog-entry:last-child{border-bottom:0}
body.sb-web .worklog-entry.is-live{background:linear-gradient(90deg,rgba(33,185,119,.055),transparent)}
body.sb-web .worklog-date strong{display:block;color:#344054;font-size:.74rem}
body.sb-web .worklog-date span{color:#98a2b3;font-size:.53rem}
body.sb-web .worklog-time strong{display:block;color:#344054;font-size:.67rem}
body.sb-web .worklog-time span{display:block;margin-top:2px;color:#98a2b3;font-size:.54rem}
body.sb-web .worklog-note p{margin:0;color:#5c687a;font-size:.66rem;line-height:1.5}
body.sb-web .worklog-empty{padding:16px 2px;color:#98a2b3;font-size:.64rem}
/* The new work log replaces the older per-user feedback box in the visual flow. */
body.sb-web .task-detail-page .feedback-panel{display:none!important}

@media(max-width:1000px){
  body.sb-web .tech-notes-layout{grid-template-columns:1fr}
  body.sb-web .tech-note-capture{position:static}
  body.sb-web .tech-note-item{grid-template-columns:1fr}
  body.sb-web .tech-note-actions{justify-content:flex-start}
}
@media(max-width:760px){
  body.sb-web .tech-notes-hero{align-items:flex-start;flex-direction:column;padding:15px}
  body.sb-web .tech-notes-summary{min-width:0;width:100%;text-align:left}
  body.sb-web .tech-note-two{grid-template-columns:1fr}
  body.sb-web .tech-note-board-head{align-items:flex-start;flex-direction:column}
  body.sb-web .tech-note-tabs{width:100%;overflow:auto}
  body.sb-web .tech-note-convert-form{position:fixed;left:10px;right:10px;top:16vh;width:auto;max-height:72vh;overflow:auto}
  body.sb-web .tech-assignee-picks{grid-template-columns:1fr}
  body.sb-web .work-execution-head{flex-direction:column}
  body.sb-web .work-execution-actions{flex-direction:column}
  body.sb-web .work-finish-now-form{grid-template-columns:1fr;width:100%;min-width:0}
  body.sb-web .manual-worklog{margin-left:0;width:100%}
  body.sb-web .manual-worklog-form{width:100%;max-width:none}
  body.sb-web .worklog-time-grid{grid-template-columns:1fr}
  body.sb-web .worklog-entry{grid-template-columns:54px 1fr}
  body.sb-web .worklog-note{grid-column:2}
}

/* ======================================================================
   StageBase v6.1.1 — note -> task editor visibility / usability fix
   The conversion editor is intentionally allowed to escape the note board.
   ====================================================================== */
body.sb-web .tech-note-board,
body.sb-web .tech-note-list,
body.sb-web .tech-note-item,
body.sb-web .tech-note-actions{
  overflow:visible!important;
}
body.sb-web .tech-note-item{position:relative}
body.sb-web .tech-note-convert{position:relative;z-index:5}
body.sb-web .tech-note-convert[open]{z-index:80}
body.sb-web .tech-note-item:has(.tech-note-convert[open]){z-index:70}
body.sb-web .tech-note-convert-form{
  right:0!important;
  top:calc(100% + 8px)!important;
  width:min(520px,calc(100vw - 300px))!important;
  max-height:min(560px,72vh)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  padding:16px!important;
  background:#fff!important;
  border:1px solid #dfe6ec!important;
  box-shadow:0 22px 58px rgba(24,37,54,.18)!important;
}
body.sb-web .tech-note-convert-form .tech-note-two{margin-bottom:4px}
body.sb-web .tech-note-convert-form input[type="datetime-local"]{
  color-scheme:light;
  min-width:0;
}
body.sb-web .tech-note-convert-form .tech-assignee-picks{margin-bottom:12px}
body.sb-web .tech-note-convert-form .btn.full{margin-top:4px}

@media(max-width:1000px){
  body.sb-web .tech-note-convert-form{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    width:min(560px,calc(100vw - 32px))!important;
    max-height:min(680px,calc(100vh - 48px))!important;
    transform:translate(-50%,-50%)!important;
    z-index:9999!important;
  }
}
@media(max-width:760px){
  body.sb-web .tech-note-convert-form{
    left:12px!important;
    right:12px!important;
    top:calc(env(safe-area-inset-top) + 18px)!important;
    width:auto!important;
    max-height:calc(100vh - env(safe-area-inset-top) - 36px)!important;
    transform:none!important;
  }
}
