/* v28: painel administrativo SaaS isolado do dashboard de restaurante. */
.ep28-master,.ep28-chooser{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#1a2a43;}
.ep28-master{min-height:100vh;background:#f4f6fa;display:flex;}
.ep28-master *,.ep28-chooser *{box-sizing:border-box;}
.ep28-master-aside{width:250px;min-width:250px;background:#fff;border-right:1px solid #e1e6ed;display:flex;flex-direction:column;padding:24px 16px;gap:8px;}
.ep28-master-brand{padding:0 6px 22px;border-bottom:1px solid #e8edf2;margin-bottom:16px;}
.ep28-master-brand img{width:174px;max-width:100%;height:auto;display:block;object-fit:contain;}
.ep28-admin-label{padding:12px;color:#8290a7;font-size:11px;font-weight:800;letter-spacing:.11em;}
.ep28-master-aside>a,.ep28-master-aside>button{background:transparent;text-decoration:none;text-align:left;color:#556276;border:0;display:flex;align-items:center;gap:12px;font-size:14px;padding:13px 14px;border-radius:11px;cursor:pointer;font-weight:650;}
.ep28-master-aside>a svg,.ep28-master-aside>button svg{width:19px;height:19px;flex-shrink:0;}
.ep28-master-aside>a.active{background:#fff0f0;color:#b91e25;}
.ep28-master-aside>button{margin-top:auto;}
.ep28-master-aside>p{color:#929dad;line-height:1.5;font-size:11px;padding:10px 14px;}
.ep28-master-main{min-width:0;flex:1;}
.ep28-master-head{height:72px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 36px;border-bottom:1px solid #e0e6ee;}
.ep28-master-head>strong{font-size:16px;}.ep28-master-head>span{font-size:12px;color:#8391a4;}
.ep28-master-head>button{margin-left:auto;border:1px solid #e2e7ef;background:white;border-radius:8px;padding:9px 16px;cursor:pointer;color:#b5222a;font-weight:700;}
.ep28-master-content{padding:36px;max-width:1650px;margin:auto;}
.ep28-master-title{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px;}
.ep28-master-title small{color:#be2026;font-weight:800;letter-spacing:.13em;}
.ep28-master-title h1{font-size:31px;margin:8px 0;line-height:1.2;letter-spacing:-.03em;}
.ep28-master-title p{color:#7a8799;margin:4px 0;}
.ep28-btn,.ep28-master button,.ep28-master select{font:inherit;cursor:pointer;}
.ep28-primary{border:0;background:linear-gradient(110deg,#b11922,#e03e42);color:white;border-radius:10px;padding:13px 18px;font-weight:750;box-shadow:0 8px 16px #b6272619;}
.ep28-primary svg{width:18px;height:18px;vertical-align:middle;margin-right:5px;}
.ep28-master-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;}
.ep28-master-stats article{background:#fff;border:1px solid #e1e7ee;border-radius:16px;min-height:118px;padding:22px;display:flex;justify-content:space-between;align-items:flex-start;flex-direction:column;box-shadow:0 4px 14px #182b4a08;}
.ep28-master-stats span{font-size:13px;color:#788599;}.ep28-master-stats strong{font-size:29px;color:#1a2a43;}
.ep28-master-panel{background:#fff;border:1px solid #e1e7ee;border-radius:17px;box-shadow:0 5px 20px #24355308;overflow:hidden;}
.ep28-master-toolbar{padding:22px;display:flex;align-items:center;gap:12px;}
.ep28-master-toolbar h2{font-size:18px;margin:0 auto 0 0;}
.ep28-master-toolbar input{border:1px solid #d9e1eb;border-radius:8px;min-width:250px;padding:12px;background:#fff;color:#22334d;}
.ep28-master-toolbar button{border:1px solid #d9e1eb;border-radius:8px;background:white;padding:11px 14px;color:#394b63;display:flex;align-items:center;gap:7px;}
.ep28-master-toolbar svg{width:16px;height:16px;}
.ep28-table-wrap{overflow-x:auto;}.ep28-master-panel table{width:100%;border-collapse:collapse;min-width:890px;}
.ep28-master-panel th{text-align:left;background:#f8fafc;color:#6e7c91;font-size:11px;letter-spacing:.04em;padding:16px 18px;}
.ep28-master-panel td{border-top:1px solid #edf0f4;padding:17px 18px;font-size:13px;vertical-align:middle;}
.ep28-master-panel td small{display:block;color:#8693a6;font-size:11px;margin-top:5px;}
.ep28-pill{padding:7px 10px;white-space:nowrap;border-radius:100px;font-weight:700;font-size:11px;background:#eff3f6;color:#7a8596;}
.ep28-pill.ep28-active{background:#e5f8ef;color:#147b4b;}.ep28-pill.ep28-draft{background:#fff3df;color:#aa6923;}.ep28-pill.ep28-paused{background:#ffe9e8;color:#b3232c;}
.ep28-actions{white-space:nowrap;}.ep28-actions a{margin-right:9px;color:#b22129;text-decoration:none;font-weight:700;}.ep28-actions select{max-width:134px;border:1px solid #dce3ee;border-radius:7px;padding:9px 6px;background:#fff;}.ep28-actions button{border:1px solid #dce3ee;background:white;color:#344961;border-radius:7px;margin-left:7px;padding:10px;font-size:12px;}
.ep28-table-empty{text-align:center;color:#8796a8;padding:40px!important;}.ep28-footnote{font-size:12px;color:#8691a1;margin:0;padding:18px 24px;border-top:1px solid #eff2f5;}.ep28-error{margin:5px 24px;color:#9f1d26;background:#fff0f0;padding:12px;border-radius:8px;}
.ep28-shade{position:fixed;z-index:9999;inset:0;background:#0b162ab8;display:grid;place-items:center;padding:14px;}
.ep28-modal{width:min(760px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 60px #0005;padding:28px;display:block;}
.ep28-modal>header{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:24px;}.ep28-modal h2{font-size:24px;margin:0 0 8px;}.ep28-modal p{color:#6f7c90;line-height:1.6;}.ep28-modal>header button{background:#f3f5f7;border:0;border-radius:50%;width:32px;height:32px;padding:7px;}
.ep28-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}.ep28-form-grid label:first-child,.ep28-form-grid label:nth-child(4){grid-column:auto;}
.ep28-form-grid label,.ep28-modal>label{font-size:12px;font-weight:750;color:#405269;display:block;}
.ep28-form-grid input,.ep28-modal>label input{display:block;width:100%;margin:8px 0 0;font:inherit;font-size:15px;color:#253b54;padding:13px 12px;border:1px solid #d5dfea;border-radius:9px;background:#fff;}
.ep28-modal .ep28-helper{background:#f8f9fc;border-radius:9px;padding:12px;font-size:12px;}
.ep28-modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;}.ep28-modal-actions button{border:1px solid #d9e0e9;border-radius:9px;padding:12px 18px;background:#fff;font-weight:700;cursor:pointer;}.ep28-modal-actions button.ep28-primary{background:#c21d28;color:white;border-color:#c21d28;}
.ep28-chooser{min-height:100vh;background:#f5f7fa;padding:9vh 22px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px;}
.ep28-chooser>img{width:200px;max-width:70vw;}.ep28-chooser h1{font-size:30px;margin:20px 0 0;}.ep28-chooser p{font-size:15px;color:#758397;max-width:600px;}
.ep28-choice-grid{width:min(780px,100%);display:grid;gap:12px;margin:18px 0;}
.ep28-choice-grid a{background:#fff;border:1px solid #e0e5ec;border-radius:14px;display:flex;align-items:center;gap:14px;text-align:left;text-decoration:none;padding:22px;color:#26344b;}
.ep28-choice-grid a>span{color:#b1202a;}.ep28-choice-grid a strong{font-size:17px;}.ep28-choice-grid a small{margin-left:auto;color:#8290a2;}.ep28-chooser button{padding:12px 22px;border-radius:10px;border:1px solid #dbe1e9;background:#fff;color:#b21e29;cursor:pointer;}
@media(max-width:1150px){.ep28-master-stats{grid-template-columns:repeat(2,minmax(0,1fr));}.ep28-master-content{padding:26px;}}
@media(max-width:780px){.ep28-master{display:block;}.ep28-master-aside{width:auto;min-width:0;padding:12px 16px;flex-direction:row;align-items:center;flex-wrap:wrap;}.ep28-master-brand{padding:0;border:0;margin:0;}.ep28-master-brand img{width:130px;}.ep28-admin-label,.ep28-master-aside>p{display:none;}.ep28-master-aside>a,.ep28-master-aside>button{font-size:12px;padding:8px 10px;margin:0;}.ep28-master-head{height:54px;padding:0 16px;}.ep28-master-head>span{display:none;}.ep28-master-content{padding:22px 12px;}.ep28-master-title{align-items:flex-start;flex-direction:column;gap:10px;}.ep28-master-title h1{font-size:26px;}.ep28-master-stats{gap:10px;}.ep28-master-stats article{min-height:105px;padding:16px;}.ep28-master-toolbar{flex-wrap:wrap;padding:16px;}.ep28-master-toolbar input{flex:1;min-width:140px;}.ep28-form-grid{grid-template-columns:1fr;}.ep28-modal{padding:20px;}.ep28-choice-grid a{flex-wrap:wrap;}}
