/* EOND Publishing 갤러리 — 의존성 없음. 라이트 기본 + 시스템 다크 대응 */
:root {
  --bg: #ffffff; --bg2: #f5f6f8; --line: #e7e9ee; --text: #111318; --sub: #5b6170; --mute: #9298a6;
  --accent: #1e5eff; --accent-soft: #eef3ff; --card: #ffffff; --shadow: 0 1px 2px rgba(17,19,24,.06), 0 8px 24px rgba(17,19,24,.06);
  --r: 14px; --max: 1440px; --gut: 32px; --top: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1014; --bg2: #161920; --line: #262a33; --text: #eef0f4; --sub: #a7adba; --mute: #6f7684; --accent: #6d97ff; --accent-soft: #1a2440; --card: #14171d; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* top bar */
.g-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.g-top__in { max-width: var(--max); margin: 0 auto; height: var(--top); padding: 0 var(--gut); display: flex; align-items: center; gap: 20px; }
.g-logo { display: flex; align-items: baseline; gap: 6px; font-size: 19px; white-space: nowrap; }
.g-logo b { font-weight: 900; letter-spacing: .02em; }
.g-logo span { font-weight: 500; color: var(--sub); }
.g-search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--bg2); border: 1px solid transparent; color: var(--mute); transition: border-color .15s, background .15s; }
.g-search:focus-within { border-color: var(--accent); background: var(--bg); }
.g-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); }
.g-view { display: flex; padding: 3px; border-radius: 10px; background: var(--bg2); margin-left: auto; }
.g-view button { width: 34px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--mute); }
.g-view button svg { width: 18px; height: 18px; }
.g-view button.is-on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.g-top__link { font-size: 13px; color: var(--sub); white-space: nowrap; }
.g-top__link:hover { color: var(--text); }

