/* v218: a single Ctrl+Q window contains both website editing and checks. */
.cms-admin-badge,.hah-admin-access,[data-admin-open],.hah-admin-access-panel{display:none!important}
#cms-admin-shell{--admin-ink:var(--ink,#151515);--admin-yellow:var(--yellow,#ffd22e);box-sizing:border-box;position:fixed;z-index:10000;inset:20px 20px auto auto;width:min(620px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:22px;border:3px solid var(--admin-ink);border-radius:24px;background:#fffdf3;color:var(--admin-ink);box-shadow:8px 8px 0 var(--admin-ink);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding:20px;font:14px/1.5 var(--body,"DM Sans",Arial,sans-serif);text-align:start;overflow-wrap:anywhere}
#cms-admin-shell *,#cms-admin-shell *::before,#cms-admin-shell *::after{box-sizing:border-box}
#cms-admin-shell[hidden],#cms-admin-shell [hidden]{display:none!important}
#cms-admin-shell .cms-admin-head{position:sticky;top:-22px;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 17px;padding:22px 0 16px;border-bottom:2px solid var(--admin-ink);background:#fffdf3}
#cms-admin-shell .cms-admin-head>div:first-child{flex:1;min-width:0}
#cms-admin-shell .cms-admin-head h2{margin:0;font:900 23px/1.15 var(--display,"Archivo Black",Arial,sans-serif);letter-spacing:-.035em}
#cms-admin-shell .cms-admin-head p{margin:7px 0 0;color:#625b48;font-size:12px;line-height:1.55}
#cms-admin-shell .cms-admin-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#cms-admin-shell button,#cms-admin-shell a{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;min-width:0;min-height:44px;margin:0;padding:10px 13px;border:2px solid var(--admin-ink);border-radius:12px;background:#fff;color:var(--admin-ink);font:inherit;font-weight:800;line-height:1.35;text-align:center;text-decoration:none;overflow-wrap:anywhere;cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease}
#cms-admin-shell button:hover:not(:disabled),#cms-admin-shell a:hover{background:#fff1b0;box-shadow:2px 2px 0 var(--admin-ink);transform:translate(-1px,-1px)}
#cms-admin-shell :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--admin-ink);outline-offset:3px;box-shadow:0 0 0 6px var(--admin-yellow)}
#cms-admin-shell button:disabled{opacity:.58;cursor:wait}
#cms-admin-shell button[aria-busy="true"]{background:#fff1b0;cursor:progress}
#cms-admin-shell .cms-icon-button{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:25px;line-height:1}
#cms-admin-shell :is(.cms-button.primary,.cms-button.dark,.hah-admin-test-send,[data-admin-cms]){background:var(--admin-yellow);box-shadow:2px 2px 0 var(--admin-ink)}
#cms-admin-shell :is(.cms-button.danger,#cms-logout){background:#fff2e7;color:#8c2c18}
#cms-admin-shell #cms-logout{flex:0 1 auto;min-height:44px;padding:8px 11px;font-size:12px;border-radius:999px}
#cms-admin-shell .cms-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 20px;overflow:visible}
#cms-admin-shell .cms-tab{flex:1 1 auto;padding:9px 12px;border-radius:999px;background:#fff8d7;font-size:13px}
#cms-admin-shell .cms-tab.is-active{background:var(--admin-yellow);box-shadow:2px 2px 0 var(--admin-ink)}
#cms-admin-shell .cms-pane{min-width:0;margin:0;padding:0}
#cms-admin-shell .cms-pane h3{margin:18px 0 9px;font-size:18px;line-height:1.35}
#cms-admin-shell .cms-pane p{color:#5f5847;line-height:1.65}
#cms-admin-shell .cms-card{min-width:0;padding:15px;border:1px solid #c5b78f;border-radius:16px;background:#fff;margin:13px 0}
#cms-admin-shell .cms-card-head{gap:12px;flex-wrap:wrap}
#cms-admin-shell .cms-card-head>div{min-width:0}
#cms-admin-shell .cms-actions,#cms-admin-shell .hah-admin-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}
#cms-admin-shell .cms-actions>*{flex:1 1 150px}
#cms-admin-shell .cms-row{min-width:0;gap:9px}
#cms-admin-shell .cms-row>*{max-width:100%;min-width:0}
#cms-admin-shell .cms-field{min-width:0;gap:6px;margin:12px 0}
#cms-admin-shell .cms-field label{font-size:13px;font-weight:800}
#cms-admin-shell :is(.cms-field input,.cms-field select,.cms-field textarea){width:100%;max-width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid #a79a75;border-radius:11px;background:#fff;color:var(--admin-ink);font:inherit;font-size:16px}
#cms-admin-shell .cms-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#cms-admin-shell .cms-save-actions{position:sticky;bottom:-22px;z-index:2;margin:20px 0 -22px;padding:15px 0 22px;border-top:2px solid var(--admin-ink);background:#fffdf3}
#cms-admin-shell .cms-save-actions .cms-actions{margin-top:0}
#cms-admin-shell .cms-save-actions>hr{display:none}
#cms-admin-shell .cms-login-view{min-width:0;padding:0 0 4px}
#cms-admin-shell .cms-login-view h2,#cms-admin-shell .cms-login-view h3{margin:0 0 9px;font-size:21px;line-height:1.3}
#cms-admin-shell .cms-login-view p{margin:0 0 20px;color:#625b48;line-height:1.65}
#cms-admin-shell .cms-login-view form{margin:0}
#cms-admin-shell .cms-login-view .cms-actions{margin:19px 0 0}
#cms-admin-shell .cms-status{font-size:13px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
#cms-admin-shell .cms-status:empty{display:none}
#cms-admin-shell .cms-status:not(:empty){margin:12px 0;padding:11px 13px;border:1px solid #c5b786;border-radius:11px;background:#fff8d7;color:#514722}
#cms-admin-shell .cms-status.ok{border-color:#739b66;background:#eef6e6;color:#295321}
#cms-admin-shell .cms-status.error{border-color:#bd7865;background:#fff0e8;color:#8c2c18}
/* The former floating tools panel is now the first pane inside this window. */
#cms-admin-shell .hah-admin-access-panel:not([hidden]){display:block!important;position:static;inset:auto;width:auto;max-width:none;min-width:0;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;font:inherit;color:inherit}
#cms-admin-shell .hah-admin-access-panel>strong{display:block;margin:0 0 13px;font-size:17px;font-weight:900;line-height:1.4}
#cms-admin-shell .hah-admin-access-panel nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 18px}
#cms-admin-shell .hah-admin-access-panel nav a{background:#fff8d7}
#cms-admin-shell [data-admin-minimize]{border-style:dashed;background:transparent;color:#514c3e}
#cms-admin-shell [data-admin-form]{padding-top:17px;border-top:1px solid #cfc4a3}
#cms-admin-shell [data-admin-form]>label{display:flex;align-items:flex-start;gap:10px;margin:0;padding:13px 14px;border:1px solid #b6a77c;border-radius:13px;background:#fff5c4;font-weight:750;line-height:1.5;cursor:pointer}
#cms-admin-shell input[data-admin-preview]{appearance:auto;flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:var(--admin-ink);cursor:pointer}
#cms-admin-shell .hah-admin-actions>*{flex:1 1 140px}
#cms-admin-shell .hah-admin-access-panel small{display:block;margin:17px 0;padding:13px 14px;border-left:3px solid #b5a579;border-radius:0 10px 10px 0;background:#f7f0db;color:#575142;font-size:12px;line-height:1.65}
#cms-admin-shell .hah-admin-test-send{flex-basis:100%}
#cms-admin-shell [data-admin-edit]{background:#fff8d7;text-decoration:underline;text-underline-offset:3px}
#cms-admin-shell .hah-admin-access-status{margin:17px 0 0;padding:12px 14px;border:1px solid #c5b786;border-radius:12px;background:#fff8d7;color:#514722;font-size:13px;font-weight:750;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
#cms-admin-shell .hah-admin-access-status:empty{display:none}
#cms-admin-shell .hah-admin-access-status.is-pending{border-color:#ae8e26;background:#fff3bf;color:#5c4500}
#cms-admin-shell .hah-admin-access-status.is-success{border-color:#739b66;background:#eef6e6;color:#295321}
#cms-admin-shell .hah-admin-access-status.is-error{border-color:#bd7865;background:#fff0e8;color:#8c2c18}
html.hah-admin-preview .form-card{outline:3px dashed #a77a00;outline-offset:5px}
@media(max-width:640px){
 #cms-admin-shell{left:8px!important;right:8px!important;top:8px!important;bottom:auto!important;width:calc(100vw - 22px)!important;max-width:calc(100vw - 22px)!important;max-height:calc(100vh - 22px);max-height:calc(100dvh - 22px);padding:17px;border-radius:20px;box-shadow:5px 5px 0 var(--admin-ink)}
 #cms-admin-shell .cms-admin-head{top:-17px;padding:17px 0 14px;gap:10px;margin-bottom:15px}
 #cms-admin-shell .cms-admin-head h2{font-size:20px}
 #cms-admin-shell .cms-admin-head-actions{flex:0 0 100px;gap:6px}
 #cms-admin-shell #cms-logout{padding:7px 9px;font-size:11px}
 #cms-admin-shell .cms-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:18px}
 #cms-admin-shell .cms-tab{flex-basis:calc(50% - 7px);font-size:12px;padding:9px 10px}
 #cms-admin-shell .cms-grid-2{grid-template-columns:1fr;gap:0}
 #cms-admin-shell .cms-save-actions{position:static;margin:20px 0 0;padding:15px 0 0}
 #cms-admin-shell .cms-card{padding:12px}
 #cms-admin-shell .hah-admin-actions>[data-admin-page]{flex-basis:100%;justify-content:flex-start}
 #cms-admin-shell .hah-admin-access-panel nav{gap:8px}
 #cms-admin-shell button,#cms-admin-shell a{padding:10px 11px}
}
@media(prefers-reduced-motion:reduce){#cms-admin-shell button,#cms-admin-shell a{transition:none}}
