/* ABOUTME: Preparation tables, people, dialogs, and image-sharing previews. */
/* ABOUTME: All states remain distinguishable by shapes and labels as well as color. */
.readiness { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid #d5decc; border-radius: 6px; background: var(--soft); margin-bottom: 20px; }
.readiness-symbol { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; border: 1px solid #bfccb6; color: var(--accent); }
.readiness strong { font-size: 16px; font-weight: 500; }.readiness p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }.readiness-label { margin-left: auto; font-size: 11px; color: var(--muted); }
.check-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 11px; margin-bottom: 22px; }
.check-legend > span { display: inline-flex; gap: 6px; align-items: center; }.check-legend small { margin-left: auto; font-size: 10px; }
.legend-state { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid #a5afa0; border-radius: 4px; font-style: normal; line-height: 1; font-size: 11px; }
.legend-state.done { background: var(--accent); color: white; border-color: var(--accent); }.legend-state.ignored { background: #ecece4; color: #646e60; }
.check-table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.check-table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; min-width: 300px; }
.check-table th, .check-table td { border-bottom: 1px solid var(--line); padding: 12px 5px; text-align: center; font-weight: 400; }
.check-table th:first-child { text-align: left; width: 32%; padding-left: 17px; }
.check-table thead { background: var(--soft); }.check-table thead th { font-size: 10px; }.check-table thead th:first-child { font-size: 12px; font-weight: 500; }
.check-table thead .avatar { margin-bottom: 4px; }.check-table thead span:not(.avatar) { display: block; white-space: nowrap; }.check-table thead small { color: var(--accent); font-size: 8px; margin-left: 2px; }
.check-table tbody tr:last-child th, .check-table tbody tr:last-child td { border-bottom: 0; }
.check-item-label { display: flex; align-items: center; gap: 5px; width: 100%; text-align: left; padding: 7px 0; min-height: 38px; border: 0; background: transparent; font-size: 12px; overflow-wrap: anywhere; }.check-item-label svg { width: 12px; height: 12px; opacity: .5; }.check-item-label:hover { color: var(--accent); }
.state-button { display: inline-grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 1.5px solid #a2ad9e; border-radius: 6px; vertical-align: middle; background: transparent; }
.state-button svg { width: 18px; height: 18px; stroke-width: 2; }.state-button.state-1 { background: var(--accent); border-color: var(--accent); color: #fff; }.state-button.state-2 { background: #e7e9e1; border-color: #c1c7b9; color: #646d5c; }.state-button:not(.other-state):hover { box-shadow: 0 0 0 4px var(--soft); border-color: var(--accent); }.other-state { width: 23px; height: 23px; border-radius: 5px; }.other-state svg { width: 15px; height: 15px; }
.common-add { margin-top: 12px; }.empty-message { font-size: 12px; color: var(--muted); }
.personal-section-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px; margin: 35px 0 14px; }.personal-section-title h3 { margin: 0; font-weight: 500; font-family: var(--serif); font-size: 23px; }.personal-section-title span { font-size: 11px; color: var(--muted); }
.personal-group { padding: 18px 0; border-top: 1px solid var(--line); }.personal-heading { display: flex; gap: 8px; align-items: center; font-size: 12px; }.personal-heading strong { font-weight: 500; }.personal-heading > span:last-child { font-size: 10px; margin-left: auto; color: var(--muted); }
.personal-item { display: flex; align-items: center; gap: 12px; margin: 13px 0; font-size: 13px; }.personal-item > span:not(.state-button) { flex: 1; overflow-wrap: anywhere; }.personal-item small { color: var(--muted); font-size: 10px; }
.member-list { border-top: 1px solid var(--line); }.member-row { display: flex; gap: 15px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }.member-detail { flex: 1; min-width: 0; }.member-detail strong { font-size: 14px; font-weight: 500; }.member-detail p { color: var(--muted); font-size: 11px; margin: 3px 0 0; }.member-role { font-size: 10px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); margin-left: 8px; }.member-permission { font-size: 11px; color: var(--muted); }.member-row select { border: 1px solid var(--line); border-radius: 4px; padding: 8px; background: var(--surface); color: var(--ink); font-size: 11px; }
.member-invite { margin-top: 24px; width: 100%; }.member-guide { color: var(--muted); margin-top: 18px; font-size: 12px; }
dialog { width: min(560px, calc(100% - 28px)); max-height: 90dvh; border: 1px solid var(--line); padding: 0; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px #15261f33; overflow: auto; }
dialog::backdrop { background: #1b2a2466; backdrop-filter: blur(5px); }
#modal-content { padding: 30px; }.dialog-top { display: flex; align-items: flex-start; gap: 20px; justify-content: space-between; margin-bottom: 25px; }.dialog-top .eyebrow { color: var(--warm); }.dialog-top h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 6px 0 0; }.dialog-top .icon-button { margin: -7px -9px 0 0; }
form > label, .time-fields label, .invite-fields label { display: block; font-size: 13px; margin-bottom: 9px; }.field-hint { font-size: 11px; color: var(--muted); font-weight: 400; display: block; margin-top: 3px; }label small { color: var(--muted); font-size: 10px; margin-left: 4px; }
input:not([type='checkbox']), textarea, .invite-fields select { width: 100%; padding: 12px; border: 1px solid #cdd2c6; border-radius: 5px; background: var(--surface); color: var(--ink); font-size: 14px; }
textarea { resize: vertical; min-height: 120px; line-height: 1.8; }.time-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }.checkbox-label { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; }.checkbox-label input { accent-color: var(--accent); width: 16px; height: 16px; }
.form-error { color: #9c3b2f; font-size: 12px; margin: 10px 0; min-height: 18px; }.dialog-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; }.danger-text { color: #9a4939; background: transparent; padding-left: 0; }.danger-text:hover { background: #f4e7e2; }
.reorder-actions { display: flex; align-items: center; gap: 18px; font-size: 11px; color: var(--muted); }.reorder-actions span { margin-right: auto; }
.invite-banner { border: 1px solid var(--line); background: var(--soft); padding: 18px; border-radius: 5px; margin-bottom: 23px; }.invite-banner strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }.invite-banner p { color: var(--muted); font-size: 12px; margin: 5px 0 0; }.invite-fields { display: grid; gap: 18px; }.demo-disclosure { color: var(--muted); font-size: 11px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 20px; }.demo-disclosure strong { color: var(--warm); font-weight: 500; }.join-avatar { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 13px; }.join-avatar small { display: block; color: var(--muted); }.join-password { letter-spacing: .5em; text-align: center; font-size: 24px !important; }
.share-intro { color: var(--muted); font-size: 12px; margin: -10px 0 18px; }.share-pages { display: flex; gap: 7px; margin-bottom: 18px; flex-wrap: wrap; }.share-page-button { border: 1px solid var(--line); border-radius: 4px; padding: 7px 12px; background: transparent; font-size: 11px; }.share-page-button[aria-pressed='true'] { background: var(--accent); color: white; border-color: var(--accent); }.poster-container { background: #e5e6de; border-radius: 4px; padding: 20px; display: flex; justify-content: center; }.poster-container canvas { display: block; width: min(100%, 300px); height: auto; box-shadow: 0 8px 25px #1425191a; }.share-caption { font-size: 10px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.sharing-message { font-size: 12px; color: var(--muted); margin: 15px 0; }.status-details { font-size: 12px; color: var(--muted); }.status-details p { margin: 0 0 10px; }.empty-sidebar { padding-top: 20px; }
#toast { position: fixed; z-index: 20; bottom: 28px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 30px); border-radius: 6px; background: #253b30; color: #fff; padding: 12px 20px; font-size: 12px; box-shadow: 0 5px 20px #0002; }
@container experience (max-width: 650px) {
  .check-table { min-width: 0; font-size: 11px; }.check-table th:first-child { width: 31%; padding-left: 10px; }.check-table th, .check-table td { padding: 10px 2px; }.check-table thead th:first-child { font-size: 10px; }.check-table thead th { font-size: 9px; }.check-table thead small { display: none; }.check-item-label { font-size: 11px; gap: 2px; }.check-item-label svg { display: none; }.check-table .state-button { width: 27px; height: 32px; }.check-table .other-state { width: 20px; height: 24px; }
  .check-legend { gap: 12px; font-size: 10px; }.check-legend small { width: 100%; margin-left: 0; font-size: 10px; }.readiness { padding: 15px; gap: 10px; }.readiness-symbol { width: 37px; height: 37px; }.readiness strong { font-size: 14px; }.readiness-label { display: none; }
  .personal-section-title { display: block; }.personal-section-title h3 { font-size: 22px; margin-bottom: 4px; }.personal-section-title span { font-size: 10px; }.personal-heading > span:last-child { font-size: 9px; }.personal-item { gap: 10px; font-size: 12px; }
  .member-row { gap: 10px; flex-wrap: wrap; padding: 18px 0; }.member-row .avatar { width: 30px; height: 30px; }.member-detail strong { font-size: 13px; }.member-role { font-size: 9px; padding: 2px 5px; margin-left: 4px; }.member-row select { max-width: 97px; padding: 7px 3px; font-size: 10px; }.member-row .icon-button { width: 27px; height: 32px; }.member-detail p { font-size: 10px; }
}
@media (max-width: 500px) {
  #modal-content { padding: 22px; }.dialog-top h2 { font-size: 25px; }.poster-container { padding: 12px; }.time-fields { gap: 10px; }.time-fields input { padding: 10px 6px; font-size: 13px; }.dialog-actions .button { font-size: 12px; padding: 10px 12px; }
}
