.sgtt-tool-page .sidebar,.sgtt-tool-page aside.sidebar,.sgtt-tool-page #sidebar,.sgtt-tool-page .widget-area,.sgtt-tool-page .sidebar_container,.sgtt-tool-page .sidebar_wrap,.sgtt-tool-page [role="complementary"]{display:none!important}
.sgtt-tool-page .content_wrap,.sgtt-tool-page .content_wrap>.content,.sgtt-tool-page .content-area,.sgtt-tool-page #primary,.sgtt-tool-page .site-main{width:100%!important;max-width:none!important;float:none!important;margin-left:0!important;margin-right:0!important}
.sgtt-mini__commercial,.sgtt-mini__database{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;margin-top:34px;padding:25px;border:1px solid #dfe4f3;border-radius:24px;background:rgba(255,255,255,.8)}
.sgtt-mini__commercial h2,.sgtt-mini__database h2{margin:4px 0 6px!important;color:#17213b!important;font-size:24px}
.sgtt-mini__commercial p,.sgtt-mini__database p{margin:0!important;color:#687087!important}
.sgtt-mini__commercial>div>span,.sgtt-mini__database>div>span{color:#5368dc;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.sgtt-mini__commercial-actions,.sgtt-mini__database-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.sgtt-mini__commercial-actions button:nth-child(2){background:#fff;color:#315df4!important;box-shadow:inset 0 0 0 1px #bfc9f3}
.sgtt-mini__batch{margin-top:18px;padding:25px;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(49,61,106,.11)}
.sgtt-mini__batch>label:not(.sgtt-mini__consent){display:block;margin:10px 0 7px;font-weight:750}
.sgtt-mini__batch textarea{width:100%;padding:15px;border:1px solid #dce1ef!important;border-radius:14px!important;background:#fff!important;color:#17213b!important;-webkit-text-fill-color:#17213b!important;resize:vertical}
.sgtt-mini__batch>.sgtt-mini__batch-buttons{display:flex;gap:9px;margin-top:14px}
.sgtt-mini__consent{display:flex;gap:8px;align-items:flex-start;margin-top:12px;color:#687087}
.sgtt-mini__database{grid-template-columns:1fr}
.sgtt-mini__database>strong{font-size:22px;color:#17213b}
.sgtt-mini__database-actions{justify-content:flex-start}
.sgtt-mini__database-actions a{padding:10px 14px;border-radius:12px;background:#edf0ff;color:#4058cf!important;text-decoration:none!important;font-weight:750}
.sgtt-mini__database-actions a.is-unavailable{pointer-events:none;opacity:.55;background:#f0f1f5;color:#777!important}
.sgtt-mini__cms-actions{display:grid;grid-template-columns:repeat(2,minmax(250px,1fr));width:100%;margin-top:8px}
.sgtt-mini__cms-actions .sgtt-mini__cms-order{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:15px 16px;border:1px solid #dce2f6;background:#f7f8ff}
.sgtt-mini__cms-order strong{color:#17213b}.sgtt-mini__cms-order span{grid-column:1/-1;color:#687087;font-size:13px}.sgtt-mini__cms-order em{grid-column:2;grid-row:1;color:#315df4;font-style:normal;font-weight:850}
.sgtt-mini__cms-actions .sgtt-mini__cms-order--contacts{border-color:#cfe8da;background:#f3fbf6}.sgtt-mini__cms-order--contacts em{color:#16794b}
.sgtt-mini__technology-market{grid-column:1/-1;width:100%;margin-top:18px;padding-top:18px;border-top:1px solid #e0e4ef}.sgtt-mini__technology-market h3{margin:20px 0 4px;color:#17213b;font-size:21px}.sgtt-mini__technology-market p{margin:0 0 10px;color:#687087}
.sgtt-mini__related-static{margin-top:40px;padding:25px;border-radius:24px;background:#17213b;color:#fff}
.sgtt-mini__related-static h2{margin:0 0 16px!important;color:#fff!important;font-size:25px}
.sgtt-mini__related-static>div{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.sgtt-mini__related-static>div a{padding:14px;border-radius:14px;background:rgba(255,255,255,.09);color:#fff!important;text-decoration:none!important}
.sgtt-mini__related-static b,.sgtt-mini__related-static span{display:block}
.sgtt-mini__related-static span{margin-top:5px;color:#bac4dc;font-size:12px}
.sgtt-mini__all-tools{display:inline-block;margin-top:16px;color:#bfc9ff!important}
.sgtt-mini__seo{margin-top:42px;padding-top:14px;border-top:1px solid #dfe4f3}
.sgtt-mini__seo h2{margin:28px 0 10px!important;color:#17213b!important;font-size:28px}
.sgtt-mini__seo p,.sgtt-mini__seo li{color:#4f5971!important;font-size:16px;line-height:1.7}
.sgtt-mini__seo details{margin-top:9px;padding:14px 16px;border:1px solid #e0e4ef;border-radius:14px;background:#fff}
.sgtt-mini__seo summary{cursor:pointer;font-weight:750}
.sgtt-mini__seo details p{margin:8px 0 0!important}
.sgtt-mini__batch p.is-ok{color:#138a45}
.sgtt-mini__batch p.is-error{color:#b42318}
.sgtt-mini__batch-preview{display:block!important;width:100%;min-width:0;margin-top:18px;padding:18px;border-radius:16px;background:#f5f7ff;overflow:hidden}
.sgtt-mini__batch-preview h3{margin:0 0 12px!important;color:#17213b!important;font-size:19px}
.sgtt-mini__iks-list{display:block;width:100%;overflow-x:auto}
.sgtt-mini__iks-list>div{display:grid!important;grid-template-columns:minmax(170px,1.25fr) minmax(70px,.45fr) minmax(135px,.75fr) minmax(135px,.75fr);gap:14px;width:100%;min-width:680px;padding:12px 0;border-bottom:1px solid #e0e5f3}
.sgtt-mini__history-list>div{grid-template-columns:42px minmax(260px,1.4fr) minmax(190px,.8fr) minmax(120px,.5fr);min-width:760px;align-items:center}
.sgtt-mini__history-list>div b,.sgtt-mini__history-list>div span{overflow-wrap:normal!important;word-break:normal!important;white-space:nowrap}
.sgtt-mini__history-list>div span:nth-child(2){white-space:normal;overflow-wrap:anywhere!important}
.sgtt-mini__history-link{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 10px;border:0;border-radius:999px;background:#eef1ff;color:#315df4;font:inherit;font-weight:800;line-height:1.35;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.sgtt-mini__history-link:hover{background:#dfe5ff;color:#203eb7}
.sgtt-mini__iks-list>div:first-child{padding-top:4px;color:#7a8296;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.sgtt-mini__iks-list>div:last-child{border-bottom:0}
.sgtt-mini__iks-list>div b,.sgtt-mini__iks-list>div p,.sgtt-mini__iks-list>div span{display:block;min-width:0;margin:0!important;color:#28385f!important;overflow-wrap:anywhere;word-break:break-word}
.sgtt-mini__db-presence{width:max-content;max-width:100%;padding:3px 9px;border-radius:999px;background:#e8f7ed;color:#16794b!important;font-weight:800;cursor:help}
.sgtt-mini__batch-links{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 0!important}
.sgtt-mini__batch-links a{padding:11px 14px;border-radius:12px;background:#315df4;color:#fff!important;text-decoration:none!important;font-weight:750}
.sgtt-mini__batch-contact{display:block!important;margin-top:18px;padding:20px;border:1px solid #dfe4f3;border-radius:16px;background:#fff}
[data-batch-free][hidden],[data-batch-paid][hidden],[data-batch-history][hidden],[data-iks-history-results][hidden],[data-batch-history-results][hidden],[data-current-order][hidden]{display:none!important}
.sgtt-mini__batch-contact>b{font-size:19px;color:#17213b}.sgtt-mini__batch-contact>p{margin:5px 0 12px!important;color:#687087!important}
.sgtt-mini__batch-contact>input{display:block;width:100%;margin-bottom:10px;border:1px solid #dce1ef!important;background:#fff!important;color:#17213b!important;-webkit-text-fill-color:#17213b!important}
.sgtt-mini__batch-contact>button{margin-top:12px}.sgtt-mini__batch-contact [data-batch-contact-status] a{font-weight:800;color:#315df4!important}
.sgtt-mini__download-button{display:inline-block;margin:12px 0 0 10px;padding:13px 18px;border-radius:13px;background:#eef2ff;color:#315df4!important;text-decoration:none!important;font-weight:800}
.sgtt-mini__download-button[hidden]{display:none!important}
.sgtt-mini__batch-paid{border-color:#cfd8ff;background:#f7f8ff}
.sgtt-mini__payment-card{max-width:680px;margin:28px auto;padding:28px;border:1px solid #dfe4f3;border-radius:24px;background:#fff;box-shadow:0 16px 44px rgba(49,61,106,.12)}
.sgtt-mini__payment-card h2{margin:8px 0 12px!important;color:#17213b!important}.sgtt-mini__payment-card p{color:#4f5971!important;line-height:1.65}.sgtt-mini__payment-price{margin:0!important;color:#17213b!important;font-size:38px!important;font-weight:850}.sgtt-mini__payment-note{padding:13px;border-radius:12px;background:#f5f7ff}.sgtt-mini__payment-button{display:inline-block;margin-top:8px;padding:13px 18px;border-radius:13px;background:#315df4;color:#fff!important;text-decoration:none!important;font-weight:800}
.sgtt-mini__payment-methods{display:grid;gap:10px;margin:16px 0}.sgtt-mini__payment-methods>div{padding:14px 16px;border:1px solid #e1e5ef;border-radius:14px;background:#fafbff}.sgtt-mini__payment-methods b,.sgtt-mini__payment-methods span{display:inline-block}.sgtt-mini__payment-methods span{margin-left:10px;color:#315df4;font-weight:800}.sgtt-mini__payment-methods p{margin:7px 0 0!important;overflow-wrap:anywhere}
.sgtt-mini__payment-email-form{display:grid;grid-template-columns:1fr auto;gap:10px}.sgtt-mini__payment-email-form input{border:1px solid #dce1ef!important}
.sgtt-mini__history-order{margin-top:34px;padding:25px;border:1px solid #dfe4f3;border-radius:24px;background:#fff}
.sgtt-mini__history-order h2{margin:4px 0 6px!important;color:#17213b!important;font-size:24px}
.sgtt-mini__history-order>div>span{color:#5368dc;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.sgtt-mini__history-order form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.sgtt-mini__history-order textarea{width:100%;min-height:150px;padding:15px;border:1px solid #dce1ef!important;border-radius:14px!important;background:#fff!important;color:#17213b!important;resize:vertical}
.sgtt-mini__history-order form>textarea,.sgtt-mini__history-order form>button,.sgtt-mini__history-order form>p,.sgtt-mini__history-order form>label,.sgtt-mini__history-order form>[data-iks-history-results]{grid-column:1/-1}
.sgtt-mini__history-choice{display:flex!important;align-items:center;gap:8px;text-transform:none!important;letter-spacing:0!important;font-size:14px!important}
.sgtt-mini__select-all{display:flex!important;align-items:center;gap:7px;margin:0!important;color:#536078!important;font-size:12px!important;font-weight:800;text-transform:none!important;letter-spacing:0!important}.sgtt-mini__select-all input{flex:0 0 auto}.sgtt-mini__history-list>div>span:nth-child(2){white-space:nowrap;overflow-wrap:normal!important;word-break:normal!important}.sgtt-mini__history-order form>[data-iks-history-results]{width:100%;min-width:0;overflow-x:auto}.sgtt-mini__history-list input[type=checkbox]{width:18px;height:18px;margin:0}
.sgtt-mini__history-order form>p{margin:0!important}.sgtt-mini__history-order form>p.is-ok{color:#138a45}.sgtt-mini__history-order form>p.is-error{color:#b42318}
.sgtt-mini__history-order form>p a{font-weight:800;color:#315df4!important}
.sgtt-mini__custom-export{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;margin-top:18px;padding:24px;border:1px solid #d8def3;border-radius:24px;background:linear-gradient(135deg,#f7f8ff,#eef8ff)}
.sgtt-mini__custom-export span{color:#5368dc;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.sgtt-mini__custom-export h2{margin:4px 0 7px!important;color:#17213b!important;font-size:23px}.sgtt-mini__custom-export p{margin:0!important;color:#58637b!important}.sgtt-mini__custom-export>a{padding:13px 17px;border-radius:13px;background:#315df4;color:#fff!important;text-decoration:none!important;font-weight:800;white-space:nowrap}
@media(max-width:900px){.sgtt-mini__related-static>div{grid-template-columns:1fr 1fr}.sgtt-mini__commercial{grid-template-columns:1fr}.sgtt-mini__commercial-actions{justify-content:flex-start}}
@media(max-width:600px){.sgtt-mini__related-static>div{grid-template-columns:1fr}.sgtt-mini__commercial-actions,.sgtt-mini__database-actions,.sgtt-mini__batch>.sgtt-mini__batch-buttons,.sgtt-mini__history-order form,.sgtt-mini__payment-email-form,.sgtt-mini__cms-actions{display:grid;grid-template-columns:1fr}.sgtt-mini__commercial-actions button,.sgtt-mini__database-actions a{width:100%;text-align:center}.sgtt-mini__custom-export{grid-template-columns:1fr}.sgtt-mini__custom-export>a{text-align:center;white-space:normal}.sgtt-mini__history-order form>*{grid-column:1!important}.sgtt-mini__history-list>div:first-child{display:none!important}.sgtt-mini__history-list>div:not(:first-child){grid-template-columns:28px 1fr;gap:8px 12px;padding:14px}.sgtt-mini__history-list>div:not(:first-child)>span:nth-of-type(2),.sgtt-mini__history-list>div:not(:first-child)>span:nth-of-type(3){grid-column:2}.sgtt-mini__history-list>div:not(:first-child)>input{grid-row:1/4;align-self:center}}

/* History table containment and column alignment */
.sgtt-mini__history-list{display:block;width:100%;max-width:100%;min-width:0;overflow-x:hidden;box-sizing:border-box}
@media(min-width:601px){
.sgtt-mini__history-list>div{grid-template-columns:42px minmax(0,1.4fr) minmax(150px,.8fr) minmax(100px,.5fr)!important;min-width:0!important;width:100%;box-sizing:border-box}
.sgtt-mini__history-list>div>label:first-child,.sgtt-mini__history-list>div>input:first-child{grid-column:1}
.sgtt-mini__history-list>div>b:nth-of-type(1),.sgtt-mini__history-list>div>span:nth-of-type(1){grid-column:2}
.sgtt-mini__history-list>div>b:nth-of-type(2),.sgtt-mini__history-list>div>span:nth-of-type(2){grid-column:3}
.sgtt-mini__history-list>div>b:nth-of-type(3),.sgtt-mini__history-list>div>span:nth-of-type(3){grid-column:4}
}
@media(max-width:600px){
.sgtt-mini__history-list>div{min-width:0!important;width:100%;box-sizing:border-box}
.sgtt-mini__history-list>div:not(:first-child)>span{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
}

/* Stable history-result layout: desktop table, mobile cards. */
.sgtt-mini__history-order form>[data-iks-history-results]{display:block;max-width:100%;min-width:0;overflow:hidden}
.sgtt-mini__history-list{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden;box-sizing:border-box}
@media(min-width:601px){
  .sgtt-mini__history-list>div{display:grid!important;grid-template-columns:105px minmax(180px,1.4fr) minmax(150px,.8fr) minmax(110px,.5fr)!important;gap:12px!important;width:100%!important;min-width:660px!important;align-items:center;box-sizing:border-box}
  .sgtt-mini__history-list>div>label:first-child,.sgtt-mini__history-list>div>input:first-child{grid-column:1!important}
  .sgtt-mini__history-list>div>b:nth-of-type(1),.sgtt-mini__history-list>div>span:nth-of-type(1){grid-column:2!important}
  .sgtt-mini__history-list>div>b:nth-of-type(2),.sgtt-mini__history-list>div>span:nth-of-type(2){grid-column:3!important}
  .sgtt-mini__history-list>div>b:nth-of-type(3),.sgtt-mini__history-list>div>span:nth-of-type(3){grid-column:4!important}
  .sgtt-mini__history-list .sgtt-mini__select-all,.sgtt-mini__history-list .sgtt-mini__select-all span,.sgtt-mini__history-list>div>b,.sgtt-mini__history-list>div>span{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
}
@media(max-width:600px){
  .sgtt-mini__history-list{overflow-x:hidden!important}
  .sgtt-mini__history-list>div:first-child{display:none!important}
  .sgtt-mini__history-list>div:not(:first-child){display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:8px 12px!important;width:100%!important;min-width:0!important;padding:14px 0!important;align-items:start}
  .sgtt-mini__history-list>div:not(:first-child)>input{grid-column:1!important;grid-row:1/4!important;margin-top:5px!important}
  .sgtt-mini__history-list>div:not(:first-child)>span{grid-column:2!important;min-width:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important}
  .sgtt-mini__history-list>div:not(:first-child)>span:nth-of-type(1){font-weight:800}
  .sgtt-mini__history-list>div:not(:first-child)>span:nth-of-type(2)::before{content:'Исторических записей: ';color:#7a8296;font-size:12px;font-weight:700}
  .sgtt-mini__history-list>div:not(:first-child)>span:nth-of-type(3)::before{content:'Стоимость: ';color:#7a8296;font-size:12px;font-weight:700}
}
