.secureHeader{position:static;display:flex;gap:18px;justify-content:space-between;padding:20px;background:white;border-bottom:1px solid #e5e9e2}.secureHeader b{font-size:28px;color:#185843}#secureMain{max-width:1250px;margin:auto;padding:30px 20px}#secureMessage{max-width:1200px;margin:15px auto;padding:12px;color:#8a3328}#secureMain .card{margin:18px 0}#secureMain form{display:grid;gap:14px}#secureMain input,#secureMain textarea,#secureMain select{width:100%}#secureMain .actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.secureGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.secureCode{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#142e26;color:#eff6e8;border-radius:8px;max-height:500px;overflow:auto}.fieldError{color:#a52a20}.secureBrandLogo{max-width:180px;max-height:80px;object-fit:contain}.secureLink{overflow-wrap:anywhere}.secureLinks li{padding:12px 0;list-style:none;border-bottom:1px solid #eee}.secureLinks{padding:0}.loginCard{max-width:520px;margin:30px auto!important}.secureHeader span{font-size:12px}.secureMuted{color:#6b7c73}#secureMain .plans{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.secureGrid,#secureMain .plans{grid-template-columns:1fr}.secureHeader{flex-wrap:wrap}#secureMain{padding:18px}}
[hidden]{display:none!important}.authenticated #secureShell{margin-left:260px}#secureSidebar{width:260px;padding:22px;gap:14px;height:100dvh;max-height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch}#secureSidebar .logo{margin:0 0 12px}#secureSidebar p{overflow-wrap:anywhere;font-size:12px}#secureSidebar select{width:100%;min-width:0}#secureSidebar nav{margin-top:18px}#secureSidebar nav button{width:100%;text-align:left;padding:12px;border:0;background:transparent;border-radius:8px;cursor:pointer;color:#4f6258}#secureSidebar nav button[aria-current=page]{background:#e7eedf;color:#185843;font-weight:700}#secureMenu,#secureMenuClose{display:none}#secureMain{min-width:0}#secureMain progress{display:block;width:100%;height:14px;accent-color:#185843;margin:12px 0}#secureMain label{display:block}#secureMain input[type=checkbox]{width:auto;margin-right:10px}#secureMain input[type=color]{width:80px;height:42px}#secureMain .task{align-items:start}#secureMain .task b{display:block}#secureMain .gateCard{position:relative;background:#edf2e7;padding:22px;border-radius:12px;margin:16px 0}#secureMain .paywall{border-radius:12px;overflow:hidden}#secureMain .paywall .gateCard{position:absolute;inset:10px;margin:0}#qrBox svg{max-width:230px;height:auto}.tableWrap{overflow-x:auto}.managedTask{padding:20px 0;border-bottom:1px solid #e2e8dd}#secureDialog{width:min(1000px,94vw);max-height:90dvh;overflow:auto;padding:24px}#secureDialog header{position:static}#secureMain .value{font-size:24px}#secureMain .hero{display:block}#secureMain .hoursRow{flex-wrap:wrap}#secureMain fieldset{min-width:0;border:1px solid #dbe3d5;border-radius:10px;padding:18px}#secureMain .serviceRow{grid-template-columns:2fr 1fr auto}#secureMain .plans .featured{border:2px solid #185843}#secureMessage:empty{display:none}#secureMessage{background:#fff5d7;color:#5d4526;overflow-wrap:anywhere}#secureMain pre{max-width:100%}.secureBrandLogo{max-width:160px}#secureMain td .actions{min-width:220px}#secureMain .badge{display:inline-block;border-radius:16px;background:#e7eedf;padding:6px 12px}.secureHeader{left:auto;height:auto}#secureMain .entityPublic{padding:0}#secureMain .entityPublic section{margin:20px 0}#secureMain .projectSlider input{width:100%}@media(max-width:800px){.authenticated #secureShell{margin-left:0}#secureSidebar{position:fixed;z-index:90;transform:translateX(-105%);width:min(330px,90vw);transition:transform .2s}#secureSidebar.open{transform:translateX(0)}#secureMenu,#secureMenuClose{display:block}#secureMenuClose{align-self:flex-end}#secureMain .serviceRow{display:flex;flex-wrap:wrap}#secureMain .results{grid-template-columns:1fr}.secureHeader{padding:12px;gap:10px}.secureHeader b{font-size:22px}#secureMain .hero{padding:24px}#secureMain .hero h2{font-size:30px}}@media(min-width:801px){#secureOverlay{display:none!important}}

#managedView>header{display:block;position:static;height:auto;padding:20px;border-radius:12px}#managedView>header h1{font-size:26px}#managedView>header p{margin-top:8px}

@media(max-width:600px){
 #secureMain .agencyClients{overflow:visible;min-width:0;margin-top:20px}
 .agencyClients table,.agencyClients tbody{display:block;width:100%;min-width:0}
 .agencyClients thead{display:none}
 .agencyClients tr{display:block;background:#fff;border:1px solid #dbe3d5;border-radius:14px;padding:18px;margin:16px 0}
 .agencyClients th,.agencyClients td{display:block;border:0;padding:8px 0;white-space:normal;overflow-wrap:anywhere;width:auto}
 .agencyClients th{font-size:18px}
 .agencyClients td[data-label]::before{content:attr(data-label) ': ';font-weight:700}
 #secureMain .agencyClients .actions{display:flex;flex-direction:column;align-items:stretch;min-width:0;width:100%;gap:10px}
 #secureMain .agencyClients .actions .btn{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center;justify-content:center;padding:12px}
}

/* Module 5: internal operations, responsive without hiding task content. */
.adminKpis strong{display:block;font-size:1.7rem;color:var(--green,#185843)}
.adminJobs,.adminLeads{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}
.adminJobs article,.adminLeads article,.opsSwitch{border:1px solid #dde7df;border-radius:12px;padding:16px;overflow-wrap:anywhere}
.opsTasks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.opsTasks label{display:flex;align-items:flex-start;gap:12px;border:1px solid #dde7df;padding:14px;border-radius:10px;margin:0;cursor:pointer}
.opsTasks input{width:22px;min-width:22px;height:22px;margin:0}.opsTasks small{display:block;margin-top:8px;overflow-wrap:anywhere}
.opsSwitch{margin-top:20px;background:#f6f9f6}.adminLeads .btn{white-space:normal;width:100%}
@media(max-width:600px){.opsTasks{grid-template-columns:1fr}.adminKpis{grid-template-columns:1fr}.opsSwitch .btn{width:100%;white-space:normal}}
.opsToast{position:fixed;right:18px;bottom:18px;z-index:110;max-width:min(480px,calc(100vw - 36px));padding:16px 20px;border-radius:12px;background:#185843;color:white;box-shadow:0 8px 32px #0003;overflow-wrap:anywhere}
#secureMain .adminHeader{display:block;position:static;height:auto;min-height:0;padding:12px 0 20px}
#secureMain .adminHeader h1{overflow-wrap:anywhere;margin:8px 0}
#secureMain .adminKpis{gap:12px;align-items:start}
#secureMain .adminKpis .card{margin:0;padding:18px}
