.starter-templates{margin-top:24px;padding-top:20px;border-top:1px solid #d8dfe5;color:inherit}
.starter-templates[hidden]{display:none!important}
.starter-templates>h3{font:600 17px/1.35 system-ui,sans-serif!important;margin:0 0 8px!important}
.starter-templates>p{font:13px/1.5 system-ui,sans-serif;margin:0 0 16px;opacity:.85}
.starter-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.starter-template-card{min-width:0;text-align:left;border:1px solid #dce1e7;border-radius:13px;background:#fff;color:#263c39;padding:0 0 12px;overflow:hidden;cursor:pointer;transition:box-shadow .15s,border-color .15s;font-family:system-ui,sans-serif}
.starter-template-card:hover{border-color:#828bd0;box-shadow:0 4px 16px #253b5520}
.starter-template-card:focus-visible{outline:3px solid #7471d9;outline-offset:2px}
.starter-template-card:disabled{opacity:.6;cursor:wait}
.starter-template-card img{width:100%;height:142px;object-fit:contain;background:#f2f1ed;display:block;padding:8px;box-sizing:border-box}
.starter-template-card small,.starter-template-card strong,.starter-template-card span{display:block;margin:8px 10px 0}
.starter-template-card small{color:#68756e;font-size:10px;letter-spacing:.04em}
.starter-template-card strong{font-size:13px;font-weight:600;line-height:1.3;margin-top:4px}
.starter-template-card span{font-size:10px;color:#718078;margin-top:6px}
.starter-templates .starter-template-status{font-size:12px;margin-top:12px}
.starter-template-dialog{box-sizing:border-box;max-width:460px;width:calc(100% - 32px);border:1px solid #dde3e5;border-radius:22px;padding:26px;background:white;color:#263c39;box-shadow:0 22px 80px #0004;font:15px/1.5 system-ui,sans-serif}
.starter-template-dialog::backdrop{background:#18212e88}
.starter-template-dialog h2{font-size:22px;line-height:1.3;margin:0 0 14px}
.starter-template-dialog>div{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.starter-template-dialog button{border:1px solid #d9dfe4;border-radius:10px;padding:12px;background:#f4f6f7;color:#263c39;font:inherit;cursor:pointer}
.starter-template-dialog button[data-action=save]{background:#405d50;color:white;border-color:#405d50}
.starter-template-dialog button:focus-visible{outline:3px solid #7471d9;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.starter-template-card{transition:none}}
.starter-catalog-open{width:100%;margin-top:18px;border:1px solid #cdd5df;border-radius:10px;padding:12px;background:#f4f6fb;color:#34425b;cursor:pointer;font:600 13px system-ui}
.starter-catalog{width:min(1240px,calc(100vw - 32px));height:min(860px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;border:1px solid #dbe1e8;border-radius:20px;background:#fff;color:#273447;box-shadow:0 24px 90px #0005;font:14px/1.5 system-ui;overflow:hidden}
.starter-catalog::backdrop{background:#17203099}
.starter-catalog[open]{display:flex;flex-direction:column}
.starter-catalog header{display:flex;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e1e6ed;flex-shrink:0}
.starter-catalog h2{font:600 23px system-ui;margin:0}.starter-catalog header p{margin:5px 0 0;color:#6c7889}
.starter-catalog button{cursor:pointer}.catalog-close{align-self:flex-start;border:0;background:transparent;font-size:28px;color:inherit}
.catalog-body{display:grid;grid-template-columns:1fr 1fr;min-height:0;flex:1}
.catalog-list{overflow:auto;padding:20px;min-width:0;overscroll-behavior:contain;border-right:1px solid #e1e6ed}
.catalog-list input{box-sizing:border-box;width:100%;padding:11px;border:1px solid #d4dce7;border-radius:9px;margin-bottom:16px;font:inherit}
.catalog-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.catalog-cards [hidden]{display:none}.catalog-cards [aria-pressed=true]{border-color:#6659d7;box-shadow:0 0 0 2px #6659d7}
.catalog-preview{min-height:0;display:flex;flex-direction:column;padding:20px;background:#f4f6f9;overflow:auto;gap:10px}
.catalog-preview img{width:100%;min-height:0;flex:1;object-fit:contain}.catalog-preview h3{font-size:18px;margin:0}.catalog-preview p{font-size:13px;color:#627083;margin:0}
.starter-catalog footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e1e6ed;flex-shrink:0}.starter-catalog footer span{margin-right:auto;color:#788393;font-size:12px}
.starter-catalog footer button{padding:11px 16px;border:1px solid #d5dce7;border-radius:9px;font:600 13px system-ui;background:white;color:#34425b}.starter-catalog footer .catalog-use{background:#6554c0;border-color:#6554c0;color:white}
.starter-catalog button:focus-visible,.starter-catalog-open:focus-visible{outline:3px solid #8c7dde;outline-offset:2px}
.starter-catalog>header{width:100%;max-width:none;box-sizing:border-box}.starter-catalog>header>div{flex:1}.starter-catalog .catalog-close{flex:0 0 auto;width:32px}.starter-catalog footer button{flex:0 0 auto;width:auto}.starter-catalog footer span{flex:1}.starter-catalog .starter-template-card[aria-pressed=true]{background:#eeebff;color:#3f366c}
@media(max-width:650px){.starter-catalog{width:calc(100vw - 12px);height:calc(100dvh - 16px);border-radius:14px}.starter-catalog header{padding:12px}.starter-catalog header p{display:none}.catalog-body{grid-template-columns:42% 58%}.catalog-list,.catalog-preview{padding:10px}.catalog-cards{grid-template-columns:1fr}.catalog-cards img{height:125px}.starter-catalog footer{padding:10px;gap:8px}.starter-catalog footer span{display:none}.catalog-preview p{font-size:11px}}
