.sts-office{--sts-accent:#0c3e6c;--sts-cyan:#12a8e0;--sts-bg:#f5f8fb;--sts-ink:#14273d;--sts-muted:#657b91;--sts-line:#e2eaf1;--sts-shadow:0 12px 40px rgba(11,43,73,.06);font-family:var(--sts-font,inherit);font-size:var(--sts-font-size,16px);color:var(--sts-ink);max-width:1250px;margin:25px auto;padding:12px;box-sizing:border-box}.sts-office *{box-sizing:border-box}.sts-office a{color:var(--sts-accent);text-decoration:none}.sts-office a:hover{color:var(--sts-cyan)}.sts-top{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 20px;border:1px solid var(--sts-line);background:var(--sts-surface,#fff);border-radius:16px;margin-bottom:20px}.sts-brand{display:flex;align-items:center;gap:14px;font-weight:750}.sts-brand span{font-size:15px}.sts-brand em{font-size:12px;color:var(--sts-muted);font-weight:500;font-style:normal;display:block}.sts-brand-logo{width:110px;max-height:50px;object-fit:contain;object-position:left}.sts-top-actions{display:flex;align-items:center;gap:14px}.sts-bell{display:inline-flex;gap:6px;align-items:center;color:#13a0da;background:#e9f6fe;padding:7px 11px;border-radius:999px}.sts-hero{background:var(--sts-accent);color:white;padding:32px 38px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.sts-hero h2{font-size:clamp(26px,3.5vw,38px);color:white;margin:5px 0}.sts-hero p{color:#cfe9fa;margin:0;line-height:1.5}.sts-eyebrow{letter-spacing:2px;font-weight:800;font-size:11px;color:#82d8ff}.sts-btn{background:var(--sts-accent);padding:12px 18px;border:0;border-radius:9px;font-size:14px;font-weight:700;color:white!important;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.sts-btn:hover{filter:brightness(1.13)}.sts-btn.sts-outline{border:1px solid #83d5fb;color:white!important;background:transparent}.sts-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}.sts-kpis>div{background:var(--sts-surface,#fff);border:1px solid var(--sts-line);box-shadow:var(--sts-shadow);border-radius:14px;padding:20px}.sts-kpis span{display:block;color:var(--sts-muted);font-size:12px;margin-bottom:9px}.sts-kpis strong{font-size:30px;letter-spacing:-1px}.sts-panel{background:var(--sts-surface,#fff);border:1px solid var(--sts-line);box-shadow:var(--sts-shadow);border-radius:15px;margin:18px 0;overflow:hidden}.sts-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:20px 22px;border-bottom:1px solid var(--sts-line)}.sts-panel h3{margin:0;font-size:17px;color:var(--sts-ink)}.sts-hint{font-size:11px;color:var(--sts-muted)}.sts-filters{display:flex;gap:10px;flex-wrap:wrap;padding:14px 22px;background:#fbfdfe;border-bottom:1px solid var(--sts-line)}.sts-office input,.sts-office select,.sts-office textarea{font:inherit!important;color:var(--sts-ink)!important;background:var(--sts-surface,#fff)!important;border:1px solid #cfdeeb!important;border-radius:8px!important;padding:11px 12px!important;min-height:42px;min-width:0}.sts-filters input{flex:1 1 220px}.sts-filters select{flex:1 1 170px}.sts-list-head,.sts-list-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) minmax(100px,.7fr) minmax(145px,1fr);align-items:center;gap:14px;padding:17px 22px;border-bottom:1px solid #edf2f6}.sts-list-head{font-size:11px;font-weight:800;letter-spacing:.7px;color:#7a8fa1;text-transform:uppercase;background:#fcfdfe}.sts-list-row{color:var(--sts-ink)!important}.sts-list-row:hover{background:#f2f9ff}.sts-list-row b,.sts-list-row small{display:block}.sts-list-row b{font-size:14px}.sts-list-row small{font-size:11px;margin-top:5px;color:var(--sts-muted)}.sts-pill{display:inline-flex;width:max-content;max-width:100%;font-size:11px;border-radius:999px;padding:7px 11px;font-weight:750;line-height:1.2;font-style:normal}.st-new,.st-in_progress{background:#e3f4fe;color:#0d79b3}.st-waiting_office{background:#eae9ff;color:#6555b0}.st-waiting_client{background:#fff3d9;color:#916313}.st-closed{background:#e3f8ed;color:#147a4c}.sts-pagination{display:flex;gap:5px;justify-content:center;margin:15px}.sts-pagination a{padding:5px 11px;border:1px solid var(--sts-line);border-radius:6px}.sts-pagination .active{background:var(--sts-accent);color:white}.sts-form{padding:20px 22px;display:grid;gap:15px;max-width:750px}.sts-form label{display:block;font-size:13px;font-weight:700}.sts-form label input,.sts-form label select,.sts-form label textarea{display:block;width:100%;margin-top:6px}.sts-form input[type=file]{padding:8px!important}.sts-form .sts-check{font-weight:500;display:flex;gap:8px;align-items:center}.sts-form .sts-check input{width:auto!important;min-height:0}.sts-detail-header{background:var(--sts-surface,#fff);border:1px solid var(--sts-line);border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:23px}.sts-detail-header small{color:var(--sts-muted)}.sts-detail-header h2{margin:7px 0;color:var(--sts-ink);font-size:27px}.sts-detail-header p{color:var(--sts-muted);margin:0}.sts-detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(245px,1fr);align-items:start;gap:18px}.sts-thread{background:var(--sts-bg);padding:18px;max-height:670px;overflow:auto}.sts-message{padding:16px 18px;border:1px solid var(--sts-line);background:var(--sts-surface,#fff);border-radius:12px;margin:14px 0;max-width:88%}.sts-message.client{margin-left:auto;background:#e6f4fd;border-color:#c6e9ff}.sts-message.internal{background:#fff6e3;border-color:#ffe1a4}.sts-message p{white-space:normal;margin:10px 0 0;line-height:1.55}.sts-message-meta{display:flex;gap:15px;justify-content:space-between;font-size:12px}.sts-message-meta time{color:var(--sts-muted);white-space:nowrap}.sts-files{border-top:1px solid var(--sts-line);margin-top:12px;padding-top:8px;display:grid;gap:6px}.sts-files a{font-size:13px;text-decoration:underline}.sts-link-btn{border:0;background:transparent;color:var(--sts-accent);cursor:pointer;font-weight:700}.sts-side dl{padding:17px 22px;margin:0;display:grid;grid-template-columns:1fr 1.3fr;gap:10px 12px}.sts-side dt{color:var(--sts-muted);font-size:12px}.sts-side dd{font-size:12px;font-weight:700;margin:0}.sts-side h4{margin:10px 20px}.sts-audit{padding:5px 20px 20px 34px;max-height:200px;overflow:auto;font-size:12px}.sts-audit li{margin-bottom:10px}.sts-audit small{display:block;color:var(--sts-muted)}.sts-empty{padding:25px}.sts-powered{text-align:right;font-size:11px;color:var(--sts-muted);padding:12px 6px}.sts-login{max-width:530px;background:var(--sts-surface,#fff);box-shadow:var(--sts-shadow);border-radius:16px;padding:28px!important}.sts-login .sts-brand-logo{width:185px;max-height:90px}.sts-login label{display:block}.sts-login input:not([type=checkbox]){width:100%}.sts-settings .sts-form{background:var(--sts-surface,#fff);border:1px solid var(--sts-line);border-radius:12px}.sts-wp-admin .sts-office{margin:0;padding:0}.sts-wp-admin .sts-detail .sts-top{margin-top:4px}@media(max-width:850px){.sts-kpis{grid-template-columns:repeat(2,1fr)}.sts-list-head,.sts-list-row{grid-template-columns:minmax(130px,1fr) 140px}.sts-list-head>*:nth-child(n+3),.sts-list-row>*:nth-child(n+3){display:none}.sts-detail-layout{grid-template-columns:1fr}.sts-hero{padding:25px;display:block}.sts-hero button{margin-top:14px}}@media(max-width:480px){.sts-office{padding:3px}.sts-kpis{gap:7px}.sts-kpis>div{padding:14px}.sts-top{padding:12px}.sts-brand-logo{width:75px}.sts-brand span{font-size:12px}.sts-panel-head{padding:14px}.sts-list-row{padding:12px}.sts-msg{max-width:100%}}
/* STS OfficeFlow 0.9 — Sejf dokumentów i centrum powiadomień */
.sts-vault-inside{padding:18px 22px}.sts-vault-inside h4{margin:15px 0 9px;font-size:14px;color:var(--sts-ink)}.sts-doc-list{display:grid;gap:8px}.sts-doc-row{border:1px solid var(--sts-line);background:var(--sts-bg);padding:12px 13px;border-radius:9px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;overflow-wrap:anywhere}.sts-doc-row>a,.sts-doc-row>span{font-size:13px;font-weight:650}.sts-doc-row small{display:block;color:var(--sts-muted);font-size:11px;grid-column:1/-1}.sts-doc-row form{grid-column:2;grid-row:1;justify-self:end}.sts-doc-requests{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:20px}.sts-doc-request{border:1px solid #d9e6f0;border-left:4px solid var(--sts-cyan);border-radius:9px;padding:13px;background:var(--sts-bg)}.sts-doc-request p{font-size:12px;line-height:1.5;margin:8px 0}.sts-doc-request small{color:var(--sts-muted)}.sts-notice-row{display:flex;justify-content:space-between;gap:15px;padding:10px;border-bottom:1px solid var(--sts-line);font-size:13px}.sts-notice-row small{color:var(--sts-muted);white-space:nowrap}.sts-notices .sts-vault-inside>form{margin-top:16px}.sts-vault .sts-form{padding:12px 0 20px}.sts-vault .sts-hint{margin:8px 0 12px}
@media(max-width:650px){.sts-doc-row{grid-template-columns:1fr}.sts-doc-row form{grid-column:1;grid-row:auto;justify-self:start}.sts-notice-row{display:block}.sts-notice-row small{display:block;margin-top:6px}}

/* STS OfficeFlow 1.1: harmonogramy */
.sts-reminder-nav{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 17px}.sts-reminder-nav a{display:inline-block;padding:9px 14px;border-radius:8px;background:#edf7fd;font-weight:700}.sts-reminder-late{border-left-color:#c44d2b;background:#fff6f1}.sts-reminder-panel .sts-doc-request form{margin-top:10px}

/* Public, read-only demo: sample data only; no customer or office records are queried. */
.sts-demo{max-width:1180px}.sts-demo .sts-top{margin-bottom:14px}.sts-demo-tag{background:#fff3d9;color:#885c0a;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.5px}.sts-demo-notice{display:flex;align-items:center;gap:12px;padding:14px 17px;margin:0 0 14px;border:1px solid #c9e9fa;background:#f0faff;border-radius:12px;color:#31546b;font-size:13px;line-height:1.45}.sts-demo-notice strong{color:var(--sts-accent);white-space:nowrap}.sts-demo-switch{display:flex;gap:6px;width:max-content;max-width:100%;padding:5px;margin:0 0 17px;border:1px solid var(--sts-line);background:#eef3f7;border-radius:11px}.sts-demo-tab{appearance:none;border:0;border-radius:8px;padding:11px 18px;background:transparent;color:#51677b;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.sts-demo-tab:hover{background:var(--sts-surface,#fff);color:var(--sts-accent)}.sts-demo-tab.is-active{background:var(--sts-accent);color:#fff;box-shadow:0 3px 9px rgba(11,43,73,.15)}.sts-demo-tab:focus-visible{outline:3px solid #59bdeb;outline-offset:2px}.sts-demo-screen[hidden]{display:none!important}.sts-demo-screen>.sts-hero{margin-bottom:17px}.sts-demo-screen .sts-hero .sts-btn{cursor:default;opacity:.92}.sts-demo-screen .sts-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.sts-demo-screen .sts-list-row{cursor:default}.sts-demo-screen .sts-list-row:hover{background:#fff}.sts-demo-filter{display:inline-flex;align-items:center;min-height:38px;padding:8px 11px;border:1px solid #cfdeeb;border-radius:8px;background:var(--sts-surface,#fff);color:#657b91;font-size:12px}.sts-demo-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sts-demo-feature{display:flex;align-items:flex-start;gap:14px;padding:17px;margin:0}.sts-demo-feature-icon{display:grid;place-items:center;flex:0 0 39px;height:39px;border-radius:11px;background:#e9f6fe;color:#087fb5;font-size:19px}.sts-demo-feature strong{font-size:14px}.sts-demo-feature p{margin:5px 0 0;color:var(--sts-muted);font-size:12px;line-height:1.45}.sts-demo-footnote{margin:15px 2px 0;color:var(--sts-muted);font-size:11px;line-height:1.5}
@media(max-width:850px){.sts-demo-screen .sts-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sts-demo-screen .sts-list-head,.sts-demo-screen .sts-list-row{grid-template-columns:minmax(130px,1fr) 140px}.sts-demo-screen .sts-list-head>*:nth-child(n+3),.sts-demo-screen .sts-list-row>*:nth-child(n+3){display:none}}
@media(max-width:600px){.sts-demo-notice{align-items:flex-start;flex-direction:column;gap:4px}.sts-demo-switch{width:100%}.sts-demo-tab{flex:1;padding:10px 8px}.sts-demo-feature-grid{grid-template-columns:1fr}.sts-demo-tag{font-size:9px;padding:6px 8px}.sts-demo .sts-top{gap:7px}.sts-demo .sts-brand-logo{width:65px}}
.sts-portal-nav{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 18px;padding:10px;border:1px solid var(--sts-line);background:var(--sts-surface,#fff);border-radius:13px}.sts-portal-nav a{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border-radius:8px;color:var(--sts-ink);font-size:13px;font-weight:700}.sts-portal-nav a:hover,.sts-portal-nav a[aria-current=page]{background:#eaf6fc;color:var(--sts-accent)}.sts-portal-nav a[aria-current=page]{box-shadow:inset 0 -2px var(--sts-cyan)}.sts-overview-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.sts-overview-link{display:flex;flex-direction:column;gap:8px;padding:18px;background:var(--sts-surface,#fff);border:1px solid var(--sts-line);border-radius:13px;box-shadow:var(--sts-shadow)}.sts-overview-link strong{font-size:14px;color:var(--sts-ink)}.sts-overview-link span{font-size:12px;color:var(--sts-muted)}.sts-module-cases{display:grid}.sts-module-case{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid #edf2f6}.sts-module-case strong,.sts-module-case small{display:block}.sts-module-case small{margin-top:5px;color:var(--sts-muted);font-size:11px}.sts-module-case .sts-btn{white-space:nowrap}@media(max-width:850px){.sts-overview-links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.sts-portal-nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.sts-overview-links{grid-template-columns:1fr}.sts-module-case{align-items:flex-start;flex-direction:column}.sts-module-case .sts-btn{width:100%}}

.sts-audit li>strong,.sts-audit .sts-audit-details,.sts-audit li small{display:block!important}.sts-audit .sts-audit-details{margin-top:3px}.sts-audit li small{margin-top:4px}

/* Theme inheritance and accessible portal controls. All selectors scoped to the portal. */
.sts-office h1,.sts-office h2,.sts-office h3,.sts-office h4,.sts-office button{font-family:inherit}
.sts-office .sts-hero,.sts-office .sts-hero h2,.sts-office .sts-hero p,.sts-office .sts-hero .sts-eyebrow,.sts-office .sts-btn{color:var(--sts-on-accent,#fff)!important}
.sts-office .sts-panel,.sts-office .sts-top,.sts-office .sts-kpis>div,.sts-office .sts-overview-link,.sts-office .sts-message,.sts-office .sts-portal-nav{background:var(--sts-surface,#fff)}
.sts-office input,.sts-office textarea,.sts-office select{background:var(--sts-surface,#fff)!important;border-color:var(--sts-line)!important}
.sts-office .sts-sound{font:inherit;font-size:.85em;cursor:pointer;border:1px solid currentColor;background:transparent;color:inherit;padding:8px 12px;border-radius:8px;min-height:44px;margin:6px}
.sts-office :focus-visible{outline:3px solid var(--sts-accent);outline-offset:3px}
.sts-office .sts-top-actions{flex-wrap:wrap}.sts-office .sts-message{overflow-wrap:anywhere}.sts-office .sts-panel{min-width:0}
@media(max-width:600px){.sts-office .sts-top{flex-wrap:wrap}.sts-office .sts-top-actions{gap:8px}.sts-office .sts-message{max-width:100%}.sts-office .sts-message-meta{flex-wrap:wrap}.sts-office .sts-detail-header{flex-wrap:wrap}.sts-office .sts-form{padding:14px}.sts-office .sts-doc-requests{grid-template-columns:minmax(0,1fr)}}

.sts-office{container-type:inline-size}.sts-office .sts-wordmark{font-size:22px;white-space:nowrap;color:var(--sts-ink);letter-spacing:-1px}.sts-office .sts-wordmark span{font-size:inherit;color:var(--sts-accent)}
.sts-office .sts-list-head>*,.sts-office .sts-list-row>*{min-width:0;overflow-wrap:anywhere}
@container (max-width:760px){.sts-office .sts-list-head,.sts-office .sts-list-row{grid-template-columns:minmax(0,1fr) minmax(100px,.65fr)}.sts-office .sts-list-head>*:nth-child(n+3),.sts-office .sts-list-row>*:nth-child(n+3){display:none}}

/* Isolate portal text from WordPress theme rules that force white content text. */
section.sts-office *{color:var(--sts-ink)!important}
section.sts-office a:not(.sts-btn){color:var(--sts-accent)!important}
section.sts-office .sts-btn,section.sts-office a.sts-btn{color:var(--sts-on-accent,#fff)!important}
section.sts-office .sts-hero h1,section.sts-office .sts-hero h2,section.sts-office .sts-hero h3,section.sts-office .sts-hero h4{color:var(--sts-on-accent,#fff)!important}
section.sts-office .sts-hero p{color:var(--sts-on-accent,#fff)!important}
section.sts-office .sts-eyebrow{color:var(--sts-on-accent,#fff)!important}
section.sts-office .sts-hint,section.sts-office small,section.sts-office time,section.sts-office .sts-brand em,section.sts-office .sts-kpis span,section.sts-office .sts-list-head,section.sts-office .sts-overview-link span,section.sts-office .sts-detail-header small,section.sts-office .sts-detail-header p,section.sts-office .sts-message-meta time,section.sts-office .sts-side dt,section.sts-office .sts-audit small,section.sts-office .sts-powered,section.sts-office .sts-doc-row small,section.sts-office .sts-doc-request small,section.sts-office .sts-notice-row small,section.sts-office .sts-module-case small,section.sts-office .sts-demo-feature p,section.sts-office .sts-demo-footnote{color:var(--sts-muted)!important}
section.sts-office .sts-bell,section.sts-office .sts-bell b{color:#13a0da!important}
section.sts-office .sts-list-row{color:var(--sts-ink)!important}
section.sts-office .st-new,section.sts-office .st-in_progress{color:#0d79b3!important}
section.sts-office .st-waiting_office{color:#6555b0!important}
section.sts-office .st-waiting_client{color:#916313!important}
section.sts-office .st-closed{color:#147a4c!important}
section.sts-office .sts-pagination .active{color:var(--sts-on-accent,#fff)!important}
section.sts-office .sts-demo-tag{color:#885c0a!important}
section.sts-office .sts-demo-notice{color:#31546b!important}
section.sts-office .sts-demo-notice strong{color:var(--sts-accent)!important}
section.sts-office .sts-demo-tab{color:#51677b!important}
section.sts-office .sts-demo-tab.is-active{color:var(--sts-on-accent,#fff)!important}
section.sts-office .sts-demo-feature-icon{color:#087fb5!important}
section.sts-office .sts-demo-filter{color:var(--sts-muted)!important}
section.sts-office .sts-link-btn{color:var(--sts-accent)!important}
section.sts-office input::placeholder,section.sts-office textarea::placeholder{color:var(--sts-muted)!important;opacity:1}

section.sts-office .sts-wordmark span{color:var(--sts-accent)!important}
section.sts-office .sts-hero .sts-sound{color:var(--sts-on-accent,#fff)!important}
/* Keep optional provider forms usable within the portal on narrow screens. */
.sts-login .sts-login-button{width:100%}
.sts-security-panel .wp2fa-profile,.sts-security-panel .wp2fa-profile__card,.sts-security-panel .wp2fa-profile__cards{min-width:0;max-width:100%}
.sts-security-panel .wp2fa-profile button,.sts-security-panel .wp2fa-profile .button{max-width:100%;white-space:normal;overflow-wrap:anywhere;height:auto}
@media(max-width:600px){.sts-security-panel .wp2fa-profile{padding:14px}.sts-security-panel .wp2fa-profile__cards{grid-template-columns:minmax(0,1fr)}.sts-security-panel .wp2fa-profile__card{padding:12px}}
