/* ==========================================================================
   ÐÐ¸ÑÐ½ÑÐ¹ ÐºÐ°Ð±Ð¸Ð½ÐµÑ
   ========================================================================== */
body.app-body{background:var(--cream)}

.app{display:grid;grid-template-columns:266px minmax(0,1fr);min-height:100vh}
.app > *{min-width:0}

/* ---------- Ð±Ð¾ÐºÐ¾Ð²Ð¾Ðµ Ð¼ÐµÐ½Ñ ---------- */
.side{
  position:sticky;top:0;align-self:start;height:100vh;overflow-y:auto;
  background:#fff;border-right:1px solid var(--line);
  padding:20px 16px 24px;display:flex;flex-direction:column;gap:18px;
}
.side__logo{display:flex;align-items:center;gap:10px;text-decoration:none;padding:0 8px}
.side__logo .logo__mark{width:30px;height:30px}
.side__logo span{font-weight:800;letter-spacing:-.03em;color:var(--ink);font-size:17px;line-height:1.15}
.side__logo b{color:var(--orange)}
.side__logo small{display:block;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted-2)}

.menu{display:grid;gap:2px;list-style:none;margin:0;padding:0}
.menu a{
  display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:13px;
  text-decoration:none;font-size:15px;font-weight:600;color:var(--ink-2);
  transition:background-color .15s, color .15s;
}
.menu a:hover{background:var(--orange-soft);color:var(--orange-600)}
.menu a.is-active{background:linear-gradient(103deg,var(--orange),var(--orange-300));color:#fff;box-shadow:var(--sh-orange)}
.menu svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.menu .badge{
  margin-left:auto;background:var(--red);color:#fff;font-size:11px;font-weight:700;
  min-width:19px;height:19px;border-radius:999px;display:grid;place-items:center;padding:0 5px;
}
.menu a.is-active .badge{background:rgba(255,255,255,.28)}

.side__sos{
  margin-top:auto;background:var(--orange-soft);border:1px solid var(--orange-line);
  border-radius:var(--r-m);padding:14px;display:grid;gap:3px;text-decoration:none;
}
.side__sos small{font-size:11.5px;color:var(--orange-600);font-weight:700}
.side__sos b{font-family:var(--mono);font-size:16px;color:var(--ink);letter-spacing:-.02em}
.side__sos i{font-style:normal;font-size:11.5px;color:var(--muted)}

/* ---------- Ð²ÐµÑÑÐ½ÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ ---------- */
.topbar{
  position:sticky;top:0;z-index:40;background:rgba(251,247,243,.92);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.topbar__in{display:flex;align-items:center;gap:14px;padding:12px 30px;min-height:70px;min-width:0}
.topbar__in > div:first-child{min-width:0}
.topbar h1{font-size:22px;letter-spacing:-.025em}
.topbar__sub{font-size:13px;color:var(--muted);margin-top:2px}
.topbar__right{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:0;flex:none}

.objsw{position:relative}
.objsw__btn{
  display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line-2);
  border-radius:999px;padding:7px 14px 7px 8px;cursor:pointer;text-align:left;
}
.objsw__btn:hover{border-color:var(--orange)}
.objsw__ico{width:30px;height:30px;border-radius:10px;background:var(--orange-soft);display:grid;place-items:center;flex:none;color:var(--orange)}
.objsw__ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.objsw__txt b{display:block;font-size:13.5px;color:var(--ink);letter-spacing:-.01em;line-height:1.2}
.objsw__txt span{display:block;font-size:11.5px;color:var(--muted-2)}
.objsw__chev{width:14px;height:14px;stroke:var(--muted-2);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.objsw__list{
  position:absolute;top:calc(100% + 8px);right:0;min-width:290px;background:#fff;
  border:1px solid var(--line);border-radius:var(--r-m);box-shadow:var(--sh-m);padding:6px;z-index:50;
  display:none;
}
.objsw.is-open .objsw__list{display:block}
.objsw__item{
  display:flex;gap:10px;align-items:center;width:100%;background:none;border:0;cursor:pointer;
  padding:9px 10px;border-radius:12px;text-align:left;
}
.objsw__item:hover{background:var(--orange-soft)}
.objsw__item[aria-current="true"]{background:var(--orange-soft)}
.objsw__item b{display:block;font-size:14px;color:var(--ink)}
.objsw__item span{display:block;font-size:12px;color:var(--muted-2)}
.objsw__item .num{margin-left:auto;font-size:12.5px;color:var(--muted)}

.iconbtn{
  width:42px;height:42px;border-radius:14px;border:1px solid var(--line-2);background:#fff;
  display:grid;place-items:center;cursor:pointer;position:relative;flex:none;
}
.iconbtn:hover{border-color:var(--orange);color:var(--orange)}
.iconbtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.iconbtn__dot{position:absolute;top:9px;right:10px;width:8px;height:8px;border-radius:50%;background:var(--red);border:2px solid #fff}

/* ---------- Ð¿Ð¾Ð»Ð¾ÑÐ½Ð¾ ---------- */
.view{padding:26px 30px 110px;max-width:1080px;min-width:0}
.view__head{margin-bottom:22px}
.view__head h2{font-size:26px}
.view__head p{color:var(--muted);font-size:15px;margin-top:6px}

.grid{display:grid;gap:18px}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--dash{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}

.panel{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:22px;box-shadow:var(--sh-s)}
.panel--flat{box-shadow:none}
.panel__head{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.panel__head h3{min-width:0;overflow-wrap:anywhere}
.panel__head h3{font-size:18px;letter-spacing:-.02em}
.panel__head .btn{margin-left:auto}
.panel__note{font-size:13px;color:var(--muted-2);margin-top:12px}

/* ---------- Ð±Ð°Ð½Ð½ÐµÑ ÑÐ¾Ð±ÑÑÐ¸Ñ ---------- */
.alert{
  display:flex;gap:13px;align-items:flex-start;border-radius:var(--r-m);
  padding:15px 18px;margin-bottom:18px;border:1px solid;
}
.alert svg{width:20px;height:20px;flex:none;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.alert b{display:block;font-size:15px;color:var(--ink);letter-spacing:-.01em}
.alert p{font-size:13.5px;margin-top:3px}
.alert--warn{background:var(--amber-soft);border-color:#EFD9AE;color:var(--amber)}
.alert--warn p{color:#7A5410}
.alert--info{background:var(--blue-soft);border-color:#CFE0F0;color:var(--blue)}
.alert--info p{color:#37567A}
.alert--ok{background:var(--green-soft);border-color:#C8E7DA;color:var(--green)}
.alert--ok p{color:#2C6151}
.alert--err{background:var(--red-soft);border-color:#F2CFCA;color:var(--red)}
.alert--err p{color:#8A342B}
.alert{flex-wrap:wrap}
.alert > div{min-width:0}
.alert .btn{margin-left:auto;flex:none;white-space:normal}

/* ---------- ÐºÐ°ÑÑÐ¾ÑÐºÐ° Â«Ðº Ð¾Ð¿Ð»Ð°ÑÐµÂ» ---------- */
.paycard{
  border-radius:var(--r-l);padding:26px;position:relative;overflow:hidden;min-width:0;
  background:radial-gradient(120% 130% at 85% 10%,#FBE0CE 0%,rgba(251,224,206,0) 60%),linear-gradient(112deg,#FDF4EC,#F9E1D0);
  border:1px solid var(--orange-line);
}
.paycard small{font-size:13px;color:var(--muted);font-weight:600}
.paycard__sum{font-family:var(--mono);font-size:clamp(34px,5vw,46px);font-weight:700;color:var(--ink);letter-spacing:-.04em;margin:6px 0 2px;line-height:1}
.paycard__due{font-size:14px;color:var(--ink-2)}
.paycard__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.paycard__split{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:16px;font-size:13px;color:var(--muted);min-width:0}
.paycard__split b{color:var(--ink-2);font-family:var(--mono);font-weight:700}

.progress{height:7px;border-radius:99px;background:#F1E2D5;overflow:hidden;margin-top:16px}
.progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--orange),var(--orange-300))}
.progress--warn i{background:linear-gradient(90deg,#D9A21B,#EFC15B)}
.progress--danger i{background:linear-gradient(90deg,#CE3A2D,#E4705F)}

/* ---------- Ð±ÑÑÑÑÑÐµ Ð´ÐµÐ¹ÑÑÐ²Ð¸Ñ ---------- */
.quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.quick a{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-m);padding:16px 12px;
  display:grid;justify-items:center;gap:9px;text-decoration:none;text-align:center;
  font-size:13.5px;font-weight:600;color:var(--ink-2);transition:transform .16s, border-color .16s, box-shadow .16s;
}
.quick a:hover{transform:translateY(-3px);border-color:var(--orange-line);box-shadow:var(--sh-s);color:var(--orange-600)}
.quick i{width:40px;height:40px;border-radius:14px;background:var(--orange-soft);display:grid;place-items:center;color:var(--orange)}
.quick svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Ð»ÐµÐ½ÑÐ° ---------- */
.feed{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.feed li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.feed li:last-child{border-bottom:0}
.feed__ico{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex:none}
.feed__ico svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.feed b{display:block;font-size:14.5px;color:var(--ink);letter-spacing:-.01em}
.feed span{display:block;font-size:13px;color:var(--muted)}
.feed time{margin-left:auto;font-size:12px;color:var(--muted-2);white-space:nowrap;flex:none}

/* ---------- ÑÑÑÑÑÐ¸ÐºÐ¸ ---------- */
.meter{border:1px solid var(--line);border-radius:var(--r-m);padding:18px;background:#fff;display:grid;gap:12px}
.meter__head{display:flex;align-items:center;gap:11px}
.meter__ico{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none}
.meter__ico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.meter__ico--cold{background:var(--blue-soft);color:var(--blue)}
.meter__ico--hot{background:var(--red-soft);color:var(--red)}
.meter__ico--el{background:var(--amber-soft);color:var(--amber)}
.meter__ico--heat{background:var(--orange-soft);color:var(--orange)}
.meter__title b{display:block;font-size:15.5px;color:var(--ink);letter-spacing:-.015em}
.meter__title span{display:block;font-size:12.5px;color:var(--muted-2)}
.meter__prev{margin-left:auto;text-align:right;font-size:12.5px;color:var(--muted)}
.meter__prev b{display:block;font-family:var(--mono);font-size:14px;color:var(--ink-2)}

/* Ð²Ð²Ð¾Ð´ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð¸Ð¹ ÑÐ¾Ð»Ð»Ð¸ÐºÐ°Ð¼Ð¸ */
.rollin{position:relative;display:inline-flex;align-items:center;gap:3px;cursor:text}
.rollin__input{
  position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0;padding:0;margin:0;
  background:none;cursor:text;font-size:16px;
}
.rollin__boxes{display:inline-flex;align-items:center;gap:3px;pointer-events:none}
.rb{
  width:30px;height:44px;border-radius:6px;display:grid;place-items:center;
  font-family:var(--mono);font-weight:700;font-size:23px;color:#fff;background:#2A2621;
  box-shadow:inset 0 -7px 10px rgba(0,0,0,.28), inset 0 7px 10px rgba(255,255,255,.10);
  transition:box-shadow .15s;
}
.rb--red{background:#C4342A}
.rb.is-empty{color:rgba(255,255,255,.34)}
.rollin.is-focus .rb.is-next{box-shadow:inset 0 -7px 10px rgba(0,0,0,.28),0 0 0 2.5px var(--orange)}
.rollin__unit{font-size:14px;color:var(--muted);font-weight:600;margin-left:8px}
.meter__calc{font-size:13.5px;color:var(--muted)}
.meter__calc b{color:var(--ink-2);font-family:var(--mono);font-weight:700}
.meter__calc.is-warn{color:var(--amber)}
.meter__calc.is-err{color:var(--red)}
.meter__row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

.verify{
  display:flex;gap:8px;align-items:center;font-size:12.5px;color:var(--muted-2);
  border-top:1px dashed var(--line-2);padding-top:11px;flex-wrap:wrap;
}
.verify svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.verify b{color:var(--ink-2)}
.verify.is-soon{color:var(--amber)}

/* ---------- ÑÐ°Ð±Ð»Ð¸ÑÐ° Ð½Ð°ÑÐ¸ÑÐ»ÐµÐ½Ð¸Ð¹ ---------- */
.tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-inline:-4px;padding-inline:4px}
.tbl{width:100%;border-collapse:collapse;font-size:14.5px;min-width:520px}
.tbl th{
  text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;
  color:var(--muted-2);font-weight:700;padding:0 12px 10px;border-bottom:1px solid var(--line);
}
.tbl td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.tbl tr:last-child td{border-bottom:0}
.tbl .r{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.tbl--kv{min-width:0}
.tbl--kv td:first-child{overflow-wrap:anywhere}
.tbl--kv .r{white-space:normal}
.tbl .grp td{background:var(--cream);font-weight:700;color:var(--ink);font-size:13px;text-transform:uppercase;letter-spacing:.05em;padding:9px 12px}
.tbl .tot td{font-weight:800;color:var(--ink);font-size:16px;border-top:2px solid var(--line-2);border-bottom:0;padding-top:14px}
.tbl__name b{display:block;color:var(--ink);font-weight:600}
.tbl__name span{display:block;font-size:12.5px;color:var(--muted-2)}

/* ---------- ÑÑÐ°ÑÑÑÑ ---------- */
.status{
  display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;
  padding:5px 11px;border-radius:999px;white-space:nowrap;
}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status--new{background:var(--blue-soft);color:var(--blue)}
.status--work{background:var(--amber-soft);color:var(--amber)}
.status--done{background:var(--green-soft);color:var(--green)}
.status--urgent{background:var(--red-soft);color:var(--red)}
.status--muted{background:#F1EBE5;color:var(--muted)}

/* ---------- ÑÐ¿Ð¸ÑÐ¾Ðº ÐºÐ°ÑÑÐ¾ÑÐµÐº ---------- */
.rows{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.row{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-m);padding:16px 18px;
  display:flex;gap:14px;align-items:center;text-align:left;width:100%;min-width:0;cursor:pointer;
  transition:border-color .15s, box-shadow .15s;
}
.row:hover{border-color:var(--orange-line);box-shadow:var(--sh-s)}
.row--static{cursor:default}
.row--static:hover{border-color:var(--line);box-shadow:none}
.row__ico{width:40px;height:40px;border-radius:13px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center;flex:none}
.row__ico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.row__main{min-width:0;flex:1}
.row__main b{display:block;font-size:15px;color:var(--ink);letter-spacing:-.012em;overflow-wrap:anywhere}
.row__main span{display:block;font-size:13px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
.row__side{margin-left:auto;text-align:right;flex:none;display:grid;gap:5px;justify-items:end}
.row__sum{font-family:var(--mono);font-size:15px;font-weight:700;color:var(--ink)}

/* ---------- ÑÐ¾ÑÐ¼Ð° ---------- */
.field{display:grid;gap:7px;margin-bottom:16px}
.field > label{font-size:13.5px;font-weight:700;color:var(--ink)}
.field__hint{font-size:12.5px;color:var(--muted-2)}
.field__err{font-size:12.5px;color:var(--red);font-weight:600}
.input,.select,.textarea{
  width:100%;background:#fff;border:1px solid var(--line-2);border-radius:14px;
  padding:12px 15px;font-size:15.5px;transition:border-color .15s, box-shadow .15s;
}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px var(--orange-soft)}
.input.is-err,.select.is-err{border-color:var(--red);box-shadow:0 0 0 3px var(--red-soft)}
.textarea{min-height:110px;resize:vertical;font-family:inherit;line-height:1.5}
.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E746C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:17px;padding-right:40px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}

/* ÐºÐ°ÑÑÐ¾ÑÐºÐ¸-Ð¿ÐµÑÐµÐºÐ»ÑÑÐ°ÑÐµÐ»Ð¸ */
.choices{display:grid;gap:10px}
.choices--2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.choices--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.choice{
  border:1.5px solid var(--line-2);background:#fff;border-radius:var(--r-m);padding:14px;
  cursor:pointer;text-align:left;display:grid;gap:4px;transition:border-color .15s, background-color .15s;
}
.choice:hover{border-color:var(--orange-line)}
.choice b{font-size:15px;color:var(--ink);letter-spacing:-.012em}
.choice span{font-size:12.5px;color:var(--muted)}
.choice[aria-pressed="true"]{border-color:var(--orange);background:var(--orange-soft)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip-btn{
  border:1.5px solid var(--line-2);background:#fff;border-radius:999px;padding:9px 16px;
  font-size:14px;font-weight:600;color:var(--ink-2);cursor:pointer;
}
.chip-btn:hover{border-color:var(--orange-line)}
.chip-btn[aria-pressed="true"]{border-color:var(--orange);background:var(--orange);color:#fff}
.chip-btn[disabled]{opacity:.4;cursor:not-allowed}

/* ---------- ÑÐ°Ð³Ð¸ ÑÐµÐ³Ð¸ÑÑÑÐ°ÑÐ¸Ð¸ ---------- */
.stepper{display:flex;align-items:center;gap:8px;margin-bottom:26px}
.stepper i{
  flex:1;height:5px;border-radius:99px;background:var(--line);position:relative;
}
.stepper i.is-done{background:var(--orange)}
.stepper i.is-now{background:linear-gradient(90deg,var(--orange) 55%,var(--line) 55%)}
.step-label{font-size:12.5px;color:var(--muted-2);font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px}

/* ---------- ÑÐ°Ð¹Ð¼Ð»Ð°Ð¹Ð½ Ð·Ð°ÑÐ²ÐºÐ¸ ---------- */
.tline{list-style:none;margin:0;padding:0 0 0 26px;position:relative}
.tline::before{content:"";position:absolute;left:7px;top:8px;bottom:12px;width:2px;background:var(--line)}
.tline li{position:relative;padding:0 0 20px}
.tline li::before{
  content:"";position:absolute;left:-26px;top:4px;width:16px;height:16px;border-radius:50%;
  background:#fff;border:2.5px solid var(--line-2);
}
.tline li.is-done::before{background:var(--orange);border-color:var(--orange)}
.tline li.is-now::before{background:#fff;border-color:var(--orange);box-shadow:0 0 0 4px var(--orange-soft)}
.tline b{display:block;font-size:14.5px;color:var(--ink)}
.tline span{display:block;font-size:13px;color:var(--muted)}

/* ---------- ÑÐ°Ñ ---------- */
.chat{display:grid;gap:10px;margin-bottom:16px}
.msg{max-width:78%;padding:11px 15px;border-radius:16px;font-size:14.5px;line-height:1.45}
.msg small{display:block;font-size:11.5px;opacity:.7;margin-top:4px}
.msg--in{background:#F4EDE7;border-bottom-left-radius:5px;justify-self:start}
.msg--out{background:linear-gradient(103deg,var(--orange),var(--orange-300));color:#fff;border-bottom-right-radius:5px;justify-self:end}

/* ---------- Ð¿ÑÐ¾Ð¿ÑÑÐº Ð¸ QR ---------- */
.pass{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;
  display:grid;grid-template-columns:1fr auto;gap:18px;padding:22px;align-items:center;
}
.pass__qr{width:132px;height:132px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;flex:none}
.pass__qr svg{width:100%;height:100%;display:block}
.pass__code{font-family:var(--mono);font-size:20px;font-weight:700;letter-spacing:.08em;color:var(--ink)}
.pass dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:14px 0 0;font-size:13.5px}
.pass dt{color:var(--muted-2)}
.pass dd{margin:0;color:var(--ink-2);font-weight:600}

/* ---------- ÑÐ»Ð¾ÑÑ Ð±ÑÐ¾Ð½Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ ---------- */
.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.slot{
  border:1.5px solid var(--line-2);background:#fff;border-radius:12px;padding:10px 6px;
  font-family:var(--mono);font-size:13.5px;font-weight:700;color:var(--ink-2);cursor:pointer;text-align:center;
}
.slot:hover{border-color:var(--orange-line)}
.slot[aria-pressed="true"]{border-color:var(--orange);background:var(--orange);color:#fff}
.slot[disabled]{background:#F5F0EB;color:var(--muted-2);border-color:var(--line);cursor:not-allowed;text-decoration:line-through}

/* ---------- Ð³ÑÐ°ÑÐ¸Ðº Ð¿Ð¾ÑÑÐµÐ±Ð»ÐµÐ½Ð¸Ñ ---------- */
.chart{display:flex;align-items:flex-end;gap:7px;height:118px;margin-top:6px}
.chart div{flex:1;background:linear-gradient(180deg,var(--orange-300),var(--orange));border-radius:6px 6px 3px 3px;min-height:5px;position:relative}
.chart div.is-dim{background:var(--peach-2)}
.chart div span{
  position:absolute;bottom:-20px;left:0;right:0;text-align:center;font-size:10.5px;color:var(--muted-2);
}
.chart-wrap{padding-bottom:24px}

/* ---------- Ð¿ÑÑÑÐ¾Ðµ ÑÐ¾ÑÑÐ¾ÑÐ½Ð¸Ðµ ---------- */
.empty{text-align:center;padding:40px 20px;display:grid;gap:12px;justify-items:center}
.empty i{width:56px;height:56px;border-radius:20px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}
.empty svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.empty b{font-size:17px;color:var(--ink)}
.empty p{font-size:14.5px;color:var(--muted);max-width:40ch}

/* ---------- Ð¼Ð¾Ð´Ð°Ð»ÑÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ ---------- */
.modal{
  position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px;
  background:rgba(35,25,18,.42);
}
.modal.is-open{display:flex}
.modal__box{
  background:#fff;border-radius:var(--r-l);width:min(520px,100%);max-height:88vh;overflow-y:auto;
  padding:26px;box-shadow:var(--sh-m);
}
.modal__head{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.modal__head h3{font-size:21px}
.modal__close{margin-left:auto;width:36px;height:36px;border-radius:12px;border:1px solid var(--line-2);background:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.modal__close svg{width:16px;height:16px;stroke:var(--ink-2);stroke-width:2;fill:none;stroke-linecap:round}

/* ---------- Ð²ÑÐ¿Ð»ÑÐ²Ð°ÑÑÐµÐµ ÑÐ¾Ð¾Ð±ÑÐµÐ½Ð¸Ðµ ---------- */
.toast{
  position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);z-index:200;
  background:var(--ink);color:#fff;padding:13px 22px;border-radius:999px;font-size:14.5px;font-weight:600;
  box-shadow:0 14px 34px rgba(23,21,18,.28);opacity:0;pointer-events:none;transition:opacity .2s, transform .2s;
  max-width:calc(100vw - 32px);text-align:center;
}
.toast.is-on{opacity:1;transform:translate(-50%,0)}

/* ---------- Ð½Ð¸Ð¶Ð½ÑÑ Ð½Ð°Ð²Ð¸Ð³Ð°ÑÐ¸Ñ ---------- */
.tabbar{display:none}

/* ---------- ÐºÑÑÐ¿Ð½ÑÐ¹ ÑÑÐ¸ÑÑ ---------- */
body.big-type{font-size:19px}
body.big-type .view{--gut:20px}
body.big-type .tbl{font-size:16px}
body.big-type .row__main b,body.big-type .meter__title b{font-size:17px}
body.big-type .menu a{font-size:16.5px;padding:12px}

/* ---------- Ð°Ð´Ð°Ð¿ÑÐ¸Ð² ---------- */
@media (max-width:1100px){
  .grid--dash{grid-template-columns:minmax(0,1fr)}
  .grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .app{grid-template-columns:minmax(0,1fr)}
  .side{display:none}
  .topbar__in{padding:10px 18px;min-height:62px}
  .topbar h1{font-size:19px}
  .view{padding:20px 18px 96px}
  .tabbar{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:70;
    background:rgba(255,255,255,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
    border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a{
    display:grid;justify-items:center;gap:3px;padding:7px 2px;text-decoration:none;
    font-size:10.5px;font-weight:600;color:var(--muted);border-radius:12px;min-height:52px;
  }
  .tabbar a.is-active{color:var(--orange)}
  .tabbar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pass{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}
  .pass dl{justify-content:center}
}
@media (max-width:620px){
  .alert .btn{margin-left:0;width:100%}
  .panel__head .btn{margin-left:0}
  .grid--2,.grid--3{grid-template-columns:minmax(0,1fr)}
  .panel{padding:18px;border-radius:var(--r-m)}
  .paycard{padding:20px}
  .form-row{grid-template-columns:minmax(0,1fr)}
  .choices--2,.choices--4{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .rb{width:26px;height:38px;font-size:20px}
  .objsw__txt{display:none}
  .objsw__btn{padding:7px 10px 7px 8px}
  .view__head h2{font-size:22px}
  .msg{max-width:88%}
}

/* ==========================================================================
   ÐÐ¾Ð±Ð°Ð²Ð»ÐµÐ½Ð¾ Ð¿Ð¾ ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐ°Ð¼ Ð¸ÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¶Ð°Ð»Ð¾Ð± Ð¶Ð¸ÑÐµÐ»ÐµÐ¹
   ========================================================================== */

/* Ð¿ÑÑÑ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð¸Ñ Ð´Ð¾ ÑÑÑÐ¾ÐºÐ¸ Ð² ÐºÐ²Ð¸ÑÐ°Ð½ÑÐ¸Ð¸ */
.lifecycle .tline{margin-top:4px}
.lifecycle .panel__head .status{margin-left:auto}

/* Ð¸ÑÑÐ¾ÑÐ¸Ñ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð¸Ð¹ Ð¿Ð¾ Ð¿ÑÐ¸Ð±Ð¾ÑÑ */
.hist{border-top:1px dashed var(--line-2);padding-top:10px}
.hist summary{
  cursor:pointer;font-size:13px;font-weight:700;color:var(--orange-600);
  list-style:none;display:inline-flex;align-items:center;gap:6px;
}
.hist summary::-webkit-details-marker{display:none}
.hist summary::before{content:"â¸";transition:transform .15s}
.hist[open] summary::before{transform:rotate(90deg)}
.hist .tblwrap{margin-top:10px}
.tbl--mini{min-width:300px;font-size:13px}
.tbl--mini th{padding:0 8px 7px}
.tbl--mini td{padding:7px 8px}

/* Ð°Ð²Ð°ÑÐ¸Ð¹Ð½Ð°Ñ ÐºÐ°ÑÐµÐ³Ð¾ÑÐ¸Ñ Ð²ÑÐ´ÐµÐ»ÐµÐ½Ð°, Ñ Ð¾ÑÑÐ°Ð»ÑÐ½ÑÑ â Ð´Ð¾Ð»Ñ Ð¾Ð±ÑÐ°ÑÐµÐ½Ð¸Ð¹ */
.choice--sos{
  width:100%;border-color:var(--red);background:var(--red-soft);
}
.choice--sos b{color:var(--red)}
.choice--sos[aria-pressed="true"]{border-color:var(--red);background:#F8DCD8}
.choice__share{
  display:inline-block;margin-top:6px;font-size:11px;font-weight:700;
  color:var(--orange-600);background:var(--orange-soft);border-radius:999px;padding:3px 9px;
}
.choice[aria-pressed="true"] .choice__share{background:#fff}

/* ÐºÐ¾Ð»Ð¾Ð½ÐºÐ¸ Â«Ð¿ÐµÑÐµÑÑÐ¸ÑÐ°ÐµÐ¼ / Ð½Ðµ Ð¿ÐµÑÐµÑÑÐ¸ÑÐ°ÐµÐ¼Â» */
.aud-col{background:#fff;border:1px solid var(--line);border-radius:var(--r-m);padding:18px}
.aud-col h4{margin-bottom:12px;display:flex;align-items:center;gap:8px;font-size:15px}
.aud-col h4::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green);flex:none}
.aud-col--no h4::before{background:var(--muted-2)}
.aud-col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.aud-col li{font-size:14px;color:var(--ink-2);padding-left:20px;position:relative}
.aud-col li::before{content:"";position:absolute;left:0;top:7px;width:10px;height:10px;border-radius:50%;background:var(--green-soft);border:1.5px solid #BFE3D4}
.aud-col--no li{color:var(--muted)}
.aud-col--no li::before{background:#F1EBE5;border-color:var(--line-2)}

/* Ð¾ÑÐµÐ½ÐºÐ° ÑÐ°Ð±Ð¾ÑÑ Ð£Ð */
.rate{display:flex;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.rate:last-of-type{border-bottom:0}
.rate > span:first-child{font-size:15px;color:var(--ink);font-weight:600}
.rate__stars{margin-left:auto;display:flex;gap:3px;flex:none}
.rate__s{
  width:32px;height:32px;border:0;background:none;cursor:pointer;padding:0;
  display:grid;place-items:center;border-radius:8px;color:var(--line-2);
}
.rate__s:hover{color:var(--orange-300)}
.rate__s.is-on{color:var(--orange)}
.rate__s svg{width:22px;height:22px;fill:currentColor}

/* ÑÑÑÐ»ÐºÐ° Ð²Ð½ÑÑÑÐ¸ ÑÐµÐºÑÑÐ° */
.linklike{
  background:none;border:0;padding:0;font:inherit;color:var(--orange-600);
  font-weight:700;cursor:pointer;text-decoration:underline;
}
.linklike:hover{color:var(--orange)}

/* Ð¿ÑÐ¾ÑÑÐ¾Ð¹ ÑÐµÐ¶Ð¸Ð¼: ÑÐ¾Ð»ÑÐºÐ¾ Ð³Ð»Ð°Ð²Ð½Ð¾Ðµ */
body.simple-mode{font-size:18px}
body.simple-mode .home-extra{display:none}
body.simple-mode .quick{grid-template-columns:repeat(2,minmax(0,1fr))}
body.simple-mode .quick a{font-size:15px;padding:20px 14px}
body.simple-mode .quick i{width:48px;height:48px}
body.simple-mode .menu a{font-size:17px;padding:13px 12px}
body.simple-mode .paycard__sum{font-size:clamp(38px,6vw,52px)}
body.simple-mode .hist,body.simple-mode .panel__note{display:none}
body.simple-mode .btn{font-size:16px;padding:15px 26px}

@media (max-width:620px){
  .rate{flex-wrap:wrap;gap:6px}
  .rate__stars{margin-left:0}
  .choice__share{font-size:10.5px}
}
