html{min-width:320px}body{margin:0}#root{min-height:100vh}.app-shell{min-height:100vh;background:#f7f8fb}.topbar{border-bottom:1px solid #e0e5ef;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.toolbar{min-height:64px;display:flex;justify-content:space-between;gap:16px}.brand-area,.account-area{min-width:0}.brand-area{flex:1 1 auto}.account-area{flex:0 0 auto;row-gap:8px}.brand-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:8px;color:#fff;background:#2457d6;font-weight:760}.brand-title{font-size:.95rem;font-weight:720;line-height:1.2}.environment-chip{height:22px;font-weight:720;text-transform:uppercase}.environment-local{border-color:#c9d1de;background:#eef1f6}.environment-stage{border-color:#ed6c0259;color:#8a4300;background:#ed6c021f}.environment-prod{border-color:#d32f2f66;color:#9f1d1d;background:#d32f2f1f}.account-chip{max-width:260px}.account-chip .MuiChip-label{overflow:hidden;text-overflow:ellipsis}.main-container{padding-top:28px;padding-bottom:40px}.layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:24px;align-items:start}.side-nav{position:sticky;top:88px;overflow:hidden}.side-nav-groups{padding:8px 0}.side-nav-group+.side-nav-group{margin-top:8px;padding-top:10px;border-top:1px solid #e3e7ef}.side-nav-label{display:block;padding:2px 18px 6px;color:#697184;font-size:.68rem;font-weight:700;letter-spacing:0;line-height:1.4}.side-nav .side-nav-mobile{display:none}.side-nav .MuiTabs-indicator{left:0;width:3px;border-radius:999px}.side-nav .MuiTab-root{min-height:48px;justify-content:flex-start;align-items:center;padding:0 18px}.side-note{display:flex;gap:10px;padding:16px;color:#5f6675}.content{min-width:0}.action-tabs{overflow:hidden;border-radius:8px}.player-workspace{display:grid;grid-template-columns:minmax(290px,350px) minmax(0,1fr);gap:20px;align-items:start}.player-list-panel{min-width:0;position:sticky;top:88px;max-height:calc(100vh - 112px);overflow-y:auto;padding-right:4px}.player-detail-panel{min-width:0}.player-search-panel{display:grid;gap:10px;padding:12px;background:#fff}.player-result{width:100%;min-height:92px;padding:13px 14px;color:inherit;font:inherit;appearance:none;background:#fff;text-align:left;cursor:pointer;transition:border-color .12s ease,background-color .12s ease}.player-result:hover{border-color:#9eabc2;background:#fafbfe}.player-result:focus-visible{outline:3px solid rgba(36,87,214,.24);outline-offset:1px}.selected-row{border-color:#2457d6;background:#f1f5ff}.player-identity{padding:18px;background:#fff}.player-detail-tabs{overflow:hidden;background:#fff}.player-detail-tabs .MuiTab-root{min-height:48px}.player-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.player-overview-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:16px;align-items:start}.player-facts,.player-recent-assets,.player-inventory,.player-history{padding:18px;background:#fff}.facts-list{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,1.3fr);gap:0;margin:14px 0 0}.facts-list dt,.facts-list dd{margin:0;padding:9px 0;border-bottom:1px solid #edf0f5}.facts-list dt{color:#697184}.facts-list dd{font-weight:620;overflow-wrap:anywhere}.compact-list{margin-top:10px}.compact-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:52px;border-bottom:1px solid #edf0f5}.compact-tabs .MuiTab-root{min-height:40px;padding-top:8px;padding-bottom:8px}.inventory-table,.event-list{margin-top:16px;border-top:1px solid #e3e7ef}.inventory-row{display:grid;grid-template-columns:76px minmax(180px,1fr) auto auto;gap:16px;align-items:center;min-height:64px;border-bottom:1px solid #e9edf3}.event-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;min-height:66px;border-bottom:1px solid #e9edf3}.empty-inline{padding:20px;color:#697184;text-align:center}.empty-detail{min-height:220px;display:grid;align-content:center;justify-items:start;gap:8px;padding:24px}.login-layout{display:grid;min-height:calc(100vh - 180px);place-items:center}.login-card{width:min(100%,440px)}.page-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.page-header-description{max-width:760px;margin-top:4px}.page-header-actions{display:flex;flex:0 0 auto;gap:8px;align-items:center;justify-content:flex-end}.form-grid{display:grid;gap:16px}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.actions-row{display:flex;flex-wrap:wrap;gap:12px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.panel-grid,.dashboard-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.dashboard-status-card{min-height:210px;padding:18px;border-radius:8px}.dashboard-status-ok{border-color:#2e7d3273;background:#2e7d3214}.dashboard-status-warning{border-color:#ed6c0273;background:#ed6c0214}.dashboard-status-failed{border-color:#d32f2f8c;background:#d32f2f1a}.dashboard-status-icon{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border-radius:8px;color:#172033;background:#ffffffa6}.metric-card{min-height:112px}.metric-value{margin-top:8px;font-size:1.55rem;font-weight:720;line-height:1.1;overflow-wrap:anywhere}.metric-info-icon{color:#6c7484;cursor:help}.refresh-select{min-width:132px}.list-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:14px;align-items:center;padding:14px;border-radius:8px}.section-tabs{overflow:hidden;background:#fff}.section-tabs .MuiTab-root{min-height:48px}.section-list-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.content-list-actions{flex:0 1 auto;align-items:center}.content-search{width:min(360px,42vw)}.content-row-actions{width:1%;min-width:48px;white-space:nowrap}.content-row-actions-wide{min-width:176px}.content-empty-state{display:grid;min-height:180px;place-items:center;align-content:center;gap:8px;text-align:center}.content-cover-thumb{display:grid;width:48px;height:48px;flex:0 0 auto;place-items:center;overflow:hidden;border:1px solid #e0e5ef;border-radius:8px;color:#6c7484;background:#f7f8fb}.content-cover-thumb img{width:100%;height:100%;object-fit:cover}.rating-calibration{display:inline-grid;gap:2px}.rating-value{display:grid;width:28px;height:28px;place-items:center;border:1px solid #d8dfeb;border-radius:8px;font-weight:720;line-height:1;color:#1f2937;background:#f7f8fb}.rating-value-current{border-color:#cbd5e1;background:#fff}.rating-calibration-up .rating-value-current{border-color:#2e7d3261;color:#1b5e20;background:#2e7d3214}.rating-calibration-down .rating-value-current{border-color:#ed6c0261;color:#a14b00;background:#ed6c0214}.rating-arrow{color:#6c7484}.event-row{display:grid;gap:8px;padding:14px;border-radius:8px}.audit-filter-panel{padding:16px}.audit-filter-panel .MuiToggleButton-root{gap:7px;min-height:38px;letter-spacing:0;text-transform:none}.audit-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(190px,1fr));gap:12px;align-items:center}.audit-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.9fr);gap:16px;align-items:start}.audit-results,.audit-detail{min-width:0;overflow:hidden}.audit-results-heading{min-height:68px;padding:12px 16px;border-bottom:1px solid #e3e7ef}.audit-table-wrap{max-height:calc(100vh - 350px);min-height:320px}.audit-event-row{cursor:pointer}.audit-event-row .MuiTableCell-root{vertical-align:top;padding-top:12px;padding-bottom:12px}.audit-event-time{width:126px;white-space:nowrap}.audit-detail{position:sticky;top:84px;max-height:calc(100vh - 108px);overflow-y:auto}.audit-detail-content{padding:20px}.audit-detail-meta{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:16px;padding:14px 0;border-top:1px solid #e3e7ef;border-bottom:1px solid #e3e7ef}.audit-diff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.audit-json{max-width:100%;max-height:280px;margin:4px 0 0;padding:10px;overflow:auto;border:1px solid #e3e7ef;border-radius:6px;background:#f7f8fa;color:#303746;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.audit-facts{display:grid;gap:0;margin:0}.audit-fact{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.4fr);gap:12px;padding:8px 0;border-bottom:1px solid #edf0f5}.audit-fact dt,.audit-fact dd{margin:0}.audit-raw{border-top:1px solid #e3e7ef}.audit-raw:before{display:none}.audit-empty{min-height:220px;display:grid;align-content:center;justify-items:center;gap:6px;padding:24px;text-align:center}.audit-limit-note{display:block;padding:10px 16px;border-top:1px solid #e3e7ef}.staff-summary{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 16px}.staff-summary .MuiTextField-root{min-width:300px}.staff-capabilities{max-width:440px}.task-error-inline{max-width:360px}.scope-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.scope-item{padding:14px;border-radius:8px}.scope-value{margin-top:6px;font-size:1.35rem;font-weight:720;line-height:1.15}.integrity-issue{display:grid;gap:10px;padding:14px;border-radius:8px}.integrity-status{padding:18px}.integrity-status-ok{border-color:#2e7d3273;background:#2e7d3214}.integrity-status-failed{border-color:#d32f2f73;background:#d32f2f14}.integrity-status-unknown{border-color:#ed6c0273;background:#ed6c0214}.integrity-check-summary{min-width:0;width:100%;flex-wrap:wrap}.integrity-check-title{min-width:min(360px,100%);flex:1}.media-field{padding:14px;border-radius:8px}.media-current{display:grid;grid-template-columns:128px minmax(0,1fr);gap:14px;align-items:center}.media-preview{display:grid;aspect-ratio:1;place-items:center;overflow:hidden;border:1px solid #e0e5ef;border-radius:8px;color:#6c7484;background:#f7f8fb}.media-preview img,.media-library-thumb img{width:100%;height:100%;object-fit:contain}.media-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.media-library-item{display:grid;gap:10px;padding:10px;border-radius:8px;cursor:pointer}.media-library-item:hover,.media-library-item-selected{border-color:#2457d6;background:#f1f5ff}.media-library-thumb{display:grid;aspect-ratio:1;place-items:center;overflow:hidden;border-radius:8px;background:#f7f8fb}.media-filename{overflow-wrap:anywhere}.loading-state{display:grid;min-height:220px;place-items:center}.content .MuiTableHead-root .MuiTableCell-root{color:#4f5869;background:#f4f6f9;font-weight:700}.content .MuiTableCell-root{border-color:#e6eaf0}.MuiDialogActions-root{padding:16px 24px}@media(max-width:960px){.layout{grid-template-columns:1fr}.side-nav{position:static}.side-nav-groups{display:none}.side-nav .side-nav-mobile{display:flex}.side-nav .MuiTabs-root{min-height:0}.side-nav .MuiTabs-flexContainer{flex-direction:row}.side-note{display:none}.metrics-grid,.dashboard-status-grid,.media-library-grid,.panel-grid,.scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-list-panel{position:static;max-height:none;overflow:visible;padding-right:0}.player-workspace{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){.toolbar,.page-header,.section-list-header{align-items:stretch;flex-direction:column}.page-header-actions{width:100%;justify-content:flex-start}.page-header-actions>.MuiButton-root{width:100%}.page-header-actions>.MuiStack-root{width:100%}.page-header-actions>.MuiStack-root>.MuiButton-root{flex:1 1 auto}.audit-filter-panel .MuiToggleButtonGroup-root{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filter-panel .MuiToggleButton-root{width:100%;border:1px solid #c7ceda;border-radius:4px;margin:0}.section-list-header .content-list-actions{align-items:stretch;flex-direction:column}.section-list-header .content-list-actions .MuiButton-root{margin-top:8px;margin-left:0;width:100%}.content-search{width:100%}.account-area{justify-content:flex-start}.two-columns,.three-columns,.metrics-grid,.dashboard-status-grid,.media-current,.media-library-grid,.panel-grid,.scope-grid,.audit-filter-grid,.audit-workspace,.player-overview-grid,.list-row,.task-row{grid-template-columns:1fr}.inventory-row{grid-template-columns:auto minmax(0,1fr);gap:8px 12px;padding:12px 0}.inventory-row>:nth-child(3),.inventory-row>:nth-child(4){grid-column:2}.event-row{grid-template-columns:1fr;gap:6px;padding:12px 0}.event-row>:last-child{align-items:flex-start}.audit-table-wrap{max-height:none}.audit-detail-meta,.audit-diff-grid,.audit-fact{grid-template-columns:1fr}.audit-detail-content{padding:16px}.staff-summary{align-items:stretch;flex-direction:column}.staff-summary .MuiTextField-root{min-width:0;width:100%}.facts-list{grid-template-columns:1fr}.facts-list dt{padding-bottom:0;border-bottom:0}.facts-list dd{padding-top:3px}}
