:root {
  font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  color: #211932;
  background: #f8f7fc;
  color-scheme: light;
  font-size: 14px;
  --purple: #7040e8;
  --purple-dark: #5530bd;
  --muted: #6d627e;
  --border: #e9e3f0;
  --lavender: #f0e9ff;
  --paper: #fff;
  --shadow: 0 3px 10px #391c6920;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid #8554ff; outline-offset: 3px; }
[hidden] { display: none !important; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { min-height: 100vh; }
.topbar { height: 64px; padding: 0 24px; color: #fff; background: #221635; display: flex; align-items: center; justify-content: space-between; }
.wordmark, .top-actions, .host-status { display: flex; align-items: center; }
.wordmark { gap: 11px; }
.wordmark strong { font-size: 20px; letter-spacing: .05em; }
.brand-icon { width: 37px; height: 37px; display: grid; place-items: center; background: #8f63ff; color: white; border-radius: 11px; box-shadow: 0 0 16px #a57cff30; }
.brand-icon .icon { width: 23px; height: 23px; }
.top-actions { gap: 16px; }
.host-status { gap: 8px; color: #ded0ef; font-size: 12px; white-space: nowrap; }
.host-status i { width: 8px; height: 8px; background: #51e4a4; border-radius: 50%; box-shadow: 0 0 0 3px #51e4a423; }
.host-status.inactive i { background: #b7a5cb; box-shadow: none; }
.host-status.public i { background: #72f2d5; box-shadow: 0 0 0 3px #72f2d52a; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 7px 11px; white-space: nowrap; border: 1px solid transparent; border-radius: 8px; background: transparent; font-weight: 650; }
.button:hover:not(:disabled) { background: #eee7fb; color: #542da7; }
.button .icon { width: 16px; height: 16px; }
.button.primary { background: var(--purple); color: white; box-shadow: 0 2px 5px #6532dc30; }
.button.primary:hover:not(:disabled) { color: white; background: var(--purple-dark); }
.topbar .button.primary { background: #9369fb; color: #1d102e; }
.topbar .button.primary:hover:not(:disabled) { background: #af92ff; }
.topbar .top-secondary { color: #eee2ff; border-color: #ffffff30; }
.topbar .top-secondary:hover { background: #ffffff1c; color: white; }
.button.outline { border-color: var(--border); background: white; }
.button.danger { background: #b72c58; color: white; }
.button.danger:hover:not(:disabled) { background: #9b2148; color: white; }
.icon-button { width: 33px; min-height: 33px; padding: 0; flex-shrink: 0; }
.address-bar { height: 56px; padding: 0 23px; display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--border); background: white; }
.nav-controls { display: flex; gap: 3px; color: #625571; }
.breadcrumbs, .search { height: 35px; display: flex; gap: 5px; align-items: center; padding: 0 9px; border: 1px solid var(--border); border-radius: 8px; background: #faf8fd; }
.breadcrumbs { flex: 1; min-width: 0; overflow: auto hidden; scrollbar-width: none; }
.breadcrumbs > .icon { color: #a295b1; width: 13px; height: 13px; flex-shrink: 0; }
.crumb { background: none; border: 0; border-radius: 5px; padding: 4px 6px; white-space: nowrap; font-size: 13px; flex-shrink: 0; }
.crumb:hover { background: #eee7fb; }
.crumb .icon { color: var(--purple); width: 15px; height: 15px; margin-right: 5px; }
.crumb.current { font-weight: 700; }
.search { width: clamp(135px, 22vw, 300px); color: var(--muted); flex-shrink: 0; }
.search input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; padding: 4px; }
.search:focus-within { border-color: #996efb; }
.search .icon { width: 16px; height: 16px; }
.body { display: grid; grid-template-columns: 225px minmax(0, 1fr) 336px; height: calc(100vh - 151px); min-height: 380px; }
.body.inspector-closed { grid-template-columns: 225px minmax(0, 1fr); }
.sidebar { background: #f7f3fd; border-right: 1px solid var(--border); padding: 17px 12px 10px; min-height: 0; display: flex; flex-direction: column; }
.sidebar-head { margin: 0 3px 8px 10px; display: flex; justify-content: space-between; align-items: center; color: #55446c; font-weight: 750; }
.sidebar-head .icon-button { width: 28px; min-height: 28px; color: var(--purple-dark); }
.tree { overflow: auto; flex: 1; margin-bottom: 5px; }
.tree-group { margin-top: 13px; }
.tree-caption { display: block; margin: 8px 9px 5px; font-size: 11px; color: #6b5b80; font-weight: 700; letter-spacing: .08em; }
.tree-line { display: flex; align-items: center; min-width: 0; gap: 4px; margin-bottom: 3px; border-radius: 8px; }
.tree-line:hover { background: #eee6fb; }
.tree-line.active { background: #e9dfff; box-shadow: inset 3px 0 0 #8050ef; }
.tree-line.drop-target, .card.drop-target, .list-row.drop-target { outline: 2px solid #7949f0; background: #eee4ff; }
.tree-button { display: flex; align-items: center; flex: 1; gap: 8px; padding: 7px 7px; min-width: 0; min-height: 35px; text-align: left; border: 0; background: transparent; border-radius: 8px; }
.tree-button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tree-button .icon, .tree-button.active, .tree-line.active .tree-button { color: #6540bc; }
.tree-line.active .tree-button { font-weight: 750; }
.tree-line.scene { padding-left: 26px; }
.tree-line.scene .tree-button .icon { color: #a76a06; fill: #ffd368; }
.tree-line.account .tree-button { padding-left: 2px; font-weight: 700; }
.tree-line.account .tree-button .icon { color: #7845df; fill: #d8c2ff; }
.tree-line > .expand { width: 24px; min-height: 28px; color: #79648f; margin-left: 5px; }
.expand .icon { width: 13px; height: 13px; }
.sidebar-foot { border-top: 1px solid #e7def0; padding-top: 9px; }
.sidebar-foot .tree-button { padding-left: 9px; }
.browser { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.overview { margin: 20px 21px 13px; min-height: 91px; display: flex; align-items: center; gap: 14px; padding: 15px 17px; background: linear-gradient(112deg, #f0e7ff, #f8edff 61%, #efe6ff); border: 1px solid #e6d7ff; border-radius: 13px; position: relative; overflow: hidden; }
.overview::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid #d9c6f86d; border-radius: 50%; right: 80px; top: -92px; box-shadow: 0 0 0 19px #e2d2fa75, 0 0 0 45px #e7dbfa55; pointer-events: none; }
.overview > * { z-index: 1; }
.overview-icon { display: grid; place-items: center; width: 55px; height: 55px; color: #7140c8; background: #e0ccff; border-radius: 14px; flex-shrink: 0; }
.overview-icon .icon { width: 29px; height: 29px; }
.overview-icon.scene { color: #995c0b; background: #ffdc83; }
.overview-icon.scene .icon { fill: #ffc757; }
.overview-copy { flex: 1; min-width: 0; }
.overview h1 { margin: 0 0 4px; font-size: 24px; line-height: 1.24; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview p { color: #66547a; font-size: 12px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; min-height: 44px; gap: 5px; margin: 0 21px 8px; color: #5e516c; }
.toolbar .button { min-height: 32px; font-size: 12px; padding: 5px 7px; }
.toolbar .icon-button { padding: 0; }
.toolbar-divider { height: 22px; width: 1px; background: #e6deef; margin: 0 2px; }
.toolbar .spacer { flex: 1; }
.segmented { display: inline-flex; background: #efebf6; border: 1px solid #e9e2f0; border-radius: 8px; padding: 2px; }
.segmented .button { min-height: 27px; width: 31px; border-radius: 6px; }
.segmented .chosen { color: #6434cf; background: white; box-shadow: 0 1px 4px #421d6920; }
.contents { flex: 1; overflow: auto; min-height: 0; padding: 0 21px 21px; }
.contents.drop-target { outline: 2px dashed #9868ed; outline-offset: -4px; background: #faf3ff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 14px; align-items: start; }
.card { min-width: 0; position: relative; background: white; border: 1px solid #e9e1f0; border-radius: 11px; overflow: hidden; box-shadow: 0 2px 5px #392b5510; cursor: default; }
.card:hover { border-color: #bba0ed; box-shadow: var(--shadow); }
.card.selected { border-color: #8a5bf4; outline: 1px solid #8a5bf4; }
.card.cut, .tree-line.cut, .list-row.cut { opacity: .55; }
.card-media { aspect-ratio: 1.9; background: #eee5fd; position: relative; overflow: hidden; display: grid; place-items: center; }
.card-media img, .detail-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media.video-panel { background: linear-gradient(140deg, #2d184b, #6341a4); }
.card-media .card-play { min-height: 42px; border-color: #ffffff52; background: #f9f3ff; color: #512995; }
.card-media .card-play:hover { background: #ece0ff; }
.card-media .icon.placeholder { width: 33px; height: 33px; color: #8858de; }
.card-media .icon.placeholder.folder { color: #a66f15; fill: #ffd77a; }
.card-media.folder-panel { background: linear-gradient(135deg,#fff5d9,#ffe8a5); }
.card-media.account-panel { background: linear-gradient(135deg,#f6efff,#e9d7ff); }
.card-media.note-panel { background: linear-gradient(135deg,#e7dbff,#f8e6ff); }
.card-index { position: absolute; z-index: 1; top: 9px; left: 9px; font-size: 11px; line-height: 1; font-weight: 750; letter-spacing: .055em; padding: 6px; background: #231732d9; color: white; border-radius: 5px; }
.card-type { position: absolute; z-index: 1; bottom: 8px; right: 8px; padding: 4px; color: white; background: #231732d9; border-radius: 5px; }
.card-type .icon { width: 14px; height: 14px; }
.card-info { padding: 11px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.card-title strong { min-width: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.card-title .button { width: 22px; min-height: 22px; margin: -5px -3px -5px 0; }
.card-meta { display: flex; align-items: center; gap: 7px; color: #6a5c7a; font-size: 11px; margin-top: 9px; min-width: 0; }
.card-meta .badge { margin-left: auto; }
.badge { padding: 3px 6px; border-radius: 5px; font-size: 10px; color: #5c4776; background: #eee6fa; white-space: nowrap; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.badge::before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.badge.done { color: #156e57; background: #d7f6e9; }
.badge.progress { color: #8a5303; background: #fff0c7; }
.badge.todo { color: #6339ad; background: #f0e6ff; }
.list { background: white; border: 1px solid var(--border); border-radius: 9px; min-width: 475px; overflow: hidden; }
.list-head, .list-row { display: grid; grid-template-columns: minmax(155px, 2fr) minmax(55px, .65fr) minmax(55px, .65fr) minmax(86px, .8fr) 36px; gap: 8px; min-height: 43px; align-items: center; padding: 4px 10px; }
.list-head { color: #665775; background: #f4eef9; font-size: 12px; font-weight: 700; min-height: 36px; }
.list-row { border-top: 1px solid #f1eaf6; }
.list-row:hover { background: #f8f2fd; }
.list-row.selected { background: #eee6ff; box-shadow: inset 3px 0 #8656ef; }
.list-name { min-width: 0; display: flex; align-items: center; gap: 10px; font-weight: 650; }
.list-name > span { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.list-name .icon { color: #8153d9; }
.list-name .folder { color: #a26809; fill: #ffd579; }
.list-row > span { font-size: 12px; }
.empty { min-height: 260px; display: grid; justify-items: center; align-content: center; text-align: center; color: var(--muted); gap: 8px; }
.empty h2 { color: #332546; font-size: 17px; margin: 6px 0 0; }
.empty p { margin: 0 0 8px; }
.empty-icon { display: grid; place-items: center; width: 63px; height: 63px; border-radius: 18px; color: #7447d3; background: #ede1ff; }
.empty-icon .icon { width: 31px; height: 31px; }
.inspector { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: white; border-left: 1px solid var(--border); }
.inspector-head { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f0eaf4; min-height: 51px; padding: 6px 13px 6px 16px; }
.inspector-head > .icon { color: #7845e0; }
.inspector-head strong { flex: 1; }
.inspector-head .button { color: #7b6c88; }
.inspector-main { overflow: auto; flex: 1; padding: 14px 16px 16px; }
.inspector-main > .empty { min-height: 230px; }
.inspector-main .empty p { padding: 0 8px; }
.detail-preview { display: grid; overflow: hidden; width: 100%; aspect-ratio: 2.15; padding: 0; margin-bottom: 13px; border: 0; border-radius: 8px; background: #231936; position: relative; }
.detail-video { place-content: center; justify-items: center; gap: 6px; color: #fff; background: linear-gradient(140deg, #302047, #6a45a7); }
.detail-video:hover { background: #623da7; }
.detail-video-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #ffffff35; }
.detail-video-icon .icon { width: 24px; height: 24px; }
.detail-preview .preview-expand { position: absolute; bottom: 6px; right: 6px; border-radius: 5px; background: #21152fc9; color: white; display: grid; place-items: center; width: 25px; height: 25px; }
.asset-unsupported { color: #6c586f; font-size: 12px; margin: 4px 0 12px; }
.field { display: grid; gap: 5px; margin-bottom: 11px; font-weight: 650; font-size: 12px; }
.field input, .field select, .field textarea { width: 100%; color: #30243e; background: #fdfbff; border: 1px solid #e7dfee; border-radius: 7px; padding: 8px 9px; font-weight: 400; outline-offset: 1px; }
.field input, .field select { height: 34px; }
.field textarea { min-height: 78px; resize: vertical; line-height: 1.55; }
.field input:read-only, .field textarea:read-only, .field select:disabled { background: #f8f5fb; opacity: 1; }
.field-group { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; min-width: 0; }
.field-group .field:last-child select { color: #6c39bf; }
.attachments-head { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 7px; font-size: 12px; font-weight: 700; }
.attachments-head span { color: var(--muted); font-weight: 500; }
.dropzone { border: 1px dashed #ad8bee; border-radius: 8px; background: #f8f2ff; color: #6032aa; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 69px; width: 100%; padding: 6px; }
.dropzone:hover, .dropzone.drop-target { border-color: #7b45ed; background: #eee1ff; }
.dropzone b { font-size: 12px; }
.dropzone small { color: #6d5b84; font-size: 10px; }
.dropzone .icon { width: 17px; height: 17px; }
.attachment { display: flex; gap: 6px; align-items: center; min-width: 0; border-bottom: 1px solid #f1ebf6; padding: 5px 0; }
.attachment > button:first-child { flex: 1; min-width: 0; border: none; text-align: left; padding: 0; background: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.attachment > button:first-child .icon { margin-right: 5px; width: 15px; height: 15px; color: #8553e4; }
.attachment a { color: #68557e; text-decoration: none; }
.attachment .icon-button { width: 24px; min-height: 24px; }
.inspector-foot { display: flex; min-height: 51px; align-items: center; justify-content: space-between; gap: 5px; padding: 7px 13px 7px 16px; border-top: 1px solid var(--border); }
.save-state { display: flex; gap: 5px; align-items: center; font-size: 11px; color: #6e607e; }
.save-state .icon { width: 14px; height: 14px; color: #1e936e; }
.save-state.dirty .icon { color: #945912; }
.statusbar { height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; background: #f1eaf8; border-top: 1px solid #e8deed; color: #635173; font-size: 11px; white-space: nowrap; }
.statusbar > span { overflow: hidden; text-overflow: ellipsis; }
.statusbar button { font: inherit; background: none; border: 0; color: inherit; padding: 2px 4px; }
.statusbar .icon { width: 13px; height: 13px; margin-right: 5px; }
.menu { position: fixed; min-width: 184px; z-index: 5; border: 1px solid #e6dcef; background: white; border-radius: 10px; box-shadow: 0 8px 30px #21163132; padding: 5px; }
.menu button { display: flex; align-items: center; gap: 8px; text-align: left; border: 0; background: transparent; padding: 8px; min-height: 33px; width: 100%; border-radius: 6px; }
.menu button:hover:not(:disabled), .menu button:focus-visible { background: #f0e7ff; }
.menu button > span { flex: 1; }
.menu kbd { font: 10px "Segoe UI", sans-serif; color: #726581; }
.menu hr { margin: 3px 4px; border: none; border-top: 1px solid #efe9f4; }
.modal { width: min(505px, calc(100vw - 28px)); max-height: 90vh; border: 1px solid #e9dff5; border-radius: 15px; padding: 0; background: white; color: #261833; box-shadow: 0 18px 65px #18082948; }
.modal::backdrop { background: #24163175; }
.modal-head { display: flex; gap: 10px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.modal-head h2 { flex: 1; margin: 0; font-size: 18px; }
.modal-head .icon { color: #7441df; }
.modal-body { padding: 16px; }
.modal-body > p { margin: 0 0 14px; line-height: 1.6; color: var(--muted); }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 13px; }
.modal.wide { width: min(990px, calc(100vw - 28px)); }
.modal-preview img { display: block; margin: 0 auto; max-width: 100%; max-height: 65vh; background: #211635; }
.modal-preview .button { text-decoration: none; }
.modal.video-modal { max-height: calc(100dvh - 20px); }
.video-modal .modal-head h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-modal .modal-body { padding: clamp(8px, 2vw, 16px); }
.video-stage {
  --video-room: max(110px, calc(100dvh - 155px));
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100px;
}
.video-stage video {
  display: block;
  width: min(100%, var(--video-fit-width, 100%));
  height: auto;
  max-height: var(--video-room);
  aspect-ratio: var(--video-ratio, 16 / 9);
  object-fit: contain;
  object-position: center;
  background: #1d132a;
  border-radius: 8px;
}
.video-stage .video-play { position: absolute; min-height: 44px; }
.video-notice { padding: 6px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.video-footer { justify-content: center; flex-wrap: wrap; }
.video-footer .button { min-height: 40px; text-decoration: none; }
.video-quality { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-size: 13px; }
.video-quality span { color: var(--muted); }
.video-quality select { min-height: 40px; padding: 0 8px; border: 1px solid var(--border); border-radius: 8px; color: #4b2a80; background: white; font-weight: 650; }
.share-reach { display: flex; align-items: center; gap: 9px; padding: 9px; margin-bottom: 13px; color: #5931a6; background: #f3eaff; border-radius: 8px; font-size: 12px; }
.share-reach div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.share-row { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr) minmax(0,.8fr); gap: 8px; }
.share-output { display: flex; gap: 6px; margin-top: 10px; }
.share-output input { flex: 1; min-width: 0; }
.grant-row { display: flex; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.grant-row span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.grant-row small { display: block; color: var(--muted); }
.toast { position: fixed; bottom: 42px; right: 15px; max-width: calc(100vw - 30px); z-index: 10; background: #291b3e; color: white; border-radius: 9px; padding: 10px 14px; box-shadow: var(--shadow); }
.toast.error { background: #8f254b; }
.access { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at center, #e8d9ff, #faf7ff 70%); }
.access-card { width: min(100%, 430px); background: white; border: 1px solid #e4d8f3; border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.access-card h1 { font-size: 24px; margin: 11px 0 8px; }
.access-card p { color: var(--muted); line-height: 1.6; margin: 0; }
.access-card form { margin-top: 19px; }
.access-card form .primary { width: 100%; margin-top: 3px; }
.access-card .login-message { background: #f4eeff; border-radius: 7px; margin-top: 12px; padding: 8px 10px; color: #4c3470; }
.viewer-address { padding: 11px; border-radius: 9px; background: #f4ecff; }
.viewer-address .share-output { margin: 7px 0 0; }
.viewer-endpoint { margin: 12px 0 16px; font-size: 13px; color: var(--muted); }
.viewer-endpoint summary { cursor: pointer; }
.viewer-endpoint form { margin-top: 7px; padding: 7px 0; }
.viewer-endpoint p { margin: 0 0 9px; }
.viewer-list-head, .viewer-entry { display: flex; align-items: center; gap: 8px; }
.viewer-list-head { justify-content: space-between; margin: 10px 0 5px; }
.viewer-entry { border-bottom: 1px solid var(--border); padding: 9px 0; }
.viewer-entry > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.viewer-entry small { display: block; color: var(--muted); margin-top: 4px; }
.viewer-empty { color: var(--muted); margin: 8px 0; }
#viewer-form { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 12px; }
#viewer-form h3 { font-size: 15px; margin: 0 0 10px; }
.viewer-scope { border: 1px solid var(--border); border-radius: 8px; max-height: 170px; overflow: auto; padding: 6px 10px 9px; }
.viewer-scope legend { color: #58466e; font-size: 12px; font-weight: 650; }
.viewer-scope label { display: flex; align-items: center; gap: 7px; padding: 4px 0; }
.viewer-scope input { accent-color: var(--purple); width: 16px; height: 16px; flex: none; }
.help-keys { width: 100%; border-collapse: collapse; }
.help-keys th, .help-keys td { text-align: left; padding: 7px 5px; border-bottom: 1px solid var(--border); }
.help-keys kbd { font-family: inherit; background: #f2ebfa; padding: 2px 5px; border-radius: 4px; }
.mobile-tree { display: none; }
@media (min-width: 1380px) {
  .body { grid-template-columns: 227px minmax(0, 1fr) 354px; }
  .body.inspector-closed { grid-template-columns: 227px minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(auto-fill,minmax(208px,1fr)); }
  .overview { margin-left: 26px; margin-right: 26px; }
  .toolbar { margin-left: 26px; margin-right: 26px; }
  .contents { padding-left: 26px; padding-right: 26px; }
}
@media (max-width: 960px) {
  .body { grid-template-columns: 172px minmax(0, 1fr) 292px; }
  .body.inspector-closed { grid-template-columns: 172px minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(auto-fill,minmax(min(100%, 160px),1fr)); gap: 10px; }
  .overview { margin: 12px 12px 8px; padding: 10px; gap: 8px; }
  .overview h1 { font-size: 19px; }
  .overview-icon { width: 40px; height: 40px; border-radius: 9px; }
  .overview-icon .icon { width: 21px; height: 21px; }
  .toolbar { margin-inline: 12px; }
  .contents { padding-inline: 12px; }
}
@media (max-width: 740px) {
  .topbar { height: 55px; padding: 0 11px; }
  .wordmark strong { font-size: 16px; }
  .brand-icon { width: 31px; height: 31px; border-radius: 8px; }
  .top-actions { gap: 8px; }
  .address-bar { padding: 0 8px; gap: 5px; height: 45px; }
  .search { width: 112px; }
  .breadcrumbs { padding: 0 3px; }
  .nav-controls .icon-button { width: 23px; }
  .body, .body.inspector-closed { grid-template-columns: minmax(0,1fr); height: calc(100dvh - 131px); }
  .sidebar { display: none; }
  .body.tree-open .sidebar { display: flex; position: fixed; left: 0; top: 100px; bottom: 31px; z-index: 4; width: 215px; box-shadow: 5px 0 24px #23193632; }
  .mobile-tree { display: inline-flex; }
  .inspector { position: fixed; top: 100px; bottom: 31px; right: 0; z-index: 3; width: min(360px,100vw); box-shadow: -8px 0 29px #25183a26; }
  .inspector:not(.mobile-visible) { display: none; }
  .overview { min-height: 70px; }
  .statusbar .shortcuts-label { display: none; }
}
@media (max-width: 390px) {
  .topbar .host-status { display: none; }
  .toolbar .optional-label > span { display: none; }
  .overview .button { padding: 5px 7px; }
  .share-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .topbar .host-status { display: none; }
  .access-card { padding: 23px; }
}
