:root{--portal-navy:#101a31;--portal-navy-2:#172440;--portal-accent:#2787f5;--portal-teal:#20c997;--portal-bg:#f4f6fa;--portal-line:#e3e8f1;--portal-muted:#758198;--portal-ink:#17243b}body.portal-body{background:var(--portal-bg);color:var(--portal-ink);margin:0;font-family:Inter,system-ui,sans-serif}body.portal-body #sadrzaj{max-width:none;margin:0;padding:0}.portal-shell{background:var(--portal-bg);grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.portal-sidebar{background:var(--portal-navy);color:#e8eefb;flex-direction:column;height:100vh;min-height:600px;padding:24px 14px 18px;display:flex;position:sticky;top:0}.portal-brand{color:#fff;align-items:center;gap:12px;padding:2px 10px 30px;text-decoration:none;display:flex}.portal-brand-mark{color:#fff;background:linear-gradient(140deg,#21c997,#2188f5);border-radius:12px;place-items:center;width:42px;height:42px;font:800 23px Manrope,sans-serif;display:grid;box-shadow:0 8px 22px #0b101f88}.portal-brand strong,.portal-brand small{display:block}.portal-brand strong{letter-spacing:.02em;font:800 19px Manrope,sans-serif}.portal-brand small{color:#97a7c6;letter-spacing:.2em;margin-top:2px;font-size:9px;font-weight:700}.portal-nav-label{color:#8491aa;letter-spacing:.13em;padding:0 13px 10px;font-size:10px;font-weight:700}.portal-nav{gap:5px;display:grid}.portal-nav a{color:#aebbd4;border-radius:10px;align-items:center;gap:12px;min-height:45px;padding:0 13px;font-size:13px;font-weight:600;text-decoration:none;transition:background .16s,color .16s;display:flex}.portal-nav a:hover{color:#fff;background:#ffffff0d}.portal-nav a.is-current{color:#fff;background:linear-gradient(100deg,#327ef1,#387fdf);box-shadow:0 6px 18px #12224c80}.portal-nav-icon{place-items:center;width:22px;font-size:18px;line-height:1;display:grid}.portal-account{border-top:1px solid #ffffff18;align-items:center;gap:10px;margin-top:auto;padding:15px 8px 4px;display:flex}.portal-avatar{color:#fff;background:#2c7ee7;border-radius:50%;flex:0 0 37px;place-items:center;width:37px;height:37px;font-size:13px;font-weight:800;display:grid}.portal-account-copy{gap:3px;min-width:0;display:grid}.portal-account-copy strong{color:#f4f7fc;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.portal-account-copy small{color:#8c9ab5;font-size:10px}.portal-account button{color:#aebbd4;font:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto}.portal-account button:hover{color:#fff}.portal-logout{color:#aebbd4;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:34px;font-size:20px;display:grid}.portal-logout:hover{color:#fff;background:#ffffff12}.portal-workspace{min-width:0}.portal-topbar{z-index:20;border-bottom:1px solid var(--portal-line);background:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:100px;padding:18px clamp(22px,4vw,54px);display:flex;position:sticky;top:0}.portal-breadcrumb{color:#78859a;margin:0 0 6px;font-size:11px}.portal-breadcrumb span{color:#bdc6d3;padding:0 5px}.portal-topbar h1{color:var(--portal-ink);margin:0;font:700 clamp(19px,2vw,24px) Manrope,sans-serif}.portal-subtitle{color:var(--portal-muted);margin:4px 0 0;font-size:12px}.portal-top-actions{align-items:center;gap:15px;display:flex}.portal-online{color:#8490a3;white-space:nowrap;align-items:center;gap:7px;font-size:11px;display:flex}.portal-online i{background:#27c998;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #27c99825}.portal-refresh{border:1px solid var(--portal-line);color:#54647e;cursor:pointer;background:#fff;border-radius:11px;place-items:center;width:40px;height:40px;font-size:24px;line-height:1;display:grid}.portal-refresh:hover{color:var(--portal-accent);border-color:#b9c9e1}.portal-content{width:100%;max-width:1550px;margin:0 auto;padding:24px clamp(18px,3.2vw,44px) 52px}.portal-shell [hidden]{display:none!important}.portal-shell .admin-grid,.portal-shell .b2b-grid{grid-template-columns:minmax(0,1fr)}.portal-shell:not(.portal-active) .portal-nav,.portal-shell:not(.portal-active) .portal-nav-label,.portal-shell:not(.portal-active) .portal-account button{display:none}.portal-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 22px;display:grid}.portal-stats article{background:#fff;border:1px solid #e4e9f1;border-radius:14px;gap:7px;min-height:112px;padding:17px 19px;display:grid;box-shadow:0 5px 16px #182a4510}.portal-stats article span{color:#758198;font-size:11px;font-weight:600}.portal-stats article strong{color:#17243b;font:800 26px Manrope,sans-serif}.portal-stats article small{color:#96a0b1;font-size:10px}.portal-shell .admin-search{color:#758198;background:#f8f9fb;border:1px solid #e3e8f1;border-radius:10px;align-items:center;gap:10px;min-height:46px;margin-top:17px;padding:0 13px;display:flex}.portal-shell .admin-search>span:first-of-type{font-size:24px;line-height:1}.portal-shell .admin-search input{color:#17243b;min-width:0;font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:14px}.portal-shell .admin-search input::placeholder{color:#758198;opacity:.85}.portal-shell .search-result{white-space:nowrap;font-size:12px}.portal-shell .visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.portal-shell .table-wrap,.portal-shell .b2b-table-wrap{background:#fff;border:1px solid #e6ebf2;border-radius:12px}.portal-shell .table-wrap table,.portal-shell .b2b-table-wrap table{font-size:12px}.portal-shell .table-wrap thead,.portal-shell .b2b-table-wrap thead{background:#f7f9fc}.portal-shell .table-wrap th,.portal-shell .b2b-table-wrap th{color:#738097;white-space:nowrap;padding:12px 9px;font-size:10px;font-weight:700}.portal-shell .table-wrap td,.portal-shell .b2b-table-wrap td{color:#27354c;padding:11px 9px}.portal-shell .table-wrap tbody tr:hover,.portal-shell .b2b-table-wrap tbody tr:hover{background:#f7faff}.portal-shell .table-wrap td[data-label=Status],.portal-shell .b2b-table-wrap td[data-label=Status]{font-weight:600}.portal-shell #admin-login-panel,.portal-shell #partner-login-panel{max-width:520px;margin:28px auto}.portal-shell .admin-status,.portal-shell .b2b-status{z-index:25;background:#fff;max-width:920px;margin:0 auto 12px;position:sticky;top:12px}.portal-shell .archive-button{color:#53627a;white-space:nowrap;border-color:#e0e6ef;min-height:32px;padding:5px 9px;font-size:11px}.portal-shell .archive-button:hover{color:#245ea8;border-color:#9ab5d9}.portal-shell .button--primary{color:#fff;background:#287de1;border-color:#287de1}.portal-shell .button--primary:hover{background:#1e68c1}.portal-shell .admin-card,.portal-shell .b2b-card{background:#fff;border-color:#e3e8f1;border-radius:15px;box-shadow:0 5px 18px #182a450c}.portal-shell .b2b-admin.section,.portal-shell .b2b-page.section{background:0 0;min-height:0;padding-block:0}.portal-shell .b2b-admin-container,.portal-shell .b2b-container{width:100%;max-width:none;padding-inline:0}.portal-shell .admin-card,.portal-shell .b2b-card{margin-top:16px;padding:clamp(16px,2.2vw,24px)}.portal-shell .admin-heading{margin:0 0 8px;padding:4px 2px}.portal-shell .admin-heading h2,.portal-shell .b2b-heading h2{font-size:16px}.portal-shell.portal-active .b2b-admin-container>.eyebrow,.portal-shell.portal-active .b2b-admin-container>h1,.portal-shell.portal-active .b2b-admin-container>.intro,.portal-shell.portal-active .b2b-container>.eyebrow,.portal-shell.portal-active .b2b-container>h1,.portal-shell.portal-active .b2b-container>.intro,.portal-shell.portal-active .partner-cta{display:none}@media (width<=900px){.portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px),(device-width<=760px){.portal-shell{grid-template-columns:1fr}.portal-sidebar{height:auto;min-height:0;padding:12px 12px 10px;position:relative}.portal-brand{padding:0 5px 14px}.portal-brand-mark{width:36px;height:36px}.portal-brand strong{font-size:16px}.portal-nav-label{display:none}.portal-nav{gap:5px;padding-bottom:7px;display:flex;overflow-x:auto}.portal-nav a{flex:none;min-height:40px;padding:0 11px;font-size:12px}.portal-nav-icon{font-size:15px}.portal-account{border:0;margin:0;padding:0;position:absolute;top:12px;right:12px}.portal-account-copy,.portal-account button{display:none}.portal-account .portal-logout{margin-left:0;padding:4px;font-size:20px;display:block}.portal-avatar{flex-basis:34px;width:34px;height:34px}.portal-topbar{min-height:80px;padding:14px 18px;position:relative}.portal-subtitle{max-width:70vw}.portal-content{padding:16px 12px 38px}.portal-stats{gap:9px;margin:12px 0 16px}.portal-stats article{min-height:95px;padding:13px}.portal-stats article strong{font-size:22px}.portal-shell .admin-search{min-height:42px;padding-inline:10px}.portal-shell .search-result{font-size:10px}html{-webkit-text-size-adjust:100%}body.portal-body{font-size:16px}.portal-shell{grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;font-size:15px}.portal-sidebar{width:100%;min-width:0;padding:12px 10px 8px}.portal-nav{overscroll-behavior-x:contain;scrollbar-width:thin;gap:6px;width:100%;display:flex;overflow-x:auto}.portal-nav a{white-space:nowrap;flex:none;min-height:44px;padding:0 12px;font-size:13px}.portal-content{width:100%;max-width:none;padding:14px 10px 34px}.portal-topbar h1{font-size:21px}.portal-subtitle,.portal-breadcrumb{font-size:13px}.portal-shell .admin-card,.portal-shell .b2b-card{padding:15px}.portal-shell .admin-card p,.portal-shell .b2b-card p{font-size:14px;line-height:1.5}.portal-shell .admin-form input,.portal-shell .admin-form select,.portal-shell .admin-form textarea,.portal-shell input[type=search]{min-height:46px;font-size:16px}.portal-shell .button{min-height:44px;font-size:14px}.portal-shell .table-wrap td{font-size:14px}}
