@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&family=M+PLUS+Rounded+1c:wght@700;800&display=swap');
.mode-tabs{display:flex;background:#e8eddf;padding:6px;border-radius:18px;margin-bottom:18px;gap:6px;position:sticky;top:8px;z-index:2;box-shadow:0 4px 15px #34492a08}.mode-tabs button{flex:1;background:transparent;border:0;font-size:18px;padding:16px 8px}.mode-tabs button.selected{background:#365f47;color:white;box-shadow:0 3px 8px #283d3318}.mode-tabs small{display:block;font-size:10px;margin-top:4px;opacity:.7}.workspace.workspace{display:block}.workspace .card{max-width:700px;margin:0 auto}.workspace [hidden]{display:none}.mode-tabs{max-width:700px;margin-left:auto;margin-right:auto}
:root{font-family:'M PLUS Rounded 1c','Hiragino Maru Gothic ProN','Yu Gothic',sans-serif;color:#283d33;background:#fffce3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer;border:1px solid #d7dfd2;background:#fff;border-radius:12px;padding:12px 16px;color:#304b3a;font-weight:600;min-height:46px}button:hover{filter:brightness(.96)}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #718e43;outline-offset:4px}header{max-width:1160px;padding:26px 28px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe5d8}.brand{display:flex;align-items:center;gap:13px;font-size:29px;text-decoration:none;color:inherit}.brand span{font-size:18px;font-weight:800}.brand small{font-size:10px;display:block;letter-spacing:.15em;font-weight:400;margin-top:4px;color:#7c897c}.badge,.local-tag{font-size:11px;background:#e9eddc;padding:7px 12px;border-radius:30px}main{max-width:1080px;margin:auto;padding:0 24px}.intro{display:flex;align-items:center;justify-content:space-between;padding:42px 0 28px}.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:700;color:#81966a;margin:0 0 10px}h1{font-size:30px;letter-spacing:.02em;margin:0 0 12px}p{font-size:13px;line-height:1.9;color:#728071;margin:8px 0}.bird-mark{position:relative;font-size:80px;transform:rotate(-8deg);margin-right:38px}.bird-mark span{position:absolute;font-size:13px;background:white;white-space:nowrap;top:-5px;right:-40px;padding:8px 13px;border-radius:20px;transform:rotate(8deg)}.profile{display:flex;align-items:center;gap:20px;padding:20px 24px;background:#edf0e2;border:1px solid #e0e7d4;border-radius:18px;margin-bottom:26px}.profile-icon{font-size:25px;background:#fff9e2;padding:12px;border-radius:16px}.profile label{display:block;font-size:10px;color:#7a896d;margin-bottom:5px}.profile input,.profile select{border:0;background:transparent;font-size:14px;font-weight:700;color:#34452d;max-width:190px;width:100%;padding:3px 0}.profile .local-tag{margin-left:auto;background:#f8faef;color:#819071}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:24px}.card{border-radius:24px;border:1px solid #e0e6d9;background:#fff;padding:28px 30px;box-shadow:0 8px 30px #34492a03}.section-top{display:flex;align-items:center;gap:10px;font-size:11px;color:#87937c}.step{background:#eff3e6;border-radius:7px;padding:5px 7px;font-size:11px;color:#5d7850}h2{font-size:23px;margin:16px 0 4px;letter-spacing:.03em}.voice-display{display:flex;gap:15px;align-items:center;justify-content:center;height:126px;margin-top:10px}.voice-icon{background:#f0f4e8;color:#668940;border-radius:50%;font-size:24px;padding:12px 19px}.voice-display>span:last-child{font-size:12px;color:#91a17c;font-variant-numeric:tabular-nums}.wave{height:54px;display:flex;gap:5px;align-items:center}.wave i{width:4px;height:15px;background:#b4cb81;border-radius:5px}.wave i:nth-child(3n){height:38px}.wave i:nth-child(4n){height:26px}.wave i:nth-child(5n){height:48px}.recording .wave i{animation:wave .7s ease-in-out infinite alternate}.recording .wave i:nth-child(2n){animation-delay:.2s}@keyframes wave{to{height:8px;opacity:.5}}.primary{display:block;width:100%;background:#dbeab6;border-color:#dbeab6;padding:15px;font-size:14px;color:#3d562b}.primary.dark{background:#365f47;border-color:#365f47;color:white}.primary.is-recording{background:#a3483c;border-color:#a3483c;color:white}.micro{font-size:10px;line-height:1.8;color:#8a9486}.play-row{display:flex;gap:8px;margin:17px 0 22px}.play-row button{font-size:11px;flex:1;padding:9px}.play-row button:last-child{flex:0}details{border-top:1px solid #edf0e8;padding-top:16px}summary{font-size:12px;cursor:pointer;font-weight:600}summary span{float:right;font-size:10px;color:#8c987e;font-weight:400}.toggle{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.7;margin:16px 0}input[type=checkbox]{accent-color:#597a39;width:16px;height:16px;flex-shrink:0}input[type=range]{width:100%;accent-color:#7a9654;cursor:pointer;min-height:26px}.range-label{display:flex;justify-content:space-between;font-size:11px;margin-top:14px}.range-label output{font-weight:600;color:#607f3c}.range-ends{display:flex;justify-content:space-between;font-size:9px;color:#9aa38f}.listen-orb{margin:24px auto 18px;width:136px;height:136px;border-radius:50%;background:#eef3e8;border:10px solid #f7f9f2;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.listen-orb>span{font-size:35px;color:#577848}.listen-orb small{font-size:9px;color:#849875}.level{height:4px;border-radius:5px;background:#f0f3eb;width:60%;margin:0 auto 23px;overflow:hidden}.level>div{height:100%;width:0;background:#8ba866;transition:width .12s}.transcript{border:1px dashed #dce3d3;background:#fafbf7;border-radius:12px;padding:16px;margin-top:18px;min-height:90px}.transcript span{font-size:10px;color:#839174}.transcript p{font-size:12px;margin:9px 0 0}.status{font-size:11px;padding:14px 4px;color:#718568;min-height:48px}.notebook{margin-top:22px}.notebook-title{display:flex;justify-content:space-between;align-items:center}.notebook-title h2{font-size:21px;margin-top:0}.notebook-title h2 span{font-size:11px;padding:4px 8px;background:#e7edda;border-radius:8px;margin-left:5px}.notebook-title>span{font-size:10px;color:#8b9683}.empty{text-align:center;border:1px dashed #d6dfca;border-radius:18px;padding:36px 15px;margin:20px 0}.empty>span{font-size:29px;color:#99ab85}.empty h3{font-size:14px;font-weight:500}.empty p{font-size:11px}.record{background:white;border:1px solid #dfe6d7;border-radius:16px;padding:20px;margin-top:14px}.record header{padding:0;border:0;font-size:12px}.record audio{width:100%;height:36px;margin:15px 0}.record label{display:block;font-size:10px;color:#7e8c71}.record textarea{width:100%;padding:12px;border:1px solid #dfe6d7;border-radius:8px;margin:7px 0;font-size:13px;resize:vertical}.record-actions{display:flex;align-items:center;gap:14px;font-size:11px}.record-actions a{color:#51733c}.record-actions button{font-size:11px;margin-left:auto;padding:5px 12px;min-height:34px}.record time{font-size:10px;color:#859277}.care{display:flex;gap:16px;border-radius:16px;background:#eeeedd;padding:22px;margin-top:30px}.care>span{font-size:28px;color:#9f9f66}.care strong{font-size:12px}.care p{font-size:11px;margin-bottom:0}.research{margin-top:23px}.research p{font-size:11px}.research a{color:#51733c}footer{padding:32px 0;font-size:11px;color:#7e8e6d;display:flex;justify-content:space-between}footer span{font-size:10px;color:#a0aa95}@media(max-width:680px){header{padding:20px}.brand span{font-size:15px}.brand small{font-size:9px}main{padding:0 18px}.intro{padding:28px 0 22px}h1{font-size:23px}.intro p{font-size:11px;max-width:250px}.bird-mark{font-size:45px;margin-right:6px}.bird-mark span{display:none}.profile{padding:15px;gap:12px;flex-wrap:wrap}.profile-icon{display:none}.profile>div{flex:1}.profile .local-tag{display:none}.workspace{grid-template-columns:1fr;gap:18px}.card{padding:24px}.notebook-title>span{max-width:130px;line-height:1.7;text-align:right}.voice-display{height:110px}.care{padding:18px}.notebook-title h2{font-size:18px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.hold-talk{width:100%;min-height:150px;margin-top:20px;background:#365f47;color:white;border:0;border-radius:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.hold-talk>span{font-size:34px}.hold-talk strong{font-size:21px}.hold-talk small{font-size:11px;opacity:.8}.hold-talk.broadcasting{background:#a3483c;box-shadow:0 0 0 6px #a3483c18}.hold-state{text-align:center;font-size:12px;color:#587445}.record-option{margin:22px 0}.record-option .primary{background:#eef2e6;border-color:#dbe3d2}.record-option .primary.is-recording{background:#a3483c;color:white}

.record-below-talk{margin-top:12px}.record-below-talk.is-recording{background:#a3483c;color:#fff}

.hold-talk{position:relative;min-height:176px;gap:6px;padding:24px 16px 18px}.hold-talk>span{font-size:23px;opacity:.75}.hold-talk strong{font-size:40px;font-weight:800;letter-spacing:.12em;line-height:1.5}.hold-talk small{font-size:10px;font-weight:400;opacity:.65;letter-spacing:.04em;margin-top:8px}

/* Budgie-inspired buttons: lime feathers, yellow crown and sky-blue accents. */
.mode-tabs{background:#e7f3dc;border:1px solid #d3e8bf;box-shadow:0 5px 16px #8cbd6420}
.mode-tabs #talkTab{color:#426923;background:#f4f9d7}
.mode-tabs #talkTab.selected{color:#315c20;background:linear-gradient(135deg,#fff397,#b7e779);box-shadow:0 4px 0 #8fc65b,0 6px 14px #8ec85426}
.mode-tabs #listenTab{color:#326979;background:#e6f6fc}
.mode-tabs #listenTab.selected{color:#245969;background:linear-gradient(135deg,#b9f2e3,#9edcfa);box-shadow:0 4px 0 #69bbd8,0 6px 14px #73c4d426}
.hold-talk{color:#335c25;background:radial-gradient(circle at 12% 22%,#ffffff69 0 7px,transparent 8px),radial-gradient(circle at 88% 72%,#ffffff65 0 11px,transparent 12px),linear-gradient(135deg,#fff294 0%,#d8ed80 42%,#8eda8a 100%);border:2px solid #d4ed88;border-bottom:6px solid #7cb958;box-shadow:0 8px 20px #83b55025;border-radius:30px}
.hold-talk:hover{filter:brightness(1.025)}
.hold-talk strong{text-shadow:0 2px 0 #ffffff60}
.hold-talk small{color:#3e652b;opacity:.85}
.hold-talk:active,.hold-talk.broadcasting{color:#683845;background:linear-gradient(135deg,#ffe69a,#ffc3a7 48%,#f6a8c2);border-color:#f6c097;border-bottom-color:#d68b95;box-shadow:0 0 0 5px #ffd4df65}
.hold-talk.broadcasting small{color:#683845}
.record-below-talk{background:linear-gradient(110deg,#ffe4a0,#ffd29b);color:#724d25;border:1px solid #f3c17e;border-bottom:4px solid #e8b26a;border-radius:17px}
.primary.dark{background:linear-gradient(110deg,#aeeadd,#9ad9f4);color:#255d6c;border:1px solid #97d3dd;border-bottom:4px solid #70b9d2;border-radius:17px}
.primary.is-recording,.record-below-talk.is-recording{background:linear-gradient(110deg,#ffc5bf,#f5a9ca);color:#713649;border-color:#dc8ca6}
.play-row button:nth-child(1){background:#e8f5d2;border-color:#c5dea2;color:#41652d}
.play-row button:nth-child(2){background:#e0f3fc;border-color:#b2ddeb;color:#326377}
.play-row button:nth-child(3){background:#ffe7ef;border-color:#efc2d1;color:#84435e}
button:focus-visible{outline:3px solid #377488;outline-offset:4px}

.output-meter{margin:16px 0 10px;padding:14px 16px 10px;border:1px solid #d4eac9;border-radius:16px;background:#f6fbef}.meter-caption{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:#647b55;margin-bottom:10px}.meter-caption>span:first-child{font-weight:700}.meter-state{font-size:9px;color:#829476}.meter-track{height:18px;border-radius:7px;background:#e1ead8;overflow:hidden;position:relative}.meter-track:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(to right,transparent 0,transparent calc(5% - 3px),#f6fbef calc(5% - 3px),#f6fbef 5%)}.meter-fill{height:100%;width:0;background:linear-gradient(90deg,#74d69a,#b4df64 55%,#f5d562 80%,#ee9bb4);transition:width .07s linear}.meter-foot{display:flex;justify-content:space-between;margin-top:5px;font-size:8px;color:#899b7b}.output-meter.has-output{border-color:#a5d583}.has-output .meter-state{color:#407b36}.output-meter.near-peak{border-color:#e598b0}

.meter-track{height:60px;display:flex;align-items:flex-end;gap:4px;padding:4px 6px;background:#eaf3e1;border-radius:10px}.meter-track:after{display:none}.eq-bar{display:block;flex:1;min-width:0;height:4px;border-radius:4px 4px 2px 2px;background:linear-gradient(to top,#73ce9b,#d0e96f 65%,#ffe68c);transition:height .085s ease-out}.eq-bar:nth-child(4n+2){background:linear-gradient(to top,#65c9bd,#9fdfeb)}.eq-bar:nth-child(4n+3){background:linear-gradient(to top,#94c86c,#e4eb85)}.eq-bar:nth-child(4n){background:linear-gradient(to top,#e2a2c6,#ffd0af)}

/* Transfer 52px of height from the talk button to the equalizer. */
.hold-talk{height:124px;min-height:124px;padding:12px 16px;gap:2px}.hold-talk>span{display:none}.hold-talk strong{font-size:40px;line-height:1.3}.hold-talk small{margin-top:4px}.meter-track{height:112px}

.demo-toggle{display:block;margin:0 0 10px auto;padding:4px 10px;min-height:30px;font-size:10px;background:#f3eafb;border-color:#ded0ed;color:#735780}.meter-state{max-width:65%;text-align:right}

.header-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.language-label{font-size:10px;color:#718365}.header-options select{padding:8px;border:1px solid #cfdfc3;border-radius:10px;background:white;color:#365f47;max-width:115px}.note-columns{display:flex;gap:12px;margin:14px 0}.note-columns span{flex:1;border-radius:12px;padding:14px;background:#e7f4e1;font-size:12px}.note-columns span+span{background:#f8eaf0}.analysis-settings{padding:14px;border:1px solid #dee5d5;border-radius:12px}.analysis-settings label{font-size:11px;display:block;margin:10px 0 6px}.analysis-settings input{padding:10px;border:1px solid #cedbbe;border-radius:8px;width:min(100%,320px)}.analysis-section{margin-top:20px;border-top:1px solid #e4eadc;padding-top:12px}.analysis-section h3{font-size:14px}.analysis-section>label{margin-top:12px}.analysis-section .toggle{display:flex}.analyze-button{background:#e6effd;border-color:#c3d5ed;font-size:12px;width:100%;margin-top:12px}.analysis-results{background:#faf8ed;border-radius:12px;padding:0 14px;margin:12px 0}.analysis-results:empty{display:none}.analysis-results strong{display:block;font-size:11px;margin-top:16px}.analysis-results p{white-space:pre-wrap}.analysis-results button{font-size:10px;min-height:34px;padding:8px}.candidate-heading{font-size:12px;padding-top:14px}.text-download{font-size:11px;background:#eef4e4}@media(max-width:600px){.header-options .badge,.language-label{display:none}.brand span{font-size:13px}.brand small{font-size:8px}.header-options{max-width:105px}.note-columns{gap:6px}.note-columns span{font-size:10px;padding:12px 8px}}

.profile-preset{display:flex;align-items:center;gap:14px;margin-top:15px}.profile-preset button,.call-frequency button{font-size:11px;min-height:44px;padding:8px 12px;background:#edf3dc}.profile-preset a{font-size:10px;color:#53753e}.call-frequency{margin-top:16px;padding:16px;border-radius:12px;background:#f4f8e9}.call-frequency p{margin:8px 0}

.bird-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.little-bird{display:block;width:48px;height:56px;flex-shrink:0;pointer-events:none;user-select:none}.bird-blue{--bird-body:#8dd6e7;--bird-belly:#d1f1ed;--bird-wing:#63b1d2;--bird-head:#fff4c3;--bird-cheek:#bda2db}.bird-pink{--bird-body:#a9d9a1;--bird-belly:#e1efac;--bird-wing:#77bb97;--bird-head:#ffc5b7;--bird-cheek:#ed98ad}.bird-mirror{transform:scaleX(-1)}.illustrated-birds{display:flex;align-items:flex-end;margin-right:10px;transform:none;gap:0}.illustrated-birds .little-bird{width:76px;height:88px;transform:rotate(-8deg)}.illustrated-birds .bird-blue{width:60px;height:70px;transform:scaleX(-1) rotate(-9deg);margin-left:-12px}.illustrated-birds span{right:-8px;top:0;color:#93b06a}.bird-profile{padding:2px 8px;background:#fff5ce}.bird-profile .little-bird{width:39px;height:46px}.bird-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.bird-heading h2{flex:1}.bird-heading .little-bird{width:42px;height:49px;transform:rotate(9deg);margin-top:8px}.hold-talk .button-bird{position:absolute;left:16px;bottom:10px;width:56px;height:66px;transform:rotate(-8deg);opacity:.9}.notebook-heading-birds{display:flex;align-items:center;gap:10px}.notebook-heading-birds>.little-bird{width:43px;height:50px}.care-bird .little-bird{width:46px;height:54px}.footer-birds{display:flex;position:absolute;left:50%;top:8px;transform:translateX(-50%)}.footer-birds .little-bird{width:25px;height:30px}footer{position:relative;padding-top:45px}@media(max-width:680px){.illustrated-birds .little-bird{width:48px;height:56px}.illustrated-birds .bird-blue{width:37px;height:44px;margin-left:-11px}.illustrated-birds{margin-right:0}.bird-heading h2{font-size:21px}.bird-heading .little-bird{width:34px;height:40px}.hold-talk .button-bird{width:45px;height:53px;left:12px}.notebook-heading-birds{gap:6px}.notebook-heading-birds>.little-bird{width:30px;height:38px}}

/* Main character: yellow lutino budgerigar. */
.little-bird{--bird-body:#f9db4c;--bird-belly:#fff097;--bird-wing:#efd04b;--bird-head:#ffe77b;--bird-cheek:#fff9dc}.brand .brand-bird{width:36px;height:42px}.illustrated-birds .main-lutino{width:100px;height:116px;transform:rotate(-7deg);filter:drop-shadow(0 5px 0 #edd97526)}.illustrated-birds{background:radial-gradient(ellipse,#fff5c2 0%,#fff5c200 72%);padding:4px 10px}.bird-profile{background:#fff4bd}@media(max-width:680px){.brand .brand-bird{width:29px;height:35px}.brand{gap:7px}.illustrated-birds .main-lutino{width:64px;height:75px}.illustrated-birds{padding:0 2px}}

.illustrated-birds .main-lutino{filter:drop-shadow(0 5px 3px #dbbc3c20)}.bird-heading .little-bird{width:46px;height:54px}.hold-talk .button-bird{opacity:1}@media(max-width:680px){.illustrated-birds .main-lutino{width:76px;height:88px}.bird-heading .little-bird{width:40px;height:47px}}

.illustrated-birds .main-lutino{width:112px;height:130px;transform:rotate(3deg)}.illustrated-birds{background:radial-gradient(ellipse,#fff0ad 0%,#fff5c200 70%)}.brand .brand-bird{width:39px;height:45px}.hold-talk .button-bird{transform:rotate(-3deg)}@media(max-width:680px){.illustrated-birds .main-lutino{width:88px;height:102px}.brand .brand-bird{width:32px;height:37px}}

.illustrated-birds .main-lutino{transform:rotate(0deg);width:110px;height:128px}.bird-heading .little-bird{transform:none}.hold-talk .button-bird{transform:none}@media(max-width:680px){.illustrated-birds .main-lutino{width:84px;height:98px}}

/* Painted lutino mascot, shared across the app. */
img.little-bird{object-fit:contain}.illustrated-birds .main-lutino{width:116px;height:174px;filter:none}.illustrated-birds{background:none}@media(max-width:680px){.illustrated-birds .main-lutino{width:92px;height:138px}}

/* Soft feather-inspired colors inside the panels. */
.profile{background:#fff3bb;border-color:#ead994}
.card.talk{background:linear-gradient(155deg,#fff5c9,#fffbea 75%);border-color:#eadb9f}
.card.listen{background:linear-gradient(155deg,#e6f6ef,#f3fbf4 75%);border-color:#bfdfcf}
.output-meter{background:#eef8dc;border-color:#cdddac}
.meter-track{background:#e1efcd}
.transcript{background:#fff7d9;border-color:#ded09d}
.listen-orb{background:#d9eee4;border-color:#edf8ed}
.empty,.record{background:#fff0e8;border-color:#ebcdbb}
.analysis-settings{background:#f2ecfa;border-color:#dbceeb}
.analysis-results{background:#fff5d1}
.care{background:#eaf5da;border:1px solid #d2e3b7}
.card p,.care p,.empty p{color:#63705a}
.card .micro{color:#6f765d}
.section-top,.meter-caption,.meter-state,.meter-foot{color:#687650}
.brand small{max-width:290px;line-height:1.7;letter-spacing:.03em;font-size:11px;color:#66734e;white-space:normal}
@media(max-width:600px){.brand{min-width:0;flex:1}.brand>span{min-width:0}.brand small{max-width:220px;font-size:10px}.header-options{flex-shrink:0;margin-left:12px}}

/* Rounded, bold typography throughout the interface. */
:root{font-weight:700}
body :where(p,small,label,span,a,button,input,select,textarea,summary,output,time){font-weight:700}
.brand small,.hold-talk small,summary span,.empty h3{font-weight:700}
h1,h2,h3,.brand>span,.hold-talk strong,.mode-tabs button{font-weight:800}

/* Extra-rounded, heavy headings. */
h1,h2,h3,.brand>span,.hold-talk strong,.mode-tabs button{font-weight:900}

/* Plump picture-book lettering for the main labels. */
h1,h2,h3,.brand>span,.hold-talk strong,.mode-tabs button{font-family:'Mochiy Pop One','M PLUS Rounded 1c',sans-serif;font-weight:400;line-height:1.65;letter-spacing:.025em}
.brand small,.mode-tabs small{font-family:'M PLUS Rounded 1c',sans-serif;font-weight:700}
.hold-talk strong{line-height:1.4}

/* Prominent app name and mascot at the top. */
header>.brand{gap:14px}
header>.brand .brand-bird{width:66px;height:96px}
header>.brand>span{font-size:24px}
header>.brand small{font-size:11px;max-width:340px;margin-top:8px}
@media(max-width:600px){
 body>header{flex-wrap:wrap;gap:10px;padding:18px}
 header>.brand{flex:1 1 100%;gap:12px}
 header>.brand .brand-bird{width:58px;height:86px}
 header>.brand>span{font-size:clamp(17px,4.6vw,23px)}
 header>.brand small{font-size:10px;max-width:290px}
 header>.header-options{margin-left:auto}
}

/* White-headed sky-blue budgie palette for listening mode. */
:root[data-mode="listen"]{background:#eef9fc;color:#294d60}
[data-mode="listen"] body>header{border-color:#d4e7ed}
[data-mode="listen"] .profile{background:#d9f1fa;border-color:#b9dce9}
[data-mode="listen"] .mode-tabs{background:#e1f1f8;border-color:#c2dfed;box-shadow:0 5px 16px #72b9d320}
[data-mode="listen"] .card.listen{background:linear-gradient(155deg,#def4fc,#f4fbfd 75%);border-color:#b9deec}
[data-mode="listen"] .listen-orb{background:#bfe8f7;border-color:#effaff}
[data-mode="listen"] .listen-orb>span{color:#36748f}
[data-mode="listen"] .transcript{background:#f7fcff;border-color:#b8d9e8}
[data-mode="listen"] .care{background:#e0eff8;border-color:#bfdbe9}
[data-mode="listen"] .empty,[data-mode="listen"] .record{background:#f1f7ff;border-color:#c7dbed}
[data-mode="listen"] .analysis-settings{background:#e8effa;border-color:#c9d9ed}
[data-mode="listen"] .note-columns span{background:#d9f0f8}
[data-mode="listen"] .note-columns span+span{background:#e9eafa}
[data-mode="listen"] .brand small,[data-mode="listen"] p,[data-mode="listen"] .section-top,[data-mode="listen"] .profile label{color:#5b7786}
[data-mode="listen"] img.little-bird{transform:scaleX(-1)}

/* Readable text colors matched to each conversation palette. */
:root{--ink-title:#526426;--ink-body:#4f5936;--ink-note:#68724f;--ink-accent:#89621e;color:var(--ink-body)}
:root[data-mode="listen"]{--ink-title:#256984;--ink-body:#365f72;--ink-note:#577585;--ink-accent:#52669b;color:var(--ink-body)}
body h1,body h2,body h3,body .brand>span{color:var(--ink-title)}
body p,body .card p,body .care p,body .empty p,body .profile input,body .profile select,body .toggle,body summary,body .care strong{color:var(--ink-body)}
body .brand small,body .micro,body .card .micro,body .profile label,body .section-top,body .notebook-title>span,body .record label,body .record time,body footer,body footer span,body .range-ends,body summary span{color:var(--ink-note)}
body .eyebrow,body .range-label output,body .status,body .hold-state,body .transcript span{color:var(--ink-accent)}
[data-mode="listen"] .brand small,[data-mode="listen"] p,[data-mode="listen"] .section-top,[data-mode="listen"] .profile label{color:var(--ink-note)}
[data-mode="listen"] .card p,[data-mode="listen"] .care p,[data-mode="listen"] .empty p,[data-mode="listen"] .transcript p{color:var(--ink-body)}
body .record-actions a,body .research a,body .profile-preset a{color:var(--ink-title)}

/* Mascot-colored display lettering with a readable fine outline. */
:root{--display-ink:#f2ce35;--display-edge:#7c681d}
:root[data-mode="listen"]{--display-ink:#76cfe9;--display-edge:#326a81}
body h1,body h2,body h3,body .brand>span,.hold-talk strong{color:var(--display-ink);-webkit-text-stroke:.55px var(--display-edge);paint-order:stroke fill;text-shadow:0 1px 0 var(--display-edge)}
body .brand small,body h2 span{color:var(--ink-note);-webkit-text-stroke:0;text-shadow:none}

/* Two coordinated, illustrated welcome cards. */
:root{--welcome-top:#fff4b8;--welcome-bottom:#fffdf0;--welcome-border:#eadb91;--welcome-glow:#f9df6c;--welcome-shadow:#b19a2920}
:root[data-mode="listen"]{--welcome-top:#cfeefb;--welcome-bottom:#f5fcff;--welcome-border:#b4daea;--welcome-glow:#9fddf2;--welcome-shadow:#408aa220}
body>header{position:relative;isolation:isolate;overflow:hidden;max-width:1032px;margin:18px auto 0;padding:24px 28px 18px;border:1px solid var(--welcome-border);border-radius:30px;background:radial-gradient(circle at 94% 8%,#ffffffb3 0 30px,transparent 31px),radial-gradient(circle at 78% 92%,#ffffff80 0 14px,transparent 15px),linear-gradient(125deg,var(--welcome-top),var(--welcome-bottom));box-shadow:0 9px 25px var(--welcome-shadow),inset 0 2px 0 #ffffffd9}
body>header:before{content:'';position:absolute;z-index:-1;width:140px;height:140px;left:-35px;top:-30px;border:16px solid #ffffff70;border-radius:50%;pointer-events:none}
body>header:after{content:'♪';position:absolute;right:20px;top:12px;font-size:25px;color:var(--display-edge);opacity:.18;transform:rotate(15deg);pointer-events:none}
header>.brand{gap:18px;align-items:center}
header>.brand .brand-bird{width:82px;height:116px;padding:2px;background:radial-gradient(ellipse at 50% 52%,#ffffffd9 0 45%,transparent 46%);filter:drop-shadow(0 4px 3px var(--welcome-shadow))}
header>.brand>span{font-size:25px;line-height:1.65}
header>.brand small{max-width:350px;line-height:1.9}
header>.header-options{padding:5px 8px 5px 12px;border:1px solid #ffffffd9;border-radius:18px;background:#ffffff80;position:relative;z-index:1}
header .header-options select{background:#ffffffc9;border-color:var(--welcome-border);border-radius:13px;color:var(--ink-body)}
.intro{position:relative;isolation:isolate;margin:20px 0;padding:24px;border:1px solid var(--welcome-border);border-radius:26px;background:linear-gradient(120deg,#ffffffb3,var(--welcome-bottom));overflow:hidden;gap:12px}
.intro:after{content:'';z-index:-1;position:absolute;width:155px;height:155px;right:-35px;bottom:-48px;border-radius:50%;background:var(--welcome-glow);opacity:.27;pointer-events:none}
.intro .eyebrow{display:inline-block;padding:6px 11px;border-radius:20px;border:1px solid var(--welcome-border);background:var(--welcome-top);font-size:9px;letter-spacing:.16em}
.intro h1{font-size:26px}.intro p{max-width:340px}
.intro .illustrated-birds{margin:0;padding:0;flex-shrink:0}
@media(max-width:680px){
 body>header{margin:12px 12px 0;padding:17px 15px 12px;gap:8px;border-radius:26px}
 header>.brand{gap:9px;flex:1 1 100%}
 header>.brand .brand-bird{width:64px;height:100px}
 header>.brand>span{font-size:clamp(16px,4.4vw,22px);line-height:1.75}
 header>.brand small{font-size:10px;line-height:1.8;margin-top:6px}
 header>.header-options{margin-left:auto;padding:3px 5px 3px 9px;border-radius:15px}
 header .header-options select{font-size:11px;padding:6px 9px}
 .intro{padding:19px 16px;margin:18px 0;gap:4px;border-radius:24px}
 .intro h1{font-size:clamp(17px,4.4vw,22px);line-height:1.8}
 .intro p{font-size:10px}.intro .illustrated-birds .main-lutino{width:80px;height:124px}
}

/* Listening and playback share the live spectrum display. */
.listen .listen-orb{width:auto;height:auto;min-height:44px;border:0;border-radius:15px;margin:18px 0 10px;padding:8px 14px;flex-direction:row;gap:10px}
.listen .listen-orb>span{font-size:22px}.listen .listen-orb small{font-size:11px}
.listen .listen-meter{margin:10px 0 20px;background:#effaff;border-color:#b9dfee}
.listen-meter .meter-track{background:#daeff8}
.listen-meter .meter-caption,.listen-meter .meter-state,.listen-meter .meter-foot{color:#3f7286}
.listen-meter.has-output{border-color:#75bcd6}.listen-meter.near-peak{border-color:#dd9fb9}
.listen .live-transcript{margin:0 0 16px;padding:18px;border-style:solid;border-width:2px;background:#f7fcff;border-color:#b3dcea}
.listen .live-transcript p{font-size:20px;line-height:1.8;min-height:72px;white-space:pre-wrap;overflow-wrap:anywhere;color:#30596e}
.live-transcript small{display:block;font-size:10px;line-height:1.8;color:#587585}
.record>header{display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:6px 12px;margin:0 0 8px}
.record>header strong{font-size:17px;color:var(--ink-title);overflow-wrap:anywhere}
.record>header time{font-size:13px;color:var(--ink-body);font-weight:700}
.record-jump{display:block;width:fit-content;margin:0 0 14px auto;padding:9px 14px;background:#ffffffa6;border:1px solid var(--welcome-border);border-radius:18px;color:var(--ink-title);font-size:12px;text-decoration:none}
.notebook{scroll-margin-top:130px}.history-controls{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;margin-top:18px;padding:15px;background:var(--welcome-bottom);border:1px solid var(--welcome-border);border-radius:18px}
.history-controls label{font-size:11px;color:var(--ink-body);min-width:0}.history-controls input,.history-controls select{display:block;width:100%;min-width:0;margin-top:6px;padding:10px;min-height:44px;border:1px solid var(--welcome-border);border-radius:10px;background:#fff;color:var(--ink-body)}
.history-controls button{font-size:11px;background:var(--welcome-top);border-color:var(--welcome-border)}
@media(max-width:680px){.history-controls{grid-template-columns:1fr 1fr}.history-controls label:first-child{grid-column:1/-1}.history-controls button{grid-column:1/-1}}
/* Keep the listening heading on meaningful lines. */
body h2.listen-heading{min-width:0;line-height:1.65}
body h2.listen-heading>span{display:block;white-space:nowrap;font:inherit;color:inherit;-webkit-text-stroke:inherit;text-shadow:inherit;letter-spacing:inherit}
@media(max-width:380px){body h2.listen-heading{font-size:17px}.listen .bird-heading{gap:3px}.listen .bird-heading .little-bird{width:28px;height:40px}}
/* A single, unbroken listening headline. */
.listen .bird-heading{container-type:inline-size;position:relative;display:block}
body .listen h2.listen-heading{white-space:nowrap;font-size:clamp(11px,4.6cqi,18px);letter-spacing:0;line-height:1.8;width:100%}
.listen .bird-heading .little-bird{position:absolute;right:0;bottom:100%;width:28px;height:38px;margin:0}
/* Two complete phrases, one per line. */
body .listen h2.listen-heading{white-space:normal;font-size:clamp(17px,6cqi,23px);line-height:1.7}
body .listen h2.listen-heading>span{display:block;white-space:nowrap}

/* Large readable interface. Keep these size/layout overrides together. */
:root {
  font-size: 18px;
  --large-body: clamp(18px, 1.5vw, 20px);
  --large-heading: clamp(32px, 3.2vw, 44px);
  --large-note: 16px;
}

body {
  font-size: var(--large-body);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

body main {
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
}

body button,
body input,
body select,
body textarea {
  min-width: 0;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.6;
}

body button {
  min-height: 56px;
  height: auto;
  padding: 14px 18px;
  white-space: normal;
  overflow-wrap: anywhere;
}

body p,
body .intro p,
body .transcript p,
body .empty p,
body .care p,
body .research p {
  font-size: var(--large-body);
  line-height: 1.85;
}

body h1,
body h2,
body .intro h1,
body .bird-heading h2,
body .notebook-title h2,
body .listen h2.listen-heading {
  min-width: 0;
  font-size: var(--large-heading);
  line-height: 1.65;
  letter-spacing: .015em;
  white-space: normal;
  overflow-wrap: anywhere;
}

body .listen h2.listen-heading > span {
  white-space: normal;
  overflow-wrap: anywhere;
}

body h3,
body .empty h3,
body .analysis-section h3 {
  font-size: 32px;
  line-height: 1.65;
}

body .micro,
body .eyebrow,
body .intro .eyebrow,
body .badge,
body .local-tag,
body .language-label,
body .profile label,
body .section-top,
body .step,
body .meter-caption,
body .meter-state,
body .meter-foot,
body summary span,
body .range-ends,
body .transcript > span,
body .live-transcript small,
body .notebook-title > span,
body .notebook-title h2 span,
body .record label,
body .record time,
body .analysis-settings label,
body .analysis-results strong,
body .candidate-heading,
body .profile-preset a,
body .history-controls label,
body footer span {
  font-size: var(--large-note);
  line-height: 1.8;
}

body summary,
body .toggle,
body .range-label,
body .hold-state,
body .status,
body .record-actions,
body .note-columns span,
body .listen .listen-orb small {
  font-size: 18px;
  line-height: 1.8;
}

body .primary,
body .primary.dark,
body .record-option .primary {
  font-size: 20px;
  padding: 18px;
}

body .play-row button,
body .profile-preset button,
body .call-frequency button,
body .record-actions button,
body .analyze-button,
body .text-download,
body .analysis-results button,
body .history-controls button {
  min-height: 56px;
  font-size: 18px;
  padding: 12px 16px;
}

body .demo-toggle {
  min-height: 52px;
  font-size: 16px;
  padding: 10px 16px;
}

/* Give enlarged headings and illustrations their own space. */
body > header {
  max-width: 1232px;
  margin: 24px auto 0;
  padding: 28px 32px;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  overflow: visible;
}

body > header::before { left: 0; top: 0; }

body > header > .brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 28px;
  min-width: 0;
  text-align: center;
}

body > header > .brand > span {
  min-width: 0;
  width: 100%;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

body .brand-title {
  font: inherit;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: .1em;
}
body .brand-title > span { display: inline-block; font: inherit; white-space: nowrap; }

body > header > .brand small {
  max-width: none;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: .02em;
}

html:lang(hi) body {
  font-family: "Nirmala UI", "Noto Sans Devanagari", system-ui, sans-serif;
}
html:lang(hi) body > header > .brand > span { line-height: 1.4; }

body > header > .header-options {
  order: -1;
  align-self: flex-end;
  max-width: 100%;
  margin-left: 0;
  padding: 12px 16px;
  gap: 12px;
  flex-wrap: wrap;
}

body .header-options .badge,
body .header-options .language-label {
  display: inline-block;
  font-size: 16px;
}

body header .header-options select {
  min-height: 54px;
  max-width: 100%;
  padding: 10px 14px;
  font-size: 18px;
}

body .intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 28px 0;
  padding: 28px 32px;
  overflow: visible;
}

body .intro::after { right: 8px; bottom: 8px; }
body .intro > div { min-width: 0; }
body .intro p { max-width: none; }
body .intro .eyebrow { letter-spacing: .08em; }

body img.little-bird {
  width: 96px;
  height: 144px;
  object-fit: contain;
  flex-shrink: 0;
}

body > header > .brand .brand-bird {
  width: 40%;
  height: auto;
  max-height: 304px;
  padding: .8px;
  object-fit: contain;
}
body .intro .illustrated-birds { justify-self: center; margin: 0; padding: 0; }
body .intro .illustrated-birds .main-lutino { width: 232px; height: 348px; }
body .bird-mark span { font-size: 24px; }
body .bird-profile .little-bird { width: 88px; height: 132px; }
body .bird-heading .little-bird { width: 96px; height: 144px; }
body .notebook-heading-birds > .little-bird { width: 88px; height: 132px; }
body .care-bird .little-bird { width: 96px; height: 144px; }

body .profile {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 28px;
  padding: 24px 28px;
  align-items: center;
}

body .profile > div { min-width: 0; }
body .profile .profile-icon { display: flex; grid-row: 1 / 3; justify-content: center; padding: 8px; }
body .profile label { margin-bottom: 10px; }

body .profile input,
body .profile select {
  width: 100%;
  max-width: none;
  min-height: 56px;
  padding: 10px 8px;
  font-size: 18px;
}

body .profile .local-tag {
  display: inline-flex;
  grid-column: 2 / -1;
  justify-self: start;
  margin-left: 0;
  padding: 8px 14px;
}

body .mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  gap: 10px;
  padding: 10px;
  top: 12px;
}

body .mode-tabs button {
  min-width: 0;
  min-height: 100px;
  padding: 18px 14px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.6;
}

body .mode-tabs small { margin-top: 8px; font-size: 16px; line-height: 1.75; }
body .mode-tabs button,
body .intro h1,
body .bird-heading h2,
body .listen-heading > span { text-wrap: balance; }
html:lang(ja) body .intro h1,
html:lang(ja) body .bird-heading h2 { word-break: auto-phrase; }
body .workspace .card { max-width: none; width: 100%; padding: 32px; }
body .section-top { flex-wrap: wrap; gap: 12px; }

body .bird-heading,
body .listen .bird-heading {
  display: flex;
  position: static;
  container-type: normal;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

body .bird-heading h2 { flex: 1 1 360px; margin: 16px 0; }
body .listen .bird-heading .little-bird { position: static; width: 96px; height: 144px; margin: 0; }

/* The mascot participates in layout rather than covering the button label. */
body .hold-talk {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  row-gap: 10px;
  height: auto;
  min-height: 236px;
  padding: 26px;
}

body .hold-talk .button-bird {
  position: static;
  grid-column: 1;
  grid-row: 1 / 3;
  justify-self: center;
  width: 112px;
  height: 168px;
}

body .hold-talk strong {
  grid-column: 2;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.5;
  letter-spacing: .035em;
}

body .hold-talk small { grid-column: 2; margin: 0; font-size: 18px; line-height: 1.8; }
body .output-meter { padding: 20px; margin: 22px 0 16px; }
body .meter-caption { flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
body .meter-state { max-width: none; text-align: left; }
body .meter-track { height: 144px; }
body .meter-foot { gap: 16px; margin-top: 10px; }
body .voice-display { height: auto; min-height: 150px; flex-wrap: wrap; gap: 18px; padding: 18px 0; }
body .voice-display > span:last-child { font-size: 18px; }
body .voice-icon { font-size: 32px; }
body .wave { max-width: 100%; }
body .listen .listen-orb { flex-wrap: wrap; padding: 14px 18px; gap: 14px; }
body .listen .listen-orb > span { font-size: 32px; }
body .listen .live-transcript { padding: 22px; }
body .listen .live-transcript p { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.85; min-height: 100px; }
body .status { padding: 20px 4px; }

body details { padding-top: 22px; }
body summary { line-height: 1.8; }
body summary span { float: none; display: block; margin-top: 6px; }
body .toggle { align-items: flex-start; gap: 12px; margin: 22px 0; }
body input[type=checkbox] { width: 24px; height: 24px; margin-top: 4px; }
body input[type=range] { min-height: 44px; }
body .range-label { flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
body .range-label output { font-size: 18px; }
body .profile-preset { flex-wrap: wrap; gap: 16px; }
body .profile-preset button { flex: 1 1 260px; }
body .profile-preset a { display: inline-flex; min-height: 44px; align-items: center; }
body .play-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px; }

body .notebook { margin-top: 34px; scroll-margin-top: 180px; }
body .notebook-title { flex-wrap: wrap; align-items: flex-start; gap: 20px; }
body .notebook-heading-birds { min-width: 0; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; }
body .notebook-heading-birds > div { min-width: 0; }
body .notebook-title > span { max-width: none; width: 100%; text-align: left; }
body .notebook-title h2 span { display: inline-block; vertical-align: middle; }
body .history-controls { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; padding: 22px; }
body .history-controls input,
body .history-controls select { min-height: 56px; font-size: 18px; padding: 12px; }
body .record-jump { max-width: 100%; font-size: 18px; line-height: 1.8; padding: 14px 18px; }
body .empty { padding: 40px 24px; }
body .empty > span { font-size: 44px; }
body .record { padding: 26px; }
body .record > header strong { font-size: 24px; line-height: 1.7; }
body .record audio { min-width: 0; height: 54px; }
body .record textarea { padding: 14px; font-size: 18px; line-height: 1.8; }
body .record-actions { flex-wrap: wrap; gap: 18px; }
body .record-actions a { font-size: 18px; }
body .record-actions button { margin-left: auto; }
body .analysis-settings { padding: 20px; }
body .analysis-settings input { min-height: 56px; font-size: 18px; }
body .analysis-results { padding: 4px 20px; }
body .note-columns { flex-wrap: wrap; gap: 16px; }
body .note-columns span { flex: 1 1 240px; min-width: 0; padding: 18px; }
body .call-frequency { padding: 20px; }
body .care { gap: 24px; align-items: center; padding: 28px; }
body .care > div { min-width: 0; }
body .care strong { font-size: 22px; line-height: 1.8; }

body footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
  font-size: 18px;
  text-align: center;
}

body .footer-birds { position: static; transform: none; gap: 14px; }
body .footer-birds .little-bird { width: 60px; height: 90px; }

@media (max-width: 1100px) {
  body > header { margin-left: 24px; margin-right: 24px; }
  body .history-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .history-controls label:first-child,
  body .history-controls button { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body main { padding: 0 16px; }
  body > header { margin: 16px 16px 0; padding: 24px 20px; }
  body > header > .brand { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; text-align: center; }
  /* Keep the six-character name together on narrow phones. */
  body > header > .brand > span { font-size: clamp(32px, calc((100vw - 84px) / 6), 60px); }
  html:lang(en) body > header > .brand > span,
  html:lang(hi) body > header > .brand > span { font-size: clamp(30px, 8vw, 52px); }
  body > header > .brand .brand-bird { width: 40%; height: auto; max-height: none; }
  body > header > .brand small { font-size: 16px; }
  body > header > .header-options { align-self: stretch; justify-content: center; padding: 14px 10px; }
  body .intro { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 20px; }
  body .intro .illustrated-birds .main-lutino { width: 176px; height: 264px; }
  body .profile { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px; }
  body .profile .profile-icon { grid-row: auto; justify-self: center; }
  body .profile .local-tag { grid-column: auto; }
  body .mode-tabs { position: static; gap: 8px; padding: 8px; }
  body .mode-tabs button { padding: 16px 10px; font-size: 24px; }
  body .workspace .card { padding: 24px; }
  body .bird-heading,
  body .listen .bird-heading { gap: 10px; }
  body .bird-heading h2 { flex-basis: 100%; }
  body .bird-heading .little-bird,
  body .listen .bird-heading .little-bird { width: 80px; height: 120px; margin-left: auto; }
  body .notebook { scroll-margin-top: 24px; }
  body .notebook-heading-birds { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  body .notebook-heading-birds > .little-bird { width: 72px; height: 108px; }
}

@media (max-width: 560px) {
  body main { padding: 0 12px; }
  body > header { margin: 12px 12px 0; padding: 22px 16px; }
  body .intro { padding: 24px 18px; }
  body .workspace .card { padding: 22px 18px; }
  body .mode-tabs { grid-template-columns: minmax(0, 1fr); }
  body .mode-tabs button { padding: 14px 8px; }
  body .hold-talk { grid-template-columns: minmax(0, 1fr); min-height: 300px; padding: 22px 16px; gap: 12px; }
  body .hold-talk .button-bird { grid-column: 1; grid-row: auto; width: 104px; height: 156px; }
  body .hold-talk strong,
  body .hold-talk small { grid-column: 1; }
  body .hold-talk strong { font-size: 44px; }
  body .hold-talk small { font-size: 16px; }
  body .output-meter { padding: 16px 12px; }
  body .meter-track { height: 124px; gap: 3px; }
  body .play-row { grid-template-columns: minmax(0, 1fr); }
  body .history-controls { grid-template-columns: minmax(0, 1fr); padding: 18px 14px; }
  body .notebook-heading-birds { grid-template-columns: minmax(0, 1fr); }
  body .notebook-heading-birds > .little-bird { justify-self: center; }
  body .record { padding: 22px 16px; }
  body .record-actions { align-items: stretch; }
  body .record-actions a,
  body .record-actions button { width: 100%; margin-left: 0; }
  body .analysis-settings,
  body .call-frequency { padding: 18px 14px; }
  body .analysis-results { padding: 4px 14px; }
  body .care { flex-direction: column; align-items: stretch; padding: 22px 18px; }
  body .care > .care-bird { align-self: center; }
}
