@import url('/tokens.css');

*{box-sizing:border-box}
:root{--ink:#25272b;--muted:#81848e;--line:#e9eaee;--accent:#ffab40;--page-background:#fffaf2;--surface:#fbf7ed;color-scheme:light}
body{margin:0;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit}
button:disabled{opacity:.45;cursor:default}
a{color:inherit}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:650}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #cf8f36;outline-offset:4px}
[hidden]{display:none!important}
.icon{width:20px;height:20px;flex:none;object-fit:contain}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.muted{color:var(--muted);font-size:13px}
.eyebrow,.small-label,.nav-label{font-size:10px;letter-spacing:1.7px;font-weight:650}
.hint{color:var(--muted);font-size:11px;line-height:1.8}
.error{color:#b53f37!important}

/* The page gradient is outside the flat profile card. */
.public{display:grid;place-items:center;min-height:100svh;padding:56px 20px;background:var(--page-background);isolation:isolate}
.public:before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 86%,#000 14%) 0%,var(--accent) 20%,color-mix(in srgb,var(--accent) 84%,var(--page-background) 16%) 40%,color-mix(in srgb,var(--accent) 92%,#fff 8%) 60%,var(--accent) 80%,color-mix(in srgb,var(--accent) 88%,#000 12%) 100%);background-size:240% 240%;background-position:5% 15%;will-change:background-position;animation:page-flow 26s cubic-bezier(.42,0,.58,1) infinite}
.profile{width:100%;max-width:490px;min-height:720px;margin:auto;background:var(--surface);border-radius:24px;overflow:hidden;box-shadow:0 14px 40px #50321416;isolation:isolate}
.cover{position:relative;width:100%;aspect-ratio:2.45;background:#242724;overflow:hidden}
.cover>img{width:100%;height:100%;object-fit:cover}
.cover:after{content:"";position:absolute;width:160%;height:100px;left:-30%;bottom:-70px;border-radius:50%;background:var(--surface)}
.cover-monogram{position:absolute;inset:0;display:grid;place-items:center;color:var(--accent);font-size:68px;font-weight:400;letter-spacing:-8px;padding-bottom:25px}
.profile-content{padding:0 20px 80px;text-align:center;position:relative}
.avatar{position:relative;z-index:1;width:124px;height:124px;margin:-98px auto 26px;border:8px solid var(--surface);border-radius:50%;overflow:hidden;background:var(--accent);display:grid;place-items:center;color:#242724;font-size:34px;font-weight:600;letter-spacing:-1px}
.avatar>img{width:100%;height:100%;object-fit:cover}
.avatar.brand-avatar{background:#000}
.avatar.brand-avatar>img{transform:scale(1.7)}
.profile-name{font-size:26px;font-weight:650;line-height:1.3;letter-spacing:-.45px;overflow-wrap:anywhere}
.bio{font-size:18px;line-height:2.2;color:#818181;white-space:pre-line;margin:16px auto 0;max-width:430px;overflow-wrap:anywhere}
.links{display:grid;gap:14px;margin-top:32px}
.profile-link{display:flex;align-items:center;gap:16px;position:relative;min-height:72px;border-radius:8px;background:var(--accent);box-shadow:0 3px 5px #55411a0b;color:var(--button-ink,#202020);text-decoration:none;padding:15px 18px;transition:transform .18s ease,box-shadow .18s ease}
.profile-link>.icon{width:25px;height:25px;filter:var(--button-icon-filter,none)}
.link-title{flex:1;text-align:center;font-size:16px;line-height:1.45;padding-right:41px;overflow-wrap:anywhere}
.profile-link:hover{transform:translateY(-2px);box-shadow:0 6px 13px #55411a18}
.socials{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:56px}
.social{display:grid;place-items:center;width:49px;height:49px;border:1px solid #353535;border-radius:10px;text-decoration:none;box-shadow:0 2px 4px #0000000b;transition:transform .18s,background .18s}
.social>.icon{width:23px;height:23px}
.social:hover{background:#ffffff90;transform:translateY(-2px)}
.empty-links{font-size:12px;color:#939088;line-height:1.8;padding:22px 8px}
.notice{padding:52px 28px;min-height:0;text-align:center}
.notice h1{font-size:26px;margin-bottom:18px}
.notice p{font-size:14px;color:#7a7d80}
.notice .link{display:block;text-decoration:none;background:var(--accent);border-radius:10px;padding:15px;margin-top:25px;font-size:14px;font-weight:600}
@keyframes page-flow{0%{background-position:5% 15%}25%{background-position:85% 20%}50%{background-position:90% 85%}75%{background-position:15% 80%}100%{background-position:5% 15%}}
.public.no-motion:before{animation:none;background-position:50% 50%}

/* Studio */
.studio{background:#f7f8fa}
.studio-shell{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:100svh}
.sidebar{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;border-right:1px solid var(--line);padding:32px 18px 24px;background:#fff}
.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:17px;font-weight:700;letter-spacing:-.5px}
.brand-mark{display:grid;place-items:center;width:38px;height:38px;overflow:hidden;background:#000;border-radius:12px}
.brand-mark>img{width:100%;height:100%;object-fit:cover;transform:scale(1.25)}
.brand small{display:block;color:#91959c;font-size:8px;letter-spacing:1.5px;margin-top:2px;font-weight:600}
.nav-label{color:#a4a8af;font-size:9px;letter-spacing:1.2px;margin:52px 12px 16px}
.studio-nav{display:grid;gap:7px}
.studio-nav>button{display:flex;align-items:center;gap:11px;background:none;border:0;border-radius:10px;min-height:45px;text-align:left;padding:11px 12px;font-size:13px;font-weight:550;color:#80848b}
.studio-nav>button .icon{width:17px;height:17px;opacity:.6}
.studio-nav>button[aria-selected=true]{color:#292a2f;background:#f5f0e8}
.studio-nav>button[aria-selected=true] .icon{opacity:1}
.nav-count{display:grid;place-items:center;border-radius:5px;min-width:20px;height:20px;background:#fff;font-size:10px;margin-left:auto}
.sidebar-bottom{margin-top:auto;padding:20px 9px 0;border-top:1px solid var(--line)}
.sidebar-bottom .small-label{font-size:8px;color:#a0a4ab;letter-spacing:1.2px}
.domain-label{display:block;margin-top:9px;font-size:10px;font-weight:600;color:#646973}
.environment-label{display:flex;align-items:center;gap:5px;font-size:10px;color:#9a9da5;margin-top:5px}
.environment-label:before{content:"";width:5px;height:5px;border-radius:50%;background:#b5bea9}
.studio-main{min-width:0}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 4%;background:#ffffffdd;border-bottom:1px solid var(--line)}
.breadcrumb{font-size:11px;color:#92959e;white-space:nowrap}
.breadcrumb span{margin:0 12px;color:#d6d8dc}
.breadcrumb strong{color:#4f535c;font-weight:550}
.topbar-actions{display:flex;gap:9px;align-items:center}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:11px 16px;border:1px solid transparent;border-radius:9px;font-size:11px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;transition:background .16s,box-shadow .16s}
.button .icon{width:14px;height:14px}
.primary{background:#292b30;color:#fff;box-shadow:0 3px 5px #2428300c}
.primary>.icon{filter:invert(1)}
.primary:hover{background:#414349}
.secondary{background:white;border-color:#e3e5e9;color:#5b606a}
.secondary:hover{background:#f7f8fa;border-color:#d1d4db}
.workspace{max-width:1270px;display:grid;grid-template-columns:340px minmax(0,1fr);gap:52px;margin:auto;padding:48px 4% 70px}
.preview-panel{position:sticky;top:32px;align-self:start;min-width:0}
.preview-topline{display:flex;align-items:center;justify-content:space-between;margin:0 9px 20px}
.preview-topline .small-label{font-size:9px;color:#898e96;letter-spacing:1.6px}
.preview-badge{display:flex;gap:6px;align-items:center;color:#8a8f98;font-size:10px}
.preview-badge>span{width:5px;height:5px;border-radius:50%;background:#9bac91}
.phone{position:relative;background:#252629;border:8px solid #252629;border-radius:39px;box-shadow:0 16px 35px #1f283211,0 0 0 1px #d3d4d8;overflow:hidden}
.phone-camera{display:none}
.preview-surface{min-height:620px;padding:16px 10px;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 86%,#000 14%) 0%,var(--accent) 20%,color-mix(in srgb,var(--accent) 84%,var(--page-background) 16%) 40%,color-mix(in srgb,var(--accent) 92%,#fff 8%) 60%,var(--accent) 80%,color-mix(in srgb,var(--accent) 88%,#000 12%) 100%);background-size:240% 240%;background-position:5% 15%;will-change:background-position;animation:page-flow 26s cubic-bezier(.42,0,.58,1) infinite}
.preview-surface.no-motion{animation:none;background-position:50% 50%}
.phone .profile{min-height:583px;border-radius:20px;box-shadow:0 5px 12px #28221509}
.phone .cover:after{height:70px;bottom:-48px}
.phone .cover-monogram{font-size:50px;letter-spacing:-5px}
.phone .profile-content{padding:0 14px 50px}
.phone .avatar{width:86px;height:86px;border-width:6px;margin-top:-66px;margin-bottom:20px;font-size:24px}
.phone .profile-name{font-size:19px;letter-spacing:-.3px}
.phone .bio{font-size:13px;line-height:2.15;margin-top:11px}
.phone .links{margin-top:25px;gap:10px}
.phone .profile-link{min-height:51px;padding:10px 12px;border-radius:6px;gap:10px}
.phone .profile-link>.icon{width:18px;height:18px}
.phone .link-title{font-size:11px;padding-right:28px}
.phone .socials{gap:17px;margin-top:36px}
.phone .social{width:34px;height:34px;border-radius:7px}
.phone .social .icon{width:17px;height:17px}
.preview-caption{text-align:center;color:#a1a5ad;font-size:10px;line-height:1.9;margin:22px 8px 0}
.editor-area{min-width:0;padding-top:0}
.page-heading{display:flex;gap:16px;justify-content:space-between;align-items:center}
.page-heading .eyebrow{font-size:9px;letter-spacing:1.7px;color:#a0a4ac;margin-bottom:11px}
.page-heading h1{font-size:29px;letter-spacing:-1.1px;line-height:1.25}
.page-heading .muted{margin-top:10px;font-size:12px}
.state-badge{display:inline-flex;align-items:center;gap:6px;border-radius:30px;background:#ebedf0;border:1px solid #e2e5e8;font-size:10px;color:#858a95;padding:5px 10px;white-space:nowrap}
.state-badge:before{content:"";width:5px;height:5px;background:#a4a8b0;border-radius:50%}
.state-badge.is-published{background:#eef3ec;border-color:#e1e9dc;color:#758469}
.state-badge.is-published:before{background:#8b9e7d}
.save-status{display:flex;align-items:center;gap:7px;min-height:25px;margin:18px 0 29px;font-size:10px;color:#949aa3}
.status-dot{width:5px;height:5px;border-radius:50%;background:#9cab91;flex:none}
.save-status.has-changes .status-dot{background:#e4ac4f}
.save-status.has-error .status-dot{background:#c65e4c}
fieldset{border:0;padding:0;margin:0;min-width:0}
.section-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.section-bar h2{display:flex;gap:9px;align-items:center;font-size:15px;letter-spacing:-.25px}
.count{min-width:21px;height:20px;display:inline-grid;place-items:center;background:#eceef1;color:#9499a2;font-size:9px;font-weight:550;border-radius:5px}
.section-bar p{font-size:10px;color:#a0a5ad;margin-top:5px}
.section-bar .button{font-size:10px;min-height:36px;padding:9px 12px}
.social-section-bar{margin-top:38px}
.sort-hint{display:flex;align-items:center;gap:5px;font-size:9px;color:#a6aab3;margin:0 0 12px}
.sort-hint .icon{width:12px;height:12px;opacity:.4}
.item-list{display:grid;gap:11px}
.link-row{background:#fff;border:1px solid #e6e9ef;border-radius:13px;box-shadow:0 2px 4px #14243b03;transition:border-color .15s,box-shadow .15s}
.link-row:hover{border-color:#d6dbe4;box-shadow:0 3px 10px #14243b05}
.row-summary{display:flex;align-items:center;gap:12px;padding:16px 12px;min-height:84px}
.row-icon{display:grid;place-items:center;width:40px;height:40px;background:#f7f8fa;border:1px solid #eceef3;border-radius:11px;flex:none}
.row-icon .icon{width:21px;height:21px}
.row-copy{flex:1;min-width:0}
.row-title{display:block;font-size:12px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.row-address{display:block;font-size:10px;color:#9a9fab;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:5px}
.icon-button{display:inline-grid;place-items:center;background:none;border:0;border-radius:7px;width:30px;height:32px;padding:6px;flex:none}
.icon-button>.icon{width:15px;height:15px;opacity:.52}
.icon-button:hover{background:#f0f2f5}
.icon-button:hover>.icon{opacity:.85}
.drag-handle{cursor:grab;touch-action:none;width:17px;padding:0;user-select:none}
.drag-handle .icon{width:15px;height:20px;opacity:.3}
.delete-button:hover{background:#fdf0ed}
.delete-button:hover .icon{filter:invert(35%) sepia(50%) saturate(950%) hue-rotate(320deg)}
.row-summary .icon-button{margin-left:-5px}
.row-summary .drag-handle{margin-left:0}
.is-hidden .row-icon,.is-hidden .row-copy{opacity:.42}
.switch{display:inline-flex;align-items:center;position:relative;cursor:pointer;margin:0!important;flex:none;width:30px;height:18px}
.switch>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.switch>span{display:block;width:30px;height:18px;border-radius:99px;background:#dfe2e8;transition:background .2s;pointer-events:none}
.switch>span:before{content:"";display:block;width:12px;height:12px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;margin:3px;transition:transform .2s}
.switch>input:checked+span{background:#2e333a}
.switch>input:checked+span:before{transform:translateX(12px)}
.switch>input:focus-visible+span{outline:3px solid #cf8f36;outline-offset:4px}
.item-details{border-top:1px solid #eef0f3;padding:20px 22px 16px}
label{display:block;font-size:11px;font-weight:550;color:#6c727d;margin-bottom:17px}
input:not([type=checkbox]):not([type=color]):not([type=range]):not([type=file]),textarea{display:block;width:100%;border:1px solid #e2e5ec;border-radius:8px;background:#fff;color:#343842;padding:11px 12px;font-size:12px;line-height:1.5;margin-top:7px;min-width:0;transition:border-color .15s}
input:hover,textarea:hover{border-color:#cbd1da}
input:focus,textarea:focus{border-color:#9dabb7}
textarea{resize:vertical}
input::placeholder,textarea::placeholder{color:#b4b8c0}
.item-details label:last-of-type{margin-bottom:4px}
.item-details .hint{font-size:10px}
.item-detail-footer{display:flex;align-items:center;justify-content:space-between;margin-top:16px}
.platform-pill{font-size:9px;padding:4px 8px;border:1px solid #e9ebef;border-radius:5px;color:#959ba6}
.order-buttons{display:flex;gap:3px}
.order-buttons .icon-button{background:#f7f8fa;width:28px;height:28px}
.list-empty{background:#fff;border:1px dashed #dfe3eb;border-radius:13px;padding:32px 20px;text-align:center}
.list-empty>.icon{width:25px;height:25px;margin:0 auto 13px;opacity:.25}
.list-empty>strong{display:block;font-size:12px;font-weight:550;color:#868d98}
.list-empty>p{font-size:10px;color:#afb4be;margin-top:6px}
.is-dragging{opacity:.25;border-style:dashed}
.drag-ghost{position:fixed;z-index:1000;pointer-events:none;opacity:.96;box-shadow:0 16px 35px #15233624!important;transform:rotate(1deg)}
.reordering,.reordering *{cursor:grabbing!important;user-select:none!important}
.settings-card{padding:26px;background:#fff;border:1px solid #e6e9ef;border-radius:14px;margin-bottom:20px}
.card-heading{margin-bottom:25px}
.card-heading h2,.motion-setting h2{font-size:15px;letter-spacing:-.3px}
.card-heading p,.motion-setting p{font-size:11px;color:#9b9fa9;line-height:1.8;margin-top:6px}
.field-footer{display:flex;justify-content:space-between;gap:15px;color:#a6aab3;font-size:9px;margin-top:-9px}
.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}
.upload-card{border:1px solid #eaedf2;border-radius:11px;padding:20px 12px;text-align:center;background:#fdfdfe}
.upload-thumb{display:grid;place-items:center;overflow:hidden;background:#f1f3f6;margin:0 auto 14px}
.avatar-thumb{width:64px;height:64px;border-radius:50%}
.cover-thumb{width:100%;max-width:150px;height:64px;border-radius:8px}
.upload-thumb>img:not(.icon){width:100%;height:100%;object-fit:cover}
.upload-thumb>img.brand-thumb{background:#000;transform:scale(1.55)}
.upload-thumb .icon{width:25px;height:25px;opacity:.2}
.upload-card h3{font-size:11px;font-weight:600}
.upload-card p{font-size:9px;color:#a5aab4;margin:4px 0 15px}
.file-label{position:relative;cursor:pointer;font-size:10px;min-height:34px;padding:9px 12px;margin-bottom:0;color:#646a75}
.file-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.file-label:focus-within{outline:3px solid #cf8f36;outline-offset:3px}
.text-button{display:block;border:0;background:none;color:#a3a8b3;font-size:9px;margin:11px auto 0;min-height:28px}
.text-button:hover{color:#af5f4b}
.palette-presets{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:27px}
.palette-chip{display:flex;align-items:center;gap:7px;border:1px solid #e6e9ef;background:#fff;padding:9px 10px;border-radius:8px;font-size:10px;color:#7e8590}
.palette-chip:hover{border-color:#aeb8c8}
.swatch{display:block;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px #00000008}
.swatch.warm{background:#ffab40}
.swatch.sage{background:#a5b8a1}
.swatch.blue{background:#a9b8ed}
.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.color-input{display:flex;align-items:center;gap:10px;border:1px solid #e6e9ef;border-radius:8px;margin-top:8px;padding:7px 10px;height:42px;font-family:monospace;font-size:10px;color:#9ca2ad}
input[type=color]{appearance:none;border:0;padding:0;width:24px;height:24px;border-radius:5px;overflow:hidden;background:none;cursor:pointer}
input[type=color]::-webkit-color-swatch-wrapper{padding:0}
input[type=color]::-webkit-color-swatch{border:0;border-radius:5px}
.theme-sample{display:grid;place-items:center;min-height:135px;border-radius:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 86%,#000 14%),var(--accent) 45%,color-mix(in srgb,var(--accent) 80%,var(--page-background) 20%));margin-top:10px}
.theme-sample>span{display:grid;place-items:center;min-width:145px;height:82px;background:var(--surface);border-radius:12px;box-shadow:0 3px 12px #38280c0d;font-size:10px;color:#9e9b91}
.motion-setting{display:flex;align-items:flex-start;gap:20px;justify-content:space-between}
.motion-setting .switch{margin-top:4px!important}
.motion-setting .hint{font-size:9px}

/* Dialogs */
dialog{width:min(580px,calc(100vw - 32px));max-height:calc(100svh - 48px);overflow:auto;border:1px solid #e2e5eb;border-radius:20px;padding:28px;box-shadow:0 25px 100px #121d302b}
dialog::backdrop{background:#1a243b65;backdrop-filter:blur(5px)}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.dialog-heading h2{font-size:23px;letter-spacing:-.6px}
.dialog-heading .eyebrow{font-size:8px;letter-spacing:1.5px;color:#acb1bb;margin-bottom:7px}
.platform-dialog>.muted{font-size:11px}
.search-field{display:flex;align-items:center;gap:10px;border:1px solid #e2e5ec;border-radius:10px;padding:0 12px;margin:23px 0 16px}
.search-field .icon{width:15px;height:15px;opacity:.35}
.search-field input[type=search]{border:0;background:none;margin:0;padding:13px 0;font-size:12px}
.search-field input:focus-visible{outline:0}
.search-field:focus-within{outline:2px solid #cf8f36}
.platform-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.platform-choice{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e8ebf0;border-radius:10px;padding:14px 12px;font-size:11px;min-height:49px}
.platform-choice .icon{width:18px;height:18px}
.platform-choice:hover{border-color:#e7b66d;background:#fdf9f2}
.custom-choice{display:flex;align-items:center;gap:12px;width:100%;border:1px dashed #d5dbe5;background:#fafbfd;border-radius:11px;padding:15px;text-align:left;margin-top:18px}
.custom-choice .platform-icon{display:grid;place-items:center;width:32px;height:32px;background:#fff;border:1px solid #e8ebf0;border-radius:8px}
.custom-choice strong{display:block;font-size:11px;font-weight:600}
.custom-choice small{display:block;font-size:9px;color:#969eab;margin-top:3px}
.custom-choice>.icon{margin-left:auto;width:15px;opacity:.4}
.custom-choice:hover{border-color:#a0aabc}
.no-results{grid-column:1/-1;text-align:center;padding:30px;color:#969eab;font-size:12px}
.crop-stage{background:#f3f4f6;border-radius:10px;overflow:hidden;margin:20px 0}
canvas{display:block;width:100%;max-height:300px;object-fit:contain}
input[type=range]{display:block;width:100%;margin-top:9px;accent-color:#e9a345}
.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}
#crop-error{font-size:11px;color:#b53f37;margin-top:12px}

@media(min-width:1600px){.workspace{gap:70px;padding-top:64px}.studio-shell{grid-template-columns:225px 1fr}.sidebar{padding-left:25px;padding-right:25px}}
@media(max-width:1200px){.studio-shell{grid-template-columns:175px 1fr}.sidebar{padding:28px 12px 20px}.workspace{grid-template-columns:300px minmax(0,1fr);gap:30px;padding:36px 3%}.phone{border-width:7px}.preview-surface{min-height:590px;padding:12px 8px}.phone .profile{min-height:555px}.topbar{padding:19px 3%}.row-summary{gap:8px;padding:14px 10px}.row-icon{width:33px;height:35px;border-radius:9px}.row-icon .icon{width:18px;height:18px}.breadcrumb{display:none}.topbar{justify-content:flex-end}.page-heading h1{font-size:26px}.section-bar{align-items:flex-start}.section-bar p{max-width:200px}.upload-grid{grid-template-columns:1fr}}
@media(max-width:1000px){.studio-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;padding:18px 28px 0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:22px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:16px}.nav-label,.sidebar-bottom{display:none}.studio-nav{display:flex;justify-content:flex-end;gap:7px}.studio-nav>button{font-size:12px;border-radius:9px 9px 0 0;min-height:54px}.studio-nav>button[aria-selected=true]{background:#f7f8fa;border-bottom:2px solid #dbad64}.studio-nav>button .icon{width:15px;height:15px}.workspace{grid-template-columns:310px minmax(0,1fr);padding:35px 28px;gap:35px;max-width:1000px}.topbar{padding:15px 28px}.breadcrumb{display:block}.topbar-actions{margin-left:auto}.phone .profile{min-height:560px}.preview-surface{min-height:592px}}
@media(max-width:760px){.sidebar{padding:17px 18px 0;gap:14px;grid-template-columns:1fr}.brand small{font-size:7px}.brand-mark{width:32px;height:32px;font-size:23px;border-radius:9px}.studio-nav{justify-content:flex-start;gap:10px}.studio-nav>button{flex:1;justify-content:center;font-size:11px;padding:12px 9px;min-height:46px}.topbar{padding:13px 16px;position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}.breadcrumb{display:none}.topbar-actions{width:100%;gap:8px}.topbar-actions .button{flex:1;padding:11px 10px;min-height:38px;font-size:10px}.topbar-actions .open-page{padding:11px 8px}.topbar-actions .open-page .icon{display:none}.workspace{display:flex;flex-direction:column;padding:28px 16px 44px;gap:36px}.editor-area{order:0}.preview-panel{position:static;order:1;width:min(340px,100%);margin:auto}.page-heading h1{font-size:27px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.page-heading .muted{font-size:11px}.save-status{margin-bottom:26px;min-height:25px}.row-summary{padding:15px 10px;gap:10px}.row-icon{width:37px;height:37px}.row-title{font-size:12px}.row-address{font-size:10px}.icon-button{width:30px;height:36px}.row-summary .icon-button{margin-left:-5px}.row-summary .drag-handle{width:16px;margin-left:0}.settings-card{padding:22px 18px}.upload-grid{grid-template-columns:1fr 1fr;gap:10px}.upload-card{padding:17px 9px}.upload-card p{font-size:8px}.section-bar p{max-width:220px}.section-bar .button{padding:9px 10px}.sort-hint{font-size:8px}.preview-topline .small-label{font-size:9px}.item-details{padding:18px}.color-grid{gap:12px}.field-footer{font-size:8px}dialog{padding:23px}.platform-options{grid-template-columns:repeat(3,1fr)}.platform-choice{font-size:10px;padding:12px 9px;gap:7px}.platform-choice .icon{width:16px;height:16px}}
@media(max-width:520px){.public{padding:26px 16px}.profile{min-height:650px;border-radius:23px}.cover:after{height:82px;bottom:-57px}.cover-monogram{font-size:56px}.profile-content{padding:0 16px 70px}.avatar{width:102px;height:102px;border-width:7px;margin-top:-79px;margin-bottom:25px;font-size:28px}.profile-name{font-size:23px}.bio{font-size:15px;line-height:2.05;margin-top:15px}.profile-link{min-height:60px;padding:12px 14px;gap:12px}.profile-link>.icon{width:22px;height:22px}.link-title{font-size:13px;padding-right:34px}.socials{gap:21px;margin-top:44px}.social{width:42px;height:42px;border-radius:9px}.social>.icon{width:20px;height:20px}.links{margin-top:29px}.phone .profile-content{padding-bottom:45px}.phone .avatar{width:86px;height:86px;margin-top:-66px;margin-bottom:20px}.phone .bio{font-size:13px}.phone .profile-name{font-size:19px}.row-summary{gap:8px}.row-icon{width:32px;height:34px}.row-summary .icon-button{width:28px;padding:6px}.row-summary .drag-handle{width:15px;padding:0}.row-title{font-size:11px}.row-address{font-size:9px}.section-bar p{max-width:190px;font-size:9px}.section-bar h2{font-size:13px}.section-bar .button{font-size:9px;gap:5px;padding:9px}.section-bar .button .icon{width:11px;height:11px}.color-grid{grid-template-columns:1fr}.color-grid label{margin-bottom:8px}.platform-options{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.profile-link:hover,.social:hover{transform:none}.public:before{background-position:50% 50%}.preview-surface{background-position:50% 50%}}

@media(max-width:760px){.row-summary .drag-handle{width:32px;height:44px}.row-switch{height:44px;width:32px}.row-summary .icon-button:not(.drag-handle){width:34px;height:44px}.row-summary{gap:6px}}

.account-menu{position:relative;font-size:12px;flex-shrink:0}.account-menu summary{cursor:pointer;padding:12px;border:1px solid #dfe2e8;border-radius:9px;background:#fff;list-style:none}.account-menu>div{position:absolute;right:0;top:48px;z-index:20;background:#fff;border:1px solid #e1e4ea;border-radius:10px;box-shadow:0 12px 30px #15253c18;min-width:160px;padding:6px}.account-menu button{display:block;width:100%;border:0;background:transparent;padding:12px;text-align:left;cursor:pointer;font:inherit;border-radius:6px}.account-menu button:hover{background:#f4f5f8}.account-dialog{width:min(440px,calc(100% - 32px));border:1px solid #e1e4ea;border-radius:18px;padding:26px;color:#282d35;background:#fff}.account-dialog::backdrop{background:#11182788}.account-dialog>button{float:right}.account-dialog h2{font-size:20px;margin:6px 0 20px}.account-dialog>p{font-size:13px;margin:8px 0;overflow-wrap:anywhere}.account-dialog form{margin-top:24px;display:grid;gap:16px}.account-dialog label{display:grid;gap:8px;font-size:13px}.account-dialog input{width:100%;min-height:44px;border:1px solid #d9dde5;border-radius:8px;padding:10px;font:inherit}#account-status{color:#9c3216;line-height:1.5}
