:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#0b3530;background:#f5f2eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.loading{display:grid;place-items:center;min-height:100vh}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:24px 16px;background:#082f2b;color:#fff}.brand{display:flex;align-items:center;gap:12px;margin:0 8px 34px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#d8f261;color:#082f2b;font-weight:900}.brand b,.brand small{display:block}.brand small{margin-top:3px;color:#a8cec3;font-size:10px;letter-spacing:.12em;text-transform:uppercase}.nav{display:grid;gap:5px}.nav button{display:flex;align-items:center;gap:11px;width:100%;padding:12px;border:0;border-radius:10px;background:transparent;color:#bfdbd3;text-align:left;font:inherit;cursor:pointer}.nav button:hover,.nav button.active{background:#174a42;color:#fff}.nav i{width:22px;font-style:normal}.sidebar-footer{position:absolute;right:16px;bottom:20px;left:16px;padding:12px;border-top:1px solid #2d5a52;color:#a8cec3;font-size:12px}.main{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 30px;border-bottom:1px solid #dfe3dd;background:#fff}.outlet-name{font-weight:800}.top-actions{display:flex;align-items:center;gap:10px}.status{display:inline-flex;align-items:center;gap:7px;color:#4b625c;font-size:13px}.status:before{content:"";width:9px;height:9px;border-radius:50%;background:#22a875}.settings{padding:9px 12px;border:1px solid #d5ddd8;border-radius:9px;background:#fff}.content{padding:30px}.page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{color:#25705f;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.page-head h1{margin:5px 0;font-size:34px}.muted{color:#687871}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.card,.panel{padding:20px;border:1px solid #dce1dc;border-radius:18px;background:#fff;box-shadow:0 8px 30px #113a3010}.card span{color:#687871;font-size:13px}.metric{display:block;margin:12px 0 4px;font-size:30px}.metric.good{color:#147356}.dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;margin-top:16px}.panel h2{margin:0 0 16px;font-size:18px}.health-row,.activity-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #e7ebe7}.health-row:last-child,.activity-row:last-child{border-bottom:0}.pill{padding:5px 9px;border-radius:999px;background:#e5f5ed;color:#126244;font-size:11px;font-weight:800}.pill.warn{background:#fff0cb;color:#8b5d00}.toolbar{display:flex;gap:10px;margin-bottom:16px}.toolbar input,.toolbar select{min-height:42px;padding:0 12px;border:1px solid #d4ddd7;border-radius:10px;background:#fff;font:inherit}.toolbar input{flex:1}.data-wrap{overflow:auto;border:1px solid #dfe4df;border-radius:15px;background:#fff}.data{width:100%;border-collapse:collapse;min-width:780px}.data th,.data td{padding:14px 16px;border-bottom:1px solid #e6eae6;text-align:left;white-space:nowrap}.data th{background:#eef4f0;color:#536861;font-size:11px;letter-spacing:.05em;text-transform:uppercase}.data tr:last-child td{border-bottom:0}.money{text-align:right!important;font-variant-numeric:tabular-nums}.empty-module{display:grid;place-items:center;min-height:480px;text-align:center}.empty-module div{max-width:480px}.empty-icon{font-size:52px}@media(max-width:1000px){.cards{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:720px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.brand{margin-bottom:16px}.nav{display:flex;overflow:auto}.nav button{min-width:max-content}.sidebar-footer{display:none}.topbar,.content{padding:18px}.cards{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}}

/* Shared Company Profile in Merchant Backend */
#company-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;align-content:start}
#company-profile-form h2,#company-profile-form button,#company-profile-form>.muted{grid-column:1/-1}
#company-profile-form label{display:grid;gap:6px;color:#274b45;font-size:13px;font-weight:750}
#company-profile-form input,#company-profile-form select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #cbd8d3;border-radius:9px;background:#fff;color:#123b35;font:inherit}
#company-profile-form input[type="file"]{padding:7px}
.company-profile-logo{width:112px;height:112px;margin-top:7px;border:1px solid #d8e1dd;border-radius:12px;background:#f2f6f4;object-fit:contain}
@media(max-width:720px){#company-profile-form{grid-template-columns:1fr}}

/* Merchant owners commonly review reports from phones and small tablets. */
@media(max-width:720px){body{overflow-x:hidden;overflow-y:auto}.shell{min-height:100dvh}.sidebar{padding:14px 12px}.nav{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.topbar{align-items:flex-start;flex-wrap:wrap;gap:10px}.top-actions{width:100%;overflow-x:auto;padding-bottom:3px;-webkit-overflow-scrolling:touch}.top-actions>*{flex:0 0 auto}.content{min-width:0;padding:14px 12px 32px}.toolbar{align-items:stretch;flex-direction:column}.toolbar input,.toolbar select,.toolbar button{width:100%;min-height:48px}.data-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.card,.panel{padding:15px}.page-head h1{font-size:28px}}
