
.gap-wrap{max-width:1100px}
.gap-title{display:flex;align-items:center;gap:10px;font-size:1.6rem;flex-wrap:wrap}
.gap-badge{font-size:12px;background:#4f46e5;color:#fff;padding:3px 10px;border-radius:999px;font-weight:700}
.gap-sub{color:#64748b;margin-top:0}
.gap-alert{padding:12px 14px;border-radius:12px;margin:12px 0;font-weight:600}
.gap-alert--ok{background:#dcfce7;color:#166534;border:1px solid #86efac}
.gap-alert--err{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}
.gap-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:16px}
@media(max-width:960px){.gap-grid{grid-template-columns:1fr}}
.gap-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px;margin-bottom:12px;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.gap-card label{display:block;font-weight:700;margin-bottom:6px;color:#0f172a}
.gap-card input[type=text],.gap-card input[type=datetime-local],.gap-card select,.gap-card textarea{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;font-size:14px;box-sizing:border-box}
.req{color:#dc2626}
.hint{font-size:12px;color:#64748b;margin:6px 0 0}
.gap-modes{display:flex;gap:6px;margin-bottom:8px}
.gap-mode{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:6px 12px;cursor:pointer;font-weight:600}
.gap-mode.is-on{background:#4f46e5;color:#fff;border-color:#4f46e5}
.gap-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.gap-toolbar button{border:1px solid #e2e8f0;background:#f1f5f9;border-radius:8px;padding:6px 10px;cursor:pointer;font-size:13px}
.gap-visual{min-height:220px;border:2px solid #c7d2fe;border-radius:12px;padding:12px;background:#fff;line-height:1.55}
.gap-visual:empty:before{content:attr(data-placeholder);color:#94a3b8}
.gap-source{width:100%;font-family:ui-monospace,monospace;font-size:13px;border:2px solid #c7d2fe;border-radius:12px;padding:12px;box-sizing:border-box}
.gap-thumb-preview{min-height:80px;border:1px dashed #cbd5e1;border-radius:12px;margin-bottom:8px;background:#f8fafc center/cover no-repeat}
.gap-thumb-preview img{max-width:100%;border-radius:12px;display:block}
.gap-inline{display:flex;gap:8px}
.gap-inline input{flex:1}
.gap-authors{display:flex;flex-direction:column;gap:8px;max-height:280px;overflow:auto}
.gap-author{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer}
.gap-author:has(input:checked){border-color:#4f46e5;background:#eef2ff}
.gap-author img{border-radius:50%;width:40px;height:40px;object-fit:cover}
.gap-author input[type=checkbox]{width:18px;height:18px;accent-color:#4f46e5}
.gap-author__meta{display:flex;flex-direction:column}
.gap-author__meta small{color:#64748b}
.gap-radio,.gap-check{display:flex;align-items:center;gap:8px;font-weight:500;margin:6px 0}
.gap-submit{width:100%!important;margin-top:8px!important;height:48px!important;font-size:16px!important}
.gap-seo-box{margin-top:10px;padding:10px;border-radius:10px;background:#eef2ff;border:1px solid #c7d2fe}
.gap-seo-box ul{margin:8px 0 0;padding:0;list-style:none}
.gap-seo-box li{font-size:12px;padding:4px 0}
.gap-seo-box li.ok{color:#166534}
.gap-seo-box li.bad{color:#9f1239}
.gap-front{max-width:1100px;margin:20px auto;padding:0 12px}
body:not(.wp-admin) .gap-submit{background:#4f46e5!important;border-color:#4f46e5!important;color:#fff!important}
