html{max-width:100%;-webkit-text-size-adjust:100%}
.igent-language{display:flex;align-items:center;gap:8px;padding:5px 12px;color:inherit;max-width:100%}
.igent-language select{min-height:36px;max-width:100%;margin:0;padding:5px 8px;font:inherit;background:#fff;color:#13392d;border:1px solid #adc7b9;border-radius:8px}
.posside .igent-language,.side .igent-language{padding:8px 0}
.igent-menu-toggle{display:none}
.igent-login-logo{display:block;width:100%;max-width:430px;height:auto;border-radius:10px;margin:0 0 18px}
.registration-action{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:46px;margin-top:12px;padding:8px 12px;border:1px solid #43816a;border-radius:10px;background:white;color:#164a37;text-align:center;text-decoration:none;font-weight:700}
.registration-action:hover{background:#e8f1ea}
.registration-action:focus-visible{outline:2px solid #a17630;outline-offset:2px}
.company-mark{display:inline-flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere}
.company-mark img,.posside .company-mark img,.dash .company-mark img{width:34px!important;height:34px!important;object-fit:contain;flex:none;margin:0!important;border-radius:7px}
.register-lock .company-mark img{width:34px!important;height:34px!important}
.igent-small-mark{width:24px!important;height:24px!important;object-fit:contain;border-radius:5px}
.company-logo-preview{display:block;width:80px;height:80px;object-fit:contain;border-radius:9px;margin:10px 0}

@media(max-width:1100px){
 .poslayout,.dash,.admin{grid-template-columns:minmax(0,1fr)!important}
 .poslayout>.igent-menu-toggle,.admin>.igent-menu-toggle,.dash>.igent-menu-toggle{grid-column:1}
 .poslayout>.posside,.admin .side,.dash>.side,.dash>.posside{position:static!important;height:auto!important;max-height:55dvh;overflow:auto;width:100%}
 .igent-menu-toggle{display:block;width:100%;min-height:44px;background:#174f3d;color:white;border:0;border-radius:8px;margin:0 0 6px;font:inherit}
 .igent-navigation[hidden]{display:none!important}
 .poslayout>article,.dash>div,.admin .content{min-width:0;padding:14px!important}
 .igent-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 .igent-table-scroll>table{width:100%;min-width:max-content}
 .rc-field,.formgrid,.floor-wrap{grid-template-columns:minmax(0,1fr)!important}
 .rc-field input,.rc-field select,.floor-props input,.floor-props select{max-width:100%}
 .receipt .line{grid-template-columns:minmax(0,1fr) minmax(58px,auto) minmax(38px,auto) minmax(44px,auto)!important;gap:4px}
}
@media(max-width:700px){
 .layout:has(>#receipt){grid-template-columns:minmax(0,1fr)!important;height:auto!important;grid-template-areas:none}
 .layout:has(>#receipt)>.catalog,.layout:has(>#receipt)>.receipt{grid-area:auto}
 .layout:has(>#receipt) .catalog{height: max(340px,58dvh);min-height:0;max-height:none}
 .layout:has(>#receipt) .receipt{min-height:360px}
 .layout:has(>#receipt) .bottom{position:sticky;bottom:0}
 body:has(#receipt)>header{height:auto!important;display:flex;flex-wrap:wrap;padding:6px 8px}
 body:has(#receipt)>header img{height:30px;width:30px}
 body:has(#receipt)>header .register-nav{width:100%;overflow-x:auto}
 body:has(#receipt)>header .register-nav button{white-space:nowrap}
 .floor-wrap .floor-board{min-width:0}
}
