:root {
  --fg: #1a1a1f;
  --fg-dim: #6a6a74;
  --bg: #eae5d7;
  --win-bg: rgba(255, 255, 255, 0.72);
  --win-border: rgba(30, 30, 40, 0.12);
  --menu-bg: rgba(255, 255, 255, 0.92);
  --accent: #ea6a3a;
  --accent-2: #3a7aea;
  --accent-3: #3a9f6a;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", ui-serif, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: var(--sans); color: var(--fg); user-select: none; }
body {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, #f3e8b8 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%, #e7b99b 0%, transparent 55%),
    radial-gradient(ellipse at 60% 40%, #f0d9c1 0%, #d7c4ae 100%);
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay; opacity: 0.08;
}

.menubar {
  position: fixed; top: 0; left: 0; right: 0; height: 30px;
  background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--win-border);
  display: flex; align-items: center; gap: 0.15rem; padding: 0 0.6rem;
  font-size: 13px; z-index: 200;
}
.menubar .apple { font-size: 14px; padding: 0 0.5rem; }
.menubar .brand { font-weight: 600; padding: 0 0.6rem; }
.menubar .spacer { flex: 1; }
.menubar .clock { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); padding: 0 0.5rem; }
.menubar .status-icon { font-family: var(--mono); font-size: 12px; padding: 0 0.4rem; color: var(--fg-dim); cursor: default; }
.menu { position: relative; }
.menu-btn {
  padding: 4px 10px; border-radius: 5px; cursor: pointer;
  background: transparent; border: 0; font: inherit; color: inherit;
}
.menu-btn:hover, .menu.open .menu-btn { background: rgba(30, 30, 40, 0.08); }
.menu.open .menu-btn { background: var(--fg); color: white; }
.dropdown {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 230px;
  background: var(--menu-bg); backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--win-border); border-radius: 8px;
  box-shadow: 0 10px 32px rgba(30, 30, 40, 0.18); padding: 6px;
  display: none; z-index: 210;
}
.menu.open .dropdown { display: block; }
.dropdown .item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem;
  padding: 5px 12px; border-radius: 5px; cursor: pointer; font-size: 13px;
  color: inherit; text-decoration: none; white-space: nowrap;
}
.dropdown .item:hover { background: var(--accent-2); color: white; }
.dropdown .item.check::before { content: "✓"; color: var(--fg-dim); font-size: 11px; width: 11px; text-align: center; }
.dropdown .item:not(.check)::before { content: ""; display: inline-block; width: 11px; }
.dropdown .item:hover.check::before { color: white; }
.dropdown .item.disabled { color: var(--fg-dim); pointer-events: none; }
.dropdown .item .kbd { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); }
.dropdown .item:hover .kbd { color: rgba(255,255,255,0.85); }
.dropdown hr { border: 0; border-top: 1px solid var(--win-border); margin: 4px; }

