@import "./ui/theme/pear-ui.css";
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #app {
height: 100%;
width: 100%;
background: var(--pear-color-canvas);
color: var(--pear-color-text);
font: var(--pear-text-body)/var(--pear-line-body) var(--pear-font-ui);
-webkit-font-smoothing: antialiased;
}
/* ─── Splash ─── */
.splash {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
-webkit-app-region: drag;
}
.splash-inner {
text-align: center;
max-width: 440px;
padding: 40px;
-webkit-app-region: no-drag;
}
.splash-tagline {
color: var(--pear-color-muted);
margin-top: 6px;
margin-bottom: 32px;
font-size: 13px;
}
.splash-status {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 8px 16px;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 999px;
font-size: 12px;
color: var(--pear-color-muted);
}
.splash-status.failed { color: var(--pear-color-error); border-color: rgba(194,65,47,0.28); }
.splash-spinner {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--pear-color-warning);
animation: pulse 1.2s infinite ease-in-out;
}
.splash-status.failed .splash-spinner { background: var(--pear-color-error); animation: none; }
.splash-detail {
margin-top: 16px;
padding: 10px 12px;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 6px;
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
color: var(--pear-color-error);
white-space: pre-wrap;
text-align: left;
max-height: 240px;
overflow: auto;
}
/* ─── Logo / wordmark ─── */
.logo-svg { display: block; filter: drop-shadow(0 8px 18px rgba(22,131,79,0.16)); }
.logo-pulse { animation: logo-breathe 3s ease-in-out infinite; }
.wordmark {
font-size: 22px;
font-weight: 300;
letter-spacing: -0.5px;
display: inline-flex;
align-items: baseline;
gap: 0;
line-height: 1;
}
.wordmark-bold { font-weight: 700; color: var(--pear-color-text); }
.wordmark-light { color: var(--pear-color-muted); }
.topbar .wordmark { font-size: 14px; }
/* ─── App shell ─── */
.app {
display: flex;
flex-direction: column;
height: 100%;
}
.topbar {
display: flex;
align-items: center;
gap: 18px;
padding: 10px 14px 10px 18px;
background: var(--pear-color-chrome);
border-bottom: 1px solid var(--pear-color-line);
backdrop-filter: blur(14px);
-webkit-app-region: drag;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
padding-left: 72px; /* space for traffic lights on macOS */
}
.topbar-spacer { flex: 1; }
.topbar-tools {
display: flex;
align-items: center;
gap: 8px;
-webkit-app-region: no-drag;
}
.tabs {
display: flex;
gap: 2px;
-webkit-app-region: no-drag;
}
.tab {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
background: transparent;
color: var(--pear-color-muted);
border: 1px solid transparent;
border-radius: 8px;
cursor: pointer;
font: inherit;
font-size: 12px;
transition: all 120ms ease;
}
.tab:hover { background: var(--pear-color-surface-soft); color: var(--pear-color-text); }
.tab.active { background: var(--pear-color-surface-soft); color: var(--pear-color-text); border-color: var(--pear-color-line); }
.theme-toggle {
width: 54px;
height: 28px;
border: 1px solid var(--pear-color-line);
border-radius: 999px;
background: var(--pear-color-surface);
color: var(--pear-color-text);
cursor: pointer;
padding: 2px;
display: inline-flex;
align-items: center;
justify-content: flex-start;
transition: background 120ms ease, border-color 120ms ease;
-webkit-app-region: no-drag;
}
.theme-toggle:hover { background: var(--pear-color-surface-soft); border-color: var(--pear-color-line-strong); }
.theme-toggle-track {
position: relative;
width: 100%;
height: 100%;
}
.theme-toggle-thumb {
position: absolute;
top: 1px;
left: 1px;
width: 22px;
height: 22px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
color: var(--pear-color-text);
font-size: 12px;
line-height: 1;
box-shadow: var(--pear-shadow-soft);
transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}
.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
transform: translateX(24px);
background: var(--pear-color-accent-soft);
color: var(--pear-color-accent-hover);
}
.panel { flex: 1; overflow: auto; padding: 24px; }
.panel-browse { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
h1 { font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
h2 { font-size: 11px; margin: 20px 0 10px; color: var(--pear-color-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }
p { color: var(--pear-color-muted); margin-bottom: 12px; }
.placeholder { opacity: 0.7; font-style: italic; color: var(--pear-color-muted); }
.subtitle { color: var(--pear-color-muted); margin-bottom: 8px; font-size: 13px; }
/* ─── Status pill ─── */
.status {
position: fixed;
bottom: 12px;
right: 12px;
padding: 6px 12px 6px 10px;
background: var(--pear-color-floating);
border: 1px solid var(--pear-color-line);
border-radius: 999px;
font-size: 11px;
color: var(--pear-color-muted);
backdrop-filter: blur(10px);
letter-spacing: 0.2px;
}
.status .dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--pear-color-muted);
margin-right: 8px;
vertical-align: middle;
box-shadow: 0 0 8px currentColor;
}
.status.ok .dot { background: var(--pear-color-success); color: var(--pear-color-success); }
.status.booting .dot { background: var(--pear-color-warning); color: var(--pear-color-warning); animation: pulse 1.2s infinite; }
.status.err .dot { background: var(--pear-color-error); color: var(--pear-color-error); }
/* ─── Browse tab ─── */
.browse { display: flex; flex-direction: column; height: 100%; }
.urlbar {
display: flex;
gap: 6px;
padding: 10px 14px;
background: var(--pear-color-chrome-soft);
border-bottom: 1px solid var(--pear-color-line);
align-items: center;
backdrop-filter: blur(10px);
}
.urlbar input {
flex: 1;
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 7px 12px;
font: inherit;
font-family: "SF Mono", Menlo, monospace;
font-size: 12px;
transition: border-color 120ms ease;
}
.urlbar input:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.16); }
.urlbar .nav {
background: transparent;
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 5px 10px;
cursor: pointer;
font: inherit;
transition: all 120ms ease;
}
.urlbar .nav:hover:not(:disabled) { background: var(--pear-color-surface-soft); }
.urlbar .nav:disabled { opacity: 0.3; cursor: default; }
.urlbar .nav.go {
background:
linear-gradient(var(--pear-color-gradient-fill), var(--pear-color-gradient-fill)) padding-box,
linear-gradient(135deg, #111827 0%, #19bfa7 48%, #8b5cf6 100%) border-box;
border-color: transparent;
color: var(--pear-color-text);
font-weight: 600;
padding: 5px 16px;
box-shadow: none;
}
.urlbar .nav.go:hover:not(:disabled) {
background:
linear-gradient(var(--pear-color-gradient-fill), var(--pear-color-gradient-fill)) padding-box,
linear-gradient(135deg, #020617 0%, #0f766e 48%, #7c3aed 100%) border-box;
border-color: transparent;
}
.browse-status {
padding: 4px 14px;
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
color: var(--pear-color-warning);
background: var(--pear-color-chrome-muted);
border-bottom: 1px solid var(--pear-color-line);
}
/* Naming Phase N1 — provenance chip shown when the URL bar resolved a bare
name (e.g. "keet") through the petname/curated resolver. The honest-trust
signal (Zooko): the tier label says HOW it resolved, never hiding it. */
.name-prov-chip {
display: inline-flex;
align-items: center;
gap: 8px;
margin: 6px 14px 0;
padding: 3px 10px;
width: fit-content;
border-radius: 999px;
border: 1px solid var(--pear-color-line);
background: var(--pear-color-chrome-soft);
font-size: 11px;
}
.name-prov-chip .name-prov-name { font-weight: 600; color: var(--pear-color-text); }
.name-prov-chip .name-prov-tier {
font-family: "SF Mono", Menlo, monospace;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--pear-color-muted);
}
/* Tier-0 petname — the user's own saved alias (highest authority). */
.name-prov-chip.name-prov-petname { border-color: rgba(22,131,79,0.32); }
.name-prov-chip.name-prov-petname .name-prov-tier { color: var(--pear-color-success); }
/* Tier-2 multi-writer name registry (owner-signed first-claim; above curated). */
.name-prov-chip.name-prov-registry { border-color: rgba(15,118,110,0.32); }
.name-prov-chip.name-prov-registry .name-prov-tier { color: var(--pear-color-teal); }
/* Tier-2b a trusted contact's name registry (cross-user federation). */
.name-prov-chip.name-prov-contact { border-color: rgba(228,93,69,0.32); }
.name-prov-chip.name-prov-contact .name-prov-tier { color: var(--pear-color-coral); }
/* Tier-3 curated bootstrap floor (lowest authority; overridden by anything above). */
.name-prov-chip.name-prov-curated .name-prov-tier { color: var(--pear-color-link); }
/* Name-registry Settings panel rows. */
.namereg-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
/* Nostr feed (Phase 2) — your own notes. */
.nostr-feed { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.nostr-note { padding: 8px 10px; border: 1px solid rgba(23,33,27,0.08); border-radius: 8px; }
.nostr-note-content { white-space: pre-wrap; word-break: break-word; color: var(--pear-color-text); margin-bottom: 4px; }
.browse-empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 16px;
color: var(--pear-color-muted);
text-align: center;
line-height: 1.8;
padding: 40px;
}
.browse-welcome {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.browse-welcome-inner {
max-width: 520px;
text-align: center;
}
.browse-welcome-inner.start-page { width: min(720px, 100%); max-width: 720px; }
.browse-welcome-logo { font-size: 44px; margin-bottom: 14px; }
.browse-welcome-inner h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 12px; color: var(--pear-color-text); }
.browse-welcome-inner p { color: var(--pear-color-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.browse-welcome-inner .start-page-lede { margin: 0 auto 16px; max-width: 590px; }
.private-search-card {
padding: 16px;
margin-bottom: 14px;
text-align: left;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-card, 12px);
box-shadow: var(--pear-shadow-card, 0 1px 2px rgba(0, 0, 0, 0.06));
}
.private-search-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
color: var(--pear-color-text);
font-size: 14px;
font-weight: 700;
}
.private-search-provider {
padding: 3px 9px;
color: var(--pear-color-muted);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-pill, 999px);
font-size: 10px;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.private-search-form { display: flex; gap: 8px; }
.private-search-form input {
min-width: 0;
flex: 1;
padding: 12px 14px;
color: var(--pear-color-text);
background: var(--pear-color-canvas);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-control, 8px);
font: inherit;
font-size: 15px;
}
.private-search-form input:focus {
outline: none;
border-color: var(--pear-color-accent);
box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.private-search-submit {
padding: 0 20px;
color: white;
background: var(--pear-color-accent);
border: 0;
border-radius: var(--pear-radius-control, 8px);
font: inherit;
font-weight: 700;
cursor: pointer;
}
.private-search-submit:disabled { opacity: 0.45; cursor: default; }
.private-search-disclosure {
margin-top: 10px;
color: var(--pear-color-quiet);
font-size: 11px;
line-height: 1.5;
}
.start-page-p2p { margin-bottom: 14px; color: var(--pear-color-muted); font-size: 12px; line-height: 1.6; }
.browse-welcome-actions { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.browse-welcome-tip { color: var(--pear-color-quiet); font-size: 12px; padding-top: 16px; border-top: 1px solid var(--pear-color-surface-soft); }
.browse-welcome-tip strong { color: var(--pear-color-text); }
.browse-empty code {
background: var(--pear-color-surface);
padding: 1px 6px;
border-radius: 4px;
font-family: "SF Mono", Menlo, monospace;
font-size: 12px;
}
@media (max-width: 620px) {
.private-search-form { flex-direction: column; }
.private-search-submit { padding: 11px 16px; }
}
.webview { flex: 1; border: none; background: var(--pear-color-webview); width: 100%; }
/* ─── Apps tab ─── */
.catalog-loader {
display: flex;
gap: 8px;
margin: 16px 0;
}
.catalog-loader input {
flex: 1;
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 9px 14px;
font: inherit;
font-family: "SF Mono", Menlo, monospace;
font-size: 12px;
transition: border-color 120ms ease;
}
.catalog-loader input:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.16); }
.catalog-filter {
display: flex;
flex-direction: column;
gap: 10px;
margin: 12px 0 16px;
}
.catalog-search {
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 9px 14px;
font: inherit;
font-size: 13px;
transition: border-color 120ms ease;
}
.catalog-search:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.16); }
.catalog-categories {
display: flex; flex-wrap: wrap; gap: 6px;
}
.catalog-sources {
display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
margin-bottom: 12px;
}
.catalog-source {
display: inline-flex; align-items: stretch;
}
.catalog-source .catalog-chip {
border-top-right-radius: 0; border-bottom-right-radius: 0;
}
.catalog-source-x {
font-family: inherit;
font-size: 13px; line-height: 1;
color: var(--pear-color-muted);
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-left: none;
border-radius: 0 6px 6px 0;
padding: 0 8px;
cursor: pointer;
transition: color 0.1s, background 0.1s;
}
.catalog-source-x:hover { color: var(--pear-color-error); background: rgba(194,65,47,0.12); }
.app-source-tag {
margin-top: 4px;
font-size: 10px;
color: var(--pear-color-quiet);
text-transform: uppercase;
letter-spacing: 0.04em;
}
.mycatalog {
background: var(--pear-color-canvas);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 14px 16px;
margin: 8px 0 16px;
}
.mycatalog-head {
display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.mycatalog-title {
flex: 1;
min-width: 0;
}
.mycatalog-title-row,
.mycatalog-title-edit {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.mycatalog-title-input {
min-width: 220px;
max-width: 100%;
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 6px 10px;
font: inherit;
font-size: 14px;
font-weight: 600;
}
.mycatalog-title-input:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.16); }
.mycatalog-key {
margin-top: 8px;
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
color: var(--pear-color-link);
word-break: break-all;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-surface-soft);
border-radius: 6px;
padding: 6px 10px;
}
.app-card.editing {
grid-column: span 2;
}
.catalog-edit-form {
display: flex;
flex-direction: column;
gap: 8px;
}
.catalog-edit-form label {
display: flex;
flex-direction: column;
gap: 4px;
color: var(--pear-color-muted);
font-size: 11px;
font-weight: 600;
}
.catalog-edit-form input,
.catalog-edit-form textarea {
width: 100%;
box-sizing: border-box;
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 7px 10px;
font: inherit;
font-size: 12px;
}
.catalog-edit-form textarea {
min-height: 72px;
resize: vertical;
}
.catalog-edit-form input:focus,
.catalog-edit-form textarea:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.16); }
.catalog-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
@media (max-width: 760px) {
.app-card.editing { grid-column: auto; }
.catalog-form-grid { grid-template-columns: 1fr; }
}
.apps-error {
color: var(--pear-color-error);
background: rgba(194,65,47,0.08);
border: 1px solid rgba(194,65,47,0.28);
padding: 10px 14px;
border-radius: 8px;
margin-bottom: 12px;
font-family: "SF Mono", Menlo, monospace;
font-size: 12px;
}
.apps-ok {
color: var(--pear-color-success);
background: rgba(22,131,79,0.08);
border: 1px solid rgba(22,131,79,0.24);
padding: 10px 14px;
border-radius: 8px;
margin-bottom: 12px;
font-size: 12px;
}
.btn {
background: var(--pear-color-surface-soft);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 7px 16px;
cursor: pointer;
font: inherit;
font-size: 12px;
transition: all 120ms ease;
}
.btn:hover:not(:disabled) { background: var(--pear-color-line); border-color: var(--pear-color-line-strong); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.primary {
background: var(--pear-color-surface);
border-color: var(--pear-color-text);
color: var(--pear-color-text);
font-weight: 600;
}
.btn.primary:hover:not(:disabled) { background: var(--pear-color-surface-soft); border-color: var(--pear-color-text); }
.btn.primary:disabled {
background: var(--pear-color-surface-soft);
border-color: var(--pear-color-line);
color: var(--pear-color-muted);
opacity: 1;
}
.btn.subtle { background: transparent; border-color: var(--pear-color-line); color: var(--pear-color-muted); }
.btn.subtle:hover:not(:disabled) { background: var(--pear-color-surface-soft); color: var(--pear-color-text); }
.btn.small { padding: 3px 10px; font-size: 11px; }
.app-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 12px;
}
.app-card {
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 16px;
display: flex;
gap: 14px;
align-items: flex-start;
transition: all 160ms ease;
}
.app-card:hover { border-color: var(--pear-color-line-strong); transform: translateY(-1px); }
.app-icon {
width: 52px;
height: 52px;
border-radius: 8px;
flex-shrink: 0;
background: var(--pear-color-surface);
}
.app-icon-fallback {
display: flex;
align-items: center;
justify-content: center;
color: var(--pear-color-text);
font-size: 22px;
font-weight: 700;
text-transform: uppercase;
background: linear-gradient(135deg, var(--pear-color-accent-hover), var(--pear-color-link));
box-shadow: inset 0 1px 0 rgba(23,33,27,0.10);
}
.app-info { flex: 1; min-width: 0; }
.app-name { font-weight: 600; color: var(--pear-color-text); margin-bottom: 3px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.app-badge {
font-size: 9px;
font-weight: 700;
letter-spacing: 0.8px;
padding: 2px 6px;
border-radius: 4px;
background: rgba(15,118,110,0.16);
color: var(--pear-color-link);
border: 1px solid rgba(15,118,110,0.28);
font-family: "SF Mono", Menlo, monospace;
}
.app-desc {
font-size: 12px;
color: var(--pear-color-muted);
margin-bottom: 6px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
line-height: 1.5;
}
.app-meta {
font-size: 11px;
color: var(--pear-color-quiet);
font-family: "SF Mono", Menlo, monospace;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.app-actions {
display: flex;
flex-direction: column;
gap: 6px;
flex-shrink: 0;
}
.app-actions-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.app-info-copy { min-width: 0; }
/* ─── Site editor ─── */
.site-editor-bar {
display: flex;
gap: 8px;
align-items: center;
margin-bottom: 20px;
padding-bottom: 14px;
border-bottom: 1px solid var(--pear-color-line);
}
.spacer { flex: 1; }
.site-name-input {
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 8px 14px;
font: inherit;
font-size: 15px;
font-weight: 600;
min-width: 260px;
}
.site-name-input:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.16); }
.site-published {
background: linear-gradient(180deg, rgba(22,131,79,0.10), rgba(22,131,79,0.03));
border: 1px solid rgba(22,131,79,0.22);
padding: 12px 16px;
border-radius: 8px;
margin-bottom: 20px;
display: flex;
flex-direction: column;
gap: 10px;
}
.site-published-row {
display: flex;
align-items: center;
gap: 10px;
}
.site-published code {
flex: 1;
background: var(--pear-color-surface);
padding: 5px 10px;
border-radius: 6px;
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
color: var(--pear-color-success);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.site-published-row.subtle { opacity: 0.82; }
.site-published-row.subtle span { font-size: 11px; color: var(--pear-color-muted); }
.key-mono {
flex: 1;
background: var(--pear-color-surface) !important;
padding: 4px 8px !important;
border-radius: 4px;
font-family: "SF Mono", Menlo, monospace;
font-size: 10px !important;
color: var(--pear-color-muted) !important;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.site-save-warning {
font-size: 12px;
color: var(--pear-color-warning);
background: rgba(185,120,18,0.08);
border: 1px solid rgba(185,120,18,0.22);
padding: 8px 12px;
border-radius: 6px;
line-height: 1.5;
}
.site-save-warning strong { color: var(--pear-color-text); }
.settings-card.danger { border-color: rgba(194,65,47,0.28); background: rgba(194,65,47,0.04); }
.btn.danger { border-color: rgba(194,65,47,0.34) !important; color: var(--pear-color-error) !important; }
.btn.danger:hover:not(:disabled) { background: rgba(194,65,47,0.10) !important; }
.site-pin-row {
font-size: 12px;
padding-top: 10px;
border-top: 1px solid rgba(22, 131, 79, 0.18);
}
.site-pin-row.ok { color: var(--pear-color-success); }
.site-pin-row.warn { color: var(--pear-color-warning); border-top-color: rgba(185,120,18,0.18); }
.site-pin-row code {
background: var(--pear-color-surface);
padding: 1px 6px;
border-radius: 3px;
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
color: inherit;
}
.blocks { display: flex; flex-direction: column; gap: 10px; }
.block {
background: var(--pear-color-chrome-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 12px 14px;
transition: border-color 120ms ease;
}
.block:focus-within { border-color: var(--pear-color-line-strong); }
.block-header {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 10px;
font-size: 11px;
}
.block-type {
text-transform: uppercase;
letter-spacing: 0.6px;
color: var(--pear-color-muted);
font-weight: 700;
font-family: "SF Mono", Menlo, monospace;
font-size: 10px;
}
.block-fields { display: flex; gap: 6px; flex-wrap: wrap; }
.block-fields input, .block-fields select, .block textarea {
flex: 1;
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 6px;
padding: 7px 12px;
font: inherit;
font-size: 13px;
font-family: inherit;
transition: border-color 120ms ease;
}
.block-fields select { flex: 0; min-width: 64px; }
.block textarea {
width: 100%;
resize: vertical;
font-family: "SF Mono", Menlo, monospace;
font-size: 12px;
min-height: 56px;
}
.block input:focus, .block select:focus, .block textarea:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.16); }
.add-block-row {
margin-top: 20px;
padding-top: 16px;
border-top: 1px dashed var(--pear-color-line);
display: flex;
gap: 6px;
align-items: center;
flex-wrap: wrap;
}
/* ─── Library tab ─── */
.library-list {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 16px;
}
.library-row {
background: var(--pear-color-chrome-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 10px 14px;
display: flex;
align-items: center;
gap: 10px;
transition: border-color 120ms ease;
}
.library-row:hover { border-color: var(--pear-color-line-strong); }
.library-row-main { flex: 1; min-width: 0; }
.library-title { color: var(--pear-color-text); font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.library-url {
color: var(--pear-color-quiet);
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 2px;
}
.library-history-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
/* ─── Settings tab ─── */
.settings-card {
background: var(--pear-color-chrome-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 14px 16px;
margin-bottom: 16px;
}
.settings-row {
display: flex;
align-items: center;
gap: 14px;
padding: 8px 0;
}
.settings-row + .settings-row { border-top: 1px solid var(--pear-color-surface-soft); }
.settings-row > div:first-child { flex: 1; min-width: 0; }
/* When a row holds more than one field (e.g. Author + Categories on the Submit
form), every .profile-field must flex equally — the :first-child rule above
only grows the first, leaving later fields to collapse and overlap. */
.settings-row > .profile-field { flex: 1; min-width: 0; }
.settings-label { color: var(--pear-color-text); font-weight: 500; font-size: 13px; margin-bottom: 2px; }
.settings-subtle { color: var(--pear-color-muted); font-size: 12px; }
.theme-segmented {
display: inline-flex;
align-items: center;
gap: 2px;
padding: 2px;
border: 1px solid var(--pear-color-line);
border-radius: 8px;
background: var(--pear-color-surface);
flex-shrink: 0;
}
.theme-segment {
min-width: 66px;
height: 28px;
border: 1px solid transparent;
border-radius: 6px;
background: transparent;
color: var(--pear-color-muted);
cursor: pointer;
font: inherit;
font-size: 12px;
transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.theme-segment:hover { color: var(--pear-color-text); background: var(--pear-color-surface-soft); }
.theme-segment.active {
background: var(--pear-color-accent-soft);
border-color: rgba(22, 131, 79, 0.22);
color: var(--pear-color-text);
font-weight: 650;
}
.settings-code {
display: block;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 6px;
padding: 6px 10px;
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
color: var(--pear-color-success);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 4px;
}
.seed-phrase {
background: rgba(185,120,18,0.08);
border: 1px solid rgba(185,120,18,0.24);
color: var(--pear-color-warning);
padding: 14px;
border-radius: 8px;
font-family: "SF Mono", Menlo, monospace;
font-size: 14px;
line-height: 1.8;
margin: 12px 0;
word-spacing: 4px;
}
.settings-warning {
color: var(--pear-color-error);
font-size: 12px;
padding: 8px 0;
}
/* ─── Debug tab ─── */
.boot-log {
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
color: var(--pear-color-muted);
background: var(--pear-color-surface);
padding: 14px;
border-radius: 8px;
border: 1px solid var(--pear-color-line);
white-space: pre-wrap;
max-height: 360px;
overflow: auto;
line-height: 1.6;
}
/* ─── Animations ─── */
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes logo-breathe {
0%, 100% { filter: drop-shadow(0 8px 18px rgba(22,131,79,0.16)); }
50% { filter: drop-shadow(0 10px 26px rgba(22,131,79,0.24)); }
}
/* --- Modal overlay (login consent + future trust prompts) ----------- */
.modal-overlay {
position: fixed; inset: 0;
background: rgba(23, 33, 27, 0.42);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
animation: modal-fade 0.15s ease-out;
}
.modal-card {
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 22px;
width: min(440px, 92vw);
max-height: 88vh;
overflow-y: auto;
box-shadow: 0 18px 48px rgba(24, 36, 30, 0.16);
animation: modal-rise 0.18s ease-out;
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
/* --- Standalone app prelaunch warning --- */
.standalone-prelaunch-card {
width: min(420px, 92vw);
}
.standalone-prelaunch-kicker {
color: var(--pear-color-warning);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
margin-bottom: 8px;
}
.standalone-prelaunch-card h2 {
color: var(--pear-color-text);
font-size: 20px;
line-height: 1.25;
margin: 0 0 10px;
}
.standalone-prelaunch-card p {
color: var(--pear-color-text);
font-size: 13px;
line-height: 1.55;
margin: 0 0 10px;
}
.standalone-prelaunch-trust {
background: rgba(185, 120, 18, 0.08);
border: 1px solid rgba(185, 120, 18, 0.22);
border-radius: 8px;
padding: 10px 12px;
}
.standalone-prelaunch-link {
display: block;
color: var(--pear-color-muted);
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 6px;
font-family: "SF Mono", Menlo, monospace;
font-size: 11px;
padding: 8px 10px;
word-break: break-all;
}
.standalone-prelaunch-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 16px;
}
/* --- Login consent --- */
.login-consent .login-header {
display: flex; gap: 12px; align-items: flex-start;
margin-bottom: 14px;
}
.login-app-icon {
width: 44px; height: 44px;
background: linear-gradient(135deg, var(--pear-color-amber-soft), var(--pear-color-coral-soft));
color: var(--pear-color-canvas);
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 20px;
flex-shrink: 0;
}
.login-app-name { font-size: 17px; font-weight: 600; color: var(--pear-color-text); }
.login-app-sub { font-size: 13px; color: var(--pear-color-muted); }
.login-app-key {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px; color: var(--pear-color-quiet); margin-top: 4px;
}
.login-reason {
font-size: 13px; color: var(--pear-color-muted);
background: rgba(15, 118, 110, 0.08);
border-left: 3px solid var(--pear-color-link);
padding: 10px 12px;
border-radius: 4px;
margin-bottom: 16px;
font-style: italic;
}
.login-section-label {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.8px;
color: var(--pear-color-quiet);
margin: 14px 0 8px;
text-transform: uppercase;
}
.login-identity {
display: flex; align-items: center; gap: 12px;
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 10px 12px;
}
.login-identity-avatar {
width: 32px; height: 32px;
background: rgba(185, 120, 18, 0.16);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 16px;
}
.login-identity-label { font-size: 14px; color: var(--pear-color-text); font-weight: 500; }
.login-identity-key {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px; color: var(--pear-color-muted);
}
.login-scopes { display: flex; flex-direction: column; gap: 6px; }
.login-scope {
display: flex; gap: 10px; align-items: flex-start;
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 10px 12px;
cursor: pointer;
transition: border-color 0.1s;
}
.login-scope.on { border-color: var(--pear-color-success); background: rgba(22, 131, 79, 0.08); }
.login-scope input { margin-top: 3px; accent-color: var(--pear-color-success); }
.login-scope-label { font-size: 14px; color: var(--pear-color-text); }
.login-scope-detail { font-size: 11px; color: var(--pear-color-muted); margin-top: 2px; }
.login-scope-empty {
font-size: 13px; color: var(--pear-color-muted); font-style: italic;
padding: 10px 12px;
background: var(--pear-color-surface-soft);
border-radius: 8px;
}
.login-existing {
font-size: 11px; color: var(--pear-color-muted);
margin-top: 10px;
padding: 8px 10px;
background: rgba(185, 120, 18, 0.06);
border: 1px solid rgba(185, 120, 18, 0.20);
border-radius: 8px;
}
.login-actions {
display: flex; gap: 10px; justify-content: flex-end;
margin-top: 18px;
}
/* --- Apps catalog UX additions ------------------------------------- */
.catalog-recent {
display: flex; flex-wrap: wrap; gap: 6px;
margin-bottom: 8px;
}
.catalog-chip {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px;
background: var(--pear-color-surface-soft);
color: var(--pear-color-muted);
border: 1px solid var(--pear-color-line);
border-radius: 6px;
padding: 4px 9px;
cursor: pointer;
transition: border-color 0.1s, color 0.1s, background 0.1s;
}
.catalog-chip:hover { border-color: var(--pear-color-quiet); color: var(--pear-color-text); }
.catalog-chip.active { background: rgba(185, 120, 18, 0.12); color: var(--pear-color-warning); border-color: rgba(185, 120, 18, 0.32); }
.catalog-loading {
display: flex; align-items: center; gap: 10px;
color: var(--pear-color-muted);
background: var(--pear-color-surface);
border: 1px dashed var(--pear-color-line);
border-radius: 8px;
padding: 14px 16px;
margin: 8px 0;
font-size: 13px;
}
.spinner {
width: 14px; height: 14px;
border: 2px solid var(--pear-color-line);
border-top-color: var(--pear-color-warning);
border-radius: 50%;
animation: spin 0.7s linear infinite;
flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.catalog-empty {
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 16px;
margin: 8px 0;
font-size: 13px;
line-height: 1.55;
color: var(--pear-color-muted);
}
.catalog-empty strong { color: var(--pear-color-text); display: block; margin-bottom: 4px; }
/* --- Restore-from-phrase form -------------------------------------- */
.restore-form {
margin-top: 10px;
padding: 12px;
border: 1px dashed var(--pear-color-line);
border-radius: 8px;
background: rgba(194, 65, 47, 0.04);
}
.restore-textarea {
width: 100%;
background: var(--pear-color-canvas);
color: var(--pear-color-text);
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 13px;
border: 1px solid var(--pear-color-line);
border-radius: 6px;
padding: 10px;
resize: vertical;
min-height: 64px;
}
.restore-textarea:focus { outline: none; border-color: var(--pear-color-warning); }
.restore-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin: 10px 0;
}
/* --- Settings sub-section additions: Profile / Grants / Relays ----- */
.profile-field { width: 100%; }
.profile-input {
width: 100%;
background: var(--pear-color-canvas);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 6px;
padding: 8px 10px;
font-family: inherit;
font-size: 13px;
resize: vertical;
}
.profile-input:focus { outline: none; border-color: var(--pear-color-warning); }
.settings-row-actions {
justify-content: flex-end;
gap: 8px;
}
.settings-pill {
display: inline-block;
background: rgba(185, 120, 18, 0.16);
color: var(--pear-color-warning);
font-size: 10px;
font-weight: 600;
letter-spacing: 0.5px;
padding: 2px 6px;
border-radius: 4px;
margin-left: 8px;
text-transform: uppercase;
vertical-align: middle;
}
.btn.danger { color: var(--pear-color-error); border-color: rgba(194, 65, 47, 0.34); }
.btn.danger:hover:not(:disabled) { background: rgba(194, 65, 47, 0.08); }
/* --- Tab strip ----------------------------------------------------- */
.tabstrip {
display: flex;
align-items: center;
gap: 2px;
padding: 6px 10px 0;
background: var(--pear-color-canvas);
border-bottom: 1px solid var(--pear-color-surface);
overflow-x: auto;
flex-shrink: 0;
}
.tabchip {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--pear-color-surface);
color: var(--pear-color-muted);
border: 1px solid var(--pear-color-line);
border-bottom-color: transparent;
border-radius: 8px 8px 0 0;
padding: 6px 10px;
font-size: 12px;
cursor: pointer;
height: 33px;
max-width: 240px;
min-width: 128px;
flex-shrink: 0;
position: relative;
bottom: -1px;
transition: background 0.1s, color 0.1s, border-color 0.1s;
}
.tabchip:hover { background: var(--pear-color-surface-soft); color: var(--pear-color-text); }
.tabchip.active {
background:
linear-gradient(var(--pear-color-gradient-fill), var(--pear-color-gradient-fill)) padding-box,
linear-gradient(120deg, #111827, #12b886 48%, #8b5cf6) border-box;
color: var(--pear-color-text);
border-color: transparent;
border-bottom-color: var(--pear-color-gradient-fill);
z-index: 2;
}
.tabchip.active::after {
content: "";
position: absolute;
left: 8px;
right: 8px;
bottom: -1px;
height: 1px;
background: var(--pear-color-gradient-fill);
}
.tabchip.pinned { border-color: rgba(15, 118, 110, 0.34); min-width: 92px; max-width: 180px; }
.tabchip.pinned.active { border-color: transparent; }
.tabchip-pin {
width: 14px;
height: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
color: var(--pear-color-quiet);
font-size: 9px;
flex-shrink: 0;
transition: background 0.1s, color 0.1s;
}
.tabchip-pin:hover { background: rgba(15, 118, 110, 0.12); color: var(--pear-color-link); }
.tabchip-pin.on { color: var(--pear-color-link); }
.tabchip-title {
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 500;
}
.tabchip.active .tabchip-title { font-weight: 650; }
.tabchip-close {
width: 16px;
height: 16px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
font-size: 14px;
color: var(--pear-color-quiet);
flex-shrink: 0;
transition: background 0.1s, color 0.1s;
}
.tabchip-close:hover { background: rgba(194, 65, 47, 0.12); color: var(--pear-color-error); }
.tabchip-new {
background: transparent;
color: var(--pear-color-quiet);
border: none;
font-size: 18px;
width: 28px;
height: 28px;
margin-left: 4px;
border-radius: 6px;
cursor: pointer;
flex-shrink: 0;
}
.tabchip-new:hover { background: var(--pear-color-surface-soft); color: var(--pear-color-text); }
.tabchip-new:disabled { opacity: 0.3; cursor: default; }
.tabchip-new:disabled:hover { background: transparent; color: var(--pear-color-quiet); }
.tabchip-restore { font-size: 15px; }
/* --- Per-tab iframe stage ------------------------------------------ */
.browse-workspace {
flex: 1;
min-height: 0;
min-width: 0;
display: flex;
overflow: hidden;
position: relative;
}
.browse-stage {
flex: 1;
min-width: 0;
position: relative;
overflow: hidden;
display: flex;
}
.browse-stage > iframe { flex: 1; }
.browse-stage .webview.hidden {
/* Keep the iframe alive so its state survives tab switches, but
hide it without unmounting so we don't pay the proxy round-trip
each time the user flips tabs. */
position: absolute;
inset: 0;
visibility: hidden;
pointer-events: none;
}
.browse-stage .browse-welcome { flex: 1; display: flex; align-items: center; justify-content: center; overflow-y: auto; }
.browse-stage .browse-welcome-inner.start-page { margin: auto; }
/* --- Ask Browser --------------------------------------------------- */
.urlbar .ask-browser-toggle {
white-space: nowrap;
font-weight: 650;
color: var(--pear-color-link);
}
.urlbar .ask-browser-toggle.active {
color: var(--pear-color-text);
border-color: transparent;
background:
linear-gradient(var(--pear-color-gradient-fill), var(--pear-color-gradient-fill)) padding-box,
linear-gradient(135deg, #0f766e, #8b5cf6) border-box;
}
.ask-browser-panel {
width: 380px;
min-width: 320px;
max-width: 42vw;
min-height: 0;
display: flex;
flex-direction: column;
background: var(--pear-color-canvas);
border-left: 1px solid var(--pear-color-line);
color: var(--pear-color-text);
box-shadow: -14px 0 36px rgba(15, 23, 42, 0.08);
z-index: 5;
}
.ask-browser-header {
padding: 14px 14px 12px;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
border-bottom: 1px solid var(--pear-color-line);
}
.ask-browser-title { font-size: 16px; font-weight: 750; letter-spacing: -0.2px; }
.ask-browser-local {
margin-top: 4px;
display: flex;
align-items: center;
gap: 6px;
color: var(--pear-color-muted);
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.07em;
}
.ask-browser-local span {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--pear-color-success);
box-shadow: 0 0 8px rgba(22, 163, 74, 0.5);
}
.ask-browser-header-actions { display: flex; align-items: center; gap: 5px; }
.ask-browser-text-button,
.ask-browser-close {
border: 0;
background: transparent;
color: var(--pear-color-muted);
cursor: pointer;
font: inherit;
}
.ask-browser-text-button { font-size: 11px; padding: 5px 7px; }
.ask-browser-close { width: 28px; height: 28px; border-radius: 7px; font-size: 20px; line-height: 1; }
.ask-browser-text-button:hover:not(:disabled),
.ask-browser-close:hover { background: var(--pear-color-surface-soft); color: var(--pear-color-text); }
.ask-browser-text-button:disabled { opacity: 0.35; cursor: default; }
.ask-browser-model-row {
padding: 10px 14px;
border-bottom: 1px solid var(--pear-color-line);
}
.ask-browser-model-row label,
.ask-browser-source-kicker {
display: block;
margin-bottom: 5px;
color: var(--pear-color-quiet);
font-size: 9px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.ask-browser-model-row select {
width: 100%;
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 7px 9px;
font: inherit;
font-size: 11px;
}
.ask-browser-model-meta { margin-top: 5px; color: var(--pear-color-quiet); font-size: 10px; }
.ask-browser-source {
margin: 10px 14px 0;
padding: 9px 10px;
border: 1px solid rgba(15, 118, 110, 0.28);
border-radius: 9px;
background: rgba(15, 118, 110, 0.06);
min-width: 0;
}
.ask-browser-source-kicker { color: var(--pear-color-link); margin-bottom: 4px; }
.ask-browser-source-title {
overflow: hidden;
color: var(--pear-color-text);
font-size: 11px;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.ask-browser-source-url {
margin-top: 2px;
overflow: hidden;
color: var(--pear-color-quiet);
font-family: "SF Mono", Menlo, monospace;
font-size: 9px;
text-overflow: ellipsis;
white-space: nowrap;
}
.ask-browser-source-meta { margin-top: 5px; color: var(--pear-color-muted); font-size: 9px; }
.ask-browser-transcript {
flex: 1;
min-height: 120px;
overflow-y: auto;
padding: 14px;
}
.ask-browser-empty {
min-height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
color: var(--pear-color-muted);
}
.ask-browser-spark { color: var(--pear-color-link); font-size: 24px; margin-bottom: 9px; }
.ask-browser-empty-title { color: var(--pear-color-text); font-size: 13px; font-weight: 700; }
.ask-browser-empty-copy { max-width: 270px; margin-top: 6px; font-size: 11px; line-height: 1.5; }
.ask-browser-quick-grid { width: 100%; margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ask-browser-quick-grid button {
min-height: 42px;
padding: 7px;
color: var(--pear-color-muted);
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
cursor: pointer;
font: inherit;
font-size: 10px;
line-height: 1.3;
}
.ask-browser-quick-grid button:hover { color: var(--pear-color-text); border-color: var(--pear-color-line-strong); }
.ask-browser-turn + .ask-browser-turn { margin-top: 14px; }
.ask-browser-message {
padding: 9px 10px;
border-radius: 10px;
font-size: 12px;
line-height: 1.55;
white-space: pre-wrap;
word-break: break-word;
}
.ask-browser-user {
margin-left: 28px;
background: var(--pear-color-accent-soft);
border: 1px solid rgba(15, 118, 110, 0.18);
}
.ask-browser-assistant {
margin-top: 7px;
margin-right: 18px;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
}
.ask-browser-assistant.error,
.ask-browser-error { color: var(--pear-color-error); }
.ask-browser-thinking { color: var(--pear-color-muted); font-style: italic; }
.ask-browser-interrupted { color: var(--pear-color-muted); font-style: italic; }
.ask-browser-turn-source {
margin: 5px 20px 0 8px;
overflow: hidden;
color: var(--pear-color-quiet);
font-size: 9px;
text-overflow: ellipsis;
white-space: nowrap;
}
.ask-browser-stats { margin: 5px 20px 0 0; color: var(--pear-color-quiet); font-size: 9px; text-align: right; }
.ask-browser-composer {
padding: 10px 12px 12px;
border-top: 1px solid var(--pear-color-line);
background: var(--pear-color-chrome-soft);
}
.ask-browser-composer textarea {
width: 100%;
min-height: 68px;
max-height: 180px;
resize: vertical;
box-sizing: border-box;
background: var(--pear-color-surface);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: 10px;
padding: 9px 10px;
font: inherit;
font-size: 12px;
line-height: 1.45;
}
.ask-browser-composer textarea:focus { outline: none; border-color: var(--pear-color-link); box-shadow: 0 0 0 2px rgba(15,118,110,0.13); }
.ask-browser-composer textarea:disabled { opacity: 0.55; }
.ask-browser-error { margin-bottom: 7px; font-size: 10px; line-height: 1.4; }
.ask-browser-live-status {
min-height: 14px;
margin-bottom: 4px;
color: var(--pear-color-muted);
font-size: 9px;
}
.ask-browser-compose-row { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ask-browser-compose-row > span { color: var(--pear-color-quiet); font-size: 9px; }
.ask-browser-send,
.ask-browser-stop {
min-width: 68px;
padding: 7px 12px;
border-radius: 8px;
cursor: pointer;
font: inherit;
font-size: 11px;
font-weight: 700;
}
.ask-browser-send { color: white; background: linear-gradient(135deg, #0f766e, #7c3aed); border: 0; }
.ask-browser-stop { color: var(--pear-color-error); background: transparent; border: 1px solid rgba(194, 65, 47, 0.35); }
.ask-browser-send:disabled,
.ask-browser-stop:disabled { opacity: 0.42; cursor: default; }
@media (max-width: 760px) {
.ask-browser-panel {
position: absolute;
inset: 0 0 0 auto;
width: min(92vw, 380px);
max-width: none;
min-width: 0;
box-shadow: -18px 0 44px rgba(0, 0, 0, 0.3);
}
}
/* ─── QVAC Local AI widget (blank new-tab surface) ─── */
.qvac-widget {
margin-top: 22px;
text-align: left;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-card, 12px);
padding: 14px 16px;
box-shadow: var(--pear-shadow-card, 0 1px 2px rgba(0, 0, 0, 0.06));
}
.qvac-widget.unavailable { opacity: 0.75; }
.qvac-widget-header {
display: flex;
align-items: center;
gap: 8px;
}
.qvac-widget-spark {
background: linear-gradient(135deg, #0f766e, #7c3aed);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-size: 15px;
}
.qvac-widget-title {
font-weight: 700;
font-size: 14px;
color: var(--pear-color-text);
letter-spacing: -0.2px;
}
.qvac-widget-badge {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.4px;
color: var(--pear-color-muted);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-pill, 999px);
padding: 2px 8px;
}
.qvac-widget-header-space { flex: 1; }
.qvac-widget-text-button {
background: transparent;
border: 0;
color: var(--pear-color-muted);
font-size: 12px;
cursor: pointer;
padding: 2px 4px;
}
.qvac-widget-text-button:hover { color: var(--pear-color-text); }
.qvac-widget-status {
margin-top: 4px;
font-size: 12px;
color: var(--pear-color-muted);
}
.qvac-widget-transcript {
margin-top: 12px;
max-height: 260px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.qvac-widget-turn { display: flex; flex-direction: column; gap: 4px; }
.qvac-widget-question {
align-self: flex-end;
max-width: 88%;
background: var(--pear-color-surface-soft);
color: var(--pear-color-text);
border-radius: 10px 10px 2px 10px;
padding: 7px 10px;
font-size: 13px;
line-height: 1.5;
}
.qvac-widget-answer {
align-self: flex-start;
max-width: 92%;
color: var(--pear-color-text);
font-size: 13px;
line-height: 1.6;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.qvac-widget-answer.error { color: var(--pear-color-error); }
.qvac-widget-thinking { color: var(--pear-color-muted); font-style: italic; }
.qvac-widget-stats { font-size: 11px; color: var(--pear-color-quiet, var(--pear-color-muted)); }
.qvac-widget-quick-grid {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 12px;
}
.qvac-widget-quick-grid button {
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-pill, 999px);
color: var(--pear-color-muted);
font-size: 12px;
padding: 5px 11px;
cursor: pointer;
}
.qvac-widget-quick-grid button:hover {
color: var(--pear-color-text);
border-color: var(--pear-color-line-strong, var(--pear-color-line));
}
.qvac-widget-composer {
display: flex;
gap: 8px;
margin-top: 12px;
}
.qvac-widget-composer input {
flex: 1;
background: var(--pear-color-canvas);
color: var(--pear-color-text);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-control, 8px);
padding: 8px 12px;
font-size: 13px;
}
.qvac-widget-composer input:focus {
outline: none;
border-color: var(--pear-color-accent);
}
.qvac-widget-send,
.qvac-widget-stop {
border-radius: var(--pear-radius-control, 8px);
font-size: 13px;
font-weight: 600;
padding: 8px 16px;
cursor: pointer;
}
.qvac-widget-send { color: white; background: linear-gradient(135deg, #0f766e, #7c3aed); border: 0; }
.qvac-widget-stop { color: var(--pear-color-error); background: transparent; border: 1px solid rgba(194, 65, 47, 0.35); }
.qvac-widget-send:disabled,
.qvac-widget-stop:disabled { opacity: 0.42; cursor: default; }
.qvac-widget-footer {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
}
.qvac-widget-model {
background: var(--pear-color-surface-soft);
color: var(--pear-color-muted);
border: 1px solid var(--pear-color-line);
border-radius: var(--pear-radius-control, 8px);
font-size: 11px;
padding: 3px 6px;
max-width: 220px;
}
.qvac-widget-model-meta { font-size: 11px; color: var(--pear-color-quiet, var(--pear-color-muted)); }
.qvac-widget-live {
margin-left: auto;
font-size: 11px;
color: var(--pear-color-muted);
}
/* Devtools hint button */
.urlbar .nav[title^="Devtools"] {
font-family: ui-monospace, Menlo, monospace;
font-size: 12px;
}
/* --- Connected Apps swarm-grant subsection ------------------------- */
.settings-subsection-label {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.8px;
color: var(--pear-color-quiet);
margin: 14px 0 8px;
text-transform: uppercase;
}
.settings-subsection-label:first-child { margin-top: 0; }
.swarm-grant-app {
margin-top: 6px;
padding: 10px 12px;
border: 1px solid var(--pear-color-surface-soft);
border-radius: 8px;
}
.swarm-grant-app + .swarm-grant-app { margin-top: 8px; }
.swarm-grant-row {
margin: 6px 0 0;
padding: 6px 0;
border-top: 1px dashed var(--pear-color-surface-soft);
}
.swarm-grant-row:first-of-type { border-top: 1px dashed var(--pear-color-surface-soft); }
/* --- Permission Center -------------------------------------------------- */
.permission-summary {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
margin-bottom: 12px;
}
.permission-stat {
border: 1px solid var(--pear-color-surface-soft);
border-radius: 8px;
padding: 10px;
}
.permission-stat-value {
color: var(--pear-color-text);
font-size: 20px;
font-weight: 700;
line-height: 1;
}
.permission-stat-label {
color: var(--pear-color-muted);
font-size: 11px;
margin-top: 5px;
}
.permission-app {
border-top: 1px solid var(--pear-color-surface-soft);
padding: 14px 0;
}
.permission-app:first-of-type { border-top: 0; padding-top: 0; }
.permission-app-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.permission-cap-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 14px;
}
.permission-cap {
min-width: 0;
border-top: 1px dashed var(--pear-color-surface-soft);
padding-top: 8px;
}
.permission-cap-label {
color: var(--pear-color-muted);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.6px;
margin-bottom: 6px;
}
.permission-chip-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 6px;
}
.permission-chip {
display: inline-flex;
align-items: center;
min-height: 20px;
padding: 2px 8px;
border: 1px solid rgba(15, 118, 110, 0.30);
border-radius: 999px;
color: var(--pear-color-link);
background: rgba(15, 118, 110, 0.08);
font-size: 11px;
line-height: 1.3;
}
.permission-chip.warn {
color: var(--pear-color-warning);
border-color: rgba(185, 120, 18, 0.30);
background: rgba(185, 120, 18, 0.08);
}
.permission-topic {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 0;
border-top: 1px dashed var(--pear-color-surface-soft);
}
.permission-topic:first-of-type { border-top: 0; }
@media (max-width: 760px) {
.permission-summary,
.permission-cap-grid {
grid-template-columns: 1fr;
}
.permission-app-head,
.permission-topic {
align-items: stretch;
flex-direction: column;
}
}
/* --- Onboarding (first-launch overlay) -------------------------------- */
.onboarding-overlay { z-index: 10000; }
.onboarding-card {
width: min(580px, 92vw);
padding: 32px 32px 22px;
display: flex;
flex-direction: column;
gap: 8px;
}
.onb-slide { display: flex; flex-direction: column; gap: 14px; }
.onb-slide-welcome { align-items: center; text-align: center; }
.onb-hero { padding: 8px 0 4px; }
.onb-title {
font-size: 28px;
font-weight: 700;
letter-spacing: -0.6px;
color: var(--pear-color-text);
}
.onb-title strong { font-weight: 800; }
.onb-stepname {
font-size: 22px;
font-weight: 700;
letter-spacing: -0.4px;
color: var(--pear-color-text);
margin-bottom: 4px;
}
.onb-subtitle {
font-size: 16px;
color: var(--pear-color-muted);
margin-bottom: 12px;
}
.onb-blurb {
font-size: 14px;
color: var(--pear-color-muted);
line-height: 1.6;
max-width: 480px;
}
.onb-foot {
margin-top: 8px;
padding: 12px 14px;
background: rgba(15, 118, 110, 0.06);
border-left: 3px solid var(--pear-color-link);
border-radius: 4px;
font-size: 13px;
}
.onb-foot em { color: var(--pear-color-link); font-style: normal; }
/* Pitch grid (slide 2) */
.onb-pitch-grid {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
margin: 10px 0;
}
.onb-pitch {
display: flex; align-items: flex-start; gap: 14px;
padding: 14px;
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
}
.onb-pitch-icon { font-size: 26px; flex-shrink: 0; line-height: 1; padding-top: 2px; }
.onb-pitch-title { font-size: 14px; font-weight: 600; color: var(--pear-color-text); margin-bottom: 2px; }
.onb-pitch-body { font-size: 13px; color: var(--pear-color-muted); line-height: 1.5; }
/* First-site grid (slide 3) */
.onb-sites {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin: 8px 0 12px;
}
.onb-site-card {
display: flex; align-items: center; gap: 12px;
padding: 12px;
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
cursor: pointer;
text-align: left;
transition: border-color 0.12s, background 0.12s, transform 0.08s;
font-family: inherit;
width: 100%;
}
.onb-site-card:hover {
border-color: var(--pear-color-warning);
background: var(--pear-color-amber-soft);
transform: translateY(-1px);
}
.onb-site-icon {
width: 38px; height: 38px;
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 20px;
flex-shrink: 0;
}
.onb-site-text { flex: 1; min-width: 0; }
.onb-site-title { font-size: 13px; font-weight: 600; color: var(--pear-color-text); margin-bottom: 2px; }
.onb-site-subtitle { font-size: 11px; color: var(--pear-color-muted); line-height: 1.4; }
/* Actions */
.onb-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
margin-top: 12px;
}
.onb-actions .btn.subtle { margin-right: auto; }
.onb-skip {
background: none;
border: none;
color: var(--pear-color-muted);
font-size: 12px;
cursor: pointer;
text-decoration: underline;
font-family: inherit;
}
.onb-skip:hover { color: var(--pear-color-text); }
/* Pagination dots */
.onb-dots {
display: flex;
justify-content: center;
gap: 6px;
padding-top: 12px;
}
.onb-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: var(--pear-color-line);
transition: background 0.12s, transform 0.12s;
}
.onb-dot.on { background: var(--pear-color-warning); transform: scale(1.4); }
@media (max-width: 520px) {
.onb-sites { grid-template-columns: 1fr; }
}
/* --- About-this-site panel ---------------------------------------------- */
.about-card {
width: min(560px, 92vw);
padding: 22px 24px 18px;
display: flex; flex-direction: column; gap: 6px;
}
.about-head {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 8px;
}
.about-title { font-size: 17px; font-weight: 600; color: var(--pear-color-text); }
.about-close {
background: transparent; border: none;
color: var(--pear-color-muted); font-size: 22px; line-height: 1;
width: 28px; height: 28px;
border-radius: 6px;
cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: background 0.12s, color 0.12s;
}
.about-close:hover { background: var(--pear-color-surface-soft); color: var(--pear-color-text); }
.about-section-label {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.8px;
color: var(--pear-color-quiet);
margin: 14px 0 4px;
text-transform: uppercase;
}
.about-row {
display: flex; align-items: center; gap: 8px;
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 8px 10px;
}
.about-row.about-bookmark-row { padding: 12px; }
.about-mono {
flex: 1;
font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
font-size: 11px;
color: var(--pear-color-muted);
background: transparent;
border: none;
padding: 0;
word-break: break-all;
line-height: 1.4;
}
.copy-btn-small {
background: var(--pear-color-line);
color: var(--pear-color-muted);
border: 1px solid var(--pear-color-line-strong);
border-radius: 6px;
font-size: 10px;
font-weight: 600;
padding: 4px 10px;
cursor: pointer;
font-family: inherit;
flex-shrink: 0;
transition: background 0.12s, color 0.12s;
}
.copy-btn-small:hover { background: var(--pear-color-line-strong); color: var(--pear-color-text); }
.copy-btn-small.copied { background: rgba(22, 131, 79, 0.14); color: var(--pear-color-success); border-color: var(--pear-color-success); }
.copy-btn-small:disabled { opacity: 0.4; cursor: not-allowed; }
.about-meta-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-top: 10px;
}
.about-meta-grid.about-live-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-meta-grid > div {
background: var(--pear-color-surface-soft);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
padding: 8px 10px;
}
.about-meta-label {
font-size: 10px;
color: var(--pear-color-quiet);
text-transform: uppercase;
letter-spacing: 0.6px;
margin-bottom: 2px;
}
.about-meta-value {
font-size: 13px;
color: var(--pear-color-text);
font-family: ui-monospace, Menlo, monospace;
word-break: break-all;
}
.about-pin-status {
margin-top: 8px;
padding: 9px 10px;
border: 1px solid var(--pear-color-line);
border-radius: 8px;
background: var(--pear-color-surface);
color: var(--pear-color-muted);
font-size: 12px;
line-height: 1.45;
}
.about-pin-status.ok {
color: var(--pear-color-success);
border-color: rgba(22, 131, 79, 0.30);
background: rgba(22, 131, 79, 0.08);
}
.about-pin-status.warn {
color: var(--pear-color-warning);
border-color: rgba(185, 120, 18, 0.30);
background: rgba(185, 120, 18, 0.08);
}
.about-pin-status.pending,
.about-pin-status.neutral {
color: var(--pear-color-muted);
}
.about-foot {
margin-top: 14px;
padding: 10px 12px;
font-size: 11px;
color: var(--pear-color-muted);
background: rgba(15, 118, 110, 0.06);
border-left: 3px solid var(--pear-color-link);
border-radius: 4px;
line-height: 1.5;
}
@media (max-width: 520px) {
.about-meta-grid,
.about-meta-grid.about-live-grid {
grid-template-columns: 1fr;
}
}
/* --- URL bar autocomplete dropdown -------------------------------------- */
.urlbar { position: relative; }
.urlbar-suggestions {
position: absolute;
top: 100%; left: 0; right: 0;
margin-top: 4px;
background: var(--pear-color-surface);
border: 1px solid var(--pear-color-line);
border-radius: 8px;
box-shadow: 0 12px 32px -8px rgba(23, 33, 27, 0.42);
max-height: 360px;
overflow-y: auto;
z-index: 80;
padding: 4px;
}
.urlbar-suggestion {
display: flex; align-items: center; gap: 10px;
padding: 8px 10px;
border-radius: 6px;
cursor: pointer;
transition: background 0.08s;
}
.urlbar-suggestion:hover,
.urlbar-suggestion.active { background: var(--pear-color-surface-soft); }
.urlbar-suggestion-icon {
width: 18px; height: 18px;
display: flex; align-items: center; justify-content: center;
font-size: 13px;
color: var(--pear-color-warning);
flex-shrink: 0;
}
.urlbar-suggestion-text { flex: 1; min-width: 0; }
.urlbar-suggestion-title {
font-size: 12px;
color: var(--pear-color-text);
font-weight: 500;
margin-bottom: 1px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.urlbar-suggestion-url {
font-family: ui-monospace, "SF Mono", Menlo, monospace;
font-size: 11px;
color: var(--pear-color-quiet);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* --- Relay capability badges (v0.4.1) ----------------------------------- */
.relay-row { align-items: flex-start; }
.relay-info { flex: 1; min-width: 0; }
.relay-url-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.relay-caps {
margin-top: 6px;
display: flex;
flex-wrap: wrap;
gap: 6px;
font-size: 11px;
font-family: ui-monospace, "SF Mono", Menlo, monospace;
color: var(--pear-color-quiet);
align-items: center;
}
.relay-caps-loading { color: var(--pear-color-quiet); font-style: italic; }
.relay-caps-err { color: var(--pear-color-error); }
.relay-cap-label { color: var(--pear-color-muted); }
.relay-cap-pill {
display: inline-block;
padding: 1px 7px;
background: rgba(22, 131, 79, 0.10);
color: var(--pear-color-success);
border: 1px solid rgba(22, 131, 79, 0.24);
border-radius: 999px;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.2px;
}
.relay-cap-pill-new {
background: rgba(185, 120, 18, 0.12);
color: var(--pear-color-warning);
border-color: rgba(185, 120, 18, 0.32);
}
/* Lighthouse Phase 2 — federated-search provenance: where a result came from
(your own index vs a trusted peer) + the include-peers toggle. */
.src-badge {
display: inline-block;
margin-left: 8px;
padding: 1px 7px;
font-size: 11px;
font-weight: 600;
border-radius: 999px;
vertical-align: middle;
border: 1px solid var(--pear-color-line);
color: var(--pear-color-muted);
}
.src-badge.self { color: var(--pear-color-muted); border-color: var(--pear-color-line); }
.src-badge.followed { color: var(--pear-color-link); border-color: rgba(15, 118, 110, 0.34); background: rgba(15, 118, 110, 0.10); }
.src-badge.other { color: var(--pear-color-warning); border-color: rgba(185, 120, 18, 0.32); background: rgba(185, 120, 18, 0.10); }
.search-fed-toggle {
display: flex;
align-items: center;
gap: 8px;
margin: -4px 0 14px;
font-size: 13px;
color: var(--pear-color-muted);
cursor: pointer;
user-select: none;
}
.search-fed-toggle input { cursor: pointer; }
.search-fed-toggle .fed-status { color: var(--pear-color-link); font-style: italic; }
/* Community catalogue submission and moderation queue. */
.community-kind {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.community-release-note {
margin-bottom: 14px;
padding: 10px 12px;
border-left: 3px solid var(--pear-color-link);
border-radius: 7px;
background: var(--pear-color-surface-soft);
color: var(--pear-color-muted);
font-size: 12px;
line-height: 1.55;
}
.community-release-note strong { color: var(--pear-color-text); }
.community-targets {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 7px 12px;
margin: 6px 0 14px;
}
.community-targets label,
.community-release-confirm {
display: flex;
align-items: flex-start;
gap: 8px;
color: var(--pear-color-text);
font-size: 12px;
cursor: pointer;
}
.community-targets input,
.community-release-confirm input {
margin-top: 2px;
accent-color: var(--pear-color-link);
}
.community-icon-upload {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 9px;
margin: 7px 0 14px;
}
.community-icon-upload img,
.community-icon-upload .app-icon {
width: 44px;
height: 44px;
flex: 0 0 44px;
border-radius: 10px;
object-fit: cover;
}
.community-icon-upload label.btn { cursor: pointer; }
.community-icon-upload input[type="file"] {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
.community-release-confirm {
margin: 4px 0 16px;
padding: 11px 12px;
border: 1px solid rgba(185,120,18,0.28);
border-radius: 8px;
background: rgba(185,120,18,0.08);
}
.mod-process {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 7px;
margin: 10px 0 16px;
padding: 10px 12px;
border: 1px solid var(--pear-color-line);
border-radius: 8px;
background: var(--pear-color-surface-soft);
color: var(--pear-color-muted);
font-size: 12px;
}
.mod-process strong {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
margin-right: 3px;
border-radius: 50%;
background: var(--pear-color-surface);
color: var(--pear-color-text);
}
.mod-mode,
.mod-check {
display: inline-flex;
align-items: center;
min-height: 22px;
padding: 1px 8px;
border: 1px solid var(--pear-color-line);
border-radius: 999px;
color: var(--pear-color-muted);
background: var(--pear-color-surface);
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
white-space: nowrap;
}
.mod-mode.pass,
.mod-check.pass { color: var(--pear-color-success); border-color: rgba(22,131,79,0.28); background: rgba(22,131,79,0.08); }
.mod-mode.warning,
.mod-check.warning { color: var(--pear-color-warning); border-color: rgba(185,120,18,0.30); background: rgba(185,120,18,0.10); }
.mod-mode.block,
.mod-check.block { color: var(--pear-color-error); border-color: rgba(194,65,47,0.30); background: rgba(194,65,47,0.08); }
.mod-pending { display: grid; gap: 12px; margin-top: 12px; }
.mod-review-card {
display: grid;
gap: 12px;
padding: 14px;
border: 1px solid var(--pear-color-line);
border-radius: 10px;
background: var(--pear-color-canvas);
}
.mod-review-head,
.mod-review-actions,
.mod-decision-actions,
.mod-summary {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 8px;
flex-wrap: wrap;
}
.mod-review-actions,
.mod-decision-actions,
.mod-summary { justify-content: flex-start; }
.mod-key {
margin: 3px 0;
color: var(--pear-color-muted);
font: 10px/1.4 var(--pear-font-mono);
overflow-wrap: anywhere;
}
.mod-manifest {
padding: 10px 12px;
border-left: 3px solid var(--pear-color-link);
border-radius: 6px;
background: var(--pear-color-surface);
color: var(--pear-color-muted);
font-size: 12px;
}
.mod-manifest strong { color: var(--pear-color-text); }
.mod-checks { display: grid; gap: 6px; }
.mod-check-row {
display: grid;
grid-template-columns: 22px 1fr;
gap: 8px;
padding: 8px 10px;
border: 1px solid var(--pear-color-line);
border-radius: 7px;
background: var(--pear-color-surface);
color: var(--pear-color-muted);
font-size: 11px;
}
.mod-check-row strong { color: var(--pear-color-text); }
.mod-check-row.pass { border-left: 3px solid var(--pear-color-success); }
.mod-check-row.warning { border-left: 3px solid var(--pear-color-warning); }
.mod-check-row.block { border-left: 3px solid var(--pear-color-error); }
.mod-check-icon { font-size: 15px; font-weight: 800; text-align: center; }
.mod-check-row.pass .mod-check-icon { color: var(--pear-color-success); }
.mod-check-row.warning .mod-check-icon { color: var(--pear-color-warning); }
.mod-check-row.block .mod-check-icon { color: var(--pear-color-error); }
.mod-ack {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 10px 12px;
border: 1px solid rgba(185,120,18,0.28);
border-radius: 8px;
background: rgba(185,120,18,0.08);
color: var(--pear-color-text);
font-size: 12px;
cursor: pointer;
}
.mod-ack input { margin-top: 2px; accent-color: var(--pear-color-warning); }
.mod-textarea { min-height: 72px; resize: vertical; font-family: inherit; }
.mod-audit { margin-top: 16px; border-top: 1px solid var(--pear-color-line); padding-top: 12px; }
.mod-audit summary { cursor: pointer; color: var(--pear-color-muted); font-size: 12px; }
.mod-audit-row {
display: grid;
grid-template-columns: auto minmax(110px, auto) 1fr auto;
gap: 8px;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid var(--pear-color-surface-soft);
color: var(--pear-color-muted);
font-size: 11px;
}
.mod-audit-row code { color: var(--pear-color-text); }
.mod-audit-row time { white-space: nowrap; }
@media (max-width: 760px) {
.community-targets { grid-template-columns: 1fr; }
.mod-audit-row { grid-template-columns: auto 1fr; }
.mod-audit-row span:nth-child(3), .mod-audit-row time { grid-column: 1 / -1; }
}
/* Lighthouse Phase 2 — trusted-peers (contact invite exchange) panel. */
.trusted-peers { margin: 0 0 16px; border: 1px solid var(--pear-color-line); border-radius: 8px; background: var(--pear-color-canvas); }
.trusted-peers summary { padding: 10px 12px; cursor: pointer; font-size: 13px; color: var(--pear-color-text); user-select: none; }
.trusted-peers summary:hover { color: var(--pear-color-text); }
.tp-body { padding: 0 12px 12px; }
.tp-field { margin-bottom: 10px; }
.tp-field label { display: block; font-size: 12px; color: var(--pear-color-muted); margin-bottom: 4px; }
.tp-row { display: flex; gap: 6px; }
.tp-row .profile-input { flex: 1; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; }
.tp-msg { font-size: 12px; color: var(--pear-color-link); margin: 4px 0 8px; }
.tp-list { list-style: none; padding: 0; margin: 8px 0 0; }
.tp-list li { display: flex; align-items: center; gap: 6px; padding: 5px 0; font-size: 13px; border-top: 1px solid var(--pear-color-surface-soft); }
.tp-name { flex: 1; color: var(--pear-color-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }