.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))}}
