/* Login and admin pages (src/worker.js). Colours, type, fields and buttons come from app.css; this file adds only the layout,
   the card and input styles the pages need, and the admin table, which stacks into labelled rows on phones. */
.account{max-width:440px;min-height:100dvh;margin:0 auto;background:#f7f4ec;padding:22px 20px max(28px,env(safe-area-inset-bottom))}
.account.wide{max-width:960px}
.account-head{margin-bottom:20px}
.account .intro{font-size:13px;line-height:1.5;color:#748075;margin-bottom:16px}
.account .field label{display:block}
.card{background:#fff;border:1px solid #e9e4d8;border-radius:18px;padding:18px;margin:14px 0}
.card h2{margin-bottom:6px}
.inline{display:inline-block;margin:0 6px 6px 0}
.reset{display:grid;gap:6px;margin-top:8px}
.input{width:100%;border:1px solid #dddccc;border-radius:12px;background:#fff;padding:10px;color:#2e4033;font:inherit}
.accounts{width:100%;border-collapse:collapse}
.accounts th{font-size:11px;text-align:left;color:#637466;padding:8px;border-bottom:1px solid #e9e4d8}
.accounts td{vertical-align:top;padding:12px 8px;border-bottom:1px solid #eeeae1;font-size:13px;line-height:1.5}
.accounts tr:last-child td{border-bottom:0}
@media (max-width:639px){
  .accounts thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .accounts,.accounts tbody,.accounts tr,.accounts td{display:block;width:100%}
  .accounts tr{background:#fff;border:1px solid #e9e4d8;border-radius:16px;padding:12px;margin-bottom:10px}
  .accounts td{border:0;padding:8px 0}
  .accounts td::before{content:attr(data-label);display:block;font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#8a8b7d;font-weight:800;margin-bottom:3px}
}
@media (min-width:900px){
  .account{min-height:0;margin:30px auto;border-radius:27px;box-shadow:0 12px 50px #17251d22}
}
.storage-summary{font-size:14px;color:#265074;margin:6px 0 0}
.storage-progress{display:block;width:100%;max-width:140px;height:6px;border-radius:99px;margin-top:4px;accent-color:#00B9F1;border:0;background:#E2E8F0}
.storage-progress::-webkit-progress-bar{background:#E2E8F0;border-radius:99px}
.storage-progress::-webkit-progress-value{background:#00B9F1;border-radius:99px}
.storage-progress::-moz-progress-bar{background:#00B9F1;border-radius:99px}
.account-links{display:flex;justify-content:space-between;gap:12px;margin-top:14px;font-size:13px}
.account-links a{color:#0b5e8a;font-weight:600;text-decoration:none}
.account-links a:hover{text-decoration:underline}
.otp-input{letter-spacing:6px;font-size:20px;font-weight:700;text-align:center}
.pw-wrap{position:relative;display:flex;align-items:center}
.pw-wrap input{padding-right:44px}
.pw-toggle{position:absolute;right:6px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;background:transparent;border:0;color:#64748b;cursor:pointer;border-radius:8px;transition:background .15s,color .15s}
.pw-toggle:hover{background:rgba(15,23,42,.06);color:#0f172a}
.pw-toggle[aria-pressed="true"]{color:#0b5e8a}
.pw-toggle svg{width:18px;height:18px;display:block;pointer-events:none}
.pw-strength{margin-top:6px}
.pw-meter{display:block;width:100%;height:6px;border-radius:99px;border:0;background:#e2e8f0}
.pw-meter::-webkit-progress-bar{background:#e2e8f0;border-radius:99px}
.pw-meter::-webkit-progress-value{border-radius:99px;background:#00B9F1}
.pw-meter[data-tone="weak"]::-webkit-progress-value{background:#dc2626}
.pw-meter[data-tone="fair"]::-webkit-progress-value{background:#d97706}
.pw-meter[data-tone="good"]::-webkit-progress-value{background:#0284c7}
.pw-meter[data-tone="strong"]::-webkit-progress-value{background:#16a34a}
.pw-meter[data-tone="weak"]::-moz-progress-bar{background:#dc2626;border-radius:99px}
.pw-meter[data-tone="fair"]::-moz-progress-bar{background:#d97706;border-radius:99px}
.pw-meter[data-tone="good"]::-moz-progress-bar{background:#0284c7;border-radius:99px}
.pw-meter[data-tone="strong"]::-moz-progress-bar{background:#16a34a;border-radius:99px}
.pw-strength-label{display:block;margin-top:4px;font-size:12px;font-weight:600;color:#556358}
.pw-strength-label[data-tone="weak"]{color:#dc2626}
.pw-strength-label[data-tone="fair"]{color:#b45309}
.pw-strength-label[data-tone="good"]{color:#0369a1}
.pw-strength-label[data-tone="strong"]{color:#15803d}

