#diagnostic-model-search { max-width: 260px; } #account-form { max-width: 660px; } :root { color-scheme: light; --paper: #f2efe5; --paper2: #e8e2d4; --ink: #17231f; --muted: #68716c; --forest: #153c34; --forest2: #204d43; --orange: #ed5a2a; --yellow: #e7b94f; --line: #c9c3b5; --white: #fffdf7; --bad: #b6382f; --ok: #237056; --shadow: 0 12px 35px #17231f16; } .quota-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0; } .quota-card { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); } .quota-card h3 { margin: 0 0 12px; font-size: 14px; color: var(--muted); } .quota-card .quota-value { font-size: 36px; font-weight: 750; letter-spacing: -1px; } .quota-card progress { width: 100%; height: 9px; accent-color: var(--forest); margin: 14px 0 8px; } .quota-card.quota-low progress { accent-color: var(--orange); } .quota-card .quota-reset { font-size: 12px; color: var(--muted); } .quota-status { padding: 10px 14px; background: var(--paper2); border-radius: 6px; } .key-actions { display: flex; gap: 6px; flex-wrap: wrap; } .key-actions button { padding: 5px 9px; font-size: 12px; } .key-env { white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; background: var(--forest); color: var(--white); border-radius: 6px; } #quota-model-search { max-width: 250px; } #quota-account { max-width: 360px; } #api-key-created { border-color: var(--ok); } @media (max-width: 760px) { .quota-grid { grid-template-columns: 1fr; } } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; } button, input, textarea, select { font: inherit; } button { cursor: pointer; } .hidden { display: none !important; } .mono, code, pre, .eyebrow, .nav-no, .metric, .table th, .log { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; } .login { min-height: 100vh; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(360px, 520px); background: var(--forest); } .login-intro { padding: 9vw 7vw; color: #f8f2e4; display: flex; flex-direction: column; justify-content: space-between; background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px); background-size: 36px 36px; } .manual-mark { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.03em; } .manual-mark i { display: grid; place-items: center; width: 38px; height: 38px; background: var(--orange); color: white; font: normal 900 17px ui-monospace, monospace; } .login-intro h1 { font: 500 clamp(42px, 7vw, 84px)/0.95 Georgia, serif; letter-spacing: -0.055em; margin: 60px 0 18px; max-width: 700px; } .login-intro p { max-width: 560px; color: #d4ddd8; font-size: 16px; } .login-panel { background: var(--paper); display: grid; place-items: center; padding: 32px; } .login-card { width: min(390px, 100%); } .login-card h2 { font: 500 34px/1.1 Georgia, serif; margin: 10px 0; } .login-card .rule { height: 4px; width: 54px; background: var(--orange); margin: 20px 0 28px; } .layout { display: grid; grid-template-columns: 274px minmax(0, 1fr); min-height: 100vh; } .sidebar { position: sticky; top: 0; height: 100vh; color: #f8f2e4; background: var(--forest); display: flex; flex-direction: column; padding: 24px 18px 20px; border-right: 6px solid var(--orange); overflow-y: auto; } .sidebar-head { padding: 4px 10px 25px; border-bottom: 1px solid #ffffff24; } .sidebar-kicker { font: 11px ui-monospace, monospace; color: #9fb7ae; text-transform: uppercase; letter-spacing: 0.18em; } .sidebar-title { font: 500 25px Georgia, serif; margin-top: 5px; } .nav { display: grid; margin-top: 18px; gap: 3px; } .nav button { display: grid; grid-template-columns: 30px 1fr; align-items: center; border: 0; background: transparent; color: #b9cbc4; text-align: left; padding: 10px 11px; border-left: 3px solid transparent; } .nav button:hover, .nav button.active { color: white; background: #ffffff0c; border-left-color: var(--orange); } .nav-no { font-size: 10px; color: #76958a; } .nav button.active .nav-no { color: #ff926e; } .sidebar-foot { margin-top: auto; padding: 18px 10px 0; border-top: 1px solid #ffffff24; color: #9fb7ae; font-size: 12px; } .live-line { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; } .live-dot { width: 8px; height: 8px; background: #5dd6a6; border-radius: 50%; box-shadow: 0 0 0 4px #5dd6a619; } .main { min-width: 0; padding: 30px clamp(20px, 4vw, 56px) 72px; } .topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; } .eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.19em; color: var(--orange); font-weight: 800; } .topbar h1 { font: 500 clamp(30px, 4vw, 48px)/1 Georgia, serif; margin: 7px 0; } .subtitle { color: var(--muted); max-width: 680px; } .toolbar { display: flex; gap: 8px; align-items: center; } .primary, .ghost, .danger, .copy { border: 1px solid var(--ink); padding: 9px 14px; font-weight: 750; background: transparent; color: var(--ink); } .primary { background: var(--ink); color: var(--white); } .primary:hover { background: var(--orange); border-color: var(--orange); } .ghost:hover, .copy:hover { background: var(--paper2); } .danger { color: var(--bad); border-color: var(--bad); } .wide { width: 100%; } .notice { border-left: 5px solid var(--yellow); background: #f8eac4; padding: 12px 15px; margin: -8px 0 20px; } .metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); } .metric-card { background: var(--white); padding: 21px; min-height: 132px; } .label { font: 700 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); } .metric { font-size: 31px; font-weight: 800; margin-top: 19px; letter-spacing: -0.06em; } .metric-note { color: var(--muted); font-size: 11px; margin-top: 4px; } .section { background: var(--white); border: 1px solid var(--line); padding: 22px; margin-top: 18px; box-shadow: var(--shadow); } .section-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 16px; } .section h2, .section h3 { font: 600 20px/1.2 Georgia, serif; margin: 0; } .section-caption { color: var(--muted); font-size: 12px; } .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .table-wrap { overflow: auto; } .table { width: 100%; border-collapse: collapse; } .table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #ded9cd; vertical-align: top; } .table th { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } .table tr:last-child td { border-bottom: 0; } .status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; } .status:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; } .ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: #9b6810; } .guide { counter-reset: steps; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); } .guide-step { counter-increment: steps; background: var(--white); padding: 22px; min-height: 150px; position: relative; } .guide-step:before { content: "0" counter(steps); font: 800 11px ui-monospace, monospace; color: var(--orange); letter-spacing: 0.12em; } .guide-step h3 { font: 600 18px Georgia, serif; margin: 14px 0 7px; } .guide-step p { color: var(--muted); margin: 0 0 14px; } .step-state { font: 700 11px ui-monospace, monospace; text-transform: uppercase; } .access-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; } .toc { position: sticky; top: 20px; align-self: start; border-top: 4px solid var(--ink); padding-top: 10px; } .toc button { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 9px 4px; text-align: left; color: var(--muted); } .toc button:hover { color: var(--orange); } .code-card { margin: 14px 0; border: 1px solid var(--line); background: #17231f; color: #dce6df; } .code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid #ffffff1f; color: #a9bcb4; font: 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.11em; } .code-card pre { margin: 0; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: #edf3ef; } .copy { color: #e8efe9; border-color: #788d84; padding: 5px 9px; font-size: 10px; } .field { display: grid; gap: 6px; margin: 13px 0; } .field label { font: 700 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.1em; color: #56635e; } .input, input, textarea, select { width: 100%; border: 1px solid #a9a397; background: #fffef9; color: var(--ink); padding: 10px 11px; border-radius: 0; outline: none; } .input:focus, input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 2px #ed5a2a20; } textarea { resize: vertical; min-height: 92px; } .check-label { display: flex !important; align-items: center; gap: 9px; text-transform: none !important; letter-spacing: 0 !important; font-family: inherit !important; } .check-label input { width: auto; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; } .full { grid-column: 1/-1; } .chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; } .chip { display: flex; align-items: center; gap: 8px; background: var(--paper2); border: 1px solid var(--line); padding: 5px 7px; font: 11px ui-monospace, monospace; } .chip button { border: 0; background: transparent; color: var(--bad); font-weight: 900; padding: 0; } .actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; } .filters { display: grid; grid-template-columns: 140px 160px minmax(180px, 1fr) auto; gap: 8px; margin-bottom: 11px; } .logs { height: 62vh; overflow: auto; background: #13201c; color: #d7e2dc; border: 1px solid #13201c; } .log { display: grid; grid-template-columns: 86px 55px 105px minmax(170px, 1fr); gap: 10px; padding: 8px 10px; border-bottom: 1px solid #ffffff12; font-size: 11px; } .log:hover { background: #ffffff08; } .log-time, .log-component, .log-fields { color: #89a097; } .log-fields { grid-column: 4; white-space: pre-wrap; overflow-wrap: anywhere; } .empty { color: var(--muted); padding: 14px 8px; } .error { color: var(--bad); min-height: 22px; } .modal { position: fixed; inset: 0; background: #17231fcc; display: grid; place-items: center; padding: 20px; z-index: 10; } .modal-card { width: min(720px, 100%); max-height: 82vh; overflow: auto; background: var(--paper); border-top: 7px solid var(--orange); padding: 24px; box-shadow: 0 30px 80px #0007; } .modal-card pre { white-space: pre-wrap; overflow-wrap: anywhere; } .toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; background: var(--forest); color: white; border-left: 5px solid #5dd6a6; padding: 12px 16px; box-shadow: var(--shadow); } .toast.bad-toast { border-left-color: #ff7062; } .tiny { font-size: 11px; color: var(--muted); } .trend-chart { height: 230px; display: flex; align-items: flex-end; gap: 3px; padding: 18px 4px 0; border-bottom: 1px solid var(--line); overflow: hidden; } .trend-bar { flex: 1; min-width: 2px; background: var(--forest2); border-top: 3px solid var(--orange); position: relative; } .trend-bar:hover { background: var(--orange); } .tier-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 90px; align-items: center; gap: 10px; margin: 14px 0; } .tier-track { height: 12px; background: var(--paper2); } .tier-fill { height: 100%; background: var(--orange); } .play-grid { display: grid; grid-template-columns: minmax(360px, 0.9fr) minmax(400px, 1.1fr); gap: 18px; } .json-editor { min-height: 430px; background: #17231f; color: #e7efe9; border-color: #17231f; font: 12px/1.55 ui-monospace, monospace; } .fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); } .fact { background: var(--white); padding: 12px; } .fact dt { font: 700 9px ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); } .fact dd { margin: 5px 0 0; overflow-wrap: anywhere; } .pill { display: inline-block; padding: 2px 6px; border: 1px solid currentColor; font: 10px ui-monospace, monospace; } .cost { font: 11px ui-monospace, monospace; white-space: nowrap; } @media (max-width: 1100px) { .play-grid { grid-template-columns: 1fr; } } @media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); } .sidebar { position: relative; height: auto; border-right: 0; border-bottom: 5px solid var(--orange); padding: 15px; } .sidebar-head { display: flex; align-items: end; justify-content: space-between; padding: 0 5px 12px; } .nav { display: flex; overflow: auto; margin-top: 10px; } .nav button { min-width: max-content; grid-template-columns: 24px 1fr; } .sidebar-foot { display: none; } .main { padding-top: 22px; } .metric-grid { grid-template-columns: repeat(2, 1fr); } .login { grid-template-columns: 1fr; } .login-intro { display: none; } } @media (max-width: 680px) { .topbar { flex-direction: column; } .metric-grid, .split, .guide, .form-grid, .fact-grid { grid-template-columns: 1fr; } .full { grid-column: auto; } .access-grid { grid-template-columns: 1fr; } .toc { position: static; } .filters { grid-template-columns: 1fr 1fr; } .log { grid-template-columns: 72px 48px minmax(0, 1fr); } .log-component { display: none; } .log-fields { grid-column: 1/-1; } .toolbar { width: 100%; justify-content: space-between; } .play-grid { display: block; } .json-editor { min-height: 320px; } .section-head { flex-direction: column; } } .rotation-actions { min-width: 215px; white-space: nowrap; } .rotation-actions button { margin: 3px; } .rotation-switches { margin-top: 22px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; } #rotation-groups .field { max-width: 360px; } #rotation-attempts td { max-width: 270px; overflow-wrap: anywhere; }