/* GENERATED by tools/component-css.mjs from components/copy.js. Do not edit; edit the component. */
g-copy { display: inline-flex; max-width: 100%; min-width: 0; vertical-align: middle; }
/* one chip: a hairline ring, the value, and the button seated 2 px inside it (pill in pill keeps the curve) */
g-copy > .chip { display: inline-flex; align-items: center; gap: var(--s2); max-width: 100%; min-width: 0; padding: 2px 2px 2px var(--s3); border-radius: var(--r-pill); box-shadow: var(--ring); }
g-copy .val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font: 400 var(--t-xs)/var(--lh-xs) var(--f-ui); -webkit-user-select: all; user-select: all; cursor: text; }
g-copy .g-btn { flex: none; font-size: var(--t-xs); line-height: var(--lh-xs); }
g-copy .g-btn.said { color: var(--ink); }

.g-copy-demo { display: grid; width: 100%; max-width: 440px; padding: var(--s2) var(--s4); text-align: left; container-type: inline-size; container-name: copy-demo; }
.g-copy-demo.g-pane { border-radius: var(--r2); }
.g-copy-demo .ttl { padding: var(--s2) 0; font: 500 var(--t-m)/var(--lh-m) var(--f-ui); color: var(--ink); }
.g-copy-demo .row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-width: 0; padding: var(--s3) 0; box-shadow: inset 0 1px 0 var(--line); }
.g-copy-demo .row > .g-label { flex: none; }
.g-copy-demo .row > g-copy { min-width: 0; }
@container copy-demo (max-width: 400px) {
  .g-copy-demo .row { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}
