:root {
  color-scheme: dark;
  --canvas: #0a0d0c;
  --canvas-soft: #0d1110;
  --sidebar: #0e1311;
  --surface: #131917;
  --surface-2: #18201d;
  --surface-3: #202925;
  --surface-hover: #25302b;
  --line: rgba(231, 239, 234, 0.08);
  --line-strong: rgba(231, 239, 234, 0.14);
  --text: #f1f5f2;
  --muted: #a7b1ab;
  --quiet: #748079;
  --accent: #b9f2d2;
  --accent-strong: #7ee2ae;
  --accent-ink: #07110c;
  --accent-soft: rgba(126, 226, 174, 0.1);
  --sand: #e9c98d;
  --sand-soft: rgba(233, 201, 141, 0.1);
  --blue: #92b7ff;
  --green: #7ee2ae;
  --amber: #e9c98d;
  --red: #ff989f;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.48);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Arabic", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: radial-gradient(circle at 84% -12%, rgba(98, 186, 142, 0.08), transparent 30rem), linear-gradient(135deg, var(--canvas), #080b0a 65%);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
button:disabled { cursor: default; opacity: .5; }
svg { display: block; }
[hidden] { display: none !important; }

.app { width: 100%; min-height: 100dvh; display: grid; grid-template-columns: 244px minmax(0, 1fr); background: var(--canvas-soft); }
.app[hidden] { display: none; }
.side { position: sticky; top: 0; height: 100dvh; padding: 18px 14px 16px; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--sidebar); }
.brand { min-height: 58px; padding: 4px 8px 15px; display: flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(185, 242, 210, .2); border-radius: 13px; background: radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .24), transparent 34%), linear-gradient(145deg, #21543b, #0d261b); color: var(--accent); box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 8px 24px rgba(31, 116, 76, .18); }
.brand-mark svg { width: 19px; height: 19px; }
.brand strong { display: block; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.brand small { display: block; margin-top: 1px; color: var(--quiet); font-size: 11px; }
.nav { display: grid; gap: 3px; margin-top: 13px; }
.nav::before { content: "مساحة العمل"; padding: 0 12px 8px; color: var(--quiet); font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.nav button { width: 100%; min-height: 46px; padding: 0 11px; border: 1px solid transparent; border-radius: 12px; display: flex; align-items: center; gap: 11px; background: transparent; color: var(--muted); text-align: right; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s var(--ease); }
.nav button:hover { background: rgba(255, 255, 255, .035); color: var(--text); }
.nav button:active { transform: scale(.985); }
.nav button[aria-current="page"] { border-color: rgba(185, 242, 210, .08); background: linear-gradient(90deg, rgba(126, 226, 174, .12), rgba(126, 226, 174, .035)); color: var(--accent); }
.nav .ico { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 9px; }
.nav button[aria-current="page"] .ico { background: rgba(126, 226, 174, .11); }
.nav .ico svg { width: 18px; height: 18px; }
.side-note { margin-top: auto; padding: 14px 12px 5px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 11px; line-height: 1.8; }

.workspace { min-width: 0; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(circle at 92% 8%, rgba(126, 226, 174, .045), transparent 22rem), var(--canvas-soft); }
.top { min-height: 68px; flex: 0 0 68px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: rgba(13, 17, 16, .86); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); z-index: 20; }
.top h1 { margin: 0; font-size: 16px; font-weight: 620; letter-spacing: -.01em; }
.top p { margin: 1px 0 0; color: var(--quiet); font-size: 11px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.main { min-height: 0; flex: 1; overflow: auto; padding: 34px clamp(24px, 4vw, 56px) 76px; scrollbar-color: var(--surface-3) transparent; }
.main > * { width: min(1280px, 100%); margin-inline: auto; }
.head { min-height: 58px; margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.head h2 { margin: 0; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.25; font-weight: 650; letter-spacing: -.035em; }
.head p { max-width: 700px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.eyebrow { margin-bottom: 7px; display: flex; align-items: center; gap: 7px; color: var(--accent-strong); font-size: 11px; font-weight: 650; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

.btn { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface-2); color: var(--text); font-size: 14px; font-weight: 520; white-space: nowrap; transition: transform .14s var(--ease), background .16s ease, border-color .16s ease, color .16s ease; }
.btn:hover { border-color: var(--line-strong); background: var(--surface-3); }
.btn:active { transform: scale(.975); }
.btn.primary { border-color: rgba(185, 242, 210, .72); background: linear-gradient(180deg, #c8f7db, #a9edc8); color: var(--accent-ink); font-weight: 650; box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 7px 24px rgba(71, 184, 126, .13); }
.btn.primary:hover { border-color: var(--accent); background: #d4fae3; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost:hover { background: rgba(255, 255, 255, .045); color: var(--text); }
.btn.danger { color: var(--red); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.icon-btn { width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 50%; }
.sync { position: relative; max-width: 154px; border-color: transparent; background: transparent; color: var(--muted); font-size: 12px; }
.sync:hover { background: rgba(255, 255, 255, .04); }
.sync::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--quiet); }
.sync[data-state="synced"]::after { background: var(--green); box-shadow: 0 0 0 4px rgba(126, 226, 174, .08); }
.sync[data-state="offline"]::after { background: var(--amber); }
.sync[data-state="error"]::after { background: var(--red); }

.voice-launch { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; overflow: hidden; border: 1px solid rgba(185, 242, 210, .22); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .3), transparent 20%), conic-gradient(from 220deg, #10271d, #2b7151, #c49c57, #10271d 82%); color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 8px 24px rgba(0, 0, 0, .28); transition: transform .18s var(--ease), box-shadow .18s ease; }
.voice-launch::before { content: ""; position: absolute; inset: 4px; border-radius: inherit; background: rgba(8, 14, 11, .76); backdrop-filter: blur(4px); }
.voice-launch:hover { transform: translateY(-1px); box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 12px 34px rgba(31, 134, 82, .2); }
.voice-launch:active { transform: scale(.96); }
.voice-bars, .inline-wave { position: relative; z-index: 1; height: 20px; display: flex; align-items: center; justify-content: center; gap: 3px; direction: ltr; }
.voice-bars i, .inline-wave i { display: block; width: 2.5px; border-radius: 999px; background: currentColor; }
.voice-bars i:nth-child(1), .voice-bars i:nth-child(5), .inline-wave i:nth-child(1), .inline-wave i:nth-child(5) { height: 7px; }
.voice-bars i:nth-child(2), .voice-bars i:nth-child(4), .inline-wave i:nth-child(2), .inline-wave i:nth-child(4) { height: 13px; }
.voice-bars i:nth-child(3), .inline-wave i:nth-child(3) { height: 19px; }
.voice-launch[data-state="listening"] .voice-bars i, .voice-launch[data-state="speaking"] .voice-bars i { animation: voice-bar .58s ease-in-out infinite alternate; }

.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { min-height: 29px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .018); color: var(--muted); font-size: 12px; }
.chip.blue { border-color: rgba(146, 183, 255, .2); color: var(--blue); }
.chip.green { border-color: rgba(126, 226, 174, .22); background: var(--accent-soft); color: var(--green); }
.chip.amber { border-color: rgba(233, 201, 141, .22); background: var(--sand-soft); color: var(--amber); }

.search-field { position: relative; min-width: 0; }
.search-field > svg { position: absolute; z-index: 1; top: 50%; right: 15px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--quiet); pointer-events: none; }
.search, .input, .textarea, .select { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); font-size: 15px; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.search { margin: 0; padding-right: 44px; }
.search::placeholder, .input::placeholder, .textarea::placeholder { color: #66716b; }
.search:hover, .input:hover, .textarea:hover, .select:hover { border-color: var(--line-strong); }
.search:focus, .input:focus, .textarea:focus, .select:focus { border-color: rgba(126, 226, 174, .38); background: var(--surface-2); box-shadow: 0 0 0 4px rgba(126, 226, 174, .055); }
.textarea { min-height: 154px; resize: vertical; line-height: 1.8; }
.layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; }

.relationship-shell { min-height: calc(100dvh - 190px); padding: 7px; border: 1px solid var(--line); border-radius: 24px; display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 7px; background: rgba(255, 255, 255, .014); box-shadow: 0 18px 50px rgba(0, 0, 0, .12); }
.relationship-list-pane { min-width: 0; padding: 13px; border-radius: 18px; background: var(--surface); }
.collection-head { min-height: 45px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.collection-head strong { display: block; font-size: 14px; font-weight: 620; }
.collection-head small { display: block; margin-top: 1px; color: var(--quiet); font-size: 11px; }
.collection-head .btn { min-height: 36px; padding-inline: 11px; font-size: 12px; }
.filter-row { margin: 10px 0 5px; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-pill { min-height: 32px; padding: 0 11px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--quiet); font-size: 12px; white-space: nowrap; }
.filter-pill:hover { background: rgba(255, 255, 255, .035); color: var(--muted); }
.filter-pill.active { border-color: rgba(185, 242, 210, .1); background: var(--accent-soft); color: var(--accent); }
.records { max-height: calc(100dvh - 340px); margin-top: 6px; overflow: auto; scrollbar-color: var(--surface-3) transparent; }
.record { position: relative; width: 100%; min-height: 78px; margin: 3px 0; padding: 10px; border: 1px solid transparent; border-radius: 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 11px; background: transparent; color: var(--text); text-align: right; transition: background .16s ease, border-color .16s ease, transform .16s var(--ease); }
.record:hover { background: rgba(255, 255, 255, .035); }
.record:active { transform: scale(.99); }
.record.active { border-color: rgba(185, 242, 210, .11); background: linear-gradient(90deg, rgba(126, 226, 174, .105), rgba(126, 226, 174, .028)); }
.record.active::after { content: ""; position: absolute; inset: 14px auto 14px 0; width: 2px; border-radius: 4px; background: var(--accent-strong); }
.record-avatar, .profile-avatar, .voice-record-avatar { display: grid; place-items: center; border: 1px solid rgba(185, 242, 210, .12); border-radius: 13px; background: linear-gradient(145deg, #20362d, #17231e); color: var(--accent); font-weight: 650; }
.record-avatar { width: 40px; height: 40px; font-size: 12px; }
.record-copy { min-width: 0; }
.record strong { display: block; overflow: hidden; font-size: 14px; font-weight: 610; text-overflow: ellipsis; white-space: nowrap; }
.record small { display: block; margin-top: 3px; overflow: hidden; color: var(--quiet); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.record-status { min-height: 25px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; color: var(--quiet); font-size: 10px; white-space: nowrap; }
.record-status.needs { border-color: rgba(233, 201, 141, .18); color: var(--amber); }
.record-status.done { border-color: rgba(126, 226, 174, .18); color: var(--green); }
.record-status.silent { color: var(--quiet); }

.detail { min-width: 0; padding: 20px clamp(18px, 3vw, 32px) 28px; border-radius: 18px; background: rgba(10, 14, 12, .48); }
.profile-hero { min-height: 104px; padding-bottom: 21px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 15px; }
.profile-avatar { width: 64px; height: 64px; border-radius: 20px; font-size: 18px; box-shadow: inset 0 1px rgba(255, 255, 255, .06); }
.profile-identity { min-width: 0; }
.profile-identity .profile-kicker { display: block; margin-bottom: 2px; color: var(--quiet); font-size: 11px; }
.profile-identity h3 { margin: 0; overflow: hidden; font-size: 23px; line-height: 1.35; font-weight: 650; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.profile-identity p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.profile-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.profile-section { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255, .012); }
.profile-section.wide { grid-column: 1 / -1; }
.profile-section-head { margin-bottom: 8px; }
.profile-section-head h4 { margin: 0; font-size: 13px; font-weight: 620; }
.profile-section-head p { margin: 2px 0 0; color: var(--quiet); font-size: 11px; }
.fields { margin-top: 0; }
.field-row { min-height: 56px; display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.field-row:last-child { border-bottom: 0; }
.field-row > label:first-child { color: var(--quiet); font-size: 12px; }
.field-row input, .field-row textarea { width: 100%; min-height: 40px; padding: 8px 0; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text); font-size: 14px; }
.field-row textarea { min-height: 72px; resize: vertical; line-height: 1.7; }
.field-row input:not([readonly]), .field-row textarea:not([readonly]) { padding-inline: 10px; border-color: var(--line); background: var(--surface); }
.phone { direction: ltr; text-align: right; unicode-bidi: plaintext; }
.source-note, .note { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .012); color: var(--quiet); font-size: 12px; line-height: 1.75; }
.footer-actions { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mobile-back, .top-relation-back { display: none; }
.empty { padding: 36px 16px; color: var(--quiet); text-align: center; }

.today-hero { position: relative; min-height: 230px; padding: clamp(24px, 4vw, 44px); overflow: hidden; border: 1px solid rgba(185, 242, 210, .1); border-radius: var(--radius-xl); background: linear-gradient(120deg, rgba(30, 78, 55, .8), rgba(18, 31, 25, .92) 50%, rgba(18, 25, 22, .94)), var(--surface); box-shadow: var(--shadow-sm); }
.today-hero::after { content: ""; position: absolute; width: 380px; height: 380px; left: -80px; top: -180px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255, 255, 255, .018), 0 0 0 92px rgba(255, 255, 255, .012); }
.today-hero > * { position: relative; z-index: 1; }
.today-hero h2 { max-width: 620px; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.22; font-weight: 620; letter-spacing: -.045em; }
.today-hero > p { max-width: 630px; margin: 12px 0 0; color: #bfcac3; font-size: 14px; line-height: 1.8; }
.today-stats { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.today-stat { min-width: 142px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(6, 13, 9, .28); backdrop-filter: blur(12px); }
.today-stat strong { display: block; font-size: 22px; line-height: 1.1; }
.today-stat span { display: block; margin-top: 5px; color: #9daba2; font-size: 11px; }
.today-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 18px; }
.workstream, .insight-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.section-title { min-height: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.section-title h3 { margin: 0; font-size: 16px; font-weight: 620; }
.section-title p { margin: 2px 0 0; color: var(--quiet); font-size: 11px; }
.task { min-height: 70px; padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.task:last-child { border-bottom: 0; }
.task-check { width: 31px; height: 31px; border: 1px solid var(--line-strong); border-radius: 10px; display: grid; place-items: center; color: var(--quiet); }
.task-check svg { width: 16px; height: 16px; }
.task b { display: block; font-size: 14px; font-weight: 590; }
.task small { display: block; margin-top: 2px; color: var(--quiet); font-size: 11px; }
.task .btn { min-height: 34px; padding-inline: 11px; font-size: 12px; }
.insight-panel { display: flex; flex-direction: column; }
.relationship-glance { margin-top: 8px; }
.glance-row { min-height: 57px; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.glance-row:last-child { border-bottom: 0; }
.glance-row strong { display: block; font-size: 13px; }
.glance-row small { display: block; margin-top: 2px; color: var(--quiet); font-size: 11px; }
.glance-count { min-width: 30px; min-height: 25px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--sand-soft); color: var(--amber); font-size: 10px; }
.privacy-strip { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 11px; line-height: 1.7; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { min-width: 0; display: grid; gap: 7px; }
.field label { color: var(--muted); font-size: 12px; }
.field > small { color: var(--quiet); font-size: 11px; line-height: 1.7; }
.span-2 { grid-column: 1 / -1; }
.offer-workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 14px; }
.offer-editor, .offer-sidebar { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.offer-editor .textarea { min-height: 310px; border-color: transparent; background: rgba(0, 0, 0, .16); font-size: 16px; }
.offer-editor .input { font-size: 17px; font-weight: 580; }
.offer-section + .offer-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.offer-section-head { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer-section-head strong { font-size: 13px; }
.offer-section-head small { color: var(--quiet); font-size: 11px; }
.recipient-count { min-height: 29px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
.recipient-list { max-height: 300px; margin-top: 10px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .1); }
.recipient { min-height: 62px; padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 11px; transition: background .14s ease; }
.recipient:hover { background: rgba(255, 255, 255, .025); }
.recipient:last-child { border-bottom: 0; }
.recipient input { width: 18px; height: 18px; accent-color: var(--accent-strong); }
.recipient span { min-width: 0; }
.recipient strong { display: block; font-size: 13px; }
.recipient small { display: block; margin-top: 2px; overflow: hidden; color: var(--quiet); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.input[type="file"] { padding: 6px; color: var(--quiet); font-size: 12px; }
.input[type="file"]::file-selector-button { min-height: 34px; margin-left: 10px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--surface-3); color: var(--text); font: inherit; cursor: pointer; }
.attachment-picker { min-height: 72px; padding: 11px 12px; border: 1px dashed var(--line-strong); border-radius: 14px; display: flex; align-items: center; gap: 11px; background: rgba(255, 255, 255, .012); cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.attachment-picker:hover { border-color: rgba(126, 226, 174, .32); background: var(--accent-soft); }
.attachment-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); color: var(--accent); font-size: 20px; }
.attachment-picker strong { display: block; color: var(--text); font-size: 12px; }
.attachment-picker small { display: block; margin-top: 2px; color: var(--quiet); font-size: 10px; }
.media-list { margin-top: 9px; display: grid; gap: 7px; }
.media { min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .012); }
.media-thumb { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--accent); font-size: 10px; }
.media > div:nth-child(2) { min-width: 0; flex: 1; }
.media strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.media small { display: block; margin-top: 2px; color: var(--quiet); font-size: 10px; }
.media .icon-btn { width: 34px; height: 34px; min-height: 34px; }
.offer-actions { position: sticky; bottom: -1px; z-index: 5; margin-top: 14px; padding: 14px 0 0; background: linear-gradient(transparent, var(--canvas-soft) 18%); }

.price-toolbar { margin-bottom: 14px; display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 10px; }
.price-toolbar-actions { display: flex; gap: 8px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: right; font-size: 13px; }
.table th { background: rgba(255, 255, 255, .018); color: var(--quiet); font-size: 11px; font-weight: 550; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .14s ease; }
.table tbody tr:hover { background: rgba(255, 255, 255, .022); }
.table td strong { font-weight: 610; }
.table td:last-child { white-space: nowrap; }
.table td:last-child .btn { min-height: 34px; padding-inline: 9px; font-size: 11px; }

.calculator-shell { padding: 8px; border: 1px solid var(--line); border-radius: 24px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 8px; background: rgba(255, 255, 255, .012); }
.calc-form { padding: 22px; }
.calc-result { position: relative; min-height: 330px; padding: 28px; overflow: hidden; border-radius: 18px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #193427, #101a15 70%); }
.calc-result::after { content: ""; position: absolute; width: 260px; height: 260px; left: -110px; bottom: -150px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255, 255, 255, .015); }
.calc-result > * { position: relative; z-index: 1; }
.calc-result span { color: #9eb0a6; font-size: 12px; }
.calc-result .total { margin: 8px 0 24px; font-size: clamp(34px, 4vw, 48px); line-height: 1.15; font-weight: 650; letter-spacing: -.045em; }
.calc-result p { margin: 7px 0; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, .07); color: #aebcb4; font-size: 12px; }

dialog { padding: 0; border: 0; background: transparent; color: var(--text); }
dialog::backdrop { background: rgba(1, 3, 2, .7); backdrop-filter: blur(8px); }
.modal { width: min(560px, calc(100vw - 28px)); max-height: min(88dvh, 760px); overflow: auto; padding: 22px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.modal-head { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal h3 { margin: 0; font-size: 20px; font-weight: 630; }
.modal-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 8px; }
#authDialog { max-width: none; max-height: none; }
#authDialog::backdrop { background: var(--canvas); }
.auth-dialog { position: relative; width: min(420px, calc(100vw - 32px)); padding: 34px; overflow: hidden; border-color: rgba(185, 242, 210, .1); background: linear-gradient(150deg, #131b17, #0d1210); text-align: center; }
.auth-dialog::before { content: ""; position: absolute; width: 230px; height: 230px; top: -150px; right: -90px; border-radius: 50%; background: rgba(80, 193, 132, .12); filter: blur(18px); }
.auth-dialog > * { position: relative; z-index: 1; }
.auth-logo { width: 58px; height: 58px; margin: 0 auto 17px; border: 1px solid rgba(185, 242, 210, .2); border-radius: 19px; display: grid; place-items: center; background: linear-gradient(145deg, #265c43, #10251b); color: var(--accent); font-size: 23px; font-weight: 700; box-shadow: 0 14px 36px rgba(23, 107, 68, .2); }
.auth-dialog h3 { font-size: 25px; }
.auth-intro { margin: 7px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.auth-error { min-height: 26px; margin-top: 8px; color: var(--red); font-size: 12px; }
.auth-note { margin-top: 16px; color: var(--quiet); font-size: 11px; line-height: 1.7; }

.voice-dialog { width: min(700px, calc(100vw - 32px)); height: min(820px, calc(100dvh - 32px)); max-width: none; max-height: none; margin: auto; border-radius: 28px; }
.voice { position: relative; width: 100%; height: 100%; overflow: hidden; padding: 16px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border: 1px solid rgba(185, 242, 210, .12); border-radius: inherit; background: radial-gradient(circle at 50% 37%, rgba(62, 155, 105, .11), transparent 16rem), radial-gradient(circle at 16% 12%, rgba(233, 201, 141, .06), transparent 15rem), linear-gradient(160deg, #111714, #0a0e0c 72%); box-shadow: var(--shadow-lg); }
.voice::before { content: ""; position: absolute; inset: 0; opacity: .17; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at 50% 42%, #000, transparent 64%); }
.voice > * { position: relative; z-index: 1; }
.voice-head { min-height: 52px; padding: 0 2px 13px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.voice-head .icon-btn { width: 42px; height: 42px; min-height: 42px; border-color: transparent; background: rgba(255, 255, 255, .025); }
.voice-head .icon-btn:hover { background: rgba(255, 255, 255, .055); }
.voice-head .icon-btn svg { width: 19px; height: 19px; }
.voice-name { text-align: center; }
.voice-name strong { display: block; font-size: 15px; font-weight: 650; }
.voice-name small { display: block; margin-top: 1px; color: var(--quiet); font-size: 11px; }
.voice-body { min-height: 0; overflow: auto; padding: 18px 12px; scrollbar-color: var(--surface-3) transparent; }
.voice-stage { width: min(560px, 100%); min-height: 100%; margin-inline: auto; display: flex; flex-direction: column; }
.voice-meta { min-height: 30px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.voice-scope { display: inline-flex; align-items: center; gap: 7px; color: var(--quiet); font-size: 11px; }
.voice-scope::before { content: ""; width: 7px; height: 7px; border: 1px solid rgba(185, 242, 210, .38); border-radius: 2px; background: rgba(126, 226, 174, .08); }
.voice-status { min-height: 27px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.voice-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--quiet); }
.voice-status.ready { color: var(--green); }
.voice-status.ready .voice-status-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(126, 226, 174, .07); }
.voice-status.off { color: var(--amber); }
.voice-status.off .voice-status-dot { background: var(--amber); }
.voice-record { min-height: 66px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 15px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; background: rgba(255, 255, 255, .022); }
.voice-record-avatar { width: 42px; height: 42px; font-size: 12px; }
.voice-record strong { display: block; font-size: 13px; }
.voice-record small { display: block; margin-top: 2px; color: var(--quiet); font-size: 11px; }
.voice-record .chip { min-height: 25px; padding-inline: 8px; font-size: 10px; }
.voice-center { flex: 1; min-height: 0; padding: clamp(20px, 4vh, 38px) 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.voice-visual { position: relative; width: 170px; height: 170px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; isolation: isolate; }
.voice-visual::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: conic-gradient(from 220deg, rgba(126, 226, 174, .28), rgba(233, 201, 141, .22), rgba(70, 142, 255, .18), rgba(126, 226, 174, .28)); filter: blur(1px); opacity: .8; }
.voice-visual::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle at 33% 25%, rgba(255, 255, 255, .16), transparent 26%), linear-gradient(145deg, #1b3d2c, #0f1c16 62%, #2e2a1e); box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 24px 70px rgba(0, 0, 0, .34); }
.voice-core { position: relative; z-index: 2; width: 108px; height: 108px; display: grid; place-items: center; border-radius: 50%; color: #f7fbf8; }
.voice-wave { height: 46px; display: flex; align-items: center; justify-content: center; gap: 4px; direction: ltr; }
.voice-wave i { width: 3px; border-radius: 999px; background: currentColor; box-shadow: 0 0 12px rgba(185, 242, 210, .2); }
.voice-wave i:nth-child(1), .voice-wave i:nth-child(7) { height: 9px; }
.voice-wave i:nth-child(2), .voice-wave i:nth-child(6) { height: 18px; }
.voice-wave i:nth-child(3), .voice-wave i:nth-child(5) { height: 30px; }
.voice-wave i:nth-child(4) { height: 42px; }
.voice-symbol { width: 43px; height: 43px; }
.voice-visual[data-state="listening"]::before, .voice-visual[data-state="speaking"]::before { animation: voice-orbit 2.5s linear infinite; }
.voice-visual[data-state="listening"]::after, .voice-visual[data-state="speaking"]::after { animation: voice-breathe 1.3s ease-in-out infinite; }
.voice-visual[data-state="listening"] .voice-wave i, .voice-visual[data-state="speaking"] .voice-wave i { animation: voice-bar .58s ease-in-out infinite alternate; }
.voice-visual[data-state="thinking"]::before { animation: voice-orbit .9s linear infinite; }
.voice-kicker { margin-top: 19px; color: var(--accent-strong); font-size: 11px; font-weight: 650; }
.voice-body h3 { margin: 5px 0 8px; font-size: clamp(26px, 4vw, 34px); line-height: 1.3; font-weight: 620; letter-spacing: -.035em; }
.voice-body p { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.voice-note { max-width: 480px; margin: 12px auto 0; padding: 9px 12px; border: 1px solid rgba(233, 201, 141, .14); border-radius: 11px; background: rgba(233, 201, 141, .055); color: #c5b58f; font-size: 11px; line-height: 1.65; text-align: center; }
.transcript { width: min(480px, 100%); min-height: 62px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(0, 0, 0, .16); color: var(--text); text-align: right; }
.voice-actions { margin-top: 18px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.voice-actions .btn { min-height: 43px; }
.voice-review { flex: 1; min-height: 0; padding-top: 18px; }
.voice-review h3 { margin-top: 0; font-size: 24px; }
.proposal { width: 100%; margin-top: 16px; padding: 5px 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .022); text-align: right; }
.proposal-row { min-height: 51px; padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.proposal-row:last-child { border-bottom: 0; }
.proposal-row span { color: var(--quiet); font-size: 12px; }
.proposal-row strong { font-size: 13px; }
.proposal-values { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.proposal-values del { color: var(--quiet); font-size: 11px; }
.proposal-values b { color: var(--quiet); font-weight: 400; }
.proposal-values strong { color: var(--accent); }
.voice-input { min-height: 58px; margin-top: 12px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 18px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px; background: rgba(24, 32, 29, .94); box-shadow: 0 12px 32px rgba(0, 0, 0, .24); }
.voice-input .icon-btn { width: 44px; height: 44px; min-height: 44px; border-color: transparent; background: transparent; }
.voice-input #micButton { color: var(--accent); }
.voice-input #assistantSend { background: var(--accent); color: var(--accent-ink); }
.voice[data-stage="privacy"] .voice-input,
.voice[data-stage="thinking"] .voice-input,
.voice[data-stage="saved"] .voice-input { opacity: .48; pointer-events: none; }
.voice[data-stage="listening"] #micButton { background: rgba(255, 152, 159, .12); color: var(--red); }
.voice-input input { min-width: 0; height: 44px; padding: 0 10px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.voice-input input:focus-visible { border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(126, 226, 174, .62); }
.voice-input input::placeholder { color: var(--quiet); }
.voice-input svg { width: 20px; height: 20px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 90px); max-width: min(520px, calc(100vw - 32px)); padding: 11px 15px; border: 1px solid rgba(185, 242, 210, .2); border-radius: 13px; background: #e4f7ec; color: #0b2015; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .22s var(--ease); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@keyframes voice-orbit { to { transform: rotate(360deg); } }
@keyframes voice-breathe { 50% { transform: scale(1.035); filter: brightness(1.08); } }
@keyframes voice-bar { to { transform: scaleY(.4); opacity: .65; } }

@media (max-width: 1360px) {
  .app { grid-template-columns: 220px minmax(0, 1fr); }
  .relationship-shell { grid-template-columns: 340px minmax(0, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-section.wide { grid-column: auto; }
  .offer-workspace { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
}

@media (max-width: 900px) {
  .app { grid-template-columns: 86px minmax(0, 1fr); }
  .brand { justify-content: center; padding-inline: 0; }
  .brand > div:last-child, .side-note, .nav button > span:last-child, .nav::before { display: none; }
  .nav button { padding: 0; justify-content: center; }
  .nav .ico { width: 38px; height: 38px; }
  .relationship-shell { grid-template-columns: 310px minmax(0, 1fr); }
  .offer-workspace { grid-template-columns: 1fr; }
  .offer-editor .textarea { min-height: 220px; }
  .today-grid, .calculator-shell { grid-template-columns: 1fr; }
  .calc-result { min-height: 260px; }
}

@media (max-width: 780px) {
  body { overflow: hidden; }
  .app { display: block; min-height: 100dvh; }
  .workspace { width: 100%; height: 100dvh; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .side { position: fixed; inset: auto 0 0; width: 100%; height: calc(72px + env(safe-area-inset-bottom)); padding: 5px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--line); border-left: 0; background: rgba(13, 18, 16, .94); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25); z-index: 50; }
  .brand, .side-note { display: none; }
  .nav { height: 100%; margin: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .nav::before { display: none; }
  .nav button { min-height: 62px; padding: 3px 1px; border: 0; border-radius: 12px; flex-direction: column; justify-content: center; gap: 2px; font-size: 11px; text-align: center; }
  .nav button > span:last-child { display: block; }
  .nav button[aria-current="page"] { background: transparent; }
  .nav button[aria-current="page"] .ico { background: var(--accent-soft); color: var(--accent); }
  .nav .ico { width: 38px; height: 30px; border-radius: 999px; }
  .nav .ico svg { width: 20px; height: 20px; }
  .top { min-height: calc(60px + env(safe-area-inset-top)); flex-basis: calc(60px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 14px 0; }
  .top h1 { font-size: 16px; }
  .top p { display: none; }
  .top-actions { gap: 5px; }
  .sync { width: 40px; max-width: 40px; padding: 0; font-size: 0; }
  .sync::after { position: absolute; margin: 22px 0 0 22px; box-shadow: 0 0 0 2px var(--canvas-soft); }
  .sync svg { width: 18px; height: 18px; }
  .voice-launch { width: 41px; height: 41px; min-height: 41px; }
  #newButton { width: 41px; min-height: 41px; padding: 0; border-radius: 50%; }
  #newButton span { display: none; }
  #newButton svg { width: 20px; height: 20px; }
  .main { padding: 23px 14px 36px; }
  .head { min-height: 48px; margin-bottom: 20px; align-items: flex-start; }
  .head h2 { font-size: 25px; }
  .head p { font-size: 12px; }
  .head > :last-child { flex: 0 0 auto; }
  .head .btn { min-height: 38px; padding-inline: 11px; font-size: 12px; }
  .today-hero { min-height: 0; padding: 25px 20px; border-radius: 22px; }
  .today-hero h2 { font-size: 32px; }
  .today-stats { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .today-stat { min-width: 0; padding: 10px; }
  .today-stat strong { font-size: 19px; }
  .today-stat span { font-size: 10px; }
  .today-grid { gap: 12px; }
  .workstream, .insight-panel { padding: 16px; border-radius: 17px; }
  .relationship-shell { min-height: 0; padding: 0; border: 0; display: block; background: transparent; box-shadow: none; }
  .relationship-list-pane { padding: 7px; border-radius: 17px; }
  .records { max-height: none; overflow: visible; }
  .record { min-height: 76px; }
  .detail { padding: 2px 0 24px; background: transparent; }
  .main[data-page="relationships"] .relationship-list-pane { display: block; }
  .main[data-page="relationships"] .detail { display: none; }
  .main[data-page="relationships"][data-relationship-mode="detail"] .relationship-list-pane { display: none; }
  .main[data-page="relationships"][data-relationship-mode="detail"] .detail { display: block; }
  .mobile-back { display: inline-flex; }
  .top-relation-back { width: 40px; height: 40px; min-height: 40px; margin-left: 3px; display: inline-flex; border-color: transparent; background: transparent; }
  .top-relation-back + div { flex: 1; }
  .profile-hero { min-height: 92px; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; }
  .profile-avatar { width: 54px; height: 54px; border-radius: 17px; font-size: 15px; }
  .profile-identity h3 { font-size: 21px; }
  .profile-grid { grid-template-columns: 1fr; gap: 9px; }
  .profile-section { padding: 15px; }
  .profile-section.wide { grid-column: auto; }
  .field-row { min-height: 64px; grid-template-columns: 1fr; gap: 1px; padding: 8px 0; align-items: start; }
  .field-row input, .field-row textarea { padding-inline: 0; }
  .field-row input:not([readonly]), .field-row textarea:not([readonly]) { padding-inline: 10px; }
  .footer-actions { align-items: stretch; }
  .footer-actions > div { width: 100%; display: flex; gap: 7px; flex-wrap: wrap; }
  .footer-actions .btn { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .offer-editor, .offer-sidebar { padding: 16px; border-radius: 17px; }
  .offer-editor .textarea { min-height: 240px; }
  .recipient-list { max-height: min(42dvh, 360px); }
  .offer-actions { bottom: -1px; }
  .price-toolbar { grid-template-columns: 1fr; }
  .price-toolbar-actions { justify-content: stretch; }
  .price-toolbar-actions .btn { flex: 1; }
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { margin-bottom: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
  .table td { position: relative; min-height: 34px; padding: 5px 92px 5px 0; border: 0; white-space: normal; }
  .table td::before { content: attr(data-label); position: absolute; right: 0; top: 6px; color: var(--quiet); font-size: 11px; }
  .table td:last-child { padding: 10px 0 0; display: flex; gap: 4px; flex-wrap: wrap; }
  .table td:last-child::before { display: none; }
  .calculator-shell { padding: 6px; border-radius: 19px; }
  .calc-form { padding: 14px 10px; }
  .calc-result { min-height: 250px; padding: 24px; }
  .modal { width: 100vw; max-height: 100dvh; min-height: 100dvh; padding: calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; }
  .auth-dialog { width: min(420px, calc(100vw - 30px)); min-height: auto; padding: 28px 22px; border: 1px solid var(--line); border-radius: 22px; }
  .voice-dialog { width: 100vw; height: 100dvh; margin: 0; border-radius: 0; }
  .voice { padding: calc(10px + env(safe-area-inset-top)) 12px calc(10px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; }
  .voice-head { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .voice-head > .chip { display: none; }
  .voice-body { padding: 14px 3px; }
  .voice-meta { margin-bottom: 10px; }
  .voice-record { min-height: 62px; }
  .voice-center { padding: clamp(18px, 5vh, 42px) 0 6px; justify-content: flex-start; }
  .voice-visual { width: 150px; height: 150px; }
  .voice-body h3 { font-size: 28px; }
  .voice-input { margin-top: 8px; border-radius: 17px; }
  .voice-actions { width: 100%; }
  .voice-actions .btn { flex: 1; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .main { padding-inline: 12px; }
  .today-stats { grid-template-columns: 1fr 1fr; }
  .today-stat:last-child { grid-column: 1 / -1; }
  .profile-hero { grid-template-columns: 50px minmax(0, 1fr); }
  .profile-hero > .chips { grid-column: 1 / -1; }
  .voice-scope { max-width: 190px; }
}

@media (max-height: 720px) and (min-width: 781px) {
  .voice-dialog { height: calc(100dvh - 20px); }
  .voice-body { padding-block: 12px; }
  .voice-stage { min-height: auto; }
  .voice-center { padding-block: 12px 4px; justify-content: flex-start; }
  .voice-visual { width: 112px; height: 112px; }
  .voice-visual::after { inset: 12px; }
  .voice-core { width: 76px; height: 76px; }
  .voice-wave { height: 36px; }
  .voice-wave i:nth-child(4) { height: 31px; }
  .voice-body h3 { margin-top: 3px; font-size: 25px; }
  .voice-kicker { margin-top: 8px; }
  .voice-note { margin-top: 7px; }
  .voice-actions { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
