/* Both modes keep the original button labels available to assistive technology. */
.action-display-switch {
  display:inline-flex; flex:none; gap:2px; padding:2px;
  border:1px solid var(--line); border-radius:8px; background:var(--paper);
}
.action-display-switch button {
  display:grid; place-items:center; inline-size:30px; block-size:28px; padding:0;
  border:0; border-radius:5px; background:transparent; color:var(--muted);
}
.action-display-switch svg { inline-size:17px; block-size:17px; }
.action-display-switch button:hover { background:var(--ground); }
.action-display-switch button[aria-pressed="true"] { background:var(--mint); color:var(--teal); }
.action-display-switch button:focus-visible { outline:2px solid var(--teal); outline-offset:1px; }
#action-tooltip {
  position:fixed; z-index:110; pointer-events:none; max-inline-size:calc(100vw - 10px);
  padding:.28rem .48rem; border-radius:6px; background:var(--ink); color:var(--paper); font-size:.82rem;
}
#workspace[data-action-display="icons"] [data-action-icon]:not([data-action-icon="ribbon"]) {
  min-inline-size:2rem; font-size:0; line-height:1; text-align:center;
}
#workspace[data-action-display="icons"] [data-action-icon]:not([data-action-icon="ribbon"])::before {
  content:""; display:inline-block; inline-size:1.05rem; block-size:1.05rem; vertical-align:middle;
  flex:none; background:currentColor;
  -webkit-mask:var(--action-glyph) center / contain no-repeat;
  mask:var(--action-glyph) center / contain no-repeat;
}
#workspace[data-action-display="icons"] .recording-state-action { justify-content:flex-start; }
#workspace[data-action-display="icons"] .recording-state-action > .minutes-state { line-height:1.4; }

.recording-ribbon-button .recording-ribbon-icon { display:none; }
#workspace[data-action-display="icons"] .recording-ribbon-icon { display:block; }
#workspace[data-action-display="icons"] .recording-ribbon-label {
  position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}

[data-action-icon="add"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
[data-action-icon="edit"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4ZM13 7l4 4'/%3E%3C/svg%3E"); }
[data-action-icon="trash"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 10v7m4-7v7'/%3E%3C/svg%3E"); }
[data-action-icon="archive"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v4H4zM6 9v10h12V9m-8 4h4'/%3E%3C/svg%3E"); }
[data-action-icon="open"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h6l2 2h8l-3 10H4V7Zm0 12 2-8h13'/%3E%3C/svg%3E"); }
[data-action-icon="back"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 6-6 6 6 6m-6-6h16'/%3E%3C/svg%3E"); }
[data-action-icon="restore"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5v5h5M5 10a8 8 0 1 1 2 8'/%3E%3C/svg%3E"); }
[data-action-icon="upload"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m-5 5 5-5 5 5M5 15v5h14v-5'/%3E%3C/svg%3E"); }
[data-action-icon="document"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v5h4M9 12h6m-6 4h6'/%3E%3C/svg%3E"); }
[data-action-icon="list"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6h1M4 12h1M4 18h1'/%3E%3C/svg%3E"); }
[data-action-icon="person"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM5 20v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E"); }
[data-action-icon="role"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v12H4zM9 7V4h6v3M4 12h16m-9 0v2h2v-2'/%3E%3C/svg%3E"); }
[data-action-icon="spark"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v6m-3-3h6m2 5v8H5V7h2m1 6h6m-6 3h6m5-12v4m-2-2h4'/%3E%3C/svg%3E"); }
[data-action-icon="check"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E"); }
[data-action-icon="wave"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h2l2-5 3 10 3-14 3 16 2-7h3'/%3E%3C/svg%3E"); }
[data-action-icon="target"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v3m0 12v3M3 12h3m12 0h3m-3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0ZM12 10v4m-2-2h4'/%3E%3C/svg%3E"); }
[data-action-icon="swap"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h15m-4-4 4 4-4 4M20 16H5m4-4-4 4 4 4'/%3E%3C/svg%3E"); }
[data-action-icon="max"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H4v5m11-5h5v5M4 15v5h5m11-5v5h-5'/%3E%3C/svg%3E"); }
[data-action-icon="min"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h5V4m11 5h-5V4M9 20v-5H4m11 5v-5h5'/%3E%3C/svg%3E"); }
[data-action-icon="sidebar"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4zM9 4v16m7-12-3 4 3 4'/%3E%3C/svg%3E"); }
[data-action-icon="logout"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 5H4v14h6m4-3 4-4-4-4m-5 4h11'/%3E%3C/svg%3E"); }
[data-action-icon="key"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a4 4 0 1 1 2-4l8 0v3h-3v3h-3v-3h-2a4 4 0 0 1-2 1Z'/%3E%3C/svg%3E"); }
[data-action-icon="audible"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4h4l5 4V6l-5 4H4Zm12-1a4 4 0 0 1 0 6m2-8a7 7 0 0 1 0 10'/%3E%3C/svg%3E"); }
[data-action-icon="down"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-action-icon="up"] { --action-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E"); }
