/* Account panel and invitation-specific styles. Core application styles remain untouched. */
.account-hero{padding-bottom:30px}
.account-layout-enhanced{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:26px;padding-top:30px}
.account-sidebar{position:sticky;top:106px;padding:18px;gap:5px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 12px 32px rgba(25,55,82,.055)}
.account-profile-summary{display:flex;align-items:center;gap:12px;width:100%;padding:2px 0 17px;margin-bottom:8px;border-bottom:1px solid var(--line)}
.account-profile-summary .account-avatar{flex:0 0 52px;width:52px;height:52px}
.account-profile-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.account-profile-copy b{font-size:.93rem;overflow-wrap:anywhere;color:var(--primary)}
.account-profile-copy small{font-size:.75rem;overflow-wrap:anywhere}
.account-nav-caption{padding:8px 10px 4px;color:#8292a0;font-size:.67rem;font-weight:850;letter-spacing:.12em}
.account-sidebar>a:not(.btn){display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;font-size:.83rem;line-height:1.35;transition:background .15s ease,color .15s ease}
.account-sidebar>a:not(.btn)>span:first-child{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#edf7fa;color:#087f86;font-size:1rem}
.account-sidebar>a:not(.btn):hover,.account-sidebar>a:not(.btn):focus-visible{background:#edf9f7;color:#087e82}
.account-sidebar .account-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:auto;padding:0 6px;border-radius:20px;background:#f0f4f8;color:#5c7184;font-size:.7rem;font-weight:800}
.account-sidebar-bottom{display:grid;gap:11px;width:100%;padding-top:14px;margin-top:12px;border-top:1px solid var(--line)}
.account-sidebar-bottom .btn{font-size:.84rem}
.account-admin-link{font-size:.8rem;font-weight:750;text-align:center}
.account-main-content{min-width:0}
.account-welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:2px 0 20px}
.account-welcome-row h2{font-size:1.55rem;margin:5px 0 5px}
.account-welcome-row p{margin:0;font-size:.87rem}
.account-welcome-row .btn{white-space:nowrap;min-height:39px;padding:8px 12px;font-size:.79rem}
.account-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:20px}
.account-summary-card{display:flex;align-items:center;gap:10px;min-width:0;padding:13px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 7px 20px rgba(27,59,85,.035)}
.account-summary-card:hover{border-color:#abdcd7;background:#fbfffe;color:var(--primary)}
.account-summary-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#e7f8f5;color:#078c87;font-size:1.15rem}
.account-summary-card small,.account-summary-card b{display:block}
.account-summary-card small{font-size:.69rem;color:#738597;white-space:nowrap}
.account-summary-card b{margin-top:1px;font-size:1.25rem;line-height:1.2;color:var(--primary)}
.account-section{scroll-margin-top:112px;padding:23px}
.account-section .inner-heading{align-items:center;margin-bottom:17px}
.account-section .inner-heading h2{font-size:1.38rem;margin:6px 0}
.account-section .inner-heading p{font-size:.84rem;line-height:1.6}
.account-section .inner-heading .eyebrow{font-size:.65rem}
.account-business-enhanced{grid-template-columns:60px minmax(0,1fr);align-items:start;padding:15px;border-radius:14px}
.account-business-title-row{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px;width:100%}
.account-business-title-row h3{margin:1px 0 0;overflow-wrap:anywhere}
.account-role-pill{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 8px;border:1px solid #d9e8f0;border-radius:7px;background:#f4f8fb;color:#45657c;font-size:.69rem;font-weight:800}
.account-role-pill.role-owner{background:#e8faf1;color:#067647;border-color:#b7ebce}
.account-role-pill.role-manager{background:#eaf2ff;color:#295a9d;border-color:#c8daf8}
.account-role-pill.role-editor{background:#f1f5f9;color:#52677c;border-color:#dce5ed}
.account-invite-details{width:100%;margin-top:12px;padding-top:10px;border-top:1px solid #edf1f5}
.account-invite-details>summary,.account-review-edit>summary{cursor:pointer;color:#087f86;font-size:.81rem;font-weight:800;list-style-position:inside}
.account-inline-invite-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.8fr) auto;align-items:end;gap:10px;margin:12px 0 7px}
.account-inline-invite-form label{display:grid;gap:5px;font-size:.76rem;font-weight:750;color:#415970}
.account-inline-invite-form input,.account-inline-invite-form select{width:100%;min-width:0;min-height:39px;padding:8px 10px;border:1px solid #d6e1e9;border-radius:8px;background:#fff;color:var(--ink);font-size:.82rem}
.account-invite-details>small{display:block;line-height:1.5}
.account-subsection{padding-top:20px;margin-top:22px;border-top:1px solid var(--line)}
.account-subsection h3{font-size:1rem;margin-bottom:13px}
.account-invitation-list{display:grid;gap:8px}
.account-invitation-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid #e4ebf0;border-radius:11px;background:#fcfdfe}
.account-invitation-row>div:first-child{display:grid;gap:3px;min-width:0}
.account-invitation-row b{font-size:.82rem;overflow-wrap:anywhere}
.account-invitation-row small{font-size:.72rem;color:#728497;overflow-wrap:anywhere}
.account-invitation-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.account-invitation-actions form{margin:0}
.account-invitation-actions .status-tag{white-space:nowrap}
.account-review-list{display:grid;gap:12px}
.account-review-item{padding:15px;border:1px solid #e3ebf1;border-radius:13px;background:#fff}
.account-review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.account-review-heading h3{font-size:.96rem;margin:0 0 4px;overflow-wrap:anywhere}
.account-review-heading small{font-size:.75rem;color:#81909e}
.account-review-heading .status-tag{flex-shrink:0}
.account-review-body{margin:12px 0;color:#3c5265;font-size:.89rem;white-space:normal;overflow-wrap:anywhere}
.account-review-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:9px;border-top:1px solid #eff3f6}
.account-review-edit{flex:1 0 100%;padding-top:5px}
.account-review-edit>form{margin-top:12px;padding:14px;border-radius:10px;background:#f7fafc}
.account-review-edit .btn{justify-self:start}
.account-report-enhanced{padding:14px;border:1px solid #e3ebf1;border-radius:12px}
.account-report-enhanced .account-review-heading{align-items:center;margin-bottom:10px}
.account-report-enhanced p{font-size:.84rem;margin:7px 0}
.account-report-enhanced blockquote{margin:11px 0;padding:9px 12px;border-left:3px solid #aedbd6;background:#f5fbfa;color:#596f80;font-size:.8rem}
.account-report-enhanced>small{font-size:.74rem;color:#7f8d99}
.account-empty-inline{display:flex;align-items:flex-start;gap:13px;padding:18px 15px;border:1px dashed #d8e5ec;border-radius:12px;background:#fbfdfe}
.account-empty-inline>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#e6f8f5;color:#078c87;font-size:1.15rem}
.account-empty-inline b{display:block;margin-bottom:4px;color:var(--primary);font-size:.9rem}
.account-empty-inline p{margin:0 0 7px;font-size:.82rem}
.account-profile-form{margin-top:6px}
.account-profile-form .btn,.account-section .form-stack>.btn{justify-self:start}
.account-security-divider{height:1px;margin:26px 0 22px;background:var(--line)}
.account-section>h3{font-size:1.04rem;margin-bottom:14px}
.account-invitation-banner{display:grid;gap:3px;padding:12px 14px;border:1px solid #ccebe4;border-radius:11px;background:#f0fbf8;color:#31596a;font-size:.85rem}
.account-invitation-banner b{color:#087f86}
.account-section .table-wrap td{vertical-align:top}
.account-section .status-tag{margin-top:4px}
@media(max-width:1100px){.account-layout-enhanced{grid-template-columns:235px minmax(0,1fr);gap:18px}.account-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-inline-invite-form{grid-template-columns:1fr 1fr}.account-inline-invite-form .btn{grid-column:1/-1;justify-self:start}}
@media(max-width:760px){.account-layout-enhanced{grid-template-columns:1fr;padding-top:20px;gap:14px}.account-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;padding:13px;gap:5px}.account-profile-summary{grid-column:1/-1}.account-nav-caption{grid-column:1/-1}.account-sidebar>a:not(.btn){grid-column:auto;align-items:flex-start;padding:9px 7px;font-size:.76rem}.account-sidebar>a:not(.btn)>span:first-child{flex-basis:25px;width:25px;height:25px}.account-sidebar .account-nav-count{min-width:19px;height:19px;padding:0 4px}.account-sidebar-bottom{grid-column:1/-1;grid-template-columns:1fr;margin-top:8px}.account-welcome-row{align-items:flex-start;flex-direction:column}.account-welcome-row .btn{align-self:flex-start}.account-summary-grid{gap:8px}.account-summary-card{padding:10px 9px;gap:8px}.account-summary-icon{flex-basis:32px;width:32px;height:32px}.account-summary-card small{font-size:.65rem}.account-section{padding:16px}.account-section .inner-heading{align-items:flex-start;flex-direction:column;gap:12px}.account-inline-invite-form{grid-template-columns:1fr}.account-inline-invite-form .btn{grid-column:auto;width:100%}.account-invitation-row{align-items:flex-start;flex-direction:column}.account-invitation-actions{justify-content:flex-start}.account-review-heading{flex-direction:column;gap:6px}.account-review-heading .status-tag{align-self:flex-start}.account-review-actions{align-items:flex-start;flex-direction:column}.account-review-edit{width:100%}}
@media(max-width:420px){.account-sidebar{grid-template-columns:1fr}.account-profile-summary,.account-nav-caption,.account-sidebar-bottom{grid-column:1}.account-sidebar>a:not(.btn){grid-column:1}.account-summary-grid{grid-template-columns:1fr 1fr}.account-business-enhanced{grid-template-columns:46px minmax(0,1fr);gap:10px;padding:11px}.account-business-enhanced .business-logo,.account-business-enhanced .business-logo img{width:46px;height:46px}.account-business-title-row{display:grid;justify-content:start}.account-business-title-row h3{font-size:.93rem}}
