/* Jev-Interaction call page. No build step; system fonts only so it looks the same offline. */ :root { --bg: #06070b; --ink: #f2f4f8; --ink-2: rgba(232, 236, 245, .66); --ink-3: rgba(232, 236, 245, .40); --line: rgba(255, 255, 255, .09); --glass: rgba(255, 255, 255, .045); --glass-2: rgba(255, 255, 255, .08); --accent: #8ab4ff; --go: #7be0b0; --hold: #ffc978; --yield: #ff8fa3; --pace: #b9a2ff; --danger: #ff5a5f; --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; --ease: cubic-bezier(.2, .8, .2, 1); } * { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; display: grid; grid-template-rows: auto 1fr auto; min-height: 100dvh; overflow-x: hidden; } [hidden] { display: none !important; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } a { color: inherit; } button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; } /* a very faint wash of the persona's colour behind everything */ .aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 45% at 50% 38%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%), radial-gradient(40% 35% at 18% 85%, rgba(120, 90, 255, .07), transparent 70%), radial-gradient(40% 35% at 85% 12%, rgba(80, 190, 255, .06), transparent 70%); transition: background 1.2s var(--ease); } /* ---------- top bar ---------- */ .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; } .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .01em; } .brand-mark { width: 26px; height: 12px; border-radius: 999px; background: #0d0f16; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22) inset, 0 0 14px color-mix(in srgb, var(--accent) 55%, transparent); } .top-actions { display: flex; align-items: center; gap: 10px; } .seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); } .seg-btn { padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: background .2s, color .2s; } .seg-btn[aria-pressed="true"] { background: var(--glass-2); color: var(--ink); } .seg.lang { align-items: center; padding-left: 10px; color: var(--ink-2); border-color: rgba(255, 255, 255, .16); } .seg.lang svg { margin-right: 4px; flex: none; } .seg.lang .seg-btn { padding: 5px 13px; font-weight: 500; } .seg.lang .seg-btn[aria-pressed="true"] { background: var(--ink); color: #0a0c12; } .setup-chip { --tone: var(--ink-3); } .setup-chip[data-state="todo"] { --tone: var(--hold); color: var(--ink); border-color: color-mix(in srgb, var(--hold) 40%, transparent); } .setup-chip[data-state="ready"] { --tone: var(--go); } .setup-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 10px var(--tone); } .setup-chip[data-state="unknown"] .setup-dot { box-shadow: none; } .ghost { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--glass); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; } .ghost:hover { background: var(--glass-2); color: var(--ink); } .ghost .count { font: 11px var(--mono); padding: 0 6px; border-radius: 999px; background: var(--glass-2); color: var(--ink); } /* ---------- main column ---------- */ .main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 16px 8px; min-width: 0; } .hero { text-align: center; max-width: 720px; } .hero h1 { margin: 0; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.22; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .72)); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero .sub { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; text-wrap: balance; } .notice { max-width: 560px; margin-top: 14px; padding: 12px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.55; background: rgba(255, 201, 120, .07); border: 1px solid rgba(255, 201, 120, .22); color: #ffe2b3; } .notice.err { background: rgba(255, 90, 95, .07); border-color: rgba(255, 90, 95, .25); color: #ffc9cb; } .notice code { font: 12px var(--mono); padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #fff; white-space: nowrap; } .notice b { font-weight: 600; color: #fff; } /* ---------- the stage: chips, island, status, captions ---------- */ .stage { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; } .chips { height: 44px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; flex-wrap: nowrap; pointer-events: none; } .chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; white-space: nowrap; font-size: 13px; color: var(--ink); background: rgba(18, 20, 28, .72); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: chip-in .42s var(--ease) both; } .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tone, var(--ink-3)); box-shadow: 0 0 10px var(--tone, transparent); } .chip .v { font: 12px var(--mono); color: var(--ink-2); } .chip.out { animation: chip-out .5s ease-in both; } .chip[data-tone="go"] { --tone: var(--go); } .chip[data-tone="hold"] { --tone: var(--hold); } .chip[data-tone="yield"] { --tone: var(--yield); } .chip[data-tone="pace"] { --tone: var(--pace); } .chip[data-tone="info"] { --tone: var(--accent); } @keyframes chip-in { from { opacity: 0; transform: translateY(10px) scale(.94); filter: blur(4px); } } @keyframes chip-out { to { opacity: 0; transform: translateY(-8px) scale(.97); filter: blur(3px); } } #island { width: 100%; height: 230px; display: block; } .island-wrap { position: relative; width: 100%; } .orb { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; transform: translate(-50%, -50%); border-radius: 50%; border: 0; padding: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; } .orb:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; } .status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); min-height: 20px; margin-top: -18px; } .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); transition: background .3s, box-shadow .3s; } body[data-state="listening"] .status-dot, body[data-state="talking"] .status-dot { background: #7fd6ff; box-shadow: 0 0 10px #7fd6ff; } body[data-state="speaking"] .status-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); } body[data-state="thinking"] .status-dot, body[data-state="connecting"] .status-dot, body[data-state="waiting"] .status-dot { background: #fff; animation: blink 1s ease-in-out infinite; } body[data-state="held"] .status-dot { background: var(--hold); } body[data-state="yielded"] .status-dot { background: var(--yield); } .status-meta { font: 12px var(--mono); letter-spacing: 0; text-transform: none; color: var(--ink-3); } @keyframes blink { 50% { opacity: .25; } } .captions { width: 100%; max-width: 620px; min-height: 84px; margin-top: 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; } .cap { margin: 0; min-height: 1.5em; text-wrap: balance; transition: opacity .5s; overflow-wrap: anywhere; } .cap:empty { opacity: 0; } .cap-agent { font-size: clamp(17px, 2.3vw, 21px); line-height: 1.4; font-weight: 500; color: var(--ink); max-height: 5.6em; overflow: hidden; text-wrap: pretty; } .cap-agent .unsaid { color: transparent; } .cap-agent.long { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .35) 30%, #000 62%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .35) 30%, #000 62%); } .cap-agent.dim { opacity: .45; } .cap-user { font-size: 15px; color: var(--ink-2); } .cap-user.partial { color: var(--ink-3); font-weight: 300; } .cap-user.fade, .cap-agent.fade { opacity: 0; } .cap-user:not(:empty)::before { content: attr(data-who) " "; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; } /* ---------- persona picker ---------- */ .picker { width: 100%; max-width: 860px; margin-top: 2px; } .picker { max-width: 780px; } .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cards.fun { margin-top: 10px; animation: fun-in .35s var(--ease) both; } @keyframes fun-in { from { opacity: 0; transform: translateY(-6px); } } .card.more { border-style: dashed; } .card.more[aria-expanded="true"] { background: var(--glass-2); border-style: solid; } .card.more .card-title { margin-left: 0; font-family: var(--mono); } .chev { margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); } .card.more[aria-expanded="true"] .chev { transform: translateY(2px) rotate(225deg); } .more-dots { display: flex !important; align-items: center; gap: 6px; flex-wrap: nowrap; white-space: nowrap; } .more-dots .card-dot { width: 7px; height: 7px; background: var(--c, var(--accent)); box-shadow: 0 0 8px var(--c, var(--accent)); } .more-dots span:not(.card-dot) { margin-right: 6px; overflow: hidden; text-overflow: ellipsis; } .card { --c: var(--accent); position: relative; text-align: left; padding: 14px 15px 13px; border-radius: 18px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; } .card::after { content: ""; position: absolute; inset: auto -20% -70% -20%; height: 100%; pointer-events: none; opacity: 0; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%); transition: opacity .35s; } .card:hover { transform: translateY(-2px); background: var(--glass-2); } .card[aria-checked="true"] { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: var(--glass-2); box-shadow: 0 10px 40px -18px var(--c); } .card[aria-checked="true"]::after { opacity: 1; } .card-top { display: flex; align-items: center; gap: 8px; } .card-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); flex: none; } .card-name { font-weight: 600; font-size: 16px; } .card-title { margin-left: auto; font-size: 11.5px; color: var(--ink-2); padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; } .card-tag { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } /* ---------- call button ---------- */ .controls { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; } .under { display: flex; flex-direction: column; align-items: center; gap: 10px; } .keys { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); } .keys kbd { font: 11px var(--mono); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); } .keys span { margin-right: 8px; } /* ---------- decision log drawer ---------- */ .drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(340px, calc(100vw - 24px)); z-index: 20; display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--line); background: rgba(13, 15, 21, .82); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); animation: drawer-in .35s var(--ease) both; } @keyframes drawer-in { from { opacity: 0; transform: translateX(24px); } } .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px 18px; } .drawer-head h2 { margin: 0; font-size: 15px; font-weight: 600; } .icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); } .icon:hover { background: var(--glass-2); color: var(--ink); } .drawer-empty { margin: 6px 18px; font-size: 13px; color: var(--ink-3); } .log { list-style: none; margin: 0; padding: 0 10px 14px; overflow-y: auto; flex: 1; min-height: 0; overscroll-behavior: contain; } .log li { padding: 10px 8px; border-top: 1px solid var(--line); } .log li:first-child { border-top: 0; } .log-head { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; } .log-head .t { font: 11px var(--mono); color: var(--ink-3); flex: none; } .log-head .k { color: var(--ink-3); font-size: 11.5px; margin-left: auto; white-space: nowrap; } .log-head b { font-weight: 600; } .log-head b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; vertical-align: 2px; background: var(--tone, var(--ink-3)); } .log li[data-tone="go"] { --tone: var(--go); } .log li[data-tone="hold"] { --tone: var(--hold); } .log li[data-tone="yield"] { --tone: var(--yield); } .log li[data-tone="pace"] { --tone: var(--pace); } .log li[data-tone="info"] { --tone: var(--accent); } .log-note { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; } .bars { margin-top: 7px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 8px; align-items: center; font: 11px var(--mono); color: var(--ink-3); } .bars .bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; } .bars .bar i { display: block; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, .35); } .bars .on { color: var(--ink); } .bars .on + .bar i { background: var(--tone, var(--accent)); } /* ---------- setup flow ---------- */ .sheet-wrap { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 12px; } .sheet-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 8, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .25s both; } .sheet { position: relative; width: min(700px, 100%); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--line); background: rgba(13, 15, 21, .92); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); animation: sheet-in .35s var(--ease) both; } @keyframes sheet-in { from { opacity: 0; transform: translateY(14px) scale(.985); } } @keyframes fade-in { from { opacity: 0; } } .sheet-body { flex: 1; min-height: 220px; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 18px; display: flex; flex-direction: column; gap: 14px; } .sheet-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); } .primary { padding: 8px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #06120c; background: linear-gradient(180deg, #8ff0c0, #46c98b); transition: opacity .2s, transform .2s var(--ease); } .primary:hover:not(:disabled) { transform: translateY(-1px); } .primary:disabled, .ghost:disabled { opacity: .38; cursor: default; } .ghost.small { padding: 4px 12px; font-size: 12.5px; flex: none; } .setup-head { gap: 10px; justify-content: flex-start; padding: 14px 14px 6px 20px; } .setup-head .icon { flex: none; } .ref[hidden] + .icon { margin-left: auto; } .tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 11px; line-height: 1.6; white-space: nowrap; color: var(--ink-2); border: 1px solid var(--line); } .tag.go { color: var(--go); border-color: color-mix(in srgb, var(--go) 35%, transparent); } .tag.hold { color: var(--hold); border-color: color-mix(in srgb, var(--hold) 35%, transparent); } .ref { position: relative; margin-left: auto; } .ref-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 2; width: min(340px, calc(100vw - 48px)); padding: 6px; display: flex; flex-direction: column; gap: 2px; border-radius: 16px; border: 1px solid var(--line); background: #12141c; box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .85); animation: chip-in .25s var(--ease) both; } .ref-item { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 9px 12px; border-radius: 11px; } .ref-item:hover, .ref-item:focus-visible { background: var(--glass-2); } .ref-item b { font-size: 13.5px; font-weight: 600; } .ref-item span { font: 11.5px var(--mono); color: var(--ink-3); overflow-wrap: anywhere; } .rail { list-style: none; margin: 0; padding: 6px 16px 12px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); } .rail li { display: flex; align-items: center; gap: 6px; min-width: 0; } .rail li + li::before { content: ""; width: 12px; height: 1px; background: var(--line); flex: none; } .rail-step { --tone: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 4px 9px 4px 4px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); transition: background .2s, color .2s; } .rail-step:hover { background: var(--glass); color: var(--ink); } .rail-step[aria-current="step"] { background: var(--glass-2); color: var(--ink); } .rail-step[data-state="ready"] { --tone: var(--go); } .rail-step[data-state="unsaved"] { --tone: var(--accent); } .rail-step[data-state="error"] { --tone: var(--danger); } .rail-step[data-state="testing"] { --tone: #fff; } .rail-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 11px var(--mono); color: var(--ink-2); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--tone) 70%, transparent) inset; } .rail-step[data-state="ready"] .rail-dot { background: var(--go); box-shadow: none; } .rail-step[data-state="ready"] .rail-dot::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border-left: 2px solid #06120c; border-bottom: 2px solid #06120c; transform: rotate(-45deg); } .rail-step[data-state="unsaved"] .rail-dot, .rail-step[data-state="error"] .rail-dot { color: var(--tone); } .rail-step[data-state="testing"] .rail-dot { animation: blink 1s ease-in-out infinite; } .rail-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .picks { display: flex; flex-wrap: wrap; gap: 7px; } .pick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--glass); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; } .pick:hover { background: var(--glass-2); color: var(--ink); } .pick[aria-pressed="true"] { color: var(--ink); background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 65%, transparent); } .pick.maybe { color: var(--ink); border-style: dashed; border-color: color-mix(in srgb, var(--accent) 70%, transparent); } .picks.wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; } .picks.wide .pick { border-radius: 16px; padding: 13px 15px; flex-wrap: wrap; text-align: left; } .picks.wide .pick-name { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-right: auto; } .field label { align-items: center; } .field .doc { font-size: 11.5px; color: var(--ink-3); text-decoration: none; white-space: nowrap; } .field .doc:hover { color: var(--ink); text-decoration: underline; } .field-side { display: inline-flex; align-items: center; gap: 8px; min-width: 0; } .field-note { font: 11px var(--mono); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; } .field-note.err { color: #ffb3b6; } .mini { padding: 1px 9px; border-radius: 999px; font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--line); } .mini:hover { color: var(--ink); background: var(--glass-2); } .mini.refm { margin-top: 7px; padding: 2px 10px; } .mini code { font: 11.5px var(--mono); color: var(--ink); } .input.set { border-color: color-mix(in srgb, var(--go) 35%, transparent); } .adv { display: flex; flex-direction: column; gap: 10px; } .adv-toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 2px 0; font-size: 12.5px; color: var(--ink-3); } .adv-toggle::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s; } .adv-toggle[aria-expanded="true"]::before { transform: rotate(45deg); } .adv-toggle:hover { color: var(--ink); } .step-error { margin: 0; padding: 8px 11px; border-radius: 11px; font: 12px/1.5 var(--mono); color: #ffc9cb; background: rgba(255, 90, 95, .08); border: 1px solid rgba(255, 90, 95, .22); overflow-wrap: anywhere; } .step-title { margin: 4px 0 0; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; } .step-empty { margin: auto; color: var(--ink-3); font-size: 13px; } .sums { margin-top: 6px; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; } .sum { --tone: var(--ink-3); display: flex; align-items: center; gap: 10px; padding: 12px 14px; text-align: left; font-size: 13.5px; transition: background .2s; } .sum + .sum { border-top: 1px solid var(--line); } .sum:hover { background: var(--glass); } .sum[data-state="ready"] { --tone: var(--go); } .sum[data-state="todo"] { --tone: var(--hold); } .sum[data-state="unsaved"] { --tone: var(--accent); } .sum[data-state="error"] { --tone: var(--danger); } .sum[data-state="testing"] { --tone: #fff; } .sum-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); } .sum[data-state="testing"] .sum-dot { animation: blink 1s ease-in-out infinite; } .sum-name { flex: none; width: 150px; font-weight: 600; } .sum-what { flex: 1; min-width: 0; font: 12px var(--mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sum-test { flex: none; font: 12px var(--mono); color: color-mix(in srgb, var(--tone) 80%, var(--ink)); } .ro { margin: 0; display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 10px 16px; font-size: 13.5px; } .ro dt { color: var(--ink-2); } .ro dd { margin: 0; min-width: 0; overflow-wrap: anywhere; } .ro code { font: 12.5px var(--mono); } .foot-status { margin-right: auto; padding-left: 6px; font: 12px var(--mono); color: var(--ink-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .foot-status[data-state="ready"] { color: var(--go); } .foot-status[data-state="error"] { color: #ffb3b6; } .foot-status[data-state="unsaved"] { color: var(--accent); } .sheet-foot .ghost { padding: 7px 16px; } .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .field { min-width: 0; } .field.wide { grid-column: 1 / -1; } .field label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 12.5px; color: var(--ink-2); } .field label code { font: 10.5px var(--mono); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .input { display: flex; align-items: center; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); transition: border-color .2s, background .2s; } .input:focus-within { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: rgba(0, 0, 0, .4); } .input input, .input select { flex: 1; min-width: 0; width: 100%; padding: 8px 11px; border: 0; outline: 0; background: none; color: var(--ink); font: 13px var(--mono); border-radius: 12px; } .input input::placeholder { color: var(--ink-3); } .input input.masked { -webkit-text-security: disc; text-security: disc; } /* keys: masked without being a password field */ .input input.masked::placeholder { -webkit-text-security: none; } .input input:disabled, .input select:disabled { color: var(--ink-2); opacity: 1; -webkit-text-fill-color: var(--ink-2); } .input select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer; } .input select option { background: #11131a; color: var(--ink); } .input.select { position: relative; } .input.select::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; } .in-btn { flex: none; height: 28px; min-width: 28px; margin-right: 4px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); font-size: 12px; } .in-btn:hover, .in-btn[aria-pressed="true"] { color: var(--ink); background: var(--glass-2); } .hint { margin: 4px 2px 0; font-size: 11.5px; color: var(--ink-3); overflow-wrap: anywhere; } .toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; max-width: calc(100vw - 32px); padding: 9px 18px; border-radius: 999px; font-size: 13.5px; color: var(--ink); background: rgba(18, 20, 28, .94); border: 1px solid color-mix(in srgb, var(--go) 45%, transparent); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8); animation: chip-in .42s var(--ease) both; overflow-wrap: anywhere; } .toast.err { border-color: rgba(255, 90, 95, .5); color: #ffc9cb; border-radius: 16px; } body.settings-open { overflow: hidden; } body.clean .sheet-wrap, body.clean .toast { display: none; } @media (min-width: 1000px) { .main, .foot { transition: padding .35s var(--ease); } body.drawer-open .main, body.drawer-open .foot { padding-right: 364px; } body.drawer-open .top { padding-right: 376px; } } /* ---------- footer ---------- */ .foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); font-size: 12.5px; color: var(--ink-3); } .foot a { text-decoration: none; color: var(--ink-2); } .foot a:hover { color: var(--ink); text-decoration: underline; } .providers { font: 11px var(--mono); } .providers:not(:empty)::before { content: "· "; } /* ---------- phases ---------- */ .hero, .picker, .under, .notice { transition: opacity .45s var(--ease), transform .45s var(--ease), max-height .55s var(--ease), margin .45s var(--ease); max-height: 420px; } body[data-phase="call"] .hero, body[data-phase="call"] .picker, body[data-phase="call"] .notice:not(.err) { opacity: 0; transform: translateY(-8px) scale(.98); max-height: 0; margin: 0; overflow: hidden; pointer-events: none; visibility: hidden; transition: opacity .3s, transform .45s var(--ease), max-height .55s var(--ease), visibility 0s .3s; } body[data-phase="call"] .keys { display: none; } body[data-phase="idle"] .captions { min-height: 0; margin-top: 0; } body[data-phase="idle"] .chips { height: 10px; } body[data-phase="idle"] #island { height: 150px; } #island, .chips { transition: height .5s var(--ease); } /* H: nothing but the island, the chips and the captions — for screen recordings */ body.clean .chrome { opacity: 0 !important; pointer-events: none; } body.clean .orb { cursor: default; } body.clean .drawer { display: none; } body.clean { cursor: none; } @media (max-width: 640px) { .top { padding: 14px 14px; } .brand-name { display: none; } .top-actions { gap: 6px; } .ghost-label { display: none; } .sheet-wrap { padding: 8px; } .sheet { max-height: calc(100dvh - 16px); } .fields { grid-template-columns: 1fr; } .cards { grid-template-columns: 1fr 1fr; } .rail { padding: 6px 12px 10px; gap: 3px; } .rail li { gap: 3px; } .rail li + li::before { width: 6px; } .rail-step:not([aria-current]) .rail-name { display: none; } .rail-step:not([aria-current]) { padding: 4px; } .sum-name { width: auto; } .seg.lang svg { display: none; } .seg.lang { padding-left: 3px; } #setupRefToggle { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } .card { padding: 12px; } .card-title { display: none; } .keys { display: none; } #island { height: 180px; } .chips { flex-wrap: wrap-reverse; height: 64px; } .controls { margin-top: 14px; } } @media (max-height: 700px) { body[data-phase="idle"] #island { height: 120px; } .hero .sub { display: none; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }