.agenda-toolbar,.agenda-controls,.agenda-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.agenda-toolbar{margin-bottom:22px}.agenda-controls{justify-content:flex-start;margin:16px 0}.agenda-controls input,.agenda-controls select{width:auto;max-width:220px}.agenda-week{display:grid;grid-template-columns:repeat(7,1fr);background:white;border:1px solid var(--line);border-radius:16px;padding:12px;margin-bottom:20px}.agenda-week button{display:grid;place-items:center;gap:8px;padding:10px;border-radius:12px;color:#71667e}.agenda-week b{font-size:23px;padding:6px;width:44px;border-radius:50%}.agenda-week .is-today b{color:#9452b4}.agenda-week .selected{background:#eee6f7}.agenda-week .selected b{background:#33273e;color:white}.forecast{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:20px}.forecast select{width:145px}.forecast-values{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.forecast-values div{display:flex;flex-direction:column;gap:5px}.forecast-values b{font-size:28px;color:#5f4089}.forecast-values small,.forecast-values span{color:var(--muted);font-size:12px}.agenda-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;padding:8px 0 18px}.agenda-legend button{color:#7758b4;font-weight:700}.agenda-scroll{background:white;border:1px solid var(--line);border-radius:16px;overflow:auto;max-height:78vh}.agenda-grid{min-width:calc(66px + var(--columns)*220px)}.agenda-head,.agenda-body{display:grid;grid-template-columns:66px repeat(var(--columns),minmax(220px,1fr))}.agenda-head{position:sticky;top:0;z-index:5;background:white;border-bottom:1px solid #e3dde8}.agenda-person{padding:18px 15px;display:flex;align-items:center;gap:10px;border-left:1px solid #eee}.agenda-person small{display:block;color:#8b8097;font-size:12px;margin-top:4px}.agenda-initial{border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-weight:700}.agenda-hour-head{font-size:11px;display:grid;place-items:center;color:#928999}.agenda-axis{position:relative;background:#fff;z-index:2}.agenda-axis span{position:absolute;right:8px;font-size:11px;color:#928999;transform:translateY(-50%)}.agenda-axis span:first-child{transform:none}.agenda-track{position:relative;border-left:1px solid #e9e2ef;background-image:linear-gradient(to bottom,#ece7f0 1px,transparent 1px)}.agenda-clicks button{display:block;width:100%;padding:0}.agenda-clicks button:hover{background:#f0e6fb99}.agenda-break{position:absolute;left:0;right:0;background:repeating-linear-gradient(135deg,#e9e5ed88 0 4px,#fff9 4px 9px);color:#9a90a2;font-size:12px;padding:4px;pointer-events:none;overflow:hidden}.agenda-event{position:absolute;left:5px;right:5px;border-radius:8px;text-align:left;overflow:hidden;padding:5px 10px;display:flex;flex-direction:column;gap:2px;border-left:4px solid #9a6bc9;box-shadow:0 2px 4px #00000008;z-index:3}.agenda-event strong{font-size:12px;white-space:nowrap}.agenda-event span{font-size:13px;font-weight:600}.agenda-event small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tone-0{background:#ebdff8;color:#5e367e}.tone-1{background:#d9efed;color:#236963;border-color:#4b9c92}.tone-2{background:#ffe2d8;color:#8a4c35;border-color:#cd8a6b}.tone-3{background:#dfe7fc;color:#3e5a91;border-color:#809bd0}.tone-4{background:#f3e8bd;color:#716022;border-color:#bda754}.agenda-event.is-pending{background:#fff8e6;color:#866411;border:2px dashed #c89d37}.agenda-event.is-paid{opacity:.65}.agenda-services{max-height:240px;overflow:auto;margin:14px 0}.agenda-services label{display:flex;gap:8px;align-items:center;padding:9px;border-bottom:1px solid #eee}.agenda-services input{width:20px;min-height:20px}.agenda-services span{flex:1}.agenda-services small{font-weight:400}@media(max-width:600px){.agenda-toolbar h2{font-size:19px}.agenda-actions{width:100%}.agenda-actions button{flex:1;font-size:12px}.forecast{padding:15px}.forecast-values b{font-size:21px}.forecast-values{gap:8px}.agenda-week{padding:3px}.agenda-week button{padding:8px 0}.agenda-controls{gap:6px}.agenda-controls input,.agenda-controls select{max-width:160px;font-size:12px}.agenda-scroll{max-height:75vh}}

.appointment-client-results{display:grid;gap:8px;max-height:260px;overflow:auto;margin:8px 0 16px}.appointment-client-results[hidden]{display:none}.appointment-client-results button{display:flex;justify-content:space-between;gap:12px;text-align:left;min-height:48px;white-space:normal}.appointment-client-results small{font-weight:400}
