/* Theme Studio chrome uses a fixed palette; previews alone inherit edited tokens. */
.theme-library{max-width:1240px;margin:0 auto;color:#303b31}.theme-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.theme-section-heading h2{font-size:19px;line-height:1.4;letter-spacing:-.5px;margin:0;color:#303b31}.theme-section-heading .theme-kicker{font-size:9px;letter-spacing:1.1px;color:#7c8479;margin-bottom:5px}.theme-section-heading p{font-size:12px;color:#798273;margin:6px 0 0}.theme-section-heading .text-button{font-size:12px;color:#52694b;padding:7px 0}.theme-current-card{border:1px solid #dce3d6;background:#fff;border-radius:15px;display:grid;grid-template-columns:minmax(360px,1.05fr) minmax(280px,1fr);overflow:hidden;box-shadow:0 3px 12px #2f432505}.theme-current-info{padding:35px 32px;display:flex;flex-direction:column;align-items:start;justify-content:center;min-width:0}.theme-card-badges{display:flex;align-items:center;gap:6px;min-height:22px;flex-wrap:wrap}.theme-card-badges .badge{font-size:10px;line-height:1.4;padding:4px 8px}.theme-current-info h3{font-size:25px;line-height:1.4;letter-spacing:-.9px;margin:13px 0 8px;overflow-wrap:anywhere}.theme-card-description{color:#75806e;line-height:1.8;font-size:12px;margin:0;overflow-wrap:anywhere;white-space:pre-line}.theme-current-info .theme-card-description{max-width:400px}.theme-live-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:#4b6842;margin-top:18px}.theme-live-meta>span:last-child{color:#8c9485;margin-left:6px;padding-left:12px;border-left:1px solid #e0e6d9}.theme-live-dot{width:6px;height:6px;border-radius:50%;background:#628b45}.theme-unpublished-note{font-size:11px;color:#8d6a2e;background:#faf4e6;border:1px solid #eee1c4;border-radius:8px;padding:10px 12px;line-height:1.8;margin-top:15px}.theme-current-actions{margin-top:24px;display:flex;gap:9px}.theme-current-actions .button{font-size:12px;min-width:120px;min-height:40px;padding:9px 18px}.theme-current-caption{font-size:10px;color:#939a8c;line-height:1.7;margin:14px 0 0}.theme-saved-section{margin-top:40px;padding-top:31px;border-top:1px solid #e1e7da}.theme-library-count{display:inline-grid;place-items:center;min-width:24px;height:23px;padding:0 7px;font-size:11px;vertical-align:middle;margin-left:9px;border:1px solid #e0e6d8;border-radius:7px;color:#77836d;background:#f0f4e9;letter-spacing:0}.theme-library-add{display:flex;align-items:center;gap:8px;flex:none}.theme-library-add .button{font-size:11px;min-height:37px;padding:8px 13px}.theme-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.theme-library-card{overflow:hidden;background:#fff;border:1px solid #dce3d6;border-radius:13px;box-shadow:0 3px 12px #2f432505}.theme-library-card.has-current-draft{border-color:#dfd2af}.theme-library-card-body{padding:22px 23px 20px}.theme-library-card h3{font-size:18px;line-height:1.5;letter-spacing:-.4px;margin:9px 0 6px;overflow-wrap:anywhere}.theme-library-card .theme-card-description{min-height:42px}.theme-draft-meta{font-size:10px;color:#8a9481;line-height:1.7;margin:16px 0 17px}.theme-library-card-actions{border-top:1px solid #ecf0e6;padding-top:16px;display:flex;gap:7px;flex-wrap:wrap}.theme-library-card-actions .button{font-size:11px;padding:8px 14px;min-height:36px}.theme-library-card-actions .button:last-child{margin-left:auto}.theme-library-help{font-size:11px;line-height:1.8;text-align:center;color:#8a9381;margin:22px 0 0}.theme-library-empty{padding:38px 20px 35px;border:1px dashed #d0dac5;border-radius:12px;background:#f7f9f3;text-align:center}.theme-library-empty>span{font-size:27px;color:#82986f;line-height:1}.theme-library-empty h3{font-size:15px;margin:12px 0 7px;color:#596e4d}.theme-library-empty p{font-size:12px;line-height:1.9;color:#829074;margin:0}.theme-editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.theme-editor-heading .text-button{font-size:12px;padding:4px 0;color:#52694b}.theme-editor-heading>span{font-size:9px;letter-spacing:1px;color:#8c9980}
/* Static, non-interactive thumbnails keep published snapshots separate from editable drafts. */
.theme-library-preview{height:249px;background:#edf0e9;background-image:radial-gradient(#c6cebd7a .7px,transparent .7px);background-size:11px 11px;position:relative;overflow:hidden;border-bottom:1px solid #dfe6d7;padding:22px 40px 0 22px;isolation:isolate}.theme-library-preview.large{height:333px;border-bottom:0;border-right:1px solid #dfe6d7;padding:32px 45px 0 26px}.tl-browser{background:#fff;border:1px solid #bbc6b0;border-radius:8px 8px 0 0;box-shadow:0 8px 23px #3244241c;height:275px;width:100%;overflow:hidden}.tl-browser-bar{height:23px;display:flex;align-items:center;gap:4px;padding:0 9px;background:#fbfcf8;border-bottom:1px solid #e4e8de}.tl-browser-bar i{height:4px;width:4px;background:#d1d8c9;border-radius:50%}.tl-browser-bar span{margin:auto;font-size:5px;color:#a0aa96;letter-spacing:1px;padding-right:15px}.tl-desktop{height:100%;background-color:var(--tl-canvas);background-repeat:no-repeat;background-size:6px 100%;background-position:left center;color:var(--tl-ink);overflow:hidden}.tl-brand{height:39px;padding:8px 12px;display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--tl-line);background:var(--tl-surface)}.tl-brand>img{width:23px;height:23px;object-fit:contain;border-radius:6px}.tl-brand>strong{font-size:12px;font-weight:800;letter-spacing:-.8px}.tl-brand>span{font-size:6px;margin-left:auto;color:var(--tl-textSoft)}.tl-desktop-content{padding:14px}.tl-desktop-content>small{font-size:5px;font-weight:700;letter-spacing:1.2px;color:var(--tl-textSoft)}.tl-desktop-content h3{font-size:16px;line-height:1.3;margin:4px 0 11px;letter-spacing:-.7px;color:var(--tl-ink)}.tl-search{border:1px solid var(--tl-line);background:var(--tl-surface);color:var(--tl-textFaint);font-size:6px;padding:7px 9px;border-radius:calc(var(--tl-button)*.55);margin-bottom:10px}.tl-categories{display:flex;gap:5px;margin-bottom:11px;align-items:center}.tl-categories>span{border-radius:5px;background:var(--tl-surface);font-size:5px;color:var(--tl-textSoft);padding:3px 6px;line-height:1.4}.tl-categories>span:first-child{color:var(--tl-onBrand);background:var(--tl-brand)}.tl-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tl-product{border:1px solid var(--tl-line);border-radius:calc(var(--tl-card)*.55);background:var(--tl-surface);color:var(--tl-ink);overflow:hidden}.tl-product>img{width:100%;height:76px;object-fit:cover;display:block}.tl-product>div{padding:6px}.tl-product small{font-size:4px;background:var(--tl-greenSoft);color:var(--tl-green);padding:2px 3px;border-radius:3px;line-height:1.3;display:inline-block}.tl-product strong{font-size:5px;display:block;line-height:1.4;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-product b{font-size:6px;display:block;margin-top:3px}.tl-mobile{position:absolute;bottom:-17px;right:17px;width:109px;height:211px;border:4px solid #303b2b;border-radius:17px;background:var(--tl-canvas);color:var(--tl-ink);box-shadow:0 5px 18px #25381c35;overflow:hidden;padding:4px 6px 0;display:flex;flex-direction:column}.tl-mobile-status{display:flex;justify-content:space-between;align-items:center;font-size:4px;padding:1px 3px 4px;font-weight:700}.tl-mobile-status span{font-size:3px}.tl-mobile-brand{display:flex;align-items:center;gap:4px;height:26px}.tl-mobile-brand img{width:18px;height:18px;object-fit:contain;border-radius:5px}.tl-mobile-brand b{font-size:9px;letter-spacing:-.4px}.tl-mobile-title{font-size:9px;line-height:1.4;letter-spacing:-.3px;margin:6px 0 7px}.tl-mobile .tl-product>img{height:71px}.tl-mobile .tl-product>div{padding:4px 5px}.tl-mobile .tl-product strong{font-size:5px}.tl-mobile-nav{display:flex;justify-content:space-around;align-items:center;margin:9px -6px 0;background:var(--tl-surface);border-top:1px solid var(--tl-line);min-height:24px;color:var(--tl-textSoft);font-size:10px}.tl-mobile-nav b{background:var(--tl-brand);color:var(--tl-onBrand);border-radius:4px;padding:0 4px;font-weight:400}.large .tl-browser{height:350px}.large .tl-brand{height:47px;padding:8px 15px}.large .tl-brand>img{width:27px;height:27px}.large .tl-brand>strong{font-size:15px}.large .tl-desktop-content{padding:18px}.large .tl-desktop-content h3{font-size:20px;margin:5px 0 13px}.large .tl-search{font-size:7px;padding:9px 10px}.large .tl-categories>span{font-size:6px;padding:4px 8px}.large .tl-product>img{height:101px}.large .tl-product>div{padding:7px}.large .tl-product strong{font-size:7px}.large .tl-product b{font-size:8px}.large .tl-mobile{height:261px;width:135px;right:19px;bottom:-15px;border-width:5px;border-radius:21px;padding:6px 8px 0}.large .tl-mobile-brand{height:31px}.large .tl-mobile-brand img{width:21px;height:21px}.large .tl-mobile-brand b{font-size:11px}.large .tl-mobile-title{font-size:12px;margin:8px 0 9px}.large .tl-mobile .tl-product>img{height:98px}.large .tl-mobile .tl-product>div{padding:6px}.large .tl-mobile .tl-product strong{font-size:7px}.large .tl-mobile .tl-product b{font-size:8px}.large .tl-mobile-nav{min-height:30px;font-size:13px;margin:9px -8px 0}
@media(max-width:1100px){.theme-current-card{grid-template-columns:minmax(300px,1fr) minmax(240px,.85fr)}.theme-current-info{padding:26px 23px}.theme-current-info h3{font-size:21px}.theme-library-preview.large{height:317px;padding-left:17px;padding-right:38px}.theme-library-preview{padding-left:16px;padding-right:34px;height:232px}.tl-desktop-content{padding:12px 9px}.tl-desktop-content h3{font-size:13px}.tl-brand{padding-left:9px;padding-right:9px}.tl-brand>span{display:none}.theme-library-card-body{padding:19px}.theme-library-card-actions .button{padding:7px 10px}.theme-library-grid{gap:17px}}
@media(max-width:850px){.theme-current-card{grid-template-columns:1fr}.theme-library-preview.large{border-right:0;border-bottom:1px solid #dfe6d7;padding:25px 70px 0 34px;height:319px}.theme-current-info{padding:27px}.theme-current-caption{margin-top:12px}.theme-section-heading{align-items:start}.theme-library-grid{grid-template-columns:1fr 1fr}.theme-library-add{flex-wrap:wrap;justify-content:end}.theme-library-preview{height:208px;padding:17px 28px 0 11px}.tl-mobile{right:9px;width:88px;height:181px;border-width:3px;border-radius:13px}.tl-mobile .tl-product>img{height:54px}.tl-mobile-title{font-size:8px}.tl-mobile-brand b{font-size:8px}.tl-products{gap:5px}.tl-desktop-content h3{font-size:11px}.tl-desktop-content{padding:12px 7px}.tl-brand{padding-left:7px}.tl-brand>strong{font-size:11px}.tl-product>img{height:62px}.theme-library-card h3{font-size:16px}.theme-library-card-actions .button:last-child{flex:1 1 100%;margin-left:0}.theme-draft-meta{font-size:9px}}
@media(max-width:580px){.theme-section-heading{gap:12px;flex-wrap:wrap}.theme-section-heading h2{font-size:18px}.theme-saved-section{margin-top:30px;padding-top:25px}.theme-library-add{justify-content:start;width:100%}.theme-library-add .button{flex:1;min-height:40px;font-size:12px}.theme-library-grid{grid-template-columns:1fr;gap:20px}.theme-library-preview{height:252px;padding:22px 45px 0 22px}.tl-browser{height:285px}.tl-desktop-content{padding:14px}.tl-desktop-content h3{font-size:16px}.tl-brand{padding:8px 12px}.tl-brand>strong{font-size:12px}.tl-product>img{height:82px}.tl-products{gap:8px}.tl-mobile{right:17px;width:109px;height:211px;border-width:4px;border-radius:17px}.tl-mobile .tl-product>img{height:71px}.tl-mobile-title{font-size:9px}.tl-mobile-brand b{font-size:9px}.theme-library-preview.large{height:282px;padding:24px 42px 0 20px}.large .tl-desktop-content{padding:17px 13px}.large .tl-desktop-content h3{font-size:18px}.large .tl-product>img{height:90px}.large .tl-mobile{width:118px;height:234px;border-width:4px;border-radius:18px;right:15px}.large .tl-mobile .tl-product>img{height:81px}.large .tl-mobile-title{font-size:10px}.theme-current-info{padding:24px}.theme-current-info h3{font-size:23px}.theme-current-actions{margin-top:20px}.theme-library-card-body{padding:21px}.theme-library-card h3{font-size:18px}.theme-library-card-actions .button{flex:1;min-height:40px}.theme-library-card-actions .button:last-child{flex:1.4}.theme-library-card .theme-card-description{min-height:0}.theme-library-help{font-size:10px}.theme-live-meta>span:last-child{margin-left:0;padding-left:8px}.theme-editor-heading{margin-bottom:12px}}
.theme-content{max-width:1700px}.theme-content .page-heading{margin-bottom:22px}.theme-workbench{color:#34422f}.theme-top{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:20px;background:#fff;border:1px solid #dfe6d7;border-radius:13px 13px 0 0}.theme-picker{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.theme-picker .field{margin:0;min-width:190px;max-width:260px}.theme-picker .field>span{font-size:11px}.theme-picker select{height:38px;font-size:12px;padding:8px 12px}.theme-picker .button{min-height:38px}.theme-toolbar-actions{display:flex;align-items:center;gap:8px;flex:none}.theme-toolbar-actions .button{min-height:38px;font-size:12px;padding:9px 15px}.theme-save-state{display:flex;flex-direction:column;align-items:end;gap:6px;margin-right:5px;font-size:10px;color:#65755a}.theme-save-state .badge{font-size:10px}.theme-filebar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f9fbf5;border:1px solid #dfe6d7;border-top:0;padding:11px 18px;border-radius:0 0 13px 13px;font-size:11px;color:#65755a}.theme-filebar>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.theme-filebar .text-button{margin:0;padding:4px 0;font-size:11px;color:#4e683c;white-space:nowrap}.theme-notices:empty{display:none}.theme-notices .alert{margin:16px 0 0;line-height:1.8;font-size:12px}.theme-grid{display:grid;grid-template-columns:164px minmax(318px,1fr) 286px;gap:20px;margin-top:23px;align-items:start}.theme-screens,.theme-inspector{background:#fff;border:1px solid #dfe6d7;border-radius:13px;padding:19px 16px}.theme-kicker{display:block;font-size:9px;font-weight:750;letter-spacing:.9px;color:#75856a;margin-bottom:9px}.theme-screens h2{font-size:14px;margin:0 0 20px;color:#344b29}.theme-screen{display:flex;align-items:center;gap:10px;background:transparent;text-align:left;width:100%;border:1px solid transparent;border-radius:9px;margin:5px 0;padding:12px 8px;min-height:63px;color:#708063}.theme-screen.active{background:#eff5e5;border-color:#cbd9b8;color:#3c5c28}.theme-screen:hover{background:#f5f8ef}.theme-screen strong{display:block;font-size:12px;margin-bottom:5px}.theme-screen small{font-size:10px;display:block;line-height:1.4;color:#738467}.theme-screen-number{font-size:10px;color:#8b9a7a;font-weight:750}.theme-screen.active .theme-screen-number{color:#527331}.theme-screen-note{border-top:1px solid #e8eddf;margin-top:22px;padding-top:18px;font-size:10px;line-height:1.8;color:#75846b}.theme-screen-note strong{display:block;color:#536847;font-size:10px}.theme-screen-note p{margin:6px 0 0}.theme-preview-area{background:#e9eedf;border:1px solid #dfe6d7;border-radius:14px;padding:19px 16px 20px;display:flex;flex-direction:column;align-items:center;min-width:0;background-image:radial-gradient(#b6c3a54d .7px,transparent .7px);background-size:13px 13px}.theme-preview-heading{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:16px}.theme-preview-heading .theme-kicker{margin:0}.theme-preview-heading .text-button{margin:0;padding:0;font-size:10px;color:#526b3e}.theme-phone{width:310px;height:638px;max-width:100%;padding:8px;background:#253122;border-radius:40px;border:1px solid #1c2919;box-shadow:0 19px 35px #3b51252d,0 0 0 3px #f7f9f2;flex:none;overflow:hidden}.theme-preview-caption{text-align:center;font-size:10px;line-height:1.9;color:#526548;margin:18px 0 6px}.theme-preview-disclaimer{font-size:9px;color:#6a7b60;text-align:center;line-height:1.6}.theme-inspector{padding:20px 17px;max-height:900px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#becdaf #f4f7ef}.theme-controls h2{font-size:18px;letter-spacing:-.5px;color:#3c532f;margin:0 0 6px}.theme-control-intro{font-size:11px;line-height:1.8;color:#728167;margin:0 0 21px}.theme-controls .field{font-size:11px;margin-bottom:14px;gap:7px}.theme-controls .field>span{font-size:11px;color:#4b6040;font-weight:650}.theme-controls .field small{font-size:9px;color:#75836b;line-height:1.6}.theme-controls input:not([type=color]):not([type=range]),.theme-controls textarea,.theme-controls select{font-size:11px;padding:9px 10px;border-color:#dce4d2;background:#fff;min-height:36px;line-height:1.6;color:#3a4e30}.theme-controls hr{border:0;border-top:1px solid #e5ebdc;margin:20px 0}.theme-control-section{margin-top:18px}.theme-control-section h3{font-size:12px;color:#3c532f;margin:0 0 12px}.theme-control-section>p{font-size:10px;line-height:1.8;color:#708063}.theme-color{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;font-size:11px;color:#5a6d4d}.theme-color-input{display:flex;align-items:center;border:1px solid #dce4d2;border-radius:7px;overflow:hidden;background:#fff;height:34px}.theme-color input[type=color]{appearance:none;width:29px;height:26px;border:0;background:transparent;padding:0;margin:0 3px;cursor:pointer}.theme-color input[type=color]::-webkit-color-swatch-wrapper{padding:2px}.theme-color input[type=color]::-webkit-color-swatch{border:1px solid #0001;border-radius:4px}.theme-color .theme-color-input input[type=text]{border:0;border-radius:0;width:78px;font-family:ui-monospace,monospace;font-size:10px;padding:3px 5px;min-height:30px;text-transform:uppercase}.theme-radius{display:block;margin:18px 0;color:#53684a;font-size:11px}.theme-radius>span{display:flex;justify-content:space-between;margin-bottom:8px}.theme-radius output{font-size:10px;color:#738268}.theme-radius input{width:100%;accent-color:#527331}.theme-advanced{border-top:1px solid #e5ebdc;border-bottom:1px solid #e5ebdc;padding:14px 0;margin-top:18px;font-size:11px}.theme-advanced summary{cursor:pointer;color:#526b3f;font-weight:650}.theme-contrast-note{font-size:10px;line-height:1.8;color:#627456;background:#f3f7eb;padding:11px 12px;border-radius:8px;margin-top:17px}.theme-assets{padding-top:2px}.theme-asset{padding:15px 0;border-bottom:1px solid #e5ebdc}.theme-asset:last-child{border:0;padding-bottom:0}.theme-asset-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.theme-asset-heading strong{font-size:11px;color:#526748}.theme-asset-heading .text-button{font-size:10px;padding:0}.theme-asset .field{margin:8px 0}.theme-asset .field>span{font-size:10px;font-weight:500;line-height:1.7;color:#6a7b5e}.theme-controls .theme-asset input[type=file]{font-size:10px;width:100%;padding:6px;min-height:32px}.theme-asset input::file-selector-button{border:0;background:#edf3e3;color:#4d6939;padding:7px 8px;font-size:10px;border-radius:5px;margin-right:7px;cursor:pointer}.theme-asset>small{font-size:9px;line-height:1.8;color:#7a876e;display:block}.theme-asset-thumb{width:100%;height:80px;object-fit:contain;background:repeating-conic-gradient(#f0f2eb 0% 25%,#fff 0% 50%) 50%/12px 12px;border-radius:7px;border:1px solid #e5ebdc}.theme-asset-thumb.background{object-fit:cover}.theme-dialog-actions{display:flex;gap:10px}.theme-release-list{list-style:none;padding:0;margin:18px 0 0}.theme-release{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:17px 0;border-bottom:1px solid #e5ebdc}.theme-release strong{font-size:12px;display:block;overflow-wrap:anywhere}.theme-release small{display:block;color:#738267;font-size:10px;margin-top:6px}.theme-release .button{flex:none}.theme-workbench:focus-within{scroll-margin-top:25px}

.theme-presets{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:20px}.theme-presets>span{flex:1 1 100%;font-size:11px;color:#4b6040;font-weight:650;margin-bottom:3px}.theme-preset{display:flex;align-items:center;gap:5px;font-size:10px;color:#506345;background:#f9fbf5;border:1px solid #dce4d2;border-radius:7px;padding:7px 8px;min-height:33px}.theme-preset:hover{border-color:#7e9c66}.theme-preset-dot{width:11px;height:11px;border-radius:50%;background:#527331}.theme-preset-dot.preset-1{background:#28627a}.theme-preset-dot.preset-2{background:#93475f}
.theme-phone .tp-canvas{left:0;right:auto;width:6px;background-position:left center;opacity:.22}
.theme-default-restore{padding:13px 15px;background:#f3f7eb;border:1px solid #e0e8d5;border-radius:9px;margin-top:16px}.theme-default-restore .hint{margin:0 0 10px}
/* Sample-only app preview. Photo overlays keep white text, as in the app. */
.tp-screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:31px;background:var(--tp-canvas);color:var(--tp-ink);display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:11px;line-height:1.5}.tp-screen *{box-sizing:border-box}.tp-screen h3,.tp-screen h4,.tp-screen p{margin:0}.tp-screen h3{font-size:20px;line-height:1.35;letter-spacing:-.7px;color:var(--tp-ink)}.tp-screen h4{font-size:11px;line-height:1.5;color:var(--tp-ink)}.tp-statusbar{height:31px;min-height:31px;padding:9px 18px 0;display:flex;justify-content:space-between;font-size:9px;color:var(--tp-ink);z-index:2}.tp-statusbar span{font-size:8px}.tp-canvas{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.08;pointer-events:none}.tp-content{flex:1;min-height:0;position:relative;z-index:1;overflow:hidden}.tp-part{border:0;text-align:left;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer;border-radius:3px;max-width:100%;position:relative}.tp-part:hover{outline:1px dashed #527331;outline-offset:2px}.tp-part.tp-selected:focus-visible,.tp-part:focus-visible{outline:2px solid #1b64c0;outline-offset:2px}.tp-part.tp-selected:after{content:'';pointer-events:none;position:absolute;inset:-3px;border:1.5px dashed #52733199;border-radius:4px;z-index:4}.tp-part strong{color:inherit}.tp-scroll{height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--tp-line) transparent;padding:15px 15px 18px}.tp-title{display:block;width:100%;margin-bottom:16px}.tp-overline{font-size:7px;letter-spacing:1.4px;font-weight:800;color:var(--tp-textSoft);display:block;margin-bottom:5px}.tp-mark{object-fit:contain;border-radius:26%;flex:none}.tp-search{background:var(--tp-surface);border:1px solid var(--tp-line);border-radius:var(--tp-button);width:100%;padding:11px 12px;color:var(--tp-textFaint);font-size:10px;box-shadow:var(--tp-shadow);margin:0 0 15px}.tp-tabs,.tp-categories{display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:100%;margin-bottom:13px}.tp-pill{display:inline-flex;padding:4px 7px;border-radius:7px;font-size:8px;line-height:1.3;color:var(--tp-brand);background:var(--tp-brandSoft);white-space:nowrap;font-weight:700}.tp-pill.green{background:var(--tp-greenSoft);color:var(--tp-green)}.tp-pill.amber{background:var(--tp-amberSoft);color:var(--tp-amber)}.tp-pill.muted{background:var(--tp-surface);color:var(--tp-textSoft);border:1px solid var(--tp-line);font-weight:500}.tp-row-heading{width:100%;display:flex;justify-content:space-between;align-items:center;margin:8px 0 12px}.tp-row-heading strong{font-size:12px}.tp-row-heading small{font-size:8px;color:var(--tp-textSoft)}.tp-products{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}.tp-product{overflow:hidden;border:1px solid var(--tp-line);border-radius:var(--tp-card);background:var(--tp-surface);box-shadow:var(--tp-shadow);width:100%}.tp-product-image{position:relative;height:136px;overflow:hidden}.tp-product-image img{width:100%;height:100%;object-fit:cover}.tp-heart{position:absolute;right:7px;bottom:6px;color:#fff;background:#1d26194d;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:18px}.tp-product-copy{padding:9px 9px 10px}.tp-product-copy h4{margin:6px 0;max-height:33px;overflow:hidden;min-height:30px}.tp-product-copy>strong{display:block;font-size:12px;margin:0 0 4px}.tp-product-copy>small{display:block;font-size:7px;color:var(--tp-textSoft)}.tp-bottom{display:grid;grid-template-columns:repeat(5,1fr);height:54px;min-height:54px;border-top:1px solid var(--tp-line);background:var(--tp-surface);position:relative;z-index:3;padding:7px 8px 2px;gap:1px}.tp-nav{text-align:center;color:var(--tp-textSoft);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:1px}.tp-nav b{font-size:20px;line-height:1.2;font-weight:400}.tp-nav small{font-size:7px}.tp-nav.on{color:var(--tp-brand);font-weight:800}.tp-home-indicator{height:17px;min-height:17px;background:var(--tp-surface);position:relative;z-index:3}.tp-home-indicator:after{content:'';display:block;width:92px;height:3px;border-radius:5px;background:var(--tp-ink);margin:7px auto 0;opacity:.8}.tp-avatar{border-radius:50%;width:34px;height:34px;display:grid;place-items:center;background:#3d5725;color:#fff;flex:none;font-size:14px;font-weight:800}.tp-seller{display:flex;align-items:center;gap:9px;width:100%}.tp-seller strong,.tp-seller small{display:block}.tp-seller strong{font-size:11px}.tp-seller small{font-size:8px;margin-top:3px;color:var(--tp-textSoft)}.tp-feed{position:relative;height:100%;color:#fff}.tp-feed-image{width:100%;height:100%;object-fit:cover;object-position:center 35%;position:absolute;inset:0}.tp-feed-shade{position:absolute;inset:0;background:linear-gradient(#1d261977,transparent 35%,#1d2619ed)}.tp-feed-brand{position:absolute;top:10px;left:14px;right:14px;display:flex;align-items:center;gap:7px;color:#fff}.tp-feed-brand>strong{font-size:17px;letter-spacing:-.8px}.tp-feed-brand>span{margin-left:auto;font-size:9px}.tp-feed-copy{position:absolute;bottom:18px;left:17px;right:17px;display:flex;flex-direction:column;gap:12px}.tp-feed-copy h3{font-size:25px;color:#fff;line-height:1.25}.tp-feed-copy p{font-size:9px;margin-top:7px;color:#fff}.tp-feed-seller .tp-avatar{width:29px;height:29px;font-size:12px}.tp-feed-seller small{color:#fff;opacity:.85;font-size:7px}.tp-feed-copy .tp-pill{margin-right:5px}.tp-feed-cta{display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--tp-brand);color:var(--tp-onBrand);border-radius:var(--tp-button);padding:13px 12px;width:100%}.tp-feed-cta strong{font-size:13px}.tp-feed-cta span{font-size:8px}.screen-feed .tp-statusbar{background:#313c2f;color:#fff}.tp-detail{padding:0}.tp-detail-image{height:208px;position:relative;overflow:hidden}.tp-detail-image>img{height:100%;width:100%;object-fit:cover;object-position:center 35%}.tp-photo-back{position:absolute;top:10px;left:12px;width:28px;height:28px;display:grid;place-items:center;background:#1d261977;color:#fff;border-radius:50%;font-size:20px}.tp-detail-image>small{position:absolute;bottom:10px;right:12px;background:#1d261977;color:#fff;padding:4px 7px;border-radius:6px;font-size:7px}.tp-detail-content{padding:17px 17px 20px}.tp-detail-content>.tp-part{width:100%;margin-bottom:13px}.tp-detail-content .tp-pill{margin-right:4px}.tp-detail-content h3{font-size:19px;margin-bottom:9px}.tp-detail-content .tp-price{font-size:20px;font-weight:800;margin:8px 0}.tp-price small{font-size:9px;color:var(--tp-textSoft);font-weight:400}.tp-muted{font-size:8px;color:var(--tp-textSoft)}.tp-detail-seller{border-top:1px solid var(--tp-line);padding-top:15px;margin-top:3px}.tp-safe{background:var(--tp-greenSoft);color:var(--tp-green);padding:12px;border-radius:var(--tp-card);display:block}.tp-safe strong{font-size:10px}.tp-safe p{font-size:8px;margin-top:5px}.tp-detail-content h4{font-size:12px;margin-bottom:7px}.tp-detail-content p{font-size:10px;color:var(--tp-textSoft);line-height:1.8}.tp-detail-bottom{display:flex;gap:10px;padding:9px 14px 3px;background:var(--tp-surface);border-top:1px solid var(--tp-line);z-index:3}.tp-like{width:32px;text-align:center;font-size:26px;color:var(--tp-brand)}.tp-primary{width:100%;padding:12px;text-align:center;border-radius:var(--tp-button);color:var(--tp-onBrand);background:var(--tp-brand);font-weight:750;font-size:11px}.tp-chat{height:100%;display:flex;flex-direction:column;padding:14px 13px 10px}.tp-chat .tp-title{margin:0 0 17px}.tp-chat .tp-title h3{font-size:18px}.tp-chat-listing{display:flex;gap:9px;align-items:center;border:1px solid var(--tp-line);border-radius:var(--tp-card);background:var(--tp-surface);padding:9px;box-shadow:var(--tp-shadow);flex:none}.tp-chat-thumb{width:40px;height:47px;object-fit:cover;border-radius:7px}.tp-chat-listing strong{display:block;font-size:10px}.tp-chat-listing small{display:block;font-size:8px;margin-top:4px;color:var(--tp-textSoft)}.tp-chat-date{display:block;text-align:center;font-size:7px;color:var(--tp-textFaint);margin:20px 0}.tp-messages{display:flex;flex-direction:column;gap:18px;flex:1}.tp-message{display:flex;gap:7px;max-width:92%;align-items:start}.tp-message .tp-avatar{width:24px;height:24px;font-size:10px}.tp-bubble{background:var(--tp-surface);border:1px solid var(--tp-line);color:var(--tp-ink);padding:10px 11px;border-radius:0 var(--tp-card) var(--tp-card) var(--tp-card);font-size:10px;line-height:1.7}.tp-bubble small{display:block;font-size:6px;margin-top:6px;color:var(--tp-textSoft)}.tp-message.mine{margin-left:auto;max-width:79%}.tp-message.mine .tp-bubble{background:var(--tp-brandSoft);color:var(--tp-brandDark);border-color:var(--tp-brandLight);border-radius:var(--tp-card) 0 var(--tp-card) var(--tp-card)}.tp-composer{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--tp-line);border-radius:var(--tp-button);background:var(--tp-surface);padding:7px 8px 7px 12px;gap:8px;margin-top:14px;color:var(--tp-textFaint);font-size:9px;width:100%}.tp-composer b{background:var(--tp-brand);color:var(--tp-onBrand);border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:17px}.tp-profile{display:flex;align-items:center;gap:9px;background:var(--tp-surface);border:1px solid var(--tp-line);border-radius:var(--tp-card);padding:15px 10px;box-shadow:var(--tp-shadow);width:100%}.tp-profile .tp-avatar{width:37px;height:37px}.tp-profile>span:nth-child(2){flex:1}.tp-profile strong{display:block;font-size:11px}.tp-profile small{display:block;font-size:7px;color:var(--tp-textSoft);margin-top:5px}.tp-statistics{width:100%;display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:18px 0;margin-bottom:10px;color:var(--tp-brand)}.tp-statistics span+span{border-left:1px solid var(--tp-line)}.tp-statistics b{display:block;font-size:21px}.tp-statistics small{display:block;font-size:8px;color:var(--tp-textSoft)}.tp-own{display:flex;align-items:center;gap:9px;width:100%;background:var(--tp-surface);border:1px solid var(--tp-line);border-radius:var(--tp-card);padding:9px;box-shadow:var(--tp-shadow)}.tp-own-image{width:50px;height:59px;object-fit:cover;border-radius:8px}.tp-own>span:nth-child(2){flex:1}.tp-own strong,.tp-own small{display:block}.tp-own strong{font-size:10px}.tp-own small{font-size:8px;margin-top:6px;color:var(--tp-textSoft)}.tp-settings{margin-top:18px;border-top:1px solid var(--tp-line)}.tp-setting{display:flex;align-items:center;justify-content:space-between;padding:12px 2px;border-bottom:1px solid var(--tp-line);width:100%;font-size:10px}.tp-setting>span:last-child{font-size:17px;color:var(--tp-textFaint)}.tp-empty-page{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:20px;text-align:center}.tp-empty-page .tp-title{text-align:center;position:absolute;top:17px;padding:0 15px}.tp-empty-page .tp-title h3{font-size:17px}.tp-empty-image{display:block;margin-top:30px;margin-bottom:22px}.tp-empty-image img{width:110px;height:110px;object-fit:contain}.tp-empty-page>.tp-part:not(.tp-empty-image):not(.tp-title):not(.tp-primary){text-align:center}.tp-empty-page strong{font-size:14px}.tp-empty-page p{font-size:10px;color:var(--tp-textSoft);line-height:1.9;margin:8px 0 22px}.tp-empty-page .tp-primary{width:auto;padding:11px 24px}.theme-workbench button:focus-visible,.theme-workbench summary:focus-visible{outline:2px solid #2564c0;outline-offset:3px}
@media(min-width:1650px){.theme-grid{grid-template-columns:185px minmax(350px,1fr) 320px;gap:26px}.theme-phone{width:335px;height:686px}.theme-inspector{max-height:950px}.tp-product-image{height:150px}.tp-feed-copy h3{font-size:29px}.tp-detail-image{height:235px}}
@media(max-width:1270px){.theme-content{padding-left:22px;padding-right:22px}.theme-grid{grid-template-columns:133px minmax(302px,1fr) 246px;gap:12px}.theme-screens{padding:17px 10px}.theme-screen{padding:11px 5px;gap:7px}.theme-screens h2{font-size:12px}.theme-inspector{padding:18px 12px}.theme-top{align-items:start;flex-wrap:wrap;gap:12px}.theme-toolbar-actions{margin-left:auto}.theme-save-state{flex-direction:row;align-items:center;gap:9px}.theme-filebar{align-items:start;flex-direction:column;gap:5px}.theme-preview-area{padding:16px 9px}.theme-phone{width:290px;height:610px;padding:7px}.tp-product-image{height:122px}.tp-feed-copy h3{font-size:23px}.theme-preview-caption{font-size:9px}}
@media(max-width:1100px){.theme-grid{grid-template-columns:1fr 265px}.theme-screens{grid-column:1/-1;display:flex;align-items:center;gap:7px;padding:10px;overflow-x:auto}.theme-screens>.theme-kicker,.theme-screens h2,.theme-screen-note{display:none}.theme-screen{min-width:110px;margin:0;min-height:56px;padding:9px;flex:1}.theme-screen-number{display:none}.theme-preview-area{padding:17px}.theme-phone{width:310px;height:638px}.tp-product-image{height:136px}.theme-inspector{max-height:885px}.theme-top{padding:16px}.theme-picker .field{min-width:180px}.theme-picker .button{font-size:10px;padding:8px 10px}}
@media(max-width:760px){.theme-content{padding:25px 18px}.theme-top{padding:15px}.theme-picker{width:100%}.theme-picker .field{width:100%;max-width:100%;flex:1 1 100%}.theme-picker .button{flex:1}.theme-toolbar-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.theme-save-state{grid-column:1/-1;justify-content:space-between;margin:3px 0}.theme-toolbar-actions .button{min-height:42px;font-size:12px}.theme-filebar{padding:11px 14px;font-size:10px}.theme-filebar>div{gap:13px}.theme-filebar .text-button{font-size:10px;min-height:30px}.theme-grid{grid-template-columns:1fr;gap:15px;margin-top:18px}.theme-screens{grid-column:auto;padding:8px}.theme-screen{min-width:105px}.theme-preview-area{padding:16px 14px 20px}.theme-inspector{max-height:none;padding:22px 20px}.theme-phone{width:310px;height:638px}.theme-preview-heading{max-width:340px}.theme-preview-caption{font-size:10px}.theme-inspector .theme-color-input input[type=text]{width:100px}.theme-controls .field input,.theme-controls .field select,.theme-controls textarea{min-height:42px}.theme-color-input{height:39px}.theme-color input[type=color]{height:31px;width:32px}.theme-asset .field>span,.theme-asset>small,.theme-contrast-note{font-size:11px}.theme-controls .theme-asset input[type=file]{font-size:12px;padding:7px}.theme-controls .field>span{font-size:12px}.theme-color{font-size:12px}.theme-release{align-items:start;flex-direction:column}.theme-dialog-actions{width:100%}.theme-dialog-actions button{flex:1}}
@media(max-width:360px){.theme-phone{width:276px;height:590px}.theme-preview-area{padding-left:7px;padding-right:7px}.tp-product-image{height:113px}.tp-product-copy{padding:7px}.tp-feed-copy h3{font-size:22px}.tp-chat{padding:10px}.theme-content{padding-left:12px;padding-right:12px}}

/* Light/dark profiles share geometry; selected profile controls only preview colors and assets. */
.theme-mode-tabs{display:flex;justify-content:center;gap:3px;padding:4px;border:1px solid #dce4d2;border-radius:10px;background:#fff;margin:0 0 18px;align-self:center}.theme-mode-tab{border:0;border-radius:7px;background:transparent;color:#66755c;font-size:11px;font-weight:650;padding:8px 16px;cursor:pointer}.theme-mode-tab.active{background:#edf3de;color:#3d5725}.theme-mode-tab:focus-visible{outline:2px solid #2564c0;outline-offset:2px}.theme-mode-single{font-size:10px;color:#6a7b60;text-align:center;margin:0 0 17px}.theme-dark-support{background:#f4f7ee;border:1px solid #dfe7d5;border-radius:9px;padding:13px 12px;margin:18px 0}.theme-dark-support>label{display:flex;gap:12px;align-items:center;justify-content:space-between;cursor:pointer}.theme-dark-support strong{font-size:12px;color:#3d5725}.theme-dark-support small{display:block;font-size:10px;line-height:1.7;color:#6d7d61;margin-top:4px}.theme-dark-support input[type=checkbox]{appearance:auto;width:34px;height:22px;min-height:22px;flex:none;accent-color:#527331;cursor:pointer}.theme-dark-support>p{font-size:10px;line-height:1.8;color:#66765c;margin:10px 0 0;border-top:1px solid #e2e9d9;padding-top:9px}
.theme-guide-frame{position:fixed;left:-10000px;top:0;width:390px;height:844px;border:0;pointer-events:none}
.theme-guide-download{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

.theme-guide-help{margin:0;padding:0 2px;color:var(--muted);font-size:12px;line-height:1.8}

/* Browsing a theme is distinct from editing its saved draft. */
.theme-current-actions{flex-wrap:wrap}.theme-toolbar-actions{flex-wrap:wrap;justify-content:flex-end}
.theme-preview-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;background:#fff;border:1px solid #dfe6d7;border-radius:13px}.theme-preview-top h2{font-size:23px;line-height:1.4;letter-spacing:-.6px;overflow-wrap:anywhere;margin:10px 0 8px;color:#344b29}.theme-preview-top p{font-size:12px;line-height:1.9;color:#748168;margin:5px 0 0}.theme-preview-top .theme-preview-source{color:#526b3e;font-weight:650}.theme-preview-top>.button{flex:none;min-height:42px}.theme-readonly-grid{grid-template-columns:180px minmax(0,1fr);max-width:1020px;margin-left:auto;margin-right:auto}.theme-preview-only .tp-part{cursor:default}.theme-preview-only .tp-part:hover{outline:none}.theme-preview-only .theme-preview-area{padding:23px 30px}.theme-preview-only .theme-preview-heading{max-width:390px}.theme-preview-only .theme-preview-caption{margin-top:20px}
@media(max-width:1100px){.theme-readonly-grid{grid-template-columns:1fr}.theme-readonly-grid .theme-screens{grid-column:1/-1}}
@media(max-width:760px){.theme-preview-top{align-items:start;flex-direction:column;gap:16px;padding:20px}.theme-preview-top h2{font-size:20px}.theme-preview-top>.button{width:100%;min-height:44px}.theme-preview-only .theme-preview-area{padding:20px 12px}.theme-toolbar-actions{display:flex;flex-wrap:wrap}.theme-toolbar-actions .theme-save-state{width:100%}.theme-toolbar-actions>.button{flex:1}}
