.account-page { min-height: 100vh; }
.account-top { position: sticky; }
.account-shell { max-width: 980px; padding-block: 42px 75px; }
.account-intro { margin: 0 auto 24px; }
.account-intro h1 { margin: 11px 0 7px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -.055em; line-height: 1.1; }
.account-intro p { max-width: 740px; margin: 0; color: var(--muted); }
.account-notice { margin: 16px 0; padding: 12px 15px; border: 1px solid #dce7de; border-radius: 11px; background: #fff; color: var(--ink); overflow-wrap: anywhere; }
.account-notice[data-kind="error"] { border-color: #e9c8c2; background: #fff7f5; color: #7a3027; }
.account-notice[data-kind="success"] { border-color: #b7d5c0; background: #f3fbf4; color: #235638; }
.account-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.sign-in-card { max-width: 650px; }
.sign-in-card .section-head { margin-bottom: 18px; }
.sign-in-card .section-head h2 { margin-top: 8px; }
.account-fine { color: var(--muted); font-size: 12px; line-height: 1.7; }
.account-summary { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; align-items: center; gap: 24px; }
.wallet-address { display: block; max-width: 100%; overflow-wrap: anywhere; font: 700 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.account-summary p { margin: 4px 0 0; }
.summary-metrics { display: flex; gap: 22px; }
.summary-metrics div { display: grid; min-width: 100px; gap: 3px; }
.summary-metrics span { color: var(--muted); font-size: 11px; }
.summary-metrics b { font-size: 14px; }
.account-section { padding-top: 58px; }
.account-section .section-head { margin-bottom: 19px; }
.account-section .section-head h2 { margin-top: 5px; }
.account-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.account-plan { display: flex; flex-direction: column; gap: 9px; min-height: 220px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.account-plan.featured { border-color: #83ad91; box-shadow: 0 12px 32px #123b2d12; }
.account-plan h3 { margin: 0; font-size: 16px; }
.account-plan .plan-price { font-size: 27px; font-weight: 800; letter-spacing: -.05em; }
.account-plan .plan-price small { font-size: 12px; font-weight: 600; letter-spacing: 0; }
.account-plan p { flex: 1; margin: 0; color: var(--muted); font-size: 12px; }
.account-plan button { width: 100%; }
.account-plan button:disabled, .upload-form button:disabled { cursor: not-allowed; opacity: .55; }
.orders-list { display: grid; gap: 8px; margin-top: 13px; }
.order-row, .job-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.order-row small, .job-row small { display: block; color: var(--muted); font-size: 11px; }
.order-row button, .job-actions button { min-height: 35px; }
.upload-form { display: grid; max-width: 660px; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.field { display: grid; gap: 5px; color: var(--ink); font-size: 12px; font-weight: 700; }
.field input { min-height: 43px; padding: 10px 12px; border: 1px solid #cddbd0; border-radius: 9px; color: var(--ink); font: inherit; font-weight: 500; }
.field input:focus, .file-drop input:focus-visible { outline: 3px solid #d4e7d8; border-color: #76a588; }
.file-drop { display: grid; gap: 7px; padding: 14px; border: 1px dashed #9fbda7; border-radius: 11px; color: var(--ink); font-size: 12px; font-weight: 700; }
.file-drop input { width: 100%; font: inherit; }
.file-drop small { color: var(--muted); font-size: 11px; font-weight: 400; }
.authorization { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.authorization input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--green); }
.jobs-list { display: grid; gap: 9px; }
.job-row { align-items: flex-start; }
.job-main { min-width: 0; }
.job-title { display: block; overflow-wrap: anywhere; font-size: 13px; font-weight: 750; }
.job-meta { margin-top: 3px; color: var(--muted); font-size: 11px; }
.job-status { display: inline-flex; margin-top: 6px; padding: 3px 7px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: 10px; font-weight: 750; }
.job-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 7px; }
.button.compact { min-height: 34px; padding: 7px 11px; font-size: 11px; }
.report-panel { margin-top: 35px; }
.report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.report-heading h2 { margin: 5px 0 0; overflow-wrap: anywhere; }
.report-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.report-summary span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf8; font-size: 11px; }
.finding-list { display: grid; gap: 10px; }
.finding-card { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfb; }
.finding-card h3 { margin: 0 0 5px; font-size: 14px; }
.finding-card p { margin: 5px 0; color: var(--muted); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.finding-card .severity { color: #84541d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.report-notes { max-height: 260px; margin: 16px 0; padding: 13px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: #f8faf8; color: var(--muted); white-space: pre-wrap; font: 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.admin-panel { margin-top: 42px; }
.admin-panel h2 { margin: 5px 0; }
.empty-state { padding: 17px; border: 1px dashed #c8d8cc; border-radius: 11px; color: var(--muted); font-size: 12px; }
.account-footer { padding-bottom: 35px; }
@media (max-width: 760px) {
  .account-shell { width: min(100% - 30px, 650px); padding-top: 30px; }
  .account-summary { grid-template-columns: 1fr auto; gap: 14px; }
  .summary-metrics { grid-column: 1 / -1; grid-row: 2; }
  .account-plans { grid-template-columns: 1fr; }
  .account-plan { min-height: auto; }
  .order-row, .job-row { align-items: flex-start; flex-direction: column; }
  .job-actions { width: 100%; }
}
