.eat26-widget-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    color: #1f2937;
    line-height: 1.6;
    padding: clamp(16px, 4vw, 48px);
}

.eat26-widget-header {
    text-align: center;
    margin-bottom: clamp(24px, 6vw, 40px);
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: clamp(16px, 4vw, 24px);
    position: relative;
}

.eat26-widget-title {
    color: #1976d2;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.eat26-widget-subtitle {
    color: #6b7280;
    font-size: clamp(14px, 3vw, 16px);
}

.eat26-skin-instructions {
    background: #f0f9ff;
    border: 1px solid #0284c7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    color: #0c4a6e;
    font-size: 14px;
}

.eat26-widget-progress {
    background: #f3f4f6;
    height: 8px;
    border-radius: 8px;
    margin-bottom: clamp(16px, 4vw, 24px);
    overflow: hidden;
}

.eat26-widget-progress-text {
    font-size: clamp(12px, 3vw, 14px);
    color: #6b7280;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
}

.eat26-widget-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1976d2, #3b82f6);
    transition: width 0.4s ease;
    border-radius: 8px;
}

.eat26-widget-question,
.demographic-group {
    margin-bottom: clamp(16px, 4vw, 24px);
    padding: clamp(16px, 4vw, 24px);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f9fafb);
}

.eat26-skin-missing {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.eat26-widget-question-number {
    color: #1976d2;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.eat26-widget-question-text,
.demographic-group-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.eat26-widget-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.eat26-widget-option {
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    min-height: 44px;
}

.eat26-widget-option.selected {
    background: linear-gradient(135deg, #1976d2, #3b82f6);
    color: white;
    border-color: #1976d2;
}

.eat26-widget-option:disabled,
.eat26-widget-option[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

.eat26-skin-fields {
    display: grid;
    gap: 16px;
}

.eat26-skin-label,
.eat26-skin-field {
    display: block;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
    min-width: 0;
}

.eat26-skin-field {
    border: 0;
    margin: 0;
    padding: 0;
}

.eat26-skin-field legend {
    padding: 0;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.eat26-skin-label input:not([type="radio"]):not([type="checkbox"]),
.eat26-skin-label select,
.eat26-skin-field select,
.eat26-skin-field input:not([type="radio"]):not([type="checkbox"]) {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
}

.eat26-skin-birth-grid,
.eat26-skin-height-grid {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.eat26-skin-birth-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(72px, 0.7fr) minmax(0, 1fr);
}

.eat26-skin-birth-grid select,
.eat26-skin-height-grid select {
    margin-top: 0;
}

.eat26-skin-height-grid {
    grid-template-columns: 1fr 1fr;
}

.eat26-skin-radios {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    min-height: 48px;
    margin-top: 8px;
}

.eat26-skin-radios label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

.eat26-skin-radios input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: none;
    flex-shrink: 0;
    accent-color: #1976d2;
}

.eat26-widget-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1976d2, #3b82f6);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
}

.eat26-widget-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.eat26-widget-success {
    text-align: left;
}

.eat26-widget-success-icon {
    color: #10b981;
    font-size: 48px;
    text-align: center;
}

.eat26-widget-success-title {
    color: #10b981;
    text-align: center;
}

.eat26-skin-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0;
}

.eat26-skin-band span {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: #f3f4f6;
    font-weight: 600;
}

.eat26-skin-band .is-green { background: #16a34a; color: white; }
.eat26-skin-band .is-yellow { background: #eab308; color: #1f2937; }
.eat26-skin-band .is-red { background: #dc2626; color: white; }

.eat26-skin-partc {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 16px 0;
}

.eat26-skin-partc th,
.eat26-skin-partc td {
    border: 1px solid #e5e7eb;
    padding: 8px;
}

.eat26-skin-partc .is-flag {
    background: #fecaca;
}

.eat26-skin-notice {
    color: #b45309;
    margin-bottom: 16px;
    font-weight: 600;
}

.eat26-skin-autofill {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.eat26-skin-root.is-fill .eat26-skin-autofill {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 20px;
    clip: auto;
    clip-path: none;
    overflow: visible;
    white-space: normal;
    background: #f59e0b;
    color: #1c1917;
    border: 2px solid #b45309;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.28);
    cursor: pointer;
}

.eat26-skin-root.is-fill .eat26-skin-autofill:hover,
.eat26-skin-root.is-fill .eat26-skin-autofill:focus-visible {
    background: #d97706;
    outline: 3px solid #92400e;
    outline-offset: 2px;
}

.eat26-skin-permission-form {
    display: grid;
    gap: 16px;
}

@media (max-width: 640px) {
    .eat26-widget-container {
        border-radius: 0;
        box-shadow: none;
        padding: 16px;
    }
    .eat26-skin-band,
    .eat26-skin-fields {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 641px) {
    .eat26-skin-fields {
        grid-template-columns: repeat(2, 1fr);
    }
}
