/* ================= Customize: the right-edge pane every Suite page shares =================
   JS/alt/alt-customize.js builds it. A new sheet for a stated reason: okrs.html and events.html do not load
   alt-tasks.css (where the task drawer's chrome lives), and the panel must look the same on all six pages.
   The look is the Events detail drawer's (header with chips and x, title, body, footer); the sections are
   the settings `.stg-sec` cards (alt-settings-stride.css) with the tile and the value line compacted for a 380px column (440px from 1280); the header
   band, row padding, titles and hints are the settings family's own (DS-76, DS-77, DS-79), so this sheet states none of them. Tokens only.
   Geometry: docked at 1024 and up (the page gives up the width), an overlay with a shadow from 640 to 1023,
   a bottom sheet at 639 and under (spec §5.5). Non-modal: no scrim, nothing here dims the page. */

:root{ --a-cz-w:380px; }
@media (min-width:1280px){ :root{ --a-cz-w:440px; } }

.a-cz{
  position:fixed; right:0; top:var(--a-cz-top, 0px); bottom:0; width:var(--a-cz-w);
  display:flex; flex-direction:column; min-height:0;
  background:var(--a-panel); border-left:1px solid var(--a-line-strong);
  font-family:var(--a-body); color:var(--a-text);
  animation:aCzIn var(--a-quick) var(--a-ease, ease-out);
}
@keyframes aCzIn{ from{ transform:translateX(24px); opacity:.6; } to{ transform:none; opacity:1; } }
@media (prefers-reduced-motion:reduce){ .a-cz{ animation:none; } }

/* Docked: the work surface gives up the pane's width rather than sitting under it (as `.a-ask-docked`). */
body.a-cz-docked > main.a-page,
body.a-cz-docked > #okrApp{ margin-right:var(--a-cz-w); }

@media (max-width:1023px){
  .a-cz{ width:min(380px, calc(100vw - 32px)); box-shadow:var(--a-shadow-lg); }
}
/* The phone-width sheet: 82% of the viewport, a grab bar, the page visible above it. */
@media (max-width:639px){
  .a-cz{ left:0; right:0; top:auto; width:auto; height:82vh; border-left:0;
    border-top:1px solid var(--a-line-strong); border-radius:var(--a-r-lg) var(--a-r-lg) 0 0; }
}
.a-cz-grab{ display:none; width:40px; height:4px; margin:6px auto 0; border-radius:var(--a-r-pill); background:var(--a-line-strong); flex:0 0 auto; }
@media (max-width:639px){ .a-cz-grab{ display:block; } }

/* ---------- header, body, footer: the Events drawer's rhythm ---------- */
.a-cz-h{ flex:0 0 auto; display:flex; flex-direction:column; gap:var(--a-sp-6); padding:var(--a-sp-12) var(--a-pad-body);
  border-bottom:1px solid var(--a-line); }
.a-cz-h-acts{ display:flex; align-items:center; gap:6px; min-width:0; }
.a-cz-sp{ flex:1 1 auto; }
.a-cz-fold{ display:inline-flex; }
.a-cz-title{ margin:0; font:600 var(--a-fs-16)/var(--a-lh-tight) var(--a-display); color:var(--a-text); }
/* Focus lands here so a screen reader announces the panel; the heading is not a control, so no ring is drawn (the other dialog headings do the same). */
.a-cz-title:focus,.a-cz-title:focus-visible{ outline:2px solid transparent; }   /* transparent, not none: forced-colors still draws it */
.a-cz-sub{ margin:0; font-size:var(--a-fs-12); line-height:var(--a-lh-ui); color:var(--a-dim); }
.a-cz-find{ width:100%; box-sizing:border-box; }

.a-cz-b{ flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; padding:var(--a-sp-12) var(--a-pad-body) var(--a-pad-body);
  scrollbar-gutter:stable;   /* a registry that overflows must not narrow every card when the scrollbar appears */
  display:flex; flex-direction:column; gap:8px; }
.a-cz-secs{ display:flex; flex-direction:column; gap:8px; }

.a-cz-f{ flex:0 0 auto; display:flex; flex-direction:column; gap:var(--a-sp-8); padding:var(--a-sp-12) var(--a-pad-body);
  border-top:1px solid var(--a-line); }
