/* Compact dashboard. Keep detailed workflows in their existing pages. */
.brand-mark.has-logo{background:transparent;border-radius:0;box-shadow:none}
.brand-mark.has-logo>img{display:block;width:100%;height:100%;object-fit:contain}

.tutorial-page{display:grid;gap:22px;max-width:1240px;margin:0 auto}
.tutorial-page>.page-heading{margin:0 0 5px}
.tutorial-page>.page-heading h1{font-size:28px}
.tutorial-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.tutorial-grid>.tutorial-card{display:flex;flex-direction:column;gap:24px;padding:23px 20px;min-width:0;border-radius:15px;box-shadow:0 2px 10px #2e4a2903}
.tutorial-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tutorial-card-top>.eyebrow{font-size:9px;color:#a9b2a0;letter-spacing:1px}
.tutorial-platform-mark{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:13px;background:#edf3e7;color:var(--green);font-size:15px;font-weight:650;letter-spacing:-.5px}
.tutorial-card[data-platform="windows"] .tutorial-platform-mark{background:#eaf1f6;color:#42718d}
.tutorial-card[data-platform="harmony"] .tutorial-platform-mark{background:#edf1fa;color:#6179a8}
.tutorial-card[data-platform="macos"] .tutorial-platform-mark{background:#f0f0ed;color:#656c65}
.tutorial-card[data-platform="android"] .tutorial-platform-mark{background:#edf5e5;color:#66823e}
.tutorial-card[data-platform="ios"] .tutorial-platform-mark{background:#f4edf4;color:#8e6687}
.tutorial-card>div>.eyebrow{font-size:8px;letter-spacing:1.5px}
.tutorial-card h2{font-size:20px;margin:6px 0 9px;line-height:1.5;overflow-wrap:anywhere}
.tutorial-card .muted{font-size:10px;line-height:1.8}
.tutorial-card>.btn{margin-top:auto;font-size:11px;padding:10px 9px;min-height:38px;gap:7px}
.tutorial-card>.btn svg{width:14px;height:14px}
.tutorial-page>.tutorial-more{margin:0;gap:18px;padding:23px 25px;border-radius:15px}
.tutorial-more h2{font-size:16px;margin-bottom:5px}
.tutorial-more .muted{font-size:11px}
.tutorial-more>.btn{font-size:12px;min-height:39px}
@media(max-width:1280px){.tutorial-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.tutorial-page{gap:16px}.tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tutorial-grid>.tutorial-card{padding:20px;gap:19px}.tutorial-page>.page-heading h1{font-size:25px}.tutorial-page>.tutorial-more{padding:20px}}
@media(max-width:420px){.tutorial-grid>.tutorial-card{padding:17px 14px}.tutorial-card h2{font-size:18px}.tutorial-card>.btn{font-size:10px}.tutorial-page>.page-heading h1{font-size:24px}.tutorial-more{align-items:flex-start;flex-direction:column}.tutorial-more>.btn{width:100%}}

/* Account settings: identity, funds, security and preferences have separate visual groups. */
.profile-page{display:grid;gap:20px;max-width:1160px;margin:0 auto}
.profile-page>.page-heading{margin:0 0 3px}
.profile-page>.page-heading h1{font-size:28px}
.profile-page .panel{padding:24px;border-radius:15px;box-shadow:0 2px 10px #2e4a2903}
.profile-overview{display:flex;align-items:center;justify-content:space-between;gap:25px}
.profile-identity{display:flex;align-items:center;gap:17px;min-width:0}
.profile-identity>div{min-width:0}
.profile-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 54px;height:54px;border-radius:17px;background:#edf3e7;color:#4d7156;font-size:25px;font-weight:600}
.profile-email{display:block;margin:6px 0 9px;font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.profile-meta{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:10px;line-height:1.7;color:var(--muted)}
.profile-membership{flex:0 0 200px;padding-inline-start:24px;border-inline-start:1px solid var(--line)}
.profile-membership>strong{display:block;margin:6px 0;font-size:18px;font-weight:600}
.profile-membership>p:last-child{font-size:10px;color:var(--muted);line-height:1.7}
.profile-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.profile-balance{display:flex;align-items:center;justify-content:space-between;gap:18px}
.profile-balance>div:first-child{min-width:0}
.profile-amount{display:block;margin:9px 0 5px;font-size:29px;line-height:1.25;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.profile-balance .muted{font-size:10px;line-height:1.8}
.profile-balance-actions{display:flex;align-items:stretch;flex-direction:column;gap:7px;flex:0 0 auto;max-width:45%}
.profile-page .btn{font-size:11px;min-height:36px;padding:9px 13px;line-height:1.5}
.profile-settings-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}
.profile-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.profile-section-heading .eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:4px}
.profile-section-heading h2{font-size:16px;line-height:1.5;letter-spacing:0}
.profile-section-icon{display:flex;align-items:center;justify-content:center;flex:0 0 36px;height:36px;border-radius:10px;background:#f0f4eb;color:#688564}
.profile-section-icon svg{width:19px;height:19px}
.profile-setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 0;border-bottom:1px solid #edf0e8}
.profile-setting-row>div{min-width:0}
.profile-setting-row h3,.profile-security-reset h3{font-size:12px;font-weight:600;line-height:1.7}
.profile-setting-row p,.profile-security-reset p{font-size:10px;line-height:1.9;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.profile-setting-row>.btn{flex:0 0 auto;max-width:42%}
.profile-security-reset{margin-top:21px;padding:17px;border:1px solid #eee4db;background:#fcfaf7;border-radius:10px;display:grid;gap:12px}
.profile-security-reset>.btn{justify-self:start}
.profile-preferences-column{display:grid;gap:20px;min-width:0}
.profile-preference{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-bottom:1px solid #edf0e8;cursor:pointer;font-size:12px;line-height:1.7}
.profile-preference>span{min-width:0;overflow-wrap:anywhere}
.profile-preference>input{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 36px;width:36px;min-height:0;height:21px;padding:0;margin:0;border:1px solid #cbd3c4;border-radius:20px;background:#e5eadd;cursor:pointer;transition:background .15s,border-color .15s}
.profile-preference>input:before{content:"";position:absolute;width:15px;height:15px;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #253c2926;transition:transform .15s}
.profile-preference>input:checked{background:var(--green);border-color:var(--green)}
.profile-preference>input:checked:before{transform:translateX(15px)}
.profile-form-footer{display:flex;justify-content:flex-end;padding-top:19px}
.profile-preferences [data-preference-error]{font-size:11px;margin-top:12px;overflow-wrap:anywhere}
.profile-telegram>p{font-size:11px;margin:0 0 16px;overflow-wrap:anywhere}
.profile-telegram>.actions{margin:0;gap:8px}
@media(max-width:1100px){.profile-settings-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}.profile-page .panel{padding:20px}.profile-membership{flex-basis:180px;padding-inline-start:20px}.profile-balance{align-items:flex-start;flex-direction:column;gap:14px}.profile-balance-actions{flex-direction:row;flex-wrap:wrap;max-width:100%}}
@media(max-width:720px){.profile-page{gap:15px}.profile-settings-layout{grid-template-columns:1fr;gap:15px}.profile-preferences-column{gap:15px}.profile-overview{align-items:stretch;flex-direction:column;gap:17px}.profile-membership{flex-basis:auto;border-inline-start:0;border-top:1px solid var(--line);padding:15px 0 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px}.profile-membership>strong{margin:0;font-size:15px}.profile-membership>p:last-child{grid-column:1/-1}.profile-balances{gap:15px}.profile-page>.page-heading h1{font-size:25px}.profile-email{font-size:17px}.profile-balance-actions .btn{font-size:10px;padding:8px 10px}}
@media(max-width:480px){.profile-page .panel{padding:18px}.profile-page>.page-heading h1{font-size:24px}.profile-avatar{flex-basis:43px;height:43px;border-radius:13px;font-size:21px}.profile-identity{gap:12px;align-items:flex-start}.profile-meta{display:grid;gap:4px;font-size:9px}.profile-email{font-size:15px;margin:5px 0 8px}.profile-balances{grid-template-columns:1fr;gap:12px}.profile-balance{flex-direction:row;align-items:center;gap:12px}.profile-balance-actions{flex-direction:column;max-width:43%}.profile-amount{font-size:27px}.profile-setting-row{gap:12px;padding:17px 0}.profile-setting-row>.btn{font-size:10px;padding:8px 10px}.profile-security-reset{padding:14px}.profile-preference{font-size:11px}.profile-section-heading h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){.profile-preference>input,.profile-preference>input:before{transition:none}}
@media(forced-colors:active){.profile-preference>input{appearance:auto;-webkit-appearance:auto}.profile-preference>input:before{display:none}}
.compact-dashboard{display:grid;gap:18px;max-width:1220px;margin:0 auto}
.compact-dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:2px}
.compact-dashboard-header h1{font-size:27px;line-height:1.3;letter-spacing:-.5px;margin:0 0 10px}
.compact-account-line{display:flex;flex-wrap:wrap;gap:10px 24px;color:var(--muted);font-size:11px}.compact-account-line a{display:flex;align-items:center;gap:8px}.compact-account-line strong{font-size:12px;font-weight:600;color:var(--ink)}
.compact-dashboard-header>.btn{font-size:11px;min-height:36px;padding:9px 12px}.compact-dashboard-header>.btn svg{width:14px;height:14px}
.compact-dashboard>.announcement-strip,.compact-dashboard>.dashboard-attention{margin:0;padding:10px 14px;min-height:36px;font-size:11px;border-radius:10px}.compact-dashboard>.announcement-strip svg{width:15px;height:15px;flex-shrink:0}.compact-dashboard>.dashboard-attention{gap:18px}
.compact-subscription-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;align-items:stretch}
.compact-dashboard .panel{padding:22px;border-radius:15px;box-shadow:0 2px 10px #2e4a2903;min-width:0}
.compact-plan-heading{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.compact-plan-heading .muted{font-size:10px}.compact-plan-heading h2{font-size:18px;line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}.compact-plan-heading .badge{font-size:10px;white-space:nowrap;margin-top:3px;padding:5px 9px}
.compact-usage{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:17px 0 11px;flex-wrap:wrap}.compact-usage>div{display:flex;gap:7px;align-items:baseline}.compact-usage strong{font-size:34px;font-weight:650;letter-spacing:-1px;line-height:1.1}.compact-usage>div>span{font-size:12px;color:var(--green)}.compact-usage small{font-size:10px;color:var(--muted);margin-inline-start:3px}.compact-usage>span{font-size:10px;color:var(--muted)}
.compact-progress{height:5px;background:#edf0e9;border-radius:5px;overflow:hidden}.compact-progress>i{display:block;height:100%;background:var(--green);border-radius:5px}
.compact-subscription-details{display:flex;gap:7px 14px;flex-wrap:wrap;color:var(--muted);font-size:10px;line-height:1.7;margin:12px 0 17px}
.compact-subscription-actions{display:flex;gap:17px;align-items:center;flex-wrap:wrap}.compact-subscription-actions .btn{min-height:35px;font-size:11px;padding:8px 15px}.compact-subscription-actions .text-link{font-size:10px}.compact-subscription-actions>[data-reset]{margin-inline-start:auto}
.compact-connection h2{font-size:15px;line-height:1.5;margin:0 0 13px}.compact-link-field{gap:8px}.compact-link-field input{min-width:0;min-height:36px;padding:8px 10px;font-size:11px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#fafbf8}.compact-link-field .btn{min-height:36px;padding:8px 10px;font-size:11px;gap:6px}.compact-link-field .btn svg{width:14px;height:14px}
.compact-connect-actions{display:grid;grid-template-columns:96px minmax(0,1fr);gap:20px;align-items:center;margin-top:14px}.compact-qr{display:block;background:#fff;border:1px solid var(--line);border-radius:8px;padding:4px;min-width:0;color:var(--muted)}.compact-qr>span{display:block;line-height:0}.compact-qr svg{display:block;width:100%;height:auto}.compact-qr small{display:block;font-size:9px;line-height:1.8;padding:0 0 3px}.compact-connect-actions>div{min-width:0}.compact-connect-actions>div>.btn{min-height:36px;padding:9px 16px;gap:7px;font-size:11px}.compact-connect-actions>div>.btn svg{width:15px;height:15px}.compact-connect-actions .text-link{display:flex;font-size:10px;gap:6px;line-height:1.8;margin-top:9px}.compact-connect-actions .text-link svg{width:12px;height:12px}.compact-connect-actions p{font-size:9px;line-height:1.7;color:#98a38f;margin:8px 0 0}
.compact-connect-empty{display:flex;flex-direction:column;gap:18px;align-items:flex-start;margin-top:24px}.compact-connect-empty p{font-size:12px;color:var(--muted)}
.compact-updates>.section-top{margin-bottom:7px}.compact-updates h2{font-size:15px}.compact-updates .text-link{font-size:11px}.compact-update-row{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 0;border-bottom:1px solid #edf0e9}.compact-update-row:last-of-type{border-bottom:0}.compact-update-kind{font-size:9px;color:#8f9c88;background:#f3f5ef;border-radius:5px;min-width:35px;text-align:center;padding:4px 6px;flex-shrink:0}.compact-update-kind.is-activity{color:#9b8759;background:#f7f2e6}.compact-update-row strong{font-size:12px;font-weight:500;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.compact-update-row time{font-size:10px;color:#98a38f;white-space:nowrap}.compact-update-row>svg{width:13px;height:13px;color:#9bac91;flex-shrink:0}.compact-update-row:hover strong{color:var(--green)}.compact-updates>.muted{font-size:12px;padding:14px 0}
.client-import-link>.client-brand-icon,.connection-client-link>.client-brand-icon{width:32px;height:32px;flex:0 0 32px;border-radius:7px;overflow:hidden;stroke:none}.client-import-link>span{min-width:0;overflow-wrap:anywhere}.connection-client-link{justify-content:flex-start;gap:12px}.client-import-link{min-height:64px;padding:13px 14px}
@media(min-width:901px) and (max-width:1200px){.compact-subscription-grid{grid-template-columns:1fr 1fr;gap:14px}.compact-dashboard .panel{padding:19px}.compact-usage{gap:7px}.compact-usage strong{font-size:29px}.compact-usage>span{font-size:9px}.compact-connect-actions{grid-template-columns:83px minmax(0,1fr);gap:12px}.compact-plan-heading h2{font-size:16px}.compact-subscription-details{gap:6px 10px}}
@media(max-width:900px){.compact-subscription-grid{grid-template-columns:1fr 1fr;gap:14px}.compact-dashboard .panel{padding:20px}.compact-usage strong{font-size:31px}.compact-connect-actions{grid-template-columns:90px minmax(0,1fr);gap:12px}.compact-connect-actions>div>.btn{padding:9px 13px}}
@media(max-width:680px){.compact-dashboard{gap:13px}.compact-dashboard-header h1{font-size:24px;margin-bottom:8px}.compact-dashboard-header>.btn{font-size:10px;padding:8px 10px}.compact-dashboard-header>.btn>svg{display:none}.compact-account-line{font-size:10px;gap:9px 16px}.compact-account-line strong{font-size:11px}.compact-subscription-grid{grid-template-columns:1fr;gap:13px}.compact-dashboard .panel{padding:17px 18px;border-radius:13px}.compact-plan-heading .muted{font-size:9px}.compact-plan-heading h2{font-size:17px;margin-top:2px}.compact-usage{margin:12px 0 9px}.compact-usage strong{font-size:30px}.compact-subscription-details{margin:9px 0 12px;font-size:9px;gap:6px 11px}.compact-subscription-actions{gap:16px}.compact-subscription-actions .btn{min-height:32px;padding:7px 13px;font-size:10px}.compact-subscription-actions .text-link{font-size:10px}.compact-connection h2{font-size:14px;margin-bottom:10px}.compact-link-field input{font-size:12px}.compact-link-field .btn{min-height:36px;padding:8px 10px}.compact-connect-actions{grid-template-columns:88px minmax(0,1fr);gap:17px;margin-top:12px}.compact-connect-actions>div>.btn{font-size:11px;min-height:35px}.compact-connect-actions .text-link{font-size:10px;margin-top:6px}.compact-connect-actions p{font-size:9px;margin-top:5px}.compact-update-row{gap:9px;padding:9px 0;min-height:42px}.compact-update-row strong{font-size:11px}.compact-update-row time{font-size:9px}.compact-update-row>svg{display:none}.compact-update-kind{font-size:8px;min-width:31px;padding:3px 5px}.compact-dashboard>.announcement-strip{font-size:10px;padding:9px 11px}.compact-dashboard>.dashboard-attention{font-size:10px;gap:12px;padding:9px 11px}}
@media(max-width:360px){.compact-dashboard .panel{padding:16px 14px}.compact-plan-heading h2{font-size:16px}.compact-account-line{font-size:9px;gap:8px 12px}.compact-account-line strong{font-size:10px}.compact-dashboard-header>.btn{font-size:9px}.compact-usage>div{gap:5px}.compact-usage>span{font-size:9px}.compact-usage small{font-size:9px}.compact-connect-actions{gap:13px;grid-template-columns:84px minmax(0,1fr)}.compact-link-field .btn svg{display:none}.compact-update-row time{display:none}.compact-subscription-details{font-size:8px}}

.traffic-recovery{margin-top:15px;padding-top:14px;border-top:1px solid #e6eadf}.traffic-recovery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.traffic-recovery-heading h3{font-size:12px;line-height:1.7;color:#9c7535}.traffic-recovery-heading .text-link{font-size:10px}.traffic-recovery-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.traffic-recovery-actions:empty{display:none}.traffic-recovery .btn{font-size:11px;padding:9px 12px;min-height:36px;line-height:1.6}.traffic-recovery-note{font-size:11px;line-height:1.8;color:var(--muted);margin:9px 0 0}.traffic-recovery-guidance{display:flex;gap:18px;margin-top:7px}.traffic-recovery-guidance .text-link{font-size:11px}.modal .traffic-recovery{border:0;padding:0;margin:0}.modal .traffic-recovery-heading{display:none}@media(max-width:540px){.traffic-recovery .btn{font-size:10px;padding:8px 11px}.traffic-recovery-note{font-size:10px}.traffic-recovery-guidance .text-link{font-size:10px}}
.node-card [data-node-checked]{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
[data-node-sync]{margin:0 0 14px;font-size:12px;line-height:1.8}
[data-node-error]:not([hidden]){margin-bottom:16px}

/* Share content rows between adjacent cards, including long names and wrapped tags. */
.node-grid>.node-card{display:grid;grid-template-rows:auto minmax(48px,auto) minmax(48px,auto) 16px minmax(19px,auto) auto auto;gap:12px;align-content:start}
.node-card>h3{margin:0;padding-top:8px;line-height:1.6;overflow-wrap:anywhere;align-self:start}
.node-card>.node-tags{align-content:flex-start;align-items:flex-start;min-width:0;min-height:21px;gap:5px}
.node-card .node-tags>span{max-width:100%;overflow-wrap:anywhere}
.node-health-slot{min-height:16px;min-width:0}
.node-health-slot>.health-strip{margin:0;min-width:0}
.node-health-slot .health-cell{min-width:0}
.node-card>[data-node-checked]{margin:0;align-self:start}
.node-card>.node-rate{margin:0;padding:8px 0 10px;min-width:0;gap:10px}
.node-card>.node-rate strong{line-height:1.2;white-space:nowrap}
.node-card>.node-rate>span{text-align:end}
.node-card>.node-card-footer{align-self:end;min-width:0;gap:8px;flex-wrap:wrap}
.node-card-footer>small{overflow-wrap:anywhere}
.node-card-footer>.text-link{white-space:nowrap;margin-inline-start:auto}
@supports(grid-template-rows:subgrid){
 .node-grid>.node-card{grid-row:span 7;grid-template-rows:subgrid}
}
@media(max-width:480px){
 .node-grid>.node-card{row-gap:10px}
 .node-card>[data-node-checked]{font-size:10px}
 .node-card>.node-rate>span{text-align:start}
}
