:root,html[data-theme="light"],html[data-theme="dark"],html[data-theme="auto"]{--primary:#a98238;--secondary:#c6a152;--accent:#795b25;--body-bg:#f7f8fa;--body-fg:#22262c;--header-bg:#fff;--header-color:#22262c;--breadcrumbs-bg:#fff;--breadcrumbs-fg:#59636f;--link-fg:#876526;--link-hover-color:#624617;--hairline-color:#e8eaed;--border-color:#e2e5e9;--darkened-bg:#f4f5f7;--selected-bg:#fbf6ea;--selected-row:#fffaf0;--button-bg:#795923;--button-fg:#fff;--default-button-bg:#624617;--default-button-hover-bg:#493411;--button-hover-bg:#624617;--body-quiet-color:#59636f;--body-loud-color:#22262c;--header-link-color:#795923;--close-button-bg:#59636f;--close-button-hover-bg:#3d4651;--delete-button-bg:#a52d36;--delete-button-hover-bg:#80212a;--object-tools-bg:#795923;--object-tools-fg:#fff;--object-tools-hover-bg:#624617;--message-success-bg:#e6f3e8;--message-warning-bg:#fff1cb;--message-error-bg:#fbe9e8;--error-fg:#a52d36;--crm-bg:#f7f8fa;--crm-card:#fff;--crm-text:#22262c;--crm-muted:#59636f;--crm-line:#e7e9ed;--crm-gold:#a98238;--crm-soft:#fbf5e7;--crm-shadow:0 12px 40px rgba(27,34,43,.065)}
*{box-sizing:border-box}html,body{background:var(--crm-bg)!important}body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:var(--crm-text)!important}a{transition:.2s ease}#header{height:78px!important;padding:0 30px!important;display:flex!important;align-items:center!important;background:rgba(255,255,255,.95)!important;backdrop-filter:blur(22px);border-bottom:1px solid var(--crm-line)!important;box-shadow:0 4px 22px rgba(28,34,42,.035)!important;position:sticky;top:0;z-index:1000}#branding{flex:1}#site-name a{display:inline-flex;align-items:center;gap:12px;color:var(--crm-text)!important;text-decoration:none!important}#site-name a>span:last-child{display:flex;flex-direction:column;gap:2px}#site-name b{font-size:15px;letter-spacing:.055em}#site-name small{color:var(--crm-muted);font-size:8px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.crm-brand-mark{display:grid;width:40px;height:40px;place-items:center;border:1px solid #d5bc80;border-radius:13px;background:linear-gradient(145deg,#fffdf7,#f3e6c6);color:#896521;font:20px Georgia,serif;box-shadow:0 8px 23px rgba(161,122,48,.15);position:relative;overflow:hidden}.crm-brand-mark:after{content:"";position:absolute;inset:-70% auto -70% -80%;width:35%;transform:rotate(22deg);background:#fff;animation:crm-shine 5s ease-in-out infinite}@keyframes crm-shine{0%,55%{left:-80%}80%,100%{left:160%}}#user-tools{color:var(--crm-muted)!important;font-size:11px!important}#user-tools a{color:#555b63!important}.breadcrumbs{margin:17px 30px 0!important;padding:11px 15px!important;border:1px solid var(--crm-line)!important;border-radius:12px!important;background:#fff!important;color:var(--crm-muted)!important}#content{padding:30px!important;max-width:1660px}#content h1{font-size:29px;font-weight:680;letter-spacing:-.035em;color:var(--crm-text)}#content-main{float:none!important}.dashboard #content{width:auto!important}.crm-welcome{display:flex;justify-content:space-between;gap:30px;margin-bottom:23px}.crm-welcome h1{margin:4px 0 7px!important;font-size:31px!important}.crm-welcome p{margin:0;color:var(--crm-muted);font-size:13px}.crm-eyebrow{color:var(--crm-muted);font-size:9px;font-weight:750;letter-spacing:.17em;text-transform:uppercase}.crm-site-link{height:max-content;padding:11px 15px;border:1px solid #e2d4b4;border-radius:11px;background:#fff;color:#765a24!important;text-decoration:none!important;box-shadow:0 8px 24px #2221}.crm-global-search{display:flex;align-items:center;gap:12px;margin-bottom:22px;padding:7px 7px 7px 17px;border:1px solid var(--crm-line);border-radius:15px;background:#fff;box-shadow:0 10px 32px #2221}.crm-global-search>span{color:#aa8742;font-size:22px}.crm-global-search input{height:41px!important;flex:1;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.crm-global-search button,.object-tools a,.button,input[type=submit],input[type=button],.submit-row input{border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#795923,#624617)!important;color:#fff!important;box-shadow:0 6px 16px rgba(153,113,43,.15)}.crm-global-search button{height:41px;padding:0 20px;cursor:pointer}.crm-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.crm-kpis article{min-height:145px;padding:19px;border:1px solid var(--crm-line);border-radius:17px;background:#fff;box-shadow:var(--crm-shadow);position:relative;overflow:hidden}.crm-kpis i{position:absolute;right:17px;top:17px;display:grid;width:32px;height:32px;place-items:center;border:1px solid #eadcbb;border-radius:10px;background:var(--crm-soft);color:#795923;font-style:normal}.crm-kpis small{display:block;margin:2px 42px 13px 0;color:var(--crm-muted);font-size:10px;text-transform:uppercase}.crm-kpis strong{display:block;margin-bottom:10px;font-size:26px}.crm-kpis em{color:var(--crm-muted);font-size:10px;font-style:normal}.crm-kpis em.up{color:#287148}.crm-kpis em.down{color:#b76262}.crm-dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin-bottom:31px}.crm-feed,.crm-search-results{overflow:hidden;border:1px solid var(--crm-line);border-radius:17px;background:#fff;box-shadow:var(--crm-shadow)}.crm-feed>header,.crm-search-results>header{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid #eff0f2}.crm-feed header h2{margin:3px 0 0!important;font-size:15px!important}.crm-feed header small{font-size:8px;color:var(--crm-muted);text-transform:uppercase}.crm-feed header a{font-size:10px;color:#8b6a2c!important}.crm-feed-list>a{display:grid;grid-template-columns:12px 1fr auto 58px;align-items:center;gap:10px;min-height:57px;padding:9px 18px;border-bottom:1px solid #f0f1f3;color:var(--crm-text)!important;text-decoration:none!important}.crm-feed-list>a:hover{background:#fdfaf3}.crm-feed-list b,.crm-feed-list small{display:block}.crm-feed-list small,.crm-feed-list time{color:var(--crm-muted);font-size:9px}.crm-order-dot{width:7px;height:7px;border-radius:50%;background:#d3b15e;box-shadow:0 0 0 4px #fbf3df}.crm-event-icon{color:#795923}.crm-section-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:15px}.crm-section-title h2{margin:3px 0 0}.crm-section-title p{color:var(--crm-muted)}.crm-app-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(365px,1fr));gap:15px}.crm-app{overflow:hidden;border:1px solid var(--crm-line);border-radius:17px;background:#fff;box-shadow:var(--crm-shadow)}.crm-app>header{display:flex;align-items:center;gap:12px;padding:17px 18px;border-bottom:1px solid #eeeff1}.crm-app-icon{display:grid;width:38px;height:38px;place-items:center;border:1px solid #e8d9b7;border-radius:11px;background:var(--crm-soft);color:#95712e}.crm-app header small{display:block;color:var(--crm-muted);font-size:8px}.crm-app header h2{margin:3px 0 0!important;background:none!important;color:var(--crm-text)!important;font-size:14px!important}.crm-model-list{padding:7px}.crm-model{display:flex;align-items:center;min-height:45px;border-radius:10px}.crm-model:hover{background:#faf8f2}.crm-model-main{display:flex;align-items:center;gap:9px;flex:1;padding:9px 10px;color:#3b4047!important;text-decoration:none!important;font-size:11px}.crm-model-icon{width:6px;height:6px;border:1px solid #c3a35f;border-radius:50%}.crm-model-main i{margin-left:auto;color:var(--crm-muted);font-style:normal}.crm-model-actions a{display:grid;width:27px;height:27px;place-items:center;color:#906e2c!important;text-decoration:none}.admin-new-badge{animation:badge-pulse 2.4s infinite}@keyframes badge-pulse{50%{box-shadow:0 0 0 5px rgba(191,145,61,0)}}#changelist,.module,.inline-group{overflow:hidden;border:1px solid var(--crm-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--crm-shadow)!important}#changelist thead th{padding:13px 10px!important;background:#fafbfc!important;color:var(--crm-muted)!important}#changelist tbody tr{background:#fff!important}#changelist tbody tr:hover{background:#fdf9ef!important}#changelist tbody td,#changelist tbody th{padding:13px 10px!important;border-bottom:1px solid #eff0f2!important}.module h2,.module caption,.inline-group h2{background:#faf8f2!important;color:#5f512f!important}.form-row{padding:14px 17px!important;border-bottom:1px solid #eef0f2!important}input,textarea,select{border:1px solid #dfe2e6!important;border-radius:9px!important;background:#fff!important;color:#292d33!important}.submit-row{border:1px solid #e7dec9!important;border-radius:14px!important;background:#fff!important}.crm-search-results>a{display:grid;grid-template-columns:180px 1fr auto;gap:15px;padding:14px 18px;border-bottom:1px solid #eff0f2;color:var(--crm-text)!important;text-decoration:none!important}.crm-search-results>a span{color:#957334;font-size:9px;text-transform:uppercase}
@media(max-width:1100px){.crm-kpis{grid-template-columns:repeat(2,1fr)}.crm-dashboard-grid{grid-template-columns:1fr}}@media(max-width:760px){#header{height:66px!important;padding:0 14px!important}#content{padding:18px 13px!important}.breadcrumbs{margin:12px 13px 0!important}.crm-welcome{display:block}.crm-site-link{display:none}.crm-kpis,.crm-app-grid{grid-template-columns:1fr}.crm-feed-list>a{grid-template-columns:10px 1fr auto}.crm-feed-list time{display:none}#user-tools{font-size:0!important}#user-tools a{font-size:9px!important}}

/* The CMS workspace always occupies all room left by the navigation rail. */
#content{width:100%!important;max-width:none!important;min-width:0}
.crm-kpis>article,.crm-dashboard-grid>section,.crm-module-roots>.crm-module-root{cursor:grab}
.is-dragging{opacity:.48!important;cursor:grabbing!important}
.crm-realtime-stage{position:relative;overflow:hidden;margin:0 0 22px;padding:21px 22px 0;border:1px solid #3c414c;border-radius:19px;background:radial-gradient(circle at 80% 0,rgba(196,151,65,.2),transparent 32%),linear-gradient(135deg,#202631,#303744);box-shadow:0 22px 55px rgba(27,32,40,.2);color:#fff}.crm-realtime-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.045) 50%,transparent 65%);animation:crm-stage-shine 7s linear infinite}.crm-realtime-stage>header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between}.crm-realtime-stage h2{margin:4px 0!important;color:#fff!important}.crm-stage-status{display:flex;align-items:center;gap:10px;color:#aeb6c4;font-size:9px}.crm-chart-wrap{position:relative;height:150px}.crm-chart-wrap canvas{position:relative;z-index:2;width:100%;height:100%}.crm-chart-glow{position:absolute;right:8%;bottom:-45px;width:260px;height:90px;border-radius:50%;background:#c79b48;filter:blur(65px);opacity:.24}.crm-live-ticker{position:relative;z-index:2;display:flex;gap:28px;overflow:hidden;min-height:45px;border-top:1px solid rgba(255,255,255,.08);white-space:nowrap}.crm-live-ticker a{display:flex;align-items:center;gap:10px;color:#dce1e9!important;text-decoration:none;font-size:9px}.crm-live-ticker b{color:#e2bd72}.crm-live-ticker em{color:#71d2a2;font-style:normal}.crm-live-ticker>span{align-self:center;color:#8f98a7;font-size:9px}@keyframes crm-stage-shine{from{transform:translateX(-75%)}to{transform:translateX(75%)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Limitless-inspired application shell: dark hierarchical rail + dense workspace. */
#container{min-height:100vh}#main{align-items:stretch!important}.main.shifted>#nav-sidebar{margin-left:0!important}#nav-sidebar{flex:0 0 var(--admin-sidebar-width,310px)!important;width:var(--admin-sidebar-width,310px)!important;min-width:280px!important;padding:18px 12px 40px!important;background:linear-gradient(180deg,#252b36 0,#1d222b 100%)!important;border:0!important;box-shadow:12px 0 34px rgba(28,32,40,.12);color:#d9dee8;position:sticky!important;top:78px;height:calc(100vh - 78px)!important;overflow:auto!important}.toggle-nav-sidebar{background:#252b36!important;border:0!important;color:#fff!important}.limitless-nav{display:grid;gap:6px}.limitless-nav-home{display:grid;grid-template-columns:32px 1fr;align-items:center;padding:11px;border-radius:9px;background:linear-gradient(135deg,#b89146,#8a682b);color:#fff!important;text-decoration:none!important}.limitless-nav-home>span{grid-row:1/3;font-size:18px}.limitless-nav-home b{font-size:12px}.limitless-nav-home small{color:#f4e7c9;font-size:8px}.limitless-nav-group{border-radius:9px;overflow:hidden}.limitless-nav-group>summary{display:grid;grid-template-columns:30px 1fr 18px;align-items:center;padding:12px 10px;color:#e6e9ef;cursor:pointer;list-style:none;font-size:11px}.limitless-nav-group>summary::-webkit-details-marker{display:none}.limitless-nav-group>summary:hover,.limitless-nav-group[open]>summary{background:#303744}.limitless-nav-group>summary i{font-style:normal;transition:transform .2s}.limitless-nav-group[open]>summary i{transform:rotate(180deg)}.limitless-nav-level{display:grid;padding:3px 7px 10px 40px}.limitless-nav-level>small{padding:8px 7px 5px;color:#8992a2;font-size:7px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.limitless-nav-level>a{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:7px 9px;border-radius:7px;color:#bdc4d0!important;text-decoration:none!important;font-size:9px}.limitless-nav-level>a:hover{background:#353d4b;color:#fff!important;transform:translateX(2px)}.limitless-nav-level>a>b{min-width:20px;padding:2px 5px;border-radius:999px;background:#d4ae5e;color:#252a33;text-align:center;font-size:8px}.crm-module-roots{display:grid;grid-template-columns:repeat(auto-fit,minmax(390px,1fr));gap:18px}.crm-module-root{border:1px solid #e4e7eb;border-radius:12px;background:#fff;box-shadow:0 8px 26px rgba(35,43,55,.06);overflow:hidden;transition:.22s}.crm-module-root:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(35,43,55,.1)}.crm-module-root>header{display:flex;align-items:center;gap:13px;padding:17px 18px 10px}.crm-module-root>header>div{flex:1}.crm-module-root header small{color:var(--crm-muted);font-size:7px;letter-spacing:.14em;text-transform:uppercase}.crm-module-root header h2{margin:3px 0!important;background:none!important;color:#252a32!important;font-size:15px!important}.crm-module-root header p{margin:0;color:#8a9099;font-size:9px}.crm-live-dot{width:8px;height:8px;border-radius:50%;background:#43ad77;box-shadow:0 0 0 5px rgba(67,173,119,.12);animation:crm-live 2s infinite}.crm-mini-chart{height:42px;display:flex;align-items:end;gap:5px;padding:0 18px 10px;border-bottom:1px solid #edf0f3}.crm-mini-chart i{flex:1;border-radius:3px 3px 0 0;background:linear-gradient(#d8ba74,#a47a31);animation:crm-bars 3s ease-in-out infinite alternate}.crm-mini-chart i:nth-child(1){height:28%}.crm-mini-chart i:nth-child(2){height:55%}.crm-mini-chart i:nth-child(3){height:38%}.crm-mini-chart i:nth-child(4){height:80%}.crm-mini-chart i:nth-child(5){height:62%}.crm-mini-chart i:nth-child(6){height:88%}.crm-mini-chart i:nth-child(7){height:70%}.crm-module-root details{border-bottom:1px solid #eef0f3}.crm-module-root summary{display:flex;justify-content:space-between;padding:11px 18px;color:#69707a;cursor:pointer;font-size:9px;font-weight:700;text-transform:uppercase}.crm-module-root summary b{color:#795923}.crm-model-add{display:grid;width:28px;height:28px;place-items:center;margin-right:8px;color:#966e28!important;text-decoration:none!important}@keyframes crm-live{50%{box-shadow:0 0 0 9px rgba(67,173,119,0)}}@keyframes crm-bars{to{filter:saturate(1.35);transform:scaleY(.83);transform-origin:bottom}}@media(max-width:900px){#nav-sidebar{position:fixed!important;z-index:900;left:0;transform:translateX(-100%)}.main.shifted>#nav-sidebar{transform:none}.crm-module-roots{grid-template-columns:1fr}}

.yandex-connect-assistant{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.yandex-connect-assistant>div,.yandex-api-note{display:flex;flex-direction:column;gap:7px;padding:15px;border:1px solid #eadfca;border-radius:13px;background:linear-gradient(145deg,#fff,#fbf6eb);box-shadow:0 8px 22px rgba(90,68,28,.06)}.yandex-connect-assistant b,.yandex-api-note b{color:#76591f}.yandex-connect-assistant span,.yandex-api-note span{color:#777e87;font-size:10px;line-height:1.5}.yandex-connect-assistant a,.yandex-sync-button{color:#966f27!important;font-weight:700}.yandex-api-note{margin:18px 0}.object-tools .yandex-sync-button{background:linear-gradient(135deg,#ddba70,#9b7430)!important}.crm-toast-stack{position:fixed!important;z-index:5000;top:92px;right:24px;display:grid;gap:10px;width:min(390px,calc(100vw - 30px));margin:0!important;padding:0!important}.crm-toast-stack li{display:grid!important;grid-template-columns:34px 1fr 24px;align-items:center;gap:10px;min-height:66px;margin:0!important;padding:12px 13px!important;border:1px solid rgba(255,255,255,.12)!important;border-left:3px solid #d6ad5e!important;border-radius:14px!important;background:rgba(31,37,47,.96)!important;backdrop-filter:blur(18px);box-shadow:0 18px 55px rgba(18,22,29,.32)!important;color:#edf0f5!important;font-size:10px!important}.crm-toast-stack li.success{border-left-color:#59bd89!important}.crm-toast-stack li.error{border-left-color:#df6c72!important}.crm-toast-icon{display:grid;width:31px;height:31px;place-items:center;border-radius:10px;background:rgba(214,173,94,.14);color:#e2bd72;font-size:15px}.crm-toast-stack button{border:0;background:none;color:#929aa8;font-size:18px;cursor:pointer}@media(max-width:900px){.yandex-connect-assistant{grid-template-columns:1fr}.crm-toast-stack{top:76px;right:15px}}

.limitless-module-link{display:grid;grid-template-columns:30px 1fr;align-items:center;flex:1;color:inherit!important;text-decoration:none!important}.crm-module-root header h2 a{color:inherit!important;text-decoration:none}.crm-module-root header h2 a:hover{color:#997128!important}.crm-module-dashboard{display:grid;gap:20px}.crm-module-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;min-height:190px;padding:34px;border:1px solid #343b47;border-radius:20px;background:radial-gradient(circle at 75% 0,rgba(207,164,78,.28),transparent 31%),linear-gradient(135deg,#1f2530,#313946);box-shadow:0 24px 58px rgba(25,30,38,.2);color:#fff}.crm-module-hero:after{content:"";position:absolute;right:-55px;top:-110px;width:330px;height:330px;border:1px solid rgba(223,187,112,.19);border-radius:50%;box-shadow:0 0 0 42px rgba(223,187,112,.035),0 0 0 88px rgba(223,187,112,.025)}.crm-module-hero>div{position:relative;z-index:2}.crm-module-hero h1{margin:8px 0!important;color:#fff!important;font-size:38px!important}.crm-module-hero p{margin:0;color:#b4bcc9}.crm-module-kpis{margin:0}.crm-module-visual{position:relative;overflow:hidden;min-height:230px;padding:22px;border:1px solid #e4e6e9;border-radius:18px;background:#fff;box-shadow:var(--crm-shadow)}.crm-module-visual h2{margin:4px 0!important}.crm-module-visual canvas{position:absolute;inset:55px 18px 10px;width:calc(100% - 36px)!important;height:165px!important}.crm-module-summary,.crm-module-tools{overflow:hidden;border:1px solid #e3e6ea;border-radius:18px;background:#fff;box-shadow:var(--crm-shadow)}.crm-module-summary>header,.crm-module-tools>header{display:flex;align-items:flex-end;justify-content:space-between;padding:21px 23px;border-bottom:1px solid #edf0f2}.crm-module-summary h2,.crm-module-tools h2{margin:4px 0!important}.crm-module-summary header p{margin:0;color:var(--crm-muted);font-size:10px}.crm-live-badge{padding:7px 10px;border:1px solid #bce6d0;border-radius:999px;background:#edf9f3;color:#34855d;font-size:8px;font-weight:800;letter-spacing:.08em}.crm-event-table-wrap{overflow:auto}.crm-event-table{width:100%;border-collapse:collapse}.crm-event-table th{padding:12px 18px;background:#f8f9fb;color:var(--crm-muted);text-align:left;font-size:8px;letter-spacing:.09em;text-transform:uppercase}.crm-event-table td{padding:15px 18px;border-top:1px solid #eef0f3;color:#666d77;font-size:10px}.crm-event-table tbody tr{cursor:pointer;transition:.18s}.crm-event-table tbody tr:hover{background:#fdf9ef;transform:translateX(2px)}.crm-event-table td:first-child{width:42%;color:#292e35}.crm-event-table a{color:#292e35!important;text-decoration:none!important}.crm-event-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f0f4f7;color:#596572;font-size:8px}.crm-tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1px;background:#e9ebee}.crm-tool-grid>a{display:grid;grid-template-columns:1fr 25px;gap:5px;min-height:86px;padding:18px;background:#fff;color:#30353c!important;text-decoration:none!important}.crm-tool-grid>a:hover{position:relative;z-index:2;background:#fdf9ef;box-shadow:0 10px 28px rgba(40,43,48,.1);transform:translateY(-2px)}.crm-tool-grid span{grid-column:1;color:var(--crm-muted);font-size:7px;text-transform:uppercase}.crm-tool-grid b{font-size:11px}.crm-tool-grid i{grid-column:2;grid-row:1/3;align-self:center;color:#b18a42;font-style:normal}@media(max-width:760px){.crm-module-hero{min-height:155px;padding:23px}.crm-module-hero h1{font-size:29px!important}.crm-event-table th:nth-child(2),.crm-event-table td:nth-child(2){display:none}}

/* Independent breadcrumb palette: never inherit Django theme link colors. */
.breadcrumbs{display:flex!important;align-items:center;gap:7px;min-height:45px;padding:0 17px!important;border:1px solid #e0e3e8!important;background:linear-gradient(135deg,#fff 0,#faf8f2 100%)!important;box-shadow:0 8px 24px rgba(31,37,46,.055)!important;color:#6f7680!important;font-size:10px!important;font-weight:550;letter-spacing:.01em}.breadcrumbs a,.breadcrumbs a:link,.breadcrumbs a:visited{display:inline-flex;align-items:center;min-height:27px;padding:0 7px;border-radius:8px;color:#624d26!important;font-weight:720;text-decoration:none!important}.breadcrumbs a:first-child:before{content:"⌂";margin-right:6px;color:#b48838;font-size:12px}.breadcrumbs a:hover{background:#f1e6cb!important;color:#332712!important;box-shadow:inset 0 0 0 1px #e5d2a8}.breadcrumbs a:focus-visible{outline:2px solid #b88b3b!important;outline-offset:2px}.breadcrumbs::selection,.breadcrumbs *::selection{background:#d9b86f;color:#20242a}@media(max-width:760px){.breadcrumbs{overflow:auto;white-space:nowrap}}

.limitless-nav-home{background:#303744!important;box-shadow:none}.limitless-nav-home:hover,.limitless-nav-home.is-active{background:linear-gradient(135deg,#b89146,#8a682b)!important;box-shadow:0 9px 24px rgba(9,12,17,.24)}.limitless-nav-group.is-active>summary{background:#353e4c;box-shadow:inset 3px 0 #d0a655}.limitless-nav-group.is-active>summary .limitless-module-link{color:#fff!important}.limitless-nav-group>summary .limitless-module-link.is-active b{color:#e4c47f}.limitless-nav-level>a.is-active{position:relative;background:linear-gradient(90deg,rgba(199,157,76,.22),rgba(199,157,76,.06))!important;color:#fff!important;font-weight:720;box-shadow:inset 2px 0 #d4ae5e}.limitless-nav-level>a.is-active:after{content:"";width:6px;height:6px;margin-left:8px;border-radius:50%;background:#e1bd70;box-shadow:0 0 0 4px rgba(225,189,112,.12)}

.yandex-health{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.yandex-health article{display:flex;align-items:flex-start;gap:12px;min-height:105px;padding:16px;border:1px solid #e2e5e9;border-radius:14px;background:#fff;box-shadow:0 9px 25px rgba(31,37,45,.06)}.yandex-health article>i{display:grid;flex:0 0 32px;height:32px;place-items:center;border-radius:10px;font-style:normal;font-weight:800}.yandex-health article.is-ok>i{background:#e7f7ef;color:#34855d}.yandex-health article.is-error>i{background:#fff0ed;color:#bc534c}.yandex-health article.is-error{border-color:#efd3ce}.yandex-health article div{display:grid;gap:5px}.yandex-health small{color:var(--crm-muted);font-size:7px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.yandex-health b{color:#30353c;font-size:11px}.yandex-health span,.yandex-health-empty{color:#747b85;font-size:9px;line-height:1.5}.yandex-health-empty{padding:14px;border:1px dashed #d9dde2;border-radius:12px;background:#fafbfc}@media(max-width:900px){.yandex-health{grid-template-columns:1fr}}

/* The summary contains a link and chevron, not three narrow columns. */
.limitless-nav-group>summary{grid-template-columns:minmax(0,1fr) 18px;gap:8px}.limitless-module-link{min-width:0;grid-template-columns:24px minmax(0,1fr)}.limitless-module-link>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Every navigation leaf opens with a visual overview before its registry. */
.crm-model-dashboard{width:100%;max-width:1480px;margin:0 auto}.crm-model-hero{min-height:245px;align-items:center}.crm-model-hero>div:first-child{max-width:760px}.crm-model-hero p{max-width:650px;line-height:1.65}.crm-hero-actions{position:relative;z-index:3;display:grid;grid-template-columns:repeat(2,max-content);justify-content:end;align-items:center;gap:10px}.crm-hero-actions .crm-stage-status{grid-column:1/-1;justify-content:flex-end;margin-bottom:8px}.crm-hero-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 17px;border:1px solid rgba(224,190,119,.34);border-radius:11px;background:rgba(255,255,255,.07);color:#f3e7ca!important;text-decoration:none!important;font-size:10px;font-weight:720;backdrop-filter:blur(10px)}.crm-hero-actions>a:hover{background:rgba(255,255,255,.13);transform:translateY(-2px)}.crm-hero-actions>a.is-primary{border-color:#d8b86f;background:linear-gradient(135deg,#795923,#624617);color:#fff!important;box-shadow:0 12px 28px rgba(11,14,19,.25)}.crm-model-visual{justify-self:center;width:min(1120px,100%);min-height:330px;padding:27px 30px}.crm-model-visual>div{text-align:center}.crm-model-visual>div p{margin:7px 0 0;color:var(--crm-muted);font-size:10px}.crm-model-visual canvas{inset:100px 28px 18px;width:calc(100% - 56px)!important;height:205px!important}.crm-registry-link{display:inline-flex;align-items:center;min-height:35px;padding:0 12px;border:1px solid #e1d2ae;border-radius:10px;background:#fffaf0;color:#785a22!important;text-decoration:none!important;font-size:9px;font-weight:720}.crm-registry-link:hover{background:#f3e5c4;transform:translateX(2px)}@media(max-width:900px){.crm-model-hero{display:grid;min-height:220px}.crm-hero-actions{justify-content:start;margin-top:24px}.crm-hero-actions .crm-stage-status{justify-content:start}}@media(max-width:560px){.crm-hero-actions{grid-template-columns:1fr}.crm-hero-actions .crm-stage-status{grid-column:1}.crm-hero-actions>a{width:100%}.crm-model-visual{min-height:285px;padding-inline:18px}.crm-model-visual canvas{inset:100px 15px 15px;width:calc(100% - 30px)!important;height:165px!important}}

/* Light working surfaces and dark navigation have independent foregrounds. */
html{color-scheme:light}
.crm-brand-mark img{display:block;width:26px;height:26px;object-fit:contain;filter:brightness(0) saturate(100%)}
#content :is(.help,.helptext,.datetime,.quiet){color:var(--crm-muted)}
#content :is(label,.aligned label,.readonly){color:var(--crm-text)}
#content :is(input,textarea)::placeholder{color:var(--crm-muted);opacity:1}
#content :is(input,textarea,select):disabled{color:var(--crm-muted)!important;background:var(--darkened-bg)!important;opacity:1;cursor:not-allowed}
#content :is(button,.button,a,input,select,textarea):focus-visible{outline:3px solid #795923;outline-offset:3px}
#content :is(.crm-module-hero,.crm-realtime-stage){--crm-muted:#c0c8d3;--crm-text:#f4f1e8;color:var(--crm-text)}
#content :is(.crm-module-hero,.crm-realtime-stage) :is(h1,h2,h3){color:inherit}
#content :is(.crm-module-hero,.crm-realtime-stage) :focus-visible{outline-color:#e4c77f}
#nav-sidebar{--body-fg:#f4f1e8;--body-quiet-color:#c0c8d3;--link-fg:#e4c77f;--link-hover-color:#fff1c8;color-scheme:dark}
#nav-sidebar :focus-visible{outline:2px solid #e4c77f;outline-offset:-3px}
#changelist-filter :is(h2,h3),.selector :is(h2,.selector-filter){color:var(--crm-text);background:var(--darkened-bg)}
#content .errorlist{color:var(--error-fg)}
#content .messagelist li{color:var(--crm-text)}

.game-progression-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;padding:18px}.game-progression-preview>span{display:grid;gap:8px;padding:18px;background:#fbf5e7;border:1px solid #c4b697;border-radius:12px;color:#29231d}.game-progression-preview small{color:#655d53}.game-progression-preview strong{font-size:24px;color:#795923}
