.veterinary-workflow-page{max-width:1500px;margin-inline:auto}.vet-workflow{display:grid;gap:16px}.vet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px}.vet-toolbar>div{display:grid;gap:3px}.vet-toolbar>div>span,.vet-editor label>span,.vet-start-panel label>span{font-size:12px;font-weight:800;color:var(--muted)}.vet-toolbar>div>strong{font-size:20px}.vet-toolbar>div>small{color:var(--muted)}.vet-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;align-items:start}.vet-record-list{position:sticky;top:90px;padding:14px;display:grid;gap:9px;max-height:calc(100vh - 118px);overflow:auto}.vet-record-list>div{padding:5px 6px 10px}.vet-record-list h2{margin:3px 0 0}.vet-record-list>button{border:1px solid transparent;background:#f6f8f6;border-radius:13px;padding:12px;text-align:left;display:grid;gap:5px;color:inherit;cursor:pointer}.vet-record-list>button:hover,.vet-record-list>button.active{border-color:#8fb9a9;background:#edf6f1}.vet-record-list>button strong{font-size:14px;line-height:1.35}.vet-record-list>button small{color:var(--muted);line-height:1.35}.vet-case-chip,.vet-visit-chip{width:max-content;border-radius:99px;padding:4px 8px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;background:#e8f1ec;color:#28614c}.vet-visit-chip{background:#e8edf4;color:#3c5876}.vet-start-panel{padding:24px;display:grid;gap:20px}.vet-start-panel h2{margin:4px 0 8px}.vet-start-panel p{margin:0;color:var(--muted)}.vet-patient-choice{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.vet-patient-choice label{display:grid;gap:7px;min-width:min(360px,100%)}.vet-patient-choice select,.vet-editor input,.vet-editor select,.vet-editor textarea{width:100%;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--text);padding:11px 12px;font:inherit}.vet-editor{display:grid;gap:13px}.vet-editor-head,.vet-summary-head{border-radius:18px;background:linear-gradient(135deg,#173f35,#316b59);color:#fff;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px}.vet-editor-head h2,.vet-summary-head h2{margin:5px 0 4px;font-size:25px}.vet-editor-head p,.vet-summary-head p{margin:0;color:#dbe9e3}.vet-editor-head .button,.vet-summary-head .button{background:#fff;color:#173d34;border-color:#fff}.vet-case-editor,.vet-case-banner,.vet-expand-offer{border:1px solid #bad9cb;background:#edf7f1;border-radius:15px;padding:15px;display:flex;align-items:end;gap:13px}.vet-case-editor>div,.vet-case-banner>div,.vet-expand-offer>div{display:grid;gap:3px;margin-right:auto}.vet-case-editor>div span,.vet-case-banner small,.vet-expand-offer span{color:var(--muted);font-size:13px}.vet-case-editor label{display:grid;gap:6px;min-width:190px}.vet-step{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.vet-step summary{list-style:none;display:flex;gap:12px;align-items:center;padding:16px 18px;cursor:pointer}.vet-step summary::-webkit-details-marker{display:none}.vet-step summary>b{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e6f2eb;color:#245846}.vet-step summary span{display:grid;gap:2px}.vet-step summary small{font-weight:400;color:var(--muted)}.vet-step[open] summary{border-bottom:1px solid var(--line)}.vet-step-body{padding:18px;display:grid;gap:16px}.vet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vet-grid label,.vet-voice-field,.vet-change-note{display:grid;gap:7px}.vet-follow-up-grid{grid-template-columns:180px 130px minmax(220px,1fr)}.vet-dictation-field{position:relative}.vet-dictation-field textarea{padding-right:116px;resize:vertical;min-height:92px}.vet-dictation-field button{position:absolute;right:8px;bottom:8px;border:1px solid #bfd6cc;background:#edf6f1;color:#245846;border-radius:10px;padding:7px 9px;display:flex;align-items:center;gap:5px;font-weight:750;cursor:pointer}.vet-dictation-field button.listening{background:#963d33;border-color:#963d33;color:#fff}.vet-dictation-field button em{font-style:normal}.vet-voice-field>small,.vet-calendar-hint{color:var(--muted);font-size:12px}.vet-medication-row{display:grid;grid-template-columns:1fr .7fr 1.2fr 36px;gap:9px;align-items:end;padding:11px 0;border-bottom:1px solid #e7ece9}.vet-medication-row label{display:grid;gap:6px}.vet-medication-row button{width:36px;height:40px;border:0;border-radius:10px;background:#f8e8e5;color:#9f3b31;font-size:20px}.vet-change-note{border:1px solid #efd79e;background:#fff8e7;border-radius:13px;padding:13px}.vet-editor-actions{position:sticky;bottom:12px;z-index:3;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:15px;padding:11px;display:flex;justify-content:flex-end;box-shadow:0 12px 35px rgba(20,50,42,.12)}.vet-summary{padding:0;overflow:hidden}.vet-summary>section,.vet-summary>.vet-summary-grid,.vet-summary>details{margin:16px 20px}.vet-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vet-summary-grid section,.vet-summary>section:not(.vet-case-banner):not(.vet-expand-offer){border:1px solid var(--line);border-radius:13px;padding:14px}.vet-summary h3{margin:0 0 7px;font-size:14px}.vet-summary p{margin:0;white-space:pre-wrap;line-height:1.55}.vet-medicine-summary>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--line)}.vet-follow-up-summary{display:flex;justify-content:space-between;gap:12px;background:#eff6f2}.vet-case-timeline{display:grid;gap:7px}.vet-case-timeline button{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 12px;display:flex;justify-content:space-between;text-align:left}.vet-history{border-top:1px solid var(--line);padding-top:14px}.vet-history summary{cursor:pointer;font-weight:750}.vet-history summary span{background:#e8ece9;border-radius:99px;padding:2px 7px;margin-left:5px}.vet-revision-list{display:grid;gap:8px;margin-top:10px}.vet-revision-list article{border-left:3px solid #7fa995;background:#f6f9f7;padding:10px 12px;display:grid;gap:3px}.vet-revision-list small,.vet-empty-inline{color:var(--muted)}.vet-notice{padding:12px 15px;border-radius:12px;background:#eef5f1;color:#245846;font-weight:700}.vet-notice.error{background:#fae9e6;color:#963d33}.vet-notice.success{background:#e0f2e7;color:#216944}.vet-loading,.vet-empty{padding:36px;text-align:center}.vet-empty h2{margin-top:0}
@media(max-width:1050px){.vet-layout{grid-template-columns:250px minmax(0,1fr)}.vet-case-editor{align-items:stretch;flex-wrap:wrap}.vet-case-editor>div{width:100%}}
@media(max-width:700px){.veterinary-workflow-page{padding-bottom:82px}.vet-toolbar,.vet-editor-head,.vet-summary-head,.vet-case-banner,.vet-expand-offer{align-items:stretch;flex-direction:column}.vet-layout{display:block}.vet-record-list{position:static;max-height:none;margin-bottom:12px;grid-auto-flow:column;grid-auto-columns:minmax(230px,82vw);overflow-x:auto;overflow-y:hidden}.vet-record-list>div{grid-column:1/-1}.vet-start-panel{padding:16px}.vet-patient-choice{display:grid}.vet-grid,.vet-follow-up-grid,.vet-summary-grid,.vet-medication-row{grid-template-columns:1fr}.vet-medication-row button{justify-self:end}.vet-dictation-field textarea{padding-right:12px;padding-bottom:52px}.vet-summary>section,.vet-summary>.vet-summary-grid,.vet-summary>details{margin:12px}.vet-medicine-summary>div,.vet-follow-up-summary,.vet-case-timeline button{display:grid}.vet-editor-actions{bottom:72px}.vet-step-body{padding:14px}}
.vet-aftercare-summary>div{display:grid;gap:8px;margin:10px 0}.vet-aftercare-summary article{display:grid;grid-template-columns:minmax(105px,auto) 1fr;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#f7faf8}.vet-aftercare-summary time{color:var(--muted);font-size:12px;font-weight:750;text-transform:capitalize}.vet-aftercare-summary small{color:var(--muted)}
