.ct__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.ct__head .ct__lead { margin: 4px 0 0; }
.ct__lead a { color: inherit; }
.ct__acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tb__crumbs a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.tb__crumbs a:hover { color: var(--ink); }
.tb__out { margin: 0; display: flex; }
.tb__logout { border: 0; background: none; cursor: pointer; border-radius: var(--r-ctl); }
.tb__logout:hover { color: var(--ink); background: var(--surface); }
.inl { display: inline-flex; margin: 0; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.table td.tdacts { width: 1%; white-space: nowrap; }
.tdacts .acts { justify-content: flex-end; flex-wrap: nowrap; }
.abtn--icon { padding-left: 8px; padding-right: 8px; }
.abtn .ci { width: 15px; height: 15px; }

a.lnk, .hint a, .muted a, .ibox__need a, .empty a, .cl-sub a, .ct__lead a, .table td a:not(.abtn):not(.tag):not(.rowlink), .feed a, .kv a, .howto a {
  color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); padding-bottom: 1px; transition: border-color .15s;
}
a.lnk:hover, .hint a:hover, .muted a:hover, .ibox__need a:hover, .empty a:hover, .cl-sub a:hover, .ct__lead a:hover, .table td a:not(.abtn):not(.tag):not(.rowlink):hover, .feed a:hover, .kv a:hover, .howto a:hover { border-color: currentColor; }
.rowlink { color: inherit; text-decoration: none; }
.rowlink:hover b { border-bottom: 1px solid currentColor; }
.card__head .lnk { font-size: 13px; font-weight: 600; color: var(--muted); }

.ptabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs__i { padding: 9px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.ptabs__i:hover { color: var(--ink); }
.ptabs__i.is-on { color: var(--ink); border-bottom-color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.filters select { width: auto; min-width: 170px; }
.filters__q { position: relative; display: flex; align-items: center; flex: 0 1 300px; }
.filters__q .ci { position: absolute; left: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.filters__q input { padding-left: 34px; width: 100%; }
.filters__end { margin-left: auto; }
.seg__item small { color: var(--muted); font-weight: 500; margin-left: 2px; }

.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.st i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); flex: none; }
.st--ok i { background: var(--ok); }
.st--warn i { background: #d99a1e; }
.st--err i { background: var(--danger); }
.st--wait i { background: var(--brand); }
.st--ok { color: var(--ok-fg); }
.st--err { color: var(--err-fg); }

.ibadges { display: flex; flex-wrap: wrap; gap: 4px; }
.ib { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 4px; background: var(--surface); color: var(--soft); white-space: nowrap; }
.ib::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-3); }
.ib--ok::before { background: var(--ok); }
.ib--warn::before { background: #d99a1e; }
.ib--err::before { background: var(--danger); }
.ib--wait::before { background: var(--brand); }

.tag--link { text-decoration: none; }
.tag--link:hover { border-color: var(--line-3); }

.todo, .feed, .plist, .inst { list-style: none; margin: 0; padding: 0; display: grid; }
.todo li a, .todo li > span { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.todo li:first-child a, .todo li:first-child > span { border-top: 0; padding-top: 0; }
.todo li a > span:not(.st) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.todo li > span > span:not(.st) { display: flex; flex-direction: column; gap: 2px; }
.todo small { color: var(--muted); font-size: 12.5px; }
.todo .ci { width: 15px; height: 15px; color: var(--muted); }
.todo li a:hover b { border-bottom: 1px solid currentColor; }
.todo .st { flex: none; }

.feed li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed__t { color: var(--muted); font-size: 12.5px; }
.feed__x small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.feed__x--err b { color: var(--err-fg); }
.feed .st { vertical-align: middle; }

.plist li a, .plist li > span { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.plist li:first-child a, .plist li:first-child > span { border-top: 0; padding-top: 0; }
.plist small { color: var(--muted); font-size: 12.5px; }
.plist + .abtn, .plist + a { margin-top: 12px; align-self: flex-start; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pcard { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s; }
.pcard:hover { border-color: var(--line-3); }
.pcard small { color: var(--muted); font-size: 12.5px; }
.pcard .ibadges { margin-top: 6px; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.cols__main, .cols__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1100px) { .cols { grid-template-columns: minmax(0, 1fr); } }

.card--quiet { background: transparent; }
.card--quiet .acts { margin-top: 10px; }
.card--quiet p { margin: 0 0 10px; }
.danger-zone { display: flex; justify-content: flex-end; }

.callout { border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--card)); border-radius: var(--radius); padding: 14px 16px; }
.cpy { display: flex; gap: 8px; align-items: center; }
.cpy input { flex: 1; min-width: 0; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12.5px; }

.kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.igrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 16px; align-items: start; }
.igrid--wide { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.ibox--wide { max-width: 980px; }
.ibox { display: flex; flex-direction: column; gap: 14px; }
.ibox .form { display: flex; flex-direction: column; gap: 14px; }
.ibox__head { display: flex; align-items: center; gap: 12px; }
.ibox__head > div { flex: 1; min-width: 0; }
.ibox__head h2 { margin: 0; font-size: 16px; }
.ibox__head small { color: var(--muted); font-size: 12.5px; }
.ibox__logo { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; background: #fff; border: 1px solid var(--line); }
.ibox__logo img { width: 22px; height: 22px; display: block; }
.ibox__logo--txt { background: var(--surface); color: var(--ink); font-weight: 800; font-size: 14px; }
.ibox__logo--txt .ci { width: 17px; height: 17px; }
.ibox__msg { margin: -4px 0 0; font-size: 13.5px; color: var(--soft); padding: 9px 12px; border-radius: var(--r-ctl); background: var(--surface); }
.ibox__msg small { color: var(--muted); }
.ibox__msg--err { background: var(--err-bg); color: var(--err-fg); }
.ibox__msg--ok { background: var(--ok-bg); color: var(--ok-fg); }
.ibox__msg--warn { background: var(--warn-bg); color: var(--warn-fg); }
.ibox__need { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--warn-fg); background: var(--warn-bg); padding: 8px 11px; border-radius: var(--r-ctl); }
.ibox__need .ci { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.ibox__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ibox__sync { display: flex; align-items: center; gap: 8px; margin-top: -6px; }
.ibox__sync small { color: var(--muted); font-size: 12px; }
.goals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px; max-height: 260px; overflow: auto; padding: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.secs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.grid2--tight { gap: 10px; }
.staff-only { display: flex; flex-direction: column; gap: 10px; }
.staff-only[hidden] { display: none; }
.roles--info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.roles--info .role__box { height: 100%; }
@media (max-width: 900px) { .roles--info { grid-template-columns: minmax(0, 1fr); } .igrid { grid-template-columns: minmax(0, 1fr); } }

.howto summary, .more summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--muted); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.howto summary::-webkit-details-marker, .more summary::-webkit-details-marker { display: none; }
.howto summary::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .15s; }
.howto[open] summary::after { transform: rotate(180deg); }
.howto summary:hover, .more summary:hover { color: var(--ink); }
.howto ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; color: var(--soft); }
.more { margin-top: 4px; }
.more > .form { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.more .ci { width: 15px; height: 15px; }
.more--sm summary { font-size: 12px; margin-top: 4px; }

pre.code { margin: 6px 0 0; padding: 10px 12px; background: var(--surface); border-radius: var(--r-ctl); font: 12px/1.5 "JetBrains Mono", ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-word; max-height: 240px; overflow: auto; color: var(--soft); }
code { font: 12.5px "JetBrains Mono", ui-monospace, Menlo, monospace; background: var(--surface); padding: 1px 5px; border-radius: 4px; }
.err-txt { display: block; color: var(--err-fg); font-size: 13px; }
td.wrap { min-width: 260px; max-width: 520px; overflow-wrap: anywhere; }
.table--sm td, .table--sm th { padding-top: 8px; padding-bottom: 8px; font-size: 13.5px; }
.table small { font-size: 12px; }
.back { margin: 0; }

.inst { gap: 6px; margin: 4px 0 6px; }
.inst__i { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.inst__i .ci { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.inst__i span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.inst__i small { color: var(--muted); overflow-wrap: anywhere; }
.inst__i--ok .ci { color: var(--ok); }
.inst__i--err .ci { color: var(--danger); }
.inst__i--warn .ci { color: #d99a1e; }
.lg__alt { text-align: center; font-size: 13.5px; }
.lg__alt a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.lg__alt a:hover { color: var(--ink); }
a.lg__btn { text-decoration: none; }

.cl { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.cl-preview { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 8px 16px; background: var(--btn); color: var(--btn-ink); font-size: 13px; font-weight: 500; }
.cl-preview .ci { width: 16px; height: 16px; }
.cl-preview a { color: inherit; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.cl-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--card) 92%, transparent); border-bottom: 1px solid var(--line); }
.cl-top__in { max-width: 1240px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; }
.cl-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.cl-brand img { border-radius: 50%; flex: none; }
.cl-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.cl-brand b { font-family: "Tektur", var(--font); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.cl-brand small { color: var(--muted); font-size: 11.5px; text-transform: lowercase; }
.cl-top__acts { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.cl-pick { position: relative; }
.cl-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); font-weight: 600; font-size: 14px; background: var(--card); }
.cl-pick summary::-webkit-details-marker { display: none; }
.cl-pick summary .ci { width: 14px; height: 14px; color: var(--muted); }
.cl-pick__list { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; display: grid; z-index: 30; box-shadow: 0 10px 30px rgba(var(--shadow-rgb), .14); }
.cl-pick__list a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: var(--r-ctl); text-decoration: none; color: inherit; }
.cl-pick__list a:hover, .cl-pick__list a.is-on { background: var(--surface); }
.cl-pick__list small { color: var(--muted); font-size: 12px; }
.cl-main { flex: 1; }
.cl-wrap { max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px; display: flex; flex-direction: column; gap: 20px; }
.cl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cl-kicker { margin: 0 0 4px; color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cl-h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.cl-sub { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--soft); font-size: 14px; }
.cl-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.cl-tabs__i { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.cl-tabs__i .ci { width: 16px; height: 16px; }
.cl-tabs__i:hover { color: var(--ink); }
.cl-tabs__i.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.cl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .cl-grid { grid-template-columns: minmax(0, 1fr); } }
.cl-secs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cl-sec { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s; }
.cl-sec:hover { border-color: var(--line-3); }
.cl-sec__ic, .cl-soon__ic { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); color: var(--ink); margin-bottom: 4px; }
.cl-sec__ic .ci, .cl-soon__ic .ci { width: 19px; height: 19px; stroke-width: 2; }
.cl-sec b { font-size: 15.5px; }
.cl-sec small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.cl-sec__st { margin-top: auto; padding-top: 8px; }
.cl-sec__st .st { white-space: normal; }
.cl-mgr { display: flex; flex-direction: column; gap: 12px; }
.cl-mgr__who { display: flex; align-items: center; gap: 12px; }
.cl-mgr__who > span { display: flex; flex-direction: column; }
.cl-mgr__who small { color: var(--muted); font-size: 12.5px; }
.cl-mgr__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; font-size: 17px; flex: none; }
.cl-mgr__c { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.cl-mgr__c li { display: flex; align-items: center; gap: 8px; }
.cl-mgr__c .ci { width: 16px; height: 16px; color: var(--muted); }
.cl-mgr__c a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.cl-mgr__c a:hover { border-color: currentColor; }
.cl-soon { max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.cl-soon h2 { margin: 0; font-size: 20px; }
.cl-soon p { margin: 0; color: var(--soft); line-height: 1.55; }
.cl-soon__src { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; }
.cl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cl-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s; }
.cl-card:hover { border-color: var(--line-3); }
.cl-card b { font-size: 17px; }
.cl-card small { color: var(--muted); }
.cl-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.cl-card__go { position: absolute; top: 18px; right: 16px; color: var(--muted); }
.cl-foot { max-width: 1240px; width: 100%; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.cl-foot a { color: inherit; font-weight: 600; text-decoration: none; }
.cl .tb__user { text-decoration: none; color: inherit; }
@media (max-width: 700px) {
  .cl-top__in { padding: 8px 14px; gap: 10px; flex-wrap: wrap; }
  .cl-brand small, .cl .tb__name, .cl .tb__theme { display: none; }
  .cl-wrap { padding: 20px 14px 32px; }
  .cl-h1 { font-size: 23px; }
  .feed li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .cpy { flex-direction: column; align-items: stretch; }
}
.chev { width: 12px; height: 12px; vertical-align: -1px; opacity: .7; }

.ok-txt { display: block; color: var(--ok-fg); font-size: 13px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
@media (max-width: 1000px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
.f--inline { max-width: 320px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ppc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ppc-head p { margin: 0; max-width: 760px; }
.ppc-pfs { display: inline-flex; gap: 4px; }
.ppc-pfs .ibox__logo { width: 26px; height: 26px; border-radius: 6px; }
.ppc-pfs .ibox__logo img { width: 16px; height: 16px; }
.check .ibox__logo { width: 22px; height: 22px; border-radius: 5px; display: inline-grid; vertical-align: -6px; margin-right: 2px; }
.check .ibox__logo img { width: 14px; height: 14px; }

.ppc-run { display: flex; flex-direction: column; gap: 10px; }
.ppc-run__head { display: flex; align-items: center; gap: 12px; }
.ppc-run__head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ppc-run__head small { color: var(--muted); font-size: 13px; }
.ppc-run .hint { margin: 0; }
.ppc-run__spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: ppcspin .8s linear infinite; flex: none; }
@keyframes ppcspin { to { transform: rotate(360deg); } }
.ppc-bar { height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.ppc-bar i { display: block; height: 100%; background: var(--ink); border-radius: 2px; transition: width .4s; }

.ppc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ppc-top__st { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ppc-iss summary { cursor: pointer; list-style: none; }
.ppc-iss summary::-webkit-details-marker { display: none; }
.ppc-iss ul, .ppc-errs { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: var(--warn-fg); max-height: 260px; overflow: auto; }
.ppc-errs { margin: 0; color: var(--err-fg); }
.ppc-api .plist small { overflow-wrap: anywhere; }
.ppc-camps { flex-wrap: wrap; }
.ppc-camp { display: flex; flex-direction: column; gap: 12px; }

.cnt { position: relative; display: block; }
.cnt input, .cnt textarea { width: 100%; padding-right: 54px; }
.cnt textarea { resize: vertical; min-height: 54px; }
.cnt i { position: absolute; right: 8px; top: 9px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); pointer-events: none; font-variant-numeric: tabular-nums; }
.cnt.is-over input, .cnt.is-over textarea { border-color: var(--danger); }
.cnt.is-over i { color: var(--err-fg); }

.ppc-sl { display: grid; gap: 6px; }
.ppc-sl__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 6px; }
.ppc-sl__row:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.2fr); }
.ppc-hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ppc-ds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ppc-path { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ppc-path .cnt { width: 170px; }
.ppc-ads { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.ppc-ad { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
@media (max-width: 900px) { .ppc-sl__row, .ppc-hl, .ppc-ds { grid-template-columns: minmax(0, 1fr); } }

.ppc-groups { display: flex; flex-direction: column; gap: 8px; }
.grp { padding: 0; }
.grp__sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.grp__sum::-webkit-details-marker { display: none; }
.grp__sum b { font-size: 14.5px; }
.grp__sum small { color: var(--muted); font-size: 12.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grp__chev { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; transform: rotate(-90deg); flex: none; }
.grp[open] .grp__chev { transform: none; }
.grp__body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); }
.grp__bar { flex-wrap: wrap; }
.grp__regen { display: inline-flex; gap: 6px; align-items: center; flex: 1 1 360px; }
.grp__regen input { flex: 1; min-width: 0; }
.ppc-camp .form__bar, .grp__body .form__bar { position: static; margin: 4px 0 0; padding: 12px 0 0; background: none; border-top: 1px solid var(--line); align-items: center; }
.card.ppc-camp { padding-bottom: 16px; }
.card.grp { padding: 0; gap: 0; }
.ppc-ad .cnt textarea { min-height: 72px; }
