/* v2 output workspace: a quiet, tool-like layout inspired by the supplied references. */
html[data-site-theme="v2"] body.fiscal-workspace *,
html[data-site-theme="v2"] body.fiscal-workspace *::before,
html[data-site-theme="v2"] body.fiscal-workspace *::after { box-sizing: border-box; }
html[data-site-theme="v2"] body.fiscal-workspace { overflow-x: hidden; }
#v2-sidebar { display: none; }

html[data-site-theme="v2"] body.fiscal-workspace {
  --v2-canvas: #ffffff;
  --v2-rail: #f7f7f5;
  --v2-panel: #fbfbfa;
  --v2-ink: #1f2933;
  --v2-muted: #707984;
  --v2-line: #e3e5e3;
  --v2-blue: #287ed2;
  --v2-blue-soft: #eaf3fc;
  background: var(--v2-canvas) !important;
  color: var(--v2-ink) !important;
  font-family: "Pretendard", "SUIT", "Inter", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif !important;
  font-size: 14px;
  line-height: 1.55;
}

html[data-site-theme="v2"] body.fiscal-workspace #fiscal-header { display: none; }
html[data-site-theme="v2"] body.fiscal-workspace .work-wrap {
  width: auto !important;
  max-width: 1480px;
  min-width: 0;
  margin: 0 0 0 236px !important;
  padding: 0 34px 64px;
}
html[data-site-theme="v2"] body.fiscal-workspace #v2-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  width: 236px;
  min-height: 100vh;
  flex-direction: column;
  padding: 18px 14px 12px;
  background: var(--v2-rail);
  border-right: 1px solid var(--v2-line);
}
.v2-side-brand {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 3px 8px 20px;
  color: var(--v2-ink);
}
.v2-side-brand img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 4px;
  background: var(--v2-blue);
}
.v2-side-brand strong { display: block; font-size: 15px; line-height: 1.2; }
.v2-side-brand small { display: block; margin-top: 3px; color: var(--v2-muted); font-size: 10px; }
.v2-side-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--v2-blue);
  border-radius: 6px;
  background: var(--v2-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.v2-side-new:hover { background: #1f6fbd; text-decoration: none; }
.v2-side-new img, .v2-side-link img { width: 16px; height: 16px; opacity: .82; }
.v2-side-nav { display: grid; gap: 2px; margin-top: 16px; }
.v2-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 6px;
  color: #626b73;
  font-size: 12px;
  text-decoration: none;
}
.v2-side-link:hover, .v2-side-link.is-current { background: #ececea; color: var(--v2-ink); text-decoration: none; }
.v2-side-link.is-current { font-weight: 700; }
.v2-side-divider { height: 1px; margin: 18px 7px 12px; background: var(--v2-line); }
.v2-side-footer { margin-top: auto; display: grid; gap: 9px; padding: 12px 7px 0; border-top: 1px solid var(--v2-line); }
.v2-side-footer > span { color: var(--v2-muted); font-size: 10px; }
.v2-theme-links { display: flex; gap: 4px; }
.v2-theme-links a { min-width: 36px; padding: 5px 8px; border: 1px solid var(--v2-line); border-radius: 4px; color: var(--v2-muted); font-size: 10px; text-align: center; text-decoration: none; }
.v2-theme-links a.is-current { border-color: var(--v2-blue); background: var(--v2-blue); color: #fff; }

html[data-site-theme="v2"] body.fiscal-workspace .page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: end;
  padding: 27px 0 18px;
  border-bottom: 1px solid var(--v2-line);
}
html[data-site-theme="v2"] body.fiscal-workspace .v2-breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  gap: 9px;
  color: var(--v2-muted);
  font-size: 11px;
}
html[data-site-theme="v2"] body.fiscal-workspace .v2-breadcrumb a { color: var(--v2-muted); text-decoration: none; }
html[data-site-theme="v2"] body.fiscal-workspace .v2-breadcrumb a:hover { color: var(--v2-blue); }
html[data-site-theme="v2"] body.fiscal-workspace .page-heading h1 {
  margin: 0 !important;
  color: var(--v2-ink) !important;
  font-family: inherit !important;
  font-size: 27px !important;
  font-weight: 700;
  letter-spacing: -.5px;
}
html[data-site-theme="v2"] body.fiscal-workspace .account-entry {
  align-self: end;
  padding: 7px 12px;
  border: 1px solid #a9c5df;
  border-radius: 5px;
  color: #256ba9;
  font-size: 11px;
  text-decoration: none;
}
html[data-site-theme="v2"] body.fiscal-workspace .account-entry:hover { background: var(--v2-blue-soft); }
html[data-site-theme="v2"] body.fiscal-workspace .workspace-tabs {
  gap: 24px;
  border-bottom-color: var(--v2-line);
}
html[data-site-theme="v2"] body.fiscal-workspace .workspace-tabs [role="tab"] {
  min-height: 47px;
  color: var(--v2-muted);
  font-family: inherit;
  font-size: 13px;
}
html[data-site-theme="v2"] body.fiscal-workspace .workspace-tabs [aria-selected="true"] { border-color: var(--v2-blue); color: var(--v2-ink); }
html[data-site-theme="v2"] body.fiscal-workspace .tabs-status { color: var(--v2-muted); font-size: 11px; }
html[data-site-theme="v2"] body.fiscal-workspace .service-modes { gap: 6px; padding: 16px 0; border-bottom-color: var(--v2-line); }
html[data-site-theme="v2"] body.fiscal-workspace .service-modes button {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--v2-line);
  border-radius: 5px;
  background: #fff;
  color: #5e6871;
  font-size: 11px;
}
html[data-site-theme="v2"] body.fiscal-workspace .service-modes button[aria-pressed="true"] { border-color: var(--v2-blue); background: var(--v2-blue); color: #fff; }

html[data-site-theme="v2"] body.fiscal-workspace #paper-showcase,
html[data-site-theme="v2"] body.fiscal-workspace #online-showcase,
html[data-site-theme="v2"] body.fiscal-workspace #service-offers,
html[data-site-theme="v2"] body.fiscal-workspace #panel-custom,
html[data-site-theme="v2"] body.fiscal-workspace #panel-sources,
html[data-site-theme="v2"] body.fiscal-workspace #panel-saved {
  padding-top: 24px;
}

