*{box-sizing:border-box}body.organisation-auth-page{margin:0;font-family:Inter,sans-serif;min-height:100vh}.auth-nav{min-height:76px;padding:14px clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid}.auth-brand{display:flex;align-items:center;gap:14px;text-decoration:none}.auth-brand img:first-child{width:118px;height:auto}.auth-brand img:last-child{width:73px;height:auto}.auth-brand>span{height:28px;width:1px}.auth-nav nav{display:flex;gap:10px}.auth-nav nav a{padding:9px 12px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600}.auth-main{width:min(1120px,calc(100% - 40px));margin:clamp(44px,8vh,90px) auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,480px);gap:clamp(50px,8vw,110px);align-items:center}.auth-intro h1{font-size:clamp(38px,5vw,64px);line-height:1.04;letter-spacing:-.045em;margin:16px 0 20px}.auth-intro>p{font-size:18px;line-height:1.7;max-width:590px}.auth-kicker{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800}.auth-intro ul{list-style:none;padding:0;margin:34px 0 0;display:grid;gap:15px}.auth-intro li{display:flex;align-items:center;gap:12px;font-weight:600}.auth-intro li span{font-size:21px}.auth-card{border:1px solid;border-radius:20px;padding:clamp(24px,4vw,40px);box-shadow:0 18px 55px}.auth-card-heading{display:flex;gap:15px;align-items:center;margin-bottom:28px}.auth-card-heading>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center}.auth-card h2{font-size:24px;margin:0 0 5px}.auth-card-heading p{margin:0;font-size:14px}.auth-form{display:grid;gap:18px}.auth-form>label{display:grid;gap:8px;font-size:14px;font-weight:700}.auth-form input{width:100%;height:48px;border:1px solid;border-radius:10px;padding:0 14px;font:inherit;outline:none}.auth-form label>small{font-size:12px;font-weight:400}.password-field{position:relative;display:block}.password-field input{padding-right:50px}.password-field button{position:absolute;right:5px;top:5px;width:38px;height:38px;border:0;border-radius:8px;display:grid;place-items:center;cursor:pointer}.password-field button span{font-size:20px}.auth-form-links{display:flex;justify-content:space-between;align-items:center;font-size:13px}.auth-form-links a,.auth-switch a{font-weight:700}.remember{display:flex;align-items:center;gap:7px}.remember input{width:16px;height:16px}.auth-submit{min-height:50px;border:1px solid;border-radius:10px;padding:0 18px;font:inherit;font-weight:800;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}.auth-submit.secondary{width:100%;margin-top:24px}.auth-switch{text-align:center;font-size:14px;margin:22px 0 0}.auth-register-prompt{margin-top:24px;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:12px 14px;align-items:center;border:1px solid;border-radius:14px}.auth-register-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px}.auth-register-copy{display:grid;gap:2px}.auth-register-copy strong{font-size:14px}.auth-register-copy small{font-size:12px;line-height:1.45}.auth-register-prompt>a{grid-column:1/-1;min-height:42px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid;border-radius:9px;font-size:13px;font-weight:800;text-decoration:none;transition:transform .18s,box-shadow .18s}.auth-register-prompt>a:hover{transform:translateY(-1px)}.auth-register-prompt>a .material-symbols-rounded{font-size:18px}.auth-message{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border:1px solid;border-radius:10px;margin:-8px 0 20px;font-size:13px;line-height:1.5}.auth-message span{font-size:19px}.auth-dev-code{border:1px dashed;border-radius:10px;padding:14px;margin:0 0 20px;display:grid;gap:6px}.auth-dev-code code{font-size:24px;letter-spacing:.2em;font-weight:800}.auth-dev-code small{font-size:11px}.otp-input{text-align:center;font-size:24px!important;letter-spacing:.3em;font-weight:800}.account-details{display:grid;margin:0;gap:0}.account-details>div{padding:16px 0;border-bottom:1px solid}.account-details dt{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.account-details dd{margin:6px 0 0;font-weight:600;overflow-wrap:anywhere}@media(max-width:800px){.auth-nav nav{display:none}.auth-main{grid-template-columns:1fr;margin:40px auto}.auth-intro h1{font-size:40px}.auth-intro ul{display:none}}@media(max-width:480px){.auth-main{width:min(100% - 24px,480px)}.auth-card{padding:22px 18px}.auth-form-links{align-items:flex-start;gap:10px;flex-direction:column}}

/* Account workspace */
.profile-page{width:min(1240px,calc(100% - 48px));margin:clamp(36px,6vw,72px) auto 88px}.profile-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;padding:clamp(24px,4vw,42px);border:1px solid var(--app-border);border-radius:22px;background:linear-gradient(120deg,var(--app-surface-raised),var(--app-accent-soft));box-shadow:0 12px 30px color-mix(in srgb,var(--app-primary) 10%,transparent)}.profile-identity{display:flex;align-items:center;gap:20px}.profile-avatar{display:grid;width:72px;height:72px;flex:0 0 72px;place-items:center;border-radius:20px;background:var(--app-primary);color:var(--app-on-dark);font-size:24px;font-weight:800;letter-spacing:.04em}.profile-hero h1{margin:9px 0 7px;font-size:clamp(30px,4vw,48px);letter-spacing:-.045em;line-height:1.08}.profile-hero p,.profile-card-header p,.profile-actions>p{margin:0;color:var(--app-muted);line-height:1.55}.profile-hero-status{display:grid;gap:7px;color:var(--app-muted);font-size:13px;font-weight:700;text-align:right}.profile-status{display:inline-flex;align-items:center;gap:7px;color:var(--app-primary);font-size:12px;font-weight:800}.profile-status i{width:8px;height:8px;border-radius:50%;background:var(--app-accent);box-shadow:0 0 0 3px var(--app-accent-soft)}.profile-status.is-muted{color:var(--app-muted)}.profile-status.is-muted i{background:var(--app-border);box-shadow:none}.profile-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.profile-metrics article{display:flex;align-items:center;gap:14px;min-width:0;padding:20px;border:1px solid var(--app-border);border-radius:16px;background:var(--app-surface-raised);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.profile-metrics article:hover{border-color:var(--app-accent);box-shadow:0 10px 22px color-mix(in srgb,var(--app-primary) 12%,transparent);transform:translateY(-2px)}.profile-metrics>.material-symbols-rounded,.profile-metrics article>.material-symbols-rounded{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:12px;background:var(--app-accent-soft);color:var(--app-primary)}.profile-metrics div{display:grid;gap:3px}.profile-metrics small,.profile-app-credits small{color:var(--app-muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.profile-metrics strong{font-size:22px;line-height:1.1}.profile-metrics div>span{color:var(--app-muted);font-size:12px}.profile-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:22px;align-items:start}.profile-main-column,.profile-sidebar{display:grid;gap:22px}.profile-card{padding:24px;border:1px solid var(--app-border);border-radius:18px;background:var(--app-surface-raised);box-shadow:0 5px 16px color-mix(in srgb,var(--app-primary) 7%,transparent)}.profile-card-header{display:flex;justify-content:space-between;gap:16px;margin-bottom:22px}.profile-card-header>div{display:grid;grid-template-columns:auto 1fr;gap:0 10px}.profile-card-icon{grid-row:span 2;display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:var(--app-accent-soft);color:var(--app-primary)}.profile-card h2{margin:1px 0 3px;font-size:17px;letter-spacing:-.02em}.profile-card-header p{font-size:13px}.profile-readonly,.profile-count{align-self:center;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:7px;background:var(--app-surface-soft);color:var(--app-muted);font-size:11px;font-weight:800;white-space:nowrap}.profile-readonly .material-symbols-rounded{font-size:14px}.profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border-top:1px solid var(--app-border)}.profile-details>div{padding:16px 14px 16px 0;border-bottom:1px solid var(--app-border)}.profile-details>div:nth-child(even){padding-right:0;padding-left:14px;border-left:1px solid var(--app-border)}.profile-details dt{margin-bottom:6px;color:var(--app-muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.profile-details dd{margin:0;color:var(--app-text);font-size:14px;font-weight:700;overflow-wrap:anywhere}.profile-details a{color:var(--app-primary);text-decoration:none}.profile-details a:hover{text-decoration:underline}.profile-details code,.profile-app code{font-family:"JetBrains Mono",monospace;font-size:12px}.profile-app-list{display:grid;gap:10px}.profile-app{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px;border:1px solid var(--app-border);border-radius:13px;background:var(--app-surface-soft);transition:border-color .18s ease,background .18s ease}.profile-app:hover{border-color:var(--app-accent);background:var(--app-accent-soft)}.profile-app-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:var(--app-surface-raised);color:var(--app-primary)}.profile-app-copy{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px}.profile-app h3{margin:0 0 4px;font-size:14px}.profile-app code{color:var(--app-muted)}.profile-app-credits{display:grid;min-width:110px;gap:2px;text-align:right}.profile-app-credits strong{font-size:16px}.profile-app-credits span{max-width:180px;color:var(--app-muted);font-size:11px;line-height:1.35}.profile-empty{display:flex;gap:13px;align-items:center;padding:18px;border:1px dashed var(--app-border);border-radius:12px;background:var(--app-surface-soft)}.profile-empty>.material-symbols-rounded{color:var(--app-muted);font-size:27px}.profile-empty strong{font-size:14px}.profile-empty p{margin:4px 0 0;color:var(--app-muted);font-size:13px;line-height:1.45}.profile-security{padding-bottom:10px}.profile-action-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 0;border-top:1px solid var(--app-border)}.profile-action-row>.material-symbols-rounded{color:var(--app-primary)}.profile-action-row strong{font-size:13px}.profile-action-row p{margin:3px 0 0;color:var(--app-muted);font-size:12px;line-height:1.4}.profile-action-row a{display:grid;width:32px;height:32px;place-items:center;border-radius:8px;color:var(--app-primary);transition:background .18s ease}.profile-action-row a:hover{background:var(--app-accent-soft)}.profile-access-list{display:grid;gap:14px;margin:0;padding:0;list-style:none}.profile-access-list li{display:flex;gap:10px}.profile-access-list li>.material-symbols-rounded{font-size:19px;color:var(--app-accent)}.profile-access-list span:last-child{display:grid;gap:3px}.profile-access-list strong{font-size:13px}.profile-access-list small{color:var(--app-muted);font-size:12px;line-height:1.45}.profile-actions h2{margin-bottom:7px}.profile-actions>p{font-size:13px}.profile-button{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center;gap:7px;margin-top:17px;border:1px solid var(--app-primary);border-radius:9px;background:var(--app-primary);color:var(--app-on-dark);font:800 13px Inter,sans-serif;text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.profile-button:hover{background:var(--app-primary-strong);box-shadow:0 6px 15px color-mix(in srgb,var(--app-primary) 22%,transparent);transform:translateY(-1px)}.profile-button.secondary{border-color:var(--app-border);background:var(--app-surface-soft);color:var(--app-primary)}.profile-button.secondary:hover{border-color:var(--app-primary);background:var(--app-accent-soft)}.profile-actions form{margin:0}.profile-button.logout{margin-top:9px}
@media(max-width:900px){.profile-layout{grid-template-columns:1fr}.profile-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-actions{grid-column:1/-1}}@media(max-width:680px){.profile-page{width:min(100% - 28px,640px);margin-top:28px}.profile-hero{align-items:flex-start;flex-direction:column;padding:24px}.profile-identity{align-items:flex-start}.profile-avatar{width:54px;height:54px;flex-basis:54px;border-radius:15px;font-size:19px}.profile-hero-status{text-align:left}.profile-metrics{grid-template-columns:1fr;gap:10px}.profile-sidebar{grid-template-columns:1fr}.profile-actions{grid-column:auto}.profile-card{padding:19px}.profile-app{grid-template-columns:auto minmax(0,1fr)}.profile-app-credits{grid-column:2;text-align:left}.profile-app-copy{align-items:flex-start;flex-direction:column;gap:6px}.profile-details{grid-template-columns:1fr}.profile-details>div:nth-child(even){padding-left:0;border-left:0}.profile-card-header{align-items:flex-start;flex-direction:column}.profile-readonly,.profile-count{align-self:auto}}@media(max-width:420px){.profile-identity{gap:13px}.profile-hero{padding:20px}.profile-hero h1{font-size:29px}.profile-card-header>div{gap:0 8px}}
.auth-status-card{display:grid;justify-items:start;gap:14px}.auth-status-card h2{margin:0}.auth-status-card p{margin:0;color:var(--app-muted);font-size:14px;line-height:1.65}.auth-status-card .auth-submit{width:100%;margin-top:8px;text-decoration:none}.auth-status-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:var(--app-accent-soft);color:var(--app-primary);font-size:24px}.auth-status-back{color:var(--app-primary);font-size:13px;font-weight:800;text-decoration:none}.auth-status-back:hover{text-decoration:underline}

/* Account actions use the same visual rhythm as the other workspace cards. */
.profile-actions .profile-card-header{margin-bottom:18px}.profile-actions-list{display:grid;gap:10px}.profile-actions .profile-button{margin:0}.profile-actions .profile-button.logout{border-color:color-mix(in srgb,var(--app-primary) 24%,var(--app-border));background:transparent;color:var(--app-primary)}.profile-actions .profile-button.logout:hover{border-color:var(--app-primary);background:var(--app-accent-soft);box-shadow:none}.profile-actions form{margin:0}
.transaction-history-page .profile-hero-status .profile-button{margin:0;min-width:130px}.transaction-filter-card{margin:22px 0}.transaction-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.transaction-filters label{display:grid;gap:7px;color:var(--app-muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.transaction-filters input,.transaction-filters select{width:100%;min-height:42px;border:1px solid var(--app-border);border-radius:10px;background:var(--app-surface-soft);color:var(--app-text);font:600 13px Inter,sans-serif;padding:0 11px;outline:none}.transaction-filters input:focus,.transaction-filters select:focus{border-color:var(--app-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--app-primary) 14%,transparent)}.transaction-filter-actions{display:flex;align-items:end;gap:10px}.transaction-filter-actions .profile-button{margin:0;min-height:42px}.transaction-table{display:grid;overflow:hidden;border:1px solid var(--app-border);border-radius:14px;background:var(--app-border)}.transaction-row{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(110px,.7fr) minmax(90px,.5fr) minmax(160px,1fr) minmax(120px,.7fr) minmax(180px,1fr);gap:1px;background:var(--app-border)}.transaction-row>*{min-width:0;padding:13px 14px;background:var(--app-surface-raised);overflow-wrap:anywhere;font-size:13px}.transaction-head>*{background:var(--app-primary);color:var(--app-on-dark);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.transaction-row code{font-family:"JetBrains Mono",monospace;color:var(--app-primary);font-size:12px}.transaction-row strong{color:var(--app-text)}.transaction-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.transaction-pagination .profile-button{width:auto;min-width:118px;margin:0}.transaction-pagination>span{color:var(--app-muted);font-size:13px;font-weight:800}.profile-button.is-disabled{pointer-events:none;opacity:.52}
@media(max-width:1100px){.transaction-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.transaction-history-card{overflow-x:auto}.transaction-table{min-width:980px}}@media(max-width:680px){.transaction-filters{grid-template-columns:1fr}.transaction-filter-actions{align-items:stretch;flex-direction:column}.transaction-pagination{align-items:stretch;flex-direction:column}.transaction-pagination .profile-button{width:100%}}

/* A workspace has one API credential, surfaced on every assigned app for convenience. */
.profile-app{grid-template-columns:auto minmax(0,1fr) auto auto}.profile-app-key{display:flex;justify-content:flex-end}.profile-copy-key{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;min-height:32px;padding:0 10px;border:1px solid var(--app-border);border-radius:7px;background:var(--app-surface-raised);color:var(--app-primary);font:800 11px Inter,sans-serif;cursor:pointer}.profile-copy-key:hover,.profile-copy-key.is-copied{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark)}.profile-copy-key .material-symbols-rounded{font-size:15px}
@media(max-width:900px){.profile-app{grid-template-columns:auto minmax(0,1fr) auto auto}.profile-app-key{grid-column:auto}}@media(max-width:680px){.profile-app{grid-template-columns:auto minmax(0,1fr)}.profile-app-credits{grid-column:2;text-align:left}.profile-app-key{grid-column:2;justify-content:flex-start}}@media(max-width:420px){.profile-copy-label{display:inline}.profile-copy-key{width:auto;padding:0 10px;justify-content:center}}
.profile-api-key{display:flex!important;align-items:center;gap:6px;margin-top:4px}.profile-api-key input{min-width:0;flex:1;border:1px solid var(--app-border);border-radius:7px;background:var(--app-surface-soft);color:var(--app-text);font:12px "JetBrains Mono",monospace;padding:7px 8px}.profile-key-button{display:grid;flex:0 0 32px;width:32px;height:32px;place-items:center;border:1px solid var(--app-border);border-radius:7px;background:var(--app-surface-raised);color:var(--app-primary);cursor:pointer}.profile-key-button:hover,.profile-key-button:focus-visible{border-color:var(--app-primary);background:var(--app-accent-soft)}.profile-key-button .material-symbols-rounded{font-size:17px}

/* Let the workspace overview and its only content column use the wider profile canvas. */
.profile-page{width:min(1440px,calc(100% - 64px))}
.profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.profile-metrics article{min-height:112px;padding:22px 24px}
.profile-main-column:only-child{grid-column:1/-1}
@media(max-width:680px){.profile-page{width:min(100% - 28px,640px)}.profile-metrics{gap:10px;margin:18px 0}.profile-metrics article{min-height:0;padding:20px}}

/* Account workspace tester and compact application actions. */
.profile-workspace-email{display:flex;align-items:center;gap:7px;margin-top:10px!important;font-size:14px;font-weight:700}.profile-workspace-email .material-symbols-rounded{font-size:18px;color:var(--app-primary)}.profile-workspace-email a{color:var(--app-primary);overflow-wrap:anywhere;text-decoration:none}.profile-workspace-email a:hover{text-decoration:underline}
.profile-layout-single{display:block}.profile-card-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.profile-history-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--app-border);border-radius:999px;background:var(--app-surface-soft);color:var(--app-primary);font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap}.profile-history-chip:hover,.profile-history-chip:focus-visible{border-color:var(--app-primary);background:var(--app-accent-soft)}.profile-history-chip .material-symbols-rounded{font-size:16px}.profile-app-copy{display:flex;align-items:center;justify-content:space-between;gap:12px}.api-tester-card{margin-top:22px}.api-tester-header{align-items:flex-start}.tester-mode-switch{display:inline-flex;align-items:center;gap:9px;min-height:40px;color:var(--app-primary);font-size:12px;font-weight:800;cursor:pointer}.tester-mode-switch input{position:absolute;opacity:0;pointer-events:none}.tester-switch-track{display:inline-flex;width:42px;height:24px;padding:3px;align-items:center;border-radius:999px;background:var(--app-border);transition:background .18s ease}.tester-switch-track i{width:18px;height:18px;border-radius:50%;background:var(--app-surface-raised);box-shadow:0 1px 3px color-mix(in srgb,var(--app-primary) 25%,transparent);transition:transform .18s ease}.tester-mode-switch input:checked + .tester-switch-track{background:var(--app-primary)}.tester-mode-switch input:checked + .tester-switch-track i{transform:translateX(18px)}.tester-mode-switch:focus-within .tester-switch-track{box-shadow:0 0 0 3px var(--app-accent-soft)}.tester-channel-tabs{display:flex;gap:7px;overflow-x:auto;padding:4px;margin:0 0 20px;border-bottom:1px solid var(--app-border)}.tester-channel-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 13px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--app-muted);font:800 12px Inter,sans-serif;cursor:pointer;white-space:nowrap}.tester-channel-tabs button[aria-selected=true]{border-bottom-color:var(--app-primary);color:var(--app-primary)}.tester-channel-tabs button:hover,.tester-channel-tabs button:focus-visible{color:var(--app-primary);background:var(--app-accent-soft)}.tester-channel-tabs .material-symbols-rounded{font-size:18px}.tester-form{display:grid;gap:18px}.tester-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:22px;align-items:start}.tester-controls{display:grid;gap:18px}.tester-fields{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:14px}.tester-fields label{display:grid;gap:8px;color:var(--app-muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.tester-fields select,.tester-fields input{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--app-border);border-radius:10px;background:var(--app-surface-soft);color:var(--app-text);font:600 13px Inter,sans-serif;outline:none}.tester-fields select:focus,.tester-fields input:focus{border-color:var(--app-primary);box-shadow:0 0 0 3px var(--app-accent-soft)}.tester-fields em{color:var(--app-primary);font-style:normal}.tester-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.tester-actions .profile-button{width:auto;min-width:160px;margin:0}.tester-status{min-height:20px;margin:0;color:var(--app-muted);font-size:12px;line-height:1.5}.tester-mobile-preview{display:grid;gap:12px;padding:16px;border:1px solid var(--app-border);border-radius:14px;background:var(--app-surface-soft)}.tester-preview-heading{display:flex;align-items:center;gap:9px}.tester-preview-heading>.material-symbols-rounded{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:var(--app-accent-soft);color:var(--app-primary);font-size:18px}.tester-preview-heading div{display:grid;gap:2px}.tester-preview-heading strong{font-size:12px}.tester-preview-heading small{color:var(--app-muted);font-size:11px}.tester-phone{width:min(100%,262px);margin:auto;padding:7px;border:5px solid var(--app-text);border-radius:28px;background:var(--app-text);box-shadow:0 10px 20px color-mix(in srgb,var(--app-primary) 14%,transparent)}.tester-phone-speaker{width:70px;height:5px;margin:0 auto 6px;border-radius:99px;background:var(--app-surface-raised);opacity:.72}.tester-phone-screen{display:grid;min-height:366px;grid-template-rows:auto 1fr auto;overflow:hidden;border-radius:18px;background:var(--app-surface-raised)}.tester-phone-header{display:flex;align-items:center;gap:8px;padding:10px;background:var(--app-secondary);color:var(--app-on-dark)}.tester-phone-header>div{display:grid;min-width:0;gap:1px;flex:1}.tester-phone-header strong{font-size:11px}.tester-phone-header small{color:var(--app-on-dark-muted);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tester-phone-header .material-symbols-rounded{font-size:17px}.tester-phone-conversation{display:flex;min-height:0;padding:13px;align-items:flex-end;background:linear-gradient(135deg,var(--app-surface-soft),var(--app-surface-raised))}.tester-phone-conversation output{display:block;color:var(--app-text);font:500 11px/1.45 Inter,sans-serif;overflow-wrap:anywhere}.tester-whatsapp-message,.tester-sms-message,.tester-rcs-message{display:none}.tester-whatsapp-message{max-width:88%;margin-left:auto;padding:9px 10px 6px;border-radius:11px 2px 11px 11px;background:var(--app-accent-soft);box-shadow:0 1px 2px color-mix(in srgb,var(--app-primary) 14%,transparent)}.tester-whatsapp-message small{display:block;margin-top:3px;color:var(--app-muted);font-size:8px;text-align:right}.tester-sms-message{max-width:88%;padding:10px;border-radius:15px 15px 15px 3px;background:var(--app-border)}.tester-rcs-message{width:100%;overflow:hidden;border:1px solid var(--app-border);border-radius:12px;background:var(--app-surface-raised);box-shadow:0 2px 6px color-mix(in srgb,var(--app-primary) 10%,transparent)}.tester-rcs-media{display:grid;height:74px;place-items:center;background:var(--app-accent-soft);color:var(--app-primary)}.tester-rcs-media .material-symbols-rounded{font-size:28px}.tester-rcs-message>div:last-child{display:grid;gap:6px;padding:10px}.tester-rcs-message small{color:var(--app-muted);font-size:9px;font-weight:800;letter-spacing:.03em}.tester-rcs-action{justify-self:start;color:var(--app-primary);font:800 10px Inter,sans-serif}.tester-mobile-preview[data-preview-channel=whatsapp] .tester-whatsapp-message,.tester-mobile-preview[data-preview-channel=sms] .tester-sms-message,.tester-mobile-preview[data-preview-channel=rcs] .tester-rcs-message{display:block}.tester-mobile-preview[data-preview-channel=sms] .tester-phone-header{background:var(--app-surface-raised);color:var(--app-text);border-bottom:1px solid var(--app-border)}.tester-mobile-preview[data-preview-channel=sms] .tester-phone-header small{color:var(--app-muted)}.tester-mobile-preview[data-preview-channel=rcs] .tester-phone-conversation{align-items:center}.tester-phone-composer{display:flex;align-items:center;gap:8px;padding:9px 11px;color:var(--app-muted);font-size:10px}.tester-phone-composer span:nth-child(2){flex:1;padding:7px 9px;border-radius:999px;background:var(--app-surface-soft)}.tester-phone-composer .material-symbols-rounded{font-size:16px}.is-simulator .tester-mobile-preview{border-color:var(--app-accent)}
.tester-mobile-preview[data-preview-channel=rcs] .tester-phone-header{background:color-mix(in srgb,var(--app-primary) 82%,var(--app-accent))}
.tester-preview-send-state{display:none;position:absolute;right:13px;bottom:11px;max-width:calc(100% - 26px);padding:4px 7px;border-radius:999px;background:var(--app-surface-raised);box-shadow:0 1px 4px color-mix(in srgb,var(--app-primary) 16%,transparent);color:var(--app-muted);font-size:8px;font-weight:800}.tester-phone-conversation{position:relative}.tester-mobile-preview.has-submitted-message .tester-preview-send-state{display:block}
@media(max-width:820px){.tester-workspace{grid-template-columns:1fr}.tester-mobile-preview{max-width:360px;margin:auto;width:100%}}@media(max-width:680px){.profile-card-header-actions{width:100%;justify-content:flex-start}.profile-history-chip{flex:1;justify-content:center}.tester-fields{grid-template-columns:1fr}.tester-actions{align-items:stretch;flex-direction:column}.tester-actions .profile-button{width:100%}.tester-mode-switch{align-self:flex-end}}@media(prefers-reduced-motion:reduce){.tester-switch-track,.tester-switch-track i{transition:none}}
.tester-channel-tabs .product-brand-icon{width:18px;height:18px;object-fit:contain}.tester-phone-header .tester-preview-icon{width:17px;height:17px;object-fit:contain;filter:brightness(0) invert(1)}
.profile-app-icon.has-product-icon .product-brand-icon{display:block;width:24px;height:24px;object-fit:contain}

/* Keep each Test API's state readable at a consistent central position. */
.profile-app{grid-template-columns:auto minmax(0,1fr) minmax(92px,.45fr) auto auto}
.profile-app-status{justify-self:center;justify-content:center;min-width:92px}
.profile-status.is-active i{background:#16a34a;box-shadow:0 0 0 3px color-mix(in srgb,#16a34a 16%,transparent)}
.profile-status.is-expired{color:var(--app-muted)}.profile-status.is-expired i{background:var(--app-primary);box-shadow:0 0 0 3px var(--app-accent-soft)}
.profile-app-expiry{display:grid;min-width:154px;gap:2px;text-align:right}.profile-app-expiry small{color:var(--app-muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.profile-app-expiry time{color:var(--app-text);font-size:12px;font-weight:700;white-space:nowrap}
@media(max-width:680px){.profile-app{grid-template-columns:auto minmax(0,1fr)}.profile-app-status,.profile-app-expiry{grid-column:2;justify-self:start;text-align:left}.profile-app-expiry{min-width:0}}
/* Per-product gateway endpoint and read-only message fields. */
.tester-endpoint-control{display:flex;align-items:center;gap:6px}.tester-endpoint-control input{min-width:0;flex:1;font:12px "JetBrains Mono",monospace}.tester-fields input[readonly],.tester-fields textarea[readonly]{border-color:var(--app-border);background:color-mix(in srgb,var(--app-border) 38%,var(--app-surface-soft));color:var(--app-muted);cursor:not-allowed;opacity:.86}.tester-fields textarea{width:100%;resize:vertical;padding:10px 12px;border:1px solid var(--app-border);border-radius:10px;font:600 13px/1.45 Inter,sans-serif}.tester-fields textarea:focus{border-color:var(--app-border);box-shadow:none;outline:none}.tester-field-status{min-height:17px;color:var(--app-muted);font-size:11px;font-weight:600;letter-spacing:0;text-transform:none}
