/* 2026-11-09 tools2: 만다라트 만들기 (SWOT 스타일 재사용) */
.sw-list{border:1.5px solid #e5e7eb;border-left:6px solid var(--sw,#4f46e5);border-radius:14px;padding:10px 12px 12px;margin:0 0 12px;background:#fff}
.sw-list__hd{display:flex;flex-direction:column;gap:1px;margin-bottom:8px}
.sw-list__hd b{display:flex;align-items:center;gap:8px;font-size:15.5px;color:#111827}
.sw-list__hd b i{font-style:normal;display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border-radius:9px;background:var(--sw,#4f46e5);color:#fff;font-size:14px;font-weight:800}
.sw-list__hd small{color:#64748b;font-size:12.5px;margin-left:38px}
.sw-row{display:flex;gap:6px;align-items:flex-start;margin:0 0 6px}
.sw-row textarea{flex:1;min-height:46px;padding:10px 11px}
.sw-row__b{display:flex;gap:3px;flex:none}
.sw-mini{min-width:34px !important;min-height:46px !important;padding:0 !important;font-size:12px !important}
.sw-del{color:#b91c1c !important}
.sw-add{width:100%;min-height:44px;border-style:dashed !important;font-weight:700}
.sw-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}
.sw-chips span{font-size:12px;color:#64748b;font-weight:700;margin-right:2px}
.sw-chip{border:1px solid #e2e8f0;background:#f8fafc;border-radius:999px;padding:6px 11px;font-size:13px;color:#334155;cursor:pointer;min-height:34px}
.sw-chip:hover{border-color:#a5b4fc;background:#eef2ff}
.sw-themes{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;margin:4px 0 8px}
.sw-theme{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:8px;border:1.5px solid #e5e7eb;border-radius:14px;cursor:pointer;min-height:72px}
.sw-theme span{display:grid;grid-template-columns:1fr 1fr;gap:3px;height:38px}
.sw-theme span i{border-radius:5px}
.sw-theme b{font-size:12.5px;color:#111827;background:rgba(255,255,255,.85);border-radius:6px;padding:1px 4px;text-align:center}
.sw-theme[aria-pressed=true]{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.3)}
.sw-sw{display:grid !important;grid-template-columns:1fr 1fr;gap:2px;width:40px;height:32px;padding:3px;border-radius:8px;border:1px solid #e5e7eb}
.sw-sw i{border-radius:3px}
.sw-pq{font-style:normal;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#fff;font-weight:800;font-size:15px}
.sw-pq--S{background:#4f46e5}.sw-pq--W{background:#db2777}.sw-pq--O{background:#0891b2}.sw-pq--T{background:#ea580c}
.sw-addrow{display:flex;gap:6px}
.sw-addrow input{flex:1}
.sw-poptxt{margin-top:6px}
@media (max-width:1023px){#gg-app.ck-mandalart:not(.is-fs) .gg-canvas{height:calc(56.25vw + 70px);min-height:280px}}
.mg-row span{display:flex;align-items:center;gap:6px}
.mg-dot{display:inline-block;width:12px;height:12px;border-radius:4px;background:var(--mg)}
.mg-row input{border-left:5px solid var(--mg) !important}
.mg-pills{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:4px 0 10px}
.mg-pill{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:1.5px solid #e5e7eb;border-top:5px solid var(--mg);border-radius:10px;background:#fff;padding:5px 7px;cursor:pointer;min-height:54px;text-align:left}
.mg-pill i{font-style:normal;font-size:11px;font-weight:800;color:var(--mg)}
.mg-pill span{font-size:12.5px;font-weight:700;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.mg-pill small{font-size:11px;color:#64748b}
.mg-pill[aria-pressed=true]{border-color:var(--mg);box-shadow:0 0 0 2px var(--mg) inset}
.mg-act input[type=text]{flex:1;min-height:44px;padding:9px 11px}
.mg-done{display:inline-flex;align-items:center;gap:4px;min-width:54px;min-height:44px;justify-content:center;border:1.5px solid #e5e7eb;border-radius:10px;font-weight:800;color:#15803d;cursor:pointer}
.mg-done input{width:18px;height:18px}
.mg-sw{display:grid !important;grid-template-columns:repeat(4,1fr) !important;height:38px}
.mg-sw4{grid-template-columns:1fr 1fr !important}
.ck-mandalart .mg-cell{cursor:pointer}
@media (max-width:480px){.mg-pills{grid-template-columns:repeat(2,1fr)}}
