/* Shared application surfaces: readable forms, predictable actions and bounded layouts. */
:root { --ui-focus: #d47618; }
:where(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
.page-hero h1,.food-hero h1 { max-width: 960px; font-size: clamp(26px,3vw,40px); line-height: 1.2; text-wrap: balance; }
.page-hero p,.food-hero p { max-width: 780px; font-size: 15px; line-height: 1.65; }
.page-hero.compact { padding-block: 30px; }
.booking-page,.food-page { padding-bottom: 48px; }
.card-panel { min-width: 0; }
.booking-layout,.booking-detail-grid,.dashboard-columns,.commerce-layout,.driver-apply-grid { min-width: 0; }
.booking-form { line-height: 1.6; }
.booking-form fieldset { min-width: 0; }
.booking-form label,.booking-form .field { font-size: 14px; line-height: 1.5; }
.booking-form :is(input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),select,textarea) { max-width: 100%; font-size: 14px; min-height: 46px; }
.booking-form select { width: 100%; padding: 11px 13px; border: 1px solid #ccdcd7; border-radius: 10px; color: var(--golfi-text); background: #fff; }
.booking-form small,.booking-assurance li small,.other-passenger p,.quote-result p,.passenger-choice small,.service-options small { font-size: 12px; line-height: 1.55; }
.booking-assurance li b,.capability-grid span,.capability-panel>div,.offer-card p,.offer-card small { font-size: 13px; }
.booking-item p,.booking-item small,.route-detail b,.detail-list>div,.safety-timeline b { font-size: 13px; line-height: 1.55; }
.route-detail small,.safety-timeline small,.driver-stats small { font-size: 12px; }
.status { max-width: 100%; font-size: 11px; line-height: 1.45; letter-spacing: .02em; overflow-wrap: anywhere; }
.alert { align-items: flex-start; font-size: 14px; line-height: 1.6; }
.hero-actions,.home-partner-actions,.form-submit { flex-wrap: wrap; }
.btn { gap: 8px; }
.empty-state h2 { font-size: 23px; line-height: 1.3; }
.empty-state p { max-width: 560px; margin-inline: auto; line-height: 1.65; }
.admin-table { max-width: 100%; overscroll-behavior-inline: contain; }
.admin-table table { min-width: 640px; }
.admin-table th { font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.admin-table td { font-size: 13px; line-height: 1.55; vertical-align: top; }
.admin-table td :is(a,small,code),.admin-table .btn { font-size: 12px; }
.admin-table tbody tr:hover { background: #f1f8f4; }
.admin-table td :is(input,select) { max-width: 100%; }
.operations-sidebar { top: 80px; height: calc(100dvh - 80px); }
.operations-sidebar nav a { min-height: 43px; font-size: 13px; }
.operations-sidebar nav>span,.ops-sidebar-head small { font-size: 11px; }
.ops-global-search input { font-size: 13px; }
.operations-main .live-kpis { grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); }
.operations-main .live-toolbar { flex-wrap: wrap; }
.operations-main .live-panel-head { flex-wrap: wrap; }
.operations-main .live-layout { grid-template-columns: minmax(0,1.7fr) minmax(280px,1fr); }
.food-filters { flex-wrap: wrap; gap: 8px; }
.food-filters a { min-height: 44px; display: inline-flex; align-items: center; }
.food-card-body small { font-size: 12px; line-height: 1.5; }
.food-card-body h2 { line-height: 1.4; }
.section-heading,.page-title-row { flex-wrap: wrap; gap: 16px; }
.section-heading>div:last-child { max-width: 100%; }
.order-360-bar small,.detail-line small,.order-handover-grid small,.operation-note small { font-size: 12px; }
.detail-line span,.order-handover-grid span,.driver-360-mini span,.driver-360-mini small,.dispatch-action-panel p,.danger-zone p { font-size: 13px; line-height: 1.6; }
.dispatch-action-panel label,.danger-zone label,.operation-note p { font-size: 13px; }
.operations-task-card { padding: 22px; margin-bottom: 16px; }
.operations-task-card small { font-size: 12px; line-height: 1.6; }
.operations-task-card form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-block: 12px; }
.operations-task-card label { display: grid; gap: 6px; min-width: 0; }
.operations-task-card :is(input,select,textarea) { max-width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--golfi-border); border-radius: 10px; font: inherit; }
.merchant-hours-form { display: grid; gap: 16px; padding-block: 16px; }
.merchant-hours-form fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-width: 0; padding: 16px; border: 1px solid var(--golfi-border); border-radius: 12px; }
.merchant-hours-form legend { padding-inline: 6px; font-weight: 800; }
.merchant-hours-form label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.merchant-hours-form input[type="time"] { min-height: 44px; padding: 9px; border: 1px solid var(--golfi-border); border-radius: 9px; font: inherit; background: #fff; }
.merchant-hours-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--golfi-primary); }
.merchant-hours-form .btn { justify-self: start; }
@media(max-width:1180px) { .operations-main .live-layout { grid-template-columns: minmax(0,1fr); } }
@media(max-width:1050px) { .operations-sidebar { top: auto; height: auto; }.operations-sidebar nav { gap: 5px; scroll-padding-inline: 12px; } }
@media(max-width:620px) {
  .page-hero h1,.food-hero h1 { font-size: 27px; }
  .page-hero p,.food-hero p { font-size: 14px; }
  .page-hero.compact { padding-block: 24px; }
  .booking-detail-grid>.card-panel { padding: 20px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 160px; }
  .booking-item { grid-template-columns: 44px minmax(0,1fr); }
  .booking-item>i:last-child { display: none; }
  .booking-item p { overflow-wrap: anywhere; }
  .detail-list>div { gap: 12px; }
  .detail-list dd { max-width: 62%; overflow-wrap: anywhere; }
  .form-submit>div { min-width: 0; }
  .empty-state { padding: 32px 20px; }
  .admin-table th,.admin-table td { padding: 12px; }
}
