.storage-tool-section{padding:90px 0;background:#f2f3f4;scroll-margin-top:100px}
.storage-calculator{padding:30px;background:#fff;border:1px solid #d8dadd;border-radius:18px;border-top:5px solid #f5c400}
.storage-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.storage-toolbar h3{margin:0;font-size:22px}.storage-toolbar-actions{display:flex;gap:10px;flex-wrap:wrap}.storage-toolbar .btn{font-size:14px;padding:12px 18px}
.storage-table-wrap{width:100%;overflow-x:auto}.storage-table{border-collapse:collapse;width:100%;text-align:left}.storage-table th{background:#34383d;color:#fff;padding:14px 9px;font-size:14px;font-weight:600;white-space:nowrap}.storage-table td{padding:13px 7px;border-bottom:1px solid #e3e5e8;vertical-align:middle}.storage-table td>label{display:none}.storage-table input,.storage-table select{width:100%;min-width:64px;margin:0;padding:10px 6px;background:#fff;color:#24282e;border:1px solid #cbd0d6;border-radius:6px;font-size:14px;line-height:1.5}.storage-table input[type=number]{min-width:70px}.storage-table input[data-field=bitrate]{min-width:96px}.storage-table input[type=checkbox]{appearance:auto;min-width:0;width:20px;height:20px;accent-color:#b59400;margin:0 12px}.storage-table select:disabled{background:#f1f2f3;color:#757a80}.storage-remove{padding:10px 4px;border:0;background:none;text-decoration:underline;font:inherit;font-size:14px;color:#585e66;cursor:pointer}.storage-remove:hover{color:#aa2b23}
.storage-preset-note,.storage-method{font-size:14px!important;line-height:1.65;color:#626871}.storage-settings{display:grid;grid-template-columns:1fr 2fr;gap:28px;padding:24px 0;margin-top:18px;border-top:1px solid #e4e6e8}.storage-mode{border:0;padding:0;margin:0;min-width:0}.storage-mode legend{font-size:16px;font-weight:700;margin-bottom:12px}.storage-mode label{display:inline-flex;align-items:center;gap:8px;margin-right:16px;font-size:16px}.storage-mode input{accent-color:#9f8000;width:18px;height:18px}.storage-mode input[type=radio]{margin:0}.storage-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px}.storage-controls[hidden]{display:none}.storage-controls label{display:block;font-size:14px;font-weight:600;margin:0 0 7px}.storage-controls input,.storage-controls select{width:100%;padding:12px;border:1px solid #cbd0d6;border-radius:8px;font:inherit;font-size:16px;background:#fff}.storage-calculator input:focus-visible,.storage-calculator select:focus-visible,.storage-calculator button:focus-visible{outline:3px solid #b28f00;outline-offset:3px}.storage-results{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.storage-result{padding:25px;background:#f4f5f6;border-radius:12px;border:1px solid #e1e4e7}.storage-result:first-child{background:#fff6ce;border-color:#eddaa0}.storage-result span{display:block;font-size:14px;color:#4c525b;margin-bottom:9px}.storage-result strong{display:block;font-size:30px;line-height:1.25;overflow-wrap:anywhere}.storage-result p{font-size:14px;margin:10px 0 0;line-height:1.5}.storage-status{color:#a12820;min-height:21px;font-size:14px;margin:12px 0 0}.storage-tool-note{font-size:14px;line-height:1.7;color:#5f646b;margin:20px 0 12px}.storage-table .storage-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){.storage-calculator{padding:20px}.storage-table,.storage-table tbody{display:block}.storage-table thead{display:none}.storage-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;padding:18px;background:#f7f8f9;border:1px solid #e0e3e6;border-radius:10px}.storage-table td{display:block;padding:0;border:0;min-width:0}.storage-table td>label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}.storage-table input,.storage-table select{font-size:16px;min-width:0!important}.storage-table input[type=checkbox]{margin:12px 0}.storage-table .storage-remove-cell{grid-column:1/-1;text-align:right}.storage-settings{grid-template-columns:1fr}.storage-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.storage-tool-section{padding:55px 0}.storage-calculator{padding:16px}.storage-table tr{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:14px 10px}.storage-controls,.storage-results{grid-template-columns:1fr}.storage-result{padding:20px}.storage-result strong{font-size:27px}.storage-toolbar-actions{width:100%}.storage-toolbar-actions .btn{flex:1;text-align:center}}
