.keys-page{background:var(--bg);min-height:100vh}.keys-content{max-width:1240px;margin:0 auto;padding:44px 32px 80px}.keys-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px;display:flex}.keys-heading .eyebrow{color:var(--quiet);margin:0 0 16px;font-size:11px;line-height:1.2}.keys-heading h1{letter-spacing:-.04em;margin:0 0 12px;font-size:40px;font-weight:500;line-height:1.02}.keys-heading p,.keys-dialog-heading p{color:var(--muted);max-width:65ch;margin:0;line-height:1.6}.keys-primary,.keys-secondary{min-height:38px;font:500 12px var(--mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;cursor:pointer;border-radius:0;padding:0 16px;transition:background-color .16s,border-color .16s}.keys-primary{border:1px solid var(--primary);background:var(--primary);color:var(--on-primary)}.keys-primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.keys-secondary{border:1px solid var(--line);background:var(--bg);color:var(--ink)}.keys-secondary:hover{border-color:var(--ink)}.keys-page button:disabled{opacity:.5;cursor:not-allowed}.keys-toolbar{border-top:1px dashed var(--line-dash);align-items:center;gap:16px;padding:10px 0;display:flex}.keys-toolbar>span{color:var(--quiet);font:12px var(--mono);white-space:nowrap;margin-left:auto}.keys-search{width:min(320px,100%)}.keys-search input,.keys-field input,.keys-field select{border:1px solid var(--line);background:var(--bg);width:100%;min-height:40px;color:var(--ink);font:inherit;border-radius:0;padding:9px 12px;font-size:14px}.keys-search input:hover,.keys-field input:hover,.keys-field select:hover{border-color:var(--quiet)}.keys-search input::placeholder,.keys-field input::placeholder{color:var(--quiet);opacity:1}.keys-page input:focus-visible,.keys-page select:focus-visible,.keys-page summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--ink)}.keys-table-wrap{border-top:1px solid var(--line);position:relative;overflow-x:auto}.keys-list table{border-collapse:collapse;text-align:left;width:100%}.keys-list th,.keys-list td{border-bottom:1px solid var(--line);vertical-align:top;white-space:nowrap;padding:18px 12px;font-size:13px}.keys-list th{color:var(--quiet);font:500 11px var(--mono);letter-spacing:.08em;text-transform:uppercase}.keys-list th:first-child,.keys-list td:first-child{padding-left:0}.keys-list td{color:var(--muted)}.keys-list td strong{color:var(--ink);font-size:14px;font-weight:500}.keys-list td:first-child strong{overflow-wrap:anywhere;white-space:normal;max-width:220px;display:block}.keys-list td:first-child>code,.keys-list td:first-child>span,.keys-list td small{margin-top:7px;font-size:11px;display:block}.keys-budget{min-width:190px}.keys-budget progress{width:155px;height:4px;accent-color:var(--accent);background:var(--surface-3);border:0;border-radius:0;margin:11px 0 8px;display:block}.keys-budget progress::-webkit-progress-bar{background:var(--surface-3);border-radius:0}.keys-budget progress::-webkit-progress-value{background:var(--accent);border-radius:0}.keys-status{border:1px solid var(--line);background:var(--bg);font:11px var(--mono);letter-spacing:.04em;text-transform:uppercase;border-radius:0;align-items:center;gap:7px;padding:3px 8px;display:inline-flex}.keys-status:before{content:"";background:var(--line-dash);width:6px;height:6px}.keys-status.active{color:var(--success)}.keys-status.active:before{background:var(--success)}.keys-alert,.keys-note{border:1px solid var(--line);border-left:2px solid var(--line-dash);background:var(--surface-1);border-radius:0;margin:0 0 20px;padding:12px 14px;line-height:1.5}.keys-alert{color:var(--ink);border-left-color:var(--warm-a)}.keys-note{color:var(--muted)}.keys-reveal{background:var(--accent-soft);border:1px solid var(--signal-deep);border-radius:0;margin-bottom:28px;padding:22px}.keys-reveal>strong{font-size:16px;font-weight:500}.keys-reveal p{color:var(--muted);line-height:1.5}.keys-secret-row{align-items:center;gap:12px;display:flex}.keys-secret-row code{overflow-wrap:anywhere;background:var(--panel);min-width:0;color:var(--panel-text);-webkit-user-select:all;user-select:all;border-radius:0;flex:1;padding:13px;line-height:1.6}.keys-reveal-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-top:18px;font-size:12px;display:flex}.keys-empty{text-align:center;border:1px dashed var(--line-dash);background:var(--surface-1);color:var(--muted);padding:56px 20px;line-height:1.6}.keys-empty h2{color:var(--ink);letter-spacing:-.02em;margin:0 0 8px;font-size:20px;font-weight:500}.keys-footnote{max-width:75ch;color:var(--quiet);margin-top:24px;font-size:12px;line-height:1.7}.keys-dialog{border:1px solid var(--line);background:var(--bg);width:min(560px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);border-radius:0;padding:0;overflow-y:auto;box-shadow:0 24px 60px #0f09082e}.keys-dialog::backdrop{background:#0f09086b}.keys-dialog form{padding:28px}.keys-dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:28px;display:flex}.keys-dialog-heading h2{letter-spacing:-.03em;margin:0 0 8px;font-size:24px;font-weight:500}.keys-dialog-heading p{font-size:13px}.keys-close{width:32px;min-width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:0;padding:0;font-size:26px}.keys-close:hover{background:var(--surface-2);color:var(--ink)}.keys-form-fields{border:0;gap:18px;margin:0;padding:0;display:grid}.keys-field{color:var(--ink);gap:9px;font-size:13px;font-weight:500;display:grid}.keys-field small{color:var(--muted);font-size:12px;font-weight:400}.keys-field select:disabled{color:var(--muted);background:var(--surface-2);cursor:not-allowed}.keys-limit-group{border:1px dashed var(--line-dash);border-radius:0;gap:20px;margin:0;padding:20px;display:grid}.keys-limit-group legend{font:500 11px var(--mono);letter-spacing:.08em;text-transform:uppercase;padding:0 6px}.keys-limit-group>p{color:var(--muted);margin:-8px 0 0;font-size:12px;line-height:1.6}.keys-advanced{font-size:13px}.keys-advanced summary{cursor:pointer;padding:5px 0}.keys-advanced summary>span{color:var(--muted);margin-left:8px;font-size:12px}.keys-permissions{gap:14px;padding-top:18px;display:grid}.keys-permissions label{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.keys-permissions input{accent-color:var(--accent);margin:2px 0 0}.keys-permissions strong,.keys-permissions small{display:block}.keys-permissions strong{font-weight:500}.keys-permissions small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.4}.keys-dialog .keys-alert{margin:20px 0 0}.keys-dialog-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;display:flex}.keys-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (max-width:700px){.keys-content{padding:30px 18px 60px}.keys-heading{align-items:flex-start}.keys-heading h1{font-size:30px}.keys-heading p{font-size:13px}.keys-toolbar{flex-wrap:wrap;gap:10px}.keys-toolbar>span{margin-left:0}.keys-search{width:100%}.keys-secret-row,.keys-reveal-footer{flex-direction:column;align-items:stretch}.keys-dialog form{padding:22px}}@media (prefers-reduced-motion:reduce){.keys-page button{transition:none}}
