.orm{--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--soft:#f1f5f9;--card:#fff;--brand:#4f46e5;--brand2:#7c3aed;--accent:#f97316;--ok:#10b981;--radius:18px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);line-height:1.65;max-width:1040px;margin:0 auto;padding:16px;font-size:16px}
.orm *{box-sizing:border-box}
.orm h1,.orm h2,.orm h3{line-height:1.25;margin:0 0 .5em;color:var(--ink);font-weight:800;letter-spacing:-.01em}
.orm h1{font-size:clamp(1.8rem,5vw,2.6rem);letter-spacing:-.02em}
.orm h2{font-size:clamp(1.35rem,3.4vw,1.75rem);margin-top:1.6em}
.orm h3{font-size:1.1rem;margin-top:1.2em}
.orm p{margin:0 0 1em}
.orm .orm-lead{color:var(--muted);font-size:1.08rem;margin-bottom:22px}
.orm .orm-muted{color:var(--muted)}
.orm .orm-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 14px 34px -18px rgba(15,23,42,.28);padding:20px}
.orm .orm-main{display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:820px){.orm .orm-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.orm .orm-card{padding:26px}}
.orm .orm-h{font-size:1.15rem;margin:0 0 14px}
.orm .orm-field{margin-bottom:14px}
.orm .orm-lab,.orm label.orm-lab{display:block;font-weight:600;font-size:.9rem;margin-bottom:6px;color:var(--ink)}
.orm input[type=number],.orm select{width:100%;height:50px;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:16px;font-family:inherit;outline:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.orm select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}
.orm input:focus,.orm select:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(79,70,229,.15)}
.orm .orm-row{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:center}
.orm input[type=range]{width:100%;accent-color:var(--brand);height:28px}
.orm .orm-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:480px){.orm .orm-two{grid-template-columns:1fr}}
.orm .orm-seg{display:grid;grid-template-columns:1fr 1fr;background:var(--soft);padding:4px;border-radius:12px;gap:4px}
.orm .orm-seg label{margin:0;cursor:pointer}
.orm .orm-seg input{position:absolute;opacity:0;pointer-events:none}
.orm .orm-seg span{display:block;text-align:center;padding:11px 8px;border-radius:9px;font-weight:600;font-size:.92rem;color:var(--muted);transition:all .15s}
.orm .orm-seg input:checked+span{background:#fff;color:var(--brand);box-shadow:0 2px 8px rgba(15,23,42,.12)}
.orm .orm-seg input:focus-visible+span{outline:2px solid var(--brand)}
.orm .orm-actions{display:flex;gap:10px;margin-top:6px;flex-wrap:wrap}
.orm button{font-family:inherit;cursor:pointer}
.orm .orm-btn{flex:1;min-width:120px;height:50px;border:0;border-radius:12px;font-weight:700;font-size:1rem;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 8px 20px -8px rgba(79,70,229,.7);transition:transform .1s,box-shadow .15s}
.orm .orm-btn:hover{transform:translateY(-1px)}
.orm .orm-btn.ghost{background:#fff;color:var(--ink);border:1.5px solid var(--line);box-shadow:none;flex:0 0 auto;padding:0 22px}
.orm .orm-res{background:linear-gradient(145deg,#4338ca,#7c3aed 60%,#a855f7);color:#fff;border:0;display:flex;flex-direction:column}
.orm .orm-res .orm-h{color:#fff;opacity:.9}
.orm .orm-big{font-size:clamp(3rem,10vw,4.2rem);font-weight:800;line-height:1;letter-spacing:-.03em}
.orm .orm-big small{font-size:1.2rem;font-weight:600;opacity:.85;margin-left:6px;letter-spacing:0}
.orm .orm-sub{opacity:.92;margin:10px 0 4px;font-size:.95rem}
.orm .orm-badge{display:inline-block;background:rgba(255,255,255,.18);border-radius:99px;padding:3px 12px;font-size:.8rem;font-weight:600;margin:6px 0 14px;align-self:flex-start}
.orm .orm-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:auto}
.orm .orm-chip{background:rgba(255,255,255,.14);border-radius:12px;padding:10px 6px;text-align:center}
.orm .orm-chip b{display:block;font-size:1.1rem}
.orm .orm-chip span{font-size:.75rem;opacity:.85}
.orm .orm-resbtn{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.orm .orm-resbtn button{flex:1;min-width:110px;height:42px;border-radius:10px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;font-weight:600;font-size:.9rem}
.orm .orm-resbtn button:hover{background:rgba(255,255,255,.22)}
.orm .orm-warn{color:#fde68a;font-size:.88rem;margin-top:8px;min-height:1.2em}
.orm .orm-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;margin:22px 0 0;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.orm .orm-tabs button{flex:0 0 auto;border:1.5px solid var(--line);background:#fff;color:var(--muted);padding:10px 16px;border-radius:99px;font-weight:600;font-size:.9rem;white-space:nowrap}
.orm .orm-tabs button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.orm .orm-panel{margin-top:4px}
.orm .orm-panel[hidden]{display:none}
.orm .orm-tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.orm table.orm-t{width:100%;border-collapse:collapse;font-size:.95rem;min-width:420px}
.orm .orm-t th{text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);padding:8px 10px;border-bottom:2px solid var(--line)}
.orm .orm-t td{padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}
.orm .orm-t tr:last-child td{border-bottom:0}
.orm .orm-t tr.sel td{background:rgba(79,70,229,.07)}
.orm .orm-mini{border:1px solid var(--line);background:#fff;border-radius:8px;padding:5px 10px;font-size:.8rem;font-weight:600;color:var(--brand)}
.orm .orm-mini:hover{background:var(--soft)}
.orm .orm-bar{height:8px;border-radius:99px;background:var(--soft);overflow:hidden;min-width:80px}
.orm .orm-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand2));border-radius:99px}
.orm .orm-zones{display:grid;gap:12px;grid-template-columns:1fr}
@media(min-width:700px){.orm .orm-zones{grid-template-columns:repeat(3,1fr)}}
.orm .orm-zone{border:1px solid var(--line);border-radius:14px;padding:16px;border-top:4px solid var(--brand)}
.orm .orm-zone.z2{border-top-color:var(--accent)}.orm .orm-zone.z3{border-top-color:var(--ok)}
.orm .orm-zone h3{margin:0 0 4px}
.orm .orm-zone .rng{font-size:1.25rem;font-weight:800;margin:6px 0}
.orm .orm-zone p{font-size:.9rem;color:var(--muted);margin:0}
.orm .orm-plates{display:flex;align-items:center;justify-content:center;gap:3px;margin:16px 0;min-height:110px;padding:10px;background:var(--soft);border-radius:14px;overflow-x:auto}
.orm .orm-plates .shaft{height:12px;width:50px;background:#94a3b8;border-radius:3px;flex:0 0 auto}
.orm .orm-plates .pl{flex:0 0 auto;width:20px;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.62rem;font-weight:700;writing-mode:vertical-rl;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.orm .orm-big2{font-size:1.5rem;font-weight:800}
.orm .orm-lv{display:inline-block;padding:4px 14px;border-radius:99px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--accent),#ef4444);font-size:1.05rem}
.orm .orm-prog{height:12px;border-radius:99px;background:var(--soft);overflow:hidden;margin:10px 0}
.orm .orm-prog i{display:block;height:100%;background:linear-gradient(90deg,var(--ok),var(--brand));border-radius:99px;transition:width .3s}
.orm .orm-hist{list-style:none;margin:0;padding:0}
.orm .orm-hist li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.95rem}
.orm .orm-hist li:last-child{border-bottom:0}
.orm .orm-seo{margin-top:36px}
.orm .orm-seo table{width:100%;border-collapse:collapse;font-size:.92rem;margin:12px 0 20px}
.orm .orm-seo th,.orm .orm-seo td{border:1px solid var(--line);padding:9px 12px;text-align:left}
.orm .orm-seo th{background:var(--soft)}
.orm .orm-seo code{background:var(--soft);padding:2px 6px;border-radius:6px;font-size:.88em;word-break:break-word}
.orm .orm-seo ol,.orm .orm-seo ul{padding-left:22px;margin:0 0 1em}
.orm .orm-seo li{margin-bottom:6px}
.orm details{border:1px solid var(--line);border-radius:12px;padding:0 16px;margin-bottom:10px;background:#fff}
.orm summary{cursor:pointer;font-weight:700;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
.orm summary::-webkit-details-marker{display:none}
.orm summary::after{content:"+";font-size:1.3rem;line-height:1;color:var(--brand)}
.orm details[open] summary::after{content:"−"}
.orm details p{color:#334155;padding-bottom:6px}
.orm .orm-note{font-size:.85rem;color:var(--muted);background:var(--soft);border-radius:12px;padding:14px 16px;margin-top:24px}
