Files
Flypaper/src/Flypaper.Web/wwwroot/app.css
T
TomandClaude Opus 5.5 e88dc415f9
Build and deploy / build (push) Successful in 1m50s
Build and deploy / deploy (push) Successful in 21s
Add research page with MCP write tools, longer hold for repeat offenders and svn/hg decoys
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:27:35 +01:00

1702 lines
28 KiB
CSS

:root {
--bg: #f6f7f9;
--surface: #ffffff;
--text: #1d232b;
--muted: #6b7380;
--border: #e2e5ea;
--accent: #b5651d;
--ok: #2f7d4a;
--warn: #a6620c;
--bad: #b3261e;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #14171c;
--surface: #1c2027;
--text: #e4e7ec;
--muted: #8e96a3;
--border: #2c323c;
--accent: #e09a4f;
--ok: #6cc28a;
--warn: #e0a94f;
--bad: #ef7b72;
color-scheme: dark;
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1:focus {
outline: none;
}
.page {
max-width: 1440px;
margin: 0 auto;
padding: 24px 16px 48px;
}
h2 {
margin: 0 0 12px;
font-size: 15px;
}
.muted {
color: var(--muted);
}
.metrics {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 12px;
margin-bottom: 16px;
}
.metric,
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 16px 18px;
}
.metric {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.metric .label {
color: var(--muted);
font-size: 12px;
font-weight: 500;
}
.metric .value {
margin: 6px 0 2px;
font-size: 28px;
font-weight: 600;
line-height: 1.15;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.metric .sub {
overflow: hidden;
color: var(--muted);
font-size: 12px;
white-space: nowrap;
text-overflow: ellipsis;
}
.metric.live {
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.metric.live .value {
color: var(--accent);
}
.metric.live .label::before,
.live-dot {
content: "";
display: inline-block;
width: 8px;
height: 8px;
margin-right: 7px;
border-radius: 50%;
background: var(--accent);
vertical-align: 1px;
animation: pulse 2s ease-in-out infinite;
}
.live-dot {
background: var(--ok);
}
@keyframes pulse {
50% {
opacity: 0.35;
}
}
@media (prefers-reduced-motion: reduce) {
.metric.live .label::before,
.live-dot {
animation: none;
}
}
.card-head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px 16px;
margin-bottom: 12px;
}
.card-head h2 {
margin: 0;
}
.card-head .hint {
margin: 0;
}
.onboarding {
border-style: dashed;
}
.onboarding p {
margin: 0 0 12px;
}
.onboarding ol {
display: grid;
gap: 8px;
margin: 0;
padding-left: 20px;
}
code {
padding: 1px 5px;
border-radius: 4px;
background: var(--bg);
font: 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.origin {
display: grid;
grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
gap: 16px;
margin-bottom: 16px;
}
.origin > .card {
margin-bottom: 0;
}
.map-card {
display: flex;
flex-direction: column;
}
.origin > * {
min-width: 0;
}
.tops-card h2 {
margin-bottom: 10px;
}
.tabs {
display: flex;
gap: 2px;
margin: 0 -4px 8px;
padding: 0 4px;
overflow-x: auto;
border-bottom: 1px solid var(--border);
scrollbar-width: none;
}
.tabs button[role="tab"] {
flex: none;
margin-bottom: -1px;
padding: 7px 12px;
border: 0;
border-bottom: 2px solid transparent;
border-radius: 6px 6px 0 0;
background: none;
color: var(--muted);
font-weight: 500;
}
.tabs button[role="tab"]:hover {
color: var(--text);
}
.tabs button[role="tab"][aria-selected="true"] {
border-bottom-color: var(--accent);
color: var(--text);
}
.tabs button[role="tab"]:focus-visible,
[role="tabpanel"]:focus-visible {
outline: 2px solid var(--accent);
outline-offset: -2px;
}
.top-table {
table-layout: fixed;
}
.top-table .share {
width: 64px;
}
.top-table .count {
width: 60px;
}
.top-table .hold {
width: 96px;
}
.top-table .flag {
margin-right: 6px;
}
.top-key {
margin-left: 6px;
color: var(--muted);
font-size: 12px;
}
.top-table tr[data-href] {
cursor: pointer;
}
.top-table tr[data-href]:hover td {
background-color: color-mix(in srgb, var(--text) 4%, transparent);
}
.top-table tr.active td {
background-color: color-mix(in srgb, var(--accent) 12%, transparent);
}
.top-table tr.active td:first-child {
box-shadow: inset 3px 0 0 var(--accent);
}
.top-table td a {
color: inherit;
text-decoration: none;
}
.top-table td a:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: 3px;
}
.recent-card {
scroll-margin-top: 16px;
}
.recent-card h2 .count {
color: var(--muted);
font-weight: 500;
}
.recent-table tr[id] {
scroll-margin-top: 80px;
}
.filters {
display: grid;
grid-template-columns: minmax(110px, 140px) minmax(120px, 150px) minmax(160px, 230px) minmax(180px, 1fr) auto;
gap: 10px;
align-items: end;
margin-bottom: 12px;
}
.filters label {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
color: var(--muted);
font-size: 12px;
font-weight: 500;
}
.filters button {
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
font-weight: 500;
}
.filters button:hover {
border-color: var(--accent);
}
.filters select,
.filters input {
padding: 7px 10px;
font-size: 13px;
}
.chips {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 8px;
margin-bottom: 12px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 6px;
max-width: 100%;
padding: 3px 6px 3px 10px;
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
border-radius: 999px;
background: color-mix(in srgb, var(--accent) 10%, transparent);
color: var(--text);
font-size: 12.5px;
text-decoration: none;
white-space: nowrap;
text-overflow: ellipsis;
}
.chip span {
color: var(--muted);
font-size: 11px;
}
.chip:hover span {
color: var(--text);
}
.chip-reset {
color: var(--muted);
font-size: 12.5px;
}
.more {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 12px;
padding-top: 14px;
}
a.button {
display: inline-block;
padding: 7px 14px;
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text);
font-weight: 500;
text-decoration: none;
}
a.button:hover {
border-color: var(--accent);
}
.share-bar {
display: block;
height: 6px;
border-radius: 3px;
background: linear-gradient(to right, var(--accent) var(--share), color-mix(in srgb, var(--text) 8%, transparent) var(--share));
}
.top-table .clip {
max-width: none;
}
.recent-table {
table-layout: fixed;
}
.recent-table td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.recent-table tr.open td {
white-space: normal;
overflow-wrap: anywhere;
}
.recent-table tr.open td.num,
.recent-table tr.open td.c-time,
.recent-table tr.open td.c-origin,
.recent-table tr.open td.c-outcome {
white-space: nowrap;
}
.recent-table tr.open .extra-all {
display: block;
}
.recent-table .c-time {
width: 116px;
}
.recent-table .c-ip {
width: 132px;
}
.recent-table .c-origin {
width: 76px;
}
.recent-table .c-duration {
width: 92px;
}
.recent-table .c-bytes {
width: 104px;
}
.recent-table .c-outcome {
width: 116px;
}
.recent-table .c-strategy {
width: 190px;
}
.recent-table .extra {
display: none;
margin-top: 4px;
color: var(--muted);
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font-size: 12px;
}
@media (max-width: 1199px) {
.recent-table .c-provider,
.recent-table .c-strategy,
.recent-table .c-agent {
display: none;
}
.recent-table tr.open .extra-md {
display: block;
}
}
@media (max-width: 899px) {
.recent-table .c-origin,
.recent-table .c-duration,
.recent-table .c-bytes {
display: none;
}
.recent-table tr.open .extra-sm {
display: block;
}
}
@media (max-width: 599px) {
.recent-table .c-outcome,
.recent-table .c-date {
display: none;
}
.recent-table .c-time {
width: 76px;
}
.recent-table .c-ip {
width: 120px;
}
.recent-table tr.open .extra-xs {
display: block;
}
}
.scroll {
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
table-layout: auto;
}
th,
td {
padding: 6px 8px;
border-bottom: 1px solid var(--border);
text-align: left;
vertical-align: top;
}
th {
color: var(--muted);
font-size: 12px;
font-weight: 500;
}
tbody tr:last-child td {
border-bottom: none;
}
.num {
text-align: right;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.nowrap {
white-space: nowrap;
}
.mono {
font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
font-size: 13px;
}
.clip {
max-width: 320px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
tr[data-expand] {
cursor: pointer;
}
.hint {
margin-left: 8px;
color: var(--muted);
font-size: 12px;
font-weight: 400;
}
tr[data-expand]:hover td {
background-color: color-mix(in srgb, var(--text) 4%, transparent);
}
tr[data-expand]:focus-visible {
outline: 2px solid var(--accent);
outline-offset: -2px;
}
tr[data-expand].open td {
background-color: color-mix(in srgb, var(--accent) 7%, transparent);
}
tr.open .clip {
white-space: normal;
overflow-wrap: anywhere;
}
.outcome {
font-size: 12px;
font-weight: 600;
}
.outcome.timeout {
color: var(--ok);
}
.outcome.clientaborted {
color: var(--warn);
}
.outcome.rejected {
padding: 1px 7px;
border: 1px solid color-mix(in srgb, var(--bad) 45%, transparent);
border-radius: 999px;
background: color-mix(in srgb, var(--bad) 12%, transparent);
color: var(--bad);
}
.recent-table tr.rejected td {
color: var(--muted);
}
.recent-table tr.rejected td:first-child {
box-shadow: inset 3px 0 0 var(--bad);
}
@media (max-width: 600px) {
.clip {
max-width: 180px;
}
}
.narrow {
max-width: 380px;
padding-top: 15vh;
}
.login-title {
margin: 0 0 16px;
font-size: 22px;
color: var(--accent);
}
.nav {
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 28px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
}
.nav a {
padding: 6px 12px;
border-radius: 6px;
color: var(--muted);
text-decoration: none;
font-weight: 500;
}
.nav a:hover,
.nav a.active {
color: var(--text);
}
.nav a.active {
background: var(--surface);
box-shadow: inset 0 -2px 0 var(--accent);
}
.nav .brand {
display: flex;
align-items: center;
gap: 8px;
margin-right: 16px;
padding-left: 0;
color: var(--text);
font-size: 16px;
font-weight: 700;
letter-spacing: -0.01em;
}
.brand-mark {
width: 14px;
height: 14px;
border-radius: 4px;
background: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.nav .logout {
margin-left: auto;
}
.form {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 16px;
}
.form label {
margin-top: 8px;
font-weight: 500;
}
.form .grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 0 16px;
}
input:not([type="radio"], [type="checkbox"]),
textarea {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--bg);
color: var(--text);
font: inherit;
}
input:not([type="radio"], [type="checkbox"]):focus,
textarea:focus {
outline: 2px solid var(--accent);
outline-offset: -1px;
}
input[type="radio"]:focus-visible,
input[type="checkbox"]:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
textarea {
resize: vertical;
}
button {
padding: 8px 16px;
border: none;
border-radius: 6px;
background: var(--accent);
color: #fff;
font: inherit;
font-weight: 600;
cursor: pointer;
}
button.secondary {
background: transparent;
border: 1px solid var(--border);
color: var(--text);
}
button.link {
padding: 0;
background: none;
color: var(--muted);
font-weight: 500;
}
button.link:hover {
color: var(--text);
}
button:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.actions {
margin-top: 10px;
}
.error {
margin: 0;
color: var(--bad);
font-size: 13px;
}
.banner {
margin-bottom: 16px;
padding: 12px 16px;
border: 1px solid var(--border);
border-radius: 8px;
}
.banner.ok {
border-color: var(--ok);
color: var(--ok);
}
.banner.bad {
border-color: var(--bad);
color: var(--bad);
}
.badge {
padding: 2px 8px;
border: 1px solid var(--accent);
border-radius: 999px;
color: var(--accent);
font-size: 12px;
}
th[scope],
tbody th {
width: 220px;
color: var(--muted);
font-weight: 500;
}
.card {
margin-bottom: 16px;
}
.world-map {
display: block;
width: 100%;
height: auto;
}
.world-map path {
stroke: var(--surface);
stroke-width: 0.5;
}
.world-map .marker {
cursor: default;
}
.world-map .marker .hit {
fill: transparent;
pointer-events: all;
}
.world-map .marker .dot {
stroke: var(--text);
stroke-width: 1.5;
stroke-opacity: 0.85;
}
.world-map .marker:hover .dot {
stroke: var(--text);
}
.world-map path:hover {
stroke: var(--text);
stroke-width: 1;
}
.level-0 {
fill: color-mix(in srgb, var(--text) 10%, var(--surface));
background: color-mix(in srgb, var(--text) 10%, var(--surface));
}
.level-1 {
fill: color-mix(in srgb, var(--accent) 25%, var(--surface));
background: color-mix(in srgb, var(--accent) 25%, var(--surface));
}
.level-2 {
fill: color-mix(in srgb, var(--accent) 42%, var(--surface));
background: color-mix(in srgb, var(--accent) 42%, var(--surface));
}
.level-3 {
fill: color-mix(in srgb, var(--accent) 60%, var(--surface));
background: color-mix(in srgb, var(--accent) 60%, var(--surface));
}
.level-4 {
fill: color-mix(in srgb, var(--accent) 80%, var(--surface));
background: color-mix(in srgb, var(--accent) 80%, var(--surface));
}
.level-5 {
fill: var(--accent);
background: var(--accent);
}
.map-legend {
display: flex;
align-items: center;
gap: 5px;
color: var(--muted);
font-size: 13px;
font-variant-numeric: tabular-nums;
}
.map-legend .level-0 {
margin-right: 6px;
}
.map-wrap {
position: relative;
display: flex;
flex: 1;
align-items: center;
}
.map-empty {
position: absolute;
left: 50%;
bottom: 12%;
transform: translateX(-50%);
margin: 0;
padding: 8px 14px;
border: 1px solid var(--border);
border-radius: 999px;
background: var(--surface);
color: var(--muted);
font-size: 13px;
white-space: nowrap;
}
.map-legend .swatch {
width: 22px;
height: 12px;
border-radius: 3px;
}
.detail {
display: none;
}
tr.open .detail {
display: block;
color: var(--muted);
white-space: normal;
}
.footer {
margin-top: 24px;
color: var(--muted);
font-size: 12px;
}
.footer a {
color: inherit;
}
button.danger {
background: var(--bad);
}
@media (max-width: 1099px) {
.metrics {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.metric {
grid-column: span 2;
}
.metric:nth-child(n + 4) {
grid-column: span 3;
}
.origin {
grid-template-columns: minmax(0, 1fr);
}
.filters {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.filter-search {
grid-column: 1 / 3;
}
}
@media (max-width: 599px) {
.metrics {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.metric,
.metric:nth-child(n + 4) {
grid-column: span 1;
}
.metric:last-child {
grid-column: span 2;
}
.metric .value {
font-size: 24px;
}
.filters {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.filter-search,
.filters button {
grid-column: 1 / -1;
}
.top-table .share,
.top-table th:nth-child(2),
.top-table td:nth-child(2),
.top-key {
display: none;
}
.top-table .hold {
width: 84px;
}
.nav .brand {
margin-right: 4px;
font-size: 0;
}
.map-empty {
position: static;
transform: none;
margin-top: 8px;
white-space: normal;
border-radius: 8px;
text-align: center;
}
}
select {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--bg);
color: var(--text);
font: inherit;
}
.page-head {
margin-bottom: 24px;
}
.page-head h1 {
margin: 0 0 6px;
font-size: 24px;
}
.page-head p {
margin: 0;
color: var(--muted);
}
.settings-layout {
display: grid;
grid-template-columns: 200px minmax(0, 1fr);
gap: 32px;
align-items: start;
}
.settings-nav {
position: sticky;
top: 24px;
display: flex;
flex-direction: column;
gap: 2px;
}
.settings-nav a {
padding: 7px 12px;
border-radius: 6px;
color: var(--muted);
text-decoration: none;
font-weight: 500;
}
.settings-nav a:hover,
.settings-nav a.active {
background: var(--surface);
color: var(--text);
}
.settings-nav a.active {
box-shadow: inset 2px 0 0 var(--accent);
}
.settings-sections {
display: flex;
flex-direction: column;
gap: 24px;
min-width: 0;
}
.s-section {
scroll-margin-top: 24px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
}
.s-head {
padding: 20px 24px 0;
}
.s-head h2 {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
font-size: 17px;
}
.s-head p {
max-width: 60ch;
margin: 6px 0 0;
color: var(--muted);
}
.s-badge {
padding: 2px 8px;
border: 1px solid var(--accent);
border-radius: 999px;
color: var(--accent);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.02em;
}
.s-body {
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px 24px 24px;
}
.s-foot {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 12px;
padding: 14px 24px;
border-top: 1px solid var(--border);
background: color-mix(in srgb, var(--bg) 45%, var(--surface));
border-radius: 0 0 10px 10px;
}
.s-foot > form:first-child:not(:only-child) {
margin-right: auto;
}
.s-foot-text {
margin-right: auto;
color: var(--muted);
font-size: 13px;
}
.s-section > .notice {
margin: 16px 24px 0;
}
.notice {
padding: 10px 14px;
border: 1px solid color-mix(in srgb, var(--ok) 45%, var(--border));
border-left: 3px solid var(--ok);
border-radius: 6px;
background: color-mix(in srgb, var(--ok) 8%, var(--surface));
}
.notice.bad {
border-color: color-mix(in srgb, var(--bad) 45%, var(--border));
border-left-color: var(--bad);
background: color-mix(in srgb, var(--bad) 8%, var(--surface));
}
.fields {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 18px 20px;
}
.field {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.field label,
.choices legend {
font-size: 13px;
font-weight: 600;
}
.field-control {
position: relative;
}
.field-control.has-unit input {
padding-right: 52px;
}
.field-unit {
position: absolute;
top: 50%;
right: 12px;
transform: translateY(-50%);
color: var(--muted);
font-size: 12px;
pointer-events: none;
}
.field-hint,
.field-error {
margin: 0;
font-size: 12px;
}
.field-hint {
color: var(--muted);
}
.field-error {
color: var(--bad);
}
.field:has(.field-error) input {
border-color: var(--bad);
}
.settings input {
font-variant-numeric: tabular-nums;
}
.choices {
margin: 0;
padding: 0;
border: 0;
}
.choices legend {
margin-bottom: 8px;
padding: 0;
}
.choice-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
}
.choice {
position: relative;
display: flex;
gap: 10px;
padding: 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg);
cursor: pointer;
}
.choice:hover {
border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}
.choice:has(input:checked) {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}
.choice input {
flex: none;
width: 16px;
height: 16px;
margin: 2px 0 0;
accent-color: var(--accent);
}
.choice-body {
display: flex;
flex-direction: column;
gap: 4px;
}
.choice-body span {
color: var(--muted);
font-size: 13px;
}
.estimate {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 12px;
padding: 12px 14px;
border-radius: 8px;
background: var(--bg);
}
.estimate-value {
font-size: 15px;
}
.estimate-value strong {
color: var(--accent);
font-size: 20px;
font-variant-numeric: tabular-nums;
}
.switch-row {
display: flex;
align-items: flex-start;
gap: 12px;
cursor: pointer;
}
.switch-row > span {
display: flex;
flex-direction: column;
gap: 2px;
}
.switch-row .muted {
font-size: 13px;
}
input.switch {
flex: none;
position: relative;
width: 38px;
height: 22px;
margin: 0;
padding: 0;
border: 1px solid var(--border);
border-radius: 999px;
background: var(--bg);
appearance: none;
cursor: pointer;
transition: background 0.15s;
}
input.switch::after {
content: "";
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--muted);
transition: transform 0.15s, background 0.15s;
}
input.switch:checked {
border-color: var(--accent);
background: var(--accent);
}
input.switch:checked::after {
background: #fff;
transform: translateX(16px);
}
.stat-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 12px;
}
.stat {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 14px;
border-radius: 8px;
background: var(--bg);
}
.stat-label {
color: var(--muted);
font-size: 12px;
}
.stat-value {
font-size: 18px;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.danger-box {
margin: 0 24px 24px;
border: 1px solid color-mix(in srgb, var(--bad) 40%, var(--border));
border-radius: 8px;
}
.danger-box h3 {
margin: 0;
padding: 10px 16px;
border-bottom: 1px solid color-mix(in srgb, var(--bad) 25%, var(--border));
color: var(--bad);
font-size: 13px;
}
.action-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px 20px;
padding: 14px 16px;
}
.action-row + .action-row {
border-top: 1px solid var(--border);
}
.action-text {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
flex: 1 1 280px;
}
.action-text .muted {
font-size: 13px;
}
.action-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}
.action-controls input[type="text"],
.action-controls input:not([type]) {
width: 130px;
}
.inline-check {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
cursor: pointer;
}
.inline-check input {
width: auto;
accent-color: var(--bad);
}
.inline-field {
display: flex;
flex: 1 1 240px;
flex-direction: column;
gap: 4px;
}
.kv {
display: grid;
gap: 0;
margin: 0;
}
.kv > div {
display: grid;
grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
gap: 12px;
padding: 9px 0;
border-bottom: 1px solid var(--border);
}
.kv > div:last-child {
border-bottom: 0;
}
.kv dt {
color: var(--muted);
}
.kv dd {
margin: 0;
overflow-wrap: anywhere;
}
.s-table th {
font-size: 12px;
}
.empty {
margin: 0;
padding: 14px;
border: 1px dashed var(--border);
border-radius: 8px;
color: var(--muted);
text-align: center;
}
.token {
display: block;
margin-top: 8px;
padding: 8px 10px;
border-radius: 6px;
background: var(--bg);
color: var(--text);
overflow-wrap: anywhere;
user-select: all;
}
button.ghost {
padding: 8px 12px;
background: transparent;
color: var(--muted);
}
button.ghost:hover:not(:disabled) {
color: var(--text);
}
button.danger-text {
color: var(--bad);
}
@media (max-width: 899px) {
.settings-layout {
grid-template-columns: minmax(0, 1fr);
gap: 16px;
}
.settings-nav {
position: static;
flex-direction: row;
gap: 6px;
overflow-x: auto;
padding-bottom: 4px;
}
.settings-nav a {
flex: none;
border: 1px solid var(--border);
font-size: 13px;
}
.settings-nav a.active {
border-color: var(--accent);
box-shadow: none;
}
.s-head,
.s-body {
padding-left: 16px;
padding-right: 16px;
}
.s-foot {
padding-left: 16px;
padding-right: 16px;
}
.s-section > .notice {
margin-left: 16px;
margin-right: 16px;
}
.danger-box {
margin-left: 16px;
margin-right: 16px;
}
.kv > div {
grid-template-columns: minmax(0, 1fr);
gap: 2px;
}
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.table-scroll {
overflow-x: auto;
}
.chips a.chip {
padding: 3px 10px;
border-color: var(--border);
background: transparent;
}
.chips a.chip:hover {
border-color: var(--accent);
}
.chips a.chip.active {
border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.lab-entries {
display: grid;
gap: 12px;
}
.lab-entry {
padding: 12px 14px;
border: 1px solid var(--border);
border-radius: 8px;
}
.lab-entry header {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 10px;
}
.lab-entry h3 {
flex: 1 1 100%;
margin: 2px 0 0;
font-size: 15px;
}
.lab-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
margin: 6px 0 0;
}
.markdown {
overflow-wrap: anywhere;
}
.markdown > :first-child {
margin-top: 6px;
}
.markdown > :last-child {
margin-bottom: 0;
}
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4 {
margin: 12px 0 4px;
font-size: 14px;
}
.markdown pre {
padding: 8px 10px;
overflow-x: auto;
border-radius: 6px;
background: var(--bg);
}
.markdown table {
width: auto;
}
.idea-table td {
vertical-align: top;
}
.idea-table .markdown {
margin-top: 2px;
font-size: 13px;
}
.badge.status-done {
border-color: var(--ok);
color: var(--ok);
}
.badge.status-dropped {
border-color: var(--muted);
color: var(--muted);
}
.inline-form {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 10px;
}
.inline-check {
display: inline-flex;
align-items: center;
gap: 6px;
}