.sf-account { background:#f4efe6; padding:56px 0 80px; min-height:75vh; color:#0e2a24; }
.page-title-area { display:none; }
.sf-account-intro { margin-bottom:32px; }
.sf-eyebrow { color:#9a631e; font-size:11px; letter-spacing:.15em; font-weight:700; }
.sf-account h1 { font:600 clamp(32px,4vw,50px)/1.12 'Playfair Display',serif; margin:12px 0 18px; }
.sf-account h2 { font:600 26px/1.25 'Playfair Display',serif; margin:0 0 18px; }
.sf-account p { color:#5c6b66; margin:12px 0; }
.sf-auth-card,.sf-panel,.sf-account-sidebar { border:1px solid rgba(14,42,36,.12); border-radius:20px; background:#fbf8f2; box-shadow:0 12px 40px rgba(14,42,36,.04); padding:32px; }
.sf-auth-card { max-width:520px; }
.sf-tabs { display:flex; gap:24px; padding-bottom:20px; margin-bottom:24px; border-bottom:1px solid #deded3; }
.sf-account a { color:inherit; text-underline-offset:4px; }
.sf-account a:hover { color:#a36a25; }
.sf-form { display:grid; gap:16px; margin-top:20px; }
.sf-form label { display:grid; gap:8px; font-weight:600; font-size:14px; }
.sf-form input:not([type=checkbox]):not([type=hidden]) { background:#fff; border:1px solid #d4d9d3; border-radius:10px; width:100%; padding:13px 16px; color:#0e2a24; min-height:48px; }
.sf-form input:focus { outline:2px solid #c9842a; outline-offset:2px; }
.sf-form .sf-check { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.65; font-weight:400; flex-wrap:wrap; }
.sf-check input { flex-shrink:0; width:18px; height:18px; margin-top:2px; accent-color:#0e2a24; }
.sf-check span { flex:1; min-width:180px; }
.sf-check a { text-decoration:underline; }
.sf-btn { display:inline-flex; justify-content:center; align-items:center; background:#c9842a; color:#fff; border:1px solid #c9842a; padding:13px 20px; border-radius:10px; min-height:48px; cursor:pointer; font-weight:600; font-size:14px; font-family:inherit; }
.sf-btn:hover { background:#b07320; }
.sf-btn-light { background:transparent; color:#0e2a24; border-color:#bcc8bf; }
.sf-btn-light:hover { background:#e9ece3; }
.sf-dashboard { display:grid; grid-template-columns:270px minmax(0,1fr); align-items:start; gap:28px; }
.sf-account-sidebar { background:#0e2a24; color:#f4efe6; padding:28px; }
.sf-account-sidebar h2 { font-family:Manrope,sans-serif; font-size:19px; overflow-wrap:anywhere; }
.sf-account-sidebar p { color:#b6c8bd; font-size:13px; overflow-wrap:anywhere; margin-bottom:28px; }
.sf-account-sidebar a { display:block; padding:12px 0; border-bottom:1px solid #2b473c; }
.sf-avatar { width:52px; height:52px; background:#d4b06a; color:#0e2a24; display:grid; place-items:center; border-radius:50%; font-size:24px; margin-bottom:20px; }
.sf-account-body { display:grid; gap:24px; min-width:0; }
.sf-panel { scroll-margin-top:100px; }
.sf-status { display:inline-block; padding:6px 12px; border-radius:30px; background:#e5ebdf; font-size:13px; color:#28543c; }
.sf-price { font-size:36px; font-weight:700; color:#0e2a24!important; }
.sf-price small { font-size:15px; font-weight:400; }
.sf-notice { border:1px solid #d4b06a; border-radius:12px; padding:16px 20px; background:#fff8e8; margin-bottom:24px; }
.sf-test { color:#8b5d18!important; font-size:13px; }
.sf-table-scroll { overflow-x:auto; }
.sf-account table { border-collapse:collapse; width:100%; font-size:14px; text-align:left; }
.sf-account td,.sf-account th { border-bottom:1px solid #dce1d8; padding:14px 10px; }
.sf-account td small { display:block; color:#748076; margin-top:4px; }
.sf-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
@media(max-width:760px) { .sf-dashboard { grid-template-columns:1fr; } .sf-account { padding-top:32px; } .sf-panel,.sf-auth-card { padding:24px 20px; } .sf-account-sidebar { padding:24px; } }

/* Password visibility controls: fixed touch target without moving the field. */
.sf-password-field { display:block; position:relative; width:100%; min-width:0; }
.sf-form .sf-password-field input:not([type=checkbox]):not([type=hidden]) { padding-right:56px; }
.sf-form .sf-password-toggle {
 position:absolute; inset-inline-end:3px; top:50%; transform:translateY(-50%);
 display:inline-flex; align-items:center; justify-content:center;
 width:44px; height:44px; min-height:44px; padding:0; margin:0;
 border:0; border-radius:8px; background:transparent; color:#37564c;
 cursor:pointer; line-height:1; box-shadow:none; touch-action:manipulation;
}
.sf-form .sf-password-toggle:hover { color:#a36a25; background:rgba(14,42,36,.05); }
.sf-form .sf-password-toggle:focus-visible { outline:2px solid #c9842a; outline-offset:-2px; }
.sf-password-toggle svg { display:block; pointer-events:none; flex-shrink:0; }
.sf-password-toggle .sf-eye-slash { display:none; }
.sf-password-toggle[aria-pressed="true"] .sf-eye-slash { display:block; }
.sf-password-field input::-ms-reveal { display:none; }

/* Subscription and saved-card controls in the site's cream/green palette. */
.sf-subscription-details { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; margin:24px 0; }
.sf-subscription-info,.sf-payment-method { background:#f4efe6; border:1px solid #dce1d8; border-radius:14px; padding:20px; min-width:0; }
.sf-account .sf-subscription-details h3 { font-size:17px; margin:0 0 16px; }
.sf-subscription-info dl { margin:0; font-size:13px; }
.sf-subscription-info dl>div { display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid #dce1d8; }
.sf-subscription-info dl>div:last-child { border-bottom:0; }
.sf-subscription-info dt { color:#5c6b66; }
.sf-subscription-info dd { margin:0; text-align:right; font-weight:600; }
.sf-card-line { display:flex; align-items:flex-start; gap:12px; }
.sf-card-symbol { width:38px; height:30px; border:1px solid #b5c4ba; border-radius:6px; display:grid; place-items:center; color:#a36a25; flex-shrink:0; }
.sf-card-line strong { font-size:14px; overflow-wrap:anywhere; }
.sf-account .sf-card-line p,.sf-account .sf-cancel-help { font-size:12px; line-height:1.6; }
.sf-cancel-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.sf-form .sf-cancel-link { border:0; padding:10px 0; min-height:44px; background:transparent; color:#8d4637; text-decoration:underline; text-underline-offset:4px; cursor:pointer; font:inherit; font-size:13px; }
.sf-form .sf-cancel-link:focus-visible { outline:2px solid #c9842a; outline-offset:3px; }
.sf-cancel-dialog { width:calc(100% - 32px); max-width:540px; max-height:calc(100dvh - 40px); padding:0; border:1px solid #deded3; border-radius:20px; color:#0e2a24; background:#fbf8f2; overflow:auto; box-shadow:0 24px 80px rgba(0,0,0,.28); }
.sf-cancel-dialog:not([open]) { display:none; }
.sf-cancel-dialog::backdrop { background:rgba(5,22,17,.72); }
.sf-cancel-dialog-body { position:relative; padding:34px 28px 28px; }
.sf-account .sf-cancel-dialog h2 { font-size:26px; text-align:center; margin:16px 0; }
.sf-account .sf-cancel-dialog p { font-size:14px; line-height:1.7; }
.sf-dialog-close { position:absolute; right:8px; top:8px; width:44px; height:44px; border:0; background:transparent; color:#5c6b66; border-radius:10px; font:28px/1 system-ui,sans-serif; cursor:pointer; }
.sf-dialog-close:hover { background:#f4efe6; }
.sf-dialog-symbol { margin:4px auto 0; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; color:#994c3d; background:#f5e6da; font-size:24px; font-weight:700; }
.sf-dialog-card { display:grid; gap:6px; padding:16px; border:1px solid #dce1d8; background:#f4efe6; border-radius:12px; margin:18px 0; }
.sf-dialog-card span { font-size:12px; color:#5c6b66; }
.sf-dialog-card strong { font-size:15px; overflow-wrap:anywhere; }
.sf-dialog-period { background:#edf0e5; padding:15px; border-radius:12px; font-size:13px; line-height:1.7; }
.sf-account .sf-dialog-pending { font-size:12px; }
.sf-dialog-actions { display:grid; gap:10px; margin-top:24px; }
.sf-btn-danger { background:#a74e3a; border-color:#a74e3a; color:#fff; }
.sf-btn-danger:hover { background:#8b3e2c; border-color:#8b3e2c; }
.sf-btn:disabled { cursor:wait; opacity:.65; }
@media(max-width:760px) { .sf-subscription-details { grid-template-columns:1fr; } .sf-cancel-dialog-body { padding:34px 20px 22px; } .sf-account .sf-cancel-dialog h2 { font-size:23px; } }
