:root { color-scheme: dark; --bg: #05090b; --panel: #0b1418; --line: #203038; --text: #edf7f1; --muted: #93a39b; --green: #42f58d; --red: #db3e4b; }
* { box-sizing: border-box; }
html,body { min-height: 100%; }
body { margin: 0; overflow-x: clip; background: radial-gradient(circle at 50% -10%, #15242b 0, var(--bg) 42%); color: var(--text); font-family: "Segoe UI", Arial, sans-serif; }
header { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 18px 14px; border-bottom: 1px solid var(--line); background: rgba(5, 9, 11, .9); }
header div { display: grid; gap: 2px; }
header small,.eyebrow { color: var(--muted); font: 10px Consolas, monospace; letter-spacing: .15em; }
header strong { font: 600 13px Consolas, monospace; letter-spacing: .07em; }
.node-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--green); color: var(--green); font: 700 13px Consolas, monospace; }
.secure-dot { margin-left: auto; color: var(--green); font-size: 12px; }
main { width: min(560px, 100%); margin: 0 auto; padding: 34px 18px calc(34px + env(safe-area-inset-bottom)); }
.panel { padding: 26px 22px; border: 1px solid var(--line); background: rgba(11, 20, 24, .92); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.panel h1 { margin: 10px 0 8px; font-size: 26px; font-weight: 450; letter-spacing: -.02em; }
.panel p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.install-gate { margin-top: 22px; padding: 18px; border: 1px solid #344851; background: rgba(255,255,255,.025); }
.gate-heading,.installed-confirmation { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.gate-heading strong,.installed-confirmation strong { font-size: 15px; font-weight: 650; }
.gate-lock { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); font-size: 18px; }
.setup-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; min-height: 54px; padding: 9px 10px; border: 1px solid var(--line); background: #081014; color: var(--muted); line-height: 1.4; }
.setup-steps li > span:first-child { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(66,245,141,.1); color: var(--green); font: 700 12px Consolas, monospace; }
.setup-steps strong { color: var(--text); font-weight: 650; }
.ios-share-icon { display: inline-grid; width: 22px; height: 20px; place-items: start center; margin-left: 3px; border: 1px solid currentColor; border-top: 0; color: #6eb7ff; font-weight: 700; line-height: 12px; vertical-align: -3px; }
.install-note { margin: 12px 0 0 !important; font-size: 12px; }
.gate-status { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font: 11px Consolas, monospace; line-height: 1.45; }
#pair-entry { margin-top: 22px; }
.installed-confirmation { padding: 13px 14px; border: 1px solid rgba(66,245,141,.45); background: rgba(66,245,141,.07); color: var(--green); }
.installed-confirmation span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #031109; font-weight: 900; }
label { display: block; margin-bottom: 7px; color: var(--muted); font: 11px Consolas, monospace; letter-spacing: .08em; }
input { width: 100%; height: 60px; padding: 0 15px; border: 1px solid var(--line); background: #050a0d; color: #fff; font: 700 27px Consolas, monospace; letter-spacing: .16em; text-align: center; }
button { width: 100%; min-height: 50px; margin-top: 10px; border: 1px solid var(--green); background: var(--green); color: #031109; font-weight: 750; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
button.secondary { background: transparent; color: var(--green); }
.text-button { min-height: auto; margin-top: 22px; border: 0; background: transparent; color: var(--muted); font-weight: 400; text-decoration: underline; }
.message { min-height: 20px; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.message.success { color: var(--green); }
.message.error { color: #ff8d96; }
.mobile-workspace { margin: 22px -10px 0; padding: 20px 16px 16px; border: 1px solid #29404a; background: linear-gradient(155deg, rgba(18,34,40,.98), rgba(7,14,17,.98)); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.workspace-kicker { display: block; color: var(--green); font: 700 10px Consolas, monospace; letter-spacing: .12em; }
.workspace-heading h2 { margin: 7px 0 0; font-size: 22px; font-weight: 520; letter-spacing: -.02em; }
.workspace-live { flex: 0 0 auto; padding: 5px 7px; border: 1px solid rgba(66,245,141,.4); border-radius: 2px; color: var(--green); background: rgba(66,245,141,.07); font: 700 9px Consolas, monospace; letter-spacing: .13em; }
.workspace-summary { margin: 10px 0 16px !important; font-size: 13px; line-height: 1.5 !important; }
.phase-tabs { display: flex; gap: 8px; margin: 0 -2px 18px; padding: 2px 2px 4px; overflow-x: auto; scrollbar-width: none; }
.phase-tabs::-webkit-scrollbar { display: none; }
.phase-tab { flex: 0 0 auto; width: 42px; min-height: 38px; margin: 0; padding: 0; border: 1px solid #30444d; border-radius: 2px; background: #091317; color: var(--muted); font: 700 11px Consolas, monospace; }
.phase-tab.current::after { content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.phase-tab.selected { border-color: var(--green); background: rgba(66,245,141,.11); color: var(--green); }
.material-search { margin-bottom: 15px; }
.material-search input { height: 44px; padding: 0 12px; border-color: #30444d; font: 14px "Segoe UI", Arial, sans-serif; letter-spacing: 0; text-align: left; }
.material-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 2px 10px; border-bottom: 1px solid var(--line); }
.material-heading strong { font-size: 12px; font-weight: 650; }
.material-heading span { color: var(--muted); font: 9px Consolas, monospace; letter-spacing: .08em; }
.mobile-materials { display: grid; max-height: min(48svh, 430px); overflow-y: auto; border-bottom: 1px solid var(--line); }
.material-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 61px; padding: 11px 2px; border-bottom: 1px solid rgba(32,48,56,.72); color: inherit; text-decoration: none; }
.material-item[type="button"] { width: 100%; margin: 0; border-width: 0 0 1px; border-color: rgba(32,48,56,.72); background: transparent; color: inherit; font: inherit; text-align: left; }
.material-item[type="button"]:active { background: rgba(66,245,141,.055); }
.material-item:last-child { border-bottom: 0; }
.material-copy { min-width: 0; display: grid; gap: 4px; }
.material-copy strong { overflow: hidden; color: var(--text); font-size: 13px; font-weight: 560; line-height: 1.35; text-overflow: ellipsis; }
.material-copy small { color: var(--muted); font: 9px Consolas, monospace; letter-spacing: .08em; }
.material-open { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #34505b; color: var(--green); font: 16px Consolas, monospace; }
.material-empty { padding: 22px 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.mobile-inbox { margin: 16px -10px 0; padding: 17px 16px 12px; border: 1px solid var(--line); background: rgba(7,14,17,.86); }
.inbox-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inbox-heading h2 { margin: 5px 0 0; font-size: 18px; font-weight: 520; }
.inbox-count { flex: 0 0 auto; padding: 5px 7px; border: 1px solid #334850; color: var(--muted); font: 700 9px Consolas, monospace; letter-spacing: .09em; }
.inbox-count.unread { border-color: rgba(66,245,141,.42); color: var(--green); background: rgba(66,245,141,.06); }
.mobile-messages { display: grid; }
.inbox-message { border-bottom: 1px solid rgba(32,48,56,.72); }
.inbox-message:last-child { border-bottom: 0; }
.inbox-message summary { position: relative; display: grid; gap: 5px; padding: 13px 26px 13px 2px; cursor: pointer; list-style: none; }
.inbox-message summary::-webkit-details-marker { display: none; }
.inbox-message summary::after { content: '+'; position: absolute; top: 15px; right: 4px; color: var(--green); font: 17px Consolas, monospace; }
.inbox-message[open] summary::after { content: '−'; }
.inbox-message.unread summary::before { content: ''; position: absolute; top: 17px; left: -10px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.inbox-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--muted); font: 9px Consolas, monospace; letter-spacing: .06em; }
.inbox-preview { overflow: hidden; color: var(--text); font-size: 13px; font-weight: 560; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.inbox-body { padding: 0 2px 14px; }
.inbox-body p { margin: 0 0 12px !important; color: #c8d5cf; font-size: 13px; line-height: 1.6 !important; white-space: pre-wrap; }
.message-ack { width: auto; min-height: 34px; margin: 0; padding: 0 12px; border-color: #34505b; background: transparent; color: var(--green); font-size: 11px; }
.device-settings { margin-top: 18px; border-top: 1px solid var(--line); }
.device-settings summary { padding: 18px 2px 4px; color: var(--muted); cursor: pointer; font: 11px Consolas, monospace; letter-spacing: .06em; }
.device-settings[open] summary { color: var(--text); }
.status-grid { display: grid; gap: 1px; margin: 20px 0; background: var(--line); border: 1px solid var(--line); }
.status-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px; background: #091014; }
.status-grid span { color: var(--muted); font-size: 12px; }
.status-grid strong { font: 700 11px Consolas, monospace; }
.status-grid .ready { color: var(--green); }
.install-hint { margin: 14px 0 0 !important; padding: 12px; border-left: 3px solid var(--green); background: rgba(66,245,141,.06); font-size: 12px; }
.viewer-open { overflow: hidden; }
.material-viewer { position: fixed; z-index: 800; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #05090b; color: var(--text); }
.viewer-toolbar { min-height: calc(66px + env(safe-area-inset-top)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: max(11px, env(safe-area-inset-top)) 14px 11px; border-bottom: 1px solid #29404a; background: rgba(7,14,17,.98); box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.viewer-back { width: auto; min-height: 40px; margin: 0; padding: 0 12px 0 9px; border-color: #34505b; background: rgba(66,245,141,.06); color: var(--green); font-size: 12px; }
.viewer-back span { display: inline-block; margin-right: 4px; font-size: 23px; font-weight: 400; line-height: 0; vertical-align: -2px; }
.viewer-heading { min-width: 0; display: grid; gap: 3px; }
.viewer-heading small { color: var(--green); font: 700 8px Consolas, monospace; letter-spacing: .11em; }
.viewer-heading strong { overflow: hidden; font-size: 13px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.viewer-secure { color: var(--green); font-size: 10px; }
.viewer-stage { min-height: 0; background: radial-gradient(circle at 50% 0, #17272e, #05090b 44%); }
.material-frame-wrap { width: 100%; height: 100%; padding-bottom: env(safe-area-inset-bottom); }
.material-frame { width: 100%; height: 100%; border: 0; background: #fff; }
#material-frame { width: 100%; height: 100%; border: 0; background: #fff; }
.material-text-view { height: 100%; overflow-y: auto; padding: 28px 20px max(34px, calc(env(safe-area-inset-bottom) + 20px)); background: linear-gradient(180deg, #0a1216, #05090b); }
.text-document-heading { display: grid; gap: 8px; max-width: 760px; margin: 0 auto 18px; padding-bottom: 16px; border-bottom: 1px solid #29404a; }
.text-document-heading strong { font-size: 19px; font-weight: 520; }
.material-text-view pre { max-width: 760px; min-height: 160px; margin: 0 auto 24px; padding: 20px; border: 1px solid #29404a; background: #081014; color: #dce9e2; font: 14px/1.72 "Segoe UI", Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.material-text-view .viewer-home-action { display: block; max-width: 760px; margin: 0 auto; }
.material-audio-view { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 24px max(34px, calc(env(safe-area-inset-bottom) + 20px)); text-align: center; }
.audio-record { width: min(260px, 78vw); height: 148px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 30px; border: 1px solid #29404a; border-radius: 50%; background: radial-gradient(circle, rgba(66,245,141,.12), rgba(5,9,11,.15) 58%, transparent 59%); box-shadow: 0 30px 70px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.03); }
.audio-record span { width: 4px; border-radius: 4px; background: var(--green); box-shadow: 0 0 12px rgba(66,245,141,.3); }
.audio-record span:nth-child(1),.audio-record span:nth-child(7) { height: 22px; opacity: .55; }
.audio-record span:nth-child(2),.audio-record span:nth-child(6) { height: 46px; opacity: .72; }
.audio-record span:nth-child(3),.audio-record span:nth-child(5) { height: 72px; opacity: .88; }
.audio-record span:nth-child(4) { height: 102px; }
.material-audio-view h2 { max-width: 420px; margin: 10px 0 8px; font-size: clamp(24px, 7vw, 34px); font-weight: 430; line-height: 1.16; }
.material-audio-view p { max-width: 390px; margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.material-audio-view audio { width: min(430px, 100%); margin: 0 0 20px; border: 0; border-radius: 999px; outline: 0; background: #091316; box-shadow: none; clip-path: inset(0 round 999px); color-scheme: dark; accent-color: var(--green); }
.material-audio-view audio::-webkit-media-controls-enclosure,
.material-audio-view audio::-webkit-media-controls-panel { background-color: #091316; }
.material-audio-view audio:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.material-audio-profile { width: 150px; height: 150px; margin-bottom: 28px; border: 1px solid #456359; border-radius: 50%; object-fit: cover; object-position: 50% 22%; box-shadow: 0 0 0 8px rgba(66,245,141,.035), 0 28px 60px rgba(0,0,0,.42); }
.viewer-home-action { width: min(430px, 100%); background: transparent; color: var(--green); }
.mobile-call { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; overflow: hidden; background: #050505; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; }
.call-card { position: relative; isolation: isolate; width: min(520px, 100%); min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: max(58px, calc(env(safe-area-inset-top) + 34px)) 28px max(28px, calc(env(safe-area-inset-bottom) + 18px)); overflow: hidden; background: linear-gradient(165deg, #575b61 0%, #27292d 34%, #111214 72%, #060607 100%); color: #fff; text-align: center; }
.call-card::before { content: ""; position: absolute; z-index: -2; inset: -12%; background: radial-gradient(circle at 28% 18%, rgba(198,204,213,.42), transparent 26%), radial-gradient(circle at 78% 39%, rgba(74,82,91,.5), transparent 30%), linear-gradient(145deg, #34373c, #090a0c 76%); filter: blur(22px); transform: scale(1.08); }
.call-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.2) 54%, rgba(0,0,0,.52)); }
.mobile-call.voss-profile .call-card { background: #090b0c url("assets/people/reinhard-voss.jpg") center top / cover no-repeat; }
.mobile-call.voss-profile .call-card::before { display: none; }
.mobile-call.voss-profile .call-card::after { background: linear-gradient(to bottom, rgba(0,0,0,.06), rgba(0,0,0,.13) 45%, rgba(0,0,0,.86) 100%); }
.mobile-call.voss-profile .call-avatar { display: none; }
.mobile-call.voss-profile .call-identity { margin-top: 62px; text-shadow: 0 2px 15px rgba(0,0,0,.95); }
.mobile-call.voss-profile .call-identity p { color: rgba(255,255,255,.86); }
.mobile-call.voss-profile .call-actions,.mobile-call.voss-profile .active-actions { padding: 18px 16px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: rgba(5,7,8,.44); box-shadow: 0 22px 48px rgba(0,0,0,.34); backdrop-filter: blur(13px); }
.mobile-call.voss-profile .active-actions { flex: 0 1 auto; margin-top: auto; }
.call-status { min-height: 20px; color: rgba(255,255,255,.74); font-size: 15px; font-weight: 500; }
.call-identity { display: flex; flex-direction: column; align-items: center; margin-top: 36px; }
.call-avatar { position: relative; width: 104px; height: 104px; margin-bottom: 24px; overflow: hidden; border-radius: 50%; background: rgba(255,255,255,.15); box-shadow: inset 0 1px 1px rgba(255,255,255,.22), 0 12px 32px rgba(0,0,0,.2); }
.call-avatar::before { content: ""; position: absolute; top: 20px; left: 50%; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.68); transform: translateX(-50%); }
.call-avatar::after { content: ""; position: absolute; left: 50%; bottom: -19px; width: 76px; height: 62px; border-radius: 50% 50% 20% 20%; background: rgba(255,255,255,.68); transform: translateX(-50%); }
.call-card h2 { margin: 0; font-size: clamp(34px, 10vw, 46px); font-weight: 400; letter-spacing: -.03em; }
.call-identity p { margin: 9px 0 0; color: rgba(255,255,255,.68); font-size: 17px; }
.call-actions { width: min(330px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 54px; margin-top: auto; padding-bottom: 14px; }
.call-actions button,.hangup { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: auto; margin: 0; border: 0; background: transparent; color: #fff; font-weight: 400; }
.call-actions button > .phone-glyph,.hangup > .phone-glyph { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 31px; line-height: 1; }
.call-actions button small,.hangup small,.call-function small { color: #fff; font-size: 13px; font-weight: 450; }
.call-actions .accept > .phone-glyph { background: #30d158; transform: rotate(-18deg); box-shadow: 0 7px 20px rgba(48,209,88,.22); }
.call-actions .decline > .phone-glyph,.hangup > .phone-glyph { background: #ff453a; transform: rotate(135deg); box-shadow: 0 7px 20px rgba(255,69,58,.2); }
.active-actions { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; }
.active-actions > strong { margin-top: 8px; font-size: 18px; font-weight: 400; font-variant-numeric: tabular-nums; }
.call-functions { width: min(320px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: auto 0 44px; }
.call-function { display: flex; flex-direction: column; align-items: center; gap: 9px; min-height: auto; margin: 0; border: 0; background: transparent; color: #fff; }
.call-function > span { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.19); color: #fff; font-size: 25px; box-shadow: inset 0 1px 1px rgba(255,255,255,.16); }
.call-function[aria-pressed="true"] > span { background: #fff; color: #121212; }
.call-function:disabled { opacity: .72; }
.keypad-dots { background-color: rgba(255,255,255,.19) !important; background-image: radial-gradient(circle, #fff 0 2px, transparent 3px) !important; background-size: 14px 14px !important; background-position: 13px 13px !important; }
.hangup { margin-bottom: 4px; }
.mobile-call.connected .call-status { visibility: hidden; }
.mobile-call.connected .call-identity { margin-top: 8px; }
.mobile-call.connected .call-avatar { width: 76px; height: 76px; margin-bottom: 17px; }
.mobile-call.connected .call-avatar::before { top: 14px; width: 25px; height: 25px; }
.mobile-call.connected .call-avatar::after { bottom: -15px; width: 57px; height: 47px; }
.mobile-call.connected .call-card h2 { font-size: 34px; }
.mobile-call.connected.voss-profile .call-identity { margin-top: 18px; }
.call-error { min-height: 20px; margin-top: 18px; color: #ff8d96; font-size: 12px; }
[hidden] { display: none !important; }
@media (max-width: 380px) { .panel { padding: 23px 18px; } .call-card { padding-inline: 20px; } .call-actions { gap: 42px; } .call-functions { gap: 12px; } }
