/* AssetDeck workspace architecture — shared structural layer over canonical color tokens. */
html .forma-workspace{--sidebar:214px;background:var(--bg);font-size:14px}
html .forma-workspace .sidebar{padding:0 12px 14px;background:var(--sidebar-bg);border:0;border-right:1px solid var(--line)}
html .forma-workspace .sidebar .brand{height:76px;margin:0 10px 20px;padding:0;font-size:27px;gap:10px}
html .forma-workspace .brand-symbol{width:31px;height:33px;border-radius:8px}
html .forma-workspace .sidebar .nav-label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;margin:12px 12px 8px;opacity:.65}
html .forma-workspace .sidebar nav>a{padding:11px 12px;min-height:43px;border:0;border-radius:7px;font-size:13px;margin:2px 0;gap:12px}
html .forma-workspace .sidebar nav>a.active{background:var(--soft);box-shadow:none;color:var(--accent)}
html .forma-workspace .sidebar nav>a.active::after{content:'';width:4px;height:18px;border-radius:3px;background:var(--primary);margin-left:auto}
html .forma-workspace .sidebar nav>a .icon{width:18px;height:18px;flex:none}
html .forma-workspace .sidebar-bottom{padding-top:22px;margin-top:auto;border-top:1px solid var(--line)}
html .forma-workspace .profile{padding:0 5px 12px}
html .forma-workspace .profile strong{font-size:12px}
html .forma-workspace .profile small{font-size:10px}
html .forma-workspace .sidebar .context-navigation{padding-bottom:20px}
html .forma-workspace .context-navigation>.settings-back{margin-bottom:20px;color:var(--accent);font-weight:600}
html .forma-workspace .context-navigation>.nav-label{margin-top:24px}
html .forma-workspace .context-navigation>a{font-size:12px;min-height:36px;padding:8px 10px}
html .forma-workspace .topbar{height:76px;padding:0 36px;background:var(--bg);border:0;gap:24px}
html .forma-workspace .topbar-workspace{background:transparent;border:0;padding:0;margin:0;min-height:0;gap:10px}
html .forma-workspace .topbar-workspace strong{font-size:12px;font-weight:650}
html .forma-workspace .topbar-workspace small{font-size:10px}
html .forma-workspace .topbar-workspace .workspace-avatar{width:31px;height:31px;border-radius:7px;background:var(--panel);color:var(--ink);border:1px solid var(--line)}
html .forma-workspace .topbar-workspace .workspace-logo{width:34px;height:34px}
html .forma-workspace .global-search{background:var(--panel);border:1px solid var(--line);border-radius:7px;min-height:36px;padding:0 10px}
html .forma-workspace .global-search input{width:210px;font-size:12px}
html .forma-workspace .topbar-right{gap:18px}
html .forma-workspace main{background:var(--panel);border:1px solid var(--line);border-right:0;border-bottom:0;border-radius:18px 0 0 0;margin:0 0 0 12px;padding:34px 36px 60px;min-height:calc(100dvh - 76px);max-width:none}
html .forma-workspace h1{font-size:32px;letter-spacing:-1.25px;font-weight:650;line-height:1.2}
html .forma-workspace .page-heading{margin-bottom:30px;min-height:68px}
html .page-kicker{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:9px}
html .forma-workspace .page-heading p{font-size:13px;margin-top:9px}
html .forma-workspace .button{border-radius:7px;min-height:37px;font-size:12px;padding:9px 13px;box-shadow:none}
html .forma-workspace .button.primary{box-shadow:0 1px 2px #00000012}
html .forma-workspace .panel{box-shadow:none;border-radius:10px}
html .forma-workspace .back-link{color:var(--muted);font-size:11px;margin-bottom:16px}
html .forma-workspace .back-link:hover{color:var(--accent)}
html .forma-workspace th{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:600;background:var(--bg);color:var(--muted);height:42px}
html .forma-workspace td{padding:17px 18px;font-size:12px}
html .forma-workspace tr:last-child td{border-bottom:0}
html .forma-workspace tbody tr:hover{background:var(--bg)}
html .forma-workspace .badge{font-size:10px;padding:4px 8px;border-radius:5px;font-weight:550}
html .forma-workspace .asset-cell{gap:12px}
html .forma-workspace .asset-cell strong{font-size:12px;font-weight:650}
html .forma-workspace .asset-cell small{font-size:10px;margin-top:4px}
html .forma-workspace .device-icon{border-radius:8px;width:36px;height:36px}
html .forma-workspace .device-image{width:36px;height:36px;object-fit:contain}
html .forma-workspace .asset-cell .avatar{width:34px;height:34px;border:0;border-radius:9px;background:var(--soft);color:var(--accent)}
/* Inventory: views, then search/tools, then records. */
html .forma-workspace .inventory-panel{border:0;border-radius:0;overflow:visible}
html .inventory-views{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);overflow:auto;white-space:nowrap;margin:0 0 22px}
html .inventory-views>a{color:var(--muted);font-size:12px;padding:0 0 14px;border-bottom:2px solid transparent;text-decoration:none;font-weight:550}
html .inventory-views>a[aria-current=page]{color:var(--accent);border-color:var(--primary)}
html .inventory-views>button{margin-left:auto;font-size:12px;padding:0 0 14px;display:flex;gap:7px;align-items:center;white-space:nowrap}
html .forma-workspace .inventory-filters{padding:0}
html .forma-workspace .inventory-search-row{gap:8px;flex-wrap:wrap}
html .forma-workspace .inventory-search-row .search-field{max-width:420px;flex:1;min-width:180px;margin-right:0}
html .forma-workspace .inventory-search-row .filter-toggle:first-of-type{margin-left:auto}
html .forma-workspace .inventory-results-bar{font-size:11px;padding:16px 0;color:var(--muted)}
html .forma-workspace .inventory-panel>.table-scroll{border:1px solid var(--line);border-radius:9px}
html .forma-workspace .inventory-filter-details{padding:22px;background:var(--bg);margin:14px 0;border-radius:9px}
html .forma-workspace .inventory-pagination{border:0;padding:18px 0;font-size:11px}
html .forma-workspace .inventory-pagination .button{min-height:32px;font-size:11px}
html .forma-workspace .search-field{border-color:var(--line);min-height:39px;background:var(--bg)}
/* Dashboard: quiet metric strip and task-oriented workspace. */
html .dashboard-intro{margin:-4px 0 24px}
html .workflow-links{display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:20px}
html .workflow-links>a{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);text-decoration:none}
html .workflow-links>a:hover{color:var(--accent)}
html .workflow-links .icon{width:16px;height:16px}
html .workflow-links .icon:last-child{width:13px}
html .forma-workspace .dashboard-layout-bar{justify-content:flex-end;margin:0 0 18px;min-height:35px}
html .forma-workspace .custom-dashboard-grid{gap:18px}
html .forma-workspace .metric{min-height:140px;border-radius:8px;border:1px solid var(--line);padding:22px;background:var(--bg)}
html .forma-workspace .metric[data-dashboard-card=total]{background:var(--soft);border-color:transparent;padding-top:22px}
html .forma-workspace .metric>div>.icon{background:transparent;padding:0;width:19px;height:19px;color:var(--muted)}
html .forma-workspace .metric strong{font-size:40px;letter-spacing:-1.5px;font-weight:550;margin-top:20px}
html .forma-workspace .metric-mini{font-size:10px;font-weight:400;letter-spacing:0}
html .forma-workspace .dashboard-widget-body>.panel{height:100%}
html .forma-workspace .panel-heading{padding:22px 24px}
html .forma-workspace .panel-heading h2{font-size:14px;font-weight:650;letter-spacing:-.2px}
html .forma-workspace .category-cards{display:flex;gap:0;margin:0 24px 24px;border-bottom:1px solid var(--line);padding-bottom:20px;flex-wrap:wrap}
html .forma-workspace .category-card{display:grid;grid-template-columns:32px auto;grid-template-rows:auto auto;column-gap:10px;flex:1;min-width:115px;padding:10px 12px;border:0;border-radius:0;background:transparent;text-align:left}
html .forma-workspace .category-card .device-icon{grid-row:1/3;align-self:center;width:30px;height:30px}
html .forma-workspace .category-card strong{font-size:24px;line-height:1.1;margin:0;letter-spacing:-1px;font-weight:600}
html .forma-workspace .category-card>span:last-child{font-size:10px;margin:4px 0 0}
html .forma-workspace .lifecycle-heading{margin:0 24px 14px;font-size:11px}
html .forma-workspace .lifecycle-bar{margin:0 24px;height:10px;border-radius:3px}
html .forma-workspace .legend{margin:18px 24px 24px;gap:12px;font-size:10px}
html .forma-workspace .attention-row{margin:0 24px;padding:17px 0}
html .forma-workspace .attention-foot{margin-top:14px;background:transparent;font-size:10px}
/* Settings are a searchable directory, with contextual navigation on a section. */
html .directory-search{display:flex;align-items:center;gap:10px;max-width:560px;padding:0 13px;margin-bottom:34px}
html .directory-search input{width:100%;padding:12px 0;min-width:0}
html .directory-search>kbd{font-size:10px}
html .settings-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 40px;max-width:1200px}
html .directory-group>h2{font-size:11px;color:var(--muted);font-weight:600;margin:0 0 10px;padding-bottom:12px;border-bottom:1px solid var(--line)}
html .directory-links>a{display:flex;align-items:center;gap:14px;padding:15px 10px;margin:2px -10px;border-radius:8px;color:var(--ink);text-decoration:none}
html .directory-links>a:hover{background:var(--bg)}
html .directory-links>a>span:nth-child(2){flex:1;min-width:0}
html .directory-links strong{display:block;font-size:13px;font-weight:600}
html .directory-links small{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}
html .directory-links>a>.icon{width:14px;height:14px;color:var(--muted)}
html .directory-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--bg);flex:none}
html .directory-links>a:hover .directory-icon{background:var(--soft);color:var(--accent);border-color:transparent}
html .forma-workspace .settings-layout{display:block;max-width:1150px}
html .forma-workspace .settings-heading{border-bottom:1px solid var(--line);padding-bottom:26px;margin-bottom:28px}
html .forma-workspace .settings-content>.panel{border:0;border-radius:0}
html .forma-workspace .settings-content>.panel>.panel-heading{padding:0 0 22px}
html .forma-workspace .settings-form{padding:8px 0 0}
html .forma-workspace .settings-editor{border:1px solid var(--line);background:var(--bg);border-radius:8px;margin:20px 0}
html .forma-workspace .settings-editor>summary{padding:15px 18px;font-size:12px}
html .forma-workspace .settings-editor .settings-form{padding:20px;background:var(--panel)}
html .forma-workspace .settings-section-heading{margin-bottom:18px}
html .forma-workspace .settings-section-heading h2{font-size:14px}
html .forma-workspace .settings-save{padding:20px 0;margin-top:28px;border-top:1px solid var(--line);border-radius:0}
html .forma-workspace .settings-save>span{font-size:10px}
html .forma-workspace .settings-table{border:1px solid var(--line);border-radius:8px}
html .forma-workspace .settings-table td{padding:18px}
/* Forms: section guide + uninterrupted editing, with sticky save controls. */
html .editor-layout{display:grid;grid-template-columns:180px minmax(0,850px);gap:44px;align-items:start}
html .editor-guide{position:sticky;top:24px;padding-top:4px}
html .editor-guide h2{font-size:12px;margin-bottom:20px}
html .editor-guide nav{display:grid;gap:2px;border-left:1px solid var(--line)}
html .editor-guide a{padding:10px 0 10px 16px;color:var(--muted);font-size:11px;text-decoration:none;border-left:2px solid transparent;margin-left:-1px}
html .editor-guide a:hover,html .editor-guide a[aria-current]{color:var(--accent);border-color:var(--primary);background:var(--soft)}
html .editor-guide p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:28px}
html .forma-workspace .asset-form{border:0;border-radius:0;background:transparent;overflow:visible}
html .forma-workspace .asset-form .form-section{display:block;padding:0 0 30px;margin-bottom:30px;border-bottom:1px solid var(--line);scroll-margin-top:24px}
html .forma-workspace .asset-form .form-section>div:first-child{margin-bottom:24px}
html .forma-workspace .asset-form .form-section h2{font-size:17px;letter-spacing:-.3px;margin:0 0 6px}
html .forma-workspace .asset-form .form-section p{max-width:none;font-size:12px}
html .forma-workspace .asset-form .form-grid{gap:23px 20px}
html .forma-workspace .asset-form .form-footer{position:sticky;bottom:0;z-index:4;border:1px solid var(--line);border-radius:9px;padding:16px 20px;background:var(--panel);box-shadow:0 -8px 25px color-mix(in srgb,var(--panel) 85%,transparent)}
html .forma-workspace .asset-form .form-footer>span{font-size:10px}
/* Directory and detail surfaces. */
html .list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px 0}
html .list-heading h2{font-size:14px}
html .list-heading>span{font-size:11px;color:var(--muted)}
html .forma-workspace .directory-panel{border:1px solid var(--line);overflow:hidden}
html .forma-workspace .directory-panel .filter-bar{padding:18px 22px;border:0}
html .forma-workspace .location-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px}
html .forma-workspace .location-card{display:flex;flex-direction:column;border-radius:10px}
html .forma-workspace .location-art{height:145px;background:var(--bg);display:flex;align-items:center;justify-content:center;position:relative}
html .forma-workspace .location-art .location-monogram{position:static;display:grid;place-items:center;font:500 38px/1 Manrope,system-ui,sans-serif;width:76px;height:76px;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--muted);transform:none;letter-spacing:-2px}
html .forma-workspace .location-art>.icon{position:absolute;top:15px;right:16px;width:16px;color:var(--muted)}
html .forma-workspace .location-info{padding:22px;display:flex;flex-direction:column;flex:1}
html .forma-workspace .location-info h2{font-size:17px}
html .forma-workspace .location-info .location-count{order:5;display:flex;align-items:baseline;gap:7px;border-top:1px solid var(--line);padding-top:17px;margin-top:20px;font-size:11px}
html .forma-workspace .location-count strong{font-size:25px;color:var(--ink);font-weight:600;letter-spacing:-.8px}
html .forma-workspace .location-info .text-link{order:6;font-size:11px;margin-top:10px}
html .forma-workspace .location-info address{font-style:normal;font-size:11px;line-height:1.7;margin-top:12px}
html .forma-workspace .location-card-photo{object-fit:contain;width:100%;height:100%}
html .forma-workspace .profile-heading{border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:28px}
html .forma-workspace .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:24px;gap:26px}
html .forma-workspace .detail-grid dt{font-size:10px;text-transform:uppercase;letter-spacing:.055em;margin-bottom:8px}
html .forma-workspace .detail-grid dd{font-size:12px;font-weight:500}
html .forma-workspace .profile-tab-list{gap:24px;margin:28px 0 22px}
html .forma-workspace .profile-tab-list [role=tab]{padding:12px 0;background:transparent;font-size:12px}
html .forma-workspace .profile-tab-count{border-radius:4px;padding:2px 5px;font-size:10px}
html .forma-workspace .detail-layout{grid-template-columns:minmax(0,1fr) 300px;gap:26px}
html .forma-workspace .detail-layout .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html .forma-workspace .asset-summary{padding:26px;border-bottom:1px solid var(--line);background:var(--bg)}
html .forma-workspace .asset-summary .device-icon,html .forma-workspace .asset-summary .device-image{width:60px;height:60px;border-radius:12px}
html .forma-workspace .detail-history{background:transparent;border:0;border-left:1px solid var(--line);border-radius:0}
html .forma-workspace .detail-history .panel-heading{padding:0 0 20px 24px}
html .forma-workspace .detail-history .timeline{padding:0 0 0 24px}
html .forma-workspace .location-photo{height:220px;max-width:none;border:1px solid var(--line);border-radius:10px;margin-bottom:24px}
html .forma-workspace .notes-panel{border:1px solid var(--line);padding:24px}
/* Report library now spans the workspace; the results keep their full width. */
html .forma-workspace .reports-layout{display:block}
html .forma-workspace .report-library{padding:0 0 22px;border:0;border-bottom:1px solid var(--line);border-radius:0;margin-bottom:26px;max-height:none;overflow:visible}
html .report-library-saved{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html .report-library-saved>h2{margin:0 12px 0 0!important;font-size:12px}
html .report-library-saved>small{display:none}
html .report-library-saved>.muted{font-size:11px}
html .forma-workspace .report-library-link{display:inline-flex;flex-direction:column;padding:8px 12px;margin:0;border:1px solid var(--line);border-radius:6px;font-size:11px;background:var(--panel)}
html .report-quick-starts{margin-top:18px;font-size:12px}
html .report-quick-starts>summary{color:var(--accent);font-weight:550}
html .report-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}
html .forma-workspace .report-template-grid .report-library-link{padding:15px;background:var(--bg);margin:0}
html .forma-workspace .report-builder{padding:24px;background:var(--bg);border:1px solid var(--line);border-radius:9px}
html .forma-workspace .report-builder>.report-section-heading{margin-bottom:16px}
html .forma-workspace .report-builder h2{font-size:15px}
html .forma-workspace .report-disclosure{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:14px 16px;margin:12px 0}
html .forma-workspace .report-disclosure>summary{margin:0;font-size:12px}
html .forma-workspace .report-disclosure[open]>summary{margin-bottom:18px}
html .forma-workspace .report-metrics{gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:24px 0}
html .forma-workspace .report-metrics>div{border:0;border-right:1px solid var(--line);border-radius:0;background:var(--panel);padding:18px 24px}
html .forma-workspace .report-metrics>div:last-child{border-right:0}
html .forma-workspace .report-metrics strong{font-size:29px;font-weight:550}
html .forma-workspace .report-metrics small{font-size:10px}
/* Responsive architecture retains labeled navigation and local table scrolling. */
@media(min-width:1500px){html .forma-workspace main{padding-left:48px;padding-right:48px}html .forma-workspace .editor-layout{gap:70px}}
@media(max-width:1150px){html .forma-workspace{--sidebar:190px}html .forma-workspace main{padding:28px 24px 50px}html .forma-workspace .topbar{padding:0 25px}html .forma-workspace .detail-layout{grid-template-columns:1fr}html .forma-workspace .detail-history{border-left:0;border-top:1px solid var(--line);padding-top:24px}html .forma-workspace .detail-history .timeline,html .forma-workspace .detail-history .panel-heading{padding-left:0}html .editor-layout{grid-template-columns:150px minmax(0,1fr);gap:28px}html .forma-workspace .global-search input{width:150px}}
@media(max-width:900px){html .settings-directory{gap:28px 24px}html .editor-layout{display:block}html .editor-guide{position:static;margin-bottom:24px;padding:0}html .editor-guide h2,html .editor-guide p{display:none}html .editor-guide nav{display:flex;gap:12px;flex-wrap:wrap;border:0}html .editor-guide a{border:1px solid var(--line);padding:8px 10px;border-radius:5px;font-size:10px}html .forma-workspace .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html .report-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html .forma-workspace .sidebar{width:260px;padding:0 14px 20px;max-width:85vw}html .forma-workspace .sidebar .brand{height:70px;margin-bottom:12px}html .forma-workspace .sidebar .nav-close{top:24px}html .forma-workspace .topbar{height:68px;padding:0 16px;gap:10px}html .forma-workspace .breadcrumb{gap:14px}html .forma-workspace .topbar-workspace strong{font-size:11px;max-width:145px}html .forma-workspace .topbar-workspace small{display:none}html .forma-workspace .topbar-workspace .workspace-avatar{display:none}html .forma-workspace .topbar-right{gap:10px}html .forma-workspace main{border-radius:14px 14px 0 0;margin:0;border-left:0;border-right:0;padding:26px 18px 40px;min-height:calc(100dvh - 68px)}html .forma-workspace h1{font-size:29px}html .forma-workspace .page-heading{align-items:flex-start;gap:18px;margin-bottom:24px}html .page-kicker{font-size:9px}html .forma-workspace .page-heading .actions{justify-content:flex-start}html .forma-workspace .inventory-views{gap:22px;margin-bottom:18px}html .inventory-views>button{margin-left:0}html .forma-workspace .inventory-search-row .search-field{max-width:none;min-width:0;flex-basis:calc(100% - 80px)}html .forma-workspace .inventory-pagination{gap:16px}html .forma-workspace .custom-dashboard-grid{gap:12px}html .forma-workspace .metric{padding:16px;min-height:135px}html .forma-workspace .metric[data-dashboard-card=total]{padding-top:16px}html .forma-workspace .metric strong{font-size:34px}html .workflow-links{gap:12px 20px}html .workflow-links>a{font-size:11px}html .workflow-links>a>.icon:last-child{display:none}html .settings-directory{grid-template-columns:1fr;gap:28px}html .directory-search{margin-bottom:28px}html .forma-workspace .settings-heading{padding-bottom:22px}html .forma-workspace .detail-grid{padding:20px;gap:22px 18px}html .forma-workspace .detail-grid dd{font-size:12px;overflow-wrap:anywhere}html .forma-workspace .profile-tab-list{gap:22px;overflow:auto;white-space:nowrap}html .forma-workspace .profile-tab-list [role=tab]{font-size:11px}html .forma-workspace .asset-form .form-footer{padding:12px;flex-wrap:wrap}html .forma-workspace .asset-form .form-footer>span{display:none}html .forma-workspace .asset-form .form-footer .actions{margin-left:auto}html .list-heading{padding:20px 16px 0;flex-wrap:wrap}html .list-heading>span{display:none}html .forma-workspace .directory-panel .filter-bar{padding:16px}html .forma-workspace .report-library-saved{gap:8px}html .forma-workspace .report-builder{padding:18px}html .forma-workspace .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}html .forma-workspace .report-metrics>div{padding:16px;border-bottom:1px solid var(--line)}html .report-template-grid{grid-template-columns:1fr}html .forma-workspace .report-results>.report-section-heading{padding:18px 18px 0}html .forma-workspace .settings-save{gap:12px}html .forma-workspace .location-grid{grid-template-columns:1fr}}
@media print{html .forma-workspace main{border:0;margin:0;padding:0}html .editor-guide,html .workflow-links{display:none}}

