/* Shared look + iPhone interaction defaults for the Savoy Audio examples. */
:root{color-scheme:dark;font-family:system-ui,-apple-system,sans-serif;background:#0e1118;color:#edf3ff}
*{box-sizing:border-box}
html{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%}
body{margin:0 auto;padding:18px 16px 72px;max-width:720px;line-height:1.45;
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
/* Selection stays available where it is useful. */
input,textarea,pre,code,.log,.selectable{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
a{color:#9ccdff}
header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0 16px}
h1{font-size:clamp(1.4rem,5vw,1.9rem);margin:0 0 6px}h2{font-size:1.02rem;margin:0 0 10px}
p{color:#bbc8d8;margin:.5em 0}small,.subtle{color:#9fb0c3;font-size:.85rem}
.panel{background:#1a2230;border:1px solid #394458;border-radius:16px;margin:14px 0;padding:14px}
.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
button,input,select{font:inherit;accent-color:#72bbff}
button,select{background:#263952;border:1px solid #5b7695;color:#fff;border-radius:11px;padding:10px 14px;min-height:44px;touch-action:manipulation}
button.primary{background:#3979bf;border-color:#80bfff}button:disabled{opacity:.38}
button[aria-pressed=true]{border-color:#a6d7ff;background:#37618b}
input[type=file]{width:100%;padding:8px 0}input[type=range]{width:100%;height:34px;touch-action:pan-y}
label{display:block;margin:8px 0;color:#d9e5f4}
.status{color:#b7e0ff;min-height:1.4em;overflow-wrap:anywhere}
.track{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #354355;flex-wrap:wrap}
.track:last-child{border:0}.track>span{flex:1 1 120px;min-width:0;overflow-wrap:anywhere}
.track input[type=range]{flex:1 1 120px;width:auto}.track select{flex:1 1 150px;min-width:0}
code{background:#293444;border-radius:5px;padding:1px 4px}
pre,.log{background:#101722;border:1px solid #2c3647;border-radius:9px;padding:10px;overflow:auto;font:12px/1.45 ui-monospace,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:50vh}
nav a{display:block;padding:13px 4px;border-bottom:1px solid #354355;text-decoration:none}
nav a small{display:block}
table{border-collapse:collapse;width:100%;font-size:.86rem}
td,th{text-align:left;padding:6px 6px;border-bottom:1px solid #2c3647;vertical-align:top;overflow-wrap:anywhere}
.pass{color:#7fe0a0}.fail{color:#ff8f8f}.skip{color:#e7c873}.run{color:#9fb0c3}
/* WAM parameter GUI (generic fallback) inside example panels */
.wam-fallback-params{display:grid;gap:6px}.wam-param{display:grid;grid-template-columns:minmax(80px,1fr) 2fr 56px;gap:8px;align-items:center;margin:0}
