.agenda-board{padding:24px;min-width:0}.agenda-toolbar,.agenda-period,.agenda-options{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.agenda-toolbar{justify-content:space-between}.agenda-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#64695e}.agenda-toolbar input,.agenda-toolbar select{min-width:0;padding:10px;border:1px solid var(--line);border-radius:7px;background:#fff;font:inherit;color:var(--ink)}.agenda-summary{margin-top:24px;font-weight:600;font-size:14px}.agenda-hint{font-size:12px;color:#74796e;line-height:1.6}.agenda-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:20px;align-items:start}.agenda-day{background:#f7f8f4;border:1px solid var(--line);border-radius:10px;min-height:220px;min-width:0;padding:8px}.agenda-today{border-color:#92a86d}.agenda-day-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:40px}.agenda-day h3{font-size:12px;margin:0;line-height:1.5}.agenda-day-heading button{font-size:20px;padding:6px}.agenda-card{display:flex;flex-direction:column;gap:8px;text-align:left;background:white;border:1px solid #dde3d3;border-left:3px solid #8ca368;border-radius:7px;width:100%;padding:10px;margin:8px 0;cursor:pointer;color:var(--ink);font:inherit;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.agenda-card:hover{border-color:#70894d}.agenda-card:focus-visible{outline:2px solid #70894d;outline-offset:2px}.agenda-card-time{font-weight:600}.agenda-card small{display:block;font-weight:400;color:#777}.agenda-card-state{font-size:11px;background:#edf2e5;border-radius:5px;padding:3px 6px;align-self:start}.agenda-inactive{border-left-color:#a4a7a0;background:#fafbf8}.agenda-inactive .agenda-card-state{background:#eceee7}.agenda-conflict-badge{color:#965600;font-size:11px}.agenda-empty{font-size:12px;color:#92978a;margin-top:20px}.agenda-day-view{grid-template-columns:minmax(0,1fr)}.agenda-day-view .agenda-day{min-height:150px}.agenda-day-view .agenda-card{max-width:700px}.agenda-warning{padding:12px;background:#fff3d7;border-radius:8px;color:#7b4d00;font-size:13px;line-height:1.6}.agenda-error{color:#a22d2d;font-size:13px}.agenda-overlap{display:flex;align-items:start;gap:8px;font-size:13px}.agenda-overlap input{margin-top:3px}.agenda-services{border:0;padding:0;margin:24px 0}.agenda-services legend{font-size:14px;font-weight:600;margin-bottom:12px}.agenda-services small{color:#757d6b}.agenda-form-body{overflow:auto;padding:20px 28px;min-height:0}#appointment-dialog{width:min(780px,94vw);max-height:92dvh;padding:0}#appointment-form{display:flex;flex-direction:column;max-height:92dvh}#appointment-dialog .dialog-title-row{padding:24px 28px 0}#appointment-dialog .dialog-actions{flex-wrap:wrap;flex-shrink:0;padding:16px 28px}#appointment-dialog input,#appointment-dialog textarea,#appointment-dialog select{max-width:100%;box-sizing:border-box}#appointment-dialog input:disabled,#appointment-dialog select:disabled,#appointment-dialog textarea:disabled{opacity:1;color:#454b3f;background:#f5f6f2}#appointment-dialog [hidden],#appointments-panel [hidden]{display:none!important}
@media(min-width:721px) and (max-width:1250px){.agenda-calendar{grid-template-columns:repeat(3,minmax(0,1fr))}.agenda-day-view{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){#appointments-panel .welcome{flex-direction:column;align-items:start;gap:16px}.agenda-board{padding:14px}.agenda-calendar{grid-template-columns:minmax(0,1fr)}.agenda-day{min-height:100px}.agenda-toolbar{align-items:stretch}.agenda-period,.agenda-options{width:100%}.agenda-options label{flex:1 1 100px}.agenda-options input,.agenda-options select{width:100%}.agenda-options label:last-child{flex-basis:100%}.agenda-period label{flex:1 1 120px}.agenda-period input{width:100%}.agenda-form-body{padding:16px}#appointment-dialog .dialog-title-row{padding:20px 16px 0}#appointment-dialog .dialog-actions{padding:12px 16px;gap:8px}#appointment-dialog .form-grid{grid-template-columns:minmax(0,1fr)}#appointment-dialog .service-options{grid-template-columns:minmax(0,1fr)}.sidebar .nav-item[href="#agendamentos"]{grid-column:1/-1}}
.agenda-queue{padding:24px;margin-bottom:22px}.agenda-waiting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:16px 0}.agenda-waiting-row>div{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.agenda-waiting-row strong{font-size:14px}.agenda-waiting-row span{font-size:12px;color:#74796e}.agenda-bike-summary{background:#f5f6f2;border-radius:8px;padding:14px;margin-bottom:20px;overflow-wrap:anywhere}.agenda-bike-summary p{font-size:13px;line-height:1.6}.agenda-queue .search{margin-bottom:18px;width:100%}@media(max-width:720px){.agenda-queue{padding:14px}.agenda-waiting-row{align-items:start;flex-wrap:wrap}.agenda-waiting-row>div{flex:1 1 180px}}
.agenda-month-title{text-transform:capitalize;font-size:22px;margin:24px 0 8px}.agenda-month-title+.agenda-summary{margin-top:8px}.agenda-weekdays{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:12px 0 8px;margin-top:16px;text-align:center;font-size:12px;font-weight:600;color:#64695e}.agenda-weekdays small{display:block;font-size:10px;font-weight:400;margin-top:3px}.agenda-calendar{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:0;align-items:stretch}.agenda-calendar .agenda-day{min-height:140px;border-radius:6px;padding:6px;position:relative;display:flex;flex-direction:column}.agenda-day-heading{min-height:28px;flex-shrink:0}.agenda-day h3{font-size:14px}.agenda-day-heading button{min-width:28px;min-height:28px;padding:0}.agenda-outside{background:#fafaf7;border:1px solid #f0f1eb;border-radius:6px}.agenda-saturday{background:#f4f2e9;padding-bottom:30px!important}.agenda-no-afternoon{font-size:10px;color:#867747;margin-top:auto;padding-top:8px}.agenda-card{font-size:11px;padding:7px;gap:5px;margin:5px 0}.agenda-card-time{font-size:11px}.agenda-card-time>span{display:inline}.agenda-card strong{font-size:11px}.agenda-card-state{font-size:10px}.agenda-board .agenda-empty{font-size:11px;margin:10px 0}.agenda-end-time{white-space:nowrap}#appointment-choose h3{font-size:16px;margin:0 0 16px}#appointment-choose .search{width:100%;margin-bottom:16px}#appointment-change{margin-bottom:12px}#appointment-dialog .agenda-waiting-row button{flex-shrink:0}
@media(max-width:720px){.agenda-board{padding:10px}.agenda-month-title{font-size:20px}.agenda-calendar,.agenda-weekdays{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.agenda-calendar .agenda-day{min-height:100px;padding:3px}.agenda-calendar .agenda-saturday{padding-bottom:8px!important}.agenda-day h3{font-size:12px}.agenda-day-heading{gap:0;justify-content:center;min-height:30px}.agenda-day-heading button{display:none}.agenda-weekdays{font-size:11px}.agenda-weekdays small{font-size:9px}.agenda-card{padding:5px 1px;border-left-width:2px;border-radius:4px;min-height:32px;gap:0;align-items:center}.agenda-card>*:not(.agenda-card-time),.agenda-card-time .agenda-end-time,.agenda-card-time small{display:none}.agenda-card-time,.agenda-card-time>span{font-size:10px;letter-spacing:-.3px}.agenda-board .agenda-empty{font-size:9px;text-align:center}.agenda-no-afternoon{font-size:8px;text-align:center;line-height:1.4;overflow-wrap:anywhere}.agenda-waiting-row{gap:10px}.agenda-waiting-row>div{flex-basis:130px}.agenda-summary{font-size:12px;line-height:1.6}}
.agenda-calendar .agenda-day{min-height:100px}.agenda-card>span:not(.agenda-card-time):not(.agenda-conflict-badge){display:none}.agenda-card strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.agenda-month-title{text-transform:none}.agenda-month-title::first-letter{text-transform:uppercase}
.agenda-continued{border-left-color:#5e8ca5;background:#f3f8fb}.agenda-card>span.agenda-continuation{display:block;color:#42718c;font-size:10px}@media(max-width:720px){.agenda-card>span.agenda-continuation{display:none}.agenda-continued .agenda-card-time::after{content:'↻';display:block;color:#42718c;font-size:11px}}
#appointment-dialog .date-weekdays,#appointment-dialog .date-grid{grid-template-columns:repeat(6,minmax(0,1fr))}#appointment-dialog .date-time-row label{margin:0}#appointment-dialog .date-time-row input{margin:0;min-height:34px}#appointment-dialog .date-popover .agenda-hint{font-size:10px;margin:4px 0 8px}#appointment-dialog .date-popover .agenda-error{font-size:12px;margin:6px 0}#appointment-dialog .date-popover button:focus-visible{outline:2px solid #708d49;outline-offset:2px}#appointment-dialog .date-trigger:focus-visible{outline:2px solid #708d49;outline-offset:2px}
.agenda-date-field{display:flex;flex-direction:column;gap:8px;min-width:0}.agenda-date-field>label{margin:0}
.agenda-past{background:#f0f1ee!important;border-color:#e9eae5!important}.agenda-past .agenda-day-heading h3,.agenda-past .agenda-empty{color:#a3a79e}.agenda-past .agenda-card{opacity:.72}
.agenda-observations p{white-space:pre-wrap;margin:6px 0 0}.agenda-observations>b{font-size:12px;color:#64695e}.agenda-parts-observations{border-top:1px solid #c9cec2;padding-top:12px;margin-top:14px}
