.ups-studio { padding: 32px 0 64px; background: #f4f7f6; color: #143b32; font-family: 'Cairo', Arial, sans-serif; }
.ups-studio *, .ups-studio *::before, .ups-studio *::after { box-sizing: border-box; }
.ups-studio [hidden] { display: none !important; }
.ups-studio button, .ups-studio input, .ups-studio textarea { font: inherit; }
.ups-studio button, .ups-studio a { -webkit-tap-highlight-color: transparent; }
.ups-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #35574d; margin-bottom: 28px; }
.ups-heading { max-width: 760px; margin-bottom: 32px; }
.ups-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .12em; font-weight: 800; color: #06734f; margin-bottom: 12px; }
.ups-eyebrow i { font-size: 20px; }
.ups-heading h1 { font-family: 'Rubik', Arial, sans-serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; margin: 0 0 16px; color: #102c25; }
.ups-heading h1 span { color: #07875d; }
.ups-heading > p { max-width: 610px; color: #536960; font-size: 16px; line-height: 1.65; margin: 0; }
.ups-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.ups-preview-panel { position: sticky; top: 22px; padding: 24px; border-radius: 26px; background: radial-gradient(ellipse at 30% 0, #23483e, transparent 65%), #102b25; box-shadow: 0 18px 45px #143b321a; overflow: hidden; }
.ups-preview-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: #bce3d4; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.ups-preview-label span:last-child { color: #87ad9d; }
.ups-canvas-wrap { width: 100%; max-width: 320px; margin: auto; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #0a2023; box-shadow: 0 18px 40px #0005; border: 1px solid #ffffff20; }
#share-canvas { display: block; width: 100%; height: auto; }
.ups-preview-note { text-align: center; color: #bce3d4; font-size: 13px; line-height: 1.5; margin: 18px 0 0; }
.ups-controls { display: grid; gap: 18px; min-width: 0; }
.ups-control-card { padding: 26px; border: 1px solid #e0e8e4; border-radius: 22px; background: #fff; box-shadow: 0 4px 15px #143b3204; min-width: 0; }
.ups-small-label { display: block; color: #6c8176; font-size: 12px; letter-spacing: .1em; font-weight: 800; margin-bottom: 6px; }
.ups-control-card h2 { font-family: 'Rubik', Arial, sans-serif; font-size: 22px; font-weight: 600; color: #143b32; margin: 0 0 20px; letter-spacing: -.025em; }
.ups-label { display: block; color: #344e43; font-size: 14px; font-weight: 700; margin: 16px 0 8px; }
.ups-themes { border: 0; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.ups-themes legend { padding: 0; width: 100%; float: none; }
.ups-theme { position: relative; flex: 1 1 100px; cursor: pointer; margin: 0; }
.ups-theme input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ups-theme span { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 11px 8px; border: 2px solid #e1e8e4; border-radius: 12px; color: #4a6157; font-size: 14px; font-weight: 700; transition: border-color .15s, background .15s; }
.ups-theme b { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #073d39, #5cdaa4); border: 1px solid #0001; flex-shrink: 0; }
.ups-theme--midnight b { background: linear-gradient(135deg, #1c1a3b, #b4a1ff); }
.ups-theme--pearl b { background: linear-gradient(135deg, #e9eaff, #fff); }
.ups-theme input:checked + span { border-color: #07875d; background: #f0fbf6; color: #07543c; }
.ups-theme input:focus-visible + span, .ups-studio :is(button, a, input, textarea):focus-visible { outline: 3px solid #46a78a; outline-offset: 3px; }
.ups-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.ups-photos button { width: 64px; height: 64px; padding: 3px; border-radius: 12px; border: 2px solid #e1e8e4; background: #fff; cursor: pointer; }
.ups-photos button[aria-pressed=true] { border-color: #07875d; box-shadow: 0 0 0 2px #dcf8e9; }
.ups-photos img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.ups-field { display: block; width: 100%; max-width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid #d9e3dd; border-radius: 10px; background: #fbfdfc; color: #213e33; font-size: 16px !important; line-height: 1.5; }
textarea.ups-field { resize: vertical; }
.ups-hint { font-size: 13px; line-height: 1.55; color: #677e70; margin: 10px 0 0; }
.ups-button { display: inline-flex; gap: 9px; justify-content: center; align-items: center; padding: 13px 15px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.35; cursor: pointer; text-align: center; transition: transform .15s, box-shadow .15s; text-decoration: none; min-width: 0; }
.ups-button:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 4px 10px #143b3212; }
.ups-button:disabled { opacity: .45; cursor: wait; transform: none; box-shadow: none; }
.ups-button i { font-size: 18px; }
.ups-button--whatsapp { display: flex; width: 100%; background: #087f5b; color: #fff; font-size: 16px; padding: 17px; box-shadow: 0 5px 14px #087f5b20; }
.ups-button--whatsapp:hover { background: #066849; color: #fff; }
.ups-button--whatsapp i { font-size: 24px; }
.ups-button--dark { background: #173c31; color: #fff; }
.ups-button--outline { background: #fff; color: #285243; border-color: #cdded4; }
.ups-button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ups-button-row > * { flex: 1 1 145px; }
.ups-status { font-size: 14px; line-height: 1.5; color: #3b6451; margin: 14px 0 0; min-height: 21px; }
.ups-status[data-error=true] { color: #9d283b; }
.ups-howto { padding: 15px 16px; border-radius: 12px; background: #f0f8f3; margin-top: 16px; }
.ups-howto strong { font-size: 14px; color: #224c38; }
.ups-howto p { font-size: 14px; line-height: 1.55; color: #55705f; margin: 5px 0 0; }
.ups-caption-card summary { font-weight: 700; font-size: 16px; color: #285243; cursor: pointer; }
.ups-caption { font-family: Arial, sans-serif !important; font-size: 14px !important; }
.ups-link { font-family: Arial, sans-serif !important; font-size: 13px !important; color: #647a6d; }
.ups-link-label { font-weight: 600; }
@media (max-width: 991px) { .ups-workspace { gap: 18px; } .ups-control-card { padding: 20px; } .ups-preview-panel { padding: 18px; } }
@media (max-width: 767px) { .ups-workspace { grid-template-columns: minmax(0, 1fr); } .ups-preview-panel { position: static; } .ups-canvas-wrap { max-width: 280px; } .ups-studio { padding: 24px 0 48px; } .ups-heading { margin-bottom: 24px; } .ups-heading h1 { font-size: 32px; } .ups-back { margin-bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .ups-studio * { transition: none !important; } }
