@font-face { font-family: Manrope; src: url('manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Manrope; src: url('manrope-latin-ext.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0300-0303,U+0305-0307,U+0309-0328,U+032A-032F,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root { --pine: #174e3c; --pine-hover: #0f3a2c; --red: #b83845; --ink: #202d29; --muted: #68756f; --line: #dce3df; --paper: #fff; --wash: #f4f7f5; --mint: #e9f2ed; --pink: #fbeef0; }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.6 Manrope, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 32px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
h2 { font-size: 19px; font-weight: 750; line-height: 1.4; }
h3 { font-size: 16px; font-weight: 700; }
.icon { width: 18px; height: 18px; flex: 0 0 18px; vertical-align: middle; }
:focus-visible { outline: 3px solid #b83845; outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 16px; background: var(--pine); color: white; padding: 10px 16px; z-index: 5; }
.skip-link:focus { top: 10px; }
.site-header { border-top: 4px solid var(--pine); border-bottom: 1px solid var(--line); background: white; }
.header-inner { max-width: 1160px; padding: 0 32px; margin: auto; min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; color: var(--pine); min-width: 0; }
.brand-icon { width: 28px; height: 28px; flex-basis: 28px; }
.header-note { font-size: 12px; font-weight: 650; color: var(--muted); }
.account-actions { display: flex; gap: 16px; align-items: center; min-width: 0; }
.member-nav { max-width: 1160px; margin: auto; padding: 0 32px; display: flex; gap: 28px; }
.member-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 2px solid transparent; font-weight: 700; font-size: 13px; color: var(--muted); }
.member-nav a:hover, .member-nav a[aria-current='page'] { color: var(--pine); border-bottom-color: var(--pine); }
.member-switch { display: flex; gap: 8px; align-items: center; font-weight: 650; min-width: 0; }
.member-switch span { max-width: 170px; overflow-wrap: anywhere; }
.icon-button { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.icon-button:hover { background: var(--mint); }
.danger-icon:hover { background: var(--pink); }
.page { width: 100%; max-width: 1160px; padding: 38px 32px 56px; margin: 0 auto; flex: 1; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 7px; }
.section-jump, .back-link { color: var(--pine); display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.section-jump:hover, .back-link:hover { text-decoration: underline; }
.personal-section { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
.compose { padding-right: 30px; border-right: 1px solid var(--line); }
.compose h2 { display: flex; gap: 9px; align-items: center; margin-bottom: 22px; }
.field { margin-bottom: 17px; }
label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.optional { color: var(--muted); font-weight: 450; margin-left: 5px; }
input, textarea, select { width: 100%; min-width: 0; border: 1px solid #bac9c1; background: white; border-radius: 6px; padding: 11px 12px; color: var(--ink); line-height: 1.6; }
input, select { min-height: 44px; }
textarea { resize: vertical; min-height: 125px; }
input::placeholder, textarea::placeholder { color: #84908a; }
input:focus, textarea:focus, select:focus { border-color: var(--pine); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 750; line-height: 1.4; text-align: center; }
.primary { background: var(--pine); color: white; }
.primary:hover { background: var(--pine-hover); }
.primary .icon, .danger .icon { filter: invert(1); }
.secondary { border-color: #c6d5cc; background: white; color: var(--pine); }
.secondary:hover { background: var(--mint); }
.danger { background: var(--red); color: white; }
.danger:hover { background: #952633; }
.full-width { width: 100%; }
.section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-height: 27px; }
.count { background: var(--wash); color: var(--muted); min-width: 28px; min-height: 26px; text-align: center; padding: 2px 7px; border-radius: 4px; font-size: 12px; font-weight: 750; }
.wish-list { list-style: none; margin: 0; padding: 0; }
.own-wish { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.wish-copy { min-width: 0; }
.wish-text { font-weight: 600; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.wish-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: 7px; }
.wish-link .icon { width: 14px; height: 14px; flex-basis: 14px; }
.wish-link:hover { color: var(--pine); text-decoration: underline; }
.wish-tools { display: flex; gap: 2px; flex-shrink: 0; }
.others-section { border-top: 2px solid var(--pine); padding-top: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-heading h2 { font-size: 26px; line-height: 1.3; }
.filters { display: flex; align-items: flex-end; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter-field { flex: 1; min-width: 0; }
.search-field { flex: 1.3; }
.filter-submit { flex-shrink: 0; }
.clear-filter { margin-bottom: 2px; }
.other-wish { display: grid; grid-template-columns: 170px minmax(0, 1fr) 158px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.wish-person { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 750; min-width: 0; }
.wish-person > span:last-child { overflow-wrap: anywhere; }
.initial { width: 34px; height: 34px; flex: 0 0 34px; background: var(--mint); color: var(--pine); border-radius: 6px; display: inline-flex; justify-content: center; align-items: center; font-weight: 750; font-size: 15px; }
.other-wish:nth-child(3n + 2) .initial, .member-choice:nth-child(3n + 2) .initial { background: var(--pink); color: var(--red); }
.other-wish:nth-child(3n) .initial, .member-choice:nth-child(3n) .initial { background: #edf0f8; color: #485d88; }
.reservation-action { text-align: right; min-height: 44px; }
.reservation-label { display: inline-flex; justify-content: flex-end; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; min-height: 28px; }
.mine { color: var(--pine); }
.taken { color: var(--muted); }
.release-button { border: 0; background: transparent; padding: 4px 0; color: var(--muted); font-size: 11px; text-decoration: underline; min-height: 28px; }
.release-button:hover { color: var(--red); }
.reservation-summary { color: var(--muted); font-size: 13px; font-weight: 700; flex-shrink: 0; }
.reserved-wish { grid-template-columns: 170px minmax(0, 1fr) 190px; }
.reservation-progress { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.obtained-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; font-size: 13px; cursor: pointer; }
.obtained-toggle input { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; padding: 0; margin: 0; accent-color: var(--pine); cursor: pointer; }
.reserved-wish.obtained .obtained-toggle { color: var(--pine); }
.reserved-wish.obtained .wish-text { color: var(--muted); }
.checklist-actions .release-button { min-height: 44px; }
.empty-state { padding: 35px 16px; text-align: center; color: var(--muted); background: repeating-linear-gradient(135deg, #fff, #fff 8px, #f9fbfa 8px, #f9fbfa 9px); }
.empty-state > .icon { width: 32px; height: 32px; margin-bottom: 14px; opacity: .55; }
.empty-state p { font-size: 13px; margin-top: 7px; }
.site-footer { display: flex; justify-content: center; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 22px; font-size: 11px; color: var(--muted); }
.site-footer .icon { width: 13px; height: 13px; flex-basis: 13px; opacity: .5; }
.notifications { margin-bottom: 24px; }
.notification { display: flex; gap: 8px; align-items: center; padding: 12px 15px; background: var(--mint); border-left: 3px solid var(--pine); margin-bottom: 8px; }
.notification.info { background: var(--wash); border-color: var(--muted); }
.field-error { font-size: 12px; color: #a62334; margin-top: 8px; }
.entry-page { background: repeating-linear-gradient(135deg, #f7faf8, #f7faf8 22px, #f1f6f3 22px, #f1f6f3 23px); }
.entry-page .site-header, .entry-page .site-footer { background: white; }
.entry-content { width: 100%; max-width: 430px; padding: 64px 30px 80px; margin: auto; flex: 1; }
.entry-content > h1 { font-size: 36px; margin-bottom: 32px; }
.entry-mark { display: inline-flex; justify-content: center; align-items: center; width: 60px; height: 60px; border-radius: 8px; background: var(--pine); margin-bottom: 28px; }
.entry-mark .icon { width: 32px; height: 32px; filter: invert(1); }
.entry-form { margin-top: 30px; }
.entry-form .field { margin-bottom: 22px; }
.entry-form input { min-height: 50px; }
.entry-form .button { min-height: 50px; }
.end-icon { margin-left: auto; }
.member-content { max-width: 500px; }
.member-list { display: flex; flex-direction: column; gap: 10px; }
.member-add { margin-top: 24px; }
.member-choice { display: flex; align-items: center; gap: 15px; min-height: 70px; width: 100%; border: 1px solid var(--line); background: white; border-radius: 6px; padding: 12px 18px; text-align: left; color: var(--ink); }
.member-choice:hover { border-color: var(--pine); background: #f9fcfa; }
.member-choice .initial { width: 40px; height: 40px; flex-basis: 40px; }
.member-name { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.empty-message { color: var(--muted); }
.narrow-page { max-width: 600px; padding-top: 44px; }
.narrow-page h1 { margin: 24px 0; }
.edit-form { margin-top: 30px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.delete-preview { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.error-description { margin: 0 0 30px; }
@media (prefers-reduced-motion: no-preference) { .entry-content, .page-heading { animation: arrive .3s ease-out; } @keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } }
@media (max-width: 850px) {
  .personal-section { grid-template-columns: 270px minmax(0, 1fr); gap: 24px; }
  .compose { padding-right: 24px; }
  .other-wish { grid-template-columns: 130px minmax(0, 1fr) 145px; gap: 16px; }
  .reserved-wish { grid-template-columns: 130px minmax(0, 1fr) 170px; }
  .filters { flex-wrap: wrap; }
  .filter-field { flex-basis: 25%; }
  .search-field { flex-basis: 30%; }
}
@media (max-width: 620px) {
  .header-inner { padding: 0 18px; min-height: 72px; gap: 10px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .header-note { display: none; }
  .account-actions { gap: 6px; }
  .member-nav { padding: 0 18px; gap: 24px; }
  .member-switch { gap: 4px; font-size: 12px; }
  .member-switch > .icon:first-child { display: none; }
  .member-switch span { max-width: 90px; }
  .page { padding: 28px 18px 40px; }
  h1 { font-size: 28px; }
  .page-heading { align-items: flex-start; gap: 10px; }
  .section-jump { font-size: 11px; margin-top: 24px; gap: 4px; flex-shrink: 0; }
  .section-jump .icon { width: 14px; height: 14px; flex-basis: 14px; }
  .personal-section { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; }
  .compose { padding-right: 0; border-right: 0; }
  .compose textarea { min-height: 100px; }
  .own-wish { gap: 10px; padding: 16px 0; }
  .wish-tools .icon-button { width: 36px; flex-basis: 36px; }
  .section-heading h2 { font-size: 24px; }
  .filters { gap: 10px; padding-bottom: 18px; }
  .filter-field { flex-basis: calc(50% - 5px); }
  .search-field { flex-basis: calc(100% - 125px); }
  .filter-submit { width: 115px; }
  .other-wish { grid-template-columns: minmax(0, 1fr) 140px; gap: 12px; padding: 20px 0; }
  .wish-person { grid-column: 1 / -1; }
  .reservation-action { grid-column: 2; grid-row: 2; }
  .other-wish .wish-copy { grid-column: 1; }
  .reserved-wish { grid-template-columns: minmax(0, 1fr); }
  .reserved-wish .wish-person, .reserved-wish .wish-copy, .reserved-wish .checklist-actions { grid-column: 1; grid-row: auto; }
  .checklist-actions { text-align: left; }
  .reservation-progress { justify-content: flex-start; }
  .reservation-summary { margin-top: 7px; }
  .initial { width: 28px; height: 28px; flex-basis: 28px; font-size: 13px; }
  .entry-content { padding: 42px 24px 60px; }
  .entry-content > h1 { font-size: 32px; }
}
@media (max-width: 370px) { .header-inner { padding: 0 12px; } .brand { font-size: 14px; } .member-switch span { max-width: 65px; } .page-heading { flex-wrap: wrap; } .section-jump { margin-top: 0; } .other-wish { grid-template-columns: 1fr; } .other-wish .wish-copy, .reservation-action { grid-column: 1; } .reservation-action { grid-row: auto; text-align: left; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }