:root {
    color-scheme: light;
    --ink: #122542;
    --navy: #0d1d35;
    --navy-light: #142c4a;
    --muted: #53647a;
    --line: #dce5ee;
    --soft: #f2f6fa;
    --paper: #fff;
    --cyan: #64ecd9;
    --teal: #006d64;
    --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    font-family: "Inter", system-ui, var(--display);
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.65; }
main { flex: 1; min-width: 0; }
a { color: var(--teal); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #159885; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.28; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3.65rem); font-weight: 750; letter-spacing: -.04em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.18rem; }
p, dd { overflow-wrap: anywhere; }
.container { width: min(1180px, calc(100% - clamp(32px, 9vw, 100px))); margin-inline: auto; }
.section { padding-block: clamp(42px, 7vw, 82px); }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: 8px 12px; background: white; }
.skip:focus { top: 8px; }

.site-header { background: white; border-bottom: 1px solid #e7edf3; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 750 1.2rem/1.2 var(--display); white-space: nowrap; text-decoration: none; }
.brand small { display: block; font: 600 .69rem/1.35 var(--display); letter-spacing: .08em; color: var(--muted); margin-top: 3px; }
.brand img { flex: none; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px, 2.5vw, 34px); }
.site-nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--teal); }
.site-nav .nav-contact { color: var(--ink); padding: 9px 15px; border: 1px solid var(--line); border-radius: 7px; }
.nav-contact span { margin-left: .35em; color: var(--teal); }
.nav-toggle { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); padding: 7px 10px; }
.nav-toggle span { margin-left: 3px; }
.site-footer { background: #f6f8fb; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.footer-inner p, .footer-inner > a:last-child { color: var(--muted); font-size: .86rem; }
.footer-inner .brand { font-size: 1rem; }

.hero { color: white; background: radial-gradient(ellipse at 88% 45%, #193d5d 0%, transparent 52%), var(--navy); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(32px, 6vw, 94px); align-items: center; padding-block: clamp(58px, 8vw, 112px); }
.hero h1 { font-size: clamp(2.2rem, 4.75vw, 4.35rem); line-height: 1.19; letter-spacing: -.055em; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: #c0dae8; font-size: .82rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 19px; }
.hero-kicker span, .arch-caption i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px #50ead388; flex: none; }
.hero-lead { margin-top: 22px; color: #c1d3e2; max-width: 33em; font-size: clamp(.95rem, 1.5vw, 1.07rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 14px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: 10px 16px; min-height: 44px; border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 720; line-height: 1.35; text-decoration: none; }
.button:hover { filter: brightness(.93); text-decoration: none; }
.button.primary { color: #0b302d; background: var(--cyan); }
.button.outline { color: #e7f5fa; border-color: #607993; background: #ffffff08; }
.button.dark { color: white; background: var(--navy-light); }
.button.danger { color: #8e2535; border-color: #e3a5af; background: #fff2f4; }
.button:disabled { opacity: .6; cursor: not-allowed; }

.architecture { padding: 17px clamp(12px, 2vw, 25px) 24px; border: 1px solid #426481; border-radius: 16px; background-color: #0b213a; background-image: radial-gradient(#627f9d55 .7px, transparent .8px); background-size: 14px 14px; box-shadow: 0 28px 64px #06122580; }
.arch-caption { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; align-items: center; font-size: .74rem; color: #b7cadb; }
.arch-caption > span:first-child { display: flex; gap: 8px; align-items: center; font-weight: 700; color: #ecf8fd; }
.arch-caption i { display: inline-block; width: 6px; height: 6px; }
.arch-flow { display: flex; flex-direction: column; align-items: center; margin-top: 22px; }
.arch-node { display: grid; min-width: 0; gap: 3px; padding: 8px 13px; text-align: center; color: #ecf7ff; border: 1px solid #506d8a; border-radius: 8px; background: #163252; }
.arch-node b { font-size: .88rem; }
.arch-node span { color: #bccddd; font-size: .74rem; }
.arch-node.node-top { min-width: 135px; }
.arch-node.node-main { min-width: 160px; border-color: #55d8ca; background: #153d50; box-shadow: 0 0 20px #47d8c030; }
.arch-wire { height: 15px; border-left: 1px solid #75c1c8; }
.arch-branch { width: 53%; height: 21px; position: relative; }
.arch-branch::before { position: absolute; content: ""; height: 50%; left: 50%; border-left: 1px solid #75c1c8; }
.arch-branch::after { position: absolute; content: ""; inset: 50% 0 0; border: 1px solid #75c1c8; border-bottom: 0; border-radius: 4px 4px 0 0; }
.arch-pair { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.eyebrow { color: var(--teal); font-weight: 750; font-size: .79rem; letter-spacing: .12em; margin-bottom: 8px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.arrow-link { display: inline-flex; align-items: center; gap: .45em; font-size: .9rem; font-weight: 720; text-decoration: none; }
.arrow-link:hover, .article-row h2 a:hover, .article-row h3 a:hover, .service-card h2 a:hover, .service-card h3 a:hover { text-decoration: underline; }
.section-heading .arrow-link { flex: none; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; padding: clamp(17px, 2.3vw, 28px); border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(155deg, #f6fbfc, white 60%); }
.service-card h2, .service-card h3 { margin-top: 17px; font-size: clamp(1.1rem, 1.8vw, 1.42rem); }
.service-card h2 a, .service-card h3 a, .article-row h2 a, .article-row h3 a { color: var(--ink); text-decoration: none; }
.service-card p { margin: 9px 0 19px; color: var(--muted); font-size: .94rem; }
.service-card .arrow-link { margin-top: auto; align-self: flex-start; }
.service-icon { display: inline-grid; width: 42px; height: 42px; position: relative; align-items: center; justify-items: center; border-radius: 8px; color: var(--teal); background: #dff5f0; }
.service-icon i { width: 16px; height: 16px; border: 1.5px solid currentColor; }
.icon-1 i { transform: rotate(45deg); border-radius: 3px; }
.icon-2 i { height: 13px; border-radius: 50% 50% 45% 45% / 30% 30% 20% 20%; box-shadow: 0 4px 0 -2px currentColor; }
.icon-3 i { width: 18px; border-radius: 3px; background: linear-gradient(140deg, transparent 44%, currentColor 45% 50%, transparent 51%); }
.process-band { background: var(--soft); border-block: 1px solid var(--line); }
.process { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 6vw, 90px); }
.process ol { list-style: none; padding: 0; margin: 0; counter-reset: phase; }
.process li { position: relative; padding: 14px 0 14px 47px; border-top: 1px solid #d5e0eb; counter-increment: phase; }
.process li:last-child { border-bottom: 1px solid #d5e0eb; }
.process li::before { content: counter(phase, decimal-leading-zero); position: absolute; left: 0; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dbefee; color: var(--teal); font-size: .77rem; font-weight: 750; }
.process li p, .article-row p { color: var(--muted); margin-top: 5px; }
.article-list { border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: minmax(90px, .18fr) minmax(0, 1fr) 40px; align-items: center; gap: 14px 24px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.article-row h2, .article-row h3 { font-size: clamp(1rem, 2vw, 1.25rem); }
.category { color: var(--teal); font-weight: 720; font-size: .8rem; overflow-wrap: anywhere; }
.article-arrow { justify-self: end; font-size: 1.25rem; }
.cta-section { padding-bottom: clamp(40px, 7vw, 80px); }
.cta-panel { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: clamp(21px, 5vw, 48px); border-radius: 14px; color: white; background: linear-gradient(110deg, var(--navy), #164555); }
.cta-panel p { margin-top: 6px; color: #d0e1eb; }

.page-banner { background: radial-gradient(ellipse at 83% 45%, #19445a, transparent 57%), var(--navy); color: white; padding-block: clamp(37px, 6vw, 76px); }
.page-banner .eyebrow { color: var(--cyan); }
.page-banner .container > p:last-child { max-width: 65ch; margin-top: 12px; color: #c4d6e5; font-size: 1rem; }
.back-link { color: var(--teal); display: inline-flex; margin-bottom: 9px; font-weight: 650; font-size: .89rem; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.page-banner .back-link { color: #b8e5e3; margin-bottom: 17px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 22px 60px; }
.reading { max-width: 75ch; color: var(--muted); font-size: 1.04rem; }
.reading p + p { margin-top: 1em; }
.reading a { margin-top: 12px; }
.long-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 23px; }
.filters a, .pager a { color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; text-decoration: none; font-size: .9rem; overflow-wrap: anywhere; min-width: 0; }
.filters a[aria-current] { color: #045f57; background: #e1f5f0; border-color: #a9dcd1; font-weight: 700; }
.filters a:hover, .pager a:hover { background: var(--soft); }
.pager { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: var(--muted); font-size: .91rem; }
.empty { background: var(--soft); color: var(--muted); border: 1px dashed #c2d0dd; border-radius: 9px; padding: 21px; }
.empty a { margin-left: .5em; }

.contact-layout, .login-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); align-items: start; gap: clamp(22px, 6vw, 85px); }
.contact-aside { background: var(--soft); border-left: 3px solid #70c8bd; border-radius: 0 9px 9px 0; padding: clamp(15px, 2.5vw, 24px); }
.contact-aside h2, .form-panel h2 { font-size: 1.3rem; margin-bottom: 12px; }
.contact-aside ul { padding-left: 1.3em; margin: 0 0 15px; }
.contact-aside p, .login-context p:last-child { color: var(--muted); font-size: .93rem; }
.form-panel { padding: clamp(16px, 3.5vw, 34px); border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: 0 12px 28px #142c4a09; min-width: 0; }
.form-panel form, .form-pair { display: grid; gap: 15px; }
.form-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-panel button { justify-self: start; }
form label { display: grid; gap: 5px; min-width: 0; color: var(--ink); font-size: .91rem; font-weight: 700; }
form label small { font-weight: 500; color: var(--muted); }
input, textarea, select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #bfcddb; border-radius: 6px; color: var(--ink); background: white; font-weight: 450; }
textarea { resize: vertical; }
.form-error { margin: 0 0 12px; padding: 8px 11px; border-radius: 5px; color: #8b2736; background: #fff1f3; border: 1px solid #f1c6cd; font-size: .9rem; }
.login-section { max-width: 900px; align-items: center; }
.login-context p:last-child { margin-top: 10px; }
.result-panel { max-width: 650px; margin-inline: auto; padding: clamp(20px, 6vw, 52px); border: 1px solid var(--line); border-radius: 15px; background: var(--soft); }
.result-panel h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.result-panel h1 + p { margin-top: 8px; color: var(--muted); }
.result-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--teal); background: #d5f3eb; margin-bottom: 12px; }
.reference { border: 1px solid #c2d5e1; border-radius: 7px; padding: 9px 12px; background: white; color: var(--muted); margin-top: 16px; overflow-wrap: anywhere; }
.reference strong { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--ink); }
.request-id { color: var(--muted); font-size: .83rem; margin-top: 12px; }

.backoffice { background: #f8fafc; }
.account { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .88rem; min-width: 0; }
.account > span { overflow-wrap: anywhere; }
.text-button { color: var(--teal); background: transparent; padding: 4px 0; border: 0; font-weight: 700; white-space: nowrap; }
.text-button:hover { text-decoration: underline; }
.admin-nav { background: var(--navy); }
.admin-nav nav { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0 15px; }
.admin-nav a { color: #c3d4e4; padding: 11px 4px; border-bottom: 2px solid transparent; text-decoration: none; font-size: .88rem; }
.admin-nav a[aria-current] { color: white; border-color: var(--cyan); }
.admin-nav .visit-site { margin-left: auto; }
.notice { background: #e6f8ee; border: 1px solid #bbe4ce; color: #1e6348; border-radius: 7px; padding: 8px 12px; margin-top: 18px; }
.workspace { padding-block: clamp(28px, 5vw, 60px); }
.workspace-heading { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: end; margin-bottom: 19px; }
.workspace-heading h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.workspace-heading p:not(.eyebrow) { color: var(--muted); margin-top: 4px; font-size: .94rem; }
.dashboard-list { max-width: 780px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.dashboard-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 20px; text-decoration: none; }
.dashboard-list a + a { border-top: 1px solid var(--line); }
.dashboard-list a:hover { background: var(--soft); }
.dashboard-list h2 { color: var(--ink); font-size: 1.13rem; }
.dashboard-list p { margin-top: 5px; color: var(--muted); font-size: .91rem; }
.table-frame { border: 1px solid var(--line); border-radius: 9px; background: white; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .88rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 13px; overflow-wrap: anywhere; }
th { color: var(--muted); font-weight: 700; background: #eef3f8; }
th:first-child { width: 33%; border-top-left-radius: 8px; }
th:last-child { border-top-right-radius: 8px; }
td { border-top: 1px solid var(--line); }
td small { display: block; color: var(--muted); }
td .arrow-link { display: inline; }
.status { display: inline-flex; padding: 3px 7px; border-radius: 5px; background: #eaf0f7; color: #465a72; font-size: .8rem; font-weight: 750; white-space: nowrap; }
.status-published, .status-done { color: #1a694c; background: #e1f5e9; }
.status-new { color: #22558a; background: #e5f1ff; }
.status-processing { color: #815607; background: #fff2d8; }
.editor, .danger-panel { max-width: 800px; }
.editor .actions { margin-top: 2px; }
.danger-panel { margin-top: 15px; border: 1px solid #e8cbd0; border-radius: 8px; padding: 11px 14px; color: #813343; background: #fff8f9; }
.danger-panel summary { cursor: pointer; font-size: .91rem; font-weight: 720; }
.danger-panel p { margin: 8px 0; font-size: .9rem; }
.filter-form { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.filter-form select { min-width: 130px; }
.inquiry-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr); gap: 16px; }
.facts { display: grid; gap: 6px; margin: 0 0 16px; }
.facts > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.inquiry-layout h3 { margin-bottom: 7px; font-size: 1rem; }

@media (max-width: 900px) {
    .hero-inner { gap: 30px; }
    .hero h1 { font-size: clamp(2.13rem, 4.7vw, 3.6rem); }
    .service-grid { gap: 11px; }
}
@media (max-width: 700px) {
    .header-inner { flex-wrap: wrap; padding-block: 10px; min-height: 61px; }
    .site-nav { width: 100%; gap: 4px 15px; padding-top: 4px; }
    .site-nav a { padding: 7px 0; }
    .site-nav .nav-contact { padding: 6px 9px; }
    .hero-inner, .process, .split, .contact-layout, .login-section { grid-template-columns: minmax(0, 1fr); }
    .hero-inner { padding-block: 39px; }
    .architecture { max-width: 500px; width: 100%; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-pair { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { flex-wrap: wrap; }
    .admin-nav .visit-site { margin-left: 0; }
    .table-frame { border: 0; background: transparent; }
    table, tbody, tr, td { display: block; }
    thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    tbody tr { border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; margin-bottom: 8px; background: white; }
    tbody td { display: grid; grid-template-columns: minmax(4.8rem, .37fr) minmax(0, 1fr); gap: 6px; padding: 7px 2px; }
    tbody td:first-child { border-top: 0; }
    tbody td::before { content: attr(data-label); color: var(--muted); font-weight: 650; }
    tbody td small { grid-column: 2; }
    tbody td .status { justify-self: start; }
}
@media (max-width: 455px) {
    .service-grid { grid-template-columns: minmax(0, 1fr); }
    .section-heading { align-items: start; flex-wrap: wrap; }
    .article-row { grid-template-columns: minmax(0, 1fr) 25px; gap: 4px 12px; padding-block: 14px; }
    .article-row .category { grid-column: 1 / -1; }
    .article-row p { font-size: .9rem; }
}
