/* R14: support and layout corrections, loaded after the original styles. */
.support-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:25;display:flex;align-items:center;gap:10px;padding:13px 18px;border-radius:18px;border:1px solid #49d6b64d;background:linear-gradient(120deg,#103e35,#102a46);box-shadow:0 12px 35px #0005;color:#e7fff5;font-family:inherit;font-weight:700;font-size:14px;line-height:1.4;text-decoration:none;min-height:48px}.support-launcher:hover{border-color:#6af2c4}.support-workspace{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.7fr);border:1px solid var(--line);border-radius:24px;background:#091b25;overflow:hidden;min-width:0}.support-sidebar{min-width:0;padding:20px;background:linear-gradient(160deg,#0c2525,#0a1a2c);border-right:1px solid var(--line)}.support-list-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.support-list-tools h2{font-size:17px;margin:0}.support-scope{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.6;margin:18px 0}.support-scope input{width:18px;height:18px;accent-color:#2ed573}.support-ticket-list{display:grid;gap:10px;margin-top:18px;max-height:680px;overflow:auto}.support-ticket{display:block;width:100%;min-width:0;border:1px solid #84b5c42b;border-radius:16px;padding:15px;text-align:left;background:#071923;color:var(--text);font:inherit;cursor:pointer}.support-ticket.is-selected{border-color:#2ed57399;background:linear-gradient(120deg,#16382f,#112b42)}.support-ticket strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.support-ticket small{display:block;font-size:11px;line-height:1.6;color:#9dbbc1;margin-top:5px}.support-ticket p{margin:8px 0 0;font-size:12px;line-height:1.6;color:#9dbbc1;overflow-wrap:anywhere}.support-conversation{min-width:0;padding:24px}.support-feedback:empty{display:none}.support-feedback{padding:12px 15px;margin-bottom:16px;border-radius:14px;background:#193a38;color:#b8f5d8;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.support-feedback.is-error{background:#432a2d;color:#ffd1cc}.support-thread-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.support-thread-heading h2{font-size:20px;line-height:1.35;margin:0;overflow-wrap:anywhere}.support-thread-heading>div{min-width:0;flex:1 1 220px}.support-thread-heading p{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0 0}.support-messages{display:flex;flex-direction:column;align-items:flex-start;gap:14px;max-height:530px;min-height:100px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:3px 5px 18px 0}.support-message{max-width:94%;min-width:0;padding:15px 17px;border:1px solid #75acc52b;border-radius:18px;background:#112938}.support-message.is-user{align-self:flex-end;background:#12372f;border-color:#2ed57335}.support-message-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:11px;line-height:1.6;color:#b5d9d2}.support-message-meta time{color:#8caeb9}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.75;margin:8px 0 0}.support-image{display:grid;gap:8px;max-width:100%;font-size:12px;color:#8beec5;margin-top:12px}.support-image img{display:block;max-width:100%;max-height:300px;width:auto;object-fit:contain;border-radius:12px}.support-composer{display:grid;gap:11px;min-width:0;padding-top:20px;border-top:1px solid var(--line)}.support-composer label{font-size:13px;font-weight:650}.support-composer .field-input{width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:0}.support-composer textarea{resize:vertical;min-height:110px}.support-compose-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.support-compose-actions>.button{margin-left:auto}.support-attach{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer;overflow:hidden}.support-attach input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.support-attach:focus-within{outline:2px solid #78edb8;outline-offset:3px}.support-remove{min-height:44px;border:0;background:transparent;color:#bcd4d5;text-decoration:underline;cursor:pointer}.support-file-label{font-size:11px;overflow-wrap:anywhere}.support-preview,.support-privacy,.support-closed,.support-empty{font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.support-preview,.support-closed{padding:16px;border:1px solid var(--line);border-radius:16px}.support-privacy{max-width:850px;margin:18px 0 0}.support-composer #support-send-status:empty{display:none}
/* Respect intrinsic widths rather than hiding overflowing content. */
#dashboard-content,.dashboard-content,.dash-head>div,.sub-title,.profile-card>div,.settings-row>div,.helper-card,.flow-card,.operation-form,.server-status-card{min-width:0}.dashboard-content h1,.dashboard-content h2,.dashboard-content h3,.dashboard-content p,.dashboard-content strong,.dashboard-content code{overflow-wrap:anywhere}.dashboard-content .field-input{max-width:100%;box-sizing:border-box}.dashboard-content img{max-width:100%}.dashboard-content .button{white-space:normal;text-align:center;line-height:1.4}.profile-card,.settings-row,.sub-top{flex-wrap:wrap}.settings-row>div{flex:1 1 180px}.profile-card .pill{margin-left:auto}.profile-card h2{margin-bottom:6px}.helper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cabinet-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.code-preview,.bot-file,.account-notification{max-width:100%;overflow-wrap:anywhere}.flow-actions,.modal-actions,.sub-actions,.gift-actions{flex-wrap:wrap}.table-wrap{max-width:100%;min-width:0}.support-workspace button:focus-visible,.support-launcher:focus-visible{outline:2px solid #78edb8;outline-offset:3px}.dashboard-content{padding-bottom:110px}
/* Desktop landing: one container, quieter globe, no overlapping connection card. */
@media(min-width:801px){.site-header{max-width:1200px;margin-inline:auto;padding-inline:24px}.section-wrap{width:calc(100% - 48px);max-width:1152px;margin-inline:auto}.hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:40px;min-height:620px;padding-top:55px;padding-bottom:55px}.hero-copy{min-width:0}.hero h1{font-size:clamp(42px,4.2vw,68px);line-height:1.12;letter-spacing:-.045em}.hero-art{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:470px;margin:0;transform:none;overflow:visible;gap:20px}.hero-art .globe{width:min(280px,80%);height:auto;aspect-ratio:1;opacity:.63;filter:saturate(.65) drop-shadow(0 0 24px #13abd325)}.hero-art .connection-card{position:relative;inset:auto;width:min(100%,340px);margin:0;transform:none;animation:none;z-index:2}.hero-art .float-tag{display:none}.hero-art .orbit{max-width:100%;opacity:.35}}
@media(max-width:1150px){.support-workspace{grid-template-columns:minmax(210px,.7fr) minmax(0,1.5fr)}.support-sidebar{padding:16px}.support-conversation{padding:20px}}
@media(max-width:800px){.support-workspace{grid-template-columns:minmax(0,1fr)}.support-sidebar{border-right:0;border-bottom:1px solid var(--line)}.support-ticket-list{max-height:235px}.support-conversation{padding:20px}.support-messages{max-height:50dvh}.hero-art .globe{opacity:.7;filter:saturate(.7)}.dashboard-content .field-input{font-size:16px}.dashboard-content .profile-card{gap:14px}.dashboard-content .profile-card>div{flex:1 1 160px}.helper-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.support-conversation{padding:16px}.support-workspace{border-radius:20px}.support-message{max-width:100%;padding:13px}.support-message p{font-size:14px}.support-thread-heading>.button{width:100%}.support-compose-actions>.button{width:100%;margin-left:0}.support-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));min-height:44px;padding:11px 15px;font-size:12px}.cabinet-plan-grid{grid-template-columns:minmax(0,1fr)}.dashboard-content .settings-row{gap:12px}.dashboard-content .settings-row>.button{width:100%;margin-left:0}.sub-top .pill{margin-left:0}.modal-actions>.button,.flow-actions>.button{max-width:100%;min-height:44px}.helper-card{padding:22px}.support-list-tools .button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.support-launcher{transition:none}}

