:root{--ink:#193227;--green:#095415;--paper:#f6f4ee;--white:#fff;--gold:#b99a5c;--red:#b42318;--line:#d9ded9;--muted:#65706a;--shadow:0 16px 50px rgba(25,50,39,.11)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}button,input,textarea,select{font:inherit}h1,h2{font-family:Georgia,"Times New Roman",serif;line-height:1.08;margin:.2rem 0 1rem}h1{font-size:clamp(2rem,5vw,3.3rem)}h2{font-size:1.55rem}.centre{min-height:100dvh;display:grid;place-items:center;padding:20px}.auth-card{width:min(440px,100%);background:var(--white);padding:clamp(24px,6vw,44px);border-radius:22px;box-shadow:var(--shadow)}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:800;text-decoration:none;letter-spacing:.01em}.brand-mark{width:34px;height:34px;border-radius:50% 50% 48% 52%;display:grid;place-items:center;background:var(--ink);color:#fff;font-family:Georgia,serif}.eyebrow,.step{font-size:.72rem;letter-spacing:.16em;font-weight:800;color:var(--green);margin:1.3rem 0 .5rem}.muted,.micro{color:var(--muted)}.micro{font-size:.78rem}.topbar{height:72px;padding:0 max(20px,calc((100% - 1120px)/2));background:var(--white);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.quiet-link,.back{color:var(--green);font-weight:700;text-decoration:none}.shell{width:min(1120px,calc(100% - 32px));margin:40px auto 80px}.hero-row,.appt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:26px}.button{border:0;border-radius:12px;background:var(--ink);color:#fff;padding:13px 18px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;justify-content:center;align-items:center}.button:hover{background:var(--green)}.button:disabled{opacity:.48;cursor:not-allowed}.button.secondary{background:#e5ebe7;color:var(--ink)}.button.compact{width:auto}.records{display:grid;gap:10px}.record{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;display:flex;align-items:center;justify-content:space-between;color:inherit;text-decoration:none}.record:hover{box-shadow:0 8px 30px rgba(25,50,39,.08)}.record div{display:grid;gap:3px}.record span{font-size:.85rem;color:var(--muted)}.status{display:inline-flex;padding:6px 10px;border-radius:99px;background:#e9ecea;font-size:.72rem!important;font-weight:800;color:var(--ink)!important;text-transform:uppercase;letter-spacing:.06em}.status.approved{background:#d9efe2;color:#075229!important}.status.recorded,.status.transcribed,.status.drafted{background:#fff1cf;color:#745000!important}.empty{padding:28px;text-align:center;border:1px dashed #bdc6c0;border-radius:14px;color:var(--muted)}dialog{border:0;border-radius:20px;padding:0;box-shadow:var(--shadow);width:min(520px,calc(100% - 24px))}dialog::backdrop{background:rgba(10,24,18,.64)}dialog form{padding:26px}.dialog-head{display:flex;align-items:center;justify-content:space-between}.icon-button{border:0;background:transparent;font-size:2rem;cursor:pointer}form{display:grid;gap:16px}label{display:grid;gap:7px;font-weight:750;font-size:.87rem}input,textarea,select{width:100%;border:1px solid #bfc8c2;background:#fff;color:var(--ink);border-radius:10px;padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(9,84,21,.1)}.back{display:inline-block;margin-bottom:18px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(20px,3vw,30px)}.recorder-panel{background:var(--ink);color:#fff}.recorder-panel .step,.recorder-panel .micro{color:#bbd0c4}.consent{border:1px solid rgba(255,255,255,.17);padding:14px;border-radius:12px}.check{display:flex;grid-template-columns:22px 1fr;gap:10px;align-items:flex-start}.check input{width:20px;height:20px;accent-color:var(--gold);margin-top:2px}.recorder{display:grid;gap:14px;margin:22px 0}.record-state{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:10px}.pulse{width:10px;height:10px;border-radius:50%;background:#ff6259}.record-button{border:0;border-radius:14px;background:#fff;color:var(--ink);font-size:1rem;font-weight:850;padding:16px;cursor:pointer}.record-button.stop{background:#cf3f35;color:#fff}.transcript{min-height:315px;resize:vertical;margin-bottom:14px}.feedback{margin-top:18px}.feedback textarea{min-height:110px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.internal{background:#fff7df;padding:14px;border-radius:12px}.actions{display:flex;justify-content:flex-end;gap:10px}.alert{padding:12px 14px;border-radius:10px;background:#edf1ef;margin:12px 0}.alert.error{background:#fee4e2;color:#912018}.alert.success{background:#def2e5;color:#075229}.alert.warning{background:#fff4d7;color:#60450a}.brand-logo{display:block;width:min(245px,100%);height:auto}.topbar .brand-logo{width:190px}@media(max-width:720px){.shell{margin-top:24px}.hero-row,.appt-head{align-items:flex-start;flex-direction:column}.grid,.two{grid-template-columns:1fr}.button.compact{width:100%}.record{align-items:flex-start;gap:12px}.actions{display:grid}.actions .button{width:100%}}
