@charset "UTF-8";
:root{color-scheme:light;--forest:#183e32;--forest-deep:#103126;--green:#29664e;--mint:#dcedd8;--mint-pale:#f0f5ec;--ink:#21362d;--muted:#738178;--line:#e1e7de;--paper:#f8faf5;--white:#fff;--danger:#96502d;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-family:var(--font);color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit}button{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9aca82;outline-offset:4px}input,textarea{min-width:0}textarea{resize:vertical}button svg{flex-shrink:0}[hidden]{display:none!important}.app-shell{height:100dvh;min-height:540px;display:grid;grid-template-columns:298px minmax(0,1fr)}.sidebar{background:var(--forest);color:#f4f7ef;display:flex;flex-direction:column;padding:35px 23px 19px;overflow:hidden}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:39px;font-weight:740;letter-spacing:-2.5px;line-height:1;text-decoration:none}.brand-mark{width:32px;height:32px;background:#dcedcf;color:var(--forest);border-radius:11px;font-size:29px;letter-spacing:-2px;display:grid;place-items:center;transform:rotate(-8deg);padding-bottom:5px;padding-right:2px}.brand-dot{color:#b6d995}.prototype-pill{font-size:8px;letter-spacing:1.25px;font-weight:650;padding:6px 7px;border:1px solid #ffffff30;border-radius:5px;color:#c0d4c6}.sidebar-intro{font-size:12px;color:#adc4b6;margin:17px 0 33px}.sidebar-actions{display:grid;gap:10px}.button{display:inline-flex;justify-content:center;align-items:center;gap:11px;border:1px solid transparent;border-radius:11px;min-height:45px;padding:10px 18px;font-size:13px;font-weight:620;line-height:1.5;text-decoration:none;transition:background .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button-light{background:#e7f1de;color:var(--forest)}.button-light:hover:not(:disabled){background:#f0f8e8}.button-light>span{font-size:24px;font-weight:400;line-height:1}.button-outline-light{background:transparent;border-color:#ffffff32;color:#dbe9da}.button-outline-light:hover:not(:disabled){background:#ffffff0b}.list-heading{display:flex;justify-content:space-between;align-items:center;margin:32px 4px 13px}.list-heading h2{font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;margin:0;color:#bdcebf}.list-heading>span{font-size:10px;border-radius:5px;background:#ffffff0e;padding:3px 6px;color:#bfd2c3}.room-list{display:flex;flex-direction:column;gap:5px;overflow:auto;margin:0 -9px;padding:0 9px;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}.room-item{display:flex;align-items:center;width:100%;text-align:left;padding:12px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#edf3e9;gap:11px}.room-item:hover{background:#ffffff08}.room-item.active{background:#315747;border-color:#91b58e26}.room-item-avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;background:#edf4df15;font-size:16px;font-weight:600;color:#d5e9c5}.room-item.active .room-item-avatar{background:#d3e7bb;color:#294939}.room-item-content{display:grid;gap:6px;min-width:0;flex:1}.room-item-name{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-item-preview{font-size:10px;color:#acc2b1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-item-time{font-size:9px;color:#a9c1ac;align-self:flex-start;margin-top:2px}.sidebar-empty{font-size:12px;color:#adc4b6;text-align:center;line-height:1.9;margin:27px 0}.sidebar-bottom{margin-top:auto;padding-top:20px}.relay-note{font-size:10px;color:#b3c9b9;display:flex;align-items:center;gap:8px;padding:0 5px 19px}.tiny-dot{width:5px;height:5px;background:#abd281;border-radius:50%;display:inline-block}.profile-button{display:flex;width:100%;align-items:center;padding:18px 0 0;border:0;border-top:1px solid #ffffff1b;background:none;text-align:left;color:#ecf4e8;gap:10px}.profile-avatar{width:37px;height:37px;border-radius:50%;background:#d9e9c4;display:grid;place-items:center;color:#244b38;font-size:13px;font-weight:650;flex-shrink:0}.profile-copy{display:grid;gap:4px;min-width:0;flex:1}.profile-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy>span{font-size:9px;color:#b0c5b7}.main-panel{display:flex;flex-direction:column;min-width:0;overflow:hidden;position:relative;background:var(--paper)}.start-view{flex:1;display:flex;flex-direction:column;overflow:auto;padding:35px clamp(25px,4.5vw,77px) 0}.start-top{display:flex;align-items:center;justify-content:space-between;min-height:20px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.5px;line-height:1.7;color:#7a8979}.start-content{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;padding:20px 0 35px}.start-content h1{font-size:clamp(35px,4.1vw,61px);font-weight:520;letter-spacing:-2.5px;line-height:1.11;margin:15px 0 17px}.start-content h1 em{font-style:normal;color:#618452}.start-content>p{font-size:13px;line-height:1.9;margin:0 0 25px;color:#768273}.button-primary{background:var(--forest);color:#f7faef}.button-primary:hover:not(:disabled){background:#28563f}.button-secondary{background:#edf2e8;color:#365744;border-color:#dfe7d8}.button-secondary:hover:not(:disabled){background:#e5eddd}.button-large{padding:12px 24px;min-height:48px}.text-button{background:none;border:0;color:#557047;font-size:12px;font-weight:550;padding:11px 6px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#aebda2}.text-button:hover{color:#244b31}.start-content>.text-button{font-size:11px;margin-top:8px;color:#7d8b73}.conversation-art{width:170px;height:100px;position:relative;margin:0 0 20px}.art-bubble{position:absolute;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:18px;width:91px;height:64px}.art-bubble:after{content:"";position:absolute;bottom:-8px;left:19px;border:10px solid transparent;border-left-color:inherit;transform:rotate(15deg)}.art-bubble-back{background:#dce8d1;right:8px;top:0;transform:rotate(7deg);border-color:#dce8d1}.art-bubble-back i{width:6px;height:6px;border-radius:50%;background:#a0b796}.art-bubble-front{background:var(--forest);left:4px;bottom:10px;transform:rotate(-7deg);border-color:var(--forest);box-shadow:0 8px 20px #183e3211}.art-bubble-front>span{font-size:34px;font-weight:680;color:#d1e6bb;line-height:1;margin-top:-7px}.art-bubble-front i{width:5px;height:5px;border-radius:50%;background:#91b783}.art-spark{position:absolute;color:#92ad7d;font-size:20px}.spark-one{left:2px;top:0;transform:rotate(-8deg)}.spark-two{right:-6px;bottom:11px;font-size:24px}.start-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding:25px 0 28px;gap:20px}.start-facts>div{display:grid;grid-template-columns:25px 1fr;column-gap:8px;row-gap:5px}.fact-symbol{grid-row:1/3;font-size:22px;color:#688656;align-self:center}.start-facts strong{font-size:10px;font-weight:650}.start-facts div>span:last-child{font-size:10px;color:#84907d;line-height:1.6}.prototype-footer{font-size:9px;line-height:1.7;color:#86907f;text-align:center;padding:9px 20px 10px;border-top:1px solid #e4e9df;background:#f6f8f1}.chat-view{display:flex;flex-direction:column;min-height:0;flex:1}.chat-header{display:flex;align-items:center;padding:25px 35px 24px;gap:13px;background:#fbfcf8;border-bottom:1px solid var(--line);flex-shrink:0}.chat-avatar{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#e4eed9;color:#4c6940;font-size:21px;flex-shrink:0}.chat-heading{min-width:0;flex:1}.chat-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.chat-heading h1{font-size:20px;font-weight:630;letter-spacing:-.5px;margin:3px 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-heading>p{font-size:10px;line-height:1.5;color:#768474;margin:0}.chat-heading>p.offline{color:#98623c}.share-button{min-height:38px;padding:8px 13px;font-size:11px;border-radius:9px}.conversation-notice{display:flex;justify-content:center;align-items:flex-start;gap:7px;font-size:10px;line-height:1.65;color:#778670;padding:12px 27px;background:#f2f6ec;flex-shrink:0}.conversation-notice svg{flex-shrink:0;margin-top:1px}.invalid-notice{margin:10px 30px 0;background:#fff2df;border:1px solid #efdbb9;color:#87592f;padding:10px 14px;font-size:11px;border-radius:9px;line-height:1.6}.messages-scroll{overflow:auto;min-height:0;flex:1;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#d0dbc7 transparent;padding:0 35px}.messages{max-width:920px;margin:0 auto;padding:23px 0 26px;display:flex;flex-direction:column;gap:19px}.messages:empty{display:none}.chat-empty{height:100%;min-height:200px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px 0}.empty-icon{width:48px;height:48px;border-radius:16px;background:#e8f0df;color:#678355;font-size:29px;display:grid;place-items:center;margin-bottom:15px}.chat-empty h2{font-size:18px;font-weight:540;letter-spacing:-.35px;margin:0 0 10px}.chat-empty p{font-size:12px;color:#819076;line-height:1.7;margin:0}.message{display:flex;flex-direction:column;align-items:flex-start;align-self:flex-start;max-width:min(80%,680px);gap:6px;min-width:100px}.message.own{align-self:flex-end;align-items:flex-end}.message-meta{display:flex;align-items:center;gap:6px;padding:0 3px;max-width:100%;line-height:1.5;flex-wrap:wrap}.message-author{font-size:10px;font-weight:650;max-width:240px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.message-fingerprint{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px;color:#839078;white-space:nowrap}.message-bubble{padding:12px 16px;background:#fff;border:1px solid #e3e8dc;border-radius:3px 16px 16px 16px;box-shadow:0 2px 4px #1b3c2802;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;text-align:start;unicode-bidi:plaintext}.message.own .message-bubble{background:#e2edd6;border-color:#d8e6c9;border-radius:16px 3px 16px 16px}.message-bottom{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0 3px;color:#89927f;font-size:8px;line-height:1.5}.message-status.pending{color:#98663c}.message-status{color:#607b50}.date-divider{align-self:center;font-size:9px;letter-spacing:.4px;color:#8b9582;display:flex;align-items:center;gap:15px;margin:0 0 3px}.date-divider:before,.date-divider:after{content:"";width:38px;height:1px;background:#e0e7d9}.outbox-notice{margin:0 35px 9px;padding:5px 12px;display:flex;gap:15px;justify-content:space-between;align-items:center;border-radius:8px;background:#f7ecd8;color:#8c6337;font-size:10px;line-height:1.6}.outbox-notice .text-button{color:#8c6337;white-space:nowrap;font-size:10px;padding:6px 0}.composer-area{padding:9px 35px 15px;flex-shrink:0;background:var(--paper)}.composer{display:flex;align-items:flex-end;gap:12px;border:1px solid #dce4d2;border-radius:15px;background:#fff;padding:12px 12px 12px 16px;box-shadow:0 3px 12px #27422103}.composer:focus-within{border-color:#94b77d;box-shadow:0 0 0 3px #d5e6c455}.composer textarea{flex:1;border:0;background:transparent;resize:vertical;min-height:42px;max-height:170px;outline:none!important;font-size:13px;line-height:1.7;color:var(--ink);padding:2px 0}.composer textarea::placeholder{color:#9ba58f}.send-button{width:39px;height:39px;flex-shrink:0;border:0;border-radius:11px;background:var(--forest);color:#e9f2e0;display:grid;place-items:center}.send-button:hover:not(:disabled){background:#2b5941}.send-button:disabled{background:#dce7d2;color:#7d9970;opacity:1}.composer-meta{display:flex;justify-content:space-between;gap:10px;font-size:8px;line-height:1.5;color:#929b86;margin:9px 4px 0}.mobile-menu{display:none!important}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#849279;font-size:25px;line-height:1;flex-shrink:0}.icon-button:hover{background:#eaf0e1;color:var(--forest)}.dialog{width:min(460px,calc(100vw - 32px));padding:28px;border:1px solid #dbe3d2;border-radius:22px;background:#fcfdf9;color:var(--ink);box-shadow:0 30px 100px #0d291536;max-height:calc(100dvh - 40px);overflow:auto}.dialog::backdrop{background:#112d235f;backdrop-filter:blur(5px)}.dialog h2{font-size:30px;letter-spacing:-1.1px;font-weight:550;line-height:1.15;margin:14px 0 14px}.welcome-dialog h2{font-size:38px;letter-spacing:-1.4px}.dialog p{font-size:12px;line-height:1.8;color:#78846f;margin:0 0 19px}.dialog-eyebrow{font-size:9px;letter-spacing:1.7px;color:#7c8c70;font-weight:650}.dialog-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:-5px}.dialog label{display:block;font-size:11px;font-weight:630;margin:20px 0 8px}.dialog input,.dialog textarea{width:100%;border:1px solid #dbe3d2;border-radius:10px;background:#fff;color:#263b2c;font-size:13px;line-height:1.7;padding:11px 12px}.dialog textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;overflow-wrap:anywhere;word-break:break-all}.dialog input::placeholder,.dialog textarea::placeholder{color:#a0aa97}.button-full{width:100%;margin-top:17px}.dialog .button-full+.button-full{margin-top:9px}.caution-card{border:1px solid #e4e7d7;background:#f3f5eb;padding:12px 14px;margin-top:21px;border-radius:10px;font-size:10px;line-height:1.7}.caution-card strong{font-size:10px;font-weight:650}.caution-card p{font-size:10px;line-height:1.8;margin:5px 0 0;color:#829076}.relay-details{margin-top:19px}.relay-details summary{font-size:10px;color:#7d8c73;cursor:pointer}.relay-details p{font-size:10px;line-height:1.75;margin:8px 0 0}.field-caption{display:block;font-size:10px;line-height:1.7;font-weight:600;color:#839077;margin-top:20px}.relay-destinations{padding:0;margin:8px 0 0;list-style:none;display:grid;gap:6px}.relay-destinations li{font-size:10px;line-height:1.7;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;padding:8px 10px;background:#eff3e8;border-radius:7px;color:#627452;overflow-wrap:anywhere;display:flex;gap:8px;align-items:flex-start}.relay-destinations li:before{content:"";height:5px;width:5px;border-radius:50%;background:#9bae88;flex-shrink:0;margin-top:6px}.dialog .form-error{color:#a45639;background:#fff0e6;border:1px solid #efd9c7;border-radius:8px;padding:9px 11px;font-size:11px;margin:15px 0 0;line-height:1.7}.invited-room{display:flex;gap:12px;align-items:center;border:1px solid #dfe8d4;background:#edf4e3;padding:17px;border-radius:12px}.invited-room>span{font-size:24px;color:#7b9367}.invited-room strong{font-size:16px;letter-spacing:-.3px;overflow-wrap:anywhere}.fingerprint-card{padding:15px;background:#eff4e7;border:1px solid #dce7cf;border-radius:11px;margin-top:20px}.fingerprint-card>span{font-size:10px;color:#7a8e69;display:block}.fingerprint-card>strong{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:19px;letter-spacing:1px;margin:9px 0;color:#3b6335}.fingerprint-card p{font-size:10px;line-height:1.7;margin:0}.dialog .input-help{font-size:10px;margin:8px 0 0}.dialog .settings-caution{font-size:10px;line-height:1.8;margin:20px 0 0;color:#8e997f}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:#203f2e;color:#eff6e6;box-shadow:0 8px 30px #132a2120;border:1px solid #789064;border-radius:11px;font-size:12px;padding:13px 18px;line-height:1.6;max-width:min(540px,calc(100% - 32px));z-index:100;text-align:center}.fatal-view{max-width:540px;padding:50px 25px;margin:12vh auto}.dark-brand{color:var(--forest)}.fatal-view h1{font-size:30px;font-weight:550;letter-spacing:-.7px;line-height:1.2;margin-top:35px}.fatal-view p{font-size:15px;line-height:1.8;color:#77846b}.noscript-notice{position:fixed;inset:0;z-index:500;background:#f6faef;display:grid;place-items:center;text-align:center;padding:25px;color:var(--forest)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){.app-shell{grid-template-columns:325px minmax(0,1fr)}.sidebar{padding:40px 28px 22px}.messages-scroll{padding:0 8%}.composer-area{padding:9px 8% 17px}.chat-header{padding:26px 5%}.outbox-notice{margin-left:8%;margin-right:8%}.start-content h1{font-size:62px}.start-facts{max-width:850px;width:100%;align-self:center}}
@media(max-width:1000px){.app-shell{grid-template-columns:255px minmax(0,1fr)}.sidebar{padding:29px 19px 18px}.brand{font-size:35px}.prototype-pill{font-size:7px;padding:5px}.brand-mark{width:28px;height:28px;font-size:26px}.start-view{padding:30px 30px 0}.start-content h1{font-size:44px}.start-facts{gap:12px}.start-facts>div{grid-template-columns:1fr}.fact-symbol{grid-row:auto;font-size:19px}.chat-header{padding:22px 25px}.messages-scroll{padding:0 25px}.composer-area{padding:9px 25px 15px}.outbox-notice{margin-left:25px;margin-right:25px}.message{max-width:88%}.conversation-art{transform:scale(.9);margin-bottom:10px}}
@media(max-width:720px){.app-shell{grid-template-columns:1fr;min-height:0}.sidebar{position:absolute;inset:0;z-index:4;padding:28px 23px 25px;width:100%;display:none}.app-shell.sidebar-open .sidebar{display:flex}.app-shell.sidebar-open .main-panel{visibility:hidden}.brand-row{padding-top:3px}.sidebar-intro{margin-bottom:26px}.sidebar-actions{grid-template-columns:1fr 1fr;gap:10px}.list-heading{margin-top:31px}.room-list{gap:7px}.room-item{padding:15px 12px}.room-item-avatar{width:43px;height:43px;font-size:19px}.room-item-name{font-size:14px}.room-item-preview{font-size:11px}.room-item-time{font-size:10px}.profile-button{padding-top:18px}.profile-copy strong{font-size:14px}.profile-copy>span{font-size:11px}.profile-avatar{width:42px;height:42px}.sidebar-empty{margin-top:55px;font-size:14px;line-height:1.9}.sidebar-bottom{padding-top:25px}.relay-note{font-size:11px}.main-panel{height:100dvh}.mobile-menu{display:inline-grid!important}.start-view{padding:21px 23px 0}.start-top>.eyebrow{font-size:8px;letter-spacing:1.25px}.start-content{padding:20px 0 25px}.start-content h1{font-size:44px;letter-spacing:-2px;margin:13px 0 16px}.start-content>p{font-size:12px;line-height:1.9;margin-bottom:22px}.start-content>.eyebrow{font-size:8px;letter-spacing:1.1px}.conversation-art{height:100px;transform:scale(.85);margin-bottom:12px}.start-facts{gap:8px;padding:20px 0}.start-facts strong{font-size:9px}.start-facts div>span:last-child{font-size:9px}.fact-symbol{font-size:18px}.prototype-footer{font-size:8px;padding:8px 17px max(9px,env(safe-area-inset-bottom));line-height:1.6}.chat-header{padding:16px 15px;gap:9px}.chat-header>.mobile-menu{font-size:29px;width:25px;color:#5e7950}.chat-avatar{width:36px;height:36px;border-radius:11px;font-size:17px}.chat-heading h1{font-size:17px;margin:3px 0}.chat-heading .eyebrow{font-size:7px;letter-spacing:1px}.chat-heading>p{font-size:9px}.share-button{padding:8px 10px;min-height:35px;font-size:10px;gap:6px}.share-button svg{width:14px;height:14px}.conversation-notice{font-size:9px;line-height:1.65;padding:10px 17px}.messages-scroll{padding:0 18px}.messages{padding:20px 0;gap:18px}.message{max-width:91%}.message-bubble{font-size:13px;padding:11px 13px;line-height:1.7}.message-author{font-size:10px;max-width:150px}.message-fingerprint{font-size:8px}.chat-empty h2{font-size:16px}.chat-empty p{font-size:11px}.composer-area{padding:7px 13px 10px}.composer{padding:10px 10px 10px 13px;border-radius:13px;gap:8px}.composer textarea{font-size:16px;line-height:1.5;min-height:35px;max-height:120px;resize:none}.send-button{width:37px;height:37px}.composer-meta{font-size:7px;margin:7px 3px 0}.invalid-notice{margin:9px 16px 0;font-size:10px;padding:9px 11px}.outbox-notice{margin:0 14px 6px;padding:6px 11px;font-size:9px;gap:9px}.outbox-notice .text-button{font-size:9px}.dialog{padding:24px;border-radius:19px;width:calc(100vw - 28px);max-width:440px;max-height:calc(100dvh - 28px)}.dialog h2{font-size:28px}.welcome-dialog h2{font-size:38px}.dialog input{font-size:16px}.dialog textarea{font-size:12px}.dialog p{font-size:12px}.dialog .caution-card p{font-size:10px}.toast{bottom:22px;font-size:11px}.button-full{min-height:47px}.profile-button>svg{width:21px}}
@media(max-width:380px){.start-content h1{font-size:37px}.start-view{padding-left:20px;padding-right:20px}.conversation-art{transform:scale(.75);height:90px;margin-bottom:4px}.start-content>.eyebrow{font-size:7px}.start-facts strong,.start-facts div>span:last-child{font-size:8px}.share-button{padding:7px}.share-button svg{display:none}.chat-header{gap:7px}.chat-avatar{display:none}.prototype-footer{font-size:7px}.sidebar-actions{gap:8px}.sidebar-actions .button{font-size:11px;padding:10px}.dialog{padding:22px}.composer-meta #composer-help{max-width:235px}}
@media(max-height:730px) and (min-width:721px){.start-content{padding:10px 0 22px}.conversation-art{transform:scale(.75);height:82px;margin-bottom:4px}.start-content h1{font-size:43px;margin-top:10px;margin-bottom:12px}.start-content>p{margin-bottom:19px}.start-facts{padding:20px 0}.sidebar{padding-top:27px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.sidebar .mobile-menu{color:#d5e8ca}

.content-filters{display:flex;gap:5px;padding:10px 35px;border-bottom:1px solid var(--line);overflow-x:auto;flex-shrink:0}.content-filters button,.content-tools button{border:0;background:transparent;color:var(--muted);padding:8px 12px;border-radius:9px;font-size:12px;white-space:nowrap}.content-filters button[aria-pressed=true]{background:var(--forest);color:#fff}.content-tools{display:flex;align-items:center;gap:3px;margin:0 0 7px;flex-wrap:wrap}.content-tools button:hover{background:#e4eddc;color:var(--forest)}#file-progress{font-size:10px;color:var(--muted)}.local-suggestion{display:inline-flex;align-items:center;align-self:flex-start;gap:0;max-width:100%;padding:0 3px 0 10px;margin:0 0 7px;border:1px solid #dce6d3;background:#f2f6ed;border-radius:18px;color:#65804f}.local-suggestion button{border:0;background:transparent;color:#557047;font-size:11px;line-height:1.4}.suggestion-choice{padding:7px 4px;text-align:left}.suggestion-choice:hover{text-decoration:underline;text-underline-offset:3px}.local-suggestion .suggestion-dismiss{width:30px;min-height:30px;font-size:17px;color:#89957e;border-radius:50%;flex-shrink:0}.suggestion-dismiss:hover{background:#e4eddc}.message-suggestion{margin:0;align-self:inherit}.content-card{background:#fff;border:1px solid #d8e3cf;border-radius:15px;padding:18px;min-width:min(300px,100%);width:360px;max-width:100%;box-shadow:0 4px 16px #193d3205;overflow-wrap:anywhere}.content-label{font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:#749260}.content-card h3{font-size:17px;line-height:1.5;font-weight:600;margin:8px 0 13px;white-space:pre-wrap}.card-action{display:block;width:100%;border:1px solid #e1e8d9;background:#f8faf4;border-radius:9px;padding:11px 12px;text-align:left;font-size:13px;line-height:1.5;color:var(--forest);margin-top:7px;overflow-wrap:anywhere}.card-action:hover:not(:disabled){background:#edf3e5;border-color:#aac198}.card-action.checked{background:#e4efda;border-color:#b9cf9f}.content-card[data-kind=list] .card-action.checked{text-decoration:line-through;color:#728665}.card-caption,.vote-details{font-size:10px;line-height:1.65;color:#7b8c6e}.vote-details{margin-top:10px}.vote-details p{margin:6px 0;overflow-wrap:anywhere}.dialog #content-entries{font:inherit;font-size:14px;word-break:normal}.dialog #content-help{font-size:11px;margin-top:12px}
@media(max-width:720px){.content-filters{padding:8px 13px;gap:1px}.content-filters button{padding:8px 10px;font-size:11px}.content-tools button{font-size:11px;padding:7px 9px}.content-card{width:310px;padding:15px}.local-suggestion button{font-size:11px}.local-suggestion .suggestion-dismiss{font-size:17px}}
.profile-avatar,.large-avatar,.sender-avatar{overflow:hidden;flex-shrink:0}.profile-avatar canvas,.large-avatar canvas,.sender-avatar canvas{display:block;width:100%;height:100%;object-fit:cover}.large-avatar{display:grid;place-items:center;width:96px;height:96px;border-radius:50%;background:#dcebd3;color:var(--forest);font-size:36px;font-weight:600}.profile-editor-hero{display:flex;align-items:center;gap:22px;margin:22px 0 12px}.profile-editor-hero>div{display:flex;flex-direction:column;align-items:flex-start}.profile-editor-hero .text-button{font-size:11px}.dialog input[type=file][hidden]{display:none}.dialog #settings-about{font:inherit;font-size:14px;word-break:normal}.dialog .profile-context{font-size:11px;color:#7b8c6e}.peer-profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center;margin:15px 0 22px}.peer-profile-hero h2{margin-bottom:8px;overflow-wrap:anywhere;max-width:100%}#peer-profile-about{white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;color:var(--ink)}#peer-profile-fingerprint{font-size:12px;line-height:1.8;overflow-wrap:anywhere;word-break:break-word;letter-spacing:0}.message-author.profile-trigger{display:inline-flex;align-items:center;gap:6px;border:0;padding:0;background:transparent;color:var(--ink);max-width:300px}.profile-trigger>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger:hover>span:last-child{text-decoration:underline;text-underline-offset:3px}.sender-avatar{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#dcebd3;color:#426c38;font-size:11px}.peer-profile-dialog .fingerprint-card{margin-top:22px}
#identity-fingerprint{font-size:12px;line-height:1.8;overflow-wrap:anywhere;word-break:break-word;letter-spacing:0}

/* Tags retain their visibility even when the same label is used in both scopes. */
select { font: inherit; color: var(--green, #183e32); background: #fff; border: 1px solid #dce3d5; border-radius: 10px; padding: 10px; max-width: 100%; }
.dialog select { width: 100%; }
.all-tags-button { margin: 0 22px 14px; padding: 10px 14px; color: #e0edcf; border: 1px solid #ffffff30; border-radius: 10px; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.tag-filter-bar { display: flex; gap: 8px; padding: 0 22px 10px; align-items: center; flex-wrap: wrap; }
.tag-filter-bar select { font-size: 12px; padding: 7px; max-width: 180px; min-width: 0; }
.tag-filter-bar .text-button { margin: 0; font-size: 12px; }
.message-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.tag-chip, .tag-add { font: inherit; font-size: 11px; padding: 5px 9px; border-radius: 14px; cursor: pointer; overflow-wrap: anywhere; max-width: 100%; }
.tag-chip.private { background: #f3eee2; border: 1px solid #d8c99d; color: #695520; }
.tag-chip.shared { background: #e5eedf; border: 1px solid #bed2b7; color: #285c40; }
.tag-add { border: 1px dashed #b8c4b1; background: transparent; color: #53664b; }
.message:focus { outline: 2px solid #a3b77e; outline-offset: 6px; border-radius: 12px; }
.tag-context { overflow-wrap: anywhere; font-size: 13px; padding: 12px; background: #f0f3e9; border-radius: 10px; }
.tag-browser { width: min(680px, calc(100% - 28px)); }
.tag-browser-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tag-browser-controls > div { min-width: 0; }
.tag-result { display: flex; flex-direction: column; gap: 7px; text-align: left; width: 100%; margin: 10px 0; border: 1px solid #dce3d5; background: #fff; border-radius: 12px; padding: 14px; color: #183e32; font: inherit; cursor: pointer; overflow-wrap: anywhere; }
.tag-result-text { font-size: 14px; white-space: pre-wrap; }
.tag-result-labels { font-size: 12px; color: #677557; }
#tag-results-count { font-size: 13px; }
@media (max-width: 600px) { .tag-filter-bar { padding: 0 12px 8px; gap: 5px; } .tag-filter-bar select { max-width: 42%; } .tag-browser-controls { grid-template-columns: 1fr; gap: 0; } }

/* Navigation highlight is independent of keyboard focus and survives relay updates. */
.message { border-radius: 12px; transition: background-color .6s ease, box-shadow .6s ease; }
.message.message-context-target { background: #fff0b3; box-shadow: 0 0 0 8px #fff0b3; outline: 2px solid #b88926; outline-offset: 8px; }
.message.message-context-target > .message-bubble, .message.message-context-target > .content-card { border-color: #b88926; }
.tagged-message > .message-bubble, .tagged-message > .content-card h3 { cursor: pointer; }
.message-context-link { background: transparent; border: 0; padding: 4px 0; color: #536b41; font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tag-result-open { font-size: 11px; color: #536b41; text-decoration: underline; text-underline-offset: 3px; }

/* Deletion keeps a readable place in the conversation, without original text. */
.message-removed { padding: 13px 16px; border: 1px dashed #b5bcb4; border-radius: 15px; color: #667267; font-style: italic; background: #edf0e8; }
.message-delete { color: inherit; background: transparent; border: 0; padding: 4px 6px; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.message-delete:focus-visible { outline: 2px solid #b88926; outline-offset: 2px; }
.button-danger { background: #963e36; color: #fff; }
.chat-setting-toggle { display: flex; gap: 12px; align-items: center; padding: 16px 0; }
.chat-setting-toggle input { width: 22px; height: 22px; accent-color: #183e32; }

.hub-dialog { width: min(940px, calc(100vw - 32px)); max-width: 940px; }
.hub-tabs { display: flex; gap: 5px; overflow-x: auto; border-bottom: 1px solid #d7dfd2; margin: 15px 0 22px; padding-bottom: 8px; }
.hub-tabs button { border: 0; padding: 11px 15px; border-radius: 12px; background: transparent; color: #365844; white-space: nowrap; cursor: pointer; font: inherit; }
.hub-tabs button[aria-selected=true] { background: #183e32; color: white; }
.hub-stats, .hub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.hub-stats > div, .hub-cards article, .fun-compose { background: #eff3e9; border-radius: 18px; padding: 22px; }
.hub-stats strong { display: block; font-size: 35px; color: #183e32; }.hub-stats span { font-size: 12px; }
.hub-cards article > span { font-size: 28px; }.hub-cards h3 { margin: 16px 0 8px; }.hub-cards p { font-size: 13px; }
.hub-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 15px 0; }
.hub-dialog select { width: 100%; }.studio-layout { display: grid; grid-template-columns: 1fr 240px; gap: 28px; }
.studio-preview { display: flex; flex-direction: column; gap: 14px; }.studio-preview canvas, .studio-preview video { width: 100%; aspect-ratio: 9/16; border-radius: 18px; background: #183e32; }
.studio-export { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 25px 0 12px; }.studio-export select { flex: 1; min-width: 120px; width: auto; }.studio-export label { margin: 0; }
.device-row { display: grid; gap: 6px; background: #eff3e9; padding: 16px; margin: 10px 0; border-radius: 14px; }.device-row small { color: #526953; }.device-row code { font-size: 10px; }
.pair-code { display: block; font: 600 24px ui-monospace, monospace; letter-spacing: 1px; padding: 16px; border-radius: 12px; background: #e5eddc; word-spacing: 8px; }
.project-check { display: flex; align-items: center; gap: 10px; padding: 10px 0; }.project-check input { width: 20px; height: 20px; }
.quick-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }.hub-task { display: block; width: 100%; text-align: left; margin: 6px 0; padding: 13px; background: #eff3e9; border: 0; border-radius: 10px; cursor: pointer; color: #183e32; }
.playful-card { position: relative; overflow: hidden; }.spark-message { font-size: 19px; }.spark-button { background: #e2eed8; border: 0; border-radius: 12px; padding: 12px; font: inherit; cursor: pointer; color: #183e32; }
.spark-burst { pointer-events: none; position: absolute; inset: 0; display: grid; place-items: center; }.spark-burst span { position: absolute; font-size: 25px; animation: cyfy-spark 1.5s ease-out both; }
@keyframes cyfy-spark { from { opacity: 1; transform: translate(0, 45px) rotate(0); } to { opacity: 0; transform: translate(var(--x), -85px) rotate(var(--r)); } }
.chain-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }.chain-form input { flex: 1; min-width: 120px; }.chain-line { margin: 10px 0; font-size: 14px; }.business-badge { color: #81632c; font-size: 10px; }
@media (max-width: 650px) { .hub-dialog { padding: 22px 18px; }.hub-cards, .hub-columns, .studio-layout { grid-template-columns: 1fr; }.hub-stats { gap: 8px; }.hub-stats > div { padding: 12px; }.hub-stats strong { font-size: 26px; }.studio-preview { max-width: 240px; margin: auto; }.pair-code { font-size: 17px; padding: 12px; letter-spacing: 0; }.content-tools { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .spark-burst span { animation: none; }.spark-burst span:not(:first-child) { display: none; } }

#network-preview, #invite-network-note { white-space: pre-wrap; overflow-wrap: anywhere; }
#network-dialog hr { border: 0; border-top: 1px solid #dce2d5; margin: 22px 0; }

.cyfy-qr { display: block; width: min(100%, 340px); height: auto; margin: 18px auto; image-rendering: pixelated; background: white; border-radius: 0; }
.qr-scan-dialog video { display: block; width: 100%; max-height: 48vh; background: #172721; border-radius: 14px; }
.qr-scan-dialog label { display: block; margin: 18px 0; }
.pair-guide { padding: 16px; border-radius: 14px; background: #edf4ef; color: #173b2c; }
.pair-choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pair-manual { margin-top: 16px; }
#network-current { white-space: pre-line; overflow-wrap: anywhere; }