/* Record pages keep identity visible while deeper information uses familiar tabs. */
html .asset-record-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:32px;align-items:start}
html .asset-record-summary{position:sticky;top:24px}
html .forma-workspace .asset-record-summary .asset-summary{display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:var(--bg);padding:26px}
html .forma-workspace .asset-record-summary .asset-summary h2{font-size:18px}
html .forma-workspace .asset-record-summary .asset-summary .badge{margin:0}
html .forma-workspace .asset-record-summary .detail-grid{grid-template-columns:1fr;gap:20px}
html .forma-workspace .asset-record-summary .detail-grid>div{display:flex;justify-content:space-between;gap:20px}
html .forma-workspace .asset-record-summary .detail-grid dt{font-size:10px;text-transform:none;letter-spacing:0;margin:0;flex:none}
html .forma-workspace .asset-record-summary .detail-grid dd{text-align:right;font-size:11px}
html .forma-workspace .asset-record-tabs>.profile-tab-list{margin:0 0 24px}
html .forma-workspace .asset-record-tabs .detail-section{border:0;border-radius:0;border-bottom:1px solid var(--line);padding-bottom:24px;margin:0 0 24px}
html .forma-workspace .asset-record-tabs .panel-heading{padding:0 0 20px}
html .forma-workspace .asset-record-tabs .detail-grid{padding:0;grid-template-columns:repeat(2,minmax(0,1fr))}
html .forma-workspace .asset-record-tabs .notes-content{padding:0}
html .forma-workspace .asset-record-tabs .detail-history{border:0}
html .forma-workspace .asset-record-tabs .timeline{padding:0}
html .forma-workspace .full-timeline{border:0;border-radius:0;max-width:1000px}
html .forma-workspace .full-timeline .timeline{padding:0}
html .forma-workspace .full-timeline .event{display:grid;grid-template-columns:38px minmax(0,1fr);gap:20px;margin:0;padding:0 0 28px}
html .forma-workspace .full-timeline .event>div{padding-bottom:22px;border-bottom:1px solid var(--line)}
html .forma-workspace .full-timeline .event p{font-size:13px;margin:0 0 7px}
html .forma-workspace .full-timeline .event small{display:block;font-size:11px;margin-top:10px}
html .login-workspace{display:grid;grid-template-columns:1fr 1fr;padding:0;border:0;place-items:center;background:var(--panel);min-height:100dvh}
html .login-intro{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:48px;background:var(--bg);width:100%;min-height:100dvh;border-right:1px solid var(--line)}
html .login-wordmark{display:flex;gap:11px;align-items:center;font:700 27px Manrope,system-ui,sans-serif;letter-spacing:-1px;color:var(--ink)}
html .login-wordmark small{font:500 8px system-ui,sans-serif;letter-spacing:.14em;color:var(--muted);margin-left:7px}
html .login-statement{padding:40px 0;max-width:500px}
html .login-statement h2{font-size:clamp(36px,4.4vw,66px);font-weight:550;line-height:1.08;letter-spacing:-2.7px;margin:24px 0;color:var(--ink)}
html .login-statement p{font-size:14px;line-height:1.9;color:var(--muted)}
html .login-map{display:flex;align-items:center;margin-top:42px;font-size:11px;color:var(--accent)}
html .login-map span{padding:12px 16px;border:1px solid var(--line);background:var(--panel);border-radius:7px}
html .login-map i{height:1px;flex:1;max-width:38px;background:var(--primary)}
html .login-intro>small{font-size:11px;color:var(--muted)}
html .login-workspace .login-card{border:0;background:transparent;box-shadow:none;padding:36px;width:min(450px,100%)}
html .login-workspace .login-card .brand{display:none}
html .login-workspace .login-card h1{font-size:30px;margin-bottom:12px}
html .login-workspace .login-card .settings-form{gap:24px;margin-top:32px}
@media(max-width:1100px){html .asset-record-layout{grid-template-columns:260px minmax(0,1fr);gap:24px}}
@media(max-width:900px){html .asset-record-layout{grid-template-columns:1fr}html .asset-record-summary{position:static}html .forma-workspace .asset-record-summary .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html .forma-workspace .asset-record-summary .detail-grid>div{display:block}html .forma-workspace .asset-record-summary .detail-grid dd{text-align:left;margin-top:7px}html .login-intro{padding:32px}html .login-wordmark small{display:none}}
@media(max-width:700px){html .login-workspace{display:flex;flex-direction:column;justify-content:center;padding:24px 18px;background:var(--bg)}html .login-intro{min-height:0;align-self:center;background:transparent;border:0;padding:0 16px 32px;width:min(420px,100%)}html .login-statement,html .login-intro>small{display:none}html .login-workspace .login-card{padding:26px;background:var(--panel);border:1px solid var(--line);border-radius:12px}html .login-workspace .login-card h1{font-size:27px}}

