html[data-uni=kgau]{--blue:#2E6B3F;--pale:#F3F0E4;--bg:#F3F0E4}
html[data-uni=kgau][data-theme=dark]{--blue:#A8D394;--pale:#1d2619}
html[data-uni=kgau]:not([data-theme=light]){--blue:#A8D394;--pale:#1d2619}
html[data-uni=kgau] .uni-tiles .uni-tile-wide,html[data-uni=kgau] .invite-card:not(.is-compact),html[data-uni=kgau] .invite-ico{background:linear-gradient(135deg,#4A8A56,#2E6B3F)}
html[data-uni=kgau][data-theme=dark] .uni-tile-wide,html[data-uni=kgau][data-theme=dark] .jump-banner{background:linear-gradient(135deg,#2E6B3F,#1E4529)}
html[data-uni=kgau] .schedule-tile.is-selected,html[data-uni=kgau] .schedule-chip.is-today{box-shadow:0 4px 7px #2E6B3F22}
html[data-uni=kgau] .km-pin{border-color:#2E6B3F}
html[data-uni=kgau] .km-pin.on{background:#2E6B3F}
html[data-uni=kgau] .km-pin b{color:#2E6B3F}
html[data-uni=kgau] .km-pin.on b{color:#fff}
html[data-uni=kgau][data-theme=dark] .invite-card button{color:#2E6B3F}
html[data-uni=kgau] .brand-logo{filter:hue-rotate(-100deg) saturate(.8) brightness(.82)}
html[data-uni=kgau] .ks-install-btn img{filter:hue-rotate(-100deg) saturate(.8) brightness(.82)}
html[data-uni=kgau] .primary,html[data-uni=kgau] #main .kj-primary,html[data-uni=kgau] .campus-go{background:linear-gradient(135deg,#4A8A56,#2E6B3F);border-color:#2E6B3F}
html[data-uni=kgau][data-theme=dark] .primary,html[data-uni=kgau][data-theme=dark] button.primary,html[data-uni=kgau][data-theme=dark] a.primary,html[data-uni=kgau][data-theme=dark] .campus-preview>b,html[data-uni=kgau][data-theme=dark] .campus-go,html[data-uni=kgau][data-theme=dark] .invite-ico,html[data-uni=kgau][data-theme=dark] .lc-live,html[data-uni=kgau][data-theme=dark] .schedule-tile.is-selected,html[data-uni=kgau][data-theme=dark] .podium-rank>.primary{background:linear-gradient(135deg,#2E6B3F,#1E4529);border-color:#2E6B3F;color:#F3F0E4}
html[data-uni=kgau] .schedule-day-head>b,html[data-uni=kgau] .schedule-now-label{background:#F3F0E4}
html[data-uni=kgau] .schedule-day.is-today{border-color:#A8D394;box-shadow:0 0 0 3px #F3F0E4}
html[data-uni=kgau] .teacher-search input:focus{border-color:#A8D394;box-shadow:0 0 0 3px #F3F0E4}
html[data-uni=kgau] .lesson-time{color:#2E6B3F}
html[data-uni=kgau][data-theme=dark] .lesson-time{color:#A8D394}
html[data-uni=kgau] .brand .brand-uni-name em{background:linear-gradient(90deg,#2E6B3F,#2E6B3F);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-uni=kgau][data-theme=dark] .brand .brand-uni-name em{background-image:linear-gradient(90deg,#A8D394,#A8D394)}
html[data-uni=kgau] .energy-orbit{border-color:#4A8A56;border-left-color:#7FB27A;border-bottom-color:#2E6B3F;border-top-color:#3C7A4B;box-shadow:inset 1px 2px 4px #fff8,0 3px 2px #1E452980}
html[data-uni=kgau] .jump-banner{background:linear-gradient(135deg,#4A8A56,#2E6B3F);box-shadow:0 4px 9px #2E6B3F1f}
html[data-uni=kgau] .jump-banner p{color:#F3F0E4}
html[data-uni=kgau][data-theme=dark] .jump-banner{background:linear-gradient(135deg,#2E6B3F,#1E4529)}
html[data-uni=kgau] .podium-avatar{background:#F3F0E4;color:#2E6B3F}
html[data-uni=kgau][data-theme=dark] .podium-avatar{color:#A8D394}
html[data-uni=kgau] .energy-token{filter:hue-rotate(-100deg) saturate(.8) brightness(.82)}
html[data-uni=kgau] .invite-card.is-compact .invite-share{background:#F3F0E4;color:#2E6B3F}
html[data-uni=kgau][data-theme=dark] .invite-card.is-compact .invite-share{background:#23301F;color:#A8D394}
html[data-uni=kgau] body{background:var(--bg)}
html[data-uni=kgau][data-theme=dark]{--bg:#11140E}
html[data-uni=kgau]:not([data-theme=light]){--bg:#11140E}
html[data-uni=kgau][data-theme=dark]{--bg:#11140E;--paper:#1A1F17;--paper2:#222A1E;--line:#343D2E;--ink:#EEF0E4;--muted:#AAB39D;--pale:#1d2619}
html[data-uni=kgau]:not([data-theme=light]){--bg:#11140E;--paper:#1A1F17;--paper2:#222A1E;--line:#343D2E;--ink:#EEF0E4;--muted:#AAB39D;--pale:#1d2619}
html[data-uni=kgau][data-theme=dark] dialog,html[data-uni=kgau][data-theme=dark] .rs-sheet{background:#161A13}
html[data-uni=kgau][data-theme=dark] header{background:rgba(17,20,14,.9)!important}
html[data-uni=kgau][data-theme=dark] nav.bottom{background:rgba(26,31,23,.96)!important;border-color:#343D2E}
html[data-uni=kgau]:not([data-theme=light]) header{background:rgba(17,20,14,.9)!important}
html[data-uni=kgau]:not([data-theme=light]) nav.bottom{background:rgba(26,31,23,.96)!important}
html[data-uni=kgau][data-theme=dark] a.text-link,html[data-uni=kgau][data-theme=dark] .context-back,html[data-uni=kgau][data-theme=dark] .crypto-back,html[data-uni=kgau][data-theme=dark] .uni-back,html[data-uni=kgau][data-theme=dark] .today-more,html[data-uni=kgau][data-theme=dark] .today-label{color:#A8D394}
html[data-uni=kgau][data-theme=dark] .profile-setting>svg,html[data-uni=kgau][data-theme=dark] .profile-setting>.ks-icon,html[data-uni=kgau][data-theme=dark] .home-tile .home-tile-icon,html[data-uni=kgau][data-theme=dark] .home-tile>svg{color:#A8D394}
html[data-uni=kgau][data-theme=dark] .ui-invite .ks-icon{color:#A8D394}
html[data-uni=kgau][data-theme=dark] .podium-avatar{border-color:var(--paper);background:var(--paper2);color:#A8D394}
html[data-uni=kgau][data-theme=dark] body>header nav.desktop a.active{background:#24331f;color:#A8D394}
html[data-uni=kgau][data-theme=dark] .teacher-view a:not(.primary):not(.secondary){color:#A8D394}
html[data-uni=kgau]:not([data-theme=dark]){--paper:#FBFAF4;--paper2:#F2EFE3;--line:#DDD7C3;--ink:#23301F;--muted:#6B735F}
html[data-uni=kgau]:not([data-theme=light]){--paper:#1A1F17;--paper2:#222A1E;--line:#343D2E;--ink:#EEF0E4;--muted:#AAB39D}
html[data-uni=kgau]:not([data-theme=dark]) .today-card,html[data-uni=kgau]:not([data-theme=dark]) .install-strip-wrap{background:#FBFAF4;border-color:#DDD7C3}
html[data-uni=kgau]:not([data-theme=dark]) .today-group{background:#DCE8D3;color:#2E6B3F}
html[data-uni=kgau]:not([data-theme=dark]) .today-time{background:linear-gradient(145deg,#E6EFDD,#D3E3C6);color:#2E6B3F}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile{border-color:transparent}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+1){background:#DCE8D3}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+1)::after{background:#BBD3AE}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+2){background:#F1E6C8}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+2)::after{background:#E2CF9C}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+3){background:#ECE5D4}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+3)::after{background:#D6CBB0}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n){background:#DDE6E1}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n)::after{background:#C0D2C8}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile.uni-tile-wide{background:linear-gradient(120deg,#4A8A56,#2E6B3F)}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile.uni-tile-wide::after{background:transparent}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile .home-tile-icon,html[data-uni=kgau]:not([data-theme=dark]) .home-tile>svg{color:#2E6B3F}
html[data-uni=kgau]:not([data-theme=dark]){--paper:#FCFBF6}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile,html[data-uni=kgau]:not([data-theme=dark]) .today-card,html[data-uni=kgau]:not([data-theme=dark]) .rm-bcard,html[data-uni=kgau]:not([data-theme=dark]) .lesson-card,html[data-uni=kgau]:not([data-theme=dark]) .install-strip-wrap,html[data-uni=kgau]:not([data-theme=dark]) .profile-setting{border:1px solid rgba(46,107,63,.12)!important;box-shadow:0 3px 10px rgba(46,107,63,.07)}
html[data-uni=kgau]:not([data-theme=dark]) .today-card,html[data-uni=kgau]:not([data-theme=dark]) .install-strip-wrap{background:#FCFBF6}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+1){background:#DCE8D3}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+1)::after{background:#BBD3AE}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+2){background:#F1E6C8}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+2)::after{background:#E2CF9C}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+3){background:#ECE5D4}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n+3)::after{background:#D6CBB0}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n){background:#F1E6C8}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile:nth-child(4n)::after{background:#E2CF9C}
html[data-uni=kgau]:not([data-theme=dark]) .home-tile.uni-tile-wide{background:linear-gradient(120deg,#4A8A56,#2E6B3F)}
html[data-uni=kgau]:not([data-theme=dark]) .rm-bcard{background:linear-gradient(160deg,#FCFBF6 55%,#DCE8D3)}
html[data-uni=kgau][data-theme=dark] .rm-bcard{background:linear-gradient(160deg,var(--paper) 55%,#24331f)}
html[data-uni=kgau] .brand .brand-uni-name em{background:none!important;-webkit-background-clip:initial;background-clip:initial;color:#4A8A56}
html[data-uni=kgau][data-theme=dark] .brand .brand-uni-name em{color:#A8D394}
html[data-uni=kgau]:not([data-theme=light]) .brand .brand-uni-name em{color:#A8D394}
html[data-uni=kgau] .home-tile.uni-tile-wide,html[data-uni=kgau]:not([data-theme=dark]) .home-tile.uni-tile-wide{background:linear-gradient(120deg,#2E6B3F,#1E4529)!important}
html[data-uni=kgau] .home-tile.uni-tile-wide b{color:#F3F0E4}
html[data-uni=kgau] .home-tile.uni-tile-wide small,html[data-uni=kgau] .home-tile.uni-tile-wide .uni-tile-go{color:#A8D394}
/* KS Agro: пшеничное золото — слово Agro в логотипе и подписи на широкой плитке */
html[data-uni=kgau] .brand .brand-uni-name em{color:#B8862B!important}
html[data-uni=kgau][data-theme=dark] .brand .brand-uni-name em,html[data-uni=kgau]:not([data-theme=light]) .brand .brand-uni-name em{color:#E6BE6A!important}
html[data-uni=kgau] .home-tile.uni-tile-wide,html[data-uni=kgau]:not([data-theme=dark]) .home-tile.uni-tile-wide{background:linear-gradient(125deg,#2E6B3F 0%,#1E4529 70%,#3d5a22 100%)!important}
html[data-uni=kgau] .home-tile.uni-tile-wide small,html[data-uni=kgau] .home-tile.uni-tile-wide .uni-tile-go{color:#E6BE6A}
html[data-uni=kgau]:not([data-theme=dark]) .lesson-card .lesson-time{color:#2E6B3F}
html[data-uni=kgau][data-theme=dark] .lesson-card .lesson-time{color:#A8D394}
html[data-uni=kgau]:not([data-theme=dark]) .uni-choice[data-uni-c=kgau] em{color:#B8862B}
/* все вузы: аудитория в расписании — ссылка на здание на карте */
.lesson-card .lesson-place{all:unset;cursor:pointer;color:var(--blue);text-decoration:underline dotted;text-underline-offset:3px}
.lesson-card .lesson-place span{font-size:.85em}
html[data-theme=dark] .lesson-card .lesson-place{color:#dfe6ef;text-decoration-color:#8a95a5}
/* тёмная тема: без светлой обводки у «сегодня» и выбранного дня — как у КАИ */
html[data-theme=dark] .schedule-day.is-today,html[data-theme=dark] .schedule-tile.is-selected,html[data-theme=dark] .schedule-chip.is-today{box-shadow:none!important}
html[data-theme=dark] .schedule-day,html[data-theme=dark] .profile-identity p{background:none!important}
html[data-theme=dark] .profile-identity p{padding:0!important}
/* все вузы: цветная полоска слева у пары по типу — как у КФУ */
html .lesson-card.lesson-card.lesson-card{box-shadow:inset 4px 0 0 var(--ks-strip,transparent)!important}
html .lesson-card.lesson-card.is-now{box-shadow:inset 4px 0 0 var(--ks-strip,transparent),0 0 0 3px #6b97ff33!important}
.lesson-card.is-lecture{--ks-strip:#3b7bf0}
.lesson-card.is-practice{--ks-strip:#22a06b}
.lesson-card.is-lab{--ks-strip:#f08c1a}
.lesson-card.is-other{--ks-strip:#9b7bff}
.lesson-card.is-sport{--ks-strip:#8b5cf6}
