:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:#17263c;background:#f3f6fb;font-size:15px}*{box-sizing:border-box}body{margin:0}a{color:#1762b0}.shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}aside{background:#132b4b;color:white;padding:24px 16px}aside .brand{font-size:16px;font-weight:800;line-height:1.4;letter-spacing:.02em;margin-bottom:28px}aside .brand small{display:block;font-size:11px;color:#b9d1ec;letter-spacing:.12em;margin-top:6px}nav{display:flex;flex-direction:column;gap:5px}nav a{display:block;color:#e9f1fb;text-decoration:none;padding:11px 12px;border-radius:9px;font-weight:550}nav a:hover,nav a:focus-visible{background:#28486e}main{min-width:0;padding:26px 30px}main>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:24px}h1{font-size:clamp(25px,3vw,34px);line-height:1.2;margin:0}header span{font-size:13px;color:#61728a}h2{font-size:22px;margin:22px 0 14px}h3{font-size:18px}p{line-height:1.55}form,section,.card,.panel{max-width:100%;}form{background:#fff;padding:22px;border:1px solid #e0e7f0;border-radius:14px;box-shadow:0 2px 12px #122b4b09;margin-bottom:20px}label{display:block;font-weight:600;margin:13px 0 6px}input,select,textarea,button{font:inherit}input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%;width:100%;min-height:43px;border:1px solid #c8d3e1;border-radius:8px;background:white;color:#17263c;padding:9px 11px}input[type=file]{padding:8px!important}input:focus,select:focus,textarea:focus{outline:2px solid #80b6ef;outline-offset:1px}button,input[type=submit],.btn{background:#1764ae;color:white;border:0;border-radius:8px;padding:11px 16px;min-height:43px;cursor:pointer;font-weight:600;max-width:100%}button:hover,input[type=submit]:hover,.btn:hover{background:#104f8d}button:disabled{opacity:.55;cursor:not-allowed}details{margin:12px 0;padding:10px 12px;background:#f4f7fb;border-radius:8px;overflow-wrap:anywhere}summary{cursor:pointer}table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}th,td{padding:11px 12px;text-align:left;border-bottom:1px solid #e3e9f1;overflow-wrap:anywhere}th{background:#eaf1f9}table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.notice{padding:12px 15px;border-radius:8px;background:#e7f4ed;color:#16643b;margin:12px 0}img{max-width:100%;height:auto}pre{white-space:pre-wrap;overflow-wrap:anywhere}fieldset{border:1px solid #dce5ef;border-radius:10px;margin:14px 0;padding:14px}legend{font-weight:700}main>*{max-width:100%}@media(max-width:800px){.shell{display:block}aside{padding:12px 14px}aside .brand{font-size:14px;margin:0 0 10px}aside .brand small{font-size:10px;margin-top:2px}nav{display:flex;flex-direction:row;gap:6px;overflow-x:auto;white-space:nowrap;padding-bottom:4px;scrollbar-width:thin}nav a{flex:0 0 auto;padding:9px 11px;background:#204269;font-size:13px}main{padding:18px 14px 35px}main>header{align-items:flex-start;gap:5px;margin-bottom:16px}main>header h1{width:100%;font-size:26px}h2{font-size:20px}form{padding:15px;border-radius:12px}input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}button,input[type=submit],.btn{white-space:normal}th,td{padding:9px 10px}}@media(max-width:420px){main{padding:14px 10px 28px}form{padding:12px}nav a{font-size:12px}}
/* GLS company logo in shared sidebar */

.gls-company-logo {
    display: block;
    width: 125px;
    max-width: 100%;
    height: 75px;
    object-fit: contain;
    margin: 0 auto 12px;
    border-radius: 8px;
}

.shell aside .brand {
    text-align: center;
}

@media (max-width: 600px) {
    .gls-company-logo {
        width: 90px;
        height: 55px;
    }
}
/* GLS-QMS - SMALL SIDEBAR LOGO */

.shell aside .gls-company-logo {
    display: block !important;
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain !important;
    margin: 0 auto 10px !important;
    border-radius: 6px;
}

/* Center company name */
.shell aside .brand {
    text-align: center !important;
    font-size: 13px;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 600px) {
    .shell aside .gls-company-logo {
        width: 60px !important;
        height: 60px !important;
    }
}

/* GLS-QMS: Quality Storage Balance table fix */

.fg-app .fg-table-scroll {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

.fg-app .fg-table-scroll > table {
    display: table !important;
    width: 100% !important;
    min-width: 650px;
    max-width: none !important;
    table-layout: auto !important;
    border-collapse: collapse;
}

.fg-app .fg-table-scroll > table th,
.fg-app .fg-table-scroll > table td {
    padding: 14px 18px;
    text-align: left;
}

@media (max-width: 768px) {
    .fg-app .fg-table-scroll > table {
        min-width: 650px;
    }
}


