@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#25352e;background:#f5f4ef;font-synthesis:none;--green:#204f38;--muted:#7a8079;--line:#dddfd7}*{box-sizing:border-box}body{margin:0;min-height:100svh;display:flex;flex-direction:column}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #98b573;outline-offset:5px}[hidden]{display:none!important}header{padding:32px 5%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:inherit;font-family:Manrope,sans-serif;font-size:18px;line-height:1.05;font-weight:800;letter-spacing:-.6px}.brand-icon{font-size:48px;color:var(--green);font-weight:400}.live{display:flex;align-items:center;gap:5px;margin-top:3px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6c9062}.header-note{font-size:12px;color:var(--muted)}main{width:100%;max-width:690px;padding:45px 24px 54px;margin:auto;text-align:center}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;display:flex;gap:8px;align-items:center;justify-content:center;color:#5b725b}h1{font-family:Manrope,sans-serif;font-size:clamp(42px,6vw,64px);line-height:1.1;font-weight:500;letter-spacing:-3px;margin:20px 0 18px}.intro{font-size:15px;color:#757b74;line-height:1.6;margin:0 0 36px}.recorder{background:#fdfdf9;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 30px #273b2c04;padding:24px 28px 0;overflow:hidden;max-width:554px;margin:0 auto}.card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.label{font-size:9px;letter-spacing:1.6px;font-weight:600;color:#878d85}.phase{font-size:10px;color:#7b8578;background:#f0f3eb;border:1px solid #e5e9df;border-radius:20px;padding:6px 10px}.record-area{padding:38px 0 20px}.record-button{width:104px;height:104px;border-radius:50%;background:var(--green);color:#f1f4d4;border:8px solid #e9edde;outline:1px solid #e1e7d7;display:flex;align-items:center;justify-content:center;margin:0 auto 22px;transition:transform .2s,background .2s;box-shadow:0 0 0 8px #f5f6ef}.record-button:hover{transform:scale(1.04);background:#2e6549}.record-button.recording{background:#ad4839;border-color:#f4e8df;outline-color:#ebd8cd}.stop-icon{width:23px;height:23px;background:currentColor;border-radius:5px}#wave{display:block;width:100%;height:44px;margin:0 auto 8px;max-width:370px}#timer{font-size:20px;font-variant-numeric:tabular-nums;letter-spacing:1px;color:#37443a}#timer span{font-size:12px;color:#9ca195;letter-spacing:.5px}#record-hint{color:#969b90;font-size:12px;margin:14px 0 4px}.card-bottom{border-top:1px solid #eceee6;display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:10px;font-size:9px;color:#8b9285}.card-bottom>span:first-child{display:flex;gap:6px;align-items:center}.small-note{font-size:11px;color:#92988b;margin-top:22px}.actions{display:flex;gap:12px;margin:18px 0 24px}.primary,.secondary{border-radius:9px;padding:13px 18px;font-size:12px;border:1px solid var(--line);font-weight:500}.primary{background:var(--green);color:white;border-color:var(--green);display:flex;justify-content:space-between;gap:35px}.primary:hover{background:#2e6549}.secondary{background:transparent;color:#63705e}.secondary:hover{background:#eef0e7}.actions>*{flex:1}audio{width:100%;height:42px}footer{padding:22px 5%;display:flex;justify-content:space-between;align-items:center;color:#949a8f;font-size:9px;letter-spacing:1px}footer a{color:inherit;text-decoration:none;letter-spacing:0;font-size:11px}footer a span{margin-left:10px}#error,#login-error,#inbox-error{color:#a34432;font-size:13px;line-height:1.6}#success{padding:25px 0 35px}#success h2{font-family:Manrope,sans-serif;font-size:26px;font-weight:500;letter-spacing:-1px}#success p{font-size:13px;line-height:1.7;color:#7a8079}.success-icon{width:55px;height:55px;background:#eaf1de;color:#446846;font-size:25px;border-radius:50%;display:grid;place-items:center;margin:0 auto}#success .secondary{margin-top:15px}.login-card{text-align:left;background:#fdfdf9;border:1px solid var(--line);padding:30px;border-radius:18px;max-width:400px;margin:auto}.login-card label{font-size:12px;display:block;margin-bottom:9px}.login-card input{width:100%;padding:13px;border-radius:7px;border:1px solid var(--line);background:#fff;margin-bottom:18px}.login-card input:focus{outline:2px solid #95b078}.login-card .primary{width:100%}#admin-page:has(#inbox:not([hidden])){max-width:950px;text-align:left}.inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.inbox-heading .eyebrow{justify-content:flex-start}.inbox-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:14px 0;font-size:12px;color:#7b8276}.date-heading{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#77816f;margin:30px 0 14px}.entry{background:#fdfdf9;border:1px solid var(--line);border-radius:13px;margin:10px 0;padding:20px;display:flex;align-items:center;gap:24px}.entry-info{min-width:140px}.entry-title{font-size:14px;font-weight:600;margin-bottom:7px}.entry-time{font-size:11px;color:#85907d}.entry audio{flex:1;min-width:0}.empty{padding:60px 20px;text-align:center;border:1px dashed var(--line);border-radius:16px;margin-top:25px;color:#7d8877;font-size:14px;line-height:1.7}#load-more{display:block;margin:25px auto}@media(max-width:540px){header{padding:22px 6%}.header-note{display:none}main{padding:30px 20px 45px}h1{letter-spacing:-2px}.intro{font-size:13px;margin-bottom:28px}.recorder{padding:20px 20px 0}.record-area{padding-top:35px}.card-bottom{font-size:8px}.card-bottom>span:last-child{white-space:nowrap}.entry{flex-direction:column;align-items:stretch;gap:15px}.entry-info{display:flex;justify-content:space-between;align-items:center}.entry-title{margin:0}.inbox-heading .secondary{padding:10px}.inbox-heading h1{font-size:40px}footer{padding:22px 6%;font-size:8px}.phase{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Recording surface follows the supplied voice-memo reference. */
body{background:linear-gradient(155deg,#edede7 0%,#e5e5e4 34%,#ccd7da 78%,#d5d9de 100%);color:#202222}body:has(#recorder-page:not([hidden])) header{padding-top:25px;padding-bottom:16px}.brand-icon{color:#252a29}.brand{font-weight:700}#recorder-page{max-width:1000px;padding:5px 24px 15px;margin:0 auto;flex:1;display:flex;flex-direction:column}.recorder{width:100%;max-width:780px;margin:0 auto;background:none;border:0;border-radius:0;box-shadow:none;padding:0;overflow:visible;display:flex;flex-direction:column;flex:1;min-height:540px}.recording-heading{padding-top:18px;text-align:center}.recording-heading h1{font-family:'DM Sans',sans-serif;font-size:27px;letter-spacing:-.8px;font-weight:400;margin:8px 0 10px}.recording-heading #phase{font-size:12px;letter-spacing:0;font-weight:400;color:#7b8080;margin:0;min-height:19px}.record-area{flex:1;display:flex;align-items:center;padding:40px 0;min-height:270px}.timeline{width:100%;height:220px;position:relative}#wave{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;margin:0}.playhead{position:absolute;left:50%;top:10px;bottom:10px;width:2px;border-radius:4px;background:white;transform:translateX(-50%)}#timer{position:absolute;left:50%;top:-17px;transform:translate(-50%,-50%);background:#fff;border-radius:50px;padding:11px 15px;font-family:ui-monospace,'SFMono-Regular',Menlo,monospace;font-size:17px;letter-spacing:-.6px;line-height:1;white-space:nowrap;color:#252727}.record-controls{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;width:100%;max-width:440px;margin:16px auto 0;min-height:84px;gap:16px}.record-button{width:78px;height:78px;background:#fff;border:5px solid white;outline:none;box-shadow:0 6px 35px #6e737815;margin:0 auto;padding:0}.record-button:hover{background:#fff;transform:scale(1.035)}.record-core{width:100%;height:100%;background:#ff373f;border-radius:50%;transition:border-radius .18s,width .18s,height .18s}.record-button.recording{background:#fff;border-color:#fff;outline:none}.record-button.recording .record-core{width:30px;height:30px;border-radius:7px}.text-button{border:0;background:none;font:inherit;font-size:18px;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 0;white-space:nowrap;color:#202222}.text-button.cancel{color:#ff373f}.text-button:disabled{opacity:.35;cursor:default}.text-button:hover:not(:disabled){opacity:.7}#record-hint{font-size:11px;color:#7e8789;text-align:center;min-height:17px;margin:17px 0 5px}.small-note{font-size:10px;color:#869194;margin:8px 0 0}#review{width:100%;max-width:400px;margin:0 auto 10px}#review audio{height:40px}#review .primary{background:white;border:none;color:#26292a;border-radius:30px;justify-content:center;width:100%;font-size:15px;margin-top:15px;padding:15px}#review .primary:hover{background:#ffffffbb}#review .primary span{display:none}.recorder:has(#review:not([hidden])) .record-area{padding:35px 0 20px;min-height:200px}.recorder:has(#review:not([hidden])) .timeline{height:150px}#error{text-align:center;font-size:12px;margin:12px auto;max-width:400px}.recorder:has(#success:not([hidden])) .record-controls,.recorder:has(#success:not([hidden])) #record-hint{display:none}#success{margin:auto;padding:70px 20px}.success-icon{background:#ffffffa8;color:#3d6556}.recorder #success p{color:#737e7f}body:has(#recorder-page:not([hidden])) footer{color:#859095;padding-top:15px;padding-bottom:18px}body:has(#recorder-page:not([hidden])) .header-note{color:#87918f}@media(min-width:1000px){.recorder{min-height:min(660px,75vh)}.recording-heading{padding-top:25px}.timeline{height:260px}}@media(max-width:540px){body:has(#recorder-page:not([hidden])) header{padding-top:20px;padding-bottom:12px}.brand{font-size:15px}.brand-icon{font-size:39px}#recorder-page{padding:15px 0 10px}.recorder{min-height:calc(100svh - 190px)}.recording-heading{padding-top:10px}.recording-heading h1{font-size:25px}.recording-heading #phase{font-size:11px}.record-area{padding-top:50px;min-height:280px}.timeline{height:220px}.record-controls{padding:0 25px;gap:10px}.text-button{font-size:16px;gap:6px}.record-button{width:78px;height:78px}#review{padding:0 30px}.recorder:has(#review:not([hidden])) .record-area{min-height:210px}#error{padding:0 25px}.small-note{margin-top:10px}footer{padding-bottom:max(18px,env(safe-area-inset-bottom))}}@media(max-height:720px) and (min-width:600px){.recorder{min-height:430px}.timeline{height:160px}.record-area{min-height:180px;padding:30px 0 20px}.recording-heading{padding-top:0}.record-button{width:68px;height:68px}}

.record-controls #record{grid-column:2;grid-row:1}.record-controls #cancel{grid-column:1;grid-row:1}.record-controls #restart{grid-column:3;grid-row:1}
.timeline #scrub{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:2;touch-action:pan-y}.timeline:has(#scrub:focus-visible){outline:2px solid #ff666c;outline-offset:10px;border-radius:8px}.timeline .playhead{pointer-events:none}.timeline #play-toggle{position:absolute;left:50%;bottom:-25px;transform:translateX(-50%);border:0;border-radius:50%;width:36px;height:36px;background:#ffffffa0;color:#292d2e;font-size:16px;z-index:3;display:grid;place-items:center;padding:0}.timeline #play-toggle:hover{background:white}#submit:disabled{opacity:1;cursor:default}
/* Keep state changes soft without delaying recording or submission. */
@media (prefers-reduced-motion: no-preference) {
  .recording-heading, .record-area, .record-controls {
    animation: surface-fade-in 320ms ease-out both;
  }
  #review, #cancel, #restart, #success, #error, #login-panel, #inbox, #login-error, #inbox-error {
    opacity: 1;
    transition: opacity 180ms ease, display 180ms allow-discrete;
  }
  #review[hidden], #cancel[hidden], #restart[hidden], #success[hidden], #error[hidden], #login-panel[hidden], #inbox[hidden], #login-error[hidden], #inbox-error[hidden] {
    opacity: 0;
  }
  @starting-style {
    #review:not([hidden]), #cancel:not([hidden]), #restart:not([hidden]), #success:not([hidden]), #error:not([hidden]), #login-panel:not([hidden]), #inbox:not([hidden]), #login-error:not([hidden]), #inbox-error:not([hidden]) {
      opacity: 0;
    }
  }
  .record-button, #submit { transition: opacity 180ms ease, background-color 180ms ease, transform 180ms ease; }
}
@keyframes surface-fade-in { from { opacity: 0; } to { opacity: 1; } }
.support-sprite{width:96px;height:96px;margin:0 auto 12px;background-image:url('/tech-support-sprite.png');background-repeat:no-repeat;background-size:4608px 96px;image-rendering:pixelated;animation:support-sprite-frames 2s steps(48) infinite}
@keyframes support-sprite-frames{from{background-position:0 0}to{background-position:-4608px 0}}
@media(prefers-reduced-motion:reduce){.support-sprite{animation:none}}
@font-face{font-family:'Tech Support Live';src:url('/TechSupportLive-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{font-family:'Tech Support Live','DM Sans',sans-serif}.recording-heading h1{font-family:'Tech Support Live',sans-serif;font-weight:400}.recording-heading #phase{max-width:420px;margin:0 auto;padding:0 18px;line-height:1.5}
.recording-heading h1{letter-spacing:1px}.recording-heading #phase{font-size:16px;letter-spacing:.4px;max-width:640px}
#recorder-page{padding-bottom:max(40px,env(safe-area-inset-bottom))}
.recording-heading #phase{font-family:ui-monospace,'SFMono-Regular',Menlo,monospace}
.recording-heading h1{color:#202222}
#admin-page{padding:30px 24px 40px;color:#202222;--line:#ffffff80;font-family:ui-monospace,'SFMono-Regular',Menlo,monospace}
#admin-page:has(#inbox:not([hidden])){margin:0 auto;max-width:900px}
#admin-page h1{font-family:'Tech Support Live',sans-serif;font-size:32px;letter-spacing:1px;font-weight:400;margin:12px 0 18px}
#admin-page .eyebrow{font-family:ui-monospace,'SFMono-Regular',Menlo,monospace;font-size:11px;font-weight:400;letter-spacing:1px;color:#7b8080}
#admin-page .intro{font-size:16px;letter-spacing:.4px;line-height:1.5;color:#7b8080}
#admin-page .primary,#admin-page .secondary{background:#fff;color:#26292a;border:0;border-radius:30px;font-weight:400;font-size:13px;padding:14px 22px;transition:background-color 180ms ease,opacity 180ms ease}
#admin-page .primary:hover,#admin-page .secondary:hover{background:#ffffffb3}
#admin-page button:focus-visible,#admin-page input:focus-visible{outline:2px solid #ff666c;outline-offset:4px}
#admin-page .login-card{background:transparent;border:0;border-radius:0;padding:8px 0;max-width:380px}
#admin-page .login-card label{color:#737d7f;font-size:12px;margin-bottom:12px}
#admin-page .login-card input{border:1px solid #ffffffb3;border-radius:14px;background:#ffffff70;padding:16px;color:#202222;font-size:16px;margin-bottom:20px}
#admin-page .login-card .primary{justify-content:center;font-size:15px}
#admin-page .login-card .primary span{display:none}
#admin-page .inbox-heading{position:relative;justify-content:center;text-align:center;margin-top:8px;padding:0 105px}
#admin-page .inbox-heading .eyebrow{justify-content:center}
#admin-page #logout{position:absolute;right:0;top:0}
#admin-page .inbox-toolbar{color:#7b8080;font-size:11px;gap:20px;border-bottom:1px solid #ffffff80;padding:12px 0 20px}
#admin-page #count{line-height:1.7}
#admin-page .date-heading{font-size:12px;font-weight:400;letter-spacing:.5px;color:#6d777a;margin-top:30px}
#admin-page .entry{background:#ffffff55;border:1px solid #ffffff80;border-radius:18px;padding:22px;gap:24px}
#admin-page .entry-title{font-family:'Tech Support Live',sans-serif;font-size:17px;letter-spacing:.5px;font-weight:400;color:#202222}
#admin-page .entry-time{font-size:11px;line-height:1.6;color:#737d7f}
#admin-page .entry audio{border-radius:30px;color-scheme:light}
#admin-page .empty{background:#ffffff30;border:1px dashed #ffffffb3;border-radius:18px;color:#737d7f;font-size:13px}
#admin-page #login-error,#admin-page #inbox-error{color:#a34432}
@media(max-width:540px){#admin-page{padding:25px 20px 40px}#admin-page h1{font-size:27px}#admin-page .inbox-heading{padding:0;flex-direction:column;gap:0}#admin-page #logout{position:static;margin-bottom:20px}#admin-page .inbox-heading .intro{margin-bottom:20px}#admin-page .entry{padding:18px;gap:18px}#admin-page .entry-info{gap:12px}#admin-page .entry-time{text-align:right}#admin-page .intro{font-size:16px}}
