.template-workspace-heading{align-items:center}.template-workspace-heading>.btn{font-size:11px;white-space:nowrap;gap:8px;color:var(--accent-dark);border-color:#cda88e}.template-workspace-heading>.btn>span{font:13px Georgia,serif}.template-workspace-heading>.btn .icon{width:14px;height:14px}
.current-template{display:flex;align-items:center;gap:17px;background:#f0f3e9;border:1px solid #e1e3dc;border-radius:8px;padding:13px 16px}.current-template>div:first-child{width:116px;flex:none}.current-template .style-mini{height:87px;padding:10px}.current-template-copy{flex:1;min-width:0}.current-template-copy>span{font-size:10px;color:#5e6359}.current-template-copy h3{font-size:16px;font-weight:500;line-height:1.6;margin:3px 0}.current-template-copy p{font-size:11px;color:#647956;line-height:1.8}.current-template-copy small{font-size:10px;color:#7a8a6c;display:block;margin-top:4px}.current-template-check{color:#5f7d47}.current-template-check .icon{width:21px;height:21px}
.current-template .mini-content{gap:5px}
.recommendation-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0 12px}.recommendation-heading h3{font-size:13px;font-weight:500}.recommendation-heading>span{font-size:10px;color:#5e6359}.recommended-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.recommended-picker .style-mini{height:86px;padding:9px 10px}.recommended-picker .style-choice-title{font-size:12px}.recommended-picker .style-description{font-size:10px;line-height:1.8}
.mini-palette-sage{background:#eff0ea;color:#191b18}.mini-palette-sage .mini-eyebrow{color:#5e6359}.mini-palette-sand{background:#f2e4cd;color:#55412c}.mini-palette-sand .mini-eyebrow{color:#8b7354}.mini-palette-ink{background:#28352e;color:#f4efdd}.mini-palette-ink .mini-eyebrow{color:#b6c3a6}.mini-palette-ink .mini-line{background:#da9c76}.mini-palette-ink .mini-item{color:#f4efdd}.mini-palette-ink.mini-compare .mini-item:first-child,.mini-palette-ink.mini-dialogue .mini-item:first-child,.mini-palette-ink.mini-quiz .mini-item{background:#455143}.mini-palette-sage.mini-quote .mini-line{background:#899d75}.mini-palette-sand.mini-quote .mini-line{background:#b87b51}
dialog[data-template-library][open]{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);overflow:hidden}dialog[data-template-library] .dialog-head,dialog[data-template-library] .dialog-foot{flex:none}dialog[data-template-library] .dialog-head{padding:19px 23px 16px}dialog[data-template-library] .dialog-body{padding:21px 23px;min-height:0;overflow:auto;overscroll-behavior:contain}dialog[data-template-library] .dialog-foot{justify-content:space-between;gap:20px;padding:14px 23px}
.library-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}.library-content{min-width:0}.library-search{display:flex;align-items:center;gap:8px;position:relative}.library-search>span{position:absolute;left:13px;color:#73786e;display:flex;pointer-events:none}.library-search input{padding:11px 42px 11px 39px;font-size:12px;min-height:43px;border-radius:7px;background:#fbfbf9}.library-search>button{position:absolute;right:9px;width:27px;height:27px;display:grid;place-items:center;color:#758568}.library-search>button[hidden]{display:none}.library-search .icon{width:16px;height:16px}.library-search .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#template-query::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.library-collections{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:13px 0 14px}.library-collections>button{font-size:12px;color:#768669;padding:10px 0 11px;border-bottom:2px solid transparent}.library-collections>button.active{color:var(--accent-dark);border-color:var(--accent)}.library-collections>button>span{font:11px Georgia,serif;margin-left:3px;color:#829272}.library-categories{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}.library-categories button{font-size:10px;padding:6px 9px;border:1px solid #e2e3da;border-radius:5px;min-height:30px;background:#f7f9f1;color:#687c58}.library-categories button.active{border-color:#a8b898;background:#e9efdf;color:#435e32}
.library-result-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#7e8b71;margin:13px 0 12px;min-height:18px}.library-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.library-card{position:relative;border:1px solid #e2e3da;border-radius:7px;overflow:hidden;background:var(--white);min-width:0}.library-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#fcf4e9}.library-candidate{padding:7px 7px 11px;width:100%;text-align:left;display:flex;flex-direction:column;min-width:0}.library-candidate:hover{background:#f5f6ec}.library-card.selected .library-candidate:hover{background:#fbefdf}.library-candidate .style-mini{height:99px;padding:10px}.library-candidate>strong{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:12px;font-weight:500;width:100%;line-height:1.6;margin-top:9px;padding:0 3px}.library-candidate>strong .icon{color:var(--accent);width:15px;height:15px;flex:none}.library-candidate>span{font-size:10px;color:#6f7f61;line-height:1.8;margin-top:4px;padding:0 3px}.library-favorite{position:absolute;top:9px;right:9px;width:27px;height:27px;display:grid;place-items:center;background:#fffef4ed;border:1px solid #d6dccb;border-radius:50%;font:21px Georgia,serif;line-height:1;color:#7a8e66;z-index:1}.library-favorite.active{color:#af5734;background:#fff4e3;border-color:#d4b28d}.library-favorite:hover{color:var(--accent);background:#fbe8d0}
.library-pagination{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:18px}.library-pagination .btn{min-height:32px;font-size:10px;padding:7px 11px}.library-pagination .icon{width:12px;height:12px}.library-pagination>span{font:12px Georgia,serif;color:#6f7f60}.library-pagination .btn:disabled{cursor:not-allowed}
.library-detail{padding:16px;background:#f0f1eb;border:1px solid #e1e2d9;border-radius:8px;position:sticky;top:0}.library-preview-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#637953;margin-bottom:13px}.library-preview-description{margin-top:14px}.library-preview-description h3{font-size:14px;font-weight:500;line-height:1.7}.library-preview-description p{font-size:11px;color:#677e56;margin-top:4px;line-height:1.8}.library-preview-description>span{font-size:10px;color:#7f8d72;display:block;margin-top:7px}.library-demo-note{font-size:10px;color:#7b8c6e;line-height:1.8;margin-top:15px}.library-footer-selection{display:flex;flex-direction:column;gap:3px;min-width:0}.library-footer-selection>span{font-size:10px;color:#73786e}.library-footer-selection>strong{font-size:13px;font-weight:500;line-height:1.6}.library-footer-actions{display:flex;align-items:center;gap:10px}.library-footer-actions .btn{font-size:12px;min-height:40px}.library-mobile-preview{display:none}.library-empty{padding:38px 15px 44px;min-height:300px;text-align:center}.library-empty>span .icon{width:27px;height:27px;color:#8ba374}.library-empty h3{font-size:15px;font-weight:500;margin-top:16px}.library-empty p{font-size:12px;color:#666b61;line-height:1.9;margin:12px auto 19px;max-width:290px}.library-empty .btn{font-size:11px}.library-mobile-detail{max-width:320px;margin:auto;padding:0 8px}.library-mobile-detail>.text-btn{font-size:12px;margin-bottom:15px}.library-mobile-detail .phone-frame{max-width:244px;margin:auto}.library-mobile-detail .library-preview-title{font-size:12px}
@media(min-width:761px) and (max-width:1240px){.recommended-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.recommended-picker .style-mini{height:75px;padding:7px}.recommended-picker .style-mini>strong{font-size:10px}.recommended-picker .mini-item{font-size:14px}.recommended-picker .mini-quote .mini-item{font-size:11px}.recommended-picker .style-description{font-size:9px}.template-workspace-heading{align-items:flex-start;gap:10px}.template-workspace-heading h2{font-size:16px}.template-workspace-heading>.btn{font-size:10px;padding:8px}.library-layout{grid-template-columns:minmax(0,1fr) 240px;gap:19px}}
@media(max-width:760px){
 .template-workspace-heading{flex-wrap:wrap;gap:13px}.template-workspace-heading>div{flex-basis:100%}.template-workspace-heading>.btn{width:100%;justify-content:center;min-height:39px;font-size:12px}.template-workspace-heading>.btn>span{font-size:13px}.current-template{padding:12px;gap:12px}.current-template>div:first-child{width:82px}.current-template .style-mini{height:76px;padding:8px}.current-template .style-mini>strong{font-size:10px}.current-template .mini-item{font-size:13px}.current-template .mini-quote .mini-item{font-size:11px}.current-template-copy h3{font-size:14px}.current-template-copy p{font-size:10px}.current-template-copy small{font-size:9px}.current-template-copy>span{font-size:10px}.current-template-check .icon{width:17px;height:17px}.recommendation-heading{gap:10px;margin-top:20px}.recommendation-heading h3{font-size:12px}.recommendation-heading>span{font-size:9px}.recommended-picker{grid-template-columns:1fr 1fr;gap:10px}.recommended-picker>.style-choice:last-child{display:none}.recommended-picker .style-mini{height:82px}.recommended-picker .style-choice-title{font-size:12px}.recommended-picker .style-description{font-size:10px}
 dialog[data-template-library][open]{width:100%!important;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;border:0;margin:0}dialog[data-template-library] .dialog-head{padding:17px 17px 14px}dialog[data-template-library] .dialog-head h2{font-size:16px}dialog[data-template-library] .dialog-body{padding:16px 17px 21px}dialog[data-template-library] .dialog-foot{padding:11px 17px max(13px,env(safe-area-inset-bottom));gap:11px;flex-wrap:wrap;border-radius:0}
 .library-layout{display:block}.library-detail{display:none}.library-search input{font-size:12px;padding-top:10px;padding-bottom:10px;min-height:42px}.library-collections{gap:23px;margin:11px 0 12px}.library-collections>button{font-size:12px;padding:10px 0}.library-categories{gap:7px;margin-bottom:10px}.library-categories button{font-size:10px;padding:6px 9px;min-height:30px}.library-result-meta{font-size:10px;margin-top:11px;margin-bottom:11px}.library-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.library-candidate{padding:6px 6px 9px}.library-candidate .style-mini{height:90px;padding:9px}.library-candidate>strong{font-size:12px;margin-top:8px}.library-candidate>span{font-size:10px}.library-favorite{width:27px;height:27px;font-size:20px;right:8px;top:8px}.library-pagination{margin-top:17px;gap:24px}.library-pagination .btn{font-size:10px;min-height:34px}.library-footer-selection{flex-basis:100%;display:flex;flex-direction:row;align-items:center;gap:8px}.library-footer-selection>strong{font-size:12px}.library-footer-selection>span{font-size:10px}.library-footer-actions{width:100%;gap:10px}.library-footer-actions .btn{font-size:12px;min-height:42px}.library-footer-actions .btn.primary{flex:1;justify-content:center}.library-footer-actions .library-cancel{display:none}.library-mobile-preview{display:flex;justify-content:center;min-width:95px}.library-empty{min-height:340px;padding-top:55px}.library-mobile-detail .library-preview-description h3{font-size:15px}
}
@media(max-width:760px){.current-template .mini-item{font-size:11px}}
