.top-title b { font-size: 18px; } .top-title span { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; } .top-actions { display: flex; align-items: center; gap: 8px; } .btn { border: 1px solid var(--line); background: var(--surface); min-height: 40px; padding: 8px 13px; border-radius: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; } .btn:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 2px 8px rgba(0,0,0,.05); } .btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); } .btn.ghost { background: transparent; } .btn.small { min-height: 34px; padding: 6px 10px; font-size: 13px; } .btn:disabled { opacity: .48; cursor: not-allowed; } .content { padding: 28px; max-width: 1440px; margin: auto; } .view { display: none; } .view.active { display: block; } .page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; } .page-head h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.025em; margin: 0; } .page-head p { margin: 7px 0 0; color: var(--text); max-width: 68ch; } .status-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; margin-bottom: 24px; } .service { padding: 17px 19px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 12px; } .service:last-child { border-right: 0; } .service strong { display: block; } .service small { color: var(--muted); } .machine-panel { margin-bottom: 20px; } .frp-panel { margin-bottom: 20px; overflow: hidden; } .frp-panel .panel-head > div small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; } .frp-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); } .frp-metric { min-width: 0; padding: 15px 18px; border-right: 1px solid var(--line); } .frp-metric:last-child { border-right: 0; } .frp-metric b { display: block; font-size: 22px; line-height: 1.05; letter-spacing: -.025em; } .frp-metric span, .frp-metric small { display: block; } .frp-metric span { margin-top: 4px; font-size: 11px; font-weight: 650; } .frp-metric small { margin-top: 2px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .frp-clients { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); } .frp-client { min-width: 0; padding: 20px; } .frp-client + .frp-client { border-left: 1px solid var(--line); } .frp-client-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; } .frp-client-head h3 { margin: 8px 0 2px; font-size: 18px; } .frp-client-head p { margin: 0; color: var(--text); font-size: 11px; } .frp-client-head > code { flex: 0 0 auto; color: var(--muted); font-size: 10px; } .frp-client-meta { margin: 12px 0; padding: 10px 12px; border-radius: 9px; background: var(--surface2); color: var(--muted); font: 10px/1.6 "SFMono-Regular",monospace; overflow-wrap: anywhere; } .frp-route-list { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } .frp-route-list.compact { margin-top: 12px; } .frp-route { min-width: 0; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(120px,.7fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line); } .frp-route:last-child { border-bottom: 0; } .frp-route b, .frp-route small { display: block; } .frp-route b { font-size: 11px; overflow-wrap: anywhere; } .frp-route small { margin-top: 2px; color: var(--muted); font-size: 10px; } .frp-route code { color: var(--text); font-size: 10px; overflow-wrap: anywhere; } .frp-chips { display: flex; flex-wrap: wrap; gap: 5px; } .frp-chip { display: inline-flex; padding: 3px 6px; border-radius: 999px; background: var(--info-soft); color: var(--info); font: 600 9px/1.3 "SFMono-Regular",monospace; } .frp-chip.strong { padding: 5px 8px; background: var(--accent-soft); color: var(--accent); } .frp-domain-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; } .frp-domain-summary b { font-size: 15px; } .frp-domain-summary span { color: var(--muted); font-size: 11px; } .frp-details { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } .frp-details summary { padding: 11px 12px; background: var(--surface2); font-size: 11px; font-weight: 650; cursor: pointer; } .frp-details[open] summary { border-bottom: 1px solid var(--line); } .frp-domain-group, .frp-highlights { padding: 12px; border-bottom: 1px solid var(--line); } .frp-domain-group:last-child, .frp-highlights:last-child { border-bottom: 0; } .frp-domain-group > b { display: block; margin-bottom: 7px; font-size: 11px; } .frp-domain-group > div { display: flex; flex-wrap: wrap; gap: 5px; } .frp-domain-group small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; } .frp-domain { max-width: 100%; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); font: 9px/1.35 "SFMono-Regular",monospace; overflow-wrap: anywhere; } .frp-highlights p, .frp-client-notes p { margin: 0; padding: 6px 0; color: var(--text); font-size: 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; } .frp-highlights p:last-child, .frp-client-notes p:last-child { border-bottom: 0; } .frp-client-notes { margin-top: 12px; } .frp-note { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--warn-soft); color: var(--warn); font-size: 10px; } .frp-note code { color: inherit; font-size: 9px; } .load-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); } .load-item { min-width: 0; padding: 15px 17px 16px; border-right: 1px solid var(--line); } .load-item:last-child { border-right: 0; } .load-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; } .load-label { color: var(--muted); font-size: 12px; } .load-value { font-size: 19px; line-height: 1; letter-spacing: -.02em; } .load-item small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .load-meter { height: 4px; margin-top: 11px; overflow: hidden; border-radius: 999px; background: var(--surface2); } .load-meter i { display: block; height: 100%; width: var(--meter,0%); border-radius: inherit; background: var(--ok); transition: width .2s var(--ease); } .load-item.warn .load-meter i { background: var(--warn); } .load-item.hot .load-meter i { background: var(--bad); } .metric-skeleton { min-height: 96px; background: linear-gradient(100deg,var(--surface2) 20%,color-mix(in srgb,var(--surface) 82%,var(--surface2)) 40%,var(--surface2) 60%); background-size: 220% 100%; animation: mediaShimmer 1.2s linear infinite; } .quick-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; } .home-side { display: grid; gap: 20px; align-content: start; } .generation-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); } .generation-stat { padding: 15px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .generation-stat:nth-child(2n) { border-right: 0; } .generation-stat:nth-last-child(-n+2) { border-bottom: 0; } .generation-stat b { display: block; font-size: 23px; line-height: 1.1; letter-spacing: -.025em; } .generation-stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; } .generation-meta { min-height: 38px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; } .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); } .panel-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; } .panel-head h2 { font-size: 16px; margin: 0; } .panel-head span { font-size: 12px; color: var(--muted); } .task-list { display: grid; } .task { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 17px 20px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; text-align: left; } .task:last-child { border-bottom: 0; } .task:hover { background: var(--surface2); } .task-key { width: 34px; height: 34px; border-radius: 10px; background: var(--surface2); display: grid; place-items: center; color: var(--accent); font: 700 13px/1 monospace; } .task b { display: block; } .task small { color: var(--muted); display: block; margin-top: 2px; } .arrow { color: var(--muted); } .recent { padding: 6px 18px 14px; } .recent-media { padding: 7px 10px 10px; } .recent-card { width: 100%; min-width: 0; padding: 9px; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 78px minmax(0,1fr) auto; gap: 11px; align-items: center; text-align: left; border-radius: 9px; } .recent-card:last-child { border-bottom: 0; } .recent-card:hover { background: var(--surface2); } .recent-card:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: -3px; } .recent-thumb { width: 78px; aspect-ratio: 4/3; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface2); } .recent-thumb.video { aspect-ratio: 16/9; background: #111; } .recent-thumb img, .recent-thumb video { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; } .recent-thumb video { object-fit: contain; background: #111; } .recent-media-kind { position: absolute; left: 5px; bottom: 5px; padding: 2px 5px; border-radius: 5px; background: rgba(17,18,16,.78); color: #fff; font: 650 9px/1.4 monospace; text-transform: uppercase; } .recent-copy { min-width: 0; } .recent-copy b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; line-height: 1.35; } .recent-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .recent-arrow { color: var(--muted); font-size: 18px; } .history-focus { animation: historyFocus 1.4s var(--ease); } @keyframes historyFocus { 0%,100% { background: transparent; } 35% { background: var(--accent-soft); } } .kind { font: 600 11px monospace; text-transform: uppercase; color: var(--info); } .empty { padding: 36px 20px; text-align: center; color: var(--muted); } .workbench { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 20px; } .form-panel { padding: 22px; } .field { display: grid; gap: 7px; margin-bottom: 17px; } .field label { font-weight: 650; font-size: 13px; } .field .hint, .hint { font-size: 12px; color: var(--muted); } .model-profile { margin: -4px 0 18px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface2); } .model-profile b { display: block; font-size: 13px; margin-bottom: 3px; } .model-profile span { color: var(--text); font-size: 12px; } input, textarea, select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 11px 12px; outline: none; } textarea { resize: vertical; min-height: 112px; } input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .row { display: flex; gap: 10px; align-items: center; } .row > * { min-width: 0; } .row .grow { flex: 1; } .result { margin-top: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface2); min-height: 90px; white-space: pre-wrap; overflow-wrap: anywhere; } .result.loading { color: var(--muted); } .context-history { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); } .context-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .context-head h3 { margin: 0; font-size: 14px; } .context-head span { color: var(--muted); font-size: 12px; } .context-list { display: grid; } .context-row { display: grid; grid-template-columns: 70px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); } .context-row:last-child { border-bottom: 0; } .context-row b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .context-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; } .context-row.media-history { grid-template-columns: 176px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px 0; } .history-copy { min-width: 0; } .history-copy .kind { display: block; margin-bottom: 4px; } .history-media { width: 176px; aspect-ratio: 16/10; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 11px; background: var(--surface2); } .history-media.video { aspect-ratio: 16/9; background: #111; } .history-media button, .history-media img, .history-media video { width: 100%; height: 100%; display: block; } .history-media img { object-fit: cover; } .history-media video { object-fit: contain; background: #111; } .media-preview-button, .media-placeholder { border: 0; padding: 0; position: relative; overflow: hidden; background: var(--surface2); color: var(--text); } .media-preview-button img { transition: transform .2s var(--ease), filter .2s var(--ease); } .media-preview-button:hover img { transform: scale(1.025); filter: brightness(.92); } .media-preview-label { position: absolute; left: 8px; right: 8px; bottom: 8px; min-height: 30px; display: grid; place-items: center; padding: 5px 8px; border-radius: 7px; background: rgba(17,18,16,.78); color: #fff; font-size: 11px; font-weight: 650; opacity: 0; transform: translateY(4px); transition: .18s var(--ease); } .media-preview-button:hover .media-preview-label, .media-preview-button:focus-visible .media-preview-label { opacity: 1; transform: none; } .media-preview-button:focus-visible, .media-placeholder:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; } .media-placeholder { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; font-size: 12px; font-weight: 650; } .media-placeholder:hover { background: color-mix(in srgb,var(--surface2) 75%,var(--accent-soft)); color: var(--accent); } .media-placeholder:disabled { cursor: wait; } .media-play { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.2); } .media-play::after { content: ""; width: 0; height: 0; margin-left: 2px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid #171815; } .media-skeleton { position: absolute; inset: 0; background: linear-gradient(100deg,var(--surface2) 20%,color-mix(in srgb,var(--surface) 80%,var(--surface2)) 40%,var(--surface2) 60%); background-size: 220% 100%; animation: mediaShimmer 1.2s linear infinite; } .media-placeholder-copy { position: relative; z-index: 1; padding: 5px 8px; border-radius: 7px; background: color-mix(in srgb,var(--surface) 88%,transparent); font-size: 11px; } .media-error { color: var(--bad); background: var(--bad-soft); padding: 10px; } @keyframes mediaShimmer { to { background-position-x: -220%; } } .inspector { padding: 20px; align-self: start; position: sticky; top: 92px; } .inspector h3 { font-size: 14px; margin: 0 0 14px; } .meta { display: grid; grid-template-columns: 88px 1fr; gap: 9px; font-size: 12px; margin-bottom: 16px; } .meta dt { color: var(--muted); } .meta dd { margin: 0; overflow-wrap: anywhere; } .code { background: #171a17; color: #d8ded4; border-radius: 10px; padding: 13px; font: 12px/1.6 "SFMono-Regular", monospace; overflow: auto; white-space: pre-wrap; position: relative; } .copy { position: absolute; right: 6px; top: 6px; border: 0; border-radius: 6px; background: #2b302a; color: #d8ded4; padding: 4px 7px; font-size: 10px; } .tabs { display: flex; gap: 4px; background: var(--surface2); padding: 4px; border-radius: 10px; width: max-content; margin-bottom: 18px; } .tabs button { border: 0; background: transparent; padding: 8px 13px; border-radius: 7px; } .tabs button.active { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-weight: 650; } .model-toolbar { display: flex; gap: 10px; margin-bottom: 14px; } .model-toolbar input { max-width: 360px; } .model-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); } .model-header, .model-item { display: grid; grid-template-columns: minmax(240px,1.6fr) 110px 110px 130px 110px; gap: 12px; align-items: center; padding: 12px 16px; } .model-header { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; background: var(--surface2); } .model-item { border-top: 1px solid var(--line); } .model-item:hover { background: color-mix(in srgb,var(--surface2) 60%,transparent); } .model-name b { display: block; } .model-name small { color: var(--muted); font-family: monospace; } .badge { display: inline-flex; width: max-content; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 650; background: var(--surface2); color: var(--text); } .badge.ok { background: var(--ok-soft); color: var(--ok); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.info { background: var(--info-soft); color: var(--info); } .history-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); } .history-head, .history-item { display: grid; grid-template-columns: 140px 90px 1fr 110px 100px; gap: 12px; padding: 12px 16px; align-items: center; } .history-head { background: var(--surface2); color: var(--muted); font-size: 11px; text-transform: uppercase; } .history-item { border-top: 1px solid var(--line); font-size: 13px; } .history-item:hover { background: var(--surface2); } .api-list { display: grid; gap: 10px; } .api-row { display: grid; grid-template-columns: 72px 250px 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); align-items: center; } .method { font: 700 11px monospace; color: var(--info); } .job { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface2); } .progress { height: 5px; background: var(--line); border-radius: 10px; overflow: hidden; margin-top: 10px; } .progress i { display: block; height: 100%; width: 45%; background: var(--accent); animation: indeterminate 1.2s infinite var(--ease); } @keyframes indeterminate { from { transform: translateX(-100%); } to { transform: translateX(240%); } } .media-result { margin-top: 14px; } .media-result .media-preview-button { width: 100%; height: auto; display: block; border-radius: 12px; } .media-result img, .media-result video { width: 100%; max-width: 100%; display: block; border-radius: 12px; background: #111; } .media-result video { max-height: 560px; } .media-result + .btn { margin-top: 10px; } .toast { position: fixed; right: 22px; bottom: 22px; background: var(--ink); color: var(--bg); padding: 11px 15px; border-radius: 10px; transform: translateY(20px); opacity: 0; transition: .2s var(--ease); z-index: 30; } .toast.show { transform: none; opacity: 1; } dialog { border: 0; padding: 0; border-radius: 16px; background: var(--surface); color: var(--ink); width: min(440px,calc(100vw - 32px)); box-shadow: 0 24px 80px rgba(0,0,0,.25); } dialog::backdrop { background: rgba(12,14,12,.55); backdrop-filter: blur(4px); } .login { padding: 26px; } .login h2 { margin: 0 0 7px; font-size: 22px; } .login p { color: var(--text); margin: 0 0 20px; } .login .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; } .media-dialog { width: min(1040px,calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; border-radius: 14px; } .media-viewer { display: grid; grid-template-rows: auto minmax(0,1fr); max-height: calc(100vh - 32px); } .media-viewer-head { min-height: 64px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; } .media-viewer-head > div:first-child { min-width: 0; } .media-viewer-head b { display: block; max-width: 70ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .media-viewer-head span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .media-viewer-actions { display: flex; gap: 8px; flex: 0 0 auto; } .media-viewer-stage { min-height: 280px; max-height: calc(100vh - 98px); display: grid; place-items: center; overflow: auto; background: #111; } .media-viewer-stage img { display: block; max-width: 100%; max-height: calc(100vh - 98px); object-fit: contain; } #mediaOpenOriginal:not([href]) { display: none; } .mobile-menu { display: none; } html, body { max-width: 100%; overflow-x: hidden; } body.modal-open { overflow: hidden; } .main, .content, .view, .panel, .status-strip, .quick-grid, .workbench { min-width: 0; max-width: 100%; } @media (max-width:980px) { .shell { grid-template-columns: 1fr; } .sidebar { position: fixed; left: 0; top: 0; z-index: 20; width: 260px; transform: translateX(-102%); transition: .2s var(--ease); box-shadow: var(--shadow); } .sidebar.open { transform: none; } .mobile-menu { display: inline-flex; } .workbench, .quick-grid { grid-template-columns: 1fr; } .home-side { grid-template-columns: repeat(2,minmax(0,1fr)); } .load-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .frp-clients { grid-template-columns: 1fr; } .frp-client + .frp-client { border-left: 0; border-top: 1px solid var(--line); } .frp-note { grid-template-columns: 1fr; gap: 4px; } .load-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .load-item:nth-child(2n) { border-right: 0; } .load-item:nth-last-child(-n+2) { border-bottom: 0; } .inspector { position: static; } .status-strip { grid-template-columns: 1fr; } .service { border-right: 0; border-bottom: 1px solid var(--line); } .service:last-child { border-bottom: 0; } .model-header { display: none; } .model-item { grid-template-columns: 1fr 90px; } .model-item > *:nth-child(3), .model-item > *:nth-child(4) { display: none; } .history-head { display: none; } .history-item { grid-template-columns: 110px 70px 1fr; } .history-item > *:nth-child(4), .history-item > *:nth-child(5) { display: none; } .api-row { grid-template-columns: 60px 1fr; } .api-row > *:last-child { grid-column: 1/-1; } .content { padding: 20px; } .topbar { padding: 0 18px; } } @media (max-width:620px) { .topbar { gap: 8px; } .topbar > .top-actions:first-child { flex: 1 1 auto; min-width: 0; } .topbar > .top-actions:last-child { flex: 0 0 auto; } .top-title { min-width: 0; overflow: hidden; } .top-title b, .top-title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #themeBtn { display: none; } #loginBtn { min-width: 50px; padding-inline: 10px; } #loginBtn .user-label { display: none; } #loginBtn::after { content: "密钥"; font-size: 13px; } .btn { min-height: 44px; } .status-strip { grid-template-columns: repeat(3,minmax(0,1fr)); } .service { min-width: 0; padding: 12px 10px; border-right: 1px solid var(--line); border-bottom: 0; gap: 8px; } .service:last-child { border-right: 0; } .service strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .service small { font-size: 10px; white-space: nowrap; } .home-side { grid-template-columns: 1fr; } .load-item { padding: 13px 14px 14px; } .frp-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .frp-metric { border-bottom: 1px solid var(--line); } .frp-metric:nth-child(2n) { border-right: 0; } .frp-metric:nth-last-child(-n+2) { border-bottom: 0; } .frp-client { padding: 15px; } .frp-client-head { display: grid; } .frp-route { grid-template-columns: minmax(0,1fr); gap: 5px; } .frp-route .frp-chips { margin-top: 2px; } .load-value { font-size: 18px; } .generation-stat { padding: 14px 15px; } .recent-card { grid-template-columns: 72px minmax(0,1fr) auto; padding: 9px 4px; } .recent-thumb { width: 72px; } .page-head { align-items: start; flex-direction: column; } .row { align-items: stretch; flex-direction: column; } .model-toolbar { flex-direction: column; } .model-toolbar input { max-width: none; } .content { padding: 16px; } .topbar { height: 60px; } .task { grid-template-columns: 34px 1fr; } .task .arrow { display: none; } .panel-head > span { display: none; } .context-head { align-items: flex-start; } .context-row { grid-template-columns: 56px minmax(0,1fr) auto; } .context-row.media-history { grid-template-columns: 1fr; gap: 10px; align-items: start; } .history-media { width: 100%; aspect-ratio: 16/9; } .history-media.image { aspect-ratio: 4/3; max-height: 240px; } .context-row.media-history > .badge { justify-self: start; } .media-preview-label { opacity: 1; transform: none; } .media-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); } .media-viewer { max-height: calc(100vh - 16px); } .media-viewer-head { min-height: 0; padding: 10px; align-items: flex-start; } .media-viewer-head span { max-width: 48vw; } .media-viewer-actions { gap: 6px; } .media-viewer-stage { max-height: calc(100vh - 86px); min-height: 220px; } .media-viewer-stage img { max-height: calc(100vh - 86px); } } @media (prefers-reduced-motion:reduce) { * { animation: none !important; transition: none !important; } }