:root {
    color-scheme: light;
    --ink: #202a2a;
    --muted: #78817f;
    --line: #dce2df;
    --paper: #f2f4f0;
    --white: #fff;
    --nav: #202a2a;
    --nav-muted: #9daaa6;
    --green: #b3db68;
    --green-deep: #426b28;
    --blue: #557f8b;
    --amber: #b87e36;
    font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(ellipse at 92% 8%, #e7ece4 0, transparent 38%), var(--paper); font-size: 14px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.app-shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; background: var(--nav); color: #f4f6f1; padding: 22px 14px 15px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 24px; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.brand small { display: block; margin-top: 4px; color: var(--nav-muted); font-size: 9px; font-weight: 600; letter-spacing: 1.1px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--green); color: var(--nav); font-size: 12px; letter-spacing: -.5px; }
.sidebar nav { display: grid; gap: 3px; }
.nav-label { margin: 18px 9px 5px; color: #7f8b88; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 0 9px; color: #c6ceca; font-size: 12px; transition: background .15s ease, color .15s ease; }
.nav-link > span { width: 19px; color: #83918d; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.nav-link:hover, .nav-link.is-active { background: #303c3a; color: white; }
.nav-link.is-active { box-shadow: inset 2px 0 var(--green); }
.nav-link.is-active > span { color: var(--green); }
.sidebar-footer { display: flex; align-items: center; gap: 7px; margin-top: auto; border-top: 1px solid #394341; padding: 14px 7px 0; color: var(--nav-muted); font-size: 8px; letter-spacing: 1px; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #d2a05b; }
.status-dot.is-configured { background: #91c95c; }
.version { margin-left: auto; }
.work-area { min-width: 0; }
.topbar { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; align-items: center; height: 52px; border-bottom: 1px solid var(--line); background: rgba(248, 249, 246, .93); padding: 0 34px; backdrop-filter: blur(8px); }
.crumb { color: #58625f; font-size: 9px; font-weight: 700; letter-spacing: 1.25px; }
.crumb span { margin: 0 8px; color: #afb7b3; }
.crumb a { color: inherit; }
.user-menu { display: flex; align-items: center; gap: 15px; color: #4c5754; font-size: 11px; }
.user-menu form { margin: 0; }
.text-button { border: 0; background: none; color: var(--muted); padding: 5px 0; cursor: pointer; font-size: 11px; }
.text-button:hover, .inline-link:hover { color: var(--green-deep); }
.main-content { width: min(100%, 1480px); margin: 0 auto; padding: 31px 36px 54px; animation: appear .28s ease-out both; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 24px; }
.eyebrow { color: #697773; font-size: 9px; font-weight: 700; letter-spacing: 1.45px; }
h1 { margin: 7px 0 5px; font-size: 28px; line-height: 1.15; font-weight: 650; letter-spacing: 0; }
h2 { margin: 5px 0 0; font-size: 16px; font-weight: 650; letter-spacing: 0; }
.muted { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 34px; border: 1px solid transparent; padding: 0 12px; cursor: pointer; font-size: 11px; font-weight: 650; }
.button-primary { background: #304c3b; color: white; }
.button-primary:hover { background: #263e31; }
.button-secondary { border-color: #cfd8d2; background: #fff; color: #394542; }
.button-quiet { border-color: var(--line); background: transparent; color: #53605c; }
.metric-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: rgba(255,255,255,.68); }
.metric { display: grid; align-content: start; gap: 8px; min-height: 112px; padding: 15px 18px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-label { color: #74807c; font-size: 9px; font-weight: 700; letter-spacing: 1.15px; }
.metric strong { font-size: 25px; font-weight: 600; line-height: 1; }
.metric .metric-state { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.metric > a, .metric-note { color: #78817f; font-size: 10px; }
.dashboard-columns { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 27px; }
.workspace-section { min-width: 0; border-top: 1px solid #aebbb5; padding-top: 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.inline-link { color: #526b57; font-size: 10px; font-weight: 650; }
.list-row { display: flex; align-items: center; gap: 13px; min-height: 56px; border-top: 1px solid #e1e6e2; }
a.list-row:hover, .project-table-row:hover { background: rgba(255,255,255,.64); }
.row-index { width: 22px; color: #a0aaa5; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.row-main { display: grid; flex: 1; gap: 4px; min-width: 0; }
.row-main strong, .asset-tile-info strong { overflow: hidden; color: #2a3431; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.row-main small { overflow: hidden; color: #818b87; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.row-date { color: #7c8782; font-size: 10px; white-space: nowrap; }
.status-tag { display: inline-flex; align-items: center; width: fit-content; border: 1px solid #d9e4d3; background: #edf4e9; color: #4d7042; padding: 4px 7px; font-size: 9px; font-style: normal; font-weight: 650; }
.status-planning { border-color: #dedfdc; background: #f2f3f0; color: #727a76; }
.status-paused { border-color: #ebdfce; background: #faf3e8; color: #8b693b; }
.status-archived { border-color: #e2e3e1; background: #f1f1ef; color: #777e7a; }
.asset-row { gap: 11px; }
.asset-swatch { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; background: #e0e8df; color: #526d55; font-size: 15px; }
.asset-swatch img { width: 100%; height: 100%; object-fit: cover; }
.empty-state { display: grid; justify-items: start; gap: 7px; border-top: 1px solid #e1e6e2; padding: 19px 0; }
.empty-state strong { font-size: 12px; font-weight: 650; }
.empty-state p { max-width: 390px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.generation-section { margin-top: 28px; }
.compact-empty { padding: 13px 0; }
.project-table { border-top: 1px solid #aebbb5; }
.table-head { display: grid; grid-template-columns: minmax(250px, 1fr) 150px 140px 20px; gap: 12px; padding: 11px 12px; color: #74807c; font-size: 9px; font-weight: 700; letter-spacing: 1.05px; }
.project-table-row { display: grid; grid-template-columns: minmax(250px, 1fr) 150px 140px 20px; align-items: center; gap: 12px; min-height: 67px; border-top: 1px solid #e1e6e2; padding: 8px 12px; }
.row-arrow { color: #82918a; font-size: 16px; }
.project-table .empty-state { padding: 30px 12px; }
.form-panel { max-width: 620px; border-top: 1px solid #aebbb5; padding-top: 19px; }
.form-stack { display: grid; gap: 9px; }
.form-stack label { margin-top: 5px; color: #505b57; font-size: 11px; font-weight: 650; }
.form-stack input, .form-stack textarea, .form-stack select, .filter-bar select { width: 100%; border: 1px solid #cdd6d1; border-radius: 0; background: #fff; color: var(--ink); padding: 9px 10px; outline: none; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus, .filter-bar select:focus { border-color: #67836d; box-shadow: 0 0 0 2px #67836d25; }
.form-stack textarea { resize: vertical; }
.form-stack ul.errorlist { margin: 0; color: #a43f35; font-size: 10px; list-style: none; padding: 0; }
.form-errors { color: #a43f35; font-size: 11px; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.project-heading { align-items: center; }
.project-tabs { display: flex; gap: 3px; overflow-x: auto; border-bottom: 1px solid #b9c4be; margin: -4px 0 25px; white-space: nowrap; }
.project-tabs a { border-bottom: 2px solid transparent; padding: 11px 12px 10px; color: #687470; font-size: 10px; }
.project-tabs a:hover, .project-tabs a.is-active { border-bottom-color: #47714c; color: #324a38; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .7fr); gap: 26px; }
.overview-link { display: flex; align-items: center; gap: 12px; min-height: 61px; border-top: 1px solid #e1e6e2; }
.overview-link > span:nth-child(2) { display: grid; flex: 1; gap: 4px; }
.overview-link strong { font-size: 12px; }
.overview-link small { color: var(--muted); font-size: 10px; }
.overview-link b { color: #718079; font-weight: 400; }
.overview-icon { display: grid; place-items: center; width: 30px; height: 30px; background: #e5ece2; color: #48684d; font-size: 11px; }
.metadata-panel dl { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 14px 0 0; }
.metadata-panel dt { margin-top: 8px; color: #7a8580; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.metadata-panel dd { margin: 0; color: #37423e; font-size: 11px; overflow-wrap: anywhere; }
.metadata-panel code { font-size: 10px; }
.filter-bar { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; border-top: 1px solid #aebbb5; border-bottom: 1px solid var(--line); padding: 12px 0; }
.filter-bar label { display: grid; gap: 5px; min-width: 135px; color: #6f7b76; font-size: 9px; font-weight: 700; letter-spacing: .5px; }
.filter-bar select { min-width: 135px; padding: 7px 8px; font-size: 10px; }
.filter-bar .inline-link { align-self: center; padding: 0 3px; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(174px, 1fr)); gap: 13px; padding-top: 16px; }
.asset-tile { min-width: 0; border: 1px solid #dce2df; background: rgba(255,255,255,.72); transition: border-color .15s ease, transform .15s ease; }
.asset-tile:hover { transform: translateY(-2px); border-color: #9aaa9e; }
.asset-preview { position: relative; display: grid; place-items: center; aspect-ratio: 1.4; overflow: hidden; background: repeating-linear-gradient(135deg, #e8ede7, #e8ede7 7px, #e3e9e2 7px, #e3e9e2 14px); }
.asset-preview img { width: 100%; height: 100%; object-fit: cover; }
.preview-letter { color: #859589; font-family: Georgia, serif; font-size: 39px; }
.scope-chip { display: inline-flex; align-items: center; width: fit-content; border: 1px solid #d9e4d3; background: #edf4e9; color: #4d7042; padding: 4px 7px; font-size: 8px; font-weight: 700; letter-spacing: .7px; white-space: nowrap; }
.asset-preview .scope-chip { position: absolute; bottom: 7px; left: 7px; }
.scope-private { border-color: #e8ddc9; background: #faf3e8; color: #88643a; }
.scope-project { border-color: #d6e2e8; background: #edf3f6; color: #4c6c79; }
.asset-tile-info { display: grid; gap: 5px; padding: 9px 10px 10px; }
.asset-tile-info span, .asset-tile-info small { overflow: hidden; color: #75817c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.grid-empty { grid-column: 1 / -1; }
.library-section + .library-section { margin-top: 25px; }
.shared-section { border-top-color: #73907c; padding-top: 15px; }
.asset-detail-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: 25px; }
.asset-detail-preview { display: grid; place-items: center; min-height: 330px; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #e8ede7, #e8ede7 8px, #e3e9e2 8px, #e3e9e2 16px); }
.asset-detail-preview > img, .preview-download img { display: block; max-width: 100%; max-height: 520px; object-fit: contain; }
.preview-download { display: grid; justify-items: center; gap: 12px; padding: 18px; }
.preview-download small { color: #536b58; font-size: 10px; }
.empty-preview { color: #829087; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1px; }
.metadata-block { margin-top: 27px; }
.metadata-block pre { overflow: auto; border: 1px solid #e1e6e2; background: rgba(255,255,255,.55); padding: 12px; color: #495650; font-size: 10px; }
.large-empty { display: flex; align-items: start; gap: 18px; min-height: 150px; border-top: 1px solid #aebbb5; padding-top: 23px; }
.empty-mark { color: #7c927e; font: 27px Georgia, serif; }
.large-empty strong { font-size: 13px; }
.large-empty p { margin-top: 7px; }
.world-table-head, .world-row { grid-template-columns: minmax(250px, 1fr) 150px 140px; }
.messages { margin-bottom: 14px; }
.message { border-left: 3px solid #73935c; background: #e9f0e4; padding: 9px 12px; font-size: 11px; }
.login-frame { display: grid; place-items: center; min-height: 100vh; padding: 25px; }
.login-panel { width: min(100%, 390px); border-top: 3px solid #426b4a; background: rgba(255,255,255,.84); padding: 27px 30px 30px; box-shadow: 0 18px 55px #28352c12; }
.login-brand { margin: 0 0 32px; padding: 0; color: var(--ink); }
.login-panel h1 { margin-top: 9px; }
.login-panel > .muted { margin-bottom: 20px; }
.login-panel .button { width: 100%; margin-top: 12px; }
.login-panel .button span { margin-left: auto; }
.field-help { color: var(--muted); font-size: 10px; }
@media (max-width: 900px) {
    .app-shell { grid-template-columns: 190px minmax(0, 1fr); }
    .sidebar { padding-inline: 10px; }
    .topbar { padding-inline: 22px; }
    .main-content { padding-inline: 22px; }
    .dashboard-columns { grid-template-columns: 1fr; gap: 24px; }
    .overview-grid { grid-template-columns: 1fr; }
    .metadata-panel dl { grid-template-columns: minmax(110px, .6fr) 1fr; }
}
@media (max-width: 620px) {
    .app-shell { display: block; }
    .sidebar { position: relative; width: 100%; height: auto; padding: 10px 12px 9px; }
    .brand { padding: 0 5px 9px; }
    .sidebar nav { display: flex; gap: 4px; overflow-x: auto; border-top: 1px solid #394341; padding-top: 7px; }
    .nav-label, .sidebar-footer { display: none; }
    .nav-link { flex: 0 0 auto; min-height: 32px; padding: 0 8px; font-size: 10px; }
    .nav-link > span { display: none; }
    .topbar { position: relative; height: 43px; padding-inline: 14px; }
    .crumb { font-size: 8px; }
    .user-menu { gap: 9px; font-size: 10px; }
    .main-content { padding: 22px 14px 38px; }
    .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 19px; }
    .page-heading h1 { font-size: 24px; }
    .metric-strip { grid-template-columns: 1fr; }
    .metric { min-height: 85px; padding: 12px 14px; }
    .metric + .metric { border-top: 1px solid var(--line); border-left: 0; }
    .metric strong { font-size: 21px; }
    .table-head { display: none; }
    .project-table-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 11px 8px; }
    .project-table-row > :nth-child(2) { justify-self: end; }
    .project-table-row > :nth-child(3) { grid-column: 1; }
    .project-table-row > :nth-child(4) { grid-column: 2; grid-row: 2; justify-self: end; }
    .world-table-head, .world-row { grid-template-columns: minmax(0, 1fr) auto; }
    .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .asset-tile-info { padding: 8px; }
    .asset-detail-grid { grid-template-columns: 1fr; }
    .asset-detail-preview { min-height: 230px; }
    .filter-bar { align-items: stretch; }
    .filter-bar label { flex: 1 1 calc(50% - 10px); min-width: 120px; }
    .filter-bar .button { align-self: end; }
    .project-tabs { margin-bottom: 19px; }
    .project-tabs a { padding-inline: 9px; }
    .metadata-panel dl { grid-template-columns: minmax(105px, .6fr) 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.heading-actions form { margin: 0; }
.button-danger { border-color: #dfb9b4; background: #fff6f4; color: #9b463c; }
.button-danger:hover { background: #f8e7e3; }
.asset-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; border-top: 1px solid #aebbb5; border-bottom: 1px solid var(--line); padding: 11px 0; }
.asset-toolbar label { display: grid; flex: 0 1 128px; gap: 4px; min-width: 110px; color: #6f7b76; font-size: 8px; font-weight: 700; letter-spacing: .75px; }
.asset-toolbar label.asset-search { flex: 1 1 220px; }
.asset-toolbar input, .asset-toolbar select, .common-fields select, .review-table select, .review-table input { width: 100%; min-width: 0; height: 32px; border: 1px solid #cdd6d1; border-radius: 0; background: #fff; color: var(--ink); padding: 0 8px; font-size: 10px; }
.asset-toolbar .button { height: 32px; }
.browser-toolbar { display: flex; justify-content: space-between; align-items: center; min-height: 41px; color: #77827e; font-size: 10px; }
.display-mode { display: flex; border: 1px solid #d3dbd6; }
.display-mode a { display: grid; place-items: center; width: 31px; height: 27px; color: #697671; font-size: 15px; }
.display-mode a + a { border-left: 1px solid #d3dbd6; }
.display-mode a.is-active { background: #e5ece2; color: #385941; }
.asset-grid { align-items: start; }
.asset-table-wrap { width: 100%; overflow-x: auto; border-top: 1px solid #aebbb5; }
.asset-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.asset-table th { height: 35px; border-bottom: 1px solid #dce2df; color: #78837e; font-size: 8px; font-weight: 700; letter-spacing: .8px; text-align: left; }
.asset-table td { height: 47px; border-bottom: 1px solid #e4e8e5; padding: 5px 7px; color: #5c6762; font-size: 10px; }
.asset-table tbody tr:hover { background: rgba(255,255,255,.65); }
.table-thumbnail { display: grid; place-items: center; width: 38px; height: 34px; overflow: hidden; background: #e6ebe4; color: #738579; font-size: 12px; }
.table-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.table-asset-name { color: #283431; font-weight: 650; }
.empty-table { height: 90px !important; color: #7b8581 !important; text-align: center; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 17px; color: #78827e; font-size: 10px; }
.pagination a { color: #47664c; font-weight: 650; }
.asset-inspector-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #b8c2bc; padding: 0 0 15px; }
.asset-inspector-toolbar h1 { margin: 6px 0 4px; font-size: 22px; }
.asset-inspector-toolbar .muted { font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; }
.asset-inspector { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: start; gap: 20px; padding-top: 16px; }
.inspector-canvas { position: sticky; top: 70px; display: flex; flex-direction: column; min-height: 360px; border: 1px solid #d7dfda; background: #e9ede8; }
.canvas-toolbar { display: flex; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid #d5ddd7; color: #74817a; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.inspector-image { display: block; width: 100%; max-height: min(70vh, 680px); flex: 1; object-fit: contain; padding: 18px; background-color: #e9ede8; background-image: linear-gradient(45deg, #dfe5df 25%, transparent 25%), linear-gradient(-45deg, #dfe5df 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #dfe5df 75%), linear-gradient(-45deg, transparent 75%, #dfe5df 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.preview-caption { overflow: hidden; margin: 0; border-top: 1px solid #d5ddd7; padding: 8px 10px; color: #758079; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.inspector-sidebar { display: grid; gap: 19px; min-width: 0; }
.inspector-block { min-width: 0; border-top: 1px solid #aebbb5; padding-top: 11px; }
.inspector-properties { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 9px 10px; margin: 13px 0; }
.inspector-properties dt { color: #77827e; font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.inspector-properties dd { min-width: 0; margin: 0; color: #34413b; font-size: 10px; overflow-wrap: anywhere; }
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; }
.asset-tag { border: 1px solid #d7dfda; background: #f6f8f5; padding: 3px 5px; color: #5f6e64; font-size: 9px; }
.inspector-description { margin: 12px 0 0; border-top: 1px solid #e2e7e3; padding-top: 10px; color: #727e78; font-size: 10px; line-height: 1.55; }
.metadata-view { max-height: 250px; overflow: auto; margin: 10px 0 0; border: 1px solid #e1e6e2; background: rgba(255,255,255,.55); padding: 10px; color: #495650; font-size: 9px; }
.version-list { border-top: 1px solid #e1e6e2; }
.version-row { display: flex; align-items: center; gap: 10px; min-height: 53px; border-bottom: 1px solid #e1e6e2; }
.version-number { width: 33px; color: #496d50; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.version-main { display: grid; flex: 1; gap: 3px; min-width: 0; }
.version-main strong { font-size: 10px; }
.version-main small { color: #7d8782; font-size: 9px; }
.version-download { color: #4b6d52; font-size: 16px; }
.inspector-sidebar h2 { font-size: 14px; }
.inspector-sidebar .section-heading { margin-bottom: 8px; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 24px; align-items: start; }
.upload-panel { min-width: 0; border-top: 1px solid #aebbb5; padding-top: 16px; }
.upload-side { border-top: 1px solid #aebbb5; padding: 12px 0; }
.upload-side h2 { margin: 9px 0; font-size: 15px; }
.upload-side dl { display: grid; gap: 6px; margin: 20px 0 0; }
.upload-side dt { margin-top: 7px; color: #77827e; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.upload-side dd { margin: 0; color: #3d4943; font-size: 10px; }
.drop-zone { position: relative; display: grid; justify-items: center; gap: 7px; min-height: 153px; border: 1px dashed #abbab0; background: #f7f9f6; padding: 19px; color: #45534b !important; text-align: center; cursor: pointer; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: #65816a; background: #edf3ea; }
.drop-zone strong { font-size: 12px; }
.drop-zone small { color: #818b86; font-size: 10px; }
.drop-zone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-mark { display: grid; place-items: center; width: 30px; height: 30px; background: #e5ece2; color: #496d50; font-size: 17px; }
.field-error { color: #a43f35; font-size: 10px; }
.required-mark { color: #9d4b3f; }
.selected-file { display: flex; align-items: center; gap: 11px; border: 1px solid #dce2df; padding: 7px; }
.selected-file img { width: 70px; height: 54px; object-fit: contain; background: #e9ede8; }
.selected-file div { display: grid; gap: 4px; min-width: 0; }
.selected-file strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
.selected-file small { color: #758079; font-size: 9px; }
.upload-bulk-panel { max-width: 820px; }
.bulk-drop-zone { min-height: 195px; }
.review-form { display: grid; gap: 17px; }
.common-defaults { border-top: 1px solid #aebbb5; padding-top: 12px; }
.common-fields { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)) auto; align-items: end; gap: 8px; margin-top: 10px; }
.common-fields label { display: grid; gap: 5px; color: #718079; font-size: 9px; }
.common-fields .button { height: 32px; }
.review-table td { min-width: 100px; height: 65px; }
.review-table td:first-child { min-width: 55px; }
.review-table .table-thumbnail { width: 48px; height: 45px; object-fit: cover; }
.review-table td:nth-child(2) { min-width: 140px; }
.review-table td:nth-child(7) { min-width: 150px; }
.table-file-info { display: block; margin-top: 4px; color: #7e8984; font-size: 9px; }
.tile-action { border-top: 1px solid #e1e6e2; padding: 5px 9px; }
.tile-action .text-button { cursor: pointer; font-size: 9px; }
.subsection-title { margin: 16px 0 0; color: #75817b; font-size: 9px; font-weight: 700; letter-spacing: .9px; }
.asset-replace-layout { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(300px, 1.3fr); gap: 24px; align-items: start; }
.replace-preview { display: grid; justify-items: center; gap: 9px; border: 1px solid var(--line); background: #e8ede7; padding: 10px; }
.replace-preview img { width: 100%; max-height: 260px; object-fit: contain; }
.replace-preview span { color: #718079; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.asset-edit-panel { max-width: 760px; }
.delete-confirm { max-width: 600px; border-top: 1px solid #b48b82; padding-top: 15px; }
.delete-confirm > strong, .delete-confirm > span { display: block; margin-top: 8px; }
.delete-confirm > strong { font-size: 14px; }
.delete-confirm > span { color: var(--muted); font-size: 10px; }
.delete-confirm .form-actions { justify-content: flex-start; }
.delete-confirm form { margin: 0; }
@media (max-width: 900px) {
    .asset-inspector { grid-template-columns: minmax(0, 1fr); }
    .inspector-canvas { position: static; min-height: 300px; }
    .upload-layout { grid-template-columns: 1fr; }
    .upload-side { display: none; }
    .common-fields { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
}
@media (max-width: 620px) {
    .heading-actions { width: 100%; }
    .asset-inspector-toolbar { align-items: flex-start; flex-direction: column; }
    .asset-inspector-toolbar .heading-actions { flex-wrap: wrap; }
    .inspector-canvas { min-height: 230px; }
    .inspector-properties { grid-template-columns: 90px minmax(0, 1fr); }
    .common-fields { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
    .common-fields .button { grid-column: 1 / -1; }
    .asset-toolbar label { flex: 1 1 calc(50% - 8px); }
    .asset-toolbar label.asset-search { flex: 1 1 100%; }
    .asset-table { min-width: 820px; }
    .asset-replace-layout { grid-template-columns: 1fr; }
    .review-table { min-width: 920px; }
}