:root{--cl-navy:#0b1f3a;--cl-navy-2:#102b50;--cl-orange:#ff7900;--cl-orange-soft:#fff3e8;--cl-line:#dfe6ef;--cl-muted:#64748b;--cl-bg:#f6f8fb;--cl-green:#168a54;--cl-red:#c43d3d;--cl-yellow:#a36200}
.cl-page-hero{padding-bottom:46px}
.cl-hero-badges{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px}.cl-hero-badges span{display:inline-flex;align-items:center;gap:7px;padding:0;background:transparent;border:0;border-radius:0;font-size:14px;font-weight:700;color:#fff}
.cl-tool-section{padding:54px 0 72px;background:linear-gradient(180deg,#f6f8fb 0,#fff 100%)}.cl-tool-shell{max-width:1320px;margin:0 auto}.cl-config-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:18px;align-items:stretch}
.cl-panel{background:#fff;border:1px solid var(--cl-line);border-radius:18px;padding:20px;box-shadow:0 12px 32px rgba(11,31,58,.06)}.cl-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.cl-panel-head>div{display:flex;align-items:center;gap:10px}.cl-panel-head h2{font-size:20px;line-height:1.2;margin:0;color:var(--cl-navy)}.cl-step{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--cl-orange);color:#fff;font-size:12px;font-weight:900}.cl-panel-note{font-size:12px;color:var(--cl-muted);text-align:right;padding-top:6px}
.cl-fields-2,.cl-fields-3{display:grid;gap:12px}.cl-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cl-fields-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-field{display:grid;gap:6px;min-width:0}.cl-field-wide{margin-bottom:13px}.cl-field>span{font-size:12px;font-weight:800;color:#475569}.cl-field small{font-weight:500;color:#94a3b8}.cl-field input,.cl-field select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cfd8e5;border-radius:10px;background:#fff;color:#172033;padding:11px 12px;font:inherit;font-size:14px;outline:0;transition:border-color .15s,box-shadow .15s}.cl-field input:focus,.cl-field select:focus{border-color:var(--cl-orange);box-shadow:0 0 0 3px rgba(255,121,0,.12)}.cl-help{font-size:12px;line-height:1.55;color:var(--cl-muted);margin:12px 0 0}
.cl-cargo-card{border:1px solid var(--cl-line);border-radius:13px;padding:13px;margin-bottom:12px}.cl-cargo-card:last-child{margin-bottom:0}.cl-cargo-title{display:flex;align-items:center;gap:8px;margin-bottom:11px}.cl-cargo-title strong{font-size:14px;color:var(--cl-navy)}.cl-cargo-title small{margin-left:auto;color:var(--cl-muted);font-size:12px}.cl-cargo-dot{width:10px;height:10px;border-radius:3px}.cl-euro-card .cl-cargo-dot{background:#ff9b38}.cl-fin-card .cl-cargo-dot{background:#2f80c9}
.cl-primary-actions{display:flex;align-items:center;gap:18px;margin-top:18px;padding:18px 20px;border-radius:16px;background:var(--cl-navy);color:#dce6f4}.cl-primary-actions span{font-size:13px}.cl-main-btn{border:0;white-space:nowrap}
.cl-editor{margin-top:26px;background:#fff;border:1px solid var(--cl-line);border-radius:20px;padding:22px;box-shadow:0 18px 50px rgba(11,31,58,.08)}.cl-result-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}.cl-result-head h2{margin:2px 0 0;font-size:28px;color:var(--cl-navy)}.cl-status{padding:9px 13px;border-radius:999px;background:#eef2f7;color:#516074;font-size:13px;font-weight:800}.cl-status[data-state="ok"]{background:#eaf8f1;color:var(--cl-green)}.cl-status[data-state="warn"]{background:#fff5df;color:var(--cl-yellow)}.cl-status[data-state="bad"]{background:#feeeee;color:var(--cl-red)}
.cl-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:15px 0}.cl-stat{background:var(--cl-bg);border:1px solid #e7edf4;border-radius:12px;padding:12px 13px}.cl-stat span{display:block;color:var(--cl-muted);font-size:11px;font-weight:700;margin-bottom:5px}.cl-stat strong{font-size:18px;color:var(--cl-navy)}
.cl-editor-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 20px}.cl-action{border:1px solid #d8e0eb;border-radius:10px;background:#fff;color:#24354c;font-weight:800;font-size:13px;padding:10px 13px;cursor:pointer}.cl-action:hover{border-color:#aebdce;background:#f8fafc}.cl-action-primary{background:var(--cl-orange-soft);color:#b65300;border-color:#ffd2aa}
.cl-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}.cl-palette{border:1px solid var(--cl-line);border-radius:15px;background:#f8fafc;padding:14px}.cl-palette-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:11px}.cl-palette-head h3{font-size:16px;margin:0;color:var(--cl-navy)}.cl-palette-head span{font-size:10px;color:var(--cl-muted);text-align:right}.cl-palette-row{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;background:#fff;border:1px solid #e0e7ef;border-radius:12px;padding:9px;margin-bottom:8px;cursor:grab;touch-action:none}.cl-palette-row:active{cursor:grabbing}.cl-palette-swatch{width:34px;height:34px;border-radius:8px;border:2px solid rgba(0,0,0,.15);background:#ffb45f}.cl-palette-row[data-type="fin"] .cl-palette-swatch{background:#7db8e7}.cl-palette-row[data-type="custom"] .cl-palette-swatch{background:#c794d5}.cl-palette-meta strong{display:block;font-size:12px;color:#172033}.cl-palette-meta span{display:block;font-size:10px;color:var(--cl-muted);margin-top:2px}.cl-palette-add{width:34px;height:34px;border-radius:9px;border:0;background:var(--cl-navy);color:#fff;font-size:20px;line-height:1;cursor:pointer}.cl-palette-add:disabled{opacity:.35;cursor:not-allowed}.cl-palette-tip{font-size:11px;line-height:1.45;color:var(--cl-muted);padding:8px 4px 1px}
.cl-container-zone{min-width:0}.cl-hints{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.cl-hints span{font-size:11px;color:#5a6779;background:#fff8ec;border:1px solid #ffe0b9;border-radius:999px;padding:7px 10px}.cl-scroll{overflow:auto;padding:30px 18px 40px;border:1px solid #e0e7ef;border-radius:15px;background:linear-gradient(135deg,#f8fafc,#eef3f8)}.cl-container-wrap{position:relative;margin:0 auto;min-width:300px;width:min(100%,980px)}.cl-container{position:relative;width:100%;min-height:165px;background:#f5f0e8;border:5px solid var(--cl-navy);border-radius:8px;overflow:hidden;box-sizing:border-box;touch-action:none;box-shadow:inset 0 0 0 3px #e6a25b,0 12px 25px rgba(11,31,58,.12);background-image:linear-gradient(rgba(11,31,58,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(11,31,58,.08) 1px,transparent 1px);background-size:20px 20px}.cl-container::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0,transparent 28px,rgba(11,31,58,.035) 29px,rgba(11,31,58,.035) 31px);z-index:1}.cl-container::after{content:"ДВЕРИ";position:absolute;right:5px;top:50%;transform:translateY(-50%) rotate(90deg);font-size:9px;letter-spacing:.12em;font-weight:900;color:rgba(11,31,58,.45);z-index:2}.cl-dimension{position:absolute;color:#536175;font-size:11px;font-weight:800}.cl-dimension-length{left:0;right:0;bottom:-25px;text-align:center;border-top:1px solid #9aa8b9}.cl-dimension-length::before,.cl-dimension-length::after{content:"";position:absolute;top:-4px;width:1px;height:8px;background:#9aa8b9}.cl-dimension-length::before{left:0}.cl-dimension-length::after{right:0}.cl-dimension-width{top:0;bottom:0;left:-26px;width:18px;border-right:1px solid #9aa8b9}.cl-dimension-width span{position:absolute;top:50%;left:-23px;transform:rotate(-90deg) translateY(-50%);transform-origin:center;white-space:nowrap}.cl-warnings{margin-top:11px;border:1px solid #f5c9c9;background:#fff4f4;color:#8a3030;border-radius:12px;padding:11px 13px;font-size:12px;line-height:1.5}.cl-warnings ul{margin:5px 0 0;padding-left:18px}
.cl-item{position:absolute;z-index:4;display:flex;align-items:center;justify-content:center;border:2px solid rgba(0,0,0,.27);border-radius:4px;box-sizing:border-box;cursor:grab;user-select:none;touch-action:none;box-shadow:0 2px 5px rgba(0,0,0,.2);transition:box-shadow .15s}.cl-item:hover,.cl-item.cl-dragging{z-index:20;box-shadow:0 6px 16px rgba(0,0,0,.3)}.cl-item.cl-dragging{cursor:grabbing}.cl-item[data-type="euro"]{background:#ffb45f;border-color:#c56708}.cl-item[data-type="fin"]{background:#7db8e7;border-color:#286ca8}.cl-item[data-type="custom"]{background:#c794d5;border-color:#7c3e8e}.cl-item-label{font-size:10px;line-height:1.05;font-weight:900;color:rgba(0,0,0,.68);pointer-events:none;text-align:center}.cl-item-remove{position:absolute;right:-7px;top:-7px;width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.18);background:#fff;color:#25364c;font-size:13px;font-weight:900;line-height:15px;padding:0;cursor:pointer;z-index:5}.cl-item-height-bad{outline:3px solid rgba(196,61,61,.35);outline-offset:-3px}
.cl-info-section,.cl-how,.cl-seo-copy{padding-top:72px;padding-bottom:72px}.cl-table-wrap{overflow:auto;border:1px solid var(--cl-line);border-radius:15px;background:#fff}.cl-table{width:100%;border-collapse:collapse;min-width:680px}.cl-table th,.cl-table td{text-align:left;padding:14px 16px;border-bottom:1px solid #edf1f5}.cl-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#657386;background:#f8fafc}.cl-table td{font-size:14px;color:#27364a}.cl-table tbody tr:last-child td{border-bottom:0}.cl-table-note{font-size:12px;color:var(--cl-muted);margin:11px 2px 0}
@media(max-width:1100px){.cl-config-grid{grid-template-columns:1fr 1fr}.cl-config-grid>.cl-panel:last-child{grid-column:1/-1}.cl-stats{grid-template-columns:repeat(3,1fr)}.cl-workspace{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:780px){.cl-tool-section{padding:34px 0 52px}.cl-config-grid{grid-template-columns:1fr}.cl-config-grid>.cl-panel:last-child{grid-column:auto}.cl-panel{padding:16px;border-radius:15px}.cl-fields-3{grid-template-columns:1fr 1fr}.cl-primary-actions{align-items:stretch;flex-direction:column}.cl-main-btn{width:100%}.cl-editor{padding:14px}.cl-result-head{align-items:flex-start;flex-direction:column}.cl-result-head h2{font-size:23px}.cl-stats{grid-template-columns:1fr 1fr}.cl-workspace{grid-template-columns:1fr}.cl-palette{order:2}.cl-container-zone{order:1}.cl-hints span:nth-child(2){display:none}.cl-container-wrap{min-width:280px}.cl-scroll{padding-left:12px;padding-right:12px}.cl-dimension-width{display:none}.cl-item-label{font-size:8px}}
@media(max-width:480px){.cl-fields-2,.cl-fields-3{grid-template-columns:1fr 1fr}.cl-stats{grid-template-columns:1fr 1fr}.cl-stat:last-child{grid-column:1/-1}.cl-hero-badges span{font-size:12px}.cl-cargo-title{align-items:flex-start;flex-wrap:wrap}.cl-cargo-title small{width:100%;margin-left:18px}.cl-editor-actions{display:grid;grid-template-columns:1fr}.cl-action{width:100%}}
@media print{.topbar,.footer,.cl-config-grid,.cl-primary-actions,.cl-palette,.cl-editor-actions,.cl-hints,.final-cta,.faq-section,.cl-info-section,.cl-how,.cl-seo-copy{display:none!important}.cl-tool-section{padding:0;background:#fff}.cl-editor{display:block!important;border:0;box-shadow:none;padding:0}.cl-workspace{display:block}.cl-container-zone{width:100%}.cl-scroll{border:0;background:#fff;overflow:visible}.cl-container-wrap{width:100%!important}.cl-item-remove{display:none}.cl-page-hero{padding:0 0 15px}.cl-page-hero .kicker,.cl-page-hero p,.cl-hero-badges{display:none}.cl-page-hero h1{color:#000;font-size:24px}.cl-status{border:1px solid #ccc}.cl-stats{grid-template-columns:repeat(5,1fr)}}

/* =============================================================
   GruzoBot Container Loader v1.1 — mobile geometry/touch fix
   ============================================================= */
.cl-container {
    min-height: 0;
}

.cl-container-wrap {
    min-width: 0;
}

.cl-scroll {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
}

.cl-item-rotate,
.cl-item-remove {
    position: absolute;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.18);
    background: rgba(255,255,255,.94);
    color: #25364c;
    font-size: 15px;
    font-weight: 900;
    line-height: 18px;
    padding: 0;
    cursor: pointer;
    z-index: 8;
    touch-action: manipulation;
}
.cl-item-rotate { left: 2px; }
.cl-item-remove { right: 2px; }
.cl-item-rotate:active,
.cl-item-remove:active { transform: scale(.94); }

@media(max-width:780px) {
    .cl-scroll {
        padding: 18px 10px 34px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .cl-container-wrap {
        margin-left: 0;
        margin-right: 0;
    }

    .cl-container {
        min-height: 0;
        max-width: none;
    }

    .cl-hints {
        gap: 6px;
    }
    .cl-hints span,
    .cl-hints span:nth-child(2) {
        display: inline-flex;
        font-size: 10px;
        padding: 6px 8px;
    }

    .cl-item-rotate,
    .cl-item-remove {
        width: 24px;
        height: 24px;
        font-size: 16px;
        line-height: 20px;
    }

    .cl-item-label {
        font-size: 8px;
        padding-top: 20px;
    }

    .cl-palette-row {
        touch-action: manipulation;
        cursor: default;
    }

    .cl-palette-add {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
}

@media(max-width:480px) {
    .cl-editor { padding: 10px; }
    .cl-scroll { margin-left: -2px; margin-right: -2px; }
    .cl-stats { gap: 7px; }
    .cl-stat { padding: 10px; }
    .cl-stat strong { font-size: 16px; }
}

/* v1.2.1: hero feature labels are plain text, without pill background */


/* =============================================================
   GruzoBot Container Loader v1.2.2 — hero badges visibility fix
   The site's .page-hero has a light background, so white badge text
   from the calculator stylesheet became effectively invisible.
   ============================================================= */
.cl-page-hero .cl-hero-badges {
    color: var(--cl-navy);
}

.cl-page-hero .cl-hero-badges span {
    background: transparent !important;
    border: 0 !important;
    color: var(--cl-navy) !important;
    -webkit-text-fill-color: var(--cl-navy) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
