/* AiR shared account surfaces: calm spacing, readable forms, consistent controls. */
body:not([data-air-page="demo"]){--air-surface:#fffefa;--air-border:#e2e8e1;--air-muted:#708078;background:#f6f7f3;color:#253b33;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
body:not([data-air-page="demo"]) header{border-top:0;border-bottom:1px solid var(--air-border);background:rgba(255,254,250,.94);padding:20px clamp(18px,4vw,48px);gap:20px;box-shadow:0 2px 16px #263d3203}
body:not([data-air-page="demo"]) main{margin:36px auto 64px;padding-inline:24px}
body:not([data-air-page="demo"]) :is(h1,h2,h3){line-height:1.25;letter-spacing:-.025em;color:inherit}
body:not([data-air-page="demo"]) h1{font-size:clamp(25px,3vw,34px);font-weight:650;margin:12px 0 22px}
body:not([data-air-page="demo"]) h2{font-size:21px;font-weight:620;margin-bottom:16px}
body:not([data-air-page="demo"]) :is(.card,.panel,main>section,main>.grid>details,main>details){background:var(--air-surface);border:1px solid var(--air-border);border-radius:22px;box-shadow:0 8px 28px #294b3510;padding:28px;margin-bottom:20px}
body:not([data-air-page="demo"]) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font:inherit;font-size:15px;line-height:1.5;min-height:48px;padding:12px 14px;border:1px solid #d9e2d9;border-radius:12px;background:#fff;color:inherit;max-width:100%;box-shadow:0 1px 3px #233c3603;transition:border-color .15s,box-shadow .15s}
body:not([data-air-page="demo"]) :is(input,textarea,select):focus{outline:none;border-color:#489574;box-shadow:0 0 0 4px #08785412}
body:not([data-air-page="demo"]) input:is([type=checkbox],[type=radio]){accent-color:#087854;width:19px;height:19px;flex-shrink:0}
body:not([data-air-page="demo"]) label{font-weight:550;color:#435d50;margin:18px 0 8px}
body:not([data-air-page="demo"]) label.check{font-weight:400;line-height:1.65}
body:not([data-air-page="demo"]) :is(button,.button){font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:11px 18px;border-radius:12px;box-shadow:none;transition:background .15s,transform .15s}
body:not([data-air-page="demo"]) button:not(.secondary):not(.plain):not(.report):not(.thread){background:#087854;color:#fff}
body:not([data-air-page="demo"]) :is(.secondary,button.plain){background:#eff3ec;color:#365944;border:1px solid #e0e7da}
body:not([data-air-page="demo"]) button:disabled{opacity:.5;cursor:not-allowed}
body:not([data-air-page="demo"]) a{text-underline-offset:4px;text-decoration-thickness:1px}
body:not([data-air-page="demo"]) header a{font-size:14px;text-decoration:none;padding:6px 0}
body:not([data-air-page="demo"]) :is(.hint,small,.muted){color:var(--air-muted);line-height:1.65}
body:not([data-air-page="demo"]) :is(.notice,.privacy){background:#f0f4ec;border:1px solid #e2e9da;border-radius:14px;padding:16px 18px;font-size:13px}
body:not([data-air-page="demo"]) .draft{background:#fbf4e7;border-color:#eee2cb;color:#75654e}
body:not([data-air-page="demo"]) summary{padding:6px 0;font-weight:600;cursor:pointer;line-height:1.5}
body:not([data-air-page="demo"]) details[open]>summary{margin-bottom:20px}
body:not([data-air-page="demo"]) :is(.actions,.row){gap:12px}
body:not([data-air-page="demo"]) dialog{border:1px solid var(--air-border);border-radius:22px;padding:28px;box-shadow:0 24px 70px #163c3329}
body:not([data-air-page="demo"]) dialog::backdrop{background:#16392c66;backdrop-filter:blur(3px)}
body:not([data-air-page="demo"]) .message{border-radius:18px;background:#f1f4ed;padding:14px 18px;box-shadow:0 2px 8px #233c3604}
body:not([data-air-page="demo"]) .message.mine{background:#e6f1e8;border-bottom-right-radius:5px}
body:not([data-air-page="demo"]) .thread{background:transparent;border:1px solid transparent;padding:13px;border-radius:14px}
body:not([data-air-page="demo"]) .thread.active{outline:0;background:#edf5ec;border-color:#c8dfcb}
body[data-air-page="account"] main{max-width:860px}
body[data-air-page="account"] #memberForm{max-width:100%}
body[data-air-page="auth"] main{max-width:510px;margin:6vh auto;padding:32px;background:var(--air-surface);border:1px solid var(--air-border);border-radius:24px;box-shadow:0 16px 48px #233c3609}
body[data-air-page="auth"] .tabs{padding:5px;background:#f2f5ef;border-radius:14px;gap:6px}
body[data-air-page="auth"] .tabs a{border:0;border-radius:10px;font-size:14px;text-decoration:none}
body[data-air-page="auth"] .tabs a[aria-current=page]{background:#fff;color:#087854;box-shadow:0 2px 8px #233c3610;font-weight:650}
body[data-air-page="auth"] #submit{width:100%;margin-top:24px}
.security-table{width:100%;border-collapse:collapse;font-size:13px}.security-table th,.security-table td{text-align:left;border-bottom:1px solid var(--air-border);padding:13px 12px;vertical-align:top;overflow-wrap:anywhere}.table-scroll{overflow-x:auto}.security-table th{white-space:nowrap;color:#718078;font-weight:550}.security-table time{white-space:nowrap}.security-ip{font-family:ui-monospace,monospace;font-size:12px}.security-pagination{display:flex;justify-content:space-between;gap:12px;margin-top:18px}
html[data-air-theme=dark] body:not([data-air-page="demo"]){--air-surface:#1d3027;--air-border:#40584a;--air-muted:#adbbb1}
html[data-air-theme=dark] body:not([data-air-page="demo"]) :is(.tabs,.privacy){background:#233b2e!important;color:#e4eee7!important}
@media(max-width:640px){body:not([data-air-page="demo"]) header{padding:16px;gap:14px}body:not([data-air-page="demo"]) main{margin:22px auto 40px;padding-inline:16px}body:not([data-air-page="demo"]) :is(.card,.panel,main>section,main>.grid>details,main>details){padding:20px;border-radius:18px}body:not([data-air-page="demo"]) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px}body[data-air-page="auth"] main{width:calc(100% - 28px);padding:24px 20px;margin:22px auto}body:not([data-air-page="demo"]) .grid{grid-template-columns:1fr}body:not([data-air-page="demo"]) .actions>*{max-width:100%}}
@media(prefers-reduced-motion:reduce){body:not([data-air-page="demo"]) *{transition:none!important}}
.security-table{min-width:760px}.security-table td{white-space:nowrap}.security-ip{white-space:nowrap}.table-scroll{max-width:100%;min-width:0}
