:root{--ink:#312b31;--muted:#786f75;--cream:#fffaf6;--paper:#fffdfb;--rose:#db7e88;--rose-dark:#b95e6b;--blush:#f8dfe0;--peach:#f5cbb8;--sage:#b9c9b5;--line:#eadeda;--shadow:0 24px 70px rgba(90,59,59,.13)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif;overflow-x:hidden}.shell{width:min(1160px,calc(100% - 40px));margin-inline:auto}.ambient{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none;z-index:-1}.ambient-one{width:460px;height:460px;background:rgba(248,223,224,.6);top:-180px;right:-130px}.ambient-two{width:300px;height:300px;background:rgba(224,234,215,.48);top:620px;left:-140px}.topbar{height:106px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:13px;line-height:1.15;letter-spacing:.02em}.brand strong{font-family:Fraunces,serif;font-size:18px}.brand-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:50% 50% 45% 55%;background:var(--blush);color:var(--rose-dark);font-size:26px;transform:rotate(-5deg)}button,.soft-button{font:inherit}.history-link{border:0;background:transparent;cursor:pointer;color:var(--ink);font-weight:600}.history-link span{display:inline-grid;place-items:center;margin-left:5px;width:25px;height:25px;border-radius:50%;background:var(--blush);color:var(--rose-dark);font-size:12px}.hero{min-height:675px;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:86px;padding-block:44px 88px}.eyebrow,.mini-label{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:700;color:var(--rose-dark)}.eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:22px}.eyebrow span{font-size:19px}.hero h1,.admin-heading h1,.login-card h1{font-family:Fraunces,serif;font-size:clamp(50px,6vw,78px);line-height:1.02;margin:0 0 25px;letter-spacing:-.04em}.hero h1 em{font-weight:600;color:var(--rose-dark)}.hero-copy>p{max-width:520px;font-size:18px;line-height:1.72;color:var(--muted)}.promise-row{display:flex;gap:32px;margin-top:40px}.promise{display:flex;align-items:center;gap:11px}.promise>span{display:grid;place-items:center;width:41px;height:41px;border-radius:50%;background:#f5e4dc;color:var(--rose-dark)}.promise strong,.promise small{display:block}.promise strong{font-size:13px}.promise small{font-size:11px;color:var(--muted);margin-top:3px}.complaint-card{position:relative;background:rgba(255,253,251,.94);border:1px solid rgba(234,222,218,.9);border-radius:28px;padding:38px 42px;box-shadow:var(--shadow)}.complaint-card:before{content:"";position:absolute;inset:12px;border:1px dashed rgba(219,126,136,.16);border-radius:21px;pointer-events:none}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.card-heading h2,.section-heading h2,.success-state h2{font-family:Fraunces,serif;font-size:31px;margin:7px 0 0}.doodle{font-size:32px;color:var(--peach)}form label{font-size:12px;font-weight:700;display:block;margin-bottom:10px}.mood-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:24px}.mood-option{cursor:pointer;margin:0;text-align:center}.mood-option input{position:absolute;opacity:0}.mood-option span{display:block}.mood-option .mood-face{font-size:25px;background:#faf5f1;border:1px solid transparent;border-radius:14px;padding:9px 3px 7px;margin-bottom:5px;transition:.2s}.mood-option>span:last-child{font-size:10px;color:var(--muted)}.mood-option input:checked+.mood-face{background:var(--blush);border-color:#efbfc4;transform:translateY(-2px)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{margin-bottom:19px}.field label span{font-weight:400;color:var(--muted)}select,input[type=password],textarea{width:100%;border:1px solid var(--line);background:#fffaf7;border-radius:12px;color:var(--ink);padding:13px 14px;font:inherit;font-size:13px;outline:none;transition:.2s}select:focus,input:focus,textarea:focus{border-color:var(--rose);box-shadow:0 0 0 3px rgba(219,126,136,.12)}textarea{min-height:114px;resize:vertical;line-height:1.5}.field-meta{display:flex;justify-content:space-between;font-size:10px;color:#9b9095;margin-top:5px;min-height:15px}#form-error,.error-text{color:#b54554}.check-row{display:flex;align-items:center;gap:9px;cursor:pointer;margin:2px 0 20px}.check-row input{position:absolute;opacity:0}.custom-check{width:19px;height:19px;border:1px solid #ddc9c4;border-radius:6px;display:grid;place-items:center;color:transparent}.check-row input:checked+.custom-check{background:var(--rose);border-color:var(--rose);color:white}.check-row small{font-weight:400;color:var(--muted)}.submit-button{position:relative;width:100%;display:flex;justify-content:center;gap:12px;border:0;border-radius:13px;padding:14px 20px;background:var(--rose);color:white;font-weight:700;cursor:pointer;box-shadow:0 8px 22px rgba(185,94,107,.22);transition:.2s}.submit-button:hover{background:var(--rose-dark);transform:translateY(-1px)}.submit-button:disabled{opacity:.65;cursor:wait}.form-footnote{text-align:center!important;font-size:10px!important;color:#9c9296!important;margin:12px 0 0!important}.success-state{text-align:center;padding:55px 10px}.success-heart{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:var(--blush);color:var(--rose-dark);font-size:32px;margin:0 auto 22px}.success-state p{color:var(--muted);line-height:1.6}.soft-button{display:inline-block;border:1px solid var(--line);background:white;color:var(--ink);padding:10px 15px;border-radius:11px;text-decoration:none;cursor:pointer;font-weight:600}.history-section{padding:90px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:35px}.section-heading h2{font-size:39px}.filters{display:flex;padding:4px;background:#f4ebe6;border-radius:12px}.filters button{border:0;background:transparent;padding:8px 13px;border-radius:9px;font-size:12px;cursor:pointer;color:var(--muted)}.filters button.active{background:white;color:var(--ink);box-shadow:0 2px 10px rgba(50,30,30,.07)}.notes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.note-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 8px 26px rgba(70,45,45,.05)}.note-top,.note-bottom{display:flex;justify-content:space-between;align-items:center}.note-mood{font-size:25px}.status{border-radius:20px;padding:5px 9px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.status-new{background:#f8e7cc;color:#9c671e}.status-seen{background:#e2edf5;color:#4c728b}.status-resolved{background:#dfeede;color:#527650}.note-card h3{font-family:Fraunces,serif;margin:16px 0 8px}.note-card>p{font-size:13px;color:var(--muted);line-height:1.65;min-height:64px}.note-bottom{border-top:1px solid #f0e8e4;padding-top:14px;margin-top:18px;font-size:9px;color:#988e92}.response{background:#fdf1f1;border-radius:12px;padding:12px;margin-top:14px}.response strong{font-size:10px;color:var(--rose-dark)}.response p{font-size:12px;margin:5px 0}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #decfc9;border-radius:20px;padding:55px}.empty-state>span{font-size:35px}.empty-state h3{font-family:Fraunces,serif;font-size:24px;margin:10px}.empty-state p{color:var(--muted);font-size:13px}footer{border-top:1px solid var(--line);padding:25px 0 38px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}footer a{color:var(--muted)}.toast{position:fixed;right:24px;bottom:24px;background:var(--ink);color:white;padding:13px 18px;border-radius:12px;font-size:12px;transform:translateY(80px);opacity:0;transition:.3s}.toast.show{transform:none;opacity:1}
.admin-body{min-height:100vh;background:#fbf5f1}.admin-main{padding:50px 0 100px}.login-card{max-width:440px;margin:50px auto;background:white;border:1px solid var(--line);padding:45px;border-radius:25px;box-shadow:var(--shadow);text-align:center}.login-icon{font-size:38px;color:var(--rose);display:block;margin-bottom:14px}.login-card h1{font-size:43px;margin:7px 0 10px}.login-card>p{font-size:13px;color:var(--muted);margin-bottom:30px}.login-card form{text-align:left}.login-card .submit-button{margin:18px 0}.login-card>a{color:var(--muted);font-size:11px}.error-text{font-size:11px;display:block;margin-top:6px}.admin-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.admin-heading h1{font-size:54px;margin:5px 0}.admin-heading p{color:var(--muted);margin:0}.admin-list{display:grid;gap:18px}.admin-note{background:white;border:1px solid var(--line);border-left:4px solid var(--peach);border-radius:18px;padding:22px}.admin-note.urgency-big{border-left-color:var(--rose)}.admin-note.urgency-little{border-left-color:var(--sage)}.admin-note-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f1e9e5;padding-bottom:14px}.admin-note-head>div{display:flex;align-items:center;gap:10px}.admin-note-head time{font-size:10px;color:var(--muted)}.admin-note-body{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding-top:22px}.admin-message{font-family:Fraunces,serif;font-size:20px;line-height:1.55}.talk-callout{display:inline-block;background:var(--blush);color:var(--rose-dark);padding:7px 10px;border-radius:10px;font-size:11px}.care-form textarea{min-height:85px}.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.tiny-button{border:0;background:#f5efeb;border-radius:10px;padding:10px 12px;font-size:11px;cursor:pointer}.resolved-button{background:#e1eee0;color:#4a7049}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:50px;padding-top:30px}.hero-copy{text-align:center}.hero-copy>p{margin-inline:auto}.promise-row{justify-content:center}.notes-grid{grid-template-columns:repeat(2,1fr)}.admin-note-body{grid-template-columns:1fr}}
@media(max-width:600px){.shell{width:min(100% - 24px,1160px)}.topbar{height:86px}.hero{padding:28px 0 65px}.hero h1{font-size:49px}.hero-copy>p{font-size:15px}.promise-row{gap:15px;align-items:flex-start}.promise{display:block;text-align:center}.promise>span{margin:0 auto 7px}.complaint-card{padding:28px 20px;border-radius:22px}.field-row{grid-template-columns:1fr;gap:0}.mood-grid{gap:4px}.mood-option .mood-face{font-size:21px;padding:8px 1px}.section-heading,.admin-heading{display:block}.filters{margin-top:20px;overflow:auto}.notes-grid{grid-template-columns:1fr}.history-section{padding:65px 0}.section-heading h2{font-size:31px}.admin-main{padding-top:25px}.login-card{padding:32px 24px;margin-top:20px}.admin-heading .soft-button{margin-top:18px}.admin-note{padding:16px}.admin-note-head{align-items:flex-start}.admin-note-head time{text-align:right}.admin-actions{display:grid;grid-template-columns:1fr 1fr}.admin-actions .soft-button{grid-column:1/-1;text-align:center}footer{display:block;text-align:center}footer a{display:block;margin-top:8px}}

/* Small-phone layout */
@media(max-width:480px){
  body{min-width:0}.shell{width:calc(100% - 28px)}
  .topbar{height:76px}.brand-mark{width:39px;height:39px;font-size:22px}.brand{font-size:11px}.brand strong{font-size:15px}.history-link{font-size:12px;white-space:nowrap}
  .hero{display:block;min-height:0;padding:24px 0 54px}.hero-copy{text-align:left}.eyebrow{font-size:9px;margin-bottom:17px}.hero h1{font-size:clamp(42px,13vw,56px);line-height:1.04;margin-bottom:18px}.hero-copy>p{font-size:14px;line-height:1.65;margin:0}
  .promise-row{justify-content:flex-start;margin:28px 0 38px;gap:24px}.promise{text-align:left;display:flex;min-width:0}.promise>span{width:36px;height:36px;margin:0;flex:0 0 auto}.promise small{font-size:9px}.promise strong{font-size:11px}
  .complaint-card{padding:25px 17px 22px;border-radius:20px;box-shadow:0 16px 45px rgba(90,59,59,.12)}.complaint-card:before{inset:7px;border-radius:16px}.card-heading{margin-bottom:22px}.card-heading h2{font-size:27px}.doodle{font-size:27px}
  .mood-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:22px}.mood-option .mood-face{font-size:24px;padding:9px 2px}.mood-option>span:last-child{font-size:9px}.mood-option:nth-child(4){grid-column:1/2}.mood-option:nth-child(5){grid-column:2/3}
  form label{font-size:11px}select,input[type=password],textarea{font-size:16px;padding:13px 12px}textarea{min-height:128px}.check-row{align-items:flex-start;line-height:1.4}.custom-check{flex:0 0 19px}.submit-button{min-height:49px;font-size:13px}
  .history-section{padding:55px 0}.section-heading h2{font-size:29px}.filters{display:grid;grid-template-columns:repeat(4,1fr);width:100%;padding:3px}.filters button{padding:9px 5px;font-size:10px}.note-card{padding:18px;border-radius:16px}.note-card>p{min-height:0}.note-bottom{gap:8px;line-height:1.35}.note-bottom span:last-child{text-align:right}.empty-state{padding:40px 18px}
  .success-state{padding:40px 5px}.success-state h2{font-size:27px}
  .admin-main{padding-bottom:60px}.login-card{margin:15px auto;padding:28px 20px}.login-card h1{font-size:36px}.admin-heading h1{font-size:43px}.admin-note-head{gap:12px}.admin-note-body{gap:22px}.admin-message{font-size:18px}.care-form textarea{min-height:110px}.admin-actions{grid-template-columns:1fr}.admin-actions .soft-button{grid-column:auto}.admin-actions button{width:100%;min-height:44px}
  .toast{left:14px;right:14px;bottom:14px;text-align:center}
}

/* Shared boundaries list */
.boundaries-section{padding:92px 0 25px}.boundaries-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center;background:#f3e9e0;border-radius:28px;padding:52px 58px;position:relative;overflow:hidden}.boundaries-card:after{content:'♡';position:absolute;right:-18px;top:-55px;color:rgba(255,255,255,.45);font-family:Fraunces,serif;font-size:190px;transform:rotate(15deg);pointer-events:none}.boundaries-intro,.boundary-list-wrap{position:relative;z-index:1}.boundaries-intro h2,.admin-boundaries h2{font-family:Fraunces,serif;font-size:38px;margin:7px 0 13px}.boundaries-intro>p{color:var(--muted);font-size:14px;line-height:1.65;margin-bottom:26px}.boundary-form label{font-size:11px}.boundary-input-row{display:flex;background:white;border:1px solid var(--line);padding:5px;border-radius:13px}.boundary-input-row input{width:100%;min-width:0;border:0;background:transparent;border-radius:9px;color:var(--ink);padding:10px 12px;font:inherit;font-size:13px;outline:none}.boundary-input-row button{border:0;background:var(--ink);color:white;border-radius:9px;padding:9px 14px;white-space:nowrap;cursor:pointer;font-weight:700}.boundary-input-row button:disabled{opacity:.55}.boundary-error{display:block;min-height:17px;color:#b54554;font-size:10px;margin-top:5px}.boundary-list-wrap{background:rgba(255,253,251,.9);border:1px solid rgba(255,255,255,.8);border-radius:19px;padding:22px 24px;box-shadow:0 12px 35px rgba(89,61,52,.08)}.list-title{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--rose-dark);padding-bottom:13px;border-bottom:1px solid var(--line)}.list-title span:last-child,.boundary-count{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--blush);font-size:10px}.boundary-list{list-style:none;padding:0;margin:7px 0 0;max-height:300px;overflow:auto;counter-reset:boundary}.boundary-list li{counter-increment:boundary;display:flex;align-items:flex-start;gap:11px;padding:12px 2px;border-bottom:1px solid #eee4df;font-size:13px;line-height:1.45}.boundary-list li:last-child{border:0}.boundary-number:before{content:counter(boundary);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f7dfd8;color:var(--rose-dark);font-size:9px;font-weight:700}.boundary-copy{flex:1;min-width:0;overflow-wrap:anywhere}.boundary-delete{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:#a78f92;font-size:20px;line-height:1;cursor:pointer;transition:.2s}.boundary-delete:hover,.boundary-delete:focus-visible{background:var(--blush);color:var(--rose-dark);outline:none}.boundary-delete:disabled{opacity:.4}.boundary-empty{color:var(--muted);font-style:italic}.boundary-empty:before{display:none}.admin-boundaries{background:#f3e9e0;border:1px solid #e8d8cf;border-radius:18px;padding:24px 27px;margin-bottom:25px}.admin-boundaries-title{display:flex;justify-content:space-between;align-items:center}.admin-boundaries h2{font-size:27px;margin-bottom:0}.admin-boundaries ol{margin:20px 0 0;padding-left:22px;columns:2;column-gap:45px}.admin-boundaries li{break-inside:avoid;padding:6px 8px;font-size:13px;line-height:1.45}.admin-boundaries-empty{color:var(--muted);font-size:12px;margin:14px 0 0}

@media(max-width:900px){.boundaries-card{grid-template-columns:1fr;gap:30px}.admin-boundaries ol{columns:1}}
@media(max-width:480px){.boundaries-section{padding:55px 0 0}.boundaries-card{padding:28px 17px;border-radius:20px;gap:24px}.boundaries-intro h2{font-size:30px}.boundaries-intro>p{font-size:13px}.boundary-input-row{display:grid;grid-template-columns:1fr auto}.boundary-input-row input{font-size:16px}.boundary-input-row button{padding-inline:11px}.boundary-list-wrap{padding:18px 16px}.boundary-list{max-height:260px}.boundary-list li{font-size:12px}.admin-boundaries{padding:20px 17px}.admin-boundaries h2{font-size:24px}}

/* Heart-note types */
.note-controls{display:flex;align-items:center;gap:8px}.note-delete{display:grid;place-items:center;width:27px;height:27px;border:1px solid transparent;border-radius:50%;background:transparent;color:#a68f94;font-size:19px;line-height:1;cursor:pointer;transition:.2s}.note-delete:hover,.note-delete:focus-visible{border-color:#efc4c8;background:#fbe6e8;color:#ad4f5b;outline:none}.note-delete:disabled{opacity:.4;cursor:wait}
.type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:22px}.type-option{margin:0;cursor:pointer}.type-option input{position:absolute;opacity:0}.type-option span{display:grid;place-items:center;text-align:center;min-height:48px;padding:7px 5px;border:1px solid var(--line);border-radius:12px;background:#fffaf7;color:var(--muted);font-size:10px;line-height:1.25;transition:.2s}.type-option input:checked+span{background:var(--blush);border-color:#e9abb2;color:var(--ink);transform:translateY(-1px)}.note-type{display:inline-block;border-radius:20px;padding:4px 8px;font-size:9px;font-weight:700;margin-top:12px;background:#eee;color:#665}.type-happy{background:#fff0b8;color:#8a6810}.type-excited{background:#eadcff;color:#65469c}.type-grateful{background:#e1f0d8;color:#557642}.type-love{background:#f9dce5;color:#a34d68}.type-complaint{background:#e2eaf1;color:#536c80}.note-card .note-type+h3{margin-top:9px}
@media(max-width:480px){.type-grid{grid-template-columns:repeat(2,1fr)}.mood-grid{grid-template-columns:repeat(5,1fr)}.mood-option:nth-child(4),.mood-option:nth-child(5){grid-column:auto}.mood-option .mood-face{font-size:20px}.mood-option>span:last-child{font-size:8px}}

/* Navigation, gift-card game, and role dashboards */
.site-nav{display:flex;align-items:center;gap:18px}.site-nav a{color:var(--muted);font-size:12px;font-weight:600;text-decoration:none}.site-nav a:hover,.site-nav a.active{color:var(--rose-dark)}.site-nav form{margin:0}.gift-body{min-height:100vh;background:linear-gradient(135deg,#fffaf6 0%,#f9ecea 55%,#edf3e8 100%)}.gift-main{min-height:calc(100vh - 106px);display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center;padding:50px 0 100px}.gift-intro h1{font-family:Fraunces,serif;font-size:clamp(50px,6vw,76px);line-height:1.03;letter-spacing:-.04em;margin:10px 0 20px}.gift-intro h1 em{color:var(--rose-dark)}.gift-intro>p{color:var(--muted);line-height:1.7;max-width:510px}.gift-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:30px 0 16px}.gift-settings label{font-size:11px;font-weight:700}.gift-settings select{margin-top:8px}.gift-shuffle{max-width:390px}.gift-error{color:#b54554;font-size:12px}.deck-stage{position:relative;min-height:510px;display:grid;place-items:center;perspective:1200px}.deck-shadow,.gift-card{position:absolute;width:min(390px,85vw);height:480px;border-radius:30px}.deck-shadow{background:#f0c8c5;border:1px solid rgba(255,255,255,.8)}.back-one{transform:rotate(6deg) translate(12px,6px)}.back-two{background:#dce8d6;transform:rotate(-6deg) translate(-12px,10px)}.gift-card{transform-style:preserve-3d;transition:transform .75s cubic-bezier(.2,.8,.2,1);box-shadow:0 30px 80px rgba(89,54,60,.19)}.gift-card.shuffling{animation:cardShuffle .65s ease}.gift-card.revealed{transform:rotateY(180deg)}.gift-card-back,.gift-card-front{position:absolute;inset:0;backface-visibility:hidden;border-radius:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:45px;border:1px solid var(--line);background:var(--paper)}.gift-card-back{background:linear-gradient(145deg,#d97c88,#be6270);color:white}.gift-card-back>span{font-size:60px}.gift-card-back strong{font-family:Fraunces,serif;font-size:31px;margin:22px 0 8px}.gift-card-back small{opacity:.82}.gift-card-front{transform:rotateY(180deg);background:#fffdfb}.gift-emoji{font-size:65px;margin-bottom:22px}.gift-card-front h2{font-family:Fraunces,serif;font-size:36px;margin:10px 0 15px}.gift-card-front p{color:var(--muted);line-height:1.65}.gift-assignee{margin-top:22px;padding:9px 14px;border-radius:20px;background:var(--blush);font-size:11px;font-weight:700;color:var(--rose-dark)}@keyframes cardShuffle{25%{transform:translateX(-55px) rotate(-7deg)}50%{transform:translateX(55px) rotate(7deg)}75%{transform:translateX(-25px) rotate(-3deg)}}.dashboard-section{margin:28px 0 55px}.dashboard-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.dashboard-title h2{font-family:Fraunces,serif;font-size:32px;margin:6px 0 0}.task-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.task-card{display:grid;grid-template-columns:auto 1fr;gap:16px;background:white;border:1px solid var(--line);border-radius:18px;padding:21px;align-items:start}.task-card form{grid-column:2}.task-emoji{font-size:31px}.task-card h3{font-family:Fraunces,serif;margin:5px 0 7px;font-size:20px}.task-card p{color:var(--muted);font-size:12px;line-height:1.55;margin:0 0 10px}.task-card small{color:#a09297;font-size:9px}.task-done{opacity:.62}.task-done h3{text-decoration:line-through}.admin-note-body.single-column{grid-template-columns:1fr}
@media(max-width:900px){.gift-main{grid-template-columns:1fr;gap:30px}.gift-intro{text-align:center}.gift-intro>p,.gift-shuffle{margin-left:auto;margin-right:auto}.gift-settings{max-width:520px;margin-left:auto;margin-right:auto}.site-nav{gap:10px}.task-grid{grid-template-columns:1fr}}
@media(max-width:600px){.topbar:has(.site-nav){height:auto;min-height:86px;padding:12px 0;align-items:flex-start}.topbar .site-nav{flex-wrap:wrap;justify-content:flex-end;max-width:65%;gap:7px 12px}.site-nav a,.site-nav .history-link{font-size:10px}.gift-main{padding-top:35px}.gift-intro h1{font-size:45px}.gift-settings{grid-template-columns:1fr}.deck-stage{min-height:430px}.deck-shadow,.gift-card{height:400px}.gift-card-back,.gift-card-front{padding:30px}.gift-card-front h2{font-size:29px}.task-card{grid-template-columns:auto 1fr}.dashboard-title h2{font-size:27px}}
.gift-rules{display:grid;gap:10px;margin:27px 0}.gift-rules>div{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.65);border:1px solid var(--line);border-radius:14px;padding:12px}.gift-rules b{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--blush);color:var(--rose-dark)}.gift-rules span span,.gift-rules strong,.gift-rules small{display:block}.gift-rules small{color:var(--muted);margin-top:2px}.dashboard-choice{display:flex;gap:10px;align-items:center}.dashboard-choice .submit-button{width:auto;text-decoration:none}.instruction-card .gift-card-back{transform:none}.round-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.round-card{background:white;border:1px solid var(--line);border-radius:20px;padding:24px;text-align:center;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center}.round-card h3{font-family:Fraunces,serif;font-size:23px;margin:9px 0}.round-card p{color:var(--muted);font-size:12px;line-height:1.55}.round-card .submit-button{margin-top:12px}.round-error{color:#b54554;margin-top:8px}.mini-deck{position:relative;width:80px;height:70px;margin-bottom:18px}.mini-deck i{position:absolute;inset:3px 9px;border-radius:9px;background:var(--rose);border:2px solid white;box-shadow:0 5px 12px rgba(80,40,50,.12)}.mini-deck i:nth-child(1){transform:rotate(-12deg) translateX(-12px)}.mini-deck i:nth-child(3){transform:rotate(12deg) translateX(12px)}.is-shuffling .mini-deck{animation:cardShuffle .65s ease}.selected-mark{font-size:42px;color:var(--rose)}.round-drawn{background:#fff9f6;border-color:#eccfd0}.create-round-section{background:#f3e9e0;border-radius:22px;padding:32px}.create-round-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.create-round-form fieldset{min-width:0;margin:0;border:1px solid var(--line);background:white;border-radius:16px;padding:20px;box-shadow:0 5px 18px rgba(70,45,45,.04)}.create-round-form legend{font-family:Fraunces,serif;font-size:17px;font-weight:700;padding:0 8px;margin-left:-2px}.create-round-form label{display:block;margin:0 0 16px;font-size:11px}.create-round-form label:last-of-type{margin-bottom:0}.create-round-form input,.create-round-form textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);background:#fffaf7;border-radius:11px;color:var(--ink);padding:12px 13px;font:inherit;font-size:13px;outline:none;transition:.2s}.create-round-form input:focus,.create-round-form textarea:focus{border-color:var(--rose);box-shadow:0 0 0 3px rgba(219,126,136,.12)}.create-round-form textarea{min-height:112px;resize:vertical;line-height:1.5}.create-round-form .submit-button{grid-column:1/-1;max-width:405px;justify-self:center;margin-top:2px}.sent-rounds{display:grid;gap:8px}.sent-rounds>div{display:flex;justify-content:space-between;background:white;border:1px solid var(--line);border-radius:12px;padding:13px 16px}.sent-rounds small{color:var(--muted)}.dashboard-alert{padding:12px 16px;border-radius:12px;background:#fae6e7}.success-alert{background:#e2efdf;color:#4d7049}.round-drawn small{color:var(--muted)}
@media(max-width:900px){.round-grid{grid-template-columns:1fr 1fr}.create-round-form{grid-template-columns:1fr}}
@media(max-width:600px){.round-grid{grid-template-columns:1fr}.dashboard-choice{align-items:stretch;flex-direction:column}.dashboard-choice .submit-button,.dashboard-choice .soft-button{text-align:center}.create-round-section{padding:20px 15px}.sent-rounds>div{display:grid;gap:4px}}
.gallery-main{padding:65px 0 100px}.gallery-heading{text-align:center;max-width:650px;margin:0 auto 45px}.gallery-heading h1{font-family:Fraunces,serif;font-size:58px;margin:8px 0 12px}.gallery-heading p{color:var(--muted);line-height:1.7}.gallery-grid{columns:3;column-gap:18px}.gallery-item{break-inside:avoid;margin:0 0 18px;background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 8px 28px rgba(70,45,45,.06)}.gallery-item img{display:block;width:100%;height:auto}.gallery-item figcaption{padding:13px 15px}.gallery-item figcaption strong,.gallery-item figcaption span{display:block}.gallery-item figcaption strong{font-family:Fraunces,serif;margin-bottom:5px}.gallery-item figcaption span{font-size:9px;color:var(--muted)}.memory-section,.poetry-section{background:#f3e9e0;border-radius:22px;padding:28px}.memory-layout,.poetry-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:25px}.memory-form,.poetry-form{background:white;border:1px solid var(--line);border-radius:16px;padding:20px;height:max-content}.memory-form input[type=file],.memory-form input[type=text],.poetry-form input{width:100%;border:1px solid var(--line);border-radius:11px;background:#fffaf7;padding:12px;font:inherit;margin-top:7px}.memory-form label,.poetry-form label{margin-bottom:16px}.memory-form small{display:block;color:var(--muted);font-size:9px;line-height:1.5;margin-top:10px}.gallery-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gallery-preview figure{margin:0;background:white;border-radius:13px;overflow:hidden}.gallery-preview img{width:100%;height:180px;object-fit:cover;display:block}.gallery-preview figcaption{padding:9px;font-size:10px}.gallery-preview figcaption small{display:block;color:var(--muted);margin-top:4px}.gallery-preview .empty-state{grid-column:1/-1}.poetry-form textarea{min-height:180px}.poem-list{display:grid;gap:12px;max-height:650px;overflow:auto}.poem-card{background:#fffdfb;border:1px solid var(--line);border-radius:16px;padding:22px}.poem-card h3{font-family:Fraunces,serif;font-size:23px;margin:7px 0 12px}.poem-card p{white-space:normal;line-height:1.8;color:#554b50}.poem-card time{font-size:9px;color:var(--muted)}
@media(max-width:900px){.gallery-grid{columns:2}.memory-layout,.poetry-layout{grid-template-columns:1fr}.gallery-preview img{height:220px}}
@media(max-width:600px){.gallery-main{padding-top:35px}.gallery-heading h1{font-size:43px}.gallery-grid{columns:1}.memory-section,.poetry-section{padding:20px 15px}.gallery-preview{grid-template-columns:1fr}.gallery-preview img{height:auto}}
.role-login-wrap{min-height:100vh;display:grid;place-items:center;padding:35px 0}.role-login{margin:0}.role-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.role-options label{margin:0;cursor:pointer}.role-options input{position:absolute;opacity:0}.role-options span{display:grid;place-items:center;min-height:56px;border:1px solid var(--line);border-radius:13px;background:#fffaf7;font-size:14px}.role-options input:checked+span{background:var(--blush);border-color:#e9abb2;color:var(--rose-dark)}.signed-in-as{padding:6px 9px;border-radius:15px;background:var(--blush);font-size:10px;font-weight:700;color:var(--rose-dark)}
.music-toggle{position:fixed;right:20px;bottom:20px;z-index:1000;display:flex;align-items:center;gap:8px;border:1px solid rgba(219,126,136,.3);border-radius:999px;padding:10px 14px;background:rgba(255,253,251,.94);color:var(--rose-dark);box-shadow:0 10px 30px rgba(90,59,59,.16);backdrop-filter:blur(9px);cursor:pointer;font:600 11px 'DM Sans',sans-serif;transition:.2s}.music-toggle:hover{transform:translateY(-2px);box-shadow:0 13px 34px rgba(90,59,59,.2)}.music-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--blush);font-size:14px}.music-toggle.is-playing .music-icon{animation:musicPulse 2.2s ease-in-out infinite}@keyframes musicPulse{50%{transform:scale(1.12);background:#f2c6ca}}@media(max-width:600px){.music-toggle{right:13px;bottom:13px;padding:9px}.music-label{display:none}}

/* Consistent note reply actions */
.care-form textarea{display:block;margin-bottom:12px}.care-form .admin-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch}.care-form .admin-actions button,.care-form .admin-actions .soft-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:43px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:11px;font-size:11px;font-weight:700;line-height:1.2;text-align:center;white-space:nowrap;cursor:pointer}.care-form .admin-actions .soft-button{background:#fff;color:var(--ink)}.care-form .admin-actions .tiny-button{background:#f5efeb;color:var(--ink)}.care-form .admin-actions .resolved-button{background:#e1eee0;border-color:#d7e8d5;color:#4a7049}.care-form .admin-actions button:hover{transform:translateY(-1px);filter:brightness(.98)}
@media(max-width:480px){.care-form .admin-actions{grid-template-columns:1fr}.care-form .admin-actions button,.care-form .admin-actions .soft-button{min-height:45px}}

/* Complete responsive pass */
img,video{max-width:100%;height:auto}input,select,textarea,button{max-width:100%}.hero>*,.admin-note-body>*,.memory-layout>*,.poetry-layout>*,.gift-main>*,.task-card>*,.round-card,.create-round-form fieldset{min-width:0}
@media(max-width:768px){
  .shell{width:min(100% - 28px,1160px)}
  .topbar{height:auto;min-height:82px;padding:12px 0;gap:12px;align-items:center;flex-wrap:wrap}
  .topbar .brand{flex:0 0 auto}.topbar .site-nav{display:flex;flex:1 1 100%;max-width:none;order:2;justify-content:flex-start;gap:7px;overflow-x:auto;padding:4px 0 7px;scrollbar-width:none}.topbar .site-nav::-webkit-scrollbar{display:none}.site-nav a,.site-nav .history-link,.signed-in-as{flex:0 0 auto;white-space:nowrap;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.72);font-size:10px}.site-nav form{flex:0 0 auto}.site-nav form .history-link{min-height:34px}
  .hero{grid-template-columns:1fr;min-height:0;gap:38px;padding:42px 0 62px}.hero-copy{text-align:center}.hero h1{font-size:clamp(43px,10vw,64px)}.hero-copy>p{font-size:16px;margin-inline:auto}.promise-row{justify-content:center;flex-wrap:wrap;margin-top:30px}
  .complaint-card{width:100%;max-width:620px;margin-inline:auto;padding:30px 24px}.type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mood-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.mood-option .mood-face{font-size:22px}
  .boundaries-section{padding-top:65px}.boundaries-card{grid-template-columns:1fr;gap:28px;padding:35px 28px}.boundary-list{max-height:none}
  .section-heading,.admin-heading,.dashboard-title{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}.section-heading>div:first-child,.admin-heading>div:first-child,.dashboard-title>div:first-child{flex:1 1 260px}.filters{width:100%;overflow-x:auto}.filters button{flex:1;white-space:nowrap}.notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-main{padding-top:32px}.admin-heading h1{font-size:46px}.admin-heading>.soft-button{margin:0}.admin-note-body{grid-template-columns:1fr;gap:24px}.admin-note-head{gap:12px}.admin-note-head>div{min-width:0;flex-wrap:wrap}.admin-note-head time{flex:0 0 auto;text-align:right}.admin-boundaries ol{columns:1}
  .gift-main{grid-template-columns:1fr;min-height:0;gap:35px;padding:45px 0 75px}.gift-intro{text-align:center}.gift-intro h1{font-size:clamp(43px,10vw,64px)}.gift-intro>p{margin-inline:auto}.gift-rules{text-align:left;max-width:590px;margin-inline:auto}.dashboard-choice{justify-content:center}.deck-stage{min-height:440px}.deck-shadow,.gift-card{width:min(350px,82vw);height:420px}
  .round-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.create-round-form{grid-template-columns:1fr}.create-round-form .submit-button{grid-column:1}.task-grid{grid-template-columns:1fr}
  .memory-layout,.poetry-layout{grid-template-columns:1fr}.gallery-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-preview img{height:160px}.poem-list{max-height:none}
  .gallery-grid{columns:2}.gallery-heading h1{font-size:50px}
  .login-card{width:min(100%,480px);margin:25px auto;padding:36px 28px}.role-login-wrap{padding:24px 0}.role-login h1{font-size:clamp(36px,9vw,48px)}
  footer{gap:12px;flex-wrap:wrap}.music-toggle{right:14px;bottom:14px}
}
@media(max-width:520px){
  .shell{width:calc(100% - 22px)}
  .topbar{padding:10px 0}.brand-mark{width:38px;height:38px}.brand strong{font-size:15px}.topbar .site-nav{margin-inline:-2px;padding-bottom:5px}
  .hero{padding:30px 0 50px}.hero-copy{text-align:left}.hero h1{font-size:44px}.hero-copy>p{font-size:14px}.promise-row{justify-content:flex-start;gap:15px}.promise{flex:1 1 135px}.promise small{font-size:9px}
  .complaint-card{padding:25px 17px}.card-heading h2{font-size:26px}.type-grid{gap:7px}.type-option span{min-height:50px}.mood-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.mood-option .mood-face{font-size:19px;padding:8px 1px}.mood-option>span:last-child{font-size:7px;overflow:hidden;text-overflow:ellipsis}.field-row{grid-template-columns:1fr}.check-row{align-items:flex-start}
  .boundaries-section{padding-top:48px}.boundaries-card{padding:27px 17px}.boundaries-intro h2{font-size:29px}.boundary-input-row{grid-template-columns:minmax(0,1fr) auto}.boundary-list-wrap{padding:18px 15px}
  .history-section{padding:52px 0}.section-heading h2{font-size:29px}.filters{display:flex}.filters button{min-width:68px}.notes-grid{grid-template-columns:1fr}.note-card{padding:18px}.note-top{gap:8px}.note-controls{gap:5px}.status{font-size:8px;padding:5px 7px}
  .admin-main{padding:25px 0 60px}.admin-heading{display:block}.admin-heading h1{font-size:39px}.admin-heading>.soft-button{display:inline-block;margin-top:16px}.dashboard-title{align-items:center}.dashboard-title h2{font-size:26px}.dashboard-section{margin:22px 0 42px}.admin-note{padding:15px}.admin-note-head{align-items:flex-start}.admin-note-head time{font-size:8px}.admin-message{font-size:18px}.care-form .admin-actions{grid-template-columns:1fr}.create-round-section,.memory-section,.poetry-section{padding:20px 14px;border-radius:18px}.create-round-form{gap:14px}.create-round-form fieldset{padding:17px 14px}.create-round-form input,.create-round-form textarea{font-size:16px}.round-grid{grid-template-columns:1fr}.round-card{min-height:265px}.sent-rounds>div{display:grid;gap:5px}.sent-rounds small{font-size:9px}
  .gift-main{padding:32px 0 58px}.gift-intro{text-align:left}.gift-intro h1{font-size:43px}.gift-rules>div{align-items:flex-start}.dashboard-choice{align-items:stretch;flex-direction:column}.dashboard-choice .submit-button,.dashboard-choice .soft-button{width:100%;text-align:center}.deck-stage{min-height:365px}.deck-shadow,.gift-card{height:350px;width:min(300px,80vw)}.gift-card-back,.gift-card-front{padding:24px}.gift-card-back>span{font-size:44px}.gift-card-back strong{font-size:25px}.gift-card-front h2{font-size:27px}.gift-emoji{font-size:48px}
  .gallery-main{padding:35px 0 65px}.gallery-heading{margin-bottom:30px}.gallery-heading h1{font-size:42px}.gallery-grid{columns:1}.gallery-preview{grid-template-columns:1fr}.gallery-preview img{height:auto;max-height:360px}.memory-form,.poetry-form{padding:17px}.poetry-form textarea{min-height:155px}
  .login-card{margin:12px auto;padding:29px 20px}.role-options{grid-template-columns:1fr;gap:8px}.role-options span{min-height:50px}.login-card .submit-button{min-height:48px}
  footer{text-align:center;justify-content:center;display:flex}.music-toggle{right:11px;bottom:11px;padding:9px}.music-label{display:none}
}
@media(max-width:360px){
  .shell{width:calc(100% - 16px)}.hero h1,.gift-intro h1{font-size:38px}.complaint-card{padding-inline:13px}.mood-option .mood-face{font-size:17px}.note-delete{width:25px;height:25px}.create-round-section,.memory-section,.poetry-section{padding-inline:10px}.admin-note-head{display:grid;grid-template-columns:1fr}.admin-note-head time{text-align:left}.deck-shadow,.gift-card{width:270px;height:335px}
}

/* Keep the empty gallery message together instead of splitting it into columns. */
.gallery-grid>.empty-state{column-span:all;break-inside:avoid;display:block;width:100%;max-width:760px;margin:0 auto;padding:60px 24px}.gallery-grid>.empty-state>span{display:block;margin-bottom:8px}.gallery-grid>.empty-state h3{margin:8px 0}.gallery-grid>.empty-state p{margin:0}
@media(max-width:520px){.gallery-grid>.empty-state{padding:42px 18px}}
