/* Marketing: identidade One Security, controles amplos e tarefas separadas. */
#pg-marketing{--mk-border:#e2e8f2}
#pg-marketing .mk-header{align-items:center;margin-bottom:24px;gap:20px}
#pg-marketing .mk-header h1{margin:0 0 6px}
#pg-marketing .mk-header-actions{display:flex;gap:10px;flex-wrap:wrap}
#pg-marketing .mk-header-actions button{min-height:44px;box-shadow:none}
#pg-marketing .mk-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
#pg-marketing .mk-stat{display:flex;text-align:left;align-items:center;gap:16px;padding:20px;background:white;border:1px solid var(--mk-border);border-radius:14px;color:var(--ink);min-width:0;transition:border-color .15s,background .15s}
#pg-marketing .mk-stat:hover{border-color:#93baff;background:#fcfdff}
#pg-marketing .mk-stat span:last-child{display:grid;gap:3px}
#pg-marketing .mk-stat small{font-size:12px;color:var(--ink2)}
#pg-marketing .mk-stat strong{font-size:26px;line-height:1.15}
#pg-marketing .mk-stat b{font-size:14px;font-weight:600}
#pg-marketing .mk-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:12px;background:var(--blue-soft);color:var(--blue)}
#pg-marketing .mk-icon svg{width:25px;height:25px}
#pg-marketing .mk-icon.purple{background:#f0ebff;color:#7351c7}
#pg-marketing .mk-icon.green{background:#e6f6ef;color:#14835b}
#pg-marketing .mk-tabs{display:flex;gap:6px;border-bottom:1px solid var(--mk-border);margin-bottom:24px;overflow-x:auto}
#pg-marketing .mk-tabs button{padding:13px 18px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--ink2);font-size:15px;font-weight:600;white-space:nowrap;min-height:48px}
#pg-marketing .mk-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}
#pg-marketing .mk-tabs button:hover{background:var(--blue-soft);border-radius:8px 8px 0 0}
#pg-marketing .mk-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:20px;align-items:start}
#pg-marketing .mk-card{padding:24px;border:1px solid var(--mk-border);border-radius:14px;background:white;box-shadow:0 2px 8px #10244a04;min-width:0}
#pg-marketing .mk-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:22px}
#pg-marketing .mk-card-head h2{font-size:20px;margin:0 0 6px}
#pg-marketing .mk-card-head p{font-size:13px;line-height:1.55;color:var(--ink2);margin:0;max-width:650px}
#pg-marketing .mk-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:7px;background:var(--blue-soft);color:#2154a2;font-size:11px;font-weight:600;white-space:nowrap}
#pg-marketing .mk-badge.local{background:#f0ebff;color:#6c47b6}
#pg-marketing .mk-form{display:grid;gap:20px;margin:0}
#pg-marketing .mk-form label:not(.mk-check){display:grid;gap:8px;font-size:14px;font-weight:600;min-width:0}
#pg-marketing .mk-form input:not([type=checkbox]),#pg-marketing .mk-form textarea{display:block;width:100%;max-width:none;min-width:0;min-height:46px;font:inherit;font-weight:400;color:var(--ink);background:white;border:1px solid #d6dfed;border-radius:9px;padding:12px 14px;box-sizing:border-box;outline:none}
#pg-marketing .mk-form textarea{min-height:220px;resize:vertical;line-height:1.65}
#pg-marketing .mk-form input:focus,#pg-marketing .mk-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1667e81a}
#pg-marketing .mk-form small{font-size:12px;font-weight:400;line-height:1.5;color:var(--ink2)}
#pg-marketing .mk-form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#pg-marketing .mk-check{display:flex;align-items:center;gap:10px;font-weight:400;padding:12px 14px;background:#f6f8fc;border:1px solid var(--mk-border);border-radius:9px;min-height:46px}
#pg-marketing .mk-check input{width:18px;height:18px;accent-color:var(--blue)}
#pg-marketing .mk-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--mk-border);padding-top:20px}
#pg-marketing .mk-actions button{box-shadow:none;min-height:44px}
#pg-marketing .mk-note{display:flex;align-items:start;gap:10px;padding:14px 16px;background:#f3f7ff;border:1px solid #e0eaff;border-radius:9px;color:#526580;font-size:12px;line-height:1.6;margin:16px 0 0}
#pg-marketing .mk-note svg{width:18px;height:18px;color:var(--blue);margin-top:2px}
#pg-marketing .mk-empty{padding:30px 18px;text-align:center;background:#f8faff;border:1px dashed #dce5f2;border-radius:10px;color:var(--ink2);line-height:1.6}
#pg-marketing .mk-empty svg{width:32px;height:32px;color:#96adc9;margin-bottom:10px}
#pg-marketing .mk-empty b{display:block;color:var(--ink);font-size:14px;margin-bottom:4px}
#pg-marketing .mk-empty p{font-size:13px;margin:0}
#pg-marketing .mk-draft{border:1px solid var(--mk-border);border-radius:10px;margin-bottom:12px;overflow:hidden}
#pg-marketing .mk-draft summary{padding:16px;cursor:pointer;line-height:1.5;overflow-wrap:anywhere}
#pg-marketing .mk-draft summary small{display:block;color:var(--ink2);font-size:12px;font-weight:400;margin-top:6px}
#pg-marketing .mk-draft-body{padding:0 16px 16px;border-top:1px solid var(--mk-border);overflow-wrap:anywhere}
#pg-marketing .mk-draft-body .mk-message{white-space:pre-wrap;max-height:250px;overflow:auto;line-height:1.7;color:var(--ink2)}
#pg-marketing .mk-draft-body button{margin-top:8px}
#pg-marketing .mk-table-wrap{overflow-x:auto;min-height:100px}
#pg-marketing .tbl{margin:0;width:100%;font-size:13px}
#pg-marketing .tbl th{color:var(--ink2);font-weight:600;background:#f6f8fc;white-space:nowrap;padding:13px 16px}
#pg-marketing .tbl td{padding:17px 16px;border-bottom:1px solid #eef2f8}
#pg-marketing .mk-code{font-weight:700;color:var(--ink);letter-spacing:.02em}
#pg-marketing .pager{margin-top:18px;flex-wrap:wrap}
#pg-marketing .mk-create{margin-top:20px;border:1px solid var(--mk-border);border-radius:12px;background:white}
#pg-marketing .mk-create>summary{display:flex;align-items:center;gap:10px;padding:20px 24px;cursor:pointer;font-size:16px;font-weight:600;list-style:none}
#pg-marketing .mk-create>summary::after{content:'＋';margin-left:auto;color:var(--blue);font-size:20px}
#pg-marketing .mk-create[open]>summary::after{content:'−'}
#pg-marketing .mk-create-body{padding:0 24px 24px}
#pg-marketing #mkCupomPlano:not(:empty){padding:20px;border:1px solid #cfe0ff;border-radius:10px;background:#f3f7ff;margin-top:20px;line-height:1.65}
#pg-marketing .mk-feedback{font-size:13px;color:#14835b;line-height:1.5;min-height:20px;margin:10px 0 0}
#pg-marketing .mk-feedback.error,#pg-marketing .mk-error{color:#b72c39}
#pg-marketing .mk-error{padding:18px;background:#fff5f5;border-radius:8px;line-height:1.6}
#pg-marketing .mk-capabilities{margin-top:24px;border-top:1px solid var(--mk-border);padding-top:18px;color:var(--ink2);font-size:12px;line-height:1.6}
#pg-marketing .mk-capabilities summary{cursor:pointer;font-weight:600}
#pg-marketing button:focus-visible,#pg-marketing summary:focus-visible{outline:3px solid #91b9ff;outline-offset:3px}
@media(max-width:1150px){#pg-marketing .mk-columns{grid-template-columns:minmax(0,1fr)}#pg-marketing .mk-stat{gap:10px;padding:16px}#pg-marketing .mk-icon{width:40px;height:40px}}
@media(max-width:780px){#pg-marketing .mk-stats{grid-template-columns:1fr}#pg-marketing .mk-header{align-items:start;flex-direction:column}#pg-marketing .mk-form-pair{grid-template-columns:1fr}#pg-marketing .mk-card{padding:20px}#pg-marketing .mk-card-head{flex-wrap:wrap}}
