@charset "UTF-8";
:root{--ink:#18313a;--muted:#6d7f83;--brand:#087f6d;--brand-dark:#046553;--line:#dfe8e5;--paper:#f4f7f6;--white:#fff;--nav:#142d36;--gold:#e5bb70;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.55}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,3.2vw,38px);line-height:1.2;letter-spacing:-1.25px;margin-bottom:12px;font-weight:720}h2{font-size:19px;letter-spacing:-.4px;margin-bottom:15px}h3{font-size:16px;margin-bottom:8px}p{margin-bottom:16px}small{font-size:12px}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#edf3f0;border-radius:4px;padding:3px 6px;color:#214f43}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e6b456;outline-offset:3px}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--nav);color:#e5efed;display:flex;flex-direction:column;padding:32px 22px 22px}.brand{display:flex;align-items:center;gap:0;color:inherit;font-size:24px;font-weight:720;letter-spacing:-1px;white-space:nowrap}.brand:hover{text-decoration:none}.brand>span:not(.brand-icon){font-weight:400}.brand-icon{display:inline-grid;place-items:center;border-radius:10px;background:#c0e8d9;color:#143b36;font-size:27px;width:36px;height:36px;margin-right:10px}.workspace-label{color:#86a3aa;font-size:9px;letter-spacing:1.6px;margin-top:45px;font-weight:700}.workspace-name{font-size:14px;font-weight:600;line-height:1.4;margin-top:9px;margin-bottom:28px;overflow-wrap:anywhere}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{border-radius:8px;padding:11px 12px;color:#a9c0c4;font-size:13px;display:flex;align-items:center;gap:11px}.sidebar nav a span{font-size:19px;width:20px;text-align:center;line-height:1}.sidebar nav a:hover,.sidebar nav a.active{background:#25464e;color:#f5faf8;text-decoration:none}.sidebar nav a.active{box-shadow:inset 3px 0 #b7dfcc}.limit-card{padding:17px 16px;border:1px solid #34515a;border-radius:12px;margin-top:30px;background:#1b3740}.limit-card>span{font-size:9px;color:#a7bdbf;letter-spacing:1px}.limit-card strong{display:block;font-size:27px;margin:9px 0 8px;font-weight:600}.limit-card small{font-size:11px;color:#a0b7bc;font-weight:400}.limit-card p{font-size:11px;line-height:1.6;color:#b1c6c8;margin:0}.sidebar-bottom{margin-top:auto;padding-top:35px}.identity{display:flex;gap:10px;align-items:center;margin-bottom:17px}.avatar{display:grid;place-items:center;background:#41616a;color:#f0f7f3;width:33px;height:33px;border-radius:50%;flex-shrink:0}.identity strong{font-size:12px;overflow-wrap:anywhere}.identity small{display:block;font-size:10px;color:#96b2b8}.sidebar-bottom>a,.sidebar-bottom .link{color:#b0c5c9;font-size:11px}.sidebar-bottom form{display:inline;margin-left:12px}.link{padding:0;background:none;border:0;color:var(--brand);text-decoration:none}.link:hover{text-decoration:underline}.main{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.65);padding:0 42px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.secure{font-size:11px;color:#35735f}.content{max-width:1500px;margin:auto;padding:38px 42px 55px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.page-heading p{color:var(--muted);margin:0}.eyebrow{font-size:9px;font-weight:750;letter-spacing:1.7px;color:var(--brand);display:block;margin-bottom:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 19px;border:1px solid var(--brand);border-radius:8px;background:var(--brand);color:#fff;font-size:12px;font-weight:650;line-height:1.4;white-space:normal;text-align:center;min-height:43px}.button:hover{background:var(--brand-dark);color:#fff;text-decoration:none;border-color:var(--brand-dark)}.button.secondary{background:#fff;border-color:#d5e2dd;color:#28473e}.button.secondary:hover{background:#edf5f1}.button.danger{background:#aa4646;border-color:#aa4646}.button.danger-outline{background:#fff;border-color:#eed8d5;color:#ae4545}.button:disabled{opacity:.45;cursor:not-allowed}.full{width:100%}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.actions.vertical{flex-direction:column;align-items:stretch}.actions form{margin:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:27px 0 35px}.stats article{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.stats article>span{font-size:11px;color:#6d807f}.stats strong{font-size:35px;line-height:1.4;display:block;letter-spacing:-1px;font-weight:650;margin:10px 0 9px}.stats small{font-size:10px;color:#82928f;display:block}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 3px 12px #102c3610}.card.subtle{background:#edf4f0;box-shadow:none;border-color:#dce8e1}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:30px 0 15px}.section-heading h2{margin:0}.section-heading .muted{font-size:11px}.table-card{padding:0;overflow:hidden}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:10px;font-weight:600;letter-spacing:.2px;color:#78908a;background:#fafcfb;padding:15px 23px;border-bottom:1px solid var(--line)}td{padding:19px 23px;border-bottom:1px solid #edf1ef;font-size:12px}tbody tr:last-child td{border-bottom:0}td small{display:block;color:#8b9b99;font-size:10px;margin-top:5px}.row-title{font-weight:650;color:var(--ink)}.badge{display:inline-block;font-size:10px;line-height:1.4;white-space:nowrap;border-radius:5px;padding:5px 9px;background:#edf0f1;color:#5c7277;font-weight:600}.badge.running,.badge.sending{background:#e6f4f0;color:#147d64}.badge.done,.badge.sent{background:#e2f0e7;color:#306c42}.badge.paused,.badge.pending,.badge.uncertain{background:#fcf1dc;color:#976d1e}.badge.cancelled,.badge.failed{background:#f9e9e6;color:#b05444}.badge.skipped{background:#edf0f1;color:#747f82}.arrow{font-size:20px;color:#6a847c}progress{display:block;width:100px;height:4px;appearance:none;border:0;border-radius:3px;overflow:hidden;margin-top:7px;background:#e9efec}progress::-webkit-progress-bar{background:#e9efec}progress::-webkit-progress-value{background:#41aa8c}progress::-moz-progress-bar{background:#41aa8c}.empty{text-align:center;padding:48px 20px;white-space:normal}.empty p{color:var(--muted)}.empty-icon{font-size:31px;color:#2d9176;background:#e8f4ed;width:68px;height:68px;display:grid;place-items:center;border-radius:20px;margin:0 auto 20px}.note-strip{display:flex;gap:16px;align-items:center;color:var(--muted);font-size:11px;margin-top:28px}.note-strip>span{font-size:30px;color:#9ab0a8}.note-strip p{margin:0}.muted{color:var(--muted)}.notice{padding:16px 20px;border-radius:10px;margin-bottom:20px;line-height:1.6;border:1px solid #dae7e2;background:#edf5f1;font-size:12px;overflow-wrap:anywhere}.notice a{font-weight:650}.notice.warning{background:#fff5de;border-color:#f0dfb3;color:#88631a}.notice.error,.form-errors{background:#fbeceb;color:#933f38;border-color:#edc8c4}.notice.success{background:#eaf5ee;border-color:#cae7d5;color:#285d3c}.notice p:last-child{margin-bottom:0}.two-col{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}.stack{display:flex;flex-direction:column;gap:22px}.field{margin-bottom:21px}label{font-size:12px;font-weight:600;display:block;margin-bottom:7px}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #d4e0db;border-radius:7px;background:#fff;padding:11px 13px;color:var(--ink);font-size:13px;min-width:0}input::placeholder,textarea::placeholder{color:#a1afac}textarea{resize:vertical;line-height:1.6}input[type=file]{padding:16px;background:#f6faf7;border-style:dashed;font-size:11px}input[type=file]::file-selector-button{padding:8px 11px;border:0;border-radius:5px;background:#e0ede4;color:#315b43;margin-right:10px;cursor:pointer}input[type=checkbox]{accent-color:var(--brand);width:16px;height:16px;flex-shrink:0;margin:2px 0}.checkbox{display:flex;align-items:flex-start;gap:10px;font-weight:400}.required{color:#86a69a}.help{color:#7b8d86;font-size:11px;margin-top:7px}.help ul{padding-left:18px}.errorlist{color:#a7413b;font-size:12px;margin:8px 0;padding-left:18px}.form-errors{padding:10px 15px;margin-bottom:20px;border-radius:7px}.form-errors .errorlist{margin:0}.filters{display:flex;align-items:flex-end;gap:16px;padding:22px}.filters>div:first-child{flex:1.5}.filters>div{flex:1}.filters label{font-size:10px;color:var(--muted)}.filters input,.filters select{font-size:12px;min-height:42px}.back{display:inline-block;font-size:11px;margin-bottom:15px}.sample{display:block;overflow-x:auto;white-space:nowrap;font-size:11px;line-height:1.9;background:white;border:1px solid #d3e2d6;padding:14px;margin:18px 0}.clean-list{padding-left:20px;color:#5e7870;font-size:12px}.clean-list li{margin:13px 0;padding-left:5px}.fineprint{font-size:11px;color:#82948d;margin-top:17px;line-height:1.6}.divider{height:1px;background:var(--line);margin:24px 0}.narrow{max-width:780px}.province-field>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;background:#f8faf9;border:1px solid var(--line);border-radius:8px;padding:14px}.province-field label{display:flex;gap:8px;align-items:center;font-weight:400;font-size:12px}.province-field>label{font-weight:600}.consent{font-size:11px;padding:16px 0;line-height:1.5}.big-number{font-size:38px;font-weight:700;letter-spacing:-1px}.big-number small{font-size:12px;letter-spacing:0;font-weight:400;color:var(--muted);margin-left:10px}.preview-card>.section-heading{margin-top:0}.email-preview{background:#fff;border:1px solid #e3ebe7;border-radius:9px;overflow:hidden}.email-brand{padding:28px 28px 17px;color:var(--brand);font-size:19px;font-weight:700}.email-preview h2{padding:0 28px;font-size:22px;margin-bottom:24px}.email-preheader{font-size:12px;color:var(--muted);padding:0 28px 10px}.email-body{padding:0 28px 30px;line-height:1.8;font-size:14px;overflow-wrap:anywhere}.email-preview>.button{margin:0 28px 28px}.email-footer{padding:22px 28px;background:#f8faf9;border-top:1px solid var(--line);font-size:11px;color:#73877d;overflow-wrap:anywhere}.metrics{margin:0 0 20px}.metrics>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #edf2ef;font-size:12px}.metrics dd{font-weight:700;margin:0}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;font-size:12px;margin-top:22px}.pagination span{color:var(--muted)}.user-row{display:flex;justify-content:space-between;gap:30px;align-items:center}.account-action{min-width:330px}.account-action input{margin-bottom:12px}.public-main{min-height:100vh;background:#eef4f0}.public-brand{padding:32px 5vw;color:var(--ink)}.public-main>.content{max-width:1250px;padding-top:20px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:start;margin-top:24px}.auth-story{padding-top:32px}.auth-story h1{font-size:clamp(36px,4.6vw,61px);line-height:1.12;letter-spacing:-2.5px;margin:25px 0}.auth-story h1 em{font-style:normal;color:#0d806a}.auth-story>p{max-width:355px;color:#7b8f87;font-size:14px;line-height:1.8}.story-lines{display:flex;flex-direction:column;gap:19px;margin:42px 0 60px}.story-lines span{color:#a6bab0;font-size:11px;display:flex;align-items:center;gap:16px}.story-lines b{font-size:12px;font-weight:500;color:#3d5b50}.auth-story>small{font-size:10px;color:#9bac9f}.auth-card{padding:35px;box-shadow:0 18px 60px #2c4f4012}.auth-card h2{font-size:26px;letter-spacing:-.8px}.auth-card .muted{font-size:12px;margin-bottom:27px}.auth-card>.eyebrow{font-size:8px}.auth-card .link{margin-top:22px}.qr{display:block;width:220px;height:220px;max-width:100%;object-fit:contain;margin:0 auto 16px}.break{overflow-wrap:anywhere;white-space:normal}details{margin-bottom:18px;font-size:12px}summary{cursor:pointer;margin-bottom:8px}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0}.recovery-codes code{text-align:center;padding:10px;font-size:12px}.public-card{margin:40px auto}.public-card h1{font-size:30px}
@media(min-width:1600px){.content{padding-left:60px;padding-right:60px}}@media(max-width:1150px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:28px 15px}.content{padding:30px 25px}.topbar{padding:0 25px}.stats{gap:12px}.stats article{padding:17px}.two-col{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.card{padding:22px}.table-card{padding:0}.filters{flex-wrap:wrap}.filters>div{min-width:160px}.auth-layout{gap:45px}.user-row{align-items:flex-start}.account-action{min-width:260px}}
@media(max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.button{flex-shrink:0}.user-row{flex-direction:column}.account-action{width:100%;min-width:0}.auth-layout{gap:30px}.auth-story h1{font-size:39px}.auth-card{padding:25px}}
@media(max-width:700px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:18px 18px 12px}.sidebar>.brand{font-size:22px}.brand-icon{width:31px;height:31px;font-size:23px}.workspace-label,.workspace-name,.limit-card,.sidebar-bottom .identity{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;overflow:visible;margin-top:20px;padding-bottom:3px}.sidebar nav a{font-size:11px;white-space:nowrap;padding:10px 11px}.sidebar nav a span{display:none}.sidebar-bottom{margin:8px 0 0;padding:0;display:flex;justify-content:flex-end;gap:12px}.sidebar-bottom>a,.sidebar-bottom .link{font-size:10px}.topbar{height:47px;padding:0 20px;font-size:10px}.secure{font-size:9px}.content{padding:25px 18px 40px}.page-heading{flex-direction:column;gap:17px;margin-bottom:23px}.page-heading h1{font-size:29px}.page-heading p{font-size:12px}.page-heading .actions{width:100%}.stats{gap:10px;margin:22px 0}.stats article{padding:16px}.stats strong{font-size:30px;margin:7px 0}.stats article>span{font-size:10px}.stats small{font-size:9px}.card{padding:20px;border-radius:12px}.table-card{padding:0}.section-heading h2{font-size:17px}th,td{padding:15px 18px}.filters{gap:12px}.filters>div:first-child{flex-basis:100%}.filters>div{min-width:120px}.filters>.button{width:100%}.province-field>div{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr;margin-top:0}.auth-story{display:none}.public-brand{padding:25px 22px}.public-main>.content{padding:10px 18px 35px}.auth-card{padding:25px}.public-card{margin-top:20px}.recovery-codes{grid-template-columns:1fr}.note-strip{font-size:10px}.narrow h1{font-size:28px}}
@media(prefers-reduced-motion:no-preference){.button,.sidebar nav a{transition:background .15s ease,color .15s ease}}

