/* ==========================================================================
   OS.ST — Apple.com Light design system
   Palette: bg #ffffff · band #f5f5f7 · text #1d1d1f · muted #86868b
   Accents: blue #0071e3 · link #0066cc · orange #f56300 · green #34c759
   ========================================================================== */

:root {
    --bg: #ffffff;
    --section: #f5f5f7;
    --card: #f5f5f7;
    --text: #1d1d1f;
    --text-secondary: #86868b;
    --border: rgba(0, 0, 0, 0.08);
    --accent-blue: #0071e3;
    --accent-link: #0066cc;
    --accent-orange: #f56300;
    --accent-green: #34c759;
    --accent-purple: #af52de;
    --accent-red: #ff3b30;
    --nav-height: 44px;
    --pill-radius: 980px;
    --card-radius: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Latin first; then ONE coherent CJK chain per script so kana/kanji/hanzi
       never mix fallback fonts (operator 2026-10-19: 日文字型不對稱 fix).
       html lang= selects the right glyph variants within pan-CJK fonts. */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Segoe UI", Roboto,
        "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP",
        "PingFang HK", "Microsoft JhengHei", "Noto Sans HK",
        "Microsoft YaHei", "Noto Sans SC",
        sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ja-JP (2610.43, operator: 中文 Windows 冇日文字型 → 假名/漢字又不一致):
   the self-hosted Noto Sans JP subsets (noto-jp.css) come FIRST for Japanese,
   so kana and kanji always render from one font on every machine. Local files
   only — Google's CDN is unreachable for users in mainland China. */
html:lang(ja) body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Segoe UI", Roboto,
        "Noto Sans JP",
        "Hiragino Sans", "Yu Gothic", "Meiryo",
        "PingFang HK", "Microsoft JhengHei", "Noto Sans HK",
        "Microsoft YaHei", "Noto Sans SC",
        sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
.pill-button:focus-visible {
    outline: 2px solid var(--accent-link);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Navbar — sticky 44px white glassmorphism
   -------------------------------------------------------------------------- */
.glass-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-inner {
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* OS.ST logo typeface — proprietary Aqua Wow TTF (operator request 2026-10-19,
   restoring the font used by the previous portal). Relative url() resolves
   under the /core path base via MapStaticAssets. */
@font-face {
    font-family: 'AquaWow';
    src: url('../fonts/AquaWow.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.nav-brand {
    font-family: 'AquaWow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Build badge beside the nav logo (operator 2026-10-19: "BUILD MMYY.X 放在
   LOGO 隔離"; restyled 2610.41: follows the design system — token colors,
   pill treatment; 2610.42: explicit site typography stack — inside .nav-brand
   it would otherwise inherit the AquaWow logo font). */
.nav-build {
    margin-left: 10px;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: var(--pill-radius);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Segoe UI", Roboto,
        "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP",
        "PingFang HK", "Microsoft JhengHei", "Noto Sans HK",
        "Microsoft YaHei", "Noto Sans SC",
        sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
    vertical-align: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Every nav item stays whole on one line (operator 2026-10-19:
   "每一頂目都必須整體一行"). */
.nav-brand,
.nav-links > a.nav-text,
.nav-links > span.nav-text,
.nav-menu > summary,
.nav-links .pill-button {
    white-space: nowrap;
}

/* a.nav-text AND span.nav-text (the 服務 placeholder — operator 2026-10-21:
   "服務字體有誤": the span was unstyled and rendered at body font size). */
.nav-links > a.nav-text,
.nav-links > span.nav-text {
    font-size: 12px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-links > a.nav-text:hover {
    color: var(--text);
}

/* Management menu (operator 2026-10-19): native <details>/<summary> — one
   click opens the sub-item list, works on touch, keeps the nav at 0 JS. */
.nav-menu {
    position: relative;
}

.nav-menu > summary {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-menu > summary::-webkit-details-marker {
    display: none;
}

/* No dropdown chevron (2610.70, operator: 「唔要箭咀」) — the labels are
   navigation links now (Apple pattern); the hover-open behaviour needs no
   affordance triangle. */

.nav-menu > summary:hover,
.nav-menu[open] > summary {
    color: var(--text);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    min-width: 230px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Invisible bridge over the 14px gap (2610.66, operator bug: 「移下會縮」) —
   keeps the pointer inside the <details> while travelling from the summary
   into the dropdown, so hover-open never flickers shut mid-move. */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown-item {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    background: var(--card);
}

/* Language dropdown (2610.47): same control and look as the XMail console
   select.langsel — pill select in the nav. */
.lang-switcher {
    display: flex;
    align-items: center;
    padding-left: 14px;
    border-left: 1px solid var(--border);
}

select.langsel {
    width: auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
}

select.langsel:hover {
    color: var(--text);
}

/* --------------------------------------------------------------------------
   Typography helpers — dark-to-grey gradient titles
   -------------------------------------------------------------------------- */
.gradient-text {
    background: linear-gradient(135deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --------------------------------------------------------------------------
   Pill buttons — border-radius 980px
   -------------------------------------------------------------------------- */
.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--pill-radius);
    font-size: 17px;
    font-weight: 500;
    padding: 12px 24px;
    background: var(--accent-blue);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pill-button:hover {
    transform: scale(1.02);
    background: #0077ed;
}

.pill-button-small {
    font-size: 13px;
    padding: 6px 14px;
}

.pill-button-secondary {
    background: #ffffff;
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.pill-button-secondary:hover {
    background: var(--section);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* Hero band with Apple-style video backdrop (2610.28): the loop is masked
   into the white page top/bottom; text sits above at full contrast. */
.hero-band {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

.hero {
    position: relative;
    z-index: 1;
    max-width: 1024px;
    margin: 0 auto;
    padding: 110px 22px 90px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-link);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(48px, 9vw, 96px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

/* Sub-page titles (Product / Manual / Pricing) — the home hero scale is too
   large inside pages (operator 2026-10-21: "字體太大"). */
.page-title {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(17px, 2.5vw, 21px);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 40px;
}

/* Two-line hero subline (operator 2026-10-22: 排好D): each chrome line is
   its own block — a wrapped line-1 can never visually merge with line-2.
   text-wrap: balance keeps wrapped lines even (no orphan tails like "and
   daily life."). Line 2 steps down (smaller, secondary) so the pair reads
   statement → credential, not one grey wall. */
.hero-sub-line {
    display: block;
    text-wrap: balance;
}

.hero-sub-line2 {
    margin-top: 10px;
    font-size: 0.88em;
    opacity: 0.85;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    max-width: 1024px;
    margin: 0 auto;
    padding: 72px 22px;
}

.section-band {
    background: var(--section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 22px;
}

.section-inner {
    max-width: 1024px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Bento grid — white tiles on light-grey band, hover scale(1.015)
   -------------------------------------------------------------------------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bento-wide {
    grid-column: span 2;
}

.bento-card {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 260px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.bento-card:hover {
    transform: scale(1.015);
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.bento-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-card-image + .bento-card-body {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 255, 255, 0.1) 100%);
}

.bento-card-body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.bento-tagline {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--accent-link);
}

.bento-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.bento-desc {
    font-size: 14px;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Tiered Bento: lg = flagship (double width), md/sm = standard. */
.bento-lg {
    grid-column: span 2;
    min-height: 320px;
}

.bento-lg .bento-title {
    font-size: 32px;
}

.bento-lg .bento-desc {
    font-size: 16px;
    max-width: 56ch;
}

.bento-sm .bento-title {
    font-size: 20px;
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.product-long {
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    max-width: 680px;
}

/* Sub-page alignment (operator 2026-10-21: "內容不齊整"): product/pricing/
   manual pages left-align everything on one 680px column — the centred
   hero-sub/hero-actions defaults belong to the home hero only. */
.product-detail .hero-sub {
    max-width: 680px;
    margin: 0 0 8px;
}

.product-detail .hero-actions {
    justify-content: flex-start;
    margin-top: 32px;
}

/* Product card layout (operator 2026-10-21, reference ~/html/test3.html):
   hero card (centred title/description/CTAs) → feature cards in a responsive
   grid → one full-width checklist card. Design-system tokens only. */
.product-hero {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 44px 36px;
    text-align: center;
    margin-bottom: 24px;
}

.product-hero .hero-sub {
    margin: 0 auto 28px;
}

.product-hero .hero-actions {
    justify-content: center;
    margin-top: 0;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.product-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0 0 10px;
}

.product-card-full {
    grid-column: 1 / -1;
    padding: 32px;
}

.product-card-full ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

.product-card-full li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    color: var(--text);
}

.product-card-full li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* Site search (2610.54, operator) — GET form, 0 JS; hits reuse product cards. */
.search-form {
    display: flex;
    gap: 12px;
    max-width: 680px;
    margin: 0 0 24px;
}

.search-form input {
    flex: 1;
    padding: 11px 18px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--pill-radius);
    font-size: 16px;
    background: #fff;
    color: var(--text);
}

.search-form input:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 1px;
}

.search-hint,
.search-none {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 680px;
}

.search-card {
    display: block;
    text-decoration: none;
}

.search-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--accent-link);
    border: 1px solid var(--border);
    border-radius: var(--pill-radius);
    padding: 2px 10px;
    margin-bottom: 10px;
}

/* Nav search — Apple-style: the icon opens a small dialog under the nav
   (operator 2026-10-22: 按 search 出小小 dialog 可打字 search). Open/close is
   the native details/summary (zero JS); search.js focuses the input on open.
   The form stays a plain GET to /search (works with JS off). */
.nav-search {
    position: relative;
}

.nav-icon {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1;
    transition: color 0.2s ease;
}

.nav-search > summary.nav-icon {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-search > summary.nav-icon::-webkit-details-marker { display: none; }

.nav-search > summary.nav-icon::after { display: none; }

.nav-search[open] > summary.nav-icon,
.lang-menu[open] > summary.nav-icon {
    color: var(--text);
}

/* Apple-style full-width search panel (2610.71, operator screenshot 「按 SEARCH
   我要做到咁」): white sheet under the bar, big input on a hairline rule,
   quick-links list; the page behind dims. */
.search-overlay {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 44px 0 52px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
}

.search-overlay-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 22px;
}

.search-hero-form {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.search-hero-icon {
    font-size: 26px;
    color: var(--text-secondary);
    line-height: 1;
}

.search-hero-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
}

.search-hero-form input:focus { outline: none; }
.search-hero-form input::placeholder { color: var(--text-secondary); font-weight: 600; }

.search-quick { margin-top: 30px; }

.search-quick-title { margin: 0 0 6px; font-size: 12px; color: var(--text-secondary); }

.search-quick-item {
    display: block;
    padding: 9px 0;
    font-size: 15px;
    color: var(--text);
    text-decoration: none;
}

.search-quick-item::before { content: "\2192\00a0\00a0"; color: var(--text-secondary); }

.search-quick-item:hover { color: var(--accent-link); }

/* Dim the page behind the open panel (Apple behaviour). :has is progressive —
   without it the panel simply works un-dimmed. */
body:has(.nav-search[open]) main,
body:has(.nav-search[open]) footer.site-footer {
    opacity: 0.25;
    transition: opacity 0.25s ease;
}

/* Language menu (2610.58): same details/summary pattern as the other nav
   menus; the globe summary carries no caret. */
.lang-menu > summary.nav-icon {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.lang-menu > summary.nav-icon::after {
    display: none;
}

/* Suggestions render inside the search overlay, below the hero rule (2610.71).
   The [hidden] guard is mandatory: any display rule overrides the hidden
   attribute — the blank pill the operator circled in the screenshot was an
   empty always-visible panel (same bug class as the 2610.33 chat panel). */
.search-panel {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
}

.search-panel[hidden] {
    display: none;
}

.search-panel-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 0;
    text-decoration: none;
    color: var(--text);
}

.search-panel-item:hover { color: var(--accent-link); }

.search-panel-kind {
    flex: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--pill-radius);
    padding: 1px 7px;
}

.search-panel-title {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-panel-none {
    padding: 9px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.search-panel-more {
    margin-top: 4px;
    padding: 9px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-link);
    text-decoration: none;
}

/* User manual (Markdown rendered server-side) */
.manual-body {
    margin-top: 28px;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
}

.manual-body h1,
.manual-body h2,
.manual-body h3 {
    font-family: inherit;
    color: var(--text);
    letter-spacing: -0.01em;
}

.manual-body h2 {
    margin: 40px 0 12px;
    font-size: 24px;
}

.manual-body h3 {
    margin: 28px 0 8px;
    font-size: 19px;
}

.manual-body p,
.manual-body li {
    color: var(--text);
}

.manual-body ul,
.manual-body ol {
    padding-left: 22px;
}

.manual-body li {
    margin: 6px 0;
}

.manual-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92em;
    background: var(--section);
    border-radius: 6px;
    padding: 1px 5px;
}

.manual-body table {
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.manual-body th,
.manual-body td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    text-align: left;
}

.manual-body th {
    background: var(--section);
}

/* --------------------------------------------------------------------------
   Our clients
   -------------------------------------------------------------------------- */
.clients-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
}

.client-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

a.client-name:hover {
    color: var(--accent-link);
    text-decoration: underline;
}

.client-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--section);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 40px;
}

.contact-qr {
    text-align: center;
}

.contact-qr img {
    width: 200px;
    height: auto; /* source is a portrait WeChat card (820x1229) — never force square (operator 2026-10-19: 變型) */
    margin: 0 auto 12px;
    border-radius: 12px;
    background: #ffffff;
    padding: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-qr-caption {
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--section);
    border-top: 1px solid var(--border);
    padding: 40px 22px;
}

.footer-inner {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.footer-company {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-address,
.footer-contact {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--accent-link);
}

.footer-legal {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Build badge — shown beside the Admin login title (operator 2026-10-19:
   "BUILD 不應在底下，應在 OS.ST LOGIN 右旁邊"). Design-system treatment
   (2610.41): same as the nav badge — site typography, token colors, pill. */
.admin-build {
    margin-left: 14px;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: var(--pill-radius);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .br-desktop {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-actions {
        align-items: center;
    }
}

@media (max-width: 560px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide,
    .bento-lg {
        grid-column: span 1;
    }

    .hero {
        padding: 72px 22px 64px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links > a.nav-text {
        display: none;
    }

    .nav-search {
        display: none;
    }

    .nav-menu {
        display: none;
    }
}

/* --------------------------------------------------------------------------
    Admin — minimal light layout (login + panel at /admin)
    -------------------------------------------------------------------------- */
.admin-main {
    min-height: calc(100vh - var(--nav-height) - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 22px;
}

.admin-card {
    width: 100%;
    max-width: 440px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.admin-brand-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-purple);
    border: 1px solid var(--border);
    border-radius: var(--pill-radius);
    padding: 2px 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.admin-back {
    font-size: 12px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.admin-back:hover {
    color: var(--text);
}

.admin-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.admin-god {
    font-size: 14px;
    color: var(--text-secondary);
}

.admin-god strong {
    color: var(--text);
    font-weight: 600;
}

.admin-error {
    font-size: 13px;
    color: var(--accent-red);
}

.admin-telemetry {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.admin-telemetry-number {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.admin-telemetry-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    font-size: 13px;
    color: var(--text-secondary);
}

.admin-field input,
.admin-field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-field textarea {
    font-size: 14px;
    min-height: 72px;
    resize: vertical;
    line-height: 1.5;
}

.admin-captcha-canvas {
    align-self: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.admin-field input:focus,
.admin-field textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.admin-submit {
    width: 100%;
    margin-top: 6px;
}

.admin-card-wide {
    max-width: 880px;
}

.admin-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.admin-saved {
    font-size: 13px;
    color: var(--accent-green);
    margin-bottom: 14px;
}

.admin-saved-warn {
    color: var(--accent-orange);
}

.admin-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table-num {
    width: 48px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.admin-table-actions {
    text-align: right;
}

.admin-cat {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
}

.admin-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: var(--pill-radius);
    padding: 3px 12px;
}

.admin-status-active {
    color: var(--accent-green);
    background: color-mix(in srgb, var(--accent-green) 14%, #ffffff);
}

.admin-status-inactive {
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.05);
}

.admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.admin-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.admin-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-blue);
}

.admin-lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-lang-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.admin-lang .admin-field {
    margin-bottom: 10px;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

@media (max-width: 700px) {
    .admin-field-row,
    .admin-lang-grid {
        grid-template-columns: 1fr;
    }

    .admin-list-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   Assistant bubble + standalone chat page
   -------------------------------------------------------------------------- */
.bubble {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 60;
    width: 300px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
    padding: 20px;
}

.chat-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 61;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 113, 227, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.chat-launcher:hover {
    transform: scale(1.06);
    background: #0077ed;
}

.bubble-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
}

.bubble-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.bubble-body {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.bubble-cta {
    display: inline-block;
    margin-top: 14px;
}

.chat-page { padding: 40px 0 80px; }

.chat-shell {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 22px;
}

.chat-header { text-align: center; margin-bottom: 26px; }
.chat-title { font-size: 34px; }
.chat-powered { margin-top: 8px; font-size: 12px; color: var(--text-secondary); letter-spacing: 0.06em; }

.chat-log {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 320px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 18px;
    background: var(--section);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.chat-msg {
    max-width: 82%;
    width: fit-content;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.chat-msg-assistant {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 6px;
}

.chat-msg-user {
    align-self: flex-end;
    background: var(--accent-blue);
    color: #ffffff;
    border-bottom-right-radius: 6px;
}

.chat-msg-error { color: var(--accent-red); }

.chat-form {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.chat-input {
    flex: 1;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
}

.chat-send { white-space: nowrap; }

@media (max-width: 560px) {
    .bubble { right: 12px; bottom: 82px; width: calc(100vw - 24px); }
    .chat-launcher { right: 12px; bottom: 12px; }
    .chat-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 80vh; max-height: 80vh; border-radius: 18px 18px 0 0; }
    .chat-msg { max-width: 92%; }
}

/* Chat human hand-off form */
/* "I am not a human" captcha gate before a chat hand-off (TODO 10). */
.chat-captcha {
    margin: 0 14px 10px;
    padding: 10px 12px;
    background: var(--section);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.chat-captcha-ask {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 8px;
}

.chat-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-captcha-row canvas {
    border-radius: 6px;
    flex: none;
}

.chat-captcha-row input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
}

/* Hosting pricing cards (TODO 3, 2610.36) — Apple Light tokens only. */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 40px;
    text-align: left;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-name {
    font-size: 21px;
    font-weight: 600;
    color: var(--text);
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-price {
    font-size: 15px;
}

.pricing-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-right: 6px;
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 13px;
}

.pricing-quote {
    font-size: 17px;
    font-weight: 600;
    color: var(--accent-blue);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text);
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.chat-human {
    margin-top: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-human-intro { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.chat-human-hp { position: absolute; left: -9999px; opacity: 0; }

.chat-human-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-secondary); }

.chat-human-field input,
.chat-human-field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
}

.chat-human-actions { display: flex; gap: 10px; }

.chat-human-open {
    margin-top: 10px;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    background: #ffffff;
    border-radius: 980px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
}

.chat-human-open:hover { background: rgba(0, 113, 227, 0.06); }

.chat-msg-status { font-style: italic; color: var(--text-secondary); }

.admin-chat-log { min-height: 200px; max-height: 50vh; margin: 16px 0; }

/* Chat panel (in-place widget, operator-directed 2026-10-19) */
/* The author `display: flex` below overrides the UA `[hidden]` rule — without
   this the panel/launcher never hide (operator bug 2026-10-19: "X 唔到"). */
.chat-panel[hidden],
.chat-launcher[hidden],
.chat-captcha[hidden] {
    display: none !important;
}

.chat-panel {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 61;
    width: 360px;
    max-width: calc(100vw - 24px);
    height: 520px;
    max-height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.chat-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--accent-blue);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.chat-panel-close {
    border: none;
    background: none;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    /* generous hit area (operator 2026-10-19: "close is not working" on touch) */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: -8px -8px -8px 0;
}

.chat-panel-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.cw-log {
    flex: 1;
    min-height: 0;
    max-height: none;
    border: none;
    border-radius: 0;
    background: var(--section);
}

.cw-form { margin: 0; padding: 12px; border-top: 1px solid var(--border); }

.chat-panel .chat-human {
    margin: 0 12px 12px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
    Nine-solutions home grid (home v4, operator 2026-10-22): equal-weight
    cards for every top-level solution — no section heading (the hero carries
    the brand message; the cards speak). Each card embeds its featured
    product block (solutions.featured_id) with the latest BUILD chip.
    -------------------------------------------------------------------------- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: scale(1.015);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Nav labels are links (2610.67, operator: 「按方案就去方案, manage 就去 manage」
   — Apple pattern): the label navigates; hover (nav-menu.js) or the summary's
   chevron area still opens the dropdown. */
.nav-text a { color: inherit; text-decoration: none; }

/* /manage entry cards: the whole card is the link; "Open →" affordance row. */
a.manage-card { text-decoration: none; }
.manage-open { padding: 12px 20px 16px; font-size: 13px; font-weight: 600; color: var(--accent-link); }

.solution-accent { display: block; height: 4px; flex-shrink: 0; }

.solution-body { padding: 18px 20px 8px; flex: 1; }

.solution-title { font-size: 21px; font-weight: 700; margin: 4px 0 6px; color: var(--text); }

.solution-desc { font-size: 13px; color: var(--text-secondary); }

.solution-featured {
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.solution-featured-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.solution-featured-name { font-size: 14px; font-weight: 600; color: var(--text); }

.solution-featured-desc {
    font-size: 12px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.build-chip {
    align-self: flex-start;
    font-size: 10px;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--pill-radius);
    padding: 2px 8px;
}

.build-chip:hover { color: var(--text); }

.solution-link { padding: 0 20px 16px; font-size: 13px; color: var(--accent-link); }

@media (max-width: 900px) {
    .solution-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
    Changelog (2610.58): latest-update strip, release entries with the five
    customer-facing kind headings (chrome strings; colors are brand tokens),
    the collapsed stability row, and the status board (same table, one row
    per product).
    -------------------------------------------------------------------------- */
.latest-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--section);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 14px 20px;
    margin: 0 0 32px;
    font-size: 13px;
}

.latest-strip-link { margin-left: auto; font-size: 13px; }

.release {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 20px 24px;
    margin-bottom: 12px;
}

.release-minor { padding: 12px 24px; }

.release-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.release-version { font-size: 14px; font-weight: 600; color: var(--text); }

.release-minor .release-version { font-weight: 400; color: var(--text-secondary); }

.release-date { font-size: 12px; color: var(--text-secondary); }

.release-stability { font-size: 13px; color: var(--text-secondary); margin: 6px 0 0; }

.release-minor .release-stability { margin: 0; }

.release-items { list-style: none; margin: 12px 0 0; padding: 0; }

.release-items li { padding: 5px 0; font-size: 14px; color: var(--text); }

.release-kind {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 9px;
    border-radius: var(--pill-radius);
    color: #ffffff;
    margin-right: 8px;
    vertical-align: 1px;
}

.release-kind-feature { background: var(--accent-blue); }
.release-kind-improvement { background: var(--accent-purple); }
.release-kind-fix { background: var(--text-secondary); }
.release-kind-security { background: var(--accent-orange); }
.release-kind-notice { background: var(--accent-red); }

/* Feed rhythm (2610.72, operator screenshot: 產品之間「隔了行」) — keep product
   blocks visually grouped: modest title top margin, not a new-page gap. */
.release-product-title { font-size: 24px; font-weight: 600; margin: 20px 0 10px; }
.release-product-title:first-of-type { margin-top: 8px; }

.status-board { display: flex; flex-direction: column; gap: 8px; }

.status-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 14px 20px;
}

.status-product { font-size: 15px; font-weight: 600; color: var(--text); }

.status-version { font-size: 13px; margin-left: auto; }

.status-date { font-size: 12px; color: var(--text-secondary); }

/* Infra row changelog mini dialog (2610.78, operator: 「我想人地click OS.ST
   SERVICE nginx 有一個mini window dialog say changelog」) — native <details>
   like the nav search dialog: open/close needs no JS. */
.status-details { list-style: none; }

.status-details summary { cursor: pointer; list-style: none; }

.status-details summary::-webkit-details-marker { display: none; }

.status-details[open] > .status-row { border-radius: var(--card-radius) var(--card-radius) 0 0; }

.status-changelog {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    padding: 14px 20px;
}

.status-changelog-title { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin: 0 0 10px; }

.status-changelog-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 5px 0; border-top: 1px solid var(--border); font-size: 13px; }

.status-changelog-row:first-of-type { border-top: none; }

.status-changelog-ver { font-weight: 600; white-space: nowrap; }

.status-changelog-text { color: var(--text-secondary); flex: 1; min-width: 200px; }

.status-changelog-none { font-size: 13px; color: var(--text-secondary); margin: 0; }

footer.site-footer .footer-links { font-size: 12px; margin: 0 0 10px; }

/* Admin changelog editor (2610.58): wording rules shown beside the form +
   the item rows (kind select + one-line text). */
.admin-note { font-size: 13px; color: var(--text-secondary); margin: 0 0 6px; }

.admin-note-list { margin: 0 0 18px; padding-left: 20px; font-size: 12.5px; color: var(--text-secondary); }

.admin-items { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin: 18px 0; }

.admin-items legend { font-size: 12px; font-weight: 700; color: var(--text-secondary); padding: 0 6px; }

.admin-item-row { display: flex; gap: 10px; margin-bottom: 8px; }

.admin-item-row select { flex: none; width: 150px; }

.admin-item-row input[type="text"] { flex: 1; }
