.customer-page { margin: 0; background: var(--tg-theme-secondary-bg-color, #f4f6fa); color: var(--tg-theme-text-color, #202b3b); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.customer-form { max-width: 640px; margin: 0 auto; padding: max(18px, var(--tg-content-safe-area-inset-top, 0px)) 20px max(24px, var(--tg-content-safe-area-inset-bottom, 0px)); }
.customer-form * { box-sizing: border-box; }
.customer-form [hidden] { display: none !important; }
.customer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.customer-brand { display: block; flex-shrink: 0; text-decoration: none; }
.customer-brand img { display: block; width: 128px; height: auto; }
.customer-team { flex: 1; min-width: 0; font-size: 13px; color: var(--tg-theme-hint-color, #657186); overflow-wrap: anywhere; text-align: right; }
.customer-card { padding: 30px; border: 1px solid color-mix(in srgb, currentColor 10%, transparent); border-radius: 20px; background: var(--tg-theme-bg-color, white); box-shadow: 0 8px 32px #24345405; }
.customer-eyebrow { color: var(--tg-theme-button-color, #3c65db); font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.customer-intro h1 { margin: 8px 0 10px; font-size: 30px; letter-spacing: -.035em; }
.customer-intro p, .customer-success p { color: var(--tg-theme-hint-color, #657186); font-size: 14px; line-height: 1.6; margin: 0 0 28px; }
.customer-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.customer-field { margin-bottom: 24px; }
.customer-field > label { display: flex; gap: 10px; align-items: baseline; font-size: 14px; font-weight: 650; margin-bottom: 9px; }
.customer-field > label span { font-size: 11px; font-weight: 400; color: var(--tg-theme-hint-color, #657186); }
.customer-field input[type=text], .customer-field textarea { display: block; width: 100%; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 9px; padding: 12px 13px; background: var(--tg-theme-bg-color, white); color: inherit; font: inherit; font-size: 16px; line-height: 1.5; }
.customer-field textarea { resize: vertical; min-height: 150px; }
.customer-form :focus-visible { outline: 3px solid color-mix(in srgb, var(--tg-theme-button-color, #4169df) 45%, transparent); outline-offset: 3px; }
.customer-hint { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: 11px; line-height: 1.5; color: var(--tg-theme-hint-color, #657186); }
.customer-hint > :last-child { white-space: nowrap; }
.customer-upload { position: relative; border: 1px dashed color-mix(in srgb, currentColor 22%, transparent); border-radius: 10px; padding: 16px; }
.customer-upload-button { display: inline-block; cursor: pointer; font-size: 13px; font-weight: 650; color: var(--tg-theme-button-color, #3c65db); }
.customer-upload p { margin: 7px 0 0; font-size: 11px; line-height: 1.6; color: var(--tg-theme-hint-color, #657186); }
.customer-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.customer-upload:focus-within { outline: 3px solid color-mix(in srgb, var(--tg-theme-button-color, #4169df) 45%, transparent); outline-offset: 3px; }
.customer-attachments { list-style: none; margin: 0; padding: 0; }
.customer-attachments li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent); padding: 11px 0; font-size: 12px; overflow-wrap: anywhere; }
.customer-attachments button { background: transparent; border: 0; color: var(--tg-theme-button-color, #3c65db); padding: 7px; cursor: pointer; flex-shrink: 0; }
.customer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.customer-primary, .customer-secondary { display: block; width: 100%; border: 0; border-radius: 9px; padding: 13px 18px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.customer-primary { color: var(--tg-theme-button-text-color, white); background: var(--tg-theme-button-color, #4169df); }
.customer-secondary { color: var(--tg-theme-hint-color, #657186); background: transparent; }
.customer-form button:disabled, .customer-form fieldset:disabled { opacity: .65; cursor: wait; }
.customer-status { font-size: 13px; color: var(--tg-theme-hint-color, #657186); line-height: 1.5; }
.customer-error { background: #fff1ed; color: #8e2b18; border: 1px solid #efcec5; border-radius: 9px; padding: 13px; font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.customer-success { text-align: center; padding: 10px 0; }
.customer-success-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: #e5f4eb; color: #26704b; border-radius: 50%; font-size: 25px; }
.customer-success h2 { font-size: 23px; margin: 18px 0 8px; }
.customer-success .customer-subject { color: inherit; overflow-wrap: anywhere; margin-bottom: 15px; }
.customer-footer { text-align: center; color: var(--tg-theme-hint-color, #657186); font-size: 11px; line-height: 1.6; margin: 20px 0 0; }
@media (max-width: 480px) { .customer-form { padding-left: 12px; padding-right: 12px; } .customer-header { padding: 0 6px; margin-bottom: 18px; } .customer-card { padding: 22px 18px; border-radius: 16px; } .customer-intro h1 { font-size: 27px; } }
