/* SPDX-License-Identifier: Apache-2.0 */ /* The DataBounty console's look, for the Space. Tokens are the console's own (apps/web/app/globals.css): ink on paper, white cards, lime accent, a dark sidebar. */ :root { --ink: #14170f; --ink-soft: #6b7360; --paper: #f3f4f0; --panel: #f7f8f4; --line: #e4e6df; --line-soft: #eef0e8; --line-strong: #868d80; --lime: #a3f60a; --lime-ink: #4f7a00; --dark: #0a0c0a; --dark-line: #1c2a19; --dark-line-soft: #2a3a26; --dark-text: #eef2ec; --dark-muted: #a4ad9c; --dark-soft: #8a9382; --dark-track: #152012; --dark-nav-hover: #12160f; --nav-active: #1a2810; --karma: #7c5cc4; --karma-soft: #f0ebfa; --karma-border: #e2d8f6; --accent-strong: #5f7a1e; --accent-strong-hover: #4d6418; --accent-soft: #f2f7e4; --accent-soft-border: #d5deba; --success: #1f8a5b; --success-soft: #e6f5ec; --success-border: #bfe6cd; --danger: #c2334d; --danger-soft: #fbe7ea; --danger-border: #f2c4cd; --warn: #8a6412; --warn-soft: #fbf6e9; --warn-border: #eadbb5; --info: #2f5f96; --info-soft: #eef4fb; --info-border: #d4e3f5; --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; } * { box-sizing: border-box; } html, body { margin: 0; } body { background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 1.5; font-feature-settings: "tnum" 1; -webkit-font-smoothing: antialiased; } a { color: inherit; } a.plain { text-decoration: none; } a.plain:hover { text-decoration: underline; text-underline-offset: 3px; } a.pill.plain:hover { text-decoration: none; border-color: var(--karma); } button, input, select, textarea { font: inherit; color: inherit; } ::selection { background: var(--lime); color: var(--dark); } [hidden] { display: none !important; } .i { width: 15px; height: 15px; flex: none; vertical-align: -2px; } /* --- Shell ----------------------------------------------------------------------------------- */ .shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; } .sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--dark); color: var(--dark-text); border-right: 1px solid var(--dark-line); } .brand { display: flex; align-items: center; gap: 9px; padding: 20px 20px 19px; border-bottom: 1px solid var(--dark-line); text-decoration: none; } .brand img { width: 22px; height: 22px; } .brand span { font-family: var(--font-mono); font-weight: 700; font-size: 17px; letter-spacing: -0.03em; color: #fff; } .brand span b { color: var(--lime); font-weight: 700; } .nav { display: grid; gap: 3px; padding: 16px 12px; } .nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--dark-muted); text-decoration: none; transition: background .12s, color .12s; } .nav a:hover { background: var(--dark-nav-hover); color: var(--dark-text); } .nav a.active { background: var(--nav-active); color: var(--lime); } .nav .badge { margin-left: auto; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: var(--dark); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; } .side-bottom { margin-top: auto; padding: 12px; border-top: 1px solid var(--dark-line); display: grid; gap: 8px; } .side-karma { border: 1px solid var(--dark-line-soft); border-radius: 10px; padding: 11px 13px; background: #0c100b; } .side-karma .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .micro-dark { font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--dark-soft); } .side-karma .pts { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: #fff; } .side-karma .to { font-family: var(--font-mono); font-size: 11px; color: var(--dark-soft); } .chip-dark { font-family: var(--font-mono); font-size: 10px; padding: 1px 7px; border-radius: 999px; background: #1f2a17; color: var(--dark-muted); } .bar-dark { height: 3px; margin-top: 9px; border-radius: 999px; background: var(--dark-track); overflow: hidden; } .bar-dark span { display: block; height: 100%; background: var(--lime); } .user-chip { display: flex; align-items: center; gap: 10px; padding: 6px 4px; } .avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #161b13; border: 1px solid var(--dark-line-soft); font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: #fff; } .user-chip .who { min-width: 0; } .user-chip b { display: block; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: #fff; } .user-chip span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--dark-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .side-link { border: 0; background: none; padding: 4px; color: var(--dark-soft); font-family: var(--font-mono); font-size: 11.5px; text-align: left; cursor: pointer; } .side-link:hover { color: var(--lime); } .side-signin { display: grid; gap: 8px; padding: 4px; } .side-signin p { margin: 0; font-size: 12px; color: var(--dark-soft); line-height: 1.45; } .top-action { display: none; } .main { min-width: 0; } .page { max-width: 1120px; padding: 34px 40px 72px; animation: fade .18s ease-out; } @keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } @media (prefers-reduced-motion: reduce) { .page { animation: none; } } /* --- Type ------------------------------------------------------------------------------------- */ .page-head { margin-bottom: 22px; } h1.title { margin: 0 0 6px; font-family: var(--font-mono); font-weight: 600; font-size: 23px; letter-spacing: -0.02em; overflow-wrap: anywhere; } .sub { margin: 0; color: var(--ink-soft); font-size: 14px; } h2.section { margin: 34px 0 4px; font-family: var(--font-mono); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; } .section-sub { margin: 0 0 14px; color: var(--ink-soft); font-size: 13px; } .micro { font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); } .mono { font-family: var(--font-mono); } .small { font-size: 11.5px; } .muted { color: var(--ink-soft); } .strong { font-weight: 600; } .karma-text { color: var(--karma); } .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); text-decoration: none; } .back:hover { color: var(--ink); } /* --- Surfaces ----------------------------------------------------------------------------------- */ .card { background: #fff; border: 1px solid var(--line); border-radius: 14px; } .pad { padding: 20px 22px; } .stack { display: grid; gap: 12px; } .row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; } .pill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-soft); font-family: var(--font-mono); font-size: 11px; line-height: 1.7; white-space: nowrap; } .pill-karma, .pill-review { background: var(--karma-soft); border-color: var(--karma-border); color: var(--karma); } .pill-ok { background: var(--success-soft); border-color: var(--success-border); color: var(--success); } .pill-warn { background: var(--warn-soft); border-color: var(--warn-border); color: var(--warn); } .pill-bad { background: var(--danger-soft); border-color: var(--danger-border); color: var(--danger); } .pill-info { background: var(--info-soft); border-color: var(--info-border); color: var(--info); } .pill-lime { background: var(--accent-soft); border-color: var(--accent-soft-border); color: var(--accent-strong); } .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: background .12s, border-color .12s, opacity .12s; } .btn:hover { border-color: var(--ink); } .btn-primary { background: var(--ink); border-color: var(--ink); color: var(--lime); } .btn-primary:hover { background: #000; border-color: #000; } .btn-submit { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; } .btn-submit:hover { background: var(--accent-strong-hover); border-color: var(--accent-strong-hover); } .btn-lime { background: var(--lime); border-color: var(--lime); color: var(--dark); } .btn-lime:hover { background: #b8ff3d; border-color: #b8ff3d; } .btn-sm { padding: 6px 11px; font-size: 11.5px; } .btn-wide { width: 100%; } .btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; } .input, .select, .textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; outline: none; font-size: 14px; transition: border-color .12s, box-shadow .12s; } .input::placeholder, .textarea::placeholder { font-family: var(--font-mono); font-size: 12.5px; color: #9aa08d; } .input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 23, 15, .06); } .select { appearance: none; padding-right: 34px; font-family: var(--font-mono); font-size: 12.5px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7360' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; } .textarea { resize: vertical; min-height: 92px; } .textarea.code { min-height: 170px; background: var(--panel); tab-size: 4; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; white-space: pre; } .search { position: relative; } .search .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); } .search .input { padding-left: 34px; font-family: var(--font-mono); font-size: 12.5px; } .progress { height: 4px; border-radius: 999px; background: var(--line-soft); overflow: hidden; } .progress span { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: var(--ink); } /* --- Workspace ------------------------------------------------------------------------------------- */ .karma-card { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 22px; padding: 20px 22px; } .karma-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--karma-soft); color: var(--karma); } .karma-icon .i { width: 19px; height: 19px; } .karma-num { display: flex; align-items: baseline; gap: 7px; } .karma-num b { font-family: var(--font-mono); font-size: 26px; font-weight: 600; line-height: 1; } .chip { padding: 1px 8px; border-radius: 6px; background: var(--line-soft); font-family: var(--font-mono); font-size: 11px; color: var(--ink); } .karma-next .row { justify-content: space-between; margin-bottom: 7px; } .stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; overflow: hidden; } .stat { padding: 14px 16px; border-left: 1px solid var(--line); border-bottom: 2px solid transparent; } .stat:first-child { border-left: 0; } .stat .micro { display: flex; align-items: center; gap: 6px; } .stat .micro .i { width: 12px; height: 12px; } .stat b { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 21px; font-weight: 600; line-height: 1.1; } .stat-ok { border-bottom-color: #8fbb3a; } .stat-ok b { color: var(--accent-strong); } .stat-warn { border-bottom-color: #d9a43a; } .stat-warn b { color: var(--warn); } .signin-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 22px 24px; } .signin-card img { width: 40px; height: 40px; } .signin-card h2 { margin: 0 0 3px; font-family: var(--font-mono); font-size: 16px; font-weight: 600; } .signin-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; } .signin-actions { display: grid; gap: 6px; justify-items: end; } .signin-actions .note { font-size: 11.5px; color: var(--ink-soft); max-width: 260px; text-align: right; } .setup-card { padding: 20px 22px; } .setup-card h2 { margin: 0 0 4px; font-family: var(--font-mono); font-size: 16px; font-weight: 600; } .setup-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 13.5px; } .setup-card .row .input { max-width: 280px; } .filters { display: grid; grid-template-columns: minmax(200px, 320px) 200px 1fr; gap: 8px; align-items: center; margin-bottom: 12px; } .filters .count { justify-self: end; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); } .rows { display: grid; gap: 12px; } .pool-row, .sub-row { position: relative; display: grid; gap: 9px; padding: 18px 50px 18px 20px; text-decoration: none; transition: border-color .12s, box-shadow .12s; } .pool-row:hover, .sub-row:hover { border-color: #cfd3c6; box-shadow: 0 1px 2px rgba(20, 23, 15, .04); } .pool-row .head, .sub-row .head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; } .pool-title, .sub-title { font-weight: 600; font-size: 14.5px; } .pool-row .cap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; } .pool-row .cap .progress { height: 3px; } .row-arrow { position: absolute; right: 20px; top: 20px; color: var(--ink-soft); } .tabs-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .tabs-pills button { padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); cursor: pointer; } .tabs-pills button.on { background: var(--ink); border-color: var(--ink); color: var(--lime); } .empty { padding: 26px; text-align: center; color: var(--ink-soft); font-size: 13.5px; } .btn.more { justify-self: center; margin-top: 2px; } /* --- Pool page ----------------------------------------------------------------------------------------- */ .cap-card { padding: 18px 22px; } .cap-card .row { justify-content: space-between; flex-wrap: wrap; } .contract { margin-top: 14px; padding: 22px; } .contract h3 { margin: 4px 0 10px; font-size: 16px; font-weight: 600; } .chips { display: flex; flex-wrap: wrap; gap: 6px; } .tip { margin: 12px 0 0; color: var(--ink-soft); font-size: 13.5px; } .contract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; } .mini { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--panel); } .mini .micro { margin-bottom: 8px; } .kv { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; font-size: 13.5px; } .kv span:last-child { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); text-align: right; } .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--ink-soft); } .steps b { color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; } details.disclose { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; } details.disclose > summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; cursor: pointer; list-style: none; font-family: var(--font-mono); font-size: 12.5px; } details.disclose > summary::-webkit-details-marker { display: none; } details.disclose > summary::after { content: "+"; margin-left: auto; color: var(--ink-soft); } details.disclose[open] > summary::after { content: "−"; } details.disclose > .body { padding: 2px 14px 14px; border-top: 1px solid var(--line-soft); } .spec { margin-top: 12px; } .spec .micro { margin-bottom: 4px; } .spec p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.6; } pre.block { margin: 4px 0 0; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line-soft); background: var(--panel); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto; } .seg { display: inline-flex; gap: 3px; padding: 3px; margin: 22px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); } .seg button { padding: 6px 14px; border: 0; border-radius: 7px; background: transparent; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); cursor: pointer; } .seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 23, 15, .1); } .seg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .form { display: grid; gap: 18px; padding: 22px; } .field { display: grid; gap: 7px; } .field-label { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; } .req { color: var(--danger); font-weight: 700; } .opt { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-soft); } .key-chip, .lang-chip { padding: 0 7px; border-radius: 5px; border: 1px solid var(--line); background: var(--panel); font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-soft); line-height: 1.8; } .lang-chip { border-color: var(--accent-soft-border); background: var(--accent-soft); color: var(--accent-strong); } .hint { font-size: 12.5px; color: var(--ink-soft); } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .attest { display: grid; gap: 9px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); } .attest label { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; cursor: pointer; } .attest input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--accent-strong); } .stage-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #dfe5d8; font-family: var(--font-mono); font-size: 12px; } .stage-bar .i { color: var(--lime); } .form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line-soft); } .dropzone { display: grid; place-items: center; gap: 6px; padding: 28px; margin-top: 12px; border: 1.5px dashed var(--line-strong); border-radius: 12px; background: var(--panel); color: var(--ink-soft); font-family: var(--font-mono); font-size: 12.5px; cursor: pointer; text-align: center; } .dropzone:hover, .dropzone.over { border-color: var(--ink); color: var(--ink); } .dropzone input { display: none; } table.list { width: 100%; border-collapse: collapse; font-size: 13px; } table.list th { padding: 10px 14px; text-align: left; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); background: var(--panel); } table.list td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; } table.list tr:last-child td { border-bottom: 0; } table.list tr.click { cursor: pointer; } table.list tr.click:hover td { background: var(--panel); } .table-wrap { overflow: auto; max-height: 420px; border: 1px solid var(--line); border-radius: 12px; background: #fff; } .ok-text { color: var(--success); } .bad-text { color: var(--danger); } /* --- Notices, checks, toast ----------------------------------------------------------------------------------- */ .notice { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 13.5px; } .notice b { font-family: var(--font-mono); font-size: 12.5px; } .notice-ok { background: var(--success-soft); border-color: var(--success-border); } .notice-warn { background: var(--warn-soft); border-color: var(--warn-border); } .notice-bad { background: var(--danger-soft); border-color: var(--danger-border); } .checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; } .check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line-soft); } .check:first-child { border-top: 0; } .check-icon { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; } .check-icon .i { width: 12px; height: 12px; } .check-pass .check-icon { background: var(--success-soft); color: var(--success); } .check-fail .check-icon { background: var(--danger-soft); color: var(--danger); } .check-wait .check-icon { background: var(--line-soft); color: var(--ink-soft); } .check-note .check-icon { background: var(--warn-soft); color: var(--warn); } .check b { display: block; font-size: 13.5px; font-weight: 600; } .check span { font-size: 12.5px; color: var(--ink-soft); } .toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 380px; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); } .skeleton { height: 92px; border-radius: 14px; background: linear-gradient(90deg, #fff 0%, #f6f7f2 50%, #fff 100%); background-size: 200% 100%; border: 1px solid var(--line); animation: shimmer 1.2s infinite; } @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } /* --- Other pages ------------------------------------------------------------------------------------------------ */ .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; } .tile { padding: 16px 18px; } .tile b { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 22px; font-weight: 600; } .tiers { display: flex; flex-wrap: wrap; gap: 8px; } .how { margin: 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 10px; } .how li { counter-increment: how; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 14px; } .how li::before { content: counter(how); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-family: var(--font-mono); font-size: 12px; font-weight: 600; } .code-box { position: relative; } .code-box pre.block { padding-right: 76px; } .code-box .btn { position: absolute; right: 8px; top: 8px; } .profile-head { display: flex; align-items: center; gap: 16px; } .profile-head .avatar { width: 52px; height: 52px; font-size: 18px; background: var(--ink); color: var(--lime); border: 0; } /* --- Reviewing ------------------------------------------------------------------------------------------------- */ .btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; } .btn-danger:hover { background: #a82a42; border-color: #a82a42; } .pool-row.has-action { padding-right: 104px; } .row-action { position: absolute; right: 18px; top: 15px; } .audit-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; } .item-list { display: grid; gap: 2px; padding: 8px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; } .item-list button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 9px; border: 0; border-radius: 8px; background: none; color: var(--ink-soft); font-size: 13px; text-align: left; cursor: pointer; } .item-list button:hover { background: var(--panel); color: var(--ink); } .item-list button.on { background: var(--nav-active); color: var(--lime); } .item-list .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mark { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line-soft); color: var(--ink-soft); font-family: var(--font-mono); font-size: 10.5px; } .mark .i { width: 12px; height: 12px; } .mark.ok { background: var(--success-soft); color: var(--success); } .mark.flagged { background: var(--danger-soft); color: var(--danger); } .item-card { display: grid; gap: 16px; padding: 22px; } .item-card h2 { margin: 0; font-size: 17px; font-weight: 600; } .item-card pre.block { margin-top: 6px; } .files { list-style: none; margin: 6px 0 8px; padding: 0; display: grid; gap: 4px; font-size: 13px; } .files li { display: flex; align-items: center; gap: 7px; } .decide { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); } .decide .reject { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); } .item-nav { display: flex; justify-content: space-between; gap: 8px; } .sponsor-card { margin-top: 14px; padding: 20px 22px; border-color: var(--karma-border); } .sponsor-card details.disclose > summary { gap: 10px; } /* --- Small screens ------------------------------------------------------------------------------------------------ */ @media (max-width: 600px) { .hide-sm { display: none; } } @media (max-width: 900px) { .shell { grid-template-columns: minmax(0, 1fr); } .sidebar { position: sticky; top: 0; z-index: 20; min-width: 0; height: auto; flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--dark-line); } .brand { border-bottom: 0; padding: 12px 14px; } .brand span { font-size: 15px; } .nav { display: flex; overflow-x: auto; padding: 8px; gap: 2px; flex: 1; min-width: 0; scrollbar-width: none; } .nav a { padding: 8px 10px; font-size: 12px; white-space: nowrap; } .nav a .i { display: none; } .side-bottom { display: none; } .top-action { display: inline-flex; align-items: center; flex: none; margin-right: 10px; padding: 7px 10px; border: 1px solid var(--dark-line-soft); border-radius: 8px; background: none; cursor: pointer; color: var(--lime); font-family: var(--font-mono); font-size: 12px; } .page { padding: 22px 16px 60px; } .karma-card { grid-template-columns: auto 1fr; } .karma-next { grid-column: 1 / -1; } .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .filters { grid-template-columns: 1fr 1fr; } .filters .search { grid-column: 1 / -1; } .signin-card { grid-template-columns: auto 1fr; } .signin-actions { grid-column: 1 / -1; justify-items: stretch; } .signin-actions .note { text-align: left; max-width: none; } .contract-grid, .two { grid-template-columns: 1fr; } .pool-row .cap { grid-template-columns: 1fr auto; } .pool-row .cap .progress { grid-column: 1 / -1; grid-row: 2; } h1.title { font-size: 20px; } .kv { flex-direction: column; gap: 0; } .kv span:last-child { text-align: left; } .form, .contract { padding: 18px 16px; } .form-foot { flex-direction: column; align-items: stretch; } .form-foot .btn { width: 100%; } .audit-grid { grid-template-columns: minmax(0, 1fr); } .item-list { position: static; max-height: none; display: flex; overflow-x: auto; } .item-list button { width: auto; flex: none; } .item-list .t { display: none; } .item-card { padding: 18px 16px; } } /* Home */ .hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px 30px; } .hero h1 { margin: 6px 0 8px; font-family: var(--font-mono); font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; } .hero p { margin: 0; max-width: 62ch; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; } .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; } .hero-mark { width: 92px; height: 92px; } .roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .role { position: relative; display: grid; align-content: start; gap: 6px; padding: 18px 44px 18px 20px; color: inherit; text-decoration: none; } .role:hover { border-color: #cfd3c6; box-shadow: 0 1px 2px rgba(20, 23, 15, .04); } .role b { font-family: var(--font-mono); font-size: 15px; font-weight: 600; } .role-icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--accent-soft); border: 1px solid var(--accent-soft-border); color: var(--lime-ink); } @media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); padding: 22px; } .hero h1 { font-size: 21px; } .hero-mark { display: none; } .roles { grid-template-columns: minmax(0, 1fr); } }