/* Customer account pages use the license administration card and field proportions. */
.license-customer{--customer-card-padding:26px;--customer-border:color-mix(in srgb,var(--muted) 22%,transparent);width:min(calc(100% - 64px),1240px);margin:36px auto 90px;min-width:0}
.license-customer :is(form,section,article,aside,.customer-field){min-width:0}
.license-customer [hidden]{display:none!important}
.license-customer :is(p,dd,code,a,strong,small){overflow-wrap:anywhere}
.license-customer :is(h1,h2,h3){overflow-wrap:anywhere}
.license-customer :is(h1,.auth-intro h1,.support-heading h1,.dashboard-heading h1){margin:0;font-size:clamp(2.25rem,4.5vw,4rem);font-weight:500;letter-spacing:-.055em;line-height:1.1}
.license-customer h2{font-size:1.25rem;line-height:1.4;letter-spacing:-.025em}
.license-customer h3{font-size:1.125rem;line-height:1.4}
.license-customer .eyebrow{display:none}
.license-customer :is(.dashboard-shell,.auth-shell,.support-shell){width:100%;max-width:none;margin:0}
.customer-navigation{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 24px;margin-bottom:28px;border-bottom:1px solid var(--customer-border)}
.customer-navigation a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:10px;color:var(--muted);font-size:.875rem;font-weight:600;text-decoration:none}
.customer-navigation a:hover{background:var(--surface);color:var(--ink)}
.customer-navigation a[aria-current=page]{background:var(--surface);color:var(--orange)}
.license-customer :is(.auth-shell,.customer-account-layout,.support-layout){display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,400px);gap:24px;align-items:start}
.license-customer .auth-shell{grid-template-columns:minmax(0,1fr) minmax(340px,460px)}
.license-customer :is(.auth-intro>p:not(.eyebrow),.support-heading>p,.dashboard-heading>div>p){max-width:760px;margin:12px 0 0;color:var(--muted);font-size:1rem;line-height:1.6}
.license-customer .auth-crosslink{margin-top:24px;font-size:.875rem;line-height:1.7}
.license-customer :is(.dashboard-heading,.support-heading){max-width:none;margin:0 0 34px;gap:24px}
.license-customer .dashboard-heading{align-items:center}
.license-customer .dashboard-heading>a{font-size:.875rem;white-space:nowrap}
.license-customer :is(.auth-form,.license-card,.customer-account-details,.support-side-card,.empty-state){box-sizing:border-box;padding:var(--customer-card-padding);border:0;border-radius:18px;background:var(--surface);margin:0;box-shadow:none}
.license-customer :is(.auth-form,.account-profile-form,.server-form){display:grid;gap:20px}
.license-customer .auth-form h2{margin:0}
.license-customer .form-intro-copy{margin:0;color:var(--muted);font-size:.875rem;line-height:1.6}
.license-customer :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:52px;padding:13px 15px;border:0;border-radius:10px;outline:0;background:var(--bg);color:var(--ink);font:inherit}
.license-customer .public-flow-form input:not([type=hidden]):not([type=checkbox]){background:var(--bg)}
.license-customer :is(input,textarea,select):focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.license-customer textarea{min-height:180px;line-height:1.6;resize:vertical}
.license-customer :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:var(--orange)}
.license-customer :is(.button,.cancel-button,.profile-edit-toggle){box-sizing:border-box;min-height:44px;padding:10px 16px;border-radius:10px;font:inherit;font-size:.875rem;font-weight:600;line-height:1.5;cursor:pointer;text-align:center}
.license-customer .button{min-height:48px}
.license-customer .cancel-button{border:1px solid var(--customer-border);background:transparent;color:var(--ink)}
.license-customer .profile-edit-toggle{border:1px solid color-mix(in srgb,var(--orange) 55%,transparent);background:transparent;color:var(--orange)}
.license-customer .profile-edit-toggle:hover{background:var(--orange);color:#211509}
.license-customer :is(button,a):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.license-customer :disabled{opacity:.48;cursor:not-allowed}
.license-customer .customer-field{display:grid;gap:8px;align-content:start}
.license-customer .field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.license-customer label,.license-customer label>span{font-size:.875rem;font-weight:600}
.license-customer .profile-field-label{position:relative;display:flex;align-items:center;gap:8px;min-height:22px}
.license-customer .profile-field-label>label{display:block;margin:0;font-size:.875rem;font-weight:600}
.license-customer .profile-help-tip{position:static;display:inline-grid;width:18px;height:18px;min-height:18px;flex:0 0 18px;place-items:center;padding:0;border:1px solid color-mix(in srgb,var(--muted) 55%,transparent);border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;font-size:.6rem;line-height:1}
.license-customer .profile-help-tip:hover,.license-customer .profile-help-tip:focus-visible{border-color:var(--orange);color:var(--orange);outline:0}
.license-customer .profile-help-tip::after{content:attr(data-tooltip);position:absolute;z-index:30;left:0;bottom:calc(100% + 10px);box-sizing:border-box;width:max-content;max-width:min(420px,100%,calc(100vw - 32px));padding:10px 12px;border:1px solid color-mix(in srgb,var(--muted) 25%,transparent);border-radius:10px;background:var(--bg);color:var(--ink);box-shadow:0 12px 32px rgba(0,0,0,.3);font-size:.68rem;font-weight:500;line-height:1.45;text-align:left;white-space:normal;overflow-wrap:anywhere;transform:translateY(5px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,transform .15s ease,visibility .15s}
.license-customer .profile-help-tip:hover::after,.license-customer .profile-help-tip:focus-visible::after{transform:translateY(0);opacity:1;visibility:visible}
.license-customer :is(.form-link-row,.password-help-row){display:flex;gap:16px;flex-wrap:wrap;margin:0;font-size:.875rem}
.license-customer .form-link-row{padding-top:20px;border-top:1px solid var(--customer-border)}
.license-customer .policy-agreement{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start}
.license-customer .policy-agreement>span{font-size:.875rem;line-height:1.6;font-weight:400}
.license-customer .dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}
.license-customer .dashboard-stats article{min-width:0;min-height:140px;padding:24px;border-radius:18px;background:var(--surface)}
.license-customer .dashboard-stats strong{font-size:2.25rem;line-height:1.25}
.license-customer .dashboard-stats :is(span,small){font-size:.875rem}
.license-customer .license-list{display:grid;gap:18px}
.license-customer .license-title{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.45fr);gap:24px;align-items:start}
.license-customer .license-title h2{margin:12px 0;font-size:1.25rem}
.license-customer .license-title code{display:block;white-space:normal;font-size:.875rem;overflow-wrap:anywhere}
.license-customer .status{font-size:.875rem}
.license-customer .customer-license-identity{min-width:0}
.license-customer .customer-license-identity>.profile-edit-toggle{margin-top:18px}
.license-customer .license-price{min-width:0;gap:4px;text-align:left}
.license-customer .license-price strong{font-size:1.75rem;line-height:1.3}
.license-customer .license-price :is(span,small){font-size:.875rem}
.license-customer .license-price>.profile-field-label>span{color:var(--muted);font-weight:400}
.license-customer .license-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.license-customer :is(.license-card,.customer-account-details) dl>div{display:grid;gap:4px;min-width:0}
.license-customer dt{color:var(--muted);font-size:.875rem;font-weight:400}
.license-customer dd{margin:0;font-size:1rem;font-weight:500;font-variant-numeric:tabular-nums}
.license-customer .server-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;margin:24px 0 0;padding-top:24px;border-top:1px solid var(--customer-border)}
.license-customer .server-form .button{grid-column:1/-1;justify-self:start}
.license-customer .customer-checkout-form{display:grid;gap:16px;margin-top:24px;padding-top:24px;border-top:1px solid var(--customer-border)}
.license-customer .customer-checkout-form>.button{justify-self:start}
.license-customer .customer-checkout-form>small{font-size:.875rem;color:var(--muted);line-height:1.6}
.license-customer .cancellation-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:24px;padding-top:24px;border-top:1px solid var(--customer-border)}
.license-customer .cancellation-row>div{flex:1;min-width:180px}
.license-customer .cancellation-row p{margin:6px 0 0;color:var(--muted);font-size:.875rem;line-height:1.6}
.license-customer .customer-account-details h2{margin:0 0 24px}
.license-customer .customer-account-details dl{display:grid;gap:20px;margin:0}
.license-customer .account-profile-form{grid-template-columns:1fr;margin:24px 0 0;padding:24px 0 0;background:transparent;border:0;border-top:1px solid var(--customer-border);border-radius:0}
.customer-account-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--customer-border);font-size:.875rem}
.customer-account-links a{color:var(--orange);font-weight:600;text-decoration:none}
.license-customer :is(.notice,.flow-success,.form-error){box-sizing:border-box;padding:18px 20px;border-radius:10px;line-height:1.6}
.license-customer .notice{display:flex;align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:18px}
.license-customer .notice>div{flex:1;min-width:180px}
.license-customer .notice form{margin:0}
.license-customer .flow-success{font-size:1rem}
.license-customer .flow-success span{font-size:.875rem}
.license-customer .account-empty-licenses{padding:40px 26px}
.license-customer .support-side-stack{display:grid;grid-template-columns:1fr;gap:18px}
.license-customer .support-side-card h2{margin:0;font-size:1.25rem}
.license-customer .support-side-card :is(small,p){font-size:.875rem;line-height:1.6}
.license-customer .connected-account{display:flex;align-items:start;gap:12px;flex-wrap:wrap}
.license-customer .connected-account>span{min-width:0;flex:1}
.license-customer .connected-account>a{flex-basis:100%;font-size:.875rem}
.license-customer .customer-ticket-list{gap:20px}
.license-customer .customer-ticket-list article{min-width:0;padding:18px 0;border-top:1px solid var(--customer-border)}
.license-customer .customer-ticket-list article :is(small,span){font-size:.875rem}
.license-customer .request-type-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.license-customer .request-type-options label{background:var(--bg);padding:16px}
.license-customer .request-type-options label:has(input:checked){background:color-mix(in srgb,var(--orange) 9%,var(--bg))}
.license-customer .request-type-options legend{font-size:.875rem;font-weight:600;margin-bottom:8px}
.license-customer .request-type-options small{font-size:.875rem;line-height:1.5;font-weight:400}
.license-customer .license-validation-field{padding:20px;border-radius:10px;background:var(--bg);gap:12px}
.license-customer .license-validation-field>.profile-field-label{display:flex;grid-template-columns:none}
.license-customer .license-validation-field input{background:var(--surface)}
.license-customer .license-validation-field>small,.license-customer .license-validation-result{font-size:.875rem;line-height:1.6}
.license-customer .public-license-result :is(span,p){font-size:.875rem;line-height:1.6}
.license-customer .public-license-result.approved,.license-customer .license-validation-result.approved{color:var(--ink);background:color-mix(in srgb,var(--green) 14%,var(--surface))}
.license-customer .public-license-result.not-approved,.license-customer .license-validation-result.not-approved{color:var(--ink);background:color-mix(in srgb,var(--orange) 14%,var(--surface))}
@media(max-width:1050px){
 .license-customer :is(.auth-shell,.customer-account-layout,.support-layout){grid-template-columns:1fr}
 .license-customer .auth-intro{max-width:760px}
 .license-customer .auth-form{max-width:none}
}
@media(max-width:640px){
 .license-customer{width:calc(100% - 28px);margin:28px auto 60px;--customer-card-padding:20px}
 .customer-navigation{gap:4px;margin-bottom:24px;padding-bottom:20px}
 .customer-navigation a{padding-inline:12px}
 .license-customer .dashboard-heading{align-items:flex-start;flex-direction:column}
 .license-customer .dashboard-heading>a{align-self:flex-start}
 .license-customer :is(.field-pair,.server-form,.request-type-options){grid-template-columns:1fr}
 .license-customer .license-title{grid-template-columns:1fr;gap:24px}
 .license-customer .license-card dl{grid-template-columns:1fr;gap:18px}
 .license-customer .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .license-customer .dashboard-stats article:last-child{grid-column:1/-1;min-height:110px}
 .license-customer .dashboard-stats article{min-height:130px;padding:20px}
 .license-customer .dashboard-stats strong{font-size:1.75rem}
 .license-customer .license-validation-field>div:not(.profile-field-label){grid-template-columns:1fr}
 .license-customer .cancellation-row{align-items:stretch;flex-direction:column}
 .license-customer .cancellation-row .cancel-button{width:100%}
 .license-customer .form-link-row{flex-direction:column;gap:12px}
}

@media(max-width:380px){
 .license-customer .dashboard-stats{grid-template-columns:1fr}
}
/* Give the IP field a clear edge within the validation inset. */
.license-customer .support-form .license-validation-field input[name=server_ip]{background:var(--surface)}
