:root {
    --hid-ink: #182230;
    --hid-muted: #667085;
    --hid-soft: #f5f7fb;
    --hid-line: #e6eaf0;
    --hid-blue: #2563eb;
    --hid-blue-dark: #1749b7;
    --hid-blue-soft: #eef4ff;
    --hid-sidebar-width: 292px;
    --hid-topbar-height: 68px;
    --hid-radius: 14px;
    --hid-shadow: 0 8px 30px rgba(24, 34, 48, 0.08);
}

html {
    scroll-behavior: smooth;
}

body.hid-knowledge-app {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--hid-ink);
    background: #fff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.hid-knowledge-app *,
body.hid-knowledge-app *::before,
body.hid-knowledge-app *::after {
    box-sizing: border-box;
}

body.hid-knowledge-app a {
    color: inherit;
    text-decoration: none;
}

body.hid-knowledge-app img {
    max-width: 100%;
    height: auto;
}

body.hid-knowledge-app.admin-bar .hid-topbar {
    top: 32px;
}

body.hid-knowledge-app.admin-bar .hid-sidebar {
    top: calc(var(--hid-topbar-height) + 32px);
    height: calc(100vh - var(--hid-topbar-height) - 32px);
}

.hid-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100000;
    padding: 10px 14px;
    background: #111827;
    color: #fff !important;
    border-radius: 8px;
}

.hid-skip-link:focus {
    top: 12px;
}

.hid-topbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--hid-topbar-height);
    border-bottom: 1px solid var(--hid-line);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.hid-topbar-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 24px;
    gap: 24px;
}

