.py-map { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 4px 0 22px; }
.py-unit { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px 12px 10px; border: 1px solid var(--line, #e2e8f0); border-radius: 14px; background: var(--card, #fff); cursor: pointer; transition: border-color .15s, transform .15s; }
.py-unit:hover { border-color: #0d9488; transform: translateY(-1px); }
.py-unit.is-on { border-color: #0d9488; box-shadow: 0 0 0 2px rgba(13, 148, 136, .25); }
.py-unit b { font-size: .95rem; line-height: 1.2; }
.py-unit small { font-size: .75rem; color: #64748b; line-height: 1.3; }
.py-unit-n { position: absolute; top: 8px; right: 10px; font-size: .75rem; font-weight: 700; color: #94a3b8; }
.py-unit-icon { font-size: 1.5rem; }
.py-unit.is-done .py-unit-n::after { content: " ✓"; color: #16a34a; }
.py-bar { display: block; height: 6px; margin-top: auto; border-radius: 99px; background: rgba(148, 163, 184, .25); overflow: hidden; }
.py-bar i { display: block; height: 100%; background: linear-gradient(90deg, #0d9488, #22c55e); }
.py-count { font-size: .72rem; color: #64748b; }
.py-typed { margin-top: 10px; padding: 10px 12px; border: 1px dashed #0d9488; border-radius: 12px; background: rgba(13, 148, 136, .06); }
.py-typed label { display: block; font-size: .85rem; margin-bottom: 6px; }
.py-typed label span { color: #64748b; font-size: .78rem; }
.py-typed textarea { width: 100%; font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 6px 8px; border: 1px solid var(--line, #cbd5e1); border-radius: 8px; background: var(--card, #fff); color: inherit; resize: vertical; }
@media (max-width: 1100px) { .py-map { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .py-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } .py-unit small { display: none; } }
.py-hw { color: #be123c; font-weight: 600; }
