.lisen-home{color:#252525;margin-bottom:60px}
.lisen-home[hidden]{display:none!important}
.lisen-home svg,.home-image-picker svg{display:block;width:22px;height:22px;flex:none}
.lisen-home button{font:inherit;cursor:pointer}
.lisen-home button:disabled{cursor:wait;opacity:.5}
.lisen-home button:focus-visible,.lisen-home textarea:focus-visible,.home-image-picker button:focus-visible{outline:2px solid #766394;outline-offset:4px}
.lisen-home-hero{max-width:860px;margin:42px auto 62px}
.lisen-home-hero h1{font-size:clamp(23px,2.3vw,30px);font-weight:500;line-height:1.4;text-align:center;margin:0 0 30px;letter-spacing:.01em}
.lisen-home-composer{border:1px solid #e5e5e5;border-radius:26px;background:#fff;box-shadow:0 3px 6px #00000006,0 1px 2px #00000004;padding:18px 18px 12px;transition:border-color .15s,box-shadow .15s}
.lisen-home-composer:focus-within,.lisen-home-composer.is-dragover{border-color:#afa1c5;box-shadow:0 0 0 3px #eee9f3}
.lisen-home-composer textarea{display:block;width:100%;min-height:66px;max-height:180px;resize:vertical;border:0;background:transparent;outline:none!important;box-shadow:none;padding:0;color:#333;font:inherit;font-size:16px;line-height:1.6}
.lisen-home-composer textarea::placeholder{color:#aaa}
.lisen-home-composer-footer{display:flex;align-items:center;gap:12px;margin-top:8px}
.lisen-home-composer-footer button{display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#383838;flex:none}
.lisen-home-composer-footer .home-icon-button{width:36px;height:36px;border-radius:50%}
.lisen-home-composer-footer .home-icon-button:hover{background:#f1f1f1}
.lisen-home-composer-footer [data-home-current]{flex:1;min-width:0;color:#999;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.lisen-home-composer-footer .home-enter{font-size:13px;gap:8px;padding:8px 4px}
.lisen-home-composer-footer .home-enter:hover{color:#715c93}
.lisen-home-composer-footer .home-submit{width:38px;height:38px;border-radius:50%;color:white;background:#292929}
.lisen-home-composer-footer .home-submit:hover{background:#4b405e}
.lisen-home-status{margin:12px 16px;font-size:13px;color:#765d8f}
.lisen-home-references{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 15px}
.lisen-home-reference{position:relative;width:60px;height:64px}
.lisen-home-reference img{width:100%;height:100%;object-fit:cover;border-radius:8px;border:1px solid #eee}
.lisen-home-reference button{position:absolute;right:-5px;top:-5px;border:1px solid #e1dce9;border-radius:50%;width:20px;height:20px;padding:3px;background:#fff;color:#666}
.lisen-home-reference svg{width:12px;height:12px}
.lisen-home-tools>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}
.lisen-home-tools h2{font-size:16px;font-weight:500;margin:0}
.lisen-home-tools [data-home-more]{display:flex;align-items:center;gap:4px;border:0;background:none;color:#555;padding:6px 0;font-size:13px}
.lisen-home-tools [data-home-more] svg{width:15px;height:15px;transition:transform .2s}
.lisen-home-tools [data-home-more][aria-expanded=true] svg{transform:rotate(180deg)}
.lisen-home-tool-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.lisen-home .lisen-tool-card{display:flex;flex-direction:column;gap:12px;min-width:0;text-align:left;border:0;background:none;padding:0;color:#252525;border-radius:12px}
.lisen-tool-cover{position:relative;display:block;width:100%;aspect-ratio:1.78;overflow:hidden;border-radius:13px;background:#efedf0;isolation:isolate}
.lisen-tool-cover>img{width:100%;height:100%;object-fit:cover;object-position:center 48%;transition:transform .25s}
.lisen-tool-card:hover .lisen-tool-cover>img{transform:scale(1.035)}
.lisen-tool-name{padding:0 5px;font-size:14px;line-height:1.5}
.lisen-tool-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap;color:#333;background:#fffffff0;border:1px solid #ffffff88;box-shadow:0 3px 16px #0002;backdrop-filter:blur(10px);border-radius:8px;font-size:13px;font-weight:500;padding:7px 12px}
.home-tool-product .lisen-tool-badge{left:12px;top:auto;bottom:12px;transform:none}
.home-tool-translate>img{object-position:center 37%}
.home-tool-translate .lisen-tool-badge{top:auto;bottom:12px;transform:translateX(-50%)}
.home-tool-upscale>img{object-position:center 47%}
.home-tool-edit>img{object-position:center 23%}
.home-tool-edit:after{content:"";position:absolute;inset:14% 30% 16%;border:1px solid #c5b2fc;pointer-events:none}
.home-tool-edit .lisen-tool-badge{left:auto;right:10px;top:auto;bottom:12px;transform:none;font-size:12px}
.home-tool-mockup>img{object-position:center 30%}
.home-tool-mockup .lisen-tool-badge{left:12px;top:auto;bottom:12px;transform:none}
.lisen-home-more{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.lisen-home-more button{background:#faf9fc;border:1px solid #e5deef;border-radius:10px;padding:10px 18px;font-size:13px;color:#655278}
.lisen-home-resources{margin-top:48px}.lisen-home-resources nav{display:flex;gap:26px;border-bottom:1px solid #ece9ee;overflow:auto}.lisen-home-resources [role=tab]{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:14px 0;color:#888;white-space:nowrap}.lisen-home-resources [aria-selected=true]{color:#252525;border-bottom-color:#252525;font-weight:600}.lisen-home-resources [role=tabpanel]{padding:32px 0;min-height:180px}.lisen-home-resources h3{font-size:18px;font-weight:500;margin:0 0 12px}.lisen-home-resources p{font-size:14px;color:#8e849a;line-height:1.7}.lisen-home-resources [role=tabpanel] button{border:1px solid #e5deec;border-radius:10px;padding:10px 16px;background:#faf8fc;color:#69577e}.home-resource-actions{display:flex;flex-wrap:wrap;gap:10px}.home-pinterest-symbol{color:#bc4e3e;font-size:36px;font-weight:700}.home-inspiration-form{display:flex;gap:10px;max-width:650px}.home-inspiration-form input{flex:1;min-width:0;border:1px solid #e5deec;border-radius:10px;padding:12px;font:inherit}.home-inspiration-links{list-style:none;padding:0;color:#999;font-size:14px}.home-inspiration-links li{display:flex;align-items:center;gap:15px;margin-top:10px}.home-inspiration-links a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#655278}.home-inspiration-links button{flex:none}
/* Resource navigation uses text emphasis rather than the shared purple button state. */
#projects-main .lisen-home-resources [role=tab]{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#888!important}
#projects-main .lisen-home-resources [role=tab][aria-selected=true]{color:#202020!important;font-weight:600}
#projects-main .lisen-home-resources [role=tab]:focus:not(:focus-visible){outline:none}
#projects-main .lisen-home-resources [role=tab]:focus-visible{outline:2px solid #252525!important;outline-offset:-2px}
html[data-projects-view=home] .projects-heading h1{font-size:21px;font-weight:550}
html[data-projects-view=home] .projects-heading{margin-bottom:20px}
.home-image-picker{width:min(850px,calc(100vw - 32px));max-height:85dvh;border:1px solid #ded5eb;border-radius:22px;padding:22px;background:#fff;color:#484150;box-shadow:0 18px 70px #0002;margin:auto}
.home-image-picker::backdrop{background:#25212c55}
.home-image-picker header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.home-image-picker h2{margin:0;font-size:21px}.home-image-picker p{margin:8px 0 0;font-size:13px;color:#91869c}
.home-image-picker button{font:inherit;cursor:pointer}.home-image-picker [data-close]{border:0;background:none;color:inherit;padding:4px}
.home-image-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-height:55dvh;overflow:auto;padding:4px}
.home-image-picker-grid>button{border:1px solid #e6e0ed;border-radius:12px;overflow:hidden;background:#faf9fc;color:inherit;padding:0;text-align:left}
.home-image-picker-grid>button:hover{border-color:#9a81ba;background:#eee8f6}
.home-image-picker-grid img{display:block;width:100%;height:145px;object-fit:contain;background:#f5f3f7}
.home-image-picker-grid span{display:block;padding:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.home-image-picker footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;font-size:13px}
.home-image-picker [data-upload]{flex:none;background:#eee8f6;color:#655278;border:1px solid #dbcee9;border-radius:9px;padding:10px 16px}
@media(max-width:1100px){.lisen-home-hero{margin-top:20px}.lisen-home-tool-grid{gap:12px}.lisen-tool-badge{font-size:11px;padding:5px 8px}.lisen-tool-name{font-size:13px}}
@media(max-width:900px){.lisen-home-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lisen-home-hero{margin-bottom:40px}.lisen-home{margin-bottom:40px}}
@media(max-width:600px){.lisen-home-hero{margin-top:10px}.lisen-home-hero h1{font-size:23px;margin-bottom:22px}.lisen-home-composer{padding:15px 12px 10px;border-radius:20px}.lisen-home-composer textarea{font-size:14px}.lisen-home-composer-footer{gap:5px}.lisen-home-composer-footer [data-home-current]{display:none}.lisen-home-composer-footer .home-enter{margin-left:auto;font-size:12px}.lisen-home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.home-image-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.lisen-home *{transition:none!important}}
