@font-face{font-family:Caption38;src:url(fonts/interface39.woff2) format("woff2");font-display:swap}
@font-face{font-family:AnnotationHand;src:url(fonts/annotation-hand.woff2) format("woff2");font-display:swap}
#sealOverlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}#sealHandles{z-index:16}#zoomHUD{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;white-space:pre;text-align:center;font-weight:600;line-height:1.4;color:#46403355;text-shadow:0 1px 0 #fff8;pointer-events:none}#zoomHUD[hidden]{display:none}.topStrip{display:flex!important;align-items:center;min-width:0;flex-wrap:nowrap;overflow:visible!important;position:relative;contain:none!important}.topStrip .brand{flex:0 0 auto}.topStrip #topActions{flex:1 1 0!important;width:0;min-width:0!important;max-width:none!important;visibility:visible!important;opacity:1!important;transform:none!important}.topStrip #topToggle{flex:0 0 30px;position:static!important;z-index:8}.top-collapsed .topStrip #topActions{display:none!important}.top-collapsed .topStrip{justify-content:flex-end}.top-collapsed .topStrip .brand{display:none!important}
#annotationHome{display:none}body.home-open>header.topStrip,body.home-open>#dailyBar,body.home-open>main,body.home-open>#bottomDock{visibility:hidden;pointer-events:none}body.home-open #annotationHome{display:flex;position:fixed;inset:0;z-index:80;flex-direction:column;background:#f5f4f0;color:#282b29;overflow:auto;padding:env(safe-area-inset-top) 24px max(12px,env(safe-area-inset-bottom));font-family:"PingFang SC","Microsoft YaHei",Caption38,sans-serif}.annotationBrand{display:flex;justify-content:space-between;align-items:center;width:min(100%,1050px);margin:0 auto;padding:18px 0 8px}.annotationBrand h1{font-size:26px;letter-spacing:3px;margin:0;font-family:"Songti SC",serif}.annotationBrand p{font-size:13px;margin:5px 0;color:#716b61}.annotationBrand button{background:transparent;border:1px solid #bbb6a9;border-radius:24px;padding:8px 15px;min-height:36px}.annotationIntro{text-align:center;font-size:14px;line-height:1.6;margin:8px 0 13px;color:#686a64}.annotationIntro strong{font-weight:500;color:#293a33}#annotationCategories{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}#annotationCategories button{border:0;background:transparent;color:#687069;padding:5px 12px;min-height:32px;font-size:14px;border-radius:30px}#annotationCategories [aria-current=true]{background:#293d34;color:#fff}.annotationGallery{display:flex;align-items:center;justify-content:center;gap:18px;min-height:0;flex:1 0 auto;width:100%;margin:auto}.annotationGallery>button{border:none;background:transparent;font-size:32px;color:#5b635c;min-width:32px}#annotationSlides{position:relative;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;width:min(100%,calc((100dvh - 285px)*.75),530px);aspect-ratio:3/4;border-radius:3px;box-shadow:0 8px 24px #15251c28;touch-action:pan-x}.annotationSlide{border:0;display:block;flex:0 0 100%;width:100%;min-width:100%;height:100%;padding:0;border-radius:0;background:#e7dfd0;scroll-snap-align:start}.annotationSlide canvas{display:block;width:100%;height:100%}.annotationAction{text-align:center;margin:10px auto 0}.annotationAction>p:first-child{font-size:14px;color:#4c544e;margin:6px 0 10px}.annotationAction button{font-size:14px;min-height:40px;padding:8px 22px;border:1px solid #b8bcb3;border-radius:4px}.annotationAction .primary{background:#263e32;color:#fff;border-color:#263e32}.annotationMeta{font-size:12px;color:#777d74;margin:8px 0}.annotationMeta a{color:inherit}#annotationHome footer{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;color:#7b8178;font-size:12px;padding:8px 0}#annotationHome footer button{background:none;border:0;color:#4d6255;font-size:13px;min-height:28px}#annotationHome footer span{font-size:12px}#momentStrip{display:flex;align-items:center;gap:8px;min-width:0}#momentReminder{max-width:220px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;background:none;border:none;font-size:13px;color:#885439}.momentControls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.momentControls label{display:flex;flex-direction:column;gap:6px;font-size:14px}.momentControls input,.momentControls select{width:100%;min-height:40px}.momentRow{padding:12px 0;border-bottom:1px solid #d2cbbd;display:flex;align-items:center;gap:12px}.momentRow div{flex:1}.momentRow strong,.momentRow small{display:block}.momentRow small{font-size:13px;line-height:1.6;color:#797368}.momentRow button{font-size:13px;min-height:34px}.momentRow .momentDelete{min-width:32px}.momentFilters{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.momentFilters label{font-size:14px;display:flex;align-items:center;gap:5px}#videoDialog video{width:100%;max-height:50vh;background:#191d1a}#videoDialog .videoControls{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}#videoStatus{font-size:14px;line-height:1.6}#recordProcess.recording{color:#b23029!important;background:#f4dddd!important}#recordIndicator{position:absolute;top:8px;left:10px;z-index:20;background:#faf8eee6;border-radius:16px;padding:4px 10px;color:#9b342b;font-size:12px;pointer-events:none}#recordIndicator[hidden]{display:none}@media(max-width:600px){body.home-open #annotationHome{padding-inline:10px}.annotationBrand{padding-top:12px}.annotationBrand h1{font-size:23px}.annotationGallery{gap:0}.annotationGallery>button{font-size:28px;min-width:24px;padding:0}#annotationSlides{width:min(calc(100% - 48px),calc((100dvh - 280px)*.75))}#annotationCategories{gap:0}#annotationCategories button{padding-inline:10px;font-size:13px}.annotationIntro{font-size:13px;margin:3px 0 8px}.annotationAction button{padding-inline:16px}#annotationHome footer span{display:none}#momentReminder{max-width:120px}.momentControls{grid-template-columns:1fr}#sealInspector{max-height:220px}.annotationBrand p{font-size:12px}}@media(max-height:620px){#annotationSlides{width:240px}.annotationGallery{flex:none}.annotationIntro{display:none}body.home-open #annotationHome{overflow-y:auto}}

