.settings-keys h2{margin-bottom:12px}.key-row{display:grid;grid-template-columns:95px minmax(160px,1fr) auto auto auto;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid var(--line)}.key-row:last-child{border-bottom:0;padding-bottom:0}.key-row strong,.routing-row strong{font-size:14px;font-weight:600}.key-row small,.routing-row small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.key-row .check,.key-row a{font-size:12px;white-space:nowrap}.key-input input{font-size:14px}.key-error{grid-column:2/-1;color:var(--brand);font-size:13px}.key-error:empty{display:none}.routing-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(220px,1.6fr) auto;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.routing-row select{font-size:14px;background:var(--color-surface-subtle);border:1px solid var(--color-border)}.settings-footer{margin:4px 0 25px}.sr-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#routing-error{color:var(--brand);font-size:13px;margin-top:12px}
.custom-model{margin-top:8px;font-size:13px}.custom-model[hidden]{display:none}
.reset-panel{margin-bottom:28px;border-color:var(--color-border)}.reset-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none}.reset-panel>summary::-webkit-details-marker{display:none}.reset-panel>summary strong{display:block}.reset-panel>summary small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.reset-panel[open]>summary{padding-bottom:20px;border-bottom:1px solid var(--line)}.reset-body{padding-top:20px}.reset-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:0;margin:0}.reset-choices legend{font-weight:700;margin-bottom:12px}.reset-choices label{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--color-surface);cursor:pointer}.reset-choices input{width:auto;margin-top:3px}.reset-choices strong,.reset-choices small{display:block}.reset-choices small{color:var(--muted);font-size:12px;line-height:1.55;margin-top:4px}.reset-proof{margin-top:18px}.reset-proof label>small{display:block;color:var(--muted);margin:5px 0 8px}.reset-proof code,.reset-history-row code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.reset-history{border-top:1px solid var(--line);padding-top:18px}.reset-history-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.reset-history-row strong,.reset-history-row small{display:block}.reset-history-row small{color:var(--muted);font-size:12px;margin-top:4px}#reset-error{color:var(--brand);font-size:13px;margin:12px 0}#reset-error:empty{display:none}
@media(max-width:1050px){.key-row{grid-template-columns:80px 1fr auto}.key-row .check{grid-column:2}.key-row a{grid-column:1;grid-row:2}.routing-row{grid-template-columns:1fr auto}.routing-row>div{grid-column:1/-1}.routing-row label{min-width:0}}
@media(max-width:720px){.key-row{grid-template-columns:1fr auto;gap:12px}.key-row>div:first-child{grid-column:1}.key-row .key-input{grid-column:1/-1;grid-row:auto}.key-row .check{grid-column:1}.key-row a{grid-column:2;grid-row:1}.key-error{grid-column:1/-1}.routing-row{gap:12px}.routing-row select{font-size:13px}.routing-row .quiet-button{font-size:11px}.settings-routing .panelhead small{font-size:11px}.reset-choices{grid-template-columns:1fr}.reset-history-row{align-items:flex-start;flex-direction:column}}
