/* The calendar and call-list review share a compact header/body/footer layout. */
.spark-calendar-review-backdrop { position:fixed; inset:0; background:rgba(28,26,23,.32); z-index:40; }
.spark-calendar-review { position:fixed; z-index:41; top:50%; left:50%; transform:translate(-50%,-50%); width:min(560px,calc(100vw - 24px)); max-height:calc(100dvh - 110px); display:flex; flex-direction:column; overflow:hidden; background:#fffaf1; color:#35263d; border:1px solid #ded5c9; border-radius:16px; box-shadow:0 16px 45px #21172926; }
.spark-calendar-review-heading { flex:none; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:22px; background:#35263d; color:#fffaf1; border-bottom:3px solid #d0af43; }
.spark-calendar-review-heading small { font-size:10px; letter-spacing:.1em; color:#e3c768; }
.spark-calendar-review-heading h2 { margin:10px 0 0; font-size:19px; line-height:1.3; }
.spark-calendar-review-heading button { width:32px; height:32px; border:0; background:transparent; color:inherit; font-size:26px; cursor:pointer; }
.spark-calendar-review-body { padding:22px; min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.spark-calendar-event-summary h2 { display:none; }
.spark-calendar-review-footer { flex:none; padding:14px 22px 18px; border-top:1px solid #dfd4c4; background:#fffaf1; }
.spark-calendar-review-footer>small { display:block; color:#807284; margin-bottom:9px; font-size:11px; }
.spark-calendar-review-footer nav { display:flex; align-items:stretch; gap:8px; }
.spark-calendar-review-footer button { padding:11px 12px; border:1px solid #dfd4c4; border-radius:8px; background:#fffaf1; font-size:12px; color:#49394f; cursor:pointer; }
.spark-calendar-review-footer button.spark-calendar-call-next { flex:1; background:#176747; border-color:#176747; color:white; font-weight:700; }
.spark-calendar-call-next small { display:block; margin-top:4px; font-weight:400; font-size:11px; opacity:.85; }
.spark-calendar-review-footer button:disabled { opacity:.45; cursor:default; }
.spark-calendar-focus-summary { display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; margin:4px 0; }
.spark-calendar-focus-summary>small { padding:8px 6px 8px 0; color:#746a5b; }
.spark-calendar-focus-summary details { border:1px solid #ded5c9; background:#fffaf1; border-radius:8px; max-width:100%; }
.spark-calendar-focus-summary summary { padding:7px 11px; font-size:12px; cursor:pointer; }
.spark-calendar-focus-summary summary b { color:#856315; }
.spark-calendar-focus-summary summary span { color:#746a5b; }
.spark-calendar-focus-summary details>div { padding:10px 12px; display:grid; gap:7px; max-height:240px; overflow:auto; min-width:min(280px,70vw); }
.spark-calendar-focus-summary details button { text-align:left; background:white; border:1px solid #ded5c9; border-radius:5px; padding:7px; cursor:pointer; }
.spark-calendar-focus-summary details small { color:#746a5b; font-size:11px; max-width:280px; }
/* These controls remain reachable while reviewing appointments and contacts. */
[data-interface="redesigned"] > .tsp-contact-standing-tools { position:fixed!important; inset:auto 12px 12px auto!important; margin:0!important; z-index:11000!important; background:var(--spark-surface,#fffaf1); box-shadow:0 3px 14px #2117291f; }
.tsp-live-notes-panel { z-index:11002!important; }
@media(max-width:767px) { [data-interface="redesigned"] > .tsp-contact-standing-tools { bottom:calc(76px + env(safe-area-inset-bottom))!important; } .spark-calendar-review { top:44%; max-height:calc(100dvh - 180px); } .spark-calendar-review-heading,.spark-calendar-review-body { padding:16px; } }
.spark-calendar-review-heading-actions { display:flex; gap:8px; align-items:center; }
.spark-calendar-review-heading-actions button[aria-pressed] { border:1px solid #ad98b5; border-radius:50%; font-size:18px; font-weight:800; }
.spark-calendar-review-heading-actions button[aria-pressed="true"] { color:#35263d; background:#e3c768; border-color:#e3c768; }