/* hero */
.g-main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 80px; }
.g-hero { padding: 48px 0 28px; }
.g-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.g-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.g-hero__desc { margin: 12px 0 0; max-width: 640px; color: var(--sub); font-size: 16px; }
.g-stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 24px 0 0; }
.g-stats div { display: flex; flex-direction: column; }
.g-stats dt { font-size: 12px; color: var(--mute); order: 2; }
.g-stats dd { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* filters */
.g-filters { position: sticky; top: var(--top); z-index: 10; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.g-filters__right { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }
.g-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.g-chips::-webkit-scrollbar { display: none; }
.g-chip { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--sub); background: var(--bg2); transition: background .15s, color .15s; }
.g-chip:hover { color: var(--text); }
.g-chip.is-on { background: var(--text); color: var(--bg); }
.g-chip small { margin-left: 4px; font-weight: 500; opacity: .6; }
.g-chips--tags .g-chip { height: 30px; padding: 0 11px; font-size: 13px; font-weight: 500; background: none; border: 1px solid var(--line); }
.g-chips--tags .g-chip.is-on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
#sort { height: 34px; padding: 0 28px 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239298a6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center; appearance: none; font-size: 13px; color: var(--sub); }
.g-count { margin: 18px 0 14px; font-size: 13px; color: var(--mute); }

/* grid cards */
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 24px; }
.g-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; cursor: pointer; }
.g-card__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.g-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.g-card:hover .g-card__img img { transform: scale(1.035); }
.g-card__over { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 14px; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); opacity: 0; transition: opacity .2s; }
.g-card:hover .g-card__over, .g-card:focus-within .g-card__over { opacity: 1; }
.g-card__over span { color: #fff; font-size: 13px; font-weight: 600; }
.g-open { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; color: #111; font-size: 13px; font-weight: 700; }
.g-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.g-badge { height: 22px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; background: var(--accent); color: #fff; }
.g-badge--hide { background: #3a3f4b; }
.g-badge--ai { background: linear-gradient(90deg, #7b5cff, #1e5eff); }
.g-badge--soft { background: rgba(255,255,255,.92); color: #111; }
.g-card__meta { display: flex; align-items: flex-start; gap: 10px; }
.g-card__meta div { flex: 1; min-width: 0; }
.g-card__title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-card__sub { margin: 2px 0 0; font-size: 13px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-card__pages { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 3px; }
.g-card__pages svg { width: 14px; height: 14px; }
.g-card--placeholder .g-card__img { display: grid; place-items: center; color: var(--mute); font-weight: 800; font-size: 28px; }

/* list view */
.g-grid.is-list { grid-template-columns: 1fr; gap: 0; }
.g-grid.is-list .g-card { flex-direction: row; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.g-grid.is-list .g-card__img { width: 120px; flex: none; border-radius: 8px; }
.g-grid.is-list .g-card__over, .g-grid.is-list .g-badges { display: none; }
.g-grid.is-list .g-card__meta { flex: 1; align-items: center; }
.g-grid.is-list .g-card__tags { display: flex; }
.g-card__tags { display: none; gap: 4px; flex-wrap: wrap; max-width: 320px; justify-content: flex-end; }
.g-tag { font-size: 12px; color: var(--sub); background: var(--bg2); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.g-empty { padding: 80px 0; text-align: center; color: var(--mute); }

.g-foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); }

/* detail sheet (Behance 스타일 전체 화면) */
.g-sheet { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; animation: g-in .22s cubic-bezier(.2,.8,.2,1); }
@keyframes g-in { from { opacity: 0; transform: translateY(16px); } }
.g-sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 16px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.g-notice { position: sticky; top: 56px; z-index: 2; margin: 0; padding: 9px 16px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--sub); background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.g-notice b { color: var(--text); }
.g-sheet__crumb { flex: 1; min-width: 0; padding: 0 8px; font-size: 14px; font-weight: 600; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--sub); }
.g-icon:hover { background: var(--bg2); color: var(--text); }
.g-icon[disabled] { opacity: .3; pointer-events: none; }
.g-sheet__body { max-width: 1120px; margin: 0 auto; padding: 40px var(--gut) 100px; }
.g-d-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: end; }
.g-d-head h1 { margin: 6px 0 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.g-d-client { font-size: 14px; color: var(--sub); }
.g-d-desc { grid-column: 1 / -1; margin: 0; max-width: 760px; font-size: 16px; color: var(--sub); }
.g-d-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.g-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--bg2); color: var(--text); white-space: nowrap; }
.g-btn:hover { background: var(--line); }
.g-btn--primary { background: var(--accent); color: #fff; }
.g-btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.g-btn svg { width: 16px; height: 16px; }
.g-d-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.g-d-facts div { display: flex; flex-direction: column; }
.g-d-facts dt { font-size: 12px; color: var(--mute); }
.g-d-facts div[title] { cursor: help; }
.g-d-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.g-d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.g-tabs { display: flex; gap: 4px; margin: 36px 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.g-tabs button { flex: none; position: relative; height: 46px; padding: 0 16px; font-weight: 600; color: var(--mute); }
.g-tabs button.is-on { color: var(--text); font-weight: 800; }
.g-tabs button.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--text); }
.g-shots { display: flex; flex-direction: column; gap: 28px; }
.g-shot { margin: 0; }
.g-shot a { display: block; border-radius: 12px; overflow: hidden; background: var(--bg2); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.g-shot img { width: 100%; height: auto; }
.g-shot--mobile a { width: min(390px, 100%); margin: 0 auto; border-radius: 28px; border: 8px solid #111318; }
.g-shot figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--mute); }
.g-shot figcaption a { all: unset; cursor: pointer; color: var(--accent); font-weight: 600; white-space: nowrap; }
.g-pages { margin-top: 48px; }
.g-pages__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.g-pages__head h2 { margin: 0; font-size: 20px; }
.g-pages__head input { height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); min-width: 220px; }
.g-pages__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 16px; margin: 0; padding: 0; list-style: none; }
.g-pages__list a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--sub); overflow: hidden; }
.g-pages__list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; text-align: left; }
.g-pages__list a:hover { background: var(--bg2); color: var(--text); }
.g-pages__list svg { width: 14px; height: 14px; color: var(--mute); }
.g-more { margin-top: 64px; }
.g-more h2 { font-size: 18px; margin: 0 0 16px; }
.g-more .g-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* 작업 공간: 왼쪽 화면 목록 + 오른쪽 뷰어 */
.g-ws { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: calc(100vh - 56px - 32px); min-height: 560px; margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); scroll-margin-top: 72px; }
.g-ws__side { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 14px; border-right: 1px solid var(--line); background: var(--bg); }
.g-seg { display: flex; padding: 3px; border-radius: 10px; background: var(--bg2); gap: 2px; }
.g-seg button { flex: 1; height: 32px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--sub); white-space: nowrap; }
.g-seg button.is-on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
#pq { height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg2); outline: 0; }
#pq:focus { border-color: var(--accent); background: var(--bg); }
.g-ws__list { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px; list-style: none; scrollbar-width: thin; }
.g-ws__list a { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 8px; }
.g-ws__list a b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-ws__list a span { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; text-align: left; }
.g-ws__list a:hover { background: var(--bg2); }
.g-ws__list a.is-on { background: var(--accent-soft); }
.g-ws__list a.is-on b { color: var(--accent); }
.g-ws__none { padding: 10px; color: var(--mute); font-size: 13px; }
.g-ws__select { display: none; }
.g-ws__view { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.g-ws__bar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
.g-ws__name { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.g-ws__name b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-ws__name span { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-dev { display: flex; padding: 3px; border-radius: 10px; background: var(--bg2); }
.g-dev button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--mute); }
.g-dev button svg { width: 17px; height: 17px; }
.g-dev button.is-on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.g-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--bg2); }
.g-frame { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: #fff; }
.g-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; transition: opacity .18s; }
.g-frame iframe.is-loading { opacity: 0; }
.g-stage.is-mobile .g-frame { left: 50%; top: 16px; transform-origin: 50% 0; translate: -50% 0; border-radius: 36px; overflow: hidden; box-shadow: 0 0 0 10px #111318, 0 24px 60px rgba(0,0,0,.25); }
.g-stage__load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(17,19,24,.78); color: #fff; font-size: 12px; pointer-events: none; }
.g-stage__load i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: g-spin .7s linear infinite; }
@keyframes g-spin { to { transform: rotate(360deg); } }
.g-rep { margin-top: 56px; }
.g-rep h2 { font-size: 20px; margin: 0 0 18px; }
.g-rep .g-shot a { cursor: zoom-in; }
.g-d-head--slim { align-items: center; }
.g-d-head--slim h1 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 2px; }
.g-ws { margin-top: 18px; height: calc(100vh - 56px - 38px - 32px); }
.g-d-about { margin-top: 28px; }
.g-lockbadge { color: var(--accent); font-weight: 700; }
.g-lock { max-width: 420px; margin: 8vh auto 0; display: flex; flex-direction: column; gap: 14px; }
.g-lock h1 { margin: 0; font-size: 28px; }
.g-lock p { margin: 0; color: var(--sub); }
.g-lock input { height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); font-size: 22px; font-weight: 700; letter-spacing: .3em; text-align: center; outline: 0; }
.g-lock input:focus { border-color: var(--accent); }
.g-lock .g-btn { height: 50px; justify-content: center; }
.g-lock__err { min-height: 20px; color: #e5484d !important; font-size: 13px; }
.g-lock__note { padding: 12px 14px; border-radius: 10px; background: var(--bg2); font-size: 13px; line-height: 1.6; }
/* 프로젝트 문의 */
.g-ask { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 700; white-space: nowrap; }
[hidden] { display: none !important; } /* display 지정이 hidden 속성을 덮지 않게 */
.g-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(10,12,16,.5); backdrop-filter: blur(4px); overflow-y: auto; }
.g-form { width: min(560px, 100%); display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; background: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.g-form__head { display: flex; align-items: center; justify-content: space-between; }
.g-form__head h2 { margin: 0; font-size: 22px; }
.g-form__lead { margin: 0 0 4px; color: var(--sub); font-size: 14px; }
.g-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sub); }
.g-form label small { font-weight: 400; color: var(--mute); }
.g-form input:not([type=checkbox]), .g-form select, .g-form textarea { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font-size: 14px; outline: 0; }
.g-form textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.g-form input:focus, .g-form select:focus, .g-form textarea:focus { border-color: var(--accent); background: var(--bg); }
.g-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-form .g-check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 500; line-height: 1.5; }
.g-form .g-check input { margin-top: 3px; accent-color: var(--accent); }
.g-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-ts { min-height: 66px; }
.g-form__err { margin: 0; min-height: 18px; font-size: 13px; color: #e5484d; }
.g-form__err a { color: var(--accent); font-weight: 700; }
.g-form__submit { height: 48px; justify-content: center; }
.g-form__submit[disabled] { opacity: .6; }
@media (max-width: 860px) { .g-form__row { grid-template-columns: 1fr; } .g-form { padding: 18px; } .g-ask { height: 34px; padding: 0 12px; } }
.g-toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; transition: .2s; }
.g-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.is-sheet { overflow: hidden; }

@media (max-width: 860px) {
  :root { --gut: 16px; --top: 56px; }
  .g-top__in { gap: 10px; }
  .g-logo span, .g-top__link { display: none; }
  .g-hero { padding: 28px 0 18px; }
  .g-stats dd { font-size: 20px; }
  .g-filters { gap: 10px; }
  .g-filters__right { margin-left: 0; width: 100%; }
  .g-chips--tags { flex: 1; }
  .g-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 22px 12px; }
  .g-card__title { font-size: 15px; }
  .g-card__over { display: none; }
  .g-grid.is-list .g-card__img { width: 88px; }
  .g-grid.is-list .g-card__tags { display: none; }
  .g-d-head { grid-template-columns: 1fr; }
  .g-d-actions { justify-content: flex-start; }
  .g-sheet__body { padding-top: 24px; }
  .g-pages__head input { min-width: 0; width: 100%; }
  .g-ws { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: 82vh; min-height: 520px; }
  .g-ws__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .g-ws__list, #pq { display: none; }
  .g-ws__select { display: block; height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); width: 100%; }
  .g-ws__name span, .g-dev button span { display: none; }
  .g-ws__bar { padding: 0 6px 0 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
