/* © DEPTANA (deptana.ru) */
.ram-breadcrumb{display:flex;gap:12px;align-items:center;margin:8px 0 0;min-height:28px;font-size:12px;color:#929292}
.ram-breadcrumb a{color:#bfbfbf;text-decoration:underline;text-underline-offset:4px}
.ram-breadcrumb a:hover{color:white}
.is-ram-tool .page-intro{margin:20px 0 24px;max-width:1000px}
.is-ram-tool .page-intro-top{align-items:flex-start;gap:18px}
.is-ram-tool .page-h1{font-size:clamp(32px,3.8vw,46px);line-height:1.12;letter-spacing:-.055em;max-width:780px}
.is-ram-tool .page-subtitle{max-width:690px;color:#a9a9a9;font-size:15px;line-height:1.65;margin-top:12px}
.is-ram-tool .page-intro .version-pill{margin-top:9px;white-space:nowrap}
.ram-workspace{gap:22px;align-items:start}
.ram-workspace>.panel-card{padding:30px;border:1px solid #292929;border-radius:26px;background:#0d0d0d;background-image:none;min-width:0}
.ram-panel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:20px}
.ram-panel-heading h2{font-size:20px;font-weight:450;letter-spacing:-.035em;margin:0}
.ram-panel-heading>span{font-size:11px;line-height:1.5;color:#999;max-width:130px;text-align:right}
.ram-mode{display:grid;grid-template-columns:1fr 1fr;padding:5px;border:1px solid #323232;border-radius:16px;background:#080808;margin-bottom:26px;gap:4px}
.ram-mode button{border:0;border-radius:11px;background:transparent;color:#aaa;min-height:48px;padding:10px;font-size:14px;line-height:1.35;cursor:pointer;transition:background .18s,color .18s}
.ram-mode button[aria-pressed=true]{background:#ededed;color:#101010}
.ram-workspace .field-group{margin-bottom:20px;min-width:0}
.ram-workspace .field-label{font-size:13px;line-height:1.5;color:#d5d5d5;margin-bottom:9px;font-weight:400}
.ram-workspace .input-control,.ram-workspace .select-control{min-height:50px;border-radius:12px;background-color:#171717;border-color:#373737;font-size:14px;max-width:100%;width:100%}
.ram-workspace .select-control{padding-right:36px;text-overflow:ellipsis}
.ram-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ram-field-note{display:block;font-size:12px!important;line-height:1.55!important;color:#a0a0a0!important;margin:7px 0 0!important}
.ram-workspace input[aria-invalid=true]{border-color:#c0c0c0;outline:1px solid #c0c0c0}
.ram-presets{display:flex;flex-wrap:wrap;gap:7px;margin:-10px 0 22px}
.ram-preset{border:1px solid #333;border-radius:8px;padding:7px 12px;min-height:36px;background:transparent;color:#aaa;font-size:12px;cursor:pointer}
.ram-preset[aria-pressed=true]{border-color:#999;background:#282828;color:#fff}
.ram-advanced{border-top:1px solid #2a2a2a;margin:4px 0 0}
.ram-advanced>summary,.ram-code>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;list-style:none;cursor:pointer;color:#d2d2d2;font-size:13px}
.ram-advanced>summary::-webkit-details-marker,.ram-code>summary::-webkit-details-marker{display:none}
.ram-advanced>summary:after,.ram-code>summary:after{content:'+';font-size:18px;font-weight:300;color:#aaa;flex-shrink:0}
.ram-advanced[open]>summary:after,.ram-code[open]>summary:after{content:'−'}
.ram-advanced>summary>span,.ram-code>summary>span{font-size:11px;color:#999;margin-left:auto}
.ram-advanced-body{padding-top:12px}
.ram-advanced-body>.field-group:last-child{margin-bottom:4px}
.ram-workspace>.ram-result{background:radial-gradient(ellipse at 85% 0%,#ffffff07,transparent 50%),#101010}
.ram-result-eyebrow{display:flex;align-items:center;gap:11px;color:#bcbcbc}
.ram-chip{width:27px;height:27px;stroke:#aaa;stroke-width:1.15;flex-shrink:0}
.ram-result-eyebrow h2{font-size:14px;font-weight:400;margin:0;letter-spacing:0}
.ram-amount{font-size:clamp(62px,6vw,86px);line-height:1.1;font-weight:350;letter-spacing:-.065em;color:#f1f1f1;margin:15px 0 8px;font-variant-numeric:tabular-nums}
.ram-approx{font-size:.46em;color:#aaa;vertical-align:middle;letter-spacing:-.05em}
.ram-unit{font-size:.43em;letter-spacing:-.035em;color:#aaa}
.ram-result-subtitle{font-size:13px!important;color:#aaa!important;margin:0 0 20px!important;line-height:1.6}
.ram-memory{height:9px;overflow:hidden;border-radius:10px;background:#333;margin-bottom:12px}
.ram-memory>span{display:block;height:100%;background:linear-gradient(90deg,#a8a8a8,#e0e0e0);border-radius:inherit}
.ram-memory-labels{display:grid;grid-template-columns:1fr 1.4fr;gap:16px;margin:0 0 14px;font-size:12px;line-height:1.5}
.ram-memory-labels>div:last-child{text-align:right}
.ram-memory-labels dt{color:#aaa;margin:0 0 4px}
.ram-memory-labels dd{color:#eee;margin:0;font-size:15px;font-variant-numeric:tabular-nums}
.ram-total{font-size:13px!important;color:#bcbcbc!important;line-height:1.6;margin:0 0 14px!important}
.ram-total strong{font-weight:500;color:#f1f1f1;white-space:nowrap}
.ram-estimate-note{font-size:12px!important;line-height:1.65;color:#9b9b9b!important;margin:0 0 16px!important;max-width:440px}
.ram-notice{font-size:13px!important;line-height:1.65;color:#ddd!important;border-left:2px solid #aaa;padding:8px 0 8px 14px;margin:12px 0!important}
.ram-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
.ram-actions .btn{min-height:48px;font-size:13px;padding:12px 19px;border-radius:12px;margin:0}
.ram-actions .btn-primary{flex:1 1 190px;color:#0d0d0d;background:#ededed;border:1px solid #ededed}
.ram-share{width:100%;min-height:36px;border:0;background:transparent;color:#aaa;text-align:left;font-size:12px;padding:4px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.ram-share:hover{color:#fff}
.ram-code{border-top:1px solid #303030;margin-top:6px;min-width:0}
.ram-code .code-block{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;border:1px solid #303030;border-radius:12px;background:#080808;padding:15px;max-height:190px;overflow:auto;font-size:12px;line-height:1.7;margin:0 0 14px}
.ram-code .ram-field-note{margin-bottom:12px!important}
.ram-next{border-top:1px solid #303030;padding-top:20px;margin-top:6px}
.ram-next h3{font-size:13px;font-weight:500;color:#dedede;margin:0 0 8px}
.ram-next p{font-size:12px!important;line-height:1.75;color:#aaa!important;margin:0!important}
.ram-next strong{color:#ddd;font-weight:450;white-space:nowrap}
.ram-next code{color:#ddd;font-size:12px;overflow-wrap:anywhere}
.ram-properties{margin-top:19px}
.ram-properties .btn{margin-bottom:12px;min-height:44px;font-size:12px}
.ram-noscript{padding:18px;border:1px solid #555;font-size:14px;color:#ddd}
.ram-workspace :is(button,summary,select,input,pre):focus-visible{outline:2px solid #e7e7e7;outline-offset:4px}
.ram-mode button:hover:not([aria-pressed=true]),.ram-preset:hover{background:#252525;color:#eee}
.is-ram-tool .lag-hosting{margin-top:28px!important}
@media(min-width:980px){.ram-workspace{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}.ram-result{position:sticky;top:22px}}
@media(max-width:767px){
.is-ram-tool .page-intro{margin:19px 0 22px}
.is-ram-tool .page-h1{font-size:32px;line-height:1.13}
.is-ram-tool .page-intro-top{display:block}
.is-ram-tool .page-intro .version-pill{display:inline-block;margin-top:12px;font-size:10px}
.is-ram-tool .page-subtitle{font-size:13px;line-height:1.65;margin-top:10px}
.ram-workspace{gap:16px}
.ram-workspace>.panel-card{padding:21px;border-radius:21px}
.ram-panel-heading{margin-bottom:17px}
.ram-panel-heading h2{font-size:19px}
.ram-panel-heading>span{font-size:10px;max-width:100px}
.ram-mode{margin-bottom:22px;border-radius:14px}
.ram-mode button{font-size:12px;min-height:46px;padding:9px 6px}
.ram-workspace .input-control,.ram-workspace .select-control{font-size:16px;min-height:48px}
.ram-workspace .field-group{margin-bottom:18px}
.ram-field-pair{gap:12px}
.ram-field-pair .field-label{min-height:39px;display:flex;align-items:flex-end}
.ram-amount{font-size:70px}
.ram-actions .btn{flex:1 1 100%;width:100%;font-size:14px}
.ram-code .code-block{max-height:170px}
.is-ram-tool .mobile-result-link{font-size:13px;padding:12px 20px;min-height:46px}
}
.is-ram-tool .reference-clusters .home-quick-link>span[aria-hidden]{display:none}
.ram-result[data-ram-capped=true] :is(.ram-amount,.ram-memory,.ram-memory-labels,.ram-total,.ram-code,.ram-next,.ram-result-subtitle){display:none}
.ram-result[data-ram-capped=true] .ram-result-eyebrow{margin-bottom:20px}
.ram-actions button:disabled{opacity:.45;cursor:not-allowed}