/* Hardcopy sales have their own menu. Keep this workspace focused on browser output. */
html[data-site-theme="v2"] body.fiscal-workspace #paper-showcase { display: none !important; }
html[data-site-theme="v2"] body.fiscal-workspace .section-title { align-items: baseline; border-bottom: 1px solid var(--v2-line); padding-bottom: 12px; }
html[data-site-theme="v2"] body.fiscal-workspace .section-title h2,
html[data-site-theme="v2"] body.fiscal-workspace .section-title h3 { color: var(--v2-ink); font-family: inherit !important; font-size: 16px !important; font-weight: 700; }
html[data-site-theme="v2"] body.fiscal-workspace .section-title span { color: var(--v2-muted); font-size: 11px; }
html[data-site-theme="v2"] body.fiscal-workspace .paper-book-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
html[data-site-theme="v2"] body.fiscal-workspace .paper-book { padding: 12px; border: 1px solid var(--v2-line); border-radius: 8px; background: #fff; }
html[data-site-theme="v2"] body.fiscal-workspace .paper-cover { aspect-ratio: 400 / 300; background: #f2f3f2; border-radius: 5px; }
html[data-site-theme="v2"] body.fiscal-workspace .paper-book h3 { margin: 12px 0 4px; color: var(--v2-ink); font-family: inherit !important; font-size: 14px; }
html[data-site-theme="v2"] body.fiscal-workspace .paper-description { min-height: 0; color: var(--v2-muted); font-size: 11px; }
html[data-site-theme="v2"] body.fiscal-workspace .paper-meta { color: var(--v2-muted); font-size: 10px; }
html[data-site-theme="v2"] body.fiscal-workspace .paper-book .text-button { color: var(--v2-blue); font-size: 11px; }

html[data-site-theme="v2"] body.fiscal-workspace .catalog-layout {
  grid-template-columns: 155px minmax(0, 1fr) 312px;
  gap: 28px;
  padding: 25px 0 36px;
}
html[data-site-theme="v2"] body.fiscal-workspace .catalog-sidebar { border-right-color: var(--v2-line); }
html[data-site-theme="v2"] body.fiscal-workspace .catalog-sidebar .small-heading { color: var(--v2-muted); }
html[data-site-theme="v2"] body.fiscal-workspace .category-list button { border-radius: 5px; color: #626b73; font-size: 11px; }
html[data-site-theme="v2"] body.fiscal-workspace .category-list button:hover,
html[data-site-theme="v2"] body.fiscal-workspace .category-list button[aria-pressed="true"] { background: #ececea; color: var(--v2-ink); }
html[data-site-theme="v2"] body.fiscal-workspace .catalog-search { align-items: center; }
html[data-site-theme="v2"] body.fiscal-workspace .search-field input,
html[data-site-theme="v2"] body.fiscal-workspace .catalog-search select { min-height: 40px; border-color: var(--v2-line); border-radius: 5px; font-size: 12px; }
html[data-site-theme="v2"] body.fiscal-workspace .list-heading { margin: 17px 0 8px; }
html[data-site-theme="v2"] body.fiscal-workspace .list-heading h2 { color: var(--v2-ink); font-family: inherit !important; font-size: 13px !important; }
html[data-site-theme="v2"] body.fiscal-workspace #catalog-list { display: block; }
html[data-site-theme="v2"] body.fiscal-workspace .catalog-row { min-height: 102px; padding: 15px 0; border-bottom-color: var(--v2-line); }
html[data-site-theme="v2"] body.fiscal-workspace .catalog-row:hover { background: #fbfcfd; }
html[data-site-theme="v2"] body.fiscal-workspace .catalog-title { color: var(--v2-ink); font-family: inherit !important; font-size: 14px; }
html[data-site-theme="v2"] body.fiscal-workspace .catalog-row p { color: var(--v2-muted); font-size: 11px; }
html[data-site-theme="v2"] body.fiscal-workspace .row-bottom { color: var(--v2-muted); font-size: 10px; }
html[data-site-theme="v2"] body.fiscal-workspace .row-bottom button { color: var(--v2-blue); }
html[data-site-theme="v2"] body.fiscal-workspace .document-inspector { display: block; border-left: 1px solid var(--v2-line); padding-left: 20px; }
html[data-site-theme="v2"] body.fiscal-workspace .inspector-sticky { position: sticky; top: 18px; }
html[data-site-theme="v2"] body.fiscal-workspace .document-preview { border: 1px solid var(--v2-line); border-radius: 6px; background: #f4f5f4; }
html[data-site-theme="v2"] body.fiscal-workspace .document-inspector h2,
html[data-site-theme="v2"] body.fiscal-workspace .document-inspector h3 { color: var(--v2-ink); font-family: inherit !important; }
html[data-site-theme="v2"] body.fiscal-workspace .document-inspector dl > div { border-bottom-color: var(--v2-line); }
html[data-site-theme="v2"] body.fiscal-workspace .document-inspector dt,
html[data-site-theme="v2"] body.fiscal-workspace .document-inspector .fine { color: var(--v2-muted); }
html[data-site-theme="v2"] body.fiscal-workspace .catalog-note { color: var(--v2-muted); }

html[data-site-theme="v2"] body.fiscal-workspace .custom-layout { gap: 28px; }
html[data-site-theme="v2"] body.fiscal-workspace .custom-main,
html[data-site-theme="v2"] body.fiscal-workspace .composition { border: 1px solid var(--v2-line); border-radius: 8px; background: #fff; padding: 22px; }
html[data-site-theme="v2"] body.fiscal-workspace .composition { background: var(--v2-panel); }
html[data-site-theme="v2"] body.fiscal-workspace .bundle-layout,
html[data-site-theme="v2"] body.fiscal-workspace .bundle-layout > div,
html[data-site-theme="v2"] body.fiscal-workspace .bundle-layout > aside { min-width: 0; }
html[data-site-theme="v2"] body.fiscal-workspace .document-settings,
html[data-site-theme="v2"] body.fiscal-workspace .program-search { border-color: var(--v2-line); }
html[data-site-theme="v2"] body.fiscal-workspace .format-picker label span { border-color: var(--v2-line); }
html[data-site-theme="v2"] body.fiscal-workspace .format-picker input:checked + span { border-color: var(--v2-blue); background: var(--v2-blue-soft); color: #286b9c; }
html[data-site-theme="v2"] body.fiscal-workspace .composition-options,
html[data-site-theme="v2"] body.fiscal-workspace .included-source { border-color: var(--v2-line); }
html[data-site-theme="v2"] body.fiscal-workspace .action-button.primary { border-color: var(--v2-blue); background: var(--v2-blue); }
html[data-site-theme="v2"] body.fiscal-workspace .action-button.primary:hover { background: #1f6fbd; }
html[data-site-theme="v2"] body.fiscal-workspace .work-footer { margin-top: 30px; border-top-color: var(--v2-line); }

@media (max-width: 980px) {
  html[data-site-theme="v2"] body.fiscal-workspace .catalog-layout { grid-template-columns: 145px minmax(0, 1fr); }
  html[data-site-theme="v2"] body.fiscal-workspace .document-inspector { display: none; }
}
@media (max-width: 760px) {
  html[data-site-theme="v2"] body.fiscal-workspace #v2-sidebar { position: sticky; inset: 0 0 auto; width: 100%; min-height: 0; height: auto; flex-direction: row; align-items: center; overflow-x: auto; padding: 8px 12px; }
  html[data-site-theme="v2"] body.fiscal-workspace .v2-side-brand,
  html[data-site-theme="v2"] body.fiscal-workspace .v2-side-new,
  html[data-site-theme="v2"] body.fiscal-workspace .v2-side-divider,
  html[data-site-theme="v2"] body.fiscal-workspace .v2-side-footer { display: none; }
  html[data-site-theme="v2"] body.fiscal-workspace .v2-side-nav { display: flex; gap: 4px; margin: 0; white-space: nowrap; }
  html[data-site-theme="v2"] body.fiscal-workspace .v2-side-link { min-height: 32px; padding: 5px 8px; font-size: 10px; }
  html[data-site-theme="v2"] body.fiscal-workspace .v2-side-link img { width: 14px; height: 14px; }
  html[data-site-theme="v2"] body.fiscal-workspace .work-wrap { width: auto !important; margin: 0 !important; padding: 0 16px 40px; }
  html[data-site-theme="v2"] body.fiscal-workspace .page-heading { display: block; padding: 19px 0 14px; }
  html[data-site-theme="v2"] body.fiscal-workspace .page-heading h1 { margin: 9px 0 12px !important; font-size: 22px !important; }
  html[data-site-theme="v2"] body.fiscal-workspace .account-entry { display: inline-block; }
  html[data-site-theme="v2"] body.fiscal-workspace .paper-book-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  html[data-site-theme="v2"] body.fiscal-workspace .paper-book { padding: 8px; }
  html[data-site-theme="v2"] body.fiscal-workspace .paper-cover { aspect-ratio: 1 / .8; }
  html[data-site-theme="v2"] body.fiscal-workspace .catalog-layout { grid-template-columns: 1fr; gap: 12px; }
  html[data-site-theme="v2"] body.fiscal-workspace .catalog-sidebar { display: none; }
  html[data-site-theme="v2"] body.fiscal-workspace .custom-main,
  html[data-site-theme="v2"] body.fiscal-workspace .composition { padding: 15px; }
}
