:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;color:#172c40;background:#f3f7fb;font-synthesis:none;--blue:#1267a9;--navy:#164d79;--ink:#172c40;--muted:#6e8190;--line:#e4edf4;--surface:#fff;--pale:#eaf5fe;--shadow:0 8px 28px rgba(31,75,112,.055)}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8ec8f3;outline-offset:2px}[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{display:inline-block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.muted{color:var(--muted)}.small-text{font-size:12px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;color:#6e95b4;margin:0 0 10px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:linear-gradient(145deg,#2586ca,#135a96);box-shadow:0 6px 18px #367eb43d}.brand-mark span{display:block;width:20px;height:20px;border:2px solid #fff;border-top-color:transparent;border-radius:50%;transform:rotate(-38deg)}.brand-mark.small{width:34px;height:34px;border-radius:11px;box-shadow:none}.brand-mark.small span{width:16px;height:16px}
.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 20% 15%,#deefff,transparent 40%),linear-gradient(145deg,#f6faff,#edf5fb)}.auth-card{width:min(100%,430px);padding:38px;background:#ffffffea;border:1px solid #fff;border-radius:28px;box-shadow:0 24px 70px #2e638517}.auth-card .brand-mark{margin-bottom:28px}.auth-card h1{font-size:28px;letter-spacing:-.04em;margin:0 0 9px}.auth-card>.muted{font-size:14px;margin-bottom:28px;line-height:1.6}.auth-foot{display:flex;gap:8px;align-items:center;color:#8b9eab;font-size:12px;margin:26px 0 0}.auth-foot .icon{width:15px;height:15px}.auth-toggle{margin-top:15px}.stack{display:grid;gap:16px}label{display:grid;gap:8px;font-size:13px;font-weight:600;color:#34536a}input,textarea,select{width:100%;border:1px solid #d9e5ed;border-radius:12px;background:#fff;color:var(--ink);padding:12px 13px;min-height:45px;outline:none}textarea{resize:vertical;line-height:1.65}input::placeholder,textarea::placeholder{color:#a5b2bc}input:focus,textarea:focus,select:focus{border-color:#72afe0;box-shadow:0 0 0 3px #b5defd55}.button{border:0;border-radius:12px;min-height:44px;padding:11px 17px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:650;transition:transform .2s,background .2s,box-shadow .2s}.button:hover{transform:translateY(-1px)}.button.primary{background:#126bad;color:#fff;box-shadow:0 5px 15px #1879ba26}.button.primary:hover{background:#0f5d9a}.button.secondary{background:#eff5f9;color:#41647d}.button.full{width:100%}.text-button{border:0;background:none;color:#227ab8;padding:0;font-size:13px}.form-error{font-size:13px;line-height:1.5;color:#b83d43;margin:0}.optional{font-size:11px;color:#9aabb7;font-weight:400}.form-hint{font-size:12px;color:#8194a1;line-height:1.7;margin:0}
.topbar{background:#145c93;color:#fff;position:sticky;top:0;z-index:10;box-shadow:0 4px 18px #0d59831c}.topbar-inner{max-width:1540px;margin:auto;min-height:70px;display:flex;align-items:center;padding:0 36px;gap:22px}.brand{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;color:#fff;font-weight:700;white-space:nowrap;font-size:15px}.brand .brand-mark{background:#ffffff29}.desktop-nav{display:flex;align-items:center;gap:3px;margin-left:auto}.desktop-nav button{padding:10px 10px;background:transparent;border:0;border-radius:9px;color:#e4f3ff;font-size:12px;white-space:nowrap}.desktop-nav button:hover,.desktop-nav button.active{background:#fff;color:#1c5b87}.top-actions{display:flex;align-items:center;gap:8px}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:inherit;border-radius:12px}.icon-button:hover{background:#ffffff20}.avatar{width:36px;height:36px;border:0;border-radius:50%;background:#d6edff;color:#1c5c8d;font-size:13px;font-weight:700}
.main{max-width:1500px;margin:0 auto;padding:34px 40px 70px}.page-enter{animation:appear .32s ease both}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.hero{position:relative;overflow:hidden;min-height:200px;padding:34px 38px;border-radius:22px;background:linear-gradient(112deg,#e5f4ff 0%,#d6edff 66%,#cce8ff 100%);display:flex;justify-content:space-between;align-items:center}.hero:before,.hero:after{content:"";position:absolute;right:-3%;bottom:-68%;width:55%;height:145%;border-radius:50%;background:#ffffff38;transform:rotate(-9deg)}.hero:after{right:12%;bottom:-85%;width:64%;background:#a9d8f53d}.hero>*{z-index:1}.hero h1{font-size:clamp(25px,2.7vw,37px);letter-spacing:-.045em;line-height:1.18;margin:0 0 12px;color:#103d62}.hero p{font-size:14px;color:#5881a0;margin:0;line-height:1.7}.hero .hero-date{font-size:12px;letter-spacing:.06em;color:#5584a8;font-weight:600;margin-bottom:12px}.hero-button{background:#fff;color:#176ba8;white-space:nowrap;box-shadow:0 8px 22px #4c8eb01b}.hero-button .icon{width:17px;height:17px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:32px 0 16px}.section-head h2,.page-title h1{margin:0;color:#183d58;letter-spacing:-.03em}.section-head h2{font-size:18px}.section-head p,.page-title p{font-size:13px;color:#8296a5;margin:7px 0 0}.home-grid{display:grid;grid-template-columns:1.08fr 1.18fr .96fr;gap:16px;align-items:start}.panel{background:var(--surface);border:1px solid #e8f0f6;border-radius:20px;box-shadow:var(--shadow)}.panel-pad{padding:23px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel-title{display:flex;align-items:center;gap:10px;margin:0;color:#1c496b;font-size:15px;font-weight:700}.panel-title .icon{color:#257dbc}.panel-link{display:inline-flex;align-items:center;gap:2px;background:none;border:0;color:#7690a3;font-size:12px;padding:5px}.panel-link .icon{width:14px;height:14px}.home-agenda{min-height:416px}.home-stack{display:grid;gap:16px}.home-side{display:grid;gap:16px}.simple-list{display:grid;gap:4px}.simple-row{display:flex;align-items:center;gap:11px;min-height:44px;border-bottom:1px solid #f0f4f7}.simple-row:last-child{border:0}.simple-row .row-text{font-size:13px;line-height:1.45;flex:1;min-width:0;overflow-wrap:anywhere}.simple-row .row-meta{font-size:11px;color:#9aadb9}.check-circle{width:20px;height:20px;min-width:20px;border:1.5px solid #b8c9d5;border-radius:50%;background:#fff;padding:0;display:grid;place-items:center;color:#fff}.check-circle.done{background:#2987c5;border-color:#2987c5}.check-circle.done:after{content:'✓';font-size:13px;font-weight:700}.line-through{text-decoration:line-through;color:#9aabb6}.empty{padding:22px 0;color:#95a8b5;font-size:13px;line-height:1.7}.empty.compact{padding:8px 0}.empty strong{display:block;color:#66869c;font-size:13px;margin-bottom:3px}.mini-note{background:#f6faff;border-radius:13px;padding:13px;color:#5b7a91;font-size:13px;line-height:1.6}.mini-note+.mini-note{margin-top:8px}.small-chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;background:#f0f7fc;color:#4784ac;font-size:11px;font-weight:600}.language-pair{display:flex;gap:8px;margin-bottom:14px}.language-pair span{background:#eaf5ff;color:#327cb1;border-radius:9px;padding:7px 11px;font-weight:650;font-size:12px}.calendar-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.calendar-label{font-size:15px;color:#194a6d;font-weight:700}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:5px 0;color:#7290a4;font-size:11px}.calendar-grid span{height:27px;display:grid;place-items:center}.calendar-grid .today{background:#1677b9;color:white;border-radius:8px;width:27px;justify-self:center;font-weight:700}.ai-card{background:linear-gradient(135deg,#eef8ff,#e6f4ff);border-color:#d5ecfc}.ai-card p{color:#66869e;font-size:12px;line-height:1.7;margin:0 0 15px}.ai-card .button{font-size:12px}.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:5px 0 28px}.page-title h1{font-size:28px}.page-title p{font-size:14px;line-height:1.6}.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.record-card{padding:20px 21px;display:flex;flex-direction:column;gap:13px}.record-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.record-title{font-size:15px;font-weight:700;color:#254b67;line-height:1.5;margin:0;overflow-wrap:anywhere}.record-content{font-size:13px;color:#718a9a;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.record-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#92a5b1;font-size:11px}.record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.subtle-button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:9px;background:#f1f7fb;color:#5480a0;font-size:12px;padding:8px 10px}.subtle-button .icon{width:15px;height:15px}.subtle-button:hover{background:#e3f1fb}.blank-panel{padding:55px 25px;text-align:center}.blank-panel .icon{width:32px;height:32px;color:#8dbbdd}.blank-panel h2{font-size:16px;color:#3d6888;margin:14px 0 5px}.blank-panel p{font-size:13px;color:#8ca2b2;line-height:1.8;margin:0 0 20px}.share-intro{background:#edf7ff;border:1px solid #d9edfb;border-radius:18px;padding:20px 22px;color:#4c718c;font-size:13px;line-height:1.8;margin-bottom:18px}.share-intro strong{color:#265c81}.share-rule{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #edf3f7}.share-rule:last-child{border:0}.share-rule strong{font-size:13px}.share-rule p{font-size:12px;color:#8ba1af;margin:5px 0 0}.inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.code-box{display:grid;gap:8px;margin-top:16px}.code-box input{font-family:monospace;font-size:13px}.settings-panel{max-width:720px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid #edf3f7}.settings-row:last-child{border:0}.settings-row strong{font-size:14px}.settings-row p{font-size:12px;color:#8aa0ae;margin:6px 0 0;line-height:1.6}.mobile-nav,.mobile-menu{display:none}.modal{border:0;border-radius:23px;padding:0;width:min(540px,calc(100% - 28px));max-height:calc(100% - 30px);color:var(--ink);box-shadow:0 30px 100px #102f4a35}.modal::backdrop{background:#123b5a70;backdrop-filter:blur(3px)}.modal-body{padding:28px;display:grid;gap:15px}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:4px}.modal-head h2{font-size:22px;margin:0;color:#204864}.modal-head .icon-button{color:#7893a4}.modal-head .icon-button:hover{background:#f0f7fb}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.voice-row{display:flex;gap:10px;align-items:center}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;background:#173d59;color:#fff;padding:11px 16px;border-radius:11px;box-shadow:0 10px 30px #14364a33;font-size:13px;max-width:90vw;text-align:center}.danger{color:#a95e62}
@media(max-width:1200px){.topbar-inner{gap:12px;padding:0 20px}.desktop-nav button{padding:10px 7px;font-size:11px}.main{padding:28px 24px 65px}.home-grid{grid-template-columns:1fr 1.1fr}.home-side{grid-column:1/-1;grid-template-columns:1fr 1fr}.home-agenda{min-height:390px}}
@media(max-width:780px){.desktop-nav{display:none}.topbar-inner{min-height:62px;padding:0 18px}.top-actions{margin-left:auto}.main{padding:20px 16px 96px}.hero{min-height:180px;padding:25px 23px;align-items:flex-start;flex-direction:column;gap:20px}.hero h1{font-size:27px}.hero p{font-size:13px}.hero-button{min-height:39px;padding:8px 13px}.home-grid{grid-template-columns:1fr}.home-agenda{min-height:0}.home-side{grid-column:auto;grid-template-columns:1fr}.panel-pad{padding:20px}.section-head{margin-top:25px}.list-grid{grid-template-columns:1fr}.page-title{align-items:start}.page-title h1{font-size:24px}.page-title .button{white-space:nowrap}.mobile-nav{display:flex;position:fixed;z-index:11;bottom:0;left:0;right:0;justify-content:space-around;background:#fffffff5;border-top:1px solid #e4edf4;padding:7px 4px max(8px,env(safe-area-inset-bottom));box-shadow:0 -6px 25px #2559790a}.mobile-nav button{min-width:54px;border:0;background:none;display:grid;justify-items:center;gap:4px;color:#829bab;font-size:10px;padding:3px 4px}.mobile-nav button.active{color:#126bad}.mobile-nav .icon{width:20px;height:20px}.mobile-menu{position:fixed;z-index:12;right:12px;bottom:76px;width:180px;padding:8px;background:#fff;border:1px solid #e1edf5;border-radius:16px;box-shadow:0 16px 45px #123b5a28}.mobile-menu:not([hidden]){display:grid}.mobile-menu button{text-align:left;border:0;background:none;color:#41647b;padding:12px;border-radius:9px;font-size:13px}.mobile-menu button:hover{background:#f2f8fc}.toast{bottom:90px}.auth-card{padding:28px}.form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Interaction and legibility for the working interface. */
.record-heading{display:flex;align-items:flex-start;gap:10px;min-width:0}
.button{text-decoration:none}
.reminder-button{position:relative}
.notice-count{position:absolute;top:1px;right:0;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#d24b4b;color:#fff;font-size:10px;line-height:18px;text-align:center;font-weight:700}
.ai-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.75fr);gap:16px;align-items:start}
.ai-history,.ai-form{display:grid;gap:14px}
.ai-message{padding:14px 16px;border-radius:13px;background:#f2f8fc;overflow-wrap:anywhere}
.ai-message strong{font-size:13px;color:#285c7e}.ai-message p{margin:8px 0 0;white-space:pre-wrap;line-height:1.7;font-size:14px}
.ai-user{background:#eaf5fe}.ai-form fieldset{border:1px solid #dfeaf2;border-radius:12px;padding:12px;margin:0;min-width:0}
.ai-form legend{font-size:14px;font-weight:600;color:#34536a;padding:0 5px}.ai-choices{display:grid;gap:8px;max-height:220px;overflow:auto}
.ai-choice{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:400}.ai-choice input,.ai-consent input{width:18px;height:18px;min-height:0;flex:none;padding:0;accent-color:#126bad}
.ai-choice small{color:#6e8190}.ai-consent{align-items:flex-start;line-height:1.5}
.load-more{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;margin-top:18px}.load-more p{margin:0;color:#627e90;font-size:14px;line-height:1.5}
@media(max-width:780px){.ai-layout{grid-template-columns:1fr}}
.record-heading .check-circle{margin-top:2px}
.checkbox-label{display:flex;align-items:center;gap:9px;font-size:14px}
.checkbox-label input{width:18px;height:18px;min-height:0;padding:0;accent-color:#126bad}
.share-actions{margin:0 0 18px}
.shared-section{margin-top:30px}
button:disabled{cursor:not-allowed;opacity:.58;transform:none!important}
.desktop-nav button{font-size:13px}
.record-content,.simple-row .row-text,.share-intro{font-size:14px}
.record-meta,.row-meta,.small-text,.form-hint{font-size:13px}
@media(max-width:1024px){.desktop-nav{display:none}.topbar-inner{min-height:62px;padding:0 18px}.top-actions{margin-left:auto}.main{padding:20px 16px 96px}.mobile-nav{display:flex;position:fixed;z-index:11;bottom:0;left:0;right:0;justify-content:space-around;background:#fffffff5;border-top:1px solid #e4edf4;padding:7px 4px max(8px,env(safe-area-inset-bottom));box-shadow:0 -6px 25px #2559790a}.mobile-nav button{min-width:54px;border:0;background:none;display:grid;justify-items:center;gap:4px;color:#667f90;font-size:11px;padding:3px 4px}.mobile-nav button.active{color:#126bad}.mobile-nav .icon{width:20px;height:20px}.mobile-menu{position:fixed;z-index:12;right:12px;bottom:76px;width:180px;padding:8px;background:#fff;border:1px solid #e1edf5;border-radius:16px;box-shadow:0 16px 45px #123b5a28}.mobile-menu:not([hidden]){display:grid}.mobile-menu button{text-align:left;border:0;background:none;color:#41647b;padding:12px;border-radius:9px;font-size:14px}.toast{bottom:90px}}
