/* VillageWheels restaurant v4 -- flat admin page & accessible icon controls.
   Loaded after legacy styles so no changes are required to the order/print handlers. */
.vw-icon-only{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-width:44px!important;width:44px!important;height:44px!important;padding:0!important;line-height:1!important;flex:0 0 44px!important;white-space:nowrap!important}
.vw-action-svg{width:19px;height:19px;display:block;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.vw-signout-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:44px!important}
.vw-signout-button .vw-action-svg{width:18px;height:18px}
.vw-icon-only:focus-visible,.vw-signout-button:focus-visible{outline:3px solid #e29a46!important;outline-offset:3px!important}
@media(max-width:500px){.vw-icon-only{min-width:42px!important;width:42px!important;height:42px!important;flex-basis:42px!important}}
/* Parent: Admin Settings is a full-width page, not a framed card within a card. */
body:not(.auth-page) .pro-admin-screen{max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body:not(.auth-page) .pro-admin-screen #vw-admin-body{padding:0!important;background:transparent!important}
body:not(.auth-page) .pro-admin-screen .pro-admin-toolbar{padding:11px 2px 17px!important;margin:0 0 18px!important;background:transparent!important;border:0!important;border-bottom:1px solid #dedede!important}
body:not(.auth-page) .pro-admin-screen #vw-admin-frame{width:100%!important;display:block!important;min-height:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html[data-vw-theme="dark"] body:not(.auth-page) .pro-admin-screen .pro-admin-toolbar{border-bottom-color:#464646!important}
html[data-vw-theme="dark"] body:not(.auth-page) .pro-admin-screen .pro-admin-access{color:#e5e5e5!important}
html[data-vw-theme="dark"] body:not(.auth-page) .pro-admin-screen #vw-admin-frame{background:#212121!important}
/* Embedded admin content: one continuous document, no three tabs, no inner scrollbar. */
body.admin-embed{margin:0!important;min-height:0!important;overflow:hidden!important;background:#fff!important;color:#222!important}
body.admin-embed>header,body.admin-embed #team-setup-toggle,body.admin-embed main>.toolbar,body.admin-embed main>#refresh-state,body.admin-embed main>#requests-section,body.admin-embed main>section:not(.setup),body.admin-embed main>#notice[hidden]{display:none!important}
body.admin-embed main{margin:0!important;padding:0 2px 24px!important;max-width:none!important;width:100%!important;min-height:0!important;overflow:visible!important;background:transparent!important}
body.admin-embed main>.panel.setup{display:block!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
body.admin-embed .panel.setup>h2,body.admin-embed .panel.setup>p,body.admin-embed .setup-tabs{display:none!important}
body.admin-embed .settings-grid{display:block!important;width:100%!important;margin:0!important;padding:0!important;max-width:none!important}
body.admin-embed .settings-grid>form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 22px!important;width:100%!important;max-width:none!important;margin:0!important;padding:14px 0 30px!important;border:0!important;border-bottom:1px solid #dedede!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.admin-embed .settings-grid>form+form{margin-top:16px!important}
body.admin-embed .settings-grid>form>h2{grid-column:1/-1!important;margin:0 0 6px!important;font-size:23px!important;letter-spacing:-.4px!important;color:#202020!important}
body.admin-embed .settings-grid>form>p,body.admin-embed .settings-grid>form>.saved-list,body.admin-embed .settings-grid>form>.form-result,body.admin-embed .settings-grid>form>div{grid-column:1/-1!important}
body.admin-embed .settings-grid>form>label{min-width:0!important;margin:4px 0 10px!important;color:#292929!important}
body.admin-embed .settings-grid>form>label.check{grid-column:1/-1!important;padding:10px 0!important;margin:0!important;display:flex!important;align-items:center!important;gap:10px!important;background:transparent!important;border:0!important}
body.admin-embed .settings-grid>form>button{justify-self:start!important;min-width:170px!important;margin:5px 0!important;box-shadow:none!important}
body.admin-embed .settings-grid>form #new-staff{grid-column:1/-1!important}
body.admin-embed .settings-grid>form input:not([type="checkbox"]),body.admin-embed .settings-grid>form select,body.admin-embed .settings-grid>form textarea{margin-top:7px!important;width:100%!important;max-width:none!important;min-height:46px!important;background:#fff!important;color:#202020!important;border:1px solid #c8c8c8!important;border-radius:9px!important;box-shadow:none!important}
body.admin-embed .settings-grid>form input[type="checkbox"]{margin:0!important;width:18px!important;height:18px!important;min-height:18px!important;accent-color:#1664cb!important}
body.admin-embed .saved-list{padding:0!important;border:0!important;background:transparent!important}
body.admin-embed .saved-list .staff-row{background:#f6f6f6!important;border:1px solid #ddd!important;color:#202020!important;box-shadow:none!important}
body.admin-embed .settings-grid>form button:not(.secondary):not(.danger){background:#2462bb!important;color:#fff!important;border:1px solid #2462bb!important}
body.admin-embed .settings-grid>form button.secondary{background:#f4f4f4!important;color:#222!important;border:1px solid #d0d0d0!important}
body.admin-embed .panel:not(.setup){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:22px 0 0!important;padding:10px 0!important}
body.admin-embed details.panel{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:20px 0 0!important;padding:0 0 20px!important}
body.admin-embed details.panel summary{font-size:18px!important;color:#242424!important;padding:15px 0!important;border-bottom:1px solid #ddd!important}
body.admin-embed table{color:#222!important;background:transparent!important}
body.admin-embed th,body.admin-embed td{color:inherit!important;border-color:#ddd!important;background:transparent!important}
body.admin-embed #notice:not([hidden]){color:#1f452b!important;background:#e4f5e9!important;margin:5px 0 12px!important}
body.admin-embed .form-result{background:#e4f5e9!important;color:#215d32!important}
body.admin-embed .form-result.error,body.admin-embed .field-error{color:#9e2525!important;background:#fff1f1!important}
/* Dark admin iframe: every section, form, label, input, staff list and print table is charcoal. */
html[data-vw-theme="dark"] body.admin-embed{background:#212121!important;color:#efefef!important}
html[data-vw-theme="dark"] body.admin-embed main,html[data-vw-theme="dark"] body.admin-embed .panel.setup,html[data-vw-theme="dark"] body.admin-embed .settings-grid,html[data-vw-theme="dark"] body.admin-embed .settings-grid>form,html[data-vw-theme="dark"] body.admin-embed details.panel,html[data-vw-theme="dark"] body.admin-embed .saved-list{background:#212121!important;color:#efefef!important}
html[data-vw-theme="dark"] body.admin-embed .settings-grid>form,html[data-vw-theme="dark"] body.admin-embed details.panel summary{border-color:#464646!important}
html[data-vw-theme="dark"] body.admin-embed .settings-grid>form>h2,html[data-vw-theme="dark"] body.admin-embed .settings-grid>form>label,html[data-vw-theme="dark"] body.admin-embed .settings-grid>form>label.check,html[data-vw-theme="dark"] body.admin-embed details.panel summary,html[data-vw-theme="dark"] body.admin-embed h2,html[data-vw-theme="dark"] body.admin-embed h3{color:#f4f4f4!important}
html[data-vw-theme="dark"] body.admin-embed p,html[data-vw-theme="dark"] body.admin-embed small,html[data-vw-theme="dark"] body.admin-embed .access-badge{color:#c6c6c6!important}
html[data-vw-theme="dark"] body.admin-embed a{color:#d5e4ff!important}
html[data-vw-theme="dark"] body.admin-embed .settings-grid>form input:not([type="checkbox"]),html[data-vw-theme="dark"] body.admin-embed .settings-grid>form select,html[data-vw-theme="dark"] body.admin-embed .settings-grid>form textarea{background:#303030!important;color:#f7f7f7!important;border:1px solid #666!important}
html[data-vw-theme="dark"] body.admin-embed .settings-grid>form input::placeholder{color:#bababa!important}
html[data-vw-theme="dark"] body.admin-embed .saved-list .staff-row{background:#2d2d2d!important;border-color:#515151!important;color:#f4f4f4!important}
html[data-vw-theme="dark"] body.admin-embed .saved-list .staff-row strong{color:#f7f7f7!important}
html[data-vw-theme="dark"] body.admin-embed .settings-grid>form button:not(.secondary):not(.danger){background:#e9e9e9!important;color:#202020!important;border-color:#e9e9e9!important}
html[data-vw-theme="dark"] body.admin-embed .settings-grid>form button.secondary{background:#383838!important;color:#f5f5f5!important;border:1px solid #686868!important}
html[data-vw-theme="dark"] body.admin-embed th,html[data-vw-theme="dark"] body.admin-embed td{background:transparent!important;color:#eaeaea!important;border-color:#464646!important}
html[data-vw-theme="dark"] body.admin-embed #notice:not([hidden]){background:#233a2e!important;color:#d1efdc!important}
html[data-vw-theme="dark"] body.admin-embed .form-result{background:#22392b!important;color:#e5f3e9!important}
html[data-vw-theme="dark"] body.admin-embed .form-result.error,html[data-vw-theme="dark"] body.admin-embed .field-error{background:#3b2525!important;color:#ffcdcd!important}
@media(max-width:720px){body.admin-embed .settings-grid>form{grid-template-columns:1fr!important;gap:6px!important;padding-bottom:24px!important}body.admin-embed .settings-grid>form>label,body.admin-embed .settings-grid>form>button{grid-column:1/-1!important}body.admin-embed .staff-row{flex-wrap:wrap!important}}
