:root { color-scheme: dark; --bg: #101c27; --panel: #182936; --text: #edf5fa; --muted: #abc0ce; --border: #355063; --accent: #55e4c4; --error: #ffb8b3; }
:root[data-theme="light"] { color-scheme: light; --bg: #f2f6f8; --panel: #fff; --text: #17323f; --muted: #526b78; --border: #d4e1e8; --accent: #22bb9b; --error: #b52d29; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); color: var(--text); font: 15px/1.7 system-ui, sans-serif; }
main { width: min(100%, 420px); padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--panel); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
h1 { font-size: 26px; line-height: 1.4; margin: 12px 0; }
p, small { color: var(--muted); }
.destination { display: grid; gap: 5px; padding: 14px; background: var(--bg); border-radius: 10px; overflow-wrap: anywhere; }
.destination span { font-size: 12px; color: var(--muted); }
button { width: 100%; padding: 12px; margin-top: 10px; border: 1px solid transparent; border-radius: 10px; background: var(--accent); color: #102a27; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.secondary { background: transparent; border-color: var(--border); color: var(--text); }
small { display: block; margin-top: 20px; font-size: 12px; }
#error { color: var(--error); }

.work-details { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; margin: 24px 0; }
.work-details dt { color: var(--muted); }
.work-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-weight: 600; }
.danger { color: var(--error); }
[hidden] { display: none !important; }

.amount-reading { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 400; }
.conversation article { padding: 12px; margin: 10px 0; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow-wrap: anywhere; }
.conversation strong { font-size: 12px; color: var(--muted); }
.conversation p { white-space: pre-wrap; color: var(--text); margin: 8px 0 0; }
textarea { width: 100%; min-height: 140px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, sans-serif; resize: vertical; }
