.hp-modes{margin-bottom: 14px}.hp-grid{display: grid;grid-template-columns: minmax(0,1fr) 360px;gap: 18px;align-items: start}@media (max-width: 1100px){.hp-grid{grid-template-columns: minmax(0,1fr)}}.hp-templates{display: grid;grid-template-columns: repeat(5,minmax(0,1fr));gap: 10px;margin-bottom: 16px}@media (max-width: 640px){.hp-templates{grid-template-columns: repeat(3,minmax(0,1fr))}}.hp-tpl{position: relative;display: flex;flex-direction: column;align-items: center;gap: 7px;cursor: pointer}.hp-tpl input{position: absolute;opacity: 0;width: 0;height: 0}.hp-thumb{position: relative;display: block;width: 100%;aspect-ratio: 9 / 15;border-radius: 14px;overflow: hidden;border: 2px solid var(--border);box-shadow: var(--shadow-xs);transition: transform var(--dur-3) var(--ease-out),border-color var(--dur-3),box-shadow var(--dur-3)}.hp-tpl:hover .hp-thumb{transform: translateY(-2px);box-shadow: var(--shadow-sm)}.hp-tpl input:checked + .hp-thumb{border-color: var(--primary);box-shadow: 0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent),var(--shadow-sm)}.hp-tpl input:focus-visible + .hp-thumb{outline: 2px solid var(--primary);outline-offset: 2px}.hp-tpl-name{font-size: 12.5px;font-weight: 600;color: var(--text-2)}.hp-tpl input:checked ~ .hp-tpl-name{color: var(--primary)}.hp-thumb i,.hp-thumb b,.hp-thumb em,.hp-thumb s{position: absolute;display: block}.hp-thumb i{inset: 22% 12% auto;height: 52%;border-radius: 10px;background: #fff;box-shadow: 0 6px 14px -8px rgba(15,23,42,.35)}.hp-thumb b{inset: 44% 22% auto;height: 9%;border-radius: 5px;background: #eef2f7}.hp-thumb em{inset: 58% 22% auto;height: 9%;border-radius: 5px;background: var(--primary)}.hp-thumb s{inset: 28% 42% auto;height: 9%;border-radius: 50%;aspect-ratio: 1;height: auto;background: var(--primary)}.hp-thumb-madix{background: radial-gradient(circle at 12% 6%,#fff 0,#efe2c9 16%,transparent 17%),#f9f8f4}.hp-thumb-madix i{box-shadow: 0 6px 14px -9px rgba(1,33,64,.4)}.hp-thumb-madix b{background: #fdfaf3;box-shadow: inset 0 0 0 1px #f0e2c9}.hp-thumb-madix em{background: #e5ba75}.hp-thumb-madix s{background: #012140}.hp-thumb-emerald{background: linear-gradient(180deg,#075239 0,#0b7a55 30%,#e9f4ef 46%,#f3f7f5 46%)}.hp-thumb-emerald em{background: linear-gradient(90deg,#12b886,#075239)}.hp-thumb-emerald s{background: #0b7a55}.hp-thumb-ocean{background: linear-gradient(180deg,#084a9c 0,#0b63ce 26%,#2bb6f0 40%,#f3f8ff 40%)}.hp-thumb-ocean em{background: linear-gradient(90deg,#1fa2ff,#084a9c)}.hp-thumb-ocean s{background: #0b63ce}.hp-thumb-midnight{background: radial-gradient(circle at 20% 0,rgba(99,102,241,.55),transparent 55%),radial-gradient(circle at 95% 25%,rgba(34,211,238,.35),transparent 50%),#0a0f24}.hp-thumb-midnight i{background: #141b3a;box-shadow: 0 0 0 1px rgba(255,255,255,.08)}.hp-thumb-midnight b{background: #1c2448}.hp-thumb-midnight em{background: linear-gradient(90deg,#22d3ee,#6366f1)}.hp-thumb-midnight s{background: #8b9cff}.hp-thumb-royal{background: linear-gradient(155deg,#2a0a55 0,#6d28d9 30%,#f7f5fb 42%)}.hp-thumb-royal em{background: linear-gradient(90deg,#6d28d9,#4c1d95)}.hp-thumb-royal s{background: #f6c453}.hp-thumb-sunset{background: linear-gradient(160deg,#9a3412 0,#ea580c 18%,#f43f5e 36%,#fff7f2 36%)}.hp-thumb-sunset em{background: linear-gradient(90deg,#f43f5e,#ea580c,#c2410c)}.hp-thumb-sunset s{background: #ea580c}.hp-thumb-glass{background: radial-gradient(circle at 10% 8%,#fbcfe8,transparent 45%),radial-gradient(circle at 92% 18%,#bfdbfe,transparent 45%),radial-gradient(circle at 50% 100%,#ddd6fe,transparent 55%),#f1efff}.hp-thumb-glass i{background: rgba(255,255,255,.7);box-shadow: 0 0 0 1px rgba(255,255,255,.9)}.hp-thumb-glass em{background: #4f46e5}.hp-thumb-glass s{background: #4f46e5}.hp-thumb-minimal{background: #fff}.hp-thumb-minimal i{box-shadow: 0 0 0 1px #e5e7eb}.hp-thumb-minimal b{background: #fff;box-shadow: inset 0 0 0 1px #d1d5db}.hp-thumb-minimal em,.hp-thumb-minimal s{background: #111827}.hp-thumb-carbon{background: repeating-linear-gradient(135deg,rgba(255,255,255,.03) 0 2px,transparent 2px 9px),#0c0c0e}.hp-thumb-carbon i{background: #141417;box-shadow: 0 0 0 1px #2c2c31}.hp-thumb-carbon b{background: #1b1b1f}.hp-thumb-carbon em,.hp-thumb-carbon s{background: #84cc16}.hp-thumb-mint{background: linear-gradient(160deg,#0d9488 0,#0e7fb8 34%,#eefaf6 34%)}.hp-thumb-mint em{background: linear-gradient(90deg,#0d9488,#0a6f66)}.hp-thumb-mint s{background: #0d9488}.hp-color.hp-color-auto > span{background: linear-gradient(135deg,#012140 0 50%,#e5ba75 50% 100%);color: #fff}.hp-color.hp-color-auto input:checked + span{box-shadow: 0 0 0 2px var(--surface),0 0 0 4px var(--primary)}.hp-box{margin-top: var(--space-3,12px);padding: 12px 14px;border: 1px solid var(--border);border-radius: var(--radius-md,12px);background: var(--surface-2)}.hp-box > .switch .icon{margin-inline-end: 4px}.hp-cards{display: grid;gap: 10px}.hp-card-row{display: grid;grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1.4fr);gap: 8px;align-items: center}.hp-card-row .switch{min-width: 0}.hp-card-name{overflow: hidden;text-overflow: ellipsis;white-space: nowrap}.hp-card-price{margin-inline-start: 6px;color: var(--muted);font-size: 12px;white-space: nowrap}@media (max-width: 640px){.hp-card-row{grid-template-columns: minmax(0,1fr) minmax(0,1fr)}.hp-card-row .switch{grid-column: 1 / -1}}.hp-fields{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 0 14px}@media (max-width: 640px){.hp-fields{grid-template-columns: minmax(0,1fr)}}.field-label{display: block;margin-bottom: 6px;font-size: 13px;font-weight: 600;color: var(--text-2)}.hp-colors{display: flex;flex-wrap: wrap;gap: 9px}.hp-color{position: relative;cursor: pointer}.hp-color input{position: absolute;opacity: 0;width: 0;height: 0}.hp-color > span{display: grid;place-items: center;width: 32px;height: 32px;border-radius: 50%;background: var(--c);box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);transition: transform var(--dur-2) var(--ease-out),box-shadow var(--dur-2)}.hp-color:hover > span{transform: scale(1.08)}.hp-color input:checked + span{box-shadow: 0 0 0 2px var(--surface),0 0 0 4px var(--c)}.hp-color input:focus-visible + span{outline: 2px solid var(--primary);outline-offset: 3px}.hp-color-any > span{background: conic-gradient(#ef4444,#f59e0b,#22c55e,#06b6d4,#6366f1,#d946ef,#ef4444);color: #fff}.hp-color-any input[type="color"]{position: absolute;inset: 0;width: 100%;height: 100%;opacity: 0;cursor: pointer}.hp-file{display: flex;align-items: center;gap: 10px}.hp-logo-now img{display: block;width: 40px;height: 40px;border-radius: 10px;object-fit: contain;background: var(--surface-2);box-shadow: inset 0 0 0 1px var(--border)}.hp-switches{display: flex;flex-wrap: wrap;gap: 18px;margin: 6px 0 14px}.hp-size{display: flex;flex-wrap: wrap;gap: 6px 16px;font-size: 12.5px;color: var(--muted)}.hp-size b{color: var(--text-2);font-variant-numeric: tabular-nums}.hp-size b.is-over{color: var(--danger)}.hp-form.is-previewing .hp-size{opacity: .7}.hp-stage{position: sticky;top: calc(var(--topbar-h) + 14px);display: flex;flex-direction: column;align-items: center;gap: 12px}.hp-pages{max-width: 100%;overflow-x: auto;scrollbar-width: none}.hp-pages::-webkit-scrollbar{display: none}.hp-pages button{white-space: nowrap;border: 0;background: none;padding: 5px 11px;border-radius: calc(var(--control-radius) - 2px);font: inherit;font-size: 12.5px;color: var(--text-2);cursor: pointer}.hp-pages button.is-active{background: var(--surface);color: var(--text);box-shadow: var(--shadow-xs);font-weight: 600}.hp-phone{position: relative;width: 340px;max-width: 100%;padding: 12px;border-radius: 44px;background: linear-gradient(160deg,#2b3345,#0b0f19);box-shadow: 0 30px 60px -28px rgba(15,23,42,.55),inset 0 0 0 1px rgba(255,255,255,.08)}.hp-phone::before{content: "";position: absolute;top: 18px;left: 50%;width: 84px;height: 20px;margin-left: -42px;border-radius: 12px;background: #05070c;z-index: 2}.hp-screen{position: relative;overflow: hidden;border-radius: 33px;background: #fff;aspect-ratio: 9 / 18.5}.hp-screen iframe{display: block;width: 100%;height: 100%;border: 0;background: #fff}.hp-phone-empty .hp-screen{display: grid;place-items: center;background: var(--surface-2)}[data-theme="dark"] .hp-phone{background: linear-gradient(160deg,#3a4357,#12161f)}.hp-detect{display: flex;flex-wrap: wrap;gap: 7px;margin: 12px 0 14px}.hp-sel{display: flex;align-items: center;justify-content: space-between;gap: 12px;padding: 9px 0;border-bottom: 1px dashed var(--border)}.hp-sel:last-of-type{border-bottom: 0}.hp-sel-label{font-size: 13px;font-weight: 600;color: var(--text-2);flex: none}.hp-sel-val{min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 12px;color: var(--muted)}.hp-steps{display: flex;align-items: center;flex-wrap: wrap;gap: 8px}.hp-step{display: inline-flex;align-items: center;gap: 7px;padding: 5px 12px;border-radius: 999px;background: var(--surface-3);font-size: 12.5px;font-weight: 600;color: var(--text-2);transition: background-color var(--dur-3),color var(--dur-3)}.hp-step i{display: grid;place-items: center;width: 20px;height: 20px;border-radius: 50%;background: var(--surface);font-style: normal;font-size: 11px}.hp-step.is-active{background: var(--primary);color: var(--on-primary)}.hp-step.is-active i{color: var(--primary);animation: hp-pulse 1.4s ease-in-out infinite}.hp-step.is-done{background: color-mix(in srgb,var(--success) 15%,transparent);color: var(--success)}@keyframes hp-pulse{50%{transform: scale(.86)}}.hp-why{margin-top: 3px;font-size: 12px;color: var(--danger)}.hp-drop{position: relative;display: flex;align-items: center;gap: 12px;padding: 14px 16px;border: 1.5px dashed var(--border-strong);border-radius: var(--radius);background: var(--surface-2);cursor: pointer;transition: border-color var(--dur-2),background-color var(--dur-2)}.hp-drop:hover,.hp-drop.is-over,.hp-drop:focus-within{border-color: var(--primary);background: color-mix(in srgb,var(--primary) 6%,var(--surface))}.hp-drop input[type="file"]{position: absolute;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;cursor: pointer}.hp-drop-icon{display: grid;place-items: center;width: 40px;height: 40px;flex: none;border-radius: 12px;background: var(--primary-soft);color: var(--primary)}.hp-drop-text{min-width: 0;font-size: 12.5px;color: var(--muted);overflow-wrap: anywhere}.hp-folder-input{display: none}.hp-progress{display: flex;align-items: center;gap: 10px;margin-top: 12px;font-size: 12.5px;color: var(--muted);font-variant-numeric: tabular-nums}.hp-progress-bar{flex: 1;height: 6px;border-radius: 999px;background: var(--surface-3);overflow: hidden}.hp-progress-bar i{display: block;height: 100%;background: var(--primary);transform: scaleX(0);transform-origin: right center;transition: transform var(--dur-4) var(--ease-out)}[dir="ltr"] .hp-progress-bar i{transform-origin: left center}.hp-files{list-style: none;margin: 0;padding: 0}.hp-file{display: flex;align-items: center;gap: 10px;padding: 9px 18px;border-bottom: 1px solid var(--border)}.hp-file:last-child{border-bottom: 0}.hp-file-icon{display: grid;place-items: center;width: 32px;height: 32px;flex: none;border-radius: 9px;background: var(--surface-3);color: var(--text-2)}.hp-file-icon .icon{width: 16px;height: 16px}.hp-file.is-page .hp-file-icon{background: var(--primary-soft);color: var(--primary)}.hp-file-main{display: flex;flex: 1;min-width: 0;flex-direction: column;align-items: flex-start;gap: 3px}.hp-file-path{display: inline-block;max-width: 100%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 13px;color: var(--text)}.hp-file-meta{display: flex;flex-wrap: wrap;align-items: center;gap: 4px 8px;font-size: 12px;color: var(--muted)}.hp-file-meta .hp-chip{padding: 1px 8px;font-size: 11.5px}.hp-file-meta .hp-chip .icon{width: 12px;height: 12px}.hp-file-tools{display: flex;flex: none;align-items: center;gap: 2px}.hp-notes{display: flex;flex-direction: column;gap: 9px;border-top: 1px solid var(--border)}.hp-note{display: flex;flex-wrap: wrap;align-items: center;gap: 6px;font-size: 12.5px;color: var(--text-2)}.hp-note > .icon{width: 15px;height: 15px;color: var(--success)}.hp-note.is-warn,.hp-note.is-warn > .icon{color: color-mix(in srgb,var(--warning) 70%,var(--text))}.hp-ref{padding: 1px 7px;border-radius: 6px;background: var(--surface-3);font-size: 11.5px;color: var(--text-2)}.hp-report summary{display: inline-flex;align-items: center;gap: 6px;font-size: 12.5px;color: var(--text-2);cursor: pointer}.hp-report summary .icon{width: 15px;height: 15px}.hp-report ul{margin: 8px 0 0;padding: 0;list-style: none;display: flex;flex-direction: column;gap: 4px;font-size: 12px;color: var(--muted)}.hp-report code{font-size: 11.5px;color: var(--text-2)}@media (max-width: 760px){.hp-file{padding-inline: 14px}}@media (prefers-reduced-motion: reduce){.hp-thumb,.hp-color > span,.hp-step,.hp-drop,.hp-progress-bar i{transition: none}.hp-tpl:hover .hp-thumb,.hp-color:hover > span{transform: none}.hp-step.is-active i{animation: none}}@media (max-width: 1100px){.hp-stage{position: static}}.hp-file-path{border: 0;padding: 0;background: none;font: inherit;font-size: 13px;color: var(--text);cursor: pointer;text-align: start}.hp-file-path:hover{color: var(--primary);text-decoration: underline;text-underline-offset: 3px}.hp-pv .modal-head h3{min-width: 0;flex: 1 1 auto}.hp-pv .modal-head h3 > .icon{flex: none}.hp-pv-name{min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 14px}.hp-pv-meta{flex: none;font-size: 12px;font-weight: 400;color: var(--muted);white-space: nowrap;font-variant-numeric: tabular-nums}.hp-pv-body{display: flex;align-items: center;justify-content: center;min-height: 300px;background: var(--surface-2)}.hp-pv .hp-pv-phone{width: min(300px,100%);width: min(300px,100%,calc((100dvh - 240px) * .4865 + 24px));min-width: 180px}.hp-pv .hp-pv-phone .hp-screen{aspect-ratio: 9 / 18.5;height: auto}.hp-pv-phone .hp-screen iframe{position: absolute;top: 0;left: 0;width: 360px;height: 740px;transform-origin: 0 0}.hp-pv-img{max-width: 100%;padding: 12px;border-radius: 12px;background-color: #fff;background-image: linear-gradient(45deg,#e8ecf2 25%,transparent 25%),linear-gradient(-45deg,#e8ecf2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8ecf2 75%),linear-gradient(-45deg,transparent 75%,#e8ecf2 75%);background-size: 16px 16px;background-position: 0 0,0 8px,8px -8px,-8px 0;box-shadow: inset 0 0 0 1px var(--border)}.hp-pv-img img{display: block;max-width: 100%;max-height: 60vh;max-height: 60dvh;height: auto;margin: 0 auto}.hp-pv-code{box-sizing: border-box;width: 100%;max-height: 62vh;max-height: 62dvh;margin: 0;padding: 14px 16px;overflow: auto;border-radius: 12px;background: var(--surface);box-shadow: inset 0 0 0 1px var(--border);font: 12.5px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color: var(--text);white-space: pre-wrap;overflow-wrap: anywhere;text-align: left;tab-size: 2}.hp-pv-font{display: flex;flex-direction: column;gap: 10px;padding: 10px;font-size: 26px;line-height: 1.5;text-align: center;color: var(--text);overflow-wrap: anywhere}.hp-pv-media{width: 100%;max-height: 60vh;max-height: 60dvh}.hp-pv-error{font-size: 13.5px;color: var(--danger)}.hp-pv-foot{justify-content: space-between;align-items: center}.hp-pv-mid{display: flex;align-items: center;gap: 10px;min-width: 0}.hp-pv-count{font-size: 12.5px;color: var(--muted);font-variant-numeric: tabular-nums;white-space: nowrap}[dir="ltr"] .hp-pv-foot .icon{transform: scaleX(-1)}[dir="ltr"] .hp-pv-foot [data-hp-pv-download] .icon{transform: none}@media (max-width: 640px){.hp-pv-body{padding: 12px}.hp-pv-foot{gap: 6px;padding-inline: 12px}}.hp-stage-bar{display: flex;flex-wrap: wrap;align-items: center;justify-content: center;gap: 8px;max-width: 100%}dialog.modal.hp-pv.is-all{width: min(1180px,calc(100vw - 32px))}.hp-pv.is-all .hp-pv-body{display: block;padding: 18px}.hp-pv.is-all .hp-pv-foot{display: none}.hp-pv-all{display: grid;grid-template-columns: repeat(auto-fill,minmax(220px,1fr));gap: 22px 18px;align-items: start}.hp-pv-card{display: flex;flex-direction: column;align-items: center;gap: 10px;min-width: 0}.hp-pv-slot{display: grid;place-items: center;width: 100%;max-width: 250px;min-height: 120px}.hp-pv-card .hp-pv-phone{width: 100%;max-width: 250px;padding: 9px;border-radius: 34px}.hp-pv-card .hp-pv-phone::before{top: 14px;width: 62px;height: 15px;margin-left: -31px}.hp-pv-card .hp-pv-phone .hp-screen{border-radius: 26px}.hp-pv-cap{display: flex;flex-direction: column;align-items: center;gap: 2px;border: 0;padding: 2px 6px;background: none;font: inherit;color: var(--text);text-align: center}button.hp-pv-cap{cursor: pointer;border-radius: 8px}button.hp-pv-cap:hover b{color: var(--primary)}.hp-pv-cap b{font-size: 13.5px;font-weight: 700}.hp-pv-cap .mono{font-size: 11.5px;color: var(--muted)}@media (max-width: 640px){.hp-pv-all-text{display: none}.hp-pv.is-all .hp-pv-body{padding: 12px}.hp-pv-all{grid-template-columns: minmax(0,1fr)}.hp-pv-card .hp-pv-phone,.hp-pv-slot{max-width: 280px}}