html .forma-workspace .page-heading .dashboard-layout-bar{margin:0;min-height:0;position:relative}
html .forma-workspace .page-heading .dashboard-customization:not([hidden]){position:absolute;right:0;top:calc(100% + 10px);z-index:20;min-width:230px;padding:12px;background:var(--raised);border:1px solid var(--line);border-radius:8px;box-shadow:var(--overlay-shadow)}
html .forma-workspace .page-heading .dashboard-customization .button{width:100%;justify-content:flex-start}
html .forma-workspace .page-heading [data-layout-status]{position:absolute;right:0;top:calc(100% + 155px);background:var(--panel);padding:8px;border:1px solid var(--line);border-radius:6px;min-width:220px;font-size:10px}
html .forma-workspace .inventory-views>a{border-radius:0}
@media(max-width:700px){html .forma-workspace .page-heading .dashboard-customization:not([hidden]){left:0;right:auto}}

html .forma-workspace .sidebar .brand{flex:none}
html .forma-workspace .sidebar nav{flex-shrink:0}
html .settings-nav-group{margin:7px 0}
html .settings-nav-group>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:12px 10px;font-size:11px;font-weight:600;color:var(--sidebar-ink);opacity:.8}
html .settings-nav-group>summary::-webkit-details-marker{display:none}
html .settings-nav-group>summary:hover{opacity:1}
html .settings-nav-group>summary>span{font-size:15px;transform:rotate(-90deg)}
html .settings-nav-group[open]>summary>span{transform:rotate(0)}
html .forma-workspace .sidebar .settings-nav-group>a{display:flex;align-items:center;gap:10px;min-height:37px;padding:9px 10px;font-size:12px;text-decoration:none;color:var(--sidebar-ink);border-radius:6px;margin:2px 0;border:0}
html .forma-workspace .sidebar .settings-nav-group>a .icon{width:16px;height:16px;flex:none;opacity:.7}
html .forma-workspace .sidebar .settings-nav-group>a:hover{background:color-mix(in srgb,var(--sidebar-ink) 6%,transparent)}
html .forma-workspace .sidebar .settings-nav-group>a.active{background:var(--soft);color:var(--accent);font-weight:600;box-shadow:inset 2px 0 var(--primary)}
html .forma-workspace .sidebar .workspace-return{margin-top:24px;font-size:11px}

