.ph-outline-action,
.ph-text-action {
  display: inline-flex;
  align-items: center;
  gap: var(--phosphorus-primitive-space-1);
  min-height: var(--phosphorus-semantic-control-target-standard);
  border-radius: 0;
  background: transparent;
  color: var(--phosphorus-semantic-color-text-primary);
  font: 500 var(--phosphorus-semantic-type-detail-size)/1.4 var(--phosphorus-semantic-font-body);
  cursor: pointer;
}
.ph-outline-action {
  justify-content: center;
  padding: var(--phosphorus-primitive-space-1) var(--phosphorus-primitive-space-2);
  border: 1px solid var(--phosphorus-semantic-color-border-subtle);
  text-decoration: none;
}
.ph-outline-action:hover {
  background: var(--phosphorus-semantic-color-surface-interactive-hover);
  border-color: var(--phosphorus-semantic-color-action-secondary-accent);
}
.ph-text-action {
  padding: var(--phosphorus-primitive-space-1) 0;
  border: 0;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.ph-text-action:hover { color: var(--phosphorus-semantic-color-action-secondary-accent); }
:is(.ph-outline-action, .ph-text-action):focus-visible {
  outline: var(--phosphorus-semantic-control-focus-width) solid var(--phosphorus-semantic-color-focus-ring);
  outline-offset: var(--phosphorus-semantic-control-focus-offset);
}

.ph-switch {position:relative;display:inline-flex;align-items:center;gap:var(--phosphorus-primitive-space-half-step);min-height:var(--phosphorus-semantic-control-target-standard);max-width:100%;font-size:var(--phosphorus-primitive-font-size-14);font-weight:600;cursor:pointer;white-space:normal;}
.ph-switch > span:not(.ph-switch__track) {min-width:0;overflow-wrap:anywhere;}
.ph-switch[hidden] {display:none!important;}
.ph-switch input {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;}
.ph-switch__track {box-sizing:border-box;display:flex;flex:none;width:40px;height:24px;padding:3px;border:1px solid var(--phosphorus-semantic-color-control-outline);position:relative;pointer-events:none;}
.ph-switch__track::before {content:'';display:block;flex:none;height:100%;aspect-ratio:1;background:var(--phosphorus-semantic-color-text-primary);transition:transform 160ms ease,background-color 160ms ease;}
/* The filled border joins the active gap optically; compensate by one pixel. */
.ph-switch input:checked ~ .ph-switch__track {padding:2px;background:var(--phosphorus-semantic-color-control-selected-surface);border-color:var(--phosphorus-semantic-color-control-selected-surface);}
.ph-switch input:checked ~ .ph-switch__track::before {transform:translateX(16px);background:var(--phosphorus-semantic-color-control-selected-content);}
.ph-switch input:focus-visible ~ .ph-switch__track {outline:var(--phosphorus-semantic-control-focus-width) solid var(--phosphorus-semantic-color-focus-ring);outline-offset:var(--phosphorus-semantic-control-focus-offset);}
.ph-switch:hover input:enabled ~ span:not(.ph-switch__track) {color:var(--phosphorus-semantic-color-illustration-accent);}
.ph-switch input:disabled,.ph-switch input:disabled ~ span {cursor:not-allowed;}
.ph-switch input:disabled ~ span {opacity:.5;}
.ph-expandable-panel,.ph-expandable-panel__copy {position:relative;}
.ph-expandable-panel :where(p,h3,ul) {margin:0;}
.ph-expandable-panel__kicker {font:12px/1.5 var(--phosphorus-semantic-font-technical);color:var(--phosphorus-semantic-color-text-secondary);}
.ph-expandable-panel h3 {font:var(--ph-internal-type-local-heading);letter-spacing:-.02em;margin-block:var(--phosphorus-primitive-space-1) var(--phosphorus-primitive-space-2);}
.ph-expandable-panel__summary {font-size:var(--phosphorus-semantic-type-body-size);line-height:var(--ph-internal-line-body);color:var(--phosphorus-semantic-color-text-secondary);}
.ph-expandable-panel__details {list-style:none;padding:0;margin-top:var(--phosphorus-primitive-space-3)!important;font-size:var(--phosphorus-semantic-type-detail-size);line-height:1.65;color:var(--phosphorus-semantic-color-text-secondary);}
.ph-expandable-panel__details li {position:relative;padding-left:var(--phosphorus-primitive-space-3);}
.ph-expandable-panel__details li + li {margin-top:var(--phosphorus-primitive-space-1);}
.ph-expandable-panel__details li::before {content:'—';position:absolute;left:0;color:var(--phosphorus-semantic-color-illustration-accent);}
.ph-expandable-panel__reveal {position:relative;display:grid;grid-template-rows:1fr;visibility:visible;transition:grid-template-rows var(--phosphorus-semantic-motion-disclosure) ease-in-out,visibility 0s linear var(--phosphorus-semantic-motion-disclosure);}
.ph-expandable-panel__clip {min-height:0;overflow:hidden;}
.ph-expandable-panel[data-expanded='false'] .ph-expandable-panel__reveal {grid-template-rows:0fr;visibility:hidden;}
.ph-expandable-panel[data-expanded='true'] .ph-expandable-panel__reveal {grid-template-rows:1fr;visibility:visible;transition-delay:0s;}
.ph-expandable-panel__trigger,.ph-expandable-panel__icon,.ph-expandable-panel__native {display:none;}
.ph-expandable-panel__trigger[hidden] {display:none!important;}
.ph-expandable-panel__title {min-width:0;flex:1 1 auto;}
.ph-expandable-panel[data-interactive='true'] {cursor:pointer;}
.ph-expandable-panel[data-interactive='true'] .ph-expandable-panel__copy {padding:var(--phosphorus-primitive-space-2);}
.ph-expandable-panel[data-interactive='true'] .ph-expandable-panel__details {padding:0 var(--phosphorus-primitive-space-2) var(--phosphorus-primitive-space-2);}
.ph-expandable-panel[data-interactive='true'] h3 {display:flex;align-items:flex-start;gap:var(--phosphorus-primitive-space-1);}
.ph-expandable-panel__icon {position:relative;flex:none;width:20px;height:1.2em;margin-left:auto;color:var(--phosphorus-semantic-color-illustration-accent);transform:rotate(0deg);transition:transform var(--phosphorus-semantic-motion-disclosure) ease-in-out;}
.ph-expandable-panel[data-interactive='true'] .ph-expandable-panel__icon {display:block;}
.ph-expandable-panel[data-expanded='true'] .ph-expandable-panel__icon,.ph-expandable-panel[data-expanded='true'] .ph-expandable-panel__icon::after {transform:rotate(180deg);}
.ph-expandable-panel[data-interactive='true'] .ph-expandable-panel__trigger {display:block;position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;background:transparent;border:0;cursor:pointer;}
.ph-expandable-panel[data-interactive='true']::before {content:'';position:absolute;inset:0;background:var(--phosphorus-semantic-color-surface-interactive-hover);opacity:0;pointer-events:none;}
.ph-expandable-panel__copy :is(p,h3) {position:relative;}
.ph-expandable-panel:has(.ph-expandable-panel__trigger:focus-visible)::before,.ph-expandable-panel:has(.ph-expandable-panel__trigger:active)::before {opacity:1;}
.ph-expandable-panel__trigger:focus {outline:var(--phosphorus-semantic-control-focus-width) solid var(--phosphorus-semantic-color-focus-ring);outline-offset:var(--phosphorus-semantic-control-focus-offset);}
@supports selector(:has(*)){.ph-expandable-panel__trigger:focus {outline:none;}}
.ph-expandable-panel:has(.ph-expandable-panel__trigger:focus-visible) {outline:var(--phosphorus-semantic-control-focus-width) solid var(--phosphorus-semantic-color-focus-ring);outline-offset:var(--phosphorus-semantic-control-focus-offset);}
@media(hover:hover){.ph-expandable-panel[data-interactive='true']:hover::before {opacity:1;}}
@media(prefers-reduced-motion:reduce){.ph-switch__track::before,.ph-expandable-panel__reveal,.ph-expandable-panel[data-interactive='true'] .ph-expandable-panel__icon,.ph-expandable-panel__icon::after {transition:none;}}
@media(forced-colors:active){.ph-switch__track{border-color:ButtonText}.ph-switch input:checked ~ .ph-switch__track{background:Highlight;border-color:Highlight}.ph-switch input:checked ~ .ph-switch__track::before{background:HighlightText}.ph-switch__track::before{background:ButtonText}}
