.support-page{position:fixed;top:86px;bottom:68px;left:50%;transform:translateX(-50%);width:min(100%,480px);z-index:4;background:#fff;color:#202327;display:flex;flex-direction:column;font-family:inherit}.support-page[hidden]{display:none!important}.support-page .support-header{height:76px;flex:0 0 76px;display:flex;align-items:center;gap:13px;padding:0 18px;border-bottom:1px solid #edf0ef;background:#fff}.support-page .support-header h1{font-size:25px;margin:0;flex:1}.support-history{border:0;background:#fdecef;color:#5c3037;border-radius:22px;padding:9px 12px;font:inherit;font-size:14px}.support-page main{overflow-y:auto;flex:1;padding:35px 20px 98px}.support-welcome{text-align:center;max-width:440px;margin:0 auto 28px}.support-mark{display:grid;place-items:center;width:90px;height:90px;border-radius:50%;margin:0 auto 18px;background:linear-gradient(135deg,#c72324,#fb7500,#ffc720);color:#fff;font-size:43px;box-shadow:0 10px 24px #df6e323b}.support-welcome h2{font-size:25px;margin:0 0 8px}.support-welcome p{color:#6f7476;font-size:16px;line-height:1.65;margin:0}.support-quick{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:500px;margin:auto}.support-topic{min-height:120px;text-align:left;padding:16px;border:1px solid #e2e5e4;background:#fff;border-radius:18px;color:#242728;font:inherit;box-shadow:0 2px 7px #0000000c}.support-topic:hover{border-color:var(--user-theme,#075e45);background:#fbfefd}.support-topic i{display:block;font-style:normal;font-size:27px;margin-bottom:12px}.support-topic b{font-size:16px;line-height:1.4}.support-faq{display:block;margin:24px auto 0;border:1px solid #e3e6e5;border-radius:15px;max-width:500px;padding:0 16px}.support-faq summary{padding:14px 0;font-weight:700;cursor:pointer}.support-faq p{margin:0 0 14px;color:#6d7171;line-height:1.6}.support-ticket-list{max-width:500px;margin:20px auto 0}.support-ticket-list article{border:1px solid #e2e5e4;border-radius:14px;padding:12px;margin:8px 0;background:#f9fbfa}.support-ticket-list b{display:block}.support-ticket-list small{color:#747979}.support-composer{position:absolute;bottom:0;left:0;right:0;display:flex;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e6e8e7}.support-composer textarea{flex:1;resize:none;min-height:45px;max-height:86px;border:2px solid #dfb02d;border-left-color:#c11d29;border-radius:17px;padding:11px 13px;font:inherit;font-size:16px}.support-composer button{width:50px;border:0;border-radius:50%;background:var(--user-theme,#075e45);color:#fff;font-size:22px}.support-composer button:disabled{opacity:.45}@media(max-width:360px){.support-page main{padding-left:14px;padding-right:14px}.support-topic{padding:12px;min-height:105px}.support-topic b{font-size:14px}.support-page .support-header h1{font-size:22px}.support-history span{display:none}}

/* Header tools share one icon and caption scale. */
.head-actions{align-items:flex-start}.head-actions #authBtn,.head-actions #syncBtn,.head-actions #supportBtn{width:56px;min-height:52px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;font-size:0}.head-actions .head-icon{width:25px;height:25px;display:grid;place-items:center;margin:0 0 3px;font-size:23px;line-height:25px;color:currentColor}.head-actions .support-headset{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.head-actions #authBtn small,.head-actions #syncBtn small,.head-actions #supportBtn small{display:block;margin:0;font-size:11px;line-height:15px;white-space:nowrap;color:currentColor}

/* Simple ledger-style support title bar, using the selected theme. */
.support-page .support-header{height:64px;flex-basis:64px;padding:0 15px;border-bottom:3px solid var(--user-theme,#075e45);box-shadow:0 2px 7px #0000000d}.support-page .support-header h1{font-size:21px;color:var(--user-theme,#075e45)}.support-page .support-header .unified-back{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:var(--user-theme,#075e45);color:#fff}.support-page main{padding-top:25px}.support-composer{bottom:0;border-top:2px solid color-mix(in srgb,var(--user-theme,#075e45) 25%,#fff)}

/* Support is its own page: no dashboard header; only its back/title bar and a theme line. */
.support-page{top:0;bottom:68px;z-index:4}.support-page .support-header{height:70px;flex-basis:70px;border:0;box-shadow:inset 0 -5px 0 var(--user-theme,#075e45)}.support-page .support-header .unified-back{width:42px;height:42px;background:transparent;color:var(--user-theme,#075e45);border-radius:0;font-size:30px}.support-page .support-header h1{font-size:23px;color:#202327}

/* Reference-style single support header. */
.support-page .support-header{height:76px;flex-basis:76px;gap:11px;padding:0 16px;background:#fff;box-shadow:inset 0 -4px 0 var(--user-theme,#075e45)}.support-page .support-header .unified-back{flex:0 0 42px;width:42px;height:42px;color:#202327;font-size:29px}.support-page .support-header h1{flex:1;margin:0;color:#202327;font-size:25px;font-weight:800}.support-online{display:flex;align-items:center;gap:5px;flex:0 0 auto;padding:9px 11px;border-radius:22px;background:color-mix(in srgb,var(--user-theme,#075e45) 13%,#fff);color:#252525;font-size:13px;font-weight:700;white-space:nowrap}.support-online svg{width:20px;height:20px;fill:none;stroke:var(--user-theme,#075e45);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.support-history{flex:0 0 auto;padding:7px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#202327!important;font-size:13px!important;white-space:nowrap}@media(max-width:375px){.support-online{padding:8px}.support-online{font-size:0}.support-online svg{width:21px;height:21px}.support-history span{display:none}}

/* Minimal support page: only a back control, no page header. */
.support-page .support-header,.support-online,.support-history{display:none!important}.support-floating-back{position:absolute;z-index:3;top:14px;left:15px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:#fff;color:var(--user-theme,#075e45);box-shadow:0 2px 10px #00000018;font-size:29px}.support-page main{padding-top:82px}

/* Layer above the dashboard header while preserving the shared footer. */
.support-page{z-index:101!important}#app>nav{z-index:102!important}

/* Minimal top controls: thin theme line, hotline, and saved request history. */
.support-topline{position:absolute;z-index:2;top:0;left:0;right:0;height:3px;background:var(--user-theme,#075e45)}.support-top-actions{position:absolute;z-index:3;top:12px;right:14px;display:flex;align-items:center;gap:7px}.support-hotline,.support-history{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:4px;min-height:40px;padding:5px 9px!important;border:1px solid color-mix(in srgb,var(--user-theme,#075e45) 24%,#d9dfdc)!important;border-radius:11px!important;background:#fff!important;color:var(--user-theme,#075e45)!important;text-decoration:none;font:inherit!important;line-height:1!important;box-shadow:0 1px 5px #0000000a}.support-hotline>span,.support-history>span{grid-row:1/3;font-size:20px}.support-hotline b,.support-history b{font-size:11px;font-weight:800}.support-hotline small{font-size:9px;color:#56615c}.support-history{display:flex;gap:4px}.support-history b{font-size:11px}.support-floating-back{top:12px;border:1px solid color-mix(in srgb,var(--user-theme,#075e45) 24%,#d9dfdc);box-shadow:0 1px 5px #0000000a}@media(max-width:370px){.support-top-actions{right:8px;gap:4px}.support-hotline{padding:5px 6px!important}.support-history{padding:5px 7px!important}.support-hotline b{display:none}.support-hotline small{font-size:10px}}

/* Support history is a separate page, never an inline panel. */
.support-history-page{position:fixed;inset:0 0 68px;z-index:101;width:min(100%,480px);margin:auto;background:#fff;color:#202327;overflow-y:auto}.support-history-page[hidden]{display:none!important}.support-history-page>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:12px;min-height:68px;padding:10px 15px;background:#fff;box-shadow:inset 0 -3px 0 var(--user-theme,#075e45)}.support-history-page>header .unified-back{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:11px;background:#fff;color:var(--user-theme,#075e45);font-size:28px;box-shadow:0 1px 6px #00000012}.support-history-page>header h1{margin:0;font-size:21px}.support-history-page .support-ticket-list{margin:0;padding:16px}.support-history-page .support-ticket-list article{margin:0 0 10px;padding:14px;border-left:4px solid var(--user-theme,#075e45);box-shadow:0 2px 9px #0000000c}.support-history-empty{padding:50px 20px;text-align:center;color:#707a74}

/* The toolbar history button must stay visible; only old header elements are hidden. */
.support-top-actions .support-history{display:flex!important}

/* History has its own fixed message composer. */
.support-history-page>main{padding-bottom:96px}.support-history-page .support-composer{position:absolute;bottom:0;z-index:2}.support-history-page .support-composer textarea{background:#fff}

/* User/admin support conversation presentation. */
.support-history-page .support-message{margin:0 0 10px;padding:10px 12px;max-width:82%;border-radius:13px;box-shadow:0 1px 5px #0000000d}.support-history-page .user-message{margin-left:auto;background:color-mix(in srgb,var(--user-theme,#075e45) 13%,#fff);border-bottom-right-radius:3px}.support-history-page .admin-message{margin-right:auto;background:#f1f3f2;border-bottom-left-radius:3px}.support-message b,.support-message small{display:block;font-size:10px}.support-message b{color:var(--user-theme,#075e45)}.support-message p{margin:5px 0;font-size:14px;line-height:1.45}.support-message small{color:#77817c}.admin-view-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}.admin-support-user{display:grid;grid-template-columns:42px minmax(0,1fr) auto;width:100%;gap:10px;align-items:center;padding:11px 0;border:0;border-top:1px solid #ecefec;background:#fff;text-align:left;font:inherit}.admin-support-user>span:nth-child(2){min-width:0}.admin-support-user b,.admin-support-user small,.admin-support-user em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-support-user b{font-size:13px}.admin-support-user small,.admin-support-user em{margin-top:2px;color:#777;font-size:10px}.admin-support-user em{font-style:normal}.admin-support-user i{display:grid;place-items:center;min-width:19px;height:19px;border-radius:10px;background:#c52222;color:#fff;font-size:10px;font-style:normal}.admin-support-chat{width:min(460px,96vw);height:min(720px,88dvh);padding:0;border:0;border-radius:17px;overflow:hidden;background:#fff}.admin-support-chat::backdrop{background:#0008}.admin-support-chat header{display:flex;align-items:center;gap:10px;min-height:62px;padding:10px 13px;background:var(--user-theme);color:#fff}.admin-support-chat header .unified-back{width:38px;height:38px;border:0;border-radius:10px;background:#fff;color:var(--user-theme)}.admin-support-chat header div{min-width:0}.admin-support-chat header b,.admin-support-chat header small{display:block}.admin-support-chat header small{margin-top:2px;font-size:10px}.admin-support-chat main{height:calc(100% - 126px);overflow:auto;padding:14px;background:#f5f7f6}.admin-support-chat main article{max-width:82%;margin:0 0 10px;padding:10px;border-radius:12px;background:#fff}.admin-support-chat main article.mine{margin-left:auto;background:color-mix(in srgb,var(--user-theme,#075e45) 14%,#fff)}.admin-support-chat main p{margin:0;font-size:14px}.admin-support-chat main small{display:block;margin-top:5px;color:#77817c;font-size:9px}.admin-support-chat form{display:flex;gap:8px;padding:10px;border-top:1px solid #e3e7e5}.admin-support-chat textarea{flex:1;resize:none;height:42px;border:1px solid #ccd5d0;border-radius:10px;padding:9px;font:inherit}.admin-support-chat form button{border:0;border-radius:10px;padding:0 13px;background:var(--user-theme);color:#fff;font:inherit;font-weight:800}

/* Hotline remains available from support history as well. */
.support-history-page>header{padding-right:12px}.support-history-page>header h1{flex:1}.support-history-page .history-hotline{display:grid!important;flex:0 0 auto;min-height:39px;padding:4px 8px!important}.support-history-page .history-hotline>span{font-size:18px}.support-history-page .history-hotline b{font-size:10px}.support-history-page .history-hotline small{font-size:8px}@media(max-width:360px){.support-history-page .history-hotline b{display:none}.support-history-page .history-hotline small{font-size:9px}}
