/**
 * Файл: main.css
 * Path: /wp-content/themes/sakhagateway/assets/css/main.css
 * Date: 2026-08-26
 * Generated from: /assets/less/main.less
 * Source of truth: LESS. Do not edit this file manually.
 */

/**
 * Approved SakhaGateway SPA v0.11 core UI.
 */

:root{
      --bg:#f3f6f9;
      --bg2:#eef3f7;
      --panel:#ffffff;
      --panel2:#f8fbfd;
      --panel3:#eef4f8;
      --line:#d7e1e8;
      --line2:#c2d0da;
      --text:#23313d;
      --muted:#5f7281;
      --muted2:#7d8f9d;
      --accent:#5f87c6;
      --accent2:#4f76b4;
      --accentSoft:rgba(95,135,198,.12);
      --danger:#cc6d77;
      --dangerSoft:rgba(204,109,119,.10);
      --warning:#c79a46;
      --warningSoft:rgba(199,154,70,.12);
      --info:#5d8fc8;
      --infoSoft:rgba(93,143,200,.12);
      --shadow:0 14px 38px rgba(24,43,64,.10);
      --radius:18px;
      --radiusSm:12px;
    }

    *{box-sizing:border-box}
    html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px}
    body{overflow-x:hidden}
    button,input,select,textarea{font:inherit}
    button{cursor:pointer}
    a{color:inherit;text-decoration:none}

    .app{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}
    .sidebar{
      position:sticky;top:0;height:100vh;padding:20px 16px;border-right:1px solid var(--line);
      background:linear-gradient(180deg,#f7fafc 0%,#eef3f7 100%);display:flex;flex-direction:column;z-index:20
    }
    .brand{display:flex;align-items:center;gap:12px;padding:4px 10px 20px}
    .brand-mark{
      width:42px;height:42px;border:1px solid rgba(102,230,189,.34);border-radius:13px;
      display:grid;place-items:center;background:linear-gradient(145deg,rgba(95,135,198,.18),rgba(95,135,198,.04));
      box-shadow:inset 0 0 18px rgba(95,135,198,.08)
    }
    .brand-mark svg{width:25px;height:25px}
    .brand strong{display:block;letter-spacing:-.025em;font-size:16px}
    .brand small{display:block;color:var(--muted2);font-size:14px;margin-top:2px;letter-spacing:.06em;text-transform:uppercase}

    .side-section{font-size:14px;color:#617788;text-transform:uppercase;letter-spacing:.13em;padding:15px 12px 8px}
    .nav{display:grid;gap:4px}
    .nav-btn{
      display:flex;align-items:center;gap:11px;width:100%;height:43px;border:0;border-radius:12px;
      padding:0 12px;background:transparent;color:#a8bac7;text-align:left;transition:.18s
    }
    .nav-btn:hover{background:#edf3f8;color:var(--text)}
    .nav-btn.active{background:var(--accentSoft);color:var(--accent)}
    .nav-icon{width:19px;height:19px;display:grid;place-items:center;opacity:.94}
    .nav-icon svg{width:18px;height:18px}
    .nav-count{margin-left:auto;background:#eef3f7;border:1px solid #d4dee6;color:#708391;min-width:24px;height:20px;padding:0 7px;border-radius:10px;font-size:14px;display:grid;place-items:center}
    .nav-btn.active .nav-count{border-color:rgba(102,230,189,.28);background:rgba(102,230,189,.09);color:var(--accent)}

    .side-bottom{margin-top:auto;padding-top:16px}
    .server-mini{
      background:#f8fbfd;border:1px solid var(--line);border-radius:14px;padding:13px;margin:0 6px 13px
    }
    .server-mini-top{display:flex;align-items:center;gap:8px;font-size:14px;color:#c7d3da}
    .status-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(102,230,189,.08)}
    .server-mini small{display:block;color:var(--muted2);font-size:14px;margin-top:8px;line-height:1.55}

    .profile{
      display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:16px 8px 2px
    }
    .avatar{width:36px;height:36px;border-radius:12px;background:#eef4f8;border:1px solid #d5e0e8;display:grid;place-items:center;color:var(--accent);font-weight:700;font-size:14px}
    .profile-name{min-width:0}
    .profile-name strong{display:block;font-size:14px}
    .profile-name span{font-size:14px;color:var(--muted2)}
    .profile .icon-btn{margin-left:auto}

    .main{min-width:0;background:
      radial-gradient(circle at 88% -10%, rgba(95,135,198,.05), transparent 28%),
      radial-gradient(circle at 35% 0%, rgba(93,143,200,.04), transparent 22%),
      var(--bg)}
    .topbar{
      height:74px;position:sticky;top:0;z-index:15;border-bottom:1px solid rgba(36,53,67,.86);
      backdrop-filter:blur(14px);background:rgba(243,246,249,.88);display:flex;align-items:center;gap:14px;padding:0 28px
    }
    .mobile-menu{display:none}
    .crumb{font-size:14px;color:var(--muted);white-space:nowrap}
    .crumb strong{color:var(--text);font-weight:600}
    .top-spacer{flex:1}
    .search{
      height:38px;width:min(320px,28vw);display:flex;align-items:center;gap:9px;border:1px solid var(--line);
      background:#ffffff;border-radius:11px;padding:0 12px;color:var(--muted2)
    }
    .search input{width:100%;background:transparent;border:0;outline:0;color:var(--text);font-size:14px}
    .mode-switch{
      display:flex;border:1px solid var(--line);border-radius:11px;padding:3px;background:#f9fbfd
    }
    .mode-switch button{height:30px;border:0;border-radius:8px;padding:0 12px;background:transparent;color:var(--muted);font-size:14px}
    .mode-switch button.active{background:#e9eff5;color:var(--accent)}

    .icon-btn{
      width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:#f7fafc;color:#a9bbc7;display:grid;place-items:center
    }
    .icon-btn:hover{border-color:var(--line2);color:#fff}

    .content{padding:28px;max-width:1600px;margin:0 auto}
    .view{display:none;animation:fade .2s ease}
    .view.active{display:block}
    @keyframes fade{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}

    .page-head{display:flex;align-items:flex-start;gap:20px;margin-bottom:24px}
    .page-head h1{font-size:28px;line-height:1.1;letter-spacing:-.04em;margin:0}
    .page-head p{color:var(--muted);font-size:14px;margin:8px 0 0;line-height:1.6}
    .page-actions{margin-left:auto;display:flex;gap:9px}

    .btn{
      height:40px;border-radius:11px;border:1px solid var(--line2);background:#f8fbfd;color:var(--text);
      padding:0 15px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px
    }
    .btn:hover{background:#edf3f8;border-color:#385165}
    .btn.primary{background:var(--accent);border-color:var(--accent);color:#062017}
    .btn.primary:hover{background:#77ebc6}
    .btn.danger{border-color:rgba(255,111,125,.26);background:var(--dangerSoft);color:#ff9ca5}
    .btn.ghost{background:transparent}
    .btn.small{height:32px;border-radius:9px;padding:0 11px;font-size:14px}

    .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
    .stat{
      background:linear-gradient(145deg,#ffffff,#f8fbfd);border:1px solid var(--line);border-radius:var(--radius);
      padding:18px;min-height:132px;position:relative;overflow:hidden
    }
    .stat:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-55px;top:-55px;background:rgba(102,230,189,.025)}
    .stat-top{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px}
    .stat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#19262f;border:1px solid #273b48;color:var(--accent)}
    .stat-icon svg{width:15px;height:15px}
    .stat-value{font-size:35px;font-weight:700;letter-spacing:-.045em;margin-top:15px}
    .stat-foot{display:flex;align-items:center;gap:8px;margin-top:7px;color:var(--muted2);font-size:14px}
    .trend{color:var(--accent)}
    .trend.warn{color:var(--warning)}

    .grid-2{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(320px,.8fr);gap:16px}
    .grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
    .card{background:#ffffff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
    .card-head{min-height:58px;display:flex;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid var(--line)}
    .card-head h2,.card-head h3{font-size:14px;margin:0;font-weight:650;letter-spacing:-.01em}
    .card-head p{font-size:14px;color:var(--muted2);margin:3px 0 0}
    .card-head .right{margin-left:auto}
    .card-body{padding:18px}

    .table-wrap{overflow:auto}
    table{width:100%;border-collapse:collapse;min-width:740px}
    th{text-align:left;color:#688091;font-size:10px;text-transform:uppercase;letter-spacing:.11em;font-weight:650;padding:12px 14px;border-bottom:1px solid var(--line);background:#f7fafc}
    td{padding:13px 14px;border-bottom:1px solid rgba(36,53,67,.72);font-size:14px;color:#c9d5dc;vertical-align:middle}
    tbody tr{transition:.15s}
    tbody tr:hover{background:#141f27}
    tbody tr:last-child td{border-bottom:0}
    .user-cell{display:flex;align-items:center;gap:10px}
    .mini-avatar{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;border:1px solid #2a3e4b;background:#17242d;color:#7ca0d2;font-size:14px;font-weight:700}
    .user-cell strong{display:block;font-size:14px;color:var(--text)}
    .user-cell span{display:block;color:var(--muted2);font-size:10px;margin-top:2px}
    .badge{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 8px;border-radius:8px;border:1px solid #2a3d4b;background:#f5f8fb;color:#667c8c;font-size:10px;font-weight:650;letter-spacing:.025em;white-space:nowrap}
    .badge.green{border-color:rgba(102,230,189,.22);background:var(--accentSoft);color:var(--accent)}
    .badge.blue{border-color:rgba(113,183,255,.22);background:var(--infoSoft);color:#8bc5ff}
    .badge.yellow{border-color:rgba(255,203,102,.22);background:var(--warningSoft);color:#ffd783}
    .badge.red{border-color:rgba(255,111,125,.22);background:var(--dangerSoft);color:#ff9da7}
    .badge.gray{color:#8499a8}
    .row-action{border:0;background:transparent;color:#6f8796;font-size:16px;padding:4px 8px;border-radius:8px}
    .row-action:hover{background:#1a2832;color:#fff}

    .activity{display:grid;gap:0}
    .activity-item{display:grid;grid-template-columns:36px 1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid rgba(36,53,67,.65)}
    .activity-item:last-child{border-bottom:0}
    .activity-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#eef4f8;border:1px solid #d5e0e8;color:var(--accent);font-size:14px}
    .activity-item strong{display:block;font-size:14px;color:var(--text)}
    .activity-item p{font-size:10px;color:var(--muted2);margin:4px 0 0;line-height:1.45}
    .activity-time{font-size:10px;color:#617887;padding-top:3px}

    .filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
    .seg{display:flex;border:1px solid var(--line);padding:3px;background:#f9fbfd;border-radius:11px}
    .seg button{height:30px;padding:0 11px;border:0;background:transparent;color:var(--muted);border-radius:8px;font-size:14px}
    .seg button.active{background:#e8eef5;color:var(--text)}
    .filter-select{height:37px;border:1px solid var(--line);border-radius:10px;background:#f7fafc;color:#a9bbc6;padding:0 11px;outline:none;font-size:14px}

    .empty-placeholder{padding:50px 20px;text-align:center;color:var(--muted2);font-size:14px}

    .detail-shell{display:none}
    .detail-shell.active{display:block}
    .detail-top{
      background:linear-gradient(145deg,#141f27,#10181f);border:1px solid var(--line);border-radius:18px;padding:20px;
      display:flex;align-items:center;gap:16px;margin-bottom:14px
    }
    .detail-avatar{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--accentSoft);border:1px solid rgba(102,230,189,.22);color:var(--accent);font-size:16px;font-weight:800}
    .detail-meta h2{font-size:18px;margin:0;letter-spacing:-.025em}
    .detail-meta p{font-size:14px;color:var(--muted);margin:5px 0 0}
    .detail-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
    .detail-actions{margin-left:auto;display:flex;gap:8px}
    .tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px;overflow:auto}
    .tab-btn{height:43px;padding:0 13px;border:0;background:transparent;color:var(--muted);font-size:14px;border-bottom:2px solid transparent;white-space:nowrap}
    .tab-btn.active{color:var(--accent);border-bottom-color:var(--accent)}
    .tab-panel{display:none}
    .tab-panel.active{display:block}

    .kv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .kv{background:#f7fafc;border:1px solid var(--line);border-radius:12px;padding:13px}
    .kv span{display:block;color:var(--muted2);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
    .kv strong{display:block;color:var(--text);font-size:14px;margin-top:6px;font-weight:600}

    .vps-hero{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:18px;background:#f7fafc;border:1px solid var(--line);border-radius:14px}
    .vps-status{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:14px}
    .vps-hero h3{font-size:17px;margin:9px 0 4px}
    .vps-hero p{font-size:14px;color:var(--muted);margin:0}
    .server-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}
    .spec{background:#f9fbfd;border:1px solid var(--line);border-radius:11px;padding:11px;text-align:center}
    .spec strong{display:block;font-size:14px}
    .spec span{display:block;font-size:9px;color:var(--muted2);margin-top:4px;text-transform:uppercase;letter-spacing:.08em}

    .device-list{display:grid;gap:9px}
    .device{
      display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;background:#f7fafc;border:1px solid var(--line);border-radius:13px;padding:12px
    }
    .device-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eef4f8;color:var(--accent);border:1px solid #d5e0e8}
    .device-icon svg{width:18px;height:18px}
    .device strong{display:block;font-size:14px}
    .device span{display:block;color:var(--muted2);font-size:10px;margin-top:3px}
    .device-actions{display:flex;gap:7px}

    .policy-box{border:1px solid var(--line);border-radius:14px;background:#f7fafc;padding:16px}
    .policy-title{display:flex;align-items:center;gap:9px;margin-bottom:15px}
    .policy-title strong{font-size:14px}
    .policy-title span{font-size:10px;color:var(--muted2)}
    .radio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
    .radio-card{position:relative;border:1px solid var(--line);border-radius:12px;padding:13px;cursor:pointer;background:#ffffff}
    .radio-card input{position:absolute;opacity:0;pointer-events:none}
    .radio-card.selected{border-color:rgba(102,230,189,.48);background:var(--accentSoft)}
    .radio-card strong{display:block;font-size:14px}
    .radio-card span{display:block;font-size:9px;color:var(--muted2);margin-top:5px;line-height:1.45}
    .radio-card.selected strong{color:var(--accent)}
    .warning-box{display:flex;gap:10px;background:var(--warningSoft);border:1px solid rgba(255,203,102,.22);color:#e9d094;border-radius:12px;padding:12px;margin-top:12px;font-size:10px;line-height:1.55}
    .danger-box{display:flex;gap:10px;background:var(--dangerSoft);border:1px solid rgba(255,111,125,.22);color:#f5adb5;border-radius:12px;padding:12px;margin-top:12px;font-size:10px;line-height:1.55}

    .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .field{display:grid;gap:6px}
    .field.full{grid-column:1/-1}
    .field label{font-size:10px;color:#8195a3;text-transform:uppercase;letter-spacing:.08em}
    .field input,.field select,.field textarea{
      width:100%;border:1px solid var(--line);background:#f9fbfd;color:var(--text);border-radius:10px;outline:none;padding:0 11px;font-size:14px
    }
    .field input,.field select{height:40px}
    .field textarea{min-height:82px;padding-top:10px;resize:vertical}
    .field input:focus,.field select:focus,.field textarea:focus{border-color:#3d5b6c}
    .helper{font-size:9px;color:var(--muted2);line-height:1.5}

    .finance-balance{font-size:35px;font-weight:800;letter-spacing:-.045em}
    .finance-label{font-size:10px;color:var(--muted2);text-transform:uppercase;letter-spacing:.09em;margin-bottom:5px}
    .progress{height:7px;border-radius:20px;background:#e9eff5;overflow:hidden}
    .progress > span{display:block;height:100%;background:linear-gradient(90deg,var(--accent2),var(--accent));border-radius:20px}
    .money-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid rgba(36,53,67,.65);font-size:14px}
    .money-row:last-child{border-bottom:0}
    .money-row span{color:var(--muted)}
    .money-row strong{font-size:14px}

    .services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .service-card{border:1px solid var(--line);background:#ffffff;border-radius:14px;padding:14px}
    .service-top{display:flex;align-items:center;gap:10px}
    .service-logo{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#192731;border:1px solid #2b414f;font-weight:800;font-size:14px;color:var(--accent)}
    .service-card strong{font-size:14px}
    .service-card p{font-size:10px;color:var(--muted2);line-height:1.5;margin:10px 0}
    .service-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}

    .toggle{position:relative;width:38px;height:21px;display:inline-block}
    .toggle input{opacity:0;width:0;height:0}
    .slider{position:absolute;inset:0;background:#ccd8e2;border-radius:20px;transition:.18s}
    .slider:before{content:"";position:absolute;width:15px;height:15px;left:3px;top:3px;border-radius:50%;background:#7b8d9b;transition:.18s}
    .toggle input:checked + .slider{background:rgba(102,230,189,.28)}
    .toggle input:checked + .slider:before{transform:translateX(17px);background:var(--accent)}

    .client-shell{max-width:1060px;margin:0 auto}
    .client-hero{
      display:grid;grid-template-columns:1.25fr .75fr;gap:15px;margin-bottom:15px
    }
    .client-status{
      border:1px solid rgba(102,230,189,.22);background:linear-gradient(145deg,rgba(102,230,189,.1),rgba(102,230,189,.025));
      border-radius:20px;padding:24px;min-height:190px;position:relative;overflow:hidden
    }
    .client-status:after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(102,230,189,.05);border-radius:50%;right:-90px;top:-100px}
    .client-status .eyebrow{font-size:10px;color:var(--accent);text-transform:uppercase;letter-spacing:.13em}
    .client-status h2{font-size:28px;letter-spacing:-.045em;margin:23px 0 8px}
    .client-status p{font-size:14px;color:#96acb9;line-height:1.6;max-width:480px}
    .client-balance{border:1px solid var(--line);background:#ffffff;border-radius:20px;padding:22px;display:flex;flex-direction:column}
    .client-balance .amount{font-size:35px;font-weight:800;letter-spacing:-.04em;margin-top:17px}
    .client-balance p{font-size:10px;color:var(--muted2);margin:7px 0 18px}
    .client-balance .btn{margin-top:auto}

    .routing-mode{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
    .route-option{border:1px solid var(--line);border-radius:14px;background:#f7fafc;padding:14px;cursor:pointer}
    .route-option.active{border-color:rgba(102,230,189,.38);background:var(--accentSoft)}
    .route-option strong{font-size:14px;display:block}
    .route-option span{font-size:9px;color:var(--muted2);display:block;margin-top:5px;line-height:1.45}
    .route-option.active strong{color:var(--accent)}
    .route-settings{margin-top:13px;border-top:1px solid var(--line);padding-top:13px}
    .route-panel{display:none}
    .route-panel.active{display:block}
    .check-list{display:grid;gap:8px}
    .check-row{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;background:#f9fbfd;padding:10px 12px}
    .check-row input{accent-color:var(--accent)}
    .check-row strong{font-size:14px}
    .check-row span{font-size:9px;color:var(--muted2);display:block;margin-top:3px}
    .check-row .right{margin-left:auto}

    .modal-backdrop{
      display:none;position:fixed;inset:0;background:rgba(1,4,7,.72);backdrop-filter:blur(7px);z-index:100;
      align-items:center;justify-content:center;padding:24px
    }
    .modal-backdrop.open{display:flex}
    .modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:#ffffff;border:1px solid #2a3d4b;border-radius:20px;box-shadow:var(--shadow)}
    .modal-head{display:flex;align-items:flex-start;gap:12px;padding:19px 20px;border-bottom:1px solid var(--line)}
    .modal-head h3{font-size:15px;margin:0}
    .modal-head p{font-size:10px;color:var(--muted);margin:5px 0 0;line-height:1.5}
    .modal-head .icon-btn{margin-left:auto}
    .modal-body{padding:20px}
    .modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:15px 20px;border-top:1px solid var(--line);background:#f9fbfd}

    .toast-stack{position:fixed;right:22px;bottom:22px;z-index:200;display:grid;gap:8px}
    .toast{min-width:280px;max-width:380px;background:#ffffff;border:1px solid #d5e1e8;border-radius:13px;box-shadow:var(--shadow);padding:12px 13px;display:flex;gap:10px;align-items:flex-start;animation:toastIn .25s ease}
    .toast.good{border-color:rgba(102,230,189,.28)}
    .toast.bad{border-color:rgba(255,111,125,.28)}
    .toast-icon{width:25px;height:25px;border-radius:8px;background:var(--accentSoft);color:var(--accent);display:grid;place-items:center;flex:none;font-size:14px}
    .toast.bad .toast-icon{background:var(--dangerSoft);color:var(--danger)}
    .toast strong{display:block;font-size:14px}
    .toast span{display:block;color:var(--muted);font-size:10px;margin-top:3px;line-height:1.4}
    @keyframes toastIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

    .prototype-note{font-size:10px;color:var(--muted2);border:1px dashed #304653;border-radius:11px;padding:10px 12px;margin-bottom:16px;background:rgba(18,27,35,.45)}
    .client-preview-banner{display:none;align-items:center;gap:10px;background:var(--infoSoft);border:1px solid rgba(113,183,255,.22);color:#9acbff;border-radius:12px;padding:10px 12px;margin-bottom:16px;font-size:10px}
    .client-preview-banner.show{display:flex}

    @media (max-width:1180px){
      .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
      .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .grid-2{grid-template-columns:1fr}
      .search{display:none}
    }
    @media (max-width:840px){
      .app{grid-template-columns:1fr}
      .sidebar{position:fixed;left:-290px;width:270px;transition:.2s;box-shadow:var(--shadow)}
      .sidebar.open{left:0}
      .mobile-menu{display:grid}
      .topbar{padding:0 16px}
      .content{padding:18px 14px}
      .mode-switch{display:none}
      .page-head{flex-wrap:wrap}
      .page-actions{margin-left:0;width:100%}
      .page-actions .btn{flex:1}
      .stats{grid-template-columns:1fr 1fr}
      .grid-3{grid-template-columns:1fr}
      .services-grid{grid-template-columns:1fr}
      .form-grid{grid-template-columns:1fr}
      .field.full{grid-column:auto}
      .radio-grid,.routing-mode{grid-template-columns:1fr}
      .client-hero{grid-template-columns:1fr}
      .server-specs{grid-template-columns:1fr 1fr}
      .detail-top{align-items:flex-start;flex-wrap:wrap}
      .detail-actions{margin-left:0;width:100%}
      .kv-grid{grid-template-columns:1fr}
    }
    @media (max-width:520px){
      .stats{grid-template-columns:1fr}
      .topbar{height:64px}
      .crumb{max-width:145px;overflow:hidden;text-overflow:ellipsis}
      .page-head h1{font-size:23px}
      .vps-hero{grid-template-columns:1fr}
      .device{grid-template-columns:38px 1fr}
      .device-actions{grid-column:1/-1}
      .server-specs{grid-template-columns:1fr 1fr}
    }

/**
 * Approved refinement: v03-polish
 */

/* SakhaGateway v0.3 — спокойная светлая рабочая тема */
    :root{
      --bg:#f4f7fa;
      --bg2:#edf2f6;
      --panel:#ffffff;
      --panel2:#f7f9fc;
      --panel3:#edf3f8;
      --line:#d5dfe7;
      --line2:#bdcad5;
      --text:#243444;
      --muted:#607487;
      --muted2:#7a8d9d;

      --accent:#4373b8;
      --accent2:#355f9a;
      --accentSoft:rgba(67,115,184,.11);

      --danger:#c65f6b;
      --dangerSoft:rgba(198,95,107,.10);
      --warning:#b9852f;
      --warningSoft:rgba(185,133,47,.11);
      --info:#4c83c3;
      --infoSoft:rgba(76,131,195,.10);

      --shadow:0 12px 34px rgba(36,52,68,.09);
    }

    html,body{
      font-size:14px;
      color:var(--text);
      background:var(--bg);
    }

    .main{
      background:
        radial-gradient(circle at 88% -10%, rgba(67,115,184,.045), transparent 27%),
        radial-gradient(circle at 36% 0%, rgba(90,132,180,.03), transparent 22%),
        var(--bg);
    }

    .sidebar{
      background:linear-gradient(180deg,#f8fafc 0%,#f1f5f8 100%);
      border-right-color:#cfdbe4;
    }

    .brand strong{font-size:15px;color:#1f3040}
    .brand small{font-size:10px;color:#718596}

    .side-section{
      font-size:10px;
      color:#587493;
      font-weight:700;
      letter-spacing:.14em;
    }

    .nav-btn{
      font-size:13px;
      color:#49647d;
      font-weight:500;
    }
    .nav-btn:hover{
      background:#e9f0f7;
      color:#2e5e9e;
    }
    .nav-btn.active{
      background:#e3ecf8;
      color:#3f70b4;
      font-weight:600;
    }
    .nav-count{
      font-size:11px;
      color:#516b82;
      background:#f7fafc;
      border-color:#ccd9e3;
    }
    .nav-btn.active .nav-count{
      color:#3f70b4;
      border-color:#b9cee7;
      background:#f3f7fc;
    }

    .server-mini{
      background:#f8fafc;
      border-color:#ccd9e3;
    }
    .server-mini-top{
      font-size:12px;
      color:#354a5e;
    }
    .server-mini small{
      font-size:11px;
      color:#667d8f;
    }

    .profile-name strong{font-size:12px;color:#253848}
    .profile-name span{font-size:10px;color:#718596}
    .avatar{
      font-size:11px;
      color:#3f70b4;
      background:#eef4fb;
      border-color:#ccd9e7;
    }

    .topbar{
      background:rgba(244,247,250,.91);
      border-bottom-color:#d1dce5;
    }
    .crumb{font-size:12px}
    .search input{font-size:12px}
    .mode-switch button{font-size:11px}

    .prototype-note{
      font-size:11px;
      color:#64798a;
      border-color:#bdcbd7;
      background:#f8fafc;
    }

    .page-head h1{font-size:26px}
    .page-head p{font-size:12px;color:#64798a}

    .btn{
      font-size:12px;
      color:#31475a;
      background:#f9fbfd;
      border-color:#c7d3dd;
    }
    .btn:hover{
      background:#edf3f8;
      border-color:#9fb4c6;
    }
    .btn.primary{
      background:#4373b8;
      border-color:#4373b8;
      color:#fff;
    }
    .btn.primary:hover{
      background:#3867a6;
      border-color:#3867a6;
    }
    .btn.small{font-size:11px}

    .stat{
      background:linear-gradient(145deg,#ffffff,#f8fafc);
      border-color:#d1dce5;
    }
    .stat-top{
      font-size:12px;
      color:#526a7e;
    }
    .stat-icon{
      background:#1e3544;
      border-color:#2e4a5d;
      color:#78a9ed;
    }
    .stat-value{
      font-size:30px;
      color:#172c3c;
    }
    .stat-foot{
      font-size:11px;
      color:#637a8c;
    }

    .card{
      background:#fff;
      border-color:#d1dce5;
    }
    .card-head h2,.card-head h3{
      font-size:13px;
      color:#223445;
    }
    .card-head p{
      font-size:11px;
      color:#6b8092;
    }

    th{
      font-size:10px;
      color:#546d82;
      background:#f7f9fb;
    }
    td{
      font-size:12px;
      color:#34495b;
      border-bottom-color:#d8e2e9;
    }
    tbody tr:hover{
      background:#eef4fa;
    }

    .mini-avatar{
      background:#203847;
      border-color:#2d4a5c;
      color:#8fb9f2;
      font-size:11px;
    }
    .user-cell strong{
      font-size:12px;
      color:#1f3344;
    }
    .user-cell span{
      font-size:9px;
      color:#778b9b;
    }

    .badge{
      height:23px;
      font-size:9px;
      background:#f5f8fb;
      border-color:#ccd9e3;
      color:#506a7f;
    }
    .badge.green{
      color:#397d68;
      background:rgba(65,143,118,.09);
      border-color:rgba(65,143,118,.20);
    }
    .badge.blue{
      color:#3f70b4;
      background:rgba(67,115,184,.09);
      border-color:rgba(67,115,184,.18);
    }
    .badge.yellow{
      color:#9a6b1c;
      background:rgba(185,133,47,.10);
      border-color:rgba(185,133,47,.20);
    }
    .badge.red{
      color:#a94e59;
      background:rgba(198,95,107,.09);
      border-color:rgba(198,95,107,.20);
    }

    .activity-icon{
      background:#eef4fa;
      border-color:#cfdae4;
      color:#4373b8;
      font-size:11px;
    }
    .activity-item strong{
      font-size:12px;
      color:#223445;
    }
    .activity-item p{
      font-size:10px;
      color:#718596;
    }
    .activity-time{
      font-size:9px;
      color:#698094;
    }

    .seg button,
    .filter-select{
      font-size:11px;
    }
    .seg button.active{
      background:#e4edf7;
      color:#355f9a;
    }

    .detail-meta h2{font-size:18px}
    .detail-meta p{font-size:11px}
    .tab-btn{font-size:11px}

    .kv span{font-size:9px}
    .kv strong{font-size:12px}
    .vps-status{font-size:11px}
    .vps-hero p{font-size:11px}
    .spec strong{font-size:12px}
    .spec span{font-size:9px}

    .device strong{font-size:12px}
    .device span{font-size:10px}

    .policy-title strong{font-size:12px}
    .policy-title span{font-size:9px}
    .radio-card strong{font-size:11px}
    .radio-card span{font-size:9px}
    .warning-box,.danger-box{font-size:10px}

    .field label{font-size:9px}
    .field input,.field select,.field textarea{font-size:12px}
    .helper{font-size:9px}

    .finance-balance{font-size:30px}
    .finance-label{font-size:9px}
    .money-row{font-size:11px}
    .money-row strong{font-size:11px}

    .service-logo{
      background:#eef4fa;
      border-color:#d2dde6;
      color:#3f70b4;
      font-size:11px;
    }
    .service-card strong{font-size:12px}
    .service-card p{font-size:10px}

    .client-status h2{font-size:26px}
    .client-status p{font-size:11px;color:#657b8d}
    .client-status .eyebrow{font-size:9px}
    .client-balance .amount{font-size:30px}
    .client-balance p{font-size:10px}

    .route-option strong{font-size:11px}
    .route-option span{font-size:9px}
    .check-row strong{font-size:11px}
    .check-row span{font-size:9px}

    .modal-head h3{font-size:14px}
    .modal-head p{font-size:10px}
    .toast strong{font-size:11px}
    .toast span{font-size:9px}

    .icon-btn{
      background:#f8fafc;
      color:#587087;
      border-color:#cfdbe4;
    }
    .icon-btn:hover{
      color:#315f9e;
      background:#edf3f9;
      border-color:#b8c9d7;
    }

    .row-action:hover{
      background:#e7eff7;
      color:#315f9e;
    }

    .status-dot{
      background:#4f8fc1;
      box-shadow:0 0 0 4px rgba(79,143,193,.09);
    }

/**
 * Approved refinement: v04-icon-polish
 */

/* SakhaGateway v0.4 — светлые подложки иконок */
    .brand-mark{
      background:linear-gradient(145deg,#eef4fb,#f8fbfe);
      border-color:#cfdbe7;
      box-shadow:inset 0 0 14px rgba(67,115,184,.05);
      color:#4877ba;
    }

    .stat-icon{
      background:linear-gradient(145deg,#edf4fb,#f8fbfe);
      border-color:#d2dfeb;
      color:#4877ba;
      box-shadow:none;
    }

    .activity-icon{
      background:linear-gradient(145deg,#eef4fb,#f8fbfe);
      border-color:#d2dfeb;
      color:#4877ba;
    }

    .device-icon{
      background:linear-gradient(145deg,#eef4fb,#f8fbfe);
      border-color:#d2dfeb;
      color:#4877ba;
    }

    .service-logo{
      background:linear-gradient(145deg,#eef4fb,#f8fbfe);
      border-color:#d2dfeb;
      color:#4877ba;
    }

    .mini-avatar{
      background:linear-gradient(145deg,#e9f1fa,#f7fbff);
      border-color:#cfdeea;
      color:#3f70b4;
    }

    .avatar{
      background:linear-gradient(145deg,#eef4fb,#f8fbfe);
      border-color:#cfdeea;
      color:#3f70b4;
    }

    .device:hover .device-icon,
    .service-card:hover .service-logo,
    tbody tr:hover .mini-avatar{
      background:linear-gradient(145deg,#e5eef9,#f4f9fe);
      border-color:#bfd3e3;
      color:#3b6cad;
    }

/**
 * Approved refinement: v05-global-light-pass
 */

/* SakhaGateway v0.5 — глобальная зачистка тёмных хвостов */

    /* Базовые поверхности */
    .card,
    .policy-box,
    .kv,
    .spec,
    .route-option,
    .check-row,
    .service-card,
    .modal,
    .server-mini,
    .device,
    .vps-hero,
    .detail-top,
    .client-status,
    .client-balance,
    .client-preview-banner,
    .warning-box,
    .danger-box,
    .prototype-note,
    .radio-card,
    .route-panel,
    .search,
    .mode-switch,
    .seg,
    .toast,
    .table-wrap,
    .empty-placeholder{
      background-image:none !important;
    }

    /* Главная карточка профиля / detail head */
    .detail-top{
      background:linear-gradient(145deg,#ffffff,#f8fbfd) !important;
      border:1px solid #d1dce5 !important;
      box-shadow:none !important;
    }
    .detail-meta h2{
      color:#223445 !important;
    }
    .detail-meta p{
      color:#6f8395 !important;
      font-size:11px !important;
    }

    /* ЛК клиента */
    .client-status{
      background:linear-gradient(145deg,#ffffff,#f8fbfd) !important;
      border:1px solid #d1dce5 !important;
      color:#243444 !important;
    }
    .client-status:after{
      border-color:rgba(67,115,184,.08) !important;
    }
    .client-status h2,
    .client-status p,
    .client-status .eyebrow{
      color:inherit !important;
    }
    .client-status .eyebrow{
      color:#4b74b0 !important;
    }
    .client-status p{
      color:#688092 !important;
    }

    .client-balance{
      background:linear-gradient(145deg,#ffffff,#f8fbfd) !important;
      border:1px solid #d1dce5 !important;
    }

    /* Верхние статистические карточки */
    .stat{
      background:linear-gradient(145deg,#ffffff,#f9fbfd) !important;
      border:1px solid #d1dce5 !important;
    }
    .stat:after{
      background:rgba(67,115,184,.03) !important;
    }

    /* Серверный hero */
    .vps-hero{
      background:linear-gradient(145deg,#ffffff,#f8fbfd) !important;
      border:1px solid #d1dce5 !important;
    }

    /* Таблицы и ховеры */
    tbody tr{
      background:#ffffff !important;
    }
    tbody tr:hover{
      background:#eef4fa !important;
    }
    tr[data-user] td{
      color:#33485a !important;
    }

    /* Боковая панель */
    .sidebar{
      background:linear-gradient(180deg,#f8fafc 0%,#f2f6f9 100%) !important;
    }

    /* Кнопки */
    .btn{
      background:#ffffff !important;
      border-color:#c9d5df !important;
      color:#31475a !important;
    }
    .btn:hover{
      background:#eef4f8 !important;
      border-color:#a8bccd !important;
      color:#27435b !important;
    }
    .btn.primary{
      background:#4373b8 !important;
      border-color:#4373b8 !important;
      color:#ffffff !important;
    }
    .btn.primary:hover{
      background:#3766a6 !important;
      border-color:#3766a6 !important;
      color:#ffffff !important;
    }
    .btn.danger{
      background:#fff6f7 !important;
      border-color:#e4bcc2 !important;
      color:#a65862 !important;
    }

    /* Иконки и аватары */
    .brand-mark,
    .stat-icon,
    .activity-icon,
    .device-icon,
    .service-logo,
    .avatar,
    .mini-avatar,
    .detail-avatar{
      background:linear-gradient(145deg,#eef4fb,#f8fbfe) !important;
      border:1px solid #d1deea !important;
      color:#4573b5 !important;
      box-shadow:none !important;
    }

    /* Поля форм и сегменты */
    .field input,
    .field select,
    .field textarea,
    .filter-select{
      background:#ffffff !important;
      border-color:#cdd8e1 !important;
      color:#243444 !important;
    }
    .field input:focus,
    .field select:focus,
    .field textarea:focus,
    .filter-select:focus{
      border-color:#8ea9c4 !important;
      box-shadow:0 0 0 3px rgba(67,115,184,.08) !important;
    }

    .seg{
      background:#f8fbfd !important;
      border-color:#d4dee7 !important;
    }
    .seg button{
      color:#5f7386 !important;
    }
    .seg button.active{
      background:#e5eef8 !important;
      color:#3d6eaf !important;
    }

    /* Наглядность secondary text */
    .page-head p,
    .card-head p,
    .helper,
    .money-row span,
    .user-cell span,
    .activity-item p,
    .activity-time,
    .service-card p,
    .client-balance p,
    .crumb,
    .server-mini small{
      color:#6e8293 !important;
    }

    /* badges */
    .badge{
      background:#f6f9fb !important;
      border-color:#cfdae3 !important;
      color:#536a7f !important;
    }
    .badge.green{
      background:rgba(65,143,118,.09) !important;
      border-color:rgba(65,143,118,.22) !important;
      color:#3f7d69 !important;
    }
    .badge.blue{
      background:rgba(67,115,184,.09) !important;
      border-color:rgba(67,115,184,.20) !important;
      color:#3f70b4 !important;
    }
    .badge.yellow{
      background:rgba(185,133,47,.10) !important;
      border-color:rgba(185,133,47,.20) !important;
      color:#9c6d24 !important;
    }
    .badge.red{
      background:rgba(198,95,107,.09) !important;
      border-color:rgba(198,95,107,.20) !important;
      color:#a4555f !important;
    }

    /* Модалка */
    .modal{
      background:#ffffff !important;
      border-color:#d1dce5 !important;
    }
    .modal-foot{
      background:#f8fbfd !important;
      border-top-color:#d5dfe7 !important;
    }

    /* Toast */
    .toast{
      background:#ffffff !important;
      border-color:#d3dee7 !important;
    }
    .toast.good{
      border-color:#c9d7e4 !important;
    }
    .toast.bad{
      border-color:#e0c4c8 !important;
    }

    /* route/settings/cards */
    .route-option{
      background:#ffffff !important;
      border-color:#d2dce5 !important;
    }
    .route-option.active{
      background:#edf3fa !important;
      border-color:#bfd0e3 !important;
    }
    .check-row{
      background:#f9fbfd !important;
      border-color:#d6e0e8 !important;
    }
    .radio-card{
      background:#ffffff !important;
      border-color:#d3dde6 !important;
    }
    .radio-card.selected{
      background:#edf3fa !important;
      border-color:#bfd0e3 !important;
    }

    /* Вкладки */
    .tab-btn{
      color:#65798b !important;
    }
    .tab-btn.active{
      color:#3f70b4 !important;
      border-bottom-color:#3f70b4 !important;
    }

    /* Иконки toolbar */
    .icon-btn{
      background:#ffffff !important;
      border-color:#cfdae4 !important;
      color:#607789 !important;
    }
    .icon-btn:hover{
      background:#eef4f8 !important;
      border-color:#b9cad7 !important;
      color:#3d6ead !important;
    }

    /* line colors */
    .card,
    .kv,
    .spec,
    .device,
    .service-card,
    .policy-box,
    .route-option,
    .check-row,
    .radio-card,
    .modal,
    .vps-hero,
    .detail-top{
      box-shadow:none !important;
    }

/**
 * Approved refinement: v06-banner-contrast-fix
 */

/* SakhaGateway v0.6 — контраст верхних уведомлений */

    .prototype-note{
      background:#f7fafc !important;
      border:1px dashed #b9cad9 !important;
      color:#4e6578 !important;
      font-size:11px !important;
      line-height:1.55 !important;
    }

    .client-preview-banner{
      background:#edf4fb !important;
      border:1px solid #c7d8e8 !important;
      color:#355a87 !important;
      font-size:11px !important;
      line-height:1.45 !important;
      min-height:54px !important;
      padding:12px 14px !important;
    }

    .client-preview-banner.show{
      display:flex !important;
      align-items:center !important;
    }

    .client-preview-banner::before{
      content:"ℹ";
      display:inline-grid;
      place-items:center;
      width:24px;
      height:24px;
      border-radius:999px;
      background:#dce9f7;
      color:#3c6dad;
      font-weight:700;
      font-size:13px;
      flex:none;
    }

    .client-preview-banner .btn,
    #exitClientPreview{
      background:#ffffff !important;
      border:1px solid #bfd0e0 !important;
      color:#31547d !important;
      font-size:11px !important;
      font-weight:600 !important;
    }

    .client-preview-banner .btn:hover,
    #exitClientPreview:hover{
      background:#f3f8fc !important;
      border-color:#a8bfd4 !important;
      color:#27486d !important;
    }

/**
 * Approved refinement: v07-final-ux-polish
 */

/* =========================================================
       SakhaGateway v0.7
       Финальный UX-полировочный проход
       ========================================================= */

    :root{
      --bg:#f4f7fa;
      --panel:#ffffff;
      --panel-soft:#f8fafc;
      --panel-blue:#eef4fb;
      --line:#d6e0e8;
      --line-strong:#c3d0da;

      --text:#223445;
      --text-strong:#182b3b;
      --muted:#607486;
      --muted2:#788b9b;

      --accent:#4776b9;
      --accent-dark:#3865a3;
      --accent-soft:#e8f0fa;

      --success:#447f6a;
      --success-soft:#edf7f3;
      --warning:#9b6c20;
      --warning-soft:#fbf6ea;
      --danger:#a7545e;
      --danger-soft:#fcf1f3;

      --radius:16px;
      --radius-sm:10px;
      --shadow-soft:0 8px 26px rgba(42,60,78,.055);
    }

    /* ---------- Общая геометрия ---------- */
    .content{
      padding:24px 26px 34px;
      max-width:1540px;
    }

    .page-head{
      margin-bottom:20px;
      gap:16px;
    }

    .page-head h1{
      font-size:25px !important;
      line-height:1.15;
      letter-spacing:-.035em;
      color:var(--text-strong);
    }

    .page-head p{
      margin-top:6px !important;
      max-width:760px;
      line-height:1.5;
      font-size:12px !important;
    }

    .prototype-note{
      margin-bottom:15px;
      padding:9px 12px !important;
      border-radius:10px !important;
    }

    /* ---------- Topbar ---------- */
    .topbar{
      height:68px;
      padding:0 24px;
    }

    .crumb{
      font-size:12px !important;
    }

    .search{
      height:36px;
      width:min(300px,26vw);
    }

    .mode-switch{
      height:38px;
      align-items:center;
    }

    .mode-switch button{
      height:30px;
      min-width:62px;
    }

    /* ---------- Sidebar ---------- */
    .sidebar{
      width:auto;
      padding:18px 14px;
    }

    .brand{
      padding:3px 8px 18px;
    }

    .brand-mark{
      width:40px;
      height:40px;
      border-radius:12px;
    }

    .brand strong{
      font-size:15px !important;
    }

    .side-section{
      padding:13px 10px 7px;
    }

    .nav{
      gap:3px;
    }

    .nav-btn{
      height:41px;
      padding:0 11px;
      border-radius:11px;
      font-size:13px !important;
    }

    .nav-icon{
      width:18px;
      height:18px;
    }

    .nav-count{
      height:20px;
      min-width:23px;
      padding:0 6px;
    }

    .server-mini{
      margin:0 5px 12px;
      padding:12px;
      border-radius:13px;
    }

    .profile{
      padding:14px 6px 1px;
    }

    /* ---------- Карточки ---------- */
    .card,
    .stat,
    .policy-box,
    .client-status,
    .client-balance,
    .detail-top,
    .vps-hero{
      border-radius:16px !important;
      box-shadow:var(--shadow-soft) !important;
    }

    .card-head{
      min-height:54px;
      padding:0 16px;
    }

    .card-head h2,
    .card-head h3{
      font-size:13px !important;
      line-height:1.25;
    }

    .card-head p{
      margin-top:3px;
      line-height:1.4;
      font-size:10px !important;
    }

    .card-body{
      padding:16px;
    }

    /* ---------- Dashboard ---------- */
    .stats{
      gap:12px;
      margin-bottom:14px;
    }

    .stat{
      min-height:120px;
      padding:16px;
    }

    .stat-top{
      gap:8px;
      font-size:12px !important;
    }

    .stat-icon{
      width:29px;
      height:29px;
      border-radius:9px;
    }

    .stat-value{
      margin-top:13px;
      font-size:29px !important;
    }

    .stat-foot{
      margin-top:6px;
      font-size:10px !important;
      line-height:1.35;
    }

    .grid-2{
      gap:14px;
    }

    .grid-3{
      gap:14px;
    }

    /* ---------- Таблицы ---------- */
    table{
      min-width:720px;
    }

    th{
      padding:10px 13px;
      font-size:9px !important;
      letter-spacing:.085em;
      color:#5b7083 !important;
    }

    td{
      padding:11px 13px;
      font-size:11px !important;
      line-height:1.35;
    }

    tbody tr{
      transition:background-color .14s ease;
    }

    tbody tr:hover{
      background:#f1f5fa !important;
    }

    .user-cell{
      gap:9px;
    }

    .mini-avatar{
      width:30px;
      height:30px;
      border-radius:9px;
      font-size:10px !important;
    }

    .user-cell strong{
      font-size:11px !important;
    }

    .user-cell span{
      margin-top:2px;
      font-size:9px !important;
    }

    .badge{
      height:22px;
      padding:0 7px;
      border-radius:7px;
      font-size:9px !important;
      font-weight:650;
    }

    /* ---------- Activity ---------- */
    .activity-item{
      grid-template-columns:34px 1fr auto;
      gap:9px;
      padding:10px 0;
    }

    .activity-icon{
      width:29px;
      height:29px;
      border-radius:9px;
    }

    .activity-item strong{
      font-size:11px !important;
    }

    .activity-item p{
      margin-top:3px;
      font-size:9px !important;
      line-height:1.35;
    }

    .activity-time{
      font-size:9px !important;
    }

    /* ---------- Buttons ---------- */
    .btn{
      min-height:38px;
      height:38px;
      padding:0 14px;
      border-radius:10px;
      font-size:11px !important;
      font-weight:600;
      box-shadow:none !important;
    }

    .btn.small{
      min-height:31px;
      height:31px;
      padding:0 10px;
      border-radius:8px;
      font-size:10px !important;
    }

    .icon-btn{
      width:34px;
      height:34px;
      border-radius:9px;
    }

    /* ---------- Filters ---------- */
    .filters{
      margin-bottom:12px;
      gap:7px;
    }

    .seg{
      padding:3px;
      border-radius:10px;
    }

    .seg button{
      height:29px;
      padding:0 10px;
      border-radius:7px;
      font-size:10px !important;
    }

    .filter-select{
      height:35px;
      border-radius:9px;
      font-size:10px !important;
    }

    /* ---------- User Detail ---------- */
    .detail-top{
      padding:17px 18px;
      gap:14px;
      margin-bottom:12px;
    }

    .detail-avatar{
      width:48px;
      height:48px;
      border-radius:14px;
      font-size:15px;
    }

    .detail-meta h2{
      font-size:18px !important;
    }

    .detail-meta p{
      margin-top:4px;
      font-size:10px !important;
    }

    .detail-badges{
      margin-top:7px;
      gap:5px;
    }

    .detail-actions{
      gap:7px;
    }

    .tabs{
      margin-bottom:14px;
    }

    .tab-btn{
      height:40px;
      padding:0 12px;
      font-size:10px !important;
    }

    /* ---------- KV / Specs ---------- */
    .kv-grid{
      gap:8px;
    }

    .kv{
      padding:11px;
      border-radius:10px;
    }

    .kv span{
      font-size:8px !important;
    }

    .kv strong{
      margin-top:5px;
      font-size:11px !important;
    }

    .vps-hero{
      padding:16px;
    }

    .vps-hero h3{
      margin:8px 0 3px;
      font-size:16px;
    }

    .vps-hero p{
      font-size:10px !important;
    }

    .server-specs{
      gap:8px;
      margin-top:11px;
    }

    .spec{
      padding:10px;
      border-radius:10px;
    }

    .spec strong{
      font-size:11px !important;
    }

    .spec span{
      margin-top:3px;
      font-size:8px !important;
    }

    /* ---------- Devices ---------- */
    .device-list{
      gap:8px;
    }

    .device{
      grid-template-columns:40px 1fr auto;
      gap:10px;
      padding:11px;
      border-radius:12px;
    }

    .device-icon{
      width:36px;
      height:36px;
      border-radius:10px;
    }

    .device strong{
      font-size:11px !important;
    }

    .device span{
      margin-top:2px;
      font-size:9px !important;
    }

    /* ---------- Policies ---------- */
    .policy-box{
      padding:15px;
    }

    .policy-title{
      margin-bottom:13px;
    }

    .policy-title strong{
      font-size:11px !important;
    }

    .policy-title span{
      font-size:9px !important;
    }

    .radio-grid{
      gap:8px;
    }

    .radio-card{
      padding:11px;
      border-radius:10px;
    }

    .radio-card strong{
      font-size:10px !important;
    }

    .radio-card span{
      margin-top:4px;
      line-height:1.35;
      font-size:9px !important;
    }

    .warning-box,
    .danger-box{
      padding:10px 11px;
      border-radius:10px;
      font-size:9px !important;
      line-height:1.5;
    }

    /* ---------- Forms ---------- */
    .form-grid{
      gap:10px;
    }

    .field{
      gap:5px;
    }

    .field label{
      font-size:9px !important;
    }

    .field input,
    .field select{
      height:38px;
      border-radius:9px;
      font-size:11px !important;
    }

    .field textarea{
      min-height:78px;
      border-radius:9px;
      font-size:11px !important;
    }

    .helper{
      font-size:9px !important;
    }

    /* ---------- Finance ---------- */
    .finance-balance{
      font-size:29px !important;
    }

    .finance-label{
      font-size:9px !important;
    }

    .money-row{
      padding:10px 0;
      font-size:10px !important;
    }

    .money-row strong{
      font-size:10px !important;
    }

    /* ---------- Services ---------- */
    .services-grid{
      gap:11px;
    }

    .service-card{
      padding:13px;
      border-radius:13px;
      box-shadow:var(--shadow-soft);
    }

    .service-logo{
      width:32px;
      height:32px;
      border-radius:9px;
      font-size:10px !important;
    }

    .service-card strong{
      font-size:11px !important;
    }

    .service-card p{
      margin:9px 0;
      line-height:1.45;
      font-size:9px !important;
    }

    /* ---------- Client preview banner ---------- */
    .client-preview-banner{
      min-height:50px !important;
      margin-bottom:14px;
      padding:10px 12px !important;
      border-radius:11px !important;
      font-size:10px !important;
    }

    .client-preview-banner::before{
      width:22px !important;
      height:22px !important;
      font-size:12px !important;
    }

    /* ---------- Client Cabinet ---------- */
    .client-shell{
      max-width:1060px;
    }

    .client-hero{
      gap:13px;
      margin-bottom:13px;
    }

    .client-status{
      min-height:178px;
      padding:21px;
    }

    .client-status .eyebrow{
      font-size:9px !important;
    }

    .client-status h2{
      margin:20px 0 7px;
      font-size:25px !important;
    }

    .client-status p{
      max-width:500px;
      line-height:1.5;
      font-size:10px !important;
    }

    .client-balance{
      padding:20px;
    }

    .client-balance .amount{
      margin-top:14px;
      font-size:28px !important;
    }

    .client-balance p{
      margin:6px 0 16px;
      font-size:9px !important;
    }

    .routing-mode{
      gap:8px;
    }

    .route-option{
      padding:12px;
      border-radius:11px;
    }

    .route-option strong{
      font-size:10px !important;
    }

    .route-option span{
      margin-top:4px;
      line-height:1.35;
      font-size:9px !important;
    }

    .route-settings{
      margin-top:12px;
      padding-top:12px;
    }

    .check-list{
      gap:7px;
    }

    .check-row{
      padding:9px 10px;
      border-radius:10px;
    }

    .check-row strong{
      font-size:10px !important;
    }

    .check-row span{
      margin-top:2px;
      font-size:9px !important;
    }

    /* ---------- Modal ---------- */
    .modal{
      border-radius:17px !important;
      box-shadow:0 20px 58px rgba(41,57,74,.18) !important;
    }

    .modal-head{
      padding:16px 18px;
    }

    .modal-head h3{
      font-size:14px !important;
    }

    .modal-head p{
      margin-top:4px;
      font-size:9px !important;
    }

    .modal-body{
      padding:18px;
    }

    .modal-foot{
      padding:13px 18px;
    }

    /* ---------- Toast ---------- */
    .toast-stack{
      right:18px;
      bottom:18px;
    }

    .toast{
      min-width:270px;
      padding:11px 12px;
      border-radius:11px;
      box-shadow:0 14px 38px rgba(41,57,74,.14) !important;
    }

    .toast strong{
      font-size:10px !important;
    }

    .toast span{
      margin-top:2px;
      font-size:9px !important;
    }

    /* ---------- Цвета secondary ---------- */
    .muted,
    small,
    .helper{
      color:var(--muted2);
    }

    /* ---------- Responsive ---------- */
    @media (max-width:1180px){
      .content{
        padding-left:20px;
        padding-right:20px;
      }
    }

    @media (max-width:840px){
      .content{
        padding:17px 14px 28px;
      }

      .page-head h1{
        font-size:23px !important;
      }

      .page-actions{
        gap:7px;
      }

      .detail-top{
        padding:15px;
      }

      .client-status,
      .client-balance{
        padding:18px;
      }
    }

    @media (max-width:520px){
      .page-head h1{
        font-size:21px !important;
      }

      .stats{
        gap:10px;
      }

      .stat{
        min-height:108px;
      }

      .client-status h2{
        font-size:22px !important;
      }

      .client-balance .amount{
        font-size:25px !important;
      }
    }

/**
 * Approved refinement: v08-warning-contrast-fix
 */

/* SakhaGateway v0.8 — усиление контраста warning/info note */

    .warning-box{
      background:#fcf7ec !important;
      border:1px solid #e7d19f !important;
      color:#8c641c !important;
      box-shadow:none !important;
    }

    .warning-box,
    .warning-box *{
      color:#8c641c !important;
    }

    .warning-box strong{
      color:#7a5516 !important;
    }

    .warning-box a{
      color:#7a5516 !important;
      text-decoration:underline;
    }

/**
 * Approved refinement: v010-service-access-model
 */

/* SakhaGateway v0.10 — ALLOWED/BLOCKED + VISIBLE/HIDDEN */

    .service-access-list{
      display:grid;
      gap:9px;
    }

    .service-access-row{
      display:grid;
      grid-template-columns:minmax(180px,1fr) auto auto;
      align-items:center;
      gap:14px;
      padding:11px 12px;
      border:1px solid var(--line);
      border-radius:11px;
      background:#f9fbfd;
    }

    .service-access-main strong{
      display:block;
      font-size:11px;
      color:var(--text-strong);
    }

    .service-access-main span{
      display:block;
      margin-top:3px;
      font-size:9px;
      color:var(--muted2);
    }

    .service-control{
      display:flex;
      align-items:center;
      gap:7px;
      min-width:120px;
      justify-content:flex-end;
    }

    .service-control > span{
      font-size:9px;
      color:var(--muted);
      text-transform:uppercase;
      letter-spacing:.06em;
    }

    .service-access-row.is-blocked{
      background:#fcf8f8;
    }

    .service-access-row.is-hidden{
      opacity:.72;
    }

    .client-service-hidden-note{
      padding:10px 12px;
      border:1px dashed #c7d4df;
      border-radius:10px;
      background:#f8fafc;
      color:#6c8091;
      font-size:10px;
    }

    @media (max-width:720px){
      .service-access-row{
        grid-template-columns:1fr;
        gap:9px;
      }
      .service-control{
        justify-content:space-between;
        min-width:0;
      }
    }

/**
 * Approved refinement: v011-service-catalog-defaults
 */

.catalog-info{
      display:flex;
      align-items:center;
      gap:12px;
      padding:12px 14px;
      margin-bottom:14px;
      border:1px solid #cbd9e5;
      border-radius:12px;
      background:#eef4fb;
    }
    .catalog-info strong{
      display:block;
      color:#294c77;
      font-size:11px;
    }
    .catalog-info span{
      display:block;
      margin-top:3px;
      color:#647b8f;
      font-size:10px;
      line-height:1.45;
    }

    .service-card{
      display:flex;
      flex-direction:column;
      min-height:190px;
    }
    .service-card .service-foot{
      margin-top:auto;
    }

    .service-defaults{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:7px;
      padding-top:10px;
      margin-top:10px;
      border-top:1px solid var(--line);
    }
    .service-default{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:7px;
      min-width:0;
      padding:7px 8px;
      border:1px solid #d7e1e9;
      border-radius:9px;
      background:#f8fafc;
    }
    .service-default span{
      font-size:8px;
      color:#667c8e;
      line-height:1.25;
    }
    .service-default .toggle{
      flex:none;
      transform:scale(.86);
      transform-origin:right center;
    }

    .service-card-actions{
      display:flex;
      align-items:center;
      gap:7px;
      margin-top:10px;
    }
    .service-card-actions .btn{
      margin-left:auto;
    }

    .service-requests-card{
      margin-top:16px;
    }
    .service-request-list{
      display:grid;
      gap:9px;
    }
    .service-request{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:16px;
      align-items:center;
      padding:12px 13px;
      border:1px solid var(--line);
      border-radius:11px;
      background:#f9fbfd;
    }
    .service-request strong{
      display:block;
      color:var(--text-strong);
      font-size:11px;
    }
    .service-request-meta{
      display:flex;
      gap:7px;
      flex-wrap:wrap;
      margin-top:4px;
      color:var(--muted2);
      font-size:9px;
    }
    .service-request p{
      margin:6px 0 0;
      color:var(--muted);
      font-size:9px;
      line-height:1.4;
    }
    .service-request-actions{
      display:flex;
      gap:6px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .service-default-editor{
      display:grid;
      gap:8px;
      margin-top:15px;
    }
    .default-setting{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      padding:11px 12px;
      border:1px solid var(--line);
      border-radius:10px;
      background:#f8fafc;
    }
    .default-setting strong{
      display:block;
      font-size:10px;
      color:var(--text-strong);
    }
    .default-setting span{
      display:block;
      margin-top:3px;
      color:var(--muted2);
      font-size:9px;
    }

    .client-route-actions{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:8px;
      margin-top:13px;
    }

    @media(max-width:760px){
      .service-defaults{
        grid-template-columns:1fr;
      }
      .service-request{
        grid-template-columns:1fr;
      }
      .service-request-actions{
        justify-content:flex-start;
      }
      .client-route-actions{
        flex-direction:column;
        align-items:stretch;
      }
    }

/**
 * Файл: _real-tariffs.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_real-tariffs.less
 * Date: 2026-08-26
 */

.tariffs-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.tariff-card{
  display:flex;
  flex-direction:column;
  min-height:245px;
}

.tariff-card .card-body{
  display:flex;
  flex-direction:column;
  flex:1;
}

.tariff-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.tariff-card h3{
  margin:0;
  font-size:15px;
}

.tariff-code{
  margin-top:4px;
  color:var(--muted2);
  font-size:9px;
  letter-spacing:.07em;
}

.tariff-price{
  margin:16px 0 4px;
  font-size:30px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.04em;
}

.tariff-price span{
  color:var(--muted);
  font-size:10px;
  font-weight:500;
  letter-spacing:0;
}

.tariff-period-equivalent{
  margin-top:6px;
  color:var(--muted);
  font-size:11px;
  font-weight:600;
}

.tariff-period-summary{
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel2);
  color:var(--text);
  font-size:12px;
  font-weight:700;
}

.tariff-meta{
  margin-top:12px;
  border-top:1px solid var(--line);
}

.tariff-card-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:auto;
  padding-top:14px;
}

.tariff-public-field .check-line{
  display:flex;
  align-items:center;
  gap:9px;
}

.tariff-public-field .check-line input[type="checkbox"]{
  width:16px;
  height:16px;
  min-height:0;
  flex:0 0 16px;
  margin:0;
  padding:0;
}

@media(max-width:980px){
  .tariffs-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:680px){
  .tariffs-grid{grid-template-columns:1fr}
}

/**
 * Файл: _real-users.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_real-users.less
 * Date: 2026-08-21
 */

.tariff-choice-list{
  display:grid;
  gap:9px;
}

.tariff-choice{
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 13px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  cursor:pointer;
}

.tariff-choice:hover,
.tariff-choice:has(input:checked){
  border-color:#9db9d7;
  background:#f2f7fc;
}

.tariff-choice input{
  flex:none;
}

.tariff-choice strong{
  display:block;
  font-size:11px;
}

.tariff-choice span{
  display:block;
  margin-top:2px;
  color:var(--muted2);
  font-size:9px;
}

/**
 * Файл: _archive-delete.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_archive-delete.less
 * Date: 2026-08-21
 */

.btn.danger-outline{
  border-color:#e4b9b9;
  background:#fff8f8;
  color:#a43f3f;
}

.btn.danger-outline:hover{
  border-color:#d58f8f;
  background:#fff1f1;
}

.delete-choice-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:13px;
}

.delete-choice{
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f9fbfd;
}

.delete-choice.is-danger{
  border-color:#eed0d0;
  background:#fff9f9;
}

.delete-choice strong{
  display:block;
  font-size:12px;
}

.delete-choice p{
  min-height:48px;
  margin:5px 0 13px;
  color:var(--muted2);
  font-size:9px;
  line-height:1.45;
}

.delete-choice button{
  width:100%;
}

tr.is-archived{
  opacity:.62;
}

@media(max-width:680px){
  .delete-choice-grid{
    grid-template-columns:1fr;
  }
}

/**
 * Файл: _policy-layout-fix.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_policy-layout-fix.less
 * Date: 2026-08-21
 */

.policy-layout-approved{
  align-items:start;
}

.policy-service-access{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.policy-service-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}

.policy-service-head h3{
  margin:0;
  font-size:13px;
}

.policy-service-head p{
  margin:4px 0 0;
  color:var(--muted2);
  font-size:9px;
}

.policy-priority-card{
  align-self:start;
}

@media(max-width:900px){
  .policy-layout-approved{
    grid-template-columns:1fr;
  }
}

/**
 * Файл: _real-devices.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_real-devices.less
 * Date: 2026-08-21
 */

.device-filters{
  margin-bottom:12px;
}

.device{
  cursor:default;
}

.device .device-main{
  min-width:0;
}

.device .device-main strong,
.device .device-main span{
  display:block;
}

.device .device-main span{
  margin-top:2px;
  color:var(--muted2);
  font-size:9px;
}

.device-meta-right{
  display:flex;
  align-items:center;
  gap:7px;
  margin-left:auto;
}

.device-billing{
  font-size:9px;
  white-space:nowrap;
}

.device-billing.is-extra{
  color:#a66b12;
}

.device-billing.is-included{
  color:#3b7758;
}

.device-actions .btn{
  white-space:nowrap;
}

.device-action-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:12px;
}

.device-action-summary .kv{
  min-height:66px;
}

#clientDevicesTitle .device-limit{
  margin-left:6px;
  color:var(--muted2);
  font-size:10px;
  font-weight:500;
}

@media(max-width:700px){
  .device-action-summary{
    grid-template-columns:1fr;
  }

  .device{
    align-items:flex-start;
  }

  .device-meta-right{
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}

/**
 * Файл: _mock-vps.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_mock-vps.less
 * Date: 2026-08-21
 */

.mock-provider-info{
  margin-bottom:14px;
}

.vps-card{
  display:flex;
  flex-direction:column;
  min-height:245px;
}

.vps-card .card-body{
  display:flex;
  flex-direction:column;
  flex:1;
}

.vps-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.vps-card h3{
  margin:12px 0 3px;
  font-size:16px;
}

.vps-card-meta{
  color:var(--muted2);
  font-size:9px;
}

.vps-card .server-specs{
  margin-top:14px;
}

.vps-card-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:auto;
  padding-top:14px;
}

.vps-status.is-ready .status-dot,
.vps-status.is-active .status-dot{
  opacity:1;
}

.vps-status.is-suspended{
  color:#9a6715;
}

.vps-status.is-suspended .status-dot{
  background:#d59a32;
}

.vps-status.is-error{
  color:#a43f3f;
}

.vps-status.is-error .status-dot{
  background:#c95b5b;
}

.real-vps-detail{
  min-height:190px;
}

.vps-detail-actions{
  display:grid;
  align-content:start;
  gap:8px;
}

.vps-card .badge.mock{
  background:#eef3fb;
  color:#3f6fa8;
}

@media(max-width:700px){
  .vps-detail-actions{
    width:100%;
  }

  .real-vps-detail{
    flex-direction:column;
  }
}

/**
 * Файл: _policy-compiler.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_policy-compiler.less
 * Date: 2026-08-21
 */

.config-modal{
  width:min(980px,100%);
}

.config-meta,
.config-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

.config-summary{
  margin-top:10px;
}

.config-profiles{
  display:grid;
  gap:12px;
  margin-top:14px;
}

.config-profile{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}

.config-profile-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  border-bottom:1px solid var(--line);
  background:#fbfcfe;
}

.config-profile-head p{
  margin:3px 0 0;
  color:var(--muted2);
  font-size:9px;
}

.config-rules{
  display:grid;
}

.config-rule{
  display:grid;
  grid-template-columns:minmax(130px,1fr) 110px 110px minmax(150px,1.2fr);
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-bottom:1px solid var(--line);
  font-size:9px;
}

.config-rule:last-child{
  border-bottom:0;
}

.config-rule strong{
  font-size:10px;
}

.config-rule .decision{
  color:var(--muted2);
}

.config-hash{
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:9px;
  word-break:break-all;
}

@media(max-width:760px){
  .config-meta,
  .config-summary{
    grid-template-columns:1fr 1fr;
  }

  .config-rule{
    grid-template-columns:1fr auto;
  }

  .config-rule .catalog-status,
  .config-rule .decision{
    grid-column:1/-1;
  }
}

/**
 * Файл: _full-tunnel-permission.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_full-tunnel-permission.less
 * Date: 2026-08-23
 */

.route-option .route-option-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.route-option .route-option-heading .route-policy-badge{
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:3px 6px;
  border:1px solid #e6c98d;
  border-radius:999px;
  background:#fff7e6;
  color:#9a6500;
  font-size:7px;
  font-weight:800;
  line-height:1;
  letter-spacing:.04em;
}

.route-option .route-option-heading .route-policy-badge.is-allowed{
  border-color:#b9dccc;
  background:#eef9f4;
  color:#28745b;
}

.route-option.is-policy-disabled{
  border-style:dashed;
  background:#f6f7f9;
  cursor:not-allowed;
  opacity:.72;
}

.route-option.is-policy-disabled.active{
  border-color:var(--line);
  background:#f6f7f9;
}

.route-option.is-policy-disabled strong{
  color:var(--muted2);
}

.policy-feature-access{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.policy-feature-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.policy-feature-head h3{
  margin:0;
  font-size:13px;
}

.policy-feature-head p{
  margin:4px 0 0;
  color:var(--muted2);
  font-size:9px;
}

.policy-feature-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f8fafc;
}

.policy-feature-row strong,
.policy-feature-row span{
  display:block;
}

.policy-feature-row strong{
  font-size:10px;
}

.policy-feature-row > div > span{
  margin-top:3px;
  color:var(--muted2);
  font-size:8px;
}

.policy-feature-row .toggle input:disabled + .slider{
  cursor:not-allowed;
  opacity:.65;
}

/**
 * Файл: _user-settings.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_user-settings.less
 * Date: 2026-08-21
 */

.client-policy-guard{
  margin-top:12px;
  padding:9px 11px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#f8fafc;
  color:var(--muted2);
  font-size:9px;
}

.check-row.is-forced{
  opacity:.72;
}

.check-row .route-admin-note{
  display:block;
  margin-top:2px;
  color:var(--muted2);
  font-size:8px;
}

#applyClientRouting.is-saving{
  opacity:.75;
  pointer-events:none;
}

/**
 * Файл: _free-billing.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_free-billing.less
 * Date: 2026-08-21
 */

.client-balance .amount{
  overflow-wrap:anywhere;
}

.client-balance .amount.is-free{
  font-size:24px;
}

/**
 * Файл: _real-audit.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_real-audit.less
 * Date: 2026-08-21
 */

.journal-head-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.audit-action-code{
  margin-top:2px;
  color:var(--muted2);
  font-size:8px;
  letter-spacing:.02em;
}

#view-journal table td{
  vertical-align:middle;
}

#view-journal table td:nth-child(1){
  white-space:nowrap;
}

#view-journal table td:nth-child(5){
  max-width:320px;
}

#detailLog .activity-item{
  grid-template-columns:28px minmax(0,1fr) auto;
}

/** Файл: _recovery-lifecycle.less | Date: 2026-08-21 */
.client-gateway-dot{color:var(--accent)}
.client-status.is-warning .client-gateway-dot{color:#b77a13}
.client-status.is-danger .client-gateway-dot{color:#c45b62}
.client-status.is-progress .client-gateway-dot{color:#4b7fc3}
.client-status.is-offline .client-gateway-dot{color:var(--muted2)}
.client-route-locked{margin-top:10px;padding:9px 11px;border:1px solid #ebc8cb;border-radius:9px;background:#fff6f6;color:#9f4b52;font-size:9px}
.routing-mode.is-locked,.route-settings.is-locked{opacity:.68;pointer-events:none}

/**
 * Файл: _automation-production.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_automation-production.less
 * Date: 2026-08-21
 */

.billing-state-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:12px 0 0;
  padding-top:10px;
  border-top:1px solid var(--line);
  font-size:10px;
}

.billing-state-line span{color:var(--muted2);}
.billing-state.GRACE,
.billing-state.SUSPENDED{color:#a26b00;}
.billing-state.STOPPED,
.billing-state.VPS_DELETED{color:#b14949;}
.billing-state.OK,
.billing-state.FREE{color:#147b63;}
.billing-amount-plus{color:#147b63;font-weight:700;}
.billing-amount-minus{color:#b14949;font-weight:700;}

/**
 * Файл: _portal-shell.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_portal-shell.less
 * Date: 2026-08-21
 */

.sgw-portal-shell{background:var(--bg);}
.portal-app{min-height:100vh;}
.portal-topbar{min-height:72px;padding:12px 28px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.8);backdrop-filter:blur(14px);position:sticky;top:0;z-index:30;}
.portal-brand{display:flex;align-items:center;gap:10px;}
.portal-brand .brand-mark{width:42px;height:42px;flex:0 0 42px;}
.portal-brand strong,.portal-brand small{display:block;}
.portal-brand small{margin-top:2px;color:var(--muted);font-size:10px;}
.portal-user{margin-left:auto;display:flex;align-items:center;gap:8px;}
.portal-user-meta{margin-right:6px;text-align:right;}
.portal-user-meta strong,.portal-user-meta span{display:block;}
.portal-user-meta span{margin-top:2px;color:var(--muted);font-size:9px;}
.portal-main{padding:36px 28px 48px;}
.portal-client-shell{width:min(1180px,100%);margin:0 auto;}
.portal-title{margin-bottom:18px;}
.portal-policy-note{margin-top:10px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft);color:var(--muted);font-size:9px;}
.device-billing{margin-left:auto;white-space:nowrap;color:#298066;font-size:9px;}
.device-billing.extra{color:#a86700;font-weight:700;}
.check-row.is-disabled{opacity:.62;}
.check-row.is-disabled input{pointer-events:none;}
@media(max-width:860px){.portal-topbar{padding:10px 14px}.portal-user-meta{display:none}.portal-user .btn{padding-left:10px;padding-right:10px}.portal-main{padding:22px 14px 36px}.portal-grid{grid-template-columns:1fr}}
@media(max-width:560px){.portal-brand small,#portalPasswordBtn{display:none}.portal-topbar{min-height:62px}}


/* Client portal device rows */
.portal-device-row{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  grid-template-areas:
    "icon info"
    "icon actions";
  column-gap:10px;
  row-gap:3px;
  align-items:start;
  padding:11px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f7fafc;
}

.portal-device-icon{grid-area:icon;}

.portal-device-info{
  grid-area:info;
  min-width:0;
}

.portal-device-info strong{
  display:block;
  font-size:11px;
  line-height:1.3;
  overflow-wrap:anywhere;
}

.portal-device-info span{
  display:block;
  margin-top:2px;
  color:var(--muted2);
  font-size:9px;
  line-height:1.35;
  overflow-wrap:anywhere;
}

.portal-device-actions{
  grid-area:actions;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  min-width:0;
  margin-top:4px;
}

.portal-device-actions .device-billing{margin-left:0;}
.portal-device-actions .btn{margin-left:auto;}
.portal-device-row.is-updating{border-color:#e2c988;background:#fffaf0;}
.portal-device-actions .btn:disabled{cursor:wait;opacity:.62;}

@media(max-width:520px){
  .portal-device-actions .btn{margin-left:0;}
}

.provider-stage-banner{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-bottom:14px;padding:14px 16px;border:1px solid #c8d9ed;border-radius:12px;background:#eef6ff;}
.provider-stage-banner strong,.provider-stage-banner span{display:block;}
.provider-stage-banner strong{font-size:11px;color:#174b88;letter-spacing:.04em;}
.provider-stage-banner div>span{margin-top:3px;color:var(--muted);font-size:10px;}
.provider-preflight-result{margin-top:14px;padding:12px;border:1px solid #e2c988;border-radius:10px;background:#fff8e9;color:#7e5c12;}
.provider-preflight-result strong,.provider-preflight-result span,.provider-preflight-result small{display:block;}
.provider-preflight-result span{margin-top:4px;font-size:10px;}
.provider-preflight-result small{margin-top:6px;opacity:.8;}
.provider-preflight-result.is-ready{border-color:#b9dacd;background:#effaf6;color:#266d57;}
.provider-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.provider-checklist>div{display:grid;grid-template-columns:28px 1fr;gap:2px 8px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);}
.provider-checklist>div>span{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e7f1ff;color:var(--accent);font-weight:700;}
.provider-checklist strong{font-size:10px;}
.provider-checklist small{color:var(--muted);font-size:9px;}
@media(max-width:900px){.provider-checklist{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.provider-stage-banner{align-items:flex-start;flex-direction:column}.provider-checklist{grid-template-columns:1fr;}}


.provider-ready-ok{color:#26705a;}
.provider-ready-waiting{color:#a86b00;}

/**
 * Файл: _connection-profile.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_connection-profile.less
 * Date: 2026-08-22
 */

.connection-client{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f7fafc;
}

.connection-client-icon{
  display:grid;
  place-items:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:11px;
  background:var(--accentSoft);
  color:var(--accent2);
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
}

.connection-client strong,
.connection-client span{
  display:block;
}

.connection-client strong{
  color:var(--text);
  font-size:11px;
}

.connection-client div > span{
  margin-top:3px;
  color:var(--muted2);
  font-size:9px;
}

@media(max-width:640px){
  #portal-modal-device-manage .modal-foot{
    align-items:stretch;
    flex-direction:column;
  }

  #portal-modal-device-manage .modal-foot .btn{
    justify-content:center;
    width:100%;
  }
}

/**
 * Файл: _public-home.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_public-home.less
 * Date: 2026-08-24
 */

.sgw-public-shell{
  --public-ink:#132534;
  --public-muted:#607281;
  --public-line:#dce6ec;
  --public-blue:#2866d7;
  --public-blue-dark:#1f50b2;
  --public-blue-soft:#eaf2ff;
  --public-mint:#2f9f85;
  --public-surface:#fff;
  margin:0;
  background:#f7fafc;
  color:var(--public-ink);
}

.sgw-public-shell .public-site{
  min-height:100vh;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 6%,rgba(65,123,225,.11),transparent 24rem),
    linear-gradient(180deg,#fbfdff 0,#f7fafc 34rem,#fff 60rem);
}

.sgw-public-shell .public-container{
  width:min(1160px,calc(100% - 40px));
  margin:0 auto;
}

.sgw-public-shell .public-header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(213,225,233,.82);
  background:rgba(251,253,255,.88);
  backdrop-filter:blur(18px);
}

.sgw-public-shell .public-header-inner{
  display:flex;
  min-height:76px;
  align-items:center;
  gap:34px;
}

.sgw-public-shell .public-brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:var(--public-ink);
}

.sgw-public-shell .public-brand-mark{
  display:grid;
  width:42px;
  height:42px;
  flex:0 0 42px;
  place-items:center;
  border:1px solid #cbdcf0;
  border-radius:13px;
  background:linear-gradient(145deg,#fff,#e9f2ff);
  color:var(--public-blue);
  box-shadow:0 8px 24px rgba(37,90,169,.10);
}

.sgw-public-shell .public-brand-mark svg{width:25px;height:25px}
.sgw-public-shell .public-brand strong,
.sgw-public-shell .public-brand small{display:block}
.sgw-public-shell .public-brand strong{font-size:16px;letter-spacing:-.025em}
.sgw-public-shell .public-brand small{margin-top:2px;color:var(--public-muted);font-size:10px;letter-spacing:.02em}

.sgw-public-shell .public-nav{
  display:flex;
  align-items:center;
  gap:27px;
  margin-left:auto;
}

.sgw-public-shell .public-nav a{
  color:#526777;
  font-size:14px;
  font-weight:600;
  transition:.18s ease;
}

.sgw-public-shell .public-nav a:hover{color:var(--public-blue)}

.sgw-public-shell .public-button{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:12px;
  padding:0 19px;
  font-size:14px;
  font-weight:750;
  line-height:1.2;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}

.sgw-public-shell .public-button:hover{transform:translateY(-1px)}
.sgw-public-shell .public-button-quiet{min-height:40px;border-color:#d6e1e8;background:#fff;color:#294052}
.sgw-public-shell .public-button-primary{background:linear-gradient(135deg,var(--public-blue),#3779e7);color:#fff;box-shadow:0 12px 28px rgba(40,102,215,.23)}
.sgw-public-shell .public-button-primary:hover{background:linear-gradient(135deg,var(--public-blue-dark),#2866d7);box-shadow:0 14px 30px rgba(40,102,215,.28)}
.sgw-public-shell .public-button-secondary{border-color:#cfdde6;background:rgba(255,255,255,.78);color:#294052}
.sgw-public-shell .public-button-light{background:#fff;color:var(--public-blue-dark);box-shadow:0 12px 28px rgba(13,42,91,.17)}
.sgw-public-shell .public-button-wide{width:100%}

.sgw-public-shell .public-hero{padding:88px 0 96px}

.sgw-public-shell .public-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);
  align-items:center;
  gap:76px;
}

.sgw-public-shell .public-eyebrow,
.sgw-public-shell .public-section-head>span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--public-blue);
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
}

.sgw-public-shell .public-eyebrow:before,
.sgw-public-shell .public-section-head>span:before{
  content:"";
  width:24px;
  height:2px;
  border-radius:2px;
  background:currentColor;
}

.sgw-public-shell .public-hero h1{
  max-width:680px;
  margin:20px 0 20px;
  color:#102434;
  font-size:clamp(42px,5.3vw,68px);
  line-height:1.02;
  letter-spacing:-.055em;
}

.sgw-public-shell .public-hero-copy>p{
  max-width:610px;
  margin:0;
  color:var(--public-muted);
  font-size:18px;
  line-height:1.72;
}

.sgw-public-shell .public-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:31px}
.sgw-public-shell .public-trust-row{display:flex;flex-wrap:wrap;gap:18px 26px;margin-top:30px}
.sgw-public-shell .public-trust-row span{position:relative;padding-left:18px;color:#516777;font-size:13px;font-weight:650}
.sgw-public-shell .public-trust-row span:before{
  content:"";
  position:absolute;
  top:5px;
  left:0;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--public-mint);
  box-shadow:0 0 0 4px rgba(47,159,133,.10);
}

.sgw-public-shell .public-hero-visual{position:relative;min-height:480px;display:grid;place-items:center}
.sgw-public-shell .public-visual-glow{
  position:absolute;
  width:390px;
  height:390px;
  border-radius:50%;
  background:linear-gradient(135deg,rgba(42,104,216,.18),rgba(47,159,133,.13));
  filter:blur(2px);
}

.sgw-public-shell .public-preview-card{
  position:relative;
  z-index:2;
  width:min(460px,100%);
  padding:24px;
  border:1px solid rgba(195,214,226,.92);
  border-radius:26px;
  background:rgba(255,255,255,.92);
  box-shadow:0 32px 80px rgba(37,74,111,.18);
  transform:rotate(1.6deg);
}

.sgw-public-shell .public-preview-card:before{
  content:"";
  position:absolute;
  inset:10px;
  z-index:-1;
  border:1px solid rgba(211,226,235,.64);
  border-radius:19px;
  pointer-events:none;
}

.sgw-public-shell .public-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:4px 4px 21px}
.sgw-public-shell .public-preview-head span,
.sgw-public-shell .public-preview-head strong{display:block}
.sgw-public-shell .public-preview-head>div span{color:var(--public-muted);font-size:11px}
.sgw-public-shell .public-preview-head>div strong{margin-top:5px;color:var(--public-ink);font-size:19px}
.sgw-public-shell .public-status{padding:7px 10px;border-radius:99px;background:#ecf8f4;color:#25866e;font-size:10px;font-weight:800}
.sgw-public-shell .public-status i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#35a98c}
.sgw-public-shell .public-preview-panel{padding:17px;border:1px solid #e0e9ef;border-radius:18px;background:#f8fbfd}
.sgw-public-shell .public-preview-panel>span{display:block;margin-bottom:12px;color:#71828e;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.09em}
.sgw-public-shell .public-device-row{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 20px;
  align-items:center;
  gap:11px;
  padding:13px;
  border:1px solid #e0e9ef;
  border-radius:13px;
  background:#fff;
}
.sgw-public-shell .public-device-row+.public-device-row{margin-top:9px}
.sgw-public-shell .public-device-row b{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;background:var(--public-blue-soft);color:var(--public-blue);font-size:11px}
.sgw-public-shell .public-device-row strong,
.sgw-public-shell .public-device-row small{display:block}
.sgw-public-shell .public-device-row strong{font-size:12px}
.sgw-public-shell .public-device-row small{margin-top:4px;color:#778995;font-size:9px}
.sgw-public-shell .public-device-row>i{width:9px;height:9px;border-radius:50%;background:var(--public-mint);box-shadow:0 0 0 4px rgba(47,159,133,.11)}
.sgw-public-shell .public-device-row>em{display:grid;width:20px;height:20px;place-items:center;border:1px solid #cad9e4;border-radius:6px;color:var(--public-blue);font-style:normal}
.sgw-public-shell .public-preview-note{margin-top:18px;color:#677b8a;font-size:10px;text-align:center}

.sgw-public-shell .public-section{padding:96px 0;scroll-margin-top:76px}
.sgw-public-shell .public-section-head{max-width:660px;margin:0 auto 45px;text-align:center}
.sgw-public-shell .public-section-head h2,
.sgw-public-shell .public-tariff-copy h2,
.sgw-public-shell .public-payment-card h2{
  margin:15px 0 13px;
  color:#132838;
  font-size:clamp(32px,4vw,46px);
  line-height:1.08;
  letter-spacing:-.045em;
}
.sgw-public-shell .public-section-head p,
.sgw-public-shell .public-tariff-copy>p{
  margin:0;
  color:var(--public-muted);
  font-size:16px;
  line-height:1.7;
}
.sgw-public-shell .public-section-head-left{margin:0;text-align:left}

.sgw-public-shell .public-benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.sgw-public-shell .public-benefit{
  position:relative;
  min-height:250px;
  overflow:hidden;
  padding:29px;
  border:1px solid var(--public-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 14px 35px rgba(37,74,111,.06);
}
.sgw-public-shell .public-benefit:after{
  content:"";
  position:absolute;
  right:-48px;
  bottom:-58px;
  width:145px;
  height:145px;
  border-radius:50%;
  background:var(--public-blue-soft);
}
.sgw-public-shell .public-benefit-number{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:var(--public-blue-soft);color:var(--public-blue);font-size:11px;font-weight:850}
.sgw-public-shell .public-benefit h3{margin:32px 0 11px;font-size:20px;letter-spacing:-.025em}
.sgw-public-shell .public-benefit p{position:relative;z-index:1;margin:0;color:var(--public-muted);font-size:14px;line-height:1.7}

.sgw-public-shell .public-how{background:#f0f5f9}
.sgw-public-shell .public-how-grid{display:grid;grid-template-columns:.86fr 1.14fr;align-items:start;gap:90px}
.sgw-public-shell .public-steps{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.sgw-public-shell .public-steps li{display:grid;grid-template-columns:52px 1fr;gap:16px;padding:20px;border:1px solid #d7e3ea;border-radius:18px;background:rgba(255,255,255,.8)}
.sgw-public-shell .public-steps b{display:grid;width:52px;height:52px;place-items:center;border-radius:15px;background:#fff;color:var(--public-blue);box-shadow:0 8px 22px rgba(39,92,153,.09)}
.sgw-public-shell .public-steps strong,
.sgw-public-shell .public-steps span{display:block}
.sgw-public-shell .public-steps strong{margin-top:3px;font-size:16px}
.sgw-public-shell .public-steps span{margin-top:6px;color:var(--public-muted);font-size:13px;line-height:1.55}

.sgw-public-shell .public-tariff-section{background:#fff}
.sgw-public-shell .public-tariff-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.82fr);align-items:center;gap:100px}
.sgw-public-shell .public-tariff-copy ul{display:grid;gap:13px;margin:27px 0 0;padding:0;list-style:none}
.sgw-public-shell .public-tariff-copy li{position:relative;padding-left:28px;color:#405869;font-size:14px}
.sgw-public-shell .public-tariff-copy li:before{content:"✓";position:absolute;left:0;top:-2px;display:grid;width:19px;height:19px;place-items:center;border-radius:50%;background:#e7f6f1;color:#24846c;font-size:11px;font-weight:900}
.sgw-public-shell .public-price-card{padding:30px;border:1px solid #cbddeb;border-radius:25px;background:linear-gradient(155deg,#fff,#f2f7ff);box-shadow:0 28px 65px rgba(33,78,131,.15)}
.sgw-public-shell .public-price-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.sgw-public-shell .public-price-top span,
.sgw-public-shell .public-price-top strong{display:block}
.sgw-public-shell .public-price-top>div span{color:var(--public-muted);font-size:11px}
.sgw-public-shell .public-price-top>div strong{margin-top:5px;font-size:18px}
.sgw-public-shell .public-price-badge{padding:7px 10px;border-radius:99px;background:#e8f1ff;color:var(--public-blue);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.sgw-public-shell .public-price{display:flex;align-items:baseline;gap:8px;margin:33px 0 25px}
.sgw-public-shell .public-price strong{font-size:52px;line-height:1;letter-spacing:-.055em}
.sgw-public-shell .public-price span{color:var(--public-muted);font-size:13px}
.sgw-public-shell .public-price-details{display:grid;gap:12px;margin-bottom:24px;padding:18px 0;border-top:1px solid #dbe6ed;border-bottom:1px solid #dbe6ed}
.sgw-public-shell .public-price-details div{display:flex;align-items:center;justify-content:space-between;gap:20px}
.sgw-public-shell .public-price-details span{color:var(--public-muted);font-size:12px}
.sgw-public-shell .public-price-details strong{font-size:12px;text-align:right}
.sgw-public-shell .public-price-card>small{display:block;margin-top:12px;color:#71838f;font-size:10px;text-align:center}
.sgw-public-shell .public-price-unavailable{display:grid;gap:7px;margin:33px 0 25px;padding:24px 0;border-top:1px solid #dbe6ed;border-bottom:1px solid #dbe6ed}
.sgw-public-shell .public-price-unavailable strong{font-size:19px}
.sgw-public-shell .public-price-unavailable span{color:var(--public-muted);font-size:12px;line-height:1.55}

.sgw-public-shell .public-payment-section{padding-top:0;background:#fff}
.sgw-public-shell .public-payment-card{display:grid;grid-template-columns:.82fr 1.18fr;align-items:center;gap:75px;padding:43px 48px;border:1px solid #cdddf0;border-radius:25px;background:linear-gradient(135deg,#edf4ff,#f7fbff)}
.sgw-public-shell .public-payment-card h2{margin-bottom:0;font-size:32px}
.sgw-public-shell .public-payment-card>p{margin:0;color:#526979;font-size:15px;line-height:1.75}

.sgw-public-shell .public-faq-grid{display:grid;grid-template-columns:.72fr 1.28fr;align-items:start;gap:90px}
.sgw-public-shell .public-faq-list{display:grid;gap:10px}
.sgw-public-shell .public-faq-list details{border:1px solid var(--public-line);border-radius:15px;background:#fff}
.sgw-public-shell .public-faq-list summary{position:relative;padding:20px 52px 20px 20px;font-size:14px;font-weight:750;list-style:none;cursor:pointer}
.sgw-public-shell .public-faq-list summary::-webkit-details-marker{display:none}
.sgw-public-shell .public-faq-list summary:after{content:"+";position:absolute;right:18px;top:15px;display:grid;width:29px;height:29px;place-items:center;border-radius:9px;background:var(--public-blue-soft);color:var(--public-blue);font-size:18px}
.sgw-public-shell .public-faq-list details[open] summary:after{content:"−"}
.sgw-public-shell .public-faq-list p{margin:0;padding:0 20px 20px;color:var(--public-muted);font-size:13px;line-height:1.65}

.sgw-public-shell .public-final-cta{padding:0 0 80px}
.sgw-public-shell .public-final-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:48px;border-radius:28px;background:linear-gradient(135deg,#173f87,#2866d7 62%,#397de8);color:#fff;box-shadow:0 25px 55px rgba(32,80,169,.23)}
.sgw-public-shell .public-final-cta span{font-size:10px;font-weight:800;letter-spacing:.14em;opacity:.72}
.sgw-public-shell .public-final-cta h2{margin:8px 0 7px;font-size:35px;letter-spacing:-.04em}
.sgw-public-shell .public-final-cta p{margin:0;color:rgba(255,255,255,.76);font-size:14px}

.sgw-public-shell .public-footer{border-top:1px solid var(--public-line);background:#fff}
.sgw-public-shell .public-footer-inner{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:38px;min-height:120px}
.sgw-public-shell .public-brand-footer small{font-size:9px}
.sgw-public-shell .public-footer-links{display:flex;flex-wrap:wrap;gap:20px}
.sgw-public-shell .public-footer-links a{color:#526878;font-size:12px}
.sgw-public-shell .public-footer-links a:hover{color:var(--public-blue)}
.sgw-public-shell .public-footer-inner>small{color:#82919c;font-size:10px}

@media(max-width:980px){
  .sgw-public-shell .public-nav{display:none}
  .sgw-public-shell .public-header-inner{gap:16px}
  .sgw-public-shell .public-header-inner>.public-button{margin-left:auto}
  .sgw-public-shell .public-hero-grid{grid-template-columns:1fr;gap:55px}
  .sgw-public-shell .public-hero-copy{text-align:center}
  .sgw-public-shell .public-hero-copy>p{margin-left:auto;margin-right:auto}
  .sgw-public-shell .public-actions,.sgw-public-shell .public-trust-row{justify-content:center}
  .sgw-public-shell .public-hero-visual{min-height:auto}
  .sgw-public-shell .public-preview-card{transform:none}
  .sgw-public-shell .public-how-grid,
  .sgw-public-shell .public-tariff-grid,
  .sgw-public-shell .public-faq-grid{grid-template-columns:1fr;gap:45px}
  .sgw-public-shell .public-section-head-left{max-width:680px}
  .sgw-public-shell .public-tariff-copy{max-width:680px}
  .sgw-public-shell .public-price-card{width:min(520px,100%);margin:0 auto}
  .sgw-public-shell .public-payment-card{grid-template-columns:1fr;gap:22px}
  .sgw-public-shell .public-footer-inner{grid-template-columns:1fr auto;gap:20px;padding:28px 0}
  .sgw-public-shell .public-footer-links{justify-content:flex-end}
  .sgw-public-shell .public-footer-inner>small{grid-column:1/-1}
}

@media(max-width:720px){
  .sgw-public-shell .public-container{width:min(72%,1160px)}
  .sgw-public-shell .public-header-inner{min-height:68px}
  .sgw-public-shell .public-brand small{display:none}
  .sgw-public-shell .public-header-inner>.public-button{min-height:38px;padding:0 14px}
  .sgw-public-shell .public-hero{padding:64px 0 72px}
  .sgw-public-shell .public-hero h1{font-size:clamp(38px,12vw,54px)}
  .sgw-public-shell .public-hero-copy>p{font-size:16px}
  .sgw-public-shell .public-trust-row{display:grid;justify-content:start;width:max-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left}
  .sgw-public-shell .public-section{padding:72px 0}
  .sgw-public-shell .public-benefits-grid{grid-template-columns:1fr}
  .sgw-public-shell .public-benefit{min-height:210px}
  .sgw-public-shell .public-payment-section{padding-top:0}
  .sgw-public-shell .public-payment-card{padding:30px 25px}
  .sgw-public-shell .public-final-cta{padding-bottom:55px}
  .sgw-public-shell .public-final-cta-inner{align-items:flex-start;flex-direction:column;padding:34px 26px}
  .sgw-public-shell .public-footer-inner{grid-template-columns:1fr;align-items:start}
  .sgw-public-shell .public-footer-links{display:grid;justify-content:start}
  .sgw-public-shell .public-footer-inner>small{grid-column:auto}
}

@media(max-width:440px){
  .sgw-public-shell .public-brand-mark{width:38px;height:38px;flex-basis:38px}
  .sgw-public-shell .public-brand-mark svg{width:22px;height:22px}
  .sgw-public-shell .public-brand strong{font-size:14px}
  .sgw-public-shell .public-actions{display:grid}
  .sgw-public-shell .public-button{width:100%}
  .sgw-public-shell .public-preview-card{padding:16px;border-radius:21px}
  .sgw-public-shell .public-preview-head{display:grid}
  .sgw-public-shell .public-status{width:max-content}
  .sgw-public-shell .public-price-card{padding:23px}
  .sgw-public-shell .public-price strong{font-size:44px}
  .sgw-public-shell .public-price-details div{align-items:flex-start;flex-direction:column;gap:4px}
  .sgw-public-shell .public-price-details strong{text-align:left}
}

/* public documents and merchant settings v0.1.37 */
.sgw-public-shell .public-document-nav{gap:18px}
.sgw-public-shell .public-document-nav a{font-size:12px}
.sgw-public-shell .public-document-nav a.is-active{color:var(--public-blue)}
.sgw-public-shell .public-document-main{
  padding:62px 0 90px;
  background:
    radial-gradient(circle at 80% 0,rgba(51,111,220,.09),transparent 29rem),
    #f5f8fb;
}
.sgw-public-shell .public-document-layout{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:38px}
.sgw-public-shell .public-document-aside{position:sticky;top:108px;display:grid;gap:25px}
.sgw-public-shell .public-document-aside>a{color:var(--public-blue);font-size:12px;font-weight:750}
.sgw-public-shell .public-document-aside nav{display:grid;gap:5px}
.sgw-public-shell .public-document-aside nav a{padding:11px 12px;border-radius:10px;color:#647785;font-size:12px;font-weight:650}
.sgw-public-shell .public-document-aside nav a:hover,
.sgw-public-shell .public-document-aside nav a.is-active{background:#e7f0ff;color:var(--public-blue)}
.sgw-public-shell .public-document-card{
  width:min(820px,100%);
  padding:54px 62px;
  border:1px solid #d9e4ea;
  border-radius:26px;
  background:#fff;
  box-shadow:0 22px 55px rgba(34,69,104,.09);
}
.sgw-public-shell .public-document-warning{
  display:grid;
  gap:5px;
  margin-bottom:28px;
  padding:14px 16px;
  border:1px solid #ead38c;
  border-radius:13px;
  background:#fff9e8;
  color:#7b5b0c;
}
.sgw-public-shell .public-document-warning strong{font-size:12px}
.sgw-public-shell .public-document-warning span{font-size:10px;line-height:1.5}
.sgw-public-shell .public-document-title{padding-bottom:35px;border-bottom:1px solid #e1e9ee}
.sgw-public-shell .public-document-title>span{color:var(--public-blue);font-size:10px;font-weight:850;letter-spacing:.12em}
.sgw-public-shell .public-document-title h1{margin:13px 0 14px;color:#132838;font-size:clamp(34px,5vw,52px);line-height:1.04;letter-spacing:-.05em}
.sgw-public-shell .public-document-title p{max-width:660px;margin:0;color:var(--public-muted);font-size:15px;line-height:1.7}
.sgw-public-shell .public-document-section{padding:34px 0;border-bottom:1px solid #e4ebef}
.sgw-public-shell .public-document-section:last-child{padding-bottom:0;border-bottom:0}
.sgw-public-shell .public-document-section h2{margin:0 0 17px;color:#173043;font-size:23px;line-height:1.2;letter-spacing:-.025em}
.sgw-public-shell .public-document-section h3{margin:0 0 11px;color:#1c394d;font-size:17px}
.sgw-public-shell .public-document-section p,
.sgw-public-shell .public-document-section li{color:#4e6474;font-size:14px;line-height:1.78}
.sgw-public-shell .public-document-section p{margin:0}
.sgw-public-shell .public-document-section p+p{margin-top:13px}
.sgw-public-shell .public-document-section ol,
.sgw-public-shell .public-document-section ul{display:grid;gap:9px;margin:0;padding-left:22px}
.sgw-public-shell .public-document-section a{color:var(--public-blue);text-decoration:underline;text-underline-offset:3px}
.sgw-public-shell .public-document-price{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
.sgw-public-shell .public-document-price div{padding:16px;border:1px solid #dce6ec;border-radius:13px;background:#f8fbfd}
.sgw-public-shell .public-document-price div:first-child{grid-column:1/-1;background:#edf4ff;border-color:#cfdef1}
.sgw-public-shell .public-document-price span,
.sgw-public-shell .public-document-price strong{display:block}
.sgw-public-shell .public-document-price span{color:#71828e;font-size:10px}
.sgw-public-shell .public-document-price strong{margin-top:5px;color:#19364b;font-size:15px}
.sgw-public-shell .public-document-note{margin-top:20px;padding:16px;border-left:3px solid var(--public-blue);border-radius:0 11px 11px 0;background:#eef5ff;color:#35546a;font-size:12px;line-height:1.65}
.sgw-public-shell .public-requisites{display:grid;gap:0;margin:0}
.sgw-public-shell .public-requisites>div{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;padding:13px 0;border-bottom:1px solid #e6edf1}
.sgw-public-shell .public-requisites>div:last-child{border-bottom:0}
.sgw-public-shell .public-requisites dt{color:#748692;font-size:12px}
.sgw-public-shell .public-requisites dd{margin:0;color:#294457;font-size:13px;font-weight:650;overflow-wrap:anywhere}
.sgw-public-shell .public-document-links-card{display:grid}
.sgw-public-shell .public-document-links-card>a{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid #e4ebef;text-decoration:none;font-weight:700}
.sgw-public-shell .public-document-links-card>a span{font-size:18px}
.sgw-public-shell .public-document-footer .public-footer-links{max-width:490px;justify-content:flex-end}

.public-settings-card{margin-top:14px}
.public-settings-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.public-settings-notice{display:grid;gap:3px;margin-bottom:16px;padding:12px 14px;border:1px solid #cbdcf0;border-radius:11px;background:#eef5ff;color:#244f7f}
.public-settings-notice strong{font-size:10px}
.public-settings-notice span{font-size:9px;line-height:1.5}
.public-settings-form textarea{width:100%;resize:vertical}
.public-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.public-settings-footer strong,
.public-settings-footer span{display:block}
.public-settings-footer strong{font-size:11px}
.public-settings-footer span{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.5}
.public-document-preview-links{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}

@media(max-width:1080px){
  .sgw-public-shell .public-document-nav{display:none}
  .sgw-public-shell .public-document-layout{grid-template-columns:1fr}
  .sgw-public-shell .public-document-aside{position:static}
  .sgw-public-shell .public-document-aside nav{display:flex;flex-wrap:wrap}
  .sgw-public-shell .public-document-card{width:100%}
}
@media(max-width:720px){
  .sgw-public-shell .public-document-main{padding:35px 0 58px}
  .sgw-public-shell .public-document-card{padding:35px 24px;border-radius:20px}
  .sgw-public-shell .public-document-title h1{font-size:36px}
  .sgw-public-shell .public-document-section{padding:27px 0}
  .sgw-public-shell .public-document-price{grid-template-columns:1fr}
  .sgw-public-shell .public-document-price div:first-child{grid-column:auto}
  .sgw-public-shell .public-requisites>div{grid-template-columns:1fr;gap:5px}
  .sgw-public-shell .public-document-footer .public-footer-links{justify-content:flex-start}
  .public-settings-footer{align-items:flex-start;flex-direction:column}
  .public-document-preview-links{justify-content:flex-start}
}

/**
 * Файл: _payments.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_payments.less
 * Date: 2026-08-24
 */

.payment-settings-card{margin-top:14px}
.payment-settings-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.payment-settings-notice{display:grid;gap:3px;margin-bottom:16px;padding:12px 14px;border:1px solid #e2c988;border-radius:11px;background:#fff8e9;color:#7e5c12}
.payment-settings-notice strong{font-size:10px}
.payment-settings-notice span{font-size:9px;line-height:1.5}
.payment-settings-form input[readonly]{background:#f7f9fc;color:#506176}
.payment-settings-status{margin-top:18px;padding-top:4px}
#paymentReceiptNotice{margin-top:18px}
#paymentProductionGuard{padding:12px 14px;border:1px solid #e9b7b7;border-radius:11px;background:#fff5f5}
.payment-settings-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}

.client-balance .amount.is-period{font-size:35px}
.payment-topup-summary{display:grid;gap:4px;padding:13px 14px;border:1px solid #cfdbe8;border-radius:12px;background:#f7faff}
.payment-topup-summary strong{font-size:13px;color:var(--text)}
.payment-topup-summary span{font-size:10px;line-height:1.5;color:var(--muted)}
.payment-amount-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.payment-amount-option{display:grid;gap:4px;min-height:66px;padding:10px;border:1px solid #cbd8e5;border-radius:11px;background:#fff;color:var(--text);text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.payment-amount-option:hover,.payment-amount-option:focus-visible{border-color:var(--accent);background:#f3f7ff;outline:none;transform:translateY(-1px)}
.payment-amount-option span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.payment-amount-option strong{font-size:15px}
.payment-custom-amount{margin-top:14px}
.payment-topup-hint,.payment-topup-pending{margin-top:10px;padding:10px 12px;border-radius:10px;background:#f3f6fa;color:var(--muted);font-size:10px;line-height:1.5}
.payment-topup-pending{border:1px solid #e4cf8e;background:#fff8e7;color:#775b18}
.payment-topup-pending:empty{display:none}

@media (max-width:720px){
  .payment-settings-footer{align-items:stretch;flex-direction:column}
  .payment-settings-footer .btn{justify-content:center;width:100%}
  .payment-amount-options{grid-template-columns:1fr}
}
.client-balance #portalFinanceNote{
  font-size:15px;
  line-height:1.45;
  color:var(--muted);
  font-weight:500;
}

.test-payment-profile-row > div{display:flex;flex-direction:column;gap:3px}
.test-payment-profile-row small{font-size:10px;color:var(--muted)}
.test-billing-reset{justify-content:center}
.payment-fiscal-cycle{margin-top:18px;margin-bottom:0}
.payment-fiscal-tools{margin-top:10px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe;padding:12px}
.payment-fiscal-tools .payment-settings-status{margin-top:0;padding-top:0}
.payment-fiscal-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}
.payment-fiscal-row:last-child{border-bottom:0}
.payment-fiscal-row>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.payment-fiscal-row strong{font-size:12px;color:var(--text)}
.payment-fiscal-row span,.payment-fiscal-row small{font-size:10px;line-height:1.45;color:var(--muted)}
.payment-fiscal-row small{color:#9b4b4b}
.payment-fiscal-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.payment-fiscal-actions .btn{padding:7px 10px;font-size:10px}
.payment-fiscal-footer{margin-top:10px;padding-top:10px}

@media (max-width:720px){
  .payment-fiscal-row{align-items:flex-start;flex-direction:column}
  .payment-fiscal-actions{justify-content:flex-start;width:100%}
}
.payment-fiscal-settings-link{display:flex;align-items:center;justify-content:space-between;gap:18px}
.payment-fiscal-settings-link>div{display:flex;flex-direction:column;gap:4px}
.payment-fiscal-settings-link strong{font-size:12px;color:var(--text)}
.payment-fiscal-settings-link span{font-size:10px;line-height:1.5;color:var(--muted)}
.finance-fiscal-card{margin-top:14px}
.finance-fiscal-card .card-head p{margin-top:4px;font-size:10px;color:var(--muted)}
.finance-fiscal-filters{display:grid;grid-template-columns:minmax(280px,2fr) repeat(3,minmax(140px,1fr));gap:10px;align-items:end}
.finance-fiscal-filters .field{margin:0}
.finance-fiscal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.finance-fiscal-search-actions,.finance-fiscal-processing,.finance-fiscal-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.finance-fiscal-table-wrap table{min-width:1120px}
.finance-fiscal-table-wrap td{vertical-align:top}
.finance-fiscal-table-wrap td strong{font-size:11px}
.finance-fiscal-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px}
.finance-fiscal-pagination span{font-size:10px;color:var(--muted)}
.fiscal-error-text{max-width:240px;color:#9b4b4b}

@media (max-width:980px){
  .finance-fiscal-filters{grid-template-columns:1fr 1fr}
  .finance-fiscal-search{grid-column:1/-1}
}
@media (max-width:720px){
  .payment-fiscal-settings-link,.finance-fiscal-toolbar{align-items:stretch;flex-direction:column}
  .payment-fiscal-settings-link .btn,.finance-fiscal-search-actions .btn,.finance-fiscal-processing .btn{width:100%;justify-content:center}
  .finance-fiscal-filters{grid-template-columns:1fr}
  .finance-fiscal-search{grid-column:auto}
  .finance-fiscal-search-actions,.finance-fiscal-processing{display:grid;grid-template-columns:1fr}
  .finance-fiscal-pagination{justify-content:space-between}
}

/**
 * Файл: _account-closure.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_account-closure.less
 * Date: 2026-08-23
 */

.portal-close-account-trigger{border-color:#e6c2c2;color:#9c3737}
.portal-close-account-trigger:hover{border-color:#c95b5b;background:#fff4f4;color:#842b2b}
.portal-closure-banner{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:14px 16px;border:1px solid #b9d8c5;border-radius:13px;background:#f0faf4;color:#275f3b}
.portal-closure-banner[hidden]{display:none}
.portal-closure-banner.is-attention{border-color:#e7c978;background:#fff8e7;color:#755711}
.portal-closure-banner-icon{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:currentColor;color:#fff;font-size:13px;font-weight:800}
.portal-closure-banner>div:last-child{display:grid;gap:3px}
.portal-closure-banner strong{font-size:12px}
.portal-closure-banner p{margin:0;font-size:10px;line-height:1.5}
.portal-closure-banner span{font-size:9px;line-height:1.5;opacity:.86}
.portal-closure-preview{display:grid;gap:0;margin-bottom:14px;overflow:hidden;border:1px solid #d4dee9;border-radius:12px;background:#f8faff}
.portal-closure-summary-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;border-bottom:1px solid #e3eaf1}
.portal-closure-summary-row span{font-size:10px;color:var(--muted)}
.portal-closure-summary-row strong{font-size:11px;color:var(--text);text-align:right}
.portal-closure-refund-note{padding:12px 13px;font-size:10px;line-height:1.55;color:#42556a}
.portal-closure-safety{display:grid;gap:7px;margin:14px 0;padding:13px 14px;border:1px solid #e5d39a;border-radius:12px;background:#fff9ea}
.portal-closure-safety strong{font-size:11px;color:#705312}
.portal-closure-safety span{position:relative;padding-left:16px;font-size:9px;line-height:1.45;color:#705f38}
.portal-closure-safety span:before{position:absolute;left:0;content:'✓';font-weight:800;color:#398556}
.portal-closure-confirm-field input{text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.portal-closure-error{min-height:15px;margin-top:8px;color:#a23333;font-size:10px;line-height:1.4}
.portal-closure-blocked{display:grid;gap:5px;padding:14px;color:#8a3333;background:#fff5f5}
.portal-closure-blocked strong{font-size:11px}
.portal-closure-blocked span{font-size:10px;line-height:1.5}

@media (max-width:720px){
  .portal-close-account-trigger{order:3;width:100%;justify-content:center}
  .portal-closure-summary-row{align-items:flex-start;flex-direction:column;gap:3px}
  .portal-closure-summary-row strong{text-align:left}
}


/* ===== settings layout v0.1.50; source: assets/less/refinements/_settings-layout.less ===== */
/**
 * Файл: _settings-layout.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_settings-layout.less
 * Date: 2026-08-24
 *
 * Аккуратная компоновка системных настроек.
 * LESS является единственным источником этих стилей.
 */

/* Общая читаемость настроек. */
#view-settings .card-head{min-height:66px;padding:12px 20px}
#view-settings .card-head h3{font-size:15px}
#view-settings .card-head p{margin-top:4px;font-size:11px!important;line-height:1.45}
#view-settings .card-body{padding:20px}
#view-settings .field{align-content:start;gap:6px;min-width:0}
#view-settings .field label:not(.check-line){font-size:10px!important;line-height:1.35}
#view-settings .field input:not([type="checkbox"]),
#view-settings .field select,
#view-settings .field textarea{font-size:13px!important;min-width:0;width:100%}
#view-settings .field input:not([type="checkbox"]),
#view-settings .field select{height:44px}
#view-settings .field textarea{min-height:92px;padding:11px 12px;line-height:1.45}
#view-settings .helper{font-size:10px!important;line-height:1.5}

/* Нормальный checkbox вместо растянутого input из общей формы. */
#view-settings .check-line{
  display:flex;
  align-items:flex-start;
  gap:10px;
  width:100%;
  min-height:44px;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f8fafc;
  color:var(--text)!important;
  font-size:11px!important;
  font-weight:650;
  line-height:1.45;
  text-transform:none!important;
  letter-spacing:0!important;
  cursor:pointer;
}
#view-settings .check-line input[type="checkbox"]{
  appearance:auto;
  -webkit-appearance:checkbox;
  flex:0 0 auto;
  width:18px!important;
  height:18px!important;
  min-width:18px;
  margin:0;
  padding:0!important;
  border:0;
  border-radius:4px;
  background:transparent;
  accent-color:var(--accent);
}
#view-settings .check-line + .helper{margin:0 3px 0 29px}
#view-settings #paymentProductionGuard{padding:0;border:0;background:transparent}
#view-settings #paymentProductionGuard .check-line{border-color:#efc2c2;background:#fff7f7;color:#8a3535!important}
#view-settings #paymentProductionWebhookGuard .check-line{border-color:#cbdcf0;background:#f5f9ff}

/* VPS Provider: главный блок + компактный статус справа. */
#view-settings .provider-settings-grid{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(320px,.7fr);
  gap:16px;
  align-items:start;
}
#view-settings .provider-settings-card .form-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
}
#view-settings .provider-status-card .card-body{padding-top:10px}
#view-settings .provider-status-card .money-row{padding:11px 0}
#view-settings .provider-status-card .provider-preflight-result{margin-top:14px}

/* Подтверждённый профиль: всегда 3 нормальные колонки, без посимвольных переносов. */
#view-settings .provider-checklist{
  display:grid;
  grid-template-columns:repeat(3,minmax(260px,1fr));
  gap:12px;
  align-items:stretch;
}
#view-settings .provider-checklist>div{
  min-width:0;
  min-height:94px;
  grid-template-columns:36px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:5px 11px;
  padding:15px 16px;
  align-content:center;
  align-items:center;
}
#view-settings .provider-checklist>div>span{
  grid-row:1/3;
  width:36px;
  height:36px;
}
#view-settings .provider-checklist strong{
  min-width:0;
  font-size:12px;
  line-height:1.35;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
}
#view-settings .provider-checklist small{
  display:block;
  min-width:0;
  font-size:10px;
  line-height:1.45;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
}
#view-settings .provider-checklist>div:last-child{
  grid-column:1/-1;
  min-height:72px;
  grid-template-columns:36px max-content minmax(0,1fr);
  grid-template-rows:auto;
  align-items:center;
}
#view-settings .provider-checklist>div:last-child>span{grid-row:auto}
#view-settings .provider-checklist>div:last-child small{margin-left:8px}

/* ЮKassa: основные реквизиты в одной компактной строке, служебные поля ниже. */
#view-settings .payment-settings-form{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px 16px;
}
#view-settings .payment-settings-form .field.full{grid-column:1/-1}
#view-settings .payment-settings-notice{padding:14px 16px;margin-bottom:18px}
#view-settings .payment-settings-notice strong{font-size:12px}
#view-settings .payment-settings-notice span{font-size:10px;line-height:1.55}
#view-settings .payment-settings-status{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:22px;
  margin-top:18px;
  padding:2px 16px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fbfcfe;
}
#view-settings .payment-settings-status .money-row{padding:11px 0}
#view-settings .payment-settings-status .provider-preflight-result{grid-column:1/-1;margin-top:12px}
#view-settings .payment-settings-footer{margin-top:20px}

/* Публичные реквизиты: компактная центрированная двухколоночная форма. */
#view-settings .public-settings-card .card-body{padding:22px 24px 24px}
#view-settings .public-settings-notice,
#view-settings .public-settings-form,
#view-settings .public-settings-footer{
  width:100%;
  max-width:1380px;
  margin-left:auto;
  margin-right:auto;
}
#view-settings .public-settings-notice{
  padding:14px 16px;
  margin-bottom:18px;
}
#view-settings .public-settings-notice strong{font-size:12px}
#view-settings .public-settings-notice span{font-size:10px;line-height:1.55}
#view-settings .public-settings-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 18px;
  align-items:start;
}
#view-settings .public-settings-form .field{grid-column:auto!important}
#view-settings .public-settings-form .public-company-field,
#view-settings .public-settings-form .public-service-name-field,
#view-settings .public-settings-form .public-service-description-field{
  grid-column:1/-1!important;
}
#view-settings .public-settings-form textarea{min-height:108px}
#view-settings .public-settings-form .public-service-description-field textarea{min-height:128px}
#view-settings .public-settings-footer{
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

@media(max-width:1180px){
  #view-settings .provider-settings-grid{grid-template-columns:1fr}
  #view-settings .payment-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  #view-settings .payment-settings-form .field.full{grid-column:1/-1}
  #view-settings .provider-checklist{grid-template-columns:repeat(2,minmax(260px,1fr))}
  #view-settings .provider-checklist>div:last-child{grid-column:1/-1}
}

@media(max-width:760px){
  #view-settings .card-head{align-items:flex-start;flex-direction:column}
  #view-settings .card-head .right{margin-left:0}
  #view-settings .provider-settings-card .form-grid,
  #view-settings .payment-settings-form,
  #view-settings .public-settings-form,
  #view-settings .provider-checklist,
  #view-settings .payment-settings-status{grid-template-columns:1fr}
  #view-settings .field.full,
  #view-settings .payment-settings-form .field.full,
  #view-settings .public-settings-form .field,
  #view-settings .provider-checklist>div:last-child,
  #view-settings .payment-settings-status .provider-preflight-result{grid-column:auto!important}
  #view-settings .provider-checklist>div:last-child{
    grid-template-columns:36px minmax(0,1fr);
    grid-template-rows:auto auto;
  }
  #view-settings .provider-checklist>div:last-child>span{grid-row:1/3}
  #view-settings .provider-checklist>div:last-child small{margin-left:0}
  #view-settings .check-line + .helper{margin-left:0}
  #view-settings .public-settings-card .card-body{padding:18px}
}

.service-rkn-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field .service-rkn-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(67, 123, 201, .24);
  border-radius: 8px;
  background: rgba(67, 123, 201, .07);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease;
}

.field .service-rkn-link:hover {
  background: rgba(67, 123, 201, .12);
  border-color: rgba(67, 123, 201, .4);
}

.service-rkn-help {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .service-rkn-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* v0.1.51 service inheritance / RKN metadata */
.service-access-source {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.service-inherit-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.service-rkn-current {
  margin-bottom: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(248, 251, 255, 0.8);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.service-rkn-card-state {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 760px) {
  .service-access-source {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }
}

/* ==========================================================================\n   PREPROS-SAFE FINAL LAYOUT\n   These rules intentionally use flexbox instead of outer CSS Grid.\n   Keep this block at the very end of main.less/main.css.\n   ========================================================================== */

/* Settings: provider cards without fragile outer grid. */
#view-settings .provider-settings-grid{
  display:flex!important;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:16px;
}
#view-settings .provider-settings-grid>.provider-settings-card{
  flex:1 1 720px;
  min-width:0;
}
#view-settings .provider-settings-grid>.provider-status-card{
  flex:0 1 380px;
  min-width:320px;
}
#view-settings .provider-settings-card .form-grid{
  display:flex!important;
  flex-wrap:wrap;
  gap:14px 16px;
}
#view-settings .provider-settings-card .form-grid>.field{
  flex:1 1 46%;
  min-width:260px;
}
#view-settings .provider-settings-card .form-grid>.field.full{
  flex:1 1 100%;
  min-width:100%;
}

/* Confirmed VDSina profile: 3 cards per row + final full-width lifecycle card. */
#view-settings .provider-checklist{
  display:flex!important;
  flex-wrap:wrap;
  align-items:stretch;
  gap:12px;
}
#view-settings .provider-checklist>div{
  flex:1 1 31%;
  min-width:280px;
  min-height:106px;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:12px;
  row-gap:5px;
  align-content:center;
  align-items:center;
  padding:15px 16px;
}
#view-settings .provider-checklist>div>span{
  grid-column:1;
  grid-row:1/3;
  width:36px;
  height:36px;
}
#view-settings .provider-checklist>div>strong,
#view-settings .provider-checklist>div>small{
  grid-column:2;
  min-width:0;
  width:auto;
  margin:0;
  white-space:normal;
  word-break:normal;
  overflow-wrap:break-word;
}
#view-settings .provider-checklist>div>strong{
  grid-row:1;
  font-size:12px;
  line-height:1.35;
}
#view-settings .provider-checklist>div>small{
  grid-row:2;
  font-size:10px;
  line-height:1.45;
}
#view-settings .provider-checklist>div:last-child{
  flex:1 1 100%;
  min-width:100%;
  min-height:76px;
  grid-template-columns:36px max-content minmax(0,1fr)!important;
  grid-template-rows:auto!important;
}
#view-settings .provider-checklist>div:last-child>span{
  grid-column:1;
  grid-row:1;
}
#view-settings .provider-checklist>div:last-child>strong{
  grid-column:2;
  grid-row:1;
  white-space:nowrap;
}
#view-settings .provider-checklist>div:last-child>small{
  grid-column:3;
  grid-row:1;
  margin-left:8px;
}

/* YooKassa forms: flex-wrap so Prepros output does not depend on grid placement. */
#view-settings .payment-settings-form{
  display:flex!important;
  flex-wrap:wrap;
  gap:14px 16px;
}
#view-settings .payment-settings-form>.field{
  flex:1 1 30%;
  min-width:260px;
}
#view-settings .payment-settings-form>.field.full{
  flex:1 1 100%;
  min-width:100%;
}
#view-settings .payment-settings-status{
  display:flex!important;
  flex-wrap:wrap;
  gap:0 22px;
}
#view-settings .payment-settings-status>.money-row{
  flex:1 1 46%;
  min-width:280px;
}
#view-settings .payment-settings-status>.provider-preflight-result{
  flex:1 1 100%;
  min-width:100%;
}

/* Public settings: fixed two-column flex form, full-width semantic fields. */
#view-settings .public-settings-notice,
#view-settings .public-settings-form,
#view-settings .public-settings-footer{
  width:100%;
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
#view-settings .public-settings-form{
  display:flex!important;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:16px 18px;
}
#view-settings .public-settings-form>.field{
  flex:1 1 48%;
  min-width:320px;
  width:auto!important;
}
#view-settings .public-settings-form>.field.full,
#view-settings .public-settings-form>.public-company-field,
#view-settings .public-settings-form>.public-service-name-field,
#view-settings .public-settings-form>.public-service-description-field{
  flex:1 1 100%;
  min-width:100%;
  width:100%!important;
}
#view-settings .public-settings-form>.public-legal-address-field,
#view-settings .public-settings-form>.public-postal-address-field{
  align-self:stretch;
}
#view-settings .public-settings-form>.public-legal-address-field textarea,
#view-settings .public-settings-form>.public-postal-address-field textarea{
  min-height:108px;
  height:108px;
}
#view-settings .public-settings-form>.public-service-description-field textarea{
  min-height:128px;
}

/* Service editor: stable two-column flex form. Prevent labels/RKN controls from overlapping. */
#modal-serviceEditor .modal{
  width:min(760px,calc(100vw - 32px))!important;
}
#modal-serviceEditor .modal-body>.form-grid{
  display:flex!important;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:14px 16px;
}
#modal-serviceEditor .modal-body>.form-grid>.field{
  flex:1 1 46%;
  min-width:260px;
  width:auto!important;
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  gap:6px;
}
#modal-serviceEditor .modal-body>.form-grid>.field.full,
#modal-serviceEditor .modal-body>.form-grid>.service-rkn-result-field{
  flex:1 1 100%;
  min-width:100%;
  width:100%!important;
}
#modal-serviceEditor .service-rkn-label-row{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-width:0;
}
#modal-serviceEditor .service-rkn-label-row>label{
  flex:1 1 auto;
  min-width:0;
  margin:0;
}
#modal-serviceEditor .service-rkn-link{
  flex:0 0 auto;
}
#modal-serviceEditor .service-rkn-current{
  width:100%;
  margin:0 0 6px;
}
#modal-serviceEditor .service-rkn-result-field>label{
  margin:0;
}
#modal-serviceEditor .service-rkn-help{
  width:100%;
  margin-top:0;
}

@media(max-width:1180px){
  #view-settings .provider-checklist>div{flex-basis:46%;}
  #view-settings .payment-settings-form>.field{flex-basis:46%;}
}

@media(max-width:760px){
  #view-settings .provider-settings-grid>.provider-status-card,
  #view-settings .provider-settings-card .form-grid>.field,
  #view-settings .provider-checklist>div,
  #view-settings .payment-settings-form>.field,
  #view-settings .payment-settings-status>.money-row,
  #view-settings .public-settings-form>.field,
  #modal-serviceEditor .modal-body>.form-grid>.field{
    flex:1 1 100%;
    min-width:100%;
  }
  #view-settings .provider-checklist>div:last-child{
    grid-template-columns:36px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
  }
  #view-settings .provider-checklist>div:last-child>span{
    grid-column:1;
    grid-row:1/3;
  }
  #view-settings .provider-checklist>div:last-child>strong{
    grid-column:2;
    grid-row:1;
    white-space:normal;
  }
  #view-settings .provider-checklist>div:last-child>small{
    grid-column:2;
    grid-row:2;
    margin-left:0;
  }
  #modal-serviceEditor .service-rkn-label-row{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* ==========================================================================
   ANDROID GUIDED SETUP v0.1.61
   Source of truth: main.less. This block is emitted into main.css by build.
   ========================================================================== */
.android-setup-page{min-height:100vh;background:var(--bg);}
.android-setup-topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px clamp(18px,4vw,48px);border-bottom:1px solid var(--line);background:rgba(255,255,255,.9);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20;}
.android-setup-brand{display:flex;align-items:center;gap:12px;min-width:0;}
.android-setup-brand .brand-mark{flex:0 0 42px;}
.android-setup-brand>span:last-child{min-width:0;}
.android-setup-brand strong{display:block;font-size:16px;letter-spacing:-.02em;}
.android-setup-brand small{display:block;margin-top:2px;color:var(--muted2);font-size:12px;letter-spacing:.04em;text-transform:uppercase;}
.android-setup-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;white-space:nowrap;}
.android-setup-back-icon{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;}
.android-setup-back-icon svg{display:block;width:18px;height:18px;}
.android-setup-main{width:min(1080px,calc(100% - 32px));margin:0 auto;padding:50px 0 64px;}
.android-setup-hero{text-align:center;max-width:760px;margin:0 auto 26px;}
.android-setup-time{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border-radius:999px;background:var(--accentSoft);color:var(--accent2);font-weight:700;font-size:12px;letter-spacing:.02em;}
.android-setup-hero h1{margin:16px 0 10px;font-size:clamp(30px,5vw,44px);line-height:1.08;letter-spacing:-.035em;}
.android-setup-hero>p{margin:0 auto;color:var(--muted);font-size:17px;line-height:1.65;}
.android-device-chip{margin:18px auto 0;width:max-content;max-width:100%;display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(24,43,64,.06);text-align:left;}
.android-device-chip-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--accentSoft);color:var(--accent2);}
.android-device-chip-icon svg{width:20px;height:20px;}
.android-device-chip strong,.android-device-chip small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.android-device-chip strong{font-size:14px;}
.android-device-chip small{margin-top:2px;color:var(--muted2);font-size:11px;}
.android-setup-alert{margin:0 auto 22px;max-width:760px;padding:13px 16px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--muted);text-align:center;font-size:14px;line-height:1.5;}
.android-setup-alert[hidden]{display:none;}
.android-setup-alert.is-success{border-color:rgba(95,135,198,.34);background:var(--accentSoft);color:var(--accent2);}
.android-setup-alert.is-error{border-color:rgba(204,109,119,.34);background:var(--dangerSoft);color:var(--danger);}
.android-setup-flow{display:grid;gap:18px;}
.android-setup-flow[hidden]{display:none!important;}
.android-setup-primary-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch;}
.android-setup-step{display:grid;grid-template-columns:46px minmax(0,1fr);gap:18px;padding:26px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(24,43,64,.06);}
.android-setup-primary-steps>.android-setup-step{height:100%;}
.android-step-number{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:var(--accentSoft);color:var(--accent2);font-size:18px;font-weight:800;}
.android-step-content{min-width:0;}
.android-step-content h2{margin:2px 0 8px;font-size:22px;letter-spacing:-.02em;}
.android-step-content>p{margin:0;color:var(--muted);line-height:1.65;}
.android-setup-step.is-profile-step{border-color:rgba(95,135,198,.24);}
.android-setup-step.is-final{box-shadow:none;background:var(--panel2);}
.android-qr-card{width:min(310px,100%);margin:22px auto 0;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--panel2);text-align:center;}
.android-qr{width:100%;aspect-ratio:1;display:grid;place-items:center;padding:8px;border-radius:14px;background:#fff;overflow:hidden;}
.android-qr .sgw-qr-svg{display:block;width:100%;height:100%;shape-rendering:crispEdges;}
.android-qr-card strong{display:block;margin-top:13px;font-size:15px;}
.android-qr-card span{display:block;margin-top:3px;color:var(--muted2);font-size:12px;line-height:1.45;}
.android-qr-card.is-profile{border-color:rgba(95,135,198,.28);background:var(--accentSoft);}
.android-private-note{display:flex;align-items:flex-start;gap:9px;margin:16px auto 0;width:min(360px,100%);padding:11px 12px;border-radius:12px;background:var(--panel2);color:var(--muted2);font-size:12px;line-height:1.5;}
.android-private-note>span{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--accentSoft);color:var(--accent2);font-weight:800;}
.android-private-note p{margin:1px 0 0;}
.android-install-fallback{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;}
.android-install-fallback summary{cursor:pointer;list-style:none;color:var(--accent2);font-size:13px;font-weight:700;text-align:center;}
.android-install-fallback summary::-webkit-details-marker{display:none;}
.android-install-fallback summary::after{content:' ↓';font-weight:500;}
.android-install-fallback[open] summary::after{content:' ↑';}
.android-install-fallback-body{padding-top:10px;text-align:center;}
.android-install-fallback-body>p{margin:0;color:var(--muted2);font-size:12px;line-height:1.5;}
.android-alt-links{margin-top:9px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;}
.android-alt-links a{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--accent2);font-size:12px;font-weight:700;}
.android-setup-action{margin-top:18px;min-width:240px;justify-content:center;}
.android-step-hint{margin-top:11px!important;color:var(--muted2)!important;font-size:12px;line-height:1.5!important;}
.android-setup-footer-actions{display:flex;justify-content:center;margin-top:24px;}
.android-setup-footer-actions[hidden]{display:none;}
.android-setup-flow.is-mobile{max-width:720px;margin:0 auto;}
.android-setup-flow.is-mobile .android-setup-step{padding:22px;}

@media(max-width:900px){
  .android-setup-primary-steps{grid-template-columns:1fr;}
}

@media(max-width:720px){
  .android-setup-topbar{position:static;padding:12px 16px;}
  .android-setup-back{width:44px;height:44px;padding:0;border-radius:13px;}
  .android-setup-back-label{display:none;}
  .android-setup-back-icon,.android-setup-back-icon svg{width:22px;height:22px;}
  .android-setup-brand small{display:none;}
  .android-setup-main{width:min(100% - 24px,680px);padding:32px 0 48px;}
  .android-setup-hero{margin-bottom:20px;}
  .android-setup-hero h1{font-size:32px;}
  .android-setup-hero>p{font-size:15px;}
  .android-setup-step,.android-setup-flow.is-mobile .android-setup-step{grid-template-columns:38px minmax(0,1fr);gap:13px;padding:18px;}
  .android-step-number{width:38px;height:38px;border-radius:12px;font-size:15px;}
  .android-step-content h2{font-size:19px;}
  .android-step-content>p{font-size:14px;}
  .android-setup-action{width:100%;min-width:0;}
  .android-install-fallback summary{text-align:left;}
  .android-install-fallback-body{text-align:left;}
  .android-alt-links{justify-content:flex-start;}
}

@media(max-width:460px){
  .android-setup-brand .brand-mark{width:38px;height:38px;flex-basis:38px;}
  .android-setup-step,.android-setup-flow.is-mobile .android-setup-step{display:block;}
  .android-step-number{margin-bottom:13px;}
  .android-device-chip{width:100%;}
  .android-setup-footer-actions .btn{width:100%;justify-content:center;}
}

/* Registration v0.1.64 */
/**
 * Файл: _registration.less
 * Path: /wp-content/themes/sakhagateway/assets/less/refinements/_registration.less
 * Date: 2026-08-25
 */

.public-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.registration-site{
  min-height:100vh;
  background:#f6f8fb;
}

.registration-main{
  padding:64px 0 90px;
}

.registration-container{
  max-width:680px;
}

.registration-card{
  background:#fff;
  border:1px solid rgba(24,30,36,.09);
  border-radius:24px;
  box-shadow:0 22px 60px rgba(24,30,36,.08);
  padding:34px;
}

.registration-head h1,
.registration-state h1{
  margin:8px 0 10px;
  font-size:clamp(30px,5vw,44px);
  line-height:1.05;
  letter-spacing:-.03em;
}

.registration-head p,
.registration-state>p{
  margin:0;
  color:#68717b;
  font-size:16px;
  line-height:1.6;
}
.registration-tariff-picker{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}

.registration-tariff-picker legend{
  margin:0 0 10px;
  padding:0;
  color:#303841;
  font-size:13px;
  font-weight:700;
}

.registration-tariff-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.registration-tariff-option{
  position:relative;
  min-width:0;
  cursor:pointer;
}

.registration-tariff-option:only-child{
  grid-column:1/-1;
}

.registration-tariff-option>input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.registration-tariff-card{
  display:flex;
  min-height:154px;
  flex-direction:column;
  padding:17px;
  border:1px solid #dce1e6;
  border-radius:16px;
  background:#fff;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.registration-tariff-option:hover .registration-tariff-card{
  border-color:#a8b8c5;
}

.registration-tariff-option>input:checked + .registration-tariff-card{
  border-color:#2f6fdd;
  background:#f6f9ff;
  box-shadow:0 0 0 3px rgba(47,111,221,.11);
}

.registration-tariff-option>input:focus-visible + .registration-tariff-card{
  outline:3px solid rgba(47,111,221,.22);
  outline-offset:2px;
}

.registration-tariff-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.registration-tariff-card-head strong{
  color:#181e24;
  font-size:15px;
  line-height:1.35;
}

.registration-tariff-radio{
  position:relative;
  width:18px;
  height:18px;
  flex:0 0 18px;
  border:2px solid #aab4bd;
  border-radius:50%;
  background:#fff;
}

.registration-tariff-option>input:checked + .registration-tariff-card .registration-tariff-radio{
  border-color:#2f6fdd;
}

.registration-tariff-option>input:checked + .registration-tariff-card .registration-tariff-radio:after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  background:#2f6fdd;
}

.registration-tariff-price{
  display:block;
  margin-top:18px;
  color:#172333;
  font-size:20px;
  font-weight:800;
  line-height:1.25;
}

.registration-tariff-equivalent{
  display:block;
  margin-top:4px;
  color:#68717b;
  font-size:12px;
}

.registration-tariff-devices{
  display:block;
  margin-top:auto;
  padding-top:15px;
  color:#58616b;
  font-size:13px;
}

.registration-tariff{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:26px 0;
}

.registration-tariff>div{
  flex:1 1 30%;
  min-width:150px;
  padding:14px 15px;
  border-radius:14px;
  background:#f6f8fb;
}

.registration-tariff span,
.registration-tariff strong{
  display:block;
}

.registration-tariff span{
  margin-bottom:5px;
  color:#7d8690;
  font-size:12px;
}

.registration-tariff strong{
  color:#181e24;
  font-size:14px;
}

.registration-form{
  display:flex;
  flex-direction:column;
  gap:15px;
  margin-top:26px;
}

.registration-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.registration-field>span{
  font-size:13px;
  font-weight:700;
  color:#303841;
}

.registration-field input{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border:1px solid #dce1e6;
  border-radius:12px;
  background:#fff;
  color:#181e24;
  font:inherit;
  outline:none;
}

.registration-field input:focus{
  border-color:#73808d;
  box-shadow:0 0 0 3px rgba(71,87,101,.1);
}

.registration-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#58616b;
  font-size:13px;
  line-height:1.5;
}

.registration-check input{
  margin-top:3px;
}

.registration-check a,
.registration-login-note a{
  color:#1f5f8b;
  text-decoration:none;
}

.registration-check a:hover,
.registration-login-note a:hover{
  text-decoration:underline;
}

.registration-honeypot{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
}

.registration-message{
  min-height:20px;
  color:#59636d;
  font-size:13px;
  line-height:1.45;
}

.registration-message.is-error{
  color:#b42318;
}

.registration-message.is-success{
  color:#18794e;
}

.registration-submit{
  width:100%;
  justify-content:center;
  min-height:48px;
}

.registration-submit[disabled]{
  opacity:.55;
  cursor:not-allowed;
}

.registration-login-note{
  margin:20px 0 0;
  text-align:center;
  color:#727b85;
  font-size:13px;
}

.registration-state{
  text-align:center;
}

.registration-state-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  margin:0 auto 16px;
  border-radius:18px;
  background:#eef3f7;
  color:#27333d;
  font-size:25px;
  font-weight:800;
}

.registration-state .registration-form{
  text-align:left;
}

.registration-state>.registration-submit{
  margin-top:26px;
}

.registration-loader{
  width:42px;
  height:42px;
  margin:0 auto 20px;
  border:4px solid #e4e9ed;
  border-top-color:#27333d;
  border-radius:50%;
  animation:sgw-registration-spin .8s linear infinite;
}

@keyframes sgw-registration-spin{
  to{transform:rotate(360deg)}
}

@media(max-width:720px){
  .public-header-actions .public-button-quiet{display:none}
  .registration-main{padding:28px 0 58px}
  .registration-card{padding:24px 20px;border-radius:20px}
  .registration-tariff-options{grid-template-columns:1fr}
  .registration-tariff>div{flex:1 1 100%}
}

.portal-onboarding-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:0 0 18px;
  padding:18px 20px;
  border:1px solid rgba(42,91,124,.16);
  border-radius:16px;
  background:#f4f8fb;
}

.portal-onboarding-banner[hidden]{display:none}
.portal-onboarding-banner strong{display:block;margin-bottom:5px;font-size:15px;color:#1d2a33}
.portal-onboarding-banner p{margin:0;color:#5f6b75;font-size:13px;line-height:1.5}
.portal-onboarding-banner .btn{flex:0 0 auto}

@media(max-width:720px){
  .portal-onboarding-banner{align-items:stretch;flex-direction:column}
  .portal-onboarding-banner .btn{width:100%;justify-content:center}
}

/* ==========================================================================
   TARIFF EDITOR — PREPROS-SAFE LAYOUT v0.1.67
   Source of truth: main.less. Keep the generated main.css synchronized.
   The editor uses flex-wrap here so recompiling in Prepros cannot restore the
   generic two-column .form-grid and break the intended tariff layout.
   ========================================================================== */
#modal-tariffEditor .modal{
  width:min(900px,calc(100vw - 32px))!important;
}
#modal-tariffEditor .modal-body>.form-grid{
  display:flex!important;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:14px 16px;
}
#modal-tariffEditor .modal-body>.form-grid>.field{
  flex:1 1 calc(33.333% - 11px);
  min-width:200px;
  width:auto!important;
}
#modal-tariffEditor .modal-body>.form-grid>.field.full{
  flex:1 1 100%;
  min-width:100%;
  width:100%!important;
}
#modal-tariffEditor #tariffPeriodTotalHint{
  flex:2 1 calc(66.666% - 8px);
  min-width:420px;
  min-height:72px;
  display:flex!important;
  align-items:center;
  padding:14px 16px;
  line-height:1.5;
}
#modal-tariffEditor .tariff-public-field{
  padding-top:2px;
}
#modal-tariffEditor .tariff-public-field .helper{
  margin-left:25px;
}

@media(max-width:820px){
  #modal-tariffEditor .modal-body>.form-grid>.field{
    flex:1 1 calc(50% - 8px);
    min-width:220px;
  }
  #modal-tariffEditor #tariffPeriodTotalHint,
  #modal-tariffEditor .modal-body>.form-grid>.field.full{
    flex:1 1 100%;
    min-width:100%;
  }
}

@media(max-width:620px){
  #modal-tariffEditor .modal{
    width:min(100% - 20px,900px)!important;
  }
  #modal-tariffEditor .modal-body>.form-grid>.field,
  #modal-tariffEditor #tariffPeriodTotalHint{
    flex:1 1 100%;
    min-width:100%;
  }
  #modal-tariffEditor .tariff-public-field .helper{
    margin-left:0;
  }
}