.icons { position: fixed; top: 52px; right: 1rem; display: grid; gap: 0.9rem; z-index: 1; }
.icon { display: grid; justify-items: center; gap: 0.25rem; width: 76px; cursor: pointer; }
.icon .glyph {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 12px rgba(30,30,40,0.08), 0 1px 0 rgba(255,255,255,0.5) inset;
  transition: scale 140ms ease, translate 140ms ease;
}
.icon.resume .glyph { background: linear-gradient(145deg, #fff, #f0ece0); color: var(--fg); }
.icon.projects .glyph { background: linear-gradient(145deg, #ffe9dc, #f5c2a4); color: var(--accent); }
.icon.photos .glyph { background: linear-gradient(145deg, #e3edff, #b8d1f5); color: var(--accent-2); }
.icon.terminal .glyph { background: #151515; color: #9dd76b; font-family: var(--mono); }
.icon .label { font-size: 11.5px; color: var(--fg); text-shadow: 0 1px 0 rgba(255,255,255,0.55); }
.icon:hover .glyph { scale: 1.06; translate: 0 -1px; }
.icon svg { width: 36px; height: 36px; }
.icon.terminal .glyph { font-size: 22px; }

.win {
  position: absolute;
  background: var(--win-bg); border: 1px solid var(--win-border); border-radius: 12px;
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 14px 44px rgba(30,30,40,0.2), 0 1px 0 rgba(255,255,255,0.6) inset;
  overflow: hidden; display: flex; flex-direction: column;
  transition: opacity 200ms ease, translate 240ms cubic-bezier(.2,.7,.2,1), scale 240ms cubic-bezier(.2,.7,.2,1);
}
/* Resize handles — thin invisible hit-targets layered inside each edge/corner.
   Corners override the edge handles because they come later in DOM order (and
   get a higher z-index for good measure). The edges sit outside the corner
   hit-zone so they never steal a corner click. */
.win .resize { position: absolute; z-index: 3; }
.win .resize.n  { top: 0;    left: 10px;  right: 10px; height: 5px;  cursor: ns-resize; }
.win .resize.s  { bottom: 0; left: 10px;  right: 10px; height: 5px;  cursor: ns-resize; }
.win .resize.e  { right: 0;  top: 10px;   bottom: 10px; width: 5px;  cursor: ew-resize; }
.win .resize.w  { left: 0;   top: 10px;   bottom: 10px; width: 5px;  cursor: ew-resize; }
.win .resize.ne { top: 0;    right: 0;    width: 10px; height: 10px; cursor: nesw-resize; z-index: 4; }
.win .resize.nw { top: 0;    left: 0;     width: 10px; height: 10px; cursor: nwse-resize; z-index: 4; }
.win .resize.se { bottom: 0; right: 0;    width: 10px; height: 10px; cursor: nwse-resize; z-index: 4; }
.win .resize.sw { bottom: 0; left: 0;     width: 10px; height: 10px; cursor: nesw-resize; z-index: 4; }
/* Hide handles while the window is minimized/hidden so they don't steal clicks. */
.win.hide .resize, .win.mini .resize { pointer-events: none; }
.win.hide { opacity: 0; scale: 0.94; pointer-events: none; }
.win.mini { opacity: 0; scale: 0.3; translate: 0 60vh; pointer-events: none; }
.win .title { height: 34px; display: flex; align-items: center; gap: 0.5rem; padding: 0 0.75rem;
  background: rgba(255,255,255,0.4); border-bottom: 1px solid var(--win-border); cursor: grab; }
.win .title:active { cursor: grabbing; }
.win .dots { display: flex; gap: 6px; margin-right: 0.75rem; }
.win .dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.06);
  padding: 0; display: grid; place-items: center; font-size: 8px; color: transparent; cursor: pointer;
}
.win .dots:hover button { color: rgba(0,0,0,0.45); }
.win .dots button:nth-child(1) { background: #ff5f57; }
.win .dots button:nth-child(2) { background: #febc2e; }
.win .dots button:nth-child(3) { background: #28c840; }
.win .t { font-size: 12.5px; color: var(--fg-dim); font-weight: 500; flex: 1; text-align: center; margin-right: 60px; }
.win .body { padding: 1.25rem 1.5rem; overflow-y: auto; flex: 1; min-height: 0; }

h1.n { font-size: 2.1rem; font-weight: 600; margin: 0 0 0.25rem; letter-spacing: -0.02em; }
.role { color: var(--fg-dim); font-family: var(--mono); font-size: 12px; }
.lede { font-size: 1rem; line-height: 1.5; margin: 1rem 0; max-width: 44ch; }
.row { display: grid; grid-template-columns: 90px 1fr; gap: 0.5rem; font-size: 13px; margin: 0.2rem 0; }
.row .k { font-family: var(--mono); color: var(--fg-dim); font-size: 12px; }

.project-card {
  /* Single-column stack — title, description, url — all left-aligned.
     Previously this was a 2-col grid that pushed the URL to the right edge,
     which made the titles look inconsistent when URL widths varied. */
  display: block; padding: 0.75rem;
  border-radius: 8px; border: 1px solid var(--win-border);
  background: rgba(255,255,255,0.55); margin-bottom: 0.5rem;
  cursor: pointer; text-decoration: none; color: inherit;
  text-align: left;
}
.project-card:hover { background: rgba(255,255,255,0.9); border-color: var(--accent); }
.project-card .t { font-weight: 600; font-size: 14px; text-align: left; }
.project-card .d { font-size: 12px; color: var(--fg-dim); margin-top: 0.15rem; text-align: left; }
.project-card .url {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  margin-top: 0.4rem; text-align: left; word-break: break-all;
}

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.photo { aspect-ratio: 3/4; border-radius: 6px; background: #d0c2a8; border: 1px solid var(--win-border);
  position: relative; overflow: hidden; display: grid; place-items: end; padding: 0.5rem; }
.photo span { background: rgba(255,255,255,0.85); padding: 2px 6px; font-family: var(--mono); font-size: 10px; border-radius: 3px; position: relative; z-index: 1; }
.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--accent-2), transparent 65%); opacity: 0.2; }

.win.term { background: #151515; color: #d7e8cf; border-color: rgba(255,255,255,0.08); }
.win.term .title { background: #1d1d1d; border-color: rgba(255,255,255,0.08); color: #d7e8cf99; }
.win.term .body { font-family: var(--mono); font-size: 13px; padding: 1rem 1.15rem; line-height: 1.55; }
.win.term .g { color: #9dd76b } .win.term .y { color: #ffd56a } .win.term .b { color: #7cc4ff } .win.term .d { color: #798277 } .win.term .err { color: #ff8a73 }
.win.term .line { margin: 0.1rem 0; white-space: pre-wrap; word-break: break-word; }
.win.term form { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.15rem; border-top: 1px solid rgba(255,255,255,0.06); background: #111; }
.win.term input { flex: 1; background: transparent; border: 0; outline: none; color: #d7e8cf; font: inherit; -webkit-user-select: text; user-select: text; }
.win.term input:disabled { color: #798277; }
.caret { width: 0.5ch; height: 1em; background: #9dd76b; display: inline-block; animation: blink 1s steps(2) infinite; margin-left: -0.1ch; }
@keyframes blink { 50% { opacity: 0 } }

.dock {
  position: fixed; bottom: 10px; left: 50%; translate: -50% 0;
  display: flex; gap: 0.4rem; padding: 0.4rem;
  background: rgba(255,255,255,0.5); border: 1px solid var(--win-border);
  border-radius: 16px; backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 8px 24px rgba(30,30,40,0.12); z-index: 50;
  transition: translate 200ms ease, opacity 200ms ease;
}
.dock.hide { translate: -50% 80px; opacity: 0; pointer-events: none; }
.dock .d {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.6); cursor: pointer; position: relative;
  transition: translate 140ms ease, scale 140ms ease;
  border: 1px solid rgba(0,0,0,0.06); color: inherit; text-decoration: none;
}
.dock .d:hover { translate: 0 -6px; scale: 1.08; }
.dock .d.term { background: #151515; color: #9dd76b; font-family: var(--mono); font-size: 16px; }
.dock .d.res { background: linear-gradient(145deg, #fff, #eeece3); color: var(--fg); }
.dock .d.prj { background: linear-gradient(145deg, #fdf3ef, #f7d8c9); color: var(--accent); }
.dock .d.pho { background: linear-gradient(145deg, #eaf3ff, #c9e0f7); color: var(--accent-2); }
.dock .d.mail { background: linear-gradient(145deg, #fff, #f0ece0); color: var(--accent-3); }
.dock .d.gh { background: #24292e; color: #fff; }
.dock .d svg { width: 28px; height: 28px; }
.dock .d.term, .dock .d.mail, .dock .d.gh { font-size: 22px; }
.dock .d::after {
  content: ""; position: absolute; bottom: -6px; left: 50%; translate: -50% 0;
  width: 4px; height: 4px; border-radius: 50%; background: var(--fg); opacity: 0; transition: opacity 140ms ease;
}
.dock .d.running::after { opacity: 0.6; }

body.z-in .win, body.z-in .dock, body.z-in .icons { scale: 1.08; }
body.z-out .win, body.z-out .dock, body.z-out .icons { scale: 0.92; }
.win, .dock, .icons { transition: scale 200ms ease; }

.admin { user-select: text; overflow: auto; background: #fafaf7; min-height: 100vh; color: #1a1a1f; font-family: var(--sans); }
.admin-shell { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.admin-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px solid #dfdbce; margin-bottom: 2rem; }
.admin-head h1 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0; letter-spacing: -0.02em; }
.admin-head nav { display: flex; gap: 1.25rem; font-family: var(--mono); font-size: 12.5px; }
.admin-head nav a { color: #6a6a74; text-decoration: none; }
.admin-head nav a:hover, .admin-head nav a.active { color: var(--accent); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { background: white; border: 1px solid #dfdbce; border-radius: 10px; padding: 1rem 1.25rem; }
.stat .k { font-family: var(--mono); font-size: 11px; color: #6a6a74; text-transform: uppercase; letter-spacing: 0.08em; }
.stat .v { font-family: var(--serif); font-size: 2rem; margin-top: 0.25rem; line-height: 1; }
.stat .sub { font-size: 12px; color: #6a6a74; margin-top: 0.5rem; }
.admin table { width: 100%; border-collapse: collapse; background: white; border: 1px solid #dfdbce; border-radius: 10px; overflow: hidden; font-size: 13.5px; }
.admin th { text-align: left; padding: 0.7rem 1rem; background: #f5f2e8; border-bottom: 1px solid #dfdbce; font-family: var(--mono); font-size: 11px; color: #6a6a74; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.admin td { padding: 0.65rem 1rem; border-bottom: 1px solid #eeece3; vertical-align: top; }
.admin tr:last-child td { border-bottom: 0; }
.admin tr:hover td { background: #fbf8f0; }
.admin td .mono { font-family: var(--mono); font-size: 12px; color: #6a6a74; }
.admin a { color: var(--accent); }
.login-box { max-width: 380px; margin: 6rem auto; background: white; border: 1px solid #dfdbce; border-radius: 12px; padding: 2rem; }
.login-box h1 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: 0 0 1.25rem; }
.login-box label { display: block; font-family: var(--mono); font-size: 11px; color: #6a6a74; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.login-box input { width: 100%; padding: 0.65rem 0.8rem; border: 1px solid #dfdbce; border-radius: 8px; font: inherit; font-size: 14px; outline: none; }
.login-box input:focus { border-color: var(--accent); }
.login-box button { width: 100%; padding: 0.75rem; background: var(--fg); color: white; border: 0; border-radius: 8px; font: inherit; font-weight: 500; font-size: 14px; cursor: pointer; margin-top: 1rem; }
.login-box button:hover { background: #000; }
.login-box .err { color: #c04437; font-size: 13px; margin-top: 0.75rem; }
.chat-view { background: white; border: 1px solid #dfdbce; border-radius: 10px; padding: 1.5rem; }
.chat-view .msg { margin: 0.5rem 0; padding: 0.75rem 1rem; border-radius: 10px; max-width: 70ch; }
.chat-view .msg.user { background: #eaf3ff; border: 1px solid #c9e0f7; }
.chat-view .msg.assistant { background: #f5f2e8; border: 1px solid #dfdbce; }
.chat-view .msg .role { font-family: var(--mono); font-size: 11px; color: #6a6a74; margin-bottom: 0.3rem; }
.chat-view .msg .content { white-space: pre-wrap; line-height: 1.55; }

/* ---- Browser app ---- */
.icon.browser .glyph { background: linear-gradient(145deg, #eaf7f0, #b9e0cf); color: var(--accent-3); }
.dock .d.brw { background: linear-gradient(145deg, #eaf7f0, #c3e6d7); color: var(--accent-3); }
.dock .d.brw svg { stroke: currentColor; }

.win.browser .body { padding: 0; display: flex; flex-direction: column; }
.browser-pane { display: flex; flex-direction: column; min-height: 0; flex: 1; }
/* Toolbar row — every child is exactly 32px tall and vertically centered.
   The urlbar form participates as a flex row sibling so back/fwd/refresh,
   globe, input, and Go all share one baseline. Matching the gaps (0.4rem
   both inside and outside the urlbar) keeps the spacing rhythm even across
   the globe boundary. */
.browser-nav {
  display: flex; gap: 0.4rem; align-items: center;
  padding: 0.55rem 0.65rem; border-bottom: 1px solid var(--win-border);
  background: rgba(255, 255, 255, 0.55);
}
.browser-nav > .nav-btn,
.browser-urlbar,
.browser-urlbar > .globe,
.browser-urlbar > input,
.browser-urlbar > .go-btn {
  height: 32px; box-sizing: border-box;
}
.browser-nav .nav-btn {
  width: 32px; border-radius: 6px; border: 1px solid var(--win-border);
  background: white; color: var(--fg-dim);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; flex-shrink: 0;
}
.browser-nav .nav-btn svg { width: 18px; height: 18px; display: block; }
.browser-nav .nav-btn:hover { color: var(--fg); background: #fafaf7; border-color: #c8c5b8; }
.browser-nav .nav-btn:active { background: #efece3; }
.browser-urlbar {
  display: flex; gap: 0.4rem; align-items: center; flex: 1; min-width: 0;
  margin: 0; padding: 0;
}
.browser-urlbar .globe {
  width: 32px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(58, 159, 106, 0.12); color: var(--accent-3); flex-shrink: 0;
}
.browser-urlbar .globe svg { width: 18px; height: 18px; display: block; }
.browser-urlbar input {
  flex: 1; min-width: 0; padding: 0 0.7rem;
  border: 1px solid var(--win-border); border-radius: 8px;
  background: white; color: var(--fg); font: inherit; font-size: 13px;
  outline: none; font-family: var(--mono); line-height: 30px;
  -webkit-user-select: text; user-select: text;
}
.browser-urlbar input:focus { border-color: var(--accent-3); }
.browser-urlbar .go-btn {
  padding: 0 0.95rem; border-radius: 8px; border: 0;
  background: var(--fg); color: white; font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.browser-urlbar .go-btn:hover { background: #000; }
.browser-urlbar .go-btn:disabled { background: #9a9aa4; cursor: progress; }

.browser-body { flex: 1; overflow: hidden; min-height: 0; position: relative; background: white; }
.browser-frame-wrap { position: absolute; inset: 0; }
.browser-loading {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  padding: 0.5rem 1rem; background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--win-border);
  font-family: var(--mono); font-size: 12px; color: var(--fg-dim);
  text-align: center;
}
.browser-iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; background: white;
}

/* When a card is showing (not iframe), the body needs padding + scroll. */
.browser-body:has(.browser-card), .browser-body:has(.browser-hint), .browser-body:has(.browser-error) {
  overflow-y: auto; padding: 0.9rem 1rem 1.5rem;
}
.browser-hint {
  color: var(--fg-dim); font-size: 13px; line-height: 1.5;
  text-align: center; padding: 2rem 1rem;
}
.browser-hint .h {
  font-family: var(--serif); font-size: 1.35rem; color: var(--fg); margin-bottom: 0.4rem;
}

.browser-card {
  background: white; border: 1px solid var(--win-border); border-radius: 10px;
  overflow: hidden; margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(30, 30, 40, 0.05);
}
.browser-card .img {
  width: 100%; aspect-ratio: 16/8; background: #efece3 center/cover no-repeat;
  border-bottom: 1px solid var(--win-border);
}
.browser-card .meta { padding: 0.75rem 0.9rem; }
.browser-card .t { font-weight: 600; font-size: 14px; margin-bottom: 0.2rem; line-height: 1.3; }
.browser-card .d { font-size: 12.5px; color: var(--fg-dim); line-height: 1.45; margin-bottom: 0.5rem; }
.browser-card .u { font-family: var(--mono); font-size: 11px; color: var(--accent); word-break: break-all; }
.browser-card .actions {
  display: flex; gap: 0.5rem; align-items: center; padding: 0.55rem 0.9rem;
  border-top: 1px solid var(--win-border); background: #fbfaf4;
}
.browser-card .actions .open {
  padding: 0.4rem 0.7rem; border-radius: 6px; border: 0;
  background: var(--accent-3); color: white;
  font: inherit; font-size: 12px; cursor: pointer; text-decoration: none;
}
.browser-card .actions .open:hover { filter: brightness(0.92); }
.browser-card.blocked, .browser-card.suspicious { border-color: rgba(0,0,0,0.12); }
.browser-card.blocked .meta, .browser-card.suspicious .meta { padding-bottom: 0.9rem; }
.browser-card .err {
  padding: 0.55rem 0.9rem; font-family: var(--mono); font-size: 11px; color: var(--fg-dim);
  border-top: 1px solid var(--win-border); background: #fbfaf4;
}

.browser-verdict {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase;
}
.browser-verdict::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.browser-verdict.safe       { color: #1f7a4c; background: rgba(58,159,106,0.14); }
.browser-verdict.suspicious { color: #8a6100; background: rgba(234,188,46,0.2); }
.browser-verdict.blocked    { color: #b53227; background: rgba(255,95,87,0.16); }
.browser-verdict.blocked-embed { color: #6a6a74; background: rgba(30,30,40,0.08); }

.browser-card .actions .open.warn { background: #e5a524; }
.browser-card .actions .open.warn:hover { filter: brightness(0.92); }

.browser-card .verdict-row {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.browser-card .reason {
  font-size: 12.5px; color: var(--fg-dim); line-height: 1.4;
}

.browser-error {
  color: #b53227; font-family: var(--mono); font-size: 12px;
  padding: 0.5rem 0.75rem; background: rgba(255,95,87,0.08);
  border: 1px solid rgba(255,95,87,0.2); border-radius: 6px;
  margin-bottom: 0.6rem;
}

/* Admin verdict pill — reuses the same palette as the window. */
.admin .verdict-pill {
  display: inline-block; padding: 2px 7px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em;
}
.admin .verdict-pill.v-safe       { color: #1f7a4c; background: rgba(58,159,106,0.14); }
.admin .verdict-pill.v-suspicious { color: #8a6100; background: rgba(234,188,46,0.2); }
.admin .verdict-pill.v-blocked    { color: #b53227; background: rgba(255,95,87,0.16); }
