.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;min-height:211px}
.account-blue-head{height:44px;background:#8bc8f6;display:flex;align-items:center;padding:0 14px;font-size:13px;font-weight:650}
.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;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}
.account-billing-toggle button{border:0;background:transparent;border-radius:8px;font-size:12px;padding:7px 12px}
.account-billing-toggle button.active{background:#e2e2e2}
.account-billing-toggle span{background:#d6f8e3;color:#146241;border-radius:5px;font-size:12px;font-weight:550;padding:3px 8px}
.account-plan-view{position:relative}
.account-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.account-plan{background:#fff;border-radius:14px;overflow:hidden;min-height:520px;display:flex;flex-direction:column}
.account-plan-top{height:138px;padding:16px;border-bottom:1px solid #e8e8e8}
.account-plan h3{font-size:14px;font-weight:650;margin:0 0 14px}
.account-plan-price{font-size:12px;margin-bottom:14px}
.account-plan-price strong{font-size:20px;font-weight:700}
.account-plan-top small{display:block;color:#666;font-size:12px;margin:-8px 0 9px}
.account-plan-top>.btn{height:31px;font-size:13px;width:auto;min-width:92px}
.account-plan-top>.account-current{background:#f0f0f0;color:#aaa;border:0;width:100%;opacity:1}
.account-plan-top>p{font-size:13px;line-height:20px;margin:0 0 22px}
.account-plan-features{padding:16px;flex:1}
.account-plan-features h4{font-size:13px;font-weight:700;margin:0 0 18px}
.account-plan-features>div{display:flex;align-items:flex-start;gap:14px;font-size:13px;line-height:20px;margin-bottom:15px}
.account-check{border:1px solid #6da992;border-radius:50%;height:14px;width:14px;flex:none;display:grid;place-items:center;color:#25845d;font-size:10px;margin-top:2px}
.account-overage{border-top:1px solid #e7e7e7;padding:16px;font-size:11px;line-height:16px;color:#666;min-height:66px;margin:0}
.account-plan-arrow{position:absolute;left:-20px;top:49%;width:42px;height:42px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 10px #0002;font-size:27px}
.account-plan-arrow.next{left:auto;right:-20px}
.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-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{gap:9px}}
@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-template-columns:repeat(4,210px);overflow-x:auto}.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}
