@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+U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xMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");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}:root{font-family:Inter Variable,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20332e;background:#f8f7f4;font-synthesis:none;line-height:1.65;--green: #206858;--ink: #20332E;--muted: #75807B;--border: #E8E9E5;--soft: #EFF3EF;--nav-height: 88px}*{box-sizing:border-box}body{margin:0}body{min-height:100svh}#app{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}html{scroll-padding-bottom:calc(var(--nav-height) + 24px + env(safe-area-inset-bottom))}input,textarea{scroll-margin-top:20px;scroll-margin-bottom:28px}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:48px;border:1px solid transparent;border-radius:14px;padding:12px 20px;font-size:15px;line-height:1.5;font-weight:600;transition:background-color .14s ease,border-color .14s ease,color .14s ease}button:active{filter:brightness(.94)}button:focus-visible,a:focus-visible{outline:3px solid #648B7E;outline-offset:4px}input:focus,textarea:focus{outline:2px solid var(--green);outline-offset:3px}header{max-width:1104px;margin:auto;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--border)}.brand{display:flex;gap:14px;align-items:center;color:inherit;text-decoration:none;min-width:0}.brand-icon{display:block;width:48px;height:48px;flex-shrink:0}.brand-copy{display:block;min-width:0}.brand-name{display:block;font-family:Manrope Variable,Manrope,sans-serif;font-size:23px;letter-spacing:1.3px;font-weight:800;line-height:1.3}.brand small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.local-badge{font-size:12px;font-weight:500;color:var(--green);background:var(--soft);padding:8px 14px;border-radius:20px;white-space:nowrap}main{max-width:960px;margin:0 auto;padding:28px 28px calc(48px + var(--nav-height) + env(safe-area-inset-bottom))}h1,h2,h3{font-family:Manrope Variable,Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow-wrap:anywhere}h1{font-size:38px;letter-spacing:-1.2px;line-height:1.2;margin:8px 0 16px;font-weight:750}h2{font-size:21px;font-weight:700;letter-spacing:-.4px;line-height:1.4;margin:0 0 14px}h3{font-size:19px;font-weight:700;line-height:1.45;margin:16px 0 10px;letter-spacing:-.25px}p{overflow-wrap:anywhere}.eyebrow{font-size:11px;line-height:1.6;letter-spacing:1.8px;color:var(--green);font-weight:600;margin:0 0 14px}.subtitle{font-size:16px;color:var(--muted);margin:0 0 24px;max-width:520px}.diary-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.diary-toolbar h2{margin:0;font-size:20px}.diary-toolbar .primary{flex-shrink:0}.primary{background:var(--green);color:#fff}.secondary{background:var(--soft);color:var(--green)}.gentle{background:var(--soft);border:1px solid #E8E9E5;padding:20px 24px;border-radius:16px;font-size:15px;margin:24px 0 36px;color:#486153}.list-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.list-heading h2{margin:0;white-space:nowrap}.count{display:inline-grid;place-items:center;min-width:26px;height:26px;background:#efefec;border-radius:8px;color:var(--muted);font:500 12px Inter Variable,sans-serif;margin-left:8px;vertical-align:middle}input:not([type=range]),textarea{width:100%;border:1px solid #E8E9E5;background:#fff;border-radius:12px;padding:14px 16px;font-size:16px;line-height:1.65;color:var(--ink);transition:border-color .14s ease}input::placeholder,textarea::placeholder{color:#718078;opacity:1}.list-heading input{max-width:none}.entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.entry-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:26px;text-align:left;color:inherit;overflow-wrap:anywhere;box-shadow:0 2px 8px #20332e03}.card-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-weight:400}.badge{padding:4px 10px;background:#f0f4ef;color:#3d6851;border-radius:20px;font-size:11px;font-weight:500}.draft{background:#f4efdf;color:#766335}.entry-card p{font-size:14px;font-weight:400;color:var(--muted);margin:12px 0 22px}.card-link{font-size:13px;font-weight:600;color:var(--green)}.empty{grid-column:1/-1;text-align:center;border:1px solid var(--border);border-radius:20px;padding:44px 24px;background:#fff}.empty p{max-width:440px;margin:0 auto 24px;color:var(--muted);font-size:16px}.empty-icon{display:none}.privacy-note{text-align:center;color:var(--muted);font-size:12px;margin-top:28px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px;background:#fff;border-top:1px solid var(--border);padding:12px 16px calc(12px + env(safe-area-inset-bottom));z-index:2}.bottom-nav button{display:flex;align-items:center;justify-content:center;gap:10px;background:transparent;color:var(--muted);font-size:13px;min-width:178px}.bottom-nav button[aria-current]{background:var(--soft);color:var(--green)}.bottom-nav svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.panel{background:#fff;border:1px solid var(--border);padding:32px;border-radius:20px;margin:24px 0}.panel p{font-size:16px}.panel h2:not(:first-child){margin-top:28px}.panel .gentle{margin-bottom:0}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.editor-heading .eyebrow{margin:0}.text-button{background:transparent;color:var(--green);padding:12px 10px;font-size:14px}.steps{display:flex;justify-content:space-between;gap:8px;margin:28px 0}.steps button{flex:1;background:transparent;padding:4px 2px;color:var(--muted);font-weight:500;min-width:0;border-radius:14px}.steps span{display:grid;place-items:center;width:42px;height:42px;border:1px solid #BDCDC1;border-radius:14px;margin:0 auto 9px;font-family:Manrope Variable,sans-serif;font-weight:700}.steps [aria-current] span{background:var(--green);border-color:var(--green);color:#fff}.steps [aria-current] small{color:var(--green)}.steps small{display:block;font-size:11px;line-height:1.5}.editor{max-width:720px;margin:0 auto}.editor h1{font-size:32px;letter-spacing:-.8px}.field{display:block;margin:28px 0;font-size:16px;font-weight:600}.field input,.field textarea{display:block;margin-top:10px;font-weight:400}textarea{resize:vertical;min-height:148px}.scale{display:flex;align-items:center;gap:20px}.scale input{accent-color:var(--green);flex:1;min-width:0;height:48px;cursor:pointer}.scale output{font-family:Manrope Variable,sans-serif;font-size:26px;font-weight:700;min-width:48px;color:var(--green)}.range-labels{display:flex;justify-content:space-between;gap:10px;font-weight:400;font-size:12px;color:var(--muted);padding-right:68px}#save-status{font-size:12px;color:var(--green);margin:28px 0 20px}.error{color:#a03535!important}.editor-actions{display:flex;justify-content:space-between;gap:12px}.editor-actions button{flex:1}.optional{color:var(--muted);font-size:12px!important;text-align:center;margin-bottom:0}.emotion-reminder{background:var(--soft);padding:14px 16px;border-radius:12px}.review-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.review-heading h2{margin:0}.review-heading h2 span{color:var(--green);margin-right:8px}.answer{white-space:pre-wrap;overflow-wrap:anywhere}.muted{color:var(--muted)}.danger{color:#913d38;background:#f7ebe8}#notice:not(:empty){position:fixed;bottom:calc(var(--nav-height) + 16px + env(safe-area-inset-bottom));left:16px;right:16px;max-width:700px;margin:auto;background:#8d3932;color:#fff;border-radius:14px;padding:18px;z-index:3}@media(hover:hover){.primary:hover{background:#194f44}.secondary:hover,.bottom-nav button:hover,.text-button:hover,.steps button:hover{background:#e7eee8}.entry-card:hover{border-color:#90b09e;background:#fefefc}input:hover,textarea:hover{border-color:#9cb4a5}.danger:hover{background:#f0dcd7}}@media(max-width:650px){:root{--nav-height: 84px}header{padding:22px 20px}.brand{gap:12px}.brand-icon{width:44px;height:44px}.brand-name{font-size:21px;letter-spacing:1px}.brand small{font-size:11px;margin-top:4px}.local-badge{display:none}main{padding:24px 20px calc(40px + var(--nav-height) + env(safe-area-inset-bottom))}h1{font-size:32px;letter-spacing:-.9px}h2{font-size:20px}.diary-toolbar{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px}.diary-toolbar .primary{width:100%;min-height:52px}.gentle{padding:18px 20px;margin:24px 0 30px}.list-heading{display:block}.list-heading input{max-width:none;margin-top:0}.entries{grid-template-columns:1fr;gap:16px}.entry-card{padding:22px}.bottom-nav{gap:2px;padding:8px 6px calc(8px + env(safe-area-inset-bottom))}.bottom-nav button{min-width:0;flex:1;flex-direction:column;gap:5px;padding:9px 0;font-size:10px;line-height:1.5;min-height:64px;border-radius:14px}.panel{padding:24px 20px}.editor-heading{align-items:center;gap:8px}.editor-heading .eyebrow{font-size:10px;letter-spacing:.9px}.editor-heading button{font-size:12px;max-width:130px;flex-shrink:0;padding:10px 8px}.steps{gap:3px;margin:20px 0}.steps small{display:none}.steps span{width:40px;height:40px;margin-bottom:0}.steps button{min-height:48px}.editor h1{font-size:29px}.editor-actions{position:sticky;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));background:#fff;padding:12px 0;margin:0 -4px;z-index:1}.editor-actions button{font-size:13px;padding:12px 8px;min-height:52px}.review-heading h2{font-size:18px}.review-heading button{flex-shrink:0;padding-right:0}.empty{padding:32px 20px}}@media(max-width:359px){header{padding:20px 16px}main{padding-left:16px;padding-right:16px}.brand{gap:10px}.brand-name{font-size:20px;letter-spacing:.8px}.brand small{font-size:10px}.panel{padding:22px 16px}.editor-heading{align-items:flex-start}.editor-heading .eyebrow{max-width:135px;padding-top:10px}.editor-heading button{max-width:119px}.editor h1{font-size:27px}.card-top{font-size:11px}.editor-actions{gap:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.backup-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 12px}.backup-note{color:#626e68;font-size:13px!important}#backup-status{color:var(--green);font-size:14px;margin-bottom:0}#backup-status a{color:var(--green);text-underline-offset:3px}#export-status{font-size:14px;color:var(--green)}#export-status a{display:inline-block;min-height:44px;padding-top:10px;color:var(--green);text-underline-offset:3px}button:disabled{cursor:wait;opacity:.6}dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid var(--border);border-radius:20px;padding:28px;background:#fff;color:var(--ink)}dialog::backdrop{background:#20332e66}dialog fieldset{border:0;padding:0;margin:20px 0;min-width:0}dialog legend{font-weight:600;margin-bottom:12px}.restore-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--border);border-radius:12px;padding:16px;margin:12px 0;cursor:pointer}.restore-option input{accent-color:var(--green);flex:0 0 20px;width:20px;height:20px;margin:4px 0;padding:0;border:0}.restore-option small{display:block;color:#626e68;font-size:13px;margin-top:6px}.restore-warning{background:#f7ebe8;color:#913d38;padding:14px;border-radius:12px}@media(max-width:650px){.backup-actions button{width:100%;min-height:52px}dialog{padding:22px 18px}}header{padding-top:calc(28px + env(safe-area-inset-top))}.bottom-nav{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}#pwa-update{position:fixed;z-index:4;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 12px);left:16px;right:16px;max-width:600px;margin:auto;padding:16px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 2px 12px #20332e0a}#pwa-update p{margin:0 0 12px;font-size:14px}#pwa-update button+button{margin-left:8px}.keyboard-open .bottom-nav{display:none}.keyboard-open .editor-actions{position:static}.keyboard-open #pwa-update{display:none}@media(max-width:650px){header{padding-top:calc(22px + env(safe-area-inset-top))}.bottom-nav{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}}@media(max-width:359px){header{padding-top:calc(20px + env(safe-area-inset-top))}}.event-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 16px;margin:28px 0}.event-fields .field{margin:0}.event-fields input{min-width:0;width:100%;min-height:48px;font-size:16px;box-sizing:border-box}.entry-swipe{position:relative;overflow:hidden;border-radius:20px;touch-action:pan-y pinch-zoom}.entry-swipe.is-open,.entry-swipe.is-dragging{background:#b0443c}.entry-content{position:relative;height:100%;transform:translate(var(--swipe-offset,0px));transition:transform .18s ease}.entry-swipe.is-open .entry-content{--swipe-offset:-104px}.entry-swipe.is-dragging .entry-content{transition:none}.entry-content .entry-card{width:100%;height:100%;margin:0}.entry-content .card-link{display:block;padding-right:40px}.swipe-delete{position:absolute;right:0;top:0;bottom:0;width:104px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:#b0443c;color:#fff;border:0;border-radius:0;font-size:16px}.swipe-delete:disabled{opacity:1;cursor:default}.entry-swipe:not(.is-open):not(.is-dragging) .swipe-delete{visibility:hidden}.swipe-delete svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.card-menu{position:absolute;right:12px;bottom:12px;width:44px;min-height:44px;padding:0;background:#fff;color:#75807b;border:0;border-radius:12px;letter-spacing:2px}.card-menu:hover{background:#f8f7f4;color:#206858}@media(max-width:359px){.event-fields{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.entry-content{transition:none}}.field-group{margin:28px 0}.field-group>.field{margin:0}.field-hint{margin:8px 0 20px;font-size:14px}.field-hint summary,.emotion-picker summary,.free-emotion summary{display:list-item;width:fit-content;min-height:44px;padding:10px 8px;color:var(--green);cursor:pointer;font-weight:600;border-radius:10px}summary:focus-visible{outline:3px solid #648B7E;outline-offset:2px}.hint-content{background:var(--soft);border:1px solid var(--border);border-radius:14px;padding:16px 18px;color:var(--ink);font-size:15px}.hint-content h3{font-size:16px;margin:0 0 8px}.hint-content p{margin:8px 0}.hint-content ul{padding-left:20px;margin:12px 0 0}.hint-content li+li{margin-top:10px}.emotion-editor{margin:28px 0;padding:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.emotion-editor h2{font-size:19px;margin-bottom:4px}.emotion-picker fieldset{min-width:0;border:0;padding:12px 0;margin:0}.emotion-picker legend{font-size:14px;font-weight:600}.emotion-options{display:flex;flex-wrap:wrap;gap:8px}.emotion-options label{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:12px;background:#fff;font-size:15px;cursor:pointer}.emotion-options input[type=checkbox]{width:18px;height:18px;min-width:18px;margin:0;padding:0;accent-color:var(--green)}.emotion-options label:has(input:checked){background:var(--soft);border-color:var(--green)}.custom-emotion{display:flex;gap:8px;align-items:center}.custom-emotion input{min-width:0}.custom-emotion button{flex-shrink:0;padding-left:12px;padding-right:12px}.emotion-rating{margin-top:16px;border:1px solid var(--border);border-radius:14px;padding:14px 16px;background:#fff}.emotion-rating-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;overflow-wrap:anywhere}.emotion-rating-heading label{font-weight:600;min-width:0}.emotion-rating-heading .text-button{flex-shrink:0;padding:8px;font-size:13px}.emotion-rating .scale output{min-width:88px;font-size:14px;text-align:right}.emotion-rating .muted{font-size:14px;white-space:nowrap}@media(max-width:359px){.custom-emotion{align-items:stretch;flex-direction:column}.emotion-rating{padding:12px}.emotion-rating-heading{flex-wrap:wrap}}
