.customer-ticket-submit { container-type: inline-size; min-width: 0; } .customer-ticket-submit .order-heading { margin-bottom: 16px; } .customer-ticket-submit .order-heading > a { flex: none; } .customer-request-layout { --request-inset: clamp(16px, 3vw, 26px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 310px); align-items: start; gap: 16px; } .customer-request-panel, .customer-request-guide { min-width: 0; } .customer-request-panel-heading { padding: 16px var(--request-inset); border-bottom: 1px solid var(--border-subtle); } .customer-request-panel-heading h2, .customer-request-guide h2 { margin: 0; color: var(--foreground); font-size: var(--type-section); font-weight: 600; line-height: 1.4; } .customer-request-fields { display: grid; gap: 20px; padding: 20px var(--request-inset); } .customer-request-type { min-width: 0; margin: 0; padding: 0; border: 0; } .customer-request-type legend, .customer-request-field > label { color: var(--field-label); font-size: var(--type-support); font-weight: 500; } .customer-request-type legend { margin-bottom: 8px; } .customer-request-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .customer-request-choice { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--card); cursor: pointer; } .customer-request-choice:hover { border-color: var(--border-hover); } .customer-request-choice:has(input:checked) { border-color: var(--primary-border); background: var(--primary-soft); } .customer-request-choice:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; } .customer-request-choice:has(input:disabled) { cursor: default; } .customer-request-choice-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border-subtle); border-radius: 8px; background: var(--card); color: var(--primary); } .customer-request-choice-text { display: grid; gap: 2px; } .customer-request-choice-text strong { color: var(--foreground); font-size: var(--type-body); font-weight: 600; } .customer-request-choice-text small { color: var(--muted-foreground); font-size: var(--type-meta); line-height: 1.5; } .customer-request-choice-marker { display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid var(--border-hover); border-radius: 50%; background: var(--card); } .customer-request-choice:has(input:checked) .customer-request-choice-marker { border-color: var(--primary); } .customer-request-choice:has(input:checked) .customer-request-choice-marker::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); } .customer-request-field { display: grid; gap: 7px; min-width: 0; } .customer-request-field > label span, .customer-request-error { color: var(--destructive); } .customer-request-field textarea { width: 100%; min-height: 132px; padding: 10px 11px; border: 1px solid var(--input); border-radius: var(--radius-control); background: var(--card); color: var(--foreground); font-size: var(--type-body); line-height: 1.6; outline: none; resize: vertical; } .customer-request-field textarea::placeholder { color: var(--muted-foreground); opacity: .7; } .customer-request-field textarea:hover { border-color: var(--border-hover); } .customer-request-field textarea:focus-visible { border-color: var(--ring); box-shadow: 0 0 0 3px var(--ring-glow); } .customer-request-field textarea[aria-invalid="true"] { border-color: var(--destructive); } .customer-request-field textarea:disabled { opacity: .5; } .customer-request-field-meta { display: flex; align-items: baseline; gap: 8px; } .customer-request-field-meta > span { margin-inline-start: auto; color: var(--muted-foreground); font-size: var(--type-meta); font-variant-numeric: tabular-nums; white-space: nowrap; } .customer-request-error { font-size: var(--type-meta); } .customer-request-fields > .ops-form-error { margin: 0; } .customer-request-footer { display: flex; justify-content: flex-end; padding: 14px var(--request-inset); border-top: 1px solid var(--border-subtle); } .customer-request-scope { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: var(--muted-foreground); font-size: var(--type-meta); line-height: 1.6; } .customer-request-scope svg { flex: none; margin-top: 2px; color: var(--icon); } .customer-request-guide { padding: 18px var(--request-inset); } .customer-request-guide ol { margin: 16px 0; padding-inline-start: 18px; list-style: decimal; } .customer-request-guide li + li { margin-top: 13px; } .customer-request-guide li::marker { color: var(--primary); font-size: var(--type-meta); font-weight: 600; } .customer-request-guide li strong { color: var(--foreground); font-size: var(--type-support); font-weight: 600; } .customer-request-guide li p { margin: 3px 0 0; color: var(--muted-foreground); font-size: var(--type-support); line-height: 1.55; } .customer-request-scope { padding-top: 13px; border-top: 1px solid var(--border-subtle); } .customer-request-success { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 16px var(--request-inset) 0; padding: 9px 12px; border: 1px solid var(--success-border); border-radius: var(--radius-control); background: var(--success-soft); color: var(--success); } .customer-request-success > svg { flex: none; } .customer-request-success > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; overflow-wrap: anywhere; } .customer-request-success strong { font-size: var(--type-support); font-weight: 600; } .customer-request-success span { font-size: var(--type-meta); } .customer-request-success > a { margin-inline-start: auto; } @container (max-width: 790px) { .customer-request-layout { grid-template-columns: minmax(0, 1fr); } } @container (max-width: 470px) { .customer-request-options { grid-template-columns: minmax(0, 1fr); } }