body.focused-workspace .workspace-chat-header .workspace-tour-start{display:inline-flex;align-items:center;gap:10px;min-width:172px;min-height:54px;padding:10px 14px;border:1px solid #a9cde4;border-radius:13px;text-align:left;background-color:#edf7fe;background-image:linear-gradient(110deg,transparent 25%,#a0e4ff88 48%,transparent 70%),linear-gradient(145deg,#fff,#e8f5ff);background-size:250% 100%,100% 100%;background-position:100% 0,0 0;box-shadow:inset 0 1px 0 #ffffffed,0 4px 12px #21597c0a;transition:background-position .7s ease,border-color .2s,box-shadow .2s;color:#194d70}
body.focused-workspace .workspace-chat-header .workspace-tour-start:hover{background-position:0 0,0 0;border-color:#529ccc;box-shadow:0 5px 18px #21597c1c}
.workspace-guide-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#d8edfc;color:#1b76ad;flex:none;animation:workspace-guide-breathe 2.4s ease-in-out 2}
.workspace-guide-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.workspace-guide-label{display:flex;flex-direction:column;gap:3px}.workspace-guide-label strong{font:650 12px/1.35 Arial,sans-serif;white-space:nowrap}.workspace-guide-label small{font:400 10px/1.35 Arial,sans-serif;color:#64869c}
@keyframes workspace-guide-breathe{0%,100%{box-shadow:0 0 0 0 #4aade700}50%{box-shadow:0 0 0 6px #4aade719}}
#workspace-guide-hub{box-sizing:border-box;width:min(880px,calc(100vw - 32px));max-width:none;max-height:88dvh;padding:0;border:1px solid #b7d2e5;border-radius:23px;background:#f5f9fc;color:#193a54;box-shadow:0 28px 90px #071e4366;overflow:auto}
#workspace-guide-hub::backdrop{background:#0c253fa6;backdrop-filter:blur(4px)}.wg-header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:28px 30px 25px;background:linear-gradient(125deg,#102c48,#1b5679);color:#fff;position:relative}.wg-eyebrow{font:700 9px/1.5 Arial,sans-serif;letter-spacing:.16em;color:#a7d8f2}.wg-header h2{font:650 clamp(23px,3vw,29px)/1.25 Arial,sans-serif;letter-spacing:-.025em;margin:8px 0 10px}.wg-header p{font:400 13px/1.65 Arial,sans-serif;max-width:560px;margin:0;color:#c6dfef}.wg-close{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #7098b473;border-radius:11px;background:#ffffff10;color:#fff;font:400 25px/1 Arial,sans-serif;cursor:pointer}.wg-close:hover{background:#ffffff24}
.wg-body{padding:24px 28px}.wg-feature{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(130deg,#e7f3fd,#f0f8fe);border:1px solid #bfd9ec;border-radius:15px;padding:20px;margin-bottom:20px}.wg-feature strong{font:650 16px/1.4 Arial,sans-serif}.wg-feature p{font:400 12px/1.65 Arial,sans-serif;color:#5e7a8d;margin:6px 0 0}.wg-start,.wg-topic-start{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 16px;border:1px solid #235f88;border-radius:10px;color:#fff;background-color:#173c60;background-image:linear-gradient(110deg,transparent 30%,#69caff99 47%,transparent 65%),linear-gradient(125deg,#102b49,#16466e 45%,#168ec5);background-size:250% 100%,100% 100%;background-position:100% 0,0 0;box-shadow:inset 0 1px 0 #ffffff24,0 3px 8px #153b5914;transition:background-position .65s ease,box-shadow .2s ease;white-space:nowrap;font:600 12px/1.4 Arial,sans-serif;cursor:pointer}.wg-start:hover,.wg-topic-start:hover{background-position:0 0,0 0}.wg-start span{padding:3px 6px;border:1px solid #ffffff33;border-radius:5px;font-size:10px;color:#d4efff}
.wg-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wg-chapter{min-width:0;border:1px solid #d2e2ed;border-radius:13px;background:#fff;overflow:hidden}.wg-chapter>summary{display:flex;align-items:center;gap:12px;min-height:82px;box-sizing:border-box;padding:16px;list-style:none;cursor:pointer}.wg-chapter>summary::-webkit-details-marker{display:none}.wg-topic-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#edf5fc;color:#287dab;flex:none}.wg-topic-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.wg-chapter summary strong{display:block;font:650 13px/1.4 Arial,sans-serif;color:#254e6a}.wg-chapter summary small{display:block;margin-top:4px;font:400 11px/1.4 Arial,sans-serif;color:#8195a3}.wg-chevron{margin-left:auto;font-size:18px;color:#6a8ca4}.wg-chapter[open]{grid-column:1/-1;border-color:#8cb9d6}.wg-chapter[open]>summary{border-bottom:1px solid #dfebf3;background:#f4faff}.wg-chapter[open] .wg-chevron{transform:rotate(180deg)}.wg-chapter-body{padding:18px 22px 22px}.wg-chapter-body>p{font:400 13px/1.65 Arial,sans-serif;color:#5e798d;margin:0 0 18px}.wg-chapter ol{padding-left:23px;margin:0 0 20px}.wg-chapter li{padding:0 0 14px 5px}.wg-chapter li::marker{color:#4285ae;font-size:12px;font-weight:650}.wg-chapter li strong{font:650 13px/1.5 Arial,sans-serif;color:#254e6a}.wg-chapter li p{font:400 12px/1.75 Arial,sans-serif;color:#5a7589;margin:5px 0 0}.wg-note{font:400 11px/1.65 Arial,sans-serif;text-align:center;color:#7c92a3;margin:20px 0 0}
#tour-all-topics{margin-left:auto;min-height:36px;border:1px solid #6c8eab75;border-radius:7px;background:#234965;color:#ecf5ff;padding:6px 9px;font-size:11px;cursor:pointer}
#workspace-guide-hub :focus-visible,.workspace-tour-start:focus-visible{outline:3px solid #48ade0;outline-offset:3px}
.dark-mode #workspace-guide-hub{background:#142f45;color:#e3f1fb;border-color:#496c86}.dark-mode .wg-feature{background:#1a3d57;border-color:#4b718c}.dark-mode .wg-feature p,.dark-mode .wg-note,.dark-mode .wg-chapter li p,.dark-mode .wg-chapter-body>p{color:#b4cddd}.dark-mode .wg-chapter{background:#19384f;border-color:#42617a}.dark-mode .wg-chapter summary strong,.dark-mode .wg-chapter li strong{color:#e2eff9}.dark-mode .wg-chapter[open]>summary{background:#20445f;border-color:#476b85}.dark-mode .wg-topic-icon{background:#254c68;color:#9cd6f5}.dark-mode.focused-workspace .workspace-chat-header .workspace-tour-start{background-color:#204661;background-image:linear-gradient(110deg,transparent 25%,#77cfff40 48%,transparent 70%),linear-gradient(145deg,#244761,#19374e);color:#e8f5ff;border-color:#557d9b}.dark-mode .workspace-guide-label small{color:#b5d2e5}
@media(max-width:700px){body.focused-workspace .workspace-chat-header .workspace-tour-start{min-height:50px;min-width:166px;padding:9px 12px}#workspace-guide-hub{width:calc(100vw - 20px);max-height:92dvh;border-radius:18px}.wg-header{padding:22px 18px;gap:10px}.wg-header h2{font-size:24px}.wg-header p{font-size:12px}.wg-body{padding:16px}.wg-feature{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.wg-start{width:100%}.wg-chapters{grid-template-columns:1fr;gap:10px}.wg-chapter>summary{min-height:74px;padding:14px}.wg-chapter-body{padding:16px}.wg-chapter summary strong{font-size:13px}.wg-close{width:36px;height:36px;min-height:36px}}
@media(prefers-reduced-motion:reduce){.workspace-guide-icon{animation:none}.workspace-tour-start,.wg-start,.wg-topic-start{transition:none!important}}
.wg-search{margin:0 0 18px}.wg-search>label{display:block;font:650 12px/1.5 Arial,sans-serif;color:#315a77;margin:0 0 8px}.wg-search>div{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #c4dbe9;border-radius:11px;padding:0 13px}.wg-search svg{width:19px;height:19px;fill:none;stroke:#6195b6;stroke-width:1.7;stroke-linecap:round;flex:none}.wg-search input{width:100%;min-width:0;min-height:46px;border:0;background:transparent;padding:12px 0;outline:none;color:#23465f;font:400 13px/1.5 Arial,sans-serif}.wg-search>div:focus-within{border-color:#5ca4d0;box-shadow:0 0 0 3px #2993d00d}.wg-search>p{font:400 11px/1.6 Arial,sans-serif;color:#7a92a3;margin:9px 0 0}#workspace-guide-hub .wg-chapter[hidden],#workspace-guide-hub li[hidden]{display:none!important}.dark-mode .wg-search>label{color:#cee6f7}.dark-mode .wg-search>div{background:#19384f;border-color:#42617a}.dark-mode .wg-search input{color:#e0f0fb}.dark-mode .wg-search>p{color:#b3cfdf}
/* One coherent history control, with a fixed icon and aligned chevron. */
#zi-guide #zi-guide-history>summary{display:grid!important;grid-template-columns:36px minmax(0,1fr) 26px!important;align-items:center!important;gap:12px!important;padding:15px 16px!important;min-height:72px;background:linear-gradient(145deg,#fff,#eef7fd);border-radius:13px;color:#254d6b}
#zi-guide .zi-history-icon{width:36px;height:36px;display:grid;place-items:center;background:#dfedf9;border:1px solid #ccdfed;border-radius:11px;color:#287cab}#zi-guide .zi-history-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin:0!important;transform:none!important}
#zi-guide .zi-history-label{display:flex;flex-direction:column;gap:5px;min-width:0}#zi-guide .zi-history-label strong{font:650 13px/1.4 Arial,sans-serif;color:inherit;white-space:normal}#zi-guide .zi-history-label small{font:400 11px/1.5 Arial,sans-serif;color:#7a91a2;white-space:normal}#zi-guide .zi-history-chevron{display:grid;place-items:center;width:26px;height:26px;color:#5d829b}#zi-guide .zi-history-chevron svg{margin:0!important;transition:transform .2s}#zi-guide .zi-guide-history[open]>summary .zi-history-chevron svg{transform:rotate(180deg)}#zi-guide .zi-guide-history[open]>summary{border-bottom:1px solid #d7e6f1;border-radius:13px 13px 0 0}
#zi-guide .zv-settings>summary{display:flex;align-items:center;gap:9px;min-height:44px}.zv-settings-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;flex:none}.zv-device-settings{padding:16px;margin:4px 0 18px;border:1px solid #c7ddea;border-radius:12px;background:#fff}.zv-device-settings strong{font:650 13px/1.5 Arial,sans-serif}.zv-device-settings p{font:400 12px/1.65 Arial,sans-serif;color:#5d7a90;margin:7px 0}.zv-device-settings .zv-device-status{padding:10px 12px;margin:12px 0;background:#f0f7fc;border-radius:8px;color:#2c5d7e}.zv-device-actions{display:flex;flex-wrap:wrap;gap:8px}.zv-device-actions button{min-height:42px;padding:9px 13px;border:1px solid #bdd6e8;border-radius:9px;background:#edf7fe;color:#235979;font:600 12px/1.4 Arial,sans-serif;cursor:pointer}.zv-device-actions button:disabled{opacity:.5;cursor:not-allowed}.zv-device-settings .zv-device-note{font-size:11px;color:#7890a2;margin:12px 0 0}
.dark-mode #zi-guide #zi-guide-history>summary{background:linear-gradient(145deg,#193b55,#15334a);color:#e2f0fa}.dark-mode #zi-guide .zi-history-label small{color:#adc8da}.dark-mode #zi-guide .zi-history-icon{background:#254a65;border-color:#426b88;color:#9ed7f5}.dark-mode .zv-device-settings{background:#17394f;border-color:#4b6c83}.dark-mode .zv-device-settings p{color:#bdd4e3}.dark-mode .zv-device-settings .zv-device-status{background:#20455f;color:#d4eaf8}.dark-mode .zv-device-actions button{background:#234b67;color:#e4f3ff;border-color:#557b96}
@media(max-width:480px){#zi-guide #zi-guide-history>summary{grid-template-columns:31px minmax(0,1fr) 22px!important;padding:12px!important;gap:9px!important}#zi-guide .zi-history-icon{width:31px;height:31px}.zv-device-settings{padding:13px}.zv-device-actions button{flex:1}}
