/* Overview layout for the five system-home template placeholders. */
.doc-article:has(.template-tabs) { max-width: 1120px; }
.doc-main:has(.template-tabs) { padding-right: 40px; }
body:has(.template-tabs) .header-search { margin-right: 40px; }
.template-overview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.template-overview-head h2 { margin-bottom: 8px; }
.template-overview-head p { max-width: 620px; margin: 0; }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.template-card { overflow: hidden; min-width: 0; border: 1px solid var(--gs-neutral-6); border-radius: var(--gs-radius-lg); background: var(--gs-neutral-9); box-shadow: var(--gs-shadow-sm); transition: border-color .16s, box-shadow .16s, transform .16s; }
.template-card:hover { border-color: var(--gs-primary-3); box-shadow: var(--gs-shadow-lg); transform: translateY(-2px); }
.template-card__preview { position: relative; height: 156px; overflow: hidden; padding: 18px; background: var(--gs-primary-6); }
.template-card__preview--blue { --template-accent: var(--gs-primary-2); background: linear-gradient(135deg, #f2f9ff, #ddecff); }
.template-card__preview--orange { --template-accent: var(--gs-orange-2); background: linear-gradient(135deg, #fff8f3, #ffeadf); }
.template-card__preview--green { --template-accent: var(--gs-green-2); background: linear-gradient(135deg, #f2fff6, #ddf6e5); }
.template-card__preview--purple { --template-accent: var(--gs-purple-2); background: linear-gradient(135deg, #fbf4ff, #f0ddff); }
.template-card__preview--cyan { --template-accent: var(--gs-cyan-2); background: linear-gradient(135deg, #f1ffff, #d9f8f8); }
.template-skeleton__top { width: 62%; height: 12px; border-radius: 3px; background: color-mix(in srgb, var(--template-accent) 75%, white); box-shadow: 0 22px 0 color-mix(in srgb, var(--template-accent) 28%, white); }
.template-skeleton__body { position: absolute; right: 18px; bottom: 18px; left: 18px; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 8px; align-items: end; }
.template-skeleton__body i { display: block; height: 58px; border: 1px solid color-mix(in srgb, var(--template-accent) 25%, white); border-radius: 5px; background: color-mix(in srgb, var(--template-accent) 12%, white); }
.template-skeleton__body i:nth-child(2) { height: 42px; }
.template-skeleton__body i:nth-child(3) { height: 30px; }
.template-card__number { position: absolute; right: 16px; top: 14px; color: color-mix(in srgb, var(--template-accent) 78%, #14171a); font: 500 12px "DINPro", sans-serif; letter-spacing: .08em; }
.template-card__content { padding: 16px; }
.template-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.template-card__heading h3 { overflow: hidden; margin: 0; color: var(--gs-text-primary); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.template-card__content p { margin: 8px 0 14px; color: var(--gs-text-tertiary); font-size: 12px; line-height: 20px; }
.template-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.template-card__action { color: var(--gs-text-tertiary); font-size: 12px; }
.template-tabs { min-height: 0; overflow: hidden; border: 1px solid var(--gs-neutral-6); border-radius: var(--gs-radius-md); background: var(--gs-neutral-8); }
.template-tabs .gs-tabs__bar { min-height: 48px; padding: 0; background: var(--gs-neutral-8); }
.template-tabs .gs-tabs__bar { position: relative; }
.template-tabs .gs-tabs__tab { min-height: 48px; padding: 0 16px; background: var(--gs-neutral-8); }
.template-tabs .gs-tabs__tab.is-selected { background: var(--gs-neutral-9); }
.template-tabs .gs-tabs__tab.is-selected::after { display: none; }
.template-tabs .gs-tabs__trigger { min-width: 64px; height: 48px; padding: 0; font-size: 13px; }
.template-tabs__actions { position: relative; z-index: 3; display: flex; align-items: center; margin-left: auto; padding: 8px 12px; border-left: 1px solid var(--gs-neutral-7); background: var(--gs-neutral-8); }
.template-copy-trigger { min-width: 72px; height: 32px; }
.template-copy-menu { position: absolute; top: calc(100% + 4px); right: 12px; z-index: 5; min-width: 132px; padding: 4px 0; border: 1px solid var(--gs-neutral-6); border-radius: var(--gs-radius-sm); background: var(--gs-neutral-9); box-shadow: var(--gs-shadow-lg); }
.template-copy-menu__item.gs-button { display: flex; width: 100%; min-width: 0; height: 32px; justify-content: flex-start; padding: 0 12px; border: 0; border-radius: var(--gs-radius-sm); text-align: left; white-space: nowrap; }
.template-copy-notice { position: fixed; left: 50%; bottom: 24px; z-index: 20; transform: translateX(-50%); animation: template-copy-notice-in .16s ease-out; }
.template-copy-notice.is-leaving { opacity: 0; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease; }
@keyframes template-copy-notice-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.template-tabs__panel { aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--gs-neutral-9); color: var(--gs-text-tertiary); }
.template-tabs__panel span { font-size: 13px; }
.template-tabs__panel:has(.template1-preview) { align-items: stretch; justify-content: stretch; padding: 0; background: var(--gs-neutral-8); }
.template-tabs__panel > [data-template-panel] { width: 100%; min-width: 0; }
.template1-preview-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gs-neutral-8); }
.template1-preview { --template1-blue: var(--gs-primary-2); --template1-border: var(--gs-neutral-6); --template1-surface: var(--gs-neutral-9); position: absolute; top: 0; left: 0; display: grid; grid-template-columns: 12.5% 87.5%; width: 1920px; height: 1080px; max-width: none; overflow: hidden; color: var(--gs-text-primary); background: var(--gs-neutral-8); font-size: 14px; line-height: 1.5; transform-origin: top left; }
.template1-preview button { font: inherit; }
.template1-sidebar { display: flex; min-width: 0; flex-direction: column; padding: 20px; border-right: 1px solid var(--template1-border); background: var(--template1-surface); }
.template1-user { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--template1-border); }
.template1-user img, .template1-profile img { flex: 0 0 auto; width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.template1-user-avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; background: var(--gs-neutral-5); }
.template1-user .template1-user-logo { display: block; flex: 0 0 48px; width: 48px; height: 48px; padding: 8px; border-radius: 16px; background: #fff; }
.template1-user b, .template1-user span { display: block; white-space: nowrap; }
.template1-user b { color: var(--gs-text-secondary); font-size: 1em; font-weight: 500; line-height: 24px; }
.template1-user span { color: var(--gs-text-tertiary); font-size: .75em; line-height: 20px; }
.template1-nav { display: grid; gap: 16px; margin: 16px -4px 0 4px; }
.template1-nav-item { display: flex; min-width: 0; width: 100%; height: 40px; align-items: center; gap: 8px; padding: 8px; border: 0; border-radius: 8px; color: var(--gs-text-tertiary); background: transparent; font: inherit; text-align: left; white-space: nowrap; cursor: pointer; }
.template1-nav-item .gs-icon { flex: 0 0 auto; width: 24px; height: 24px; }
.template1-nav-item:not(.active):hover,
.template1-nav-item:not(.active):focus-visible { color: var(--template1-blue); background: var(--gs-neutral-8); outline: 0; }
.template1-nav-item:focus-visible { box-shadow: 0 0 0 2px var(--gs-primary-3); }
.template1-nav-item.active { color: #fff; background: var(--template1-blue); font-weight: 500; }
.template1-nav-item.active:hover { color: #fff; background: var(--template1-blue); }
.template1-nav-item.has-add > .gs-icon:last-child, .template1-nav-item.badge > .template1-badge { margin-left: auto; }
.template1-nav-item.badge .template1-badge { display: inline-grid; min-width: 24px; height: 24px; place-items: center; padding: 0 6px; border-radius: 12px; color: #fff; background: var(--template1-blue); font-size: .9em; }
.template1-sidebar-spacer { flex: 1; min-height: 24px; }
.template1-sidebar-title { display: block; margin: 0 -4px 8px 4px; color: var(--gs-text-primary); font-size: 12px; line-height: 20px; }
.template1-sidebar-tools { display: flex; align-items: center; justify-content: space-between; margin: 0 -4px 0 4px; padding: 4px; border-radius: 16px; background: var(--gs-neutral-8); }
.template1-sidebar-tools span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 12px; color: var(--gs-text-tertiary); }
.template1-sidebar-tools span:first-child { color: var(--template1-blue); background: #fff; }
.template1-sidebar-tools .is-add { color: var(--gs-text-tertiary); background: #fff; }
.template1-sidebar-tools .gs-icon { width: 16px; height: 16px; }
.template1-sidebar-add { position: relative; display: grid; height: 120px; justify-items: center; gap: 4px; margin: 16px -4px 76px 4px; padding: 16px 8px; border-radius: 16px; background: var(--gs-neutral-8); text-align: center; }
.template1-sidebar-add__corner-icon { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; }
.template1-sidebar-add > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #fff; background: var(--gs-neutral-5); }
.template1-sidebar-add .gs-icon { width: 24px; height: 24px; }
.template1-sidebar-add b { margin-top: 4px; font-size: 1em; font-weight: 500; }
.template1-sidebar-add small { color: rgba(20,23,26,.1); font-size: .75em; }
.template1-workspace { display: grid; min-width: 0; grid-template-rows: 6.667% 93.333%; }
.template1-header { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 0 40px 0 16px; border-bottom: 1px solid var(--template1-border); background: #fff; }
.template1-header-search { display: flex; min-width: 0; align-items: center; gap: 16px; }
.template1-header-leading.gs-button { flex: 0 0 auto; width: 32px; min-width: 32px; height: 32px; padding: 0; border-radius: 4px; color: var(--gs-text-secondary); background: var(--gs-neutral-8); }
.template1-header-leading .gs-icon { width: 20px; height: 20px; }
.template1-search { display: flex; width: 320px; height: 40px; align-items: center; gap: 8px; padding: 0 8px; border: 1px solid var(--template1-border); border-radius: 4px; background: #fff; }
.template1-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--gs-text-secondary); background: transparent; font: inherit; }
.template1-search input::placeholder { color: rgba(20,23,26,.4); }
.template1-search > .gs-icon { flex: 0 0 auto; width: 16px; height: 16px; color: var(--gs-text-tertiary); }
.template1-header-actions { display: flex; align-items: center; gap: 24px; }
.template1-header-icon.gs-button { width: 24px; min-width: 24px; height: 24px; padding: 0; }
.template1-header-icon .gs-icon { width: 24px; height: 24px; }
.template1-figma-icon { display: block; object-fit: contain; }
.template1-profile { display: inline-flex; width: 105px; height: 40px; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--gs-text-primary); background: transparent; cursor: pointer; }
.template1-profile img { width: 40px; height: 40px; border: 4px solid var(--gs-primary-4); }
.template1-profile > .gs-icon { width: 16px; height: 16px; margin-left: -4px; }
.template1-content { display: grid; min-width: 0; min-height: 0; grid-template-columns: 352fr 936fr 360fr; grid-template-rows: 240fr 416fr 320fr; gap: 8px; padding: 8px; }
.template1-card, .template1-hero { min-width: 0; min-height: 0; overflow: hidden; border: 0; border-radius: 8px; background: var(--template1-surface); box-shadow: 0 0 4px rgba(20,23,26,.1); }
.template1-profile-card { grid-column: 1; grid-row: 1; padding: 16px; background: url('../assets/images/template-1-profile-card.png') center / cover no-repeat; }
.template1-hero { position: relative; grid-column: 2 / 4; grid-row: 1; }
.template1-profile-card, .template1-hero { box-shadow: 0 0 0 1px #fff, 0 0 4px rgba(20,23,26,.1); }
.template1-hero::after { display: none; }
.template1-hero img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.template1-hero > div { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.template1-hero h2 { margin: 0; color: var(--gs-text-primary); font-size: 32px; font-weight: 600; line-height: 48px; }
.template1-hero strong { color: var(--gs-primary-1); font-size: 20px; font-weight: 500; line-height: 32px; }
.template1-profile-summary { display: flex; height: 72px; align-items: center; gap: 8px; padding: 16px 0 0; }
.template1-avatar { flex: 0 0 auto; width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: #79c8f6; }
.template1-profile-summary small, .template1-profile-summary strong { display: block; }
.template1-profile-summary small { font-size: .8em; }
.template1-profile-summary strong { margin-top: 4px; font-size: 24px; font-weight: 500; line-height: 32px; }
.template1-profile-link { display: flex; align-items: center; gap: 8px; height: 48px; margin-top: 16px; padding: 0 12px; border: 1px solid rgba(255,255,255,.9); border-radius: 8px; color: var(--gs-text-secondary); background: rgba(255,255,255,.24); }
.template1-profile-link .gs-icon { width: 24px; height: 24px; }
.template1-calendar-card { grid-column: 1; grid-row: 2 / 4; padding: 8px 16px 16px; }
.template1-table-card { grid-column: 2; grid-row: 2; padding: 8px 16px 16px; }
.template1-tiles-card { grid-column: 3; grid-row: 2; padding: 8px 16px 16px; }
.template1-list-card { grid-column: 2; grid-row: 3; padding: 8px 16px 16px; }
.template1-shortcuts-card { grid-column: 3; grid-row: 3; padding: 8px 16px 16px; }
.template1-card-heading { display: flex; height: 32px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--template1-border); font-size: 16px; font-weight: 500; line-height: 24px; }
.template1-card-heading > span { display: inline-flex; align-items: center; gap: 4px; }
.template1-card-heading > span::before { display: block; width: 4px; height: 16px; border-radius: 1px; background: var(--template1-blue); content: ""; }
.template1-card-heading > .gs-icon, .template1-card-heading > div { display: flex; gap: 16px; color: var(--gs-text-secondary); }
.template1-card-heading .gs-icon { width: 24px; height: 24px; }
.template1-calendar-toolbar { display: flex; height: 24px; align-items: center; justify-content: center; gap: 24px; margin-top: 20px; color: var(--template1-blue); }
.template1-calendar-toolbar button { display: grid; width: 24px; height: 24px; place-items: center; border: 0; border-radius: 50%; color: var(--gs-text-tertiary); background: var(--gs-neutral-8); cursor: pointer; }
.template1-calendar-toolbar .gs-icon { width: 16px; height: 16px; }
.template1-calendar-week, .template1-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.template1-calendar-week { margin-top: 16px; color: var(--gs-text-tertiary); font-size: .82em; }
.template1-calendar-grid { row-gap: 4px; margin-top: 8px; }
.template1-calendar-day { position: relative; display: grid; height: 32px; place-items: center; border-radius: 50%; font-size: .95em; }
.template1-calendar-day.is-selected { width: 32px; margin: 0 auto; color: #fff; background: var(--template1-blue); }
.template1-calendar-day.is-muted { color: var(--gs-text-tertiary); }
.template1-calendar-day i { position: absolute; bottom: -1px; width: 3px; height: 3px; border-radius: 50%; background: var(--gs-orange-2); }
.template1-timeline { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--template1-border); }
.template1-timeline-row { display: grid; grid-template-columns: 44px 16px 1fr; gap: 8px; align-items: center; min-height: 60px; }
.template1-timeline-row time { color: var(--gs-text-secondary); font-size: .8em; }
.template1-timeline-dot { position: relative; display: block; width: 12px; height: 12px; border: 2px solid var(--template1-border); border-radius: 50%; background: #fff; }
.template1-timeline-dot::after { position: absolute; top: 10px; left: 3px; width: 2px; height: 48px; background: var(--template1-border); content: ""; }
.template1-timeline-row:last-child .template1-timeline-dot::after { display: none; }
.template1-timeline-dot.is-active { border-color: var(--template1-blue); box-shadow: inset 0 0 0 3px #fff; background: var(--template1-blue); }
.template1-timeline-card { padding: 10px 12px; border-radius: 8px; background: var(--gs-neutral-8); font-size: .86em; }
.template1-timeline-card.is-active { border: 1px solid var(--template1-blue); background: #fff; }
.template1-calendar-actions { display: flex; gap: 16px; margin-top: 12px; }
.template1-calendar-actions .gs-button { --button-bg: #fff; --button-color: var(--gs-text-primary); --button-border: var(--gs-neutral-4); flex: 1 1 0; min-width: 0; height: 48px; padding: 0 8px; border-radius: var(--gs-radius-md); font-size: 14px; font-weight: 500; }
.template1-calendar-actions .gs-button:not(:disabled):not(.is-disabled):hover { --button-bg: #fff; --button-color: var(--gs-primary-2); --button-border: var(--gs-primary-2); }
.template1-calendar-actions .gs-button:not(:disabled):not(.is-disabled):active { --button-bg: var(--gs-primary-4); --button-color: var(--gs-primary-1); --button-border: var(--gs-primary-1); }
.template1-calendar-actions .gs-icon, .template1-calendar-action-icon { width: 20px; height: 20px; }
.template1-inner-tabs { min-width: 0; }
.template1-inner-tabs { display: block; min-height: 0; margin-top: 24px; overflow: visible; border: 0; background: transparent; }
.template1-preview .template1-inner-tabs.gs-tabs { display: block; min-height: 0; overflow: visible; border: 0; background: transparent; }
.template1-inner-tabs__bar { display: flex; height: 36px; align-items: stretch; gap: 24px; border-bottom: 1px solid var(--template1-border); }
.template1-inner-tabs__bar > .template1-inner-tab.gs-button { position: relative; display: inline-flex; min-width: 64px; height: 36px; align-items: center; justify-content: flex-start; padding: 0; border: 0; color: var(--gs-text-tertiary); background: transparent; white-space: nowrap; }
.template1-inner-tabs__bar > .template1-inner-tab.gs-button.is-active { color: var(--template1-blue); }
.template1-inner-tabs__bar > .template1-inner-tab.gs-button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 4px; background: var(--template1-blue); content: ""; }
.template1-table-button.gs-button { min-width: 80px; height: 32px; margin: 2px 0 2px auto; font-size: .86em; }
.template1-table { width: 100%; margin-top: 8px; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.template1-table th, .template1-table td { height: 32px; padding: 0 12px; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.template1-table thead th { color: var(--gs-text-secondary); background: var(--gs-primary-6); font-weight: 400; }
.template1-table tbody tr { border-bottom: 1px solid var(--gs-neutral-7); }
.template1-table tbody tr:hover, .template1-table tbody tr.is-highlighted { color: var(--template1-blue); background: var(--gs-primary-6); }
.template1-pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 44px; }
.template1-pagination .gs-button { width: 24px; min-width: 24px; height: 24px; padding: 0; border-radius: 4px; font-size: .8em; }
.template1-pagination .gs-button.is-current { color: #fff; background: var(--template1-blue); }
.template1-pagination .gs-icon { width: 16px; height: 16px; }
.template1-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; padding-top: 20px; }
.template1-tile { display: grid; min-height: 104px; place-items: center; align-content: center; gap: 8px; border-radius: 8px; color: var(--gs-text-secondary); background: var(--gs-neutral-8); font-size: .86em; }
.template1-tile .gs-icon { width: 40px; height: 40px; color: var(--gs-neutral-5); }
.template1-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 20px; }
.template1-list-row { display: flex; min-width: 0; height: 48px; align-items: center; gap: 8px; padding: 0 12px; border-radius: 8px; background: var(--gs-neutral-8); font-size: .82em; }
.template1-list-row .gs-icon { flex: 0 0 auto; width: 20px; height: 20px; }
.template1-list-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.template1-list-row b { padding: 1px 4px; border-radius: 2px; color: #fff; background: var(--template1-blue); font-size: .8em; font-weight: 400; }
.template1-list-row time { margin-left: auto; color: var(--gs-text-tertiary); white-space: nowrap; }
.template1-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 24px; padding-top: 16px; }
.template1-shortcut { display: grid; justify-items: center; gap: 6px; color: var(--gs-text-secondary); font-size: .78em; text-align: center; }
.template1-shortcut > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: var(--template1-blue); background: var(--gs-primary-6); }
.template1-shortcut .gs-icon { width: 20px; height: 20px; }
/* Lock the fixed 1920×1080 preview to the Figma frame coordinates. */
.template1-content { position: relative; display: block; width: 100%; height: 100%; padding: 0; }
.template1-preview section { margin-top: 0; scroll-margin-top: 0; }
.template1-profile-card, .template1-hero, .template1-calendar-card, .template1-table-card, .template1-tiles-card, .template1-list-card, .template1-shortcuts-card { position: absolute; margin: 0; }
.template1-profile-card { top: 8px; left: 8px; width: 352px; height: 240px; }
.template1-hero { top: 8px; left: 368px; width: 1304px; height: 240px; }
.template1-calendar-card { top: 256px; left: 8px; width: 352px; height: 744px; }
.template1-table-card { top: 256px; left: 368px; width: 936px; height: 416px; }
.template1-tiles-card { top: 256px; left: 1312px; width: 360px; height: 416px; }
.template1-list-card { top: 680px; left: 368px; width: 936px; height: 320px; }
.template1-shortcuts-card { top: 680px; left: 1312px; width: 360px; height: 320px; }
/* Template 2 — fixed 1920×1080 Figma canvas, scaled as one unit in the docs preview. */
.template-tabs__panel:has(.template2-preview) { align-items: stretch; justify-content: stretch; padding: 0; background: var(--gs-neutral-8); }
.template-tabs__panel:has(.template3-preview) { align-items: stretch; justify-content: stretch; padding: 0; background: var(--gs-neutral-8); }
.template3-preview-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f2f9ff; }
.template3-preview { position: absolute; inset: 0 auto auto 0; width: 1920px; height: 1080px; overflow: hidden; background: #f2f9ff; transform-origin: top left; }
.template3-preview *, .template3-preview *::before, .template3-preview *::after { box-sizing: border-box; }
.template3-topbar { position: absolute; z-index: 40; top: 0; left: 0; width: 1920px; height: 80px; color: #fff; font-family: inherit; }
.template3-topbar__background { position: absolute; inset: 0; display: block; width: 1920px; height: 80px; pointer-events: none; }
.template3-topbar__logo { position: absolute; top: 24px; left: 28px; width: 32px; height: 32px; }
.template3-topbar__title, .template3-topbar__subtitle { position: absolute; margin: 0; white-space: nowrap; }
.template3-topbar__title { top: 28px; left: 72px; color: #fff !important; font: 500 16px/24px "Alibaba PuHuiTi 3", "PingFang SC", sans-serif !important; }
.template3-topbar__subtitle { top: 30px; left: 175px; color: var(--gs-primary-5) !important; font: 500 12px/20px "Alibaba PuHuiTi 3", "PingFang SC", sans-serif !important; }
.template3-topbar__menus { position: absolute; z-index: 2; top: 24px; left: 50%; display: flex; gap: 24px; align-items: center; pointer-events: auto; transform: translateX(-50%); }
.template3-topbar-menu { position: relative; z-index: 3; display: inline-flex; height: 32px; gap: 4px; align-items: center; justify-content: center; padding: 4px 16px; color: var(--gs-primary-5); font: 500 14px/22px inherit; white-space: nowrap; border: 0; border-radius: 16px; background: var(--gs-primary-2); cursor: pointer; pointer-events: auto !important; }
.template3-topbar-menu__icon { display: none; width: 20px; height: 20px; }
.template3-topbar-menu__icon--default { display: block; }
.template3-topbar-menu[aria-pressed="true"] { color: var(--gs-primary-2); background: #fff; }
.template3-topbar-menu[aria-pressed="true"] .template3-topbar-menu__icon--default, .template3-topbar-menu[aria-pressed="true"] .template3-topbar-menu__icon--hover { display: none; }
.template3-topbar-menu[aria-pressed="true"] .template3-topbar-menu__icon--selected { display: block; }
.template3-topbar-menu:not([aria-pressed="true"]):is(:hover, [data-hovered="true"], :focus-visible) { color: var(--gs-primary-6) !important; background-color: rgba(153,206,255,.5) !important; background-image: none !important; }
.template3-topbar-menu:not([aria-pressed="true"]):is(:hover, [data-hovered="true"], :focus-visible) .template3-topbar-menu__icon--default { display: none; }
.template3-topbar-menu:not([aria-pressed="true"]):is(:hover, [data-hovered="true"], :focus-visible) .template3-topbar-menu__icon--hover { display: block; }
.template3-topbar-menu:active { opacity: .86; }
.template3-topbar__utilities { position: absolute; inset: 0; }
.template3-topbar__tool { position: absolute; top: 24px; left: 1676px; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 16px; background: transparent; cursor: pointer; }
.template3-topbar__tool:nth-child(2) { left: 1724px; }
.template3-topbar__tool:nth-child(3) { left: 1772px; }
.template3-topbar__tool--down { left: 1868px; }
.template3-topbar__tool > img { width: 24px; height: 24px; }
.template3-topbar__tool:hover, .template3-topbar__tool:focus-visible { background: rgba(153,206,255,.5); outline: 0; }
.template3-topbar__tool.is-activated { background: rgba(153,206,255,.5); }
.template3-topbar__avatar { position: absolute; top: 20px; left: 1824px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.template3-topbar__avatar:hover, .template3-topbar__avatar:focus-visible { background: rgba(153,206,255,.5); outline: 0; }
.template3-topbar__avatar[aria-expanded="true"] { background: rgba(153,206,255,.5); }
.template3-topbar__avatar-ring, .template3-topbar__avatar-image { position: absolute; inset: 0; width: 40px; height: 40px; }
.template3-topbar__avatar-image { object-fit: cover; }
.template3-user-menu { top: 16px; left: 1815px; width: 72px; height: 48px; border-radius: 24px; }
.template3-user-menu:hover { background: rgba(255,255,255,.14); }
.template3-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.template3-live-sidebar { position: absolute; z-index: 30; top: 96px; left: 16px; width: 240px; height: 968px; padding: 16px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.template3-live-menu { display: grid; grid-template-columns: 24px minmax(0,1fr) 24px; column-gap: 8px; align-items: center; width: 200px; height: 56px; padding: 0 16px; color: rgba(20,23,26,.4); font: 500 16px/24px inherit; text-align: left; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.template3-live-menu > .gs-icon, .template3-live-menu > img { width: 24px; height: 24px; color: currentColor; }
.template3-live-menu > img:last-child, .template3-live-menu > .gs-icon:last-child { justify-self: end; }
.template3-live-menu > span { font-weight: 500; }
.template3-live-menu:hover, .template3-live-menu:focus-visible { background: var(--gs-primary-6); outline: 0; }
.template3-live-menu--selected { position: relative; color: var(--gs-primary-2); background: var(--gs-primary-5); }
.template3-live-menu--selected::after {
  position: absolute;
  top: 16px;
  right: -24px;
  width: 4px;
  height: 24px;
  content: "";
  border-radius: 2px 0 0 2px;
  background: var(--gs-primary-2);
}
.template3-live-menu--selected:hover, .template3-live-menu--selected:focus-visible { background: var(--gs-primary-5); }
.template3-live-menu-group { margin-top: 16px; }
.template3-live-menu--trigger { color: var(--gs-primary-2); background: #fff; }
.template3-live-children { display: block; margin-top: 8px; }
.template3-live-menu--secondary { display: block; width: 200px; margin-left: 0; padding: 0 16px 0 48px; }
.template3-live-children[aria-hidden="true"] { display: none; }
.template3-live-menu--trigger[aria-expanded="false"] { color: rgba(20,23,26,.4); background-color: #fff; background-image: url('../assets/images/template3-menu-search.svg'), url('../assets/images/template3-menu-right.svg'); background-position: 16px center, calc(100% - 16px) center; background-repeat: no-repeat, no-repeat; background-size: 24px 24px, 24px 24px; }
.template3-live-menu--trigger[aria-expanded="false"] > img { visibility: hidden; }
.template3-live-menu--trigger[aria-expanded="false"]:hover, .template3-live-menu--trigger[aria-expanded="false"]:focus-visible { background-color: var(--gs-primary-6); background-image: url('../assets/images/template3-menu-search.svg'), url('../assets/images/template3-menu-right.svg'); background-position: 16px center, calc(100% - 16px) center; background-repeat: no-repeat, no-repeat; background-size: 24px 24px, 24px 24px; }
.template3-live-lower { display: grid; gap: 16px; margin-top: 16px; }
.template3-live-lower .template3-live-menu-group { margin-top: 0; }
.template3-dashboard { position: absolute; top: 96px; left: 272px; display: block; width: 1632px; height: 968px; font: 500 14px/22px "Alibaba PuHuiTi 3", "PingFang SC", sans-serif; }
.template3-dashboard section { margin: 0; }
.template3-card, .template3-hero-card { position: absolute; min-width: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.template3-card { width: 396px; padding: 24px; }
.template3-card h3, .template3-card h4, .template3-card p { margin: 0; }
.template3-card h3 { color: rgba(20,23,26,.8); font-size: 16px; font-weight: 500; line-height: 24px; }
.template3-hero-card { top: 0; left: 0; display: grid; width: 1632px; height: 152px; grid-template-columns: 370px 1fr; align-items: center; gap: 16px; padding: 24px; }
.template3-hero-card h2 { margin: 0; color: var(--gs-text-primary); font-size: 24px; font-weight: 600; line-height: 40px; }
.template3-hero-card em { color: #51dfe4; font-style: normal; }
.template3-step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.template3-step { position: relative; display: grid; min-width: 0; height: 104px; grid-template-columns: 32px minmax(0,1fr) 24px; gap: 12px; align-items: start; padding: 16px; border: 0; border-radius: 12px; color: var(--gs-text-secondary); background: var(--gs-primary-5); text-align: left; cursor: pointer; }
.template3-step:hover, .template3-step:focus-visible { outline: 0; background: var(--gs-primary-4); }
.template3-step > i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: #14cfd1; font-style: normal; }
.template3-step b, .template3-step small { display: block; }
.template3-step b { font-size: 16px; line-height: 24px; }
.template3-step small { margin-top: 8px; overflow: hidden; color: rgba(20,23,26,.4); font-size: 12px; font-weight: 400; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.template3-step > img { display: none; }
.template3-step::after { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; background: var(--gs-text-secondary); content: ""; -webkit-mask: url('../assets/images/template3-dashboard-arrow.svg') center / 24px 24px no-repeat; mask: url('../assets/images/template3-dashboard-arrow.svg') center / 24px 24px no-repeat; }
.template3-step:hover::after, .template3-step:focus-visible::after { background: var(--gs-primary-2); }
.template3-promo-card { top: 168px; left: 0; display: flex; height: 400px; flex-direction: column; justify-content: space-between; padding-bottom: 24px; background: url('../assets/images/template3-dashboard-promo.png') center / cover no-repeat; }
.template3-promo-card::before, .template3-promo-card::after { display: none; }
.template3-promo-card > div { position: relative; z-index: 1; }
.template3-promo-dot { display: block; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%; background: #a7d8f7; }
.template3-promo-card h3 { color: var(--gs-text-secondary); font-size: 24px; font-weight: 600; line-height: 32px; }
.template3-promo-card p { margin-top: 8px; color: var(--gs-text-secondary); font-size: 16px; }
.template3-app-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.template3-app-button { display: flex; height: 80px; align-items: center; gap: 12px; padding: 0 24px; border: 0; border-radius: 12px; color: var(--gs-text-secondary); background: rgba(255,255,255,.78); font: inherit; cursor: pointer; }
.template3-app-button:hover, .template3-app-button:focus-visible { outline: 0; background: #fff; }
.template3-app-button span { width: 24px; height: 24px; }
.template3-app-button img { width: 24px; height: 24px; }
.template3-chart-card { top: 168px; left: 412px; display: flex; height: 400px; flex-direction: column; padding-bottom: 24px; }
.template3-chart-card::after, .template3-donut-card::after, .template3-storage-card::after { position: absolute; top: 200px; right: 24px; left: 24px; height: 1px; background: var(--gs-neutral-7); content: ""; }
.template3-stat-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; margin: 38px 0 24px; }
.template3-stat-row > div { text-align: center; }
.template3-stat-row small, .template3-stat-row b { display: block; }
.template3-stat-row small { color: rgba(20,23,26,.4); font-size: 14px; line-height: 22px; }
.template3-stat-row b { margin-top: 8px; color: rgba(20,23,26,.8); font-size: 32px; line-height: 40px; }
.template3-bar-chart { display: flex; height: 172px; align-items: end; gap: 18px; margin-top: auto; padding: 24px 0 30px; }
.template3-bar-chart i { position: relative; display: block; flex: 1; min-width: 0; height: var(--template3-bar); border-radius: 8px 8px 0 0; background: linear-gradient(#78c5fb, #eaf7ff); font-style: normal; }
.template3-bar-chart i:last-child { background: var(--gs-primary-2); }
.template3-bar-chart b { position: absolute; top: calc(100% + 8px); left: 50%; color: var(--gs-text-secondary); font-weight: 500; transform: translateX(-50%); }
.template3-donut-card { top: 168px; left: 824px; display: flex; height: 400px; flex-direction: column; padding-bottom: 24px; }
.template3-donut-card > .template3-donut-list { display: flex; height: 152px; justify-content: space-around; align-items: flex-start; margin-top: auto; }
.template3-donut { position: relative; display: grid; width: 120px; height: 120px; place-items: center; border-radius: 50%; background: conic-gradient(#00cf73 0 34%, #eaf5fe 34% 100%); }
.template3-donut::before { width: 96px; height: 96px; border-radius: 50%; background: #fff; content: ""; }
.template3-donut::after { position: absolute; top: 0; left: 54px; width: 12px; height: 12px; border-radius: 50%; background: #00cf73; content: ""; pointer-events: none; }
.template3-donut i { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gs-text-secondary); font-size: 22px; font-style: normal; font-weight: 600; }
.template3-donut i::before { position: absolute; top: 79px; left: 96px; width: 20px; height: 20px; border: 4px solid #00cf73; border-radius: 50%; background: #fff; content: ""; pointer-events: none; }
.template3-donut small { position: absolute; top: 128px; color: rgba(20,23,26,.4); white-space: nowrap; }
.template3-storage-card { top: 168px; left: 1236px; display: flex; height: 400px; flex-direction: column; padding-bottom: 24px; background: radial-gradient(ellipse at 100% 0, #cfe6fc 0, rgba(207,230,252,0) 46%), linear-gradient(180deg,#e7fdfe 0%,#fff 50%); }
.template3-storage-card h4 { margin-top: 32px; color: var(--gs-text-secondary); font-size: 22px; line-height: 32px; }
.template3-storage-card > p { margin-top: 8px; color: rgba(20,23,26,.4); }
.template3-storage-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-top: 30px; }
.template3-storage-row:first-of-type { margin-top: 82px; }
.template3-storage-row + .template3-storage-row { margin-top: auto; }
.template3-storage-row > b { color: var(--gs-text-secondary); font-size: 16px; }
.template3-storage-row > b small { font-size: 14px; font-weight: 400; }
.template3-storage-row > i { grid-column: 1 / -1; display: block; height: 16px; overflow: hidden; border-radius: 8px; background: var(--gs-primary-6); }
.template3-storage-row > i > em { display: block; height: 100%; border-radius: inherit; background: var(--gs-primary-2); }
.template3-list-card { top: 584px; left: 0; display: flex; height: 180px; flex-direction: column; }
.template3-list-card h3 { margin-bottom: 8px; }
.template3-list-row { display: flex; height: 38px; align-items: center; justify-content: space-between; padding: 0; border: 0; color: var(--gs-text-secondary); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.template3-list-row:hover, .template3-list-row:focus-visible { outline: 0; color: var(--gs-primary-2); }
.template3-list-row time { color: rgba(20,23,26,.4); }
.template3-quick-card { top: 584px; left: 412px; width: 808px; height: 180px; }
.template3-quick-card > div { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; margin-top: 8px; }
.template3-quick-button { display: grid; gap: 8px; justify-items: center; padding: 0; border: 0; color: var(--gs-text-secondary); background: transparent; font: inherit; cursor: pointer; }
.template3-quick-button span { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 16px; color: var(--gs-primary-2); background: var(--gs-primary-5); }
.template3-quick-button img { width: 32px; height: 32px; }
.template3-quick-button img, .template3-event-row img, .template3-server-card img { display: none; }
.template3-quick-button span::before, .template3-event-row i::before, .template3-server-card > i::before { display: block; background: currentColor; content: ""; -webkit-mask: url('../assets/images/template3-dashboard-database.svg') center / contain no-repeat; mask: url('../assets/images/template3-dashboard-database.svg') center / contain no-repeat; }
.template3-quick-button span::before { width: 32px; height: 32px; }
.template3-quick-button:hover span, .template3-quick-button:focus-visible span { background: var(--gs-primary-4); }
.template3-quick-button:focus-visible { outline: 0; }
.template3-notice-card { top: 584px; left: 1236px; height: 180px; padding-top: 52px; background: linear-gradient(180deg,#f1faff 0%,#fff 100%); }
.template3-notice-card h2 { margin: 0; color: var(--gs-primary-2); font-size: 22px; line-height: 32px; }
.template3-notice-card p { margin-top: 14px; color: rgba(20,23,26,.4); }
.template3-notice-card > img { position: absolute; right: 16px; bottom: 0; width: 145px; height: 145px; object-fit: contain; pointer-events: none; }
.template3-notice-card > div { position: absolute; bottom: 24px; left: 50%; display: flex; gap: 10px; transform: translateX(-50%); }
.template3-notice-card > div i { display: block; width: 40px; height: 8px; border-radius: 4px; background: var(--gs-primary-2); }
.template3-notice-card > div i + i { background: var(--gs-primary-5); }
.template3-server-card { top: 796px; left: 0; display: flex; height: 172px; align-items: flex-start; justify-content: space-between; }
.template3-server-card > div { position: absolute; z-index: 1; top: 16px; left: 24px; }
.template3-server-card p { margin-top: 20px; color: rgba(20,23,26,.4); }
.template3-server-card > i { position: absolute; right: 32px; bottom: 32px; display: grid; width: 108px; height: 108px; place-items: center; border-radius: 50%; color: #fff; background: #00d782; box-shadow: 0 0 0 24px #c8ffe3; }
.template3-server-card img { width: 44px; height: 44px; }
.template3-server-card > i::before { width: 40px; height: 40px; }
.template3-summary-card { top: 796px; left: 412px; height: 172px; }
.template3-summary-card .template3-stat-row { margin-top: 20px; }
.template3-events-card { top: 796px; left: 824px; height: 172px; }
.template3-events-card h3 { margin-bottom: 12px; }
.template3-event-row { display: grid; width: 100%; height: 32px; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 0; border: 0; color: var(--gs-text-secondary); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.template3-event-row + .template3-event-row { margin-top: 24px; }
.template3-event-row i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: #ff6f26; }
.template3-event-row.is-青 i { background: #14cfd1; }
.template3-event-row img { width: 18px; height: 18px; }
.template3-event-row i::before { width: 18px; height: 18px; }
.template3-event-row time { color: rgba(20,23,26,.4); }
.template3-colors-card { top: 796px; left: 1236px; height: 172px; }
.template3-colors-card > div { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.template3-colors-card > div b { color: var(--gs-text-secondary); font-size: 28px; line-height: 36px; }
.template3-colors-card > div b small { font-size: 16px; }
.template3-colors-card > div span { color: rgba(20,23,26,.4); }
.template3-colors-card > section { display: grid; grid-template-columns: 1.5fr repeat(6, 1fr); gap: 6px; margin-top: 12px; }
.template3-colors-card > section i { display: block; height: 48px; border-radius: 4px; }
.template3-chart-card > h3, .template3-donut-card > h3, .template3-storage-card > h3, .template3-list-card > h3, .template3-quick-card > h3, .template3-summary-card > h3, .template3-events-card > h3, .template3-colors-card > h3 { position: relative; top: -8px; }
.template-tabs__panel:has(.template4-preview) { align-items: stretch; justify-content: stretch; padding: 0; background: var(--gs-neutral-8); }
.template4-preview-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(180deg, #0090fd 0%, #006ccd 100%); }
.template4-preview { position: absolute; inset: 0 auto auto 0; width: 1920px; height: 1080px; overflow: hidden; color: var(--gs-text-primary); transform-origin: top left; }
.template4-preview *, .template4-preview *::before, .template4-preview *::after { box-sizing: border-box; }
.template4-preview button { font: inherit; }
.template4-brand { display: flex; height: 128px; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 24px; }.template4-brand .gs-icon, .template4-brand-logo { display: block; width: 32px; height: 32px; flex: 0 0 32px; }
.template4-sidebar { position: absolute; z-index: 2; top: 0; left: 0; width: 240px; height: 1080px; background: linear-gradient(221.6335deg,#1890ff 30.622%,#066ac6 100%); }.template4-side-nav { display: grid; gap: 16px; padding: 24px; }.template4-side-menu { display: flex; width: 192px; height: 56px; align-items: center; gap: 12px; padding: 0 16px; border: 0; border-radius: 28px 8px 8px 28px; color: #fff; background: transparent; font: inherit; text-align: left; cursor: pointer; }.template4-side-menu .gs-icon { width: 24px; height: 24px; }.template4-side-menu .gs-icon:last-child { margin-left: auto; width: 16px; height: 16px; }
.template4-side-menu:hover, .template4-side-menu:focus-visible { outline: 0; background: rgba(255,255,255,.16); }.template4-side-menu.is-current, .template4-side-menu:active { position: relative; z-index: 1; background: var(--gs-primary-2); }.template4-side-menu.is-current::after { position: absolute; top: 0; right: -16px; width: 32px; height: 56px; border-radius: 0 28px 28px 0; background: var(--gs-primary-2); content: ""; }
.template4-workspace { position: absolute; inset: 0 480px 0 240px; background: #fff; }.template4-header { display: flex; height: 80px; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--gs-neutral-7); }.template4-header > div { display: flex; align-items: center; gap: 12px; margin-left: auto; }.template4-header-menu, .template4-utility, .template4-user { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 4px; color: var(--gs-text-secondary); background: transparent; cursor: pointer; }.template4-header-menu .gs-icon, .template4-utility .gs-icon { width: 20px; height: 20px; }.template4-user { width: 40px; height: 40px; border-radius: 50%; color: var(--gs-primary-2); background: var(--gs-primary-6); }.template4-utility:hover, .template4-utility:focus-visible, .template4-user:hover, .template4-user:focus-visible, .template4-user[aria-expanded="true"] { outline: 0; background: var(--gs-primary-6); }.template4-breadcrumb { display: flex; height: 48px; align-items: center; gap: 12px; padding: 0 16px; color: var(--gs-text-secondary); background: var(--gs-primary-6); }.template4-breadcrumb button { display: grid; width: 32px; height: 32px; place-items: center; border: 0; color: var(--gs-text-tertiary); background: #fff; cursor: pointer; }.template4-breadcrumb .gs-icon { width: 16px; height: 16px; }.template4-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 24px 24px 40px; }.template4-stats { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4,1fr); gap: 24px; }.template4-stat { display: flex; height: 120px; align-items: center; gap: 16px; padding: 24px; border: 0; border-radius: 16px; color: var(--gs-text-secondary); background: var(--gs-primary-6); text-align: left; cursor: pointer; }.template4-stat .gs-icon { width: 48px; height: 48px; padding: 12px; border-radius: 12px; color: var(--gs-primary-2); background: #fff; }.template4-stat b { display: block; font-size: 28px; line-height: 32px; }.template4-stat small, .template4-summary small { color: var(--gs-text-tertiary); }.template4-panel { min-width: 0; }.template4-panel h3, .template4-chart h3, .template4-right-rail h3 { margin: 0 0 16px; font-size: 16px; }.template4-summary-panel > div { display: flex; gap: 16px; }.template4-summary { display: grid; width: 96px; height: 144px; justify-items: center; align-content: center; gap: 8px; border: 0; border-radius: 16px; color: var(--gs-text-secondary); background: var(--gs-primary-6); cursor: pointer; }.template4-summary--0 { background: #ffe8e8; }.template4-summary--2 { background: #ffebe0; }.template4-summary--3 { background: #f7e2ff; }.template4-summary .gs-icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; color: var(--gs-primary-2); background: #fff; }.template4-summary b { font-size: 22px; }.template4-quick-panel > div { display: flex; justify-content: space-between; gap: 12px; }.template4-quick { display: grid; justify-items: center; gap: 8px; border: 0; color: var(--gs-text-tertiary); background: transparent; cursor: pointer; }.template4-quick .gs-icon { width: 56px; height: 56px; padding: 14px; border-radius: 12px; color: #fff; background: var(--gs-primary-2); }.template4-chart { grid-column: 1 / -1; min-height: 420px; padding: 24px; border-radius: 16px; background: var(--gs-primary-6); }.template4-legend { display: flex; justify-content: flex-end; gap: 24px; color: var(--gs-text-tertiary); }.template4-bars { display: flex; height: 320px; align-items: end; justify-content: space-around; gap: 12px; margin-top: 24px; border-bottom: 1px solid var(--gs-neutral-6); }.template4-bars i { display: flex; height: 100%; flex: 1; align-items: end; justify-content: center; gap: 0; position: relative; }.template4-bars em { display: block; width: 30%; background: var(--gs-primary-2); }.template4-bars em:nth-child(2) { background: #82c9f3; }.template4-bars em:nth-child(3) { background: #c4e4f9; }.template4-bars small { position: absolute; bottom: -24px; color: var(--gs-text-tertiary); white-space: nowrap; }
.template4-right-rail { position: absolute; z-index: 3; top: 0; right: auto; left: 1440px; display: block; width: 480px; max-width: 480px; height: 1080px; overflow: hidden; padding: 40px 24px; color: var(--gs-text-primary); background: #f2f9ff !important; }.template4-preview .template4-right-rail { position: absolute; left: 1440px; width: 480px; max-width: 480px; background: #f2f9ff !important; }.template4-right-rail p { color: var(--gs-text-tertiary); }.template4-right-rail h4 { display: flex; justify-content: space-between; margin-top: 40px; }.template4-right-rail h4 time { color: var(--gs-primary-2); font-size: 13px; }.template4-calendar { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; width: 100%; }.template4-calendar-day { display: grid; height: 72px; justify-items: center; align-content: center; gap: 2px; padding: 0; border: 0; border-radius: 8px; color: var(--gs-text-tertiary); background: transparent; cursor: pointer; }.template4-calendar-day span { color: var(--gs-text-secondary); }.template4-calendar-day small { font-size: 12px; }.template4-calendar-day:hover, .template4-calendar-day:focus-visible, .template4-calendar-day.is-current { outline: 0; color: #fff; background: var(--gs-primary-2); }.template4-calendar-day.is-current span, .template4-calendar-day.is-current small { color: #fff; }.template4-alert { margin: 24px 0; padding: 16px; border: 1px solid #ffad8d; border-radius: 8px; color: #ff6f26; background: #fff0e8; font-size: 12px; line-height: 28px; }.template4-progress { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(20,23,26,.06); }.template4-progress > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 8px; color: var(--gs-primary-2); background: #fff; }.template4-progress .gs-icon { width: 20px; height: 20px; }.template4-progress b { display: block; font-size: 13px; }.template4-progress i { display: block; height: 12px; margin-top: 8px; background: #dceffd; }.template4-progress i em { display: block; height: 100%; background: var(--gs-primary-2); }.template4-map { position: relative; height: 320px; margin-top: 24px; border: 4px solid #c1e5ff; border-radius: 20px; background: linear-gradient(135deg,#e4f7ff,#b9e3ef 48%,#edfaff); }.template4-map-controls { position: absolute; top: 12px; right: 12px; display: grid; gap: 8px; z-index: 2; }.template4-map-controls button { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 8px; color: var(--gs-text-secondary); background: #fff; cursor: pointer; }.template4-map-controls button:hover, .template4-map-controls button:focus-visible, .template4-map-controls button.is-activated { outline: 0; background: var(--gs-primary-6); }
.template4-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.template2-preview-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #edf8ff; }
.template2-preview { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; overflow: hidden; color: var(--gs-text-primary); background: linear-gradient(180deg, #f7fbff 0%, #e8f7ff 100%); font-size: 14px; line-height: 1.5; transform-origin: top left; }
.template2-preview *, .template2-preview *::before, .template2-preview *::after { box-sizing: border-box; }
.template2-preview button, .template2-preview input { font: inherit; }
/* Reset article section spacing and anchor offset inside the fixed preview canvas. */
.template2-preview section { margin-top: 0; scroll-margin-top: 0; }
.template2-header { position: relative; display: flex; height: 80px; align-items: center; padding: 0 24px; background: #fff; box-shadow: 0 2px 12px rgba(16, 82, 126, .08); }
.template2-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gs-text-primary); text-decoration: none; }
.template2-brand > i { position: relative; display: block; width: 32px; height: 32px; overflow: hidden; background: var(--gs-primary-2); clip-path: polygon(0 0, 100% 0, 100% 45%, 45% 45%, 45% 100%, 0 100%); }
.template2-brand > i::after { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; background: #30d8df; content: ''; }
.template2-brand > .template2-brand-mark { display: block; width: 32px; height: 32px; flex: 0 0 32px; }
.template2-brand b { font-size: 24px; font-weight: 600; line-height: 32px; }
.template2-header-menus { position: absolute; top: 24px; left: 594px; display: flex; align-items: center; gap: 24px; }
.template2-header-menus .gs-button { width: 102px; min-width: 102px; height: 32px; padding: 0 12px; border-radius: 16px; --button-color: var(--gs-text-tertiary); }
.template2-header-menus .gs-button .gs-icon { width: 24px; height: 24px; }
.template2-header-menus .gs-button.is-active { --button-bg: var(--gs-primary-2); --button-color: #fff; --button-border: var(--gs-primary-2); }
.template2-header-menus .gs-button.is-hover,
.template2-header-menus .gs-button:not(.is-active):hover,
.template2-header-menus .gs-button:not(.is-active):focus-visible { --button-bg: var(--gs-primary-6); --button-color: var(--gs-primary-2); --button-border: var(--gs-primary-6); background: var(--gs-primary-6) !important; color: var(--gs-primary-2) !important; }
.template2-header-actions { position: absolute; top: 20px; right: 24px; display: flex; align-items: center; gap: 16px; }
.template2-header-action.gs-button.gs-button--icon.gs-button--text { width: 24px; min-width: 24px; height: 24px; padding: 0; --button-color: var(--gs-text-secondary); }
.template2-header-action .gs-icon { width: 24px; height: 24px; }
.template2-avatar { display: inline-flex; width: 80px; height: 40px; align-items: center; justify-content: flex-end; gap: 8px; padding: 0; border: 0; color: var(--gs-text-primary); background: transparent; cursor: pointer; }
.template2-avatar img { width: 40px; height: 40px; border: 2px solid var(--gs-primary-2); border-radius: 50%; object-fit: cover; }
.template2-avatar .gs-icon { width: 24px; height: 24px; }
.template2-content { position: relative; width: 100%; height: 1000px; }
.template2-card, .template2-search { position: absolute; overflow: hidden; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.template2-search { top: 16px; left: 16px; display: flex; width: 928px; height: 64px; align-items: center; padding: 0 16px; }
.template2-search-category { display: inline-flex; height: 40px; align-items: center; gap: 12px; padding: 0 20px 0 4px; border: 0; border-right: 1px solid var(--gs-neutral-6); color: var(--gs-text-secondary); background: transparent; font-weight: 500; cursor: pointer; }
.template2-search-category .gs-icon { width: 16px; height: 16px; }
.template2-search input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border: 0; outline: 0; color: var(--gs-text-primary); background: transparent; }
.template2-search input::placeholder { color: var(--gs-text-tertiary); }
.template2-search-submit.gs-button { width: 32px; min-width: 32px; height: 32px; padding: 0; --button-color: var(--gs-neutral-5); }
.template2-search-submit .gs-icon { width: 24px; height: 24px; }
.template2-quick-card { top: 96px; left: 16px; display: grid; width: 928px; height: 160px; grid-template-columns: repeat(7, 1fr); align-items: center; padding: 16px 28px; }
.template2-quick-item, .template2-function-item { display: grid; justify-items: center; gap: 12px; padding: 0; border: 0; color: var(--gs-text-secondary); background: transparent; cursor: pointer; }
.template2-quick-item > span { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 16px; color: #fff; }
.template2-quick-item .gs-icon { width: 36px; height: 36px; }
.template2-quick-item b, .template2-function-item b { font-size: 16px; font-weight: 500; line-height: 24px; }
.template2-quick-item.is-yellow > span { background: linear-gradient(135deg, #ffe46d, #ffd000); }.template2-quick-item.is-primary > span { background: linear-gradient(135deg, #73caff, #1890ff); }.template2-quick-item.is-indigo > span { background: linear-gradient(135deg, #88a3ff, #536ff6); }.template2-quick-item.is-red > span { background: linear-gradient(135deg, #ff9d8d, #ff554d); }.template2-quick-item.is-green > span { background: linear-gradient(135deg, #49e98d, #00cf66); }.template2-quick-item.is-orange > span { background: linear-gradient(135deg, #ffc57e, #ff9400); }.template2-quick-item.is-cyan > span { background: linear-gradient(135deg, #75e1ef, #00c6df); }
.template2-work-card-list { top: 272px; left: 16px; width: 928px; height: 712px; padding: 16px; }
.template2-work-tabs { display: flex; height: 48px; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--gs-neutral-6); }
.template2-work-tab.gs-button { position: relative; min-width: 80px; height: 48px; padding: 0 16px; --button-color: var(--gs-text-secondary); font-weight: 500; }
.template2-work-tab.is-hover { color: var(--gs-primary-2); background: var(--gs-primary-6); }.template2-work-tab.is-selected { color: var(--gs-primary-2); }.template2-work-tab.is-selected::after { position: absolute; right: 8px; bottom: -1px; left: 8px; height: 4px; border-radius: 2px; background: var(--gs-primary-2); content: ''; }
.template2-refresh.gs-button { min-width: 72px; height: 32px; margin: 0 0 0 auto; --button-color: var(--gs-text-tertiary); }.template2-refresh .gs-icon { width: 20px; height: 20px; }
.template2-work-notice { display: flex; height: 56px; align-items: center; gap: 8px; color: var(--gs-orange-2); }.template2-work-notice > .gs-icon { width: 24px; height: 24px; }.template2-work-notice b { font-size: 16px; font-weight: 500; }.template2-more.gs-button { height: 32px; margin-left: auto; --button-color: var(--gs-text-tertiary); }.template2-more .gs-icon { width: 20px; height: 20px; }
.template2-work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.template2-work-card { display: flex; height: 280px; flex-direction: column; align-items: flex-start; padding: 16px; border: 0; border-radius: 8px; color: var(--gs-text-secondary); background: var(--gs-primary-6); text-align: left; cursor: pointer; }.template2-work-card:hover { outline: 1px solid var(--gs-primary-2); }.template2-work-card.is-urgent { outline: 1px solid var(--gs-orange-2); background: #fff7f0; }.template2-work-card.is-late { background: var(--gs-neutral-8); }.template2-work-card .gs-tag { min-width: 48px; }.template2-work-card > b { margin-top: 16px; color: var(--gs-primary-2); font-size: 18px; font-weight: 500; line-height: 24px; }.template2-work-card.is-late > b { color: var(--gs-text-secondary); }.template2-work-card.is-urgent > b { color: var(--gs-orange-2); }.template2-work-card p { display: -webkit-box; margin: 8px 0 auto; overflow: hidden; color: var(--gs-text-secondary); font-size: 14px; line-height: 22px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }.template2-work-card time { display: flex; align-items: center; gap: 8px; color: var(--gs-text-tertiary); font-size: 14px; line-height: 22px; white-space: nowrap; }.template2-work-card time .gs-icon { width: 20px; height: 20px; }.template2-work-card small { margin: 8px 0 0 28px; color: var(--gs-text-tertiary); font-size: 14px; line-height: 22px; }
.template2-functions-card { top: 16px; left: 960px; width: 464px; height: 438px; padding: 16px; }.template2-chart-card { top: 16px; left: 1440px; width: 464px; height: 438px; padding: 16px; }.template2-progress-card { top: 470px; left: 960px; width: 464px; height: 514px; padding: 16px; }.template2-calendar2-card { top: 470px; left: 1440px; width: 464px; height: 514px; padding: 16px; }
.template2-card-title { display: flex; height: 40px; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--gs-neutral-6); }.template2-card-title > b { font-size: 18px; font-weight: 500; line-height: 24px; }.template2-card-title .gs-button { width: 24px; min-width: 24px; height: 24px; padding: 0; --button-color: var(--gs-neutral-5); }.template2-card-title .gs-icon { width: 24px; height: 24px; }.template2-card-title > span { display: flex; align-items: center; gap: 8px; color: var(--gs-primary-2); }.template2-card-title > span > b { font-size: 16px; font-weight: 500; }
.template2-function-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; padding: 16px 12px; }.template2-function-item { gap: 8px; border-radius: 16px; }.template2-function-item > span { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 16px; color: var(--gs-primary-2); background: var(--gs-primary-5); transition: color .16s, background-color .16s, box-shadow .16s, transform .16s; }.template2-function-item .gs-icon { width: 36px; height: 36px; }.template2-function-item b { font-size: 14px; }.template2-function-item.is-primary > span { color: #fff; background: var(--gs-primary-2); }.template2-function-item.is-coral > span { color: #fff; background: #ff7267; }.template2-function-item.is-green > span { color: #fff; background: var(--gs-green-2); }.template2-function-item.is-yellow > span { color: #fff; background: #ffd000; }.template2-function-item.is-cyan > span { color: #fff; background: #00c9df; }.template2-function-item.is-coral-light > span { color: #ff6f5f; background: #fff1ef; }.template2-function-item.is-green-light > span { color: var(--gs-green-2); background: #ecfff3; }.template2-function-item.is-yellow-light > span { color: #e8bd00; background: #fffde8; }.template2-function-item.is-cyan-light > span { color: #00c9df; background: #e9fcff; }
.template2-function-item:hover > span, .template2-function-item:focus-visible > span { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(24, 144, 255, .18); }
.template2-function-item:focus-visible { outline: 2px solid var(--gs-primary-2); outline-offset: 2px; }
.template2-function-item.is-primary-light:hover > span, .template2-function-item.is-primary-light:focus-visible > span { color: #fff; background: var(--gs-primary-2); }
.template2-function-item.is-coral-light:hover > span, .template2-function-item.is-coral-light:focus-visible > span { color: #fff; background: #ff7267; }
.template2-function-item.is-green-light:hover > span, .template2-function-item.is-green-light:focus-visible > span { color: #fff; background: var(--gs-green-2); }
.template2-function-item.is-yellow-light:hover > span, .template2-function-item.is-yellow-light:focus-visible > span { color: #fff; background: #ffd000; }
.template2-function-item.is-cyan-light:hover > span, .template2-function-item.is-cyan-light:focus-visible > span { color: #fff; background: #00c9df; }
.template2-chart-banner { display: flex; width: 100%; height: 56px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 0 16px; border: 0; border-radius: 8px; color: var(--gs-primary-2); background: var(--gs-primary-6); font-size: 16px; font-weight: 500; line-height: 24px; cursor: pointer; }.template2-chart-banner .gs-icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: #fff; background: var(--gs-primary-2); }.template2-chart-legend { display: flex; height: 24px; align-items: center; margin-top: 16px; white-space: nowrap; }.template2-chart-legend > b { display: inline-flex; height: 24px; align-items: center; padding-right: 12px; border-right: 1px solid var(--gs-neutral-6); color: var(--gs-primary-2); font-size: 16px; font-weight: 500; }.template2-chart-legend span { position: relative; display: inline-flex; height: 24px; align-items: center; color: #18caca; font-size: 14px; font-weight: 500; }.template2-chart-legend span:first-of-type { margin-left: auto; }.template2-chart-legend span + span { margin-left: 13px; }.template2-chart-legend span:not(:last-child)::after { position: absolute; top: 4px; right: -7px; height: 16px; border-right: 1px solid var(--gs-neutral-6); content: ''; }.template2-chart-legend span:nth-of-type(2) { color: var(--gs-green-2); }.template2-chart-legend span:nth-of-type(3) { color: var(--gs-orange-2); }
.template2-chart { display: grid; grid-template-columns: 29px 1fr; height: 238px; margin-top: 24px; }.template2-chart-scale { display: grid; grid-template-rows: repeat(6, 1fr); color: var(--gs-text-tertiary); font-size: 12px; }.template2-chart-scale span { transform: translateY(-9px); }.template2-chart-bars { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 40px; background: repeating-linear-gradient(to bottom, transparent 0 11px, var(--gs-neutral-7) 11px 12px, transparent 12px 39.4px); }.template2-chart-group { position: relative; display: flex; width: 56px; height: 208px; align-items: flex-end; gap: 4px; padding-bottom: 0; }.template2-chart-group > i { display: block; width: 16px; height: var(--template2-chart-value); border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(25, 210, 220, .12), #16c7d4); }.template2-chart-group > i.is-2 { background: linear-gradient(to top, rgba(48, 204, 101, .12), #32cc65); }.template2-chart-group > i.is-3 { background: linear-gradient(to top, rgba(255, 148, 0, .12), #ff9400); }.template2-chart-group > span { position: absolute; top: 216px; left: 50%; width: 56px; color: var(--gs-text-secondary); font-size: 12px; text-align: center; transform: translateX(-50%); }.template2-chart-card .template2-card-title > span .gs-button { width: 20px; min-width: 20px; height: 20px; }.template2-chart-card .template2-card-title > span .gs-icon { width: 12px; height: 12px; }
.template2-progress-list { display: grid; grid-auto-rows: 52px; gap: 24px; padding-top: 16px; }.template2-progress-row { display: grid; grid-template-rows: 24px 24px; gap: 4px; padding: 0; border: 0; color: var(--gs-text-primary); background: transparent; text-align: left; cursor: pointer; }.template2-progress-row > span:first-child { font-size: 16px; line-height: 24px; }.template2-progress-row .gs-progress { grid-template-columns: minmax(0, 1fr) 32px; gap: 20px; }.template2-progress-row .gs-progress__track { display: block; height: 8px; }.template2-progress-row .gs-progress__bar { display: block; }.template2-progress-row .gs-progress__label { min-width: 32px; color: var(--gs-primary-2); font-size: 16px; font-family: inherit; }.template2-progress-row .template2-progress--primary { --gs-progress-color: var(--gs-primary-2); }.template2-progress-row .template2-progress--green { --gs-progress-color: var(--gs-green-2); }.template2-progress-row .template2-progress--cyan { --gs-progress-color: var(--gs-cyan-2); }
.template2-calendar2-toolbar { display: flex; height: 24px; align-items: center; justify-content: center; gap: 24px; margin-top: 16px; color: var(--gs-primary-2); }.template2-calendar2-toolbar .gs-button { width: 24px; min-width: 24px; height: 24px; padding: 0; --button-color: var(--gs-text-tertiary); }.template2-calendar2-toolbar .gs-icon { width: 16px; height: 16px; }.template2-calendar2-toolbar b { font-size: 18px; font-weight: 500; line-height: 24px; }.template2-calendar2-week, .template2-calendar2-grid { display: grid; grid-template-columns: repeat(7, 54px); column-gap: 9px; text-align: center; }.template2-calendar2-week { margin-top: 24px; color: var(--gs-text-tertiary); font-size: 16px; line-height: 24px; }.template2-calendar2-grid { row-gap: 8px; margin-top: 16px; }.template2-calendar-day { position: relative; width: 54px; height: 54px; padding: 0; border: 0; color: var(--gs-text-secondary); background: transparent; cursor: pointer; font-weight: 500; }.template2-calendar-day::before { position: absolute; top: 7px; left: 7px; width: 40px; height: 40px; border-radius: 50%; background: transparent; content: ''; transition: background-color .18s ease; }.template2-calendar-day > span { position: absolute; top: 15px; left: 0; z-index: 1; width: 100%; font-size: 16px; line-height: 24px; text-align: center; }.template2-calendar-day.has-marker > span { top: 11px; }.template2-calendar-day:not(.is-selected):hover::before { background: var(--gs-primary-6); }.template2-calendar-day:focus-visible { outline: 2px solid var(--gs-primary-2); outline-offset: -2px; border-radius: 8px; }.template2-calendar-day.is-selected { color: #fff; }.template2-calendar-day.is-selected::before { background: var(--gs-primary-2); }.template2-calendar-day.is-muted { color: var(--gs-text-tertiary); }.template2-calendar-day i { position: absolute; bottom: 7px; left: 23px; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: var(--gs-orange-2); }
@media (max-width: 1100px) { .doc-article:has(.template-tabs) { max-width: none; }.template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .doc-main:has(.template-tabs) { padding-right: 20px; }.template-overview-head { display: block; }.template-grid { grid-template-columns: 1fr; gap: 16px; }.template-card__preview { height: 172px; }.template-tabs .gs-tabs__bar { overflow-x: auto; } }

/* Template 4 summary cards use their own semantic accent colors. */
.template4-summary--0 .gs-icon { color: #ff4d4f; }
.template4-summary--1 .gs-icon { color: var(--gs-primary-2); }
.template4-summary--2 .gs-icon { color: #ff6f26; }
.template4-summary--3 .gs-icon { color: #c500f2; }

/* Template 4 uses the shared Button component for every icon action. */
.template4-preview .template4-header-menu,
.template4-preview .template4-utility,
.template4-preview .template4-user,
.template4-preview .template4-map-controls .gs-button,
.template4-preview .template4-breadcrumb .gs-button {
  box-sizing: border-box;
}
.template4-preview .template4-map-controls .gs-button {
  flex: 0 0 auto;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
}
.template4-rail-intro { display: flex; align-items: center; gap: 16px; }
.template4-rail-intro h3 { margin: 0 0 6px; }
.template4-rail-intro p { margin: 0; }
.template4-rail-avatar { display: block; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; background: #eaf6ff url('../assets/images/template-4-figma.png') -1464px -40px / 1920px 1080px no-repeat; }
.template4-map { overflow: hidden; background: #dff4ff url('../assets/images/template-4-figma.png') -1460px -660px / 1920px 1080px no-repeat; }
.template4-map::before { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 52px; border-radius: 0 16px 16px 0; background: #dff4ff; content: ""; pointer-events: none; }
.template4-preview .template4-workspace,
.template4-preview .template4-right-rail { border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; }
.template4-preview .template4-right-rail { box-shadow: -4px 0 0 #f2f9ff !important; }
.template4-preview .template4-breadcrumb { position: relative; height: 48px; gap: 0; padding: 0; background: #edf5fc; }
.template4-preview .template4-breadcrumb > .gs-button { width: 48px; height: 48px; flex: 0 0 48px; background: linear-gradient(#fff, #fff) center / 32px 32px no-repeat, #edf5fc; }
.template4-preview .template4-breadcrumb > span:not(.template4-breadcrumb-back) { position: relative; z-index: 1; display: flex; height: 48px; align-items: center; padding: 0 16px; background: #fff; }
.template4-preview .template4-breadcrumb-actions { position: absolute; z-index: 2; top: 8px; right: 16px; display: flex; gap: 8px; }
.template4-preview .template4-breadcrumb-actions .gs-button { display: grid; width: 32px; min-width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 4px; color: var(--gs-text-tertiary); background: #fff; }
.template4-preview .template4-map { height: 420px; }
.template4-preview .template4-right-rail { display: flex; flex-direction: column; }
.template4-preview .template4-right-rail .template4-map { height: auto; min-height: 420px; flex: 1 1 auto; }

/* Template 4 right rail — Figma node 2812:1773 (480 × 1080). */
.template4-preview .template4-right-rail { display: block; width: 480px; height: 1080px; padding: 0; background: #f2f9ff !important; }
.template4-preview .template4-rail-intro { position: absolute; top: 40px; left: 24px; display: flex; width: 432px; height: 56px; align-items: center; gap: 16px; }
.template4-preview .template4-rail-avatar { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px; background: #ebf5ff url('../assets/images/template4-right-avatar.png') center / 48px 48px no-repeat; }
.template4-preview .template4-rail-intro h3 { margin: 0; color: rgba(20,23,26,.8); font-size: 16px; font-weight: 500; line-height: 24px; }
.template4-preview .template4-rail-intro p { margin: 4px 0 0; color: rgba(20,23,26,.4); font-size: 12px; line-height: 20px; }
.template4-preview .template4-right-rail > h4 { position: absolute; top: 128px; left: 24px; width: 432px; height: 24px; margin: 0; color: #14171a; font-size: 16px; font-weight: 500; line-height: 24px; }
.template4-preview .template4-right-rail > h4 time { position: absolute; top: 1px; right: 104px; color: #1890ff; font-size: 14px; font-weight: 500; line-height: 22px; }
.template4-preview .template4-calendar-controls { position: absolute; z-index: 2; top: 128px; right: 24px; display: flex; gap: 8px; }
.template4-preview .template4-calendar-controls .gs-button { display: grid; width: 24px; min-width: 24px; height: 24px; place-items: center; padding: 4px; border: 0; border-radius: 8px; background: #ebf5ff; }
.template4-preview .template4-calendar-controls img { display: block; width: 16px; height: 16px; }
.template4-preview .template4-calendar { position: absolute; top: 176px; left: 24px; display: grid; width: 432px; height: 112px; grid-template-columns: repeat(7, 1fr); gap: 0; }
.template4-preview .template4-calendar-day { position: relative; display: block; height: 112px; padding: 0; border: 0; border-radius: 0; color: rgba(20,23,26,.8); background: transparent; }
.template4-preview .template4-calendar-day { cursor: default; }
.template4-preview .template4-calendar-day::before { position: absolute; z-index: 0; top: 40px; left: 7px; width: 48px; height: 48px; border-radius: 8px; background: transparent; content: ""; }
.template4-preview .template4-calendar-day b { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 24px; color: rgba(20,23,26,.4); font-size: 16px; font-weight: 500; line-height: 24px; text-align: center; }
.template4-preview .template4-calendar-day span { position: absolute; z-index: 1; top: 40px; left: 0; width: 100%; height: 24px; color: rgba(20,23,26,.8); font-size: 16px; font-weight: 500; line-height: 24px; text-align: center; }
.template4-preview .template4-calendar-day small { position: absolute; z-index: 1; top: 64px; left: 0; width: 100%; height: 20px; color: rgba(20,23,26,.4); font-size: 12px; line-height: 20px; text-align: center; }
.template4-preview .template4-calendar-day:hover,
.template4-preview .template4-calendar-day:focus-visible { outline: 0; color: inherit; background: transparent; }
.template4-preview .template4-calendar-day.is-current { color: #fff; background: transparent; }
.template4-preview .template4-calendar-day.is-current::before { background: #1890ff; }
.template4-preview .template4-calendar-day.is-current span,
.template4-preview .template4-calendar-day.is-current small { color: #fff; }
.template4-preview .template4-calendar-day.is-current::after,
.template4-preview .template4-calendar-day:nth-child(5)::after,
.template4-preview .template4-calendar-day:nth-child(6)::after { position: absolute; top: 96px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: #ff6f00; content: ""; }
.template4-preview .template4-alert { position: absolute; top: 320px; left: 24px; width: 432px; height: 72px; margin: 0; padding: 8px 12px; border: 1px solid #ffbb99; border-radius: 8px; color: #ff6f26; background: linear-gradient(#ffbb99,#ffbb99) 12px 35px / 408px 1px no-repeat, #ffeee6; font-size: 12px; line-height: 28px; }
.template4-preview .template4-alert::before { position: absolute; top: -17px; left: 0; width: 432px; height: 1px; background: #f0f1f2; content: ""; }
.template4-preview .template4-progress { position: absolute; left: 24px; display: grid; width: 432px; height: 64px; grid-template-columns: 48px 320px 40px; gap: 8px; align-items: center; padding: 0; border-bottom: 1px solid #f0f1f2; }
.template4-preview .template4-progress:nth-of-type(3) { top: 408px; }
.template4-preview .template4-progress:nth-of-type(4) { top: 496px; }
.template4-preview .template4-progress:nth-of-type(5) { top: 584px; border-bottom: 0; }
.template4-preview .template4-progress > span { width: 48px; height: 48px; border-radius: 8px; background: #fff url('../assets/images/template4-progress-search.svg') center / 24px 24px no-repeat; }
.template4-preview .template4-progress > span .gs-icon { display: none; }
.template4-preview .template4-progress > div { min-width: 0; }
.template4-preview .template4-progress b { height: 24px; color: rgba(20,23,26,.8); font-size: 16px; font-weight: 500; line-height: 24px; }
.template4-preview .template4-progress i { display: block; width: 320px; height: 12px; margin-top: 4px; border-radius: 2px; background: #ebf5ff; }
.template4-preview .template4-progress i em { width: 120px !important; border-radius: 2px 0 0 2px; background: #1890ff; }
.template4-preview .template4-progress small { color: rgba(20,23,26,.8); font-size: 14px; font-weight: 500; line-height: 22px; text-align: right; }
.template4-preview .template4-right-rail { --template4-alert-bottom: 392px; --template4-progress-gap: 16px; --template4-progress-step: 88px; }
.template4-preview .template4-progress:nth-of-type(3) { top: calc(var(--template4-alert-bottom) + var(--template4-progress-gap)); }
.template4-preview .template4-progress:nth-of-type(4) { top: calc(var(--template4-alert-bottom) + var(--template4-progress-gap) + var(--template4-progress-step)); }
.template4-preview .template4-progress:nth-of-type(5) { top: calc(var(--template4-alert-bottom) + var(--template4-progress-gap) + (var(--template4-progress-step) * 2)); }
.template4-preview .template4-map,
.template4-preview .template4-right-rail .template4-map { position: absolute; top: 664px; left: 24px; width: 432px; height: 392px; min-height: 0; margin: 0; border: 4px solid #cfe6fc; border-radius: 16px; background: #e6f3fe url('../assets/images/template4-right-map.png') center / cover no-repeat; }
.template4-preview .template4-map::before { display: none; }
.template4-preview .template4-map-controls { top: 4px; right: 4px; display: flex; flex-direction: column; gap: 0; }
.template4-preview .template4-map-controls .gs-button { width: 32px; min-width: 32px; height: 32px; border: 0; color: #2e3133; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.template4-preview .template4-map-controls .gs-button:first-child { margin-bottom: 8px; background: rgba(255,255,255,.95) url('../assets/images/template4-map-expand.svg') center / 20px 20px no-repeat; }
.template4-preview .template4-map-controls .gs-button:first-child .gs-icon { display: none; }
.template4-preview .template4-map-controls .gs-button:nth-child(2) { border-radius: 8px 8px 0 0; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.template4-preview .template4-map-controls .gs-button:nth-child(3) { border-radius: 0 0 8px 8px; }
.template4-preview .template4-bars { transform: translateY(-40px); }
.template4-preview .template4-chart { position: relative; height: 420px; min-height: 420px; padding: 24px; overflow: hidden; }
.template4-preview .template4-chart h3 { position: relative; z-index: 2; }
.template4-preview .template4-legend { position: absolute; z-index: 2; top: 24px; right: 24px; gap: 24px; }
.template4-preview .template4-legend span { display: inline-flex; align-items: center; gap: 8px; }
.template4-preview .template4-legend span::before { width: 12px; height: 12px; background: #1890ff; content: ""; }
.template4-preview .template4-legend span:nth-child(2)::before { background: #82c9f3; }
.template4-preview .template4-legend span:nth-child(3)::before { background: #c4e4f9; }
.template4-preview .template4-axis { position: absolute; z-index: 2; top: 96px; bottom: 40px; left: 24px; display: flex; width: 48px; flex-direction: column; justify-content: space-between; color: rgba(20,23,26,.4); font-size: 12px; line-height: 20px; }
.template4-preview .template4-axis span { transform: translateY(-10px); }
.template4-preview .template4-bars { position: absolute; z-index: 1; top: 96px; right: 24px; bottom: 40px; left: 88px; height: auto; margin: 0; transform: none; border-bottom: 1px solid var(--gs-neutral-6); background: repeating-linear-gradient(to bottom, transparent 0 92px, rgba(20,23,26,.06) 92px 93px); }
.template4-preview .template4-bars small { bottom: -24px; }

/* Template 4 dashboard — Figma overall layout (1920 × 1080). */
.template4-preview .template4-dashboard {
  margin: 0;
  row-gap: 32px;
  column-gap: 24px;
}
/* Template 4 sidebar — match the Figma menu proportions and state shapes. */
.template4-preview .template4-side-nav {
  position: relative;
  z-index: 30;
  width: 288px;
  overflow: visible;
}
.template4-preview .template4-sidebar {
  top: 0;
  bottom: 0;
  z-index: 20;
  height: auto;
  min-height: 100%;
  border-radius: 0;
  overflow: visible;
}
.template4-preview .template4-workspace {
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}
.template4-preview .template4-side-menu {
  width: 216px;
  min-width: 216px;
  flex: 0 0 216px;
  gap: 8px;
  border-radius: 16px 8px 8px 16px;
  font-size: 16px;
  line-height: 24px;
}
.template4-preview .template4-side-menu > span {
  font-size: 16px;
  line-height: 24px;
}
.template4-preview .template4-side-menu:not(.is-current):hover,
.template4-preview .template4-side-menu:not(.is-current):focus-visible {
  position: relative;
  background: transparent;
}
.template4-preview .template4-side-menu:not(.is-current):hover::before,
.template4-preview .template4-side-menu:not(.is-current):focus-visible::before {
  position: absolute;
  z-index: 0;
  inset: 0 8px 0 0;
  border-radius: 16px;
  background: rgba(242, 249, 255, .1);
  content: "";
}
.template4-preview .template4-side-menu:not(.is-current):hover > *,
.template4-preview .template4-side-menu:not(.is-current):focus-visible > * {
  position: relative;
  z-index: 1;
}
.template4-preview .template4-side-menu.is-current {
  color: var(--gs-primary-2);
  border-radius: 16px 28px 28px 16px;
  /* Keep the mask behind the selected surface; only the surface receives a projection. */
  background: transparent;
  isolation: isolate;
  z-index: 40;
}
.template4-preview .template4-side-menu.is-current::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 16px 28px 28px 16px;
  background: #fff;
  box-shadow: var(--gs-shadow-sm);
  content: "";
}
.template4-preview .template4-side-menu.is-current > * {
  position: relative;
  z-index: 1;
}
.template4-preview .template4-side-menu:first-child.is-current {
  width: 240px;
  min-width: 240px;
  flex-basis: 240px;
}
.template4-preview .template4-side-menu:not(:first-child).is-current,
.template4-preview .template4-side-menu:not(:first-child).is-current::before {
  border-radius: 16px;
}
.template4-preview .template4-side-menu:not(:first-child).is-current::before {
  inset: 0 8px 0 0;
}
.template4-preview .template4-side-menu:not(:first-child).is-current::after {
  display: none;
  content: none;
}
.template4-preview .template4-side-menu:first-child.is-current::before {
  z-index: 2;
  background: radial-gradient(circle at calc(100% - 20px) 50%, var(--gs-primary-2) 0 4px, transparent 4.5px), #fff;
}
.template4-preview .template4-side-menu:first-child.is-current > * {
  z-index: 3;
}
.template4-preview .template4-side-menu:first-child.is-current::after {
  z-index: 1;
  top: -16px;
  right: -7px;
  width: 32px;
  height: 88px;
  border-radius: 0;
  background: url('../assets/images/template4-sidebar-mask.png?v=20260903-mask-png-v2') center / 32px 88px no-repeat;
}
.template4-preview .template4-panel h3 {
  height: 40px;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(20, 23, 26, .06);
  line-height: 24px;
}
.template4-preview .template4-summary-panel > div {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  margin-inline: auto;
  grid-template-columns: repeat(4, 100px);
  align-items: start;
  justify-content: center;
  gap: 36px;
  padding: 0;
}
.template4-preview .template4-summary {
  width: 100px;
  border-radius: 50px 50px 16px 16px;
}
.template4-preview .template4-quick-panel > div {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  margin-inline: auto;
  grid-template-columns: repeat(5, 56px);
  align-items: start;
  justify-content: space-between;
  gap: 0;
  padding: 0 36px;
  transform: translateY(28px);
}
.template4-preview .template4-quick-panel h3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}
.template4-preview .template4-quick-panel h3::after {
  content: none;
}
.template4-preview .template4-panel-more.gs-button {
  display: grid;
  width: 24px;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: rgba(20, 23, 26, .32);
  background: transparent;
  font-size: 20px;
  line-height: 20px;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}
.template4-preview .template4-panel-more:hover,
.template4-preview .template4-panel-more:focus-visible,
.template4-preview .template4-panel-more.is-activated {
  outline: 0;
  color: var(--gs-primary-2);
  background: var(--gs-primary-6);
}
.template4-preview .template4-panel-more:active,
.template4-preview .template4-panel-more.is-activated {
  transform: scale(.92);
}
.template4-preview .template4-chart {
  margin: 0;
  height: 520px;
  min-height: 520px;
}
.template4-preview .template4-axis {
  top: 92px;
  bottom: 46px;
}
.template4-preview .template4-bars {
  top: 92px;
  bottom: 46px;
  background: repeating-linear-gradient(to bottom, rgba(20, 23, 26, .06) 0 1px, transparent 1px 128px);
}
.template4-preview .template4-bars i {
  position: relative;
  height: 100%;
}
.template4-preview .template4-bars em {
  position: absolute;
  left: calc(50% - 20px);
  width: 40px;
}
.template4-preview .template4-bars em:nth-child(1) {
  bottom: 0;
  height: var(--template4-base) !important;
}
.template4-preview .template4-bars em:nth-child(2) {
  bottom: var(--template4-base);
  height: var(--template4-middle) !important;
}
.template4-preview .template4-bars em:nth-child(3) {
  bottom: calc(var(--template4-base) + var(--template4-middle));
  height: var(--template4-top) !important;
}

/* Quick actions use the shared button states while keeping the Figma alignment. */
.template4-preview .template4-quick {
  width: 56px;
  padding: 0;
  border-radius: 12px;
  transition: color .16s ease;
}
.template4-preview .template4-quick .gs-icon {
  border-radius: 16px;
  background: linear-gradient(180deg, #6AC6FF 0%, #00A2FF 100%);
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.template4-preview .template4-rail-avatar {
  background: #ebf5ff url('../assets/images/template-4-figma.png') -1464px -40px / 1920px 1080px no-repeat;
}
.template4-preview .template4-quick:hover .gs-icon,
.template4-preview .template4-quick:focus-visible .gs-icon {
  background: #40a9ff;
  box-shadow: 0 4px 10px rgba(24, 144, 255, .22);
  transform: translateY(-2px);
}
.template4-preview .template4-quick:focus-visible {
  outline: 2px solid var(--gs-primary-2);
  outline-offset: 4px;
}
.template4-preview .template4-quick:active .gs-icon,
.template4-preview .template4-quick.is-activated .gs-icon {
  box-shadow: 0 2px 4px rgba(24, 144, 255, .18);
  transform: translateY(1px) scale(.96);
}

/* Template 4 stat cards — Figma icon container size. */
.template4-preview .template4-stat .gs-icon {
  width: 72px;
  height: 72px;
  padding: 18px;
  border-radius: 16px;
}

/* Template 4 stat cards — subtitle typography. */
.template4-preview .template4-stat small {
  font-size: 14px;
  line-height: 22px;
}

/* Template 4 spacing and emphasis refinements. */
.template4-preview .template4-stat > span {
  display: flex;
  flex-direction: column;
}
.template4-preview .template4-stat > span small {
  margin-top: 8px;
}
.template4-preview .template4-summary b {
  font-size: 24px;
  line-height: 32px;
}
.template4-preview .template4-calendar-day.is-current::before {
  top: 36px;
  height: 52px;
}

/* Template 4 progress separators — move the visible rules down 8px. */
.template4-preview .template4-progress:nth-of-type(3),
.template4-preview .template4-progress:nth-of-type(4) {
  border-bottom: 0;
}
.template4-preview .template4-progress:nth-of-type(3)::after,
.template4-preview .template4-progress:nth-of-type(4)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: #f0f1f2;
  content: '';
}

/* Template 4 map zoom controls — keep the plus/minus symbols legible. */
.template4-preview .template4-map-controls .gs-button:nth-child(2),
.template4-preview .template4-map-controls .gs-button:nth-child(3) {
  font-size: 20px;
  line-height: 24px;
}

/* Template 5 — Figma node 2812:1440. */
.template5-preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}
.template5-preview {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  color: var(--gs-text-primary, #14171a);
  background: #fff;
  transform-origin: top left;
}
.template5-preview,
.template5-preview * { box-sizing: border-box; }
.template5-preview button,
.template5-preview input { font: inherit; }
.template5-preview button { color: inherit; }
.template5-primary-nav {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  display: flex;
  width: 240px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0 16px 16px 0;
  background: var(--gs-primary-6, #f2f9ff);
}
.template5-brand {
  display: flex;
  height: 72px;
  flex: 0 0 72px;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  border-bottom: 1px solid var(--gs-neutral-7, #f0f1f2);
  color: var(--gs-primary-2, #1890ff);
}
.template5-brand img { width: 32px; height: 32px; object-fit: contain; }
.template5-brand b { overflow: hidden; font-size: 20px; line-height: 28px; text-overflow: ellipsis; white-space: nowrap; }
.template5-primary-nav nav { display: grid; gap: 8px; padding: 16px 24px 0; }
.template5-primary-link {
  position: relative;
  display: grid;
  width: 100%;
  height: 48px;
  grid-template-columns: 24px 1fr 16px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #626466;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.template5-primary-link img { width: 18px; height: 18px; object-fit: contain; }
.template5-primary-link span { overflow: hidden; font-size: 16px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.template5-primary-link i { font-size: 24px; font-style: normal; line-height: 1; text-align: center; }
.template5-primary-link:hover { background: rgba(24, 144, 255, .08); color: #1890ff; }
.template5-primary-link.is-current {
  color: #1890ff;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 108, 205, .12);
}
.template5-primary-spacer { flex: 1; min-height: 152px; }
.template5-primary-nav nav:last-of-type { padding-top: 0; padding-bottom: 20px; }
.template5-primary-link--secondary { height: 40px; }
.template5-primary-nav footer { padding: 0 40px 24px; color: #969899; font-size: 12px; line-height: 20px; }
.template5-header {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 240px;
  display: flex;
  height: 72px;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid #f0f1f2;
  background: #fff;
}
.template5-search {
  display: flex;
  width: 240px;
  height: 32px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f7f9fa;
}
.template5-search:focus-within { border-color: #99ceff; box-shadow: 0 0 0 2px #ebf5ff; }
.template5-search img { width: 16px; height: 16px; }
.template5-search input { width: 100%; border: 0; outline: 0; color: #14171a; background: transparent; font-size: 14px; }
.template5-search input::placeholder { color: #969899; }
.template5-header-copy { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.template5-header-copy span { width: 1px; height: 16px; background: #d5d7d9; }
.template5-header-tools { display: flex; margin-left: auto; align-items: center; gap: 12px; }
.template5-header-tools > button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.template5-header-tools > button:hover { background: #f2f9ff; color: #1890ff; }
.template5-header-tools > b { font-size: 14px; }
.template5-header-tools .template5-avatar { overflow: hidden; background: #f2f9ff; }
.template5-avatar img { width: 30px; height: 30px; object-fit: cover; object-position: top; }
.template5-subnav {
  position: absolute;
  z-index: 1;
  top: 72px;
  bottom: 0;
  left: 240px;
  width: 168px;
  padding: 24px 16px;
  border-right: 1px solid #f0f1f2;
  background: #fff;
}
.template5-subnav h2 { margin: 0 8px 16px; font-size: 16px; line-height: 24px; }
.template5-subnav nav { display: grid; gap: 4px; }
.template5-subnav-link {
  display: grid;
  width: 100%;
  height: 40px;
  grid-template-columns: 1fr 14px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #626466;
  text-align: left;
  cursor: pointer;
}
.template5-subnav-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.template5-subnav-link i { font-size: 20px; font-style: normal; }
.template5-subnav-link:hover { color: #1890ff; background: #f7f9fa; }
.template5-subnav-link.is-current { color: #1890ff; background: #f2f9ff; font-weight: 600; }
.template5-dashboard {
  position: absolute;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 408px;
  display: grid;
  grid-template-rows: 328px 366px 250px;
  gap: 16px;
  overflow: hidden;
  padding: 16px 24px 24px 16px;
  background: #fff;
}
.template5-section { min-width: 0; }
.template5-section-title { display: flex; height: 40px; align-items: flex-start; justify-content: space-between; }
.template5-section-title h2 { margin: 0; font-size: 18px; line-height: 28px; }
.template5-section-title button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #626466;
  font-size: 14px;
  cursor: pointer;
}
.template5-section-title button:hover { color: #1890ff; }
.template5-gallery-grid { display: grid; height: 280px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.template5-gallery-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #f0f1f2;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.template5-gallery-card:hover { border-color: #99ceff; box-shadow: 0 8px 20px rgba(20, 23, 26, .08); transform: translateY(-2px); }
.template5-gallery-mosaic {
  display: grid;
  height: 220px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: #f0f1f2;
}
.template5-gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; background: #f2f9ff; }
.template5-gallery-grid .template5-gallery-card:not(:nth-child(2)) .template5-gallery-mosaic img { object-fit: contain; padding: 6px; }
.template5-gallery-caption { display: flex; height: 59px; flex-direction: column; justify-content: center; padding: 0 12px; }
.template5-gallery-caption b { overflow: hidden; font-size: 14px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.template5-gallery-caption small { overflow: hidden; color: #969899; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.template5-gallery-hero { display: flex; height: 220px; align-items: flex-end; justify-content: center; overflow: hidden; background: linear-gradient(145deg, #f2f9ff, #e6f3ff); }
.template5-gallery-hero img { width: 100%; height: 100%; object-fit: contain; }
.template5-content-grid { display: grid; min-width: 0; grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr); gap: 16px; }
.template5-notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.template5-notice-card {
  display: grid;
  height: 94px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #f0f1f2;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.template5-notice-card:hover { border-color: #99ceff; background: #fafdff; }
.template5-notice-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 8px; background: #f2f9ff; }
.template5-notice-icon img { width: 22px; height: 22px; }
.template5-notice-card > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.template5-notice-card b { overflow: hidden; font-size: 14px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.template5-notice-card small { overflow: hidden; color: #969899; font-size: 12px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.template5-notice-card time { align-self: flex-start; color: #969899; font-size: 12px; }
.template5-side-stack { display: grid; grid-template-rows: 136px 214px; gap: 16px; }
.template5-promo {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 20px 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(108deg, #eaf5ff 0%, #f5fbff 100%);
  text-align: left;
  cursor: pointer;
}
.template5-promo span { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.template5-promo b { font-size: 18px; line-height: 28px; }
.template5-promo small { color: #626466; font-size: 13px; }
.template5-promo img { width: 176px; height: 116px; object-fit: contain; }
.template5-feed { overflow: hidden; padding: 12px 16px 8px; border-radius: 8px; background: #f7f9fa; }
.template5-feed .template5-section-title { height: 34px; }
.template5-feed-row {
  display: flex;
  width: 100%;
  height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #f0f1f2;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}
.template5-feed-row span { display: flex; min-width: 0; align-items: center; gap: 8px; }
.template5-feed-row i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: #1890ff; }
.template5-feed-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.template5-feed-row time { color: #969899; font-size: 12px; }
.template5-stats { overflow: hidden; }
.template5-stat-grid { display: grid; height: 202px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.template5-stat-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 0;
  border-radius: 8px;
  background: #ffebe3;
  text-align: left;
  cursor: pointer;
}
.template5-stat-card:nth-child(even) { background: #fff1eb; }
.template5-stat-card:hover { box-shadow: inset 0 0 0 1px #ffc7b3; }
.template5-stat-card > span { display: flex; justify-content: space-between; gap: 8px; }
.template5-stat-card b { font-size: 14px; }
.template5-stat-card time { color: #969899; font-size: 12px; }
.template5-stat-card strong { font-size: 28px; line-height: 36px; font-weight: 500; }
.template5-stat-card small { color: #626466; font-size: 12px; }
.template5-stat-card small i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #32cc65; }
.template5-preview button:focus-visible,
.template5-preview input:focus-visible { outline: 2px solid #1890ff; outline-offset: 2px; }
.template5-preview button.is-activated { filter: brightness(.97); transform: translateY(1px); }
.template5-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Template 5 fidelity pass — exact geometry from Figma node 2812:1440. */
.template5-preview { background: #f2f9ff; }
.template5-surface {
  position: absolute;
  inset: 0 0 0 240px;
  border-radius: 16px 0 0 16px;
  background: #fff;
}
.template5-preview .template5-primary-nav {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 240px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.template5-preview .template5-brand {
  position: absolute;
  top: 0;
  left: 32px;
  display: flex;
  width: 184px;
  height: 72px;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #14171a;
}
.template5-preview .template5-brand::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 8px;
  height: 1px;
  background: #e1e3e5;
  content: '';
}
.template5-preview .template5-brand img { width: 32px; height: 32px; }
.template5-preview .template5-brand b { font-size: 24px; line-height: 32px; font-weight: 700; }
.template5-preview .template5-primary-nav nav { padding: 0; }
.template5-preview .template5-primary-list {
  position: absolute;
  top: 96px;
  left: 32px;
  display: grid;
  width: 208px;
  gap: 8px;
}
.template5-preview .template5-primary-link {
  display: flex;
  width: 208px;
  height: 56px;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: transparent;
  color: rgba(20, 23, 26, .4);
  box-shadow: none;
}
.template5-preview .template5-primary-link img { width: 20px; height: 20px; }
.template5-preview .template5-primary-icon {
  display: block;
  width: 17.5px;
  height: 17.5px;
  flex: 0 0 17.5px;
  margin-right: 2.5px;
  background: #969899;
  -webkit-mask: url('../assets/images/template5-icon-02.svg') center / contain no-repeat;
  mask: url('../assets/images/template5-icon-02.svg') center / contain no-repeat;
}
.template5-preview .template5-primary-link:hover .template5-primary-icon,
.template5-preview .template5-primary-link.is-current .template5-primary-icon { background: #1890ff; }
.template5-preview .template5-primary-link span { font-size: 16px; line-height: 24px; }
.template5-preview .template5-primary-link:hover { color: #1890ff; background: rgba(255, 255, 255, .56); }
.template5-preview .template5-primary-link.is-current {
  color: #1890ff;
  background: #fff;
  box-shadow: none;
  font-weight: 700;
}
.template5-preview .template5-lower-list {
  position: absolute;
  top: 440px;
  left: 32px;
  display: grid;
  width: 208px;
  gap: 8px;
  padding-top: 0;
  border-top: 0;
}
.template5-preview .template5-lower-list::before { position: absolute; top: -16px; right: 40px; left: 8px; height: 1px; background: #e1e3e5; content: ''; }
.template5-preview .template5-lower-list .template5-primary-link { height: 40px; padding: 12px 16px; }
.template5-preview .template5-lower-list .template5-primary-link img { width: 16px; height: 16px; }
.template5-preview .template5-lower-list .template5-primary-icon { width: 14px; height: 14px; flex-basis: 14px; margin-right: 2px; }
.template5-preview .template5-primary-nav footer {
  position: absolute;
  bottom: 40px;
  left: 32px;
  display: flex;
  width: 176px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: rgba(20, 23, 26, .1);
  font-size: 12px;
  line-height: 16px;
}
.template5-preview .template5-primary-nav footer b { color: rgba(20, 23, 26, .4); font-weight: 400; }
.template5-preview .template5-header {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 24px;
  left: 240px;
  height: 72px;
  gap: 0;
  padding: 0 0 0 24px;
  border-bottom: 0;
  background: transparent;
}
.template5-preview .template5-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 24px;
  height: 1px;
  background: #f0f1f2;
  content: '';
  pointer-events: none;
}
.template5-preview .template5-search {
  width: 240px;
  height: 32px;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  background: #f2f9ff;
}
.template5-preview .template5-search input { font-size: 12px; line-height: 24px; }
.template5-preview .template5-header-copy { display: flex; margin-left: 40px; gap: 4px; font-size: 12px; line-height: 16px; }
.template5-preview .template5-header-copy b { color: #1890ff; }
.template5-preview .template5-header-copy i { width: 1px; height: 8px; background: #d5d7d9; }
.template5-preview .template5-header-copy span { width: auto; height: auto; background: transparent; }
.template5-preview .template5-header-tools { gap: 8px; }
.template5-preview .template5-header-tools > button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #f7f9fa;
}
.template5-preview .template5-header-tools > button img { width: 12px; height: 12px; }
.template5-preview .template5-header-tools > button:not(.template5-avatar) > img { width: 10.5px; height: 10.5px; }
.template5-preview .template5-header-tools .template5-dropdown {
  display: flex;
  width: auto;
  gap: 8px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 12px;
}
.template5-preview .template5-header-tools .template5-dropdown > img { width: 14px; height: 14px; }
.template5-preview .template5-header-tools .template5-avatar { overflow: hidden; width: 40px; height: 40px; background: transparent; }
.template5-preview .template5-header-tools > button.template5-avatar > img { width: 40px; height: 40px; object-fit: cover; }
.template5-preview .template5-header-tools > span { display: flex; min-width: 88px; flex-direction: column; }
.template5-preview .template5-header-tools > span b { font-size: 12px; line-height: 16px; font-weight: 400; }
.template5-preview .template5-header-tools > span small { color: rgba(20, 23, 26, .4); font-size: 12px; line-height: 14px; }
.template5-preview .template5-subnav {
  position: absolute;
  z-index: 1;
  top: 72px;
  bottom: 24px;
  left: 240px;
  width: 168px;
  padding: 24px 16px 0 24px;
  border-right: 1px solid #f0f1f2;
  background: transparent;
}
.template5-preview .template5-subnav h2 { margin: 0 0 8px; font-size: 18px; line-height: 32px; }
.template5-preview .template5-subnav nav { display: grid; width: 128px; gap: 8px; }
.template5-preview .template5-tree-link {
  display: flex;
  width: 128px;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(20, 23, 26, .8);
  text-align: left;
  cursor: pointer;
}
.template5-preview .template5-tree-link span { font-size: 16px; line-height: 24px; }
.template5-preview .template5-tree-link img { width: 12px; height: 12px; }
.template5-preview .template5-tree-link.is-parent { color: #1890ff; }
.template5-preview .template5-tree-link.is-child,
.template5-preview .template5-tree-link.is-child-current { padding-left: 24px; color: rgba(20, 23, 26, .4); }
.template5-preview .template5-tree-link.is-child span,
.template5-preview .template5-tree-link.is-child-current span { font-size: 14px; line-height: 20px; }
.template5-preview .template5-tree-link.is-child-current { color: #1890ff; background: #f2f9ff; font-weight: 500; }
.template5-preview .template5-tree-link.is-current { color: #1890ff; background: #f2f9ff; font-weight: 500; }
.template5-preview .template5-tree-link:hover { color: #1890ff; background: #f7f9fa; }
.template5-preview .template5-dashboard {
  position: absolute;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 408px;
  display: block;
  overflow: hidden;
  padding: 0;
  background: transparent;
}
.template5-preview .template5-dashboard > section { margin: 0; }
.template5-preview .template5-section-title {
  display: flex;
  height: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.template5-preview .template5-section-title h2 { margin: 0; font-size: 16px; line-height: 24px; }
.template5-preview .template5-section-title > span { color: rgba(20, 23, 26, .4); font-size: 14px; line-height: 24px; }
.template5-preview .template5-gallery-section { position: absolute; top: 24px; right: 24px; left: 16px; }
.template5-preview .template5-gallery-section .template5-section-title { height: 24px; }
.template5-preview .template5-gallery-grid {
  display: grid;
  height: 280px;
  grid-template-columns: repeat(6, 232px);
  gap: 16px;
}
.template5-preview .template5-gallery-card {
  position: relative;
  display: flex;
  width: 232px;
  height: 280px;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--gs-neutral-8, #f7f9fa);
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.template5-preview .template5-gallery-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid var(--gs-neutral-7, #f0f1f2);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}
.template5-preview .template5-gallery-card:hover {
  background: var(--gs-neutral-9, #fff);
  box-shadow: var(--gs-shadow-lg, 0 0 8px #14171a1a);
  transform: none;
}
.template5-preview .template5-gallery-card:hover::after { border-color: transparent; }
.template5-preview .template5-gallery-mosaic {
  display: grid;
  width: 232px;
  height: 232px;
  grid-template-columns: repeat(2, 104px);
  grid-template-rows: repeat(2, 104px);
  gap: 8px;
  padding: 8px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: var(--gs-neutral-9, #fff);
}
.template5-preview .template5-gallery-mosaic img,
.template5-preview .template5-gallery-grid .template5-gallery-card:not(:nth-child(2)) .template5-gallery-mosaic img {
  width: 104px;
  height: 104px;
  padding: 0;
  border-radius: 6px;
  background: #eef2ff;
  object-fit: cover;
}
.template5-preview .template5-gallery-caption {
  display: flex;
  width: 216px;
  height: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 8px 8px 0;
  padding: 0;
}
.template5-preview .template5-gallery-caption b { font-size: 14px; line-height: 22px; }
.template5-preview .template5-gallery-caption img { width: 12px; height: 12px; }
.template5-preview .template5-gallery-hero { display: block; width: 232px; height: 232px; padding: 8px; border-radius: 6px; background: var(--gs-neutral-9, #fff); }
.template5-preview .template5-gallery-hero img { width: 216px; height: 216px; object-fit: cover; }
.template5-preview .template5-gallery-hero img { display: block; }
.template5-preview .template5-content-grid {
  position: absolute;
  top: 368px;
  right: 24px;
  left: 16px;
  display: grid;
  grid-template-columns: 976px 480px;
  gap: 16px;
}
.template5-preview .template5-notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 480px);
  grid-template-rows: repeat(3, 104px);
  gap: 16px;
}
.template5-preview .template5-notices .template5-section-title { height: 40px; }
.template5-preview .template5-notice-card {
  position: relative;
  display: flex;
  width: 480px;
  height: 104px;
  flex-direction: column;
  align-items: stretch;
  padding: 8px;
  border: 1px solid var(--gs-neutral-7, #f0f1f2);
  border-radius: 8px;
  background: var(--gs-neutral-9, #fff);
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
}
.template5-preview .template5-notice-card.is-featured { border-color: var(--gs-neutral-7, #f0f1f2); box-shadow: none; }
.template5-preview .template5-notice-card:hover {
  border-color: transparent;
  background: var(--gs-neutral-9, #fff);
  box-shadow: var(--gs-shadow-lg, 0 0 8px #14171a1a);
}
.template5-preview .template5-notice-copy { display: flex; flex-direction: column; gap: 4px; }
.template5-preview .template5-notice-copy > span { display: flex; align-items: center; gap: 4px; }
.template5-preview .template5-notice-card em,
.template5-preview .template5-feed-row em {
  padding: 0 6px;
  border-radius: 4px;
  background: #f2f9ff;
  color: #1890ff;
  font-size: 14px;
  line-height: 22px;
  font-style: normal;
  font-weight: 500;
}
.template5-preview .template5-notice-card b { font-size: 16px; line-height: 24px; font-weight: 400; }
.template5-preview .template5-notice-card small { color: rgba(20, 23, 26, .8); font-size: 12px; line-height: 16px; }
.template5-preview .template5-publish {
  position: absolute;
  top: 24px;
  right: 8px;
  height: 24px;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--gs-neutral-8, #f7f9fa);
  color: var(--gs-text-tertiary, #14171a66);
  font-size: 12px;
  line-height: 20px;
}
.template5-preview .template5-notice-date { position: absolute; bottom: 8px; left: 8px; display: flex; align-items: center; gap: 4px; color: rgba(20, 23, 26, .4); font-size: 12px; }
.template5-preview .template5-notice-date img { width: 12px; height: 12px; }
.template5-preview .template5-side-stack { display: block; }
.template5-preview .template5-side-stack .template5-section-title { height: 40px; }
.template5-preview .template5-promo {
  display: flex;
  width: 480px;
  height: 120px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: #f2f9ff;
}
.template5-preview .template5-promo img { width: 96px; height: 96px; object-fit: contain; }
.template5-preview .template5-promo > span { align-items: flex-end; gap: 8px; }
.template5-preview .template5-promo b { color: #1890ff; font-size: 16px; line-height: 24px; }
.template5-preview .template5-promo small { color: rgba(20, 23, 26, .4); font-size: 12px; line-height: 20px; }
.template5-preview .template5-feed {
  display: flex;
  width: 480px;
  height: 208px;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 16px;
  padding: 16px 8px;
  border-radius: 8px;
  background: #f7f9fa;
}
.template5-preview .template5-feed-row {
  display: flex;
  width: 100%;
  height: 24px;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  border: 0;
  font-size: 16px;
  transition: color .16s ease;
}
.template5-preview .template5-feed-row:not(:last-child) { border-bottom: 1px solid var(--gs-neutral-7, #f0f1f2); }
.template5-preview .template5-feed-row:hover { color: #1890ff; }
.template5-preview .template5-feed-row span { font-size: 16px; line-height: 24px; }
.template5-preview .template5-stats { position: absolute; top: 776px; right: 24px; left: 16px; }
.template5-preview .template5-stats .template5-section-title { height: 40px; }
.template5-preview .template5-stat-grid { display: grid; height: 168px; grid-template-columns: repeat(6, 232px); gap: 16px; }
.template5-preview .template5-stat-card,
.template5-preview .template5-stat-card:nth-child(even) {
  display: flex;
  width: 232px;
  height: 168px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: #ffebe3;
}
.template5-preview .template5-stat-heading { display: flex; align-items: center; justify-content: flex-start; gap: 16px; }
.template5-preview .template5-stat-heading b { font-size: 16px; line-height: 24px; }
.template5-preview .template5-stat-heading time { color: rgba(20, 23, 26, .4); font-size: 14px; line-height: 22px; }
.template5-preview .template5-stat-card strong { display: block; margin-top: 30px; font-family: DINPro, sans-serif; font-size: 28px; line-height: 36px; font-weight: 700; }
.template5-preview .template5-stat-card small { margin-top: 8px; color: rgba(20, 23, 26, .4); font-size: 14px; line-height: 22px; }
.template5-preview .template5-stat-card small em { margin-left: 8px; color: #f13f2f; font-style: normal; }
.template5-preview .template5-stat-card small em.is-green { color: #32cc65; }
