/* Made from app.css by scripts/build-desktop-css.mjs (npm run build:desktop-css). Do not edit by hand. */
/* Computers: the structure is 10% smaller; text keeps its size. */
@media (min-width: 1241px) and (hover: hover) and (pointer: fine) {
  :root { --r: 12.5px; --rail: 65px; --top: 57.5px; --cardw: 270px; --tabs: 0px; }
  html, body { margin: 0; height: 100%; }
  body { width: 100%; max-width: 100vw; }
  .gate-card, .gate-card * { min-width: 0; }
  .wide-seg button { padding: 0 5.5px; }
  svg { width: 18px; height: 18px; flex: none; }
  .err { min-height: 1em; margin: 5.5px 0 0; }
  .btn { height: 34px; border-radius: 10px; padding: 0 12.5px; gap: 7px; }
  .btn.sm { height: 29px; padding: 0 11px; border-radius: 8px; }
  .btn.wide { width: 100%; height: 41.5px; }
  .btn svg { width: 14.5px; height: 14.5px; }
  .icon { width: 34px; height: 34px; border-radius: 10px; }
  .av { width: 36px; height: 36px; border-radius: 50%; flex: none; }
  .av.sm { width: 23.5px; height: 23.5px; }
  .av.big { width: 65px; height: 65px; }
  .av.xl { width: 86.5px; height: 86.5px; }
  .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
  .gate { min-height: 100%; padding: max(14.5px, env(safe-area-inset-top)) 14.5px max(14.5px, env(safe-area-inset-bottom)); }
  .gate-card { width: min(378px, 100%); border-radius: 20px; padding: 25px; flex-direction: column; gap: 11px; }
  .gate-logo { height: 27px; }
  .gate h1 { margin: 3.5px 0 5.5px; }
  .gate label, .stack label, .inline-form label, .dlg label { flex-direction: column; gap: 5.5px; }
  .gate input, .stack input, .stack textarea, .inline-form input, .inline-form select, .dlg input, .dlg select, #tplRow input, .dates input { height: 39.5px; border-radius: 11px; padding: 0 11px; }
  .stack textarea { height: auto; padding: 9px 11px; }
  .qr { border-radius: 14.5px; padding: 12.5px; }
  .qr img { width: 180px; height: 180px; }
  .app { inset: 0; grid-template-columns: var(--rail) 1fr; grid-template-rows: var(--top) 1fr; }
  .rail { flex-direction: column; padding: 12.5px 0; gap: 7px; }
  .rail-logo { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 11px; }
  .rail button { width: 41.5px; height: 41.5px; border-radius: 11px; }
  .rail button svg { width: 20px; height: 20px; }
  .bdg { top: 4.5px; right: 4.5px; min-width: 15.5px; height: 15.5px; border-radius: 8px; padding: 0 3.5px; }
  .rail-gap { flex: 1; }
  .rail-me { width: 34px; height: 34px; }
  .top { gap: 14.5px; padding: 0 18px; min-width: 0; }
  .wm { height: 20px; flex: none; }
  .search { min-width: 126px; flex: 0 1 288px; height: 36px; border-radius: 11px; gap: 9px; padding: 0 11px; }
  .search input { flex: 1; min-width: 0; }
  .pills { gap: 7px; flex: none; }
  .qp { height: 30.5px; border-radius: 15.5px; padding: 0 11.5px; gap: 6.5px; }
  .me { margin-left: auto; gap: 9px; }
  .me-name { padding: 5.5px 7px; border-radius: 8px; }
  .rail .rail-logo, .rail .rail-logo:hover:not(.on) { width: 36px; height: 36px; margin-bottom: 11px; }
  .rail .rail-me-b, .rail .rail-me-b:hover:not(.on), .rail .rail-me-b.on { width: auto; height: auto; }
  .rail-me-b { padding: 0; border-radius: 50%; }
  .pres { height: 30.5px; border-radius: 15.5px; gap: 7px; padding: 0 11.5px 0 10px; }
  .pres.big { height: 41.5px; padding: 0 16px; }
  .tab { min-height: 0; }
  .page { padding: 20px 23.5px 36px; }
  .page-h { flex-wrap: wrap; gap: 11px 14.5px; margin-bottom: 14.5px; }
  .page-h h2 { margin: 0; }
  .page-h p { margin: 0; flex-basis: 100%; }
  .panel { border-radius: 16px; padding: 14.5px 16px; margin-bottom: 12.5px; }
  .panel h3 { margin: 0 0 11px; }
  .grid2 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12.5px; }
  .grid2 > * { min-width: 0; }
  .panes { grid-template-columns: var(--listw) minmax(0, 1fr) var(--cardw); min-height: 0; }
  .list-col { flex-direction: column; min-height: 0; }
  .lh { padding: 14.5px 16px 9px; gap: 9px; }
  .lh h2 { margin: 0; }
  .route { border-radius: 8px; padding: 3.5px 8px; }
  .alert { margin: 0 12.5px 9px; border-radius: 12.5px; padding: 9px 11px; gap: 9px; }
  .alert > div { flex: 1; min-width: 0; }
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 5.5px; padding: 5.5px 11px 9px; }
  @container (min-width: 600px) {
    .chips { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  }
  .chips button { height: 27px; min-width: 0; border-radius: 13.5px; padding: 0 5.5px; gap: 4.5px; }
  .chips button > span { min-width: 0; }
  .chips i { flex: none; top: -5.5px; right: -2px; min-width: 16px; height: 16px; padding: 0 4.5px; border-radius: 8px; }
  .list-search { margin: 0 12.5px 9px; }
  .list-note { margin: 2px 14.5px 5.5px; }
  .more-b { margin: 11px auto 14.5px; }
  .list { flex: 1; }
  .item { gap: 11px; padding: 11px 14.5px; }
  .item.on::before { left: 0; top: 9px; bottom: 9px; width: 2.5px; border-radius: 2px; }
  .item .t { flex: 1; min-width: 0; }
  .item .n { gap: 7px; }
  .item .p { margin-top: 2px; gap: 5.5px; }
  .item .p svg { width: 11.5px; height: 11.5px; }
  .item .m { flex-wrap: wrap; gap: 5.5px; margin-top: 6.5px; max-width: none; padding: 0; border-radius: 0; }
  .unread { right: 14.5px; bottom: 12.5px; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5.5px; }
  .tag { height: 20px; border-radius: 5.5px; padding: 0 7px; gap: 4.5px; }
  .tag .av.sm { width: 14.5px; height: 14.5px; }
  .list .empty-l { padding: 36px 18px; }
  .chat { flex-direction: column; min-height: 0; min-width: 0; }
  .chat .empty { margin: auto; }
  .chat .empty svg { width: 38px; height: 38px; }
  .chat-in { flex-direction: column; min-height: 0; height: 100%; }
  .chat-head { min-height: 48.5px; flex-wrap: wrap; gap: 5.5px 9px; padding: 5.5px 12.5px; }
  .chat-head .av { width: 32.5px; height: 32.5px; }
  .chat-head .who { min-width: 0; flex: 1 1 162px; }
  .chat-head .acts .btn, .chat-head .acts .icon { height: 30.5px; min-height: 30.5px; }
  .chat-head .acts { flex-wrap: nowrap; gap: 5.5px; }
  .chat-head .acts .btn { padding: 0 9px; }
  .chat-head .who { flex-basis: 108px; }
  .acts { margin-left: auto; flex-wrap: wrap; gap: 7px; }
  .msgs-w { flex: 1; min-height: 0; flex-direction: column; }
  .msgs { flex: 1; min-height: 0; padding: 7px 16px 11px; flex-direction: column; gap: 2.5px; }
  .m { max-width: min(78%, 648px); padding: 5.5px 9px 4.5px; border-radius: 11px; }
  .m.grp { margin-top: 5.5px; }
  .m.system { padding: 2.5px 9px; border-radius: 8px; max-width: 90%; }
  .m .meta { margin: 4.5px 0 -2px 11px; }
  .m img { max-width: 100%; max-height: 288px; border-radius: 9px; }
  .m audio { width: 234px; max-width: 100%; height: 36px; }
  .vn-k { gap: 4.5px; margin-bottom: 3.5px; }
  .vn-k svg { width: 11.5px; height: 11.5px; }
  .day { margin: 5.5px 0 2px; top: 2px; padding: 2px 9px; border-radius: 8px; }
  .new-div { gap: 9px; margin: 7px 0 2px; }
  .new-div::before, .new-div::after { flex: 1; height: 1px; }
  .to-end { right: 12.5px; bottom: 11px; height: 36px; min-width: 36px; padding: 0 9px; border-radius: 18px; gap: 3.5px; }
  .to-end svg { width: 18px; height: 18px; }
  .composer { padding: 5.5px 12.5px 7px; }
  .qr-chips { gap: 5.5px; margin-bottom: 5.5px; padding-right: 21.5px; }
  .qr-chips button { flex: none; height: 23.5px; border-radius: 11.5px; padding: 0 9px; }
  .composer .row { gap: 5.5px; border-radius: 12.5px; padding: 2.5px 2.5px 2.5px 5.5px; }
  .composer textarea { flex: 1; min-height: 32.5px; max-height: 126px; padding: 7px 3.5px; }
  .note-tog { gap: 5.5px; height: 32.5px; padding: 0 9px; border-radius: 9px; }
  .note-tog input { margin: 0; }
  .composer .send { flex: none; width: 38px; height: 38px; border-radius: 11.5px; margin-left: 2px; }
  .composer .send svg { width: 18px; height: 18px; }
  .composer .mic { margin-bottom: 2.5px; }
  .mic { width: 32.5px; height: 32.5px; border-radius: 10px; }
  .tpl { border-radius: 14.5px; padding: 9px; flex-direction: column; gap: 7px; }
  .tpl-top { gap: 5.5px; }
  .tpl select { flex: 1; height: 36px; border-radius: 10px; padding: 0 9px; }
  .tpl-vars { grid-template-columns: repeat(auto-fit, minmax(144px, 1fr)); gap: 5.5px; }
  .tpl-vars input { height: 34px; border-radius: 9px; padding: 0 9px; }
  .tpl-prev { margin: 0; border-radius: 9px; padding: 7px 9px; }
  .ord-more { padding: 3.5px 0; }
  .foot { gap: 11px; margin-top: 3.5px; }
  .foot .err { margin: 0; }
  .slash { left: 16px; right: 16px; bottom: calc(100% - 3.5px); border-radius: 12.5px; max-height: 234px; padding: 5.5px; }
  .slash button { width: 100%; padding: 7px 9px; border-radius: 8px; }
  .slash b { margin-right: 7px; }
  .rec { gap: 11px; border-radius: 14.5px; padding: 7px 7px 7px 12.5px; }
  .rec-dot { width: 9px; height: 9px; border-radius: 50%; }
  .rec-wave { flex: 1; gap: 2px; height: 23.5px; }
  .rec-wave i { width: 2.5px; border-radius: 2px; flex: none; }
  .card { padding: 14.5px; }
  .card-x { top: 9px; right: 9px; }
  .card .ch { gap: 11px; }
  .card h4 { margin: 14.5px 0 5.5px; }
  @media (min-width: 1241px) {
    .panes.card-off { grid-template-columns: var(--listw) minmax(0, 1fr); }
  }
  .card .row-tags { flex-wrap: wrap; gap: 5.5px; margin-top: 11px; }
  .ord { border-radius: 11px; padding: 9px 11px; margin-bottom: 7px; }
  .kv { grid-template-columns: auto 1fr; gap: 5.5px 11px; }
  .kv dd { margin: 0; }
  .team-row { gap: 9px; padding: 6.5px 0; }
  .team-row small { margin-left: auto; }
  .label-in { width: 100%; height: 32.5px; border-radius: 9px; padding: 0 9px; margin-top: 7px; }
  .cq { gap: 11px; padding: 11px 3.5px; }
  .cq .pos { width: 23.5px; height: 23.5px; border-radius: 7px; flex: none; }
  .cq .t { flex: 1; min-width: 0; }
  .tm { grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 11px; padding: 9px 0; }
  .tm input { width: 57.5px; height: 30.5px; border-radius: 8px; padding: 0 7px; }
  .inline-form { flex-wrap: wrap; gap: 9px; }
  .inline-form > * { flex: 1 1 144px; }
  .stack { flex-direction: column; gap: 9px; }
  .radio { flex-direction: row !important; gap: 9px !important; padding: 9px 11px; border-radius: 11px; }
  .radio small { margin-top: 2px; }
  .check { flex-direction: row !important; gap: 7px !important; }
  .inv-out { margin-top: 11px; border-radius: 11px; padding: 9px 11px; }
  .copy { gap: 7px; }
  .copy input { flex: 1; height: 30.5px; border-radius: 8px; padding: 0 9px; }
  .rp { padding: 7px 0; gap: 9px; }
  .rp span { flex: 1; }
  .rp button { flex: none; }
  .me-panel { max-width: 378px; margin: 18px auto; flex-direction: column; gap: 9px; }
  .me-panel h2 { margin: 5.5px 0 0; }
  .me-panel p { margin: 0; }
  .ptr { top: calc(var(--top) + 7px); left: 50%; padding: 5.5px 12.5px; border-radius: 899px; }
  .st-h { gap: 9px; flex-wrap: wrap; margin-bottom: 9px; }
  .st-h h3 { margin: 0; }
  .st-k { grid-template-columns: repeat(auto-fill, minmax(106px, 1fr)); gap: 7px; }
  .st-k div { border-radius: 11px; padding: 8px 10px; }
  .st-rank { flex-wrap: wrap; gap: 5.5px; margin: 11px 0 3.5px; }
  .st-sub { margin: 12.5px 0 7px; }
  .goal { margin-bottom: 7px; }
  .goal .gb { height: 7px; border-radius: 3.5px; margin-top: 3.5px; }
  .goal .gb i { height: 100%; border-radius: 3.5px; }
  .badges { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 7px; }
  .badge { border-radius: 11px; padding: 7px 9px; }
  .md-acts { margin-top: 7px; padding-top: 9px; }
  .sec-tags { flex-wrap: wrap; gap: 3.5px; margin-top: 3.5px; }
  .sec-tags .btn { height: 23.5px; min-height: 23.5px; padding: 0 7px; }
  .gate-top { gap: 9px; }
  .lang-sw { flex: none; gap: 2px; padding: 2.5px; border-radius: 9px; }
  .lang-sw button { height: 25px; padding: 0 9px; border-radius: 7px; }
  .day-k { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 7px 0 11px; }
  .day-k div { border-radius: 11px; padding: 7px 9px; }
  .handover { border-radius: 11px; padding: 9px 11px; margin-bottom: 11px; }
  #sdNote, #sdWhere { border-radius: 10px; padding: 7px 9px; }
  .item .sw { top: 0; bottom: 0; padding: 0 14.5px; }
  .item .sw.l { left: 0; }
  .item .sw.r { right: 0; }
  .lite-media { border-radius: 9px; padding: 7px 11px; }
  .or { gap: 9px; }
  .or::before, .or::after { flex: 1; height: 1px; }
  .pk-btn { gap: 9px; }
  .pk-btn svg { width: 20px; height: 20px; }
  .pk { gap: 9px; padding: 7px 0 7px 11px; margin: 0 0 5.5px; }
  .pk div { flex: 1; min-width: 0; }
  .wide-seg { grid-template-columns: 1fr 1fr; }
  .wide-seg button { height: 30.5px; }
  .wide-sm { height: 36px; width: 100%; }
  .acc { grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 12.5px; max-width: 1062px; }
  .acc .panel { margin: 0; }
  .acc-me { flex-direction: column; gap: 9px; }
  .acc-id h3 { margin: 3.5px 0 0; }
  .acc-id p { margin: 0; }
  .acc-row { gap: 11px; padding: 11px 0; }
  .acc-btns { gap: 5.5px; flex-wrap: wrap; }
  .acc-f { padding: 3.5px 0 11px; }
  .acc-f select { height: 38px; border-radius: 10px; padding: 0 9px; }
  .tog { gap: 11px; padding: 9px 0; }
  .tog input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
  .sess { gap: 9px; padding: 8px 0; }
  .sess div { flex: 1; min-width: 0; }
  .hist { gap: 9px; padding: 6.5px 0; }
  .hist span:last-child { margin-left: auto; }
  .kbd { padding: 0 4.5px; border-radius: 5.5px; }
  .update-bar { left: 50%; bottom: calc(var(--tabs) + 14.5px); border-radius: 12.5px; padding: 7px 7px 7px 12.5px; gap: 9px; }
  .seg { gap: 3.5px; padding: 3.5px; border-radius: 11px; }
  .seg button { height: 27px; border-radius: 8px; padding: 0 11px; }
  .dates { gap: 5.5px; }
  .dates input { height: 32.5px; }
  .gap { flex: 1; }
  .kpis { grid-template-columns: repeat(auto-fit, minmax(117px, 1fr)); gap: 9px; margin-bottom: 12.5px; }
  .kpi { border-radius: 14.5px; padding: 11px 12.5px; }
  .kpi b { margin-top: 3.5px; }
  .rep-grid { grid-template-columns: minmax(0, 1fr); gap: 12.5px; }
  .rep-grid > div:last-child { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12.5px; }
  .rep-grid > div:last-child > .panel { margin: 0; }
  .rep-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12.5px; }
  .rep-grid > div, .rep-3 > *, .rep-grid .panel { min-width: 0; }
  table.tbl { width: 100%; }
  .tbl th { padding: 0 5.5px 7px; }
  .tbl th:first-child, .tbl td:first-child { left: 0; }
  .tbl td { padding: 8px 5.5px; }
  .tbl .nm { gap: 7px; }
  .bar { height: 5.5px; border-radius: 2.5px; margin-top: 3.5px; min-width: 63px; }
  .bar i { height: 100%; }
  .lb { gap: 9px; padding: 6.5px 0; }
  .lb .rk { width: 20px; height: 20px; border-radius: 6.5px; }
  .lb b:last-child { margin-left: auto; }
  .hm { grid-template-columns: 30.5px repeat(16, 1fr); gap: 2.5px; }
  .hm i { height: 14.5px; border-radius: 2.5px; }
  .rating { padding: 7px 9px; border-radius: 9px; margin-bottom: 5.5px; gap: 7px; }
  .kv2 { padding: 3.5px 0; }
  .ring { inset: 0; padding: 14.5px; }
  .ring-card { width: min(342px, 100%); border-radius: 25px; padding: 27px 21.5px 23.5px; }
  .pulse { width: 119px; height: 119px; border-radius: 50%; margin: 0 auto; }
  .ring-k { margin: 20px 0 0; }
  .ring-who { margin: 5.5px 0 0; }
  .ring-t { margin: 5.5px 0 0; }
  .ring-ctx { margin: 14.5px 0 0; border-radius: 12.5px; padding: 9px 11px; }
  .ring-acts { margin-top: 23.5px; }
  .round { flex-direction: column; gap: 7px; }
  .round svg { width: 57.5px; height: 57.5px; padding: 16px; border-radius: 50%; }
  .callbar { left: 50%; bottom: 16px; gap: 11px; border-radius: 16px; padding: 9px 11px 9px 14.5px; max-width: calc(100% - 21.5px); }
  .live-dot { width: 9px; height: 9px; border-radius: 50%; }
  .toast { left: 50%; top: 16px; padding: 9px 14.5px; border-radius: 11px; max-width: calc(100% - 21.5px); }
  .dlg { border-radius: 18px; padding: 20px; width: min(378px, calc(100% - 21.5px)); }
  .dlg h3 { margin: 0 0 12.5px; }
  .dlg form { flex-direction: column; gap: 11px; }
  .dlg-acts { gap: 7px; }
  @media (max-width: 1240px) {
    .panes { grid-template-columns: var(--listw) minmax(0, 1fr); }
    .card { right: 0; top: 0; bottom: 0; width: min(324px, 92vw); }
    .rep-grid { grid-template-columns: 1fr; }
    .rep-3 { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 980px) {
    .acts { gap: 5.5px; flex: 1 1 100%; flex-wrap: nowrap; padding: 0; margin: 0; }
    .acts > * { min-height: 34px; height: 34px; }
    .acts > .btn { flex: 1 1 0; min-width: 0; padding: 0 5.5px; }
    .acts.two-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5.5px; }
    .acts.two-rows > * { width: auto !important; min-width: 0; }
    .acts > #bCall, .acts > #bAssign, .acts > #bCard { flex: 0 0 36px; width: 36px; padding: 0; }
    .list-col .list-search { flex: none; max-width: none; }
    .acts .btn { padding: 0 9px; }
    .grid2 { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    :root { --rail: 0px; --top: 50.5px; --tabs: 65px; }
    .btn { min-height: 38px; }
    .btn.sm { min-height: 34px; }
    .icon { width: 39.5px; height: 39.5px; }
    .chips button { min-height: 32.5px; }
    .item { min-height: 65px; }
    .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--top) minmax(0, 1fr) var(--tabs); }
    .top { padding: 0 12.5px; gap: 9px; }
    .wm { height: 17px; }
    .me { min-width: 0; }
    .me .pres { height: 27px; max-width: 58vw; }
    .panes { grid-template-columns: minmax(0, 1fr); }
    .chat { inset: 0; }
    .chat-head { padding: calc(3.5px + env(safe-area-inset-top)) 7px 5.5px; gap: 3.5px 5.5px; }
    .chat-head .back { width: 32.5px; height: 32.5px; margin-left: -3.5px; }
    .chat-head .av { width: 29px; height: 29px; }
    .chat-head .who { flex: 1 1 0; }
    .chat-head .acts > *, .chat-head .acts .btn, .chat-head .acts .icon { height: 32.5px; min-height: 32.5px; }
    .msgs { padding: 5.5px 7px 9px; }
    .m { max-width: 88%; }
    .to-end { right: 9px; bottom: 9px; }
    .composer { padding: 5.5px 7px calc(5.5px + env(safe-area-inset-bottom)); }
    body.in-chat .app { grid-template-rows: minmax(0, 1fr); }
    body.in-chat .callbar { bottom: 72px; }
    .page { padding: 14.5px 12.5px 25px; }
    .tabs { padding: 7px 0 calc(7px + env(safe-area-inset-bottom)); }
    .tabs button { flex-direction: column; gap: 2.5px; min-width: 0; flex: 1 1 0; padding: 0; }
    .tabs button svg { width: 21.5px; height: 21.5px; }
    .tabs i { top: -2.5px; right: 9px; min-width: 14.5px; height: 14.5px; border-radius: 7px; padding: 0 3.5px; }
    .rep-3 { grid-template-columns: 1fr; }
    .rep-h .dates { flex: 1 1 100%; min-width: 0; }
    .rep-h .dates input { flex: 1 1 0; min-width: 0; padding: 0 5.5px; }
    .rep-h #repCsv, .rep-h #repPrint { flex: 1 1 0; }
    .callbar { bottom: calc(var(--tabs) + 9px); }
    .tm { grid-template-columns: auto minmax(0, 1fr) auto; }
  }
  .composer .clip { flex: none; width: 32.5px; height: 32.5px; margin-bottom: 2.5px; }
  .composer .clip svg { width: 19px; height: 19px; }
  .att-menu { left: 12.5px; bottom: calc(100% - 3.5px); border-radius: 14.5px; padding: 5.5px; flex-direction: column; min-width: 189px; }
  .att-menu button { gap: 11px; height: 41.5px; padding: 0 11px; border-radius: 10px; }
  .att-menu svg { width: 20px; height: 20px; flex: none; }
  .att-dlg { width: min(414px, calc(100% - 21.5px)); }
  .att-list { flex-direction: column; gap: 7px; max-height: 46vh; }
  .att-row { grid-template-columns: 50.5px minmax(0, 1fr) auto; gap: 9px; padding: 5.5px; border-radius: 11px; }
  .att-th { width: 50.5px; height: 50.5px; border-radius: 8px; }
  .att-th img, .att-th video { width: 100%; height: 100%; }
  .att-t { min-width: 0; flex-direction: column; gap: 2px; }
  .att-t small.err { margin: 0; }
  .att-dlg textarea { height: auto; min-height: 54px; padding: 9px 11px; border-radius: 11px; }
  .doc-ic { width: 36px; height: 43px; flex: none; border-radius: 6.5px; }
  .att-th .doc-ic { width: 32.5px; height: 39.5px; }
  .doc-card { gap: 9px; border-radius: 9px; padding: 7px 9px; min-width: 180px; max-width: 100%; }
  .doc-t { min-width: 0; flex-direction: column; }
  .m video { width: 100%; max-width: 270px; max-height: 324px; border-radius: 9px; margin-bottom: 3.5px; }
  .att-p { gap: 7px; }
  .att-p svg { width: 18px; height: 18px; }
  .att-p .doc-ic { width: 27px; height: 32.5px; }
  .up-bar { height: 3.5px; border-radius: 2px; margin: 7px 0 2px; min-width: 144px; }
  .up-bar span { height: 100%; }
  .att-fail { flex-wrap: wrap; gap: 5.5px; margin-top: 5.5px; }
  .att-fail span { flex-basis: 100%; }
  .md-roles { padding: 9px 0 0; flex-direction: column; gap: 7px; }
  .md-roles p { margin: 0; }
  .md-hist p { margin: 2px 0 0; }
  .pr-top { flex-wrap: wrap; gap: 9px; margin-bottom: 12.5px; }
  .pr-title { flex: 1 1 180px; min-width: 0; }
  .pr-n { gap: 7px; min-width: 0; flex-wrap: wrap; }
  .pr-acts { flex-wrap: wrap; gap: 7px; }
  .pr-rows { flex-direction: column; }
  .pr-row { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.6fr); gap: 5.5px 14.5px; width: 100%; padding: 11px 3.5px; border-radius: 9px; }
  .pr-nums { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5.5px; }
  .btn.pr-back { margin-left: -11px; }
  .pr-nums span { flex-direction: column; min-width: 0; }
  .pr-tpl { padding: 9px 0; }
  .pr-tpl:first-child { padding-top: 0; }
  .pr-body { margin: 5.5px 0 0; }
  .pr-ed select, .pr-var select, #prTplForm select { height: 39.5px; border-radius: 11px; padding: 0 9px; width: 100%; min-width: 0; }
  .pr-var > input { flex: 1 1 144px; height: 39.5px; border-radius: 11px; padding: 0 11px; }
  .pr-thumb img { max-width: 198px; max-height: 144px; border-radius: 11px; }
  .pr-aud { border-radius: 11px; padding: 9px 11px; min-height: 39.5px; }
  .pr-aud p { margin: 0 0 2px; }
  .pr-when button { height: 29px; padding: 0 12.5px; border-radius: 8px; }
  .pr-phone { border-radius: 16px; padding: 14.5px 12.5px; flex-direction: column; gap: 3.5px; max-width: 324px; }
  .pr-bubble { border-radius: 3.5px 12.5px 12.5px 12.5px; padding: 5.5px 5.5px 7px; }
  .pr-bubble img, .pr-noimg { width: 100%; border-radius: 9px; }
  .pr-bubble p { margin: 7px 5.5px 0; }
  .pr-bubble small { margin: 5.5px 5.5px 0; }
  .pr-wbtn { border-radius: 11px; padding: 9px; }
  .pr-pause { border-radius: 11px; padding: 9px 12.5px; margin: 0 0 12.5px; }
  .pr-bar { height: 14.5px; border-radius: 7px; gap: 2px; }
  .pr-bar span { min-width: 2.5px; }
  .pr-legend { flex-wrap: wrap; gap: 5.5px 14.5px; margin: 9px 0 3.5px; }
  .pr-legend > span { gap: 5.5px; }
  .pr-legend i { width: 9px; height: 9px; border-radius: 2.5px; }
  .pr-filter { flex-wrap: wrap; margin-bottom: 7px; }
  .pr-filter button { height: 27px; padding: 0 9px; border-radius: 7px; }
  .pr-person { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 3.5px 11px; width: 100%; padding: 9px 3.5px; }
  .pr-who { min-width: 0; }
  .pr-st { flex-wrap: wrap; gap: 3.5px; }
  .pr-time { max-width: 234px; }
  @media (max-width: 1240px) {
    .pr-row { grid-template-columns: minmax(0, 1fr) auto; }
    .pr-person { grid-template-columns: auto minmax(0, 1fr) auto; }
    .pr-person .pr-time { max-width: none; }
  }
  @media (max-width: 720px) {
    .pr-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 5.5px; }
    .pr-person { grid-template-columns: auto minmax(0, 1fr); }
    .pr-phone { max-width: none; }
  }
  @media print {
    .page { padding: 0; }
  }
  @media (max-width: 380px) {
    .gate-card { padding: 18px 14.5px; border-radius: 16px; }
    .chat-head { gap: 3.5px 5.5px; }
    .top { padding: 0 9px; }
  }
  @media (max-height: 500px) and (orientation: landscape) {
    :root { --top: 43px; }
    .lh { padding-top: 5.5px; padding-bottom: 5.5px; }
    .chat-head { min-height: 0; padding: 5.5px 11px; }
    .chat-head .av { width: 27px; height: 27px; }
    .acts .btn, .acts .icon { height: 29px; min-height: 29px; }
    .composer { padding-top: 5.5px; padding-bottom: 5.5px; }
  }
}
