#management-tabs[hidden],#management-home[hidden],#management-sounds[hidden],.management-page[hidden]{display:none!important}
.management-content{max-width:850px;width:100%;margin:0 auto;box-sizing:border-box}
#management-screen .profile-section-heading{margin-bottom:4px}#management-screen .management-content{gap:8px}
#management-controls .management-description{margin-bottom:12px}#diagnostic-status{margin:4px 0 8px}
.management-category{margin:24px 0}.management-category h2{font-size:17px;margin:0 0 10px}
.management-content .profile-settings-row{background:#0a0f14;border:0;border-bottom:1px solid #30363d;border-radius:0;color:#fff;min-height:58px;padding:14px;text-align:left;margin:0;display:flex;align-items:center;gap:12px}
.management-content .profile-settings-row span{flex:1;min-width:0}.management-content .profile-settings-row svg{width:22px;height:22px;flex:0 0 22px;color:var(--theme-color)}.management-content .profile-settings-row svg:last-child{width:18px;flex-basis:18px;color:#a9b5c3}
.management-content .management-activity-entry{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 14px;margin:0;background:#18362f;color:#b5ebd3;border:1px solid #43796a;border-radius:6px;font-size:15px;text-align:left}.management-activity-entry span{flex:1}.management-activity-entry svg{width:22px;height:22px;flex:0 0 22px}
#management-controls .management-page{border:0;box-shadow:none;background:transparent;border-radius:0;padding:0;margin:0}
#management-screen .management-content .action-danger,.game-confirm-dialog.management-review-dialog button.action-remove{background:#d97885;color:#291016;border:0}
#management-screen #repair-value{border-color:#30363d;background:#0a0f14;color:#fff}.management-content input:focus-visible{outline:2px solid var(--theme-color);outline-offset:2px}
.management-editor-actions{display:block}.management-editor-actions>button:not(.management-review-entry){display:none!important}.management-editor-actions .management-review-entry{width:100%;text-align:center}.management-content [id$="-edit-row"][hidden],#communication-date-fields[hidden],[data-communication-bound][hidden]{display:none!important}
.communication-time-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 16px}.communication-time-row>div{min-width:0}.communication-time-row label{display:block;margin-bottom:6px}.management-content .communication-date-button{border:1px solid #30363d;min-height:42px;text-align:center;margin:8px 0}#store-catalogue-category-field{display:flex;flex-direction:column;gap:10px}
.management-page h2,#management-assets h2,#management-sounds h2{font-size:20px;line-height:1.4;margin:0 0 12px}
#management-screen:has(.profile-section-heading) .management-page>h2,#management-screen:has(.profile-section-heading) #management-assets>h2,#management-screen:has(.profile-section-heading) #management-sounds>h2,#management-screen:has(.profile-section-heading) #management-log>h2{display:none}
.management-description,.management-field-help{font-size:13px;line-height:1.6;color:#a9b5c3;margin:0 0 22px}.management-field-help{margin:8px 0 16px}.management-field-help:empty{display:none}
.management-content .management-subgroup{background:transparent;border:0;border-radius:0;padding:0;margin-top:18px}
.select-option-description{display:block;font-size:12px;line-height:1.5;color:#a9b5c3;margin-top:5px;white-space:normal}
.select-option-description{font-weight:400}
.management-review-dialog{max-width:640px;width:calc(100% - 32px);padding:22px;box-sizing:border-box}.management-review-dialog form{min-width:0}.management-review-dialog h2{font-size:20px;line-height:1.4}.management-review-dialog p{font-size:13px;line-height:1.6;color:#bac4ce;margin:12px 0 18px}
.management-review-dialog{max-height:calc(100dvh - 32px);overflow:auto}.management-review-dialog form{display:flex;flex-direction:column;gap:0}.management-review-dialog h2{margin:0;overflow-wrap:anywhere}.management-review-dialog p{margin:10px 0 0}
.management-review-table{max-height:45vh;overflow:auto;margin:16px 0 22px}.management-review-table table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.5;text-align:left;table-layout:fixed}.management-review-table th,.management-review-table td{padding:10px 8px;vertical-align:top;border-bottom:1px solid #30363d;overflow-wrap:anywhere}.management-review-table thead{color:#a9b5c3}.management-review-table th:first-child{width:48%}.management-review-actions{display:flex;justify-content:flex-end;gap:10px}.management-review-dialog button{min-height:42px;padding:10px 16px;font-size:14px;border-radius:6px}
.management-review-table thead th{position:sticky;top:0;background:#161b22;font-size:11px;text-transform:uppercase;font-weight:600}.management-review-table tbody th{font-weight:500;color:#e0e5eb}.management-review-table td{font-variant-numeric:tabular-nums;color:#b1bcc7}.management-review-table td:last-child{color:#a7ddb6;background:#a7ddb609;font-weight:600}.management-review-actions{display:grid;grid-template-columns:1fr 1fr;padding-top:14px;border-top:1px solid #30363d}
.diagnostic-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.diagnostic-filter-grid>div{min-width:0}.diagnostic-filter-grid .diagnostic-wide{grid-column:1/-1}
.diagnostic-filter-panel{margin:16px 0;padding:12px 0;border-block:1px solid #30363d}.diagnostic-filter-panel>summary{color:var(--theme-color);font-size:14px;cursor:pointer}.diagnostic-toolbar{flex-wrap:wrap}.management-content #diagnostic-clear-filters{width:auto;min-height:40px;padding:8px 12px;font-size:13px}.diagnostic-filter-panel .diagnostic-errors{font-weight:400;text-transform:none}
.diagnostic-toolbar .diagnostic-errors{display:flex;align-items:center;gap:8px;min-height:40px;font-size:12px;text-transform:none;font-weight:400}.diagnostic-toolbar .diagnostic-errors input{flex:0 0 22px;width:22px;height:22px}.diagnostic-attempted{color:#d9c994}
.asset-preview-toolbar .management-inner-tabs{flex:1 1 220px;min-width:220px;max-width:none}
.diagnostic-group{border-bottom:1px solid #30363d;padding:12px 0}.diagnostic-group>summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:14px;list-style:none}.diagnostic-group>summary::-webkit-details-marker{display:none}.diagnostic-group>summary::before{content:'\203A';color:var(--theme-color);font-size:22px}.diagnostic-group[open]>summary::before{transform:rotate(90deg)}.diagnostic-group .diagnostic-entry{margin-left:12px;padding-left:12px;border-left:2px solid #30363d}.diagnostic-group-count{color:#a9b5c3;font-size:12px;margin-left:auto}
.diagnostic-group>summary{line-height:1.5}.diagnostic-group time{display:block;color:#a9b5c3;font-size:11px;margin-top:6px}.diagnostic-outcomes{display:flex;flex-wrap:wrap;gap:0 10px}.diagnostic-group>.diagnostic-entry:first-of-type{border-top:1px solid #30363d;margin-top:12px}.diagnostic-group-count{flex-shrink:0}
.resource-usage-title{font-size:13px;margin:14px 0 6px}.resource-usage{font-size:13px;line-height:1.6;color:#bac4ce;padding-left:18px;margin:0 0 18px}.asset-group-switches{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.management-content .asset-group-switches button{min-width:40px;min-height:38px;padding:8px 12px;font-size:13px;background:#161b22;border:1px solid #30363d;color:#bac4ce;border-radius:6px}.management-content .asset-group-switches button[aria-pressed=true]{color:var(--theme-color);border-color:var(--theme-color)}
.asset-group-switches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:8px 0 16px}.management-content .asset-group-switches button{width:100%;min-width:0;min-height:32px;padding:6px 2px;font-size:12px;border-radius:4px;text-align:center}#asset-group-switches[hidden],#asset-group-label[hidden]{display:none!important}
.managed-owned-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.management-content .management-text-link{width:auto;min-height:32px;padding:4px 0;margin:0;background:transparent;border:0;color:var(--theme-color);font-size:13px;text-align:right;text-decoration:underline}.management-content #economy-managed-balance{margin:0 0 10px;font-size:13px;line-height:1.6}#economy-managed-balance>div{min-height:24px}
.managed-owned-summary{align-items:baseline}.management-content #economy-view-owned{min-height:0;padding:0;line-height:inherit}
.management-owned-dialog{width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;box-sizing:border-box}.management-owned-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px}.management-owned-dialog h2{font-size:20px;margin:0}.management-owned-dialog .managed-owned-close{flex:0 0 34px;width:34px;min-height:34px;padding:0;color:var(--theme-color);font-size:24px}.management-owned-dialog>p{margin:8px 0 18px}.managed-owned-list section{margin:20px 0}.managed-owned-list h3{font-size:14px;color:#b6c1cd;margin-bottom:8px}.managed-owned-list ul{list-style:none;padding:0;margin:0}.managed-owned-list li{padding:12px 0;border-bottom:1px solid #30363d}.managed-owned-list li>div{display:flex;gap:12px;justify-content:space-between;align-items:center}.managed-owned-list strong{font-size:14px;overflow-wrap:anywhere}.managed-owned-list small{display:block;font-size:12px;color:#a9b5c3;margin-top:5px;line-height:1.5}.managed-owned-equipped{color:#a7ddb6;font-size:11px}
.management-content .asset-size-presets button:disabled{opacity:.35}.asset-preview-stage{padding:0}.asset-preview-stage img{width:var(--asset-size);height:var(--asset-size);max-width:100%;max-height:100%;flex-shrink:0;object-fit:contain}
.sound-preview-actions{display:flex;gap:10px;margin:22px 0}.management-content .sound-preview-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:100px}.sound-preview-actions svg{width:20px;height:20px}.sound-volume{display:flex;align-items:center;gap:14px}.management-content .sound-volume input{padding:0;accent-color:var(--theme-color)}.sound-volume output{width:48px;font-size:13px;color:#bac4ce}.sound-preview-actions button:disabled{opacity:.4}#sound-preview-detail{margin:22px 0 0}#sound-preview-detail h3{font-size:16px}#sound-preview-status{font-size:13px;color:#bac4ce;margin:14px 0}
.management-content .sound-volume input[type="range"]{appearance:none;-webkit-appearance:none;flex:1;min-width:0;width:0;height:32px;padding:0;margin:0;border:0;background:transparent}.sound-volume output{flex:0 0 48px;text-align:right}
.sound-volume input::-webkit-slider-runnable-track{height:6px;border:0;border-radius:3px;background:linear-gradient(to right,var(--theme-color) 0 var(--sound-volume,60%),#30363d var(--sound-volume,60%) 100%)}.sound-volume input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-5px;border:0;border-radius:50%;background:var(--theme-color)}
.sound-volume input::-moz-range-track{height:6px;border:0;border-radius:3px;background:#30363d}.sound-volume input::-moz-range-progress{height:6px;background:var(--theme-color)}.sound-volume input::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:var(--theme-color)}
@media(max-width:400px){.diagnostic-filter-grid{grid-template-columns:minmax(0,1fr)}.management-review-dialog{padding:16px}.management-review-table th,.management-review-table td{padding:8px 4px;font-size:12px}}
