.secret-dialog{width:min(560px,100vw - 32px);max-height:calc(100dvh - 48px)}.secret-dialog .dialog-body{min-height:0;padding:0;display:flex}.secret-dialog .dialog-head{flex:none}.secret-dialog .field>label{margin-bottom:7px;font-size:13px;font-weight:500;display:block}.secret-mono,.secret-name{font-family:var(--mono);font-size:13px}.secret-name{white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.secret-heading{justify-content:space-between;align-items:center;gap:12px;margin:16px 0 8px;display:flex}.secret-heading h3{margin:0;font-size:14px;font-weight:600}.secret-heading h3 .muted{margin-left:5px;font-size:12px;font-weight:400}.secret-actions{flex-wrap:wrap;gap:8px;display:flex}.secret-row{text-align:left;border:0;border-bottom:1px solid var(--border-soft);width:100%;min-height:56px;color:var(--text);font:inherit;background:0 0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 4px;display:grid}button.secret-row{cursor:pointer}button.secret-row:hover{background:var(--hover)}button.secret-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.secret-row>span{gap:6px;min-width:0;display:grid}.secret-row-main{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.secret-row-main>.secret-name{max-width:100%}.secret-mode-tag{white-space:normal;overflow-wrap:anywhere;align-items:center;gap:4px;font-size:11px;font-weight:400;display:inline-flex}.secret-row-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:12px;display:flex}.secret-name-only{border-bottom:1px solid var(--border-soft);align-items:center;gap:12px;min-height:40px;display:flex}.secret-name-only small{color:var(--muted);font:12px var(--font)}.secret-group{margin-top:20px}.secret-group h4{color:var(--muted);margin:0 0 8px;font-size:12px;font-weight:500}.secret-only-project{align-items:center;gap:10px;font-size:12px;font-weight:500;display:flex}.secret-only-project select{width:auto;min-width:120px}.secret-empty{text-align:center;border-bottom:1px solid var(--border-soft);justify-items:center;gap:10px;padding:24px 12px;display:grid}.secret-empty>svg{color:var(--muted)}.secret-empty h3{margin:0;font-size:14px}.secret-empty p{color:var(--muted);max-width:54ch;margin:0 0 4px;font-size:13px;line-height:1.55}.secret-disclosure{margin-top:24px}.secret-limits{color:var(--muted);font-size:12px;line-height:1.65}.secret-limits p{max-width:75ch;margin:12px 0}.secret-limits strong{color:var(--text);font-weight:500}.secret-password{border:1px solid var(--border-strong);border-radius:6px;align-items:stretch;display:flex;overflow:hidden}.secret-password:focus-within{outline:2px solid var(--accent);outline-offset:2px}.secret-password input{border:0;border-radius:0;outline:0;flex:1;min-width:0}.secret-password input:focus{box-shadow:none;outline:0}.secret-password button{border:0;flex:none;margin:2px}.secret-value-summary{border:1px solid var(--border-strong);border-radius:6px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.secret-value-summary span{flex:1}.secret-value-field .secret-choose-file{margin-top:6px}.secret-warning{color:var(--amber);font-size:12px;line-height:1.6}.secret-error{color:var(--red);font-size:12px;line-height:1.6}.secret-mode-options{border:0;min-width:0;margin:0;padding:0}.secret-mode-options legend{margin-bottom:8px;font-size:13px;font-weight:500}.secret-mode-grid{gap:12px;display:grid}.secret-mode-grid .check-option{align-items:flex-start;min-width:0;min-height:96px;margin:0;padding:12px}.secret-mode-grid .check-option>span{min-width:0}.secret-mode-grid strong{font-size:12px;line-height:1.5;display:block}.secret-mode-grid small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6;display:block}.secret-mode-options .product-tag{margin-top:3px}.secret-mode-fields>details{margin:12px 0}.secret-host-field{min-width:0;font-size:12px}.secret-host-field>label{margin-bottom:8px;font-size:13px;font-weight:500;display:block}.secret-host-chips{border:1px solid var(--border-strong);border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;display:flex}.secret-host-chips:focus-within{outline:2px solid var(--accent);outline-offset:2px}.secret-host-chip{background:var(--hover);max-width:100%;height:24px;font:12px var(--mono);border-radius:6px;align-items:center;gap:4px;padding-left:7px;display:inline-flex}.secret-host-chip>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.secret-host-chip button{color:var(--muted);cursor:pointer;background:0 0;border:none;place-items:center;padding:5px;display:grid}.secret-host-chips input{width:100px;min-width:100px;box-shadow:none;font:12px var(--mono);background:0 0;border:0;flex:1;padding:4px}.secret-host-chips input:focus{box-shadow:none;outline:none}.secret-host-suggestions{flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;display:flex}.secret-host-suggestions small{width:100%}.secret-suggestion{border:1px dashed var(--border-strong);color:var(--muted);font:12px var(--mono);cursor:pointer;background:0 0;border-radius:6px;padding:3px 7px}.secret-visible-action{margin-top:8px;font-size:12px}.secret-footer{border-top:1px solid var(--border-soft);flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;padding:14px 20px;display:flex}@media (width>=520px){.secret-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.secret-dialog{border-bottom-right-radius:0;border-bottom-left-radius:0;width:100%;max-width:100%;max-height:calc(100dvh - 20px);margin:auto 0 0}.secret-heading{flex-wrap:wrap;align-items:flex-start}.secrets-settings>.secret-heading .secret-actions{width:100%}.secret-password input,.secret-host-chips input,.secret-dialog input,.secret-dialog select,.secret-dialog textarea{font-size:16px}.secret-host-chip{height:auto;min-height:32px}.secret-host-chip button{min-width:44px;min-height:44px}.secret-suggestion,.secret-visible-action,.secret-dialog button{min-height:44px}.secret-row{min-height:64px}.secret-footer{padding:12px 16px}}@media (prefers-reduced-motion:no-preference){.secret-list{animation:.16s ease-out fade-in}}.secret-dialog:has(.secret-editor) .dialog-head h2{overflow-wrap:anywhere;min-width:0}.secret-dialog:has(.secret-editor) .dialog-head>.icon-button{flex:none}.secret-editor{flex-direction:column;flex:1;min-width:0;min-height:0;margin:0;display:flex}.secret-editor-fields{min-height:0;padding:20px 22px 24px;overflow:auto}.secret-editor .field>input,.secret-editor .field>select{width:100%}.secret-editor .field>.st-help{margin:0!important}.secret-scope-line{color:var(--muted);align-items:flex-start;gap:7px;margin:0 0 22px;font-size:12px;line-height:1.6;display:flex}.secret-scope-line>svg{flex-shrink:0;margin-top:2px}.secret-editor-value,.secret-editor-mode{border:0;min-width:0;margin:0;padding:0}.secret-provider-hint{margin-top:-10px!important}.secret-error{color:var(--red);overflow-wrap:anywhere;margin:-8px 0 16px;font-size:12px;line-height:1.65}.secret-save-error{margin:16px 0 0}.secret-warning{color:var(--amber)}.secret-uses{border-top:1px solid var(--border-soft);margin-top:22px;padding-top:18px}.secret-uses h3{margin:0;font-size:13px;font-weight:500}.secret-use-row{border-bottom:1px solid var(--border-soft);color:var(--secondary);overflow-wrap:anywhere;margin:0;padding:9px 0;font-size:12px;line-height:1.65}.secret-text-link{color:var(--secondary);text-underline-offset:3px;text-decoration:underline}.secret-editor .secret-footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;margin-top:auto;padding:15px 22px;display:flex}.secret-editor .secret-footer-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.secret-delete{margin-right:auto}.secret-editor .secret-delete-confirmation{display:block}.secret-delete-confirmation>p{color:var(--secondary);overflow-wrap:anywhere;margin:0 0 15px;font-size:13px;line-height:1.65}@media (width<=760px){.secret-editor-fields{padding:18px 18px 24px}.secret-editor .secret-footer{padding:12px 18px max(12px, env(safe-area-inset-bottom))}.secret-editor .field input,.secret-editor .field select{font-size:16px}.secret-editor .button,.secret-text-link{min-height:44px}}dialog#dialog.secret-import-dialog{width:min(860px,100vw - 32px);overflow:hidden}.secret-import-dialog .dialog-body{flex:1;min-height:0;padding:0;overflow:hidden}.secret-import-dialog .dialog-head{flex-shrink:0}.secret-import{flex-direction:column;flex:1;width:100%;min-width:0;max-height:calc(100dvh - 106px);display:flex}.secret-import-content{min-width:0;padding:22px;overflow-y:auto}.secret-import textarea{font-family:var(--mono);width:100%;min-height:220px;font-size:13px;line-height:1.65}.secret-import .secret-import-local-note{color:var(--muted);margin:-6px 0 16px;font-size:12px}.secret-import-review-heading{margin:0 0 16px;font-size:14px}.secret-import-summary{flex-wrap:wrap;align-items:flex-end;gap:12px 20px;margin-bottom:18px;display:flex}.secret-import-summary .field{flex:230px;margin:0}.secret-import-summary p{color:var(--muted);flex:340px;padding-bottom:8px;font-size:12px}.secret-import-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:12px}.secret-import-table th,.secret-import-table td{text-align:left;vertical-align:top;min-width:0;padding:12px 6px 6px;font-weight:400}.secret-import-table thead th{color:var(--muted);padding-top:0;padding-bottom:10px;font-size:11px}.secret-import-table thead th:first-child{width:32px}.secret-import-table thead th:nth-child(2){width:22%}.secret-import-table thead th:nth-child(3){width:88px}.secret-import-table thead th:nth-child(4){width:174px}.secret-import-table tbody{border-top:1px solid var(--border-soft)}.secret-import-table tbody[data-conflict=true]{background:var(--amber-wash)}.secret-import-table input[type=checkbox]{accent-color:var(--check);margin-top:8px}.secret-import-table thead input[type=checkbox]{margin-top:0}.secret-import-checkbox{justify-content:flex-start;align-items:center;min-height:32px;display:flex}.secret-import-checkbox input[type=checkbox]{margin:0}.secret-import-name code{text-overflow:ellipsis;white-space:nowrap;font-family:var(--mono);padding-top:8px;font-size:12px;font-weight:500;display:block;overflow:hidden}.secret-import-value{color:var(--muted);font-family:var(--mono);overflow-wrap:anywhere;line-height:32px}.secret-import-table select{width:100%;min-width:0;font-size:12px}.secret-import-hosts>div{min-width:0}.secret-import-table .secret-host-field.compact>label,.secret-import-table .secret-host-field.compact>div[id$=-help]>small{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.secret-import-table .secret-import-note-row td{padding:0 6px 12px 38px}.secret-import-notes{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:3px 12px;font-size:12px;line-height:1.5;display:flex}.secret-import-notes>span:not(:first-child){flex-basis:100%}.secret-import .secret-import-warning{color:var(--amber)}.secret-import .notice.secret-import-warning{background:var(--amber-wash);display:block}.secret-import .secret-import-error{color:var(--red);margin-top:16px}.secret-import-phone-label{display:none}.secret-import-footer{border-top:1px solid var(--border);background:var(--panel);flex-shrink:0;justify-content:flex-end;gap:8px;padding:15px 22px;display:flex}.secret-import-back{margin-right:auto}@media (width<=759px){dialog#dialog.secret-import-dialog{border:0;border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;inset:0;transform:none}dialog#dialog.secret-import-dialog .dialog-head:before{display:none}dialog#dialog.secret-import-dialog .dialog-head{padding-top:18px}.secret-import-dialog .dialog-body{flex-direction:column;flex:1;min-height:0;display:flex}.secret-import-dialog[open]{flex-direction:column;display:flex}.secret-import{flex:1;min-height:0;max-height:none}.secret-import-content{flex:1;padding:18px 16px}.secret-import textarea,.secret-import select,.secret-import input{font-size:16px}.secret-import button,.secret-import select,.secret-import input:not([type=checkbox]){min-height:44px}.secret-import-summary{display:block}.secret-import-summary p{padding:10px 0 0}.secret-import-table,.secret-import-table tbody,.secret-import-table thead{display:block}.secret-import-table thead tr{align-items:center;gap:6px;display:flex}.secret-import-table thead th:not(:first-child){display:none}.secret-import-table thead th:first-child{align-items:center;width:auto;min-height:44px;padding:0;display:flex}.secret-import-table thead th:first-child:after{content:"Select all";color:var(--secondary);margin-left:10px;font-size:12px}.secret-import-table tbody{padding:12px 0}.secret-import-table tbody>tr:first-child{grid-template-columns:44px minmax(0,1fr);gap:8px 0;display:grid}.secret-import-table th,.secret-import-table td{padding:0;display:block}.secret-import-table .secret-import-include{grid-area:1/1;align-items:center;min-height:44px;display:flex}.secret-import-table input[type=checkbox]{width:20px;height:20px;margin:0}.secret-import-checkbox{min-width:44px;min-height:44px}.secret-import-table .secret-import-name{grid-column:2;align-items:center;min-height:44px;display:flex}.secret-import-name code{padding:0;font-size:13px}.secret-import-value,.secret-import-mode,.secret-import-hosts{grid-column:2}.secret-import-value{line-height:1.5}.secret-import-phone-label{font-family:var(--font);color:var(--muted);margin-bottom:6px;font-size:12px;display:block}.secret-import-table .secret-import-note-row td{padding:8px 0 0 44px}.secret-import-table .secret-import-note-row{display:block}.secret-import-footer{padding:12px 16px max(12px, env(safe-area-inset-bottom))}}
