.msq-form-wrap { max-width: 800px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif; }
.msq-section { margin-bottom: 2rem; }
.msq-section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid #e5e7eb; }
.msq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.msq-field { margin-bottom: 1rem; }
.msq-field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; color: #374151; }
.msq-field .msq-required { color: #dc2626; }
.msq-field input, .msq-field textarea, .msq-field select {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid #d1d5db; border-radius: 0.5rem;
    font-size: 0.875rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box; background: #fff; color: #111;
}
.msq-field input:focus, .msq-field textarea:focus, .msq-field select:focus {
    outline: none; border-color: #1a8fc4; box-shadow: 0 0 0 3px rgba(26,143,196,0.1);
}
.msq-field textarea { resize: vertical; min-height: 120px; }
.msq-field select { height: 3rem; font-size: 1rem; }
.msq-field .msq-invalid { border-color: #dc2626; }
.msq-field-error { color: #dc2626; font-size: 0.8125rem; margin: 0.375rem 0 0; min-height: 0; }
.msq-field-error:empty { display: none; }
.msq-field-heading { font-size: 0.9375rem; font-weight: 600; color: #374151; margin: 0.5rem 0 0.125rem; }
.msq-field-hint { font-size: 0.8125rem; color: #6b7280; margin: 0 0 0.75rem; }
.msq-success-text { font-size: 1.125rem; font-weight: 600; color: #111 !important; }

.msq-items-table { border: 1px solid #e5e7eb; border-radius: 0.5rem; overflow: hidden; margin-bottom: 1rem; }
.msq-items-header {
    display: grid; grid-template-columns: 3rem 1fr 10rem 3rem;
    background: #f9fafb; padding: 0.75rem; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; border-bottom: 1px solid #e5e7eb;
}
.msq-item-row {
    display: grid; grid-template-columns: 3rem 1fr 10rem 3rem;
    align-items: center; border-bottom: 1px solid #e5e7eb;
}
.msq-item-row:last-child { border-bottom: none; }
.msq-item-row:nth-child(even) { background: #f9fafb; }
.msq-item-num { text-align: center; font-weight: 600; font-size: 0.875rem; color: #9ca3af; padding: 0.5rem; }
.msq-item-name, .msq-item-qty {
    width: 100%; padding: 0.75rem; border: none; background: transparent;
    font-size: 0.875rem; font-family: inherit; color: #111; box-sizing: border-box;
}
.msq-item-name:focus, .msq-item-qty:focus { outline: none; background: rgba(26,143,196,0.04); }
.msq-item-remove {
    background: none; border: none; cursor: pointer; font-size: 1.25rem;
    color: #9ca3af; padding: 0.5rem; text-align: center; transition: color 0.2s;
}
.msq-item-remove:hover { color: #dc2626; }

.msq-btn { display: inline-block; padding: 0.75rem 2rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.msq-btn-primary { background: #1a8fc4; color: #fff; }
.msq-btn-primary:hover { background: #1577a5; }
.msq-btn-outline { background: transparent; color: #1a8fc4; border: 1px solid #1a8fc4; width: 100%; text-align: center; }
.msq-btn-outline:hover { background: rgba(26,143,196,0.05); }
.msq-btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

.msq-actions { text-align: center; padding-top: 1rem; }
.msq-disclaimer { font-size: 0.75rem; color: #9ca3af; margin-top: 0.75rem; }

.msq-success { text-align: center; padding: 3rem 0; }
.msq-success-icon {
    width: 4rem; height: 4rem; border-radius: 50%; background: #dcfce7; color: #16a34a;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700; margin: 0 auto 1.5rem;
}
.msq-success h2 { margin-bottom: 0.75rem; font-size: 1.5rem; }
.msq-success p { color: #6b7280; max-width: 500px; margin: 0 auto; line-height: 1.6; }

.msq-error {
    padding: 1rem; border-radius: 0.5rem; background: #fef2f2;
    border: 1px solid rgba(220,38,38,0.2); color: #dc2626;
    font-size: 0.875rem; font-weight: 500; margin-bottom: 1.5rem;
}

.msq-loading { position: relative; pointer-events: none; opacity: 0.7; }
.msq-spinner {
    display: none; width: 1.25rem; height: 1.25rem; border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff; border-radius: 50%; animation: msq-spin 0.6s linear infinite;
    margin-right: 0.5rem; vertical-align: middle;
}
.msq-loading .msq-spinner { display: inline-block; }

@keyframes msq-spin { to { transform: rotate(360deg); } }

.msq-geo-blocked { text-align: center; padding: 3rem 1rem; }
.msq-geo-blocked-icon { color: #9ca3af; margin-bottom: 1.5rem; }
.msq-geo-blocked h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: #374151; }
.msq-geo-blocked > p { color: #6b7280; max-width: 500px; margin: 0 auto 2rem; line-height: 1.6; }
.msq-geo-blocked-contact {
    display: inline-block; text-align: left; padding: 1.5rem 2rem;
    border-radius: 0.75rem; background: #f9fafb; border: 1px solid #e5e7eb;
}
.msq-geo-blocked-contact p { margin: 0.25rem 0; color: #374151; font-size: 0.875rem; }
.msq-geo-blocked-contact a { color: #1a8fc4; text-decoration: none; }
.msq-geo-blocked-contact a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .msq-btn-lg { width: 100%; }
    .msq-field input, .msq-field textarea, .msq-field select { font-size: 16px; }
    .msq-grid { grid-template-columns: 1fr; }
    .msq-items-header { display: none; }
    .msq-item-row { grid-template-columns: 2rem 1fr 6rem 2rem; }
}
