/*
 UCHЁBKA OS / GUEST CRM / HOME-MATCH v5
 Source of truth: live homepage 2026-10-25 computed palette, cards, CTA.
 Home: #090c11 background, #0d151a masthead, mineral graphite surfaces.
 This file only styles /crm-demo/guest/ and does NOT modify business logic.
*/
:root {
  color-scheme: dark;
  --bg: #090c11;
  --dark: #090c11;
  --sidebar: #0d151a;
  --panel: #151b23;
  --panel2: #1b252e;
  --line: rgba(166,187,177,.13);
  --line2: #52785d;
  --text: #f1f5f4;
  --sub: #acbcb4;
  --green: #a8ef83;
  --green2: #63c833;
  --amber: #edc68b;
  --red: #efb0a0;
  --home-white: #f1f5f4;
  --home-muted: #9daea8;
  --home-panel-edge: #52785d;
  --home-btn-edge: #9fb777;
  --home-btn-ink: #e3eeae;
  --home-font: Onest,Manrope,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --shadow-sm: 0 8px 21px rgba(0,0,0,.28);
  --shadow-md: 0 14px 34px rgba(0,0,0,.35);
}
html,body {
  background: #090c11 !important;
  color:#f1f5f4;
  font-family:var(--home-font);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  letter-spacing:-.012em;
}
body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(circle at 78% 2%,rgba(72,129,76,.04),transparent 36%),
    linear-gradient(140deg,transparent 70%,rgba(110,182,94,.017));
}
::selection{background:#63c833;color:#09110b}
:focus-visible{outline:2px solid #b8ed99;outline-offset:3px}
.guest-banner {
  background:#0d151a;
  color:#9cb7a4;
  border-bottom:1px solid rgba(166,187,177,.13);
  font-weight:900;
  letter-spacing:.12em;
  min-height:30px;
}
.banner-tail{color:#a9c3ab}
.status-dot {
  background:#8bd665;
  box-shadow:0 0 0 3px rgba(136,213,98,.08),0 0 9px rgba(116,199,81,.34);
}
.shell,.body-area{background:#090c11;color:#f1f5f4}
.sidebar{
  background:#0d151a;
  border-right:1px solid #34483e;
  box-shadow:0 5px 20px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.035);
}
.brand{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  padding:7px 12px 24px;
  margin:0 0 4px;
}
.brand img{max-width:148px;filter:drop-shadow(0 4px 12px rgba(0,0,0,.16))}
.brand span{
  color:#91a89a;
  font-size:9px;
  letter-spacing:.14em;
}
.school-profile {
  background:linear-gradient(145deg,#1b252e,#111920);
  border:1px solid #52785d;
  border-radius:10px;
  box-shadow:0 8px 21px rgba(0,0,0,.22);
  margin-bottom:24px;
}
.school-avatar{
  background:linear-gradient(165deg,#2d4538,#1b2b2c);
  color:#c2efa4;
  border:1px solid #6c8d62;
}
.school-profile strong{color:#edf6ed}
.school-profile small{color:#a5b9ab}
.up-symbol{color:#b3d399}
.sidebar-label{color:#718b81;font-weight:900;letter-spacing:.17em}
.nav-item{
  background:transparent;
  border:1px solid transparent;
  color:#b5c7bc;
  border-radius:9px;
  font-size:12px;
}
.nav-item:hover {
  background:#1d2b31;
  color:#ecf6ea;
  border-color:#375047;
}
.nav-item.active {
  background:linear-gradient(145deg,#293936,#18282b);
  border:1px solid #7e9e73;
  color:#e0efc2;
  box-shadow:inset 0 1px rgba(255,255,255,.085),0 4px 15px rgba(0,0,0,.22);
}
.nav-item .nav-icon{color:#84a08b}
.nav-item.active .nav-icon{color:#b8e999}
.nav-count{color:#c3ed9f}
.nav-ai{background:#15251f;border:1px solid #49664a;color:#cce3c3}
.nav-ai.active{
  background:linear-gradient(145deg,#2b4035,#1b2c30);
  border-color:#94b16b;
}
.sidebar-bottom{border-top:1px solid #273d34}
.sandbox-tag{color:#a8c99c}
.sidebar-bottom p{color:#859b90}
.sidebar-bottom a{color:#b5e6a0}
.role-context{
  background:linear-gradient(145deg,#1b252e,#111920);
  border:1px solid #52785d;
  border-radius:10px;
  box-shadow:0 8px 21px rgba(0,0,0,.22);
}
.role-context span{color:#9cba91}
.role-context strong{color:#f0f4ee}
.role-context small{color:#96ada1}
.topbar {
  background:#0d151a;
  border-bottom:1px solid #34483e;
  box-shadow:0 7px 27px rgba(0,0,0,.19);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.micro-kicker{color:#86a38e;letter-spacing:.15em}
.topbar-first h1{color:#f1f5f4;letter-spacing:-.05em}
.crumb-arrow{color:#7e9d80}
.reference-day{color:#a6bcae}
.director-avatar{
  background:linear-gradient(145deg,#2e433b,#16272c);
  color:#c2ee9f;
  border:1px solid #8ca877;
  box-shadow:inset 0 1px rgba(255,255,255,.08);
}
.nav-toggle{
  background:linear-gradient(145deg,#2d413a,#18262b);
  border:1px solid #8ea776;
  color:#d4e9bb;
  box-shadow:inset 0 1px rgba(255,255,255,.08);
}
.role-switcher label{color:#90ab9a;letter-spacing:.13em}
.role-switcher select{
  background:linear-gradient(145deg,#293b3b,#17242b);
  border:1px solid #779269;
  color:#ecf4e6;
  border-radius:10px;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 4px 14px rgba(0,0,0,.15);
}
.role-switcher select:hover,.role-switcher select:focus-visible{border-color:#bfd19a}
.role-switcher select option{background:#15212a;color:#f1f6f0}
.reset-btn{
  background:linear-gradient(145deg,#293937,#1a272e);
  border:1px solid #698463;
  color:#d4e2ce;
  box-shadow:inset 0 1px rgba(255,255,255,.07);
}
.reset-btn:hover{background:#2f433e;color:#e7f5e1}
.notice {
  background:linear-gradient(145deg,#1b252e,#111920);
  border:1px solid #52785d;
  color:#aebeb7;
  border-radius:10px;
  box-shadow:0 8px 21px rgba(0,0,0,.25);
}
.notice strong{color:#eef4ee}
.notice-dot {
  background:#22382c;
  border:1px solid #587b55;
  color:#b2e29b;
}
.notice-why{color:#bfdba9}
.view{color:#f1f5f4}
.eyebrow {
  color:#a4d18f;
  font-weight:850;
  letter-spacing:.14em;
}
.view-head h2 {
  color:#f2f5f4;
  font-weight:900;
  letter-spacing:-.063em;
}
.view-head h2 em {
  color:#9de882;
  background:linear-gradient(100deg,#c7ffa2,#8ad967 65%,#63c833);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.view-head p{color:#a7b6b4;line-height:1.7}
.btn{
  background:linear-gradient(145deg,#233135,#151f28);
  border:1px solid #65816a;
  color:#e8f3e4;
  border-radius:10px;
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 5px 16px rgba(0,0,0,.2);
  transition:border-color .18s,background .18s,transform .18s,box-shadow .18s;
}
.btn:hover {
  background:linear-gradient(145deg,#30433f,#1e2c34);
  color:#eefbe8;
  border-color:#9bb889;
  transform:translateY(-1px);
  box-shadow:0 9px 20px rgba(0,0,0,.29);
}
.btn.primary {
  background-color:#242e31;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.11) 0%,transparent 10%,transparent 75%,rgba(0,0,0,.10) 100%),
    linear-gradient(145deg,#354342 0%,#242f34 48%,#1a232a 100%);
  color:#e3eeae;
  border:1px solid #9fb777;
  border-radius:12px;
  font-weight:820;
  letter-spacing:-.01em;
  box-shadow:inset 0 1px rgba(234,255,216,.16),
    inset 0 -1px rgba(0,0,0,.32),
    0 6px 17px rgba(0,0,0,.31);
}
.btn.primary:hover{
  background:linear-gradient(145deg,#41534a,#2a393b 48%,#1f2e30);
  border-color:#c1d992;
  color:#f2ffd0;
  box-shadow:inset 0 1px rgba(255,255,255,.20),0 10px 22px rgba(0,0,0,.34);
}
.btn.ghost{background:#172128;border-color:#57745f;color:#bdd3bf}
.btn.danger{background:#342628;border-color:#986568;color:#f4c1b2}
.btn.danger:hover{background:#463031;border-color:#b97973}
.kpi,
.group-card,.vehicle-card,.document-card,.finance-item,
.panel,.task-item{
  background-color:#151b23;
  background-image:linear-gradient(145deg,#1b252e,#111920);
  border:1px solid #52785d;
  border-radius:10px;
  box-shadow:0 8px 21px rgba(0,0,0,.28);
}
.kpi:after {
  background:radial-gradient(circle,rgba(141,207,111,.095),transparent 72%);
}
.kpi .kpi-label{color:#aabeb3}
.kpi strong{color:#f1f5f4;letter-spacing:-.055em}
.kpi small{color:#8fa69a}
.kpi .kpi-icon{color:#9fdc80}
.kpi.warning{
  background:linear-gradient(145deg,#23262b,#161e27);
  border-color:#746d53;
  box-shadow:0 8px 21px rgba(0,0,0,.28);
}
.kpi.warning strong{color:#efd49d}
.kpi.warning .kpi-icon{color:#d9b46a}
.kpi.good{border-color:#638866}
.panel-head h3{color:#f1f5f4;font-weight:800}
.panel-head p{color:#94a99d}
.panel-body{color:#c8d6cb}
.tag{
  background:#263a30;
  border:1px solid #54795a;
  color:#bee6a8;
  font-weight:820;
}
.tag.warn{
  background:#3c3427;
  border:1px solid #8d7651;
  color:#f0d39c;
}
.tag.danger{
  background:#412b2c;
  border:1px solid #8e5e55;
  color:#f1c0ae;
}
.tag.neutral{
  background:#202e34;
  border:1px solid #455957;
  color:#aebfb4;
}
.alert-list li{border-bottom:1px solid #30433d}
.alert-mark{background:#452c2b;color:#edb19d;border:1px solid #745047}
.alert-mark.info{background:#263b31;color:#b1e695;border-color:#527857}
.alert-list strong{color:#eff5ec}
.alert-list p{color:#a0b2a7}
.alert-list button{
  background:#1d2b2e;
  border:1px solid #668765;
  color:#cfe8ba;
}
.alert-list button:hover{background:#2c4138;border-color:#92b383}
.schedule-mini-item{border-bottom:1px solid #30453d}
.schedule-mini-item time{color:#b6e492}
.schedule-mini-item b{color:#edf3ec}
.schedule-mini-item small{color:#a0b4aa}
.progress-row{color:#a9bcb1}
.progress-track{background:#2c3d3e}
.progress-track>span{background:linear-gradient(90deg,#75bd5d,#a8ed82)}
.activity-row{color:#b0bfb8}
.activity-row time{color:#a7d18c}
.data-table th{
  background:#1b252e;
  border-bottom:1px solid #435a51;
  color:#a4b7ae;
  letter-spacing:.04em;
}
.data-table td{
  background:#141d24;
  border-bottom:1px solid #2e413c;
  color:#d6e2dc;
}
.data-table tbody tr:hover td{background:#202e33}
.data-table strong{color:#edf5ee}
.data-table small{color:#9aafa3}
.amount.due{color:#edd099}
.amount.paid{color:#addc9d}
.table-scroll{border-top:1px solid #3c5348}
.textbox,.select,.numberbox{
  background:#0f181e;
  color:#f0f5ef;
  border:1px solid #607c68;
  border-radius:9px;
  box-shadow:inset 0 1px 4px rgba(0,0,0,.18);
}
.textbox::placeholder{color:#839b8e}
.textbox:hover,.select:hover,.numberbox:hover{border-color:#8eac81}
.textbox:focus,.select:focus,.numberbox:focus {
  border-color:#a7d487;
  outline:2px solid rgba(147,207,117,.22);
}
.textbox option,.select option,.numberbox option{background:#18232b;color:#eef5ed}
.info-box {
  background:linear-gradient(145deg,#1e302b,#15242b);
  border:1px solid #52785d;
  color:#adc0b5;
  border-radius:10px;
}
.info-box strong{color:#d3edc6}
.group-card h3,.vehicle-card h3{color:#eaf3eb}
.group-card p,.vehicle-card p{color:#a0b3a6}
.group-card .group-number{color:#f3f6f1}
.detail-row{border-top:1px solid #3a4f46;color:#aabdaf}
.detail-row b{color:#eaf4e7}
.vehicle-photo{background:#1a2830;border:1px solid #3e554a}
.form-group label{color:#bfd1c1}
.input-note{color:#a3b7ac}
.event-item{
  background:#1d2930;
  border:1px solid #3f584c;
  color:#dfebe0;
}
.event-item.theory{border-left:3px solid #87c96c}
.event-item.practice{border-left:3px solid #d4b273}
.event-item.conflict{border-color:#a87164;background:#322728}
.event-time{color:#b4df97}
.event-item strong{color:#edf5e9}
.event-item small{color:#9fb1aa}
.event-item .event-actions button {
  background:#412c2c;
  border:1px solid #986458;
  color:#ffd0be;
}
.finance-item strong{color:#bfd0be}
.finance-item b{color:#f1f5ef}
.finance-item small{color:#99aea1}
.document-status{color:#a4df89}
.document-status.warn{color:#e6c18a}
.document-status.bad{color:#efab9e}
.assistant-hero{
  background:linear-gradient(145deg,#1b252e,#111920);
  border:1px solid #52785d;
  box-shadow:0 8px 21px rgba(0,0,0,.28);
}
.assistant-hero h3{color:#f2f5ee}
.assistant-hero p{color:#afc0b2}
.assistant-avatar{
  background:linear-gradient(145deg,#283b34,#1b2b30);
  border:1px solid #8bab75;
  color:#c4e7a5;
}
.prompt{
  background:linear-gradient(145deg,#1f3030,#17242b);
  border:1px solid #52785d;
  color:#dcebd7;
  box-shadow:0 6px 17px rgba(0,0,0,.2);
}
.prompt:hover{background:linear-gradient(145deg,#32463b,#1c3132);border-color:#a7c18b}
.assistant-response{
  background:linear-gradient(145deg,#20322f,#151f28);
  border:1px solid #678963;
  color:#e1ece0;
  box-shadow:0 8px 21px rgba(0,0,0,.28);
}
.assistant-response strong,.assistant-response h4{color:#d0eeb3}
.assistant-foot a{color:#bddfab}
.to-do{border-bottom:1px solid #365047;color:#bfd2c1}
.to-do b{color:#b3e18e}
.toast{
  background:linear-gradient(145deg,#2b4038,#18272d);
  border:1px solid #a0ba80;
  color:#eef8e8;
  box-shadow:0 15px 42px rgba(0,0,0,.44);
}
.toast.error{background:#402a2b;border-color:#b87965;color:#f7dfd3}
.modal-root{background:rgba(4,8,11,.76);backdrop-filter:blur(9px)}
.modal-box{
  background:linear-gradient(145deg,#1b252e,#101920);
  border:1px solid #6c8b6b;
  color:#e9f4e9;
  box-shadow:0 22px 80px rgba(0,0,0,.55);
}
.modal-box h2{color:#f1f5ed}
.modal-box p{color:#b1c4b5}
.footer{
  background:#0d151a;
  border-top:1px solid #34483e;
  color:#87998f;
}
.footer a{color:#bbdda9}
.task-item{background:linear-gradient(145deg,#1b252e,#131d26);border-color:#4e6858}
.task-priority{background:#473c30;color:#f2d599}
.task-priority.high{background:#492e2e;color:#f3b9a7}
.task-title{color:#eff5ed}
.task-content>p{color:#a9bbb0}
.task-meta{color:#96aa9e}
.task-meta strong{color:#cfdecc}
.task-closed{color:#afdd9e}
.journal-row{border-top:1px solid #344b41}
.journal-index{background:#2a4036;color:#c2e9a9}
.journal-row strong{color:#e8f3e6}
.journal-row small{color:#98ada1}
.role-personal-banner{background:#1d302a;border-color:#648568;color:#c0d5be}
.role-personal-banner strong{color:#d2eabd}
.nav-item[hidden]{display:none!important}
@media(max-width:800px){
  .sidebar{background:#0d151a;box-shadow:0 20px 70px rgba(0,0,0,.66)}
  .topbar{background:#0d151a}
}
/* Exact home family: hero uses the same vector star, graphite/olive chips and photo. */
.guest-cinema{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  align-items:center;
  gap:clamp(16px,2vw,28px);
  margin:0 0 28px;
  padding:clamp(24px,3vw,41px);
  min-height:310px;
  border:1px solid rgba(91,123,93,.26);
  border-radius:12px;
  background:
    radial-gradient(ellipse at 45% 30%,rgba(53,90,68,.11),transparent 55%),
    linear-gradient(125deg,#0b1116 0%,#0e151b 54%,#0a1016);
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 10px 39px rgba(0,0,0,.22);
  overflow:hidden;
}
.guest-cinema::before{
  content:"";
  position:absolute;
  width:520px;height:520px;border-radius:50%;
  left:17%;top:-110px;
  border:1px solid rgba(81,129,83,.09);
  pointer-events:none;
}
.guest-cinema::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(to right,rgba(104,165,102,.027) 1px,transparent 1px);
  background-size:96px 96px;
  mask-image:linear-gradient(to right,transparent,black,transparent);
  pointer-events:none;
}
.guest-cinema-copy,.guest-cinema-image{position:relative;z-index:1}
.guest-cinema-kicker{
  display:flex;gap:12px;align-items:center;
  margin-bottom:14px;
  color:#a7c99e;
  font-size:10px;font-weight:850;letter-spacing:.16em;
}
.guest-cinema-kicker i{
  display:block;width:7px;height:7px;border-radius:50%;
  background:#92dc6d;box-shadow:0 0 12px rgba(146,220,109,.62);
}
.guest-cinema-kicker em{font-style:normal;color:#789d82}
.guest-cinema h2{
  font-family:var(--home-font);
  font-size:clamp(28px,3.1vw,53px);
  line-height:1.01;letter-spacing:-.075em;
  text-transform:uppercase;font-weight:900;
  color:#f1f5f4;margin:0 0 17px;
}
.guest-cinema h2 em{
  font-style:normal;
  color:#b7f79a;
  background:linear-gradient(110deg,#c6ffa4 0%,#a8ef83 58%,#63c833 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.guest-cinema-desc{color:#abb7b5;font-size:12px;line-height:1.7;max-width:440px;margin:0 0 18px}
.guest-cinema-actions{display:flex;flex-wrap:wrap;gap:9px}
.guest-cinema-actions .btn{min-height:42px;font-size:11px}
.guest-cinema-image{
  border:1px solid rgba(126,170,124,.32);
  border-radius:9px;
  box-shadow:0 15px 32px rgba(0,0,0,.35);
  overflow:hidden;
  aspect-ratio:16/9;
  background:#111820;
}
.guest-cinema-image img{width:100%;height:100%;display:block;object-fit:cover}
.guest-cinema-stamp{
  position:absolute;
  left:12px;bottom:11px;
  display:flex;align-items:center;gap:7px;
  background:rgba(9,16,18,.9);
  padding:7px 10px;
  border:1px solid #5e7f61;
  border-radius:7px;
  color:#bbdbac;
  font-size:9px;font-weight:880;letter-spacing:.1em;
}
.guest-cinema-stamp::before{
  content:"";width:6px;height:6px;border-radius:50%;background:#a3e37c;
  box-shadow:0 0 8px #8bd26f;
}
.guest-cinema-star{
  position:absolute;right:44%;top:10px;width:41px;height:41px;z-index:2;color:#9bef77;
  opacity:.92;transform:rotate(-12deg);
}
.guest-cinema-star svg{width:100%;height:100%}
@media(max-width:1100px){
  .guest-cinema{min-height:0;grid-template-columns:minmax(0,1fr);gap:24px}
  .guest-cinema-image{max-height:320px}
  .guest-cinema-star{right:25px;top:15px}
}
@media(max-width:580px){
  .guest-cinema{padding:20px 17px;gap:17px;border-radius:11px}
  .guest-cinema h2{font-size:clamp(31px,8.6vw,43px)}
  .guest-cinema-kicker{font-size:8px;letter-spacing:.10em}
  .guest-cinema-desc{font-size:12px}
  .guest-cinema-actions .btn{flex:1;min-width:130px}
  .guest-cinema-star{right:22px;top:9px;width:29px;height:29px}
}
@media(prefers-reduced-motion:reduce){.btn:hover{transform:none}}
