.gdesk-portal { font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #12344d; max-width: 860px; }
.gdesk-portal * { box-sizing: border-box; }
.gp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gp-head h2 { margin: 0; font-size: 22px; }
.gp-muted { color: #6f7c87; font-weight: 400; }
.gp-btn { border: 1px solid #cfd7df; background: #fff; border-radius: 5px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
.gp-btn.primary { background: #2c5cc5; border-color: #2c5cc5; color: #fff; }
.gp-btn:disabled { opacity: .6; }
.gp-table { width: 100%; border-collapse: collapse; }
.gp-table th, .gp-table td { text-align: left; padding: 8px; border-bottom: 1px solid #e3e8ee; }
.gp-st { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 3px; }
.gp-st.open { background: #e5f2fd; color: #1f62b5; } .gp-st.done { background: #e0f5ef; color: #00795f; }
.gp-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.gp-form input, .gp-form select, .gp-form textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #cfd7df; border-radius: 5px; font: inherit; font-weight: 400; }
.gp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gp-hp { position: absolute !important; left: -9999px !important; }
.gp-thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.gp-msg { border: 1px solid #e3e8ee; border-radius: 8px; padding: 12px 14px; background: #fff; }
.gp-msg.support { background: #f5f8fd; border-color: #d5e2f6; }
.gp-msg-h { font-size: 13px; margin-bottom: 6px; }
.gp-msg-b img { max-width: 100%; }
.gp-flash { background: #e0f5ef; color: #00795f; padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
@media (max-width: 600px) { .gp-row { grid-template-columns: 1fr; } }
.gp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.gp-top h2 { margin: 0; font-size: 22px; }
.gp-tabs { display: flex; gap: 4px; }
.gp-tabs a { padding: 7px 14px; border-radius: 20px; color: #475867; text-decoration: none; font-size: 14px; }
.gp-tabs a.on { background: #2c5cc5; color: #fff; }
.gp-search { display: flex; gap: 8px; margin-bottom: 18px; }
.gp-search input { flex: 1; padding: 12px 14px; font-size: 16px; border: 1px solid #cfd7df; border-radius: 6px; }
.gp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 18px; }
.gp-cats a { border: 1px solid #e3e8ee; border-radius: 8px; padding: 14px; text-decoration: none; color: #12344d; display: flex; flex-direction: column; }
.gp-cats a:hover { border-color: #2c5cc5; } .gp-cats span { color: #6f7c87; font-size: 13px; }
.gp-articles { list-style: none; padding: 0; } .gp-articles li { border-bottom: 1px solid #eef1f4; padding: 10px 0; } .gp-articles p { margin: 4px 0 0; font-size: 14px; }
.gp-article h1 { font-size: 26px; margin: 0 0 4px; } .gp-article-b { margin-top: 14px; }
.gp-vote { margin-top: 24px; padding: 14px; background: #f5f8fd; border-radius: 8px; }
.gp-sugg { background: #fff8e6; border: 1px solid #f5dfa6; border-radius: 6px; padding: 10px 14px; margin: -4px 0 12px; font-size: 14px; }
.gp-sugg ul { margin: 6px 0 0 18px; padding: 0; }

.gp-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.gp-day { display: flex; flex-direction: column; gap: 6px; }
.gp-day-h { font-weight: 600; font-size: 14px; }
.gp-slot { border: 1px solid #c9d6ee; background: #fff; color: #1f4aa8; border-radius: 5px; padding: 8px; cursor: pointer; font-size: 14px; }
.gp-slot:hover { background: #2c5cc5; color: #fff; }
.gp-book-done { background: #f0faf6; border: 1px solid #c9ecdf; border-radius: 8px; padding: 18px; }
.gp-book-done h3 { margin-top: 0; }

/* ================= 1.4.4 · Modern ticket view ================= */
.gdesk-portal { --gp-pri: #2c5cc5; --gp-pri-d: #1f4aa8; --gp-tx: #12344d; --gp-mut: #6b7a88; --gp-bd: #e3e8ef; --gp-bg: #f6f8fb; --gp-ok: #059669; --gp-warn: #b45309; container-type: inline-size; max-width: 1180px; margin-left: auto; margin-right: auto; }
.gdesk-portal .gp-btn { border-radius: 9px; padding: 9px 16px; font-weight: 600; transition: background .15s, border-color .15s, box-shadow .15s; }
.gdesk-portal .gp-btn.primary:hover { background: var(--gp-pri-d); }
.gdesk-portal .gp-btn.ghost { background: #fff; color: var(--gp-tx); }
.gdesk-portal .gp-btn.ghost:hover { border-color: var(--gp-ok); color: var(--gp-ok); }
.gdesk-portal .gp-btn.block { display: block; width: 100%; text-align: center; margin-top: 10px; text-decoration: none; }
.gp-flex { flex: 1; }
.gp-tv { display: flex; flex-direction: column; gap: 14px; }
.gp-back { font-size: 14px; color: var(--gp-pri); text-decoration: none; font-weight: 600; align-self: flex-start; }
.gp-back:hover { text-decoration: underline; }
.gp-hero { background: linear-gradient(135deg, #f3f7ff, #fff 60%); border: 1px solid var(--gp-bd); border-radius: 16px; padding: 20px 22px 16px; }
.gp-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gp-id { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gp-mut); }
.gp-hero h1 { font-size: clamp(20px, 3.2vw, 26px); line-height: 1.25; margin: 6px 0 8px; color: var(--gp-tx); letter-spacing: -.01em; }
.gp-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--gp-mut); }
.gp-tech { display: inline-flex; align-items: center; gap: 6px; color: var(--gp-tx); font-weight: 600; }
.gp-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e8f0ff; color: #1f4aa8; white-space: nowrap; }
.gp-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gp-pill.warn { background: #fff4e0; color: var(--gp-warn); }
.gp-pill.done { background: #e3f6ee; color: var(--gp-ok); }
.gp-pill.open i { animation: gp-pulse 1.8s infinite; }
@keyframes gp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.gp-steps { list-style: none; display: flex; margin: 16px 0 0; padding: 0; counter-reset: s; }
.gp-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; font-size: 12px; color: var(--gp-mut); text-align: center; }
.gp-steps li::before { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 3px; background: var(--gp-bd); z-index: 0; }
.gp-steps li:first-child::before { display: none; }
.gp-steps li.done::before, .gp-steps li.cur::before { background: var(--gp-pri); }
.gp-steps i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12.5px; background: #fff; border: 2px solid var(--gp-bd); color: var(--gp-mut); }
.gp-steps li.done i { background: var(--gp-pri); border-color: var(--gp-pri); color: #fff; }
.gp-steps li.cur i { border-color: var(--gp-pri); color: var(--gp-pri); box-shadow: 0 0 0 4px rgba(44, 92, 197, .15); }
.gp-steps li.cur.warn i { border-color: #f59e0b; color: var(--gp-warn); box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.gp-steps li.done span, .gp-steps li.cur span { color: var(--gp-tx); font-weight: 600; }
.gp-callout { border-radius: 12px; padding: 12px 16px; font-size: 14.5px; }
.gp-callout.warn { background: #fff7e8; border: 1px solid #fbd38d; color: #7a4a00; }
.gp-callout.ok { background: #ecfbf4; border: 1px solid #a7e3c8; color: #065f46; }
.gp-linkbtn { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.gp-tv-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@container (min-width: 760px) { .gp-tv-grid { grid-template-columns: minmax(0, 1fr) 270px; } .gp-side { position: sticky; top: 24px; } }
.gp-thread2 { display: flex; flex-direction: column; gap: 12px; background: var(--gp-bg); border: 1px solid var(--gp-bd); border-radius: 16px; padding: 16px; }
.gp-day-sep { display: flex; align-items: center; gap: 10px; color: var(--gp-mut); font-size: 12px; font-weight: 600; }
.gp-day-sep::before, .gp-day-sep::after { content: ''; flex: 1; height: 1px; background: var(--gp-bd); }
.gp-bubble-row { display: flex; gap: 10px; align-items: flex-end; }
.gp-bubble-row.mine { justify-content: flex-end; }
.gp-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1f4aa8; color: #fff; font-size: 13px; font-weight: 700; font-style: normal; }
.gp-av.sm { width: 22px; height: 22px; font-size: 10px; }
.gp-bubble { max-width: min(560px, 86%); background: #fff; border: 1px solid var(--gp-bd); border-radius: 16px 16px 16px 4px; padding: 10px 14px 12px; box-shadow: 0 1px 2px rgba(18, 52, 77, .05); overflow-wrap: anywhere; }
.gp-bubble-row.mine .gp-bubble { background: var(--gp-pri); border-color: var(--gp-pri); color: #fff; border-radius: 16px 16px 4px 16px; }
.gp-bubble-h { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; font-size: 12.5px; margin-bottom: 3px; }
.gp-bubble-h time { color: var(--gp-mut); font-size: 11.5px; }
.gp-bubble-row.mine .gp-bubble-h time, .gp-bubble-row.mine .gp-bubble-h strong { color: rgba(255, 255, 255, .85); }
.gp-bubble-b { font-size: 14.5px; line-height: 1.55; }
.gp-bubble-b p { margin: 0 0 8px; } .gp-bubble-b p:last-child { margin-bottom: 0; }
.gp-bubble-b img { max-width: 100%; border-radius: 8px; }
.gp-bubble-row.mine .gp-bubble-b a { color: #fff; }
.gp-composer { margin-top: 12px; background: #fff; border: 1px solid var(--gp-bd); border-radius: 14px; padding: 10px 12px; box-shadow: 0 4px 16px rgba(18, 52, 77, .06); transition: border-color .15s, box-shadow .15s; }
.gp-composer:focus-within { border-color: var(--gp-pri); box-shadow: 0 0 0 4px rgba(44, 92, 197, .12); }
.gp-composer textarea { width: 100%; border: 0; outline: 0; resize: none; font: inherit; font-size: 15px; min-height: 72px; padding: 4px 2px; background: transparent; color: var(--gp-tx); }
.gp-composer-f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid #eef1f5; padding-top: 8px; }
.gp-hint { font-size: 12px; }
.gp-side { display: flex; flex-direction: column; gap: 12px; }
.gp-card { background: #fff; border: 1px solid var(--gp-bd); border-radius: 14px; padding: 14px 16px; }
.gp-card-h { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gp-mut); margin-bottom: 8px; }
.gp-dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; margin: 0; font-size: 13.5px; }
.gp-dl dt { color: var(--gp-mut); }
.gp-dl dd { margin: 0; text-align: right; font-weight: 600; color: var(--gp-tx); overflow-wrap: anywhere; }
.gp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: #4da1ff; }
.gp-dot.p-low { background: #8fcf72; } .gp-dot.p-high { background: #ffa800; } .gp-dot.p-urgent { background: #e43538; }
.gp-meet { background: linear-gradient(135deg, #eef3ff, #fff); }
.gp-meet strong { display: block; font-size: 14px; }
.gp-rate { display: flex; gap: 6px; }
.gp-rate a { flex: 1; text-align: center; border: 1px solid var(--gp-bd); border-radius: 10px; padding: 8px 4px; font-size: 12px; font-weight: 600; color: var(--gp-tx); text-decoration: none; transition: .15s; }
.gp-rate a b { display: block; font-size: 22px; }
.gp-rate a:hover { border-color: var(--gp-pri); background: #f2f6ff; transform: translateY(-1px); }
.gp-rated { font-size: 18px; font-weight: 700; }
.gp-tv .gp-flash { border-radius: 12px; margin: 0; }
.gp-empty { text-align: center; padding: 36px 16px; border: 1px dashed var(--gp-bd); border-radius: 16px; }
.gp-skel div { height: 90px; border-radius: 14px; background: linear-gradient(90deg, #eef1f5, #f7f9fb, #eef1f5); background-size: 200% 100%; animation: gp-sh 1.2s infinite; }
.gp-skel div:nth-child(2) { height: 220px; }
@keyframes gp-sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .gp-pill.open i, .gp-skel div { animation: none; } }
.gp-dl dt { white-space: nowrap; }
@media (hover: none) { .gp-hint { display: none; } }

/* ---------- Help center 2.2 (Helpjuice-style) ---------- */
.gp-hero { background: linear-gradient(135deg, #1e3a8a 0%, #2c5cc5 60%, #7c3aed 100%); color: #fff; border-radius: 16px; padding: 34px 20px 30px; text-align: center; margin-bottom: 22px; }
.gp-hero h2 { margin: 0 0 16px; font-size: 26px; color: #fff; }
.gp-hsearch { position: relative; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 6px 6px 6px 14px; box-shadow: 0 14px 40px rgba(15, 23, 42, .3); }
.gp-hsearch input { flex: 1; border: 0; outline: 0; font-size: 16px; height: 42px; min-width: 0; color: #0f172a; background: transparent; }
.gp-drop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(15, 23, 42, .25); overflow: hidden; z-index: 30; text-align: left; }
.gp-drop a { display: block; padding: 10px 14px; border-bottom: 1px solid #f1f5f9; color: #0f172a; text-decoration: none; }
.gp-drop a:hover { background: #f8fafc; } .gp-drop a b { display: block; } .gp-drop a span { display: block; font-size: 13px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-drop .gp-drop-all { color: #2c5cc5; font-weight: 600; background: #f8fafc; }
.gp-drop-none { padding: 14px; color: #475569; }
.gp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 22px; }
.gp-cats a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid #e3e8ee; border-top: 4px solid var(--c); border-radius: 12px; text-decoration: none; color: inherit; background: #fff; transition: transform .15s, box-shadow .15s; }
.gp-cats a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 40, 64, .1); }
.gp-cat-ico { font-size: 24px; } .gp-cats strong { color: #0f172a; } .gp-cats p { margin: 0; font-size: 13px; color: #64748b; } .gp-cats em { font-style: normal; font-size: 12.5px; color: var(--c); font-weight: 600; margin-top: auto; }
.gp-crumbs { font-size: 13px; color: #64748b; margin-bottom: 12px; } .gp-crumbs a { color: #2c5cc5; }
.gp-read { display: block; } .gp-read.has-toc { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.gp-ameta { margin-bottom: 16px; }
.gp-article-b { font-size: 16px; line-height: 1.7; } .gp-article-b h2, .gp-article-b h3 { scroll-margin-top: 90px; }
.gp-article-b blockquote { margin: 14px 0; padding: 12px 16px; border-left: 4px solid #2c5cc5; background: #eff6ff; border-radius: 0 10px 10px 0; }
.gp-toc { position: sticky; top: 90px; display: flex; flex-direction: column; font-size: 14px; } .gp-toc b { margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.gp-toc a { padding: 4px 0 4px 10px; border-left: 2px solid #e3e8ee; color: #334155; text-decoration: none; } .gp-toc a.l3 { padding-left: 20px; font-size: 13px; } .gp-toc a:hover { border-color: #2c5cc5; color: #2c5cc5; }
.gp-vote { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid #e3e8ee; font-weight: 600; }
.gp-fb { display: flex; flex-direction: column; gap: 8px; width: 100%; font-weight: 400; } .gp-fb textarea { width: 100%; border: 1px solid #cfd7df; border-radius: 8px; padding: 8px 10px; font: inherit; }
.gp-related { margin-top: 26px; } .gp-related h3 { font-size: 16px; } .gp-related ul { padding-left: 18px; }
.gp-still { margin-top: 24px; padding: 18px; background: #f8fafc; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gp-empty { text-align: center; padding: 24px; background: #f8fafc; border-radius: 12px; }
@media (max-width: 760px) { .gp-read.has-toc { grid-template-columns: 1fr; } .gp-toc { display: none; } }
.gp-cats a .gp-cat-ico { font-size: 26px !important; line-height: 1.2; }

/* Secure message card in a reply (2.3) */
.gp-bubble-b .gdesk-secure { box-shadow: 0 2px 10px rgba(44, 92, 197, .08); }
.gp-bubble-b .gdesk-secure a.gdesk-secure-link, .gp-bubble-b .gdesk-secure a.gdesk-secure-link:visited { color: #fff !important; text-decoration: none !important; }
.gp-bubble-b .gdesk-secure a.gdesk-secure-link:hover { filter: brightness(1.1); }
.gp-merged { background: #eef4ff; border: 1px solid #c7d7f5; color: #1e3a8a; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; font-size: 14px; }

/* ---------- Portal sign-in & two-factor (2.5) ---------- */
.gp-auth { max-width: 460px; margin: 10px auto 24px; background: #fff; border: 1px solid #e3e8ee; border-radius: 16px; padding: 26px 26px 18px; box-shadow: 0 8px 30px rgba(18, 52, 77, .07); text-align: left; }
.gp-auth h3 { margin: 4px 0 6px; font-size: 20px; }
.gp-auth-ico { font-size: 30px; line-height: 1; }
.gp-auth-f { margin-top: 14px; }
.gp-auth-f .gp-btn { width: 100%; justify-content: center; }
.gp-auth-alt { font-size: 13px; margin-top: 14px; }
.gp-auth-err { color: #b91c1c; font-size: 14px; margin: 4px 0 10px; }
.gp-code { font: 700 22px/1.2 ui-monospace, Menlo, Consolas, monospace !important; letter-spacing: .25em; text-align: center; }
.gp-link { background: none; border: 0; padding: 0; color: #2c5cc5; cursor: pointer; font: inherit; text-decoration: underline; }
.gp-whoami { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; color: #475569; margin: 0 0 12px; }
.gp-whoami span { margin-right: auto; }
.gp-sec .gp-steps2 { padding-left: 20px; margin: 14px 0 0; }
.gp-sec .gp-steps2 li { margin-bottom: 14px; font-weight: 600; }
.gp-sec .gp-steps2 li > span, .gp-sec .gp-steps2 form { font-weight: 400; }
.gp-qr { margin: 10px 0 6px; } .gp-qr svg { border: 1px solid #e2e8f0; border-radius: 10px; padding: 6px; background: #fff; }
.gp-key { font-size: 13px; background: #f1f5f9; padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.gp-rc { background: #f8fafc; border: 1px dashed #94a3b8; border-radius: 10px; padding: 12px 16px; font: 600 16px/1.7 ui-monospace, Menlo, Consolas, monospace; columns: 2; }
.gp-cf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 14px; } .gp-cf small { display: block; font-weight: 400; } .gp-cf-multi { border: 0; padding: 0; margin: 0 0 12px; grid-column: 1 / -1; } .gp-cf-multi legend { font-weight: 600; margin-bottom: 4px; } .gp-chk { display: inline-flex !important; gap: 6px; align-items: center; margin-right: 14px; font-weight: 400 !important; } .gp-req { color: #dc2626; }
