.aa-admin,.ad-modal {
  --ad-ink:#26252a;--ad-muted:#676670;--ad-line:#e4e3e7;--ad-bg:#f8f8fa;--ad-accent:#70334d;
  --ad-anna:#f7e6eb;--ad-anna-ink:#713348;--ad-carla:#e4eee8;--ad-carla-ink:#335b46;
  color:var(--ad-ink);font:400 16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  text-align:left;letter-spacing:-.012em;font-variant-numeric:tabular-nums;
}
.aa-admin {width:min(100%,1400px);margin:0 auto;padding:24px clamp(16px,4vw,48px) 48px;background:white;min-height:78vh;}
.aa-admin,.ad-modal,.aa-admin *, .ad-modal * {box-sizing:border-box;}
.aa-admin [hidden],.ad-modal [hidden]{display:none!important;}
.aa-admin h1,.aa-admin h2,.aa-admin h3,.aa-admin h4,.aa-admin p,.ad-modal h2,.ad-modal h3,.ad-modal h4,.ad-modal p {margin:0;}
.aa-admin button,.aa-admin input,.aa-admin select,.aa-admin textarea,.ad-modal input,.ad-modal select,.ad-modal button,.ad-modal textarea {font:inherit;}
.aa-admin button,.ad-modal button{cursor:pointer;touch-action:manipulation;}
.aa-admin button:focus-visible,.ad-modal button:focus-visible,.ad-modal a:focus-visible,.aa-admin input:focus-visible,.ad-modal input:focus-visible,.ad-modal select:focus-visible,.aa-admin select:focus-visible,.ad-modal textarea:focus-visible,.aa-admin summary:focus-visible{outline:3px solid #58758d;outline-offset:2px;}
.aa-admin button:disabled,.ad-modal button:disabled{opacity:.55;cursor:progress;}
.ad-bar,.ad-identity,.ad-actions,.ad-tabs,.ad-head,.ad-weekbar,.ad-arrowset,.ad-weeks,.ad-key,.ad-line,.ad-segments,.ad-loginbrand,.ad-event,.ad-modal header{display:flex;}
.ad-bar,.ad-head,.ad-line,.ad-modal header{justify-content:space-between;align-items:center;gap:14px;}
.ad-bar{padding:0 0 17px;border-bottom:1px solid var(--ad-line);}
.ad-identity{align-items:center;gap:10px;font-size:19px;font-weight:650;letter-spacing:-.04em;}
.ad-identity i{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f2e7e9;color:#72334f;font:italic 35px/.8 Georgia,serif;padding-right:4px;padding-bottom:7px;}
.ad-identity small{display:block;color:var(--ad-muted);font:500 12px/1.25 -apple-system,system-ui,sans-serif;letter-spacing:0;}
.ad-tabs{gap:4px;overflow-x:auto;border-bottom:1px solid var(--ad-line);scrollbar-width:thin;}
.ad-tabs button{min-height:48px;display:inline-block;white-space:nowrap;position:relative;padding:0 13px;border:0;background:transparent;color:var(--ad-muted);font-size:15px;font-weight:560;}
.ad-tabs button:first-child{padding-left:0;margin-right:8px;}
.ad-tabs button[aria-current=page]{color:var(--ad-accent);}
.ad-tabs button[aria-current=page]::after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:3px;border-radius:6px 6px 0 0;background:var(--ad-accent);}
.ad-tabs button:first-child[aria-current=page]::after{left:0;right:7px;}
.ad-work{padding-top:27px;}
.ad-head{align-items:flex-end;margin-bottom:23px;}
.ad-head h1,.ad-login h1{font-size:clamp(28px,4.4vw,43px);line-height:1.04;font-weight:650;letter-spacing:-.063em;}
.ad-sub,.ad-help,.ad-summary,.ad-free,.ad-empty,.ad-loading{color:var(--ad-muted);}
.aa-admin .ad-sub{margin-top:5px;font-size:15px;}
.ad-actions,.ad-weeks,.ad-segments{align-items:center;gap:7px;}
.ad-primary,.ad-secondary,.ad-quiet,.ad-arrowset button,.ad-close{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:8px 13px;border:1px solid transparent;border-radius:10px;font-size:15px!important;font-weight:590!important;line-height:1.25;text-decoration:none;}
.ad-primary{background:var(--action-fill);color:var(--action-ink);border-color:var(--action-edge);}
.ad-secondary,.ad-arrowset button,.ad-close{background:#fff;color:var(--ad-ink);border-color:var(--ad-line);}
.ad-quiet{background:var(--ad-bg);color:var(--ad-ink);}
.ad-primary:hover{background:var(--action-hover);}.ad-secondary:hover,.ad-quiet:hover,.ad-arrowset button:hover{background:#eeedf0;}
.ad-weekbar{align-items:center;gap:12px;margin-bottom:11px;flex-wrap:wrap;}
.ad-weekbar h2,.ad-day-detail h2,.ad-settings-form h2 {font-size:21px;font-weight:620;letter-spacing:-.044em;}
.ad-arrowset{gap:0;}.ad-arrowset button{width:41px;padding:0;font:400 25px/1 system-ui!important;border-radius:10px 0 0 10px;}
.ad-arrowset button+button{border-radius:0 10px 10px 0;border-left:0;}
.ad-weeks{margin-left:auto;}
.ad-key{margin-bottom:13px;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--ad-muted);}
.ad-key span,.ad-lanes h3{display:flex;align-items:center;gap:6px;}
.ad-key span::before,.ad-lanes h3::before{content:"";width:8px;height:8px;border-radius:50%;background:#7b7a82;}
.ad-key .anna::before,.ad-lanes .anna::before{background:#a95772;}.ad-key .carla::before,.ad-lanes .carla::before{background:#568568;}
.ad-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--ad-line);border-radius:14px;overflow:hidden;}
.ad-day{background:#fff;min-width:0;min-height:280px;}.ad-day+.ad-day{border-left:1px solid var(--ad-line);}
.ad-date{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:10px 11px 9px;min-height:88px;border:0;border-bottom:1px solid var(--ad-line);background:#faf9fb;color:var(--ad-ink);text-align:left;}
.ad-date>span,.ad-date>small{font-size:12px;color:var(--ad-muted);line-height:1.25;}.ad-date>span{text-transform:uppercase;letter-spacing:.04em;font-weight:650;}.ad-date>strong{font-size:25px;line-height:1.2;font-weight:620;letter-spacing:-.05em;}
.ad-day.selected>.ad-date{background:#f5eaee;}.ad-day.selected>.ad-date>strong{color:var(--ad-accent);}
.ad-day-events{padding:5px;}.ad-dash{display:block;padding:7px;color:#a6a4ab;}
.ad-event{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;width:100%;padding:8px;margin:0 0 6px;border:0;border-left:3px solid #a95070;border-radius:8px;background:var(--ad-anna);color:var(--ad-anna-ink);text-align:left;font-size:13px!important;line-height:1.22!important;}
.ad-event.carla{background:var(--ad-carla);border-left-color:#58866b;color:var(--ad-carla-ink);}
.ad-event.block{background:#efeff2;border-left-color:#888590;color:#54515e;}
.ad-event>strong,.ad-event>span,.ad-event>small{max-width:100%;overflow-wrap:anywhere;}.ad-event .ad-event-time{font-size:12px;font-weight:620;}
.ad-event>strong{font-size:14px;}.ad-event small{font-size:11px;opacity:.92;}
.ad-day-detail{display:none;}.ad-cancel{margin:18px 0;color:var(--ad-muted);}
.aa-admin summary{cursor:pointer;}.ad-cancel summary{padding:8px 0;}.ad-cancel button{display:block;width:100%;border:0;border-top:1px solid var(--ad-line);padding:11px;text-align:left;background:#fff;}
.ad-list{border-top:1px solid var(--ad-line);margin-top:15px;}
.ad-line {display:flex;width:100%;background:#fff;color:var(--ad-ink);border:0;border-bottom:1px solid var(--ad-line);padding:12px 4px;min-height:64px;text-align:left;}
.ad-line:hover{background:var(--ad-bg);}.ad-line>span:first-child{min-width:0;}.ad-line>span:last-child,.ad-line>b{flex-shrink:0;}.ad-line strong,.ad-line small,.ad-line span{overflow-wrap:anywhere;}
.ad-line strong,.ad-line small{display:block;}.ad-line small{color:var(--ad-muted);font-size:13px;max-width:80ch;}
.ad-line>.ad-status{border-radius:7px;background:var(--ad-bg);color:var(--ad-muted);padding:4px 8px;font-size:13px;}
.ad-segments{display:inline-flex;border:1px solid var(--ad-line);border-radius:11px;background:var(--ad-bg);padding:3px;gap:2px;}
.ad-segments button {border:0;background:transparent;color:var(--ad-muted);font-size:14px;min-height:37px;padding:5px 12px;border-radius:8px;}
.ad-segments button[aria-pressed=true]{background:white;color:var(--ad-accent);box-shadow:0 1px 5px #20182220;font-weight:620;}
.ad-search,.ad-field{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0 0 13px;}
.ad-search{max-width:430px;}.ad-search>span,.ad-field>span{font-size:14px;font-weight:600;line-height:1.3;}
.ad-field input,.ad-field textarea,.ad-field select,.ad-search input{color:var(--ad-ink);width:100%;min-width:0;min-height:43px;font-size:16px;border:1px solid #c9c7ce;border-radius:9px;padding:8px 10px;background:#fff;}
.ad-field input[type=file]{font-size:14px;padding:6px;}.ad-field textarea{resize:vertical;min-height:70px;}
.ad-modal{width:min(calc(100vw - 30px),465px);max-height:calc(100dvh - 44px);max-width:100%;overflow:auto;overscroll-behavior:contain;padding:22px;border:1px solid var(--ad-line);border-radius:18px;box-shadow:0 18px 70px #10091b26;background:#fff;}
.ad-modal::backdrop{background:#10101872;}.ad-modal header{margin:0 0 19px;}
.ad-modal header h2{font-size:25px;line-height:1.1;letter-spacing:-.045em;font-weight:630;}
.ad-close{flex-shrink:0;font:400 25px/1 system-ui!important;min-height:39px;width:39px;border-radius:50%;}
.ad-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.ad-wide,.ad-wa{width:100%;margin-top:4px;}.ad-wa{margin-bottom:8px;}
.ad-checkset {border:1px solid var(--ad-line);border-radius:10px;margin:0 0 13px;padding:5px 9px 7px;}.ad-checkset legend{font-weight:600;font-size:14px;}.ad-checkset label{display:flex;align-items:center;gap:7px;min-height:37px;font-size:14px;}
.ad-modal .ad-summary,.ad-modal .ad-help,.aa-admin .ad-help {margin:5px 0 13px;}.ad-help{font-size:14px;}
.ad-modal .ad-error,.aa-admin .ad-error,.aa-admin .ad-ok{margin:12px 0;padding:10px 12px;border-radius:8px;background:#fff0ee;color:#8b2b25;font-size:14px;}
.aa-admin .ad-ok{background:#e8f4ec;color:#28603e;}
.ad-histrows>div{padding:9px 0;border-bottom:1px solid var(--ad-line);}
.ad-histrows small{display:block;color:var(--ad-muted);}.ad-client-history{margin-top:12px;}
.ad-receipt{padding:0;margin:15px 0;list-style:none;}.ad-receipt li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ad-line);padding:8px 0;}
.ad-settings-form,.ad-login{max-width:580px;}.ad-settings-form>h2{margin:24px 0 5px;}.ad-schedule{border-top:1px solid var(--ad-line);padding:0 0 7px;}.ad-schedule summary{padding:12px 0;font-weight:600;}.ad-schedule[open] .ad-field{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;margin-bottom:5px;}
.ad-settings-form>.ad-primary{margin-top:15px;}.aa-admin .ad-empty{padding:16px 0;}.ad-login{margin:10vh auto;max-width:370px;}.ad-login h1{margin-top:22px;}.ad-login p{margin:10px 0 18px;}.ad-login>.ad-primary{width:100%;}
.ad-optgroup{margin-bottom:10px;}.ad-optgroup .ad-option{padding:10px;background:var(--ad-bg);border-radius:8px;margin-bottom:8px;}
.ad-optgroup[open] .ad-option .ad-field{display:flex;align-items:stretch;}
.ad-opt-remove {font-size:14px!important;background:white;color:#8c3347;border:1px solid var(--ad-line);padding:5px 10px;border-radius:7px;min-height:36px;}
.ad-timings{min-width:0;margin:6px 0 16px;padding:12px 14px 3px;border:1px solid var(--ad-line);border-radius:11px;}
.ad-timings legend{padding:0 5px;font-weight:650;}
.ad-timings .ad-field{margin-bottom:7px;}
.ad-timings .ad-help{line-height:1.35;}
.ad-toggle{display:flex;align-items:center;gap:10px;min-height:44px;margin:0 0 8px;cursor:pointer;font-size:15px;}
.ad-toggle input{width:20px;height:20px;flex-shrink:0;margin:0;accent-color:var(--ad-accent);}
.ad-client-history{margin-bottom:12px;}
.ad-date-count,.ad-mobile-summary,.ad-mobile-switch.ad-segments{display:none;}
@media(max-width:850px) {
  .aa-admin{padding:16px 17px 30px;}.ad-head{align-items:flex-start;}.ad-tabs button{padding-left:10px;padding-right:10px;}
  .ad-weekbar{gap:8px;}.ad-weekbar h2{font-size:19px;}.ad-head h1{font-size:33px;}
  .ad-date{padding:8px;}.ad-day-events{padding:3px;}.ad-event{padding:6px;}
}
@media(max-width:650px) {
  .aa-admin{padding:10px 14px 28px;}.ad-bar{padding-bottom:11px;}.ad-bar .ad-quiet{font-size:13px!important;min-height:42px;padding:6px 8px;}
  .ad-work{padding-top:22px;}.ad-head{display:block;margin-bottom:17px;}.ad-head .ad-actions{margin-top:14px;}.ad-head .ad-actions button{flex:1;}
  .ad-head>.ad-primary{margin-top:12px;}.ad-weekbar{display:grid;grid-template-columns:1fr auto;gap:7px;}.ad-weekbar h2{grid-column:1;grid-row:1;}.ad-arrowset{grid-column:2;grid-row:1;}.ad-weeks{grid-row:2;grid-column:1/-1;margin:0;}
  .ad-weeks button{min-height:36px;font-size:13px!important;}.ad-key{margin-bottom:8px;}
  .ad-day{min-height:0;}.ad-day-events{display:none;}.ad-date{min-height:62px;padding:6px 2px;align-items:center;border-bottom:0;}
  .ad-date>small{display:none;}.ad-date>strong{font-size:21px;}.ad-week{border-radius:11px;}
  .ad-date-count{display:block;width:4px;height:4px;margin-top:3px;border-radius:50%;}.ad-date-count.occupied{background:var(--ad-accent);}
  .ad-mobile-switch.ad-segments{display:flex;width:fit-content;margin:14px 0 0;}.ad-mobile-switch button{min-width:76px;}
  .ad-mobile-summary{display:block;}.ad-mobile-summary>section{padding:10px 0;border-bottom:1px solid var(--ad-line);}
  .ad-mobile-summary h2{font-size:16px;font-weight:630;line-height:1.28;margin:0 0 8px;}.ad-mobile-summary h2::first-letter{text-transform:uppercase;}
  .ad-mobile-summary .ad-event{display:grid;grid-template-columns:58px minmax(0,1fr) max-content;gap:2px 6px;align-items:center;}
  .ad-mobile-summary .ad-event-time{grid-column:1;grid-row:1/3;}.ad-mobile-summary .ad-event>strong,.ad-mobile-summary .ad-event>span:not(.ad-event-time){grid-column:2;}
  .ad-mobile-summary .ad-event>small{grid-column:3;grid-row:1/3;max-width:70px;}
  .ad-day-detail{display:block;margin:19px 0 0;}.ad-day-detail h2{text-transform:capitalize;font-size:18px;line-height:1.25;margin:0 0 10px;}
  .ad-lanes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(126px,100%),1fr));gap:8px;}
  .ad-lanes>section{min-width:0;border:1px solid var(--ad-line);border-radius:11px;padding:7px;background:var(--ad-bg);}
  .ad-lanes h3{font-size:14px;padding:2px 3px 8px;}.ad-lanes .ad-free{font-size:13px;padding:5px 3px 10px;}
  .ad-event{padding:8px 7px;}.ad-key{font-size:12px;}.ad-modal{padding:17px;border-radius:15px;}
}