.support-thread-heading h2,.support-list-tools h2{letter-spacing:-.02em;line-height:1.4}
.dashboard-content .preview-notice,.dashboard-content .live-notice,.dashboard-content .notice{border-radius:16px}
@media(max-width:380px){.support-launcher{width:44px;height:44px;padding:10px;justify-content:center}.support-launcher span{display:none}}

/* r15 onboarding and diagnostic forms */
.setup-checklist li{padding:12px 0;line-height:1.6}.setup-checklist p{font-size:14px;color:var(--text-gray,#9cafac);margin:8px 0}
#vpn-diagnostics{display:grid;gap:16px;min-width:0}#vpn-diagnostics label{display:grid;gap:8px}#vpn-diagnostics select,#vpn-diagnostics textarea{font:inherit;max-width:100%;width:100%;box-sizing:border-box}#vpn-diagnostics select{background:#10252b;color:#e4f3ec}#vpn-diagnostics textarea{min-height:100px}#vpn-diagnostics .modal-note{margin:0}
.subscription-qr{display:block;width:min(240px,100%);height:auto;background:#fff;padding:12px;border-radius:16px;margin:14px auto}.experience-panel{min-width:0}.experience-panel h2{margin:24px 0 14px;font-size:21px}.experience-card{border:1px solid #ffffff18;border-radius:18px;padding:18px;margin:14px 0;background:#0b2024;min-width:0}.experience-card p,.experience-card code{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}.experience-card code{display:block;font-size:12px}.experience-settings label{display:flex;align-items:flex-start;gap:12px;margin:16px 0;line-height:1.5}.experience-settings input{width:20px;height:20px;flex:none;accent-color:#2ed5a0}.experience-panel button,.experience-panel .button{min-height:44px}.support-customer{padding:14px;border:1px solid #ffffff18;border-radius:16px;margin:14px 0;overflow-wrap:anywhere}.support-customer p{font-size:13px;line-height:1.5}[data-experience-badge]:not(:empty),[data-support-unread]:not(:empty){display:inline-flex;background:#2ed573;color:#051710;padding:2px 7px;border-radius:99px;margin-left:6px;font-size:12px}
@media(max-width:560px){.experience-card{padding:14px}.experience-card .button{width:100%}.experience-panel h2{font-size:19px}}

/* R18: shared page frame and separated account controls. */
.site-header{max-width:none;width:100%;margin:0;padding-inline:max(24px,calc((100vw - 1360px)/2));background:rgba(5,19,26,.88)}
#dashboard{max-width:1440px;align-items:stretch;min-height:calc(100dvh - 88px)}
.sidebar{align-self:stretch;min-height:100%;border-right:1px solid rgba(109,188,207,.12);background:linear-gradient(180deg,#09262699,#07192588)}
.dashboard-content .panel-title{padding:0;border:0;margin:0 0 20px;line-height:1.45}
.dashboard-content .settings-row{padding:20px;border:1px solid rgba(109,188,207,.13);border-radius:16px;background:rgba(2,17,25,.25);margin-top:12px;align-items:center}
.dashboard-content .settings-row:last-child{border-bottom:1px solid rgba(109,188,207,.13)}
.dashboard-content .panel>.button.wide{width:auto;max-width:100%;margin:0 0 8px;border-radius:12px}
.dashboard-content .panel-title.flex-title{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}
.dashboard-content .management-action{border-bottom:0;padding:16px;border-radius:14px;background:rgba(2,17,25,.22);margin-block:8px}
.dashboard-content .setup-note,.dashboard-content .device-tip{border-bottom:0}
.dashboard-legal{border-top:1px solid rgba(109,188,207,.12)}
.telegram-login-status{padding:18px;border-radius:16px;border:1px solid rgba(109,188,207,.18);margin-top:20px;background:rgba(46,213,115,.06)}
.sidebar nav [data-icon=bell]{display:inline-flex;flex:none}.sidebar nav [data-icon=bell] svg{width:18px;height:18px}
@media(max-width:800px){
 .site-header{padding-inline:18px}
 #dashboard{min-height:calc(100dvh - 74px)}
 .sidebar{min-height:0;align-self:auto;border-right:0}
 .dashboard-content .settings-row{padding:16px;align-items:flex-start}
 .dashboard-content .panel>.button.wide{width:100%}
}
@media(min-width:801px){#dashboard>.sidebar{height:auto;align-self:stretch;position:relative}}

/* R18.1: consistent typography and intrinsic sizing. */
:root{--hundred-font:"Inter","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
body{font-family:var(--hundred-font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit}
button,.button{font-weight:600;line-height:1.4}
h1,h2,h3{line-height:1.2;text-wrap:balance}
p{line-height:1.65}
input,select,textarea{max-width:100%;min-width:0}

#effects-stash{display:none!important}
#account-effects-control{flex:0 1 auto;min-width:0}
#account-effects-control .hfx-toggle{position:static;inset:auto;margin:0;min-height:44px;font-size:13px;max-width:100%}
.sidebar{padding-bottom:28px}
.dashboard-content{padding-bottom:28px}
.dashboard-content .legal-links{margin-bottom:0;padding-bottom:16px}
.dashboard-content .dash-head p,.dashboard-content .settings-row p,.dashboard-content .helper-card p{font-size:14px;line-height:1.65}
.dashboard-content .settings-row strong{font-size:15px}
.dashboard-content .panel{padding:clamp(20px,2.5vw,32px)}
@media(max-width:800px){.dashboard-content .dash-head p{max-width:none}.dashboard-content .panel{padding:20px}.settings-row #account-effects-control{flex-basis:auto}}

/* R19: numbers share an inset grid instead of touching the rounded edge. */
.feature-strip{padding:24px 28px;gap:0}
.feature-strip>div{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:12px;align-content:center;padding:0 24px;border:0;min-width:0}
.feature-strip>div+div{border-left:1px solid var(--line)}
.feature-strip>div>span:first-child{grid-column:1;grid-row:1 / span 2;align-self:center;justify-self:start;position:static;transform:none;margin:0}
.feature-strip .feature-sub{grid-column:2;min-width:0;line-height:1.5}
@media(max-width:760px){.feature-strip{padding:20px;grid-template-columns:minmax(0,1fr);gap:18px}.feature-strip>div{padding:0}.feature-strip>div+div{border-left:0;border-top:1px solid var(--line);padding-top:18px}.feature-strip>div>span:first-child{display:block;margin:0}}

.incident-card{position:relative;isolation:isolate;overflow:hidden;padding:22px;background:linear-gradient(110deg,#09232bef,#0b2024e8)}
.incident-card>.server-country-flag{border-radius:inherit;opacity:.16;z-index:0}
.incident-card>:not(.server-country-flag){position:relative;z-index:1}
.incident-card strong{font-size:16px;line-height:1.5}.incident-card p{margin-bottom:0}