.a-cz-f-links{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 12px; }
.a-cz-f-links[hidden]{ display:none; }
.a-cz-f-links .a-cz-link{ margin-left:0; }
.a-cz-nomatch .a-btn[hidden]{ display:none; }
.a-cz-f-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.a-cz-err{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.a-cz-err-t{ font-size:var(--a-fs-12); line-height:var(--a-lh-ui); }
.a-cz-confirm{ display:flex; flex-direction:column; gap:6px; padding:8px; border:1px solid var(--a-line);
  border-radius:var(--a-r); background:var(--a-raised); }
.a-cz-confirm-t{ margin:0; font-size:var(--a-fs-13); line-height:var(--a-lh-ui); color:var(--a-text); }
.a-cz-confirm-acts{ display:flex; gap:6px; }

/* ---------- On this page: one chip per section, its values, jumping to it ---------- */
.a-cz-toc{ display:flex; flex-wrap:wrap; align-items:center; gap:5px; padding:0 0 4px; }
.a-cz-toc-k{ margin-right:var(--a-sp-4); }   /* wears .a-eyebrow (DS-10); only its spacing is this sheet's */
/* A section's summary can be a sentence, longer than the column: the shared chip (one line, 11px/600, --a-chip-h) truncates it on `.lb` with an ellipsis, and the
   full text is the chip's title and aria-label (DS-26). Only the cap changes: the column, not the shared 170px. */
.a-cz-toc-c{ cursor:pointer; max-width:100%; }

/* ---------- the section cards, compacted for the column ----------
   The settings card's four tracks stay (chevron, tile, copy, value); the tile shrinks and the value line
   drops under the copy, because a 360px column cannot hold a 44px tile, a sentence and a value side by side. */
.a-cz .a-cz-sec .stg-sec-h{ min-height:0; gap:4px 10px;
  grid-template-columns:16px 30px minmax(0,1fr); }
.a-cz .a-cz-sec .stg-sec-h > .stg-sec-state{ grid-column:3; grid-row:2; padding-left:0; text-align:left;
  white-space:normal; color:var(--a-blue-text); }
.a-cz .a-cz-sec .stg-sec-ico{ width:30px; height:30px; border-radius:var(--a-r-sm); }
.a-cz .a-cz-sec .stg-sec-ico svg{ width:var(--a-glyph); height:var(--a-glyph); }
.a-cz .a-cz-sec .stg-sec-d{ margin-top:1px; }
.a-cz .stg-row-ctl > select{ width:auto; max-width:170px; }
.a-cz .stg-row-ctl > input[type="number"]{ width:96px; }
.a-cz .a-cz-row.is-disabled .stg-row-t{ color:var(--a-faint); }
.a-cz-b .is-disabled{ cursor:not-allowed; }
.a-cz-row-err{ margin:0; padding:var(--a-sp-8) 0; font-size:var(--a-fs-12); color:var(--a-faint); border-bottom:1px solid var(--a-line-soft); }
.a-cz-sec-f{ display:flex; justify-content:flex-end; padding-top:6px; }

/* ---------- the row types altRows() gained for this panel: segmented, range, list ----------
   The segmented control is the shared `.a-seg-ctl` (alt-components.css, DS-25); the range and list rows live in
   alt-settings-stride.css because events.html renders them through My Settings and does not load this sheet. */

/* ---------- tags: scope ---------- */
.stg-row-tag{ display:inline-block; margin-left:6px; padding:0 4px; vertical-align:1px;
  font-size:var(--a-fs-11); font-weight:600; line-height:var(--a-lh-ui); white-space:nowrap; border-radius:var(--a-r-sm); }
.stg-row-tag.a-cz-scope{ color:var(--a-faint); border:1px solid var(--a-line); }

/* ---------- links and html rows ---------- */
.a-cz-link-row{ display:flex; flex-direction:column; align-items:flex-start; gap:2px; grid-template-columns:none; }
.a-cz-link{ margin-left:calc(-1 * var(--a-sp-4)); }   /* the shared .a-link-btn pads 4px; pull it back so the text aligns with the row */
.a-cz-link-d{ margin-top:0; }
.a-cz-html{ display:block; }
/* ---------- empty and no-match states ---------- */
.a-cz-empty, .a-cz-nomatch{ display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:18px 6px; text-align:center; }
.a-cz-empty[hidden], .a-cz-nomatch[hidden]{ display:none; }
.a-cz-empty-t, .a-cz-nomatch-t{ margin:0; font-size:var(--a-fs-13); line-height:var(--a-lh-ui); color:var(--a-faint); }

/* ---------- the header button ---------- */
.a-cz-btn{ gap:5px; }
.a-cz-btn > svg{ width:var(--a-glyph); height:var(--a-glyph); flex:0 0 auto; }
.a-cz-btn[aria-expanded="true"]{ color:var(--a-blue-text); background:var(--a-raised); }
/* Until the reader has seen the Quick Start Guide (Q1): the glow the guide's own button had. */
.a-cz-btn.is-glow{ box-shadow:0 0 0 2px var(--a-blue-soft); }
@media (prefers-reduced-motion:no-preference){
  .a-cz-btn.is-glow{ animation:aCzGlow 2.4s ease-in-out 3; }
}
@keyframes aCzGlow{ 50%{ box-shadow:0 0 0 4px var(--a-blue-soft); } }
/* Icon-only; aria-label keeps the name */
.a-cz-btn .lbl{ display:none; }
