
  .gcube-protocol{
    --bg:#0f1420; --panel:#161d2e; --panel2:#1d2740; --line:#2a3550;
    --text:#e6ecf7; --muted:#9fb0cc; --accent:#4f9dff; --accent2:#38d39f;
    --warn:#ffb454; --danger:#ff6b7a; --code:#0b0f18; --chip:#243050;
    --tx:#4f9dff; --rx:#38d39f;
  }
  .gcube-protocol *{box-sizing:border-box}
  .gcube-protocol{margin:0;font-family:"Segoe UI","Malgun Gothic",system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;font-size:15px}
  .gcube-protocol header{background:linear-gradient(120deg,#16203a,#0f1420);border-bottom:1px solid var(--line);padding:26px 32px}
  .gcube-protocol header h1{margin:0;font-size:26px;letter-spacing:-.3px}
  .gcube-protocol header p{margin:6px 0 0;color:var(--muted);font-size:14px}
  .gcube-protocol .wrap{max-width:1180px;margin:0 auto;padding:0 20px}
  .gcube-protocol .tabbar{position:sticky;top:0;z-index:20;background:rgba(15,20,32,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:4px;padding:8px 12px}
  .gcube-protocol .tabbar button{background:transparent;border:1px solid transparent;color:var(--muted);padding:8px 14px;border-radius:8px;cursor:pointer;font-size:13.5px;font-weight:600}
  .gcube-protocol .tabbar button:hover{color:var(--text);background:var(--panel)}
  .gcube-protocol .tabbar button.active{color:#fff;background:var(--accent);border-color:var(--accent)}
  .gcube-protocol main{padding:28px 0 80px}
  .gcube-protocol .tab{display:none;animation:fade .25s ease}
  .gcube-protocol .tab.active{display:block}
  @keyframes fade{from{opacity:0;transform:translateY(4px)}to{opacity:1}}
  .gcube-protocol h2{font-size:22px;margin:8px 0 4px;padding-bottom:8px;border-bottom:2px solid var(--accent)}
  .gcube-protocol h3{font-size:17px;margin:26px 0 8px;color:#cfe0ff}
  .gcube-protocol h4{font-size:15px;margin:18px 0 6px;color:var(--accent2)}
  .gcube-protocol p{margin:8px 0}
  .gcube-protocol .card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin:16px 0}
  .gcube-protocol .muted{color:var(--muted)}
  .gcube-protocol .lead{font-size:15.5px;color:#c7d5ee}
  .gcube-protocol code{background:var(--code);border:1px solid var(--line);border-radius:5px;padding:1px 6px;font-family:"Cascadia Code",Consolas,monospace;font-size:13px;color:#ffd479}
  .gcube-protocol pre{background:var(--code);border:1px solid var(--line);border-radius:10px;padding:14px 16px;overflow:auto;font-family:"Cascadia Code",Consolas,monospace;font-size:13px;line-height:1.55}
  .gcube-protocol pre code{background:none;border:none;padding:0;color:#dfe7f5}
  .gcube-protocol table{width:100%;border-collapse:collapse;margin:12px 0;font-size:13.5px}
  .gcube-protocol th, .gcube-protocol td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
  .gcube-protocol th{background:var(--panel2);color:#dbe7ff;font-weight:600}
  .gcube-protocol tr:nth-child(even) td{background:rgba(255,255,255,.02)}
  .gcube-protocol .op{color:var(--warn);font-weight:700;font-family:Consolas,monospace}
  .gcube-protocol .tag{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:20px;margin-right:6px}
  .gcube-protocol .tag.tx{background:rgba(79,157,255,.18);color:#8cc0ff;border:1px solid #34568f}
  .gcube-protocol .tag.rx{background:rgba(56,211,159,.16);color:#6ee7bf;border:1px solid #2c7a5f}
  .gcube-protocol .tag.set{background:rgba(255,180,84,.14);color:#ffcf8a;border:1px solid #7a5a2c}
  .gcube-protocol .note{border-left:4px solid var(--accent);background:rgba(79,157,255,.07);padding:10px 14px;border-radius:0 8px 8px 0;margin:12px 0}
  .gcube-protocol .warn{border-left:4px solid var(--warn);background:rgba(255,180,84,.07)}
  .gcube-protocol .danger{border-left:4px solid var(--danger);background:rgba(255,107,122,.07)}
  .gcube-protocol .bytes{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0;font-family:Consolas,monospace;font-size:12.5px}
  .gcube-protocol .byte{background:var(--chip);border:1px solid var(--line);border-radius:6px;padding:6px 4px;text-align:center;min-width:44px}
  .gcube-protocol .byte b{display:block;font-size:14px;color:#ffd479}
  .gcube-protocol .byte span{display:block;font-size:9.5px;color:var(--muted);margin-top:2px}
  .gcube-protocol .byte.h{background:#22304f;border-color:#3a5488}
  .gcube-protocol .byte.v{background:#1f3a30;border-color:#2c7a5f}
  .gcube-protocol .grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  @media(max-width:820px){.gcube-protocol .grid2{grid-template-columns:1fr}.gcube-protocol .tabbar{overflow-x:auto;flex-wrap:nowrap}}
  .gcube-protocol .kbd{font-family:Consolas,monospace;background:#22304f;border:1px solid #3a5488;border-radius:4px;padding:1px 6px;font-size:12px;color:#cfe0ff}
  .gcube-protocol .toc a{color:var(--accent);text-decoration:none}
  .gcube-protocol .toc a:hover{text-decoration:underline}
  .gcube-protocol footer{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:12.5px;text-align:center}
  .gcube-protocol .pill{font-size:12px;background:var(--chip);border:1px solid var(--line);border-radius:20px;padding:3px 10px;color:#cfe0ff;margin-right:6px;display:inline-block}

  /* ===== 라이트(흰색) 테마 오버라이드 ===== */
  .gcube-protocol{
    --bg:#ffffff; --panel:#f7f9fc; --panel2:#eef2f8; --line:#dde3ee;
    --text:#1b2431; --muted:#5c6b82; --accent:#2563eb; --accent2:#0d9488;
    --warn:#b45309; --danger:#dc2626; --code:#f5f7fa; --chip:#eef2f9;
    --tx:#2563eb; --rx:#0d9488;
  }
  .gcube-protocol header{background:linear-gradient(120deg,#eef3fc,#f7f9fc)}
  .gcube-protocol .tabbar{background:rgba(255,255,255,.96)}
  .gcube-protocol .lead{color:#33415c}
  .gcube-protocol h3{color:#1d4ed8}
  .gcube-protocol th{color:#1b2b45}
  .gcube-protocol code{color:#b03a2e}
  .gcube-protocol pre code{color:#1b2431}
  .gcube-protocol tr:nth-child(even) td{background:#f7f9fc}
  .gcube-protocol .op{color:#b45309}
  .gcube-protocol .byte b{color:#b03a2e}
  .gcube-protocol .byte.h{background:#e6efff;border-color:#bcd4ff}
  .gcube-protocol .byte.v{background:#e3f5ec;border-color:#ade3cd}
  .gcube-protocol .tag.tx{background:#e5efff;color:#1d4ed8;border-color:#b9d3ff}
  .gcube-protocol .tag.rx{background:#e2f6ef;color:#0a7a5c;border-color:#a7e3ce}
  .gcube-protocol .tag.set{background:#fdf1dd;color:#a15c07;border-color:#f0d6a0}
  .gcube-protocol .kbd{background:#eef2f9;border-color:#cfd9ea;color:#1d4ed8}
  .gcube-protocol .pill{color:#1b2b45}
  .gcube-protocol .note{background:#eef4ff}
  .gcube-protocol .warn{background:#fdf5e8}
  .gcube-protocol .danger{background:#fdecec}


/* WordPress embedded layout overrides */
.gcube-protocol {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text, #1b2431);
  overflow: visible;
}
.gcube-protocol .wrap { max-width: none; width: 100%; padding-left: 0; padding-right: 0; }
.gcube-protocol main.wrap { padding-top: 18px; padding-bottom: 36px; }
.gcube-protocol .tabbar.wrap {
  position: static;
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}
.gcube-protocol .tabbar button:first-child { margin-left: 0; }
.gcube-protocol .card { max-width: 100%; }
.gcube-protocol pre { max-width: 100%; }
.gcube-protocol table { display: table; max-width: 100%; }
@media(max-width: 820px){
  .gcube-protocol .tabbar.wrap { overflow-x:auto; flex-wrap:nowrap; padding-bottom:10px; }
  .gcube-protocol .tabbar button { flex:0 0 auto; white-space:nowrap; }
  .gcube-protocol table { display:block; overflow-x:auto; white-space:nowrap; }
}

/* ===== Developer docs left accordion normalization (V5) =====
   Applied only after protocol.js confirms START/G CUBE/S CUBE/FIRMWARE structure. */
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner > .notice-item {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner .notice-info,
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner .notice-title {
  display: block !important;
  width: 100% !important;
}
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner .notice-title {
  margin: 0 !important;
}
/* Keep the existing site's visual rhythm while ensuring each post gets its own row. */
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner > .notice-item + .notice-item {
  margin-top: 10px !important;
}

/* ===== Developer docs visual hierarchy (V6) ===== */
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner {
  border-left: 1px solid #dfe4ec;
  margin: 4px 0 2px 4px;
  padding-left: 14px !important;
}
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner > .notice-item {
  position: relative;
  padding: 3px 0 !important;
  text-decoration: none !important;
}
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner .notice-title::before {
  content: "—";
  display: inline-block;
  margin-right: 8px;
  color: currentColor;
  opacity: .42;
  font-weight: 500;
}
.notice-list-side.rr-cube-docs-sidebar .notice-list-inner > .notice-item:hover .notice-title::before {
  opacity: .8;
}

/* Rich article layout used by START / G CUBE overview / Firmware posts. */
.rr-doc-page {
  --rr-accent: #2563eb;
  --rr-accent-soft: #eef4ff;
  --rr-text: #1f2937;
  --rr-muted: #64748b;
  --rr-line: #dfe5ee;
  --rr-panel: #f8fafc;
  color: var(--rr-text);
  width: 100%;
  font-size: 15px;
  line-height: 1.7;
}
.rr-doc-page * { box-sizing: border-box; }
.rr-doc-page .rr-doc-hero {
  border: 1px solid #d9e4f6;
  border-radius: 14px;
  padding: 26px 28px;
  margin: 4px 0 30px;
  background: linear-gradient(135deg,#f3f7ff 0%,#fbfdff 70%);
}
.rr-doc-page .rr-doc-hero-compact { padding-top: 24px; padding-bottom: 24px; }
.rr-doc-page .rr-doc-kicker {
  color: var(--rr-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.rr-doc-page .rr-doc-hero h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.35;
  color: #172033;
}
.rr-doc-page .rr-doc-hero p { margin: 0; color: #45556f; max-width: 980px; }
.rr-doc-page .rr-doc-chip-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.rr-doc-page .rr-doc-chip,
.rr-doc-page .rr-doc-status-badge {
  display:inline-flex; align-items:center; border:1px solid #cbdcf8; background:#fff;
  border-radius:999px; padding:4px 10px; color:#34527d; font-size:12px; font-weight:700;
}
.rr-doc-page .rr-doc-section { margin: 34px 0; }
.rr-doc-page .rr-doc-section-head {
  display:flex; gap:13px; align-items:flex-start; margin-bottom:16px;
}
.rr-doc-page .rr-doc-section-index {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
  min-width:32px; height:24px; border-radius:6px; background:var(--rr-accent-soft);
  color:var(--rr-accent); font-size:11px; font-weight:800;
}
.rr-doc-page .rr-doc-section-head h2 { margin:0; font-size:21px; line-height:1.35; }
.rr-doc-page .rr-doc-section-head p { margin:3px 0 0; color:var(--rr-muted); font-size:14px; }
.rr-doc-page .rr-doc-card-grid { display:grid; gap:14px; }
.rr-doc-page .rr-doc-card-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.rr-doc-page .rr-doc-card-grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.rr-doc-page .rr-doc-card {
  border:1px solid var(--rr-line); border-radius:12px; background:#fff; padding:18px;
}
.rr-doc-page .rr-doc-card-label { color:var(--rr-accent); font-size:10px; font-weight:800; letter-spacing:.07em; margin-bottom:7px; }
.rr-doc-page .rr-doc-card h3 { margin:0 0 7px; font-size:16px; color:#1d2d46; }
.rr-doc-page .rr-doc-card p { margin:0; color:#5b6678; font-size:14px; line-height:1.62; }
.rr-doc-page .rr-doc-flow {
  display:flex; align-items:stretch; gap:8px; border:1px solid var(--rr-line); border-radius:12px; padding:14px; background:var(--rr-panel);
}
.rr-doc-page .rr-doc-flow-step { flex:1; display:flex; gap:10px; align-items:center; min-width:0; }
.rr-doc-page .rr-doc-flow-step > b { display:flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:50%; background:#fff; border:1px solid #cdd8e8; color:var(--rr-accent); font-size:12px; }
.rr-doc-page .rr-doc-flow-step span { display:flex; flex-direction:column; min-width:0; }
.rr-doc-page .rr-doc-flow-step strong { font-size:14px; }
.rr-doc-page .rr-doc-flow-step small { color:var(--rr-muted); font-size:12px; white-space:normal; }
.rr-doc-page .rr-doc-flow-arrow { color:#9aa8bc; align-self:center; }
.rr-doc-page .rr-doc-callout {
  border-left:4px solid var(--rr-accent); background:var(--rr-accent-soft); border-radius:0 10px 10px 0; padding:15px 18px; margin:28px 0;
}
.rr-doc-page .rr-doc-callout strong { display:block; margin-bottom:4px; }
.rr-doc-page .rr-doc-callout p { margin:0; color:#4b5c75; }
.rr-doc-page .rr-doc-callout-muted { background:#f8fafc; border-left-color:#94a3b8; }
.rr-doc-page .rr-doc-metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 0 30px; }
.rr-doc-page .rr-doc-metric { border:1px solid var(--rr-line); border-radius:12px; padding:15px 16px; background:#fff; }
.rr-doc-page .rr-doc-metric span { display:block; color:var(--rr-muted); font-size:11px; font-weight:700; margin-bottom:4px; }
.rr-doc-page .rr-doc-metric strong { display:block; font-size:16px; color:#1d2d46; }
.rr-doc-page .rr-doc-metric small { display:block; color:#718096; margin-top:2px; font-size:12px; }
.rr-doc-page .rr-doc-table-card { border:1px solid var(--rr-line); border-radius:12px; overflow:hidden; background:#fff; }
.rr-doc-page .rr-doc-table { width:100%; border-collapse:collapse; margin:0; }
.rr-doc-page .rr-doc-table th,
.rr-doc-page .rr-doc-table td { border:0; border-bottom:1px solid #e7ebf1; padding:11px 13px; vertical-align:top; }
.rr-doc-page .rr-doc-table tr:last-child td { border-bottom:0; }
.rr-doc-page .rr-doc-table th { background:#f4f7fb; color:#334155; font-size:13px; font-weight:700; }
.rr-doc-page .rr-doc-table td:first-child { width:25%; color:#435168; }
.rr-doc-page code { background:#f3f5f8; border:1px solid #e1e6ed; border-radius:4px; padding:1px 5px; font-family:Consolas,monospace; font-size:.92em; }
.rr-doc-page .rr-doc-stack { border:1px solid var(--rr-line); border-radius:12px; overflow:hidden; }
.rr-doc-page .rr-doc-stack-row { display:grid; grid-template-columns:110px 1fr 30px 1fr 1.2fr; gap:10px; align-items:center; padding:13px 15px; border-bottom:1px solid var(--rr-line); }
.rr-doc-page .rr-doc-stack-row:last-child { border-bottom:0; }
.rr-doc-page .rr-doc-stack-tag { font-size:10px; font-weight:800; color:var(--rr-accent); }
.rr-doc-page .rr-doc-stack-row i { color:#94a3b8; font-style:normal; text-align:center; }
.rr-doc-page .rr-doc-stack-row small { color:var(--rr-muted); }
.rr-doc-page .rr-doc-version-line { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:1px 0 8px; }
.rr-doc-page .rr-doc-version-badge { display:inline-flex; padding:5px 11px; border-radius:7px; background:var(--rr-accent); color:#fff; font-weight:800; font-size:14px; }
.rr-doc-page .rr-doc-summary-grid { margin:0 0 34px; }
.rr-doc-page .rr-doc-change { border:1px solid var(--rr-line); border-left:4px solid #b9cbea; border-radius:9px; padding:17px 19px; margin:13px 0; background:#fff; }
.rr-doc-page .rr-doc-change-head { display:flex; align-items:center; gap:10px; margin-bottom:9px; }
.rr-doc-page .rr-doc-change-tag { display:inline-flex; padding:3px 7px; border-radius:5px; background:var(--rr-accent-soft); color:var(--rr-accent); font-size:10px; font-weight:800; }
.rr-doc-page .rr-doc-change h3 { margin:0; font-size:16px; color:#24334b; }
.rr-doc-page .rr-doc-change p { margin:0; }
.rr-doc-page .rr-doc-change ul { margin:7px 0 0 19px; padding:0; }
.rr-doc-page .rr-doc-change li { margin:4px 0; }
.rr-doc-page .rr-doc-table-card-compact { margin-top:10px; }
.rr-doc-page .rr-doc-note-text { margin-top:10px !important; color:#5f6b7d; font-size:13px; }
.rr-doc-page .rr-doc-timeline { border-left:2px solid #d7e1f1; margin-left:8px; padding-left:22px; }
.rr-doc-page .rr-doc-timeline-item { position:relative; display:grid; grid-template-columns:110px 1fr; gap:14px; padding:5px 0 20px; }
.rr-doc-page .rr-doc-timeline-item::before { content:""; position:absolute; width:9px; height:9px; border-radius:50%; background:var(--rr-accent); left:-27px; top:11px; }
.rr-doc-page .rr-doc-timeline-item time { color:var(--rr-accent); font-weight:700; font-size:13px; }
.rr-doc-page .rr-doc-timeline-item strong { display:block; }
.rr-doc-page .rr-doc-timeline-item p { margin:3px 0 0; color:var(--rr-muted); }
.rr-doc-page .rr-doc-template-note { margin-bottom:10px; }
@media(max-width:980px){
  .rr-doc-page .rr-doc-card-grid-4,.rr-doc-page .rr-doc-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .rr-doc-page .rr-doc-card-grid-3{grid-template-columns:1fr;}
  .rr-doc-page .rr-doc-flow{flex-direction:column;}
  .rr-doc-page .rr-doc-flow-arrow{transform:rotate(90deg);}
  .rr-doc-page .rr-doc-stack-row{grid-template-columns:90px 1fr 22px 1fr;}
  .rr-doc-page .rr-doc-stack-row small{grid-column:2 / -1;}
}
@media(max-width:640px){
  .rr-doc-page .rr-doc-hero{padding:20px;}
  .rr-doc-page .rr-doc-hero h2{font-size:22px;}
  .rr-doc-page .rr-doc-card-grid-4,.rr-doc-page .rr-doc-metric-grid{grid-template-columns:1fr;}
  .rr-doc-page .rr-doc-timeline-item{grid-template-columns:1fr;gap:3px;}
}

/* ===== START introduction refinements (V7) ===== */
.rr-doc-page .rr-doc-intro-hero {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 30px;
}
.rr-doc-page .rr-doc-intro-hero::after {
  content: "DEV";
  position: absolute;
  right: 24px;
  bottom: -18px;
  font-size: 86px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.05em;
  color: #2563eb;
  opacity: .045;
  pointer-events: none;
}
.rr-doc-page .rr-doc-capability-grid .rr-doc-card { min-height: 158px; }
.rr-doc-page .rr-doc-family-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.rr-doc-page .rr-doc-family-card {
  border: 1px solid var(--rr-line);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}
.rr-doc-page .rr-doc-family-card-active { border-color: #c9d9f4; background: #fbfdff; }
.rr-doc-page .rr-doc-family-card-muted { background: #fafbfc; }
.rr-doc-page .rr-doc-family-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.rr-doc-page .rr-doc-family-mark {
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:10px; background:var(--rr-accent); color:#fff;
  font-size:18px; font-weight:800;
}
.rr-doc-page .rr-doc-family-card-muted .rr-doc-family-mark { background:#7b8798; }
.rr-doc-page .rr-doc-family-state { color:#728096; font-size:10px; font-weight:800; letter-spacing:.07em; }
.rr-doc-page .rr-doc-family-card h3 { margin:0 0 8px; font-size:19px; color:#1f2e45; }
.rr-doc-page .rr-doc-family-card p { margin:0; color:#526078; }
.rr-doc-page .rr-doc-family-meta { display:flex; flex-wrap:wrap; gap:7px; margin-top:15px; }
.rr-doc-page .rr-doc-family-meta span { border:1px solid #dce4ef; border-radius:999px; padding:3px 8px; font-size:11px; color:#596a82; background:#fff; }
.rr-doc-page .rr-doc-access-grid { border:1px solid var(--rr-line); border-radius:12px; overflow:hidden; background:#fff; }
.rr-doc-page .rr-doc-access-item { display:grid; grid-template-columns:190px 1fr; gap:18px; padding:15px 17px; border-bottom:1px solid var(--rr-line); }
.rr-doc-page .rr-doc-access-item:last-child { border-bottom:0; }
.rr-doc-page .rr-doc-access-item strong { color:#263752; }
.rr-doc-page .rr-doc-access-item span { color:var(--rr-muted); }
.rr-doc-page .rr-doc-intro-callout { margin-top:30px; }
@media(max-width:760px){
  .rr-doc-page .rr-doc-family-grid{grid-template-columns:1fr;}
  .rr-doc-page .rr-doc-access-item{grid-template-columns:1fr;gap:4px;}
}

/* ===== V8: intro notice & documentation-in-progress state ===== */
.rr-doc-page .rr-doc-ai-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
}
.rr-doc-page .rr-doc-ai-notice .rr-doc-ai-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.rr-doc-page .rr-doc-ai-notice strong { display:block; color:#334155; margin-bottom:2px; }
.rr-doc-page .rr-doc-ai-notice p { margin:0; font-size:13.5px; line-height:1.65; }
.rr-doc-page .rr-doc-ai-notice a { color:var(--rr-accent); text-decoration:none; }
.rr-doc-page .rr-doc-ai-notice a:hover { text-decoration:underline; }

.rr-doc-placeholder-page { min-height: 420px; }
.rr-doc-page .rr-doc-placeholder {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 54px 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: linear-gradient(180deg,#fbfdff 0%,#f8fafc 100%);
}
.rr-doc-page .rr-doc-placeholder-kicker {
  margin-bottom: 16px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.rr-doc-page .rr-doc-placeholder-icon {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 24px;
  margin-bottom: 14px;
}
.rr-doc-page .rr-doc-placeholder-icon span {
  display:block;
  width:7px;
  height:7px;
  border-radius:50%;
  background: var(--rr-accent);
  opacity:.28;
  animation: rr-doc-building 1.5s ease-in-out infinite;
}
.rr-doc-page .rr-doc-placeholder-icon span:nth-child(2){ animation-delay:.18s; }
.rr-doc-page .rr-doc-placeholder-icon span:nth-child(3){ animation-delay:.36s; }
@keyframes rr-doc-building {
  0%, 100% { transform:translateY(0); opacity:.25; }
  50% { transform:translateY(-5px); opacity:.85; }
}
.rr-doc-page .rr-doc-status-badge-building {
  display:inline-flex;
  margin-bottom:14px;
  padding:5px 10px;
  border-radius:999px;
  background:var(--rr-accent-soft);
  color:var(--rr-accent);
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
}
.rr-doc-page .rr-doc-placeholder h2 { margin:0 0 8px; font-size:22px; color:#1f2937; }
.rr-doc-page .rr-doc-placeholder p { max-width:620px; margin:0; color:#64748b; }
.rr-doc-page .rr-doc-placeholder small { margin-top:10px; color:#94a3b8; font-size:12px; }
.rr-doc-page .rr-doc-placeholder-progress {
  width:min(340px, 72%);
  height:5px;
  margin-top:24px;
  overflow:hidden;
  border-radius:999px;
  background:#e2e8f0;
}
.rr-doc-page .rr-doc-placeholder-progress span {
  display:block;
  width:38%;
  height:100%;
  border-radius:inherit;
  background:var(--rr-accent);
  opacity:.55;
}
@media(max-width:640px){
  .rr-doc-page .rr-doc-ai-notice { flex-direction:column; }
  .rr-doc-placeholder-page { min-height:320px; }
  .rr-doc-page .rr-doc-placeholder { min-height:300px; padding:40px 20px; }
}


/* ===== Compact G CUBE overview lists + planned-document state (V9) ===== */
.rr-doc-page .rr-doc-device-list,
.rr-doc-page .rr-doc-comm-list {
  border-top: 1px solid var(--rr-line);
  border-bottom: 1px solid var(--rr-line);
}
.rr-doc-page .rr-doc-device-row {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 24px;
  align-items: start;
  padding: 15px 10px;
  border-bottom: 1px solid #e8edf3;
}
.rr-doc-page .rr-doc-device-row:last-child { border-bottom: 0; }
.rr-doc-page .rr-doc-device-type { display:flex; flex-direction:column; gap:2px; }
.rr-doc-page .rr-doc-device-type span {
  color: var(--rr-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
}
.rr-doc-page .rr-doc-device-type strong { font-size: 15px; color:#25344c; }
.rr-doc-page .rr-doc-device-row p { margin:0; color:#5f6b7d; line-height:1.65; }

.rr-doc-page .rr-doc-comm-row {
  display:grid;
  grid-template-columns: 120px 260px minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:15px 10px;
  border-bottom:1px solid #e8edf3;
}
.rr-doc-page .rr-doc-comm-row:last-child { border-bottom:0; }
.rr-doc-page .rr-doc-comm-row > span { color:var(--rr-accent); font-size:10px; font-weight:800; letter-spacing:.06em; }
.rr-doc-page .rr-doc-comm-row > strong { color:#25344c; font-size:14px; }
.rr-doc-page .rr-doc-comm-row > p { margin:0; color:#64748b; font-size:13px; line-height:1.55; }

/* Static planned state: deliberately no loader, progress bar, or animation. */
.rr-doc-placeholder-page { min-height: 390px; }
.rr-doc-page .rr-doc-placeholder.rr-doc-upcoming {
  min-height: 360px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:44px 48px;
  border:1px dashed #cdd8e8;
  border-radius:14px;
  background:#fbfcfe;
  text-align:left;
}
.rr-doc-page .rr-doc-upcoming .rr-doc-placeholder-kicker { margin-bottom:18px; }
.rr-doc-page .rr-doc-upcoming-mark {
  width:48px;
  height:54px;
  border:1.5px solid #b9c8dc;
  border-radius:7px;
  position:relative;
  margin-bottom:16px;
  background:#fff;
}
.rr-doc-page .rr-doc-upcoming-mark::before,
.rr-doc-page .rr-doc-upcoming-mark::after {
  content:"";
  position:absolute;
  left:11px;
  right:11px;
  height:1px;
  background:#d7e0eb;
}
.rr-doc-page .rr-doc-upcoming-mark::before { top:17px; box-shadow:0 8px 0 #d7e0eb, 0 16px 0 #d7e0eb; }
.rr-doc-page .rr-doc-upcoming-mark span::before,
.rr-doc-page .rr-doc-upcoming-mark span::after {
  content:"";
  position:absolute;
  background:var(--rr-accent);
  border-radius:2px;
}
.rr-doc-page .rr-doc-upcoming-mark span::before { width:14px; height:2px; right:-6px; bottom:7px; }
.rr-doc-page .rr-doc-upcoming-mark span::after { width:2px; height:14px; right:0; bottom:1px; }
.rr-doc-page .rr-doc-status-badge-upcoming {
  margin-bottom:12px;
  background:#f1f5f9;
  border-color:#dbe3ed;
  color:#526174;
}
.rr-doc-page .rr-doc-upcoming h2 { margin:0 0 8px; font-size:22px; color:#1f2937; }
.rr-doc-page .rr-doc-upcoming > p { max-width:680px; margin:0; color:#64748b; }
.rr-doc-page .rr-doc-upcoming-note {
  display:flex;
  gap:12px;
  align-items:baseline;
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid #e4eaf1;
  width:min(680px,100%);
}
.rr-doc-page .rr-doc-upcoming-note strong { color:#334155; font-size:13px; }
.rr-doc-page .rr-doc-upcoming-note span { color:#7a8799; font-size:13px; }
.rr-doc-page .rr-doc-upcoming .rr-doc-placeholder-icon,
.rr-doc-page .rr-doc-upcoming .rr-doc-placeholder-progress { display:none !important; }

/* Make the category label feel clickable while the arrow remains a separate toggle target. */
.notice-list-side.rr-cube-docs-sidebar .notice-accordion-btn { cursor:pointer; }
.notice-list-side.rr-cube-docs-sidebar .notice-accordion-icon { cursor:pointer; }

@media(max-width:760px){
  .rr-doc-page .rr-doc-device-row { grid-template-columns:1fr; gap:7px; padding:13px 4px; }
  .rr-doc-page .rr-doc-comm-row { grid-template-columns:1fr; gap:5px; padding:13px 4px; }
  .rr-doc-page .rr-doc-placeholder.rr-doc-upcoming { padding:32px 24px; min-height:320px; }
  .rr-doc-page .rr-doc-upcoming-note { flex-direction:column; gap:2px; }
}
