body{background:#f4f8f5}.app{max-width:820px;padding:28px 24px 45px}.header{padding:4px 0 12px}.card{padding:22px;box-shadow:0 8px 26px #24543b08}.notice{font-size:13px;line-height:1.6}#import,#import-advice{display:none!important}.description,.rx-help{font-size:13px}#pdf-file{width:100%;padding:14px;background:#f3f8f4;border:1px dashed #a6cbb3;border-radius:10px;margin:8px 0}.pdf-import>summary{font-weight:700;color:#206943}@media(max-width:600px){.app{padding:18px 14px}.card{padding:17px}}

/* Standalone workspace: preserve the slip editor while making the flow clearer. */
html{scroll-behavior:smooth}body{background:#f7faf7;color:#203d31}.app{max-width:940px;padding:26px 28px 64px}.header{padding:0 0 20px;margin:0;border-bottom:1px solid #dfebe2}.brand-icon{width:42px;height:42px;border-radius:13px;background:#e3f2e8;font-size:24px}.brand strong{font-size:16px}.version{border-radius:99px;padding:7px 11px;color:#57806b;background:#edf6ef}
.workspace-intro{padding:35px 0 26px}.workspace-kicker{font-size:10px;font-weight:800;color:#6e9a7c;letter-spacing:.1em}.workspace-intro h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.035em;line-height:1.2;margin:9px 0;color:#1e4b38}.workspace-intro p{margin:0;color:#6e8275;font-size:14px;line-height:1.65}.workspace-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.workspace-nav a{display:inline-flex;align-items:center;min-height:36px;text-decoration:none;border:1px solid #d9e9dd;border-radius:99px;padding:7px 12px;background:#fff;color:#436a52;font-size:12px;font-weight:700}.workspace-nav a:hover{background:#ecf7ef}.workspace-nav a:focus-visible{outline:3px solid #8abfa4;outline-offset:2px}
.notice{background:#fffaf0;border-color:#eee1c6;color:#795d37;padding:14px 16px;border-radius:12px;margin-bottom:20px}.card{border-color:#e0ebe2;border-radius:16px;padding:25px;margin-bottom:18px;box-shadow:0 8px 30px #28543b08}.section-head h2,.finish-card h2{font-size:17px;color:#204d39}.step{width:28px;height:28px;border-radius:9px}.description,.rx-help{color:#72877a;line-height:1.65}.audio-link-box,.pdf-import{border-radius:12px}.secondary,.primary-action{min-height:44px;border-radius:9px;font-size:13px}.finish-actions{gap:10px}.workspace-nav a,#rx-heading,#audio-heading,#review,#finish-heading{scroll-margin-top:18px}
@media(max-width:600px){.app{padding:18px 15px 42px}.header{padding-bottom:16px}.workspace-intro{padding:26px 0 21px}.workspace-intro h1{font-size:27px}.workspace-nav{gap:6px}.workspace-nav a{font-size:11px;padding:6px 10px}.card{padding:18px;margin-bottom:14px}.version{font-size:8px}}
@media print{.workspace-intro{display:none!important}}

/* Visual language shared with the Osudher Pata and Doctorer Pata sites. */
@font-face{font-family:InterLocal;src:url('inter.woff2') format('woff2');font-display:swap}@font-face{font-family:NotoBengaliLocal;src:url('noto-bengali.ttf') format('truetype');font-display:swap}
body{background:#fff;color:#244335;font-family:InterLocal,NotoBengaliLocal,system-ui,sans-serif}.app{max-width:1104px;padding:0 28px 64px}.header{min-height:86px;padding:0;gap:11px;border-bottom:1px solid #e6eee8}.brand-icon{width:40px;height:40px;background:#e8f5ec;color:#358765}.brand strong{font-size:16px;color:#214635}.brand span{font-size:10px;color:#80958a}.version{background:#f5f9f5;border:1px solid #e5efe7;color:#739382;font-size:10px;letter-spacing:.06em}
.workspace-intro{text-align:center;padding:50px 0 40px}.workspace-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #e2eee4;border-radius:99px;background:#f6faf6;color:#6b9780;font-size:10px;letter-spacing:.06em}.workspace-kicker span{color:#6cae7c;font-size:9px}.workspace-intro h1{max-width:780px;margin:22px auto 13px;color:#234537;font-size:clamp(34px,4.5vw,54px);line-height:1.16;font-weight:700;letter-spacing:-.045em}.workspace-intro h1 span{color:#388c5d}.workspace-intro p{max-width:560px;margin:auto;font-size:15px;line-height:1.75;color:#70877a}.workspace-nav{justify-content:center;gap:9px;margin-top:23px}.workspace-nav a{min-height:38px;padding:8px 15px;background:#fff;border:1px solid #d9e9dc;color:#456956;border-radius:99px;font-size:12px}.workspace-nav a:hover{background:#f2f8f3}
.notice{max-width:850px;margin:0 auto 20px;background:#fffaf0;border-color:#f1e7cf;border-radius:12px;padding:13px 17px;font-size:12px}.card,.print-preview,#pending-section{max-width:850px;margin-left:auto;margin-right:auto}.card{padding:28px 30px;margin-bottom:18px;border:1px solid #e0ebe3;border-radius:18px;box-shadow:0 10px 32px #214e3510;background:#fff}.audio-card{background:#f8fbf8}.section-head h2,.rx-title h1,.finish-card h2{font-size:20px;letter-spacing:-.025em;color:#234c39}.step{width:32px;height:32px;background:#e9f5ec;color:#3c8a5e;border-radius:10px}.description,.rx-help,.rx-title p{color:#71877a;font-size:13px;line-height:1.7}.rx-heading{align-items:flex-start}.rx-title .step{margin-top:0}.rx-demo{background:#f4f8f4;padding:7px 10px;border-radius:99px}.rx-import{padding:20px;margin-top:22px;border-radius:15px;background:#f5faf6}.rx-import h2{font-size:16px;color:#234b39}.rx-kicker{color:#79a48a;font-size:10px}.pdf-import{border-radius:12px}.rx-fields{padding-top:20px}.rx-label-row label,label{color:#345943;font-size:12px}.rx-fields textarea,.pdf-manual-select textarea,.field input,.field select{background:#fff;border-color:#d7e7db;border-radius:10px;font-family:inherit;font-size:13px}.secondary,.primary-action{border-radius:24px;font-family:inherit}.primary-action{background:linear-gradient(135deg,#50b879,#238b56);border-color:#5ebc81;box-shadow:0 6px 16px #389b5b28}.primary-action:hover{background:#238b56}.secondary{background:#fff;border-color:#d3e6d8;color:#296b48}.secondary:hover{background:#eef8f0}.record-button,.stop-button,.setup-mic{border-radius:24px}.record-button{background:#fff}.record-button.is-recording:disabled{background:#fff}.ai-options{border-radius:14px;background:#f6faf6;padding:16px}.ai-option{border-radius:12px}.editor{border-radius:14px}.finish-card{background:#f5faf6}.finish-card h2{margin:0}.print-sheet{border-radius:12px}.app>footer{border-top:1px solid #e7eee8;padding-top:20px;max-width:850px;margin:34px auto 0;color:#83978b}
@media(max-width:600px){.app{padding:0 18px 40px}.header{min-height:73px}.workspace-intro{padding:38px 0 31px}.workspace-intro h1{font-size:35px;margin-top:17px}.workspace-intro p{font-size:14px}.workspace-nav{gap:7px}.workspace-nav a{font-size:11px;padding:7px 11px}.card{padding:20px 18px;border-radius:15px}.rx-import{padding:15px}.section-head h2,.rx-title h1,.finish-card h2{font-size:18px}}
@media print{.workspace-intro{display:none!important}}

/* Redesigned workspace sections, not just the page header. */
.workspace-intro{padding:39px 0 30px}.workspace-intro h1{font-size:clamp(32px,4vw,47px);margin:16px auto 10px}.workspace-nav{margin-top:19px}
.rx-card{padding:0;overflow:hidden}.rx-heading{padding:25px 30px 22px;border-bottom:1px solid #e6efe7}.rx-title h1{font-size:22px}.rx-title p{font-size:13px;margin-top:5px}.rx-import{margin:22px 30px 0;padding:22px 24px;background:#f4f9f5;border:1px solid #e0eee3}.rx-import-head h2{font-size:17px}.rx-sample{border:1px solid #cfe3d4;background:#fff;border-radius:99px;text-decoration:none;padding:9px 14px;font-weight:700}.rx-fields{padding:22px 30px 10px}.rx-label-row{margin-bottom:7px}.rx-fields textarea{padding:14px 15px;border:1px solid #dce8df;border-radius:12px;background:#fbfdfb}.rx-fields .rx-divider{margin:17px 0;border-color:#e6eee7}.rx-review{margin:10px 30px 0!important;padding:15px!important;border-radius:12px!important;background:#f5faf6!important}.rx-privacy{margin:10px 30px 24px!important;font-size:11px;line-height:1.6;color:#799083}
.audio-card{background:#fff}.audio-card .audio-controls{max-width:500px}.audio-card .record-button{flex:0 1 250px;min-height:44px;font-size:13px;border-radius:24px}.audio-card .stop-button{min-width:82px;border-radius:24px}.audio-link-box{background:#f4f9f5;border:1px solid #e0eee3;border-radius:14px;padding:19px 20px;margin-top:20px}.audio-link-box h3{font-size:16px;color:#244d39}.audio-link-box #audio-new-link{max-width:260px}.audio-small-actions{justify-content:flex-start}.review .ai-options{margin:20px 0}.review .primary-action{max-width:300px}.review #editors .primary-action{max-width:none}.finish-actions .primary-action{box-shadow:none}.finish-card{background:#f4f9f5}.card .description{max-width:700px}
@media(max-width:600px){.rx-heading{padding:20px 18px}.rx-import{margin:16px 18px 0;padding:16px}.rx-fields{padding:20px 18px 8px}.rx-review{margin:8px 18px 0!important}.rx-privacy{margin:10px 18px 20px!important}.audio-card .record-button{flex:1}.workspace-intro h1{font-size:34px}}

/* Local PDF picker inspired by the supplied upload reference. */
#home .unused{display:none}.rx-import .pdf-import{padding:20px;border-color:#e2ece4;border-radius:14px}.pdf-import>summary{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:700;cursor:pointer}.pdf-import>summary span{font-size:9px;letter-spacing:.08em;color:#77a087;background:#eef7ef;border-radius:99px;padding:5px 8px}.pdf-import .pdf-drop{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:180px;margin:18px 0 12px;padding:22px;border:1.5px dashed #a5cdb0;border-radius:12px;background:#fbfefb;color:#446d53;text-align:center;cursor:pointer;font-weight:400}.pdf-import .pdf-drop:hover,.pdf-import .pdf-drop.dragging{background:#f0f9f2;border-color:#42a66d}.pdf-drop:focus-within{outline:3px solid #8abfa4;outline-offset:3px}.pdf-drop strong{font-size:13px;color:#26583d}.pdf-drop span:not(.pdf-upload-icon){font-size:11px;color:#81978a}.pdf-upload-icon{width:46px;height:46px;display:grid;place-items:center;background:#e9f6ec;border-radius:15px;color:#429264;margin-bottom:2px}.pdf-upload-icon svg{width:30px;height:30px}.pdf-import .pdf-drop input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;padding:0;margin:0}.pdf-file-card{display:flex;gap:12px;align-items:center;padding:12px;background:#f6f9f6;border:1px solid #e5eee7;border-radius:10px;margin:10px 0}.pdf-file-card[hidden]{display:none}.pdf-file-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#e0f1e5;color:#328054;font-size:10px;font-weight:800}.pdf-file-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.pdf-file-info strong{font-size:12px;overflow-wrap:anywhere}.pdf-file-info small{color:#82958a;font-size:11px}.pdf-remove{border:0;background:transparent;color:#668175;font-size:22px;cursor:pointer;padding:3px 8px}.pdf-remove:focus-visible{outline:3px solid #8abfa4}.pdf-import #pdf-status{font-size:11px;line-height:1.5}

/* One clear manual action, with an optional local AI alternative. */
#review> #prepare{display:block;width:100%;max-width:280px;margin:18px 0 0;min-height:44px}
#review .manual-help{margin:7px 0 0;font-size:11px;line-height:1.5;color:#789084}
#review .ai-options{margin:20px 0 14px;padding:16px 18px;max-width:100%;min-width:0}
#review .ai-options>summary{min-height:24px;font-size:13px;gap:12px}
#review .ai-option{min-width:0;padding:16px}
#review .ai-action-stack{display:flex;flex-direction:row;align-items:stretch;gap:10px;flex-wrap:wrap}
#review .ai-action-stack button{flex:0 1 245px;width:auto;min-height:44px;margin:0;padding:10px 14px;border-radius:24px;font-size:12px}
#review .ai-utility{text-align:left;margin:10px 0 0}#review .ai-utility button{padding:5px 0;color:#347651}
#review #preview{max-width:280px}
@media(max-width:600px){#review .ai-action-stack{flex-direction:column;align-items:stretch}#review .ai-action-stack button{flex:auto;width:100%}#review>#prepare,#review #preview{max-width:none}}
/* Centre the review actions and their supporting text. */
#review > #prepare,#review > #preview{margin-left:auto;margin-right:auto}
#review .manual-help{text-align:center}
#review .ai-action-stack{justify-content:center}
#review .ai-utility{text-align:center}

@keyframes missing-field-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}
.missing-shake{animation:missing-field-shake .55s ease-in-out!important}
@media(prefers-reduced-motion:reduce){.missing-shake{animation:none!important}}

.notice>strong{display:block;text-align:center}.notice>p{margin:8px 0 0;line-height:1.65;text-align:center}
#review .print-settings{text-align:center}
#review .print-settings .qr-include{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:left}
#review .print-settings p{margin:5px 0 0}
#review > #preview:not([hidden]){display:block;margin:14px auto 0}
/* Centre the recording and QR actions without squeezing validation messages between buttons. */
.audio-card .audio-controls{margin-left:auto;margin-right:auto;justify-content:center;flex-wrap:wrap}
.audio-card .audio-controls .workflow-attention-message{flex:0 0 100%;order:3;text-align:center;margin:4px 0 0}
.audio-link-box .audio-small-actions{justify-content:center}
.audio-link-box #audio-qr svg{margin-left:auto;margin-right:auto}

.audio-link-box #audio-new-link{display:block;margin-left:auto;margin-right:auto}

/* Make the required privacy review clearly visible without a tinted fill. */
.rx-review{background:#fff!important;border:1.5px solid #d69a37!important;box-shadow:0 0 0 3px rgba(214,154,55,.09)}
.rx-review label{color:#503c21!important;cursor:pointer}
.rx-review input{accent-color:#a66b12}
.rx-review:focus-within{box-shadow:0 0 0 3px rgba(214,154,55,.25)}
/* Show missing draft fields before the user reaches Preview. */
.draft-missing-warning:not([hidden]){display:block;margin-top:6px;color:#87500f;font-size:11px;font-weight:700;line-height:1.45}
/* Delete only the selected locally saved pending item. */
.pending-item{position:relative;padding-right:48px}
.pending-item .pending-delete{position:absolute;top:9px;right:9px;width:34px;min-width:34px;min-height:34px;height:34px;margin:0;padding:0;border:1px solid #e3bcb7;border-radius:50%;background:#fff;color:#9a3832;font:500 22px/1 system-ui,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pending-item .pending-delete:hover{background:#fff2f0;border-color:#c77269}
.pending-item .pending-delete:focus-visible{outline:3px solid #a5473e;outline-offset:2px}

.brand-home{display:inline-flex;align-items:center;gap:11px;color:inherit;text-decoration:none;border-radius:8px}.brand-home:focus-visible{outline:3px solid #8abfa4;outline-offset:4px}
.other-source-review{display:flex;align-items:flex-start;gap:8px;padding:10px;margin-top:10px;background:#fff8e9;border:1px solid #f0ddaf;border-radius:8px;color:#765b37;font-size:11px;line-height:1.5}.other-source-review input{width:auto;flex:none;margin:2px 0 0}.other-source-review[hidden],.field[hidden]{display:none!important}

.workspace-reload{cursor:pointer;font-family:inherit;font-weight:750}.workspace-reload:hover{background:#e9f4eb}.workspace-reload:focus-visible{outline:3px solid #8abfa4;outline-offset:3px}

#review > #prepare[hidden], #review > .manual-help[hidden]{display:none!important}

.liquid-unit-review[hidden]{display:none!important}.pending-review-dialog{width:min(640px,calc(100vw - 32px));max-height:85vh;border:1px solid #cfdfd5;border-radius:18px;padding:24px;color:#223833;box-shadow:0 18px 70px #132b2160}.pending-review-dialog::backdrop{background:#10251bb3}.pending-review-dialog h2{margin:0;font-size:20px}.pending-review-dialog>p{font-size:13px;line-height:1.5;color:#52695b}.pending-review-content{max-height:37vh;overflow:auto;border:1px solid #dce9de;background:#f7faf7;border-radius:10px;padding:12px 14px}.pending-review-content h3{font-size:13px;margin:8px 0}.pending-review-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;margin:0 0 12px}.pending-review-confirm{display:flex;align-items:flex-start;gap:8px;margin:16px 0;font-size:13px}.pending-review-confirm input{margin:2px 0 0;flex:none}.pending-review-actions{display:flex;gap:10px}.pending-review-actions button{flex:1}.pending-review-dialog button:disabled{opacity:.45;cursor:not-allowed}
/* First-visit guide */
.how-link{margin-left:auto;border:0;background:transparent;padding:9px;color:#3c7457;font-size:12px;font-weight:700;cursor:pointer}.how-link:hover{text-decoration:underline}.how-link+.version{margin-left:0}.welcome-dialog{width:min(560px,calc(100% - 32px));max-height:min(90dvh,760px);border:1px solid #dce9df;border-radius:20px;padding:0;color:#244335;background:white;box-shadow:0 24px 80px #102b1d40}.welcome-dialog::backdrop{background:#163b2dc2}.welcome-content{padding:30px 34px}.welcome-kicker{font-size:10px;letter-spacing:.1em;font-weight:800;color:#43865f}.welcome-dialog h2{font-size:27px;letter-spacing:-.03em;margin:9px 0}.welcome-intro{color:#627b6e;line-height:1.6;font-size:14px;margin:0 0 22px}.welcome-dialog h3{font-size:13px;margin:0 0 13px}.welcome-steps{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:13px}.welcome-steps li{display:flex;gap:12px;align-items:flex-start}.welcome-steps li>span{display:grid;place-items:center;flex:none;width:27px;height:27px;background:#e9f5ec;border-radius:9px;color:#337a53;font-size:12px;font-weight:800}.welcome-steps strong,.welcome-steps small{display:block}.welcome-steps strong{font-size:13px;margin:0 0 2px}.welcome-steps small{font-size:12px;line-height:1.5;color:#6b8073}.welcome-note{padding:14px 16px;background:#fcf8ef;border:1px solid #efe5ce;border-radius:11px;color:#715c3d}.welcome-note strong{font-size:12px}.welcome-note p{font-size:12px;line-height:1.6;margin:5px 0 0}.welcome-button{margin-top:19px;border:0;border-radius:10px;background:linear-gradient(120deg,#49b77a,#16845a);color:white;font-size:13px;font-weight:750;padding:12px 18px;cursor:pointer}.welcome-button span{margin-left:8px}@media(max-width:600px){.welcome-content{padding:24px}.welcome-dialog h2{font-size:24px}.how-link{font-size:11px;padding:8px 4px}.welcome-dialog{max-height:90dvh}.welcome-button{width:100%}}

/* Keep workspace and guide together, in that order. */
.header .workspace-reload{margin-left:auto}.header .how-link{margin-left:0}

.cloud-reminder-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:12px}.cloud-reminder-actions button{border:1px solid #b9d8c4;border-radius:999px;padding:8px 19px;background:#fff;color:#235b40;font-weight:700;cursor:pointer}.cloud-reminder-actions button:first-child{background:#28895a;color:white;border-color:#28895a}#ai-draft.cloud-attention{animation:cloud-pulse-shake 1.1s ease-in-out 2;outline:3px solid #69b98b;outline-offset:3px}@keyframes cloud-pulse-shake{0%,100%{transform:scale(1) translateX(0)}20%{transform:scale(1.05) translateX(-5px)}40%{transform:scale(1.05) translateX(5px)}60%{transform:scale(1.04) translateX(-3px)}80%{transform:scale(1.02) translateX(2px)}}@media (prefers-reduced-motion:reduce){#ai-draft.cloud-attention{animation:none;outline:3px solid #28895a;outline-offset:3px}}

.rx-review.privacy-attention{outline:3px solid #bb9845;outline-offset:3px;animation:privacy-highlight 1.2s ease-in-out 2}@keyframes privacy-highlight{50%{box-shadow:0 0 0 7px #e9ce7f80}}@media(prefers-reduced-motion:reduce){.rx-review.privacy-attention{animation:none}}

/* Consistent disclosure arrows: right when closed, down when open. */
details > summary{position:relative;list-style:none;padding-left:22px}details > summary::-webkit-details-marker{display:none}details > summary::before{content:"▶";position:absolute;left:2px;top:50%;transform:translateY(-50%);font-size:11px;line-height:1;color:#397b58}details[open] > summary::before{content:"▼"}details > summary:focus-visible{outline:2px solid #397b58;outline-offset:4px;border-radius:3px}

#pdf-auto-local:disabled{background:#e3eae5!important;color:#78887d!important;border-color:#d5e0d8!important;cursor:not-allowed;box-shadow:none;opacity:1}
