:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #111114;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --dark: #050507;
  --accent: #0f766e;
  --amber: #c18a22;
  --mist: #eef4f2;
  --soft: rgba(255,255,255,.72);
  --shadow: 0 24px 80px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); }
button, input, textarea, select { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.site-nav, .app-top { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 44px; background: rgba(245,245,247,.78); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,.05); position: sticky; top: 0; z-index: 10; }
.brand-mark { display: inline-flex; gap: 11px; align-items: center; font-weight: 800; letter-spacing: 0; }
.brand-dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #050507 0%, #123c37 58%, #0f766e 100%); color: #fff; box-shadow: 0 16px 34px rgba(15,118,110,.22); }
.brand-dot::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; transform: rotate(18deg); }
.brand-dot::after { content: ""; position: absolute; width: 18px; height: 1px; background: rgba(255,255,255,.55); transform: rotate(-33deg); }
.brand-dot span { position: relative; z-index: 1; font: 800 10px/1 "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
.site-links { display: flex; gap: 28px; color: #4b4b52; font-size: 14px; }
.nav-actions, .hero-actions, .inline-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.text-btn { background: transparent; color: var(--ink); padding: 9px 6px; }
.dark-btn { background: var(--dark); color: #fff; border-radius: 999px; padding: 11px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.dark-btn.large { padding: 15px 24px; font-weight: 700; }
.soft-btn { background: #f1f1f3; color: var(--ink); border-radius: 999px; padding: 10px 15px; }
.ghost-link { color: #1d1d1f; font-weight: 700; }
.landing-hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr); gap: 52px; align-items: center; padding: 74px 6vw 52px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.landing-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: .98; letter-spacing: 0; }
.lead { margin: 26px 0 0; max-width: 590px; color: #56565c; font-size: 19px; line-height: 1.8; }
.hero-proof { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 24px; }
.hero-proof span { padding: 8px 11px; border: 1px solid rgba(0,0,0,.08); border-radius: 999px; background: rgba(255,255,255,.72); color: #4b4b52; font-size: 13px; backdrop-filter: blur(18px); }
.hero-actions { margin-top: 34px; }
.hero-media { min-height: 560px; display: grid; place-items: center; perspective: 1200px; }
.hero-media img { width: min(100%, 860px); border-radius: 34px; box-shadow: 0 34px 90px rgba(0,0,0,.24); transform: rotateY(-7deg) rotateX(2deg); background: #ddd; transition: transform .45s ease, box-shadow .45s ease; }
.hero-media:hover img { transform: rotateY(-3deg) rotateX(1deg) translateY(-8px); box-shadow: 0 42px 110px rgba(0,0,0,.28); }
.quiet-strip { padding: 56px 6vw; text-align: center; background: #fff; }
.quiet-strip p { margin: 0 auto 22px; font-size: 24px; font-weight: 700; }
.strip-grid { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.strip-grid span { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fbfbfd; }
.product-section, .flow-section, .module-section, .cta-section, .studio-board { padding: 92px 6vw; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .cta-section h2 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.08; letter-spacing: 0; }
.showcase-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.showcase-grid article, .module-list article, .feature-list article, .panel { background: var(--surface); border: 1px solid rgba(0,0,0,.05); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.showcase-main { min-height: 340px; background: linear-gradient(135deg, #101010, #1b3430) !important; color: #fff; }
.showcase-grid span { color: var(--accent); font-weight: 800; }
.showcase-grid h3, .module-list h3, .feature-list h3 { margin: 18px 0 10px; font-size: 24px; }
.showcase-grid p, .module-list p, .feature-list p { color: var(--muted); line-height: 1.75; margin: 0; }
.module-list article { display: grid; align-content: start; gap: 12px; }
.module-list article .soft-btn { justify-self: start; margin-top: 4px; }
.showcase-main p { color: #d8f3ee; }
.studio-board { background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%); }
.board-shell { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 18px; }
.board-tabs { display: grid; align-content: start; gap: 10px; }
.board-tab { text-align: left; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.72); color: #4b4b52; border: 1px solid rgba(0,0,0,.06); transition: .2s ease; }
.board-tab.active, .board-tab:hover { background: #111; color: #fff; transform: translateX(4px); }
.board-screen { min-height: 430px; border: 1px solid rgba(0,0,0,.06); border-radius: 32px; background: radial-gradient(circle at 80% 20%, rgba(15,118,110,.14), transparent 32%), linear-gradient(145deg, rgba(255,255,255,.9), rgba(245,245,247,.78)); box-shadow: var(--shadow); padding: 34px; display: grid; grid-template-columns: minmax(0,.84fr) minmax(300px,1.16fr); gap: 30px; overflow: hidden; transition: background .35s ease; }
.board-screen[data-stage="assets"] { background: radial-gradient(circle at 78% 20%, rgba(193,138,34,.18), transparent 32%), linear-gradient(145deg, rgba(255,255,255,.93), rgba(247,244,238,.86)); }
.board-screen[data-stage="image"] { background: radial-gradient(circle at 78% 22%, rgba(79,70,229,.16), transparent 32%), linear-gradient(145deg, rgba(255,255,255,.93), rgba(242,244,255,.86)); }
.board-screen[data-stage="server"] { background: radial-gradient(circle at 80% 20%, rgba(22,163,74,.15), transparent 32%), linear-gradient(145deg, rgba(255,255,255,.93), rgba(239,247,243,.88)); }
.board-copy { align-self: center; }
.board-copy p:first-child { margin: 0 0 12px; color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.board-copy h3 { margin: 0; font-size: clamp(30px,4vw,54px); line-height: 1.06; letter-spacing: 0; }
.board-copy p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 520px; }
.board-visual { position: relative; min-height: 330px; border-radius: 28px; background: #111; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.board-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.22), transparent 28%), radial-gradient(circle at 82% 78%, rgba(193,138,34,.34), transparent 30%), linear-gradient(135deg, #15171c, #0b2f2d); transition: .35s ease; }
.board-screen[data-stage="assets"] .board-visual::before { background: radial-gradient(circle at 24% 20%, rgba(255,255,255,.25), transparent 30%), radial-gradient(circle at 82% 72%, rgba(193,138,34,.42), transparent 30%), linear-gradient(135deg, #201711, #4a3318); }
.board-screen[data-stage="image"] .board-visual::before { background: radial-gradient(circle at 22% 16%, rgba(255,255,255,.24), transparent 28%), radial-gradient(circle at 78% 72%, rgba(129,140,248,.38), transparent 32%), linear-gradient(135deg, #121420, #22225f); }
.board-screen[data-stage="server"] .board-visual::before { background: radial-gradient(circle at 22% 16%, rgba(255,255,255,.24), transparent 28%), radial-gradient(circle at 78% 74%, rgba(74,222,128,.34), transparent 30%), linear-gradient(135deg, #101817, #12352d); }
.board-visual span { position: absolute; display: block; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); transition: .35s ease; }
.board-visual span:nth-child(1) { width: 42%; height: 34%; left: 8%; top: 12%; }
.board-visual span:nth-child(2) { width: 32%; height: 58%; right: 8%; top: 12%; }
.board-visual span:nth-child(3) { width: 48%; height: 28%; left: 12%; bottom: 12%; }
.board-visual span:nth-child(4) { width: 18%; height: 18%; right: 18%; bottom: 14%; border-radius: 50%; background: rgba(141,225,213,.22); }
.board-screen[data-stage="assets"] .board-visual span:nth-child(1) { width: 76%; height: 16%; left: 12%; top: 15%; }
.board-screen[data-stage="assets"] .board-visual span:nth-child(2) { width: 34%; height: 34%; left: 12%; top: 40%; }
.board-screen[data-stage="assets"] .board-visual span:nth-child(3) { width: 34%; height: 34%; right: 12%; bottom: 14%; }
.board-screen[data-stage="assets"] .board-visual span:nth-child(4) { width: 22%; height: 22%; right: 18%; top: 43%; }
.board-screen[data-stage="image"] .board-visual span:nth-child(1) { width: 34%; height: 62%; left: 10%; top: 18%; }
.board-screen[data-stage="image"] .board-visual span:nth-child(2) { width: 38%; height: 30%; right: 12%; top: 18%; }
.board-screen[data-stage="image"] .board-visual span:nth-child(3) { width: 38%; height: 24%; right: 12%; bottom: 18%; }
.board-screen[data-stage="server"] .board-visual span:nth-child(1) { width: 18%; height: 18%; left: 16%; top: 18%; border-radius: 50%; }
.board-screen[data-stage="server"] .board-visual span:nth-child(2) { width: 18%; height: 18%; right: 16%; top: 18%; border-radius: 50%; }
.board-screen[data-stage="server"] .board-visual span:nth-child(3) { width: 54%; height: 16%; left: 23%; bottom: 22%; }
.board-screen[data-stage="server"] .board-visual span:nth-child(4) { width: 30%; height: 30%; left: 35%; top: 34%; }
.flow-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.flow-line div { background: #fff; min-height: 170px; padding: 28px; display: grid; align-content: center; gap: 10px; }
.flow-line b { font-size: 26px; }
.flow-line span { color: var(--muted); }
.module-list, .feature-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.cta-section { text-align: center; background: #fff; }
.cta-section .dark-btn { margin-top: 24px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 36px 6vw; background: #111; color: #f5f5f7; }
.site-footer p, .record-links { color: #a1a1aa; font-size: 14px; }
.record-links { display: grid; gap: 8px; text-align: right; }
.login-dialog { border: 0; padding: 0; border-radius: 28px; box-shadow: 0 30px 120px rgba(0,0,0,.28); }
.login-dialog::backdrop { background: rgba(0,0,0,.36); backdrop-filter: blur(8px); }
.dialog-card { width: min(430px, 92vw); padding: 30px; background: #fff; border-radius: 28px; position: relative; display: grid; gap: 16px; }
.dialog-card h2 { margin: 0; font-size: 30px; }
.dialog-card label, .panel label { display: grid; gap: 8px; color: #4f4f55; font-size: 13px; margin-bottom: 15px; }
.dialog-card input, .panel input, .panel textarea, .panel select { border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; background: #fff; color: var(--ink); width: 100%; }
.panel textarea { min-height: 126px; resize: vertical; }
.dialog-close { position: absolute; right: 18px; top: 14px; background: transparent; font-size: 28px; color: #777; }
.login-error { margin: -2px 0 0; padding: 11px 13px; border-radius: 14px; background: #fff4f4; border: 1px solid #f1c8c8; color: #8a2525; font-size: 13px; line-height: 1.55; }
.remember-row { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; margin: -4px 0 4px !important; color: #4f4f55; }
.remember-row input { width: 16px !important; height: 16px; margin: 0; padding: 0; accent-color: var(--accent); }
.dialog-card .dark-btn:disabled { opacity: .65; cursor: wait; }
.fine-print, .muted { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.hidden { display: none !important; }

.app-body { background: #f7f7f8; }
.app-top-links { display: flex; align-items: center; gap: 18px; color: #4b4b52; font-size: 14px; }
.app-top-links a { padding: 8px 0; }
.app-top-links .nav { background: transparent; color: #4b4b52; padding: 8px 0; border-radius: 0; }
.app-top-links .nav.active { color: #111; font-weight: 800; }
.tool-main { width: min(1480px, 100%); margin: 0 auto; padding: 34px 44px 54px; }
.app-switcher { display: inline-flex; gap: 4px; padding: 5px; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 14px 42px rgba(0,0,0,.06); }
.app-switcher .nav { min-width: 132px; padding: 10px 16px; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 800; }
.app-switcher .nav.active { background: #111; color: #fff; }
.page { display: none; }
.page.active { display: block; }
.feature-head, .tool-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.feature-head h1, .tool-hero h1 { margin: 0; font-size: 38px; letter-spacing: 0; }
.feature-head p, .tool-hero p { margin: 8px 0 0; color: var(--muted); max-width: 760px; line-height: 1.7; }
.tag { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #e7f6f3; color: var(--accent); font-size: 12px; white-space: nowrap; }
.work-grid, .request-grid { display: grid; grid-template-columns: minmax(360px, 420px) minmax(0,1fr); gap: 18px; align-items: stretch; }
.panel { padding: 0; border-radius: 22px; overflow: hidden; }
.panel h2 { margin: 0; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 18px; }
.panel-body { padding: 22px; }
.request-panel, .result-panel { min-height: 720px; display: flex; flex-direction: column; }
.request-panel .panel-body, .result-panel .panel-body { flex: 1; }
.request-form, .result-flow { display: flex; flex-direction: column; }
.request-form textarea { min-height: 170px; }
.result-flow .drop-zone { flex: 0 0 auto; }
.result-actions { margin-top: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop-zone { min-height: 250px; display: grid; place-items: center; text-align: center; border: 1.5px dashed #bfc0c6; border-radius: 22px; background: linear-gradient(180deg,#fff,#f9f9fb); padding: 28px; }
.drop-zone.drag { border-color: var(--accent); background: #edfdf9; }
.drop-zone strong { font-size: 20px; }
.drop-zone p { color: var(--muted); margin: 8px 0 0; }
.centered-actions { justify-content: center; margin-top: 18px; }
.file-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; max-height: 220px; overflow: auto; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #f8f8fa; border-radius: 14px; color: #555; }
.task-progress { margin-top: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg,#fff,#fafafb); }
.task-progress-top { display: flex; justify-content: space-between; gap: 14px; color: #25252b; font-weight: 800; font-size: 13px; }
.progress-track { height: 8px; margin-top: 11px; border-radius: 999px; background: #e9e9ee; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #111); transition: width .32s ease; }
.task-progress p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.console { min-height: 150px; max-height: 360px; margin-top: 16px; background: #101114; color: #d9fbe7; border-radius: 18px; padding: 16px; white-space: pre-wrap; overflow: auto; font: 13px Consolas, monospace; overscroll-behavior: contain; }
#serverConsole { max-height: 420px; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.result-head b { font-size: 18px; }
.result-head p { margin-top: 4px; }
.result-head .soft-btn:disabled { opacity: .45; cursor: not-allowed; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 14px; margin-top: 16px; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.result-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #eee; }
.result-card div { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.result-error { border-color: #f2c8c8; background: #fffafa; }
.result-error div { color: #6b3030; line-height: 1.65; }
.result-raw { margin-top: 10px; color: #6e6e73; }
.result-raw summary { cursor: pointer; color: #111; font-weight: 700; }
.result-raw pre { max-height: 220px; overflow: auto; white-space: pre-wrap; word-break: break-word; margin: 8px 0 0; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid #f0dada; color: #3f3f46; font: 12px Consolas, monospace; }
.result-card-actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.result-card-actions a { flex: 1; text-align: center; border-radius: 999px; padding: 8px 10px; background: #f1f1f3; color: #111; font-size: 12px; }
.result-card-actions a.primary { background: #111; color: #fff; }
.app-user { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.server-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.server-toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.server-toolbar-actions .soft-btn, #refreshServersBtn { min-height: 32px; padding: 7px 11px; font-size: 12px; line-height: 1.2; }
.server-scope { margin: 0 0 12px; color: #111; font-weight: 800; }
.server-detail { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #f8f8fa; }
.server-detail b { display: block; margin-bottom: 5px; font-size: 16px; }
.server-detail p { margin: 0; color: var(--muted); line-height: 1.6; }
.server-detail-main { min-width: 0; flex: 1; }
.server-metrics { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.server-metrics span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #4b4b52; font-size: 12px; }
.server-metrics .compact { min-height: 32px; padding: 7px 11px; font-size: 12px; }
.server-screenshot-panel { position: relative; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.server-screenshot-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.server-screenshot-head b { display: block; margin-bottom: 2px; color: #111; font-size: 13px; }
.server-screenshot-head span { color: var(--muted); }
.server-screenshot-remove, .server-shot-delete { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid #dedee4; border-radius: 999px; background: #f4f4f6; color: #4f4f55; font-size: 19px; line-height: 1; cursor: pointer; }
.server-screenshot-remove:hover, .server-shot-delete:hover { background: #ececf0; color: #111; }
.server-screenshot-frame { display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: zoom-in; }
.server-screenshot-frame img { display: block; width: 100%; max-height: 420px; object-fit: contain; }
.server-shot-viewer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(13,13,15,.86); backdrop-filter: blur(8px); }
.server-shot-viewer.hidden { display: none; }
.server-shot-viewer-frame { position: relative; display: grid; place-items: center; width: min(1920px, calc(100vw - 48px)); aspect-ratio: 16 / 9; max-height: calc(100vh - 48px); overflow: hidden; background: #111; box-shadow: 0 24px 90px rgba(0,0,0,.45); }
.server-shot-viewer-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.server-shot-delete { position: absolute; right: 12px; top: 12px; z-index: 1; background: rgba(255,255,255,.9); }
.server-schedule-dialog { position: fixed; inset: 0; z-index: 82; display: grid; place-items: center; padding: 24px; background: rgba(15,15,18,.38); backdrop-filter: blur(8px); }
.server-schedule-dialog.hidden { display: none; }
.server-schedule-card { position: relative; width: min(460px, 100%); padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.22); }
.server-schedule-card h3 { margin: 3px 0 8px; font-size: 24px; }
.server-schedule-card label { display: grid; gap: 8px; margin-top: 18px; color: #4f4f55; font-size: 13px; }
.server-schedule-card input { border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; color: var(--ink); background: #fff; }
.server-schedule-presets { display: grid; gap: 10px; margin-top: 18px; }
.server-schedule-presets > span { color: #4f4f55; font-size: 13px; }
.server-schedule-presets > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.server-schedule-preset { min-height: 38px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.server-schedule-preset:hover { border-color: #b9bbc4; background: #f7f7f9; }
.server-schedule-preset.active { border-color: #111; background: #111; color: #fff; }
.server-schedule-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.server-schedule-close { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #555; font-size: 22px; line-height: 1; cursor: pointer; }
.server-schedule-close:hover { background: #f4f4f6; color: #111; }
.product-admin-grid { grid-template-columns: minmax(280px, 360px) minmax(0,1fr); }
.admin-role-status { display: grid; gap: 8px; margin-bottom: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.admin-role-status b { font-size: 16px; }
.admin-role-status p { margin: 0; color: var(--muted); line-height: 1.55; }
.admin-role-status span { display: inline-flex; width: fit-content; max-width: 100%; padding: 7px 10px; border-radius: 999px; background: #f4f4f6; color: #4b4b52; font-size: 12px; overflow-wrap: anywhere; }
.admin-role-status.allowed { border-color: #b8ded8; background: #eef8f6; }
.admin-role-status.allowed b { color: #0f766e; }
.admin-role-status.denied { border-color: #ead8d8; background: #f7f1f1; }
.admin-role-status.denied b { color: #a12828; }
.server-list { display: grid; gap: 12px; }
.server-list.server-overview-grid { grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); }
.server-card { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.15fr); gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg,#fff,#fafafb); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.server-card:hover { border-color: #c8c8ce; box-shadow: 0 12px 34px rgba(0,0,0,.06); transform: translateY(-1px); }
.server-card.selected { border-color: var(--line); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.server-card.summary { display: grid; grid-template-columns: 1fr; min-height: 150px; align-content: space-between; }
.server-card-main { display: grid; gap: 5px; }
.server-card-main b { font-size: 17px; }
.server-card-main span { color: var(--muted); font-size: 13px; word-break: break-all; }
.server-card-main p { margin: 4px 0 0; color: #555; line-height: 1.55; font-size: 13px; }
.server-card-main small { display: inline-flex; width: fit-content; max-width: 100%; margin-top: 10px; padding: 6px 9px; border-radius: 999px; background: #edf7f5; color: #0f766e; font-size: 12px; line-height: 1.35; }
.server-card-foot { color: var(--muted); font-size: 12px; }
.server-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.server-action-btn { display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 30px; padding: 0 8px; border: 1px solid #e1e1e6; border-radius: 999px; background: #f4f4f6; color: #26262b; font-size: 12px; font-weight: 650; line-height: 1; white-space: nowrap; box-shadow: none; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.server-action-btn:hover { background: #ebebef; border-color: #d5d5db; }
.server-action-btn:focus-visible { outline: 2px solid rgba(15,118,110,.24); outline-offset: 2px; }
.server-action-btn:disabled, .server-action-btn.busy { opacity: .55; cursor: wait; background: #eeeeef; color: #6b6b72; }
.server-action-btn.danger { color: #a12828; background: #f7f1f1; border-color: #ead8d8; }
.server-action-btn.danger:hover { background: #f2e7e7; border-color: #ddbebe; }
.danger { color: #a12828; }
#page-servers .request-grid { grid-template-columns: minmax(280px, 360px) minmax(0,1fr); }
#page-servers .server-sidebar-panel { min-height: 720px; }
#page-servers .server-sidebar-panel h2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#page-servers .server-sidebar-panel > .panel-body { display: none; }
#page-servers .result-panel { min-height: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid #d9d9df; border-radius: 999px; background: #f1f1f3; color: #3f3f46; font-size: 17px; line-height: 1; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.icon-btn:hover { background: #e7f6f3; border-color: #b7ded8; color: #0f766e; }
.server-sidebar-list { display: grid; gap: 10px; padding: 16px; }
.server-nav-item { display: grid; gap: 5px; width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.server-nav-item:hover { border-color: #bdbdc4; box-shadow: 0 10px 26px rgba(0,0,0,.05); }
.server-nav-item.active { border-color: #b8ded8; background: #eef8f6; box-shadow: 0 10px 26px rgba(15,118,110,.08); }
.server-nav-item.active b { color: #0f766e; }
.server-nav-item.active span { color: #315c57; }
.server-nav-item b { color: #111; font-size: 14px; }
.server-nav-item span { color: var(--muted); font-size: 12px; word-break: break-all; line-height: 1.45; }
.server-verify { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px 16px; margin-bottom: 14px; padding: 14px 16px; border: 1px solid #d7eee9; border-radius: 18px; background: #f1fbf8; }
.server-verify b { display: block; margin-bottom: 4px; color: #0f766e; }
.server-verify p { margin: 0; color: #42524f; font-size: 13px; }
.server-verify .progress-track { grid-column: 1 / -1; margin-top: 0; }
.dialog-close { display: none; }
body.server-form-open::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(15,15,18,.38); backdrop-filter: blur(8px); }
body.server-form-open #page-servers .server-sidebar-panel > .panel-body { display: flex; position: fixed; z-index: 41; left: 50%; top: 50%; width: min(520px, calc(100vw - 36px)); max-height: min(760px, calc(100vh - 36px)); min-height: 0; overflow: auto; transform: translate(-50%, -50%); box-shadow: 0 30px 90px rgba(0,0,0,.25); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 54px 22px 22px; }
body.server-form-open .server-form-close { display: inline-grid; place-items: center; position: absolute; z-index: 42; right: 14px; top: 14px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #111; font-size: 20px; line-height: 1; }
@media (max-width: 1020px) {
  .site-nav { padding: 0 20px; }
  .site-links { display: none; }
  .landing-hero, .showcase-grid, .work-grid, .request-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: auto; }
  .module-list, .feature-list, .flow-line, .board-shell, .board-screen { grid-template-columns: 1fr; }
  .board-tabs { grid-template-columns: repeat(4, minmax(150px,1fr)); overflow-x: auto; }
  .board-tab.active, .board-tab:hover { transform: translateY(-2px); }
  .app-top { gap: 14px; }
  .app-top-links { display: none; }
  .request-panel, .result-panel { min-height: auto; }
  #page-servers .request-grid { grid-template-columns: minmax(0,1fr); }
  #page-servers .server-sidebar-panel { min-height: auto; }
  #page-servers .result-panel { min-width: 0; }
  #page-servers .server-toolbar { align-items: stretch; }
  #page-servers .server-toolbar-actions { width: 100%; }
  #page-servers .server-toolbar-actions .soft-btn, #page-servers #refreshServersBtn { min-height: 30px; padding: 7px 10px; }
  #page-servers .server-detail { align-items: flex-start; }
  #page-servers .server-metrics { justify-content: flex-start; }
  #page-servers .server-card { grid-template-columns: minmax(0,1fr); align-items: stretch; }
  #page-servers .server-card-main { min-width: 0; }
  #page-servers .server-card-main b, #page-servers .server-card-main span, #page-servers .server-card-main p { overflow-wrap: anywhere; word-break: normal; }
  #page-servers .server-actions { justify-content: flex-start; }
  #page-servers .server-action-btn { flex: 1 1 104px; width: auto; min-width: 0; }
}
@media (max-width: 640px) {
  .nav-actions { gap: 4px; }
  .landing-hero, .product-section, .flow-section, .module-section, .cta-section, .studio-board { padding-left: 22px; padding-right: 22px; }
  .lead { font-size: 16px; }
  .board-screen { padding: 22px; border-radius: 24px; }
  .board-visual { min-height: 240px; border-radius: 22px; }
  .module-list, .feature-list, .flow-line, .two-col { grid-template-columns: 1fr; }
  .site-footer, .feature-head, .tool-hero { display: block; }
  .record-links { text-align: left; margin-top: 20px; }
  .tool-main { padding: 22px 18px 36px; }
  .app-switcher { display: flex; width: 100%; }
  .app-switcher .nav { flex: 1; min-width: 0; padding-left: 10px; padding-right: 10px; }
  .app-top { padding: 0 18px; }
  .app-user { gap: 8px; font-size: 13px; }
  .console, #serverConsole { max-height: 300px; }
  .server-detail { display: block; }
  .server-metrics { justify-content: flex-start; margin-top: 12px; }
  #page-servers .server-card { padding: 14px; }
  #page-servers .server-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  #page-servers .server-action-btn { width: 100%; height: 34px; padding: 0 6px; font-size: 11px; }
  #page-servers .server-toolbar-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  #page-servers .server-toolbar-actions .soft-btn, #page-servers #refreshServersBtn { width: 100%; min-height: 34px; padding: 7px 8px; font-size: 11px; }
  #page-servers .server-detail { padding: 14px; }
  #page-servers .server-metrics span { max-width: 100%; overflow-wrap: anywhere; }
  #page-servers .server-sidebar-list { padding: 14px; }
  #serverConsole { max-height: 260px; }
}
