:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#263e38;background:#f5f6f1;font-synthesis:none;--green:#1e5648;--dark:#173e36;--muted:#7b8780;--line:#e5e8df;--accent:#d4e6b8;--cream:#f5f6f1}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #91b98b;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #9ab99b;outline-offset:1px}button{color:inherit}a{color:inherit}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:#fffefa;border-right:1px solid var(--line);padding:30px 20px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:750;letter-spacing:-.7px;text-decoration:none}.brand small{font-size:8px;letter-spacing:1.7px;display:block;color:#89948c;margin-top:5px}.brand-symbol{position:relative;width:40px;height:44px;border-radius:13px;background:var(--dark);color:#e2efcf;display:grid;place-items:center;font-size:30px;font-weight:700;font-family:Georgia,serif}.brand-symbol span{position:absolute;font-size:14px;right:4px;top:2px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;margin:32px 0 30px;padding:11px 9px;font-size:12px;font-weight:650;background:#fafbf7}.workspace-avatar{background:#e8eddd;border-radius:8px;padding:8px 11px}.workspace small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}.local-tag{margin-left:auto;font-size:8px;letter-spacing:.7px;color:#6e826b}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;color:#8b968e}.sidebar>.eyebrow{margin:0 10px 13px}.nav{display:flex;flex-direction:column;gap:6px}.nav-item{width:100%;border:0;background:none;display:flex;align-items:center;text-align:left;gap:11px;padding:12px 11px;border-radius:8px;font-size:12px;color:#727f76}.nav-item>span{font-size:17px;width:16px;text-align:center}.nav-item b{font-size:10px;margin-left:auto;font-weight:500;border-radius:5px;padding:2px 5px;background:#f0f1e9}.nav-item:hover{background:#f3f5ed}.nav-item.active{background:#eaf0e1;color:#2c4e3f;font-weight:650}.nav-item.active b{background:#d5e3c2}.sidebar>.source-heading{display:flex;align-items:center;justify-content:space-between;margin-top:32px}.text-button{border:0;background:transparent;padding:0;color:#527260;font-size:11px;font-weight:600}.text-button:hover{color:#1d493c;text-decoration:underline}.source-heading .text-button{font-size:9px;letter-spacing:0}.source-nav button{border:0;background:none;display:flex;align-items:center;gap:10px;padding:11px;width:100%;font-size:12px;text-align:left;border-radius:8px}.source-nav button:hover,.source-nav button.active{background:#f1f4e9}.source-nav .dot{margin-left:auto}.source-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;font-size:17px;flex-shrink:0}.source-icon.kingshot{background:#f4e9ce;color:#a88327}.source-icon.telegram{background:#e5f1f7;color:#3c9ac5}.source-icon.discord{background:#eceafd;color:#7770cb}.dot{height:6px;width:6px;border-radius:100%;background:#bfc4bc;display:inline-block;flex-shrink:0}.dot.green,.dot.connected{background:#75a67e}.dot.manual,.dot.attention{background:#c6a65a}.sidebar-bottom{margin-top:auto;padding-top:40px}.connection-note{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin:0 11px 14px}.sidebar-bottom .nav-item{font-size:11px}.sidebar-footer{font-family:Georgia,serif;font-style:italic;font-size:13px;line-height:1.5;color:#9ca599;border-top:1px solid var(--line);padding:22px 11px 0;margin-top:20px}.main{padding:0 32px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;height:84px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:11px;color:#9aa295;display:flex;gap:14px}.breadcrumb strong{font-weight:500;color:#4f6458}.top-actions{display:flex;gap:22px;align-items:center}.privacy-label{font-size:10px;color:#7d8c7e;display:flex;align-items:center;gap:7px}.button{border:1px solid transparent;border-radius:7px;font-size:11px;font-weight:600;padding:11px 15px;line-height:1.3}.button.primary{color:#fff;background:#245845;box-shadow:0 2px 2px #183b2610}.button.primary:hover{background:#173f31}.button.secondary{background:#fffefa;border-color:#dce2d4;color:#4b6252}.button.secondary:hover{background:#eff3e8}.button.small{padding:8px 10px;font-size:10px}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:32px 0 28px}.accent{color:#748d59}h1{font-family:Georgia,"Times New Roman",serif;font-size:32px;letter-spacing:-.8px;font-weight:500;margin:9px 0 10px}.page-heading p:not(.eyebrow){font-size:12px;color:#889283}.heading-status{display:flex;gap:12px;align-items:center;margin-right:6px}.heading-status strong{font-family:Georgia,serif;font-size:40px;font-weight:400;color:#59784f}.heading-status span{font-size:10px;line-height:1.5;color:#8a9585}.inbox-layout{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid #e1e6d8;border-radius:12px;background:#fffefa;overflow:hidden;height:calc(100vh - 282px);min-height:570px;box-shadow:0 8px 32px #43532b04}.conversation-panel{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.list-header{padding:23px 21px 17px;display:flex;align-items:center;justify-content:space-between}h2{font-size:14px;font-weight:650;letter-spacing:-.1px}.count-pill{border-radius:5px;padding:3px 6px;background:#f0f2e8;font-size:10px;color:#819174}.search{margin:0 18px 20px;display:flex;align-items:center;gap:7px;background:#f6f7f1;border:1px solid #e9ece3;border-radius:7px;padding:8px 10px;color:#9ca991}.search span{font-size:20px;line-height:15px}.search input{min-width:0;width:100%;border:0;background:none;font-size:10px;outline:none;color:#485b49}.list-label{display:flex;justify-content:space-between;margin:0 20px 12px;font-size:8px;letter-spacing:.8px;color:#a0a896}.list-label span+span{letter-spacing:0}.conversation-list{flex:1;overflow:auto}.conversation{display:block;text-align:left;width:100%;border:0;border-top:1px solid #f0f1e9;background:none;padding:19px 20px;position:relative}.conversation:hover{background:#f7f8f2}.conversation.selected{background:#edf3e5}.conversation.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#789c61}.conversation-top{display:flex;align-items:center;gap:8px}.conversation-top .source-icon{height:24px;width:24px;font-size:14px;border-radius:6px}.conversation-top strong{font-size:11px;font-weight:650;max-width:168px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation-top time{margin-left:auto;font-size:8px;color:#9aa58e}.conversation-author{font-size:10px;margin-top:13px;margin-bottom:5px;font-weight:600}.conversation-preview{font-size:10px;line-height:1.7;color:#87927c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}.conversation-bottom{display:flex;align-items:center;gap:6px;margin-top:11px}.label-tag{font-size:8px;padding:3px 5px;border-radius:4px;background:#f2f1e7;color:#9a9067}.label-tag.draft{background:#e7eddf;color:#738661}.label-tag.done{background:#e6efea;color:#638375}.unread-count{margin-left:auto;background:#72965a;color:white;border-radius:50%;font-size:8px;min-width:15px;height:15px;display:grid;place-items:center}.list-footer{padding:13px;font-size:8px;text-align:center;border-top:1px solid var(--line);color:#a5ac9d}.list-empty{text-align:center;color:#8e9985;font-size:11px;line-height:1.7;padding:50px 28px}.detail-panel{min-width:0;min-height:0;display:flex}.empty-detail{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;min-width:0;background:radial-gradient(ellipse at 50% 35%,#f5f8eb,transparent 65%)}.empty-mark{height:70px;width:70px;border-radius:24px;background:#eaf0dd;color:#7d965d;font-size:37px;display:grid;place-items:center;margin-bottom:24px;transform:rotate(-5deg)}.empty-detail h2{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1.3;margin:13px 0 17px;color:#3c573e}.empty-detail>p{font-size:12px;line-height:1.8;color:#909b86;max-width:340px}.empty-buttons{display:flex;gap:8px;margin:25px 0 42px}.coverage-inline{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;font-size:9px;color:#9da68f}.conversation-detail{display:flex;flex-direction:column;width:100%;min-height:0}.detail-header{display:flex;align-items:center;justify-content:space-between;padding:21px 23px;gap:10px;border-bottom:1px solid var(--line)}.detail-title{display:flex;align-items:center;gap:12px;min-width:0}.detail-title h2{font-size:14px;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-title p{font-size:9px;color:#95a086;margin-top:6px}.detail-actions{display:flex;gap:6px;flex-shrink:0}.coverage-note{padding:10px 23px;background:#fafbf5;color:#9b9e83;font-size:9px;border-bottom:1px solid #f0f2e8;line-height:1.6}.messages{overflow:auto;flex:1;padding:28px 26px;min-height:125px;background:linear-gradient(#fffefa,#fcfdf8)}.message{max-width:88%;margin-bottom:22px}.message.out{margin-left:auto}.message-label{font-size:9px;color:#949e88;display:flex;align-items:center;gap:9px;margin-bottom:8px}.message-label strong{font-size:10px;font-weight:600;color:#708066}.message-body{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f3e9;border:1px solid #e9eede;border-radius:0 10px 10px;padding:15px 17px;color:#4f6249}.message.out .message-body{background:#e5efdd;border-color:#d9e6cf;border-radius:10px 0 10px 10px}.composer{border-top:1px solid var(--line);padding:19px 23px 18px;background:#fffefa}.composer-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.composer-heading h3{font-size:12px;font-weight:650}.composer-heading span{font-size:9px;color:#9ba38f}.route{display:flex;align-items:center;gap:7px;padding:8px 11px;background:#f7f8f1;border:1px solid #e9ece1;border-bottom:0;border-radius:7px 7px 0 0;min-width:0}.route>span:first-child{font-size:8px;letter-spacing:1px;color:#a2aa95}.route strong{font-size:10px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.route-identity{margin-left:auto;font-size:8px;color:#8d9b7d;white-space:nowrap}.composer textarea{display:block;resize:vertical;min-height:88px;max-height:250px;width:100%;border:1px solid #e6eade;border-top:0;border-radius:0 0 7px 7px;background:#fbfcf8;padding:11px 12px;color:#465b40;font-size:12px;line-height:1.7}.composer textarea::placeholder{color:#a5ad99;font-size:11px}.composer-tools{display:flex;justify-content:space-between;gap:10px;padding:12px 0 15px}.composer-tools>div{display:flex;gap:13px;align-items:center}.composer-tools #character-count{font-size:9px;color:#9aa58b}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0e5;padding-top:14px}.composer-footer>p{font-size:9px;color:#9ca58d;line-height:1.5;max-width:250px}.composer-footer>div{display:flex;gap:7px}.page-footer{display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#a4ad95;padding:16px 2px 18px}.example-banner{display:flex;align-items:center;justify-content:space-between;padding:11px 15px;background:#f5edd9;border:1px solid #e9ddbc;border-radius:7px;font-size:10px;margin-bottom:14px;color:#9a8448;gap:10px}.example-banner~.inbox-layout{height:calc(100vh - 324px)}dialog{border:1px solid #dfe6d4;border-radius:14px;background:#fffefa;color:#304b39;padding:28px;max-width:590px;width:calc(100vw - 32px);max-height:90vh;box-shadow:0 25px 100px #1c322438;overflow:auto}dialog::backdrop{background:#1938266b;backdrop-filter:blur(3px)}dialog.wide-dialog{max-width:830px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-heading h2{font-family:Georgia,serif;font-size:26px;font-weight:400;margin-top:8px}.close-button{border:0;border-radius:6px;background:#f1f3e9;font-size:23px;width:30px;height:30px;color:#879677;line-height:1}.help{color:#88987b;font-size:11px;line-height:1.8;margin:13px 0 18px}dialog label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;color:#617652;margin:16px 0}dialog input,dialog textarea,dialog select{padding:10px;border:1px solid #dce4d2;border-radius:6px;background:#fbfcf7;color:#46603c;width:100%;font-size:12px}dialog textarea{resize:vertical;line-height:1.7}dialog small{color:#99a28b;font-size:10px;font-weight:400}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-row label{margin:0}.dialog-footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e8eddf;margin-top:23px;padding-top:18px}.form-error{color:#ac6348;font-size:11px;line-height:1.7;min-height:1px}.connection-card{padding:18px;border:1px solid #e2e8d7;border-radius:9px;margin:12px 0;display:flex;gap:13px;align-items:flex-start}.connection-card>div{flex:1}.connection-card h3{font-size:13px;margin:1px 0 7px}.connection-card p{font-size:10px;color:#8d9c7d;line-height:1.7}.connection-card .error{color:#a47b45}.status-tag{font-size:9px;display:inline-block;padding:4px 6px;border-radius:4px;background:#f2f1e4;color:#978e66;margin-bottom:7px}.status-tag.live{background:#e5efdc;color:#648550}.coverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:22px}.coverage-grid article{padding:15px;background:#f7f9f1;border-radius:8px}.coverage-grid h3{font-size:12px;margin-bottom:9px}.coverage-grid p{font-size:10px;line-height:1.8;color:#88987a}.coverage-footnote{font-size:10px;margin-bottom:0}.template-card{border:1px solid #e2e8d8;border-radius:9px;padding:18px;margin:12px 0}.template-card h3{font-size:13px}.template-card small{display:block;margin-top:5px}.template-card p{font-size:11px;color:#899a7a;line-height:1.8;margin:13px 0}.template-card .button{margin-top:2px}.limit-label{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center}.limit-label input{width:100px}.chunk-card{background:#f4f7eb;border:1px solid #e1e8d4;border-radius:8px;padding:15px;margin:13px 0}.chunk-card pre,#send-preview{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;color:#5f7750;margin:0 0 14px}.chunk-card>div{display:flex;justify-content:space-between;align-items:center}.chunk-card small{font-size:9px;color:#93a380}.send-destination{background:#edf3e5;border-radius:8px;padding:14px;font-size:11px;line-height:1.9;margin-bottom:19px;white-space:pre-line}.delivery-warning{background:#fbefdb;color:#9c7a3c;border-top:1px solid #efddb9;padding:12px 24px;font-size:10px;line-height:1.6}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#214b37;color:#f5faec;padding:13px 22px;border-radius:8px;box-shadow:0 6px 24px #193d2630;font-size:12px;z-index:9999;max-width:min(90vw,600px)}
@media(min-width:1600px){.main{padding:0 48px}.inbox-layout{grid-template-columns:340px minmax(0,1fr)}.conversation-preview{font-size:12px}.conversation-top strong{font-size:12px;max-width:200px}.message-body{font-size:14px}.composer textarea{font-size:14px}.messages{padding:35px}.composer{padding:23px 30px}.page-heading{padding:35px 0}h1{font-size:36px}}
@media(max-width:1200px){.shell{grid-template-columns:200px 1fr}.sidebar{padding:24px 13px}.brand{font-size:16px}.brand-symbol{width:34px}.main{padding:0 20px}.inbox-layout{grid-template-columns:255px 1fr}.detail-header{padding:18px 16px;flex-wrap:wrap}.detail-title h2{max-width:220px}.detail-actions{margin-left:40px}.composer{padding:16px}.composer-tools{flex-wrap:wrap}.route-identity{display:none}.page-footer span:first-child{display:none}.privacy-label{display:none}.empty-detail{padding:24px}.empty-detail h2{font-size:27px}}
@media(max-width:900px){.shell{grid-template-columns:76px 1fr}.sidebar{padding:24px 14px;align-items:center}.brand>span:last-child,.workspace,.sidebar>.eyebrow,.nav-item b,.source-nav button>span:nth-child(2),.source-nav .dot,.sidebar-footer,.connection-note{display:none}.nav{margin-top:34px;width:100%}.nav-item{font-size:0;justify-content:center;padding:12px 8px}.nav-item>span{font-size:20px}.source-nav{margin-top:30px}.source-nav button{padding:10px}.sidebar-bottom{width:100%}.sidebar-bottom .nav-item{font-size:0}.main{padding:0 16px}.inbox-layout{grid-template-columns:235px minmax(0,1fr)}.page-heading h1{font-size:27px}.heading-status{display:none}.composer-footer{flex-wrap:wrap}.empty-buttons{flex-direction:column}.detail-actions{margin-left:0}.coverage-inline{display:none}.page-footer{line-height:1.7}.composer-tools>div{width:100%;justify-content:space-between}}
@media(max-width:680px){.shell{display:block}.sidebar{height:auto;width:100%;position:static;padding:12px 16px;display:flex;flex-direction:row;justify-content:space-between;border-bottom:1px solid var(--line)}.brand>span:last-child{display:block}.brand small{display:none}.brand-symbol{height:33px;width:30px;font-size:25px;border-radius:9px}.sidebar .nav,.source-nav{display:none}.sidebar-bottom{width:auto;margin:0;padding:0;display:flex}.sidebar-bottom .nav-item{width:auto}.topbar{height:63px}.breadcrumb{display:none}.top-actions{width:100%;justify-content:flex-end}.page-heading{padding:24px 0}.page-heading h1{font-size:27px}.page-heading p:not(.eyebrow){font-size:11px}.inbox-layout{display:flex;flex-direction:column;height:auto!important;min-height:600px}.conversation-panel{border-right:0;border-bottom:1px solid var(--line)}.conversation-list{display:flex;max-height:230px;overflow:auto}.conversation{flex:0 0 250px;border-right:1px solid var(--line);padding:15px}.conversation-top strong{max-width:145px}.list-header{padding:16px}.search{margin-bottom:13px}.list-footer,.list-label{display:none}.detail-panel{min-height:500px}.messages{max-height:420px;min-height:150px}.detail-title h2{max-width:230px}.detail-actions{margin-left:auto}.detail-header{padding:16px;gap:14px}.message{max-width:95%}.composer textarea{min-height:120px}.page-footer{font-size:9px;padding-bottom:20px}.coverage-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.example-banner{align-items:flex-start;font-size:9px;line-height:1.6}.empty-detail{padding:40px 20px}.empty-buttons{flex-direction:row}.empty-buttons .button{font-size:10px}.dialog-heading h2{font-size:23px}dialog{padding:22px}.connection-card{flex-wrap:wrap}.connection-card>.button{margin-left:42px}.example-banner .text-button{font-size:9px;white-space:nowrap}.composer-footer>p{max-width:180px}}
.translation-label{font-size:9px;color:#68815c;margin:7px 0;line-height:1.6}.translation-label.subtle{color:#8a947f}.translation-original{font-size:10px;color:#7c8a70;margin-top:7px}.translation-original summary{cursor:pointer;width:fit-content}.original-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;padding:10px 12px;margin-top:7px;background:#f7f8f2;border-left:2px solid #dce5ce;border-radius:4px}.translation-action{font-size:10px;margin-top:9px;text-align:start}.translation-toggle{flex-direction:row!important;align-items:center;gap:10px!important;line-height:1.6}.translation-toggle input{width:17px;height:17px;flex-shrink:0;accent-color:#1e5648}.translation-languages{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}#translation-status{min-height:36px}#translation-button{white-space:nowrap}@media(max-width:680px){#translation-button{font-size:9px;padding:8px}.top-actions{gap:8px}}

/* Kingshot receiving controls */
/* Reading position is anchored by message ID during content updates. */
.messages{overflow-anchor:none;scroll-behavior:auto}
/* The inbox gives the viewport to the reader; Events keeps its scrolling page. */
body:not(.events-view) .shell{height:100dvh;min-height:0}
body:not(.events-view) .main{display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden;padding:0 24px}
body:not(.events-view) .topbar{height:62px;min-height:62px;flex-shrink:0}
body:not(.events-view) .page-footer{display:none}
body:not(.events-view) .character-switcher{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;flex-shrink:0}
body:not(.events-view) .character-switcher>p{margin:0;font-size:10px;text-align:right}
body:not(.events-view) .character-tabs{flex-shrink:0}
body:not(.events-view) .character-tab{padding:8px 12px}
body:not(.events-view) .inbox-layout{display:flex;flex-direction:column;flex:1;height:auto;min-height:0;margin-bottom:16px}
body:not(.events-view) .conversation-toolbar{flex-direction:row;align-items:center;gap:16px;border-right:0;border-bottom:1px solid var(--line);padding:11px 17px;background:#f7f9f2;flex-shrink:0}
.conversation-picker-label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.conversation-picker-label>span{font-size:10px;color:#6e7d66;font-weight:600}
#conversation-picker{display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-width:0;min-height:42px;border:1px solid #d7dfce;background:#fffefa;border-radius:7px;padding:7px 10px;color:#294c37;font-family:inherit;font-size:13px;cursor:pointer}
#conversation-picker:focus-visible{outline:2px solid #6d9874;outline-offset:2px}
#conversation-picker:disabled{cursor:default;opacity:.7}
.chat-picker-trigger-content{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.chat-picker-selected-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}
.chat-picker-selected-meta{font-size:10px;color:#637760;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-picker-chevron{flex-shrink:0;color:#647b5c}
#conversation-picker-menu{position:fixed;z-index:80;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#fffefa;border:1px solid #cfdcc7;border-radius:10px;padding:6px;box-shadow:0 12px 35px #203b2929;text-align:left}
#conversation-picker-menu[hidden]{display:none}
.chat-picker-platform{--chat-accent:#65795d;--chat-tint:#edf2e8;--chat-ink:#405638;padding:0 0 6px}
.chat-picker-platform[data-platform=telegram]{--chat-accent:#3c9ac5;--chat-tint:#e8f3f9;--chat-ink:#216a8e}
.chat-picker-platform[data-platform=discord]{--chat-accent:#7770cb;--chat-tint:#efedfb;--chat-ink:#5b50a0}
.chat-picker-platform[data-platform=kingshot]{--chat-accent:#a88327;--chat-tint:#f7eed9;--chat-ink:#7d5d15}
.chat-picker-platform-heading{position:sticky;top:-6px;z-index:1;display:flex;align-items:center;gap:9px;padding:10px 12px;margin:0;background:var(--chat-tint);border-left:4px solid var(--chat-accent);border-radius:5px;color:var(--chat-ink);font-size:12px;font-weight:750;letter-spacing:.02em}
.chat-picker-platform-symbol{font-size:16px;line-height:1}
.chat-picker-platform-count{margin-left:auto;font-size:10px;font-weight:500;letter-spacing:0}
.chat-picker-subheading{padding:8px 14px 4px;color:#687761;font-size:10px;font-weight:700;letter-spacing:.04em}
.chat-picker-option{display:block;width:100%;box-sizing:border-box;text-align:left;border:0;border-left:3px solid var(--chat-accent);border-radius:5px;background:#fffefa;padding:9px 12px;margin:3px 0;color:#294c37;font:inherit;cursor:pointer;scroll-margin-block:48px}
.chat-picker-option:hover,.chat-picker-option[aria-selected=true]{background:var(--chat-tint)}
.chat-picker-option:focus-visible,.chat-picker-option.is-active{outline:2px solid var(--chat-accent);outline-offset:-2px;background:var(--chat-tint)}
.chat-picker-row-main{display:flex;align-items:center;gap:10px;min-width:0}
.chat-picker-name{flex:1;min-width:0;font-size:12px;font-weight:550;overflow-wrap:anywhere}
.chat-picker-badges{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.chat-picker-badge{font-size:9px;font-weight:700;line-height:1.6;padding:1px 6px;border:1px solid #cad8c5;border-radius:4px;background:#edf3e8;color:#4a6845;white-space:nowrap}
.chat-picker-badge[data-affiliation=vpa]{background:#fffefa;border-color:#c4cfb8;color:#5b6a41}
.chat-picker-badge[data-affiliation=shared]{background:#f0f2e7;border-style:dashed;color:#586345}
.chat-picker-unread{font-size:10px;font-weight:700;white-space:nowrap;color:var(--chat-ink)}
.chat-picker-meta{display:block;font-size:10px;line-height:1.6;color:#6a7963;margin-top:3px;overflow-wrap:anywhere}
.chat-picker-empty{padding:18px 12px;font-size:12px;color:#6a7963}
body:not(.events-view) .conversation-toolbar .search{margin:18px 0 0;flex:0 1 180px;min-width:100px;height:38px}
.conversation-alerts{display:flex;align-items:flex-end;flex-direction:column;gap:6px;flex-shrink:0}
#conversation-updates{font-size:10px;color:#7b8973;white-space:nowrap}
#conversation-updates.has-unread{color:#216a4f;font-weight:650}
body:not(.events-view) .detail-panel{flex:1;min-height:0;overflow:hidden}
body:not(.events-view) .conversation-detail{height:100%;min-height:0}
body:not(.events-view) .detail-header{padding:11px 18px;flex-shrink:0;flex-wrap:nowrap}
body:not(.events-view) .detail-title{flex:1;min-width:0;gap:10px}
body:not(.events-view) .detail-title>div{min-width:0}
body:not(.events-view) .detail-title h2{max-width:none;font-size:14px}
body:not(.events-view) .detail-title p{margin-top:3px;font-size:10px}
body:not(.events-view) .detail-actions{margin:0;display:flex;align-items:center;gap:8px;flex-shrink:0}
.coverage-details{position:relative;font-size:10px;color:#718268}
.coverage-details summary{cursor:pointer;white-space:nowrap;padding:8px 4px}
body:not(.events-view) .coverage-details .coverage-note{position:absolute;right:0;top:100%;width:min(390px,70vw);z-index:3;background:#fffefa;border:1px solid #dbe3d0;border-radius:8px;box-shadow:0 8px 24px #30472a20;padding:15px;font-size:11px;color:#556b4d;line-height:1.7}
body:not(.events-view) .messages{flex:1;min-height:0;max-height:none;padding:20px 24px;overscroll-behavior:contain}
body:not(.events-view) .message{max-width:min(90%,100ch);margin-bottom:16px}
body:not(.events-view) .message-label{margin-bottom:5px;font-size:10px}
body:not(.events-view) .message-label strong{font-size:11px}
body:not(.events-view) .message-body{font-size:14px;line-height:1.65;padding:11px 14px}
body:not(.events-view) .composer{padding:9px 17px 8px;flex-shrink:0}
body:not(.events-view) .composer-heading{margin-bottom:6px;gap:12px}
body:not(.events-view) .composer-heading h3{font-size:11px}
body:not(.events-view) .composer-heading>div{display:flex;align-items:center;gap:14px}
body:not(.events-view) .composer-heading span{font-size:10px}
body:not(.events-view) .composer-heading .text-button{font-size:10px}
body:not(.events-view) .composer .route{display:none}
.reply-entry{display:flex;align-items:flex-end;gap:10px;min-width:0}
body:not(.events-view) .composer textarea{height:54px;min-height:54px;max-height:54px;flex:1;min-width:0;resize:none;border:1px solid #dce4d3;border-radius:7px;font-size:13px;padding:8px 11px;line-height:1.5;overflow:auto}
body:not(.events-view) .composer textarea::placeholder{font-size:13px}
.reply-actions{display:flex;gap:7px;flex-shrink:0;padding-bottom:1px}
.reply-actions .button{padding:10px 14px;white-space:nowrap;font-size:11px}
body:not(.events-view) .composer-tools{padding:7px 0 0;align-items:center;gap:12px;flex-wrap:nowrap}
body:not(.events-view) .composer-tools>div{display:flex;align-items:center;gap:14px;width:auto;flex-shrink:0}
body:not(.events-view) .composer-tools .text-button{font-size:10px}
body:not(.events-view) #send-note{font-size:10px;color:#7b8872;text-align:right;line-height:1.5}
body:not(.events-view) .composer.composer-expanded textarea{height:160px;min-height:100px;max-height:28dvh}
body:not(.events-view) .empty-detail{flex:1;min-height:0;padding:24px}
body:not(.events-view) .empty-detail h2{font-size:25px;margin:16px 0 0}
body:not(.events-view) .empty-mark{width:52px;height:52px;font-size:27px}
body:not(.events-view) .empty-detail p{margin:12px 0 20px;max-width:410px}
@media(max-width:1100px){
  body:not(.events-view) .main{padding:0 14px}
  body:not(.events-view) .character-switcher>p{display:none}
  body:not(.events-view) .conversation-toolbar{gap:10px;padding:10px 12px}
  body:not(.events-view) .conversation-toolbar .search{flex-basis:135px}
  body:not(.events-view) .detail-header{padding:10px 12px;flex-wrap:wrap;gap:6px}
  body:not(.events-view) .detail-title{flex-basis:220px}
  body:not(.events-view) .detail-actions{margin-left:auto}
  body:not(.events-view) .messages{padding:16px}
  body:not(.events-view) .composer{padding:9px 12px}
  body:not(.events-view) #send-note{display:none}
}
@media(max-width:680px){
  body:not(.events-view) .shell{display:flex;flex-direction:column}
  body:not(.events-view) .sidebar{flex-shrink:0}
  body:not(.events-view) .main{height:auto;flex:1;padding:0 10px}
  body:not(.events-view) .topbar{height:48px;min-height:48px}
  body:not(.events-view) .top-actions{gap:6px;justify-content:space-between}
  body:not(.events-view) .top-actions .button{padding:7px 9px;font-size:10px}
  body:not(.events-view) .character-switcher{padding:8px 0}
  body:not(.events-view) .inbox-layout{height:auto!important;min-height:0;margin-bottom:8px}
  body:not(.events-view) .conversation-toolbar{flex-wrap:wrap;gap:7px;padding:9px 10px}
  .conversation-picker-label{flex-basis:calc(100% - 115px)}
  #conversation-picker{font-size:12px}
  body:not(.events-view) .conversation-toolbar .search{display:flex;flex:1 1 100%;margin:0;height:32px}
  .chat-picker-row-main{align-items:flex-start;gap:7px}
  .chat-picker-name{font-size:12px}
  .conversation-alerts{max-width:110px}
  #conversation-updates{font-size:9px}
  #next-unread{font-size:9px;padding:7px}
  body:not(.events-view) .detail-header{padding:8px 10px}
  body:not(.events-view) .detail-title{flex-basis:160px}
  body:not(.events-view) .detail-title h2{font-size:12px}
  body:not(.events-view) .detail-title p{font-size:9px}
  body:not(.events-view) .detail-actions{gap:5px;flex-wrap:wrap}
  body:not(.events-view) .detail-actions>.button{font-size:9px;padding:6px 7px}
  .coverage-details summary{font-size:9px}
  body:not(.events-view) .messages{padding:12px}
  body:not(.events-view) .message{max-width:96%}
  body:not(.events-view) .message-body{font-size:13px;padding:9px 11px}
  body:not(.events-view) .composer-tools>div{gap:12px;flex-wrap:wrap}
  .reply-actions{flex-direction:column}
  .reply-actions .button{padding:9px;font-size:10px}
  body:not(.events-view) .composer.composer-expanded textarea{height:120px;max-height:23dvh}
}
.voice-reader-heading{font-size:13px;margin-bottom:10px}.voice-reader-text{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:20px}.voice-caption{white-space:pre-wrap;line-height:1.8}
.voice-card{white-space:normal}.voice-heading{font-size:12px;font-weight:650;margin-bottom:8px}.voice-english{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.voice-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:16px}.voice-controls label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#62775a}.voice-language{border:1px solid #d7dfce;border-radius:6px;background:#fffefa;padding:8px;color:#36513c;font-size:11px;max-width:100%}.voice-action{min-height:34px}.voice-note{font-size:10px;line-height:1.7;color:#718164;margin-top:10px;max-width:580px}.voice-progress{font-size:12px;line-height:1.8;color:#42633d;margin:10px 0}.voice-error{margin:10px 0}
.capture-choices{display:grid;gap:12px;margin:12px 0}.capture-choice{display:flex;flex-direction:row;align-items:center;gap:10px;margin:12px 0}.capture-choice input{width:auto;accent-color:var(--green,#245d4b)}#kingshot-choices{border:1px solid #dde3d5;border-radius:10px;padding:16px}#kingshot-choices legend{padding:0 8px;font-weight:600}.capture-discovered{border-top:1px solid #dde3d5;margin-top:16px;padding-top:8px}.dot.waiting,.dot.connecting,.dot.stopping{background:#c8a04c}

.character-switcher{padding:20px 0 0}.character-tabs{display:flex;gap:8px;flex-wrap:wrap}.character-tab{display:flex;align-items:center;gap:10px;border:1px solid #dce3d6;background:#fffefa;border-radius:9px;padding:11px 15px;color:#586c59;font-size:12px}.character-tab[aria-selected=true]{background:#e7f0dc;border-color:#8fae78;color:#284b34;box-shadow:inset 0 -2px #789960}.character-tab:hover{border-color:#8fae78}.character-alliance{font-size:10px;letter-spacing:.6px}.character-live{font-size:9px;color:#2b785b;background:#dcf0e4;border-radius:12px;padding:4px 7px}.character-switcher>p{font-size:10px;color:#788875;line-height:1.6;margin-top:10px}.kingshot-profile-title{font-size:14px;margin-bottom:12px;color:#365c43}@media(max-width:680px){.character-switcher{padding-top:15px}.character-tab{padding:10px 12px;gap:7px}.character-live{font-size:8px}}
/* Events Guides shares the existing local service; a page refresh loads updates. */
.events-calendar .event-chip.window-conflict{border-left-color:#b58935;background:#fbefd4;color:#70521f}
.events-receiver{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;margin-top:12px;border:1px solid #d4e2da;border-radius:10px;background:#edf5f0}.events-receiver strong{font-size:12px;color:#345b4b}.events-receiver p{font-size:11px;color:#607c6a;line-height:1.7;margin-top:5px}.events-receiver>.button{flex-shrink:0}.event-badge.collected{background:#d5ece3;color:#245e4f}.event-chip.collected{background:#dff0e8;border-left-color:#3e8b75;color:#245b4b}@media(max-width:680px){.events-receiver{align-items:flex-start;flex-direction:column;gap:10px}.events-receiver>.button{align-self:flex-start}}
.events-view .main>.page-heading,.events-view .inbox-layout,.events-view #example-banner,.events-view #translation-button,.events-view #import-button{display:none!important}
.events-view .main{min-width:0}.events-shortcut{white-space:nowrap}#events-page{padding-bottom:22px}.events-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 0 24px}.events-heading h1{font-family:Georgia,serif;font-size:38px;font-weight:400;margin:9px 0}.events-heading p:not(.eyebrow){font-size:13px;color:#647568;line-height:1.7}.events-edition{font-size:9px;line-height:1.9;letter-spacing:1px;color:#73806b;text-align:right}.events-edition strong{font-size:11px;letter-spacing:0;font-weight:500}.events-note{padding:17px 20px;border:1px solid #dedfc9;border-radius:10px;background:#f5f2e5;font-size:12px;color:#626045;line-height:1.7}.events-note p{margin-top:4px;font-size:11px;max-width:1000px}.events-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 0 17px;flex-wrap:wrap}.events-month-controls,.events-view-controls{display:flex;align-items:center;gap:8px}.events-month-controls h2{font-family:Georgia,serif;font-size:24px;font-weight:400;min-width:186px;text-align:center}.events-view-controls [aria-pressed=true]{background:#1e5648;color:#fff;border-color:#1e5648}.events-filters{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:15px}.events-filters label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:600;color:#627264}.events-filters input,.events-filters select{border:1px solid #dce3d6;border-radius:7px;background:#fffefa;padding:10px 12px;color:#345143;font-size:12px;min-width:205px}.events-legend{display:flex;gap:7px;margin-left:auto;padding-bottom:7px}.event-badge{display:inline-block;white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:9px;line-height:1.4;font-weight:600}.event-badge.observed{background:#e2edda;color:#385634}.event-badge.forecast{background:#f5e9ce;color:#735c2b}.event-badge.unlock{background:#e5e9f1;color:#455d7b}.events-caption{font-size:10px;line-height:1.7;color:#687768;margin:10px 0}.events-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #dfe5d8;border-left:1px solid #dfe5d8;border-radius:10px;overflow:hidden;background:#fffefa}.event-weekday{padding:12px 9px;font-size:9px;letter-spacing:1px;font-weight:650;color:#72816d;border-right:1px solid #dfe5d8;border-bottom:1px solid #dfe5d8;background:#eef2e7;text-align:center}.event-cell{min-height:120px;border-right:1px solid #dfe5d8;border-bottom:1px solid #dfe5d8;padding:7px 5px 9px;min-width:0}.event-cell.outside{background:#f3f5ed}.event-cell.outside .event-day-number{color:#899380}.event-cell.selected{box-shadow:inset 0 0 0 2px #76945f;background:#f4f8ec}.event-day-number{display:block;border:0;border-radius:50%;background:transparent;font-size:11px;width:27px;height:27px;margin:0 0 5px 2px}.event-cell.today .event-day-number{background:#1e5648;color:white;font-weight:700}.event-chip{display:block;width:100%;border:0;border-left:3px solid #75985f;text-align:left;border-radius:4px;padding:6px;margin:4px 0 0;font-size:10px;line-height:1.45;background:#eaf1e1;color:#385333;overflow-wrap:anywhere}.event-chip.forecast{background:#f8f0de;border-left-color:#bf9d4e;color:#745e30}.event-chip.is-unlock{background:#eaf0f6;border-left-color:#849ab6;color:#425f7f}.event-chip:hover{filter:brightness(.96);text-decoration:underline}.events-day-panel{border:1px solid #dfe5d8;border-radius:10px;background:#fffefa;margin-top:20px;padding:20px}.events-day-panel h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin-top:8px}.event-row{display:flex;align-items:center;gap:15px;width:100%;text-align:left;border:0;border-bottom:1px solid #e4e9dc;background:transparent;padding:16px 5px;color:#36503d}.event-row:last-child{border-bottom:0}.event-row:hover{background:#f4f7ee}.event-row-date{font-size:11px;width:100px;flex-shrink:0;color:#6a7963}.event-row-info{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0}.event-row-info strong{font-size:13px;font-weight:600}.event-row-info>span{font-size:11px;color:#76836d;line-height:1.6}.event-row-arrow{font-size:18px;color:#7b8e6d}.events-agenda{background:#fffefa;border:1px solid #dfe5d8;border-radius:10px;padding:6px 20px}.events-empty{font-size:12px;color:#718166;line-height:1.8;padding:24px 5px}.events-watch{margin:32px 0 20px}.events-watch>h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin:9px 0}.events-watch>p:not(.eyebrow){font-size:12px;color:#75816c;line-height:1.7}.events-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.event-guide-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;border:1px solid #dfe5d8;border-radius:10px;background:#fffefa;text-align:left;color:#3d573f}.event-guide-card:hover{border-color:#aabf98;background:#f8faef}.event-guide-card strong{font-size:13px;font-weight:600}.event-guide-card>span{font-size:11px;color:#728166;line-height:1.7}.event-guide-card small{font-size:10px;margin-top:auto;padding-top:4px;color:#526e44}.events-principle{padding:18px 20px;background:#eaf0e0;border-radius:10px;font-size:12px;color:#526849;line-height:1.8}.events-evidence{margin-top:22px;font-size:11px;color:#6e7d64;line-height:1.8}.events-evidence summary{cursor:pointer;font-weight:600;color:#45643c}.events-evidence p{margin-top:12px;max-width:1000px}.event-guide-meta{display:flex;align-items:center;gap:12px;font-size:12px;margin-bottom:15px}.event-guide-note{background:#f4f1e5;border-radius:8px;padding:13px;font-size:12px;line-height:1.8;color:#74613d}.event-guide-block{margin:20px 0}.event-guide-block h3,.event-guide-sources h3,.event-stage-heading{font-size:12px;margin-bottom:7px;color:#3d5e3c}.event-guide-block p,.event-guide-sources p{font-size:12px;line-height:1.8;color:#6b7f60}.event-stage-table{border-collapse:collapse;width:100%;font-size:11px;line-height:1.7;margin:12px 0 22px}.event-stage-table th,.event-stage-table td{text-align:left;padding:10px;border:1px solid #dde5d5}.event-stage-table th{background:#edf2e4}.event-stage-table td:first-child{width:34%;font-weight:600}.event-guide-sources{border-top:1px solid #e3e9db;padding-top:17px}.event-guide-sources a{display:inline-block;margin:10px 20px 0 0;font-size:11px}
@media(max-width:1100px){.events-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.events-legend{margin-left:0}.event-chip{font-size:9px;padding:5px 4px}.event-cell{min-height:100px}.events-month-controls h2{min-width:170px;font-size:22px}}
@media(max-width:680px){.events-heading{padding:24px 0 20px}.events-heading h1{font-size:32px}.events-edition{display:none}.events-note{padding:14px}.events-month-controls{gap:5px;flex-wrap:wrap}.events-month-controls .button{padding:8px}.events-month-controls h2{min-width:150px;font-size:21px}.events-filters{gap:10px}.events-filters label{flex:1}.events-filters input,.events-filters select{min-width:0;width:100%;font-size:11px}.events-legend{width:100%}.event-cell{padding:4px 2px;min-height:90px}.event-chip{font-size:8px;padding:4px 2px;border-left-width:2px}.event-weekday{font-size:8px;letter-spacing:0;padding:10px 2px}.event-day-number{font-size:10px;width:24px;height:24px;margin-left:0}.events-guide-grid{grid-template-columns:1fr}.events-day-panel,.events-agenda{padding:14px}.event-row{gap:9px;flex-wrap:wrap}.event-row-date{font-size:10px;width:65px}.event-row-info strong{font-size:12px}.event-row-info>span{font-size:10px}.event-row-arrow{display:none}.event-row .event-badge{font-size:8px}.events-day-panel h2{font-size:21px}.events-shortcut{font-size:10px!important}.events-view .privacy-label{display:none}}
/* Shared recruit guidance and independent personal budgets. */
.inventory-card,.planning-outlook{margin-bottom:18px}.inventory-card>h3{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:8px 0 12px}.inventory-caveat{font-size:11px!important;line-height:1.8;padding:12px 14px;background:#f6f1e2;border-radius:8px}.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:15px}.inventory-quantity{display:flex;align-items:center;gap:10px;border:1px solid #e0e7d9;border-radius:8px;padding:12px;background:#f8faf3}.inventory-quantity img{object-fit:contain;flex-shrink:0}.inventory-quantity span{display:block;font-size:10px;color:#6c7e60;line-height:1.5}.inventory-quantity strong{display:block;font-size:14px;color:#365740;line-height:1.7}.inventory-quantity.unknown{background:#f4f4ee}.inventory-quantity.unknown strong{font-size:12px;color:#7c8575}.planning-outlook .budget-plan-heading{margin-top:0}.planning-outlook select{border:1px solid #ccd9bf;border-radius:7px;background:#fffefa;padding:10px 15px;color:#365740;font-size:13px}.planning-range{font-weight:600;margin:12px 0;color:#47633f!important}.planning-facts{padding-left:20px;font-size:12px;line-height:1.8;color:#65785b}.planning-facts li{margin:8px 0}.planning-next{border-left:3px solid #96ad7d;padding-left:13px;margin-top:15px;font-size:12px!important}.planning-outlook .events-caption{font-size:11px;margin-top:12px}@media(max-width:1000px){.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.inventory-grid{grid-template-columns:1fr}.inventory-quantity{padding:9px}}
/* Additive daily item guidance. All figures remain in the existing budgets. */
.daily-guide .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.daily-guide{margin:22px 0 28px;border-top:1px solid #dfe7d7;padding-top:20px}.daily-heading h3{font-family:Georgia,serif;font-size:25px;font-weight:400;color:#2c523f;margin:8px 0 12px}.daily-heading .eyebrow{font-size:10px}.daily-summary{padding:12px 15px;border-radius:8px;background:#edf4e5;color:#45643b;font-size:12px;line-height:1.7;margin-bottom:9px}.daily-table-wrap{overflow-x:auto;border:1px solid #dce5d4;border-radius:9px;margin-top:14px}.daily-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:11px;line-height:1.6}.daily-table thead th{background:#edf2e5;padding:10px 12px;color:#4d6743;font-size:10px;letter-spacing:.2px}.daily-table thead th:first-child{width:27%}.daily-table thead th:nth-child(2){width:40%}.daily-table td,.daily-table tbody th{padding:12px;border-bottom:1px solid #e4e9df;vertical-align:top;background:#fffefa}.daily-table tr:last-child>*{border-bottom:0}.daily-item{display:flex;gap:9px;align-items:center}.daily-item img,.daily-icon{width:38px;height:38px;flex-shrink:0;object-fit:contain;border-radius:6px}.daily-icon{display:grid;place-items:center;background:#edf2e4;font-size:24px}.daily-item strong{font-size:11px;line-height:1.45;color:#36543e;display:block}.daily-table small{display:block;color:#758169;font-size:10px;line-height:1.6;font-weight:400;margin-top:4px}.daily-table td>strong{font-size:11px;color:#4c6342}.daily-table p{margin:5px 0 0;color:#6b795f;line-height:1.6}.daily-action{display:inline-block;font-size:9px;letter-spacing:.5px;font-weight:700;border-radius:4px;padding:3px 7px;background:#f0eddd;color:#786630;white-space:nowrap}.daily-action.conditional{background:#dcebd2;color:#2d6339}.daily-action.hold,.daily-action.check{background:#f9e4d2;color:#8c5027}.daily-action.past{background:#e8e9e6;color:#687264}.daily-target-kind{display:block;font-size:8px;letter-spacing:1px;color:#9b8144;font-weight:600;margin-bottom:2px}.daily-basics{margin:14px 0 8px;font-size:11px;line-height:1.8;color:#66775c}.daily-basis{font-size:10px;color:#73816a;line-height:1.7;margin-top:14px}.daily-basis summary{cursor:pointer;color:#4d6b43}.daily-basis p{margin-top:10px}.daily-guide .daily-plan-note{border-left:2px solid #bac9ab;padding-left:7px;margin-top:7px}.daily-dialog{max-width:1000px!important}.daily-dialog .daily-guide{border-top:0;padding-top:0;margin-top:0}.daily-dialog .dialog-heading{margin-bottom:18px}.event-day-number:hover{background:#dfeacf;box-shadow:0 0 0 2px #bacda7}.event-day-number:focus-visible{outline:2px solid #295c48;outline-offset:2px}
@media(max-width:680px){.daily-table{min-width:570px}.daily-table td,.daily-table tbody th{padding:10px}.daily-item{gap:6px}.daily-item img,.daily-icon{width:30px;height:30px}.daily-heading h3{font-size:22px}.daily-table-wrap{max-width:100%}}
.budget-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid #dce4d3;padding-bottom:13px;margin-bottom:22px}
.budget-tabs button{border:1px solid #d9e3d2;background:#fffefa;border-radius:8px;padding:12px 18px;color:#486340;font-size:13px;font-weight:600}
.budget-tabs [aria-selected=true]{background:#1e5648;border-color:#1e5648;color:white}.budget-tabs .unsaved::after{content:' •'}
.budget-view .character-switcher,.budget-view #events-scope,.budget-view .events-edition{display:none}.budget-heading{margin:22px 0}.budget-heading h2{font-family:Georgia,serif;font-size:30px;font-weight:400;color:#284f3e;margin:9px 0 12px}.budget-heading>p:last-child{max-width:900px;color:#687861;font-size:13px;line-height:1.8}
.budget-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 28px}.budget-card{padding:21px;background:#fffefa;border:1px solid #dce5d5;border-radius:11px}.budget-card h3{font-size:16px;color:#30573e;margin-bottom:10px}.budget-card p{font-size:13px;line-height:1.8;color:#687860}.budget-principles .budget-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.budget-principles .button{margin-top:auto}
.budget-general-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:24px;align-items:start}.budget-section-title{font-size:17px;color:#36593c;margin:23px 0 14px}.budget-general-layout>.budget-section-title:first-child{margin-top:0}.budget-notice{position:sticky;top:18px;background:#f1f6e9}.budget-notice h3{margin:10px 0 18px}.budget-notice label,.budget-plan-dialog label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#546e49;margin:12px 0}.budget-notice textarea,.budget-notice select,.budget-plan-dialog input,.budget-plan-dialog textarea,.budget-plan-dialog select{width:100%;border:1px solid #cfddc5;border-radius:7px;padding:10px;background:#fffefa;color:#2d4e3a;font-family:inherit;font-size:13px;line-height:1.6}.budget-notice textarea{resize:vertical;min-height:190px}.budget-notice .button.primary{width:100%}.budget-notice .events-caption{font-size:11px}.budget-notice ol{padding-left:18px;margin-top:12px}.budget-notice li{font-size:12px;color:#63765a;line-height:1.8;margin-bottom:9px}

/* Shared event articles: calendar guides and recruit briefings. */
.event-guide-article{margin:24px 0;color:#355344;font-size:13px;line-height:1.75}
.event-guide-article .guide-family-label{font-size:10px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#6d8457;margin:0 0 18px}
.guide-section{padding:20px 0;border-top:1px solid #e3e9da}
.guide-section-heading{display:flex;align-items:center;gap:10px;margin:0 0 13px;font-size:14px;color:#274e3e}
.guide-section-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf3e4;font-size:18px;flex-shrink:0}
.event-guide-article p{font-size:13px;line-height:1.8;margin:8px 0;color:#607359}
.guide-list{padding-left:21px;margin:8px 0;color:#607359}
.guide-list li{margin:7px 0;padding-left:3px}
.event-guide-article .guide-edition-label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:12px;font-weight:600;color:#486445}
.guide-edition-select{width:100%;padding:11px;border:1px solid #cfddc5;border-radius:7px;background:#fffefa;color:#2d4e3a;font-size:13px}
.guide-stage-list{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.guide-stage-card{padding:15px;background:#f7f9f2;border:1px solid #dfe8d3;border-radius:9px}
.guide-stage-card h4,.guide-advice h4{margin:0 0 7px;font-size:13px;color:#325b40}
.event-guide-article .guide-stage-card p{font-size:12px;margin:6px 0}
.event-guide-article .guide-stage-save{border-top:1px solid #e1e8d9;padding-top:8px}
.event-guide-article .guide-stage-caveat{font-size:12px;border-left:3px solid #c5d7ac;padding:8px 12px;background:#f3f6ed;border-radius:0 7px 7px 0}
.guide-advice{margin:15px 0}
.guide-saved-research{margin-top:19px;padding:13px 15px;border:1px solid #e3e8db;border-radius:8px;background:#fafbf6}
.guide-saved-research summary{cursor:pointer;font-size:12px;font-weight:600;color:#4c6947}
.event-guide-article .guide-saved-research p{font-size:12px}
.guide-saved-research table{margin-top:15px}
.guide-saved-research caption{text-align:left;font-weight:600;margin-bottom:9px;color:#5c704f}
.guide-reference-links{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;margin:12px 0}
.event-guide-article .guide-family-motto{font-weight:700;color:#42663d}
.guide-library-filters{display:grid;grid-template-columns:minmax(200px,2fr) minmax(180px,1fr);gap:16px;margin:22px 0 12px}
.guide-library-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#4b684a}
.guide-library-filters input,.guide-library-filters select{width:100%;padding:12px;border:1px solid #cfddc5;border-radius:8px;background:#fffefa;color:#2d4e3a}
.guide-library-groups{display:grid;gap:14px;margin:18px 0 26px}
.guide-library-group{border:1px solid #dce5d5;border-radius:10px;background:#fffefa;overflow:hidden}
.guide-library-group>summary{padding:19px 20px;cursor:pointer;color:#335842;font-size:14px;background:#f2f6ea}
.guide-library-group>summary span{float:right;color:#7c8b70;font-size:11px;margin-left:15px}
.guide-library-group .events-guide-grid{padding:16px;gap:12px}
.guide-library-group .event-guide-card{text-align:left}
.guide-library-group .event-guide-card>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.7}
.guide-availability{display:block;font-size:10px;color:#7b805b;margin:7px 0}
.guide-export{margin:15px 0 22px;padding:14px;background:#edf4e5;border:1px solid #d7e4cb;border-radius:10px}
.guide-export-panel{margin-top:14px;padding-top:4px}
.daily-announcement .announcement-title{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:0 0 7px;color:#2c523f}
.daily-announcement .announcement-date{font-size:12px;font-weight:600;color:#45643b;margin:0 0 8px}
.daily-announcement .guide-export-help{font-size:12px;line-height:1.7;color:#607354;margin:8px 0 12px}
.daily-announcement .guide-export-status{font-size:12px;font-weight:600;color:#315e3e;min-height:1em}
.event-guide-article .guide-export-help{font-size:11px;line-height:1.7;color:#607354;margin:8px 0 12px}
.guide-export .guide-export-option{display:flex;flex-direction:row;align-items:center;gap:9px;margin:12px 0;font-size:12px;font-weight:500}
.guide-export .guide-export-option input{width:16px;height:16px;margin:0;accent-color:#245845}
.guide-export-title-label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin:12px 0}
.guide-export .guide-export-title,.guide-export .guide-export-preview{display:block;width:100%;padding:12px;border:1px solid #cfddc5;border-radius:7px;background:#fffefa;color:#344d40}
.guide-export .guide-export-preview{font:12px/1.8 Consolas,monospace;resize:vertical;min-height:160px;white-space:pre-wrap}
.guide-export-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.event-guide-article .guide-export-status{font-size:12px;font-weight:600;color:#315e3e;min-height:1em}
.guide-export-parts{display:grid;gap:10px;margin-top:12px}
.guide-export-part{padding:12px;border:1px solid #d6e1cb;border-radius:8px;background:#f9fbf6}
.guide-export-part-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px}
.guide-export-part-count{display:block;font-size:11px;color:#607354;margin-top:4px}
.guide-export-copied{font-size:11px;color:#245845;margin-top:4px}
.guide-export-part-preview{margin-top:10px}
.guide-export-part-preview>summary{cursor:pointer;font-size:12px;color:#607354}
.guide-export-part-preview[open]>summary{margin-bottom:9px}
.guide-stage-card .guide-list{font-size:11px;margin:10px 0;padding-left:18px}
@media(max-width:600px){.guide-library-filters{grid-template-columns:1fr}.guide-library-group>summary{padding:16px 14px}.guide-export-actions>.button{flex:1 1 100%}.guide-export{padding:11px}}
.event-guide-article.compact{margin:18px 0 4px}
.event-guide-article.compact .guide-stage-list{grid-template-columns:1fr}
.event-guide-article.compact .guide-section{padding:16px 0}
#event-guide-daily{border-top:1px solid #dce6d1;margin-top:24px;padding-top:22px}
@media(max-width:600px){.guide-stage-list{grid-template-columns:1fr}.guide-stage-card{padding:13px}.guide-section{padding:16px 0}.event-guide-article{margin-top:20px}}
.budget-table-wrap{overflow:auto;border:1px solid #dce5d5;border-radius:10px;background:#fffefa}.budget-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;line-height:1.7}.budget-table th{background:#edf3e5;color:#43603c;font-weight:600}.budget-table th,.budget-table td{border-bottom:1px solid #e3e9dc;padding:13px 15px;vertical-align:top}.budget-table tr:last-child td,.budget-table tr:last-child th{border-bottom:0}.budget-table td{color:#65765b}.budget-table td:first-child{font-weight:600;color:#3e5e38;min-width:110px}.budget-stock{min-width:650px}.budget-stock th[scope=row]{background:transparent;width:30%}.budget-stock small{display:block;font-weight:400;font-size:10px;color:#7c8b71}.budget-stock input{width:115px;max-width:100%;border:1px solid #d7e2cd;border-radius:6px;padding:9px;background:#fffefa;color:#3b5b35;font-size:13px}.budget-stock td{vertical-align:middle}.budget-stock .budget-short{color:#995926;font-weight:600}
.budget-brief{margin:10px 0;padding:16px 18px;border:1px solid #dce4d2;border-radius:8px;background:#fffefa}.budget-brief summary{cursor:pointer;font-size:14px;font-weight:600;color:#36593c}.budget-brief p{font-size:12px;line-height:1.8;color:#66795c;margin-top:12px}.budget-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:15px}.budget-actions a{font-size:11px;color:#406b4c}
.budget-savebar{display:flex;align-items:center;gap:10px;margin:18px 0}.budget-savebar>span{flex:1}.budget-warning{padding:13px 16px;margin:16px 0;border-radius:8px;background:#edf3e6;color:#5d7552;font-size:12px;line-height:1.8}.budget-warning.is-short{background:#fbeddc;color:#975c2e}.budget-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:25px 0 12px}.budget-plan-heading h3{font-size:19px;color:#385638}.budget-plan-heading h4{font-size:16px;font-weight:600;color:#385638}.budget-plans{display:grid;gap:14px}.budget-plans .budget-plan-heading{margin:0 0 10px}.budget-plan-dates{font-weight:600}.budget-closed{opacity:.7}.budget-allocation-list{padding:12px;background:#f2f6ed;border-radius:7px;margin:12px 0}.budget-plan-dialog{max-width:800px;width:calc(100% - 32px)}.budget-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.budget-amount-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.budget-plan-dialog .budget-heading{margin:0 0 18px}.budget-plan-dialog .budget-check{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center}.budget-check input{width:18px;height:18px;flex-shrink:0}
@media(max-width:1100px){.budget-principles{grid-template-columns:1fr}.budget-general-layout{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:16px}.budget-card{padding:17px}.budget-heading h2{font-size:27px}.budget-table th,.budget-table td{padding:10px}}
@media(max-width:760px){.budget-general-layout{grid-template-columns:1fr}.budget-notice{position:static;grid-row:1}.budget-tabs{gap:6px}.budget-tabs button{flex:1 1 40%;padding:11px 9px;font-size:12px}.budget-form-grid,.budget-amount-grid{grid-template-columns:1fr 1fr}.budget-savebar{flex-wrap:wrap}.budget-savebar>span{flex-basis:100%}.budget-plan-heading{flex-wrap:wrap}.budget-heading h2{font-size:25px}}

.translation-target{display:block;width:100%;margin:8px 0 16px;padding:10px;border:1px solid var(--line);border-radius:7px;background:#fffefa;color:var(--dark)}#translation-preferences-form{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:9px}#translation-preferences-form>label{font-size:12px}#translation-preferences-form .help{margin:12px 0}

/* Collected Kingshot cards retain ordinary message permissions and timestamps. */
body:not(.events-view) .message-body.kingshot-card{white-space:normal;max-width:620px;padding:15px 17px;border-color:#cedfd7;border-left:3px solid #6b9c8b;background:#f0f7f2}
.kingshot-card-header{display:flex;align-items:center;gap:11px;min-width:0}
.kingshot-card-icon{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;background:#dcece3;font-size:22px;line-height:1}
.kingshot-card-heading{min-width:0}.kingshot-card-kind{font-size:10px;font-weight:650;letter-spacing:.35px;color:#527063}
.kingshot-card-title{font-size:15px;line-height:1.5;font-weight:650;color:#274d40;margin:3px 0 0;overflow-wrap:anywhere}
.kingshot-card-location{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0;padding:10px 12px;border:1px solid #d7e5dc;background:#fffefa;border-radius:7px;user-select:all}
.kingshot-card-kingdom{font-size:12px;color:#5c7567}.kingshot-card-coordinates{font-size:15px;font-variant-numeric:tabular-nums;color:#254e40;margin-left:auto;white-space:nowrap}
.kingshot-card-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.kingshot-card-controls .button{min-height:34px;margin:0}.kingshot-card-copy-status{font-size:11px;color:#456b55}
body:not(.events-view) .message-body.kingshot-card--notice{border-color:#e1d5bb;border-left-color:#b58b49;background:#fbf6ec}
.kingshot-card--notice .kingshot-card-icon{background:#efe2c6}.kingshot-card--notice .kingshot-card-kind{color:#866331}
.kingshot-card-text{white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;font-family:Consolas,"Cascadia Code",monospace;font-size:13px;line-height:1.7;margin-top:12px;color:#5d513d}
body:not(.events-view) .message-body.kingshot-card--sticker{max-width:420px;border-color:#ded9e9;border-left-color:#9a8ab9;background:#f5f2f9}
.kingshot-card--sticker .kingshot-card-icon{background:#e9e1f2;color:#7b619e}.kingshot-card--sticker .kingshot-card-kind{color:#796488}
.kingshot-card-sticker-id{font-size:13px;margin:10px 0 4px;color:#60516f}.kingshot-card-help{font-size:11px;line-height:1.65;color:#80728b;margin:0;max-width:330px}
@media(max-width:600px){body:not(.events-view) .message-body.kingshot-card{padding:12px}.kingshot-card-title{font-size:14px}.kingshot-card-location{gap:6px;padding:9px}.kingshot-card-coordinates{font-size:14px}.kingshot-card-text{font-size:12px}.kingshot-card-controls .button{min-height:40px}}
/* Detailed event guides: explanatory tables and worked examples. */
.guide-table-wrap{max-width:100%;overflow-x:auto;margin:14px 0}
.guide-detail-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.65;text-align:left}
.guide-detail-table caption{text-align:left;color:#627460;font-size:11px;padding:0 0 10px;caption-side:top}
.guide-detail-table th,.guide-detail-table td{padding:11px 13px;border:1px solid #dce5d5;vertical-align:top;overflow-wrap:anywhere}
.guide-detail-table th{background:#edf3e5;color:#35573d;font-weight:650}
.guide-detail-table td:first-child{font-weight:600;color:#365940;width:33%}
.guide-detail-table .guide-table-note{font-size:11px;color:#6a7865;min-width:130px}
.event-guide-article .guide-detail-note{font-size:11px;border-left:3px solid #bdcfa5;background:#f4f7ee;padding:10px 13px;margin-top:12px}
.guide-practical-steps{margin:14px 0 0;padding-left:26px;display:grid;gap:14px}
.guide-practical-steps li{padding-left:4px;color:#59714f}
.guide-practical-steps h4,.guide-example h4{font-size:13px;color:#315740;margin:0 0 5px}
.event-guide-article .guide-practical-steps p,.event-guide-article .guide-example p{margin:0;white-space:pre-line}
.guide-examples{display:grid;gap:12px}
.guide-example{border:1px solid #d9e5d2;border-radius:9px;background:#f4f8ef;padding:15px 17px}
@media(max-width:600px){.guide-detail-table{font-size:11px}.guide-detail-table th,.guide-detail-table td{padding:8px}.guide-detail-table td:first-child{width:35%}.guide-example{padding:13px}.guide-detail-table .guide-table-note{min-width:105px}}
/* Manual calendar image and Discord guide-link export. */
dialog.week-export-dialog { width:min(1250px,calc(100vw - 32px)); max-width:1250px; max-height:92vh; }
.week-export-controls { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin:18px 0; }
.week-export-controls label { display:flex; gap:10px; align-items:center; }
.week-export-controls .guide-export-option { flex-direction:row; }
.week-export-controls .guide-export-option input { width:16px; height:16px; margin:0; }
.week-export-controls input[type=date] { padding:8px; border:1px solid #d5dfc9; border-radius:6px; background:#fff; color:inherit; }
.week-image-preview { border:1px solid #d5dfc9; border-radius:12px; overflow:hidden; margin:16px 0; background:#f4f5ed; }
.week-image-preview canvas { display:block; width:100%; height:auto; }
.week-link-editor,.week-event-list { margin:20px 0; padding:14px; border:1px solid #d5dfc9; border-radius:8px; }
.week-link-editor summary,.week-event-list summary { cursor:pointer; font-weight:600; }
.week-link-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:15px; }
.week-link-fields label { display:flex; flex-direction:column; gap:4px; }
.week-link-fields input { width:100%; min-width:0; padding:8px; border:1px solid #d5dfc9; border-radius:5px; }
.week-linked-preview { margin:20px 0; border:1px solid #d5dfc9; border-radius:8px; padding:14px; }
.week-linked-preview summary { cursor:pointer; font-weight:600; }
.week-linked-days { max-height:470px; overflow:auto; padding:10px 18px; background:#f4f6f0; border-radius:8px; }
.week-linked-days section { padding:12px 0; }
.week-linked-days h4 { margin:0 0 10px; font-size:14px; }
.week-linked-days .is-today { background:#e2eedc; padding:14px; border-left:4px solid #2b654c; border-radius:6px; }
.week-linked-rows { border-left:3px solid #c4cebe; padding-left:13px; }
.week-linked-rows p { margin:5px 0; }
.week-linked-rows a { color:#236b83; text-decoration:underline; }
.week-linked-status { color:#6d7969; font-size:11px; }
.events-view-controls { flex-wrap:wrap; }
.kingshot-export { margin:12px 0 18px; }
.kingshot-export-panel { margin-top:12px; padding:16px; border:1px solid #d9d5b8; border-radius:9px; background:#faf8ed; }
.kingshot-export .kingshot-export-size { display:flex; flex-direction:row; gap:12px; align-items:center; flex-wrap:wrap; margin:12px 0; font-size:12px; }
.kingshot-export-size select { padding:8px 10px; color:inherit; border:1px solid #d5dfc9; border-radius:6px; background:#fffefa; }
.kingshot-export .kingshot-export-size select { width:auto; max-width:100%; }
.kingshot-export .guide-export-option { display:flex; flex-direction:row; align-items:center; gap:9px; margin:12px 0; font-size:12px; }
.kingshot-export .guide-export-option input { width:16px; height:16px; margin:0; accent-color:#245845; }
.kingshot-export .guide-export-preview { width:100%; font:inherit; line-height:1.6; }
@media(max-width:700px) { .week-link-fields { grid-template-columns:1fr; } .week-export-controls label { flex-wrap:wrap; } }
.events-task-schedules{margin:16px 0;padding:18px;border:1px solid #d4e2da;border-radius:10px;background:#f8fbf6}.events-task-schedules h3{margin:0 0 8px;font-size:16px;color:#245b4b}.events-task-schedules h4{margin:14px 0 6px;font-size:13px}.events-task-schedules p{margin:5px 0;font-size:12px;line-height:1.6;color:#526b60}.events-task-schedules:empty{display:none}
.guide-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;margin:12px 0;background:#edf3e5;border:1px solid #ccdcbc;border-radius:10px}.guide-editor-toolbar select{max-width:100%;padding:10px}.guide-editor-dialog{width:min(900px,94vw);max-height:90vh;overflow:auto;padding:24px}.guide-editor-dialog label{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:14px}.guide-editor-dialog input,.guide-editor-dialog textarea,.guide-editor-dialog select{padding:10px;border:1px solid #cad8bf;border-radius:6px;font:inherit;max-width:100%}.guide-editor-dialog textarea{width:100%;box-sizing:border-box;line-height:1.6}.guide-upload-thumbnail{max-width:160px;max-height:140px;display:block;margin:12px 0}.edited-guide-text{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.edited-guide figure{margin:24px 0}.edited-guide img{max-width:100%;height:auto;border-radius:8px}.edited-guide figcaption{font-size:13px;color:#607653;margin:8px 0}
.task-list-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.task-export-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:1rem;border:1px solid var(--line,#dce5d4);border-radius:8px}
.task-export-image{display:block;width:100%;max-width:600px;height:auto;margin:1rem auto;border-radius:16px}

.edited-guide figure [role=status]{display:block;font-size:13px;margin:8px 0}
.event-tabbed-guide{border:1px solid #ccdcbc;border-radius:12px;min-width:0;background:#fffefa}
.event-guide-tab-header{position:sticky;top:0;z-index:2;background:#f4f7ee;border-radius:12px 12px 0 0;border-bottom:1px solid #ccdcbc;padding:12px 12px 0}
.event-guide-tab-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px;font-size:12px;color:#526b4a}
.event-guide-tab-tools:empty{display:none}.event-guide-tab-tools label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.event-guide-tab-tools select{max-width:100%;padding:7px;border:1px solid #c6d6b8;border-radius:6px;background:#fffefa}
.event-guide-tabs{display:flex;align-items:stretch;gap:6px;overflow-x:auto;padding:4px 3px 8px;scrollbar-width:thin}
.event-guide-tab{flex:1 0 90px;min-height:54px;padding:9px 12px;border:1px solid #cddbc1;border-radius:8px;background:#fffefa;text-align:left;font-size:12px;line-height:1.4;font-weight:600}
.event-guide-tab-main{position:sticky;left:0;z-index:1;flex:0 0 140px;font-size:14px;font-weight:750;min-height:62px;box-shadow:4px 0 5px #f4f7ee}
.event-guide-tab[aria-selected=true]{background:#245845;color:#fff;border-color:#245845}.event-guide-tab:hover:not([aria-selected=true]){background:#e8efdd}
.event-guide-tab-pages{height:clamp(280px,58vh,650px)}.event-guide-tab-panel{height:100%;overflow:auto;overscroll-behavior:contain;padding:20px;scrollbar-gutter:stable}.event-guide-tab-panel>h3{margin-bottom:12px}.event-guide-tab-panel .edited-guide figure{margin-top:16px}
@media(max-width:600px){.event-guide-tab-header{padding:8px 8px 0}.event-guide-tab{flex-basis:118px;font-size:11px}.event-guide-tab-main{flex-basis:132px;font-size:13px}.event-guide-tab-panel{padding:14px}.event-guide-tab-tools label{display:block}.event-guide-tab-tools select{display:block;margin-top:4px}.event-guide-tab-pages{height:55vh}}

.event-guide-tab-tools label{margin:0;flex-direction:row}.event-guide-tab-tools select{width:auto}.event-guide-tabs{scroll-padding-left:146px}@media(max-width:600px){.event-guide-tab-tools label{flex-direction:column;align-items:flex-start}.event-guide-tabs{scroll-padding-left:138px}}
.guide-upload-progress{padding:14px;margin:12px 0;border:1px solid #cdddc1;border-radius:8px;background:#f3f7ed}.guide-upload-progress progress{display:block;width:100%;height:18px;margin:10px 0;accent-color:#245845}.guide-upload-progress p{font-size:13px;overflow-wrap:anywhere;line-height:1.6}.guide-upload-progress button{margin-top:10px}
.guide-export-destination{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;font-size:13px;font-weight:600}.guide-export-destination select{max-width:min(420px,75vw);padding:10px;border:1px solid #bdcdb4;border-radius:7px;background:#fffef9;color:#245845;font:inherit}

.guide-editor-navigation{position:sticky;top:-24px;z-index:2;background:#fffef9;padding:16px 0;border-bottom:1px solid #cad8bf}.guide-editor-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px}.guide-editor-tabs [role=tab]{flex:0 0 auto;max-width:230px;white-space:normal}.guide-editor-tabs [role=tab]:first-child{font-weight:bold;padding:16px 22px}.guide-editor-tabs [aria-selected=true]{background:#245b49;color:white}

.guide-editor-tabs .button[aria-selected=true]:hover{background:#245b49;color:white}

.guide-discord-link{flex-basis:100%;width:100%;padding:14px;border:1px solid #cad8bf;border-radius:8px;margin-top:12px}.guide-discord-link.is-unlinked{background:#fff8e7;border-color:#d8bb74}.guide-discord-link select,.guide-discord-link input{display:block;width:100%;margin:10px 0;padding:10px;font:inherit}.guide-discord-link button{margin-right:8px}.guide-discord-link p{margin:5px 0 10px}
