/* A little Locket wardrobe: warm paper, sunshine and soft widget corners. */
:root{color-scheme:light;--blue:#665527;--blue-hover:#f3cb35;--ink:#29271f;--muted:#797366;--line:#eae4d7;--surface:#fff;--background:#fffcf5;--soft-blue:#fff4c4;--radius:30px;--yellow:#ffd84d;--blush:#ffe8e4;--mint:#e4f2e7;--lavender:#eee8fb}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--background);color:var(--ink);font-family:"Be Vietnam Pro",sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
a{color:var(--blue);text-decoration:none}
button,summary{cursor:pointer}
button{line-height:1.35}
button:disabled{cursor:default;opacity:.48}
button,input,select{max-width:100%}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #0071E370;outline-offset:4px}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.2;letter-spacing:-.035em}
button{color:inherit}
input,select{width:100%;min-height:52px;border:1px solid #C8C8CE;border-radius:13px;background:#FFF;color:var(--ink);padding:12px 14px;font-size:17px}
input:focus,select:focus{border-color:var(--blue);outline:3px solid #0071E31B;outline-offset:0}
input[type=color]{padding:6px;cursor:pointer}
input[type=range]{padding:0;min-height:48px;border:0;accent-color:var(--blue);background:transparent}
label{display:block;font-size:15px;font-weight:650;margin-bottom:8px}
.muted,.input-help{color:var(--muted)}
.input-help{font-size:15px;line-height:1.65;margin-top:10px}
.optional{font-size:14px;font-weight:400;color:var(--muted)}
.skip-link{position:fixed;top:8px;left:12px;z-index:100;transform:translateY(-150%);background:var(--blue);color:#FFF;padding:12px 20px;border-radius:30px}
.skip-link:focus{transform:none}
.page-header,main,.page-footer{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.page-header{height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:750;color:var(--ink);letter-spacing:-.6px;line-height:1.1}
.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:var(--blue);color:#FFF;border-radius:13px;font-size:29px;font-weight:750;letter-spacing:-2px}
.brand small{display:block;font-size:12px;letter-spacing:.15px;color:var(--muted);font-weight:500;margin-top:5px}
.back-link{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:600;min-height:48px;padding:10px 17px;border:1px solid #DDDEE3;border-radius:30px;background:#FFFFFFA8}
.welcome{text-align:center;padding:39px 20px 31px;max-width:850px;margin-inline:auto}
.eyebrow{color:var(--blue);font-size:12px;font-weight:700;letter-spacing:1.8px;margin-bottom:15px}
h1{font-size:52px;letter-spacing:-2px;line-height:1.14}
.intro{max-width:670px;margin:17px auto 0;font-size:18px;color:var(--muted);line-height:1.7}
.steps{list-style:none;display:flex;align-items:center;justify-content:center;gap:36px;padding:0;margin:0 auto 30px;color:#737378;font-size:15px;font-weight:550}
.steps li{display:flex;gap:9px;align-items:center}
.steps li>span{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;background:#E6E6EB;border-radius:50%;color:#6C6C73;font-size:13px;font-weight:700}
.steps .active{color:var(--ink)}
.steps .active>span{background:var(--blue);color:#FFF}
.panel,.lookup-card,.account-bar{background:var(--surface);border:1px solid #E7E7EB;border-radius:var(--radius);box-shadow:0 4px 18px #1D1D1F03}
.lookup-card{max-width:850px;margin:0 auto;padding:34px 38px}
.step-label,.section-kicker{display:block;color:var(--blue);font-size:11px;letter-spacing:1.25px;font-weight:700}
.lookup-card h2{font-size:28px;margin:9px 0 10px;letter-spacing:-.9px}
.lookup-card .muted{font-size:16px}
.lookup-card form{margin-top:25px}
.lookup-row{display:flex;align-items:stretch;gap:12px}
.username-wrap{display:flex;align-items:center;flex:1;min-width:0;position:relative}
.username-wrap>span{position:absolute;left:15px;color:#86868B;font-size:20px}
.username-wrap input{padding-left:40px;min-height:55px}
.lookup-row .button{min-width:170px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;border:0;border-radius:30px;padding:13px 22px;font-size:16px;font-weight:650;text-align:center;transition:background .16s,box-shadow .16s}
.button.primary{background:var(--blue);color:#FFF}
.button.primary:hover:not(:disabled){background:var(--blue-hover);box-shadow:0 4px 14px #0071E320}
.button.soft{background:#F0F0F4;color:#343438;border:1px solid #E4E4E9}
.button.soft:hover:not(:disabled){background:#E8E8EE}
.button.small{padding:10px 17px;min-height:48px;font-size:15px}
.lookup-note{display:flex;gap:8px;margin-top:23px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted);line-height:1.7}
.lookup-note>span{color:var(--blue);flex-shrink:0}
.notice{padding:15px 19px;border:1px solid #D1E3FA;border-radius:18px;background:var(--soft-blue);color:#25598F;font-size:15px;margin:0 0 20px;overflow-wrap:anywhere}
.notice.success{border-color:#D1E9DC;background:#F0F8F3;color:#35664A}
.notice.error{border-color:#F0D2D5;background:#FFF2F3;color:#963E45}
.notice.warning{border-color:#E8DFC8;background:#FFF9ED;color:#7A6337}
#lookup-section:not([hidden])~.help-section{max-width:960px;margin-inline:auto}
.account-bar{display:flex;align-items:center;gap:14px;padding:22px 25px;margin-bottom:22px}
.account-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:var(--blue);background:var(--soft-blue);font-size:25px;font-weight:650}
.account-identity{flex:1;min-width:0}
.account-identity p{font-size:13px;color:var(--muted)}
.account-identity h2{font-size:24px;line-height:1.3;overflow-wrap:anywhere}
.account-identity>span{font-size:13px;color:#477158}
.editor-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}
.controls-column,.preview-column{display:flex;flex-direction:column;gap:20px;min-width:0}
.panel{padding:27px}
.section-heading{display:flex;gap:13px;align-items:flex-start;margin-bottom:22px}
.section-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:var(--soft-blue);color:var(--blue);border-radius:13px;font-size:27px;line-height:1}
.section-heading h2{font-size:25px;margin-top:4px}
.section-heading p{font-size:15px;color:var(--muted);margin-top:7px;line-height:1.6}
.section-kicker{font-size:10px;letter-spacing:1.2px}
.frame-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}
.frame-modes button,.palette-options button,.mood-option{border:1px solid #DEDEE5;border-radius:13px;background:#FFF;padding:12px;font-size:15px;font-weight:600;min-height:49px}
.frame-modes button[data-frame-mode=library]{grid-column:1/-1}
.frame-modes button[aria-pressed=true]{background:var(--soft-blue);border-color:var(--blue);color:#0065CD;box-shadow:0 0 0 1px #0071E30F}
.frame-modes button:hover:not(:disabled),.theme-option:hover:not(:disabled),.published-frame-option:hover:not(:disabled){border-color:#96BFE9}
.selection-summary{padding:10px 12px;border-radius:12px;color:#4F5A66;background:#F5F7FA;font-size:14px;line-height:1.6;margin-bottom:17px}
.frame-library-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:2px 12px}
.frame-library-heading>p{font-size:15px;color:var(--muted)}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 4px;min-height:48px;border:0;background:transparent;color:var(--blue);font-size:14px;font-weight:600}
.frame-library-heading .text-button{text-align:left;justify-content:flex-start}
#frame-library-status{font-size:14px;margin-top:2px;margin-bottom:16px}
.published-frame-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.published-frame-option{min-width:0;padding:7px 7px 9px;text-align:center;border:1.5px solid #E0E0E7;border-radius:18px;background:#FFF;min-height:48px}
.published-frame-option[aria-pressed=true]{border-color:var(--blue);background:#F2F7FF;box-shadow:0 0 0 1px var(--blue)}
.published-frame-art{position:relative;display:grid;place-items:center;aspect-ratio:1;isolation:isolate;overflow:hidden;border-radius:12px;background:linear-gradient(140deg,#E8EFF4,#DDE6E1)}
.published-frame-art:before{content:'Ảnh của bạn';position:absolute;inset:0;display:grid;place-items:center;color:#82928D;font-size:12px;z-index:-1}
.published-frame-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.published-frame-tick{display:none;position:absolute;right:5px;top:5px;place-items:center;width:25px;height:25px;background:var(--blue);border:2px solid #FFF;border-radius:50%;color:#FFF;font-size:15px;font-weight:800;box-shadow:0 1px 5px #0002}
.published-frame-option[aria-pressed=true] .published-frame-tick{display:grid}
.published-frame-name{display:block;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;margin-top:8px;padding-inline:2px}
.frame-image-missing{position:relative;font-size:12px;background:#FFFFFFDE;color:var(--muted);border-radius:8px;padding:5px;max-width:90px}
.more-frames{width:100%;margin-top:14px;font-size:15px}
.frame-library-hint{font-size:14px;margin-top:15px}
#frame-design>label{margin-top:20px}
.palette-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.palette-options button{display:flex;align-items:center;gap:8px;text-align:left;font-size:14px;padding-inline:10px}
.palette-options button[aria-pressed=true]{border-color:var(--blue);background:var(--soft-blue)}
.palette-dot{width:22px;height:22px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 1px #00000010;border:2px solid #FFF}
.lavender-dot{background:linear-gradient(135deg,#C4B5FD,#FBCFE8)}
.rose-dot{background:linear-gradient(135deg,#F9A8C4,#FCE0E9)}
.mint-dot{background:linear-gradient(135deg,#B1D6BF,#E0EBB8)}
.sun-dot{background:linear-gradient(135deg,#F6CF8B,#F5A8A3)}
.advanced{margin-top:21px;border-top:1px solid var(--line)}
.advanced summary{padding:15px 0;min-height:53px;color:#414148;font-size:15px;font-weight:600}
.advanced-body{padding:5px 0 10px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 13px}
.field-grid label{font-size:14px;display:flex;justify-content:space-between;gap:8px}
.field-grid output{color:var(--blue);white-space:nowrap}
.field-grid select{font-size:15px;padding-inline:10px}
.frame-reassurance{font-size:14px;padding:12px 14px;background:#F3F7F4;color:#536A59;border-radius:13px;line-height:1.7;margin-top:14px}
.frame-reassurance>span{font-weight:750;margin-right:4px}
.upload-drop{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:165px;border:1.5px dashed #AFCBE9;border-radius:19px;background:#F6FAFF;text-align:center;padding:20px 13px;cursor:pointer}
.upload-icon{font-size:30px;color:var(--blue)}
.upload-drop strong{font-size:17px}
.upload-drop>span:last-of-type{font-size:14px;font-weight:400;color:var(--muted)}
.upload-drop input,.photo-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.upload-drop:focus-within,.photo-button:focus-within{outline:3px solid #0071E370;outline-offset:4px}
.upload-state{color:var(--blue);font-size:14px;overflow-wrap:anywhere}
.optional-panel{padding:0;overflow:hidden}
.optional-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 25px;list-style:none;min-height:88px}
.optional-panel>summary::-webkit-details-marker{display:none}
.optional-panel>summary strong{display:block;font-size:20px;font-weight:700;letter-spacing:-.4px;line-height:1.35}
.optional-panel>summary small{display:block;color:var(--muted);font-size:14px;line-height:1.6;margin-top:6px}
.disclosure-selection{display:block;font-size:13px;color:var(--blue);line-height:1.5;margin-top:7px}
.disclosure-chevron{color:#8A8A90;font-size:23px;flex-shrink:0;align-self:flex-start;line-height:1.1;transition:transform .16s}
.optional-panel[open] .disclosure-chevron{transform:rotate(180deg)}
.optional-body{padding:0 25px 25px}
.optional-body>.input-help{padding-top:17px;border-top:1px solid var(--line);margin:0 0 18px;font-size:14px}
.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.theme-option{position:relative;display:flex;flex-direction:column;gap:9px;min-width:0;min-height:100px;text-align:left;padding:15px;border:1.5px solid var(--line);border-radius:16px;background:#FFF;font-size:15px;font-weight:600}
.theme-option.keep{min-height:49px;grid-column:1/-1;justify-content:center;font-size:14px}
.theme-option[aria-pressed=true]{border-color:var(--blue);background:var(--soft-blue)}
.theme-option[aria-pressed=true]:after{content:'✓';position:absolute;right:10px;top:10px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--blue);color:#FFF;font-size:13px}
.theme-swatch{display:flex;gap:4px;align-items:center;height:25px}
.theme-swatch i{display:block;width:20px;height:25px;border-radius:6px;background:var(--swatch,#C8DCEC)}
.theme-swatch .theme-symbol{width:27px;background:transparent;font-style:normal;color:#7890A0;text-align:center;font-size:22px}
.mood-options{display:flex;gap:9px;flex-wrap:wrap}
.mood-option{font-size:15px;padding:12px 15px}
.mood-option[aria-pressed=true]{border-color:var(--blue);background:var(--soft-blue);color:#0065CD}
.preview-column{position:sticky;top:22px}
.preview-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.preview-top h2{font-size:25px;margin-top:7px}
.draft-badge{border-radius:30px;background:#F0F0F4;color:#63636B;white-space:nowrap;font-size:12px;font-weight:650;padding:6px 10px}
.draft-badge.saved{background:#EEF7F0;color:#467153}
.widget-stage{display:grid;place-items:center;min-height:290px;background:#F5F5F7;border-radius:21px;padding:25px 30px;margin-top:23px}
.widget-demo{position:relative;width:100%;max-width:258px;aspect-ratio:1;overflow:hidden;isolation:isolate;border-radius:24%;background:#D9E4E4;box-shadow:0 10px 24px #1D1D1F15}
.sample-scene{position:absolute;inset:0;background:linear-gradient(160deg,#E7F0F9,#DDE6E4);overflow:hidden}
.scene-sun{position:absolute;right:20%;top:17%;width:47px;height:47px;border-radius:50%;background:#F8F1D6}
.scene-cloud{position:absolute;left:17%;top:29%;width:55px;height:20px;background:#FFF;border-radius:20px;box-shadow:15px -10px 0 -2px #FFF,33px -1px 0 -4px #FFF}
.scene-hill{position:absolute;bottom:-20%;left:-16%;width:150%;height:65%;background:#ADC5B7;border-radius:60% 60% 0 0;transform:rotate(-15deg)}
.scene-heart{position:absolute;left:44%;top:33%;font-size:55px;color:#7D9BAD;line-height:1}
.local-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.frame-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:4}
.widget-caption{position:absolute;left:12%;right:12%;bottom:19%;border-radius:20px;background:#FFFFFFE5;color:#3D5360;z-index:2;padding:6px 9px;font-size:11px;font-weight:700;line-height:1.4;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-tools{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:11px}
.photo-button{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px;font-size:14px;font-weight:600;color:var(--blue);cursor:pointer;margin:0}
.preview-disclaimer{font-size:13px;line-height:1.7;color:var(--muted);text-align:center;max-width:310px;margin:1px auto 0}
.save-area{margin-top:23px;border-top:1px solid var(--line);padding-top:22px}
.save-button{width:100%;min-height:54px;font-size:16px}
.save-area>p{font-size:14px;color:var(--muted);line-height:1.6;text-align:center;margin-top:11px}
.editor-status{font-size:14px;padding:12px 13px;border-radius:13px;background:var(--soft-blue);color:#25598F;margin-bottom:14px;overflow-wrap:anywhere}
.save-area .editor-status{text-align:left}
.editor-status.error{color:#963E45;background:#FFF2F3}
.editor-status.success{color:#35664A;background:#F0F8F3}
.saved-guide{padding:16px;background:#F0F8F3;color:#41624D;font-size:14px;border-radius:15px;line-height:1.8;margin-top:18px}
.saved-guide strong{font-size:16px}
.saved-guide ol{margin:8px 0 0;padding-left:19px}
.reload-button{width:100%;font-size:14px;margin-top:15px}
.caption-title{display:flex;justify-content:space-between;align-items:center;gap:10px}
.caption-title h2{font-size:22px}
.caption-title>span{color:#9BA9B7;font-size:26px}
.captions-panel>.muted{font-size:14px;margin-top:10px}
.caption-group{margin-top:19px}
.caption-group h3{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--muted);line-height:1.5;letter-spacing:0;margin-bottom:10px}
.caption-group h3 span{font-size:10px;letter-spacing:.3px;font-weight:600;color:#45709B;background:#EAF2FB;border-radius:5px;padding:3px 6px;white-space:nowrap}
.caption-pill{font-size:15px;font-weight:650;border-radius:13px;line-height:1.5;padding:11px 13px;margin-top:8px;overflow-wrap:anywhere;background:#EEF3F8;color:#3F5A72}
.caption-overflow{font-size:13px;color:var(--muted);margin-top:10px}
.reset-card{display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #DEDEE5;border-radius:22px;padding:23px 25px;margin-top:24px}
.reset-card h3{font-size:18px;letter-spacing:-.4px}
.reset-card p{font-size:14px;color:var(--muted);margin-top:7px}
.reset-card .button{font-size:14px;min-width:185px}
.help-section{padding:54px 0 45px}
.help-section>h2{font-size:29px;margin-bottom:25px;letter-spacing:-.8px}
.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.help-grid>div{padding-top:17px;border-top:1px solid #D8D8DF}
.help-grid>div>span{font-size:12px;color:var(--blue);font-weight:650;letter-spacing:1px;display:block;margin-bottom:10px}
.help-grid h3{font-size:18px;letter-spacing:-.35px;margin-bottom:9px}
.help-grid p{font-size:14px;color:var(--muted);line-height:1.75}
.page-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0 32px;border-top:1px solid #DCDCE2;font-size:14px;color:var(--muted)}
.brand-name{font-size:20px;font-weight:700;letter-spacing:-.5px;color:var(--ink)}
.page-footer>a:last-child{color:var(--muted)}
.mobile-preview-link{display:none}
.noscript-note{background:#FFF2F3;color:#963E45;padding:22px;border-radius:17px;margin:20px}
.connected .welcome{padding:22px 0 24px;text-align:left;max-width:none}
.connected .eyebrow,.connected .intro{display:none}
.connected h1{font-size:30px;letter-spacing:-.9px}
.connected .steps{justify-content:flex-start;margin-bottom:24px}
body:has(#main[aria-busy=true]) .notice{cursor:progress}
@media(min-width:1440px){.page-header,main,.page-footer{width:min(1240px,calc(100% - 80px))}
.editor-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
}
@media(max-width:1000px){.page-header,main,.page-footer{width:calc(100% - 40px)}
.editor-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}
.panel{padding:23px}
.published-frame-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.widget-stage{min-height:250px;padding-inline:15px}
.preview-top h2{font-size:23px}
.preview-top{gap:8px}
.preview-top .step-label{font-size:10px}
.section-heading h2{font-size:23px}
.optional-panel{padding:0}
.optional-panel>summary{padding:23px}
.optional-body{padding:0 23px 23px}
.palette-options button{font-size:13px}
}
@media(max-width:760px){html{scroll-padding-top:22px}
.page-header,main,.page-footer{width:calc(100% - 32px)}
.page-header{height:83px}
.brand{font-size:21px;gap:10px}
.brand-mark{width:41px;height:41px;border-radius:12px;font-size:27px}
.brand small{font-size:11px}
.back-link{font-size:14px;padding:10px 13px;min-height:48px}
.welcome{padding:30px 0 26px;text-align:left}
.eyebrow{font-size:11px;margin-bottom:13px;letter-spacing:1.4px}
h1{font-size:38px;letter-spacing:-1.4px;line-height:1.15;max-width:420px}
.intro{font-size:17px;margin-top:16px;line-height:1.75}
.steps{gap:10px;justify-content:space-between;font-size:11px;line-height:1.45;margin-bottom:22px}
.steps li{gap:5px;align-items:flex-start}
.steps li>span{width:23px;height:23px;font-size:11px}
.lookup-card{padding:26px 21px;border-radius:24px}
.lookup-card h2{font-size:26px;line-height:1.25;letter-spacing:-.8px;margin-top:10px}
.lookup-card .muted{font-size:16px;line-height:1.7}
.lookup-card form{margin-top:23px}
.lookup-card label{font-size:15px}
.lookup-row{flex-direction:column;gap:13px}
.lookup-row .button{width:100%;min-height:54px;font-size:17px}
.username-wrap input{min-height:56px}
.input-help{font-size:14px}
.lookup-note{font-size:14px;padding-top:18px;margin-top:22px}
.notice{font-size:15px;line-height:1.7;padding:14px 16px}
.account-bar{padding:19px 17px;gap:11px;flex-wrap:wrap;margin-bottom:18px;border-radius:23px}
.account-avatar{display:none}
.account-identity h2{font-size:23px}
.account-identity p,.account-identity>span{font-size:12px}
.account-bar .button{font-size:14px;min-height:48px;padding-inline:14px}
.editor-grid{grid-template-columns:minmax(0,1fr);gap:19px}
.controls-column,.preview-column{gap:17px}
.panel{padding:23px 20px;border-radius:24px}
.section-heading{gap:11px;margin-bottom:20px}
.section-icon{width:37px;height:37px;border-radius:12px;font-size:24px}
.section-heading h2{font-size:25px}
.section-heading p{font-size:15px;line-height:1.65}
.section-kicker{font-size:10px}
.frame-modes{gap:9px}
.frame-modes button{font-size:15px;min-height:51px;padding:12px 8px}
.selection-summary{font-size:14px;margin-bottom:17px}
.frame-library-heading>p{font-size:15px}
.frame-library-heading .text-button{font-size:14px}
.published-frame-options{gap:12px}
.published-frame-option{padding:8px}
.published-frame-name{font-size:16px;line-height:1.45;min-height:24px;margin-top:9px}
.published-frame-art:before{font-size:13px}
.more-frames{font-size:16px;min-height:51px}
.palette-options{gap:9px}
.palette-options button{font-size:14px;min-height:50px}
.field-grid{grid-template-columns:1fr;gap:17px}
.field-grid label{font-size:14px}
.field-grid select{font-size:16px}
.frame-panel>div>label{font-size:15px}
.optional-panel{padding:0}
.optional-panel>summary{padding:22px 20px;min-height:96px}
.optional-panel>summary strong{font-size:21px}
.optional-panel>summary small{font-size:14px;line-height:1.65}
.disclosure-selection{font-size:14px}
.optional-body{padding:0 20px 22px}
.theme-option{font-size:15px;padding:15px 12px}
.theme-option.keep{font-size:15px;min-height:50px}
.mood-option{font-size:16px;min-height:50px}
.preview-column{position:static}
.preview-panel{scroll-margin-top:22px}
.preview-top h2{font-size:27px}
.preview-top .step-label{font-size:10px}
.draft-badge{font-size:12px;padding:6px 9px}
.widget-stage{padding:27px 24px;min-height:300px;margin-top:22px}
.widget-demo{max-width:270px}
.preview-disclaimer{font-size:13px}
.save-button{font-size:17px;min-height:56px}
.save-area>p{font-size:14px}
.saved-guide{font-size:14px}
.saved-guide strong{font-size:16px}
.captions-panel>.muted{font-size:15px}
.caption-pill{font-size:16px}
.caption-group h3{font-size:14px}
.reset-card{flex-direction:column;align-items:stretch;padding:22px 20px;gap:17px;border-radius:23px;margin-top:20px}
.reset-card .button{min-height:51px;font-size:15px}
.reset-card h3{font-size:19px}
.reset-card p{font-size:14px}
.help-section{padding:43px 0 35px}
.help-section>h2{font-size:28px;line-height:1.25;margin-bottom:23px}
.help-grid{grid-template-columns:1fr;gap:23px}
.help-grid>div{display:grid;grid-template-columns:27px minmax(0,1fr);gap:0 10px;padding-top:17px}
.help-grid>div>span{grid-row:1/3;margin:1px 0 0}
.help-grid h3{font-size:18px}
.help-grid p{font-size:15px}
.page-footer{flex-wrap:wrap;gap:8px 16px;font-size:13px;padding-top:23px}
.page-footer p{order:3;flex-basis:100%;font-size:13px}
.page-footer>a:last-child{margin-left:auto;font-size:14px}
.connected .welcome{padding:21px 0 23px}
.connected h1{font-size:28px;line-height:1.2;letter-spacing:-.8px}
.connected .steps{justify-content:space-between;margin-bottom:22px}
.connected .mobile-preview-link{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:24px;right:24px;z-index:30;display:flex;min-height:52px;box-shadow:0 8px 28px #0071E332;border:1px solid #FFFFFF90;font-size:16px;background:#0071E3F2;backdrop-filter:blur(15px)}
body:has(#main.connected){padding-bottom:90px}
}
@media(max-width:359px){.page-header,main,.page-footer{width:calc(100% - 24px)}
h1{font-size:34px}
.lookup-card{padding:24px 19px}
.lookup-card h2{font-size:25px}
.panel{padding:22px 17px}
.optional-panel{padding:0}
.optional-panel>summary{padding:22px 17px}
.optional-body{padding:0 17px 22px}
.steps{font-size:10px;gap:7px}
.steps li{gap:4px}
.frame-modes{grid-template-columns:1fr}
.frame-modes button{font-size:16px}
.palette-options{grid-template-columns:1fr}
.palette-options button{font-size:15px}
.account-bar .button{width:100%}
.section-heading h2{font-size:23px}
.published-frame-options{gap:9px}
.published-frame-name{font-size:15px}
.widget-stage{padding-inline:18px;min-height:270px}
.brand small{font-size:10px}
.connected h1{font-size:26px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{transition:none!important;animation:none!important}
}
@media(prefers-contrast:more){:root{--muted:#48484F;--line:#B2B2BB}
.input-help,.lookup-note,.preview-disclaimer{color:#48484F}
}

#main.connected .mobile-preview-link.preview-in-view{display:none}

/* Widget wardrobe theme. Keep the editor's existing states and controls intact. */
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,
.upload-drop:focus-within,.photo-button:focus-within{outline-color:#b58a14}
input,select{border-color:#e4dfd1;border-radius:16px;background:#fffefa;font-size:15px}
input:focus,select:focus{border-color:#c6a12c;outline-color:#ffd84d40}
input[type=range]{accent-color:#c19a20}
.page-header{height:88px}
.brand{font-size:22px;font-weight:800;letter-spacing:-.8px}
.brand-mark{background:var(--yellow);color:var(--ink);border-radius:15px;letter-spacing:0;font-size:33px;transform:rotate(-7deg);box-shadow:0 4px 0 #e9bf35}
.brand small{font-size:10px;letter-spacing:0;color:var(--muted);font-weight:500}
.back-link{color:var(--ink);background:#fff;border-color:var(--line);font-size:13px;min-height:42px}
.welcome{display:flex;align-items:center;justify-content:space-between;gap:40px;text-align:left;max-width:850px;padding:38px 8px 40px}
.welcome-copy{max-width:535px}
.eyebrow{display:inline-block;background:var(--blush);color:#8a5b52;font-size:11px;font-weight:600;letter-spacing:0;padding:6px 12px;border-radius:20px;margin-bottom:16px}
h1{font-size:clamp(36px,4.5vw,54px);line-height:1.17;letter-spacing:-2.3px;font-weight:800}
.intro{font-size:15px;line-height:1.7;margin:15px 0 0}
.welcome-widget{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:164px;aspect-ratio:1;border:6px solid #fff;border-radius:39px;background:var(--yellow);color:var(--ink);box-shadow:0 12px 0 #e9e2d34d,0 16px 36px #5949180b;transform:rotate(9deg);margin-right:17px}
.welcome-widget>span{font-size:83px;line-height:1;font-weight:500;transform:rotate(-9deg)}
.welcome-widget>small{font-size:9px;font-weight:600;letter-spacing:.1px;margin-top:6px;transform:rotate(-9deg)}
.welcome-widget>i{position:absolute;right:-23px;top:-20px;font-size:38px;color:#d4b9ed;font-style:normal;transform:rotate(-18deg)}
.welcome-widget:after{content:'♡';position:absolute;left:-33px;bottom:0;font-size:36px;color:#cf827e;transform:rotate(-20deg)}
.steps{max-width:850px;justify-content:flex-start;gap:25px;font-size:12px;margin-bottom:22px;padding-left:7px;color:var(--muted)}
.steps li{gap:8px}
.steps li>span{width:26px;height:26px;background:#f0ece2;color:#8c8574;font-size:11px}
.steps .active>span{background:var(--yellow);color:var(--ink)}
.panel,.lookup-card,.account-bar{border-color:var(--line);box-shadow:0 5px 0 #eee9dc40}
.lookup-card{position:relative;padding:32px 36px;border-radius:30px}
.lookup-card h2{font-size:26px;font-weight:800;letter-spacing:-1px;margin-top:9px}
.lookup-card .muted{font-size:14px}
.step-label,.section-kicker{color:#8a7840;font-size:10px;font-weight:600;letter-spacing:0}
.lookup-card label{font-size:13px}
.lookup-card form{margin-top:24px}
.username-wrap input{min-height:54px}
.username-wrap>span{font-size:19px;color:#a69b80}
.button{font-size:14px;font-weight:700;min-height:48px;border-radius:16px;gap:12px}
.button.primary{color:var(--ink);background:var(--yellow);border:1px solid #f1ca3b;box-shadow:0 3px 0 #e2b82b}
.button.primary:hover:not(:disabled){background:#f6cf3d;box-shadow:0 3px 0 #d5ac24}
.button.soft{background:#f7f4eb;color:#5d584a;border-color:var(--line)}
.button.soft:hover:not(:disabled){background:#f0ecdf}
.button.small{font-size:12px;min-height:42px}
.input-help,.lookup-note{font-size:12px;line-height:1.65}
.lookup-note{margin-top:21px;padding-top:17px}
.lookup-note>span{color:#9c8443}
.notice,.editor-status{background:#fff5cd;border-color:#efe0a5;color:#72602c;font-size:13px}
.notice.success{background:#eaf4e9;border-color:#d2e4d0;color:#4e704b}
.account-bar{padding:19px 23px;border-radius:24px}
.account-avatar{background:var(--yellow);color:var(--ink);border-radius:16px}
.account-identity h2{font-size:22px;font-weight:700}
.account-identity p,.account-identity>span{font-size:11px}
.panel{padding:25px;border-radius:28px}
.section-icon{width:42px;height:42px;background:var(--blush);color:#a66d65;border-radius:14px;font-size:27px}
.section-heading h2{font-size:23px;font-weight:800;letter-spacing:-.8px}
.section-heading p{font-size:12px}
.frame-modes button,.palette-options button,.mood-option{border-color:var(--line);border-radius:15px;font-size:12px;min-height:47px}
.frame-modes button[aria-pressed=true],.palette-options button[aria-pressed=true],.mood-option[aria-pressed=true],.theme-option[aria-pressed=true],.published-frame-option[aria-pressed=true]{border-color:#d5b130;background:#fff7d4;color:var(--ink);box-shadow:0 0 0 1px #e9ca59}
.frame-modes button:hover:not(:disabled),.theme-option:hover:not(:disabled),.published-frame-option:hover:not(:disabled){border-color:#d4b750}
.selection-summary{background:#f7f4eb;color:#817761;border-radius:13px;font-size:12px}
.frame-library-heading>p{font-size:12px}
.text-button{font-size:12px;color:#79672d}
.published-frame-option{border-color:var(--line);border-radius:22px;padding:8px}
.published-frame-art{border-radius:17px;background:#edf1e8}
.published-frame-art:before{color:#959b87;font-size:10px}
.published-frame-tick,.theme-option[aria-pressed=true]:after{background:var(--yellow);color:var(--ink)}
.published-frame-name{font-size:12px}
.frame-image-missing{font-size:10px}
.advanced summary{font-size:12px;color:#6f6756}
.field-grid label{font-size:12px}
.field-grid select{font-size:13px}
.frame-reassurance{background:var(--mint);color:#52714d;font-size:11px}
.upload-drop{background:#faf8f0;border-color:#d5cba8;border-radius:22px}
.upload-drop strong{font-size:14px}
.upload-drop>span:last-of-type{font-size:11px}
.optional-panel{padding:0}
.optional-panel>summary{padding:21px 25px;min-height:86px}
.optional-panel>summary strong{font-size:18px;letter-spacing:-.5px}
.optional-panel>summary small{font-size:11px;margin-top:4px}
.disclosure-selection{font-size:11px;color:#978047}
.disclosure-chevron{color:#a59a83}
.optional-body{padding:0 25px 23px}
.optional-body>.input-help{font-size:12px}
.theme-option{font-size:12px;border-radius:19px;border-color:var(--line)}
.theme-option.keep{font-size:12px}
.theme-swatch .theme-symbol{color:#b09abf}
.preview-panel{background:#fffefa}
.preview-top h2{font-size:24px;font-weight:800;letter-spacing:-.8px}
.draft-badge{background:var(--lavender);color:#8b76a2;font-size:10px}
.draft-badge.saved{background:var(--mint);color:#4e704b}
.widget-stage{min-height:288px;border-radius:25px;background:var(--lavender);padding:25px 30px}
.widget-demo{border:6px solid #fff;border-radius:26%;box-shadow:0 10px 0 #cfc1e05c,0 16px 30px #89729c15}
.sample-scene{background:#f9e5de}
.scene-sun{background:#ffd84d}
.scene-hill{background:#b7d0b5}
.scene-heart{color:#c28179}
.widget-caption{background:#fffaf0ed;color:#6c6a51;font-size:10px}
.photo-button{font-size:12px;color:#82703b}
.preview-disclaimer{font-size:10px;line-height:1.6}
.save-button{font-size:14px;min-height:52px}
.save-area>p{font-size:11px}
.saved-guide{background:var(--mint);color:#4f714e;font-size:12px;border-radius:18px}
.saved-guide strong{font-size:14px}
.caption-title h2{font-size:20px;font-weight:800}
.caption-title>span{color:#b4a1cf}
.captions-panel>.muted{font-size:12px}
.caption-group h3{font-size:12px}
.caption-group h3 span{background:#f2ecdf;color:#93805b}
.caption-pill{background:#f4efe3;color:#6d634c;font-size:13px;border-radius:16px}
.caption-overflow{font-size:11px}
.reset-card{border-color:var(--line);border-radius:25px;background:#f9f5e9}
.reset-card h3{font-size:16px}
.reset-card p,.reset-card .button{font-size:12px}
.help-section{padding:45px 0 38px}
.help-section>h2{font-size:24px;font-weight:800;letter-spacing:-.8px}
.help-grid{gap:17px}
.help-grid>div{background:#f5f0e6;padding:20px;border:0;border-radius:23px}
.help-grid>div:nth-child(2){background:var(--mint)}
.help-grid>div:nth-child(3){background:var(--blush)}
.help-grid>div>span{font-size:10px;color:#a18b50}
.help-grid h3{font-size:15px;margin-bottom:8px}
.help-grid p{font-size:12px;line-height:1.7}
.page-footer{border-color:var(--line);font-size:11px}
.brand-name{font-size:18px;font-weight:800}
.connected .welcome{display:block;padding:22px 0 25px}
.connected h1{font-size:28px}
.connected h1 br,.connected .welcome-widget{display:none}
.connected .mobile-preview-link{background:#ffd84df5;border-color:#f1ca3b;color:var(--ink);box-shadow:0 5px 0 #d8ad25,0 10px 25px #66552a18;font-size:14px}
@media(max-width:1000px){.panel{padding:22px}.optional-panel{padding:0}.optional-panel>summary{padding:20px 22px}.optional-body{padding:0 22px 22px}}
@media(max-width:760px){
  .page-header{height:79px}.brand{font-size:20px}.brand-mark{width:40px;height:40px;border-radius:14px;font-size:30px}.brand small{font-size:9px}.back-link{font-size:12px;padding:8px 12px}
  .welcome{padding:27px 4px 31px;gap:12px;align-items:center}.welcome-copy{max-width:calc(100% - 122px)}.eyebrow{font-size:9px;padding:5px 10px;letter-spacing:0;margin-bottom:12px}h1{font-size:35px;letter-spacing:-1.7px;line-height:1.19}.intro{font-size:12px;line-height:1.6;margin-top:12px;max-width:260px}
  .welcome-widget{width:105px;border-width:4px;border-radius:28px;margin-right:7px}.welcome-widget>span{font-size:53px}.welcome-widget>small{font-size:6px;margin-top:4px}.welcome-widget>i{font-size:27px;right:-13px;top:-15px}.welcome-widget:after{font-size:25px;left:-18px;bottom:-6px}
  .steps{gap:11px;font-size:10px;justify-content:space-between;padding-left:0;margin-bottom:19px}.steps li{gap:5px}.steps li>span{width:24px;height:24px;font-size:10px}
  .lookup-card{padding:25px 21px;border-radius:27px}.lookup-card h2{font-size:24px;line-height:1.3;letter-spacing:-.8px}.lookup-card .muted{font-size:12px}.lookup-card label{font-size:12px}.lookup-card form{margin-top:22px}.lookup-row{gap:12px}.lookup-row .button{font-size:14px;min-height:50px}.input-help,.lookup-note{font-size:11px}.lookup-note{padding-top:16px;margin-top:19px}
  .account-bar{padding:18px;border-radius:23px}.account-identity h2{font-size:21px}.account-identity p,.account-identity>span{font-size:10px}.account-bar .button{font-size:11px;min-height:42px}
  .panel{padding:22px 20px;border-radius:26px}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.section-icon{width:37px;height:37px;font-size:25px}.section-kicker{font-size:9px}.frame-modes button{font-size:12px;min-height:46px}.selection-summary{font-size:11px}.palette-options button{font-size:12px}.frame-library-heading>p,.frame-library-heading .text-button{font-size:11px}.published-frame-name{font-size:12px}.more-frames{font-size:13px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.field-grid label{font-size:11px}.field-grid select{font-size:12px}.frame-panel>div>label{font-size:12px}
  .optional-panel{padding:0}.optional-panel>summary{padding:20px;min-height:87px}.optional-panel>summary strong{font-size:18px}.optional-panel>summary small,.disclosure-selection{font-size:11px}.optional-body{padding:0 20px 22px}.theme-option,.theme-option.keep{font-size:12px}.mood-option{font-size:12px;min-height:45px}
  .preview-top h2{font-size:25px}.preview-top .step-label{font-size:9px}.draft-badge{font-size:10px}.widget-stage{min-height:300px;padding:28px}.widget-demo{max-width:260px}.preview-disclaimer{font-size:10px}.save-button{font-size:14px;min-height:52px}.save-area>p{font-size:11px}.saved-guide{font-size:12px}.saved-guide strong{font-size:14px}.captions-panel>.muted{font-size:12px}.caption-pill{font-size:13px}.caption-group h3{font-size:11px}
  .reset-card{padding:21px 20px;gap:15px}.reset-card h3{font-size:17px}.reset-card p,.reset-card .button{font-size:12px}.help-section{padding:37px 0 31px}.help-section>h2{font-size:24px}.help-grid{gap:12px}.help-grid>div{padding:19px;grid-template-columns:22px minmax(0,1fr)}.help-grid h3{font-size:15px}.help-grid p{font-size:12px}.page-footer p,.page-footer>a:last-child{font-size:10px}.connected h1{font-size:26px}
}
@media(max-width:400px){h1{font-size:31px}.welcome-copy{max-width:calc(100% - 105px)}.welcome-widget{width:89px;border-radius:24px}.welcome-widget>span{font-size:44px}.welcome-widget>small{font-size:5px}.intro{font-size:11px}.field-grid{grid-template-columns:1fr}.frame-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.frame-modes button{font-size:11px}.palette-options{grid-template-columns:repeat(2,minmax(0,1fr))}.palette-options button{font-size:11px}.steps{font-size:9px;gap:8px}}
@media(prefers-contrast:more){:root{--muted:#59513f;--line:#aaa08a}.input-help,.lookup-note,.preview-disclaimer{color:#59513f}}
@media(max-width:760px){input,select,.field-grid select{font-size:16px}.intro{font-size:13px}.preview-disclaimer{font-size:12px}.save-area>p{font-size:12px}.connected .mobile-preview-link{font-size:14px}}

/* One-time phone linking stays separate from the appearance draft. */
.device-link-panel{margin:0 0 23px;padding:23px 25px;border:1px solid #e9dfb9;border-radius:25px;background:#fff9e3;scroll-margin-top:24px}
.device-link-heading{display:flex;align-items:center;gap:13px}
.device-link-icon{display:grid;place-items:center;width:43px;height:43px;flex:none;background:var(--yellow);border-radius:14px;font-size:29px;line-height:1}
.device-link-heading>div{flex:1;min-width:0}
.device-link-heading h2{font-size:18px;letter-spacing:-.5px;line-height:1.35}
.device-link-heading p{font-size:12px;line-height:1.7;color:#81724a;margin-top:5px;max-width:780px}
.device-link-badge{flex:none;font-size:10px;line-height:1.5;font-weight:700;padding:6px 10px;border-radius:20px;background:#f3e8bd;color:#827039;text-align:center}
.device-link-panel[data-state=linked]{background:#f0f8ee;border-color:#d9e8d2}
.device-link-panel[data-state=linked] .device-link-icon,.device-link-panel[data-state=linked] .device-link-badge{background:#dcebd3;color:#507143}
.device-link-panel[data-state=linked] .device-link-heading p{color:#62725c}
.device-link-panel[data-state=needs_admin_review]{background:#fff1ed;border-color:#eedbd4}
.device-link-panel[data-state=needs_admin_review] .device-link-badge{background:#f4dcd4;color:#8b6358}
.device-link-panel[data-state=ineligible]{background:#f7f4ed;border-color:var(--line)}
.device-link-message{font-size:12px;line-height:1.75;color:#7a6941;margin:14px 0 0;padding:11px 14px;border-radius:14px;background:#fffdf5}
.device-link-message.error{color:#9a5649;background:#fff0e9}
.device-link-message.success{color:#4f7049;background:#e2efdc}
#device-link-controls{margin-top:16px}
.device-link-steps{display:grid;gap:7px;margin:0 0 18px;padding-left:19px;font-size:12px;line-height:1.8;color:#73694e;max-width:780px}
.device-link-form{max-width:455px}
.device-link-form>label{font-size:12px;margin-bottom:8px}
.device-link-code-row{display:flex;gap:10px;align-items:stretch}
#device-link-code{min-width:0;flex:1;background:#fffef9;font-size:23px;letter-spacing:3px;font-variant-numeric:tabular-nums;min-height:51px;padding:10px 15px}
#device-link-code::placeholder{font-size:20px;letter-spacing:2px;color:#b5aa89}
.device-link-code-row .button{flex:none;min-width:105px}
.device-link-form .input-help{font-size:10px;margin-top:8px}
.device-link-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#8a784a;margin:13px 0 10px;font-variant-numeric:tabular-nums}
.device-link-meta>span:empty{display:none}
.device-link-footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:11px;color:#8b6f32;margin-top:12px}
.device-link-footer:has(>button[hidden]):has(>span[hidden]){display:none}
.device-link-footer .text-button,#device-link-cancel{min-height:36px}
@media(max-width:760px){
  .device-link-panel{padding:20px;margin-bottom:18px;border-radius:23px}
  .device-link-heading{gap:11px;flex-wrap:wrap;align-items:flex-start}
  .device-link-icon{width:36px;height:36px;font-size:25px;border-radius:12px}
  .device-link-heading h2{font-size:17px}.device-link-heading p{font-size:12px}
  .device-link-badge{margin-left:47px;font-size:10px;padding:4px 9px}
  .device-link-steps{font-size:12px;gap:9px;line-height:1.75}
  .device-link-message{font-size:12px;padding:11px 12px}
  #device-link-code{font-size:21px;letter-spacing:2px;padding-inline:12px}
  .device-link-code-row{gap:8px}.device-link-code-row .button{min-width:88px;font-size:12px;padding-inline:13px}
  .device-link-form .input-help{font-size:11px}.device-link-meta{font-size:11px;gap:10px 16px}
}