/* Readable working text takes precedence over ornamental density. */
html .forma-workspace td,html .forma-workspace .asset-cell strong{font-size:13px}
html .forma-workspace .asset-cell small,html .forma-workspace th{font-size:11px}
html .directory-links small{font-size:12px}
html .forma-workspace .asset-record-summary .detail-grid dd{font-size:12px}
html .forma-workspace .sidebar .settings-nav-group>a{font-size:13px}

/* Content-sized settings sections: columns flow independently, without row gaps. */
html .settings-directory{display:block;columns:2;column-gap:24px;max-width:1200px}
html .settings-directory .directory-group{display:inline-block;vertical-align:top;break-inside:avoid;width:100%;margin:0 0 24px;padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
html .settings-directory .directory-group>h2{font-size:13px;color:var(--ink);margin-bottom:8px;padding-bottom:16px}
html .settings-directory .directory-links>a{padding:13px 8px;margin:0 -8px}
html .settings-directory>[data-directory-empty]{column-span:all}
html .forma-workspace .editor-layout-simple{display:block;max-width:1000px;margin:0 auto}
/* Report fields: searchable library, ordered selection, and a separate sorting area. */
html .forma-workspace .report-column-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none}
html .report-column-disclosure>summary::-webkit-details-marker{display:none}
html .report-column-disclosure>summary>span:first-child{display:flex;align-items:center;gap:9px}
html .report-column-disclosure>summary>span:first-child::before{content:'›';font-size:18px;line-height:1;transition:transform 120ms}
html .report-column-disclosure[open]>summary>span:first-child::before{transform:rotate(90deg)}
html .report-column-disclosure>summary .icon{width:16px;height:16px;color:var(--muted)}
html .column-summary{font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap}
html .report-column-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;margin-top:20px}
html .report-column-editor>section{min-width:0;border:1px solid var(--line);border-radius:9px;padding:18px;background:var(--panel)}
html .report-column-editor header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
html .report-column-editor h3,html .report-sort-bar h3{font-size:12px;font-weight:650;margin:0}
html .report-column-editor header>span{font-size:10px;color:var(--muted);background:var(--neutral);padding:3px 7px;border-radius:5px}
html .forma-workspace .column-search{display:flex;align-items:center;gap:8px;padding:0 10px;min-height:36px;margin-bottom:12px}
html .forma-workspace .column-search input{border:0;margin:0;padding:9px 0;width:100%;font-size:12px;min-width:0}
html .column-search>.icon{width:16px;flex:none}
html .column-list{max-height:330px;overflow:auto;scrollbar-gutter:stable}
html .report-column-row{display:flex;align-items:center;gap:10px;min-height:43px;padding:8px 10px;margin:4px 0;border:1px solid transparent;border-radius:6px}
html .report-column-row:hover{background:var(--bg)}
html .report-column-row label{flex:1;display:flex;align-items:center;gap:10px;min-width:0;cursor:pointer;font-size:12px;font-weight:500;margin:0}
html .report-column-row label span{overflow-wrap:anywhere}
html .report-column-row input{width:15px;height:15px;flex:none;margin:0}
html .report-column-row:not(.is-selected) .column-position,html .report-column-row:not(.is-selected) .column-row-actions{display:none}
html .report-column-row.is-selected{background:var(--bg);border-color:var(--line)}
html .report-column-row.is-selected input{display:none}
html .report-column-row.is-selected label{cursor:default;pointer-events:none}
html .column-position{width:19px;flex:none;text-align:center;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
html .column-row-actions{display:flex;gap:3px;flex:none}
html .column-row-actions button{display:grid;place-items:center;width:28px;height:28px;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:5px;cursor:pointer;padding:4px}
html .column-row-actions button:hover:not(:disabled){background:var(--panel);border-color:var(--line);color:var(--ink)}
html .column-row-actions button[data-remove-column]:hover{color:var(--danger);background:var(--danger-bg)}
html .column-row-actions .icon{width:14px;height:14px}
html .column-up{transform:rotate(-90deg)}html .column-down{transform:rotate(90deg)}
html .column-hint,html .column-empty{font-size:11px;color:var(--muted);line-height:1.6;margin:0 0 14px}
html .column-empty{padding:16px 8px;margin:0}
html .report-sort-bar{display:grid;grid-template-columns:1fr 1fr 160px;align-items:center;gap:20px;border-top:1px solid var(--line);margin-top:22px;padding-top:20px}
html .report-sort-bar h3{display:flex;align-items:center;gap:8px}
html .report-sort-bar .icon{width:16px;height:16px;color:var(--muted)}
html .report-sort-bar p{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 0}
@media(max-width:1100px){html .report-column-editor{grid-template-columns:1fr}html .report-sort-bar{grid-template-columns:1fr 1fr}html .report-sort-bar>div{grid-column:1/-1}}
@media(max-width:700px){html .settings-directory{columns:1}html .settings-directory .directory-group{padding:18px;margin-bottom:18px}html .report-column-editor>section{padding:12px}html .report-column-row{padding:8px 5px;gap:5px}html .report-sort-bar{grid-template-columns:1fr;gap:14px}html .column-row-actions button{width:27px;height:30px}}

/* Context changes stay inside the navigation; the brand and account remain stable. */
html .sidebar-navigation{flex:none;min-width:0}
html .settings-navigation-header{position:sticky;top:0;z-index:2;padding:0 0 16px;margin-bottom:12px;background:var(--sidebar-bg);border-bottom:1px solid var(--line)}
html .forma-workspace .sidebar .settings-navigation-header .workspace-return{display:flex;align-items:center;gap:8px;margin:0 0 22px;padding:10px 8px;border:1px solid var(--line);border-radius:7px;font-size:12px;font-weight:500;text-decoration:none;color:var(--sidebar-ink);background:var(--panel)}
html .settings-navigation-header .return-arrow{width:16px;height:16px;transform:rotate(180deg)}
html .settings-navigation-header h2{font-size:20px;letter-spacing:-.02em;color:var(--sidebar-ink);margin:0 10px 14px}
html .settings-navigation-header .all-settings-link{display:flex;align-items:center;gap:10px;min-height:44px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--soft);color:var(--accent);font-size:13px;font-weight:650;text-decoration:none}
html .settings-navigation-header .all-settings-link .icon{width:18px;height:18px;flex:none}
html .settings-navigation-header a:hover{filter:brightness(.96)}

