:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#183d4b;background:#f3f6f8;line-height:1.5;font-size:15px}*{box-sizing:border-box}body{margin:0}header{background:#153e4c;color:white;padding:16px max(24px,calc((100vw - 1240px)/2));display:flex;gap:16px;align-items:center;flex-wrap:wrap}header a{font-weight:750;color:inherit;text-decoration:none}header button{margin-left:auto}main{max-width:1288px;margin:auto;padding:24px}h1{font-size:27px;line-height:1.25;margin:0 0 8px}h2{font-size:19px;margin:0 0 12px}h3{font-size:16px}p{margin:8px 0 14px}button,input,select,textarea{font:inherit;min-height:44px;border-radius:9px;border:1px solid #b7cbd3;padding:10px 12px;max-width:100%}button{cursor:pointer;background:white;color:#174453;font-weight:600}button:hover{background:#edf6f8;border-color:#6b9ba8}button.primary{background:#087d8d;color:white;border-color:#087d8d}button.primary:hover{background:#066a78}button:disabled{opacity:.45;cursor:default}input,select,textarea{background:white;color:#183d4b;width:100%;font-weight:400}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #e7a139;outline-offset:3px}label{display:block;font-weight:600;margin:12px 0}label input,label select,label textarea{display:block;margin-top:6px;font-weight:400}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:#087d8d;cursor:pointer}textarea{min-height:110px;resize:vertical}.card{background:white;border:1px solid #d8e3e8;border-radius:14px;padding:22px;margin:18px 0}.login{max-width:460px;margin:40px auto}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.muted,small{color:#607780;font-size:13px;font-weight:400}.notice{background:#e9f4f6;padding:14px;border-radius:10px}.error,.danger-text{color:#a6273b}#status{padding:10px 0}#status:empty{display:none}.badge{display:inline-block;background:#edf2f4;padding:4px 9px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap}.active{background:#dff1e8;color:#195942}.blocked{background:#ffe5e6;color:#922e3f}.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.details{display:grid;grid-template-columns:170px 1fr;gap:10px}dd{margin:0;overflow-wrap:anywhere}dt{color:#607780}.audit{border-top:1px solid #e1e9ed;padding:12px 0;overflow-wrap:anywhere}.audit p{margin:6px 0}.alert{border-left:4px solid #ba3e50;padding:12px;background:#fff0f0}#app{overflow-wrap:anywhere}[hidden]{display:none!important}button.danger{background:#fff5f5;color:#b4233c;border-color:#e2a6af}.inline-check{width:auto;display:inline-block}.contact-message,.message-preview{white-space:pre-wrap;overflow-wrap:anywhere}summary{cursor:pointer;font-weight:600;padding:10px 0}#business-nav{display:flex;gap:5px;padding:6px;background:#e7eef1;border-radius:12px;margin-bottom:28px}#business-nav button{border:0;background:transparent;font-weight:500;min-height:40px}#business-nav button:hover{background:white}.business-filter .grid{grid-template-columns:minmax(0,2fr) minmax(180px,1fr)}.business-filter label{margin:0}.business-record{border-left:4px solid #bdd3dc}.business-record[data-state=failed],.business-record[data-state=new],.business-record[data-state=awaiting_proforma],.business-record[data-state=pending]{border-left-color:#b77b16}.business-record[data-state=paid],.business-record[data-state=active]{border-left-color:#2a8062}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:22px 0}.metric{display:flex;flex-direction:column;align-items:start;text-align:left;gap:7px;padding:18px;border-color:#d8e3e8}.metric strong{font-size:30px;color:#087d8d}.metric span{font-size:13px;font-weight:500}.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.filter-grid label{min-width:0}.message-preview{background:#f5f9fa;border:1px solid #d8e3e8;border-radius:12px;padding:22px;margin:22px 0;font-size:16px;line-height:1.7}.campaign-row{display:flex;flex-direction:column;text-align:left;width:100%;gap:8px}.admin-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.admin-page-heading p{margin:8px 0 0}.quick-filters{display:flex;gap:8px;flex-wrap:wrap}.quick-filters button{border-radius:24px;min-height:38px;padding:8px 13px;font-size:13px;font-weight:500}.quick-filters [aria-pressed=true]{background:#dff1f3;border-color:#087d8d;color:#066675}.audience-filters{padding:16px 20px}.filter-primary{display:grid;grid-template-columns:minmax(240px,2fr) 1fr 1.25fr auto;gap:14px;align-items:end}.filter-primary label{margin:0}.audience-filters details{margin:8px 0}.audience-filters>.row{justify-content:flex-end}.selection-bar{position:sticky;top:10px;z-index:5;background:#e9f5f7;border:1px solid #bad5dd;border-radius:12px;padding:14px 16px;margin:20px 0 12px;display:flex;justify-content:space-between;gap:16px;align-items:center;box-shadow:0 3px 10px #153e4c08}.selection-bar p{font-size:13px;color:#607780;margin:3px 0 0}.selection-bar .row{justify-content:flex-end}.selection-bar button{font-size:13px}.user-table-wrap{background:white;border:1px solid #d8e3e8;border-radius:12px;overflow:auto}.user-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.user-table th{padding:12px;color:#607780;background:#f8fafb;font-size:12px;font-weight:600;border-bottom:1px solid #d8e3e8;white-space:nowrap}.user-table td{padding:10px 12px;border-bottom:1px solid #e8eef1;vertical-align:middle;font-weight:400}.user-table tr:last-child td{border-bottom:0}.user-table tbody tr:hover{background:#f7fbfc}.user-table td:first-child{width:48px}.user-table td:nth-child(2){min-width:215px}.user-table td:nth-child(2)>b{font-size:14px;font-weight:650}.user-table td span,.user-table td small{display:block}.user-table td small{font-size:12px;margin-top:3px;line-height:1.35}.user-table td .badge{display:inline-block}.user-table td:nth-child(3){min-width:170px}.text-button{border:0;background:transparent;padding:6px;min-height:36px;font-size:13px;font-weight:500}.pagination{justify-content:flex-end;margin-top:16px}.pagination span{font-size:13px;color:#607780}.audience-summary{background:#ecf7f8;padding:16px 20px}.audience-summary p{font-size:13px;margin:5px 0 10px}.template-picker{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:end;margin-bottom:14px}.template-picker label{margin:0}.compose-actions{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e2eaee;padding-top:20px;margin-top:22px}.save-template{padding:12px 0}.template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.template-card{margin:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px}.template-card .row{border-top:1px solid #e2eaee;padding-top:12px}.template-snippet{white-space:pre-wrap;line-height:1.6}.template-card h2{margin-bottom:8px}
@media(max-width:1000px){.filter-primary{grid-template-columns:1fr 1fr}.selection-bar{align-items:flex-start;flex-direction:column}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selection-bar .row{justify-content:flex-start}}
@media(max-width:750px){main{padding:18px 12px}.card{padding:18px}.grid{grid-template-columns:1fr;gap:0}.details{grid-template-columns:1fr;gap:3px}.details dd{margin-bottom:10px}header{padding:14px 16px}header span{font-size:13px}.admin-page-heading{align-items:flex-start;flex-direction:column;gap:12px}h1{font-size:24px}#business-nav{flex-wrap:wrap;margin-bottom:22px}#business-nav button{font-size:13px;padding:8px}.selection-bar{position:static}.user-table-wrap{border:0;background:transparent;overflow:visible}.user-table,.user-table tbody{display:block}.user-table thead{display:block}.user-table thead tr{display:block}.user-table thead th{display:none}.user-table thead th:first-child{display:flex;gap:10px;align-items:center;border:0;background:transparent}.user-table thead th:first-child:after{content:'Az oldalon láthatók kijelölése';font-size:13px;font-weight:400}.user-table tbody tr{display:grid;grid-template-columns:28px minmax(0,1fr) auto;background:white;border:1px solid #d8e3e8;border-radius:12px;margin-bottom:10px;padding:12px;gap:6px 10px}.user-table td{padding:0;border:0;min-width:0!important}.user-table td:first-child{grid-column:1;grid-row:1}.user-table td:nth-child(2){grid-column:2/-1;grid-row:1}.user-table td:nth-child(3){grid-column:2/-1}.user-table td:nth-child(4),.user-table td:nth-child(5){grid-column:2/-1;font-size:12px;color:#607780}.user-table td:nth-child(4):before{content:'Utolsó belépés: '}.user-table td:nth-child(5):before{content:'Utolsó üzenet: '}.user-table td:nth-child(6){grid-column:2;align-self:center}.user-table td:last-child{grid-column:3;align-self:center}.template-list{grid-template-columns:1fr}.template-picker{grid-template-columns:1fr}.business-filter .grid{grid-template-columns:1fr;gap:14px}}
@media(max-width:450px){.filter-primary,.filter-grid{grid-template-columns:1fr}.filter-primary{gap:12px}.quick-filters{gap:6px}.quick-filters button{font-size:12px}.selection-bar{padding:12px}.selection-bar .row{gap:8px;width:100%}.selection-bar #message-selected{width:100%;font-size:14px}.compose-actions{flex-direction:column-reverse}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:14px}.row{gap:8px}}
