/* Sounds & Voice: scoped to Family. Shared MEMENTO palette and native audio. */
#voice>.grid.two,#voice #voiceProfiles{display:none}#voice .gv-shell [hidden]{display:none!important}
#voice .gv-shell{max-width:920px;margin:0 auto;color:var(--ink,#3e3935);font-size:16px;line-height:1.55}
#voice .gv-heading{padding:12px 0 24px;max-width:670px}#voice .gv-heading h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.035em;font-weight:650;margin:12px 0}#voice .gv-heading p{margin:0;color:#70675f;max-width:570px}
#voice .gv-eyebrow{color:#9b4611;font-size:11px;letter-spacing:.13em;font-weight:750}
#voice .gv-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line,#eadfd2);margin-bottom:28px;padding:0 0 8px}#voice .gv-tabs button{border:0;background:transparent;color:#655b52;padding:12px 18px;border-radius:12px;font-weight:650;min-height:48px;flex:1}#voice .gv-tabs button[aria-selected=true]{background:#ffeddd;color:#92400c;box-shadow:inset 0 -2px #d56619}
#voice .gv-surface,#voice .gvLibraryHost .card{background:var(--card,#fffdf9);border:1px solid var(--line,#eadfd2);border-radius:22px;padding:32px;box-shadow:0 8px 28px #6d574509}#voice h3{font-size:23px;line-height:1.3;letter-spacing:-.02em;font-weight:650;margin:8px 0 12px}#voice h4{margin:0 0 8px;font-size:16px}
#voice .gv-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0 28px}#voice .gv-section-heading h3{margin:0 0 8px}#voice .gv-section-heading p{color:#70675f;margin:0;max-width:430px}#voice .gv-section-heading .btn{flex-shrink:0}
#voice .gv-shell .btn{min-height:46px;border-radius:12px;padding:11px 18px;font-weight:650;border:1px solid #d6c7b8;background:#fffdf9;color:#4b4036}#voice .gv-shell .btn.primary{background:#ad4b0b;border-color:#ad4b0b;color:white}#voice .gv-shell .btn.danger{color:#a32e26;background:#fff7f4;border-color:#e9c1bb}#voice .gv-shell button:disabled{opacity:.5;cursor:not-allowed}#voice .gv-shell :focus-visible{outline:3px solid #8c420e;outline-offset:4px}#voice .gv-shell .btn:hover:not(:disabled){filter:brightness(.96)}
#voice .gv-wizard-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#73665a;font-size:13px;margin-bottom:14px}#voice .gv-back{background:none;border:0;padding:10px 0;color:#8c420e;min-height:44px;font-weight:650}
#voice .gv-steps{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;position:sticky;top:0;z-index:5;background:var(--cream,#fbf7f0);padding:14px 0;margin:0 0 20px}#voice .gv-steps li{display:flex;gap:8px;align-items:center;color:#85796e;padding:10px 8px;border-bottom:2px solid #ded4c9;font-size:13px;font-weight:600;line-height:1.25}#voice .gv-step-number{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#eee7df;font-size:13px}#voice .gv-step-state{display:block;font-size:10px;font-weight:400;margin-top:5px}#voice .gv-steps li[data-state=current]{color:#8c3f0a;border-color:#b2500d}#voice .gv-steps li[data-state=current] .gv-step-number{background:#ad4b0b;color:#fff}#voice .gv-steps li[data-state=complete]{color:#376546;border-color:#8aa68e}#voice .gv-steps li[data-state=complete] .gv-step-number{background:#e3eee4;color:#315e3c}
#voice .gv-shell label:not(.gv-check){display:block;font-size:14px;font-weight:650;margin:22px 0 8px}#voice .gv-shell input:not([type=checkbox]),#voice .gv-shell select,#voice .gv-shell textarea{width:100%;max-width:100%;min-height:48px;border:1px solid #cdbfad;border-radius:12px;background:#fff;padding:12px;color:#3e3935;font:inherit}#voice .gv-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}#voice .gv-shell textarea{resize:vertical;min-height:132px}#voice .gv-note{color:#70675f;font-size:14px;line-height:1.65}#voice .gv-availability{border-left:3px solid #c17b42;padding:12px 16px;background:#fff4e7;border-radius:0 10px 10px 0;font-size:14px;color:#6f4c2d;margin:18px 0}
#voice .gv-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px;padding-top:22px;border-top:1px solid #eadfd2}#voice .gv-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0 4px}#voice .gv-check{display:flex;align-items:flex-start;gap:12px;margin:22px 0;color:#64594f;font-size:14px}#voice .gv-check input{width:20px;height:20px;flex-shrink:0;margin-top:2px;accent-color:#ad4b0b}
#voice .gv-recording{text-align:center;margin:26px 0;padding:28px 18px;background:#fff6eb;border:1px solid #f1dfc8;border-radius:20px}#voice .gv-mic{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#ffe5ca;color:#a4470d;margin:auto}#voice .gv-mic svg{width:32px;height:32px}#voice #gvCapture{font-size:14px;margin:16px 0 4px}#voice #gvTime{display:block;font-size:38px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-weight:600}#voice #gvLevel{height:7px;width:min(240px,90%);background:#ead9c7;border-radius:8px;overflow:hidden;margin:14px auto 8px}#voice #gvLevel span{display:block;height:100%;width:calc(var(--voice-level,0)*100%);background:#ad4b0b;border-radius:8px}#voice #gvLevelValue{color:#70675f;font-size:12px}
#voice .gv-script-card{padding:18px 20px;border:1px solid #e4d8ca;border-radius:16px;background:#fffdfa}#voice .gv-script-card summary{font-size:13px;font-weight:650;cursor:pointer;color:#7e5a3b}#voice .gv-script{font-size:18px;line-height:1.8;margin:14px 0 0;max-width:62ch}#voice .gv-details{margin-top:22px;font-size:14px;color:#70675f}#voice .gv-details summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}#voice .gv-quality-result{padding:16px 18px;background:#f6f1e9;border-radius:14px;color:#4e483f;line-height:1.65}
#voice .gv-audio-card,#voice #gvGenerated .status-card,#voice #gvApprovalAudio .status-card{padding:20px;border-radius:16px;border:1px solid #e4d8ca;background:#faf6ef;margin:20px 0}#voice audio{display:block;width:100%;max-width:100%;min-width:0;margin:14px 0 4px}#voice .gv-audio-card .gv-actions{justify-content:flex-end}
#voice .gv-voice-row{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:16px;padding:20px;border:1px solid #eadfd2;border-radius:16px;background:#fffdf9;margin:12px 0}#voice .gv-voice-row small{display:block;color:#70675f;margin-top:4px;font-size:13px}#voice .gv-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#f6e5d1;color:#8c420e;font-weight:600;font-size:20px}#voice .gv-empty{text-align:center;border:1px dashed #d6c5b4;border-radius:20px;padding:50px 28px;color:#70675f}#voice .gv-empty h3{color:#4b4036;font-size:21px}
#voice #gvLibraryHost>.card{box-shadow:none;margin:0 0 22px!important;padding:28px}#voice #voiceList .row,#voice #soundbitRows .row{align-items:start;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:20px;border:1px solid #e6dacd;border-radius:16px;background:#faf6ef;margin:14px 0}#voice #voiceList .row>div,#voice #soundbitRows .row>div{width:100%;min-width:0}#voice #voiceList .row small,#voice #soundbitRows .row small{color:#70675f;line-height:1.6}#voice #soundbitForm{padding:20px;background:#faf6ef;border-radius:16px}#voice #gvStatus:not(:empty){padding:14px 18px;background:#f6eee2;border-radius:12px;margin:14px 0;font-size:14px}#voice .gv-error{color:#a02f24}#voice .gv-success{color:#376546}
@media(max-width:700px){#voice .gv-heading{padding-top:4px}#voice .gv-heading h2{font-size:27px}#voice .gv-tabs{gap:2px;margin-bottom:22px}#voice .gv-tabs button{padding:12px 5px;font-size:13px;border-radius:10px}#voice .gv-section-heading{align-items:stretch;flex-direction:column;gap:18px}#voice .gv-section-heading .btn{align-self:flex-start}#voice .gv-surface,#voice #gvLibraryHost>.card{padding:20px 16px;border-radius:18px}#voice .gv-fields{grid-template-columns:1fr;gap:0}#voice .gv-steps{gap:3px;padding:10px 0}#voice .gv-steps li{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 2px;gap:7px;font-size:11px}#voice .gv-step-state{font-size:9px}#voice .gv-step-number{width:26px;height:26px}#voice .gv-footer{flex-direction:column-reverse;align-items:stretch;gap:10px}#voice .gv-footer .btn,#voice .gv-actions .btn{flex:1;min-width:120px}#voice .gv-script{font-size:16px;line-height:1.75}#voice .gv-recording{padding:24px 12px}#voice .gv-audio-card{padding:16px 12px}#voice .gv-voice-row{grid-template-columns:40px 1fr;gap:12px;padding:16px}#voice .gv-voice-row .btn{grid-column:2;justify-self:start}#voice .gv-avatar{width:38px;height:38px}#voice #voiceList .row,#voice #soundbitRows .row{grid-template-columns:1fr;padding:16px}#voice #voiceList .row>.btn,#voice #soundbitRows .row>.btn{justify-self:start}#voice #soundbitForm .form{grid-template-columns:1fr}#voice .gv-empty{padding:32px 16px}}
@media(prefers-reduced-motion:reduce){#voice *,#voice *::before,#voice *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#voice .gv-library-add{margin:18px 0;border:1px solid #e4d8ca;border-radius:14px}#voice .gv-library-add summary{padding:16px 18px;min-height:48px;cursor:pointer;font-weight:650;color:#8c420e;font-size:14px}#voice .gv-library-add #soundbitForm{margin:0 12px 12px}#voice .gv-library-add[open] summary{border-bottom:1px solid #eadfd2;margin-bottom:12px}

.gv-tabs button{white-space:normal;min-width:0}.gv-tabs{grid-template-columns:1fr 1fr 1.35fr}#gvOwnText{width:100%;min-height:140px}#gvReturnLater{margin-top:18px}