#annotationHome h1{font-family:"Songti SC",AnnotationHand,serif}#annotationHome button,#annotationHome input{font-family:inherit}

#board,#board *, .topStrip,.topStrip *,#bottomDock,#bottomDock *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea,[contenteditable=true]{-webkit-user-select:text!important;user-select:text!important}#zoomReadout{margin-left:auto;margin-right:10px;white-space:nowrap;font-size:12px}#board{touch-action:none;overscroll-behavior:contain}

#writingMusic .musicActions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#ratioGuide{margin-block:20px;line-height:1.7}#ratioGuide table{width:100%;font-size:14px;border-collapse:collapse}#ratioGuide td,#ratioGuide th{padding:8px;border-bottom:1px solid #ccc;text-align:left}#musicCredit{line-height:1.7}
.compact38{max-width:260px;padding:20px;background:#fffffff0}.compact38 form{display:grid;gap:12px}.compact38 input{width:100%;font-size:24px}#reading38{width:min(720px,94vw)}#reading38 select,#reading38 textarea{width:100%}#reading38 pre,#pasteResult38{white-space:pre-wrap;font-size:16px;line-height:1.9}#textPreview38{max-height:35vh;overflow:auto}#replayCanvas,#processVideo,#albumImage38{display:block;width:100%;max-height:65vh;object-fit:contain}#replayCanvas[hidden],#processVideo[hidden]{display:none}#copyPages38{padding:10px;border:1px solid #99896d66}.albumCard38{min-height:110px;padding:16px;text-align:left}#copyAlbumViewer38{width:min(650px,94vw)}
#bottomIcons39{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:4px;align-items:center;min-height:46px;padding:3px 8px;touch-action:pan-x;border-top:1px solid #b5aa9440;background:#f6f2e9}#bottomIcons39>button{flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:5px;border:0;background:transparent}#bottomIcons39 [aria-pressed=true]{background:#ded3bb;border-radius:6px}#bottomTip39{position:fixed;z-index:200;background:#302d27ed;color:white;border-radius:7px;padding:7px 10px;font-size:13px;max-width:210px;pointer-events:none}#bottomDock.collapsed{min-height:78px!important;padding-bottom:0!important}#dockToggle{position:relative!important;display:block;margin-left:auto}#zoomReadout{right:115px!important;bottom:8px!important}#bottomDock #dockContent[hidden]{display:none!important}.brandPen39{display:inline-block;width:32px;height:32px;margin-right:9px;vertical-align:middle}#homeMoments{margin-left:auto;max-width:240px;font-size:13px;padding:6px;line-height:1.4}.annotationBrand{gap:10px;flex-wrap:wrap}.annotationBrand>div{margin-right:auto}#annotationCategories{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;width:min(100%,650px);margin-inline:auto;scrollbar-width:none;flex-shrink:0}#annotationCategories button{flex-shrink:0}#annotationHome footer{font-size:14px;line-height:1.5;text-align:center}#annotationHome footer span{display:block!important;font-size:14px}.sealGroups39{display:grid;gap:12px}.sealGroups39 section{border-bottom:1px solid #cbbfaaaa;padding-bottom:10px}.sealGroups39 h3{margin:0 0 7px}.sealGroups39 button{margin:3px;padding:8px 12px}#sealDialog>.dialogBody[hidden]{display:none!important}#sealInspector{max-height:230px!important;background:#faf6ebe0!important;width:246px!important}.inkSelectionTools{width:230px;right:auto!important;max-width:calc(100% - 16px);padding:6px!important;gap:4px!important;background:#faf6ebde!important;backdrop-filter:blur(8px)}.inkSelectionTools>*{min-height:30px!important;max-width:100%;font-size:12px;padding:3px 5px!important}.inkSelectionTools select{width:104px}.inkSelectionTools input[type=number]{width:65px}.inkRotateHandle{position:absolute;left:-14px;bottom:-14px;width:30px;height:30px;min-height:30px!important;border-radius:50%;background:#64553e;color:white;padding:0}.screenRecording39{background:#a92721!important;color:white!important}#recordingOptions39{max-width:360px}#recordingOptions39 label{display:flex;gap:10px;padding:10px}@media(max-width:600px){.annotationBrand h1{font-size:21px}.annotationBrand{gap:5px}#homeMoments{font-size:12px;max-width:130px}#continueWriting{font-size:12px}}

body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",Caption38,sans-serif}.appName,.annotationBrand h1,#hint b,h3,.dialogHead h2{font-family:"Songti SC",Caption38,serif}#bottomDock #dockToggle{width:auto!important;min-width:86px;align-self:flex-end;margin-left:auto;flex:none}#zoomReadout{font-family:Caption38,sans-serif}

/* Revision 41: compact matching icon rows, one-line quote actions. */
#bottomDock #bottomIcons39{gap:0;min-height:34px;height:34px;padding:0 3px;border:0;background:transparent}#bottomDock #bottomIcons39>button{flex:0 0 32px;width:32px;height:32px;min-width:32px;min-height:32px;padding:6px;border:0!important;box-shadow:none!important;border-radius:0;background:transparent!important}#bottomIcons39 svg{width:19px;height:19px;stroke-width:1.5}#bottomIcons39 [aria-pressed=true]{color:#a0472b}#bottomDock.collapsed{min-height:62px!important}#bottomDock #dockToggle{height:28px;min-height:28px;padding:3px 9px}#dailyBar .quoteMenuWrap{display:flex;flex-flow:row nowrap;align-items:center;flex:0 0 auto;gap:0}#dailyBar #readQuote,#dailyBar #nextQuote{display:inline-flex;align-items:center;white-space:nowrap;min-height:30px;margin:0;padding:3px 5px}#dailyBar{min-height:42px}#dailyBar #dailyQuote{min-height:32px;max-height:70px}#sealDialog{width:min(540px,calc(100% - 16px))}.sealGroups39 section{position:relative;padding:10px 0 16px}.sealFields41{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding-right:82px}.sealFields41 label{margin:0;font-size:14px}.sealFields41 input,.sealFields41 select{min-height:36px;height:36px;margin-top:3px;padding:5px;font-size:14px}.stampSample41{position:absolute;right:0;top:46px;width:72px;height:72px}.postcardSettings41{padding:8px 0}.postcardSettings41 label{margin-top:0}@media(max-width:380px){.sealFields41{padding-right:0}.stampSample41{position:static;margin-top:8px}#dailyBar #readQuote,#dailyBar #nextQuote{font-size:11px;padding-inline:3px}}

/* 42: separate status scrolling from its fixed tool toggle. */
.topStrip .brand{width:30px!important;min-width:30px!important;margin:0!important}.topStrip .appName{display:block!important;width:28px;letter-spacing:0}.topStrip .appName>span,.topStrip .brand small{display:none!important}.topStrip #appLogo{display:block;width:28px!important;height:28px!important;margin:0}.topStrip{grid-template-columns:30px minmax(0,1fr) 28px!important}.topStrip #topActions{min-width:0}
#statusBar42{display:flex;align-items:center;gap:6px;width:100%;min-width:0;height:30px;padding:0 4px;background:#f6f2e9}#statusDetails42{display:flex;align-items:center;gap:12px;flex:1 1 0;min-width:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;touch-action:pan-x}#statusDetails42>button{flex:none;border:0;box-shadow:none;background:transparent;min-height:28px;padding:2px 0;color:#76674e;font-size:12px;white-space:nowrap}#bottomDock #statusDetails42 #zoomReadout{position:static!important;inset:auto!important;display:block!important;float:none!important;flex:none;margin:0!important;padding:0;white-space:nowrap;font-size:12px;line-height:28px;color:#76674e}#bottomDock #statusBar42 #dockToggle{position:static!important;inset:auto!important;float:none!important;flex:0 0 82px;width:82px!important;min-width:82px;height:28px;min-height:28px;padding:2px 0;margin:0!important;font-size:12px;white-space:nowrap}#bottomDock #bottomIcons39>[hidden]{display:none!important}#photoSettings42{width:min(500px,calc(100% - 16px))}#photoSettings42 .dialogBody>label{margin-top:12px}
