/* Phase 13 enterprise experience: search, command center, notifications, themes and accessibility. */
.enterprise-skip-link { position:fixed; z-index:3000; top:.5rem; left:50%; padding:.65rem 1rem; border-radius:8px; color:#fff; background:#1b5e20; transform:translate(-50%,-150%); transition:transform .15s ease; }.enterprise-skip-link:focus { color:#fff; transform:translate(-50%,0); }
.ops-topbar-search { position: relative; }
.ops-topbar-search kbd { flex: 0 0 auto; color: #755f4c; background: #f3e7d4; border: 1px solid rgba(74,46,29,.16); }
.enterprise-search-results { position: absolute; top: calc(100% + 12px); right: 0; left: 0; z-index: 1800; max-height: min(60vh,480px); overflow-y: auto; padding: .45rem; border: 1px solid rgba(154,106,36,.3); border-radius: 12px; background: #fffaf0; box-shadow: 0 20px 44px rgba(55,31,16,.22); }
.enterprise-search-result { display: grid; grid-template-columns: 2rem minmax(0,1fr) auto; gap: .7rem; align-items: center; width: 100%; padding: .65rem .75rem; border: 0; border-radius: 8px; color: #332116; background: transparent; text-align: left; text-decoration: none; }
.enterprise-search-result:hover,.enterprise-search-result:focus,.enterprise-search-result.is-active { color:#332116; background:rgba(212,162,63,.14); outline:0; }
.enterprise-search-result i { color:#a8751f; font-size:1.05rem; text-align:center; }.enterprise-search-result strong,.enterprise-search-result small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.enterprise-search-result small { color:#776a60; }.enterprise-search-result-type { color:#866127; font-size:.66rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.enterprise-search-empty { padding:1.5rem; color:#776a60; text-align:center; }

.enterprise-notification-count { position:absolute; top:-5px; right:-5px; min-width:19px; height:19px; padding:0 5px; border:2px solid #fffaf0; border-radius:999px; color:#fff; background:#a6192b; font-size:.65rem; font-weight:900; line-height:15px; text-align:center; }
.enterprise-panel { width:min(440px,100vw); color:#332116; background:#fffaf0; }.enterprise-panel .offcanvas-header { border-bottom:1px solid rgba(154,106,36,.22); }.enterprise-panel-kicker { color:#9b6d19; font-size:.68rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }.enterprise-panel-toolbar { display:flex; justify-content:space-between; padding:.75rem 1rem; border-bottom:1px solid rgba(154,106,36,.15); }.enterprise-notifications-list { padding:.6rem; }.enterprise-notification { position:relative; margin-bottom:.5rem; padding:.85rem .9rem .85rem 1rem; border:1px solid rgba(154,106,36,.2); border-radius:10px; background:#fffdf8; }.enterprise-notification::before { position:absolute; inset:0 auto 0 0; width:4px; border-radius:10px 0 0 10px; background:#3b6e8f; content:""; }.enterprise-notification[data-severity="Warning"]::before { background:#c58c2d; }.enterprise-notification[data-severity="Critical"]::before { background:#a6192b; }.enterprise-notification.is-read { opacity:.65; }.enterprise-notification h3 { margin:0 0 .25rem; font-size:.95rem; }.enterprise-notification p { margin:0 0 .4rem; color:#665b52; font-size:.8rem; line-height:1.35; }.enterprise-notification-meta { display:flex; align-items:center; justify-content:space-between; gap:.5rem; color:#897a6e; font-size:.7rem; }.enterprise-panel-empty { padding:2.5rem 1rem; color:#776a60; text-align:center; }

.enterprise-preference-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; margin:0 0 1.35rem; padding:0; border:0; }.enterprise-preference-group legend { grid-column:1/-1; margin-bottom:.35rem; font-size:.78rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }.enterprise-preference-group label { display:flex; align-items:center; gap:.5rem; padding:.65rem; border:1px solid rgba(154,106,36,.22); border-radius:8px; background:#fffdf8; cursor:pointer; }.enterprise-preference-switch { padding: .75rem .75rem .75rem 3.2rem; border-bottom:1px solid rgba(154,106,36,.14); }

.enterprise-command-modal .modal-dialog { max-width:680px; }.enterprise-command-modal .modal-content { overflow:hidden; }.enterprise-command-search { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.75rem; align-items:center; padding:1rem 1.1rem; border-bottom:1px solid rgba(154,106,36,.2); }.enterprise-command-search i { color:#9b6d19; font-size:1.25rem; }.enterprise-command-search input { width:100%; border:0; outline:0; color:#332116; background:transparent; font-size:1.05rem; }.enterprise-command-results { max-height:min(56vh,430px); overflow-y:auto; padding:.5rem; }.enterprise-command-group { padding:.55rem .7rem .25rem; color:#8b6b39; font-size:.66rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }.enterprise-command-item { display:grid; grid-template-columns:2rem minmax(0,1fr) auto; gap:.65rem; align-items:center; width:100%; padding:.7rem .75rem; border:0; border-radius:8px; color:#332116; background:transparent; text-align:left; }.enterprise-command-item:hover,.enterprise-command-item:focus,.enterprise-command-item.is-active { background:rgba(212,162,63,.14); outline:0; }.enterprise-command-item i { color:#a8751f; text-align:center; }.enterprise-command-item small { color:#7b6d61; }.enterprise-command-footer { display:flex; flex-wrap:wrap; gap:1rem; padding:.6rem 1rem; border-top:1px solid rgba(154,106,36,.15); color:#7b6d61; background:#f8efdf; font-size:.7rem; }.enterprise-shortcut-list { display:grid; gap:.2rem; }.enterprise-shortcut-list > div { display:flex; align-items:center; justify-content:space-between; padding:.7rem; border-bottom:1px solid rgba(154,106,36,.14); }

.enterprise-loading-layer { position:fixed; inset:var(--bs-topbar-height,78px) 0 0 var(--bs-sidebar-width,300px); z-index:1450; overflow:hidden; padding:2rem; background:rgba(250,246,238,.94); backdrop-filter:blur(3px); }.enterprise-loading-layer[hidden] { display:none; }.enterprise-loading-progress { position:absolute; top:0; left:0; width:38%; height:3px; background:#d4a23f; box-shadow:0 0 12px #d4a23f; animation:enterprise-progress 1.1s ease-in-out infinite; }.enterprise-loading-content { max-width:1500px; margin:auto; }.enterprise-skeleton { position:relative; overflow:hidden; border-radius:10px; background:#e8ddca; }.enterprise-skeleton::after { position:absolute; inset:0; background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.65) 48%,transparent 76%); transform:translateX(-100%); animation:enterprise-shimmer 1.25s infinite; content:""; }.enterprise-skeleton--title { width:min(420px,75%); height:62px; margin-bottom:1.5rem; }.enterprise-skeleton-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }.enterprise-skeleton--card { height:150px; }

.dashboard-widget-toolbar { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.5rem; margin:-.5rem 0 1rem; }.dashboard-widget { position:relative; }.dashboard-widget[draggable="true"] { cursor:grab; }.dashboard-widget.is-dragging { opacity:.45; }.dashboard-widget.is-drag-over { outline:2px dashed #c58c2d; outline-offset:3px; }.dashboard-widget.is-widget-hidden { display:none !important; }.dashboard-widget-handle { position:absolute; z-index:2; top:.45rem; right:.55rem; display:none; border:0; color:#876d5a; background:transparent; }.is-customizing-widgets .dashboard-widget-handle { display:block; }.is-customizing-widgets .dashboard-widget { outline:1px dashed rgba(154,106,36,.4); outline-offset:2px; }.dashboard-widget-menu { min-width:260px; }.dashboard-widget-menu label { display:flex; align-items:center; gap:.6rem; padding:.5rem .75rem; }
.dashboard-widget-toolbar--header { align-self:flex-start; margin:0; }
[data-dashboard-widgets] .nav-tabs { border-bottom-color:rgba(74,46,29,.24); }
[data-dashboard-widgets] .nav-tabs .nav-link { margin-right:.25rem; border-color:rgba(74,46,29,.14); color:var(--bs-brown-800,#3a2417); background:rgba(255,250,240,.72); font-weight:800; }
[data-dashboard-widgets] .nav-tabs .nav-link:hover,
[data-dashboard-widgets] .nav-tabs .nav-link:focus-visible { border-color:rgba(168,117,31,.55); background:#fff4d8; }
[data-dashboard-widgets] .nav-tabs .nav-link.active { color:#fff; border-color:var(--bs-brown-800,#3a2417); background:var(--bs-brown-800,#3a2417); box-shadow:0 -2px 0 var(--bs-gold-500,#d4a23f) inset; }

html[data-text-size="large"] { font-size:112.5%; } html[data-text-size="larger"] { font-size:125%; }
html[data-density="compact"] .bs-operations-app .card-body { padding:.85rem; } html[data-density="compact"] .bs-operations-app table > :not(caption) > * > * { padding:.4rem .5rem; } html[data-density="compact"] .bs-operations-content { padding:18px; }
html[data-focus="enhanced"] :focus-visible { outline:3px solid #1473e6 !important; outline-offset:3px !important; box-shadow:0 0 0 5px rgba(20,115,230,.2) !important; }
html[data-reduce-motion="true"] *,html[data-reduce-motion="true"] *::before,html[data-reduce-motion="true"] *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }

html[data-theme="dark"] { color-scheme:dark; } html[data-theme="dark"] .bs-operations-main,html[data-theme="dark"] .bs-operations-content { color:#f4eadb; background:#17120f; } html[data-theme="dark"] .bs-operations-topbar,html[data-theme="dark"] .bs-operations-footer { color:#f4eadb; background:#241a15; border-color:#4e392c; } html[data-theme="dark"] .ops-topbar-search,html[data-theme="dark"] .bs-operations-app .card,html[data-theme="dark"] .bs-operations-app .modal-content,html[data-theme="dark"] .bs-operations-app .dropdown-menu,html[data-theme="dark"] .enterprise-panel,html[data-theme="dark"] .enterprise-search-results { color:#f4eadb; background:#2c211b; border-color:#5a4435; } html[data-theme="dark"] .ops-topbar-search input,html[data-theme="dark"] .enterprise-command-search input { color:#fff; } html[data-theme="dark"] .text-muted,html[data-theme="dark"] .enterprise-notification p { color:#c5b8aa !important; } html[data-theme="dark"] .table { --bs-table-color:#f4eadb;--bs-table-bg:#2c211b;--bs-table-border-color:#554136; } html[data-theme="dark"] .form-control,html[data-theme="dark"] .form-select { color:#fff; background:#211914; border-color:#655043; } html[data-theme="dark"] .enterprise-notification,html[data-theme="dark"] .enterprise-preference-group label { color:#f4eadb; background:#211914; } html[data-theme="dark"] .enterprise-search-result,html[data-theme="dark"] .enterprise-command-item { color:#f4eadb; }
html[data-theme="contrast"] { color-scheme:dark; } html[data-theme="contrast"] .bs-operations-main,html[data-theme="contrast"] .bs-operations-content,html[data-theme="contrast"] .bs-operations-topbar,html[data-theme="contrast"] .bs-operations-app .card,html[data-theme="contrast"] .bs-operations-app .modal-content,html[data-theme="contrast"] .enterprise-panel { color:#fff !important; background:#000 !important; border-color:#fff !important; } html[data-theme="contrast"] a,html[data-theme="contrast"] .nav-link { color:#ffea00 !important; } html[data-theme="contrast"] .btn { border:2px solid currentColor !important; } html[data-theme="contrast"] :focus-visible { outline:4px solid #00ffff !important; outline-offset:3px !important; }

@keyframes enterprise-progress { 0%{transform:translateX(-110%)} 100%{transform:translateX(360%)} } @keyframes enterprise-shimmer { to{transform:translateX(100%)} }
@media(max-width:900px){.enterprise-loading-layer{left:0}.enterprise-skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-topbar-search kbd{display:none}}
@media(max-width:600px){.enterprise-skeleton-grid{grid-template-columns:1fr}.enterprise-command-footer{display:none}.enterprise-preference-group{grid-template-columns:1fr}.enterprise-search-results{position:fixed;top:var(--bs-topbar-height,78px);right:.5rem;left:.5rem}.dashboard-widget-toolbar{justify-content:stretch}.dashboard-widget-toolbar .btn{flex:1}}
@media(prefers-reduced-motion:reduce){.enterprise-loading-progress,.enterprise-skeleton::after{animation:none}}
