/* GP cash catalogue — restrained, readable and scoped to its workspace. */
.pl-page{max-width:1440px;margin:0 auto}.pl-page .page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.pl-page .page-header h1{margin:8px 0 12px}.pl-page .page-header p{font-size:14px;color:#788296;line-height:1.6}.pl-page .eyebrow{font-size:10px;font-weight:600;letter-spacing:1.8px;color:#788296}.pl-actions{padding-top:18px}.pl-page .page-header h1{letter-spacing:-.045em}.pl-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.pl-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:10px 0 24px;padding:24px 28px;background:#fff;border:1px solid #e5e9ef;border-radius:18px}.pl-summary>div{display:flex;flex-direction:column;gap:5px}.pl-summary strong{font-size:28px;font-weight:650;letter-spacing:-.04em;color:#25364a;line-height:1.15}.pl-summary span{font-size:12px;color:#64748b}.pl-guidance{display:flex;align-items:center;gap:15px;padding:18px 22px;background:#edf3fc;border:1px solid #dce7f8;border-radius:14px;margin-bottom:24px}.pl-guidance p{margin:0;font-size:13px;line-height:1.6;flex:1;color:#496079}.pl-guidance b{display:block;color:#294662;font-weight:600}.pl-guide-icon{display:grid;place-items:center;border:1px solid #a0b9d9;width:24px;height:24px;border-radius:50%;color:#4d729e;font-family:Georgia,serif;flex-shrink:0}.pl-guidance .btn{flex-shrink:0}.pl-catalogue{overflow:hidden}.pl-filters{display:grid;grid-template-columns:2fr 1.35fr 1fr 1.1fr;gap:16px;padding:24px;border-bottom:1px solid #e9edf2}.pl-filters .form-field{margin:0;min-width:0}.pl-filters .form-field>span{font-size:11px;color:#68768a}.pl-filters input,.pl-filters select{min-height:42px;font-size:13px;padding:10px 14px;width:100%;box-sizing:border-box}.pl-filters select{padding-right:36px;background-position:right 13px center}.pl-table{width:100%;border-collapse:collapse}.pl-table th{font-size:11px;letter-spacing:.025em;background:#f8fafc;color:#67778c;text-align:left;padding:15px 20px}.pl-table td{padding:16px 20px;font-size:12px;color:#526075;vertical-align:middle;border-bottom:1px solid #eef1f5}.pl-table td:first-child{width:34%;min-width:225px}.pl-table td:last-child{width:76px}.pl-table tbody tr:hover{background:#fafcff}.pl-table .pl-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pl-table td.pl-amount{font-weight:650;color:#243e58;font-size:14px}.pl-item{display:block;text-align:left;background:none;border:0;padding:0;font:inherit;cursor:pointer;max-width:100%;color:#283a50}.pl-item strong{font-size:13px;font-weight:600;display:block;line-height:1.5}.pl-item span{display:block;font-size:10px;letter-spacing:.04em;color:#8995a4;margin-top:4px}.pl-item:focus-visible{outline:2px solid #4067cf;outline-offset:4px;border-radius:3px}.pl-status{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap}.pl-proposed{color:#896425;background:#faf3e4}.pl-active{color:#286b53;background:#eaf5ef}.pl-archived{color:#64748b;background:#eef1f4}.pl-pagination{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;gap:16px;color:#68768a;font-size:12px}.pl-pagination>div{display:flex;gap:10px}.pl-pagination .btn:disabled{opacity:.4;cursor:default}.pl-modal-intro{margin:0 0 24px}.pl-modal-intro>div{display:flex;align-items:center;gap:14px}.pl-modal-intro>div>span:last-child{font-size:12px;color:#718197}.pl-modal-intro p,.pl-guide p{font-size:13px;color:#60718a;line-height:1.7}.pl-edit-fields{border:0;padding:0;margin:0;min-width:0}.pl-edit-fields .form-grid{gap:20px}.pl-edit-fields .form-field{margin:0!important}.pl-edit-fields input[readonly]{background:#f4f6fa;color:#7b8796}.pl-edit-fields .check-label{margin-top:24px;line-height:1.6;align-items:flex-start}.pl-edit-fields select{padding-right:36px;background-position:right 13px center}.pl-source{margin:24px 0 0;padding:18px 20px;background:#f6f8fb;border-radius:12px;color:#6d7a8d;font-size:12px;line-height:1.65}.pl-source b{color:#3e5169}.pl-source p{margin:8px 0}.pl-source a,.pl-guide a{color:#315fc2;text-decoration:underline;text-underline-offset:3px}.pl-history{margin-top:24px;border-top:1px solid #e4e9f0;padding-top:20px}.pl-history summary{font-size:13px;font-weight:600;cursor:pointer;padding:5px 0;color:#43566f}.pl-history article{border-bottom:1px solid #edf0f4;padding:18px 0}.pl-history article>div{display:flex;justify-content:space-between;gap:16px;font-size:13px}.pl-history article p{font-size:13px;line-height:1.6;color:#65748a}.pl-history article small{font-size:11px;color:#7f8c9e}.pl-guide h3{font-size:16px;margin-top:26px}.pl-guide h3:first-child{margin-top:0}.pl-page .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.pl-page .page-header{flex-direction:column}.pl-actions{justify-content:flex-start}.pl-filters{grid-template-columns:2fr 1.3fr}.pl-table td,.pl-table th{padding:14px}.pl-guidance{align-items:flex-start}}
@media(max-width:680px){.pl-summary{grid-template-columns:repeat(2,1fr);padding:20px;gap:22px}.pl-guidance{flex-wrap:wrap;padding:16px}.pl-guidance .btn{margin-left:38px}.pl-filters{grid-template-columns:1fr 1fr;padding:18px;gap:14px}.pl-search{grid-column:1/-1}.pl-filters .form-field:last-child{grid-column:1/-1}.pl-table thead{display:none}.pl-table,.pl-table tbody{display:block}.pl-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px 18px;gap:10px;border-bottom:1px solid #e8edf3}.pl-table td{display:block;padding:0;border:0!important;min-width:0!important;width:auto!important}.pl-table td:first-child{grid-column:1/-1}.pl-table td:nth-child(2){display:none}.pl-table td:nth-child(3){font-size:11px;align-self:center}.pl-table td:nth-child(4){text-align:right}.pl-table td:last-child{justify-self:end}.pl-table td:last-child .btn{padding:7px 14px;min-height:34px}.pl-pagination{padding:16px}.pl-item strong{font-size:14px}.pl-actions{gap:8px}.pl-actions .btn{padding:10px 13px}.pl-summary strong{font-size:25px}.pl-edit-fields .form-grid{grid-template-columns:1fr}.pl-edit-fields .form-field{grid-column:auto}.pl-history article>div{flex-wrap:wrap}}

.pl-filters select,.pl-edit-fields select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2367778c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:12px 12px;background-position:right 14px center;padding-right:38px}
@media(max-width:680px){.pl-guidance{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px 15px}.pl-guidance p{min-width:0}.pl-guidance .btn{grid-column:2;justify-self:start;margin-left:0;padding-left:0}.pl-actions{padding-top:0}}
@media(max-width:480px){.pl-filters{grid-template-columns:1fr}.pl-filters .form-field{grid-column:1}.pl-pagination{flex-direction:column;align-items:flex-start}.pl-page .page-header h1{font-size:28px}.pl-history article small{overflow-wrap:anywhere}}
/* Consultation workflow: quiet hierarchy, generous touch targets, restrained colour. */
body[data-workspace="gp"] .gp-review-patient{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;background:#f0f6f3;border:1px solid #dfe9e3;border-radius:16px;margin-bottom:22px}
body[data-workspace="gp"] .gp-review-patient strong{font-size:18px;display:block;line-height:1.4}
body[data-workspace="gp"] .gp-review-patient span:not(.badge){display:block;font-size:13px;color:#647871;margin-top:4px}
body[data-workspace="gp"] .gp-review-intro{margin-bottom:24px}.gp-review-intro p{line-height:1.6}.gp-review-intro .button-wrap{gap:10px;margin-top:16px}
.gp-action-list{display:grid;gap:20px}.gp-action-card{border:1px solid #dce5e0;border-radius:18px;padding:24px;background:#fff;box-shadow:0 3px 14px #193c2b05}.gp-action-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0;margin:0 0 22px;border:0}.gp-action-card h3{font-size:20px;margin:6px 0 0;line-height:1.35}.gp-action-card .eyebrow{font-size:10px;letter-spacing:.13em}.gp-action-card fieldset{border:0;padding:0;margin:0;min-width:0}.gp-action-card fieldset:disabled{opacity:.7}.gp-action-card .form-grid{gap:16px}.gp-action-card textarea{min-height:88px}.gp-action-card textarea[name="letter"]{min-height:270px;line-height:1.65}.gp-action-card .form-field{margin-bottom:4px}.gp-action-warning,.gp-stale{background:#fff7e7;color:#875d19;border:1px solid #f1dfb5;border-radius:12px;padding:12px 15px;font-size:13px;line-height:1.55}.gp-action-card.is-created{border-color:#bcd5c5;background:#fcfefd}.gp-action-card-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:36px;margin-top:16px}.gp-row-message{color:#547369}.gp-evidence{background:#f6f8f7;border:1px solid #e8ede9;border-radius:10px;padding:12px 14px;margin:16px 0;font-size:13px}.gp-evidence summary{cursor:pointer;font-weight:550;color:#526960}.gp-evidence blockquote{margin:12px 0;border-left:2px solid #bacdc0;padding-left:12px;white-space:pre-wrap;line-height:1.65}.gp-approve{display:flex;align-items:flex-start;gap:12px;margin-top:16px;padding:15px;background:#edf5ef;border-radius:10px;font-size:14px;line-height:1.5}.gp-approve input{flex:0 0 auto;margin-top:3px;width:17px;height:17px;accent-color:#426b55}.gp-review-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e2e9e4;margin-top:28px;padding-top:24px}.gp-review-footer p{max-width:420px;margin:0;line-height:1.6}.gp-review-footer .btn{flex-shrink:0}.gp-action-empty{text-align:center;padding:38px 30px;background:#f8faf8;border:1px dashed #dbe6df;border-radius:18px}.gp-action-empty>span{font-size:40px;color:#4b7a60}.gp-action-empty h3{font-size:22px;letter-spacing:-.5px;margin:14px 0}.gp-action-empty p{max-width:390px;margin:0 auto;line-height:1.65;color:#718179}#gp-action-status:not(:empty){padding:12px 0 22px;color:#4f6b5c;font-size:14px}.gp-price-summary{padding:15px;border-radius:10px;background:#f6f8f7}.gp-price-summary p{margin:8px 0 0;line-height:1.5}.gp-charge-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #e5ece7;flex-wrap:wrap}.gp-charge-row>div:first-child{flex:1;min-width:180px}.gp-charge-row small,.gp-price-choice small{display:block;color:#6a7b71;line-height:1.5;margin-top:6px}.gp-price-choice{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;text-align:left;background:#fff;border:1px solid #dde7e0;padding:17px 20px;border-radius:12px;margin-bottom:10px;color:inherit;cursor:pointer;font:inherit}.gp-price-choice:hover{background:#f3f8f4;border-color:#b5cbbb}.gp-price-choice strong{white-space:nowrap}.gp-referral-letter{white-space:pre-wrap;line-height:1.8;font-size:15px;margin:26px 0}.gp-scribe-workspace{padding:22px;background:#f3f7f4;border:1px solid #dde8e0;border-radius:16px;margin-bottom:28px}.gp-scribe-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.gp-scribe-title h3{font-size:21px;letter-spacing:-.5px;margin:8px 0}.gp-scribe-title p{font-size:14px;color:#6a7e71;line-height:1.55}.gp-record-timer{font-size:23px;font-variant-numeric:tabular-nums;color:#547460}.gp-record-buttons{margin:18px 0 10px;gap:10px}.gp-scribe-workspace [data-gp-record-status]{font-size:13px;line-height:1.6;color:#536d5c}.gp-scribe-secondary{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid #dfe8e2;margin-top:18px;padding-top:10px}.gp-scribe-secondary .btn{font-size:12px}.gp-upload-audio{cursor:pointer}.gp-transcript{border-top:1px solid #dfe8e2;padding-top:14px;margin-top:12px}.gp-transcript>summary{cursor:pointer;font-size:13px;font-weight:550;color:#62766a}.gp-transcript textarea{background:white;margin-top:6px}.gp-guide-patient b,.gp-guide-patient span{display:block}.gp-guide-patient b{font-size:20px}.gp-guide-patient span{margin-top:6px;color:#6a7e71;font-size:13px}.gp-guide-status{display:flex;gap:12px;align-items:center;padding:20px 0}.gp-guide-status strong{margin-left:auto;font-size:26px;font-variant-numeric:tabular-nums}.gp-record-dot{background:#b16661;border-radius:50%;width:9px;height:9px}.gp-guide-fields{list-style:none;padding:0;margin:22px 0;counter-reset:gp-fields;display:grid;gap:10px}.gp-guide-fields li{display:flex;gap:13px;align-items:center;padding:13px 15px;border:1px solid #e5ece7;border-radius:10px;counter-increment:gp-fields;font-size:14px}.gp-guide-fields li:before{content:counter(gp-fields);display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#eef4ef;color:#617d69;font-size:11px}.gp-guide-fields small{margin-left:auto;font-size:10px;color:#84948a}.gp-guide-footer{border-top:1px solid #e2e9e4;padding-top:12px}.gp-draft-fields section{border-bottom:1px solid #e3ebe5;padding:10px 0 22px}.gp-draft-fields p{white-space:pre-wrap;line-height:1.7}.gp-draft-fields details{font-size:13px;color:#6b7c71}.gp-draft-fields .gp-approve{margin-top:10px}.visit-workspace .side-pad>.btn{margin-top:18px}
@media(max-width:650px){.gp-action-card{padding:18px}.gp-action-card>header{gap:10px}.gp-action-card h3{font-size:18px}.gp-review-footer{flex-direction:column;align-items:stretch}.gp-review-footer .btn{width:100%}.gp-review-patient{padding:16px!important}.gp-guide-fields li{gap:8px;padding:12px 10px}.gp-guide-fields small{font-size:9px}.gp-scribe-workspace{padding:17px}.gp-scribe-secondary{gap:0}.gp-record-buttons .btn{flex:1 1 auto}.gp-action-empty{padding:26px 16px}.gp-action-card .form-grid{grid-template-columns:1fr}}
@media print{.gp-referral-letter{font-size:11pt;line-height:1.65}.gp-action-list,.gp-scribe-workspace{display:none}}
/* Explicitly preserve native hidden semantics when flex/button rules apply. */
body[data-workspace="gp"] [hidden]{display:none!important}
.gp-guide-fields{max-height:32vh;overflow:auto;overscroll-behavior:contain;padding-right:4px}.gp-guide-footer{background:#fff;position:sticky;bottom:0}.gp-review-footer{background:#fff;position:sticky;bottom:-24px;padding-bottom:16px;z-index:2}

body[data-workspace="gp"] .gp-action-card select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2367778c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:12px;background-position:right 15px center;padding-right:40px}
@media(min-width:701px){.gp-guide-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-guide-fields li{min-width:0;padding:12px}.gp-guide-fields li>span{min-width:0;line-height:1.4}.gp-guide-fields small{flex-shrink:0}}
.gp-action-card .gp-action-warning{margin:0 0 18px}
.gp-guide-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gp-guide-footer .gp-record-buttons{margin:0;flex:1}.gp-guide-footer>.btn{flex-shrink:0}
