.custom-feature{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:224px;align-items:stretch;overflow:hidden;margin:0 0 17px;border:1px solid #93cbbf69;border-radius:15px;background:radial-gradient(ellipse at right,#294b48,#20272d 60%,#232630)}
.custom-feature-content{min-width:0;padding:23px clamp(18px,3vw,35px);align-self:center;z-index:1}
.custom-feature-content h2{font-size:clamp(1.8rem,4vw,2.65rem);color:#ecf7ec}
.custom-feature-content p{margin:7px 0 15px;max-width:420px}
.custom-feature-media{position:relative;min-height:184px}
.custom-feature-media img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:60% 50%}
.custom-feature-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#203330df,transparent 24%);pointer-events:none}
.feature-swatches{display:flex;gap:6px;position:absolute;right:14px;bottom:14px;z-index:1;padding:6px;background:#151820c2;border:1px solid #ffffff32;border-radius:6px}
.feature-swatches i,.swatch{display:block;flex:none;width:16px;height:16px;border-radius:50%;border:1px solid #ffffff60;background:#91ccbe}
.feature-swatches i:nth-child(2),.swatch.gold{background:#e5c17d}
.feature-swatches i:nth-child(3),.swatch.violet{background:#b8a0f3}

.custom-main{padding-block:36px 73px}
.custom-page-heading{margin-bottom:23px}
.custom-page-heading h1{font-size:clamp(2.6rem,5.3vw,4.2rem);font-weight:790}
.custom-page-heading p{margin-top:7px;font-size:1.04rem}
.custom-workspace{display:grid;grid-template-columns:minmax(190px,255px) minmax(0,1fr);gap:18px;align-items:start}
.custom-controls{border:1px solid var(--line);padding:16px;border-radius:12px;background:#22212a;min-width:0}
.custom-controls h2,.preview-toolbar h2{font-size:1.15rem;margin:0;color:var(--text)}
.custom-controls .custom-name{display:block;margin-top:16px;color:var(--text);font-weight:690;font-size:.95rem}
.custom-name input{display:block;margin-top:4px}
.custom-controls fieldset{min-width:0;border:0;border-top:1px solid var(--line);padding:5px 0 0;margin:18px 0;color:var(--text)}
.custom-controls legend{padding-right:6px;font-weight:720;font-size:.95rem}
.custom-controls fieldset label{min-width:0;display:flex;align-items:center;gap:7px;cursor:pointer;min-height:34px;font-size:.93rem}
.custom-controls input[type=checkbox],.custom-controls input[type=radio]{width:auto;flex:none;accent-color:var(--gold);margin:0}
.custom-controls .button{width:100%}
.custom-preview{--member-bg:#132521;--member-card:#213630;--member-edge:#a0d6c642;--member-accent:#a7ddcb;background:#1d1d26;border:1px solid var(--line);border-radius:12px;padding:11px;min-width:0}
.custom-preview[data-tone=gold]{--member-bg:#241b16;--member-card:#3b2a20;--member-edge:#f4ce8840;--member-accent:#f5d594}
.custom-preview[data-tone=violet]{--member-bg:#1c1630;--member-card:#2f254c;--member-edge:#c6a9f951;--member-accent:#d0bdf7}
.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 1px 11px}
.device-toggle{display:flex;gap:3px}
.device-toggle button,.member-nav button{min-height:38px;white-space:nowrap;color:#e5dfeb;background:#24232b;border:1px solid var(--line);border-radius:6px;padding:5px 12px;font-size:.9rem;font-weight:700}
.device-toggle button[aria-pressed=true]{background:var(--gold);color:#241c16;border-color:var(--gold)}
.member-frame{max-width:100%;margin-inline:auto;background:var(--member-bg);border:1px solid var(--member-edge);border-radius:9px;overflow:hidden}
.custom-preview[data-device=mobile] .member-frame{width:min(100%,364px)}
.member-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;background:var(--member-card);border-bottom:1px solid var(--member-edge)}
.member-top strong{min-width:0;overflow-wrap:anywhere;color:var(--member-accent);font-size:1.11rem;font-weight:810;letter-spacing:.035em}
.member-top span{font-size:.85rem;color:#e9e5e7;white-space:nowrap}
.member-hero{position:relative;min-height:228px;isolation:isolate;display:grid;align-items:end}
.member-hero img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.member-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,var(--member-bg),transparent 75%),linear-gradient(90deg,#120f19c7,transparent 60%)}
.member-hero-copy{padding:22px}
.member-hero h3{font-weight:810;color:#fff9f1;font-size:clamp(1.75rem,4vw,2.6rem)}
.member-hero p{color:#f2e6dc;font-size:.95rem;margin-top:4px}
.member-nav{display:flex;gap:6px;flex-wrap:wrap;padding:10px;border-bottom:1px solid var(--member-edge)}
.member-nav button{min-height:36px;color:#f1f0ec;background:var(--member-card);border-color:var(--member-edge);padding:5px 8px;font-size:.85rem}
.member-nav button[aria-pressed=true]{background:var(--member-accent);border-color:var(--member-accent);color:#191720}
.member-section{padding:13px 11px 15px}
.member-section h3{color:#f5f2eb;font-size:1.11rem;margin:0 0 9px}
.member-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,136px),1fr));gap:8px}
.member-cards article{background:var(--member-card);min-width:0;overflow:hidden;border:1px solid var(--member-edge);border-radius:7px}
.member-cards img{width:100%;height:auto;aspect-ratio:1.72;object-fit:cover}
.member-cards strong{display:block;padding:6px 8px;font-size:.92rem;color:#f7eee4}
.custom-empty{margin:0;padding:11px;background:var(--member-card);border-radius:7px;color:#ebe6df}
.custom-preview[data-device=mobile] .member-hero{min-height:194px}
.custom-preview[data-device=mobile] .member-hero-copy{padding:14px}
.custom-preview[data-device=mobile] .member-cards{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:700px){
 .custom-workspace{grid-template-columns:1fr;gap:12px}
 .custom-controls{display:grid;grid-template-columns:1fr 1fr;gap:3px 17px;align-items:start}
 .custom-controls h2,.custom-controls .custom-name,.custom-controls .button{grid-column:1/-1}
 .custom-controls fieldset{margin:12px 0 8px}
 .custom-controls .custom-name{margin-top:8px}
 .custom-controls .button{width:max-content;max-width:100%}
}
@media(max-width:530px){
 .custom-feature{grid-template-columns:1fr}
 .custom-feature-media{min-height:153px}
 .custom-feature-media::after{background:linear-gradient(180deg,#2134327d,transparent 45%)}
 .custom-main{padding-top:26px;padding-bottom:53px}
 .member-hero{min-height:190px}
 .member-hero-copy{padding:13px}
 .member-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .preview-toolbar h2{font-size:1rem}
 .device-toggle button{padding-inline:8px}
}
