:root{--green:#214b42;--deep:#193f38;--mint:#e5f2ed;--orange:#e99470;--paper:#faf8f4;--ink:#233f36;--muted:#788d85;--line:#e8e9e2;--white:#fff;--shadow:0 15px 34px rgba(33,75,66,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}body.no-scroll{overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{color:var(--ink);accent-color:var(--green)}[hidden]{display:none!important}h1,h2,p{margin-top:0}em{font-style:normal;color:var(--orange)}.shell{max-width:970px;margin:auto;min-height:100dvh;padding:0 24px 105px}.mast{height:88px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:11px;align-items:center}.brand strong{font-family:Cambria,"Times New Roman",serif;display:block;font-size:25px;line-height:1.05;letter-spacing:normal;color:var(--green)}.brand small{font-size:10px;letter-spacing:1.3px;font-weight:800;text-transform:uppercase;color:var(--muted)}.logo{background:var(--green);color:#fff;width:46px;height:46px;display:grid;place-items:center;border-radius:16px;font-size:30px;box-shadow:0 7px 16px #214b4227}.mast-right{display:flex;gap:9px;align-items:center}.mode-badge{font-size:10px;color:#9b6c4b;background:#fff1e6;border-radius:100px;padding:8px 12px;font-weight:800}.circle{border:1px solid var(--line);color:var(--green);background:#fff;border-radius:100px;display:grid;place-items:center;width:37px;height:37px;font-size:22px;line-height:1}.eyebrow,.section-kicker{font-size:10px;font-weight:850;letter-spacing:2.2px;color:#669a87}.welcome{background:var(--green);color:white;min-height:193px;border-radius:24px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:29px 36px;position:relative;overflow:hidden}.welcome:before{content:"";width:270px;height:270px;border:1px solid #ffffff13;border-radius:50%;position:absolute;right:-60px;top:-77px}.welcome .eyebrow{color:#bed8c8}.welcome h1{font:normal clamp(28px,4vw,42px)/1.16 Cambria,"Times New Roman",serif;letter-spacing:normal;margin:11px 0 7px}.welcome p{color:#c5d7cc;margin:0;font-size:12px}.love-symbol{color:#cae0ce;font:normal 125px Cambria,"Times New Roman",serif;opacity:.58;transform:rotate(-14deg);line-height:1}.notice{margin-top:15px;display:flex;align-items:center;gap:12px;background:#fff7ed;border:1px solid #ffe6c9;border-radius:15px;padding:11px 13px}.notice>span{font-size:26px;color:#a66d33}.notice div{flex:1}.notice strong,.notice small{display:block}.notice strong{font-size:12px}.notice small{font-size:10px;color:#936d49}.notice button{border:0;background:#fff;padding:9px 12px;color:#9b6c4b;border-radius:9px;font-size:11px;font-weight:700}.overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}.overview>div{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:17px;padding:17px 20px;box-shadow:var(--shadow)}.overview strong{font:normal 26px Cambria,"Times New Roman",serif}.overview small{font-size:10px;color:var(--muted);font-weight:700}.metric-symbol{font-size:23px;color:#b57f64;margin-right:5px}.card{background:var(--white);border:1px solid var(--line);border-radius:23px;padding:26px 28px;box-shadow:var(--shadow);margin-bottom:18px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:21px}.section-head h2{font:normal 23px Cambria,"Times New Roman",serif;color:var(--green);margin:4px 0 0;letter-spacing:normal}.month-arrows{display:flex;gap:8px}.month-arrows .circle{width:38px;height:38px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.week-label{text-align:center;font-size:11px;font-weight:800;color:#98aaa0;padding-bottom:6px}.date-cell{border:1px solid transparent;background:transparent;border-radius:12px;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#365a4f;position:relative}.date-cell.outside{color:#bbc9c2}.date-cell:hover{background:#f2f7f3}.date-cell.selected{border-color:#abd9c5;background:#e8f5ed}.date-cell.today{background:var(--green);color:white}.date-cell.today .date-lunar{color:#c3ded0}.date-num{font-size:15px;font-weight:750}.date-lunar{font-size:9px;color:#9ab2a3}.date-cell.outside .date-lunar{opacity:.4}.date-cell.has-events:after{content:"";width:5px;height:5px;background:var(--orange);position:absolute;bottom:3px;border-radius:50%}.calendar-legend{display:flex;flex-wrap:wrap;gap:11px;align-items:center;color:var(--muted);font-size:10px;margin:15px 0 3px}.legend-event{color:var(--orange)}.legend-today{width:8px;height:8px;border-radius:50%;background:var(--green)}.lunar-label{margin-left:auto}.day-details{border-top:1px solid var(--line);margin-top:17px;padding-top:12px}.day-details h3{font-size:12px;margin:0 0 10px;color:var(--green)}.day-details p{font-size:12px;color:var(--muted);margin:0}.small-event{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;background:#f7faf6;border-radius:10px;font-size:12px;margin-bottom:6px}.small-event b{font-weight:700}.small-event small{color:var(--muted)}.event-list{display:grid;gap:9px}.event-row{background:#fafbf8;border:1px solid #eef0e9;display:flex;gap:13px;border-radius:15px;padding:13px;align-items:center;width:100%;color:inherit;text-align:left}.event-row:hover{background:#f0f7f1}.date-bubble{flex:none;background:#eaf3e9;color:var(--green);border-radius:12px;min-width:56px;padding:8px 10px;text-align:center}.date-bubble strong{font:normal 20px Cambria,"Times New Roman",serif;display:block;line-height:1}.date-bubble small{font-size:9px;font-weight:850}.event-main{min-width:0;flex:1}.event-main strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-main span{font-size:11px;color:var(--muted)}.event-badge{white-space:nowrap;font-size:10px;color:#9a7756;background:#fff1df;padding:6px 8px;border-radius:30px}.search-row input{width:100%;border:1px solid var(--line);background:#fcfcfa;border-radius:12px;padding:12px 14px;margin-bottom:13px}.soft-label{font-size:11px;color:var(--muted)}.text-btn,.underlined{border:0;background:transparent;color:#44846f;font-size:12px;font-weight:850}.underlined{text-decoration:underline;padding:0}.tip-box{display:flex;gap:13px;align-items:flex-start;background:#eaf3ee;border-radius:16px;padding:19px 21px;margin:19px 0}.tip-box>span{font-size:24px}.tip-box strong{font-size:13px}.tip-box p{font-size:11px;color:#67897b;line-height:1.65;margin:3px 0 10px}.tip-box button{font-size:11px}.bottom-nav{background:white;border-top:1px solid var(--line);position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;height:calc(70px + env(safe-area-inset-bottom));padding:0 6px env(safe-area-inset-bottom);z-index:5;box-shadow:0 -8px 30px #153c3420}.bottom-nav button{width:20%;border:0;background:transparent;color:#86a095;display:flex;flex-direction:column;align-items:center;gap:0;font-size:23px;line-height:25px;justify-content:center}.bottom-nav button span{font-size:10px;font-weight:800}.bottom-nav .add-big{font-size:30px;color:white;background:var(--green);border-radius:17px;width:52px;height:52px;line-height:1;transform:translateY(-10px);box-shadow:0 9px 18px #214b4255}.bottom-nav button.active{color:var(--green)}.auth-screen{max-width:520px;margin:8vh auto 70px}.auth-icon{font:normal 85px Cambria,"Times New Roman",serif;color:var(--orange);line-height:1.1}.auth-screen h1{font:normal clamp(35px,6vw,50px)/1.13 Cambria,"Times New Roman",serif;letter-spacing:normal;margin:12px 0 18px}.lead{font-size:14px;line-height:1.7;color:var(--muted)}.auth-card,.setup-help{background:#fff;padding:23px;border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow);margin:24px 0}.setup-help{background:#f0f7ed}.setup-help p{font-size:12px;color:var(--muted)}.auth-card label,.sheet label{display:block;font-size:11px;font-weight:850;margin:14px 0 7px;color:#607e71}.auth-card input,.sheet input:not([type=checkbox]),.sheet select,.sheet textarea{border:1px solid #e3e9e1;background:#fff;width:100%;padding:12px;border-radius:11px;outline:none;min-height:44px}.auth-card input:focus,.sheet input:focus,.sheet select:focus,.sheet textarea:focus{border-color:#71a58a;box-shadow:0 0 0 3px #b6ddc366}.primary,.secondary,.danger{border:none;border-radius:12px;padding:13px 17px;font-weight:850;min-height:43px}.primary{color:white;background:var(--green)}.secondary{color:var(--green);background:#e7f2eb}.danger{color:#b34c4c;background:#fff0ef}.wide{width:100%;margin-top:13px}.hint{font-size:10px;color:var(--muted);margin:13px 0 0}.mini-features{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;color:#60967e;font-size:11px;font-weight:800}.tabs{display:flex;background:#f4f7f1;padding:4px;border-radius:12px;gap:4px}.tab{flex:1;border:none;background:transparent;padding:10px 3px;color:var(--muted);border-radius:9px;font-size:12px;font-weight:800}.tab.active{background:white;color:var(--green);box-shadow:0 2px 10px #0001}.step-label{font-size:11px;letter-spacing:1px;color:#6aa085;font-weight:850}.otp{margin-top:13px;border-top:1px solid var(--line)}.overlay{position:fixed;inset:0;background:#183b32a9;z-index:20;display:flex;align-items:end;justify-content:center;overflow:auto}.sheet{background:var(--paper);width:min(580px,100%);border-radius:25px 25px 0 0;padding:0 23px calc(24px + env(safe-area-inset-bottom));max-height:95dvh;overflow:auto;position:relative}.sheet-top{padding:24px 2px 5px}.sheet-top .handle{height:5px;width:45px;background:#d8ded7;border-radius:5px;margin:-11px auto 16px}.sheet h2{font:normal 28px Cambria,"Times New Roman",serif;letter-spacing:normal;margin:6px 0 8px}.close{position:absolute;top:17px;right:18px;border:0;background:#e7eee8;border-radius:50%;width:34px;height:34px;font-size:23px;color:var(--green)}.sheet b{color:#b45f47}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{background:white;color:var(--green);border:1px solid #e5e8df;padding:12px;border-radius:12px;font-weight:850}.choice.active{background:var(--mint);border-color:#75aa91}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-three{display:grid;grid-template-columns:.65fr .8fr 1fr;gap:10px}.checkline{display:flex!important;align-items:center;gap:7px}.checkline input{width:auto}.form-preview{background:#e8f4ec;font-size:12px;color:#438369;border-radius:11px;padding:10px;margin-top:7px}.form-note{font-size:10px;line-height:1.65;color:var(--muted);background:#f2f3ed;padding:12px;border-radius:10px;margin-top:12px}.form-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:15px}.form-actions .primary{flex:1}.account-content{padding-bottom:15px}.group-name{font:normal 20px Cambria,"Times New Roman",serif;margin:14px 0}.members{display:grid;gap:8px}.member{display:flex;gap:11px;align-items:center;background:#fff;border-radius:14px;padding:12px;border:1px solid var(--line)}.member-icon{font-size:20px;background:#f3dacc;color:#985d46;display:grid;place-items:center;width:42px;height:42px;border-radius:100px}.member div:nth-child(2){flex:1}.member strong{display:block}.member small{font-size:11px;color:var(--muted)}.member-state{font-size:10px;color:#458b75;font-weight:800}.invite-box,.status-box{padding:16px;border:1px solid var(--line);background:white;margin-top:15px;border-radius:14px}.invite-box p,.status-box p{font-size:11px;color:var(--muted);margin:6px 0}.copyline{display:flex;gap:8px;margin-top:10px}.copyline code{flex:1;min-width:0;overflow-wrap:anywhere;background:#f3f7f3;padding:11px;border-radius:9px;font-size:13px}.copyline button{font-size:11px}.status-box>span{float:right;color:#46866e;font-size:11px;font-weight:800}.account-actions{display:grid;gap:8px;grid-template-columns:1fr 1fr;margin-top:16px}.account-actions .danger{grid-column:span 2}.account-note{text-align:center;font-size:10px;color:var(--muted);margin:15px}.toast{position:fixed;z-index:25;bottom:calc(83px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--deep);color:white;padding:11px 16px;border-radius:13px;min-width:220px;max-width:90%;text-align:center;box-shadow:0 8px 30px #0003;font-size:12px}.empty{border:1px dashed #d7e2d7;border-radius:12px;text-align:center;padding:24px 12px;color:var(--muted);font-size:12px}.empty span{display:block;font-size:25px;margin-bottom:6px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a8ddc1;outline-offset:2px}
@media(min-width:850px){.shell{padding-bottom:120px}.overview>div{justify-content:center}.calendar{gap:8px}.date-cell{min-height:76px}.date-num{font-size:17px}.date-lunar{font-size:10px}.bottom-nav{left:50%;transform:translateX(-50%);width:min(650px,100%);border-radius:20px 20px 0 0;border:1px solid var(--line)}.welcome{min-height:225px}.card{padding:30px 36px}}
@media(max-width:580px){.shell{padding:0 15px 100px}.mast{height:80px}.brand strong{font-size:23px}.logo{width:42px;height:42px}.mode-badge{font-size:9px;padding:6px 8px}.welcome{padding:24px;min-height:160px;border-radius:20px}.welcome h1{font-size:28px}.welcome p{font-size:11px}.love-symbol{font-size:72px}.overview{gap:8px;margin:13px 0}.overview>div{padding:12px 7px;gap:6px;border-radius:13px;flex-wrap:wrap;justify-content:center}.overview strong{font-size:23px}.overview small{width:100%;text-align:center}.metric-symbol{font-size:16px}.card{padding:18px 15px;border-radius:17px;margin-bottom:13px}.section-head h2{font-size:21px}.calendar{gap:1px}.date-cell{min-height:48px;border-radius:9px}.date-num{font-size:14px}.date-lunar{font-size:8px}.date-cell.has-events:after{bottom:0}.calendar-legend{gap:8px;font-size:9px}.lunar-label{margin-left:0}.event-badge{font-size:9px}.event-row{gap:8px;padding:11px 9px}.date-bubble{min-width:46px;padding:8px 6px}.notice button{font-size:10px}.sheet{padding-left:16px;padding-right:16px}.auth-screen{margin:3vh auto 40px}.auth-screen h1{font-size:37px}.form-two{gap:9px}.form-three{gap:7px}.form-note{font-size:9px}.account-actions button{font-size:11px}}

/* Viet hoa chu tieu de: dung font ho tro day du dau tieng Viet. */
.brand strong,.welcome h1,.overview strong,.section-head h2,.date-bubble strong,.auth-screen h1,.sheet h2,.group-name,.love-symbol {font-kerning:normal;text-rendering:optimizeLegibility;}
