:root {
  color-scheme: light;
  font-family: "Inter", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --ink: #172b23;
  --muted: #52675d;
  --forest: #14382c;
  --dark: #142e27;
  --line: #dce4d9;
  --page: #f5f6ef;
  --sheet: #fffefa;
  --selected: #dceadf;
  --accent: #21704f;
  --lime: #d9ed9a;
  --focus: #21704f;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { color: inherit; font: inherit; }
button, button svg { flex-shrink: 0; }
button { cursor: pointer; }
button[disabled] { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px;
}
svg.icon { display: inline-block; flex: 0 0 auto; width: 19px; height: 19px; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.masthead {
  min-height: 72px; display: flex; gap: 16px; align-items: center; justify-content: space-between;
  padding: 0 34px; background: var(--dark); color: #f9faf4;
}
.brand { display: inline-flex; align-items: center; min-width: 0; gap: 12px; text-decoration: none; font-weight: 720; letter-spacing: .03em; }
.brand-icon {
  width: 35px; height: 35px; position: relative; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 9px; background: var(--lime); color: var(--forest);
}
.brand-icon i:first-child { width: 20px; height: 14px; border: 1.5px solid; border-radius: 2px; }
.brand-icon i:first-child::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 17px; border-left: 1px solid; }
.brand-icon i:last-child { position: absolute; width: 6px; height: 6px; border: 1px solid; border-radius: 50%; }
.connection {
  display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; color: #deeadf; font-size: 12px;
  padding: 8px 11px; border-radius: 999px; border: 1px solid #ffffff2e;
}
.connection i { width: 7px; height: 7px; border-radius: 50%; background: #d9bc7d; }
.connection.connected i { background: var(--lime); }
.connection.offline i { background: #ffad97; }
.header-session { display: flex; align-items: center; gap: 9px; }
.logout {
  color: #eef5ec; border: 1px solid #ffffff36; background: transparent;
  border-radius: 7px; min-height: 35px; padding: 5px 9px; font-size: 12px;
}
.logout:hover { background: #ffffff1c; }
.portal-return { display: inline-grid; place-items: center; white-space: nowrap; text-decoration: none; }
.portal-main { max-width: 970px; margin: 0 auto; padding-top: clamp(26px, 6vw, 70px); }
.initial-status { color: var(--muted); font-size: 14px; }
#portal-user { font-size: 13px; color: #deeadf; }
.portal-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); gap: 16px; }
.portal-card {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  max-width: 435px; padding: 24px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--sheet); text-decoration: none;
}
.portal-card:hover { border-color: #8bad94; background: #f9fbf5; }
.portal-card h2 { font-size: 20px; }
.portal-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 6px; }
.portal-card > span { color: var(--accent); font-size: 22px; }
.shell { display: grid; grid-template-columns: 222px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.shell.gated { display: block; }
.rail { background: #eef1e8; border-right: 1px solid var(--line); padding: 32px 17px 24px; }
.navigation { display: grid; gap: 6px; }
.nav-item, .shortcut {
  display: flex; align-items: center; text-align: left; gap: 11px; width: 100%;
  border: 0; background: transparent; border-radius: 9px; min-height: 42px;
  padding: 9px 12px; color: var(--muted); font-size: 14px; font-weight: 600;
}
.nav-item.active { background: var(--selected); color: #164c35; }
.nav-item:hover, .shortcut:hover { background: #e1e9dc; color: var(--ink); }
.nav-count {
  margin-left: auto; background: var(--sheet); color: var(--accent); min-width: 22px; text-align: center;
  padding: 2px 6px; border-radius: 6px; font-size: 11px; font-variant-numeric: tabular-nums;
}
.rail-shortcuts { margin-top: 34px; }
.rail-shortcuts h2 { font-size: 12px; font-weight: 650; color: var(--muted); padding: 0 12px 10px; }
.shortcut { font-weight: 500; min-height: 39px; font-size: 13px; }
.shortcut .icon { width: 16px; height: 16px; }
main { min-width: 0; width: 100%; max-width: 1570px; padding: 35px 38px 46px; }
.heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.heading h1 { font-size: clamp(29px, 3.2vw, 44px); line-height: 1.2; font-weight: 750; letter-spacing: -.045em; }
.heading p { margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.search-panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 23px; padding: 20px 22px 17px; border-radius: 16px;
  color: #fff; background-color: #183c2e;
  background-image: radial-gradient(ellipse at 93% 15%, #4e6442 0%, transparent 46%), linear-gradient(105deg,#183c2e 44%,#254837 100%);
}
.search-panel form {
  display: flex; align-items: center; min-width: 0; max-width: 680px; gap: 9px; background: var(--sheet);
  color: var(--ink); padding: 5px 5px 5px 13px; border-radius: 10px;
}
.search-icon { color: var(--accent); display: flex; }
.search-panel input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 3px; min-height: 39px; }
.search-panel input:focus-visible { outline: 0; }
.search-panel form:focus-within { box-shadow: 0 0 0 3px #d9ed9a85; }
.search-context { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12px; color: #dfe9e0; }
.quick-links { display: none; flex-wrap: wrap; gap: 5px; }
.quick-links button {
  display: inline-flex; align-items: center; min-height: 28px; border: 1px solid #ffffff36;
  background: #ffffff0d; padding: 2px 9px; border-radius: 12px; color: #f4f9ef; font-size: 12px;
}
.quick-links button:hover { background: #ffffff30; }
.button {
  display: inline-flex; gap: 7px; align-items: center; justify-content: center; flex-shrink: 0;
  padding: 8px 13px; min-height: 40px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--sheet); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 650;
}
.button:hover { border-color: #8bad94; background: #f5f9f1; }
.button.primary { background: var(--forest); border-color: var(--forest); color: #f7fbf3; }
.button.primary:hover { background: #26573f; }
.search-panel .button.primary { background: var(--lime); color: #1b3b2a; border-color: var(--lime); min-width: 70px; }
.search-panel .button.primary:hover { background: #c8e478; }
.button .icon { width: 17px; height: 17px; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 13px;
  color: var(--muted); font-size: 12px;
}
.breadcrumbs button { background: transparent; color: var(--muted); padding: 4px; border: 0; border-radius: 4px; overflow-wrap: anywhere; }
.breadcrumbs button:hover { background: var(--selected); }
.breadcrumbs .current { font-weight: 650; color: var(--ink); }
.breadcrumbs .icon { width: 13px; height: 13px; }
.section-head { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-head > div:first-child { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.section-head h2 { font-size: 23px; font-weight: 720; letter-spacing: -.025em; overflow-wrap: anywhere; }
.count { white-space: nowrap; font-size: 12px; color: var(--muted); }
.switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #ebefe5; }
.icon-button, .switch button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 35px; border: 0; background: transparent; border-radius: 6px; color: var(--muted);
}
.switch button[aria-pressed="true"] { background: var(--sheet); color: var(--forest); box-shadow: 0 1px 2px #142e271b; }
.switch button:hover, .icon-button:hover { color: var(--accent); background: #e3ebdf; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filter {
  border: 1px solid transparent; border-radius: 999px; padding: 6px 11px; min-height: 33px;
  color: var(--muted); background: transparent; font-size: 13px; font-weight: 550;
}
.filter:hover { background: #ebefe5; }
.filter.active { border-color: #cbdcd0; background: #e4eee2; color: #164c35; font-weight: 680; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(191px, 1fr)); gap: 12px; }
.file-card { min-width: 0; position: relative; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--sheet); }
.file-card:hover { border-color: #8caf9a; box-shadow: 0 4px 12px #1937290b; }
.file-main {
  display: flex; flex-direction: column; align-items: stretch; width: 100%; min-width: 0;
  background: transparent; border: 0; padding: 0; text-align: left; overflow: hidden;
}
.file-main:focus-visible { outline-offset: -3px; }
.file-visual {
  min-height: 100px; aspect-ratio: 16 / 9; width: 100%; position: relative; display: grid; place-items: center;
  background: #e9efea; color: #456251; overflow: hidden;
}
.file-visual .icon { width: 30px; height: 30px; }
.file-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-bottom: 1px solid #00000009; }
.file-visual.folder { color: #3d6347; background: #e9eddf; }
.file-visual.video { color: #d6e3d7; background: #254239; }
.file-visual.image { color: #467259; background: #dfebe3; }
.file-visual.audio { color: #5b5474; background: #eae7f2; }
.file-visual.doc { color: #3e6673; background: #e3ecf2; }
.file-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ext {
  position: absolute; bottom: 7px; right: 7px; z-index: 1; color: #f1f5ef; background: #172b23d6;
  border-radius: 5px; padding: 3px 6px; font-size: 10px; letter-spacing: .04em;
}
.type-text { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-copy { min-width: 0; padding: 11px 12px; }
.file-name {
  display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; line-height: 1.5; font-weight: 650;
}
.file-meta { display: flex; gap: 5px; flex-wrap: wrap; color: var(--muted); margin-top: 4px; font-size: 11px; }
.file-action {
  position: absolute; top: 7px; right: 7px; width: 34px; height: 34px; background: #fffefaed;
  box-shadow: 0 1px 5px #1c392313; color: #234131;
}
.file-action.saved { color: #1d6d4b; background: #e9f1d4; }
.file-list { background: var(--sheet); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.file-row { position: relative; display: flex; align-items: center; min-width: 0; }
.file-row + .file-row { border-top: 1px solid var(--line); }
.file-row .file-main { flex-direction: row; align-items: center; padding: 10px 56px 10px 11px; min-height: 65px; }
.file-row .file-main:hover { background: #f6f8f0; }
.file-row .file-visual { width: 44px; height: 43px; min-height: 0; flex: 0 0 44px; border-radius: 7px; }
.file-row .file-visual .icon { width: 21px; height: 21px; }
.file-row .ext { display: none; }
.file-row .file-copy { padding: 0 0 0 11px; }
.file-row .file-action { top: 50%; transform: translateY(-50%); box-shadow: none; background: transparent; }
.file-row .file-action:hover, .file-row .file-action.saved { background: #e8f0df; }
.state-box { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 30px; color: var(--muted); }
.state-box h2, .state-box h3 { color: var(--ink); font-size: 17px; line-height: 1.5; margin-bottom: 5px; }
.state-box p { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.state-actions { margin-top: 12px; }
.state-actions .button { margin-right: 5px; }
.login-panel {
  max-width: 440px; margin: clamp(24px, 10vh, 105px) auto 25px; padding: clamp(20px, 5vw, 38px);
  background: var(--sheet); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 11px 30px #203b2912;
}
.portal-main .login-panel { margin-top: clamp(16px, 4vh, 54px); }
.login-panel h1 { font-size: clamp(23px, 4vw, 28px); font-weight: 730; }
.login-panel > p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#login form { display: grid; gap: 9px; margin-top: 25px; }
#login label { font-size: 13px; font-weight: 650; }
#login input { width: 100%; margin-bottom: 5px; font-size: 16px; }
#login .button { margin-top: 6px; min-height: 44px; }
.login-error { font-size: 13px; line-height: 1.45; color: #a64229; }
.pagination { display: flex; justify-content: center; padding-top: 16px; }
dialog {
  width: min(640px, calc(100% - 24px)); max-height: calc(100% - 28px); border: 1px solid var(--line);
  border-radius: 14px; color: var(--ink); background: var(--sheet); padding: 0; box-shadow: 0 18px 75px #0c241f4c;
}
dialog::backdrop { background: #12261fc0; }
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.detail-head h2 { font-size: 16px; }
.detail-body { padding: 16px 18px 21px; }
.detail-body h3 { margin: 0 0 8px; font-size: 21px; overflow-wrap: anywhere; }
.detail-body p { color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; font-size: 13px; }
.detail-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.detail-visual { position: relative; overflow: hidden; height: 195px; margin-bottom: 14px; border-radius: 10px; background: #dde8df; }
.detail-visual .file-visual { height: 100%; min-height: 0; }
.detail-visual iframe, .detail-visual video, .detail-visual img.preview { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; background: #172b23; }
.detail-visual audio { display: block; width: 92%; margin: 68px auto; }
.preview-error { margin-top: 9px; color: #923b23 !important; }
.notes-form { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 17px; }
.notes-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 620; min-width: 0; }
.notes-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notes-form input, .notes-form select, .notes-form textarea, #login input {
  padding: 8px 10px; min-height: 40px; border: 1px solid var(--line); border-radius: 7px; background: #fff;
}
.notes-form textarea { min-height: 76px; resize: vertical; }
.notes-form .button { justify-self: start; }
.selection-state { color: #256044; font-weight: 620; }
.toast {
  position: fixed; z-index: 10; bottom: 16px; right: 16px; max-width: calc(100% - 32px);
  padding: 10px 15px; border-radius: 9px; background: var(--dark); color: #f7faf5; font-size: 13px;
}
@media (min-width: 1500px) {
  main { padding-right: 55px; padding-left: 55px; }
}
@media (max-width: 1040px) {
  .shell { grid-template-columns: 177px minmax(0, 1fr); }
  main { padding: 28px 24px 40px; }
  .rail { padding: 24px 12px; }
  .file-grid { grid-template-columns: repeat(auto-fill, minmax(157px, 1fr)); }
}
@media (max-width: 700px) {
  .masthead { min-height: 59px; padding: 0 14px; gap: 7px; }
  .brand { gap: 7px; font-size: 15px; letter-spacing: 0; }
  .brand-icon { width: 29px; height: 29px; border-radius: 7px; transform: scale(.9); }
  .brand-icon i:first-child::before { top: 8px; bottom: 8px; left: 14px; }
  .connection { font-size: 10px; padding: 6px 7px; gap: 4px; }
  .connection i { width: 5px; height: 5px; }
  .header-session { gap: 5px; }
  .logout { padding: 3px 6px; font-size: 11px; min-height: 32px; }
  .shell { display: block; }
  .rail { padding: 6px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-shortcuts { display: none; }
  .navigation { display: flex; gap: 6px; }
  .nav-item { width: auto; min-height: 41px; padding: 7px 11px; }
  main { padding: 20px 13px 28px; }
  .heading { margin-bottom: 15px; }
  .heading p { font-size: 13px; }
  .search-panel { gap: 9px; padding: 12px 10px 10px; margin-bottom: 17px; border-radius: 12px; }
  .search-panel form { padding-left: 9px; }
  .search-panel input { font-size: 16px; }
  .search-context { gap: 5px 9px; }
  .quick-links { display: flex; }
  .section-head h2 { font-size: 19px; }
  .section-head, .breadcrumbs { margin-bottom: 10px; }
  .filters { margin-bottom: 11px; gap: 3px; }
  .filter { min-height: 36px; padding: 5px 9px; }
  .file-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .file-visual { min-height: 73px; }
  .file-copy { padding: 8px 9px; }
  .file-name { font-size: 13px; }
  .file-row .file-main { padding-right: 49px; }
  .file-row .file-action { width: 40px; height: 40px; }
  .file-action { width: 37px; height: 37px; }
  .state-box { padding: 18px; }
  .detail-body { padding: 13px; }
  .detail-visual { height: 163px; }
  .notes-form textarea, .notes-form input, .notes-form select { font-size: 16px; }
}
@media (max-width: 355px) {
  .brand { font-size: 14px; }
  .file-name { font-size: 12px; }
  .quick-links button { padding-inline: 6px; }
}

.match-toolbar, .match-heading, .match-section-head, .clip-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
}
.match-toolbar, .match-heading, .match-section-head { justify-content: space-between; }
.inline-form { display: flex; flex: 1 1 250px; min-width: 0; gap: 8px; align-items: center; }
.inline-form input { flex: 1; min-width: 0; }
.inline-form input, .workbench-form input, .workbench-form textarea, .picker-role select {
  border: 1px solid var(--line); border-radius: 8px; background: var(--sheet);
  padding: 9px 11px; min-height: 42px;
}
.match-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr)); gap: 12px; margin-top: 18px; }
.match-card, .segment-row {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 13px;
  text-align: left; width: 100%; min-width: 0; padding: 14px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--sheet); color: var(--ink);
}
.match-card:hover, .segment-row:hover { border-color: #8daf99; background: #fafcf5; }
.match-card strong, .segment-row strong { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.match-card small, .segment-row small, .source-result small { display: block; color: var(--muted); margin-top: 5px; font-size: 12px; overflow-wrap: anywhere; }
.match-glyph, .match-asset-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  color: #2d6349; background: #e1eee1; border-radius: 9px;
}
.match-heading { align-items: flex-start; margin: 6px 0 19px; }
.match-heading > div { flex: 1 1 270px; min-width: 0; }
.match-heading h2 { font-size: clamp(19px, 3vw, 30px); overflow-wrap: anywhere; }
.match-heading p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.back-link { border: 0; background: transparent; padding: 7px 4px; color: var(--accent); text-align: left; }
.match-section { display: grid; gap: 10px; margin-top: 21px; }
.match-section h3 { font-size: 17px; }
.match-section h3 span { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.asset-stack { display: grid; gap: 8px; min-width: 0; }
.match-asset {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet);
}
.match-asset-copy { flex: 1; min-width: 0; }
.match-asset-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.role-chip { display: inline-block; color: #286247; font-weight: 650; font-size: 11px; margin-bottom: 4px; }
.segment-row { grid-template-columns: minmax(0,1fr) auto; }
.source-picker { border: 1px solid var(--line); background: #eaf0e7; border-radius: 11px; padding: 13px; display: grid; gap: 10px; }
.picker-role { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.picker-role select { min-height: 35px; padding: 4px 8px; }
.source-result { display: flex; gap: 7px 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.source-result > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.workbench-form { display: grid; gap: 11px; }
.workbench-form label { display: grid; min-width: 0; gap: 5px; font-size: 13px; font-weight: 630; }
.workbench-form label small { display: inline; color: var(--muted); font-weight: 500; }
.workbench-form input, .workbench-form textarea { display: block; width: 100%; }
.workbench-form textarea { min-height: 67px; resize: vertical; }
.workbench-form > .button { justify-self: start; }
.form-help { color: var(--muted); font-size: 12px; line-height: 1.5; }
#clip-dialog { width: min(800px, calc(100% - 20px)); }
.clip-body video { width: 100%; max-height: min(49vh,420px); border-radius: 9px; margin: 8px 0 4px; background: var(--dark); }
.clip-source-name { overflow-wrap: anywhere; }
.clip-actions .button[aria-pressed="true"] { background: var(--selected); color: var(--accent); }
.clip-form, .clip-review { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 9px; }
.clip-review { display: grid; gap: 11px; }
.clip-times { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-variant-numeric: tabular-nums; }
.clip-comments h4 { margin: 2px 0 8px; font-size: 14px; }
.clip-comment { background: #f1f4ed; border-radius: 8px; margin: 0 0 7px; padding: 7px 9px; }
.clip-comment header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; }
.clip-comment p { white-space: pre-wrap; }
.time-button { border: 0; font-size: 12px; color: var(--accent); background: transparent; padding: 5px; }
.button.danger { color: #944b39; }
#clip-help { min-height: 15px; margin-top: 5px; }
@media (max-width: 700px) {
  .nav-item { gap: 5px; padding-inline: 8px; font-size: 13px; }
  .navigation { flex-wrap: wrap; gap: 3px; }
  .nav-item .icon { width: 17px; height: 17px; }
  .inline-form input, .workbench-form input, .workbench-form textarea, .picker-role select { font-size: 16px; }
  .match-asset .button { padding: 6px 8px; }
  .clip-actions { gap: 5px; }
  .clip-actions .button { min-height: 42px; padding-inline: 9px; }
}
