/* Layout aligned to the approved Rodnie workspace. Content remains live DOM. */
:root{--render-panel:rgba(2,14,28,.88);--render-line:#2ca7dc45;--render-radius:12px}
.render-workspace{grid-template-columns:74px 330px minmax(0,1fr) 340px;grid-template-rows:68px minmax(0,1fr);gap:10px;padding:12px}.render-workspace .ux-topbar{border-radius:14px;background:linear-gradient(110deg,#070e22ed,#041629d9);border-color:#4b99ce55;padding:10px 17px;box-shadow:inset 0 1px #ffffff12,0 12px 40px #0003}.ux-brand b{font-weight:500;letter-spacing:-.035em}.ux-brand small{font-size:7px;letter-spacing:.2em}.rodnie-orbit-logo{display:inline-flex;position:relative;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #b69cff;border-radius:12px;background:radial-gradient(ellipse at 45% 100%,#3b37b5,#071024 65%);box-shadow:0 0 15px #8554ff44,inset 0 0 6px #b7a3ff77;flex-shrink:0}.rodnie-orbit-logo i{width:27px;height:27px;border-radius:50%;background:radial-gradient(circle at 28% 20%,#82c9ff,#512bc7 38%,#070e34 70%);box-shadow:0 0 9px #8955ff}.rodnie-orbit-logo:after{content:'';position:absolute;width:37px;height:16px;border:2px solid #91dbff;border-top-color:transparent;border-radius:50%;transform:rotate(-35deg);box-shadow:0 2px 5px #8555ff}.render-workspace .ux-global-search{max-width:510px;flex:1;min-height:42px}.render-workspace .ux-account-top .avatar{width:38px;height:38px;border:1px solid #ac94f5}.render-workspace .ux-create-top{padding-inline:22px}
.render-workspace>.rail{background:var(--render-panel);border-radius:12px;border-color:var(--render-line);padding:9px 4px;overflow-y:auto;scrollbar-width:none;gap:2px}.render-workspace .rail button{min-height:56px;flex-shrink:0;padding:7px 2px;border-radius:9px}.render-workspace .rail button svg{height:23px;width:23px;stroke-width:1.5}.render-workspace .rail button span{font-size:9px}.rail-brand{padding:4px 0 13px;display:flex;justify-content:center}.rail-brand .rodnie-orbit-logo{height:38px;width:38px}.render-workspace>.people-list{border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none;gap:10px;overflow:hidden;display:flex;flex-direction:column}.render-workspace .people-list>.list-head{display:none}.render-workspace .people-list>.search-field{margin:0}.chat-stories-card,.chats-list-card{background:var(--render-panel);border:1px solid var(--render-line);border-radius:12px;overflow:hidden;min-width:0;box-shadow:inset 0 1px #ffffff08}.chat-stories-card{flex-shrink:0}.chat-stories-card>header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 0;gap:10px}.chat-stories-card>header>b{font-size:9px;letter-spacing:.16em;font-weight:500;color:#e9ddff}.chat-stories-card .ux-link{font-size:9px}.render-workspace .story-strip{padding:12px 11px 10px;gap:11px}.render-workspace .story-avatar{width:56px;height:56px;box-shadow:0 0 10px #7d4bff66;background:linear-gradient(140deg,#ba80ff,#4e50ff,#67d5ff);border:0;padding:2px}.render-workspace .story-avatar .avatar{height:50px;width:50px;border:2px solid #051427}.render-workspace .story{width:58px;font-size:9px}.chats-list-card{display:flex;flex-direction:column;flex:1;min-height:0}.render-workspace #list-filters{padding:10px 10px 9px;flex-shrink:0;gap:6px;background:rgba(4,20,36,.7);border-bottom:1px solid #2ca7dc22}.render-workspace .chip{border-radius:7px;padding:6px 10px;font-size:10px;min-height:30px}.render-workspace .chatlist{padding:5px 7px;min-height:0;overflow-y:auto}.render-workspace .chat-row{min-height:70px;margin-bottom:3px;border-radius:10px;padding:10px 8px;gap:11px}.render-workspace .chat-row .avatar{height:46px;width:46px;font-size:19px;border-color:#9f85ed66}.render-workspace .chat-row .chat-name{font-size:13px;font-weight:500}.render-workspace .chat-row .chat-preview{font-size:11px;line-height:1.5}.render-workspace .chat-row time{font-size:9px}.render-workspace .chat-row.selected{background:linear-gradient(120deg,#6845f855,#05365b55);box-shadow:inset 2px 0 #b08dff,0 0 10px #8154ff22;border-color:#8f79fa88}
.render-workspace>.chat-area{border-radius:12px;border-color:var(--render-line);overflow:hidden}.render-workspace>.chat-area:before{background-image:linear-gradient(180deg,#030d2390,#06112e65),url('../cosmos-r1/stars.webp'),url('../cosmos-r1/social-landscape.webp');background-size:cover,cover,cover;background-position:center,center,center;opacity:var(--cosmos-opacity);filter:saturate(.9)}.render-workspace .chat-head{margin:0;max-width:100%;height:66px;min-height:66px;border:0;border-bottom:1px solid var(--render-line);border-radius:0;background:#031324df;backdrop-filter:blur(22px);padding:0 13px;box-shadow:none}.render-workspace .chat-head .avatar{height:42px;width:42px}.render-workspace .chat-head .person-info b{font-size:14px;font-weight:550}.render-workspace .chat-head .person-info small{font-size:10px}.render-workspace .head-actions .icon-btn{width:34px;height:40px}.render-workspace .chat-timeline{padding:18px 18px 8px 56px;gap:12px;scrollbar-width:thin}.render-workspace .message{position:relative;font-size:14px;max-width:88%;border-radius:14px;padding:9px 12px 6px;line-height:1.5;background:var(--bubble-in);box-shadow:0 5px 16px #0003;overflow:visible}.render-workspace .message.own{background:var(--bubble-out);border-color:#5a88e955;border-bottom-right-radius:6px}.render-workspace .message.peer{border-color:#5b83b84a;border-bottom-left-radius:6px}.sender-label{font-size:10px;line-height:1.2;color:#c7a8ff;margin:0 0 6px}.message-avatar{position:absolute;left:-44px;bottom:5px;width:34px;height:34px;border:1px solid #9a98d677;border-radius:50%;padding:0;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#353ba4,#744bb7);color:white;font-size:15px}.message-avatar img{width:100%;height:100%;object-fit:cover}.render-workspace .message .msg-trigger{opacity:0;background:#102844aa;border-radius:7px}.render-workspace .message:hover .msg-trigger{opacity:1}.render-workspace .message .msg-meta{font-size:9px;opacity:.85}.render-workspace .message .media-preview{border-radius:10px;overflow:hidden;margin:5px -6px 3px}.render-workspace .message .media-preview img{max-height:330px;object-fit:cover}.render-workspace video.video-note{width:200px;height:200px;border-radius:50%;object-fit:cover}.render-workspace .composer-shell{margin:0;padding:7px 8px 8px;background:#031124bb;border-top:1px solid #4e82aa33}.render-workspace .composer{min-height:46px;border-radius:12px;border-color:#6d7abd66;padding:3px 5px;background:#05142aee;box-shadow:0 0 15px #6347ff22}.render-workspace .composer textarea{font-size:13px}.render-workspace .send-btn{height:37px;width:37px}.render-workspace .composer .icon-btn{height:35px;width:32px}.render-workspace .ux-timeline-day{font-size:9px;margin:9px 0;border-color:#7193c333;background:#051628c9;min-height:25px}
/* Reactions stay next to the message they modify. */
.render-workspace .message-reactions{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.render-workspace .reaction-badge,.reaction-add{min-height:26px;height:26px;min-width:32px;border:1px solid #8295cb66;border-radius:15px;background:#071729d9;color:#d6dff6;padding:1px 8px;font-size:14px;line-height:1}.render-workspace .reaction-badge span{font-size:10px}.render-workspace .reaction-badge.mine{border-color:#ac82ff;background:#6943c755;box-shadow:0 0 8px #9e68ff33}.reaction-add{font-size:18px;padding:0 7px;opacity:.8}.reaction-float{position:fixed;z-index:2000;display:flex;gap:1px;padding:6px;border-radius:30px;background:#0c1b34ed;border:1px solid #a5a4ee77;backdrop-filter:blur(20px);box-shadow:0 10px 35px #0008;animation:reaction-in .12s ease-out}.reaction-float button,.reaction-menu-strip button{width:38px;height:39px;min-width:0;border-radius:50%;background:none;font-size:26px;display:grid;place-items:center;padding:0;color:#d9d8ff}.reaction-float button:hover,.reaction-menu-strip button:hover{background:#7f5dea55;transform:translateY(-3px) scale(1.08)}.reaction-float .reaction-more,.reaction-menu-strip .reaction-more{font-size:26px;border:1px solid #91a0d655;background:#6479b31a}.reaction-menu-strip{display:flex;justify-content:center;padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:8px;gap:4px}.reaction-full-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.reaction-full-grid button{background:#758bc30d;border-radius:10px;height:48px;font-size:26px}.reaction-full-grid button:hover{background:#7152c84d}@keyframes reaction-in{from{opacity:0;transform:translateY(6px) scale(.95)}to{opacity:1;transform:none}}
/* The right column mirrors the render with useful, real data. */
.render-workspace .ux-chat-details{padding-bottom:0;scrollbar-width:thin}.render-workspace .ux-chat-details>header{font-size:10px;padding:0 6px 5px}.render-workspace .ux-detail-card{border-radius:12px;border-color:var(--render-line);background:var(--render-panel);padding:13px;margin-bottom:9px;backdrop-filter:blur(18px);box-shadow:inset 0 1px #ffffff08}.render-workspace .ux-detail-card h3{font-size:11px;letter-spacing:.025em;font-weight:500}.render-workspace .ux-detail-card>header{margin-bottom:9px}.summary-profile{display:flex;gap:11px;align-items:center}.summary-profile>.avatar{width:61px;height:61px;border-radius:12px;flex-shrink:0}.summary-profile>div{min-width:0;flex:1}.summary-profile h2{font-size:15px;line-height:1.4;margin:0 0 5px;overflow-wrap:anywhere}.summary-profile p{font-size:10px;color:var(--muted);margin:0}.summary-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:9px}.summary-actions button{height:29px;width:34px;border:1px solid #7890c844;border-radius:7px;display:grid;place-items:center;color:var(--muted);background:#637eb00c}.summary-actions button.active{background:#7143cf44;color:#d9c3ff}.summary-actions svg{width:15px;height:15px}.side-media-tabs{display:flex;gap:6px;margin-bottom:10px}.side-media-tabs button{font-size:9px;background:#5b7aa110;border:1px solid var(--line);color:var(--muted);border-radius:6px;padding:5px 8px;min-height:27px}.side-media-tabs button.active{background:#7143d42d;border-color:#b590ff;box-shadow:0 0 8px #8663ff33;color:var(--text)}.render-workspace .ux-side-media{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.render-workspace .ux-side-media .ux-media-tile{border-radius:7px;min-height:58px;aspect-ratio:1}.render-workspace .ux-side-media .ux-media-tile small{display:none}.side-calendar>header{display:flex;gap:8px;align-items:center;justify-content:space-between;color:var(--muted);margin-bottom:8px}.side-calendar>header b{font-size:10px;font-weight:500}.side-calendar>header button{font-size:21px;background:none;color:var(--muted);height:30px;width:30px}.side-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.side-calendar-grid small{font-size:8px;color:var(--muted);padding:3px}.side-calendar-grid button{font-size:9px;min-height:27px;background:none;color:var(--text);border-radius:7px;position:relative}.side-calendar-grid button.today{border:1px solid #24a6ff;background:#5d38de55;box-shadow:0 0 7px #198aff88}.side-calendar-grid button.event-day:after{content:'';position:absolute;bottom:2px;width:3px;height:3px;border-radius:50%;background:#ae6eff;left:calc(50% - 1px)}.side-new-event{background:none;border:1px solid var(--line);border-radius:7px;color:var(--primary2);font-size:10px;width:100%;padding:7px;margin-top:8px}.side-family-links .ux-search-result{min-height:34px;font-size:11px;padding:8px 11px;margin:5px 0}.side-nearby{background:linear-gradient(135deg,#123a7066,#09152b),url('../cosmos-r1/stars.webp') center/cover!important}.side-nearby>.secondary-btn{font-size:11px}.files-page-grid{margin-top:12px}
/* Shared Family lists retain the existing service and permissions. */
.family-card{min-width:220px;max-width:100%;background:linear-gradient(140deg,#123347,#15264a);border:1px solid #6da8c95c;border-radius:13px;padding:14px;margin:4px 0 2px;color:#e1efff}.family-card>header{display:flex;gap:10px;align-items:center;margin-bottom:12px}.family-icon{height:34px;width:34px;border-radius:10px;background:linear-gradient(140deg,#7052d4,#127aa9);display:grid;place-items:center;font-size:22px}.family-card header small{font-size:8px;letter-spacing:.12em;color:#b7a4e9}.family-card header h3{font-size:15px;margin:5px 0 0}.family-items{display:flex;flex-direction:column;gap:3px}.family-item{display:flex;gap:10px;align-items:center;min-height:40px;width:100%;padding:6px 3px;text-align:left;background:none;color:inherit;border-bottom:1px solid #b0d2ff15;font-size:13px}.family-item i{height:20px;width:20px;border:1px solid #82a4d6;border-radius:6px;font-size:15px;text-align:center;font-style:normal;flex-shrink:0}.family-item.done{color:#9db2ca}.family-item.done span{text-decoration:line-through}.family-item.done i{border-color:#bcb2ff;background:#6a55c2;color:white}.family-card>footer{display:flex;align-items:center;gap:15px;margin-top:12px;font-size:10px;color:#b8c6e4}.family-card progress{width:70px;height:5px;accent-color:#9d79ff;margin-left:auto}.family-error{font-size:11px;color:#ffb2c8;line-height:1.5;margin:5px 0 0}.family-loading{font-size:12px;line-height:1.7;padding:10px}.family-page [data-family-lists]{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:20px;align-items:start}.family-page .family-card{min-width:0;margin:0}
/* Real MapLibre surfaces, manual selection and consent controls. */
.nearby-screen{height:100%;min-height:0;position:relative;isolation:isolate;background:#06172b}.nearby-map-stage{position:absolute;inset:0;z-index:0}.nearby-top{position:absolute;top:15px;left:15px;right:62px;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:13px;padding:11px 15px;background:#07182ddf;backdrop-filter:blur(18px);max-width:430px;z-index:2;color:white}.nearby-top small{font-size:8px;letter-spacing:.18em;color:#bfb0ff}.nearby-top h2{font-size:23px;margin:4px 0 0;line-height:1.2}.nearby-top .icon-btn{color:#d4dfff}.nearby-map-message{position:absolute;left:15px;right:15px;top:99px;background:#351d31e8;border:1px solid #eb8bad66;padding:10px 13px;border-radius:10px;z-index:3;color:#ffc3d2;font-size:11px;line-height:1.6}.nearby-controls{position:absolute;bottom:15px;left:15px;width:min(370px,calc(100% - 30px));max-height:calc(100% - 140px);display:flex;flex-direction:column;border:1px solid #8397ca77;border-radius:16px;background:#07192aee;backdrop-filter:blur(24px);z-index:2;box-shadow:0 15px 40px #0005;color:#e1eafa;overflow:hidden}.nearby-panel-toggle{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(100deg,#643dc94d,#07668d25);padding:13px 16px;color:#e0d8ff;font-size:13px;min-height:43px}.nearby-control-body{padding:12px 15px 16px;overflow-y:auto;min-height:0;scrollbar-width:thin}.nearby-controls.collapsed .nearby-control-body{display:none}.nearby-control-tabs{display:flex;gap:5px;margin-bottom:8px}.nearby-control-tabs button{flex:1;background:#7b94bb0b;color:#9eafd0;border:1px solid #6a8ab44d;border-radius:8px;padding:8px 6px;font-size:11px}.nearby-control-tabs button.active{border-color:#a991ed;background:#6d4bcc33;color:#f0e8ff}.nearby-controls .ux-setting{padding:9px 0;min-height:42px}.nearby-controls .ux-setting span{font-size:11px}.nearby-controls .ux-setting select{font-size:10px;max-width:160px;background:#0e2343;color:#d7e1fb}.nearby-controls .primary-btn,.nearby-controls .secondary-btn{font-size:11px;min-height:38px;width:100%;margin-top:10px}.nearby-controls .ux-check{font-size:10px;line-height:1.6;margin:11px 0}.nearby-button-row{display:flex;gap:9px}.nearby-controls .ux-note{font-size:10px;margin:8px 0}.nearby-status{font-size:10px;line-height:1.6;color:#a5bad9;margin:9px 0}.nearby-point{font-size:12px;padding:11px;border:1px solid var(--line);border-radius:8px;color:#d3bdff;background:#5973ba16}.nearby-people{max-height:210px;overflow-y:auto}.nearby-people .ux-empty{padding:15px 0}.nearby-people .ux-person-row{min-height:54px}.nearby-people .ux-link{color:#d3ddf6}.nearby-people .secondary-btn{width:auto;margin:0}.nearby-people .avatar{height:33px;width:33px}.map-picker-stage{height:min(48dvh,430px);position:relative;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#09223a}.map-state{padding:25px;color:var(--muted);font-size:13px;line-height:1.8}.map-pick-coordinates{font-size:12px;padding:13px 0;color:var(--muted)}.map-picker-actions{display:flex;gap:9px;margin-bottom:15px}.map-picker-actions button{font-size:11px;flex:1}.rodnie-person-pin{width:43px;height:43px;border:2px solid #bc9bff;background:#3b33a5;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);box-shadow:0 0 14px #ac6cffbb;display:grid;place-items:center;color:white;font-size:17px;overflow:hidden}.rodnie-person-pin img{width:100%;height:100%;object-fit:cover;transform:rotate(45deg)}.rodnie-person-pin.self{border-color:#56dcff;box-shadow:0 0 16px #3098ffbb}.maplibregl-ctrl-attrib{font-size:9px!important}
/* Stories are browsable screens, not avatar-only menus. */
.stories-hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:17px;margin-top:25px}.story-hub-card{aspect-ratio:9/15;position:relative;border:1px solid #b394f384;border-radius:18px;background:linear-gradient(150deg,#23396b,#281446);overflow:hidden;padding:0;color:white;box-shadow:0 10px 30px #0003;text-align:left}.story-hub-card>img,.story-hub-card>video{width:100%;height:100%;object-fit:cover}.story-hub-card:after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#02091de0);pointer-events:none}.story-hub-count{position:absolute;z-index:1;top:12px;right:12px;font-size:10px;background:#051022a6;border:1px solid #b6b8ef66;border-radius:15px;padding:4px 9px}.story-hub-person{position:absolute;z-index:1;bottom:17px;left:13px;right:12px;display:flex;gap:9px;align-items:center}.story-hub-person .avatar{height:36px;width:36px;flex-shrink:0}.story-hub-person b{font-size:12px;font-weight:500}.story-text-cover{font-size:24px;text-align:center;padding:25px;height:100%;display:grid;place-items:center;line-height:1.4}.story-reply{display:flex;align-items:center;gap:7px;padding:9px 4px}.story-reply input{flex:1;min-width:0;border:1px solid #728ec366;background:#09172c;color:#d9e4ff;border-radius:20px;padding:11px 15px;font-size:12px}.story-reply button{background:linear-gradient(135deg,#9145ff,#0ab7ec);border:1px solid #b1a0ff;border-radius:50%;width:39px;height:39px;color:white;font-size:22px}.main-menu-overlay{justify-content:flex-start;padding:12px}.main-menu-overlay .ux-dialog{height:min(95dvh,900px);max-width:360px}.main-menu-profile{text-align:center;padding-bottom:20px}.main-menu-profile>.avatar{height:76px;width:76px;font-size:30px}.main-menu-profile h2{font-size:23px}.main-menu-nav{display:flex;flex-direction:column}.main-menu-nav>button{display:flex;gap:14px;align-items:center;padding:11px 5px;min-height:46px;color:var(--text);background:none;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.main-menu-nav svg{height:23px;width:23px;color:#a19cec}.main-menu-nav b{margin-left:auto;color:var(--muted)}.main-menu-nav .danger{color:#ed9db3}
/* Fullscreen two-stage Story Studio with the existing real publication APIs. */
.story-cosmos-editor{padding:18px;background:#020817dd;backdrop-filter:blur(18px);z-index:1900}.story-cosmos-editor .rs8-shell{width:min(1050px,100%);max-height:96dvh;border-radius:24px;background:linear-gradient(145deg,#06142de8,#070d23f5)!important;box-shadow:0 0 0 1px #a790ff77,0 25px 100px #0008;overflow:auto;scrollbar-width:thin}.story-cosmos-editor .rs8-head{padding:17px 23px;background:none;display:flex;gap:15px;align-items:center}.story-cosmos-editor .rs8-title h2{font-size:25px;font-weight:500}.story-cosmos-editor .rs8-title p{font-size:11px}.story-cosmos-editor .rs8-head-actions .rs8-chip.static{display:none}.story-cosmos-editor .rs8-tabs{padding:0 20px 13px;border-bottom:1px solid #6b76b535;gap:7px}.story-cosmos-editor .rs8-tabs button{border:1px solid #5e7eb14d;border-radius:10px;min-height:35px;font-size:11px;padding:8px 15px}.story-cosmos-editor .rs8-workspace{grid-template-columns:minmax(0,1fr) 340px;gap:20px;padding:18px 23px}.story-cosmos-editor .rs8-left{position:relative;min-width:0}.story-cosmos-editor .rs8-phone{position:relative;max-width:360px;max-height:none;width:100%;aspect-ratio:9/16;border-radius:20px;margin:auto;border:1px solid #8981dd99;background:#071631;overflow:hidden;box-shadow:0 0 25px #6851c532}.story-cosmos-editor .rs8-canvas{border-radius:20px}.story-cosmos-editor .rs8-bg{background-color:#05132c;background-image:url('../cosmos-r1/stars.webp');background-size:cover}.story-cosmos-editor .rs8-tools{position:absolute;right:10px;top:54px;bottom:55px;display:flex;flex-direction:column;gap:7px;width:54px;z-index:20;overflow:auto;scrollbar-width:none;background:none;padding:0}.story-cosmos-editor .rs8-tools button{min-height:52px;flex-shrink:0;width:54px;flex-direction:column;justify-content:center;gap:4px;background:#091831c9;border:1px solid #8395c680;backdrop-filter:blur(15px);border-radius:12px;font-size:8px;padding:5px;color:#d7dcfb}.story-cosmos-editor .rs8-tools button svg{height:22px;width:22px}.story-cosmos-editor .rs8-tools button.active{border-color:#55d1ff;background:#6c46ce66;box-shadow:0 0 12px #8b54ee66}.story-cosmos-editor .rs8-canvas-toolbar{left:8px;right:8px;bottom:8px}.story-cosmos-editor .rs8-canvas-toolbar button{height:32px;width:32px;background:#09162bc9;border:1px solid #7082b555;backdrop-filter:blur(12px);border-radius:8px}.story-cosmos-editor .rs8-right{display:flex;flex-direction:column;gap:13px;min-width:0}.story-cosmos-editor .rs8-card{border:1px solid #7283b55d;border-radius:13px;background:#09172ab9;padding:16px;box-shadow:inset 0 1px #ffffff06}.story-cosmos-editor .rs8-card-title b{font-size:12px}.story-cosmos-editor .rs8-select{font-size:12px;min-height:44px}.story-cosmos-editor .rs8-card-note{font-size:10px;line-height:1.7}.story-cosmos-editor .rs8-card:has(.rs8-tools){display:none}.story-cosmos-editor .rs8-editor-caption{margin:13px auto 0;max-width:360px}.story-cosmos-editor .rs8-caption-box textarea{font-size:13px;line-height:1.6;min-height:72px}.story-cosmos-editor .rs8-inline-panel:not([hidden]){position:absolute;left:4px;right:4px;bottom:115px;max-height:48dvh;overflow:auto;z-index:30;border:1px solid #a292ed99;border-radius:15px;box-shadow:0 15px 45px #000b;background:#0b1935f5;padding:13px;backdrop-filter:blur(20px)}.story-cosmos-editor .rs8-footer{padding:13px 23px 18px;border-top:1px solid #7488b541;background:none}.story-cosmos-editor .rs8-share{background:linear-gradient(110deg,#9341ff,#3b42ff,#00cce5)!important;border:1px solid #b8a0ff;box-shadow:0 0 23px #7651d477;border-radius:16px;min-height:48px;padding:12px 25px;font-size:15px}.story-cosmos-editor .rs8-save-draft{font-size:11px}.story-cosmos-editor .rs8-info{font-size:10px}.rs8-back-edit{display:none;background:none;color:#c6c8ec;border:0;font-size:12px;padding:8px}.story-cosmos-editor[data-stage=publish] .rs8-back-edit{display:block}.story-cosmos-editor[data-stage=publish] .rs8-tabs,.story-cosmos-editor[data-stage=publish] .rs8-tools,.story-cosmos-editor[data-stage=publish] .rs8-canvas-toolbar,.story-cosmos-editor[data-stage=publish] .rs8-ratio,.story-cosmos-editor[data-stage=publish] .rs8-background-card{display:none}.story-cosmos-editor[data-stage=publish] .rs8-phone{max-width:280px}.rs8-drawing-layer{position:absolute;inset:0;width:100%;height:100%;z-index:15;pointer-events:none}.rs8-drawing-layer.drawing{pointer-events:auto;touch-action:none;cursor:crosshair}.rs8-cancel-export{border:1px solid #f1a2bb88;border-radius:10px;background:#80283b33;color:#ffd0df;padding:10px;font-size:12px}.story-cosmos-editor .rs8-music-review{font-size:11px;line-height:1.8}.rs8-music-review>button{display:block;background:none;color:#b7a5ec;font-size:10px;padding:8px 0}.art-sticker-svg{display:block;width:100%;height:100%;overflow:hidden}.sticker-cell .art-sticker-svg{height:100%;min-height:80px}.ux-sticker-message .art-sticker-svg{width:210px;height:230px}.art-pack-intro{display:flex;gap:13px;align-items:center;margin:5px 0 13px}.art-pack-intro strong{font-size:14px}.art-pack-intro p{font-size:10px;color:var(--muted);margin-top:6px}
:root[data-theme=light]{--render-panel:rgba(245,249,255,.91);--render-line:#6486b855}:root[data-theme=light] .render-workspace .ux-topbar,:root[data-theme=light] .render-workspace .chat-head,:root[data-theme=light] .render-workspace .composer,:root[data-theme=light] .render-workspace #list-filters{background:#f3f7ffed}:root[data-theme=light] .render-workspace>.chat-area:before{background-image:linear-gradient(#dfeaffba,#e7ebf6df),url('../cosmos-r1/stars.webp'),url('../cosmos-r1/social-landscape.webp')}:root[data-theme=light] .sender-label{color:#6843b4}:root[data-theme=light] .reaction-badge,:root[data-theme=light] .reaction-add{background:#eff4ff;color:#263655}:root[data-theme=light] .family-card{background:#e2f0ff;color:#203b5b;border-color:#7899c366}:root[data-theme=light] .family-card header small{color:#7655a2}:root[data-theme=light] .family-card>footer{color:#556a87}:root[data-theme=light] .story-cosmos-editor .rs8-shell{color:#e0e8ff}
@media(max-width:1250px){.render-workspace{grid-template-columns:68px 300px minmax(0,1fr)}.render-workspace .ux-chat-details{display:none}.render-workspace.ux-details-open .ux-chat-details{display:block;width:330px;background:var(--render-panel);z-index:45}.render-workspace .message{max-width:86%}}
@media(max-width:1000px){.render-workspace{grid-template-columns:63px 270px minmax(0,1fr)}.render-workspace .ux-brand b{font-size:22px}.render-workspace .ux-brand small{display:none}.render-workspace .ux-create-top{padding-inline:12px}.render-workspace .ux-topbar{gap:15px}.render-workspace .ux-global-search{font-size:10px}.render-workspace .ux-account-top>span{display:none}.story-cosmos-editor .rs8-workspace{grid-template-columns:minmax(0,1fr) 290px;gap:13px;padding:15px}.story-cosmos-editor .rs8-phone{max-width:320px}.story-cosmos-editor .rs8-title p{display:none}}
@media(max-width:850px){.render-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;gap:0;padding:0;height:100dvh}.render-workspace .ux-topbar,.render-workspace>.rail{display:none}.render-workspace>.people-list{background:transparent;gap:7px;height:100dvh;padding:0 9px calc(86px + env(safe-area-inset-bottom))}.render-workspace .people-list>.list-head{display:flex;padding:10px 3px 0;height:66px;min-height:66px}.render-workspace .list-title .brand-icon{display:none}.render-workspace .list-title h1{font-size:26px;font-weight:500}.render-workspace .list-title .kicker{display:none}.render-workspace .list-title{gap:9px}.render-workspace .list-controls .icon-btn:last-child{width:34px;height:34px}.render-workspace .chat-stories-card{border-radius:13px;background:#041126ba}.render-workspace .chat-stories-card>header{padding-top:7px}.render-workspace .chat-stories-card>header>b{font-size:8px}.render-workspace .chat-stories-card>header .ux-link{font-size:9px;min-height:24px}.render-workspace .story-strip{padding:6px 10px 9px;gap:13px}.render-workspace .story-avatar{width:54px;height:54px}.render-workspace .story-avatar .avatar{height:48px;width:48px}.render-workspace .story{width:56px;font-size:9px}.render-workspace #list-filters{padding:8px}.render-workspace .chatlist{padding:3px 6px}.render-workspace .chat-row{min-height:74px}.render-workspace .chat-row .avatar{width:47px;height:47px}.render-workspace .chat-row .chat-name{font-size:14px}.render-workspace .chat-row .chat-preview{font-size:11px}.render-workspace .chat-row time{font-size:10px}.render-workspace>.chat-area{height:100dvh;border-radius:0;border:0}.render-workspace .chat-head{height:65px;min-height:65px;margin:0;max-width:100%;padding:6px 8px 0}.render-workspace .chat-head .person-info b{font-size:13px}.render-workspace .chat-head .avatar{height:36px;width:36px}.render-workspace .head-actions .icon-btn{width:29px}.render-workspace .chat-timeline{padding:14px 12px 8px 44px;gap:10px}.render-workspace .message{font-size:14px;max-width:90%;padding:9px 10px 6px;border-radius:13px}.render-workspace .message-avatar{height:28px;width:28px;left:-35px;font-size:12px}.render-workspace .message .msg-trigger{display:none}.render-workspace .message .media-preview img{max-height:300px}.render-workspace .composer-shell{padding:6px 8px calc(8px + env(safe-area-inset-bottom))}.render-workspace .composer{border-radius:16px;min-height:46px}.render-workspace .composer textarea{font-size:14px}.render-workspace .mobile-nav{bottom:calc(9px + env(safe-area-inset-bottom));left:12px;right:12px;border-radius:22px;min-height:62px;max-width:calc(100% - 24px);background:#051326ed;border:1px solid #8a88d77d;box-shadow:0 0 22px #6363e833,0 10px 40px #0008}.render-workspace .mobile-nav button{font-size:8px}.render-workspace.ux-details-open .ux-chat-details{width:auto;inset:8px 8px calc(8px + env(safe-area-inset-bottom));border:1px solid var(--line);border-radius:17px;max-width:none}.reaction-float button,.reaction-menu-strip button{width:36px;height:37px;font-size:25px}.reaction-float{gap:0;padding:5px}.reaction-full-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.reaction-full-grid button{height:43px;font-size:24px}.family-card{min-width:min(220px,55vw);padding:12px}.family-item{font-size:12px}.family-card header h3{font-size:14px}.family-page [data-family-lists]{grid-template-columns:1fr}.nearby-screen{height:calc(100dvh - 88px)}.nearby-top{top:10px;left:10px;padding:9px 12px;right:55px}.nearby-top h2{font-size:20px}.nearby-controls{left:10px;bottom:12px;width:calc(100% - 20px);max-height:57%}.nearby-map-message{top:85px;left:10px;right:10px;font-size:10px}.nearby-control-body{padding:9px 13px 13px}.nearby-control-tabs button{font-size:10px}.nearby-people{max-height:160px}.map-picker-stage{height:42dvh}.map-picker-actions{gap:6px}.map-picker-actions button{font-size:10px}.stories-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stories-hub .ux-page-title h2{font-size:32px}.story-hub-person{left:9px;gap:6px;bottom:12px}.story-hub-person .avatar{height:28px;width:28px}.story-hub-person b{font-size:10px}.story-hub-count{font-size:9px;top:9px;right:9px}.main-menu-overlay{padding:0}.main-menu-overlay .ux-dialog{height:100dvh;max-height:100dvh;width:min(350px,92vw);border-radius:0 22px 22px 0}.story-cosmos-editor{padding:0;background:#03091a;backdrop-filter:none}.story-cosmos-editor .rs8-shell{width:100%;height:100dvh;max-height:100dvh;border:0!important;border-radius:0;display:flex;flex-direction:column;overflow:hidden}.story-cosmos-editor .rs8-head{padding:10px 13px;min-height:58px;flex-shrink:0}.story-cosmos-editor .rs8-title h2{font-size:20px}.story-cosmos-editor .rs8-head-actions{gap:6px}.story-cosmos-editor .rs8-head-actions .rs8-chip{font-size:9px;padding:6px}.story-cosmos-editor .rs8-close{height:34px;width:34px}.story-cosmos-editor .rs8-tabs{padding:0 12px 9px;gap:6px;flex-shrink:0}.story-cosmos-editor .rs8-tabs button{min-height:32px;padding:6px 10px;font-size:10px}.story-cosmos-editor .rs8-workspace{display:flex;flex:1;min-height:0;overflow-y:auto;padding:8px 10px 0;flex-direction:column;gap:10px;scrollbar-width:thin}.story-cosmos-editor .rs8-left{width:100%;display:flex;flex-direction:column;align-items:center;gap:0}.story-cosmos-editor .rs8-phone{height:min(61dvh,590px);width:auto;max-width:100%;aspect-ratio:9/16;flex-shrink:0;border-radius:20px}.story-cosmos-editor .rs8-editor-caption{width:100%;padding:10px 12px;margin:8px 0 0;max-width:none;border-radius:13px}.story-cosmos-editor .rs8-editor-caption .rs8-card-title{display:none}.story-cosmos-editor .rs8-caption-box textarea{min-height:44px;font-size:12px;padding:0}.story-cosmos-editor[data-stage=edit] .rs8-right{display:none}.story-cosmos-editor .rs8-tools{right:8px;top:50px;bottom:48px;width:47px;gap:5px}.story-cosmos-editor .rs8-tools button{width:47px;min-height:46px;font-size:7px;border-radius:11px}.story-cosmos-editor .rs8-tools button svg{width:20px;height:20px}.story-cosmos-editor .rs8-fileline{display:none}.story-cosmos-editor .rs8-footer{flex-shrink:0;padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.story-cosmos-editor .rs8-footer-actions{display:flex;gap:10px;align-items:center}.story-cosmos-editor .rs8-cancel{display:none}.story-cosmos-editor .rs8-save-draft{font-size:10px;padding:8px}.story-cosmos-editor .rs8-share{flex:1;min-height:43px;font-size:14px;border-radius:14px;padding:9px}.story-cosmos-editor .rs8-info{display:none}.story-cosmos-editor .rs8-inline-panel:not([hidden]){position:fixed;left:10px;right:10px;bottom:145px;max-height:40dvh;z-index:50}.story-cosmos-editor[data-stage=publish] .rs8-title h2{font-size:18px}.story-cosmos-editor[data-stage=publish] .rs8-title{display:none}.story-cosmos-editor[data-stage=publish] .rs8-right{display:flex;width:100%;gap:9px}.story-cosmos-editor[data-stage=publish] .rs8-phone{height:30dvh;max-width:none}.story-cosmos-editor[data-stage=publish] .rs8-card{padding:12px;border-radius:12px}.story-cosmos-editor[data-stage=publish] .rs8-back-edit{font-size:12px;flex:1;text-align:left}.story-cosmos-editor[data-stage=publish] .rs8-head-actions .rs8-chip{display:none}.story-cosmos-editor .rs8-progress{margin:8px 0}.ux-sticker-message .art-sticker-svg{width:170px;height:190px}.art-pack-intro strong{font-size:12px}.art-pack-intro p{font-size:9px}}
@media(max-width:380px){.render-workspace .message{font-size:13px;max-width:91%}.render-workspace .chat-timeline{padding-left:41px}.reaction-float button{width:35px;height:36px}.render-workspace .chat-head .person-info b{font-size:12px}.render-workspace .head-actions .icon-btn{width:27px}.story-cosmos-editor .rs8-phone{height:57dvh}.story-cosmos-editor .rs8-tabs button{font-size:9px;padding:6px 8px}.family-card{min-width:195px}}
@media(prefers-reduced-motion:reduce){.reaction-float{animation:none}.reaction-float button:hover{transform:none}}
.sticker-picker-top{display:flex;align-items:center;justify-content:space-between;margin:5px 0 10px;gap:10px}.sticker-picker-top>b{font-size:12px;font-weight:500}.sticker-picker-top .ux-link{font-size:10px}.sticker-grid:has(.illustrated){grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.sticker-cell.illustrated{height:auto;aspect-ratio:3/4;border-radius:11px;border:1px solid #696eb82a;background:linear-gradient(135deg,#203c6117,#56278022);padding:3px;overflow:hidden}.sticker-catalog-intro{padding:10px 5px 20px}.sticker-catalog-intro .kicker{font-size:9px;letter-spacing:.14em;color:#ac93eb}.sticker-catalog-intro h2{font-size:29px;font-weight:500;line-height:1.3}.sticker-catalog-intro p{font-size:12px;color:var(--muted);line-height:1.7}.sticker-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sticker-pack-card{background:linear-gradient(145deg,#0b1f3a,#15213d);border:1px solid #5f8cc86b;border-radius:16px;padding:14px;text-align:left;color:#e3e6ff}.sticker-pack-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:100px;gap:3px;overflow:hidden}.sticker-pack-card h3{font-size:17px;margin:15px 0 7px}.sticker-pack-card p{font-size:10px;color:#a8b2cf;margin:0 0 13px}.sticker-pack-card>span{color:#c9b4ff;font-size:11px}.sticker-pack-sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sticker-pack-sheet-grid>button{aspect-ratio:3/4;background:#8997c511;border:1px solid #65799b44;border-radius:14px;padding:5px}.art-illustration-motion{transform-origin:50% 55%;animation:rodnie-sticker-breathe 3.2s ease-in-out infinite}@keyframes rodnie-sticker-breathe{0%,100%{transform:translateY(0) rotate(-.6deg)}50%{transform:translateY(-3px) rotate(.7deg)}}.ux-reduce-motion .art-illustration-motion,:root[data-data-saver=true] .art-illustration-motion{animation:none}@media(prefers-reduced-motion:reduce){.art-illustration-motion{animation:none}}@media(max-width:850px){.sticker-grid:has(.illustrated){grid-template-columns:repeat(3,minmax(0,1fr))}.sticker-catalog-grid{grid-template-columns:1fr;gap:12px}.sticker-pack-card{padding:13px}.sticker-pack-preview{height:120px}.sticker-pack-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sticker-catalog-intro h2{font-size:25px}.ux-sticker-packs .chip{font-size:10px}}

/* Explicit hidden state outranks component flex/grid rules. */
.story-cosmos-editor [hidden],.render-workspace [hidden],.ux-overlay [hidden]{display:none!important}
.story-cosmos-editor .rs8-workspace{overflow:auto;min-width:0;overflow-x:hidden}
.story-cosmos-editor .rs8-left{min-height:0;padding:0;border:0;background:none;justify-content:flex-start;flex-shrink:0;overflow:visible}
.story-cosmos-editor .rs8-shell{min-height:0}
.story-cosmos-editor .rs8-publish-row{display:flex;flex-wrap:wrap;min-width:0;gap:8px}
.story-cosmos-editor .rs8-publish-row>*{min-width:0;max-width:100%}
.story-cosmos-editor .rs8-card-note{overflow-wrap:anywhere}
@media(max-width:850px){.story-cosmos-editor .rs8-head{flex-shrink:0}.story-cosmos-editor .rs8-tabs{flex-shrink:0;height:43px;margin:0 10px 4px;padding:3px}.story-cosmos-editor .rs8-tabs button{padding:5px 7px;font-size:10px}.story-cosmos-editor .rs8-tabs button svg{width:18px;height:18px}.story-cosmos-editor .rs8-phone{width:min(100%,calc(58dvh * 9 / 16));height:58dvh;max-width:100%}.story-cosmos-editor[data-stage=publish] .rs8-phone{height:35dvh;width:calc(35dvh * 9 / 16)}.story-cosmos-editor .rs8-right{overflow:visible;flex-shrink:0}.story-cosmos-editor .rs8-publish-row .rs8-select{width:100%}.story-cosmos-editor .rs8-status-control{height:auto;min-height:36px;flex:1}}
.story-cosmos-editor .rs8-tools button{height:52px;min-height:52px}
@media(max-width:850px){.story-cosmos-editor .rs8-tools{top:12px;bottom:48px;gap:4px}.story-cosmos-editor .rs8-tools button{height:46px;min-height:46px}.story-cosmos-editor .rs8-tools span{font-size:8px}}
/* UX4 R2: compact overlapping stories, quiet chat surfaces and readable proportions. */
.render-workspace .people-list>.list-head{display:flex;flex-shrink:0;min-height:50px;height:auto;padding:8px 12px;align-items:center;justify-content:center;border:1px solid var(--render-line);border-radius:14px;background:#061126ed}
.header-stories{display:flex!important;align-items:center;justify-content:flex-end;gap:0!important;padding:2px 4px!important;overflow:visible!important;min-height:36px;flex-shrink:0}
.header-stories button{padding:0;border:0;background:none;position:relative;width:34px;height:34px;flex-shrink:0;border-radius:50%}.header-stories .avatar{width:30px!important;height:30px!important;border-radius:50%;border:2px solid #0a1530!important;font-size:11px;box-shadow:0 0 0 1px #9478ff}.header-stories .story-stack-avatar{margin-left:-11px}.header-stories .story-self{margin-right:8px;z-index:8}.header-stories .story-self i{position:absolute;bottom:-1px;right:-1px;font:normal 13px/15px sans-serif;background:#7760ef;border:1px solid #10172c;border-radius:50%;height:16px;width:16px;color:white}.header-stories .has-story .avatar{box-shadow:0 0 0 2px #68caff}.header-stories .story-stack-all{width:22px;color:#cab8ff;font-size:23px;margin-left:5px}
.render-workspace>.chat-area:before{background-image:linear-gradient(180deg,#02081777,#020818ad),url('../cosmos-r1/stars.webp'),url('../cosmos-r1/nebula.webp');background-size:cover,cover,cover;opacity:1;filter:saturate(.82)}.render-workspace>.chat-area:after{content:'';position:absolute;right:-80px;bottom:-90px;width:300px;height:300px;background:url('../cosmos-r1/planet-earth.webp') center/contain no-repeat;opacity:.2;pointer-events:none;z-index:0}.render-workspace .chat-head,.render-workspace .composer-shell,.render-workspace .chat-timeline{position:relative;z-index:1}
.render-workspace .message{padding:8px 11px 5px;border:1px solid #929edd38;background:linear-gradient(140deg,#101b32f0,#0a1426eb);box-shadow:0 3px 12px #0002;border-radius:17px;max-width:83%}.render-workspace .message.own{background:linear-gradient(115deg,#7140ed,#433af3 55%,#147ce9);border-color:#bda6ff66}.render-workspace .message-reactions{margin:3px 0 0;min-height:0;gap:4px}.render-workspace .reaction-badge{min-height:25px;padding:2px 7px;font-size:15px;background:#0c1531e8;border:1px solid #a48cff77;border-radius:15px}.render-workspace .reaction-badge span{font-size:10px}.render-workspace .message .msg-meta{margin-top:2px;font-size:10px;line-height:1.2;min-height:12px}
.render-workspace .family-card{padding:10px;min-width:0;max-width:100%;background:#11253caa;border:1px solid #7fa1b653;border-radius:12px}.render-workspace .family-card header{gap:8px;margin-bottom:6px}.render-workspace .family-icon{width:29px;height:29px;font-size:16px}.render-workspace .family-card header small{font-size:8px}.render-workspace .family-card header h3{font-size:13px}.render-workspace .family-item{padding:8px 0;font-size:13px;min-height:35px}.render-workspace .family-item i{width:18px;height:18px;font-size:12px;border-radius:5px}.render-workspace .family-card footer{font-size:10px;padding-top:7px}.family-error:empty{display:none}
.map-view-tools{position:absolute;top:12px;left:12px;z-index:3;display:flex;gap:5px;align-items:center;flex-wrap:wrap;max-width:calc(100% - 70px)}.map-view-tools button{background:#091932ed;border:1px solid #839dd388;color:#e9efff;border-radius:9px;padding:8px 10px;font-size:12px;min-height:34px}.map-view-tools button:disabled{opacity:.4}.map-view-tools button[aria-pressed=true]{background:#6741cd}.map-view-tools span{flex-basis:100%;background:#07182cd9;color:#d2ddf2;padding:4px 7px;border-radius:7px;font-size:10px;pointer-events:none}.nearby-map{position:relative}.nearby-screen .map-view-tools{top:82px}.nearby-controls.collapsed .nearby-control-body{display:none}.nearby-map-message{max-width:calc(100% - 25px);font-size:11px;line-height:1.5}.ux-media-tile.media-unavailable:before{content:'Файл недоступен';font-size:10px;color:#a9b6cc}.ux-media-tile.media-unavailable{background:#122139}.ux-profile-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.ux-profile-head>.avatar{align-self:flex-start;margin-top:-35px;z-index:1}.ux-profile-head h2{margin:3px 0;font-size:25px}.ux-profile-head p{margin:0;line-height:1.5}.ux-profile-head .ux-profile-actions{margin-top:12px}
@media(min-width:851px){.render-workspace .people-list>.list-head>.list-title,.render-workspace .people-list>.list-head>.list-controls{display:none}}
@media(max-width:850px){.render-workspace .people-list>.list-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 36px;gap:1px 8px;padding:5px 9px;min-height:88px;height:88px;margin-top:6px;background:#061126e8;border-radius:17px}.render-workspace .list-title h1{font-size:22px}.render-workspace .list-title{min-width:0;gap:5px}.render-workspace .list-controls{display:flex;justify-content:flex-end}.header-stories{grid-column:1/-1;grid-row:2;justify-content:flex-start;padding-left:9px!important}.render-workspace .chats-list-card{min-height:0;flex:1}.render-workspace #list-filters{position:relative;flex-shrink:0;z-index:2;padding:7px 8px;background:#061226ed}.render-workspace .chatlist{padding:0 6px}.render-workspace .chat-head{margin:6px 7px 0;border:1px solid #9398e26b;border-radius:18px;max-width:calc(100% - 14px);min-height:59px;height:59px;background:#071226e8;box-shadow:0 0 16px #5b4de31f;padding:5px}.render-workspace .chat-timeline{padding:14px 13px 10px;gap:9px}.render-workspace .message{max-width:85%;font-size:14px;line-height:1.4}.render-workspace .message .message-avatar{display:none}.render-workspace .composer-shell{padding:6px 7px calc(6px + env(safe-area-inset-bottom));background:#040c1da8;border:0}.render-workspace .composer{border-radius:25px;padding:4px 5px;border:1px solid #9c8aee88;box-shadow:0 0 15px #7554f633}.render-workspace .mobile-nav{min-height:58px;bottom:calc(7px + env(safe-area-inset-bottom));border-radius:24px}.render-workspace .panel-page{padding:22px 15px 95px}.render-workspace .panel-page>h2{font-size:27px;margin:6px 0 12px}.render-workspace .panel-page>.kicker{font-size:9px}.render-workspace .panel-page>.page-subtitle{font-size:12px;line-height:1.5;margin:0 0 15px}.render-workspace #calls-items .detail-item{padding:11px 12px;gap:9px!important;border-radius:14px;margin-bottom:7px}.render-workspace #calls-items .secondary-btn{font-size:11px;padding:8px 11px;min-height:35px}.render-workspace #calls-items b{font-size:13px}.render-workspace #calls-items .muted{font-size:11px}.render-workspace .nearby-controls{max-height:48%;bottom:14px}.render-workspace .nearby-top{padding:8px 12px}.render-workspace .nearby-top h2{font-size:20px}.render-workspace .nearby-top .kicker{font-size:8px}.render-workspace .nearby-map-message{top:132px;font-size:10px}.ux-profile-cover{height:110px}.ux-profile-head>.avatar{width:70px;height:70px;margin-top:-30px}.ux-profile-head h2{font-size:23px}.ux-profile-head p{font-size:13px}.ux-dialog-body{padding:14px}.ux-dialog>header{padding:12px 15px}.ux-dialog>header h2{font-size:18px}}
.render-workspace .chatlist{overflow-x:hidden;min-width:0}.render-workspace .panel-page{position:relative;z-index:1}
.shop-price{display:inline-flex;align-items:center;border:1px solid #b19ae766;border-radius:20px;font-size:12px;padding:5px 11px}.shop-price.free{color:#87e0c7;background:#24635522}.shop-price.paid{color:#dfc0ff;background:#8447ce22}.shop-admin-note{color:#d0b5ff;border:1px solid #8f70cb66;border-radius:12px;padding:9px 13px;font-size:12px}.shop-pack-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:5px 0 15px}.shop-pack-heading small{color:var(--muted);font-size:11px}.shop-pack-actions{display:flex;gap:9px;flex-wrap:wrap;position:sticky;bottom:-15px;background:#0b1630ee;padding:14px 0;margin-top:15px}.shop-pack-actions>*{flex:1}.sticker-pack-sheet-grid>button{background:linear-gradient(150deg,#101e3c,#0a1427);border:1px solid #8172ba44;border-radius:14px;min-width:0;overflow:hidden}.sticker-pack-sheet-grid>button:hover{border-color:#b18bff}.sticker-pack-preview .art-sticker-svg{height:auto;aspect-ratio:3/4}.sticker-pack-card{position:relative}.shop-pack-actions .primary-btn{min-height:43px}.ux-reduce-motion .art-illustration-motion{animation:none!important}@media(max-width:600px){.shop-pack-heading{align-items:flex-start;flex-direction:column;gap:7px}.sticker-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sticker-pack-card{padding:10px}.sticker-pack-card h3{font-size:12px}.sticker-pack-card p{font-size:10px}.sticker-pack-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.shop-price{font-size:10px;padding:4px 8px}.shop-pack-actions{bottom:-14px}.shop-pack-actions>*{font-size:11px}}

/* Four readable previews without an empty fixed-height strip. */
.sticker-pack-preview{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:auto;aspect-ratio:1;gap:2px}.sticker-pack-preview .art-sticker-svg{height:100%;width:100%;min-height:0;aspect-ratio:auto}
/* November: visible actions, participant reactions and touch-safe selection. */
.render-workspace .chat-row{padding:0;gap:0;min-width:0;position:relative}.chat-open-button{display:flex;align-items:center;gap:12px;min-width:0;flex:1;text-align:left;background:none;color:inherit;padding:11px 8px;border-radius:14px}.chat-open-button .chat-main{min-width:0;flex:1}.chat-row-more{display:grid;place-items:center;background:none;color:var(--muted);width:34px;min-width:34px;height:44px;font-size:23px;padding:0}.chat-row-more:hover{color:var(--text)}.chat-select{display:none;background:#342960;color:#e7d8ff;width:28px;height:28px;border-radius:50%;border:1px solid #a88be2;margin-left:8px;padding:0}.chat-selectable .chat-select{display:block}.chat-select[aria-pressed=false]{color:transparent}.chat-picked{background:#7151b42b!important;outline:1px solid #9976e9}.chat-open-button{touch-action:pan-y}.chat-row-more,.render-workspace .msg-trigger{touch-action:manipulation}.render-workspace .message .msg-trigger{display:grid!important;place-items:center;position:absolute;top:2px;right:2px;width:30px;height:30px;opacity:.75;font-size:21px;padding:0;border-radius:9px;color:inherit;background:transparent}.render-workspace .message{padding-right:33px;position:relative;touch-action:pan-y}.render-workspace .message .bubble-body{min-width:0}.reaction-badge{display:inline-flex;align-items:center;gap:4px;min-height:30px}.reaction-avatar{display:inline-grid;place-items:center;width:20px;height:20px;overflow:hidden;border-radius:50%;background:#343159;color:#e5dcff;font-size:10px}.reaction-avatar img{width:100%;height:100%;object-fit:cover}.message-reactions{display:flex;gap:4px;flex-wrap:wrap}.reaction-menu-strip{display:flex;justify-content:center;gap:3px;flex-wrap:wrap;padding:5px 0 12px;border-bottom:1px solid #8b80b744;margin-bottom:5px}.reaction-more{font-size:20px!important}.message-selected{outline:2px solid #b59cff!important;background:#56469c80!important}.message-selectable{cursor:pointer}.message-selectable .family-card *,.message-selectable audio,.message-selectable video{pointer-events:none}.selection-toolbar{flex-shrink:0;border:1px solid #8371b5;border-radius:14px;background:#101c37f5;color:var(--text);padding:10px;z-index:6}.selection-toolbar>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:3px 0}.selection-toolbar b{margin-right:auto;font-size:12px}.selection-toolbar button{font-size:11px;background:#33315c;border:1px solid #8576ac66;border-radius:9px;color:inherit;padding:8px;min-height:36px}.selection-toolbar button:disabled{opacity:.35}.selecting-messages .composer{display:none}.message.video-note{padding:0}.message video.video-note{width:min(240px,60vw);height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;display:block}.calls-page-head{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:18px}.calls-page-head h2{font-size:30px;margin:8px 0}.calls-page-head>.primary-btn{display:flex;align-items:center;gap:7px;font-size:12px;padding:10px 13px}.calls-page-head svg{width:18px;height:18px}.call-history-row,.call-contact{display:flex;align-items:center;gap:11px;border-bottom:1px solid #8497bd2d;padding:13px 3px;min-width:0}.call-history-person{min-width:0;flex:1}.call-history-person b,.call-contact b{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.call-history-person small,.call-history-person time{display:block;font-size:11px;color:var(--muted);margin-top:5px}.call-history-row.missed .call-history-person small{color:#f7a5b5}.call-history-actions{display:flex;gap:4px}.call-history-actions button,.call-contact button{width:36px;height:40px;display:grid;place-items:center;background:#6e4eab22;border:1px solid #8f77bf55;border-radius:11px;color:#cbb5ff}.call-history-actions svg,.call-contact svg{width:19px;height:19px}.call-contact>b{min-width:0;flex:1}.calls-page .ux-tabs{margin-bottom:8px}.chat-head .person{min-width:0;flex:1}.chat-head .head-actions{flex-shrink:0}.chat-head #chat-more{display:grid!important}.render-workspace .messages-wrap{min-height:0;overflow:hidden}.render-workspace .chat-timeline{min-height:0;overscroll-behavior:contain}.sheet{max-height:90dvh;overflow-y:auto}.sheet-action{min-height:43px}.message .message-text{overflow-wrap:anywhere}.chat-row p{min-width:0}.chat-row .truncate{min-width:0}.calls-page .avatar{flex-shrink:0}
@media(max-width:850px){.render-workspace .list-controls .icon-btn{width:30px;min-width:30px;padding:4px}.render-workspace .list-title h1{font-size:21px}.render-workspace .people-list>.list-head{grid-template-rows:38px 34px;min-height:82px;height:82px}.render-workspace .message{max-width:91%;padding-right:32px}.render-workspace .chat-head .person-info{min-width:0}.render-workspace .chat-head .person-info b{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.render-workspace .chat-head{gap:3px}.render-workspace .head-actions{display:flex;gap:0}.render-workspace .head-actions .icon-btn{width:29px;height:38px;padding:4px}.render-workspace .calls-page{padding:17px 13px 95px}.calls-page-head{gap:8px}.calls-page-head h2{font-size:27px}.calls-page-head>.primary-btn{font-size:10px;padding:9px}.call-history-row{gap:8px}.call-history-actions{gap:4px}.call-history-actions button{width:32px}.call-history-person small,.call-history-person time{font-size:10px}.call-history-person b{font-size:13px}.selection-toolbar{padding:7px}.selection-toolbar button{font-size:10px;padding:7px}.render-workspace .chats-list-card{overflow:hidden;display:flex;flex-direction:column}.render-workspace .chatlist{min-height:0;flex:1;overflow-y:auto}.render-workspace .chat-open-button{gap:9px}.reaction-menu-strip button{min-width:35px;min-height:39px}.render-workspace .list-title .mobile-menu-toggle{display:grid!important}}

.render-workspace .message.own .msg-trigger{left:auto;right:2px}

/* R4 common lists and mobile section navigation. */
.mobile-back-chats{display:none}
.family-card header time,.family-summary time{margin-inline-start:auto;color:var(--muted,#a9b8d3);font-size:.76rem;text-align:right;flex:none}
.family-summary{margin-block:10px;border:1px solid var(--render-line,#526685);border-radius:14px;background:var(--render-panel,#14243c)}
.family-summary[hidden],.family-page [hidden]{display:none}
.family-summary>summary{cursor:pointer;display:flex;align-items:center;gap:10px;padding:12px 14px}
.family-summary>summary::before{content:'›';color:var(--muted,#a9b8d3)}
.family-summary[open]>summary::before{transform:rotate(90deg)}
.family-summary>summary span{min-width:0;overflow-wrap:anywhere}
.family-summary small{display:block;color:var(--muted,#a9b8d3);margin-top:4px}
.family-summary .family-card{margin:0;border:0;box-shadow:none}
.family-card header h3{margin:0}
.family-success,.family-card .family-item.family-bought span{color:#69dba0;text-decoration:none}
.family-success{display:inline-grid;place-items:center;border-radius:50%;background:#1b64443d;width:1.4em;height:1.4em}
.family-expired{color:#ff8a99}
.family-card .family-item.family-skipped span{text-decoration:line-through;opacity:.7}
.family-card .family-item:disabled{cursor:default}
.family-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:10px}
.family-actions [aria-pressed=true]{border-color:#bc9aff;background:#55449a45}
:root[data-theme=light] .family-success,:root[data-theme=light] .family-card .family-item.family-bought span{color:#166a46}
:root[data-theme=light] .family-expired{color:#a7213b}
@media(max-width:850px){
 #shell.mode-open>.mobile-back-chats{display:block;position:fixed;top:max(6px,env(safe-area-inset-top));left:12px;z-index:12;padding:5px 10px;min-height:32px;font-size:12px;background:var(--render-panel,#152239)}
 #shell.mode-open>.chat-area{padding-top:40px}
}
.nearby-screen>.map-view-tools{top:105px;pointer-events:none}
.nearby-screen>.map-view-tools button{pointer-events:auto}
.render-workspace .nearby-map-message{top:177px}

/* R5 chat details, section navigation and full-screen stories */
.render-workspace:not(.ux-details-open)>.ux-chat-details{display:none}
@media(min-width:1251px){
 .render-workspace:not(.ux-details-open){grid-template-columns:74px 330px minmax(0,1fr)}
}
#chat-person{cursor:default}
@media(max-width:850px){
 #shell.mode-open{grid-template-rows:auto minmax(0,1fr)}
 #shell.mode-open>.mobile-back-chats{position:static;grid-area:1/1;justify-self:start;margin:max(6px,env(safe-area-inset-top)) 12px 4px}
 #shell.mode-open>.chat-area{grid-area:2/1;height:auto;min-height:0;padding-top:0}
 #shell.mode-open .nearby-screen{height:calc(100% - 88px)}
}

.ux-story-overlay{padding:0}
.ux-story-overlay>.ux-dialog{position:relative;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;background:#080a13;overflow:hidden}
.ux-story-overlay>.ux-dialog>header{position:absolute;z-index:4;right:max(10px,env(safe-area-inset-right));top:calc(18px + env(safe-area-inset-top));padding:0;border:0;background:none}
.ux-story-overlay>.ux-dialog>header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ux-story-overlay>.ux-dialog>header button,.ux-story-overlay .ux-story-actions button{color:white;background:#070d1dc9;border:1px solid #ffffff3b;border-radius:12px;padding:0 10px}
.ux-story-overlay .ux-dialog-body{position:absolute;inset:0;padding:0;overflow:hidden}
.ux-story-overlay .ux-story-stage{position:absolute;inset:0;aspect-ratio:auto;max-height:none;border-radius:0}
.ux-story-overlay .ux-story-stage>header{top:0;padding:calc(28px + env(safe-area-inset-top)) 58px 22px 15px}
.ux-story-overlay .ux-story-stage>p{position:absolute;bottom:calc(115px + env(safe-area-inset-bottom));margin:0;font-size:clamp(15px,3vw,25px);padding:12px 55px}
.ux-story-overlay .ux-story-progress{position:absolute;z-index:3;left:10px;right:10px;top:calc(8px + env(safe-area-inset-top));margin:0}
.ux-story-overlay .ux-story-actions{position:absolute;right:max(10px,env(safe-area-inset-right));top:50%;transform:translateY(-50%);z-index:3;flex-direction:column;gap:8px;padding:0}
.ux-story-overlay .ux-story-actions button{min-width:44px;justify-content:center}
.ux-story-overlay .ux-story-actions button.liked{color:#ff9acb}
.ux-story-overlay .ux-story-prev,.ux-story-overlay .ux-story-next{top:70%;color:#fff;background:#070d1d99;width:44px;height:52px}
.ux-story-overlay .story-reply{position:absolute;z-index:3;bottom:calc(32px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(600px,calc(100% - 26px));background:#070d1de6;border-radius:16px}
.ux-story-overlay [data-story-feedback]{position:absolute;z-index:3;bottom:calc(90px + env(safe-area-inset-bottom));left:12px;right:12px;color:white}
@media(max-width:850px){
 .ux-story-overlay .ux-story-stage>img,.ux-story-overlay .ux-story-stage>video{object-fit:cover}
}

.story-cosmos-editor.rs8-overlay{padding:0}
.story-cosmos-editor .rs8-shell{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}
.story-cosmos-editor[data-stage=edit] .rs8-phone{
 --preview-height:calc(100dvh - 250px);
 width:min(100%,calc(var(--preview-height) * var(--story-ratio,.5625)));
 height:auto;max-width:none;max-height:none;border-radius:0;border:0;box-shadow:none;
}
.story-cosmos-editor[data-stage=edit] .rs8-phone::before{display:none}
.story-cosmos-editor[data-stage=edit] .rs8-canvas{inset:0;border:0;border-radius:0}
@media(max-width:850px){
 .story-cosmos-editor[data-stage=edit] .rs8-workspace{padding:0}
 .story-cosmos-editor[data-stage=edit] .rs8-phone{--preview-height:calc(100dvh - 175px)}
 .story-cosmos-editor .rs8-editor-caption{margin:5px 8px;width:calc(100% - 16px)}
}
.nearby-map-stage.leaflet-container,.map-picker-stage.leaflet-container{background:#102a3d}
.render-workspace.ux-details-open .ux-chat-details>header [data-close-details]{display:grid;place-items:center}
.story-cosmos-editor[data-stage=edit] .rs8-phone{flex:none}
.story-cosmos-editor[data-stage=edit] .rs8-left{justify-content:flex-start}

/* R5 map viewport fix */
.nearby-screen > .nearby-map-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.leaflet-pane > svg {
  width: auto;
  height: auto;
}

/* Rodnie web contrast 20261103 */
:root[data-theme=light] .render-workspace .people-list > .list-head,
:root[data-theme=light] .render-workspace .mobile-nav,
:root[data-theme=light] .shop-pack-actions {
  background: #f3f7ff;
  color: #1c2e4a;
}
:root[data-theme=light] .render-workspace .family-card .family-item.done {
  color: #205947;
}
:root[data-theme=light] .story-cosmos-editor .rs8-shell {
  color: #1c2e4a;
  background: #f3f7ff !important;
}
:root[data-theme=light] .story-cosmos-editor :is(.rs8-card, .rs8-tabs) {
  background: #e7efff;
  color: #1c2e4a;
  border-color: #a8b9d9;
}
:root[data-theme=light] .story-cosmos-editor :is(.rs8-head, .rs8-card, .rs8-tabs)
  :is(button, input, textarea, select):not(.primary):not([aria-pressed=true]) {
  background: #fff;
  color: #1c2e4a;
  border-color: #a8b9d9;
}
/* Keep editing controls legible over user photos and video. */
.story-cosmos-editor .rs8-tools button {
  background: #101b34;
  color: #f7f9ff;
  border: 1px solid #a9b9e4;
}
.story-cosmos-editor :is(.rs8-head, .rs8-tabs, .rs8-card, .rs8-tools)
  :is(button, input, textarea, select):focus-visible {
  outline: 2px solid #8060ed;
  outline-offset: 2px;
}
@media (max-width: 850px) {
  .story-cosmos-editor .rs8-tools { overflow-y: auto; }
  .story-cosmos-editor .rs8-tools button { flex-shrink: 0; }
}

/* Rodnie audio bubble v1 */
.render-workspace .message .bubble-body > audio {
  display: block;
  width: clamp(0px, calc(100vw - 100px), 280px);
  max-width: 100%;
  margin: 5px 0;
}

/* Rodnie waveform player v1 */
.render-workspace .rodnie-audio {
  width: clamp(120px, calc(100vw - 120px), 290px);
  max-width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 4px 0;
}
.rodnie-audio audio[hidden] { display: none !important; }
.rodnie-audio button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  padding: 0;
}
.rodnie-audio-wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  color: inherit;
}
.rodnie-audio-wave i {
  flex: 1;
  min-width: 1px;
  border-radius: 3px;
  background: currentColor;
  opacity: .42;
}
.rodnie-audio-wave i.played { opacity: 1; }
.rodnie-audio-wave input {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.rodnie-audio-wave:focus-within { outline: 2px solid currentColor; }
.rodnie-audio-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; }
.rodnie-audio-meta a { color: inherit; text-decoration: underline; }

/* Rodnie video gestures v1 */
#send { touch-action: none; }
#timeline { touch-action: pan-y pinch-zoom; }
.render-workspace .message.rodnie-circle-only {
  background: transparent; box-shadow: none; border-color: transparent;
}
.render-workspace .message.rodnie-circle-only .msg-meta,
.render-workspace .message.rodnie-circle-only .msg-trigger {
  color: #fff; background: #15203c; border-radius: 10px;
}
.render-workspace .message.rodnie-circle-only .msg-meta { padding: 2px 7px; }
.render-workspace .message [data-rodnie-file-video] {
  width: clamp(160px, calc(100vw - 115px), 380px); max-width: 100%;
  border-radius: 14px; background: #080c19;
}
.rodnie-circle-open {
  display: block; width: 112px; aspect-ratio: 1; border: 2px solid #ac9aff;
  border-radius: 50%; overflow: hidden; padding: 0; background: #151d35;
}
.render-workspace .message .rodnie-circle-open video {
  width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover;
}
.rodnie-circle-dialog {
  width: min(88vw, 440px); max-width: none; padding: 12px; color: white;
  background: #151d35; border: 1px solid #ac9aff; border-radius: 24px;
}
.rodnie-circle-dialog::backdrop { background: #080c19c9; }
.rodnie-circle-stage { position: relative; aspect-ratio: 1; }
.rodnie-circle-stage video {
  position: absolute; inset: 5%; width: 90%; height: 90%; border-radius: 50%; object-fit: cover;
}
.rodnie-circle-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rodnie-circle-ring circle { fill: none; stroke-width: 3; }
.rodnie-circle-ring circle:first-child { stroke: #4a486c; }
.rodnie-circle-ring circle:last-child { stroke: #c5b4ff; }
.rodnie-circle-seek {
  position: absolute; inset: 0; border-radius: 50%; touch-action: none;
}
.rodnie-circle-actions { display: flex; justify-content: center; gap: 12px; padding-top: 8px; }
.rodnie-circle-actions button { color: white; background: #34325a; border: 0; border-radius: 12px; padding: 9px 12px; }

.rodnie-wallet-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px}
.rodnie-wallet-cards article{display:grid;gap:8px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#192747,#304476);color:#fff}
.rodnie-wallet-cards article+article{background:linear-gradient(135deg,#382455,#684686)}
.rodnie-wallet-cards strong{font-size:clamp(1.25rem,4vw,1.75rem);overflow-wrap:anywhere}
.rodnie-wallet-topup{margin:16px 0}
.rodnie-wallet-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line,#8290ab55)}

/* Rodnie Bank Desk */
.rodnie-bank-desk{display:grid;gap:16px;min-width:0}
.rodnie-bank-desk [hidden]{display:none!important}
.rodnie-bank-hero{padding:clamp(18px,4vw,32px);border-radius:24px;
 background:linear-gradient(125deg,#121b38,#27204d 65%,#35305c);color:#f8f7ff}
.rodnie-bank-hero>span{color:#d4c7ff;font-size:.72rem;font-weight:700;letter-spacing:.16em}
.rodnie-bank-hero h2{margin:.45em 0 .2em;font-size:clamp(1.7rem,6vw,2.65rem)}
.rodnie-bank-hero p{color:#e1dbf8;margin:0}
.rodnie-bank-tabs{display:flex;flex-wrap:wrap;gap:8px}
.rodnie-bank-tabs button{min-height:44px;padding:8px 14px;border:1px solid var(--line,#8a81aa66);
 border-radius:12px;color:inherit;background:transparent;cursor:pointer}
.rodnie-bank-tabs button[aria-pressed=true]{background:#44346f;border-color:#7660b4;color:#fff}
.rodnie-bank-tabs button:focus-visible{outline:2px solid #a68af4;outline-offset:2px}
.rodnie-bank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
.rodnie-bank-grid article{display:grid;gap:7px;padding:16px;border:1px solid var(--line,#8a81aa66);border-radius:16px}
.rodnie-bank-grid strong{font-size:clamp(1.05rem,4vw,1.5rem);overflow-wrap:anywhere}
.rodnie-bank-desk .ux-setting-block{margin-top:12px}
.rodnie-bank-desk details{margin:10px 0;padding:12px;border:1px solid var(--line,#8a81aa66);border-radius:14px}
.rodnie-bank-desk summary{cursor:pointer;padding:4px 0;font-weight:650}
.rodnie-bank-desk input,.rodnie-bank-desk select{max-width:100%;min-width:0}
.rodnie-bank-entry{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
 padding:10px 0;border-bottom:1px solid var(--line,#8a81aa66)}
