:root {
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #202c3e;
  background: #f7f9fc;
  font-synthesis: none;
  --blue: #2862de;
  --blue-dark: #174bb7;
  --ink: #202c3e;
  --muted: #738095;
  --line: #e5eaf2;
  --soft-blue: #edf3ff;
  --danger: #b83c45;
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { opacity: .5; cursor: default; }
a { color: var(--blue); text-decoration: none; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid #86aaf7; }
input, select, textarea { min-width: 0; border: 1px solid #d9e0eb; border-radius: 9px; background: #fff; color: var(--ink); padding: 11px 13px; }
input::placeholder, textarea::placeholder { color: #8a96a8; }
input:focus, select:focus, textarea:focus { border-color: #8daef2; }
input[readonly], textarea[readonly] { background: #f7f9fc; }
label { display: block; font-size: 13px; font-weight: 600; margin: 15px 0 7px; }
svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, p { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 30; top: -80px; left: 20px; padding: 12px 18px; border-radius: 8px; background: #fff; box-shadow: 0 4px 20px #142e5c20; }
.skip-link:focus { top: 10px; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.6; }
.eyebrow { display: block; color: #7a879b; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 16px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 600; line-height: 1.35; min-height: 42px; text-align: center; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
.button svg { width: 18px; height: 18px; }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 3px 7px #2862de17; }
.button.primary:hover:not(:disabled) { background: var(--blue-dark); }
.button.secondary { background: #fff; border-color: #dce3ee; color: #36465c; }
.button.secondary:hover:not(:disabled) { background: #f4f7fc; border-color: #c8d3e3; }
.button.danger { background: var(--danger); color: #fff; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 8px; border: 0; border-radius: 9px; background: transparent; color: #6c7a90; font-size: 27px; line-height: 1; }
.icon-button:hover:not(:disabled) { background: #edf2f9; color: var(--ink); }
.icon-button svg { width: 19px; height: 19px; }
.small-icon { width: 28px; height: 28px; padding: 5px; }
.small-icon svg { width: 17px; height: 17px; }
.text-button { border: 0; padding: 5px 0; background: none; color: var(--blue); font-weight: 600; font-size: 12px; }
.text-button:hover:not(:disabled) { text-decoration: underline; }
.danger-text { color: var(--danger); }
.full-width { width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.5px; white-space: nowrap; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--blue); color: #fff; }
.brand-mark svg { width: 24px; height: 24px; }
.boot-view { display: flex; min-height: 100dvh; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }

.auth-view { display: grid; grid-template-columns: minmax(360px, 1.05fr) minmax(390px, 1fr); min-height: 100dvh; background: #fff; }
.auth-story { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 720px; padding: 44px 54px 30px; background: #1c2b46; color: #fff; }
.brand-light { color: #fff; }
.auth-story::before { content: ""; position: absolute; width: 550px; height: 550px; left: -190px; top: 260px; background: radial-gradient(circle, #476fba38 0, #1c2b4600 68%); pointer-events: none; }
.story-copy { position: relative; margin: 92px 0 0; max-width: 460px; }
.story-copy .eyebrow { color: #9eacc4; font-size: 10px; }
.story-copy h1 { margin: 20px 0; font-size: clamp(34px, 3.1vw, 50px); line-height: 1.16; font-weight: 600; letter-spacing: -1.7px; }
.story-copy p { max-width: 330px; color: #b1bdd0; font-size: 14px; line-height: 1.8; }
.archive-art { position: relative; height: 210px; width: 300px; margin: 38px auto 42px; }
.art-card { position: absolute; width: 210px; height: 148px; border-radius: 15px; box-shadow: 0 18px 35px #0c17394d; }
.art-card-back { left: 23px; top: 8px; transform: rotate(-15deg); background: #3a4e73; border: 1px solid #5c7094; }
.art-card-middle { left: 72px; top: 25px; transform: rotate(12deg); background: #5a83db; border: 1px solid #87a7e9; }
.art-card-front { left: 44px; top: 48px; transform: rotate(-3deg); background: #f3f6ff; padding: 15px; border: 6px solid #fff; }
.art-card-front svg { width: 100%; height: 100%; stroke: none; }
.art-card-front svg circle { fill: #eabf75; }
.art-card-front svg path { fill: #a9bfe9; }
.art-spark { position: absolute; width: 8px; height: 8px; background: #8cacfa; border-radius: 3px; transform: rotate(20deg); }
.art-spark-one { left: 2px; top: 100px; }
.art-spark-two { right: 0; top: 14px; width: 11px; height: 11px; background: #e9bd77; }
.story-note { margin-top: auto; color: #8294b2; font-size: 11px; }
.auth-panel { display: flex; position: relative; align-items: center; justify-content: center; padding: 50px 44px 80px; }
.auth-form { width: 100%; max-width: 355px; }
.auth-form h2 { margin: 16px 0 12px; font-size: 30px; letter-spacing: -1px; font-weight: 650; }
.auth-form > .muted { font-size: 14px; line-height: 1.7; margin-bottom: 30px; }
.auth-form input { width: 100%; }
.auth-form label { margin-top: 20px; }
.password-field { position: relative; }
.password-field input { padding-right: 85px; }
.password-toggle { position: absolute; right: 8px; top: 7px; border: 0; border-radius: 5px; padding: 6px; font-size: 11px; font-weight: 600; background: transparent; color: #6c7b93; }
.auth-submit { width: 100%; margin-top: 27px; justify-content: space-between; padding: 13px 17px; }
.auth-footer { position: absolute; bottom: 30px; color: #9aa5b5; font-size: 11px; }
.notice { border: 1px solid #dbe5fa; border-radius: 9px; padding: 12px 14px; background: #f1f5ff; color: #48618d; font-size: 12px; line-height: 1.6; }
.form-error { margin: 14px 0 0; color: var(--danger); font-size: 12px; line-height: 1.6; }

.topbar { display: flex; position: sticky; z-index: 5; top: 0; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 30px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-end { display: flex; align-items: center; gap: 9px; }
.admin-badge { display: flex; align-items: center; gap: 7px; margin-right: 11px; font-size: 12px; color: #65748a; }
.admin-dot { width: 7px; height: 7px; background: #78a18b; border-radius: 50%; }
.workspace { display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: calc(100dvh - 76px); }
.sidebar { position: sticky; top: 76px; display: flex; flex-direction: column; align-self: start; height: calc(100dvh - 76px); padding: 27px 17px 20px; border-right: 1px solid var(--line); background: #fff; overflow-y: auto; }
.all-media-button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 0; border-radius: 9px; background: transparent; text-align: left; font-weight: 600; font-size: 12px; }
.all-media-button > svg { width: 17px; height: 17px; }
.all-media-button.selected { background: var(--soft-blue); color: var(--blue); }
.all-media-button .count-badge { margin-left: auto; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 6px; min-width: 21px; border-radius: 5px; color: #718199; background: #eef2f8; font-size: 10px; font-weight: 600; line-height: 1.4; }
.sidebar-section-heading { display: flex; justify-content: space-between; align-items: center; margin: 27px 9px 13px; }
.sidebar-section-heading h2 { margin: 0; color: #9aa5b5; font-size: 10px; letter-spacing: .13em; }
.folder-tree { flex: 1; }
.folder-tree ul { padding: 0; margin: 0; list-style: none; }
.folder-tree ul ul { margin-left: 13px; padding-left: 7px; border-left: 1px solid #edf0f6; }
.folder-row { display: flex; align-items: center; border-radius: 7px; margin: 2px 0; }
.folder-row.selected { background: #edf3ff; color: var(--blue); }
.folder-row:hover { background: #f4f7fc; }
.folder-row.selected:hover { background: #e7efff; }
.folder-link { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 9px 6px; text-align: left; min-width: 0; flex: 1; font-size: 12px; color: inherit; }
.folder-link > svg { width: 16px; height: 16px; opacity: .75; }
.folder-link > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-toggle, .folder-toggle-space { width: 19px; flex: 0 0 19px; }
.folder-toggle { padding: 4px 0; background: transparent; border: 0; color: #8996a9; }
.folder-toggle > svg { width: 12px; height: 12px; transition: transform .15s; }
.folder-toggle.collapsed > svg { transform: rotate(-90deg); }
.folder-empty { padding: 8px 12px 40px; color: #8a96a7; font-size: 11px; line-height: 1.6; }
.folder-empty p { margin-bottom: 3px; font-weight: 600; color: #75849a; }
.sidebar-note { display: flex; gap: 10px; padding: 17px 10px 0; border-top: 1px solid #eef1f6; margin-top: 35px; color: #93a0b2; }
.sidebar-note > svg { width: 15px; height: 15px; margin-top: 2px; }
.sidebar-note p { margin: 0; font-size: 10px; line-height: 1.7; }
.main-content { padding: 29px 36px 55px; min-width: 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; min-height: 18px; margin-bottom: 20px; color: #a0aabb; font-size: 11px; overflow-x: auto; white-space: nowrap; }
.breadcrumbs button { background: transparent; padding: 0; border: 0; color: #7e8da3; font-size: inherit; }
.breadcrumbs button:hover { color: var(--blue); }
.breadcrumbs span:last-child { color: #53667f; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 29px; }
.page-heading h1 { font-size: 29px; font-weight: 650; letter-spacing: -.9px; line-height: 1.2; margin: 9px 0 10px; overflow-wrap: anywhere; }
.page-heading p { font-size: 12px; line-height: 1.6; margin-bottom: 0; }
.folder-toolbar { display: flex; flex-wrap: wrap; gap: 22px; margin: -12px 0 24px; }
.filters { display: flex; gap: 10px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.filters input, .filters select { font-size: 11px; min-height: 38px; padding: 9px 11px; }
.search-field { position: relative; flex: 1; min-width: 130px; }
.search-field > svg { position: absolute; left: 11px; top: 10px; color: #9aa6b8; width: 17px; height: 17px; }
.search-field input { width: 100%; padding-left: 35px; }
.tag-filter { width: 138px; }
.result-line { display: flex; align-items: center; gap: 18px; min-height: 52px; font-size: 11px; color: #728098; }
.result-line > span:first-child { font-weight: 600; }
.error-notice { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 16px; color: #9d434c; background: #fff6f6; border-color: #f0d7da; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 20px; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 28px; }
.media-card { min-width: 0; overflow: hidden; border-radius: 11px; border: 1px solid #e4e9f1; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.media-card:hover { transform: translateY(-2px); border-color: #c4d3ed; box-shadow: 0 6px 17px #22396309; }
.media-card-open { width: 100%; padding: 0; border: 0; display: block; background: #fff; text-align: left; }
.media-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 150px; overflow: hidden; background: #eef2f8; color: #93a7c8; }
.media-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-visual > svg { width: 45px; height: 45px; stroke-width: 1.2; }
.media-type-badge { position: absolute; left: 10px; top: 10px; padding: 4px 7px; font-size: 9px; font-weight: 600; border: 1px solid #ffffffb0; border-radius: 5px; background: #ffffffed; color: #53657f; }
.video-play { position: absolute; display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 50%; background: #ffffffed; color: #4267a8; box-shadow: 0 2px 9px #172d5520; }
.video-play svg { width: 15px; height: 15px; fill: currentColor; }
.media-card-copy { padding: 13px 13px 10px; }
.media-card h2 { font-size: 12px; font-weight: 600; color: #34445b; margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card-copy p { color: #8b97a9; font-size: 10px; margin: 0; }
.media-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 0 9px 9px 13px; min-height: 32px; }
.media-card-tags { display: flex; overflow: hidden; gap: 4px; flex: 1; }
.tag { display: inline-block; padding: 3px 6px; border-radius: 4px; background: #f1f5fc; font-size: 9px; color: #7a8da9; white-space: nowrap; }
.media-card-footer .icon-button { width: 25px; height: 25px; padding: 5px; }
.media-card-footer .icon-button svg { width: 13px; height: 13px; }
.empty-state { padding: 72px 20px 65px; text-align: center; }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 85px; height: 85px; border-radius: 25px; background: #eaf0fc; color: #93addc; margin-bottom: 22px; transform: rotate(-5deg); }
.empty-icon svg { width: 45px; height: 45px; transform: rotate(5deg); stroke-width: 1.4; }
.empty-state h2 { font-size: 19px; font-weight: 600; letter-spacing: -.4px; margin-bottom: 10px; }
.empty-state p { max-width: 350px; color: #8793a5; font-size: 12px; line-height: 1.8; margin: 0 auto 22px; }
.empty-state .text-button { display: block; margin: 0 auto; }
.mobile-only { display: none; }

.dialog { width: calc(100% - 40px); max-width: 460px; max-height: calc(100dvh - 50px); border: 1px solid #dfe6f1; border-radius: 17px; padding: 27px; color: var(--ink); box-shadow: 0 24px 90px #172b5040; overflow: auto; }
.dialog::backdrop { background: #14223b80; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.dialog-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.5px; }
.dialog-heading .eyebrow { margin-bottom: 9px; }
.dialog-heading > .icon-button { flex-shrink: 0; }
.dialog > .muted, .dialog form > .muted { font-size: 12px; line-height: 1.7; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.form-fields input, .form-fields select, .form-fields textarea { width: 100%; }
.form-fields label:first-child { margin-top: 0; }
.form-fields .field-hint { color: #8290a4; font-size: 11px; line-height: 1.6; margin-top: 7px; }
.form-fields textarea { resize: vertical; min-height: 80px; }
.upload-dialog { max-width: 520px; }
.upload-dialog > select { width: 100%; margin-bottom: 17px; }
.upload-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 195px; padding: 22px; border: 1.5px dashed #cad7ee; border-radius: 11px; background: #f6f9ff; color: #7289b0; }
.upload-dropzone:hover, .upload-dropzone.drag-active { background: #ecf3ff; border-color: #7b9fea; }
.upload-dropzone > svg { width: 39px; height: 39px; margin-bottom: 17px; color: #91abe0; }
.upload-dropzone strong { color: #486391; font-size: 13px; margin-bottom: 6px; }
.upload-dropzone > span { font-size: 11px; }
.upload-dropzone small { color: #96a4ba; font-size: 10px; margin-top: 18px; }
.upload-queue { margin-top: 12px; max-height: 210px; overflow-y: auto; }
.upload-file { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf0f5; font-size: 11px; }
.upload-file > svg { width: 19px; height: 19px; color: #8ba0c2; }
.upload-file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-file-state { color: #8392a8; flex-shrink: 0; }
.upload-file.done .upload-file-state { color: #4c8c6b; }
.upload-file.failed .upload-file-state { color: var(--danger); }
.upload-file .icon-button { width: 24px; height: 24px; font-size: 19px; }
.preview-dialog { max-width: 1110px; padding: 0; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 26px; border-bottom: 1px solid var(--line); }
.preview-heading .eyebrow { margin-bottom: 7px; }
.preview-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.3px; overflow-wrap: anywhere; }
.preview-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; }
.preview-stage { display: flex; align-items: center; justify-content: center; background: #edf1f7; min-height: 480px; max-height: 73dvh; padding: 28px; overflow: hidden; }
.preview-stage > img, .preview-stage > video { display: block; max-width: 100%; max-height: 65dvh; object-fit: contain; border-radius: 4px; }
.preview-stage > audio { width: 100%; }
.preview-fallback { text-align: center; font-size: 12px; line-height: 1.7; color: #7f8fa7; }
.preview-fallback > svg { width: 55px; height: 55px; margin: 0 auto 20px; color: #a4b4ce; }
.preview-details { background: #fff; padding: 22px 22px 20px; overflow-y: auto; max-height: 73dvh; border-left: 1px solid var(--line); }
.detail-section + .detail-section { margin-top: 23px; padding-top: 22px; border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.section-title h3 { font-size: 12px; font-weight: 650; margin: 0; }
.section-title .text-button { font-size: 10px; }
.section-title h3 > .count-badge { margin-left: 5px; }
.properties { display: grid; grid-template-columns: 85px minmax(0, 1fr); font-size: 10px; line-height: 1.8; margin: 0 0 15px; row-gap: 8px; }
.properties dt { color: #94a0b2; }
.properties dd { margin: 0; color: #64758d; overflow-wrap: anywhere; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
.copy-field { display: flex; align-items: center; gap: 3px; margin-bottom: 15px; }
.copy-field input { flex: 1; width: 100%; padding: 9px 8px; font-size: 9px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.copy-field .icon-button { width: 29px; padding: 6px; }
.copy-field .icon-button svg { width: 15px; height: 15px; }
.preview-details .full-width { font-size: 11px; min-height: 36px; padding: 9px 11px; }
.version-list { display: flex; flex-direction: column; gap: 7px; margin-top: 13px; }
.version-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid #e5eaf2; border-radius: 7px; padding: 10px; text-align: left; }
.version-button.selected { border-color: #9bb8ee; background: #f4f7fe; }
.version-button strong { display: block; font-size: 10px; font-weight: 600; margin-bottom: 3px; }
.version-button small { display: block; font-size: 9px; color: #8a98ac; }
.version-button > span:last-child { font-size: 9px; color: #7190c6; }
.remove-media-button { margin-top: 25px; font-size: 10px; }
.settings-dialog { max-width: 560px; }
.settings-section + .settings-section { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 27px; }
.settings-section > h3 { font-size: 14px; margin-bottom: 18px; }
.settings-section > .muted { font-size: 12px; line-height: 1.7; }
.settings-section .form-fields > .button { margin-top: 17px; }
.settings-section .form-fields > .small { margin-bottom: 0; }
.status-badge { display: inline-flex; font-size: 9px; color: #8090a6; background: #f0f3f8; padding: 5px 8px; border-radius: 5px; white-space: nowrap; }
.status-badge.active { color: #438266; background: #edf7f1; }
.token-controls { margin-top: 22px; }
.token-result { margin-top: 17px; padding: 16px; border: 1px solid #c7d9f9; border-radius: 9px; background: #f5f8ff; }
.token-result > strong { color: #456696; font-size: 12px; }
.token-result > p { color: #788ca9; margin: 9px 0 12px; }
.token-result > textarea { width: 100%; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; resize: none; background: #fff; }
.token-result > .button { margin-top: 10px; font-size: 11px; }
.toast { position: fixed; z-index: 15; left: 50%; bottom: 25px; transform: translateX(-50%); padding: 13px 20px; width: max-content; max-width: calc(100% - 35px); border-radius: 10px; background: #24354f; color: #fff; box-shadow: 0 5px 20px #12234125; font-size: 12px; line-height: 1.5; text-align: center; }
.drag-overlay { position: fixed; z-index: 20; inset: 12px; display: flex; align-items: center; justify-content: center; background: #edf4ffed; border: 2px dashed #8dabe6; border-radius: 18px; pointer-events: none; }
.drag-overlay > span { font-size: 20px; font-weight: 600; color: #476baf; }

@media (min-width: 1600px) { .main-content { padding-left: 45px; padding-right: 45px; } .media-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); } .media-visual { height: 170px; } }
@media (max-width: 1100px) { .workspace { grid-template-columns: 215px minmax(0, 1fr); } .main-content { padding: 25px 24px 45px; } .filters { flex-wrap: wrap; gap: 8px; } .search-field { flex-basis: calc(100% - 160px); } .tag-filter { flex: 1; } .filters > #sort-select { flex: 1; } .media-grid { gap: 15px; } .auth-story { padding: 35px; } .story-copy { margin-top: 85px; } }
@media (max-width: 760px) { .auth-view { display: flex; flex-direction: column; } .auth-story { min-height: 0; padding: 25px 27px 31px; } .story-copy { margin: 37px 0 0; } .story-copy h1 { font-size: 30px; letter-spacing: -1px; margin: 13px 0; } .story-copy h1 br { display: none; } .story-copy p { margin: 0; max-width: 400px; font-size: 12px; } .archive-art, .story-note { display: none; } .auth-panel { padding: 40px 27px 80px; } .auth-form { max-width: 420px; } .auth-form h2 { font-size: 26px; } .auth-footer { bottom: 25px; } .topbar { min-height: 65px; padding: 0 16px; gap: 8px; } .topbar > .brand { margin-right: auto; } .topbar .brand { font-size: 16px; gap: 8px; } .topbar .brand-mark { width: 31px; height: 31px; border-radius: 9px; } .topbar-end { gap: 0; } .admin-badge { display: none; } .mobile-only { display: inline-flex; } .workspace { display: block; min-height: calc(100dvh - 65px); } .sidebar { position: fixed; z-index: 4; top: 65px; left: 0; width: min(290px, 85vw); height: calc(100dvh - 65px); transform: translateX(-101%); transition: transform .2s; box-shadow: 15px 0 40px #172d551a; } .sidebar.open { transform: translateX(0); } .main-content { padding: 22px 18px 40px; } .breadcrumbs { margin-bottom: 19px; } .page-heading { align-items: flex-start; gap: 15px; margin-bottom: 23px; } .page-heading h1 { font-size: 25px; } .page-heading > .button { font-size: 0; width: 43px; padding: 12px; margin-top: 20px; flex-shrink: 0; } .page-heading > .button > svg { width: 20px; height: 20px; } .media-grid { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; } .media-visual { height: 125px; } .media-card-copy { padding: 11px 10px 8px; } .media-card-footer { padding-left: 10px; } .media-card h2 { font-size: 11px; } .media-card-copy p { font-size: 9px; } .filters { padding: 10px; } .filters > select, .filters > input { font-size: 10px; } .search-field { flex-basis: calc(100% - 120px); min-width: 110px; } .filters > #type-filter { width: 105px; } .tag-filter { width: 115px; } .filters > #sort-select { width: 140px; } .empty-state { padding-top: 55px; } .dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 22px; } .preview-dialog { padding: 0; } .preview-heading { padding: 18px; } .preview-layout { grid-template-columns: 1fr; } .preview-stage { min-height: 220px; max-height: 44dvh; padding: 18px; } .preview-stage > img, .preview-stage > video { max-height: 38dvh; } .preview-details { max-height: none; border-left: 0; border-top: 1px solid var(--line); padding: 23px; } .properties { grid-template-columns: 100px minmax(0, 1fr); } .preview-details .full-width { max-width: 300px; } .preview-details .copy-field { max-width: 340px; } .version-list { max-height: 180px; overflow-y: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
