body.gogo-workstation-present {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
}
body.gogo-workstation-present #wpadminbar,
body.gogo-workstation-present .site-header,
body.gogo-workstation-present .site-footer,
body.gogo-workstation-present #masthead,
body.gogo-workstation-present #colophon,
body.gogo-workstation-present .entry-header,
body.gogo-workstation-present .entry-title,
body.gogo-workstation-present .page-title,
body.gogo-workstation-present .wp-block-post-title,
body.gogo-workstation-present > .wp-site-blocks > header,
body.gogo-workstation-present > .wp-site-blocks > footer { display: none !important; }

/* A separate viewport surface keeps the theme's page width out of the editor. */
.gogo-workstation {
    --ws-bg: #000;
    --ws-ink: #e9e6de;
    --ws-body: #dad7ce;
    --ws-muted: #95958c;
    --ws-faint: #777970;
    --ws-line: #262720;
    --ws-accent: #e9cc85;
    --ws-accent-ink: #211d13;
    --ws-surface: #151611;
    --ws-hover: #1c1e17;
    --ws-success: #a9b892;
    --ws-error: #edaba0;
    --ws-gutter: clamp(24px, 5vw, 96px);
    position: fixed !important;
    z-index: 99990;
    inset: 0;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: var(--ws-bg) !important;
    color: var(--ws-ink);
    color-scheme: dark;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    transform: none !important;
    transition: background-color .5s ease, color .4s ease;
}
.gogo-workstation[data-theme="light"] {
    --ws-bg: #f5f1e7;
    --ws-ink: #34382d;
    --ws-body: #454a3e;
    --ws-muted: #626858;
    --ws-faint: #717567;
    --ws-line: #d9d9cc;
    --ws-accent: #ead19a;
    --ws-accent-ink: #343021;
    --ws-surface: #fcf9f1;
    --ws-hover: #eae7dc;
    --ws-success: #546b3b;
    --ws-error: #ad4133;
    color-scheme: light;
}
.gogo-workstation *, .gogo-workstation *::before, .gogo-workstation *::after { box-sizing: border-box; }
.gogo-workstation [hidden] { display: none !important; }
.gogo-workstation ::selection { background: #b795465c; color: var(--ws-ink); }
.gogo-workstation button, .gogo-workstation input, .gogo-workstation textarea {
    margin: 0;
    font: inherit;
    color: inherit;
    text-transform: none;
    letter-spacing: inherit;
    box-shadow: none;
}
.gogo-workstation button, .gogo-workstation a { -webkit-tap-highlight-color: transparent; }
.gogo-workstation button { cursor: pointer; }
.gogo-workstation button:focus-visible, .gogo-workstation a:focus-visible {
    outline: 2px solid var(--ws-muted);
    outline-offset: 6px;
}
.gogo-workstation__loading {
    margin: auto;
    color: var(--ws-muted);
    font-size: .875rem;
}
.gogo-workstation__ambient, .gogo-workstation__lighting, .gogo-workstation__grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.gogo-workstation__ambient { z-index: 0; background: radial-gradient(ellipse at 64% 45%, #191712 0%, #10100d 32%, #060605 62%, #000 84%); }
.gogo-workstation[data-theme="light"] .gogo-workstation__ambient { background: radial-gradient(ellipse at 64% 45%, #fffdf5 0%, #faf6eb 38%, #f5f1e7 80%); }
.gogo-workstation__lighting { display: block; mix-blend-mode: screen; opacity: .92; transition: opacity .5s ease; }
.gogo-workstation[data-theme="light"] .gogo-workstation__lighting { mix-blend-mode: multiply; opacity: .52; }
.gogo-workstation__grain { display: block; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.5' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }

.gogo-workstation__topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 104px;
    padding: 24px var(--ws-gutter);
    padding-top: max(24px, env(safe-area-inset-top));
    padding-right: 310px;
    flex: 0 0 auto;
}
.gogo-workstation__identity, .gogo-workstation__session { display: flex; align-items: center; }
.gogo-workstation__identity { gap: 24px; }
.gogo-workstation__back {
    display: grid;
    place-items: center;
    width: 36px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--ws-muted) !important;
    transition: color .2s ease, background .2s ease;
}
.gogo-workstation__back:hover { color: var(--ws-ink) !important; background: var(--ws-hover); }
.gogo-workstation__back svg, .gogo-workstation__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.gogo-workstation__monogram { font-family: Georgia, serif; font-size: 1.625rem; font-weight: bold; letter-spacing: -.09em; line-height: 1; }
.gogo-workstation__monogram > span { color: var(--ws-accent); }
.gogo-workstation[data-theme="light"] .gogo-workstation__monogram > span { color: #9a7a37; }
.gogo-workstation__identity > div { display: flex; gap: 3px; flex-direction: column; padding-left: 24px; border-left: 1px solid var(--ws-line); }
.gogo-workstation__identity strong { font-size: .875rem; font-weight: 500; letter-spacing: .16em; line-height: 1.5; }
.gogo-workstation__identity div span { color: var(--ws-faint); font-size: .75rem; letter-spacing: .11em; }
.gogo-workstation__session { gap: 8px; margin-left: 16px; color: var(--ws-muted); font-size: .8125rem; white-space: nowrap; }
.gogo-workstation__session i { width: 5px; height: 5px; border-radius: 50%; background: #a8b787; }

.gogo-workstation .gogo-workstation__lamp {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: clamp(24px, 3.5vw, 72px);
    display: block;
    width: clamp(205px, 19vw, 270px);
    height: auto;
    padding: 0 0 28px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    line-height: 1;
    touch-action: manipulation;
}
.gogo-workstation__lamp svg { display: block; width: 100%; height: auto; overflow: visible; transition: filter .3s ease; }
.gogo-workstation__lamp:hover svg { filter: brightness(1.15); }
.gogo-workstation__lamp:active svg { filter: brightness(1.3); }
.gogo-workstation__lamp-cable { fill: none; stroke: #34382f; stroke-width: 2; }
.gogo-workstation__lamp-arm { fill: none; stroke: #62665a; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.gogo-workstation__lamp-arm-highlight { fill: none; stroke: #a0a18e; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.gogo-workstation__lamp-hint { position: absolute; right: 14px; bottom: 0; display: flex; align-items: center; gap: 8px; color: var(--ws-muted); font-size: .75rem; letter-spacing: .1em; line-height: 1.5; }
.gogo-workstation__lamp-hint i { width: 4px; height: 4px; border-radius: 50%; background: var(--ws-accent); }
.gogo-workstation[data-theme="light"] .gogo-workstation__lamp-hint i { background: #8a713a; }

.gogo-workstation__stage { position: relative; z-index: 1; display: flex; width: 100%; min-height: 0; padding: 42px var(--ws-gutter) 0; flex: 1 1 auto; }
.gogo-workstation__editor { display: flex; flex-direction: column; width: 100%; max-width: none; min-height: 0; margin: 0 !important; padding: 0; border: 0; background: transparent; }
.gogo-workstation__editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 22px;
    margin: 0 0 30px;
    padding: 0 280px 0 3px;
    flex: 0 0 auto;
    color: var(--ws-muted);
    font-size: .8125rem;
    letter-spacing: .12em;
}
.gogo-workstation__editor-heading > span { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.gogo-workstation__editor-heading i { width: 20px; height: 1px; background: var(--ws-accent); }
.gogo-workstation__editor-heading b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 400; }
.gogo-workstation__editor-heading time { color: var(--ws-faint); font-size: .75rem; letter-spacing: .02em; white-space: nowrap; }
.gogo-workstation__writing { display: flex; flex-direction: column; width: 100%; min-height: 0; flex: 1 1 auto; padding: 0 4px; }
.gogo-workstation .gogo-workstation__title, .gogo-workstation .gogo-workstation__content {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    caret-color: var(--ws-accent);
    transition: color .35s ease;
}
.gogo-workstation[data-theme="light"] .gogo-workstation__title,
.gogo-workstation[data-theme="light"] .gogo-workstation__content { caret-color: #887036; }
.gogo-workstation .gogo-workstation__title {
    width: calc(100% - 230px);
    min-height: 64px;
    flex: 0 0 auto;
    color: var(--ws-ink);
    font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: .025em;
}
.gogo-workstation__title::placeholder { color: var(--ws-ink); opacity: .9; }
.gogo-workstation__rule { width: 100%; height: 1px; margin: 27px 0 30px; flex: 0 0 auto; background: var(--ws-line); opacity: .7; }
.gogo-workstation__rule span { display: none; }
.gogo-workstation .gogo-workstation__content {
    height: 100%;
    min-height: 70px;
    padding: 0 max(8px, 2vw) 24px 0;
    flex: 1 1 auto;
    overflow-y: auto;
    color: var(--ws-body);
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: .025em;
    resize: none;
    scrollbar-color: var(--ws-line) transparent;
    scrollbar-width: thin;
}
.gogo-workstation__content::placeholder { color: var(--ws-muted); opacity: 1; }
.gogo-workstation__lamp-contact { fill: #000; opacity: .8; }
.gogo-workstation[data-theme="light"] .gogo-workstation__lamp-contact { opacity: .2; }
.gogo-workstation__lamp svg { filter: drop-shadow(3px 6px 3px #0005); }
.gogo-workstation[data-theme="light"] .gogo-workstation__lamp svg { filter: drop-shadow(3px 6px 3px #302a181c); }
.gogo-workstation__title[readonly], .gogo-workstation__content[readonly] { cursor: wait; opacity: .5; }
.gogo-workstation__title:focus-visible { text-decoration: none; }
.gogo-workstation__writing:focus-within .gogo-workstation__rule { background: var(--ws-muted); opacity: .45; }

.gogo-workstation__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 94px;
    padding: 23px 0 max(23px, env(safe-area-inset-bottom));
    flex: 0 0 auto;
    border-top: 1px solid var(--ws-line);
}
.gogo-workstation__meta, .gogo-workstation__actions { display: flex; align-items: center; }
.gogo-workstation__meta { flex-wrap: wrap; gap: 8px 16px; color: var(--ws-muted); font-size: .8125rem; }
.gogo-workstation__meta > i { width: 1px; height: 12px; background: var(--ws-line); }
.gogo-workstation__save-state { color: var(--ws-muted); }
.gogo-workstation__save-state[data-state="saving"] { color: var(--ws-muted); }
.gogo-workstation__save-state[data-state="saved"], .gogo-workstation__save-state[data-state="published"], .gogo-workstation__save-state[data-state="pending"] { color: var(--ws-success); }
.gogo-workstation__save-state[data-state="error"], .gogo-workstation__save-state[data-state="dirty"] { color: var(--ws-error); }
.gogo-workstation__actions { gap: 12px; flex: 0 0 auto; }
.gogo-workstation .gogo-workstation__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--ws-line);
    border-radius: 6px;
    background: transparent;
    color: var(--ws-body);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease;
}
.gogo-workstation .gogo-workstation__button--save:hover { background: var(--ws-hover); border-color: var(--ws-faint); }
.gogo-workstation__button--save kbd { padding: 2px 5px; border: 1px solid var(--ws-line); border-radius: 3px; color: var(--ws-muted); background: transparent; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; }
.gogo-workstation .gogo-workstation__button--save { border-color: transparent; }
.gogo-workstation .gogo-workstation__button--publish { min-width: 108px; border-color: var(--ws-accent); background: linear-gradient(150deg, #f2dda7, #d8b86e); color: var(--ws-accent-ink); box-shadow: inset 0 1px 0 #fff5, 0 2px 4px #0003, 0 8px 20px #0002; }
.gogo-workstation .gogo-workstation__button--publish:hover:not(:disabled) { background: #f5dc9f; border-color: #f5dc9f; }
.gogo-workstation .gogo-workstation__button:disabled { cursor: not-allowed; opacity: .48; }
.gogo-workstation__toast { position: absolute; z-index: 5; bottom: 110px; left: 50%; width: max-content; max-width: min(460px, calc(100% - 32px)); padding: 12px 18px; border: 1px solid var(--ws-line); border-radius: 7px; background: var(--ws-surface); color: var(--ws-ink); font-size: .875rem; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease; }
.gogo-workstation__toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.gogo-workstation__toast[data-mode="error"] { color: var(--ws-error); }

.gogo-workstation__modal { position: absolute; z-index: 10; inset: 0; display: grid; place-items: center; padding: 24px; overflow-y: auto; background: #0009; backdrop-filter: blur(8px); opacity: 0; transition: opacity .18s ease; }
.gogo-workstation__modal.is-open { opacity: 1; }
.gogo-workstation__modal-card { position: relative; width: min(460px, 100%); padding: 38px; overflow: hidden; border: 1px solid var(--ws-line); border-radius: 12px; background: var(--ws-surface); color: var(--ws-ink); }
.gogo-workstation__modal-mark { display: none; }
.gogo-workstation__modal-kicker { margin: 0 0 18px; color: var(--ws-muted); font-size: .8125rem; letter-spacing: .12em; }
.gogo-workstation__modal-card h2 { margin: 0 0 14px; color: var(--ws-ink); font-family: "Songti SC", "STSong", Georgia, serif; font-size: 1.625rem; font-weight: 400; line-height: 1.5; }
.gogo-workstation__modal-card > p:not(.gogo-workstation__modal-kicker) { margin: 0 0 28px; color: var(--ws-muted); font-size: .875rem; line-height: 1.9; }
.gogo-workstation__modal-actions { display: flex; justify-content: flex-end; gap: 12px; }
.gogo-workstation__modal-actions button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ws-line); border-radius: 5px; background: transparent; color: var(--ws-body); font-size: .875rem; }
.gogo-workstation__modal-actions button:hover { background: var(--ws-hover); }
.gogo-workstation__modal-actions button:last-child { border-color: var(--ws-accent); background: var(--ws-accent); color: var(--ws-accent-ink); }
.gogo-workstation__sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; border: 0 !important; white-space: nowrap !important; }
.gogo-workstation__stage--login { align-items: center; padding-bottom: 10vh; }
.gogo-workstation__login-card { max-width: 700px; }
.gogo-workstation__login-card > p { margin: 0 0 28px; color: var(--ws-muted); font-size: .8125rem; letter-spacing: .12em; }
.gogo-workstation__login-card h1 { margin: 0 0 28px; color: var(--ws-ink); font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.4; }
.gogo-workstation__login-card > span { display: block; max-width: 440px; color: var(--ws-muted); font-size: 1rem; line-height: 1.9; }
.gogo-workstation__login-card a { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; margin-top: 32px; padding: 12px 22px; border-radius: 5px; background: var(--ws-accent); color: var(--ws-accent-ink); font-size: .875rem; text-decoration: none; }
.gogo-workstation__login-card a b { font-size: 1.1rem; font-weight: 400; }

@media (min-width: 1600px) {
    .gogo-workstation__stage { padding-top: 64px; }
    .gogo-workstation__content { font-size: 1.125rem; }
}
@media (max-width: 900px) {
    .gogo-workstation__topbar { padding-right: 220px; gap: 12px; }
    .gogo-workstation__identity { gap: 16px; }
    .gogo-workstation__identity > div { padding-left: 16px; }
    .gogo-workstation__session { margin-left: 4px; }
    .gogo-workstation .gogo-workstation__lamp { width: 190px; top: 12px; right: 20px; }
    .gogo-workstation__stage { padding-top: 30px; }
    .gogo-workstation__editor-heading { padding-right: 190px; }
    .gogo-workstation__editor-heading time { display: none; }
    .gogo-workstation .gogo-workstation__title { width: calc(100% - 145px); min-height: 52px; }
    .gogo-workstation__rule { margin-top: 23px; }
}
@media (max-width: 600px) {
    .gogo-workstation { --ws-gutter: 24px; }
    .gogo-workstation__topbar { min-height: 82px; padding: 16px 156px 16px 20px; }
    .gogo-workstation__identity { gap: 10px; }
    .gogo-workstation__identity > div { padding-left: 12px; }
    .gogo-workstation__identity div span, .gogo-workstation__session { display: none; }
    .gogo-workstation__identity strong { white-space: nowrap; font-size: .8125rem; }
    .gogo-workstation__monogram { font-size: 1.5rem; }
    .gogo-workstation__back { width: 24px; }
    .gogo-workstation .gogo-workstation__lamp { width: 136px; top: 4px; right: 9px; padding-bottom: 24px; }
    .gogo-workstation__lamp-hint { right: 10px; gap: 5px; font-size: .75rem; letter-spacing: .02em; }
    .gogo-workstation__stage { padding-top: 44px; }
    .gogo-workstation__editor-heading { margin-bottom: 22px; padding-right: 116px; font-size: .75rem; letter-spacing: .05em; }
    .gogo-workstation__editor-heading > span { gap: 8px; }
    .gogo-workstation .gogo-workstation__title { width: 100%; min-height: 44px; font-size: clamp(1.35rem, 5.8vw, 2rem); letter-spacing: 0; }
    .gogo-workstation__rule { margin: 22px 0; }
    .gogo-workstation .gogo-workstation__content { font-size: 1rem; line-height: 1.9; }
    .gogo-workstation__footer { min-height: 120px; align-items: stretch; flex-direction: column; gap: 14px; padding-top: 16px; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
    .gogo-workstation__meta { gap: 8px 12px; font-size: .75rem; }
    .gogo-workstation__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .gogo-workstation .gogo-workstation__button { padding: 0 16px; }
    .gogo-workstation__button--save kbd { display: none; }
    .gogo-workstation__toast { bottom: 148px; }
    .gogo-workstation__modal-card { padding: 28px 24px; }
    .gogo-workstation__modal-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .gogo-workstation__modal-actions button { padding: 10px; }
    .gogo-workstation__stage--login { padding-top: 65px; align-items: flex-start; overflow-y: auto; }
}
@media (max-height: 650px) and (min-width: 601px) {
    .gogo-workstation__topbar { min-height: 78px; padding-top: 16px; padding-bottom: 16px; }
    .gogo-workstation__stage { padding-top: 10px; }
    .gogo-workstation__editor-heading { margin-bottom: 14px; }
    .gogo-workstation .gogo-workstation__lamp { width: 168px; }
    .gogo-workstation__rule { margin: 14px 0 20px; }
    .gogo-workstation__footer { min-height: 76px; padding-top: 16px; padding-bottom: 16px; }
}
@media (max-height: 560px) and (max-width: 600px) {
    .gogo-workstation__topbar { min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
    .gogo-workstation .gogo-workstation__lamp { width: 92px; top: -2px; }
    .gogo-workstation__lamp-hint { bottom: -1px; }
    .gogo-workstation__stage { padding-top: 8px; }
    .gogo-workstation__editor-heading { display: none; }
    .gogo-workstation .gogo-workstation__title { width: calc(100% - 80px); min-height: 36px; font-size: 1.125rem; }
    .gogo-workstation__rule { margin: 12px 0; }
    .gogo-workstation__footer { min-height: 98px; padding: 10px 0; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .gogo-workstation, .gogo-workstation *, .gogo-workstation *::before, .gogo-workstation *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
