/* KI Themes 1.1.0 — scoped, mobile-friendly inspiration catalog. */
.ki-themes{--kt-ink:#253b38;--kt-muted:#5d7068;--kt-accent:#246b59;--kt-deep:#164d41;--kt-soft:#e8f3eb;--kt-line:#dae6de;--kt-cream:#fff6e5;background:#fff;color:var(--kt-ink);font:inherit;box-sizing:border-box;width:100%;max-width:100%;margin:2rem 0;border:1px solid var(--kt-line);border-radius:24px;overflow:hidden;box-shadow:0 8px 28px #253b3810}
.ki-themes *,.ki-themes *:before,.ki-themes *:after{box-sizing:border-box}
.ki-themes h2,.ki-themes h3,.ki-themes h4,.ki-themes p{margin:0;padding:0;color:inherit}
.ki-themes button,.ki-themes input,.ki-themes select{font:inherit;letter-spacing:normal}
.ki-themes button{cursor:pointer;min-height:42px;white-space:normal;font-weight:700}
.ki-themes button:disabled{cursor:not-allowed;opacity:.48}
.ki-themes button:focus-visible,.ki-themes input:focus-visible,.ki-themes select:focus-visible,.ki-themes h3:focus-visible{outline:3px solid #388e78;outline-offset:3px}
.ki-themes input:not([type=checkbox]):not([type=color]),.ki-themes select{width:100%;min-width:0;max-width:100%;margin:5px 0 0;border:1px solid #bed0c6;background:#fff;color:var(--kt-ink);min-height:44px;padding:9px 11px;border-radius:9px;box-shadow:none;display:block}
.ki-themes input[type=checkbox]{width:18px;height:18px;accent-color:var(--kt-accent);margin:0;flex-shrink:0}
.ki-themes label{font-weight:700;font-size:.84rem;display:block;min-width:0;color:var(--kt-ink)}
.ki-themes .kit-hero{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:24px;padding:clamp(20px,4vw,44px);background:linear-gradient(115deg,#dcefe4,#f8e6d6)}
.ki-themes .kit-kicker{display:block;letter-spacing:.11em;font-weight:800;font-size:.72rem;text-transform:uppercase;color:var(--kt-accent);margin-bottom:7px}
.ki-themes .kit-hero h2{font-size:clamp(1.65rem,4.5vw,2.6rem);line-height:1.12;letter-spacing:-.045em;margin-bottom:12px}
.ki-themes .kit-hero p{line-height:1.6;font-size:.96rem;color:#3d564d;max-width:640px}
.ki-themes .kit-hero-mark{background:#fffefa;border:1px solid #cde1d4;min-height:140px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:12px;border-radius:22px;text-align:center}
.ki-themes .kit-hero-mark span{font-size:.7rem;color:var(--kt-accent);font-weight:800;letter-spacing:.09em}
.ki-themes .kit-hero-mark strong{font-size:3.4rem;line-height:1.15;color:var(--kt-deep);letter-spacing:-.06em}
.ki-themes .kit-hero-mark small{font-size:.73rem;color:var(--kt-muted)}
.ki-themes .kit-body{padding:clamp(16px,3.5vw,32px)}
.ki-themes .kit-step{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 15px;padding-top:24px;border-top:1px solid var(--kt-line)}
.ki-themes .kit-step:first-child{margin-top:0;padding-top:0;border:0}.ki-themes .kit-step h3{font-size:1.4rem;line-height:1.2;letter-spacing:-.025em}
.ki-themes .kit-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.ki-themes .kit-help{font-size:.82rem;color:var(--kt-muted);line-height:1.55;margin:10px 0 15px}
.ki-themes .kit-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ki-themes .kit-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:14px;background:#fff;border:1px solid var(--kt-line);box-shadow:0 3px 10px #183d2a09}
.ki-themes .kit-card.is-active{border-color:#39745d;box-shadow:0 0 0 2px #39745d27}
.ki-themes .kit-card-art{padding:8px 8px 0;background:#fff}
.ki-themes svg{display:block;width:100%;max-width:100%;height:auto}
.ki-themes .kit-card-body{padding:13px;display:flex;flex-direction:column;gap:10px;flex:1}
.ki-themes .kit-card h4{font-size:1.13rem;line-height:1.23}
.ki-themes .kit-card p{color:var(--kt-muted);font-size:.82rem;line-height:1.48;flex:1}
.ki-themes .kit-swatches{display:flex;gap:4px}
.ki-themes .kit-swatches span{height:19px;flex:1;border-radius:4px;outline:1px solid #253b3819;outline-offset:-1px}
.ki-themes .kit-tags{display:flex;gap:5px;flex-wrap:wrap}
.ki-themes .kit-tags span,.ki-themes .kit-pill{border-radius:100px;background:#eef5f0;color:var(--kt-deep);font-size:.69rem;font-weight:750;padding:5px 8px}
.ki-themes .kit-primary,.ki-themes .kit-secondary{border-radius:9px;padding:10px 14px;font-size:.85rem;line-height:1.25;border:1px solid var(--kt-deep)}
.ki-themes .kit-primary{background:var(--kt-accent);color:#fff}
.ki-themes .kit-primary:hover:not(:disabled){background:var(--kt-deep)}
.ki-themes .kit-secondary{background:#fff;color:var(--kt-deep);border-color:#afc9ba}
.ki-themes .kit-secondary:hover:not(:disabled){background:var(--kt-soft)}
.ki-themes .kit-link{background:none;border:none;color:var(--kt-deep);text-decoration:underline;min-height:34px;padding:5px 3px;font-size:.81rem;box-shadow:none}
.ki-themes .kit-board-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}
.ki-themes .kit-board,.ki-themes .kit-inspiration{border:1px solid var(--kt-line);border-radius:14px;padding:13px;min-width:0;background:#fff}
.ki-themes .kit-color{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;font-size:.68rem;line-height:1.2}
.ki-themes .kit-color input{width:100%;height:44px;border:1px solid #b9c9be;padding:3px;background:#fff;border-radius:8px;cursor:pointer}
.ki-themes .kit-color small{font-size:.64rem;color:var(--kt-muted);font-family:monospace}
.ki-themes .kit-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:8px}
.ki-themes .kit-inspiration h3{font-size:1.35rem;line-height:1.2}
.ki-themes .kit-lead{line-height:1.5;font-size:.86rem;color:var(--kt-muted);margin:9px 0 13px}
.ki-themes .kit-inspiration-block{border-top:1px solid var(--kt-line);padding:9px 0}
.ki-themes .kit-inspiration-block strong{font-size:.85rem;color:var(--kt-deep)}
.ki-themes .kit-inspiration-block p{font-size:.82rem;line-height:1.48;color:var(--kt-muted);margin-top:4px}
.ki-themes .kit-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:18px}
.ki-themes .kit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:16px}
.ki-themes .kit-summary>div{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid #dce9df;background:#f1f7f3;border-radius:12px;overflow-wrap:anywhere}
.ki-themes .kit-summary span,.ki-themes .kit-summary small{font-size:.75rem;color:var(--kt-muted)}
.ki-themes .kit-summary strong{font-size:1.2rem;color:var(--kt-deep)}
.ki-themes .kit-add{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:end}
.ki-themes .kit-items,.ki-themes .kit-tasks{display:grid;gap:11px}
.ki-themes .kit-group{padding:9px 12px;background:var(--kt-soft);color:var(--kt-deep);border-radius:8px;font-size:1rem;margin-top:8px}
.ki-themes .kit-item{padding:14px;border:1px solid var(--kt-line);border-radius:13px;min-width:0;background:#fff}
.ki-themes .kit-item-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px}
.ki-themes .kit-item-title{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.ki-themes .kit-item-title small{font-size:.75rem;color:var(--kt-muted)}
.ki-themes .kit-check{display:flex;align-items:center;gap:6px;font-size:.78rem;flex-shrink:0}
.ki-themes .kit-custom-fields,.ki-themes .kit-item-fields,.ki-themes .kit-item-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:end}
.ki-themes .kit-custom-fields{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);margin:8px 0}
.ki-themes .kit-item-stats{padding:9px 0;border-bottom:1px solid var(--kt-line);margin-bottom:9px}
.ki-themes .kit-item-stats>div{display:flex;flex-direction:column;align-self:start;gap:3px;overflow-wrap:anywhere}
.ki-themes .kit-item-stats span{font-size:.75rem;color:var(--kt-muted)}
.ki-themes .kit-item-fields{margin:9px 0 13px}
.ki-themes .kit-item.is-skipped{background:#f7f8f6;border-style:dashed}
.ki-themes .kit-item.is-done{background:#f1f8f2;border-color:#b7d3bd}
.ki-themes .kit-task{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid var(--kt-line);border-radius:9px;font-weight:500;font-size:.87rem;line-height:1.45}
.ki-themes .kit-task.is-done{background:#e9f4eb;color:var(--kt-deep)}
.ki-themes .kit-empty{grid-column:1/-1;padding:25px;text-align:center;border:1px dashed var(--kt-line);border-radius:14px;color:var(--kt-muted);font-size:.9rem}
.ki-themes .kit-error,.ki-themes .kit-warning{padding:11px;border-radius:9px;margin:12px 0;font-size:.83rem;overflow-wrap:anywhere}
.ki-themes .kit-error{background:#fff0ec;color:#7e332b;border:1px solid #e7c2b9}
.ki-themes .kit-warning{background:#fff4da;color:#785a21;border:1px solid #e6d6a9}
.ki-themes .kit-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:20px 0}
.ki-themes .kit-actions span{font-size:.8rem;color:var(--kt-deep)}
.ki-themes .kit-note{background:var(--kt-cream);color:#63523e;border:1px solid #f0dfc0;padding:14px;border-radius:12px;font-size:.83rem;line-height:1.55}
.ki-themes .kit-note p{margin:6px 0 0}
.ki-themes [hidden]{display:none!important}
.ki-themes-admin{max-width:1180px}
@media(min-width:1250px){.ki-themes-admin .kit-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.ki-themes-admin .kit-filters,.ki-themes-admin .kit-counts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:730px){.ki-themes .kit-board-layout{grid-template-columns:minmax(0,1fr)}.ki-themes .kit-hero{grid-template-columns:minmax(0,1fr) 100px;gap:12px}.ki-themes .kit-hero-mark{min-height:112px}.ki-themes .kit-hero-mark strong{font-size:2.7rem}.ki-themes .kit-add{grid-template-columns:repeat(2,minmax(0,1fr))}.ki-themes .kit-add label{grid-column:1/-1}}
@media(max-width:480px){.ki-themes .kit-hero,.ki-themes .kit-gallery,.ki-themes .kit-filters{grid-template-columns:minmax(0,1fr)}.ki-themes .kit-hero-mark{display:none}.ki-themes .kit-step h3{font-size:1.2rem}.ki-themes .kit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ki-themes .kit-summary>div:last-child{grid-column:1/-1}.ki-themes .kit-item-fields,.ki-themes .kit-custom-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ki-themes .kit-item-fields>label:last-child,.ki-themes .kit-custom-fields>label:first-child{grid-column:1/-1}.ki-themes .kit-actions button{width:100%}.ki-themes .kit-item-top{flex-wrap:wrap}}
