.card { min-width: 0; background: var(--surface); border: 1px solid rgba(116, 157, 173, .15); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1rem; }
.card--flat { box-shadow: none; }
.card--accent { border-top: 5px solid var(--coral-500); }
.section-title { color: var(--forest-900); font-size: 1.25rem; line-height: 1.3; }
.subtle { color: var(--muted); }
.small { font-size: .88rem; }
.eyebrow { color: var(--coral-700); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid #abd3e1;
  border-radius: 14px;
  padding: .65rem 1rem;
  background: #b8dce8;
  color: #3f6270;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { color: #355866; background: #a9d2e1; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:focus-visible, .icon-button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: none; box-shadow: var(--focus); }
.button:disabled { opacity: .58; cursor: not-allowed; transform: none; box-shadow: none; }
.button--secondary { color: #557985; background: #eef7fa; border-color: #d4e8ef; }
.button--secondary:hover { background: #e4f2f6; }
.button--coral { color: #486a76; background: #c9e3ec; border-color: #bad9e4; }
.button--coral:hover { background: #bcdce7; }
.button--yellow { color: #665b3f; background: #f2e6c5; border-color: #eadcaf; }
.button--yellow:hover { background: #ecddb5; }
.button--danger { color: white; background: var(--danger); border-color: var(--danger); }
.button--danger:hover { color: white; background: #a86068; }
.button--ghost { color: var(--forest-800); background: transparent; border-color: var(--line); }
.button--ghost:hover { background: #f3f9fb; }
.button--block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid #dcebef; background: rgba(255, 255, 255, .94); color: var(--forest-800); }
.field { min-width: 0; display: grid; gap: .4rem; }
.field > label, .field-label { font-weight: 800; color: var(--forest-900); }
.required::after { content: " *"; color: var(--danger); }
input, textarea, select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #cfe2e9;
  border-radius: 13px;
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  padding: .7rem .8rem;
}
input:focus, textarea:focus, select:focus { border-color: #a9cedc; }
textarea { min-height: 130px; }
input::placeholder, textarea::placeholder { color: #89928d; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.field-help, .field-error { font-size: .84rem; }
.field-help { color: var(--muted); }
.field-error { color: var(--danger); font-weight: 700; }
.form-grid { display: grid; gap: 1rem; }
.form-actions { display: flex; flex-direction: column-reverse; gap: .65rem; margin-top: .5rem; }
.checkbox, .radio { display: flex; align-items: flex-start; gap: .55rem; cursor: pointer; }
.checkbox input, .radio input { flex: 0 0 auto; width: 20px; min-height: 20px; margin-top: .18rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 34px; padding: .35rem .75rem; border-radius: 999px; color: #55727d; background: #f3f9fb; border: 1px solid #deedf1; font-size: .88rem; font-weight: 750; }
button.chip[aria-pressed="true"], .chip--active { color: #3f6270; background: #d8ebf1; border-color: #bddce7; }
.status-badge { display: inline-flex; align-items: center; gap: .3rem; min-height: 30px; padding: .25rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 850; background: var(--forest-100); color: var(--forest-900); }
.status-badge__icon--recruiting { color: var(--success); }
.status-badge--warning { background: var(--yellow-100); color: #6b500a; }
.status-badge--danger { background: var(--coral-100); color: #80372b; }
.status-badge--muted { background: #eceeec; color: #5e6762; }
.meta-list { display: grid; gap: .6rem; }
.meta-item { display: flex; align-items: flex-start; gap: .55rem; }
.meta-icon { width: 1.4rem; flex: 0 0 auto; text-align: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--forest-100); border: 2px solid var(--surface); box-shadow: 0 0 0 1px #dcebef; }
.avatar--large { width: 104px; height: 104px; }
.member-row { display: flex; align-items: center; gap: .75rem; }
.member-row__body { min-width: 0; flex: 1; }
.member-row__name { font-weight: 850; color: var(--forest-900); }
.notice-box { padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--info-bg); color: #214f6b; border-left: 5px solid var(--info); }
.notice-box--warning { background: var(--yellow-100); color: #654a08; border-left-color: var(--yellow-600); }
.notice-box--danger { background: var(--danger-bg); color: #7d2929; border-left-color: var(--danger); }
.state-box { min-height: 240px; display: grid; place-content: center; justify-items: center; gap: .7rem; text-align: center; padding: 2rem 1rem; border-radius: var(--radius-md); border: 1px dashed #d3e6ec; background: rgba(255,255,255,.72); }
.state-box img { width: min(180px, 55%); }
.spinner { width: 32px; height: 32px; border: 4px solid var(--forest-100); border-top-color: var(--forest-700); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { overflow: hidden; position: relative; background: #e9f2f5; border-radius: 10px; min-height: 18px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.25s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.toast-region { position: fixed; z-index: 3100; right: 1rem; bottom: calc(var(--bottom-nav-height) + 1rem); display: grid; gap: .6rem; width: min(calc(100% - 2rem), 380px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: .7rem; padding: .85rem 1rem; border-radius: 15px; background: var(--forest-900); color: white; box-shadow: var(--shadow-md); animation: toast-in .2s ease-out; }
.toast--error { background: #8e3030; }
.toast--success { background: var(--success); }
.toast__body { flex: 1; }
.toast__close { border: 0; background: transparent; color: inherit; font-size: 1.1rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.tabs { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .25rem; }
.tab { min-height: 42px; white-space: nowrap; padding: .55rem .8rem; border: 1px solid #dcebef; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 800; }
.tab[aria-selected="true"] { color: #3f6270; background: #d8ebf1; border-color: #bddce7; }
.table-wrap { overflow-x: auto; border: 1px solid rgba(116, 157, 173, .15); border-radius: var(--radius-md); background: var(--surface); }
th, td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f4f9fb; color: var(--forest-900); font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .5rem; }
.pagination .button { min-width: 44px; padding-inline: .65rem; }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.search-bar { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.search-bar > * { min-width: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: .3rem 0; }

body.is-global-busy { overflow: hidden; }
.global-loading {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(35, 55, 62, .42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  overscroll-behavior: contain;
}
.global-loading[hidden] { display: none; }
.global-loading__panel {
  width: min(100%, 340px);
  display: grid;
  justify-items: center;
  gap: .8rem;
  padding: 1.6rem 1.35rem;
  border: 1px solid rgba(116, 157, 173, .2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.global-loading__panel .spinner { width: 40px; height: 40px; }
.global-loading__title { color: var(--forest-900); font-size: 1.05rem; }
.global-loading__message { color: var(--muted); font-size: .92rem; line-height: 1.6; }