.hid-brand {
    display: inline-flex;
    flex: 0 0 calc(var(--hid-sidebar-width) - 24px);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hid-brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    color: #fff;
    border-radius: 10px 4px 10px 4px;
    background: linear-gradient(145deg, #3877ff, #1749b7);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
    font-size: 18px;
    font-weight: 800;
}

.hid-brand-name {
    overflow: hidden;
    font-size: 19px;
    font-weight: 760;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hid-global-search {
    position: relative;
    display: flex;
    width: min(560px, 48vw);
    height: 40px;
    align-items: center;
    margin-right: auto;
}

.hid-global-search svg,
.hid-hero-search svg {
    position: absolute;
    left: 14px;
    width: 18px;
    fill: none;
    stroke: #7b8494;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.hid-global-search input,
.hid-hero-search input {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 46px 0 42px;
    color: var(--hid-ink);
    border: 1px solid #d9dee8;
    border-radius: 10px;
    outline: none;
    background: #f8f9fb;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.hid-global-search input:focus,
.hid-hero-search input:focus {
    border-color: #8bb0ff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hid-global-search kbd {
    position: absolute;
    right: 10px;
    padding: 1px 6px;
    color: #8b93a3;
    border: 1px solid #d9dee8;
    border-radius: 5px;
    background: #fff;
    font: inherit;
    font-size: 11px;
    line-height: 20px;
}

.hid-account-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.hid-account-nav a {
    padding: 8px 12px;
    border-radius: 8px;
}

.hid-account-nav a:hover {
    background: var(--hid-soft);
}

.hid-account-button {
    color: #fff !important;
    background: var(--hid-blue) !important;
}

.hid-sidebar-toggle {
    display: none;
    align-items: center;
    padding: 8px 10px;
    gap: 7px;
    color: var(--hid-ink);
    border: 1px solid var(--hid-line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
}

.hid-toggle-lines,
.hid-toggle-lines::before,
.hid-toggle-lines::after {
    display: block;
    width: 15px;
    height: 1.5px;
    content: "";
    background: currentColor;
}

.hid-toggle-lines {
    position: relative;
}

.hid-toggle-lines::before {
    position: absolute;
    top: -5px;
}

.hid-toggle-lines::after {
    position: absolute;
    top: 5px;
}

.hid-app-shell {
    min-height: 100vh;
    padding-top: var(--hid-topbar-height);
}

.hid-sidebar {
    position: fixed;
    z-index: 800;
    top: var(--hid-topbar-height);
    bottom: 0;
    left: 0;
    display: flex;
    width: var(--hid-sidebar-width);
    height: calc(100vh - var(--hid-topbar-height));
    flex-direction: column;
    border-right: 1px solid var(--hid-line);
    background: #fafbfc;
}

.hid-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    color: #7b8494;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hid-sidebar-count {
    display: grid;
    min-width: 24px;
    height: 21px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    background: #e9edf3;
    font-size: 11px;
}

.hid-tree {
    overflow-y: auto;
    flex: 1;
    padding: 0 10px 18px;
    scrollbar-width: thin;
    scrollbar-color: #d5dbe5 transparent;
}

.hid-software-group {
    margin: 3px 0;
}

.hid-software-group summary {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 6px 9px;
    gap: 10px;
    border-radius: 9px;
    cursor: pointer;
    list-style: none;
    transition: background 0.16s;
}

.hid-software-group summary::-webkit-details-marker {
    display: none;
}

.hid-software-group summary:hover {
    background: #eef1f6;
}

.hid-software-icon {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    color: #fff;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
}

.hid-software-icon-1 { background: linear-gradient(145deg, #ef4444, #b91c1c); }
.hid-software-icon-2 { background: linear-gradient(145deg, #2563eb, #1e40af); }
.hid-software-icon-3 { background: linear-gradient(145deg, #8b5cf6, #6d28d9); }
.hid-software-icon-4 { background: linear-gradient(145deg, #0ea5e9, #0369a1); }
.hid-software-icon-5 { background: linear-gradient(145deg, #f59e0b, #b45309); }
.hid-software-icon-6 { background: linear-gradient(145deg, #10b981, #047857); }

.hid-software-name {
    overflow: hidden;
    flex: 1;
    font-size: 14px;
    font-weight: 680;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hid-chevron {
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-right: 1.5px solid #8b93a3;
    border-bottom: 1.5px solid #8b93a3;
    transform: rotate(-45deg);
    transition: transform 0.16s;
}

.hid-software-group[open] .hid-chevron {
    transform: rotate(45deg) translate(-2px, -2px);
}

.hid-software-children {
    position: relative;
    margin: 1px 0 8px 23px;
    padding-left: 16px;
}

.hid-software-children::before {
    position: absolute;
    top: 0;
    bottom: 7px;
    left: 0;
    width: 1px;
    content: "";
    background: #dde2ea;
}

.hid-software-children > a {
    display: grid;
    min-height: 38px;
    align-items: center;
    padding: 6px 9px;
    grid-template-columns: 22px 1fr auto;
    gap: 6px;
    color: #505a6b;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 570;
}

.hid-software-children > a:hover {
    color: var(--hid-blue);
    background: #f0f4fb;
}

.hid-software-children > a.is-active {
    color: var(--hid-blue-dark);
    background: #eaf1ff;
    font-weight: 700;
}

.hid-child-icon {
    color: #8d96a6;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
}

.hid-item-count {
    min-width: 20px;
    color: #8d96a6;
    text-align: right;
    font-size: 11px;
}

.hid-article-links {
    margin: 1px 0 6px 27px;
    border-left: 1px solid #e2e6ed;
}

.hid-article-links a {
    display: block;
    overflow: hidden;
    padding: 5px 8px 5px 13px;
    color: #747d8c;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hid-article-links a:hover,
.hid-article-links a.is-current {
    color: var(--hid-blue);
    background: var(--hid-blue-soft);
}

.hid-command-groups-tree {
    position: relative;
    margin: 2px 0 8px 12px;
    padding-left: 14px;
}

.hid-command-groups-tree::before {
    position: absolute;
    top: 2px;
    bottom: 8px;
    left: 0;
    width: 1px;
    content: "";
    background: #dfe4ec;
}

.hid-command-group-link {
    display: grid;
    min-height: 34px;
    align-items: center;
    padding: 5px 8px;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 5px;
    color: #687385 !important;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 620;
}

.hid-command-group-link:hover,
.hid-command-group-link.is-active {
    color: var(--hid-blue-dark) !important;
    background: #edf3ff;
}

.hid-branch-mark {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
}

.hid-command-group-branch.is-open .hid-branch-mark {
    transform: rotate(45deg) translate(-1px, -1px);
}

.hid-command-article-links {
    margin-left: 17px;
}

.hid-sidebar-footer {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
    color: #7c8595;
    border-top: 1px solid var(--hid-line);
    background: #fff;
    font-size: 12px;
}

.hid-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.hid-sidebar-empty {
    padding: 12px;
    color: var(--hid-muted);
    font-size: 13px;
}

.hid-main {
    min-width: 0;
    min-height: calc(100vh - var(--hid-topbar-height));
    margin-left: var(--hid-sidebar-width);
}

.hid-home-hero,
.hid-software-section,
.hid-recent-section,
.hid-list-view,
.hid-tutorial {
    width: min(1120px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
}

.hid-home-hero {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: 420px;
    align-items: center;
    margin-top: 28px;
    padding: 62px 64px;
    grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
    gap: 34px;
    border: 1px solid #dce6fa;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 0%, rgba(99, 149, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #f5f8ff 0%, #edf4ff 55%, #f8fbff 100%);
}

.hid-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--hid-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hid-hero-copy {
    position: relative;
    z-index: 2;
}

.hid-hero-copy h1 {
    max-width: 640px;
    margin: 0;
    color: #13203a;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.09;
}

.hid-hero-copy > p {
    max-width: 610px;
    margin: 20px 0 28px;
    color: #536076;
    font-size: 17px;
    line-height: 1.75;
}

.hid-hero-search {
    position: relative;
    display: flex;
    width: min(610px, 100%);
    height: 54px;
    align-items: center;
}

.hid-hero-search input {
    padding-right: 98px;
    border-color: #d3def2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(44, 80, 144, 0.08);
}

.hid-hero-search button {
    position: absolute;
    right: 6px;
    height: 42px;
    padding: 0 20px;
    color: #fff;
    border: 0;
    border-radius: 9px;
    background: var(--hid-blue);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.hid-hero-search button:hover {
    background: var(--hid-blue-dark);
}

.hid-hero-visual {
    position: relative;
    min-height: 280px;
}

.hid-orbit {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.17);
    border-radius: 50%;
}

.hid-orbit-one {
    top: 6px;
    right: -30px;
    width: 270px;
    height: 270px;
}

.hid-orbit-two {
    top: 45px;
    right: 10px;
    width: 190px;
    height: 190px;
}

.hid-command-card,
.hid-case-card {
    position: absolute;
    display: flex;
    width: 220px;
    align-items: center;
    padding: 18px;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(31, 71, 142, 0.16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.hid-command-card {
    top: 40px;
    left: 10px;
    transform: rotate(-3deg);
}

.hid-case-card {
    right: 0;
    bottom: 38px;
    transform: rotate(3deg);
}

.hid-command-card > span,
.hid-case-card > span {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: #fff;
    border-radius: 13px;
    background: linear-gradient(145deg, #3877ff, #1749b7);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 21px;
    font-weight: 700;
}

.hid-case-card > span {
    background: linear-gradient(145deg, #8b5cf6, #5b21b6);
}

.hid-command-card strong,
.hid-case-card strong,
.hid-command-card small,
.hid-case-card small {
    display: block;
}

.hid-command-card strong,
.hid-case-card strong {
    margin-bottom: 2px;
    font-size: 16px;
}

.hid-command-card small,
.hid-case-card small {
    color: var(--hid-muted);
    font-size: 12px;
}

.hid-software-section,
.hid-recent-section {
    padding: 76px 0 8px;
}

.hid-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 26px;
    gap: 28px;
}

.hid-section-heading h2 {
    margin: 0;
    color: var(--hid-ink);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.hid-section-heading > p {
    margin: 0 0 4px;
    color: var(--hid-muted);
    font-size: 14px;
}

.hid-software-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hid-software-card {
    padding: 22px;
    border: 1px solid var(--hid-line);
    border-radius: var(--hid-radius);
    background: #fff;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hid-software-card:hover {
    border-color: #c8d8fa;
    box-shadow: var(--hid-shadow);
    transform: translateY(-3px);
}

.hid-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hid-card-logo {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 820;
}

.hid-card-total {
    padding: 4px 9px;
    color: #7b8494;
    border-radius: 999px;
    background: var(--hid-soft);
    font-size: 11px;
    font-weight: 650;
}

.hid-software-card h3 {
    margin: 17px 0 7px;
    font-size: 18px;
    font-weight: 740;
    letter-spacing: -0.02em;
}

.hid-software-card > p {
    min-height: 45px;
    margin: 0 0 19px;
    color: var(--hid-muted);
    font-size: 13px;
}

.hid-card-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hid-card-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    color: #4f5969;
    border-radius: 8px;
    background: var(--hid-soft);
    font-size: 12px;
    font-weight: 650;
}

.hid-card-links a:hover {
    color: var(--hid-blue);
    background: var(--hid-blue-soft);
}

.hid-card-links b {
    font-size: 11px;
}

.hid-recent-section {
    padding-bottom: 80px;
}

.hid-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hid-recent-grid article {
    padding: 22px;
    border: 1px solid var(--hid-line);
    border-radius: var(--hid-radius);
    background: #fff;
}

.hid-recent-grid article > span,
.hid-result-kicker {
    color: var(--hid-blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hid-recent-grid h3 {
    margin: 9px 0;
    font-size: 17px;
    line-height: 1.38;
}

.hid-recent-grid h3 a:hover,
.hid-result-item h2 a:hover {
    color: var(--hid-blue);
}

.hid-recent-grid p {
    margin: 0 0 17px;
    color: var(--hid-muted);
    font-size: 13px;
}

.hid-read-link {
    color: var(--hid-blue) !important;
    font-size: 12px;
    font-weight: 700;
}

.hid-read-link b {
    display: inline-block;
    margin-left: 3px;
    transition: transform 0.16s;
}

.hid-read-link:hover b {
    transform: translateX(3px);
}

.hid-list-view,
.hid-tutorial {
    max-width: 920px;
    padding: 42px 0 80px;
}

.hid-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 28px;
    gap: 8px;
    color: #8a93a3;
    font-size: 12px;
}

.hid-breadcrumbs a:hover {
    color: var(--hid-blue);
}

.hid-list-header {
    position: relative;
    padding: 34px 38px;
    border: 1px solid #dce6fa;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7faff, #eef4ff);
}

.hid-list-header h1 {
    margin: 0;
    color: #14213b;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.hid-list-header > p {
    max-width: 650px;
    margin: 12px 0 0;
    color: #617087;
    font-size: 15px;
}

.hid-type-switcher {
    display: flex;
    margin-top: 25px;
    gap: 8px;
}

.hid-type-switcher a {
    padding: 8px 18px;
    color: #5c6678;
    border: 1px solid #d7e0f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.hid-type-switcher a.is-active {
    color: #fff;
    border-color: var(--hid-blue);
    background: var(--hid-blue);
}

.hid-list-search {
    position: relative;
    display: flex;
    height: 52px;
    align-items: center;
    margin-top: 22px;
}

.hid-list-search svg {
    position: absolute;
    z-index: 1;
    left: 17px;
    width: 19px;
    fill: none;
    stroke: #7b8494;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.hid-list-search input[type="search"] {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 120px 0 48px;
    color: var(--hid-ink);
    border: 1px solid #d9e0eb;
    border-radius: 12px;
    outline: none;
    background: #fff;
    box-shadow: 0 7px 20px rgba(24, 34, 48, 0.06);
    font: inherit;
    font-size: 14px;
}

.hid-list-search input[type="search"]:focus {
    border-color: #8bb0ff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hid-list-search button {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    height: auto;
    padding: 0 19px;
    color: #fff;
    border: 0;
    border-radius: 9px;
    background: var(--hid-blue);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.hid-list-search button:hover {
    background: var(--hid-blue-dark);
}

.hid-search-clear {
    position: absolute;
    z-index: 2;
    right: 75px;
    padding: 4px 6px;
    color: #7b8494 !important;
    font-size: 12px;
}

.hid-command-group-nav {
    display: grid;
    margin-top: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.hid-command-group-nav a {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    gap: 8px;
    color: #576276;
    border: 1px solid var(--hid-line);
    border-radius: 9px;
    background: #fff;
    font-size: 12px;
    font-weight: 670;
}

.hid-command-group-nav a:hover,
.hid-command-group-nav a.is-active {
    color: var(--hid-blue-dark);
    border-color: #bcd0fa;
    background: var(--hid-blue-soft);
}

.hid-command-group-nav b {
    color: #8791a1;
    font-size: 10px;
}

.hid-filter-summary {
    margin: 18px 0 0;
    color: var(--hid-muted);
    font-size: 13px;
}

.hid-result-list {
    margin-top: 28px;
    border-top: 1px solid var(--hid-line);
}

.hid-result-item {
    display: grid;
    align-items: center;
    padding: 24px 8px;
    grid-template-columns: 42px minmax(0, 1fr) 152px;
    gap: 16px;
    border-bottom: 1px solid var(--hid-line);
    transition: background 0.16s;
}

.hid-result-item:hover {
    background: #fafbfe;
}

.hid-result-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--hid-blue);
    border-radius: 10px;
    background: var(--hid-blue-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 17px;
    font-weight: 700;
}

.hid-result-item h2 {
    margin: 4px 0 6px;
    font-size: 19px;
    font-weight: 720;
    line-height: 1.35;
}

.hid-result-item p {
    margin: 0;
    color: var(--hid-muted);
    font-size: 13px;
}

.hid-result-copy {
    min-width: 0;
}

.hid-result-thumb {
    display: block;
    overflow: hidden;
    width: 152px;
    height: 92px;
    border: 1px solid #e1e6ee;
    border-radius: 10px;
    background: #f1f4f8;
}

.hid-result-thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.hid-result-item:hover .hid-result-thumb img {
    transform: scale(1.035);
}

.hid-result-thumb-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #6c87b9;
    background:
        radial-gradient(circle at 80% 20%, rgba(99, 149, 255, 0.26), transparent 34%),
        linear-gradient(135deg, #eef4ff, #f7f9fc);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.hid-result-arrow {
    align-self: center;
    color: #9aa2af;
    font-size: 17px;
    transition: color 0.16s, transform 0.16s;
}

.hid-result-item:hover .hid-result-arrow {
    color: var(--hid-blue);
    transform: translateX(3px);
}

.hid-mini-paid {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 5px;
    color: #9a5700;
    border-radius: 4px;
    background: #fff3d6;
    font-size: 9px;
}

.hid-pagination {
    display: grid;
    align-items: center;
    padding: 28px 0;
    grid-template-columns: 1fr auto 1fr;
    color: var(--hid-muted);
    font-size: 13px;
}

.hid-pagination a {
    color: var(--hid-blue);
    font-weight: 650;
}

.hid-pagination a:last-child {
    text-align: right;
}

.hid-empty-state {
    margin-top: 30px;
    padding: 64px 32px;
    color: var(--hid-muted);
    border: 1px dashed #d5dce8;
    border-radius: 16px;
    background: #fafbfc;
    text-align: center;
}

.hid-empty-state > span {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 15px;
    place-items: center;
    color: var(--hid-blue);
    border-radius: 15px;
    background: var(--hid-blue-soft);
    font-size: 23px;
}

.hid-empty-state h2 {
    margin: 0 0 7px;
    color: var(--hid-ink);
    font-size: 20px;
}

.hid-empty-state p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 14px;
}

.hid-empty-state a {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 15px;
    color: #fff !important;
    border-radius: 8px;
    background: var(--hid-blue);
    font-size: 13px;
    font-weight: 700;
}

.hid-tutorial {
    max-width: 860px;
}

.hid-article-header {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--hid-line);
}

.hid-article-badges {
    display: flex;
    margin-bottom: 16px;
    gap: 8px;
}

.hid-kind-badge,
.hid-paid-badge {
    padding: 4px 9px;
    color: var(--hid-blue-dark);
    border-radius: 6px;
    background: var(--hid-blue-soft);
    font-size: 11px;
    font-weight: 760;
}

.hid-kind-case {
    color: #6d28d9;
    background: #f2edff;
}

.hid-paid-badge {
    color: #9a5700;
    background: #fff3d6;
}

.hid-article-header h1 {
    margin: 0;
    color: #111c30;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 790;
    letter-spacing: -0.045em;
    line-height: 1.14;
}

.hid-article-lead {
    margin: 16px 0 0;
    color: #5f6c80;
    font-size: 17px;
}

.hid-article-meta {
    display: flex;
    margin-top: 19px;
    gap: 18px;
    color: #8b94a3;
    font-size: 12px;
}

.hid-featured-image {
    overflow: hidden;
    margin: 30px 0;
    border-radius: 15px;
    background: var(--hid-soft);
}

.hid-featured-image img {
    display: block;
    width: 100%;
}

.hid-article-content {
    padding: 34px 0 24px;
    color: #334155;
    font-size: 16px;
    line-height: 1.84;
}

.hid-article-content > *:first-child {
    margin-top: 0;
}

.hid-article-content h2,
.hid-article-content h3,
.hid-article-content h4 {
    color: #172033;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.hid-article-content h2 {
    margin: 2.2em 0 0.75em;
    padding-bottom: 0.45em;
    border-bottom: 1px solid var(--hid-line);
    font-size: 26px;
}

.hid-article-content h3 {
    margin: 1.8em 0 0.65em;
    font-size: 21px;
}

.hid-article-content a {
    color: var(--hid-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hid-article-content blockquote {
    margin: 1.5em 0;
    padding: 14px 19px;
    color: #526178;
    border-left: 3px solid var(--hid-blue);
    background: #f6f9ff;
}

.hid-article-content pre {
    overflow-x: auto;
    padding: 18px;
    color: #e5e7eb;
    border-radius: 10px;
    background: #111827;
    font-size: 13px;
}

.hid-article-content code {
    padding: 2px 5px;
    color: #ad316f;
    border-radius: 4px;
    background: #f7edf3;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
}

.hid-article-content pre code {
    padding: 0;
    color: inherit;
    background: none;
}

.hid-article-content table {
    display: block;
    overflow-x: auto;
    width: 100%;
    margin: 1.5em 0;
    border-spacing: 0;
    border-collapse: collapse;
}

.hid-article-content th,
.hid-article-content td {
    padding: 10px 13px;
    border: 1px solid var(--hid-line);
    text-align: left;
}

.hid-article-content th {
    background: var(--hid-soft);
}

.hid-article-content .wp-block-image,
.hid-article-content figure {
    margin: 1.6em 0;
}

.hid-article-content .wp-block-image img,
.hid-article-content figure img {
    border-radius: 10px;
}

.hid-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 34px;
    padding: 20px 22px;
    gap: 20px;
    border: 1px solid var(--hid-line);
    border-radius: 12px;
    background: #fafbfc;
}

.hid-article-footer strong,
.hid-article-footer span {
    display: block;
}

.hid-article-footer strong {
    margin-bottom: 2px;
    font-size: 14px;
}

.hid-article-footer span {
    color: var(--hid-muted);
    font-size: 12px;
}

.hid-article-footer > a {
    flex: 0 0 auto;
    color: var(--hid-blue);
    font-size: 13px;
    font-weight: 700;
}

.hid-page-footer {
    display: flex;
    width: min(1120px, calc(100% - 64px));
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    color: #8a93a2;
    border-top: 1px solid var(--hid-line);
    font-size: 11px;
}

.hid-sidebar-backdrop {
    display: none;
}

@media (max-width: 1180px) {
    :root {
        --hid-sidebar-width: 264px;
    }

    .hid-home-hero {
        padding: 48px;
    }

    .hid-command-card,
    .hid-case-card {
        width: 190px;
    }
}

@media (max-width: 1024px) {
    body.hid-knowledge-app.admin-bar .hid-topbar {
        top: 32px;
    }

    .hid-sidebar-toggle {
        display: inline-flex;
    }

    .hid-brand {
        flex-basis: auto;
    }

    .hid-sidebar {
        z-index: 1100;
        width: 290px;
        box-shadow: 18px 0 45px rgba(16, 24, 40, 0.18);
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    body.hid-sidebar-open .hid-sidebar {
        transform: translateX(0);
    }

    .hid-sidebar-backdrop {
        position: fixed;
        z-index: 1050;
        inset: var(--hid-topbar-height) 0 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(15, 23, 42, 0.35);
        transition: opacity 0.2s, visibility 0.2s;
    }

    body.hid-sidebar-open .hid-sidebar-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .hid-main {
        margin-left: 0;
    }

    .hid-home-hero {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .hid-software-grid,
    .hid-recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    body.hid-knowledge-app.admin-bar .hid-topbar {
        top: 46px;
    }

    body.hid-knowledge-app.admin-bar .hid-sidebar {
        top: calc(var(--hid-topbar-height) + 46px);
        height: calc(100vh - var(--hid-topbar-height) - 46px);
    }
}

@media (max-width: 767px) {
    :root {
        --hid-topbar-height: 60px;
    }

    .hid-topbar-inner {
        padding: 0 14px;
        gap: 10px;
    }

    .hid-brand-mark {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .hid-brand-name,
    .hid-global-search kbd,
    .hid-account-nav > a:not(:last-child) {
        display: none;
    }

    .hid-global-search {
        width: auto;
        flex: 1;
    }

    .hid-global-search input {
        padding-right: 12px;
    }

    .hid-account-nav a {
        padding: 7px 8px;
        font-size: 12px;
    }

    .hid-sidebar-toggle > span:last-child {
        display: none;
    }

    .hid-home-hero,
    .hid-software-section,
    .hid-recent-section,
    .hid-list-view,
    .hid-tutorial,
    .hid-page-footer {
        width: min(100% - 32px, 680px);
    }

    .hid-home-hero {
        min-height: auto;
        margin-top: 16px;
        padding: 40px 24px;
        grid-template-columns: 1fr;
    }

    .hid-hero-copy h1 {
        font-size: 38px;
    }

    .hid-hero-copy > p {
        margin: 16px 0 23px;
        font-size: 15px;
    }

    .hid-hero-visual {
        display: none;
    }

    .hid-software-section,
    .hid-recent-section {
        padding-top: 52px;
    }

    .hid-section-heading {
        display: block;
    }

    .hid-section-heading > p {
        margin-top: 8px;
    }

    .hid-software-grid,
    .hid-recent-grid {
        grid-template-columns: 1fr;
    }

    .hid-list-view,
    .hid-tutorial {
        padding-top: 28px;
    }

    .hid-list-header {
        padding: 28px 24px;
    }

    .hid-list-header h1 {
        font-size: 36px;
    }

    .hid-command-group-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hid-result-item {
        padding: 20px 4px;
        grid-template-columns: minmax(0, 1fr) 108px;
        gap: 12px;
    }

    .hid-result-icon {
        display: none;
    }

    .hid-result-thumb {
        width: 108px;
        height: 78px;
    }

    .hid-result-arrow {
        display: none;
    }

    .hid-article-header h1 {
        font-size: 36px;
    }

    .hid-article-content {
        font-size: 15px;
    }

    .hid-article-footer,
    .hid-page-footer {
        display: block;
    }

    .hid-article-footer > a {
        display: inline-block;
        margin-top: 12px;
    }

    .hid-page-footer {
        padding: 22px 0;
    }

    .hid-page-footer span {
        display: block;
    }
}

@media (max-width: 480px) {
    .hid-account-nav {
        display: none;
    }

    .hid-hero-search input {
        padding-right: 14px;
    }

    .hid-hero-search button {
        display: none;
    }

    .hid-list-search input[type="search"] {
        padding-right: 88px;
    }

    .hid-list-search button {
        padding: 0 14px;
    }

    .hid-search-clear {
        right: 63px;
    }

    .hid-result-thumb {
        width: 96px;
        height: 72px;
    }
}
