.content:has(.account-shell){max-width:none;padding:20px 57px 70px}
.account-shell{width:100%}
.account-tabs{height:28px;display:flex;align-items:center;gap:4px;margin-bottom:20px;padding-left:4px}
.account-tabs a{font-size:12px;font-weight:550;line-height:16px;padding:6px 12px;border-radius:8px;white-space:nowrap}
.account-tabs a.active{background:#e4e4e4}
.account-tabs a:hover{background:#eaeaea}
.account-feature{height:80px;display:flex;align-items:center;gap:8px;padding:11px 15px;margin-bottom:20px}
.account-feature:has(img[src$="members.png"]){height:88px}
.account-feature.members-feature{height:88px}
.members-empty{margin-bottom:40px}
.account-feature img{width:56px;height:56px;object-fit:contain;flex:none}
.account-feature-copy{flex:1;min-width:0}
.account-feature h2,.account-agent h2{font-size:13px;font-weight:650;line-height:20px;margin:0 0 6px}
.account-feature p{font-size:13px;line-height:20px;margin:0}
.account-feature p a{color:#0862aa;text-decoration:underline}
.account-feature>.btn{height:30px;font-size:12px}
.account-feature>.btn:disabled{background:#ddd;color:#fff;border-color:#ddd;opacity:1}
.account-shell:has(.account-agent) .account-feature{height:108px}
.account-agent{height:80px;display:flex;align-items:center;gap:16px;padding:15px;margin-top:20px}
.account-agent-avatar{width:48px;height:48px;border-radius:5px;background:#e3defa;color:#313078;display:grid;place-items:center;font-size:16px}
.account-agent-copy{flex:1}
.account-agent-copy small{font-size:11px}
.account-agent .btn{height:29px;font-size:12px}
.account-delete{color:#8f1710}
html:has(.account-subscription-detail){scrollbar-gutter:stable}
.account-subscription-detail{overflow:hidden}
.account-subscription-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#202124;color:#fff;padding:16px}
.account-subscription-head h2{font-size:16px;line-height:23px;margin:0 0 2px}
.account-subscription-head p{color:#c9c9c9;margin:0}
.account-subscription-meter{padding:16px}
.account-subscription-meter h3{font-size:13px;font-weight:550;color:#5d5d5d;margin:0 0 4px}
.account-subscription-values{display:flex;justify-content:space-between;align-items:baseline;gap:8px;color:#5d5d5d}
.account-subscription-values strong{font-size:26px;line-height:34px;color:#242424;font-variant-numeric:tabular-nums}
.account-subscription-progress{height:12px;border-radius:10px;overflow:hidden;background:#e4e4e4;margin-top:6px}
.account-subscription-progress>span{display:block;height:100%;border-radius:inherit;background:#292929}
.account-subscription-meter small{display:block;margin-top:6px;color:#666}
.account-subscription-foot{display:flex;gap:16px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid #e8e8e8}
.account-subscription-foot strong{font-weight:550}
.account-meter-label{color:#5d5d5d;text-decoration:underline dotted;text-underline-offset:3px}
.account-subscription-detail + .account-billing-head{margin-top:22px}
@media(max-width:640px){
  .account-plan-view .account-plan-arrow{left:4px}
  .account-plan-view .account-plan-arrow.next{left:auto;right:4px}
}
.account-subscription-body{padding:12px 15px 16px;font-size:13px;line-height:20px}
.account-subscription-body p{margin:0}
.account-subscription-body ul{margin:0 0 0 20px;padding:0}
.account-cancel{height:28px;margin-top:8px;color:#9b3832;font-size:12px;font-weight:550}
.account-billing-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:40px 0 20px}
.account-billing-head h2{font-size:13px;font-weight:650;margin:0}
.account-billing-toggle{display:flex;align-items:center;gap:4px;padding:0 4px}
.account-billing-toggle button{display:inline-flex;align-items:center;gap:8px;justify-content:center;height:28px;border:0;background:transparent;border-radius:8px;color:#4a4a4a;font-size:12px;font-weight:500;line-height:16px;padding:0 12px;white-space:nowrap}
.account-billing-toggle button:hover,.account-billing-toggle button[aria-selected="true"]{background:#0000000f;color:#303030}
.account-billing-toggle span{background:#cdfee1;color:#083d25;border-radius:8px;font-size:12px;font-weight:400;line-height:16px;padding:2px 8px}
.account-plan-view{position:relative}
.account-plans{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/4);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.account-plans::-webkit-scrollbar{display:none}
.account-plan{min-width:0;background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;min-height:528px;display:flex;flex-direction:column;scroll-snap-align:start}
.account-plans[data-cycle="annual"] .account-plan{min-height:488px}
.account-plan-top{min-height:141px;padding:16px;border-bottom:1px solid #e8e8e8;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.account-plans[data-cycle="annual"] .account-plan-top{min-height:161px}
.account-plan h3{font-size:14px;font-weight:650;line-height:20px;margin:0;overflow-wrap:anywhere}
.account-plan-current-mark{color:#25845d;margin-left:5px}
.account-plan-price{font-size:13px;line-height:24px}
.account-plan-price strong{font-size:20px;font-weight:650}
.account-plan-top small{display:block;color:#616161;font-size:12px;line-height:16px;margin-top:-12px}
.account-plan-top>.btn{height:32px;font-size:13px;width:auto;min-width:0;padding:6px 12px;border-radius:8px}
.account-plan-top>.account-current:disabled{background:#0000000d;color:#616161;border:0;opacity:1}
.account-plan-top>p{font-size:13px;line-height:20px;margin:0}
.account-plan-features{padding:16px;flex:1;display:flex;flex-direction:column;gap:16px}
.account-plan-features h4{font-size:13px;font-weight:650;line-height:20px;margin:0}
.account-plan-features>div{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:20px}
.account-check{height:20px;width:20px;flex:none;color:#25845d}
.account-overage{border-top:1px solid #e7e7e7;padding:16px;font-size:11px;line-height:16px;color:#666;min-height:66px;margin:0}
.account-overage-note{display:block;font-size:inherit}
.account-plan-arrow{position:absolute;left:-22px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:#fff;box-shadow:0 3px 12px #00000026;display:grid;place-items:center;padding:0}
.account-plan-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.account-plan-arrow.next{left:auto;right:-22px}
.account-plan-arrow.is-hidden{display:none}
.account-plan-count{text-align:center;font-size:12px;color:#777;margin-top:18px}
.account-usage-empty{height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.account-usage-empty img{width:226px;height:226px;object-fit:contain}
.account-usage-empty strong{font-size:13px;font-weight:650}
.account-members-table{overflow:hidden;margin-bottom:40px}
.account-members-table table{border-collapse:collapse;width:100%;table-layout:fixed}
.account-members-table th{height:32px;background:#f5f5f5;color:#606060;font-size:12px;font-weight:550;text-align:left;padding:0 15px}
.account-members-table td{height:32px;border-top:1px solid #e7e7e7;padding:0 15px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-members-table th:first-child{width:26%}.account-members-table th:nth-child(2){width:14%}.account-members-table th:nth-child(3){width:12%}.account-members-table th:nth-child(4){width:12%}.account-members-table th:nth-child(5){width:13%}.account-members-table th:last-child{width:23%}
.account-role,.account-status{background:#eee;border-radius:5px;padding:2px 7px;font-size:12px}
.account-status{background:#d8f9e6;color:#155e42}
.account-status.pending{background:#ffdcaa;color:#4b3719}
.account-role.member{background:#fff0a4;color:#413815}
.account-member-actions{display:flex;align-items:center;gap:8px}
.account-members-table td:last-child{overflow:visible}
.account-members-table td .account-member-actions .btn{border:1px solid #d4d4d4;background:#fff;color:#303030;font-size:12px;line-height:20px;border-radius:7px;padding:3px 8px;min-height:28px;white-space:nowrap}
.account-members-table td .account-member-actions .btn:first-child{color:#9e261b}
.account-faq{overflow:hidden}
.account-faq>h2{height:49px;font-size:16px;font-weight:600;margin:0;padding:0 16px;border-bottom:1px solid #e5e5e5;display:flex;align-items:center}
.account-faq-row{border-bottom:1px solid #e5e5e5}
.account-faq-row:last-child{border-bottom:0}
.account-faq-row>button{width:100%;min-height:64px;border:0;background:none;display:flex;justify-content:space-between;align-items:center;text-align:left;padding:0 16px;font-size:14px}
.account-faq-row>button strong{font-weight:650}
.account-faq-chevron{width:16px;height:16px;stroke-width:1.75;flex:none}
.account-faq-row>button[aria-expanded="true"] .account-faq-chevron{transform:rotate(180deg)}
.account-faq-row p{font-size:13px;line-height:20px;margin:-8px 16px 20px}
.account-settings-card,.account-api-card{overflow:hidden;margin-bottom:16px}
.account-settings-card>h2,.account-api-card>h2{font-size:13px;font-weight:650;line-height:20px;margin:0;padding:14px 16px;border-bottom:1px solid #e5e5e5}
.account-settings-body{padding:12px 16px 16px}
.account-settings-body>label{display:block;font-size:13px;margin:0 0 7px}
.account-settings-body>label span{color:#cc251d}
.account-settings-body>.input{width:100%;height:32px;font-size:13px}
.account-settings-body>p{font-size:13px;line-height:20px;margin:5px 0 15px;color:#525252}
.account-avatar-row{display:flex;align-items:center;justify-content:space-between}
.account-avatar{width:64px;height:64px;background:#3177e7;color:#fff;border-radius:50%;display:grid;place-items:center;font-size:16px;overflow:hidden}
.account-avatar img{width:100%;height:100%;object-fit:cover}
.account-settings-body .textarea{width:100%;height:92px;min-height:92px;resize:vertical}
.account-settings-body>p:last-child{margin:3px 0 0}
.account-api-card>div{padding:14px 16px 16px}
.account-api-card p{font-size:13px;line-height:20px;margin:0 0 16px}
.account-api-card .btn{font-size:12px}
.account-unsaved{display:flex;align-items:center;gap:8px;background:#fff4df;padding:8px 12px;border-radius:8px;margin-bottom:14px;font-size:13px}
.account-unsaved strong{flex:1}
.account-modal{position:fixed;z-index:21;top:50%;left:50%;transform:translate(-50%,-50%);width:min(620px,calc(100vw - 30px));background:#fff;border-radius:15px;box-shadow:0 13px 35px #0003;overflow:hidden}
.account-modal-head{height:52px;background:#f8f8f8;border-bottom:1px solid #e5e5e5;display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.account-modal-head h2{font-size:14px;font-weight:650;margin:0}
.account-modal-head button{border:0;background:none;font-size:19px;color:#444}
.account-modal-body{padding:16px;font-size:13px;line-height:20px}
.account-modal-body p{margin:0}
.account-plan-review{max-height:calc(100dvh - 30px);display:flex;flex-direction:column;border-radius:16px}
.account-plan-review .account-modal-head,.account-plan-review .account-modal-actions{flex:none}
.account-plan-review .account-modal-body{overflow:auto}
.account-plan-review .account-modal-actions{min-height:48px}
.account-plan-comparison{width:100%;margin-top:14px;border-collapse:collapse;table-layout:fixed}
.account-plan-comparison caption{text-align:left;font-weight:600;margin-bottom:8px}
.account-plan-comparison th,.account-plan-comparison td{padding:6px 8px;text-align:left;border-bottom:1px solid #e5e5e5;overflow-wrap:anywhere;vertical-align:top}
.account-plan-comparison thead{background:#f6f6f6}
.account-plan-comparison th[scope="row"]{font-weight:500}
.account-plan-comparison small{display:block;color:#606060;line-height:16px}
.account-modal-actions{min-height:60px;border-top:1px solid #e5e5e5;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0 16px}
.account-modal-actions .btn{font-size:12px;height:29px}
.account-danger{background:#d72410;color:#fff;border-color:#d72410}
.account-member-form{display:grid;align-items:end;grid-template-columns:1fr 1fr 170px;gap:8px}
.account-member-form>label{font-size:12px}
.account-member-form .input,.account-member-form .select{height:32px;width:100%;margin-top:5px;font-size:13px}
.account-member-agent{position:relative}
.account-member-agent>.btn{height:32px;width:100%;font-size:13px}
.account-member-agent>label{position:absolute;top:55px;right:0;background:#fff;border:1px solid #ddd;border-radius:8px;padding:10px;z-index:2;white-space:nowrap;box-shadow:0 4px 12px #0002}
.account-member-options{position:absolute;top:100%;right:0;min-width:100%;max-width:calc(100vw - 70px);max-height:180px;overflow:auto;background:#fff;border:1px solid #ddd;border-radius:8px;padding:6px;z-index:2;box-shadow:0 4px 12px #0002}
.account-member-options label{display:flex;align-items:center;gap:6px;padding:5px;overflow-wrap:anywhere}
.account-modal.account-member{overflow:visible}
.account-modal.account-member .account-modal-head{border-radius:15px 15px 0 0}
.account-member-info{background:#eaf4ff;border-radius:8px;padding:11px 13px;margin-bottom:12px;font-size:13px}
.account-member-form input[readonly]{background:#f3f3f3;color:#555}
.account-error{color:#be2d20;font-size:12px;margin-top:8px!important}
.account-token-value{padding:8px;background:#f3f3f3;border-radius:7px;font-family:monospace;margin-top:10px}
@media(max-width:900px){.content:has(.account-shell){padding:20px 24px 70px}.account-plans{grid-auto-columns:calc((100% - 32px)/3)}}
@media(max-width:640px){.content:has(.account-shell){padding:16px}.account-tabs{overflow-x:auto}.account-feature{flex-wrap:wrap}.account-feature>.btn{margin-left:72px}.account-plans{grid-auto-columns:min(210px,100%)}.account-member-form{grid-template-columns:1fr}.account-member-agent{padding-top:0}.account-members-table{overflow:auto}.account-members-table table{min-width:700px}}

.account-token-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.account-token-controls>.input{flex:1;min-width:160px;width:auto}.staff-account-page .account-api-card{margin-top:16px}
