:root{
  --bg:#f5f7fa;--surface:#fff;--text:#1f2937;--muted:#657286;--line:#dfe5ec;
  --brand:#0b6bcb;--brand-dark:#084c91;--soft:#eef6ff;--tip:#eaf8ef;--warn:#fff5e5;
  --shadow:0 8px 30px rgba(31,41,55,.08);--radius:12px;--sidebar:270px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.62 "Segoe UI",Arial,sans-serif}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.topbar{position:sticky;top:0;z-index:50;background:#17202a;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.topbar-inner{max-width:1500px;margin:auto;min-height:58px;display:flex;align-items:center;gap:22px;padding:0 22px}
.brand{font-size:18px;font-weight:700;color:#fff;white-space:nowrap}
.brand:hover{text-decoration:none}.brand span{color:#79b9ff}
.topnav{display:flex;gap:4px}.topnav a{color:#d8e2ed;padding:18px 11px}.topnav a:hover,.topnav a.active{color:#fff;background:rgba(255,255,255,.08);text-decoration:none}
.top-search{margin-left:auto;display:flex;align-items:center;gap:8px;background:#fff;border-radius:7px;padding:4px 10px;color:#506070;min-width:255px}
.top-search input{border:0;outline:0;width:100%;font:inherit}
.mobile-nav{display:none;border:1px solid #64748b;background:transparent;color:white;border-radius:6px;padding:7px 10px}
.layout{max-width:1500px;margin:auto;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:calc(100vh - 58px)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 15px 50px;position:sticky;top:58px;height:calc(100vh - 58px);overflow:auto}
.sidebar h3{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#7b8795;margin:22px 9px 6px}.sidebar h3:first-child{margin-top:0}
.sidebar a{display:block;color:#334155;padding:6px 9px;border-radius:6px;font-size:14px}
.sidebar a:hover{background:#f3f6f9;text-decoration:none}.sidebar a.active{background:var(--soft);color:var(--brand-dark);font-weight:700}
main{min-width:0;padding:34px 44px 70px;background:var(--surface)}
.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:12px}
h1{font-size:34px;line-height:1.15;margin:0 0 12px;color:#152333}h2{font-size:24px;margin:36px 0 12px;color:#1c334c}h3{color:#263c52}
.lead{font-size:18px;color:#526173;max-width:980px}
.muted{color:var(--muted)}
.badge{display:inline-block;background:var(--soft);color:var(--brand-dark);font-weight:700;border-radius:999px;padding:5px 10px;font-size:12px;margin-bottom:12px}
.hero{padding:38px;border-radius:var(--radius);background:linear-gradient(135deg,#eff7ff,#f9fbfd);border:1px solid #d8e9f9;margin-bottom:30px}.hero h1{font-size:42px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.button{display:inline-block;background:var(--brand);color:#fff!important;border-radius:7px;padding:10px 15px;font-weight:650}.button.secondary{background:#fff;color:var(--brand)!important;border:1px solid #bcd3e9}
.callout{border-left:4px solid var(--brand);background:#f4f9ff;padding:14px 16px;border-radius:7px;margin:18px 0}.callout strong{display:block;margin-bottom:3px}.callout.tip{border-left-color:#2f8f50;background:var(--tip)}.callout.warning{border-left-color:#d68b16;background:var(--warn)}
.steps{padding-left:23px}.steps li{padding:4px 0}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff}
table{border-collapse:collapse;width:100%;min-width:650px}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#f3f6f9;font-size:13px;color:#405064}tr:last-child td{border-bottom:0}
.screenshot{margin:24px 0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px;box-shadow:var(--shadow)}.screenshot img{display:block;max-width:100%;height:auto;margin:auto}.screenshot figcaption{font-size:13px;color:var(--muted);padding:8px 3px 1px}
.doc-list{display:grid;gap:10px}.doc-link{display:grid;grid-template-columns:38px 1fr;gap:9px;align-items:start;border:1px solid var(--line);border-radius:9px;background:#fff;padding:13px 15px;color:var(--text)}.doc-link:hover{border-color:#b8cde0;box-shadow:0 4px 14px rgba(31,41,55,.06);text-decoration:none}.doc-link>div:first-child{font-weight:700;color:var(--brand)}.doc-link strong{display:block}.doc-link span{display:block;color:var(--muted);margin-top:2px}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:17px}.card .eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--brand);font-weight:700}.card h3{margin:4px 0 6px}.card p{margin:0;color:#5c6979}
.section{margin-top:32px;border:1px solid var(--line);border-radius:10px;padding:20px}
.kpi{font-weight:700}
.faq{border-top:1px solid var(--line);padding:12px 0}.faq strong{display:block}
.page-footer{border-top:1px solid var(--line);margin-top:48px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#7b8795;font-size:12px}
.search-empty{display:none;margin:20px 0;padding:15px;border:1px dashed #b8c4d0;border-radius:8px;color:var(--muted)}
body.searching [data-search-item].search-hidden{display:none!important}
body.searching .search-empty.visible{display:block}
mark.doc-search-hit{background:#ffed9c;padding:0 1px}
@media(max-width:900px){
  .topnav{display:none}.top-search{min-width:0;flex:1}.mobile-nav{display:block}
  .layout{grid-template-columns:1fr}.sidebar{display:none;position:fixed;z-index:40;left:0;top:58px;width:min(86vw,320px);height:calc(100vh - 58px);box-shadow:8px 0 25px rgba(0,0,0,.18)}.sidebar.open{display:block}
  main{padding:26px 20px 55px}.hero{padding:25px}.hero h1{font-size:34px}
}
@media print{
  .topbar,.sidebar{display:none!important}.layout{display:block}main{padding:0}.screenshot{box-shadow:none}.page-footer{break-before:avoid}
}


/* IMS screenshot sizing normalization 2026-09-10 */
.screenshot {
  width: fit-content;
  max-width: 100%;
  margin: 24px auto;
}
.screenshot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  margin: 0 auto;
}
.screenshot.menu-shot { max-width: 520px; }
.screenshot.menu-shot img,
.screenshot img[src*="menu"] { max-height: 320px; }
.screenshot.report-shot img { max-height: 640px; }
@media (max-width: 900px) {
  .screenshot img { max-height: 460px; }
  .screenshot.menu-shot img,
  .screenshot img[src*="menu"] { max-height: 280px; }
}

/* IMS section title icons */
.page-title{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.page-title h1{margin:0}
.page-title .section-icon{width:46px;height:46px;object-fit:contain;flex:0 0 46px}
@media(max-width:900px){
  .page-title{gap:9px}
  .page-title .section-icon{width:40px;height:40px;flex-basis:40px}
}


/* Getting Started / landing-page polish 2026-09-11 */
.section-intro{max-width:900px;color:var(--muted);margin:-4px 0 18px}
.learning-path{max-width:980px}
.quick-tour-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 28px}
.quick-tour-item{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:start;border:1px solid var(--line);border-radius:10px;background:#fff;padding:15px 16px}
.quick-tour-number{font-weight:800;color:var(--brand);font-size:13px;padding-top:2px}
.quick-tour-item strong{display:block;font-size:15px;margin-bottom:4px;color:var(--text)}
.quick-tour-item p{margin:0;color:var(--muted);line-height:1.55}
@media(max-width:760px){
  .quick-tour-grid{grid-template-columns:1fr}
}


/* API/code reference blocks */
code{font-family:"Cascadia Code",Consolas,"Courier New",monospace;background:#f3f6f9;border:1px solid #e1e7ee;border-radius:4px;padding:1px 4px;font-size:.92em}
pre{overflow:auto;background:#17202a;color:#eaf2f8;border-radius:9px;padding:15px 17px;line-height:1.55;border:1px solid #25384b}
pre code{background:transparent;border:0;color:inherit;padding:0;font-size:13px}
