.protection-page{display:grid;gap:24px;max-width:1440px;color:var(--ink,#263d35)}
.protection-page h2,.protection-page h3,.protection-dialog h2,.protection-dialog h3{margin:0;font-weight:500}
.protection-page h2,.protection-dialog h2{font-family:var(--font-serif,Georgia,serif);font-size:24px}
.protection-page h3,.protection-dialog h3{font-size:16px}
.protection-page p,.protection-dialog p{line-height:1.75;margin:8px 0}
.protection-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.protection-summary,.protection-panel{background:#fffefa;border:1px solid #e5e8dc;border-radius:18px;box-shadow:0 5px 22px #334a2f03}
.protection-summary{padding:26px;min-width:0}
.protection-summary>span{display:block;color:#819077;font-size:13px;letter-spacing:.06em}
.protection-summary>strong{display:block;font-size:23px;font-weight:500;margin:13px 0 7px;overflow-wrap:anywhere}
.protection-summary p,.protection-muted{color:#85917f;font-size:13px}
.protection-summary.is-local{background:#f2f5e9}.protection-summary.is-offsite{background:#f8f3e9}
.protection-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;padding:25px 28px;border-bottom:1px solid #eceee5}
.protection-heading p{font-size:13px;color:#85917f;margin-bottom:0}
.protection-body{padding:24px 28px}.protection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.protection-actions .btn{white-space:normal}.protection-warning,.protection-error,.protection-info{border-radius:12px;padding:14px 18px;line-height:1.7;font-size:14px}
.protection-warning{background:#fff3df;color:#916b38;border:1px solid #efe0c5}.protection-warning p{margin:0}
.protection-page>div>.protection-warning{margin-bottom:18px}
.protection-error{background:#fff0eb;color:#a24739;border:1px solid #f0d5cc}.protection-info{background:#eff4e9;color:#617755;border:1px solid #dee8d4}
.protection-empty{padding:28px;text-align:center;color:#91a084;border:1px dashed #e1e7d8;border-radius:12px;background:#fafbf5}
.protection-table-wrap{overflow:auto}.protection-table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}
.protection-table th{font-size:12px;letter-spacing:.03em;font-weight:500;color:#8c9981;background:#f6f8f0;padding:14px 18px}
.protection-table td{padding:18px;vertical-align:middle;border-bottom:1px solid #eff0e8}.protection-table tr:last-child td{border-bottom:0}
.protection-table td>strong{display:block;font-size:14px;font-weight:500}.protection-table td>small{display:block;color:#8b9684;margin-top:5px}
.protection-table .protection-actions{min-width:260px}.protection-table .btn{padding:7px 11px;font-size:12px}
.protection-badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:6px;font-size:12px;background:#eef3e8;color:#6c825d}
.protection-badge.is-warning{background:#fbefda;color:#946f38}.protection-badge.is-error{background:#fcebe5;color:#a75443}
.protection-settings{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:24px;align-items:start}
.protection-device{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #edf0e5}.protection-device:first-child{padding-top:0}.protection-device:last-child{border-bottom:0;padding-bottom:0}
.protection-device strong{font-weight:500;overflow-wrap:anywhere}.protection-device p{font-size:12px;color:#89977f;margin:5px 0 0}.protection-device .btn{align-self:center;flex-shrink:0}
.protection-audit{margin:0;padding:0;list-style:none}.protection-audit li{display:grid;grid-template-columns:152px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid #eff1e8;font-size:13px}.protection-audit li:last-child{border:0}.protection-audit time{color:#8b987f}
.protection-job{display:grid;gap:12px;padding:18px;background:#f2f6ed;border-radius:12px}.protection-job progress{accent-color:#718763;width:100%;height:7px}.protection-job p{margin:0;font-size:13px;color:#78886d}
.protection-danger{color:#a34e3c!important;border-color:#e7d2c8!important;background:#fff8f4!important}
.protection-dialog{width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #e1e6d9;border-radius:18px;color:#2f443b;background:#fffefa;box-shadow:0 20px 90px #18342a30}
.protection-dialog::backdrop{background:#253d3294}.protection-dialog>header{padding:25px 28px;border-bottom:1px solid #edf0e6}.protection-dialog>footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:20px 28px;background:#f8faf3;border-top:1px solid #e8ecdf}
.protection-dialog-body{padding:22px 28px}.protection-field{display:grid;gap:9px;margin:18px 0}.protection-field>span{font-size:13px;font-weight:600}.protection-field input{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #dfe5d7;border-radius:8px;background:#fff;color:#243d34;font:inherit;outline:none}.protection-field input:focus{border-color:#8eaa78;box-shadow:0 0 0 3px #91a87d1f}
.protection-field input[autocomplete="one-time-code"]{font-variant-numeric:tabular-nums;letter-spacing:.12em}.protection-field small{font-size:12px;color:#88977a;font-weight:400}
.protection-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}.protection-counts>div{background:#f3f6ed;border-radius:9px;padding:12px 15px}.protection-counts dt{font-size:12px;color:#839276}.protection-counts dd{margin:5px 0 0;font-size:19px;font-variant-numeric:tabular-nums}
.protection-secret{user-select:all;overflow-wrap:anywhere;white-space:pre-wrap;padding:15px;border-radius:10px;background:#f2f5eb;border:1px solid #e0e8d4;font:15px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}
.protection-recovery-codes{columns:2;margin:18px 0;padding:16px 22px;background:#f4f7ee;border-radius:10px;list-style:none;font:15px/2 ui-monospace,SFMono-Regular,Consolas,monospace;user-select:all}
.protection-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1050px){.protection-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.protection-overview>.protection-summary:last-child{grid-column:1/-1}.protection-settings{grid-template-columns:1fr}}
@media(max-width:600px){.protection-overview{grid-template-columns:1fr}.protection-overview>.protection-summary:last-child{grid-column:auto}.protection-heading,.protection-body,.protection-summary,.protection-dialog>header,.protection-dialog>footer,.protection-dialog-body{padding:20px}.protection-heading{align-items:flex-start}.protection-audit li{grid-template-columns:1fr;gap:5px}.protection-device{flex-direction:column;gap:9px}.protection-device .btn{align-self:flex-start}.protection-recovery-codes{columns:1}.protection-counts{grid-template-columns:1fr}.protection-dialog{max-height:calc(100dvh - 20px)}}
