/* Patient surfaces reuse the professional workspace vocabulary without sharing its workflow. */
#app[data-role=patient] .patient-layout{grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);gap:32px}
#app[data-role=patient] .patient-layout>*,#app[data-role=patient] .patient-profile>*{min-width:0}
#app[data-role=patient] .patient-before-entry{background:#163D38;color:#F3FCF9;padding:24px;border:0;border-radius:12px;box-shadow:0 8px 20px rgb(15 42 36 / .10)}
#app[data-role=patient] .patient-before-entry>.panel-header{padding:0 0 16px;border-color:rgb(243 252 249 / .18)}
#app[data-role=patient] .patient-before-entry>.panel-header h2{color:inherit;font-size:17px}
#app[data-role=patient] .patient-before-entry>.panel-body{padding:18px 0 0}
#app[data-role=patient] .patient-before-entry .check-list{color:inherit}
#app[data-role=patient] .patient-before-entry .check-list .icon{color:#B9E7DB;flex:none}
#app[data-role=patient] .patient-before-entry .button{background:#F3FCF9;color:#163D38;border:0;min-height:44px}
#app[data-role=patient] .patient-before-entry .button:focus-visible{outline:2px solid #F3FCF9;outline-offset:4px}
#app[data-role=patient] .patient-next::before{content:none}
#app[data-role=patient] .patient-next{margin:0;grid-template-columns:126px minmax(0,1fr) auto}
#app[data-role=patient] .patient-next .doctor-next-person{min-width:0}
#app[data-role=patient] .patient-next-doctor{display:flex;align-items:center;gap:12px;margin-top:10px}
#app[data-role=patient] .patient-next-doctor .avatar{background:rgb(255 255 255 / .14);color:#FFF;width:38px;height:38px}
#app[data-role=patient] .patient-next .patient-next-status{display:flex;align-items:center;gap:7px;margin:10px 0 0;font-size:12px;color:#FFF}
#app[data-role=patient] .patient-next-status::before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
#app[data-role=patient] .patient-profile{grid-template-columns:minmax(0,1.8fr) minmax(250px,.8fr);gap:40px}
#app[data-role=patient] .patient-profile form{max-width:960px}
#app[data-role=patient] .patient-profile .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}
#app[data-role=patient] .patient-profile .field{min-width:0;margin:0 0 18px}
#app[data-role=patient] .patient-profile .form-grid>.field{margin:0}
#app[data-role=patient] .patient-profile :is(input:not([type=checkbox]),select){width:100%;min-width:0;min-height:44px;padding:10px 0;border:0;border-bottom:1px solid var(--control);border-radius:0;background:transparent;box-shadow:none;color:var(--ink)}
#app[data-role=patient] .patient-profile :is(input,select):focus-visible{outline:2px solid var(--action);outline-offset:3px;border-bottom-color:var(--action)}
#app[data-role=patient] .patient-profile :is(input,select):disabled{color:var(--muted);cursor:not-allowed;opacity:1}
#app[data-role=patient] .patient-profile label{font-size:12px;color:var(--muted)}
#app[data-role=patient] .patient-profile .ui-read-values{margin-top:18px;column-gap:28px}
#app[data-role=patient] .patient-profile .ui-read-values>div:last-child{grid-column:auto}
#app[data-role=patient] .patient-profile .ui-edit-actions{margin-top:24px}
#app[data-role=patient] .patient-profile .municipality-results{background:var(--surface);color:var(--ink)}
#app[data-role=patient] .patient-profile-status{margin-top:0}
@media(min-width:1800px){#app[data-role=patient] .patient-layout{grid-template-columns:minmax(0,2.2fr) minmax(320px,1fr)}}
@media(max-width:1200px){#app[data-role=patient] .patient-next{grid-template-columns:110px minmax(0,1fr);gap:16px 20px}#app[data-role=patient] .patient-next .doctor-next-cta{grid-column:2;justify-self:end}}
@media(max-width:900px){#app[data-role=patient] .patient-layout,#app[data-role=patient] .patient-profile{grid-template-columns:minmax(0,1fr);gap:28px}}
@media(max-width:600px){#app[data-role=patient] .patient-next{grid-template-columns:100px minmax(0,1fr);padding:20px;gap:16px}#app[data-role=patient] .patient-next .doctor-next-cta{grid-column:1/-1;justify-self:end}#app[data-role=patient] .patient-next-doctor{gap:8px}#app[data-role=patient] .patient-next-doctor .avatar{display:none}#app[data-role=patient] .patient-next .doctor-next-person h2{font-size:18px}#app[data-role=patient] .patient-profile .form-grid{grid-template-columns:minmax(0,1fr);gap:18px}#app[data-role=patient] .patient-profile .ui-edit-actions>.button{flex:none;width:100%}#app[data-role=patient] .patient-before-entry{padding:22px}}

/* Compact patient documents and completed-appointment history, 23/10/2026. */
#app[data-role=patient] .patient-document-group{border-bottom:1px solid var(--line)}
#app[data-role=patient] .patient-document-group>summary{display:flex;align-items:center;gap:18px;min-height:68px;padding-block:12px;cursor:pointer;list-style:none}
#app[data-role=patient] .patient-document-group>summary::-webkit-details-marker{display:none}
#app[data-role=patient] .patient-document-group>summary>span:first-child{flex:1;min-width:0}
#app[data-role=patient] .patient-document-group summary strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}
#app[data-role=patient] .patient-document-group summary small{display:block;color:var(--muted);font-size:12px;margin-top:5px;overflow-wrap:anywhere}
#app[data-role=patient] .patient-document-count{font-size:11px;color:var(--muted);white-space:nowrap}
#app[data-role=patient] .patient-document-group summary>.icon{width:16px;height:16px;flex:none}
#app[data-role=patient] .patient-document-group[open] summary>.icon{transform:rotate(180deg)}
#app[data-role=patient] .patient-document-group>summary:focus-visible{outline:2px solid var(--action);outline-offset:3px}
#app[data-role=patient] .patient-document-list{padding:0 0 14px 14px}
#app[data-role=patient] .patient-document-row{display:flex;align-items:center;gap:12px;padding-block:12px;border-top:1px solid var(--line)}
#app[data-role=patient] .patient-document-row>div:first-child{flex:1;min-width:0}
#app[data-role=patient] .patient-document-row h3{font-size:12px;font-weight:500;overflow-wrap:anywhere;margin:0}
#app[data-role=patient] .patient-document-row p{font-size:11px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}
#app[data-role=patient] .patient-document-actions{display:flex;align-items:center;flex:none;gap:2px}
#app[data-role=patient] .patient-document-actions .ui-line-action{width:40px;min-width:40px;height:44px}
#app[data-role=patient] .patient-document-actions .ui-line-action:disabled{color:var(--muted);opacity:.5;cursor:not-allowed}
#app[data-role=patient] .patient-history-detail{max-width:1120px}.patient-history-pending{padding-block:16px;color:var(--muted);font-size:13px;line-height:1.7}
.patient-document-preview{width:min(900px,calc(100% - 32px));max-height:90dvh;border:0;border-radius:12px;background:var(--surface);color:var(--ink);padding:24px;box-shadow:var(--shadow)}
.patient-document-preview::backdrop{background:rgb(12 24 20 / .55)}.patient-document-preview>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.patient-document-preview h2{font-size:17px}.patient-document-preview iframe{display:block;border:1px solid var(--line);width:100%;height:62dvh;margin-bottom:14px}.patient-document-preview>.button{margin-top:12px}
@media(max-width:600px){#app[data-role=patient] .patient-document-group>summary{gap:8px;flex-wrap:wrap}#app[data-role=patient] .patient-document-count{font-size:10px}#app[data-role=patient] .patient-document-row{flex-wrap:wrap;gap:4px}#app[data-role=patient] .patient-document-actions{margin-left:auto}#app[data-role=patient] .patient-document-actions .ui-line-action{width:44px;min-width:44px}#app[data-role=patient] .patient-document-list{padding-left:0}.patient-document-preview{padding:16px}.patient-document-preview iframe{height:60dvh}}

/* Consultation columns share alignment with their expandable rows. */
#app[data-role=patient] .patient-document-columns,#app[data-role=patient] .patient-document-group>summary{display:grid;grid-template-columns:110px 65px minmax(120px,1fr) 100px 16px;align-items:center;gap:16px}
#app[data-role=patient] .patient-document-columns{padding:10px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}
#app[data-role=patient] .patient-document-group>summary{min-height:52px;padding-block:8px;font-size:13px}
#app[data-role=patient] .patient-document-doctor{min-width:0;overflow-wrap:anywhere}
#app[data-role=patient] .patient-document-list{padding:0 0 8px}
#app[data-role=patient] .patient-document-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:normal}
#app[data-role=patient] .patient-document-table th{padding:8px;color:var(--muted);font-size:11px;font-weight:400;border-bottom:1px solid var(--line)}
#app[data-role=patient] .patient-document-table td{padding:4px 8px;border-bottom:1px solid var(--line);vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
#app[data-role=patient] .patient-document-table tbody tr:last-child td{border-bottom:0}
#app[data-role=patient] .patient-document-table td:last-child{width:88px}
#app[data-role=patient] .patient-document-actions .ui-line-action{width:44px;min-width:44px}
#app[data-role=patient] .patient-history-doctor{display:flex;align-items:center;gap:12px;margin-bottom:18px}
#app[data-role=patient] .patient-history-doctor>div>span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}
#app[data-role=patient] .patient-history-doctor strong{font-size:14px;font-weight:500}
#app[data-role=patient] .patient-history-avatar{position:relative;display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;overflow:hidden;background:var(--soft);color:var(--action)}
#app[data-role=patient] .patient-history-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#app[data-role=patient] .patient-history-files .panel-body{padding-top:0}
#app[data-role=patient] .patient-history-files .patient-invoice-list>.patient-document-row:first-child{border-top:0}
@media(max-width:600px){
 #app[data-role=patient] .patient-document-columns,#app[data-role=patient] .patient-document-group>summary{grid-template-columns:88px 42px minmax(80px,1fr) 16px;gap:8px}
 #app[data-role=patient] .patient-document-count{display:none}
 #app[data-role=patient] .patient-document-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #app[data-role=patient] .patient-document-table,#app[data-role=patient] .patient-document-table tbody{display:block}
 #app[data-role=patient] .patient-document-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:8px 0;border-top:1px solid var(--line);gap:4px 12px}
 #app[data-role=patient] .patient-document-table td{display:block;border:0;padding:2px 0;width:auto}
 #app[data-role=patient] .patient-document-table td:first-child{grid-column:1/-1;font-weight:500}
 #app[data-role=patient] .patient-document-table td[data-label]:not(:first-child):before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:3px}
 #app[data-role=patient] .patient-document-table td:last-child{grid-column:1/-1;width:auto;justify-self:end}
}

.document-pdf-content{display:block;height:55dvh;min-height:180px;max-width:100%;overflow:auto;overscroll-behavior:contain;background:var(--page,#edf2f1);scrollbar-color:var(--muted,#46645c) transparent;touch-action:pan-x pan-y pinch-zoom}
@media(max-width:600px){.document-pdf-content{height:48dvh}}

/* Compact portal lists keep every field and action available on narrow screens. */
.patient-list-scroll{width:100%;overflow-x:auto}
.patient-compact-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;text-align:left;white-space:normal}
.patient-compact-table caption{text-align:left}
.patient-compact-table th{color:var(--muted);font-size:11px;font-weight:500;white-space:normal;padding:12px 16px;border-bottom:1px solid var(--line)}
.patient-compact-table td{padding:8px 16px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;vertical-align:middle;white-space:normal}
.patient-compact-table tr:last-child td{border-bottom:0}
.patient-compact-table th:nth-child(1){width:17%}.patient-compact-table th:nth-child(2){width:11%}.patient-compact-table th:nth-child(3){width:29%}.patient-compact-table th:nth-child(4){width:16%}.patient-compact-table th:nth-child(5){width:27%}
.patient-list-name{font-weight:500}.patient-list-status,.patient-list-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.patient-list-status .ui-line-action{flex:none}.patient-list-state{display:inline-flex;align-items:center;gap:7px;font-size:12px;min-width:0}
.patient-list-state:before{content:'';flex:none;width:6px;height:6px;border-radius:50%;background:var(--muted)}
.patient-list-state:is([data-status=completed],[data-status=approved]):before{background:var(--action)}
.patient-list-state:is([data-status=overdue],[data-status=cancelled],[data-status=no_show]):before{background:var(--danger)}
.patient-notifications-table th:nth-child(1){width:32%}.patient-notifications-table th:nth-child(2){width:24%}.patient-notifications-table th:nth-child(3){width:14%}.patient-notifications-table th:nth-child(4){width:30%}
.patient-notification-unread td:first-child{font-weight:600}.patient-list-actions{justify-content:flex-start;flex-wrap:wrap}.patient-list-actions .link-button{min-height:44px;text-align:left}
@media(max-width:700px){
 .patient-compact-table,.patient-compact-table tbody{display:block;width:100%}
 .patient-compact-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .patient-compact-table tr{display:block;padding:10px 16px;border-bottom:1px solid var(--line)}
 .patient-compact-table tr:last-child{border-bottom:0}
 .patient-compact-table td{display:grid!important;grid-template-columns:minmax(100px,34%) minmax(0,1fr);gap:12px;padding:4px 0;border:0;width:auto!important}
 .patient-compact-table td:before{content:attr(data-label);font-size:11px;font-weight:400;color:var(--muted)}
 .patient-list-status{min-height:44px}.patient-list-actions{gap:8px}
}

/* Patient dashboard: approved Journey direction, with a continuous outer surface. */
#app[data-role=patient] .patient-journey-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.patient-journey-layout>*,.patient-journey-focus{min-width:0}
.patient-journey-focus{padding:0;border:0;background:none}
.patient-journey-focus>h2{font-size:21px;line-height:1.45;font-weight:500;letter-spacing:-.02em;margin:0 0 6px}
.patient-journey-note{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 25px}
#app[data-role=patient] .patient-journey-focus .patient-next{display:grid;grid-template-columns:126px minmax(0,1fr);gap:18px;padding:22px;background:#124F46;color:#F3FCF9;border:0;border-radius:8px;margin:0 0 26px}
#app[data-role=patient] .patient-journey-focus .patient-next-running{background:#17566D}
#app[data-role=patient] .patient-journey-focus .patient-next-followup{background:var(--quiet);color:var(--ink)}
.patient-journey-focus .doctor-next-time{border-right:1px solid rgb(243 252 249 / .25);padding-right:17px;align-self:start}
.patient-journey-focus .doctor-next-time strong{font-size:28px;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums;display:block;margin:3px 0}
.patient-journey-focus .doctor-next-time :is(span,small){font-size:11px;color:inherit;display:block}
.patient-journey-focus .doctor-next-person>small{display:flex;align-items:center;gap:6px;font-size:11px;color:inherit;flex-wrap:wrap}
.patient-journey-focus .doctor-next-person>small .icon{width:15px;height:15px}
.patient-journey-focus .doctor-next-person h3{font-size:18px;font-weight:500;line-height:1.5;margin:10px 0 0;overflow-wrap:anywhere;color:inherit}
#app[data-role=patient] .patient-journey-focus .patient-next-status{color:inherit;font-size:12px;line-height:1.8}
.patient-journey-action{grid-column:1/-1;display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.patient-journey-action>small{font-size:11px;line-height:1.8;flex:1;min-width:140px;color:inherit}
#app[data-role=patient] .patient-journey-action .doctor-next-cta{color:#124F46;background:#F3FCF9;border:0;border-radius:8px;min-height:44px;padding:10px 17px;white-space:normal;line-height:1.7;max-width:100%;justify-self:start;font-size:12px}
#app[data-role=patient] .patient-next-running .doctor-next-cta{color:#17566D}
.patient-journey-action .doctor-next-cta:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.patient-next-followup .doctor-next-time{border-color:var(--line)}
.patient-journey-empty{padding:22px;background:var(--quiet);border-radius:8px;margin-bottom:26px}
.patient-journey-empty h3{font-size:18px;font-weight:500;margin:0 0 8px}
.patient-journey-empty p{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 16px;max-width:65ch}
#app[data-role=patient] .patient-journey-support{background:none;border:0;box-shadow:none;padding:5px 0;color:var(--ink);align-self:start}
.patient-journey-support h2{font-size:16px;font-weight:500;margin:0 0 16px}
.patient-journey-support .check-list{margin:0;padding:0;gap:12px;font-size:12px}
#app[data-role=patient] .patient-journey-support .check-list .icon{color:var(--action);width:15px;height:15px}
#app[data-role=patient] .patient-journey-support .button{color:var(--action);background:transparent;padding:8px 0;margin-top:12px;min-height:44px}
#app[data-role=patient] .patient-journey-support .button:focus-visible{outline:2px solid var(--action);outline-offset:3px}
.patient-journey-pending{margin-top:24px;font-size:12px;color:var(--muted)}
#app[data-role=patient] .patient-journey-queue{background:none;border:0;padding:0;margin:0;color:var(--ink)}
.patient-journey-queue-item{list-style:none}
.patient-journey-queue-item+.patient-journey-queue-item{margin-top:28px}
.patient-queue-focus{display:grid;grid-template-columns:126px minmax(0,1fr);gap:18px;background:#124F46;color:#F3FCF9;padding:22px;border-radius:8px;margin-bottom:26px}
.patient-queue-clock{border-right:1px solid rgb(243 252 249 / .25);padding-right:17px;font-size:11px;line-height:1.8}
.patient-queue-clock strong{display:block;font-size:36px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.patient-queue-focus h3{font-size:18px;font-weight:500;margin:0 0 8px}
.patient-queue-focus p{margin:6px 0 0;font-size:12px;line-height:1.8}
.patient-queue-focus small{font-size:11px;line-height:1.8;color:inherit}
.patient-queue-focus .immediate-queue-prolonged{grid-column:1/-1;color:inherit}
@media(max-width:600px){.patient-journey-focus>h2{font-size:20px}.patient-journey-note{font-size:12px;margin-bottom:20px}#app[data-role=patient] .patient-journey-focus .patient-next,.patient-queue-focus{grid-template-columns:90px minmax(0,1fr);padding:19px 15px;gap:16px 13px}.patient-journey-focus .doctor-next-time{padding-right:13px}.patient-journey-focus .doctor-next-time strong,.patient-queue-clock strong{font-size:25px}.patient-journey-focus .doctor-next-person h3,.patient-queue-focus h3{font-size:16px}.patient-journey-action{gap:10px}.patient-queue-clock{padding-right:13px}.patient-journey-empty{padding:20px}}

/* Approved mobile combination: Faixa for the live waiting/running journey only. */
.patient-mobile-only{display:none}
@media(max-width:760px){
 #app[data-role=patient][data-route=dashboard] .app-main:has(.patient-journey-focus:not([hidden] *):is([data-mobile-state=waiting],[data-mobile-state=running])){padding:0}
 #app[data-role=patient][data-route=dashboard] .app-main:has(.patient-journey-focus:not([hidden] *):is([data-mobile-state=waiting],[data-mobile-state=running]))>.page-heading{display:none}
 #app[data-role=patient] .patient-journey-focus:is([data-mobile-state=waiting],[data-mobile-state=running])>:is(h2,.patient-journey-note){display:none}
 #app[data-role=patient] .patient-journey-focus:is([data-mobile-state=waiting],[data-mobile-state=running]) .patient-mobile-only{display:block}
 #app[data-role=patient] .patient-journey-focus .patient-queue-focus{grid-template-columns:minmax(95px,.4fr) minmax(0,1fr);padding:24px 18px 26px;border-radius:0;text-align:left;margin:0;background:#124F46}
 #app[data-role=patient] .patient-queue-clock{padding-right:13px}
 #app[data-role=patient] .patient-queue-clock .patient-queue-elapsed{font-size:clamp(28px,8vw,36px)}
 #app[data-role=patient] .patient-queue-message h3{font-size:16px}
 #app[data-role=patient] .patient-queue-message small{display:block;margin-top:8px;color:#D0E7DF;font-size:11px}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .patient-next{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:0;border-radius:0;padding:24px 24px 26px;margin:0;background:#17566D}
 #app[data-role=patient] .patient-running-heading{order:0}
 #app[data-role=patient] .patient-running-heading p{font-size:12px;color:#D3E7EF;margin:0}
 #app[data-role=patient] .patient-running-heading h2{font-size:26px;font-weight:500;line-height:1.4;margin:14px 0 0;color:inherit}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .doctor-next-person{order:1;display:grid;justify-items:start;grid-template-columns:46px minmax(0,1fr);column-gap:12px;row-gap:3px;margin-top:23px}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .doctor-next-person>:is(small,.patient-next-status){display:none}
 #app[data-role=patient] .patient-running-avatar{grid-column:1;grid-row:1/3;align-self:center}
 #app[data-role=patient] .patient-running-avatar .avatar{width:46px;height:46px;margin:0;background:rgb(243 252 249 / .13);color:#F3FCF9;font-size:15px}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .doctor-next-person h3{grid-column:2;font-size:18px;line-height:1.4;margin:0}
 #app[data-role=patient] .patient-running-role{grid-column:2;font-size:11px;line-height:1.6;margin:0;color:#D3E7EF}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .doctor-next-time{order:2;display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:wrap;gap:4px 8px;padding:0;border:0;margin-top:19px}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .doctor-next-time :is(span,strong,small){white-space:nowrap;font-size:11px;line-height:1.8;font-weight:400;margin:0;color:#D3E7EF}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .patient-journey-action{position:fixed;z-index:20;bottom:0;left:0;right:0;display:flex;flex-direction:column;gap:5px;padding:13px 18px calc(13px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--surface);color:var(--muted)}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .patient-journey-action .doctor-next-cta{width:100%;justify-content:space-between;background:#17566D;color:#F3FCF9;min-height:48px;font-size:14px}
 #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .patient-journey-action>small{flex:none;min-width:0;font-size:11px;text-align:left;align-self:stretch}
 #app[data-role=patient] .drawer-open .patient-journey-action{visibility:hidden}
 #app[data-role=patient] .app-main:has(.patient-journey-focus:not([hidden] *)[data-mobile-state=running]){padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))!important}
 #app[data-role=patient] .app-main:has(.patient-journey-focus:not([hidden] *):is([data-mobile-state=waiting],[data-mobile-state=running])) .patient-journey-support{padding:24px 21px 0}
 #app[data-role=patient] .app-main:has(.patient-journey-focus:not([hidden] *):is([data-mobile-state=waiting],[data-mobile-state=running]))>.app-footer{margin:16px 21px 0}
 #app[data-role=patient] .app-main:has(.patient-journey-focus:not([hidden] *):is([data-mobile-state=waiting],[data-mobile-state=running])) .patient-journey-pending{margin-inline:21px}
 html[data-theme=dark] #app[data-role=patient] .patient-journey-focus .patient-queue-focus{background:#164E45}
 html[data-theme=dark] #app[data-role=patient] .patient-journey-focus[data-mobile-state=running] .patient-next{background:#194D62}
}