/* Edytor lokalny, bez CDN i bez inline CSS. */
[hidden]{display:none!important}.composer-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr);gap:24px;align-items:start}.composer-card{min-width:0}.editor-toolbar{display:flex;gap:4px;flex-wrap:wrap;align-items:center;padding:10px;border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;background:#f8faf9}.editor-toolbar button{border:1px solid transparent;background:transparent;border-radius:5px;color:#425a54;padding:6px 9px;min-height:32px;font-size:12px}.editor-toolbar button:hover,.editor-toolbar button[aria-pressed=true]{background:#e1eee7;border-color:#bfd6c7;color:#065741}.toolbar-divider{width:1px;height:20px;background:var(--line);margin:0 5px}.editor-toolbar .toolbar-accent{color:var(--brand);font-weight:700}.message-editor{min-height:360px;padding:25px;border:1px solid var(--line);outline:none;background:white;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.message-editor:focus{border-color:#64a98c}.message-editor p{margin:0 0 16px}.message-editor h2,.email-body h2{padding:0;font-size:25px;line-height:1.3}.message-editor h3,.email-body h3{font-size:19px}.message-editor ul,.message-editor ol{padding-left:26px}.message-editor blockquote,.email-body blockquote{border-left:3px solid #b0cebd;margin-left:0;padding-left:18px;color:#688578}.message-image{display:block;max-width:100%;height:auto;margin:16px 0}.ProseMirror-selectednode{outline:3px solid #d8b875;outline-offset:3px}.editor-footer{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;background:#fafcfb;border:1px solid var(--line);border-top:0;border-radius:0 0 9px 9px;color:#8a9c93;font-size:10px}.align-left{text-align:left}.align-center{text-align:center}.align-right{text-align:right}.ai-card{border-top:3px solid #b0d3be}.ai-card>.muted{font-size:12px}.ai-copy{white-space:pre-wrap;font-size:12px;line-height:1.8;max-height:370px;overflow-y:auto;background:#f5f9f6;padding:15px;border-radius:8px;overflow-wrap:anywhere}.ai-card .actions>.button{font-size:11px;padding:10px 12px}dialog{width:min(600px,calc(100% - 30px));max-height:85vh;overflow-y:auto;border:1px solid var(--line);border-radius:16px;padding:26px;color:var(--ink);box-shadow:0 25px 100px #142d3650}dialog::backdrop{background:#142d3699}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.dialog-close{border:0;background:#edf4ef;color:var(--ink);font-size:24px;border-radius:50%;width:33px;height:33px;line-height:1}.image-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:250px;overflow-y:auto;margin-bottom:22px}.image-choice{padding:5px;border:2px solid transparent;border-radius:8px;background:#f4f7f5;min-width:0}.image-choice[aria-pressed=true]{border-color:var(--brand)}.image-choice img{width:100%;height:86px;object-fit:cover;border-radius:4px}.image-choice span{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-editor .ProseMirror-separator{display:inline!important;border:0!important;margin:0!important}.message-editor .ProseMirror-trailingBreak{display:initial}
@media(max-width:1150px){.composer-layout{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}.composer-card{padding:22px}.message-editor{padding:20px}}
@media(max-width:1000px){.composer-layout{grid-template-columns:1fr}}
@media(max-width:700px){.message-editor{min-height:280px;padding:17px;font-size:14px}.editor-toolbar{padding:7px;gap:3px}.editor-toolbar button{padding:5px 8px}.editor-footer{font-size:9px}.composer-card{padding:18px}.image-library{grid-template-columns:repeat(2,minmax(0,1fr))}}
