.hq-offline-page{margin:0;background:radial-gradient(ellipse at 90% 0,#644a5f30,transparent 60%),#f5efe5;color:#302537;font:16px/1.6 system-ui,sans-serif}.hq-offline-page *{box-sizing:border-box}.hq-offline-page header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px max(20px,calc((100vw - 1040px)/2));background:linear-gradient(120deg,#2e2335,#423246);color:#fff6df}.hq-offline-page header a{font:32px Georgia,serif;text-decoration:none;color:inherit}.hq-offline-page header span{font:13px system-ui;display:inline-block;margin-left:15px}.hq-offline-page main{max-width:1040px;padding:42px 22px 70px;margin:auto}.hq-offline-page h1{font:clamp(34px,5vw,58px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:16px 0 30px}.hq-offline-page h2{font:29px/1.2 Georgia,serif}.hq-offline-page h3{margin-bottom:8px}.hq-offline-page .eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;color:#6b515f}.hq-offline-page button,.hq-offline-page a.ho-button{border:1px solid #806e83;background:#49364e;color:#fff7e8;border-radius:9px;padding:11px 17px;min-height:44px;font:600 14px system-ui;cursor:pointer;display:inline-block;text-decoration:none}.hq-offline-page button:disabled{opacity:.55;cursor:default}.hq-offline-page label{display:grid;gap:7px;margin:17px 0;font-size:14px;font-weight:600}.hq-offline-page input:not([type=checkbox]),.hq-offline-page textarea{width:100%;padding:12px;border:1px solid #b5a5ad;border-radius:8px;background:#fffbf6;color:#302537;font:16px/1.5 system-ui;min-height:46px}.hq-offline-page textarea{resize:vertical}.hq-offline-page .ho-check{display:flex;align-items:flex-start;gap:12px}.ho-check input{margin-top:5px}.ho-card{margin:25px 0;padding:27px;border:1px solid #cebdc8;border-radius:16px;background:linear-gradient(135deg,#fffaf2,#eee5dc);box-shadow:0 10px 28px #2c1d2e0c}.ho-warning{padding:16px 20px;border:1px solid #bb873a;border-radius:10px;background:linear-gradient(120deg,#fff0c8,#f6e0b1);color:#533807;font-size:15px;font-weight:600}.ho-warning[data-online=true]{border-color:#7c9276;background:#e4ebda;color:#31402c}.ho-tools,.ho-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.ho-job-meta{font-weight:600;color:#6c4c60}.ho-small{font-size:13px;color:#6f626e}.hq-offline-page [hidden]{display:none!important}.hq-offline-page form{max-width:520px}.hq-offline-page pre{white-space:pre-wrap;overflow-wrap:anywhere}.ho-unsent{display:block;margin:9px 0;color:#7b4906;font-size:14px;font-weight:600}.ho-sent{color:#3c663d}.ho-page-status{position:relative;z-index:2147483000;padding:14px 18px;background:linear-gradient(100deg,#fff0c8,#edce91);color:#45300b;border-bottom:2px solid #ac7a2a;font:600 14px/1.5 system-ui;display:flex;justify-content:space-between;gap:15px;align-items:center}.ho-page-status a{color:#45300b;white-space:nowrap;text-decoration:underline}.ho-page-status[hidden]{display:none!important}.ho-install-card{margin:20px 0;padding:24px;border:1px solid var(--hd-line,#736576);border-radius:14px;background:var(--hd-panel,#241f2d)}.ho-install-card a,.ho-install-card button{margin:6px 10px 6px 0}.ho-install-help{display:block;color:inherit;font:13px/1.6 system-ui}.ho-install-link{display:inline-block;color:inherit;margin:10px 0;padding:9px 12px;border:1px solid currentColor;border-radius:8px;font:14px system-ui}.hq-offline-page .ho-card p{overflow-wrap:anywhere}@media(max-width:600px){.hq-offline-page main{padding:25px 16px 60px}.ho-card{padding:21px}.hq-offline-page header{padding:14px 16px}.hq-offline-page header span{display:block;margin:0;font-size:11px}.hq-offline-page header a{font-size:25px}.ho-page-status{align-items:flex-start;flex-direction:column;gap:6px}.ho-actions button{width:100%}}

.hq-offline-page #connection{position:sticky;top:0;z-index:20}.ho-page-status{position:sticky;top:0}

/* Connection and save certainty remain independent. */
.ho-status-stack{position:sticky;top:0;z-index:2147483000}
.ho-status-stack[hidden],.ho-save-status[hidden]{display:none!important}
.ho-status-stack .ho-page-status{position:static}
.ho-status-stack{position:relative}
.ho-status-stack .ho-page-status{flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;padding:8px 14px;border-bottom:1px solid #cbd0d8;background:#eef0f4;color:#454b58;font:600 12px/1.4 system-ui}
.ho-status-stack .ho-page-status::before{content:'';flex:none;width:7px;height:7px;border-radius:50%;background:#b48736}
.hq-offline-page header{position:sticky;top:0;z-index:30}
.hq-offline-page header>strong{font:30px Georgia,serif}
.hq-offline-page header>a.ho-button{min-height:46px;font:650 14px/1.4 system-ui;text-align:center}
.hq-offline-page #connection{position:static}
.hq-offline-page #check-connection{margin-top:12px}
.ho-save-status{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:2px solid #ac7a2a;background:linear-gradient(100deg,#fff0c8,#f3dbad);color:#45300b;font:500 14px/1.5 system-ui}
.ho-save-status strong{font-weight:750}
.ho-save-status button{flex:none;min-height:42px;max-width:100%;padding:9px 14px;border:1px solid #7b5722;border-radius:7px;background:#fff7e5;color:#45300b;font:650 13px/1.4 system-ui;cursor:pointer;white-space:normal}
.ho-save-status button:disabled{opacity:.55;cursor:default}
.ho-save-status button:focus-visible,.hq-offline-page summary:focus-visible{outline:3px solid #96701f;outline-offset:3px}
.hq-offline-page .ho-visit-card{margin:14px 0;padding:20px 24px}
.hq-offline-page .ho-visit-card h2{font-size:24px;margin:0 0 9px;overflow-wrap:anywhere}
.hq-offline-page .ho-visit-card p{margin:7px 0;font-size:14px;line-height:1.5}
.hq-offline-page .ho-note-editor{border-top:1px solid #cebdc8;margin-top:14px;padding-top:4px}
.hq-offline-page .ho-note-editor summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:14px;font-weight:650;list-style:none}
.hq-offline-page .ho-note-editor summary::-webkit-details-marker{display:none}
.hq-offline-page .ho-note-editor summary::after{content:'+';font-size:23px;font-weight:400}
.hq-offline-page .ho-note-editor[open] summary::after{content:'−'}
.hq-offline-page .ho-note-editor summary span{margin-left:auto;font-size:12px;font-weight:500;color:#7b4906}
.hq-offline-page .ho-note-editor label{margin-top:9px}
.hq-offline-page .ho-review{padding-top:8px;border-top:1px solid #cebdc8}
@media(max-width:600px){.ho-save-status{align-items:flex-start;flex-direction:column;gap:9px}.hq-offline-page .ho-visit-card{padding:18px}.hq-offline-page .ho-visit-card h2{font-size:23px}.hq-offline-page .ho-note-editor summary{flex-wrap:wrap}}
