.tool{background:#fff;border:1px solid #eadfe3;border-radius:12px;margin:24px 0;color:#2b2430;overflow:hidden;max-width:100%;box-sizing:border-box}
.tool *,.tool *::before,.tool *::after{box-sizing:border-box}
.tool-h{background:#fbf6f7;border-bottom:1px solid #eadfe3;padding:14px 16px;font-weight:700;font-size:1.1rem;line-height:1.3;overflow-wrap:anywhere}
.tool-body{padding:16px;min-width:0}
.tool p{margin:0 0 10px;line-height:1.55;overflow-wrap:anywhere}
.tool ul{margin:0 0 12px;padding-left:20px}
.tool li{margin:0 0 6px;line-height:1.5;overflow-wrap:anywhere}
.tool a{color:#b8476a;text-decoration:underline}
.tool .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border:2px solid #b8476a;border-radius:12px;background:#b8476a;color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;max-width:100%;touch-action:manipulation}
.tool .btn:hover{background:#a23c5d;border-color:#a23c5d}
.tool .btn.ghost{background:#fff;color:#b8476a}
.tool .btn.ghost:hover{background:#fbf6f7}
.tool .btn:disabled{opacity:.45;cursor:not-allowed}
.tool .btn:focus-visible,.tool input:focus-visible,.tool select:focus-visible{outline:3px solid #2b2430;outline-offset:2px}
.t-small{min-height:40px;padding:8px 14px;font-size:.9rem}
.t-prog{height:8px;background:#eadfe3;border-radius:8px;overflow:hidden;margin-bottom:10px}
.t-prog span{display:block;height:100%;background:#b8476a;transition:width .25s}
.t-step{color:#6b5b66;font-size:.9rem;margin-bottom:6px}
.t-q{border:0;margin:0 0 14px;padding:0;min-width:0}
.t-q legend{font-weight:600;padding:0;margin-bottom:10px;line-height:1.4;overflow-wrap:anywhere;max-width:100%}
.t-opts,.t-checks{display:grid;gap:8px}
.t-checks{grid-template-columns:1fr 1fr}
.t-opt{position:relative}
.t-opt input{position:absolute;opacity:0;width:1px;height:1px}
.t-opt label{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px 10px 44px;border:1px solid #eadfe3;border-radius:12px;background:#fff;cursor:pointer;line-height:1.35;position:relative;overflow-wrap:anywhere}
.t-opt label::before{content:"";position:absolute;left:12px;top:50%;width:20px;height:20px;margin-top:-10px;border:2px solid #b8476a;border-radius:50%;background:#fff}
.t-checks .t-opt label::before{border-radius:6px}
.t-opt input:checked+label{background:#fbf6f7;border-color:#b8476a}
.t-opt input:checked+label::before{background:#b8476a;box-shadow:inset 0 0 0 3px #fff}
.t-opt input:focus-visible+label{outline:3px solid #2b2430;outline-offset:2px}
.t-nav{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.t-nav .btn{flex:1 1 140px}
.t-res,.t-out{margin-top:6px;min-width:0}
.t-badge{display:inline-block;background:#b8476a;color:#fff;border-radius:12px;padding:6px 14px;font-weight:700;margin-bottom:10px}
.t-tag{display:inline-block;background:#fff;color:#b8476a;border-radius:8px;padding:1px 8px;margin-left:6px;font-size:.85em}
.t-sub{font-weight:700;margin:16px 0 6px}
.t-note{background:#fbf6f7;border-radius:12px;padding:10px 12px;color:#5a4b55;font-size:.92rem}
.t-warn{background:#fff3e3;border:1px solid #b86a12;border-radius:12px;padding:10px 12px;color:#7a4608}
.t-err{color:#b3261e;min-height:1.2em;margin:0}
.t-bad,.t-good{list-style:none;padding:0}
.t-bad li,.t-good li{padding:10px 12px;border-radius:12px;border-left:4px solid}
.t-bad li{background:#fdf0ef;border-color:#b3261e}
.t-good li{background:#eef7f2;border-color:#2f7d5b}
.t-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}
.t-col{border:1px solid #eadfe3;border-radius:12px;padding:12px;background:#fbf6f7;min-width:0}
.t-form{display:grid;gap:12px;grid-template-columns:1fr 1fr;margin-bottom:6px}
.t-f{min-width:0}
.t-f label{display:block;font-weight:600;margin-bottom:6px;font-size:.95rem}
.t-f input,.t-f select{width:100%;max-width:100%;min-height:48px;padding:10px 12px;border:1px solid #cdbcc4;border-radius:12px;font:inherit;color:#2b2430;background:#fff}
.t-hide{display:none}
.t-list{list-style:none;padding:0}
.t-item{border:1px solid #eadfe3;border-left:6px solid #2f7d5b;border-radius:12px;padding:12px;margin-bottom:10px;background:#fff}
.t-item.soon{border-left-color:#b86a12}
.t-item.bad{border-left-color:#b3261e}
.t-item-t{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:space-between;margin-bottom:4px}
.t-item-d{color:#5a4b55;font-size:.92rem;margin-bottom:8px}
.t-st{font-size:.85rem;font-weight:700;padding:3px 10px;border-radius:20px;color:#fff;background:#2f7d5b}
.t-st.ok{background:#2f7d5b}
.t-st.soon{background:#b86a12}
.t-st.bad{background:#b3261e}
.t-tw{overflow-x:auto;max-width:100%;margin-bottom:12px;-webkit-overflow-scrolling:touch}
.t-table{border-collapse:collapse;width:100%;min-width:280px}
.t-table th,.t-table td{border:1px solid #eadfe3;padding:8px 10px;text-align:left}
.t-table th{background:#fbf6f7}
@media (max-width:560px){
.tool-body{padding:12px}
.t-checks,.t-cols,.t-form{grid-template-columns:1fr}
.tool .btn{width:100%}
.t-nav .btn{flex:1 1 100%}
}
@media print{
body *{visibility:hidden}
.tool.t-printing,.tool.t-printing .tool-body,.tool.t-printing .t-print,.tool.t-printing .t-print *{visibility:visible}
.tool.t-printing{position:absolute;left:0;top:0;width:100%;border:0;margin:0}
.tool.t-printing .t-form,.tool.t-printing .t-nav,.tool.t-printing .tool-h,.tool.t-printing [data-err]{display:none}
}
