/* UTF Phase 6E — legacy saved-profile C1 updater */
.utf-c1-overlay{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(2,8,23,.76);backdrop-filter:blur(10px)}
.utf-c1-overlay.show{display:flex}
.utf-c1-dialog{width:min(680px,100%);max-height:min(84vh,760px);overflow:auto;border:1px solid rgba(245,158,11,.22);border-radius:22px;background:linear-gradient(160deg,rgba(15,23,42,.99),rgba(8,15,30,.99));box-shadow:0 28px 90px rgba(0,0,0,.42);color:#f8fafc}
.utf-c1-dialog-inner{padding:26px}
.utf-c1-kicker{margin:0 0 8px;color:#fbbf24;font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.utf-c1-title{margin:0;font-size:clamp(1.55rem,4vw,2.1rem);line-height:1.08}
.utf-c1-intro{margin:12px 0 22px;color:#cbd5e1;line-height:1.55}
.utf-c1-question{padding:18px 0;border-top:1px solid rgba(148,163,184,.14)}
.utf-c1-question:first-of-type{border-top:0}
.utf-c1-question-text{margin:0 0 13px;font-weight:700;line-height:1.45}
.utf-c1-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.utf-c1-choice{position:relative}
.utf-c1-choice input{position:absolute;opacity:0;pointer-events:none}
.utf-c1-choice label{min-height:48px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.22);border-radius:12px;background:rgba(15,23,42,.7);color:#cbd5e1;font-weight:800;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.utf-c1-choice input:checked+label{border-color:rgba(251,191,36,.8);background:rgba(245,158,11,.16);color:#fef3c7;transform:translateY(-1px)}
.utf-c1-scale-anchors{display:flex;justify-content:space-between;gap:12px;margin-top:7px;color:#94a3b8;font-size:.72rem}
.utf-c1-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
.utf-c1-button{border:0;border-radius:12px;padding:11px 16px;font:inherit;font-weight:800;cursor:pointer}
.utf-c1-button-secondary{background:rgba(148,163,184,.12);color:#cbd5e1}
.utf-c1-button-primary{background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#111827}
.utf-c1-button[disabled]{opacity:.55;cursor:wait}
.utf-c1-status{min-height:1.25em;margin:14px 0 0;color:#cbd5e1;font-size:.86rem}
.utf-c1-status.error{color:#fecaca}
@media(max-width:620px){.utf-c1-overlay{align-items:flex-end;padding:10px}.utf-c1-dialog{max-height:91vh;border-radius:20px 20px 14px 14px}.utf-c1-dialog-inner{padding:20px 16px 18px}.utf-c1-scale{gap:6px}.utf-c1-choice label{min-height:44px}}