/* Persistent desktop icon rail; mobile retains its full navigation drawer. */
html .sidebar-brand-row{display:flex;align-items:center;gap:2px;flex:none;min-height:96px}
html .forma-workspace .sidebar .sidebar-brand-row .brand{flex:1;margin:0 2px 0 8px;font-size:24px;gap:7px}
html .sidebar-collapse{flex:none;width:28px;height:32px;color:var(--sidebar-ink)}
html .sidebar-collapse .icon{width:17px;height:17px}
html .sidebar-signout{display:flex;align-items:center;gap:9px}
html .sidebar-signout .icon{width:16px;height:16px}
@media(min-width:701px){
 html .forma-workspace.sidebar-compact{--sidebar:80px}
 html .forma-workspace.sidebar-compact .sidebar{padding:0 10px 14px}
 html .sidebar-compact .sidebar-brand-row{flex-direction:column;justify-content:center;gap:8px;padding:12px 0;min-height:96px}
 html .forma-workspace.sidebar-compact .sidebar .brand{font-size:0;height:auto;margin:0;flex:none;gap:0}
 html .sidebar-compact .brand-label,html .sidebar-compact .nav-label,html .sidebar-compact .nav-link-label,html .sidebar-compact .settings-nav-group>summary,html .sidebar-compact .settings-navigation-header h2,html .sidebar-compact .settings-navigation-header a>span,html .sidebar-compact .settings-nav-group>a>span,html .sidebar-compact .profile>div,html .sidebar-compact .profile>.icon,html .sidebar-compact .sidebar-signout>span{display:none}
 html .forma-workspace.sidebar-compact .sidebar nav a{justify-content:center;padding:12px 0;gap:0;min-height:44px}
 html .forma-workspace.sidebar-compact .sidebar nav>a.active::after{display:none}
 html .sidebar-compact .settings-nav-group{margin:0}
 html .sidebar-compact .settings-navigation-header{padding-bottom:10px}
 html .forma-workspace.sidebar-compact .sidebar .workspace-return{margin-bottom:10px}
 html .sidebar-compact .profile{justify-content:center;padding:0;margin-bottom:14px}
 html .sidebar-compact .sidebar-signout{margin:auto;padding:10px}
 html .sidebar-compact .sidebar-signout .icon{width:20px;height:20px}
}
@media(prefers-reduced-motion:no-preference){html .forma-workspace .sidebar{transition:width 180ms ease}html .forma-workspace .app-shell{transition:margin-left 180ms ease}}
@media(max-width:700px){html .sidebar-collapse{display:none}}

/* Informational product areas on the admin sign-in panel. */
html .login-capabilities{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:36px;color:var(--muted);font-size:12px}
html .login-capabilities>span{display:inline-flex;align-items:center;gap:8px}
html .login-capabilities .icon{width:18px;height:18px;flex:none}

/* Customer identity is secondary to the AssetDeck wordmark. */
html .login-branded .login-intro{justify-content:flex-start}
html .login-branded .login-statement{margin-block:auto}
html .login-workspace-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px;min-width:0}
html .login-company-logo{display:block;width:40px;height:40px;object-fit:contain;flex:none}
html .login-company-initials{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--muted);font-size:13px;font-weight:600}
html .login-company-details{min-width:0}
html .login-company-details strong{display:block;font-size:14px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
html .login-company-details small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:2px}
