.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f5f3ed}.auth-brand{background:#142f39;color:#fff;padding:70px 12%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-brand h1{font-size:clamp(40px,5vw,78px);line-height:1.05;letter-spacing:-3px;margin-top:70px}.auth-brand p{color:#c5d2d0;font-size:17px;line-height:1.7}.auth-star{position:absolute;bottom:20px;right:30px;font-size:200px;color:#f77f67;opacity:.5}.auth-card{align-self:center;max-width:540px;margin:50px auto;padding:45px;width:100%}.auth-card h2{font-size:34px;letter-spacing:-1px;margin:18px 0}.auth-card>p{line-height:1.65;color:#667879;margin-bottom:30px}.auth-card .btn{width:100%;justify-content:center}.auth-card input,.portal-link{width:100%;border:1px solid #dce2dd;border-radius:8px;padding:13px;font:inherit;background:white}.auth-card label{display:block;margin-bottom:8px}#auth-error,#client-error{color:#a4402d;font-size:13px}.portal-prose{white-space:pre-wrap;line-height:1.8}.portal-actions{display:flex;gap:10px;flex-wrap:wrap}.portal-actions .btn{justify-content:center}.editor-grid>.panel .btn{width:100%}.portal-tasks{padding-left:20px;line-height:1.7}.portal-tasks li{padding:8px}.portal-delta{font-size:11px;font-weight:600;display:inline-block;margin-top:9px}.portal-delta.positive{color:#32735d}.portal-delta.negative{color:#a14e37}.portal-delta.neutral{color:#687979}.kpi{background:white;border:1px solid #dce3dd;border-radius:12px;padding:23px}.kpi-value{font-size:34px;font-weight:650;letter-spacing:-1px;margin:15px 0 4px}.kpi-label{font-size:12px;color:#617577}.hero-aside .portal-delta{background:#fff;color:#142f39;padding:6px 10px;border-radius:20px}.portal-bars{display:flex;gap:20px;padding:35px;align-items:flex-end;overflow:auto}.portal-bars>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:75px;gap:10px}.portal-bars span{width:35px;border-radius:5px 5px 0 0;background:#f77f67}.portal-bars small{font-size:10px;color:#617577}.portal-bars strong{font-size:12px}.modal .portal-link{margin:14px 0}.field>select{width:100%}.hero h2{font-size:clamp(28px,3vw,44px)}.sidebar-bottom #logout{margin-top:14px;color:white;border-color:#4d6269;justify-content:center;width:100%}.portal-actions .btn[disabled]{opacity:.5;cursor:wait}#save-feedback{font-size:12px}.service-check{display:flex;align-items:center;gap:8px;padding:7px 0}fieldset{border:1px solid #dce3dd;border-radius:8px;padding:14px}.modal{max-height:90vh;overflow:auto}.modal-backdrop{position:fixed;inset:0;background:#142f39aa;display:flex;align-items:center;justify-content:center;padding:20px;z-index:100}.modal-close{position:absolute;right:18px;top:15px;background:none;border:0;font-size:24px;cursor:pointer}.modal{position:relative}.modal p{line-height:1.65}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.modal h2{margin:20px 0;font-size:29px}.sidebar .nav button{cursor:pointer}.sidebar-bottom{margin-top:auto}
.sidebar-bottom #logout{background:transparent}.auth-card .muted{font-size:12px}.field-grid{align-items:start}#app[data-preview="true"] .content:before{content:'PODGLĄD LOKALNY · PRZYKŁADOWE DANE · ODDZIELNA BAZA TESTOWA';display:block;margin-bottom:24px;padding:10px 14px;background:#eee8d8;color:#6f5c32;font-size:10px;letter-spacing:1px}
@media(max-width:800px){.auth-shell{grid-template-columns:1fr}.auth-brand{padding:30px;min-height:270px}.auth-brand h1{font-size:40px;margin-top:30px}.auth-brand .auth-star{font-size:120px}.auth-card{padding:28px;margin:10px auto}.auth-brand p{display:none}.portal-bars{padding:22px}.kpi-value{font-size:27px}.modal{padding:25px;width:100%}.portal-actions .btn{flex:1}.auth-brand .wordmark{font-size:32px}}
@media print{.sidebar,.topbar,.btn,.text-button,.preview-banner,.footer,.head-actions{display:none!important}.main{margin:0!important}.content{padding:0!important}.panel,.hero,.kpi{break-inside:avoid}.hero{print-color-adjust:exact}.portal-delta{color:#142f39!important}.two-col{grid-template-columns:1fr 1fr}}

/* Shared BlackMewa foundations: original wordmark, paper, navy and coral. */
.keyword-suggestions{margin:20px 0}.keyword-suggestions p{font-size:12px;margin:15px 0}.suggestion-table{max-height:300px;overflow:auto;margin-top:14px}.suggestion-table .data-table{font-size:11px}.suggestion-table .data-table td,.suggestion-table .data-table th{padding:10px}.suggestion-table .data-table th{position:sticky;top:0}#suggestion-search{padding:9px;border:1px solid #bdc9c0;border-radius:3px;max-width:100%}
.auth-links{display:flex;justify-content:space-between;gap:20px;font-size:13px;margin:23px 0 25px}.auth-links a{text-underline-offset:4px}#auth-feedback{font-size:14px;line-height:1.8;color:#23624e;margin-bottom:16px}.system-mail-table{margin-top:28px}
.scope-card{padding:21px 25px;margin-top:24px}.scope-card summary{font-size:14px;font-weight:600;cursor:pointer}.scope-card details>div{padding:19px 0 5px;border-top:1px solid #d7ddd7;margin-top:17px}.scope-card li{font-size:13px;margin:7px 0}.scope-card p{font-size:12px;color:#52666e}.client-package-fields{padding-top:22px;border-top:1px solid #d7ddd7;margin-top:22px}.client-package-fields h3{font-size:19px;margin-bottom:9px}.client-package-fields p{font-size:12px;margin-bottom:20px}.client-package-fields .field{margin-top:17px}.channel-comments{border:1px solid #cfc1df;background:#f5f1f9;padding:16px;margin:17px 0}.channel-comments summary{font-size:12px;cursor:pointer;font-weight:600}.channel-comments .field{margin-top:17px}
.mail-sender{font-size:12px;margin:15px 0;padding:12px;background:#f3f0e7;line-height:1.8}.mail-warning,#notice-error{font-size:12px;color:#9b442e;margin:12px 0}.pdf-attachment{display:block;padding:14px;border:1px solid #c0cdc4;background:#edf2e9;font-size:12px;margin:16px 0;text-decoration:none}.mail-delivery{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #cfc1df;background:#eee7f5;border-radius:3px;padding:20px 22px;margin:20px 0}.mail-delivery strong{font-size:14px}.mail-delivery p{font-size:12px;margin-top:5px}#smtp-feedback{font-size:13px;margin-top:18px}.mail-delivery .mail-warning{color:#9b442e}#publication-mail .field{margin-top:16px}#smtp-form{margin-bottom:25px}#publication-mail>.muted{font-size:12px;line-height:1.7}
:root{--ink:#192e3b;--dark:#192e3b;--paper:#f3f0e7;--line:#d7ddd7;--muted:#52666e;--coral:#ff876d;--mint:#c8ded2;--lav:#c5b7eb}
body{font-size:15px;line-height:1.6}.sidebar{width:246px;padding:30px 22px;background:#192e3b;overflow-y:auto}.sidebar .bm-brand-wordmark{font-size:39px}.main{margin-left:246px}.topbar{background:#faf7ef;height:76px;padding:0 34px}.content{padding:34px;max-width:1600px}.subtext{font-size:14px;max-width:780px;color:#52666e}.eyebrow{font-size:10px}.wordmark{font-family:MewaPixelPrivate,monospace;font-weight:400}.sidebar .nav button{font-size:13px;padding:13px 11px}.sidebar .nav button.active{background:#324754;border:1px solid #4d646e;border-radius:2px}.sidebar-profile{color:#c8ded2;margin-bottom:16px;font-size:11px}.workspace{padding:13px 10px}.help-card{display:none}.sidebar-bottom{padding-top:30px}.brand-caption{color:#b7c9ca;letter-spacing:1.6px}.workspace small,.person small{color:#b7c9ca}.person strong{font-size:12px}.person{padding:0}.crumb{font-size:12px}.btn{font-size:12px;min-height:40px;padding:9px 14px;border-radius:3px}.btn.primary{border:1px solid #192e3b;box-shadow:3px 3px 0 #192e3b}.btn.primary:hover{background:#ffb098;transform:translateY(-1px)}select{font-size:13px;padding:10px 30px 10px 12px;min-height:42px}.panel,.kpi{border-radius:4px;border:1px solid #cad3cd}.panel-head{padding:24px 25px 4px}.panel-head p{font-size:12px;margin-top:6px;line-height:1.6}.form-body{padding:24px 25px}.field label{font-size:13px;font-weight:600}.field input,.field textarea,.field select{font-size:14px;padding:11px;border:1px solid #bfcac3;border-radius:3px}.field small{font-size:12px;line-height:1.65;color:#52666e;display:block;margin-top:7px}.field h3{margin:20px 0}.field-grid{gap:0 18px}.form-body>h3{margin:20px 0 14px;padding-top:15px;border-top:1px solid #e2e7e1}.form-body>h3:first-child{margin-top:0;padding-top:0;border:0}.editor-top{margin:22px 0;font-size:13px}.step-num{font-size:10px}.hero{background:#192e3b;border:2px solid #192e3b;border-radius:3px;padding:32px;box-shadow:5px 5px 0 #c5b7eb;margin-bottom:28px}.hero h2{font-size:clamp(27px,2.8vw,42px);letter-spacing:-1px;max-width:770px}.hero p{font-size:14px;line-height:1.8}.hero-aside{min-width:190px;padding-left:28px}.hero-aside small{font-size:12px;color:#d3dfdd}.hero-aside .big{font-size:44px;overflow-wrap:anywhere}.hero-star{font-size:65px}.kpi-grid{gap:16px}.kpi{padding:23px}.kpi-label{font-size:13px;color:#52666e}.kpi-value{font-size:34px}.portal-delta{font-size:12px}.portal-delta.negative,.position-change.negative{color:#a13d28}.portal-delta.positive,.position-change.positive{color:#23624e}.portal-delta.neutral,.position-change.neutral{color:#52666e}.hero-aside .portal-delta{border-radius:3px;margin-top:13px}.data-table{font-size:13px}.data-table th{font-size:10px;font-weight:600;padding:16px 22px;background:#fafbf7;color:#52666e}.data-table td{padding:18px 22px;border-bottom:1px solid #e3e7e1;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcf9}.data-table .name{font-size:13px}.data-table .name small{font-size:11px;line-height:1.7}.client-owner{display:block;font-size:12px;color:#52666e;margin-top:7px}.table-actions{gap:7px;flex-wrap:wrap}.table-actions .btn{min-height:34px;padding:7px 11px;font-size:11px}.chip{font-size:10px}.status{font-size:11px;padding:5px 9px;border-radius:3px;white-space:normal}.status.draft{background:#f3e5cc;color:#795718}.chart-footer{font-size:12px;line-height:1.6;padding:15px 25px;color:#52666e}.context-panel{background:#fff0df;border-color:#d6b794;border-radius:3px;padding:23px 25px}.context-panel p{font-size:14px;color:#70522f}.context-panel .mono{font-size:10px;color:#70522f}.portal-tasks li{padding:8px 0}.portal-prose{font-size:14px}.next-plan{font-size:13px;margin-top:18px;padding:18px}.next-plan strong{font-size:10px;color:#52666e}.section-head{margin-top:30px;margin-bottom:16px;gap:15px}.footer{font-size:11px;margin-top:42px}.caretaker-card{display:flex;align-items:center;gap:17px;padding:24px;margin-top:26px;border-left:4px solid #192e3b;background:#faf7ef}.caretaker-card h3{font-size:18px;margin:5px 0}.caretaker-card p{font-size:13px;overflow-wrap:anywhere}.caretaker-card a{text-underline-offset:3px}.caretaker-card small{color:#52666e}.caretaker-card p span{padding:0 8px}.caretaker-avatar{width:54px;height:54px;flex:none;background:#c5b7eb;border:1px solid #192e3b;box-shadow:3px 3px 0 #192e3b;display:grid;place-items:center;font-size:23px;font-weight:600}.role-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:26px 0 32px}.role-cards section{background:#faf7ef;border:1px solid #bbc9bf;padding:23px;border-top:3px solid #192e3b}.role-cards section:nth-child(2){background:#e6ece2}.role-cards section:nth-child(3){background:#ece5f4}.role-cards h3{font-size:22px;margin:14px 0 8px}.role-cards p{font-size:13px;color:#52666e;line-height:1.8}.schedule-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;background:#e4ece2;border:1px solid #bbcbbd;margin-bottom:28px;border-radius:3px}.schedule-strip>div{display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap}.schedule-strip strong{font-size:13px}.schedule-strip small{font-size:12px;color:#52666e}.import-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#e6ece3;border:1px solid #b9c9bc;padding:22px;border-radius:3px;margin-bottom:20px}.import-panel .mono{font-size:10px}.import-panel h3{margin:7px 0;font-size:18px}.import-panel p{font-size:12px;color:#52666e}.import-panel details{width:100%;font-size:12px}.import-panel summary{cursor:pointer;font-weight:600}.import-panel li{padding:5px 0}.seo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 22px;background:#eee7f5;border:1px solid #cfc1df;border-radius:3px;margin-bottom:20px}.seo-toolbar strong{display:block;font-size:15px;margin-top:5px}.seo-top-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.seo-top-grid .panel:first-child{border-top:3px solid #c5b7eb}.seo-top-grid .panel:last-child{border-top:3px solid #c8ded2}.rank-counters{display:flex;gap:50px;padding:22px 25px}.rank-counters span{font-size:11px;letter-spacing:1px;color:#52666e;display:block}.rank-counters strong{display:block;font-family:'Space Grotesk',Arial,sans-serif;font-size:36px;font-weight:500;line-height:1.5}.method-note{padding:20px 25px;background:#fafbf7;border-top:1px solid #e2e7e1;font-size:12px;color:#52666e}.method-note p+p{margin-top:9px}.keyword-table{max-height:600px;overflow:auto}.keyword-table th{position:sticky;top:0;z-index:1}.keyword-table td{white-space:nowrap}.keyword-table td:first-child{white-space:normal;min-width:190px;max-width:320px}#keyword-search{font-size:12px;min-width:130px;max-width:190px;padding:9px;border:1px solid #bdc9c0;border-radius:3px}.report-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-chart svg{width:100%;height:auto;padding:12px 8px 0}.report-chart svg text{fill:#52666e;font-size:12px;font-family:'DM Sans',Arial,sans-serif}.chart-gridline{stroke:#e2e7e1;stroke-width:1}.portal-bars{gap:25px;padding:30px 25px}.portal-bars span{background:#ff876d;border:1px solid #192e3b;border-bottom:0;border-radius:2px 2px 0 0}.portal-bars strong{font-size:13px}.portal-bars small{font-size:11px;color:#52666e}.auth-shell{background:#f3f0e7}.auth-brand{background:#192e3b}.auth-card{max-width:540px}.auth-card .bm-brand-wordmark{font-size:50px}.modal{border:2px solid #192e3b;border-radius:4px;box-shadow:6px 6px 0 #192e3b;max-width:620px}.modal p{font-size:13px}.modal textarea{resize:vertical}.modal-actions{flex-wrap:wrap}#team-error,#settings-error,#keyword-error{color:#a13d28;font-size:13px}
@media(max-width:1200px){.sidebar{width:220px;padding:28px 18px}.sidebar .bm-brand-wordmark{font-size:36px}.main{margin-left:220px}.content{padding:28px}.hero-star{display:none}.data-table td,.data-table th{padding:15px}.kpi{padding:18px}}
@media(max-width:960px){.report-chart-grid{grid-template-columns:1fr}.role-cards{grid-template-columns:1fr}.role-cards section{padding:20px}.role-cards h3{font-size:20px;margin:8px 0}.schedule-strip{align-items:flex-start}.schedule-strip>div{display:grid}.topbar{padding:0 24px}.hero-aside{min-width:160px}.hero-aside .big{font-size:34px}.kpi-value{font-size:29px}}
@media(max-width:700px){.sidebar{width:246px}.sidebar .bm-brand-wordmark{font-size:39px}.main{margin-left:0}.content{padding:24px 17px}.topbar{padding:0 17px;height:66px}.page-head h1{font-size:29px;letter-spacing:-1px}.hero{padding:24px}.hero-aside{display:block;padding:17px 0 0}.hero-aside .big{font-size:36px}.hero-aside small{max-width:none}.kpi-label{font-size:12px}.kpi{padding:17px}.kpi-value{font-size:28px}.seo-top-grid{grid-template-columns:1fr}.schedule-strip{display:block}.schedule-strip .btn{margin-top:14px}.seo-toolbar{align-items:flex-start;flex-direction:column}.role-cards{gap:12px}.panel-head{padding:20px 18px 4px;flex-wrap:wrap}.form-body{padding:21px 18px}.section-head{align-items:flex-start}.rank-counters{padding:20px}.caretaker-card{align-items:flex-start;padding:20px;gap:14px}.caretaker-card p span{display:none}.caretaker-card a{display:block}.footer{font-size:10px}.field-grid{grid-template-columns:1fr}.auth-brand .bm-brand-wordmark{font-size:42px}.modal-actions .btn{flex:1}}
@media print{.schedule-strip,.import-panel,.seo-toolbar,.sidebar-profile,#keyword-search{display:none!important}.content{padding:0!important}.main{margin:0!important}.hero{box-shadow:none}.report-chart-grid,.seo-top-grid{grid-template-columns:1fr 1fr}.keyword-table{max-height:none;overflow:visible}.keyword-table th{position:static}.caretaker-card{break-inside:avoid}.method-note,.chart-footer{font-size:10px}.data-table{font-size:11px}.data-table td,.data-table th{padding:9px}.panel{overflow:visible}.keyword-table tr{break-inside:avoid}.keyword-table thead{display:table-header-group}.month-line:after{content:none!important}.seo-section>.panel{break-inside:auto}.portal-actions{display:none!important}}
