
.ui-icon{display:inline-block;width:24px;height:24px;min-width:24px;max-width:24px;max-height:24px;flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:1.8}
.service-specialty-tabs{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;max-width:100%;padding:10px 0;margin:10px 0;scrollbar-width:thin;overscroll-behavior-x:contain}
.service-specialty-tabs button{flex:0 0 auto;min-height:44px;white-space:nowrap;border:1px solid #d4e4dd;border-radius:999px;background:white;color:#135f48;padding:10px 16px;font-size:14px}
.service-specialty-tabs button[aria-pressed=true]{background:#08704b;color:white;border-color:#08704b}
.service-contact-links,.service-workflow-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.service-contact-links a,.service-workflow-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid #c8ded2;border-radius:12px;padding:9px 12px;color:#096548;background:#f4faf7;font-size:14px;text-decoration:none;width:auto;margin:0}
.service-workflow-actions .danger-button{color:#9e3434;background:#fff5f5;border-color:#eccbcb}.service-thread{width:min(560px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:1px solid #c8ded2;border-radius:20px;padding:20px;background:white;color:#17372c}.service-thread::backdrop{background:#092e256b}.service-thread header{display:flex;justify-content:space-between;align-items:center}.service-thread h2{font-size:20px}.service-thread label{display:grid;gap:8px}.service-thread textarea{width:100%;box-sizing:border-box;min-height:90px;border:1px solid #c8ded2;border-radius:10px;padding:10px;font:inherit}.service-thread [data-thread-messages]{max-height:35dvh;overflow:auto}.thread-message{padding:10px 12px;margin:8px 0;border-radius:12px;background:#f0f4f2}.thread-message.mine{background:#e2f3e9}.thread-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.thread-message small{font-size:12px;color:#51645a}.medical-bookings{margin-bottom:18px}.doctor-photo{width:100%;height:150px;object-fit:cover;border-radius:12px}.appointment-time{font-size:16px!important;color:#086246!important}

.service-workflow-actions .danger-button{background:#b42332;color:#fff;border:2px solid #b42332;font-weight:700;min-width:145px;min-height:48px}

.service-workflow-actions button:disabled{opacity:.5;cursor:not-allowed}.service-thread input,.service-thread select{padding:12px;border:1px solid #b8ccbf;border-radius:10px;font:inherit}

/* Keep status, explanation and actions together on phones and tablets. */
.customer-service-orders{width:100%;max-width:920px;min-width:0;margin-inline:auto}
.order-card.service-order{display:block;width:100%;min-width:0;height:auto;min-height:0;padding:18px;background:#fff;color:#17372c;overflow-wrap:anywhere}
.order-card.service-order .service-order-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.order-card.service-order .status{display:inline-block;padding:8px 12px;border-radius:10px;font-size:15px;font-weight:700;color:#12492f;background:#e3f3e9}
.order-card.service-order .status.completed{color:#234e70;background:#e6f0fa}
.order-card.service-order .status.cancelled{color:#80303b;background:#fae8eb}
.order-card.service-order h3{color:#17372c;font-size:19px;margin:14px 0 8px}
.order-card.service-order p{color:#344f44;font-size:15px;margin:8px 0;line-height:1.7}
.service-action-notice{display:block;margin:12px 0;padding:14px;border:1px solid #abc8df;border-radius:12px;background:#eff6fc;color:#234e70}
.service-action-notice strong{font-size:17px}.order-card.service-order .service-action-notice p{margin:6px 0 0;color:#234e70}
.order-card.service-order .service-workflow-actions{justify-content:flex-start;align-items:center;gap:10px;margin:12px 0}
.service-workflow-actions button{background:#08704b;color:#fff;border-color:#08704b;font-weight:700}
.service-workflow-actions button.danger-button:not(:disabled){background:#b42332;border-color:#b42332;color:#fff}
.service-workflow-actions button:disabled,.service-workflow-actions button.danger-button:disabled{opacity:1;background:#edf0f2;color:#626d76;border:1px solid #cbd2d8;cursor:not-allowed}
.order-card.service-order .service-contact-links{justify-content:flex-start;flex-wrap:wrap;gap:10px}
@media(max-width:600px){.service-workflow-actions button{flex:1 1 100%;width:100%}.order-card.service-order{padding:14px}}

.provider-avatar{border-radius:16px;object-fit:cover}
/* Artisan directory: compact cards lead to a dedicated request and contact page. */
.artisan-directory-page .artisan-content{padding:16px 16px 100px;max-width:1000px;margin:auto;width:100%;box-sizing:border-box}
.artisan-page-header{display:flex;align-items:center;gap:12px}.artisan-page-header h1{font-size:19px;margin:0}.artisan-page-header>div{flex:1}.artisan-page-header .artisan-my-orders{width:auto;height:auto;font-size:14px;padding:10px 14px;white-space:nowrap}
.artisan-results-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px;gap:12px}.artisan-results-heading h2{font-size:18px;margin:0}.artisan-results-heading>span{color:#52675f;font-size:14px}
.artisan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.artisan-grid .artisan-card{display:flex;flex-direction:column;text-align:start;padding:0;margin:0;width:100%;min-width:0;height:100%;border:1px solid #dbe7e0;border-radius:18px;overflow:hidden;background:#fff;color:#163d2c;box-shadow:0 3px 12px #183e2810;cursor:pointer;font:inherit}
.artisan-card-image{display:block;width:100%;height:130px;background:#f6f8f5;padding:10px;box-sizing:border-box}.artisan-card-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:12px}
.artisan-card-body{display:flex;flex-direction:column;gap:5px;padding:12px;width:100%;box-sizing:border-box;flex:1}.artisan-card-body>strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.artisan-specialty{font-size:14px;color:#405d4f}.artisan-area{font-size:14px;color:#63756b}.artisan-card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:8px;font-size:13px;color:#08704b;flex-wrap:wrap}.artisan-state{display:inline-block;font-size:13px;font-weight:700;padding:4px 9px;border-radius:8px;width:fit-content}.artisan-state.is-open{background:#e0f5e8;color:#126738}.artisan-state.is-closed{background:#f0f1f3;color:#53606a}
.artisan-card:focus-visible{outline:3px solid #d8ae43;outline-offset:3px}.artisan-card:active{background:#f4faf6}
.artisan-profile-hero{display:flex;gap:18px;align-items:center;padding:22px 18px;background:#fff;border:1px solid #dbe7e0;border-radius:20px;margin-bottom:16px}.artisan-profile-hero>img{width:112px;height:112px;object-fit:contain;border-radius:16px;background:#f6f8f5;flex-shrink:0}.artisan-profile-hero h1{font-size:22px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.artisan-profile-hero p{font-size:16px;margin:6px 0}.artisan-profile-hero span:not(.artisan-state){font-size:14px;color:#52675f}
.artisan-panel{padding:20px;background:#fff;border:1px solid #dbe7e0;border-radius:18px;margin:0 0 16px}.artisan-panel h2{font-size:18px;margin:0 0 14px}.artisan-panel .service-contact-links{display:flex;flex-wrap:wrap;gap:10px}.artisan-panel .service-contact-links a,.artisan-message{padding:12px 16px;border:1px solid #b7d2c4;border-radius:12px;font-size:16px;color:#075b3b;background:#f2faf5;text-decoration:none;overflow-wrap:anywhere}.artisan-message{margin-top:12px}.artisan-hours .provider-hours{margin:0}.artisan-hours summary{font-size:17px;font-weight:700}.artisan-request-form label{display:flex;flex-direction:column;gap:8px;font-size:16px}.artisan-request-form input,.artisan-request-form textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid #b9cbbf;border-radius:12px;padding:12px;background:#fff;color:#173d2b}.artisan-request-form button{min-height:48px;width:100%;font-size:16px}.artisan-request-note,.artisan-closed-note{font-size:15px;line-height:1.8;color:#52675f}.artisan-closed-note{padding:14px;background:#f4f5f6;border-radius:12px}
@media(min-width:700px){.artisan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.artisan-card-image{height:160px}}
@media(max-width:360px){.artisan-grid{gap:8px}.artisan-card-body{padding:10px}.artisan-profile-hero{flex-direction:column;text-align:center}.artisan-profile-hero .artisan-state{margin:auto}}
.service-workflow-actions button.service-edit-button{order:-1;background:#08704b;color:#fff;border:2px solid #08704b;min-height:48px;box-shadow:0 2px 6px #08704b20}
.service-orders-shortcut{display:flex;justify-content:flex-end;margin-bottom:12px}.service-orders-shortcut button{padding:10px 18px;border:1px solid #bfd5c8;border-radius:12px;background:#fff;color:#0b6745;font:inherit;font-weight:700}
.service-filter-tabs{display:flex;gap:8px;overflow-x:auto;margin:16px 0}.service-filter-tabs button{padding:12px 18px;border:1px solid #b6cec0;border-radius:12px;background:#fff;color:#174f39;white-space:nowrap;font-size:16px}.service-filter-tabs button[aria-pressed=true]{background:#08704b;color:#fff}.queue-position{padding:12px 16px;background:#eaf7ef;border:1px solid #bad9c7;border-radius:12px;font-size:17px}.queue-position b{font-size:24px;color:#075d3c}
#root .customer-home #free-services-carousel .service-banner-copy{justify-content:flex-start;padding-top:14px;box-sizing:border-box;gap:5px;top:0;bottom:6px;width:58%}
#root .customer-home #free-services-carousel .service-banner-copy b{font-size:clamp(20px,5vw,28px);line-height:1.4}
#root .customer-home #free-services-carousel .service-banner-copy small,#root .customer-home #free-services-carousel .service-banner-copy>span{font-size:14px;line-height:1.5;color:#fff}
@media(max-width:360px){#root .customer-home #free-services-carousel .service-banner-copy{padding-top:8px;gap:2px}#root .customer-home #free-services-carousel .service-banner-copy b{font-size:19px}}
/* Compact appointment rows; full controls are disclosed only when needed. */
.customer-service-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.customer-service-orders>h2{grid-column:1/-1;font-size:18px;margin:8px 0}
.orders-grid.service-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.order-card.compact-request,.order-card.service-order.compact-request{display:block;height:auto;min-height:0;margin:0;padding:0;border:1px solid #d5e4db;border-radius:14px;background:#fff;overflow:hidden;width:100%;box-sizing:border-box}
.compact-request>summary.compact-request-summary{display:block;cursor:pointer;list-style:none;padding:14px 16px;min-height:0;color:#173d2b;font-size:16px;line-height:1.5;position:relative}
.compact-request>summary::-webkit-details-marker{display:none}.compact-request-summary::after{display:none!important}
.compact-request-summary h2,.compact-request-summary h3,.compact-request-summary strong{display:block;font-size:17px!important;line-height:1.45;margin:0 0 5px!important;color:#173d2b}
.compact-request-summary p{font-size:14px!important;line-height:1.5!important;margin:5px 0!important}.compact-request-summary .status,.order-card.service-order .compact-request-summary .status{display:inline-block;font-size:13px;padding:3px 8px;white-space:normal;line-height:1.5}
.compact-request-meta{display:block;margin-top:6px;font-size:14px;color:#50675b}.compact-request-hint{display:block;margin-top:8px;font-size:14px;font-weight:600;color:#08704b;text-decoration:underline;text-underline-offset:3px}
.compact-request-summary .queue-position{display:inline-block;padding:3px 8px;border:0;font-size:14px!important;margin:5px 0!important}.compact-request-summary .queue-position b{font-size:16px}
.compact-request-body{padding:12px 16px 16px;border-top:1px solid #e1ebe5}.compact-request-body>p{font-size:15px;margin:8px 0;line-height:1.6}.compact-request-body .service-workflow-actions{margin:10px 0;gap:8px}.compact-request-body button,.compact-request-body .service-contact-links a{min-height:42px;padding:8px 12px;font-size:14px;border-radius:10px}.compact-request-body .service-workflow-actions button{width:auto;flex:1 1 145px;min-width:0;min-height:44px}.compact-request-body .service-contact-links{flex-wrap:wrap;gap:8px;margin:10px 0}.compact-request-body input{max-width:100%;box-sizing:border-box}.compact-request-body .doctor-reschedule-form{margin:12px 0}.compact-request[open]>summary{background:#f5faf7}.compact-request>summary:focus-visible{outline:3px solid #d3ad48;outline-offset:-3px}
@media(max-width:640px){.customer-service-orders,.orders-grid.service-request-grid{grid-template-columns:minmax(0,1fr)}.compact-request>summary.compact-request-summary{padding:12px 14px}}
/* Visible actions share the compact card space on every service surface. */
.compact-request>.compact-request-summary{padding:12px 14px 8px;cursor:default;text-align:start}
.compact-request .compact-request-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}
.compact-request .compact-request-body{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px 12px;align-items:center}
.compact-request .compact-request-body>p,.compact-request .compact-request-body>code{flex-basis:100%;margin:2px 0;font-size:14px;overflow-wrap:anywhere}
.compact-request .compact-request-body>button{flex:1 1 130px;margin:0;min-height:44px;line-height:1.4;white-space:normal}
.compact-request .compact-request-body .service-contact-links,.compact-request .compact-request-body .service-workflow-actions{display:flex;flex:1 1 100%;gap:6px;margin:0}
.compact-request .compact-request-body .service-contact-links a,.compact-request .compact-request-body .service-workflow-actions button{flex:1 1 130px;width:auto;min-width:0;min-height:44px;margin:0;padding:7px 9px;font-size:14px;line-height:1.4;white-space:normal}
.compact-request .compact-request-body .doctor-reschedule-form{display:flex;flex-wrap:wrap;align-items:end;gap:6px;flex-basis:100%;margin:4px 0}
.compact-request .doctor-reschedule-form label{display:flex;align-items:center;gap:8px;font-size:14px}.compact-request .doctor-reschedule-form input[name=order]{width:70px;padding:8px}.compact-request .doctor-reschedule-form button{min-height:44px;margin:0}
.compact-request .compact-request-summary .status{font-size:14px}
#free-services-carousel[dir=ltr] .service-banner-copy{text-align:left;direction:ltr}
/* Primary controls remain visible; Next opens the secondary actions. */
.compact-service-panel{padding:14px!important}.compact-service-panel>h2{font-size:18px;margin:0 0 8px}.compact-service-panel .service-filter-tabs{margin:8px 0 12px;gap:6px}.compact-service-panel .service-filter-tabs button{padding:7px 12px;font-size:14px;min-height:40px}
.compact-request>.compact-request-summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:10px 12px 6px}
.compact-request-summary>h2,.compact-request-summary>h3{flex:1 1 45%;font-size:16px!important;margin:0!important}.compact-request-summary>p{margin:0!important}.compact-request-summary .queue-position{margin:0!important;padding:2px 6px;font-size:14px!important}.compact-request-summary .queue-position b{font-size:14px}
.compact-request-summary .compact-request-heading{width:100%;gap:4px}.compact-request-summary .compact-request-meta{margin:0}
.compact-request .compact-request-body{padding:6px 12px 10px;gap:6px}
.compact-request .compact-request-body>.service-workflow-actions{display:contents}
.compact-request .compact-request-body>.service-workflow-actions>button,.compact-request .compact-request-body>button{flex:1 1 95px;width:auto;padding:6px 8px;min-height:40px;min-width:0;font-size:14px;line-height:1.4}
.compact-request .request-more{flex:1 1 100%;min-width:0;margin:0;padding:0;border:0;background:transparent}
.compact-request .request-more>summary{cursor:pointer;display:block;list-style:none;width:fit-content;margin-inline-start:auto;padding:7px 14px;border:1px solid #aac7b9;border-radius:8px;font-size:14px;font-weight:700;color:#086246;background:#f1f8f4;min-height:36px;box-sizing:border-box}
.compact-request .request-more>summary::-webkit-details-marker{display:none}.compact-request .request-more>summary::after{display:none}
.compact-request .request-more-content{padding-top:8px;display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #dce9e2;margin-top:8px}
.compact-request .request-more-content>p,.compact-request .request-more-content>code{flex-basis:100%;margin:0;font-size:14px}.compact-request .request-more-content>button{flex:1 1 130px}
.booking-calendar>p{font-size:14px;line-height:1.7;color:#52695c}.booking-week{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.booking-week fieldset{min-width:0;border:1px solid #c6dbcf;border-radius:12px;padding:12px}.booking-week legend{font-weight:700}.booking-day-fields{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.booking-calendar label{display:grid;gap:5px;font-size:14px}.booking-calendar label.check{display:flex;align-items:center;gap:6px}.booking-calendar input,.booking-calendar select{font:inherit;padding:8px;border:1px solid #b7cfc0;border-radius:8px;max-width:100%;box-sizing:border-box}.booking-calendar button{margin-top:12px}.booking-slot-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.booking-slot-list span{font-size:14px;padding:7px 10px;border-radius:8px}.slot-free{background:#e0f3e8;color:#095e40}.slot-full{background:#f2e9e9;color:#80323c}@media(max-width:650px){.booking-week{grid-template-columns:1fr}}
.booking-shifts{display:grid;gap:8px}.booking-shift{display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:10px;background:#f6faf8;border:1px solid #d3e3da;border-radius:10px}.booking-shift button{font-size:14px;padding:8px;margin:0}.booking-calendar .booking-overrides{max-height:280px;overflow:auto}.booking-calendar .booking-overrides button{font-size:14px;padding:6px 10px;margin:0}.booking-legend{display:flex;flex-wrap:wrap;gap:6px;font-size:14px}.booking-legend span{padding:5px 8px;border-radius:6px}
.slot-free{background:#e5f6ed!important;color:#135b3d!important;border:1px solid #b4d8c3}.slot-near{background:#fff0d4!important;color:#864405!important;border:1px solid #efb765}.slot-full{background:#e9ecef!important;color:#515a65!important;border:1px solid #c9d0d6}
[data-booking-days]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0}[data-booking-days] button{display:grid;gap:3px;border-radius:10px;min-width:0;padding:9px 5px;font:inherit;cursor:pointer}[data-booking-days] b{font-size:14px}[data-booking-days] small{font-size:12px}[data-booking-days] [aria-pressed=true]{outline:3px solid #08704b;outline-offset:1px}.booking-slot-list button{font-size:14px;border:1px solid currentColor;background:#ffffff90;color:inherit;border-radius:7px;padding:5px 8px;min-height:34px;margin:0}.booking-slot-list [aria-pressed=true]{background:#08704b;color:#fff}.booking-day-fields{margin:10px 0}@media(min-width:700px){[data-booking-days]{grid-template-columns:repeat(7,minmax(0,1fr))}}
[data-booking-days]{display:flex;overflow-x:auto;gap:8px;padding:6px 2px 12px;scroll-snap-type:x proximity}[data-booking-days] button{flex:0 0 92px;min-height:86px;scroll-snap-align:start}[data-booking-days] b{font-size:14px}.customer-booking-calendar{padding:14px;border:1px solid #d4e3da;border-radius:14px;background:#fff}.customer-booking-calendar .service-form-row{margin:6px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.calendar-choice-status{font-size:14px;margin:8px 0;color:#385447}.service-free-notice{padding:12px;background:#eff8f3;border-radius:10px;font-size:14px;line-height:1.8}.service-consent{display:flex!important;align-items:flex-start;gap:9px;font-size:14px!important;line-height:1.7;margin:12px 0}.service-consent input{width:20px!important;height:20px;flex-shrink:0;margin-top:3px}.service-consent a{color:#096343;text-decoration:underline}.booking-calendar #booking-program-form{max-width:760px}.service-thread select{width:100%;min-height:44px}
