:root{--ink:#1d1d1f;--muted:#6e6e73;--line:#e8e8ed;--border:#d2d2d7;--tint:#f5f5f7;--green:#0b7a43;--green-tint:#e6faf0;font-family:Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}html[data-auth-pending] body{visibility:hidden}[x-cloak]{display:none!important}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.55}button{transition:background .15s,border-color .15s,color .15s}h1,h2,p{margin:0}button svg,svg.lucide{width:17px;height:17px;stroke-width:1.7;flex-shrink:0}:focus-visible{outline:3px solid #32de8460;outline-offset:3px}::selection{background:#c9f7de}.skip{position:fixed;top:12px;left:16px;background:var(--ink);color:white;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);z-index:50;border-radius:8px}.skip:focus{clip-path:none;width:auto;height:auto;padding:12px 18px}
.site-header{border-bottom:1px solid var(--line);background:#fff}.nav{max-width:1080px;height:64px;margin:auto;display:flex;align-items:center;gap:20px;padding:0 24px}.brand{display:inline-flex;align-items:center;gap:8px;font-size:17px;font-weight:700;letter-spacing:-.4px;white-space:nowrap}.brand img{border-radius:6px}.brand-accent{color:#16a35c}.nav-divider{width:1px;height:18px;background:var(--line)}.workspace-label{font-size:13px;color:var(--muted)}.nav nav{margin-left:auto;display:flex;align-items:center;gap:24px;font-size:13px}.help-link{color:var(--muted)}.help-link:hover,.workspace-footer a:hover{color:var(--green)}.account{display:flex;align-items:center;gap:8px}.account img{border-radius:50%;object-fit:cover}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;background:#fff;border:1px solid var(--border);border-radius:9px;font-size:13px;font-weight:500;white-space:nowrap}.button:hover{border-color:#99999f;background:var(--tint)}.button-small{min-height:32px;padding:0 13px;border-radius:100px;font-size:12px}
.workspace{max-width:952px;padding:0 32px;margin:0 auto}.page-heading{padding:54px 0 38px}.page-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:700}.page-heading p{color:var(--muted);margin-top:10px;font-size:15px}.builder-fields{border:0;padding:0;margin:0;min-width:0}.form-section{display:grid;grid-template-columns:190px minmax(0,1fr);gap:40px;padding:32px 0;border-top:1px solid var(--line)}.section-heading{position:relative;padding-top:1px}.section-number{display:block;font-size:11px;letter-spacing:1px;color:#85858a;font-variant-numeric:tabular-nums;margin-bottom:8px}.section-heading h2{font-size:17px;font-weight:500;letter-spacing:-.3px}.section-heading p{font-size:13px;color:var(--muted);margin-top:7px;max-width:175px}.section-content{min-width:0}.field-stack{display:flex;flex-direction:column;gap:20px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>label,.upload-area>label{font-size:13px;font-weight:500;display:block}.hint{font-size:12px;color:var(--muted);line-height:1.55}.loading-label{font-size:11px;font-weight:400;color:var(--muted);margin-left:4px}input:not([type=checkbox]):not([type=file]),select{width:100%;height:44px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:0 12px;min-width:0;font-size:13px;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#949499}select{padding-right:28px;text-overflow:ellipsis}input:not([type=checkbox]):not([type=file]):focus,select:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px #32de841c}input:disabled,select:disabled{background:#fafafa}input[type=file]{max-width:100%;width:100%;font-size:12px;color:var(--muted);padding:3px 0}input[type=file]::file-selector-button{font:500 12px Roboto,system-ui,sans-serif;background:#fff;border:1px solid var(--border);border-radius:7px;padding:8px 12px;margin-right:10px;color:var(--ink);cursor:pointer}input[type=file]::file-selector-button:hover{background:var(--tint)}
.source-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border-radius:11px;background:var(--tint);margin-bottom:24px}.source-picker button{display:flex;align-items:center;justify-content:center;gap:7px;height:40px;background:none;border:1px solid transparent;border-radius:8px;color:var(--muted);font-size:13px;font-weight:500}.source-picker button:hover{color:var(--ink)}.source-picker button[aria-pressed=true]{background:white;border-color:#e6e6eb;color:var(--ink);box-shadow:0 1px 3px #00000008}.source-picker button[aria-pressed=true] svg{color:var(--green)}.mode-picker{display:flex;gap:8px;flex-wrap:wrap}.mode-picker button{background:#fff;border:1px solid var(--border);border-radius:8px;padding:9px 13px;font-size:12px;line-height:1.4}.mode-picker button:hover{background:#fafafa}.mode-picker button[aria-pressed=true]{border-color:#9bcbb0;background:#f0fbf5;color:var(--green)}.upload-area{border:1px dashed var(--border);border-radius:10px;background:#fafafa;padding:24px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.upload-area>svg{width:24px;height:24px;color:var(--muted)}.upload-area input{width:auto;max-width:100%;margin-top:5px}.icon-upload{display:flex;align-items:center;gap:16px}.icon-preview{width:64px;height:64px;flex-shrink:0;border:1px solid var(--line);border-radius:14px;background:#fafafa;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#999}.icon-preview img{width:100%;height:100%;object-fit:cover}.icon-control{min-width:0;flex:1}.icon-control .hint{margin-top:5px}
.password-row{display:flex;gap:8px}.password-input{flex:1;position:relative;min-width:0}.password-input input{padding-right:56px!important}.password-input button{position:absolute;right:4px;top:4px;height:36px;padding:0 10px;border:0;background:transparent;color:var(--muted);font-size:12px;border-radius:5px}.password-input button:hover{color:var(--ink);background:var(--tint)}.advanced{font-size:12px}.advanced summary{cursor:pointer;color:var(--muted);width:fit-content;list-style-position:inside}.advanced summary:hover{color:var(--ink)}.advanced>.field-stack{padding:18px 0 0}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px}.checkbox-label input{accent-color:var(--green);width:15px;height:15px;margin:0}.build-actions{border-top:1px solid var(--line);padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.build-actions p{font-size:12px;color:var(--muted)}.primary{background:var(--ink);border-color:var(--ink);color:#fff;border-radius:100px;min-height:46px;padding:0 24px;font-size:14px;gap:16px}.primary:hover{background:#333336;border-color:#333336}.primary:disabled{opacity:.6}.build-progress{padding:20px;border:1px solid var(--line);border-radius:12px;margin:4px 0 20px}.build-progress>div{display:flex;justify-content:space-between;gap:16px;font-size:13px}.build-progress strong{font-weight:500}progress{appearance:none;width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:var(--tint);margin:16px 0 10px}progress::-webkit-progress-bar{background:var(--tint)}progress::-webkit-progress-value{background:var(--green);border-radius:10px}progress::-moz-progress-bar{background:var(--green);border-radius:10px}.status{font-size:13px;padding:16px 18px;border:1px solid;border-radius:10px;margin-bottom:20px;overflow-wrap:anywhere}.status-error{color:#a82d28;border-color:#f1d1ce;background:#fff7f6}.status-success{color:var(--green);border-color:#bee4cc;background:#f2fbf6}.key-backup{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #bee4cc;background:#f2fbf6;border-radius:12px;padding:20px;margin-bottom:20px}.key-backup h2{font-size:14px;font-weight:500}.key-backup p{font-size:12px;color:var(--muted);margin-top:4px}.workspace-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding:22px 0 32px;margin-top:28px}.spinner{width:15px;height:15px;border:2px solid #ffffff55;border-top-color:white;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:740px){.workspace{padding:0 24px;max-width:620px}.form-section{grid-template-columns:1fr;gap:22px;padding:28px 0}.section-heading{display:grid;grid-template-columns:25px 1fr;align-items:center;column-gap:8px}.section-number{margin:0}.section-heading p{grid-column:2;max-width:none;margin-top:4px}.page-heading{padding:36px 0 28px}.page-heading h1{font-size:28px}.nav{padding:0 24px}.nav nav{gap:16px}.workspace-label,.nav-divider{display:none}}
@media(max-width:460px){.workspace{padding:0 20px}.nav{padding:0 20px;gap:10px}.nav nav{gap:12px}.account span,.help-link{display:none}.field-grid{grid-template-columns:1fr;gap:20px}.source-picker button{font-size:12px;gap:5px}.source-picker button svg{width:15px;height:15px}.source-picker{gap:2px;padding:3px}.page-heading h1{font-size:26px}.build-actions{align-items:stretch;flex-direction:column;gap:14px}.build-actions p{text-align:center;order:2}.key-backup{align-items:stretch;flex-direction:column}.upload-area{padding:20px 12px}.icon-upload{gap:12px}.icon-preview{width:54px;height:54px}.password-row>.button{padding:0 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

.preview-notice { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 14px 16px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 9px; background: var(--tint); font-size: 12px; color: var(--muted); }
.preview-notice strong { color: var(--ink); font-weight: 500; }
