:root{font-family:Inter,"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1b2839;background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #94b9fa;outline-offset:3px}.brand{font-size:30px;font-weight:800;letter-spacing:-1.5px}.brand span{font-size:11px;color:#4a7ef1;margin-left:4px}.top{height:110px;max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.quiet{background:transparent;border:0;color:#6a778a;padding:10px 12px;border-radius:8px}.quiet:hover{background:#eef2f8}.primary{border:0;background:#285ada;color:white;padding:14px 22px;border-radius:12px;display:flex;gap:28px;align-items:center;justify-content:center;font-weight:600}.primary:hover{background:#204fc5}.home-main{max-width:930px;margin:110px auto 0;padding:0 32px}.home-main h1{font-size:36px;letter-spacing:-1.2px;font-weight:650;margin:16px 0 40px}.eyebrow{font-size:11px;letter-spacing:3px;color:#8090a6}.app-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}.app-card{background:white;border:1px solid #e4e9f0;border-radius:22px;padding:32px;display:flex;align-items:center;gap:22px;box-shadow:0 12px 30px #25395605;transition:transform .15s,box-shadow .15s}.app-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px #25395610}.app-icon{width:62px;height:62px;flex-shrink:0;border-radius:18px;display:grid;place-items:center}.line-icon{background:#e2f8eb;color:#08a34e;font-size:15px;font-weight:800}.mail-icon{background:#eaf0ff;color:#4779e6;font-size:34px}.app-card h2{font-size:22px;margin:0 0 8px}.app-card p{font-size:12px;color:#8390a2;margin:0}.arrow{margin-left:auto;color:#97a4b7;font-size:22px}.home-footer{position:fixed;bottom:30px;left:0;right:0;text-align:center;color:#a7b0bd;font-size:12px}.key-icon{width:64px;height:64px;background:#e9effc;color:#476fe0;display:grid;place-items:center;border-radius:20px;font-size:35px}#add-key{margin-top:32px;font-size:12px}#error,#register-error{font-size:13px;color:#bd5262;margin-top:20px}.mail-app{display:flex;height:100dvh;overflow:hidden}.sidebar{width:250px;flex-shrink:0;background:#f5f7fb;border-right:1px solid #e8ecf2;padding:30px 22px;display:flex;flex-direction:column;gap:32px}.sidebar .primary{font-size:13px;padding:14px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{border:0;background:none;color:#69778a;padding:13px 14px;text-align:left;border-radius:10px;font-size:13px}.sidebar nav button.active{color:#285ada;background:#e8eefc;font-weight:650}.sidebar nav b{float:right}.address-head{font-size:11px;color:#8e99aa;display:flex;justify-content:space-between;align-items:center;margin-bottom:-25px}#addresses{overflow:auto;display:grid;gap:8px}#addresses button{border:0;background:none;text-align:left;color:#63738a;font-size:11px;overflow-wrap:anywhere;padding:8px}.back-home{margin-top:auto;font-size:12px;color:#8090a6}.mail-main{flex:1;min-width:0;background:#fff;overflow:auto}.mail-head{display:flex;justify-content:space-between;align-items:center;padding:30px 36px 20px}.mail-head h1{font-size:25px;letter-spacing:-.7px;margin:0}.searchbar{display:flex;gap:12px;align-items:center;margin:0 36px 25px;background:#f5f7fa;border:1px solid #edf0f5;border-radius:11px;padding:12px 16px;color:#8b98aa}.searchbar input{border:0;outline:0;background:none;width:100%;font-size:13px}.mail-grid{display:grid;grid-template-columns:minmax(300px,42%) 1fr;min-height:calc(100dvh - 160px);border-top:1px solid #edf0f5}.mail-grid>section{border-right:1px solid #edf0f5}.message{width:100%;border:0;border-bottom:1px solid #f0f2f7;background:white;display:block;text-align:left;padding:22px 26px;cursor:pointer}.message:hover,.message.selected{background:#f5f8ff}.message small{display:block;color:#92a0b2;font-size:11px;margin-bottom:10px}.message strong{display:block;font-size:13px;line-height:1.7;font-weight:500}.message.unread strong{font-weight:700}.message.unread strong:before{content:'•';color:#4680ef;margin-right:6px}.message p{font-size:11px;color:#9aa5b5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:0}.empty{text-align:center;color:#9ba7b7;font-size:13px;padding:65px 10px}#reader{padding:30px;min-width:0}#reader h2{font-size:21px;line-height:1.7;margin-top:28px}#reader .meta{color:#8c98aa;font-size:12px;overflow-wrap:anywhere;line-height:1.8}#reader pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;margin-top:30px}.tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.tools button{font-size:11px}.reader-empty{height:65vh;display:grid;place-items:center;font-size:65px;color:#e4e9f1}#pages{display:flex;justify-content:space-between;padding:15px}dialog{border:1px solid #e5eaf2;border-radius:18px;padding:25px;width:620px;max-width:94vw;box-shadow:0 30px 100px #172d4930}dialog::backdrop{background:#182b4b45;backdrop-filter:blur(3px)}dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}dialog h2{font-size:20px}dialog label{display:block;font-size:12px;color:#7f8ba0;margin:15px 0}dialog input,dialog textarea{border:1px solid #e3e8f0;border-radius:8px;padding:12px;width:100%;color:#25364b;margin-top:7px;background:#fcfdff}dialog textarea{min-height:200px;resize:vertical}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.address-input{display:flex;align-items:center;gap:12px}#toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#253951;color:white;border-radius:10px;padding:13px 22px;z-index:10;font-size:13px}[hidden]{display:none!important}@media(max-width:850px){.sidebar{width:190px;padding:24px 14px}.mail-grid{grid-template-columns:1fr}#reader:has(.reader-empty){display:none}#reader{border-top:1px solid #e8ecf2}.mail-head{padding:25px 20px}.searchbar{margin:0 20px 20px}.home-main{margin-top:65px}.app-cards{grid-template-columns:1fr}.home-main h1{font-size:30px}.home-footer{position:static;margin-top:80px}}@media(max-width:520px){.sidebar{width:74px;padding:25px 9px;gap:22px}.sidebar .brand{font-size:21px}.sidebar nav button{font-size:10px;padding:12px 3px}.sidebar .primary{font-size:10px;padding:10px 3px}.address-head,#addresses{display:none}.back-home{font-size:10px}.mail-head h1{font-size:21px}.app-card{padding:25px}.home-main{padding:0 25px}.top{padding:0 25px;height:90px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#address-directory{padding:0 36px 30px}.address-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:center;text-align:left;border:0;border-bottom:1px solid #edf0f5;background:white;padding:20px 12px;color:#25364b}.address-row:hover{background:#f5f8ff}.address-row strong{font-size:13px;overflow-wrap:anywhere}.address-row span,.address-row small{font-size:12px;color:#8390a2}@media(max-width:850px){#address-directory{padding:0 20px 20px}.address-row{grid-template-columns:1fr;gap:7px}}

/* Date-grouped inbox, matching the requested reference hierarchy. */
.mail-grid:has(.reader-empty){grid-template-columns:1fr}.mail-grid:has(.reader-empty)>#reader{display:none}.mail-grid>section{min-width:0}#list{padding:0 16px 16px}.date-divider{margin:14px 0 4px;padding:10px 12px;background:#dce7ee;color:#28638c;font-size:13px;font-weight:500;line-height:1.5}.message{margin:0 0 4px;padding:15px 18px;border:0;background:#f3f7fa}.message:hover{background:#eaf1f8}.message.selected{background:#e5eefb;box-shadow:inset 3px 0 #285ada}.message strong{font-size:16px;line-height:1.65;font-weight:600;overflow-wrap:anywhere;color:#1b2839}.message.unread strong{font-weight:750}.message.unread strong:before{color:#f38b0b;margin-right:9px}.message-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:5px;font-size:12px;line-height:1.7;color:#52677c}.message-meta time{flex-shrink:0;font-variant-numeric:tabular-nums}.message-parties{overflow-wrap:anywhere}.message .delivery-state{margin:5px 0 0;color:#52677c}.mail-grid{grid-template-columns:minmax(340px,48%) 1fr}@media(max-width:850px){.mail-grid{grid-template-columns:1fr}#list{padding:0 10px 10px}.message{padding:13px 12px}.message strong{font-size:14px}.message-meta{font-size:11px}.date-divider{font-size:12px}}

/* Message reading view */
.mail-grid:not(:has(.reader-empty)){display:block}.mail-grid:not(:has(.reader-empty))>section{display:none}#reader{padding:24px 36px 48px;max-width:1200px;margin:0 auto;width:100%}.tools{justify-content:flex-start;gap:8px;padding-bottom:22px;border-bottom:1px solid #e6ebf0;margin-bottom:24px}.tools .action-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #cdd5df;background:#fff;color:#344456;font-size:13px;font-weight:500;padding:9px 15px;border-radius:9px;min-height:40px}.tools .action-button:hover{background:#eff4fa;border-color:#a6b7cc}.tools .danger-action:hover{background:#fff2f2;color:#a93232;border-color:#e6b9b9}.tools .action-button:last-child{margin-left:auto}.action-icon{font-size:18px;line-height:1}.reader-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap}#reader .reader-title h2{font-size:25px;font-weight:500;line-height:1.5;margin:0;overflow-wrap:anywhere}.folder-badge{font-size:11px;color:#586775;background:#edf0f3;border-radius:4px;padding:3px 7px}.sender-line{display:flex;align-items:flex-start;gap:14px;margin:25px 0 28px}.sender-avatar{width:42px;height:42px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#e8eef5;color:#5e738b;font-size:17px;font-weight:600}.sender-info{flex:1;min-width:0}.sender-from{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.sender-email{font-size:12px;color:#637184}.reader-time{font-size:12px;color:#637184;white-space:nowrap;padding-top:4px;font-variant-numeric:tabular-nums}.message-details{position:relative;margin-top:3px;font-size:12px;color:#596b7c}.message-details summary{cursor:pointer;list-style:none;display:inline-block;padding:2px 0;overflow-wrap:anywhere}.message-details summary:after{content:' ▾';color:#718194}.message-details[open] summary:after{content:' ▴'}.detail-panel{position:absolute;z-index:5;top:22px;left:0;display:grid;grid-template-columns:44px minmax(0,1fr);gap:9px 16px;margin:5px 0 0;padding:20px 22px;width:min(600px,65vw);background:#fff;border:1px solid #d7dee7;border-radius:10px;box-shadow:0 8px 28px #233b5524;color:#25364b;line-height:1.65}.detail-panel dt{text-align:right;color:#718094}.detail-panel dd{margin:0;overflow-wrap:anywhere}.mail-body{margin-left:56px;border-top:1px solid #e8ecf1;padding-top:24px;min-height:250px}#reader .mail-body pre{margin:0;font-size:14px;line-height:1.9;color:#25364b}@media(max-width:850px){#reader{padding:20px}.reader-time{white-space:normal;text-align:right}.detail-panel{width:min(540px,70vw)}}@media(max-width:520px){#reader{padding:16px 12px}.tools{gap:6px}.tools .action-button{padding:8px 10px;font-size:12px}.tools .action-button:last-child{margin-left:0}#reader .reader-title h2{font-size:21px}.sender-line{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px}.sender-avatar{width:34px;height:34px}.reader-time{grid-column:2;text-align:left;padding:0}.mail-body{margin-left:0}.detail-panel{left:-44px;width:calc(100vw - 110px);padding:14px;gap:8px;grid-template-columns:34px minmax(0,1fr)}}

/* Persistent side-by-side inbox and reading pane. */
#mail-grid,#mail-grid:has(.reader-empty),#mail-grid:not(:has(.reader-empty)){display:grid;grid-template-columns:minmax(280px,40%) minmax(0,1fr);align-items:start}
#mail-grid>section,#mail-grid:not(:has(.reader-empty))>section{display:block;min-height:calc(100dvh - 160px)}
#mail-grid>#reader,#mail-grid:has(.reader-empty)>#reader{display:block;margin:0;max-width:none;padding:24px;min-width:0}
#reader .reader-empty{visibility:hidden;height:0}
#reader .sender-line{flex-wrap:wrap}#reader .reader-time{margin-left:56px}#reader .detail-panel{width:min(500px,calc(100vw - 80px));max-width:100%}#reader .mail-body{margin-left:0}
@media(max-width:850px){#mail-grid,#mail-grid:has(.reader-empty),#mail-grid:not(:has(.reader-empty)){grid-template-columns:minmax(240px,40%) minmax(300px,1fr);overflow-x:auto}#mail-grid>#reader{padding:18px}.detail-panel{position:static}#reader .sender-line{display:flex}#reader .reader-time{margin-left:0}.tools .action-button:last-child{margin-left:0}}

.source-dialog{width:1100px;max-height:90dvh;overflow:auto}.source-summary{display:grid;grid-template-columns:100px minmax(0,1fr);margin:0 0 20px;border:1px solid #dde3eb}.source-summary>dt,.source-summary>dd{margin:0;padding:15px;border-bottom:1px solid #e5e9ef;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.source-summary>dt{color:#637184;background:#f8fafc}.source-summary summary{cursor:pointer;color:#285ada}.source-summary pre{white-space:pre-wrap;overflow-wrap:anywhere}.source-download{display:inline-block;padding:10px 15px;border:1px solid #cdd5df;border-radius:8px;color:#285ada;font-size:13px}.source-raw{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fb;border:1px solid #e5e9ef;padding:18px;font:12px/1.7 monospace}.source-dialog h3{font-size:15px;margin-top:25px}
.other-dialog{width:min(600px,94vw);max-height:90dvh;overflow:auto}.other-dialog h2{margin:0}.other-actions{display:grid;gap:6px}.other-actions button{display:block;width:100%;text-align:left;border:1px solid #e0e7ee;background:#f4f7fa;color:#263649;padding:13px 16px;border-radius:8px}.other-actions button:hover{background:#e9f0f8}.other-parties{display:grid;gap:8px;margin-top:16px}.other-party{border:1px solid #e0e7ee;border-radius:8px;overflow:hidden}.other-party strong{display:block;padding:12px;overflow-wrap:anywhere;font-size:13px}.other-party-actions{display:flex;background:#f4f7fa}.other-party-actions button{flex:1;border:0;border-right:1px solid #e0e7ee;border-radius:0;color:#355477;font-size:12px}.other-party-actions button:last-child{border-right:0}
.alias-dialog{width:min(680px,94vw);max-height:90dvh;overflow:auto}.alias-dialog textarea{min-height:74px}.alias-list{border-top:1px solid #e0e7ee;margin-top:22px;padding-top:12px}.alias-list h3{font-size:14px}.alias-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f5;padding:10px 0}.alias-row span{min-width:0;overflow-wrap:anywhere}.alias-row strong,.alias-row small{display:block}.alias-row small{color:#718094;margin-top:4px}.alias-row button{border:1px solid #d6dfe9;border-radius:7px;padding:7px 12px;flex-shrink:0}
.alias-hint{font-weight:500;color:#285ada}
.camera-icon{background:#e9f4f3;color:#137d79;font-size:34px;font-weight:700}

/* Gaxy shared mobile shell. Existing application logic stays independent. */
body.gaxy-glass{--ink:#202638;--muted:#778094;--accent:#6456d9;color-scheme:light;color:var(--ink);background:radial-gradient(ellipse at 0 0,#ebe6fc 0,transparent 45%),radial-gradient(ellipse at 100% 35%,#e5f4ee 0,transparent 45%),#f4f5f9;background-attachment:fixed;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0;padding-bottom:calc(112px + env(safe-area-inset-bottom));-webkit-font-smoothing:antialiased}body.gaxy-glass *{box-sizing:border-box}body.gaxy-glass a{color:inherit;text-decoration:none}body.gaxy-glass button,body.gaxy-glass select,body.gaxy-glass input{font:inherit;color:var(--ink);-webkit-tap-highlight-color:transparent}body.gaxy-glass button{cursor:pointer}body.gaxy-glass button:active,body.gaxy-glass a:active{opacity:.72}body.gaxy-glass :focus-visible{outline:3px solid #8e7ff2;outline-offset:3px}.glass-dock{position:fixed;z-index:90;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;width:calc(100% - 32px);max-width:430px;padding:7px;border-radius:34px;background:linear-gradient(135deg,#ffffffd9,#f2eefbe0);border:1px solid #fff;box-shadow:0 12px 42px #39305220,inset 0 1px 1px #fff;backdrop-filter:blur(24px) saturate(1.5);-webkit-backdrop-filter:blur(24px) saturate(1.5)}.glass-dock[hidden]{display:none}.glass-dock a{display:flex;flex:1;min-width:0;min-height:58px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border-radius:26px;color:#777689!important;font-size:10px;font-weight:600;letter-spacing:.2px}.glass-dock svg{width:23px;height:23px}.glass-dock a[aria-current]{color:#6550cc!important;background:#e5def580;box-shadow:inset 0 1px 1px #fff9}.glass-dock a[aria-current] svg{stroke-width:2.2}.gaxy-glass h1,.gaxy-glass h2{letter-spacing:-.6px}.gaxy-glass .top{height:84px;padding:20px 24px;max-width:1040px;margin:auto;background:none;border:0}.gaxy-glass .brand{font-size:25px;letter-spacing:-1.5px;color:var(--ink)}.gaxy-glass .brand span{color:#7c6ee6}.gaxy-glass .quiet{border:0;background:#ffffff80;border-radius:20px;padding:11px 15px;color:#778094;font-size:12px}.gaxy-glass .home-main{max-width:760px;padding:24px;margin:12px auto 0;min-height:0}.gaxy-glass .home-main h1{font-size:34px;line-height:1.25;margin:12px 0 28px}.gaxy-glass .eyebrow{color:#8d82b0;font-size:10px;letter-spacing:3px;font-weight:600}.gaxy-glass .app-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}.gaxy-glass .app-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:22px;min-height:182px;background:#ffffffa6;border:1px solid #fff;border-radius:26px;box-shadow:0 8px 30px #34365d06}.gaxy-glass .app-card h2{font-size:18px;margin:0 0 7px}.gaxy-glass .app-card p{font-size:11px;line-height:1.5;color:#8a91a0;margin:0}.gaxy-glass .app-icon{width:45px;height:45px;min-width:45px;border-radius:16px;font-size:19px;display:flex;align-items:center;justify-content:center}.gaxy-glass .line-icon{background:#e0f5e9;color:#2d9965;font-size:11px;font-weight:700}.gaxy-glass .mail-icon{background:#e8e8fb;color:#7871bd}.gaxy-glass .camera-icon{background:#e6f1f3;color:#528b92}.gaxy-glass .arrow{position:absolute;top:25px;right:22px;color:#b0afc3;font-size:18px}.gaxy-glass #add-key{margin-top:24px}.gaxy-glass .home-footer{display:none}.gaxy-glass .primary{background:#6959cf;color:white;border:0;border-radius:18px;min-height:52px}.gaxy-glass .key-icon{background:#e9e3fb;color:#7661d5;border-radius:24px}.gaxy-glass .learning-main{max-width:1040px;margin:18px auto;padding:0 22px}.gaxy-glass .learning-head h1{font-size:30px;margin:8px 0 10px}.gaxy-glass .learning-head p:not(.eyebrow){font-size:12px;line-height:1.7;color:var(--muted)}.gaxy-glass .learning-back{display:none}.gaxy-glass .learning-controls{margin:24px 0 16px;gap:12px}.gaxy-glass #date{border:1px solid #fff;background:#ffffffb0;border-radius:15px;padding:12px;font-size:13px;color:var(--ink);min-width:0}.gaxy-glass .verdicts{width:100%;display:flex;gap:4px;background:#e7e7ef88;padding:5px;border-radius:18px}.gaxy-glass .verdicts button{flex:1;border:0;background:none;padding:10px 4px;font-size:11px;color:#8c899c;border-radius:13px;min-height:42px}.gaxy-glass .verdicts button.active{background:#fff;color:#6952cb;box-shadow:0 3px 8px #4030580a}.gaxy-glass #summary{font-size:12px;color:#8a91a0}.gaxy-glass .learning-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gaxy-glass .learning-grid .event-card{background:#ffffffb5;border:1px solid #fff;border-radius:20px;box-shadow:0 5px 20px #38365006}.gaxy-glass .event-body{padding:12px}.gaxy-glass .event-top{flex-wrap:wrap;gap:7px;font-size:10px}.gaxy-glass .event-body p{font-size:11px;line-height:1.65;color:#747a8c}.gaxy-glass .event-badge{font-size:10px;border-radius:8px}.gaxy-glass .day-heading{font-size:14px;border:0;color:#8c849f;margin:24px 0 12px}.gaxy-glass .learning-note{font-size:11px;color:#9896a5}.gaxy-glass #viewer{color:white}.gaxy-glass #close-viewer{color:white}.gaxy-glass .live-main{max-width:1000px;margin:auto;padding:0 20px}.live-title{padding:10px 4px 22px}.live-title .eyebrow{margin:0 0 8px}.live-title h1{font-size:32px;margin:0}.live-title p:last-child{font-size:12px;color:#9293a3;margin:10px 0 0}.live-grid{display:grid;grid-template-columns:1fr;gap:22px}.live-card{overflow:hidden;border-radius:26px;background:#ffffffb5;border:1px solid #fff;box-shadow:0 8px 30px #34365d08}.live-card .feed{position:relative;background:#242631;aspect-ratio:16/9}.live-card img{width:100%;height:100%;object-fit:contain;display:block}.live-card .feed-badge{position:absolute;left:14px;top:14px;border-radius:20px;background:#1c263c70;color:white;padding:7px 10px;font-size:10px;backdrop-filter:blur(12px)}.live-card .feed-badge:before{content:'';display:inline-block;width:6px;height:6px;background:#9fe4b8;border-radius:50%;margin-right:6px}.live-card .feed-badge.offline:before{background:#ffbe98}.live-card .live-info{padding:17px 18px;display:flex;align-items:center;justify-content:space-between}.live-info h2{font-size:17px;margin:0 0 5px}.live-info p{color:#9293a3;font-size:11px;margin:0}.live-info a{padding:11px 15px;border-radius:16px;background:#eee9fa;color:#7a61c7!important;font-size:12px;font-weight:600}.live-note{font-size:11px;color:#9392a3;padding:20px 4px;text-align:center}.live-note a{border-bottom:1px solid #c9c4d8}.gaxy-glass[data-screen=record]{padding-bottom:calc(188px + env(safe-area-inset-bottom))}.gaxy-glass[data-screen=record] main{max-width:900px;padding:0 18px}.gaxy-glass[data-screen=record] header{height:86px;padding:16px 4px}.gaxy-glass[data-screen=record] header .back,.gaxy-glass[data-screen=record] header .live{display:none}.gaxy-glass[data-screen=record] header h1{font-size:26px}.gaxy-glass[data-screen=record] header p{color:#a099b5;font-size:10px}.gaxy-glass[data-screen=record] .video-wrap{border-radius:24px;box-shadow:0 10px 30px #26243514}.gaxy-glass[data-screen=record] .controls{padding:20px 0 10px;gap:8px}.gaxy-glass[data-screen=record] .controls label span{font-size:10px;color:#9790a7}.gaxy-glass[data-screen=record] .controls select,.gaxy-glass[data-screen=record] .controls input,.gaxy-glass[data-screen=record] #refresh{background:#ffffffa8;border:1px solid #fff;border-radius:14px;min-height:44px;font-size:12px;color:var(--ink)}.gaxy-glass[data-screen=record] #refresh{font-size:22px}.gaxy-glass[data-screen=record] .time-row{padding:10px 0 14px}.gaxy-glass[data-screen=record] #time{font-size:27px;letter-spacing:-.5px;font-weight:600}.gaxy-glass[data-screen=record] .timeline-shell{margin:0;border-radius:17px;background:#e9e9f1}.gaxy-glass[data-screen=record] #rail{background:#e9e9f1}.gaxy-glass[data-screen=record] .tick{border-color:#b3afc2;color:#8d879e}.gaxy-glass[data-screen=record] .tick.minor{border-color:#cdc8d8}.gaxy-glass[data-screen=record] .recording{background:#b8b0e9;top:47px;height:42px;border-radius:3px}.gaxy-glass[data-screen=record] .event-mark{background:#e9b77b;top:47px;height:42px}.gaxy-glass[data-screen=record] .playhead{background:#7060c7;box-shadow:none}.gaxy-glass[data-screen=record] .playhead:before{border-top-color:#7060c7}.gaxy-glass[data-screen=record] .timeline-meta{padding:10px 2px;color:#9b94a9;font-size:10px}.gaxy-glass[data-screen=record] .timeline-meta select{background:#ffffff70;border:0;color:#8e80b3;border-radius:10px;font-size:11px}.gaxy-glass .blue{background:#b8b0e9}.gaxy-glass .amber{background:#e9b77b}.gaxy-glass[data-screen=record] .hint{font-size:10px;color:#a49ab3;margin:4px 2px 10px}.gaxy-glass[data-screen=record] #status{color:#91809f;font-size:11px;margin:0;min-height:0}.gaxy-glass[data-screen=record] #status:empty{display:none}.gaxy-glass[data-screen=record] .event-jump{margin:0 0 14px;gap:8px}.gaxy-glass[data-screen=record] .event-jump button{max-width:none;background:#ffffff70;border:1px solid #fff;color:#8a7ab1;border-radius:15px;font-size:11px}.gaxy-glass[data-screen=record] .transport{position:fixed;z-index:91;bottom:calc(96px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:430px;margin:0;padding:9px 13px;border:1px solid #fff;border-radius:28px;background:linear-gradient(110deg,#f9fbf7e8,#f1e9f8e8);box-shadow:0 8px 30px #39305210;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);gap:8px;justify-content:space-around}.gaxy-glass[data-screen=record] .transport button{min-width:50px;border:0;background:transparent;color:#7e748f;border-radius:50%;font-size:12px;min-height:42px}.gaxy-glass[data-screen=record] .transport #toggle-play{min-width:46px;width:46px;background:#7560d5;color:white;font-size:17px}.gaxy-glass[data-screen=record] .transport select{min-width:70px;min-height:40px;padding:5px;border:0;background:transparent;color:#7e748f;font-size:12px}.gaxy-glass[data-screen=record] .event-section{border:0;margin-top:26px;padding:0}.gaxy-glass[data-screen=record] .section-title{margin:0 2px 8px}.gaxy-glass[data-screen=record] h2{font-size:18px}.gaxy-glass[data-screen=record] #count{background:#e9e4f3;color:#8f7eaf;border-radius:10px;padding:4px 7px;font-size:10px}.gaxy-glass[data-screen=record] #events{padding:8px 0 0;gap:12px}.gaxy-glass[data-screen=record] .event-card{border:2px solid #ffffffb5;border-radius:19px;background:#ffffffb5;box-shadow:0 4px 16px #44345e05}.gaxy-glass[data-screen=record] .event-card[aria-pressed=true]{border-color:#b4a1e8;box-shadow:0 0 0 2px #b4a1e820}.gaxy-glass[data-screen=record] .event-card img{background:#dddbe7}.gaxy-glass[data-screen=record] .event-card .event-info{font-size:10px;padding:10px 8px}.gaxy-glass[data-screen=record] .event-card .label{color:#a28ba7}.gaxy-glass[data-screen=record] footer a{color:#aaa0b5;font-size:10px}.gaxy-glass[data-screen=record] #more{background:#fff;border:0;border-radius:16px;margin:16px 0}.gaxy-glass[data-screen=record] #video-message{color:#f4efff;background:#25223390}@media(min-width:760px){.live-grid{grid-template-columns:1fr 1fr}.gaxy-glass .learning-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gaxy-glass[data-screen=record] main{padding:0 26px}.gaxy-glass .home-main{padding-top:45px}}@media(prefers-reduced-motion:reduce){.gaxy-glass *{scroll-behavior:auto!important}}@supports not (backdrop-filter:blur(1px)){.glass-dock,.gaxy-glass[data-screen=record] .transport{background:#f8f6fc}}

body.gaxy-glass .brand{font-weight:750}body.gaxy-glass .hint,body.gaxy-glass .live-note,body.gaxy-glass .live-title p:last-child,body.gaxy-glass .live-info p,body.gaxy-glass .app-card p,body.gaxy-glass .controls label span{color:#747186}body.gaxy-glass .timeline-meta,body.gaxy-glass[data-screen=record] .timeline-meta select{color:#746b87}body.gaxy-glass .learning-note{color:#777184}body.gaxy-glass[data-screen=record] .event-card .label{color:#88708e}
.vault-main{max-width:900px;margin:35px auto;padding:0 24px 70px}.vault-main h1{font-size:32px}.vault-main>p{color:#64748b;line-height:1.7}.vault-actions{display:flex;gap:12px;margin:28px 0}.vault-list{display:grid;gap:10px}.vault-entry{width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;text-align:left;background:white;border:1px solid #e4e9f0;border-radius:12px;padding:18px;color:#1b2839}.vault-entry:hover{background:#f5f8ff}.vault-entry time{color:#78879b;font-size:13px}.vault-details{background:white;border:1px solid #e4e9f0;border-radius:16px;padding:24px;margin-top:25px;overflow-wrap:anywhere}.vault-details dl{display:grid;grid-template-columns:130px 1fr;gap:16px}.vault-details dt{color:#77859a}.vault-details dd{margin:0}.vault-details code{display:block;overflow-wrap:anywhere;margin-bottom:12px}#message{min-height:1.5em;color:#285ada}@media(max-width:600px){.vault-entry{display:grid}.vault-details dl{grid-template-columns:1fr;gap:6px}.vault-details dd{margin-bottom:12px}}
.vault-main{max-width:1200px}.vault-table{overflow-x:auto;background:white;border:1px solid #e4e9f0;border-radius:14px}.vault-table-heading,.vault-record{display:grid;grid-template-columns:190px minmax(540px,1fr);gap:18px;align-items:center;min-width:780px;padding:14px 18px}.vault-table-heading{font-size:13px;font-weight:700;color:#64748b;background:#f5f8fc}.vault-record{border-top:1px solid #e4e9f0}.vault-record time{white-space:nowrap;font-variant-numeric:tabular-nums}.vault-record code{font-size:14px;white-space:nowrap;user-select:text}.vault-actions button:disabled{opacity:.5;cursor:default}
/* Immediate feedback when switching messages. */
.reader-loading{display:flex;align-items:center;gap:10px;min-height:120px;color:#64748b;font-size:14px}.mail-spinner{width:18px;height:18px;border:2px solid #dce4ef;border-top-color:#3569d4;border-radius:50%;animation:mail-spin .7s linear infinite;flex-shrink:0}.reader-error{padding:20px 0;color:#64748b}.reader-error button{margin-right:8px}@keyframes mail-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.mail-spinner{animation:none}}

/* Center loading feedback in the message pane. */
#reader[aria-busy="true"]{position:relative}#reader[aria-busy="true"]>.quiet{position:absolute;top:12px;right:16px}.reader-loading{justify-content:center;flex-direction:column;gap:12px;min-height:160px;text-align:center}.reader-loading .mail-spinner{width:24px;height:24px}
