/* Reuses existing light/dark surface tokens and the approved history background. */
#agendamentos{min-width:0}.appointment-panel{padding:clamp(16px,3vw,28px);margin-block:16px;min-width:0}.appointment-panel[hidden]{display:none!important}
.appointment-panel h3{margin-top:0}.appointment-tabs{display:flex;flex-wrap:wrap;gap:10px}.appointment-tabs button{flex:1 1 150px;min-height:48px}.appointment-tabs button[aria-pressed=false]{background:var(--glass);color:var(--surface-ink);border:1px solid var(--surface-line)}
.appointment-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px;margin-block:18px}.appointment-panel label{display:block;min-width:0;margin-bottom:14px}.appointment-panel :is(input,select,textarea){max-width:100%;box-sizing:border-box;font-size:16px;min-height:44px}.appointment-panel label> :is(input,select,textarea){display:block;width:100%;margin-top:6px}.appointment-panel button{white-space:normal;min-height:44px}
.appointment-check{display:flex!important;align-items:center;gap:10px!important}.appointment-check input[type=checkbox]{width:22px!important;height:22px;min-height:22px;flex:0 0 22px;margin:0!important}.appointment-choices{max-height:380px;overflow:auto;margin-block:16px;border:1px solid var(--surface-line);border-radius:14px;overscroll-behavior:contain}.appointment-choice{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--surface-line)}.appointment-choice:last-child{border-bottom:0}.appointment-choice label{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}.appointment-choice input[type=time]{width:112px;flex:none}
.appointment-panel fieldset,.premium-dialog #scheduleReminderFields fieldset{min-width:0;margin-block:18px;border:1px solid var(--surface-line);border-radius:14px;padding:14px}.appointment-reminders{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.appointment-reminder-add{display:flex;flex-wrap:wrap;gap:8px}.appointment-reminder-add input{width:85px}.appointment-reminder-add select{flex:1;min-width:125px}.appointment-reminder-add button{flex:1 1 145px}.appointment-route{padding-top:20px;border-top:1px solid var(--surface-line)}
.appointment-date{font-weight:700;padding:9px 12px;border-radius:10px;line-height:1.4;width:fit-content}.appointment-date[data-urgency=yellow]{background:#fff0a6!important;color:#614800!important}.appointment-date[data-urgency=orange]{background:#ffdbb0!important;color:#843200!important}.appointment-date[data-urgency=red]{background:#ffe1e0!important;color:#a2141a!important}.appointment-date[data-urgency=past]{opacity:.8}
.appointment-bell{position:relative;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:9px!important;display:inline-flex;align-items:center;justify-content:center;border:1px solid #91c2bd;border-radius:10px;background:#eaf8f2;color:#006d70}.appointment-bell svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.appointment-bell[data-urgency=yellow]{background:#fff0a6;color:#614800}.appointment-bell[data-urgency=orange]{background:#ffdbb0;color:#843200}.appointment-bell[data-urgency=red]{background:#ffe1e0;color:#a2141a}#appointmentBellCount{position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;padding:1px 3px;border-radius:12px;background:#a2141a;color:#fff;font:700 12px/17px system-ui;box-sizing:border-box}#appointmentBellCount[hidden]{display:none}
.appointment-inbox>.row{justify-content:space-between;align-items:center}.appointment-inbox h2{margin:0}.appointment-inbox :is(h3,p){overflow-wrap:anywhere}.appointment-inbox .appointment-check{margin-block:18px}.appointment-notice{border:1px solid var(--surface-line);border-left:5px solid #69c9c1;border-radius:14px;padding:16px;margin-block:12px;touch-action:pan-y;background:var(--glass);color:var(--surface-ink)}.appointment-notice[data-urgency=red]{border-left-color:#dc3644}.appointment-notice[data-urgency=orange]{border-left-color:#e67717}.appointment-notice[data-urgency=yellow]{border-left-color:#b79811}.appointment-notice button{margin:4px 8px 4px 0;min-height:44px;white-space:normal}
#appointmentStatus,#appointmentInboxStatus{white-space:pre-line;overflow-wrap:anywhere}.appointment-route-report{margin-block:18px;padding:16px;border:1px solid var(--surface-line);border-radius:14px;background:var(--glass);color:var(--surface-ink)}.appointment-warning{border-left:4px solid #f28b2d;padding-left:10px;font-weight:700}
/* Six destinations must remain reachable on short phones and landscape displays. */
body.traxio-ui-ready .tabs{overflow-y:auto;overscroll-behavior:contain}.tabs>.nav-art{flex-shrink:0}
@media(max-width:650px){body.traxio-ui-ready>header{gap:5px}body.traxio-ui-ready .header-brand{flex:0 1 118px;min-width:72px}body.traxio-ui-ready #accountToggle{max-width:110px}body.traxio-ui-ready .theme-toggle{margin-left:auto}body.traxio-ui-ready .tabs>button[data-tab=agendamentos]{font-size:8.5px;overflow-wrap:normal}body.traxio-ui-ready .tabs>button[data-tab=agendamentos] span{max-width:100%;white-space:nowrap;letter-spacing:-.15px}.appointment-choice{gap:8px;padding:12px 8px}.appointment-inbox{padding:18px}}
@media(max-width:370px){body.traxio-ui-ready #accountToggle{width:40px;min-width:40px;padding:4px}body.traxio-ui-ready #accountToggle #authIdentity,body.traxio-ui-ready #accountToggle>span:last-child{display:none}body.traxio-ui-ready .header-brand{flex-basis:104px}}

/* A discreet dot keeps pending notifications visible without a floating count. */
#appointmentBellCount{min-width:9px;width:9px;height:9px;padding:0;right:1px;top:1px;font-size:0;line-height:0;background:#dc2638;border:1px solid #fff;border-radius:50%}
