
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f8f8f8;color:#272727;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}input,textarea{outline:none}button:focus-visible,input:focus-visible{outline:2px solid #606060;outline-offset:2px}.hide{display:none!important}
.app{min-height:100vh}.side{width:242px;position:fixed;left:0;top:0;bottom:0;background:#f3f3f3;border-right:1px solid #e7e7e7;display:flex;flex-direction:column;padding:31px 17px 18px;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:4px 15px 32px}.brandmark,.monogram{height:43px;width:43px;border-radius:14px;background:#3f3f3f;color:#ffffff;display:grid;place-items:center;font-family:Georgia,serif;font-size:32px;line-height:1}.brandmark span,.monogram span,.dot{color:#cbcbcb}.brand strong{font-family:Georgia,serif;font-size:24px;display:block;font-weight:500;letter-spacing:-.7px}.brand small{font-size:9px;letter-spacing:.19em;color:#8c8c8c;font-weight:750}.sidenav{display:grid;gap:4px}.navitem{border:0;background:transparent;color:#6c6c6c;display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:11px;text-align:left;font-size:13px;font-weight:650;width:100%}.navitem:hover{background:#ebebeb;color:#404040}.navitem.active{background:#e5e5e5;color:#434343}.navico{width:20px;text-align:center;font-size:19px;font-weight:400}.countbadge{margin-left:auto;background:#bbbbbb;color:#494949;border-radius:20px;padding:1px 8px;font-size:11px}.sidebottom{margin-top:auto}.userblock{border-top:1px solid #e4e4e4;padding:18px 8px 2px;margin-top:15px;display:flex;align-items:center;gap:10px}.avatar{height:35px;width:35px;border-radius:50%;background:#d7d7d7;color:#525252;display:grid;place-items:center;font-family:Georgia,serif;font-size:18px}.usercopy{flex:1;min-width:0}.usercopy strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usercopy small{color:#8d8d8d;font-size:10px}.outlink{border:0;background:none;color:#747474;font-size:21px}.main{margin-left:242px;min-height:100vh}.top{height:76px;border-bottom:1px solid #ececec;background:#ffffff;display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:0 44px}.topmobile{margin-right:auto;display:none}.live{color:#656565;background:#f6f6f6;border:1px solid #e9e9e9;padding:7px 12px;border-radius:22px;font-size:11px;font-weight:650}.textbutton{border:0;background:none;color:#717171;font-size:12px;font-weight:650}.content{max-width:1180px;margin:0 auto;padding:42px 44px 100px}.eyebrow{letter-spacing:.17em;color:#959595;font-size:10px;font-weight:800}.pageintro h1{font-family:Georgia,serif;font-size:43px;letter-spacing:-1.5px;font-weight:400;margin:9px 0 8px;line-height:1.12}.pageintro p{color:#8a8a8a;margin:0 0 29px;font-size:14px}.askcard{background:#efefef;border:1px solid #e5e5e5;border-radius:18px;padding:23px 25px;margin:0 0 31px}.askhead{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}.askhead strong{font-size:15px}.askhead p{margin:5px 0 0;color:#828282;font-size:12px}.sparkle{width:34px;height:34px;border-radius:10px;background:#e1e1e1;display:grid;place-items:center;color:#6a6a6a;font-size:20px}.askrow{display:flex;gap:8px}.askrow input{height:48px;background:#ffffff;border:1px solid #e1e1e1;border-radius:10px;padding:13px 15px;flex:1;min-width:0;color:#323232;font-size:13px}.primary{background:#464646;color:#ffffff;border:1px solid #464646;padding:11px 19px;border-radius:10px;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:14px}.primary:hover{background:#333333}.secondary{background:#ffffff;border:1px solid #e0e0e0;color:#4a4a4a;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:700}.secondary:hover{background:#f4f4f4}.prompts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.prompts button{background:#f9f9f9;color:#757575;border:1px solid #e4e4e4;border-radius:21px;padding:8px 12px;font-size:11px}.prompts button:hover{background:#ffffff;color:#4c4c4c}.answer{margin-top:18px;background:#ffffff;border:1px solid #e5e5e5;border-radius:13px;padding:18px}.answertop{display:flex;justify-content:space-between;align-items:center;color:#484848;font-size:12px}.answertext{font-size:14px;line-height:1.7;white-space:pre-wrap;margin:16px 0;color:#3d3d3d}.answerdisclaimer{font-size:10px;color:#909090;border-top:1px solid #f0f0f0;padding-top:10px;margin-top:12px}.sources{display:flex;gap:6px;flex-wrap:wrap}.sourcebtn{padding:7px 10px;background:#f3f3f3;border:1px solid #e7e7e7;border-radius:8px;color:#555555;font-size:11px}.sectiontitle{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:0}.sectionline{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px;gap:10px}.hint{color:#8f8f8f;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:29px}.stat{background:white;border:1px solid #eaeaea;padding:20px;border-radius:14px}.stat strong{font-family:Georgia,serif;font-size:34px;font-weight:400;display:block;color:#414141}.stat small{color:#8d8d8d;font-size:12px;line-height:1.8}.statLink{display:block;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.stats .statLink:hover{border-color:#a9a9a9!important;box-shadow:0 5px 18px rgba(0,0,0,.06);transform:translateY(-1px)}.stats .statLink:focus-visible{outline:2px solid #111;outline-offset:3px}.stats .statLink:active{transform:translateY(0)}@media(prefers-reduced-motion:reduce){.statLink{transition:none}.stats .statLink:hover{transform:none}}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card,.panel{background:#ffffff;border:1px solid #e9e9e9;border-radius:15px;padding:22px;min-width:0}.card{min-height:230px}.cardhead{color:#505050;font-size:12px;font-weight:750;display:flex;align-items:center;gap:9px}.cardhead .ico{font-size:17px}.card h3{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:14px 0 9px}.card p,.panel p{color:#7d7d7d;line-height:1.55;font-size:12px}.cardfoot{margin-top:16px}.lineitem{padding:12px 0;border-bottom:1px solid #efefef}.lineitem:last-child{border:0}.lineitem strong{font-size:13px;font-weight:650;line-height:1.35;display:block}.lineitem p{margin:5px 0 0;font-size:12px;color:#848484;line-height:1.5}.tag{display:inline-block;border-radius:12px;padding:4px 9px;font-size:10px;font-weight:700;color:#737373;background:#f1f1f1}.tag.warn{background:#f5f5f5;color:#727272}.tag.bad{background:#ededed;color:#646464}.tag.good{background:#f2f2f2;color:#626262}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.smallbutton{border:1px solid #e8e8e8;background:#ffffff;color:#606060;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:650}.smallbutton:hover{background:#f5f5f5}.danger{color:#646464!important}.panel{margin-bottom:16px}.panel h2{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:0 0 7px}.listrow{padding:15px 0;border-bottom:1px solid #efefef;display:flex;justify-content:space-between;gap:14px}.listrow:last-child{border-bottom:0}.rowmain{min-width:0;flex:1}.rowmain strong{font-size:13px;display:block}.rowmain p{color:#8d8d8d;font-size:11px;margin:6px 0;line-height:1.5}.rowright{white-space:nowrap;display:flex;align-items:start;gap:8px}.checkrow{display:flex;align-items:flex-start;gap:10px}.checkrow input{accent-color:#5b5b5b;margin-top:3px;width:16px;height:16px}.checkrow .done{text-decoration:line-through;color:#afafaf}.subtasks{margin:9px 0 0 24px;border-left:2px solid #f0f0f0;padding-left:14px}.taskform{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.taskform input{border:1px solid #e5e5e5;border-radius:9px;padding:11px 12px;font-size:12px;flex:1;min-width:150px}.taskform input[type=date]{min-width:142px;flex:0}.empty{padding:34px;border:1px dashed #e1e1e1;border-radius:12px;text-align:center;color:#949494;background:#ffffff;font-size:13px}.searchbar{display:flex;gap:9px;margin:16px 0}.searchbar input{border:1px solid #e5e5e5;border-radius:9px;padding:13px;flex:1;min-width:0}.searchhit{background:#ffffff;padding:18px;margin:10px 0;border:1px solid #e9e9e9;border-radius:12px}.searchhit p{color:#747474;line-height:1.55;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.settingrow{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #f0f0f0;padding:18px 0}.settingrow strong{font-size:13px}.settingrow p{font-size:12px;color:#929292;margin:5px 0}.toggle{accent-color:#555555;height:19px;width:19px}.drawerback{position:fixed;inset:0;background:#152b22a8;z-index:30;display:flex;justify-content:flex-end}.drawer{height:100%;background:#ffffff;width:min(580px,100%);box-shadow:-7px 0 30px #0002;display:flex;flex-direction:column}.drawertop{padding:24px;border-bottom:1px solid #ececec;display:flex;align-items:center;justify-content:space-between}.drawerbody{padding:24px;overflow:auto;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#616161;font-size:13px}.iconbutton{border:0;background:transparent;color:#969696;font-size:24px;padding:0 5px}.toast{position:fixed;bottom:28px;right:30px;background:#444444;color:#ffffff;padding:13px 18px;border-radius:11px;box-shadow:0 6px 24px #1233;z-index:50;font-size:12px}.loading{padding:22px;color:#959595}.authgate{min-height:100vh;display:grid;place-items:center;background:linear-gradient(130deg,#f2f2f2 0%,#e8e8e8 100%);padding:30px}.authcard{background:#ffffff;border:1px solid #e5e5e5;border-radius:24px;box-shadow:0 18px 80px #2d55300e;padding:42px;max-width:455px;width:100%}.monogram{width:53px;height:53px;margin-bottom:30px}.authcard h1{font-family:Georgia,serif;font-size:43px;line-height:1.1;font-weight:400;margin:12px 0}.authcard p{color:#858585;font-size:13px;line-height:1.65;margin-bottom:22px}.authcard label{font-size:11px;font-weight:700;color:#656565}.authcard input{width:100%;height:46px;background:#ffffff;border:1px solid #e2e2e2;border-radius:10px;margin:8px 0 10px;padding:12px;color:#363636}.wide{width:100%}.authline{text-align:center;color:#a8a8a8;font-size:11px;margin:22px 0 12px}.authcard details{margin:15px 0;color:#797979;font-size:12px}.authcard summary{cursor:pointer}.forminline{display:flex;gap:8px;align-items:center}.forminline input{flex:1;min-width:0}.authcard .authmessage{font-size:11px;margin:19px 0 0;min-height:23px}.mobilebar{display:none}
@media(max-width:1020px){.side{width:205px}.main{margin-left:205px}.content{padding:32px 24px}.top{padding:0 24px}.cards{grid-template-columns:1fr}.card{min-height:0}.stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.side{display:none}.main{margin-left:0}.top{height:57px;padding:0 16px}.topmobile{display:block}.topmobile strong{font-family:Georgia,serif;font-size:22px;font-weight:500}.topmobile span{color:#8e8e8e;font-size:11px;margin-left:6px}.live{display:none}.content{padding:24px 17px 100px}.pageintro h1{font-size:34px}.askcard{padding:17px}.askrow input{font-size:12px}.prompts button{font-size:10px}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:27px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:#ffffff;border-top:1px solid #ebebeb;z-index:10;justify-content:space-around;padding:8px 4px env(safe-area-inset-bottom)}.mobilebar button{background:none;border:0;color:#818181;font-size:10px;padding:10px 5px}.mobilebar button.active{color:#494949;font-weight:800}.authcard{padding:30px 24px}.taskform input[type=date]{flex:1}}

#rememberForm{margin:13px 0 22px}#rememberForm textarea{width:100%;min-height:88px;border:1px solid #e3e3e3;border-radius:9px;padding:12px;line-height:1.5;background:#ffffff;resize:vertical}#rememberForm button{margin-top:8px}
\n.lifespaces{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.lf{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:10px 0}.lfinput{border:1px solid #dfdfdf;border-radius:9px;padding:12px;width:100%;background:#ffffff}.liferesults{max-height:340px;overflow:auto;margin-top:12px}\n

/* Sandy One-Touch sign-in: readable, touch-friendly and responsive */
.authgate{padding:30px;background:#ececec}
.authlayout{width:min(1130px,100%);min-height:min(730px,calc(100vh - 60px));display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:#ffffff;border-radius:28px;overflow:hidden;box-shadow:0 25px 100px #203a2924;border:1px solid #e4e4e4}
.authstory{padding:49px 53px;background:#3b3b3b;color:#f7f7f7;display:flex;flex-direction:column;justify-content:space-between;min-height:650px;position:relative;overflow:hidden}
.authstory:after{content:"";position:absolute;right:-185px;bottom:-230px;width:530px;height:530px;border-radius:50%;border:1px solid #9eba972d;box-shadow:0 0 0 55px #9eba9707,0 0 0 125px #9eba9707;pointer-events:none}
.authstory-brand{font-family:Georgia,serif;font-size:27px;display:flex;align-items:center;gap:12px;z-index:1}
.authstory-brand small{margin-left:auto;font:700 9px Inter,system-ui,sans-serif;letter-spacing:.15em;color:#cbcbcb}
.authstory-mark{height:43px;width:43px;display:inline-grid;place-items:center;border:1px solid #bbd6b560;border-radius:13px;color:#ffffff;font:30px Georgia,serif;background:#ffffff12}
.authstory-mark span{color:#cccccc}
.authstory-content{position:relative;z-index:1;max-width:440px}
.authstory-content .eyebrow{color:#bebebe;font-size:10px;line-height:1.6}
.authstory-content h2{font:400 clamp(40px,4vw,61px)/1.07 Georgia,serif;letter-spacing:-1.9px;margin:23px 0 20px}
.authstory-content>p{color:#dcdcdc;font-size:15px;line-height:1.85;margin:0 0 38px}
.authstory-detail{display:flex;gap:13px;align-items:center;font-size:13px;color:#e8e8e8;margin:17px 0}
.authstory-detail span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #c4d7bd44;border-radius:50%;color:#c7c7c7}
.authstory-foot{position:relative;z-index:1;color:#bababa;font-size:9px;letter-spacing:.19em;font-weight:700}
.authlayout .authcard{max-width:none;border:0;box-shadow:none;border-radius:0;padding:clamp(32px,6vw,77px);align-self:center;width:100%}
.authlayout .authcard h1{font:400 50px/1.15 Georgia,serif;letter-spacing:-1.6px;margin:13px 0 14px;color:#353535}
.authlayout .authintro{font-size:14px;line-height:1.7;color:#878787;max-width:350px;margin:0 0 34px}
.authlayout .passkeybutton{width:100%;padding:16px;border:1px solid #3f3f3f;border-radius:14px;background:#434343;color:#ffffff;display:flex;align-items:center;gap:14px;min-height:76px;text-align:left;box-shadow:0 7px 22px #21452f20;transition:transform .16s,background .16s}
.authlayout .passkeybutton:hover{background:#333333;transform:translateY(-1px)}
.authlayout .passkeybutton:focus-visible{outline:3px solid #cecece;outline-offset:3px}
.passkeybutton>span:nth-child(2){font-size:14px;font-weight:700;flex:1;line-height:1.4}
.passkeybutton small{display:block;color:#d6d6d6;font-size:11px;font-weight:500;margin-top:3px}
.passkeyicon{font-size:27px;border:1px solid #d4ead08a;border-radius:12px;display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px}
.passkeyarrow{font-size:20px;color:#d7d7d7}
.authlayout .authhint{color:#909090;font-size:11px;line-height:1.7;margin:15px 0 26px}
.authsep{display:flex;align-items:center;gap:13px;margin:0 0 18px;color:#a3a3a3;font-size:10px;letter-spacing:.12em}
.authsep:before,.authsep:after{content:"";height:1px;flex:1;background:#e7e7e7}
.authswitch{width:100%;padding:14px 16px;border:1px solid #e0e0e0;border-radius:12px;background:#ffffff;color:#4c4c4c;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700}
.authswitch:hover{background:#fafafa}
.authlayout #loginForm{padding-top:18px}
.authlayout #loginForm input{background:#ffffff}
.authlayout .authmessage{min-height:40px;margin:22px 0 0;font-size:12px;line-height:1.6;color:#6c6c6c;overflow-wrap:anywhere}
.authcardfoot{border-top:1px solid #efefef;margin-top:20px;padding-top:20px;color:#9e9e9e;font-size:11px;display:flex;align-items:center;gap:8px}
.authcardfoot span{font-size:21px}
.authmobilebrand{display:none}
.passkeylist{display:grid;gap:9px;margin:10px 0}
.passkeyitem{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f9f9f9;border:1px solid #e9e9e9;border-radius:10px;padding:12px}
.passkeyitem strong{font-size:12px;display:block}.passkeyitem small{font-size:10px;color:#878787;display:block;margin-top:4px}
.auth-security-status{font-size:12px;color:#676767;margin:15px 0}
@media(max-width:800px){
 .authgate{padding:0;background:#ffffff;place-items:stretch}
 .authlayout{min-height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none}
 .authstory{display:none}
 .authlayout .authcard{max-width:520px;margin:auto;padding:35px 25px}
 .authmobilebrand{display:flex;align-items:center;gap:10px;color:#434343;font:25px Georgia,serif;margin:0 0 61px}
 .authmobilebrand .authstory-mark{background:#414141;border:0}
 .authlayout .authcard h1{font-size:43px}
 .authlayout .authintro{margin-bottom:26px}
}
@media(prefers-reduced-motion:reduce){.authlayout .passkeybutton{transition:none}.authlayout .passkeybutton:hover{transform:none}}

/* Shared Sandy workspace branding */
:root{background:#fff;color:#111}
body{color:#111!important;background:#fff!important}
.side{background:#fafafa!important;border-color:#e8e8e8!important}
.brand strong,.pageintro h1,.authstory-content h2{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.06em}
.brandmark,.monogram{background:#111!important;color:#fff!important}
.brandmark span,.monogram span,.dot{color:#fff!important}
.navitem{color:#555!important}.navitem.active,.navitem:hover{background:#ececec!important;color:#111!important}
.primary,.passkeybutton{background:#111!important;border-color:#111!important;color:#fff!important}
.primary:hover,.passkeybutton:hover{background:#333!important}
.askcard,.authcard,.card,.panel,.stats .stat{background:#fff!important;border-color:#e4e4e4!important}
.sparkle{background:#f1f1f1!important;color:#111!important}
.live{background:#f6f6f6!important;border-color:#e8e8e8!important;color:#333!important}
.authstory{background:#111!important;color:#fff!important}
.authstory *{color:inherit}
.authstory-detail{border-color:#666!important}
.authstory .eyebrow,.authstory p,.authstory-foot{color:#aaa!important}
.authstory-mark{background:#fff!important;color:#111!important}
.authstory-mark span{color:#111!important}
a.workspaceBack{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;text-decoration:none;color:#111;padding:12px 14px;border-radius:10px}
a.workspaceBack:hover{background:#ececec}


/* Sandy Memory — refined knowledge review */
.memoryHero{display:flex;justify-content:space-between;align-items:center;gap:26px;border:1px solid #e5e5e5;border-radius:20px;padding:28px 30px;margin:0 0 23px;background:linear-gradient(120deg,#fff 60%,#f7f7f7)}
.memoryHeroText{max-width:650px}.memoryHero h2{font-size:29px;font-weight:720;letter-spacing:-.045em;line-height:1.14;margin:10px 0}.memoryHero p{font-size:14px;line-height:1.75;color:#686868;max-width:640px;margin:0}
.memoryStats{display:flex;gap:12px;flex-shrink:0}.memoryStat{min-width:93px;text-align:center;border:1px solid #e7e7e7;padding:14px 9px;border-radius:14px;background:#fff}.memoryStat strong{display:block;font-size:24px;font-weight:650;letter-spacing:-1px}.memoryStat span{display:block;font-size:11px;color:#858585}
.memoryNotesBlock,.memoryFactSection,.memoryRejectedSection{border:1px solid #e5e5e5;border-radius:17px;background:#fff;margin-bottom:22px;padding:24px}
.memoryBlockTitle,.memoryFactTop{display:flex;justify-content:space-between;align-items:center;gap:15px}.memoryBlockTitle>div{font-size:18px;font-weight:680;letter-spacing:-.025em}.memoryFactTop h2{margin:0;font-size:22px;letter-spacing:-.03em}
.memoryHint{font-size:12px;color:#858585;line-height:1.6;margin:6px 0 14px}
.memoryNoteRow{padding:12px 0;border-top:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;line-height:1.5}
.memoryFactTop{margin-bottom:20px}.memoryFind{width:260px;max-width:100%;border:1px solid #dedede;border-radius:10px;padding:10px 12px;font-size:13px;background:#fafafa;outline-color:#777}
.memoryFactGroups{display:grid;gap:18px}.factGroup{border:1px solid #eeeeee;border-radius:14px;overflow:hidden}.factGroupHead{padding:13px 16px;background:#fafafa;display:flex;align-items:center;gap:9px;border-bottom:1px solid #eaeaea}.factGroupHead h3{margin:0;text-transform:capitalize;font-size:14px;font-weight:700}.factCount{font-size:11px;color:#777;background:#f0f0f0;padding:3px 8px;border-radius:20px}
.memoryFactRow{padding:15px 17px;display:flex;justify-content:space-between;align-items:flex-start;gap:22px;border-bottom:1px solid #f0f0f0;transition:background .15s}.memoryFactRow:last-child{border-bottom:0}.memoryFactRow:hover{background:#fcfcfc}
.factBody{min-width:0;flex:1}.factLabel{font-size:12px;letter-spacing:.02em;font-weight:650;color:#454545;text-transform:capitalize}.factValue{font-size:14px;color:#171717;margin:5px 0 0;line-height:1.65;overflow-wrap:anywhere}
.factControls{display:flex;align-items:center;gap:8px;flex-shrink:0}.factAction,.factReject{border:1px solid #dedede;border-radius:9px;background:white;padding:7px 11px;color:#555;font-size:12px;font-weight:650;white-space:nowrap}.factAction:hover{background:#f3f3f3}.factReject{color:#a14949;border-color:#f0d9d9}.factReject:hover{background:#fff3f3}.factEditor{display:flex;align-items:center;gap:7px;margin-top:12px;flex-wrap:wrap}.factInput{flex:1;min-width:200px;border:1px solid #d6d6d6;background:white;border-radius:8px;padding:10px 12px}
.memoryRejectedSection{padding:0;overflow:hidden}.rejectedHeader{display:flex;align-items:center;justify-content:space-between;width:100%;padding:19px 22px;text-align:left;font-size:14px;font-weight:650;border:0;background:#fafafa;color:#444}.rejectedHeader:hover{background:#f4f4f4}.rejectedBody{padding:15px 22px 22px}
.rejectedFactRow{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 0;border-top:1px solid #f0f0f0}.rejectedFactRow strong{font-size:12px;font-weight:650;color:#444;text-transform:capitalize}.rejectedFactRow p{font-size:12px;color:#888;line-height:1.6;margin:3px 0 0;text-decoration:line-through}.rejectedFactRow .rejectedCorrection{color:#333;text-decoration:none}.rejectedLabel{font-size:11px;color:#777;border:1px solid #e5e5e5;border-radius:99px;padding:4px 9px;white-space:nowrap}.memoryEmpty{padding:30px;text-align:center;color:#888;background:#fafafa;border-radius:12px;font-size:13px}
@media(max-width:940px){.memoryHero{flex-direction:column;align-items:stretch}.memoryStats{justify-content:flex-start}}
@media(max-width:600px){.memoryHero{padding:21px;margin-bottom:15px}.memoryHero h2{font-size:23px}.memoryStats{gap:7px}.memoryStat{min-width:0;flex:1}.memoryNotesBlock,.memoryFactSection{padding:16px}.memoryFactTop{align-items:stretch;flex-direction:column}.memoryFind{width:100%}.memoryFactRow{flex-direction:column;gap:11px;padding:13px}.factControls{width:100%;justify-content:flex-start}.memoryBlockTitle{align-items:flex-start}.memoryBlockTitle button{white-space:nowrap}.rejectedHeader{padding:16px}}

/* Click-through counts in the Memory Centre */
button.memoryStat{font:inherit;color:inherit;cursor:pointer}button.memoryStat:hover{border-color:#999;background:#fafafa}button.memoryStat:focus-visible{outline:2px solid #111;outline-offset:3px}

/* Keep fact details readable when an inline improvement editor opens. */
.memoryFactRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:18px;row-gap:12px}
.memoryFactRow>.factBody{min-width:0;grid-column:1;grid-row:1;overflow-wrap:anywhere}
.memoryFactRow>.factControls{grid-column:2;grid-row:1;flex-wrap:wrap;justify-content:flex-end;max-width:100%}
.memoryFactRow>.factEditor{grid-column:1/-1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;min-width:0;width:100%;margin:4px 0 0;padding:14px;background:#fafafa;border:1px solid #eee;border-radius:12px;gap:10px}
.memoryFactRow>.factEditor>.factInput{width:100%;min-width:0;resize:vertical}
.memoryFactRow>.factEditor>.actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.memoryFactRow{grid-template-columns:minmax(0,1fr)}.memoryFactRow>.factBody,.memoryFactRow>.factControls,.memoryFactRow>.factEditor{grid-column:1;grid-row:auto}.memoryFactRow>.factControls{justify-content:flex-start}}

/* Fact editor layout: reserve full width below the topic and its action buttons. */
.memoryFactRow{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-auto-flow:row;align-items:start;gap:12px 18px;min-width:0}
.memoryFactRow>.factBody{grid-column:1!important;grid-row:1!important;min-width:0;width:100%;overflow-wrap:break-word;word-break:normal}
.memoryFactRow>.factControls{grid-column:2!important;grid-row:1!important;min-width:0;max-width:min(100%,420px);display:flex;flex-wrap:wrap;justify-content:flex-end}
.memoryFactRow>.factEditor{grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0;width:100%;margin:0;box-sizing:border-box}
.memoryFactRow>.factEditor>*{min-width:0;max-width:100%;overflow-wrap:break-word}
.memoryFactRow>.factEditor textarea{display:block;width:100%!important;box-sizing:border-box}
@media(max-width:900px){.memoryFactRow{grid-template-columns:minmax(0,1fr)!important}.memoryFactRow>.factBody{grid-column:1!important;grid-row:1!important}.memoryFactRow>.factControls{grid-column:1!important;grid-row:2!important;justify-content:flex-start}.memoryFactRow>.factEditor{grid-column:1!important;grid-row:3!important}}


/* Concise, editable personal memory profile */
.profileSummary{display:grid;gap:16px;margin:18px 0 8px}
.profileSummary.expanded{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));width:100%;margin:22px 0}
.profileSection{min-width:0}
.profileSection h3{font-family:inherit;font-size:13px;font-weight:750;letter-spacing:.01em;margin:0 0 8px;color:#343434}
.profileFact{font-size:14px;line-height:1.5;color:#575757;padding:6px 0;border-bottom:1px solid #f0f0f0;overflow-wrap:anywhere}
.profileFact:last-child{border-bottom:0}
.profileSummary.expanded .profileFact{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.profileSummary.expanded .profileFact span{flex:1}
.profileSummary.expanded .profileFact button{flex-shrink:0}
.profileSummaryHint{font-size:12px;color:#777;margin-top:12px}
.memoryHero{flex-wrap:wrap}
.memoryHero>.profileSummary{flex-basis:100%}
@media(max-width:680px){.profileSummary.expanded{grid-template-columns:1fr}.profileSummary.expanded .profileFact{align-items:center}}
