:root{font-family:Inter,system-ui,sans-serif;color:#172033;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}.card{background:#fff;border:1px solid #e3e7ef;border-radius:16px;padding:20px;box-shadow:0 8px 28px rgba(18,31,53,.06);margin-bottom:18px}header{height:76px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{font-weight:900;letter-spacing:.08em;font-size:20px}.brand span{font-weight:500;opacity:.7}.muted{color:#718096}.small{font-size:12px;margin-top:4px}main{max-width:1500px;margin:24px auto;padding:0 20px}.head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.compact{align-items:center}h1{font-size:23px;margin:0 0 5px}textarea{width:100%;min-height:150px;margin-top:15px;resize:vertical;border:1px solid #cfd6e3;border-radius:12px;padding:14px;font:13px monospace}.tools{display:flex;align-items:center;gap:9px;margin-top:12px}.primary,.ghost,.danger,.details{border:0;border-radius:9px;padding:10px 15px;font-weight:700;cursor:pointer}.primary{background:#111827;color:#fff}.ghost{background:#eef1f6;color:#263247}.danger{background:#fee2e2;color:#991b1b}.pill{padding:7px 10px;background:#eef2ff;border-radius:999px;font-size:12px}.bar{height:7px;background:#e9edf3;border-radius:10px;margin-top:14px;overflow:hidden}.bar i{display:block;height:100%;width:0;background:#4f46e5}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat{background:#fff;border:1px solid #e3e7ef;border-radius:14px;padding:16px;color:#718096;font-size:12px}.stat strong{display:block;color:#172033;font-size:25px;margin-top:3px}.filters{display:flex;gap:8px;flex:1}.filters input,.filters select{border:1px solid #cfd6e3;border-radius:9px;padding:9px 11px;background:#fff}.filters input{min-width:260px}.table{overflow:auto;border:1px solid #e6eaf0;border-radius:10px;margin-top:14px}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th,td{padding:10px;border-bottom:1px solid #edf0f5;text-align:left}th{background:#f8fafc;color:#667085}.copy{border:0;background:none;color:#334155;text-decoration:underline;text-decoration-style:dotted;cursor:pointer;padding:0;font:inherit}.status{padding:4px 7px;border-radius:999px;font-weight:800;background:#eef2f7}.status.active{background:#dcfce7;color:#166534}.status.expired{background:#fef3c7;color:#92400e}.status.error{background:#fee2e2;color:#991b1b}.status.queued{background:#e0e7ff;color:#3730a3}.ok{color:#166534}.bad{color:#991b1b}.auth{min-height:100vh;display:grid;place-items:center}.auth .card{width:min(410px,calc(100% - 30px))}form{display:grid;gap:14px;margin-top:20px}label{font-size:13px;font-weight:700}label input{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid #cfd6e3;border-radius:9px}.alert{padding:10px;background:#fee2e2;color:#991b1b;border-radius:9px;margin-top:15px}@media(max-width:800px){.stats{grid-template-columns:repeat(2,1fr)}.head{flex-direction:column}.filters{width:100%;flex-direction:column}.filters input{min-width:0}header{padding:0 15px}main{padding:0 10px}}.password-cell{white-space:nowrap}.pw-value{word-break:break-all}.secret-action{margin-left:4px;padding:4px 7px;border-radius:6px;border:1px solid var(--border,#d0d7de);background:var(--surface,#fff);cursor:pointer}.secret-action:hover{opacity:.85}

.entry-copy{cursor:pointer;text-align:left;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.entry-copy:hover{text-decoration:underline}
.password-copy{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

.fields-panel{margin-top:14px;border:1px solid #e3e7ef;border-radius:12px;padding:12px 14px;background:#fafbfd}
.fields-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.fields-actions{display:flex;gap:10px}
.linklike{border:0;background:none;padding:0;font:inherit;font-weight:700;color:#4f46e5;cursor:pointer;text-decoration:underline;text-decoration-style:dotted}
.fields-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px 14px}
.field-item{display:flex;align-items:center;gap:7px;font-size:12px;color:#334155}
.field-item input{margin:0}
.opt{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#334155}
.opt input{border:1px solid #cfd6e3;border-radius:8px;padding:8px 9px;font:12px inherit;width:110px}
.opt input[type="number"]{width:56px}
