@media (min-width:1025px){
  :root{
    --ksc-bg:var(--theme-bg);
    --ksc-panel:var(--theme-surface);
    --ksc-panel-2:var(--theme-surface);
    --ksc-panel-3:var(--theme-surface-2);
    --ksc-line:var(--theme-border);
    --ksc-line-soft:var(--theme-border);
    --ksc-green:var(--theme-accent);
    --ksc-green-2:var(--theme-accent-strong);
    --ksc-text:var(--theme-text);
    --ksc-soft:var(--theme-text-2);
    --ksc-muted:var(--theme-muted);
    --ksc-danger:var(--theme-danger);
    --ksc-warning:var(--theme-warning);
    --ksc-blue:var(--theme-info);
    --ksc-radius:10px;
    --ksc-gap:14px;
  }

  *{box-sizing:border-box}
  html,body{margin:0;min-height:100%;background:var(--ksc-bg)!important}
  body.kovra-smart-collections-page{
    margin:0!important;padding:0 0 0 var(--km-side,248px)!important;
    height:100dvh!important;min-height:100dvh!important;overflow:hidden!important;
    color:var(--ksc-text)!important;
    background:var(--theme-bg)!important;
    font-family:"Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif!important;
    text-rendering:optimizeLegibility;
  }
  body.kovra-smart-collections-page svg{shape-rendering:geometricPrecision}
  body.kovra-smart-collections-page img{image-rendering:auto}
  .ksc-pc-only{display:block!important}
  .bottom-nav,.quick-menu{display:none!important}
  .ksc-source{display:none!important}

  .app{
    width:auto!important;max-width:none!important;height:100dvh!important;min-height:0!important;margin:0!important;
    padding:26px 20px 24px!important;overflow:hidden!important
  }

  .ksc-header{
    min-height:92px;display:flex!important;align-items:flex-start;justify-content:space-between;gap:24px;
    padding:3px 0 16px
  }
  .ksc-title h1{margin:0;color:var(--theme-text);font-size:34px;line-height:1.05;letter-spacing:-.025em;font-weight:790}
  .ksc-title p{margin:9px 0 0;color:var(--theme-muted);font-size:13.5px;line-height:1.35}
  .ksc-live-card{
    min-width:220px;height:58px;padding:0 14px;
    display:grid;grid-template-columns:34px minmax(0,1fr) 10px;gap:11px;align-items:center;
    border:1px solid var(--theme-border-strong);border-radius:9px;
    background:var(--theme-surface);color:var(--theme-text-2)
  }
  .ksc-live-card>span{
    width:32px;height:32px;display:grid;place-items:center;border-radius:8px;
    background:var(--theme-accent-soft);color:var(--ksc-green)
  }
  .ksc-live-card>span svg{width:19px;height:19px}
  .ksc-live-card small,.ksc-live-card strong{display:block}
  .ksc-live-card small{color:var(--theme-muted);font-size:12.5px;letter-spacing:.065em;font-weight:750}
  .ksc-live-card strong{margin-top:4px;color:var(--theme-text);font-size:13px;font-weight:760}
  .ksc-live-card strong b{color:var(--ksc-green);font-size:16px}
  .ksc-live-card i{
    width:8px;height:8px;border-radius:50%;background:var(--ksc-green);
    box-shadow:none
  }


  .ksc-kpis{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px
  }
  .ksc-kpis article{
    min-width:0;min-height:114px;padding:16px 17px;
    display:grid;grid-template-columns:62px minmax(0,1fr) 16px;gap:15px;align-items:center;
    border:1px solid var(--ksc-line);border-radius:10px;
    background:var(--theme-surface)
  }
  .ksc-kpi-icon{
    width:60px;height:60px;display:grid;place-items:center;
    border:1px solid var(--theme-border-strong);border-radius:14px;
    background:var(--theme-success-soft);
    color:var(--ksc-green);
    box-shadow:none
  }
  .ksc-kpi-icon.danger{
    border-color:rgba(255,94,94,.38);
    background:var(--theme-danger-soft);
    color:var(--theme-danger);box-shadow:inset 0 0 0 1px rgba(255,255,255,.018),0 8px 22px rgba(111,24,24,.14)
  }
  .ksc-kpi-icon.promise{
    border-color:rgba(74,157,255,.34);
    background:var(--theme-info-soft);
    color:var(--theme-info)
  }
  .ksc-kpi-icon.warning{
    border-color:rgba(240,198,47,.34);
    background:var(--theme-warning-soft);
    color:var(--theme-warning)
  }
  .ksc-kpi-icon svg{width:31px;height:31px;stroke-width:1.75}
  .ksc-kpis small,.ksc-kpis strong,.ksc-kpis em{display:block}
  .ksc-kpis small{color:var(--theme-muted);font-size:12.5px;font-style:normal;font-weight:620}
  .ksc-kpis strong{margin-top:4px;color:var(--theme-text);font-size:19px;line-height:1.05;font-weight:790}
  .ksc-kpis strong b{font-weight:850}
  .ksc-kpis em{margin-top:8px;color:var(--theme-text);font-size:17px;line-height:1;font-style:normal;font-weight:770}
  .ksc-kpis article>i{color:var(--theme-muted);font-size:27px;font-style:normal;font-weight:300}

  .ksc-workspace{
    min-height:0;display:grid!important;grid-template-columns:minmax(0,1fr) 420px;gap:14px;align-items:start
  }

  .ksc-alerts-panel{
    min-width:0;overflow:hidden;border:1px solid var(--ksc-line);border-radius:9px;background:var(--theme-input)
  }
  .ksc-panel-head{
    min-height:76px;padding:14px 16px 10px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px
  }
  .ksc-panel-head h2{margin:0;display:flex;align-items:center;gap:9px;color:var(--theme-text);font-size:16px;font-weight:760}
  .ksc-panel-head h2 span{width:22px;height:22px;display:grid;place-items:center}
  .ksc-panel-head h2 svg{width:20px;height:20px}
  .ksc-panel-head p{margin:6px 0 0;color:var(--theme-muted);font-size:12.5px}
  .ksc-search-tools{display:flex;align-items:center;gap:9px}
  .ksc-search{
    width:310px;height:44px;padding:0 12px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:center;
    border:1px solid var(--ksc-line);border-radius:8px;background:var(--theme-surface-2)
  }
  .ksc-search span{width:20px;height:20px;display:grid;place-items:center;color:var(--theme-text)}
  .ksc-search svg{width:19px;height:19px}
  .ksc-search input{
    width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--theme-text-2);font:inherit;font-size:13px
  }
  .ksc-search input::placeholder{color:var(--theme-muted)}
  .ksc-filter-tool{
    width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--ksc-line);border-radius:8px;background:var(--theme-surface-2);color:var(--theme-text-2);cursor:pointer
  }
  .ksc-filter-tool.active{border-color:var(--theme-border-strong);color:var(--ksc-green);background:var(--theme-accent-soft)}
  .ksc-filter-tool svg{width:19px;height:19px}

  .ksc-filter-row{
    padding:0 16px 12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--ksc-line-soft)
  }
  .ksc-filter-row button{
    min-height:34px;padding:0 13px;border:1px solid var(--ksc-line);border-radius:999px;background:var(--theme-surface-2);color:var(--theme-muted);
    font-size:12.5px;font-weight:700;cursor:pointer
  }
  .ksc-filter-row button span{margin-left:2px;color:var(--theme-muted)}
  .ksc-filter-row button.active{
    border-color:var(--theme-border-strong);background:var(--ksc-green);color:var(--theme-on-accent);font-weight:800
  }
  .ksc-filter-row button.active span{color:var(--theme-on-accent)}

  .ksc-alert-list{
    --ksc-alert-row-height:104px;
    display:flex;flex-direction:column;
    height:calc(var(--ksc-alert-row-height) * 5);
    max-height:min(calc(var(--ksc-alert-row-height) * 5),calc(100dvh - 338px));
    overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable
  }
  .ksc-alert-list::-webkit-scrollbar{width:8px}
  .ksc-alert-list::-webkit-scrollbar-track{background:var(--theme-input)}
  .ksc-alert-list::-webkit-scrollbar-thumb{background:var(--theme-accent-soft);border:2px solid var(--theme-input);border-radius:999px}
  .ksc-alert-row{
    position:relative;height:var(--ksc-alert-row-height);min-height:var(--ksc-alert-row-height);flex:0 0 var(--ksc-alert-row-height);padding:9px 15px 9px 17px;
    display:grid;grid-template-columns:245px 120px 136px minmax(285px,1fr);gap:15px;align-items:center;
    border-bottom:1px solid var(--ksc-line-soft);
    background:var(--theme-surface-2)
  }
  .ksc-alert-row:last-child{border-bottom:0}
  .ksc-alert-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--ksc-warning)}
  .ksc-alert-row.late:before{background:var(--ksc-danger)}
  .ksc-alert-row.promise:before{background:var(--ksc-blue)}
  .ksc-alert-row:hover{background:var(--theme-surface-3)}
  .ksc-client-cell{display:grid;grid-template-columns:46px minmax(0,1fr);gap:11px;align-items:center}
  .ksc-avatar{
    width:44px;height:44px;display:grid;place-items:center;
    border:1px solid rgba(157,199,235,.18);border-radius:50%;
    background:var(--theme-info-soft);color:var(--theme-text);
    font-size:11.5px;font-weight:780
  }
  .ksc-client-copy{min-width:0}
  .ksc-client-copy strong{
    display:block;color:var(--theme-text);font-size:13.5px;line-height:1.15;font-weight:760;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  .ksc-client-copy small{
    display:block;margin-top:4px;color:var(--theme-muted);font-size:12px;line-height:1.15;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  .ksc-row-chip{
    display:inline-flex;width:max-content;max-width:100%;margin-top:7px;padding:4px 8px;border-radius:999px;
    background:var(--theme-warning-soft);color:var(--theme-warning);font-size:12px;font-weight:820;white-space:nowrap
  }
  .ksc-alert-row.late .ksc-row-chip{background:var(--theme-danger-soft);color:var(--theme-danger)}
  .ksc-alert-row.promise .ksc-row-chip{background:var(--theme-info-soft);color:var(--theme-info)}
  .ksc-row-chip-sub{display:block;margin-top:5px;color:var(--theme-danger);font-size:12.5px;font-weight:780}
  .ksc-meta-cell{min-width:0}
  .ksc-meta-cell span,.ksc-meta-cell strong,.ksc-meta-cell small{display:block}
  .ksc-meta-cell span{color:var(--theme-muted);font-size:12px;font-weight:600}
  .ksc-meta-cell strong{margin-top:4px;color:var(--theme-text);font-size:12.6px;line-height:1.18;font-weight:720}
  .ksc-meta-cell small{margin-top:5px;color:var(--theme-muted);font-size:12.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ksc-follow-cell{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:center}
  .ksc-row-actions{position:relative;display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0}
  .ksc-row-actions button{
    min-height:34px;padding:0 11px;border-radius:7px;font-size:12px;font-weight:760;cursor:pointer
  }
  .ksc-row-actions .wa{border:1px solid var(--theme-border-strong);background:var(--theme-surface-2);color:var(--ksc-green)}
  .ksc-row-actions .pay{border:1px solid var(--ksc-line);background:var(--theme-surface);color:var(--theme-text-2)}
  .ksc-row-actions .detail{border:1px solid var(--ksc-line);background:var(--theme-surface);color:var(--theme-text-2)}
  .ksc-row-actions .more{width:33px;padding:0;border:0;background:transparent;color:var(--theme-text-2);font-size:18px}
  .ksc-row-actions svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}
  .ksc-row-more-menu{
    position:absolute;right:0;top:38px;z-index:30;width:148px;padding:5px;
    border:1px solid var(--ksc-line);border-radius:7px;background:var(--theme-surface-2);box-shadow:0 14px 36px rgba(0,0,0,.45)
  }
  .ksc-row-more-menu[hidden]{display:none!important}
  .ksc-row-more-menu button{
    width:100%;height:34px;padding:0 9px;border:0!important;border-radius:5px!important;
    background:transparent!important;color:var(--theme-text-2)!important;text-align:left;font-size:12px!important
  }
  .ksc-row-more-menu button:hover{background:var(--theme-accent-soft)!important;color:var(--ksc-green)!important}
  .ksc-empty{padding:28px 16px;color:var(--theme-muted);text-align:center;font-size:12px}

  .ksc-right-rail{min-width:0;max-height:calc(100dvh - 282px);display:flex;flex-direction:column;gap:14px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding-right:2px}
  #kscSmartSlot:empty{display:none}

  .smart-collection-card{
    position:relative;margin:0!important;padding:20px!important;min-height:276px;
    overflow:hidden;border:1px solid var(--theme-border-strong)!important;border-radius:9px!important;
    background:var(--theme-surface)!important;
    box-shadow:none!important
  }
  .smart-collection-head{
    display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;gap:11px!important;align-items:center!important
  }
  .smart-k-icon{
    width:30px!important;height:30px!important;display:grid!important;place-items:center!important;
    border:0!important;border-radius:0!important;background:transparent!important;color:var(--ksc-green)!important;font-size:0!important
  }
  .smart-k-icon:before{content:"✦";font-size:25px;line-height:1}
  .smart-collection-head>div:nth-child(2) span{display:none!important}
  .smart-collection-head strong{display:block!important;margin:0!important;color:var(--theme-text)!important;font-size:18px!important;font-weight:780!important}
  .smart-count{display:none!important}
  .smart-collection-card>p{
    width:70%;margin:13px 0 0!important;color:var(--theme-text-2)!important;font-size:12px!important;line-height:1.5!important
  }
  .smart-collection-card:after{
    content:"";position:absolute;right:24px;top:54px;width:78px;height:78px;border-radius:50%;
    border:1px solid var(--theme-border-strong);box-shadow:none
  }
  .smart-collection-card:before{
    content:"⌁";position:absolute;right:47px;top:69px;z-index:2;color:var(--ksc-green);font-size:42px;font-weight:900;transform:rotate(90deg)
  }
  .ksc-smart-stat{
    margin:20px 0 16px;padding-right:95px;display:flex;align-items:flex-end;gap:11px
  }
  .ksc-smart-stat b{color:var(--ksc-green);font-size:40px;line-height:1;font-weight:840}
  .ksc-smart-stat span{padding-bottom:2px;color:var(--theme-text-2);font-size:12px;font-weight:740}
  .ksc-smart-stat small{display:block;margin-top:3px;color:var(--theme-muted);font-size:12px;font-weight:540}
  .smart-primary-button{
    width:100%!important;min-height:50px!important;padding:0 15px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    border:1px solid var(--theme-border-strong)!important;border-radius:7px!important;
    background:var(--theme-accent)!important;color:var(--theme-on-accent)!important;font-size:12.3px!important;font-weight:840!important;cursor:pointer!important
  }
  .smart-primary-button b{font-size:0!important}
  .smart-primary-button b:before{content:"";display:inline-block;width:14px;height:14px}
  .smart-safety-note{
    display:block!important;margin-top:9px!important;padding:9px 10px!important;border:1px solid rgba(74,157,255,.26)!important;border-radius:7px!important;
    background:var(--theme-info-soft)!important;color:var(--theme-info)!important;font-size:12px!important;line-height:1.42!important
  }

  .ksc-history{
    overflow:hidden;border:1px solid var(--ksc-line);border-radius:9px;background:var(--theme-input)
  }
  .ksc-history>header{
    min-height:56px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--ksc-line-soft)
  }
  .ksc-history>header>div{display:flex;align-items:center;gap:9px}
  .ksc-history>header>div>span{width:18px;height:18px;display:grid;place-items:center}
  .ksc-history>header svg{width:16px;height:16px}
  .ksc-history h3{margin:0;color:var(--theme-text);font-size:13.5px;font-weight:780}
  .ksc-history>header button{border:0;background:transparent;color:var(--ksc-green);font-size:12px;font-weight:800;cursor:pointer}
  #kscHistoryList{padding:0 14px}
  .ksc-history-row{
    min-height:56px;padding:10px 0;display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:8px;align-items:center;
    border-bottom:1px solid var(--ksc-line-soft)
  }
  .ksc-history-row:last-child{border-bottom:0}
  .ksc-history-icon{width:22px;height:22px;display:grid;place-items:center;color:var(--ksc-green)}
  .ksc-history-icon svg{width:16px;height:16px}
  .ksc-history-main{min-width:0}
  .ksc-history-main strong{display:block;color:var(--theme-text-2);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ksc-history-main small{display:block;margin-top:3px;color:var(--theme-muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ksc-history-side{text-align:right}
  .ksc-history-side time{display:block;color:var(--theme-muted);font-size:12.5px}
  .ksc-history-status{display:inline-flex;margin-top:5px;padding:3px 6px;border-radius:999px;background:var(--theme-success-soft);color:var(--theme-success);font-size:12px;font-weight:820}
  .ksc-history-status.sent{background:var(--theme-info-soft);color:var(--theme-info)}
  .ksc-history-status.failed,.ksc-history-status.cancelled{background:var(--theme-danger-soft);color:var(--theme-danger)}
  .ksc-history-empty{padding:18px;color:var(--theme-muted);text-align:center;font-size:12px}

  .smart-collection-modal{
    position:fixed!important;z-index:3200!important;inset:0!important;display:none!important;align-items:center!important;justify-content:center!important;
    padding:24px!important;background:rgba(0,4,2,.76)!important;backdrop-filter:blur(9px)!important
  }
  .smart-collection-modal.open{display:flex!important}
  .smart-modal-card{
    width:min(520px,calc(100vw - 60px))!important;max-height:min(82dvh,760px)!important;overflow:auto!important;
    padding:18px!important;border:1px solid var(--theme-border)!important;border-radius:10px!important;
    background:var(--theme-surface)!important;
    box-shadow:0 32px 90px rgba(0,0,0,.62)!important
  }
  .smart-modal-head{
    display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;
    padding-bottom:12px!important;border-bottom:0!important
  }
  .smart-modal-head span{display:none!important}
  .smart-modal-head strong{
    display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;color:var(--theme-text)!important;font-size:16px!important;font-weight:760!important
  }
  .smart-modal-head strong:before{content:"◌";color:var(--ksc-green);font-size:19px}
  .smart-modal-head button{
    width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:7px!important;
    background:transparent!important;color:var(--theme-text-2)!important;font-size:22px!important;cursor:pointer!important
  }
  .smart-batch-summary,.smart-next-button{display:none!important}
  .ksc-modal-intro{margin:0 0 14px;color:var(--theme-muted);font-size:12px;line-height:1.45}
  .ksc-modal-pager{
    margin-bottom:12px;display:flex;align-items:center;justify-content:flex-end;gap:8px
  }
  .ksc-modal-pager span{margin-right:auto;color:var(--theme-text-2);font-size:12px}
  .ksc-modal-pager button{
    width:34px;height:32px;border:1px solid var(--ksc-line);border-radius:7px;background:var(--theme-surface);color:var(--theme-text-2);font-size:18px;cursor:pointer
  }
  .smart-message-list{display:block!important}
  .smart-message-row{
    display:none!important;padding:13px!important;border:1px solid var(--ksc-line)!important;border-radius:8px!important;background:var(--theme-surface)!important
  }
  .smart-message-row.ksc-current{display:block!important}
  .smart-message-row.opened{border-color:var(--theme-border-strong)!important;background:var(--theme-accent-soft)!important}
  .smart-message-row-head{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}
  .ksc-modal-avatar{
    width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--theme-info-soft);color:var(--theme-text);font-size:10px;font-weight:700
  }
  .smart-message-row-head>div{min-width:0}
  .smart-message-row-head strong{display:block;color:var(--theme-text);font-size:12px}
  .smart-message-row-head div span{display:block;margin-top:3px;color:var(--theme-muted);font-size:12px}
  .smart-situation{
    padding:4px 7px;border-radius:999px;background:var(--theme-warning-soft);color:var(--theme-warning);font-size:12px;font-weight:850;white-space:nowrap
  }
  .smart-situation.soft{background:var(--theme-warning-soft)!important;color:var(--theme-warning)!important}
  .smart-situation.medium{background:var(--theme-warning-soft)!important;color:var(--theme-warning)!important}
  .smart-situation.firm,.smart-situation.urgent{background:var(--theme-danger-soft)!important;color:var(--theme-danger)!important}
  .ksc-message-label{
    margin:12px -1px 6px;display:flex;align-items:center;justify-content:space-between;color:var(--theme-muted);font-size:12px
  }
  .ksc-copy-message{
    width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--theme-text-2);cursor:pointer
  }
  .ksc-copy-message svg{width:14px;height:14px}
  .smart-message-row>p{
    margin:0!important;min-height:128px;padding:11px!important;border:1px solid var(--ksc-line-soft)!important;border-radius:7px!important;
    background:var(--theme-input)!important;color:var(--theme-text-2)!important;font-size:12px!important;line-height:1.55!important;white-space:pre-wrap!important
  }
  .smart-message-row-foot{
    margin-top:12px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;align-items:center!important
  }
  .smart-message-row-foot>span{display:none!important}
  .smart-message-row-foot button{
    min-height:42px!important;border:1px solid var(--theme-border-strong)!important;border-radius:7px!important;
    background:var(--theme-accent)!important;color:var(--theme-on-accent)!important;font-size:12px!important;font-weight:820!important;cursor:pointer!important
  }
  .ksc-next-message{
    min-height:42px;border:1px solid var(--ksc-line);border-radius:7px;background:var(--theme-surface);color:var(--theme-text-2);font-size:12px;font-weight:740;cursor:pointer
  }
  .smart-modal-note{margin:9px 2px 0!important;color:var(--theme-muted)!important;font-size:12px!important;line-height:1.4!important;text-align:center!important}

  .toast{
    position:fixed!important;z-index:3400!important;left:auto!important;right:24px!important;bottom:24px!important;
    max-width:420px!important;padding:10px 14px!important;opacity:0!important;visibility:hidden!important;transform:translateY(8px)!important;
    border:1px solid var(--theme-border-strong)!important;border-radius:8px!important;background:var(--theme-surface-2)!important;color:var(--theme-text)!important;font-size:12px!important;
    transition:.18s ease!important
  }
  .toast.show{opacity:1!important;visibility:visible!important;transform:none!important}

  @media (max-width:1500px){

    .ksc-logo{height:70px}.ksc-logo img{width:148px}
    .ksc-menu-label{margin-top:12px}.ksc-nav a{height:45px;font-size:12px;gap:10px}

    .app{padding:18px 14px 18px!important}
    .ksc-header{min-height:80px;padding-bottom:12px}.ksc-title h1{font-size:30px}.ksc-title p{font-size:12px}
    .ksc-live-card{min-width:205px;height:54px}
    .ksc-kpis{gap:11px;margin-bottom:11px}.ksc-kpis article{min-height:104px;padding:13px;grid-template-columns:54px minmax(0,1fr) 12px;gap:12px}
    .ksc-kpi-icon{width:52px;height:52px}.ksc-kpi-icon svg{width:27px;height:27px}
    .ksc-kpis small{font-size:12px}.ksc-kpis strong{font-size:17px}.ksc-kpis em{font-size:15px}
    .ksc-workspace{grid-template-columns:minmax(0,1fr) 360px;gap:11px}
    .ksc-panel-head{min-height:68px;padding:11px 13px 9px}.ksc-search{width:250px}
    .ksc-filter-row{padding:0 13px 10px}
    .ksc-alert-list{--ksc-alert-row-height:100px}
    .ksc-alert-row{height:var(--ksc-alert-row-height);min-height:var(--ksc-alert-row-height);padding:8px 12px 8px 15px;grid-template-columns:220px 110px 124px minmax(250px,1fr);gap:11px}
    .ksc-client-cell{grid-template-columns:40px minmax(0,1fr);gap:9px}.ksc-avatar{width:39px;height:39px;font-size:10.5px}
    .ksc-client-copy strong{font-size:12.5px}.ksc-client-copy small{font-size:12px}
    .ksc-row-chip{font-size:12px}.ksc-row-chip-sub{font-size:12px}
    .ksc-meta-cell span{font-size:12px}.ksc-meta-cell strong{font-size:12px}.ksc-meta-cell small{font-size:12px}
    .ksc-row-actions{gap:5px}.ksc-row-actions button{min-height:32px;font-size:12px;padding:0 9px}
    .smart-collection-card{min-height:262px;padding:17px!important}.smart-collection-card>p{font-size:12px!important}
    .ksc-smart-stat b{font-size:36px}.ksc-smart-stat span{font-size:12px}.ksc-smart-stat small{font-size:12px}
    .smart-primary-button{font-size:12px!important}
    .ksc-history-row{min-height:52px}.ksc-history-main strong{font-size:12px}.ksc-history-main small{font-size:12px}
  }

  @media (max-width:1180px){
    .ksc-live-card{min-width:190px;height:52px}
    .ksc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ksc-workspace{grid-template-columns:1fr}
    .ksc-right-rail{display:grid;grid-template-columns:1fr 1fr}
    .ksc-alert-row{grid-template-columns:225px 115px 130px minmax(260px,1fr)}
  }

  @media (max-height:800px){
    .app{padding-top:14px!important;padding-bottom:14px!important}
    .ksc-header{min-height:70px;padding-bottom:10px}
    .ksc-title h1{font-size:28px}.ksc-title p{margin-top:6px}
    .ksc-kpis article{min-height:90px}
    .ksc-alert-row{min-height:88px;padding-top:8px;padding-bottom:8px}
  }
}

@media (max-width:1024px){
  .ksc-pc-only{display:none!important}
}
@media (min-width:1025px) and (max-height:940px){
  body.kovra-smart-collections-page .app{padding:14px 18px 12px!important}
  .ksc-header{min-height:68px;padding:1px 0 9px}
  .ksc-title h1{font-size:30px}
  .ksc-title p{margin-top:6px}
  .ksc-kpis{gap:9px;margin-bottom:9px}
  .ksc-kpis article{min-height:92px;padding:11px 13px;grid-template-columns:48px minmax(0,1fr) 14px;gap:11px}
  .ksc-kpi-icon{width:46px;height:46px;border-radius:11px}
  .ksc-kpi-icon svg{width:25px;height:25px}
  .ksc-kpis strong{font-size:18px}
  .ksc-kpis em{margin-top:5px;font-size:15px}
  .ksc-workspace{gap:9px}
  .ksc-right-rail{gap:9px;max-height:calc(100dvh - 230px)}
  .ksc-panel-head{min-height:62px;padding:10px 13px 8px}
  .ksc-filter-row{padding:0 13px 9px}
  .ksc-alert-list{--ksc-alert-row-height:88px;max-height:calc(100dvh - 285px)}
  .ksc-alert-row{padding-top:7px;padding-bottom:7px}
  .smart-collection-card{min-height:220px;padding:15px!important}
  .ksc-smart-stat{margin:12px 0 11px}
  .ksc-smart-stat b{font-size:34px}
  .smart-primary-button{min-height:42px!important}
  .smart-safety-note{margin-top:6px!important;padding:7px 9px!important}
  .ksc-history>header{min-height:48px}
  .ksc-history-row{min-height:48px;padding:7px 0}
}
