.gguf-tool{border:1px solid var(--line,#d9dde3);background:var(--paper,#fff);border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);margin:2rem 0 4rem;display:grid;overflow:hidden}.gguf-controls,.gguf-result{min-width:0;padding:clamp(1.25rem,3vw,2.5rem)}.gguf-controls{background:#f2f5f7;border-right:1px solid #d9dde3;flex-direction:column;gap:1rem;display:flex}.gguf-controls label{color:#1b2837;flex-direction:column;gap:.5rem;font-size:1rem;font-weight:600;display:flex}.gguf-controls input,.gguf-controls select{color:#162739;width:100%;font:inherit;background:#fff;border:1px solid #bac4ce;border-radius:8px;min-height:46px;padding:.75rem;font-weight:400}.gguf-controls input[type=file]{font-size:.875rem}.gguf-controls input:focus-visible,.gguf-controls select:focus-visible,.gguf-links a:focus-visible{outline-offset:3px;outline:3px solid #337cd4}.gguf-pair{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.gguf-controls .gguf-checkbox{flex-direction:row;align-items:center;gap:.7rem;font-weight:400;display:flex}.gguf-checkbox input{flex:none;width:20px;height:20px;min-height:20px}.gguf-hint{color:#48586a;margin:0;font-size:.875rem;line-height:1.65}.gguf-result h2{overflow-wrap:anywhere;margin:1rem 0 1.5rem;font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.25}.gguf-result p{color:#415166;font-size:1rem;line-height:1.7}.gguf-primary-label{margin:0!important}.gguf-primary{letter-spacing:-.05em;color:#173b4b;font-size:clamp(2.25rem,4vw,3.5rem);line-height:1.3;display:block}.gguf-breakdown{margin:1.5rem 0}.gguf-breakdown>div{border-bottom:1px solid #dbe1e6;justify-content:space-between;gap:1rem;padding:.65rem 0;font-size:.925rem;line-height:1.5;display:flex}.gguf-breakdown dt{color:#465669}.gguf-breakdown dd{text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0;margin:0}.gguf-budget,.gguf-measured{background:#eef5f4;border-radius:10px;margin:1.25rem 0;padding:1.2rem}.gguf-budget>strong{margin-top:.5rem;font-size:1.75rem;display:block}.gguf-budget p,.gguf-measured p{margin:.6rem 0 0;font-size:.9rem}.gguf-measured{background:#f1f4f8}.gguf-measured h3{margin:0;font-size:1.125rem}.gguf-links{flex-wrap:wrap;gap:1rem;font-size:.95rem;display:flex}.gguf-links a,.gguf-notes a,.gguf-source a{color:#075b6b;text-underline-offset:3px;text-decoration:underline}.gguf-error{background:#fff0ed;border:1px solid #ad3c32;border-radius:8px;padding:1rem;line-height:1.6;color:#8c2119!important}.gguf-notes{gap:2rem;max-width:100%;margin-bottom:4rem;display:grid}.gguf-notes article{border:1px solid #d9dde3;border-radius:14px;min-width:0;padding:clamp(1.25rem,3vw,2.5rem)}.gguf-notes h2{margin:1rem 0;font-size:clamp(1.5rem,3vw,2rem);line-height:1.25}.gguf-notes p,.gguf-notes li{overflow-wrap:anywhere;max-width:82ch;font-size:1rem;line-height:1.85}.gguf-notes li{margin:.75rem 0}.gguf-notes code{overflow-wrap:anywhere}@media (max-width:760px){.gguf-tool{grid-template-columns:1fr}.gguf-controls{border-bottom:1px solid #d9dde3;border-right:0}.gguf-pair{gap:.75rem}.gguf-breakdown>div{flex-wrap:wrap;font-size:.875rem}.gguf-breakdown dd{overflow-wrap:anywhere;max-width:100%;margin-left:auto}.gguf-primary{font-size:2.75rem}}.gguf-controls select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23162739' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .875rem center;background-repeat:no-repeat;padding-right:2.75rem;transition:border-color .15s,box-shadow .15s}.gguf-controls select:hover:not(:disabled){border-color:#173b4b}.gguf-controls select:disabled{opacity:.6;cursor:not-allowed;background-color:#edf0f3}.gguf-controls select option{color:#162739;background:#fff}.gguf-controls select option:disabled{color:#6c7682}.gguf-file-field{gap:.5rem;min-width:0;display:grid}.gguf-file-picker{background:#fff;border:1px solid #bac4ce;border-radius:8px;align-items:center;gap:.75rem;min-width:0;padding:.375rem;display:flex}.gguf-file-button{color:#fff;white-space:nowrap;background:#191936;border-radius:5px;flex:none;justify-content:center;align-items:center;min-height:44px;padding:.625rem .875rem;font-size:.875rem;font-weight:600;transition:background .15s;display:inline-flex;position:relative}.gguf-controls .gguf-file-button input[type=file]{opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;margin:0;padding:0;position:absolute;inset:0}.gguf-file-button:hover{background:#303052}.gguf-file-button:focus-within{outline-offset:3px;outline:3px solid #337cd4}.gguf-file-button:has(input:disabled){opacity:.6;cursor:wait}.gguf-controls .gguf-file-button input:disabled{cursor:wait}.gguf-file-name{text-overflow:ellipsis;white-space:nowrap;color:#48586a;min-width:0;font-size:.875rem;font-weight:400;overflow:hidden}@media (max-width:420px){.gguf-file-picker{gap:.5rem}.gguf-file-button{padding:.625rem .75rem}.gguf-controls input,.gguf-controls select{font-size:16px}}@media (forced-colors:active){.gguf-controls select{appearance:auto;background-image:none;padding-right:.75rem}.gguf-file-button{border:1px solid buttontext}}
