/* 공통 연결 (SPEC-P13-SHARED): one place for what several modules use. */
.shared-pane {min-width:0;color:var(--text);margin:20px 0 28px;overflow-wrap:anywhere}
.shared-pane * {box-sizing:border-box;min-width:0}
.shared-head {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.shared-head h2 {margin:0 0 4px}.shared-head p {margin:0}
.shared-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:12px}
.shared-card {display:flex;flex-direction:column;gap:6px;border:1px solid var(--border);border-top:3px solid var(--warn);border-radius:var(--radius);padding:14px 16px;background:var(--bg-card);box-shadow:var(--shadow);transition:transform .15s ease,box-shadow .15s ease}
.shared-card.ready {border-top-color:var(--ok)}
.shared-card:hover {transform:translateY(-2px)}
.shared-card header {display:flex;align-items:center;gap:8px}
.shared-card h3 {margin:0;font-size:1rem;flex:1}
.shared-icon {display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--bg-hover);font-size:16px;flex:none}
.shared-purpose {margin:0;font-size:.85rem}
.shared-summary {margin:2px 0 0;font-weight:600}
.shared-chips {display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:24px}
.shared-chip {padding:2px 8px;border-radius:999px;background:var(--accent-soft);color:var(--text);font-size:.8rem}
.shared-card footer {margin-top:auto;padding-top:6px;display:flex;justify-content:flex-end}
.shared-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}
.shared-pane label {display:flex;flex-direction:column;gap:5px;font-size:.9rem}
.shared-pane input {max-width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font:inherit}
.shared-pane small {font-size:.78rem}
.shared-actions {display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin:14px 0 6px}
.shared-actions .shared-to {flex:1 1 220px}
.shared-users {list-style:none;padding:0;margin:8px 0 0}
.shared-users li {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--border)}
.shared-user {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#shared-mail {margin-top:18px}
#shared-mail,#company {scroll-margin-top:16px}
.shared-banner {background:var(--accent-soft);border-left:4px solid var(--accent);border-radius:var(--radius);padding:12px 16px;margin:12px 0;overflow-wrap:anywhere}
.shared-banner p {margin:0 0 8px}
.edu-smtp[hidden] {display:none!important}
@media (prefers-reduced-motion: reduce) {.shared-card {transition:none}.shared-card:hover {transform:none}}
@media (max-width:600px) {.shared-grid,.shared-fields {grid-template-columns:minmax(0,1fr)}.shared-actions {align-items:stretch;flex-direction:column}.shared-actions input {width:100%}.shared-head .pill {align-self:flex-start}}
.shared-chip.more {background:var(--bg-hover);color:var(--muted);cursor:help}
