:root { --ink:#17211d; --muted:#6e7973; --paper:#f5f4ef; --white:#fff; --line:#d9ddd5; --accent:#c9f27c; --green:#658d3f; --danger:#965246; }
* { box-sizing:border-box; }
html { min-height:100%; background:var(--paper); }
body { min-height:100vh; margin:0; color:var(--ink); background:radial-gradient(circle at 88% 3%,rgba(201,242,124,.24),transparent 23%),linear-gradient(90deg,rgba(23,33,29,.025) 1px,transparent 1px),var(--paper); background-size:auto,42px 42px; font-family:Inter,"Segoe UI",Arial,sans-serif; }
button,input,textarea { font:inherit; }
.hidden { display:none !important; }
.account-shell { min-height:100vh; display:grid; grid-template-columns:290px minmax(0,1fr); }
.account-sidebar { position:sticky; top:0; height:100vh; padding:22px 18px 18px; display:flex; flex-direction:column; border-right:1px solid rgba(255,255,255,.1); background:#13201a; color:#fff; }
.account-brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; }
.account-brand img { width:50px; height:50px; object-fit:contain; }
.account-brand strong,.account-brand small { display:block; }
.account-brand strong { font:400 25px Georgia,serif; }
.account-brand small { margin-top:3px; color:#8e9d95; font-size:10px; }
.account-person { margin:23px 0 16px; padding:14px; display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:11px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(255,255,255,.04); }
.account-person i { width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:var(--accent);color:var(--ink);font:normal 800 17px Georgia,serif; }
.account-person strong,.account-person small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.account-person strong { font-size:13px; }.account-person small { margin-top:4px;color:#93a199;font-size:9px; }
#account-nav { display:grid;gap:6px; }
#account-nav button { width:100%; min-height:58px; padding:7px 9px; display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-radius:10px;background:transparent;color:#b5c0ba;text-align:left;cursor:pointer;transition:.18s; }
#account-nav button:hover { background:rgba(255,255,255,.06);color:#fff; }
#account-nav button.active { background:#f5f4ef;color:var(--ink);box-shadow:0 12px 28px rgba(0,0,0,.2); }
#account-nav button>i { width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.07);font:normal 800 11px Consolas,monospace; }
#account-nav button.active>i { background:var(--accent); }
#account-nav strong,#account-nav small { display:block; }#account-nav strong{font-size:12px}#account-nav small{margin-top:3px;color:#75847c;font-size:9px}#account-nav button>b{padding:4px 6px;border-radius:999px;background:rgba(201,242,124,.15);color:var(--accent);font-size:7px}#account-nav button.active>b{background:#e1efcf;color:#527331}
.account-sidebar-footer { margin-top:auto;padding-top:16px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.1); }.account-sidebar-footer a,.account-sidebar-footer button{border:0;background:none;color:#9aa79f;font-size:9px;text-decoration:none;cursor:pointer}.account-sidebar-footer a:hover,.account-sidebar-footer button:hover{color:#fff}
.account-main { min-width:0; }
.account-header { position:sticky;z-index:10;top:0;min-height:118px;padding:24px clamp(24px,4vw,58px) 19px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-bottom:1px solid rgba(23,33,29,.11);background:rgba(245,244,239,.93);backdrop-filter:blur(14px); }
.account-header>div>span,.section-intro>span,.settings-card header span,.profile-hero span,.api-access-card span,.api-base-card span,.key-reveal>span,.api-test-lab span,.docs-hero span,.php-example-card header span { color:var(--green);font-size:8px;font-weight:900;letter-spacing:.16em; }
.account-header h1 { margin:5px 0 5px;font:400 clamp(30px,3.4vw,46px)/1 Georgia,serif;letter-spacing:-.035em; }.account-header p{margin:0;color:var(--muted);font-size:12px}
.account-header-actions{display:flex;align-items:center;gap:10px}.account-header-actions>a{min-height:42px;padding:0 14px;display:flex;align-items:center;border-radius:8px;background:var(--ink);color:#fff;font-size:9px;font-weight:800;text-decoration:none}.save-state{min-height:38px;padding:0 12px;display:flex;align-items:center;gap:7px;border:1px solid #d4d9d1;border-radius:8px;background:#fff;color:#6c7771;font-size:9px}.save-state i{width:7px;height:7px;border-radius:50%;background:#7ea84c}.save-state.saving i{background:#d6a34f;animation:pulse 1s infinite}.save-state.error i{background:#a85449}@keyframes pulse{50%{opacity:.25}}
.settings-page{width:min(1220px,calc(100% - 48px));margin:0 auto;padding:48px 0 80px}.profile-hero{min-height:285px;padding:42px 48px;display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:30px;border-radius:24px;background:radial-gradient(circle at 76% 34%,rgba(201,242,124,.16),transparent 27%),var(--ink);color:#fff;box-shadow:0 28px 70px rgba(16,27,21,.16)}.profile-hero h2{max-width:650px;margin:13px 0 17px;font:400 clamp(42px,5vw,66px)/.98 Georgia,serif;letter-spacing:-.045em}.profile-hero p{max-width:670px;margin:0;color:#aab6af;font-size:14px;line-height:1.75}.profile-hero img{width:240px;height:240px;justify-self:end;object-fit:contain;filter:drop-shadow(0 24px 30px rgba(0,0,0,.25))}
.overview-grid{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.overview-grid article{min-height:145px;padding:22px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.74)}.overview-grid span{color:#718367;font-size:8px;font-weight:900;letter-spacing:.14em}.overview-grid strong,.overview-grid small{display:block}.overview-grid strong{margin-top:20px;overflow:hidden;font:400 22px Georgia,serif;text-overflow:ellipsis;white-space:nowrap}.overview-grid small{margin-top:7px;color:var(--muted);font-size:9px;line-height:1.5}
.profile-actions{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.profile-actions button,.profile-actions a{min-height:95px;padding:16px;display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);text-align:left;text-decoration:none;cursor:pointer;transition:.18s}.profile-actions button:hover,.profile-actions a:hover{transform:translateY(-3px);border-color:#acc78a;box-shadow:0 15px 35px rgba(23,33,29,.08)}.profile-actions i{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:#e8f2dc;color:#567238;font:normal 800 11px Consolas,monospace}.profile-actions strong,.profile-actions small{display:block}.profile-actions strong{font-size:12px}.profile-actions small{margin-top:4px;color:var(--muted);font-size:9px}.profile-actions b{color:#779a4e}.admin-settings-link{margin-top:16px;padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #cad9b6;border-radius:12px;background:#eff7e5}.admin-settings-link strong,.admin-settings-link small{display:block}.admin-settings-link strong{font-size:12px}.admin-settings-link small{margin-top:4px;color:#68775f;font-size:9px}.admin-settings-link a{color:#4f6e32;font-size:9px;font-weight:900;text-decoration:none}
.api-access-card{padding:26px 28px;display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:22px;border-radius:19px;background:var(--ink);color:#fff;box-shadow:0 20px 55px rgba(16,27,21,.14)}.api-access-card.full{background:linear-gradient(135deg,#173125,#29482f)}.api-access-icon{width:68px;height:68px;display:grid;place-items:center;border:1px solid rgba(201,242,124,.22);border-radius:18px;background:rgba(201,242,124,.08);color:var(--accent);font:800 15px Consolas,monospace}.api-access-card h2{margin:8px 0 8px;font:400 30px Georgia,serif}.api-access-card p{margin:0;color:#aab6af;font-size:11px;line-height:1.65}.api-access-card>b{padding:7px 10px;border-radius:999px;background:rgba(201,242,124,.14);color:var(--accent);font-size:8px;letter-spacing:.11em}.api-base-card{margin-top:14px;padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:14px;background:#fff}.api-base-card code{margin-top:8px;display:block;color:#47652f;font:600 18px Consolas,monospace}.api-base-card small{margin-top:6px;display:block;color:var(--muted);font-size:9px}.api-base-card button,.key-reveal button,.php-example-card button,.docs-hero button{min-height:39px;padding:0 12px;border:1px solid #c8d8b7;border-radius:8px;background:#edf6e3;color:#4c6932;font-size:8px;font-weight:900;cursor:pointer}
.key-reveal{margin-top:14px;padding:20px;border:1px solid #9dbd74;border-radius:13px;background:#eef8df}.key-reveal>div{margin-top:10px;display:flex;gap:9px}.key-reveal code{min-width:0;flex:1;padding:13px;overflow:auto;border:1px solid #c7d9b0;border-radius:8px;background:#fff;color:#294119;font:12px Consolas,monospace;white-space:nowrap}.key-reveal p{margin:9px 0 0;color:#68785e;font-size:9px}.settings-card{margin-top:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.82);box-shadow:0 12px 35px rgba(23,33,29,.04)}.key-manager>header{padding:22px 23px;display:flex;align-items:end;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.key-manager h2{margin:6px 0 5px;font:400 27px Georgia,serif}.key-manager header p{margin:0;color:var(--muted);font-size:9px}.key-manager form{display:flex;gap:8px}.key-manager input{width:250px;height:42px;padding:0 11px;border:1px solid #cdd3ca;border-radius:8px;background:#fff;outline:0}.key-manager form button,.billing-form footer button,.security-card>button,.api-test-lab button{min-height:42px;padding:0 15px;border:0;border-radius:8px;background:var(--ink);color:#fff;font-size:9px;font-weight:900;cursor:pointer}.settings-key-list{padding:12px 18px 18px;display:grid;gap:8px}.settings-key-list>p{padding:30px;color:var(--muted);text-align:center}.settings-key-list article{padding:13px;display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:12px;border:1px solid #dde1da;border-radius:10px;background:#fff}.settings-key-list article.revoked{opacity:.6;background:#f1f1ee}.settings-key-list article>i{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;background:#e7f1db;color:#5d793c;font:normal 800 12px Consolas,monospace}.settings-key-list strong,.settings-key-list code,.settings-key-list small{display:block}.settings-key-list strong{font-size:11px}.settings-key-list code{margin-top:3px;overflow:hidden;color:#59665f;font:10px Consolas,monospace;text-overflow:ellipsis;white-space:nowrap}.settings-key-list small{margin-top:5px;color:#858d88;font-size:8px}.settings-key-list article>b{padding:5px 7px;border-radius:999px;background:#e5f1d5;color:#5a7738;font-size:7px}.settings-key-list article>button{border:0;border-bottom:1px solid currentColor;background:none;color:var(--danger);font-size:8px;font-weight:800;cursor:pointer}
.api-test-lab{margin-top:14px;overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr;border-radius:18px;background:var(--ink);color:#fff}.api-test-lab>div{padding:30px}.api-test-lab h2{margin:9px 0 10px;font:400 31px Georgia,serif}.api-test-lab p{margin:0 0 20px;color:#aab6af;font-size:10px;line-height:1.65}.api-test-lab p code{color:var(--accent)}.api-test-lab label{display:grid;gap:6px;color:#b8c1bc;font-size:9px}.api-test-lab input{height:43px;padding:0 11px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(255,255,255,.06);color:#fff;outline:0}.api-test-lab button{margin-top:10px;background:var(--accent);color:var(--ink)}.api-test-lab pre{min-width:0;margin:0;padding:30px;overflow:auto;border-left:1px solid rgba(255,255,255,.1);background:radial-gradient(circle at 85% 12%,rgba(201,242,124,.08),transparent 28%)}.api-test-lab code{color:#cfd9d2;font:11px/1.7 Consolas,monospace;white-space:pre-wrap}.api-test-lab.success pre{box-shadow:inset 4px 0 #8fbd55}.api-test-lab.error pre{box-shadow:inset 4px 0 #b76558}.docs-promo{margin-top:14px;padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #bed39f;border-radius:14px;background:linear-gradient(115deg,#edf7df,#fff);color:var(--ink);text-decoration:none}.docs-promo small,.docs-promo strong{display:block}.docs-promo small{color:#62823f;font-size:8px;font-weight:900;letter-spacing:.14em}.docs-promo strong{margin-top:6px;font:400 18px Georgia,serif}.docs-promo>b{color:#557635;font-size:9px}
.docs-hero{min-height:270px;padding:36px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:35px;border-radius:20px;background:var(--ink);color:#fff}.docs-hero h2{margin:11px 0 13px;font:400 clamp(37px,4.2vw,56px)/1 Georgia,serif}.docs-hero p{max-width:720px;margin:0;color:#aeb9b2;font-size:12px;line-height:1.7}.docs-hero>code{padding:16px 19px;border:1px solid rgba(201,242,124,.2);border-radius:11px;background:rgba(201,242,124,.08);color:var(--accent);font:13px Consolas,monospace}.docs-hero>div>div{margin-top:22px;display:flex;gap:9px}.docs-hero a{min-height:42px;padding:0 14px;display:inline-flex;align-items:center;border-radius:8px;background:var(--accent);color:var(--ink);font-size:9px;font-weight:900;text-decoration:none}.endpoint-grid{margin-top:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.endpoint-grid article{min-height:150px;padding:21px;border:1px solid var(--line);border-radius:13px;background:#fff}.endpoint-grid b{padding:5px 7px;border-radius:5px;background:#e6f0da;color:#557537;font:800 8px Consolas,monospace}.endpoint-grid>article>code{margin-left:7px;color:#42524a;font:10px Consolas,monospace}.endpoint-grid p{margin:27px 0 0;color:var(--muted);font-size:9px;line-height:1.6}.php-example-card{margin-top:14px;overflow:hidden;border-radius:17px;background:var(--ink);color:#fff}.php-example-card header{padding:18px 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.1)}.php-example-card h2{margin:6px 0 0;font:400 25px Georgia,serif}.php-example-card pre{min-height:430px;max-height:620px;margin:0;padding:27px;overflow:auto}.php-example-card code{color:#d4ded7;font:12px/1.7 Consolas,monospace;white-space:pre}
.section-intro{max-width:780px;margin-bottom:27px}.section-intro h2{margin:10px 0 12px;font:400 clamp(38px,4.6vw,58px)/1 Georgia,serif}.section-intro p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.billing-form{padding:23px}.billing-status-row{margin-bottom:20px;padding:15px;display:flex;align-items:center;justify-content:space-between;border-radius:10px;background:#f0f5e9}.billing-status-row strong,.billing-status-row small{display:block}.billing-status-row strong{font-size:11px}.billing-status-row small{margin-top:4px;color:var(--muted);font-size:9px}.billing-status-row>b{padding:6px 8px;border-radius:999px;background:#e4ecd9;color:#587238;font-size:8px}.billing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.billing-grid label,.security-card label{display:grid;gap:7px;color:#48544e;font-size:10px;font-weight:800}.billing-grid label.wide{grid-column:span 2}.billing-grid em{color:#9c5b4f;font-style:normal}.billing-grid small{color:#78827c;font-size:8px;font-weight:500}.billing-grid input,.billing-grid textarea,.security-card input{width:100%;min-height:43px;padding:9px 11px;border:1px solid #cfd5cc;border-radius:8px;background:#fff;color:var(--ink);outline:0;resize:vertical}.billing-grid input:focus,.billing-grid textarea:focus,.security-card input:focus{border-color:#8eaa67;box-shadow:0 0 0 4px rgba(111,145,68,.1)}.billing-form footer{margin-top:22px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line)}.billing-form footer a{color:#60704a;font-size:9px;font-weight:800;text-decoration:none}.security-card{max-width:700px;padding:27px;display:grid;gap:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.account-password-rules{display:flex;flex-wrap:wrap;gap:8px}.account-password-rules span{padding:7px 9px;border-radius:999px;background:#f0f1ed;color:#7d8580;font-size:8px}.account-password-rules span.valid{background:#e7f2da;color:#567538}.account-password-rules i{font-style:normal}.security-card>button{justify-self:start}.settings-toast{position:fixed;z-index:100;right:22px;bottom:22px;max-width:390px;padding:13px 16px;border-radius:9px;background:var(--ink);color:#fff;font-size:10px;box-shadow:0 17px 50px rgba(10,20,15,.3);opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.settings-toast.visible{opacity:1;transform:none}.settings-toast.error{background:#7f443b}
.api-key-dialog{width:min(620px,calc(100% - 28px));margin:auto;padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 32px 100px rgba(7,18,12,.42)}.api-key-dialog::backdrop{background:rgba(8,17,12,.72);backdrop-filter:blur(7px)}.api-key-dialog[open]{animation:key-dialog-in .24s ease-out}.api-key-dialog-head{padding:25px 27px 19px;display:grid;grid-template-columns:56px minmax(0,1fr) 34px;align-items:center;gap:15px;border-bottom:1px solid #e2e7de;background:linear-gradient(125deg,#f4faeb,#fff)}.api-key-dialog-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:15px;background:var(--ink);color:var(--accent);font:800 12px Consolas,monospace;box-shadow:0 12px 25px rgba(23,33,29,.16)}.api-key-dialog-head span{color:var(--green);font-size:8px;font-weight:900;letter-spacing:.16em}.api-key-dialog h2{margin:6px 0 0;font:400 29px/1.05 Georgia,serif}.api-key-dialog-close{width:34px;height:34px;border:0;border-radius:50%;background:#e9ede6;color:#59645e;font-size:21px;line-height:1;cursor:pointer}.api-key-dialog-lead{margin:0;padding:22px 27px 15px;color:#68746d;font-size:11px;line-height:1.65}.api-key-dialog-value{margin:0 27px;padding:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border:1px solid #afc98d;border-radius:12px;background:#eef8df}.api-key-dialog-value code{min-width:0;padding:10px;overflow:auto;color:#263c1b;font:12px/1.5 Consolas,monospace;white-space:nowrap}.api-key-dialog-value button{min-height:42px;padding:0 14px;border:0;border-radius:8px;background:var(--ink);color:#fff;font-size:9px;font-weight:900;cursor:pointer}.api-key-dialog-warning{margin:15px 27px 23px;padding:13px 14px;display:flex;align-items:center;gap:11px;border:1px solid #ead8b7;border-radius:11px;background:#fff8e9}.api-key-dialog-warning>i{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#f1d391;color:#76571e;font-style:normal;font-weight:900}.api-key-dialog-warning strong,.api-key-dialog-warning small{display:block}.api-key-dialog-warning strong{font-size:10px}.api-key-dialog-warning small{margin-top:3px;color:#81745e;font-size:8px}.api-key-dialog footer{padding:16px 27px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#17211d;color:#fff}.api-key-dialog footer span{max-width:310px;color:#aeb9b2;font-size:8px;line-height:1.55}.api-key-dialog footer button{min-height:40px;padding:0 15px;border:0;border-radius:8px;background:var(--accent);color:var(--ink);font-size:9px;font-weight:900;cursor:pointer}@keyframes key-dialog-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:980px){.account-shell{min-width:0;grid-template-columns:minmax(0,1fr);overflow-x:hidden}.account-sidebar{position:static;width:100%;min-width:0;height:auto;padding:13px;overflow:hidden}.account-main{width:100%;min-width:0}.account-person,.account-sidebar-footer{display:none}.account-brand{margin-bottom:10px}.account-brand img{width:40px;height:40px}#account-nav{width:100%;min-width:0;display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}#account-nav::-webkit-scrollbar{display:none}#account-nav button{min-width:155px;flex:0 0 155px}.account-header{position:static}.profile-hero{grid-template-columns:1fr}.profile-hero img{display:none}.overview-grid,.profile-actions,.endpoint-grid{grid-template-columns:1fr}.api-test-lab{grid-template-columns:1fr}.api-test-lab pre{min-height:250px;border-left:0;border-top:1px solid rgba(255,255,255,.1)}.billing-grid{grid-template-columns:1fr}.billing-grid label.wide{grid-column:auto}}
@media(max-width:650px){.account-header{padding:18px 15px;align-items:stretch;flex-direction:column}.account-header-actions{justify-content:space-between}.save-state{flex:1}.settings-page{width:calc(100% - 28px);padding:28px 0 55px}.profile-hero{min-height:0;padding:28px 22px}.profile-hero h2{font-size:43px}.api-access-card{grid-template-columns:52px minmax(0,1fr)}.api-access-icon{width:52px;height:52px}.api-access-card>b{grid-column:2;justify-self:start}.api-base-card,.key-manager>header,.docs-promo{align-items:stretch;flex-direction:column}.key-manager form{display:grid}.key-manager input{width:100%}.settings-key-list{padding-inline:9px}.settings-key-list article{grid-template-columns:39px minmax(0,1fr) auto}.settings-key-list article>button{grid-column:2/-1;justify-self:start}.docs-hero{padding:26px 21px;grid-template-columns:1fr}.docs-hero>code{overflow:auto}.docs-hero>div>div{display:grid}.php-example-card pre{padding:20px 14px}.php-example-card code{font-size:10px}.billing-form{padding:15px}.billing-form footer{align-items:stretch;flex-direction:column;gap:15px}.api-key-dialog-head{padding:20px 17px 16px;grid-template-columns:46px minmax(0,1fr) 32px;gap:10px}.api-key-dialog-icon{width:46px;height:46px;border-radius:12px}.api-key-dialog h2{font-size:23px}.api-key-dialog-lead{padding:18px 17px 13px}.api-key-dialog-value{margin-inline:17px;grid-template-columns:1fr}.api-key-dialog-value button{width:100%}.api-key-dialog-warning{margin:13px 17px 18px}.api-key-dialog footer{padding:15px 17px;align-items:stretch;flex-direction:column}.api-key-dialog footer button{width:100%}}
