:root{font-family:ui-sans-serif,system-ui,sans-serif;color:#40283b;background:#faf5f2;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{max-width:1100px;margin:auto;padding:40px 24px;display:flex;gap:18px;align-items:center}header h1{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:4px 0}.mark{font-size:50px;color:#a74367}small{font-size:11px;letter-spacing:2px;color:#92506d;font-weight:700}main{max-width:1000px;margin:auto;padding:0 24px 60px}h2{font-family:Georgia,serif;font-weight:400;font-size:30px;margin:0 0 16px}p{color:#725e6a}.panel{background:white;border:1px solid #eddee5;border-radius:24px;padding:32px;box-shadow:0 10px 40px #54334906}#login{max-width:520px;margin:20px auto}label{display:block;font-size:13px;font-weight:650;margin-bottom:18px}input,textarea,select{display:block;width:100%;font:inherit;font-size:16px;color:#40283b;border:1px solid #d8c7d0;border-radius:10px;padding:12px;margin-top:7px;background:#fff}textarea{resize:vertical}button{font:inherit;font-weight:650;border:1px solid #d8c7d0;background:white;color:#743c58;border-radius:100px;padding:11px 22px;cursor:pointer}button:hover{background:#faf0f5}button:disabled{opacity:.5;cursor:wait}.primary{background:#8f3d60;color:white;border-color:#8f3d60}.primary:hover{background:#71304c}input:focus,textarea:focus,select:focus,button:focus-visible{outline:3px solid #dfabc4;outline-offset:2px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.pill{font-size:12px;background:#fbf0d7;padding:8px 14px;border-radius:30px;white-space:nowrap}.hint{font-size:13px}nav{display:flex;gap:10px;align-items:center;margin-bottom:20px;flex-wrap:wrap}nav [aria-pressed=true]{background:#f0dce6;border-color:#f0dce6}#count{margin-left:auto;color:#725e6a;font-size:13px}.actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}#cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.card{background:#fcf3f7;padding:18px;border-radius:16px}.card .emoji{font-size:30px}.card textarea{background:transparent}.card small{letter-spacing:0}.row{display:flex;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid #eee4e9}.row .body{flex:1;min-width:0;overflow-wrap:anywhere}.row p{margin:4px 0;font-size:12px}.row .emoji{font-size:26px}dialog{border:1px solid #ddcad4;border-radius:20px;padding:28px;max-width:600px;width:calc(100% - 32px);max-height:90vh}dialog::backdrop{background:#30202b88}#notice{white-space:pre-wrap;color:#813757;font-weight:600}#logout{margin-left:auto}[hidden]{display:none!important}@media(max-width:600px){header{padding:24px}header h1{font-size:23px}.panel{padding:22px}.heading{display:block}.pill{display:inline-block;margin-bottom:20px}.row{gap:10px}.row button{padding:8px 14px}}
/* Keep native keyboard/accessibility behavior while matching our form styling. */
select{appearance:none;-webkit-appearance:none;min-height:50px;border-radius:12px;background-color:#fffafb;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%238f3d60' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding:12px 44px 12px 14px;box-shadow:0 1px 3px #40283b06;cursor:pointer;font-weight:500}select:hover{border-color:#b87896;background-color:#fff6fa}select:disabled{opacity:.55}.emoji-field{display:flex;align-items:center;gap:8px}.emoji-field input{min-width:0;flex:1;min-height:50px}.emoji-open{margin-top:7px;border-radius:12px;min-height:50px;padding:10px 14px;white-space:nowrap;background:#f8eaf1}.emoji-picker{width:min(440px,calc(100% - 32px));padding:24px}.emoji-picker h2{font-size:26px}.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;max-height:40vh;overflow:auto;padding:3px}.emoji-choice{padding:8px 0;font-size:28px;border-radius:12px;background:#fff8fb;border-color:#efdae5;min-height:48px}.emoji-choice:hover{background:#f2d9e6}.emoji-picker .hint{margin-bottom:18px}@media(forced-colors:active){select{appearance:auto;background-image:none}}@media(max-width:420px){.emoji-grid{grid-template-columns:repeat(5,1fr)}}
/* Fixed-width tracks never let multi-person emoji widen the scrolling panel. */
.emoji-picker{width:min(620px,calc(100% - 24px));max-width:620px;max-height:92dvh;overflow-x:hidden;padding:24px}.emoji-grid{grid-template-columns:repeat(8,minmax(0,1fr));overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;gap:8px;max-height:42dvh}.emoji-cell{position:relative;min-width:0}.emoji-choice{display:block;width:100%;min-width:0;max-width:100%;height:58px;font-size:28px;line-height:1;padding:8px 2px;overflow:hidden;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.emoji-tones{position:absolute;right:0;bottom:0;padding:0;width:24px;height:24px;line-height:20px;border-radius:8px 0 10px 0;background:#f3dfe9;font-size:14px}.emoji-empty{grid-column:1/-1}.tone-picker .emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:20px}.tone-picker{max-width:460px}@media(max-width:480px){.emoji-picker{padding:18px}.emoji-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.tone-picker .emoji-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.emoji-picker h2{font-size:24px}}
