.drawer-front-tool{color:#263c43;grid-template-columns:minmax(270px,.85fr) minmax(0,1.15fr);gap:32px;margin:24px 0 64px;display:grid}.drawer-front-controls,.drawer-front-result{background:#fffdf8;border:1px solid #d8dfd7;border-radius:14px;padding:30px}.drawer-front-controls{background:#f2f4ed;align-self:start}.drawer-front-tool h2{margin:12px 0 18px;font-size:clamp(24px,3vw,34px);line-height:1.2}.drawer-front-tool p{line-height:1.65}.drawer-front-toggle{gap:8px;margin:16px 0;display:flex}.drawer-front-tool button{color:#263c43;cursor:pointer;font:inherit;background:#fffdf8;border:1px solid #aebdb1;border-radius:7px;padding:11px 15px}.drawer-front-toggle button{flex:1}.drawer-front-toggle button[aria-pressed=true]{color:#fff;background:#284c40;border-color:#284c40}.drawer-front-tool button:focus-visible,.drawer-front-tool input:focus-visible{outline-offset:3px;outline:3px solid #b48a47}.drawer-front-fields{grid-template-columns:1fr 1fr;gap:18px 14px;margin:24px 0;display:grid}.drawer-front-fields label{gap:8px;font-size:14px;font-weight:600;display:grid}.drawer-front-fields input{box-sizing:border-box;width:100%;min-width:0;font:inherit;color:#263c43;background:#fff;border:1px solid #b8c2b8;border-radius:6px;padding:12px}.drawer-front-note{color:#566a60;font-size:13px}.drawer-front-diagram{border:1px solid #e1e4db;border-radius:8px;width:100%;max-height:510px;margin:24px auto;display:block}.drawer-front-table-wrap{overflow-x:auto}.drawer-front-result table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.drawer-front-result caption{text-align:left;margin-bottom:12px;font-weight:600}.drawer-front-result th,.drawer-front-result td{text-align:right;white-space:nowrap;border-bottom:1px solid #dce2d9;padding:12px 9px}.drawer-front-result th:first-child{text-align:left}.drawer-front-result thead{background:#edf1e8}.drawer-front-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.drawer-front-actions button:first-child{color:#fff;background:#284c40}.drawer-front-tool button:disabled{opacity:.45;cursor:not-allowed}.drawer-front-error{background:#fff1e7;border-left:3px solid #a54d22;padding:16px}.drawer-front-tool .drawer-front-reset{background:0 0;margin-top:12px}@media (width<=760px){.drawer-front-tool{grid-template-columns:1fr;gap:18px}.drawer-front-controls,.drawer-front-result{padding:20px}.drawer-front-fields{gap:16px 10px}.drawer-front-tool button{padding:11px 10px}}@media print{.drawer-front-tool{display:block}.drawer-front-controls,.drawer-front-actions{display:none}.drawer-front-result{border:0;padding:0}.drawer-front-diagram{break-inside:avoid;max-height:420px}.drawer-front-result table{break-inside:avoid}}
