@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* tc-scoped:tc-wp-tool-root */

.tc-wp-tool-root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flow-root;
  isolation: isolate;
  position: relative;
}
.tc-wp-tool-root img,
.tc-wp-tool-root video,
.tc-wp-tool-root svg,
.tc-wp-tool-root iframe {
  max-width: 100%;
  height: auto;
}

.tc-wp-tool-root .axb-matrix-tool{
  width: 100%;
  max-width: none;
  border-radius: 0 !important;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  padding: 42px 16px;
  color: #f5fffb;
  background:
    radial-gradient(circle at 15% 10%, rgba(64, 224, 208, 0.26), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(176, 132, 255, 0.28), transparent 30%),
    radial-gradient(circle at 50% 95%, rgba(45, 212, 191, 0.18), transparent 36%),
    linear-gradient(135deg, #061725 0%, #082e37 34%, #12324f 68%, #2d235a 100%);
  font-family: Arial, Helvetica, sans-serif;
}.tc-wp-tool-root .axb-matrix-tool, .tc-wp-tool-root .axb-matrix-tool *{
  box-sizing: border-box;
}.tc-wp-tool-root .axb-matrix-tool .axb-inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}.tc-wp-tool-root .axb-matrix-tool .axb-header{
  text-align: center;
  margin: 0 0 28px;
}.tc-wp-tool-root .axb-matrix-tool .axb-header h1{
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: 0 14px 35px rgba(45, 212, 191, 0.22);
}.tc-wp-tool-root .axb-matrix-tool .axb-header p{
  max-width: 680px;
  margin: 12px auto 0;
  color: #d7fff6;
  font-size: 1rem;
  line-height: 1.55;
}.tc-wp-tool-root .axb-matrix-tool .axb-layout{
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: start;
}.tc-wp-tool-root .axb-matrix-tool .axb-card{
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(199, 255, 244, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 30, 48, 0.88), rgba(20, 48, 75, 0.72));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}.tc-wp-tool-root .axb-matrix-tool .axb-card:hover{
  transform: translateY(-2px);
  border-color: rgba(99, 255, 224, 0.34);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36), 0 0 34px rgba(45, 212, 191, 0.12);
}.tc-wp-tool-root .axb-matrix-tool .axb-card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}.tc-wp-tool-root .axb-matrix-tool .axb-card-head h2, .tc-wp-tool-root .axb-matrix-tool .axb-section-head h3{
  margin: 0;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 1.2;
}.tc-wp-tool-root .axb-matrix-tool .axb-card-head h2{
  font-size: 1.06rem;
}.tc-wp-tool-root .axb-matrix-tool .axb-section-head h3{
  font-size: 0.95rem;
}.tc-wp-tool-root .axb-matrix-tool .axb-control{
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}.tc-wp-tool-root .axb-matrix-tool .axb-control label{
  color: #d8fff7;
  font-weight: 700;
  font-size: 0.92rem;
}.tc-wp-tool-root .axb-matrix-tool .axb-size-select, .tc-wp-tool-root .axb-matrix-tool .axb-cell{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(180, 255, 243, 0.24);
  border-radius: 12px;
  background-color: #071a2a;
  color: #ffffff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}.tc-wp-tool-root .axb-matrix-tool .axb-size-select{
  min-height: 46px;
  padding: 0 12px;
  font-size: 0.96rem;
}.tc-wp-tool-root .axb-matrix-tool .axb-size-select option{
  background-color: #071a2a;
  color: #ffffff;
}.tc-wp-tool-root .axb-matrix-tool .axb-size-select:focus, .tc-wp-tool-root .axb-matrix-tool .axb-cell:focus{
  border-color: #67ffe4;
  box-shadow: 0 0 0 4px rgba(103, 255, 228, 0.15), 0 0 24px rgba(45, 212, 191, 0.2);
  background-color: #0b2234;
}.tc-wp-tool-root .axb-matrix-tool .axb-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 10px;
}.tc-wp-tool-root .axb-matrix-tool .axb-vector-title{
  margin-top: 18px;
}.tc-wp-tool-root .axb-matrix-tool .axb-matrix-scroll, .tc-wp-tool-root .axb-matrix-tool .axb-vector-scroll{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 3px;
}.tc-wp-tool-root .axb-matrix-tool .axb-matrix-grid{
  display: grid;
  gap: 9px;
  min-width: min-content;
}.tc-wp-tool-root .axb-matrix-tool .axb-vector-grid{
  display: grid;
  grid-template-columns: minmax(74px, 104px);
  gap: 9px;
  min-width: min-content;
}.tc-wp-tool-root .axb-matrix-tool .axb-cell{
  min-width: 68px;
  height: 46px;
  padding: 8px 9px;
  text-align: center;
  font-size: 0.95rem;
  appearance: textfield;
}.tc-wp-tool-root .axb-matrix-tool .axb-cell::-webkit-outer-spin-button, .tc-wp-tool-root .axb-matrix-tool .axb-cell::-webkit-inner-spin-button{
  margin: 0;
  appearance: none;
}.tc-wp-tool-root .axb-matrix-tool .axb-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 18px;
}.tc-wp-tool-root .axb-matrix-tool .axb-btn, .tc-wp-tool-root .axb-matrix-tool .axb-small-btn, .tc-wp-tool-root .axb-matrix-tool .axb-copy-btn{
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}.tc-wp-tool-root .axb-matrix-tool .axb-btn{
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  height: 52px;
  padding: 0 12px;
  font-size: 0.96rem;
}.tc-wp-tool-root .axb-matrix-tool .axb-primary{
  color: #04111c;
  background: linear-gradient(135deg, #62ffe5, #b8ffdf);
  box-shadow: 0 14px 30px rgba(63, 255, 223, 0.22);
}.tc-wp-tool-root .axb-matrix-tool .axb-secondary{
  color: #f7fffd;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(218, 255, 248, 0.22);
}.tc-wp-tool-root .axb-matrix-tool .axb-small-btn, .tc-wp-tool-root .axb-matrix-tool .axb-copy-btn{
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.82rem;
  color: #ecfffb;
  background: rgba(103, 255, 228, 0.11);
  border: 1px solid rgba(149, 255, 235, 0.25);
}.tc-wp-tool-root .axb-matrix-tool .axb-btn:hover, .tc-wp-tool-root .axb-matrix-tool .axb-small-btn:hover, .tc-wp-tool-root .axb-matrix-tool .axb-copy-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(76, 255, 225, 0.18);
}.tc-wp-tool-root .axb-matrix-tool .axb-btn:active, .tc-wp-tool-root .axb-matrix-tool .axb-small-btn:active, .tc-wp-tool-root .axb-matrix-tool .axb-copy-btn:active{
  transform: translateY(1px);
}.tc-wp-tool-root .axb-matrix-tool .axb-btn:focus, .tc-wp-tool-root .axb-matrix-tool .axb-small-btn:focus, .tc-wp-tool-root .axb-matrix-tool .axb-copy-btn:focus{
  outline: 3px solid rgba(120, 255, 232, 0.36);
  outline-offset: 2px;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-stack{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-box{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(201, 255, 245, 0.18);
  background: rgba(3, 16, 27, 0.56);
  color: #f5fffd;
  padding: 14px;
  line-height: 1.55;
  overflow: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: axbFadeIn 220ms ease both;
}.tc-wp-tool-root .axb-matrix-tool .axb-result-box{
  max-height: 260px;
  min-height: 126px;
}.tc-wp-tool-root .axb-matrix-tool .axb-formula-box{
  max-height: 180px;
}.tc-wp-tool-root .axb-matrix-tool .axb-steps-box{
  max-height: 260px;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-box pre{
  margin: 0;
  white-space: pre-wrap;
  color: #f5fffd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-box ol{
  margin: 0;
  padding-left: 20px;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-box li{
  margin: 0 0 7px;
}.tc-wp-tool-root .axb-matrix-tool .axb-empty, .tc-wp-tool-root .axb-matrix-tool .axb-muted{
  color: #c7fff4;
}.tc-wp-tool-root .axb-matrix-tool .axb-status-bad{
  color: #ffe0e0;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-box::-webkit-scrollbar, .tc-wp-tool-root .axb-matrix-tool .axb-matrix-scroll::-webkit-scrollbar, .tc-wp-tool-root .axb-matrix-tool .axb-vector-scroll::-webkit-scrollbar{
  height: 8px;
  width: 8px;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-box::-webkit-scrollbar-track, .tc-wp-tool-root .axb-matrix-tool .axb-matrix-scroll::-webkit-scrollbar-track, .tc-wp-tool-root .axb-matrix-tool .axb-vector-scroll::-webkit-scrollbar-track{
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}.tc-wp-tool-root .axb-matrix-tool .axb-output-box::-webkit-scrollbar-thumb, .tc-wp-tool-root .axb-matrix-tool .axb-matrix-scroll::-webkit-scrollbar-thumb, .tc-wp-tool-root .axb-matrix-tool .axb-vector-scroll::-webkit-scrollbar-thumb{
  background: rgba(103, 255, 228, 0.45);
  border-radius: 999px;
}.tc-wp-tool-root .axb-matrix-tool .axb-toast{
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9999;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(181, 255, 241, 0.28);
  background: rgba(4, 18, 30, 0.94);
  color: #ffffff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  text-align: center;
  font-size: 0.92rem;
}.tc-wp-tool-root .axb-matrix-tool .axb-toast.axb-show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}@keyframes axbFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}@media (min-width: 320px) and (max-width: 374px) {.tc-wp-tool-root .axb-matrix-tool{
    border-radius: 0 !important;
    padding: 28px 10px;
  }.tc-wp-tool-root .axb-matrix-tool .axb-layout, .tc-wp-tool-root .axb-matrix-tool .axb-output-stack{
    grid-template-columns: 1fr;
  }.tc-wp-tool-root .axb-matrix-tool .axb-card{
    padding: 14px;
  }.tc-wp-tool-root .axb-matrix-tool .axb-size-select, .tc-wp-tool-root .axb-matrix-tool .axb-cell{
    width: 100%;
    max-width: 100%;
  }.tc-wp-tool-root .axb-matrix-tool .axb-cell{
    min-width: 58px;
    height: 44px;
    padding: 6px;
    font-size: 0.88rem;
  }.tc-wp-tool-root .axb-matrix-tool .axb-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }.tc-wp-tool-root .axb-matrix-tool .axb-btn{
    min-height: 48px;
    height: 50px;
    padding: 0 7px;
    font-size: 0.86rem;
    white-space: nowrap;
  }}@media (min-width: 375px) and (max-width: 429px) {.tc-wp-tool-root .axb-matrix-tool{
    border-radius: 0 !important;
    padding: 30px 12px;
  }.tc-wp-tool-root .axb-matrix-tool .axb-layout, .tc-wp-tool-root .axb-matrix-tool .axb-output-stack{
    grid-template-columns: 1fr;
  }.tc-wp-tool-root .axb-matrix-tool .axb-cell{
    min-width: 62px;
    height: 45px;
  }.tc-wp-tool-root .axb-matrix-tool .axb-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }.tc-wp-tool-root .axb-matrix-tool .axb-btn{
    min-height: 48px;
    height: 52px;
    white-space: nowrap;
  }}@media (min-width: 430px) and (max-width: 767px) {.tc-wp-tool-root .axb-matrix-tool{
    border-radius: 0 !important;
    padding: 34px 14px;
  }.tc-wp-tool-root .axb-matrix-tool .axb-layout, .tc-wp-tool-root .axb-matrix-tool .axb-output-stack{
    grid-template-columns: 1fr;
  }.tc-wp-tool-root .axb-matrix-tool .axb-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }.tc-wp-tool-root .axb-matrix-tool .axb-btn{
    min-height: 48px;
    height: 52px;
    white-space: nowrap;
  }}@media (min-width: 768px) and (max-width: 1023px) {.tc-wp-tool-root .axb-matrix-tool .axb-layout{
    grid-template-columns: 1fr;
  }.tc-wp-tool-root .axb-matrix-tool .axb-output-stack{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root .axb-matrix-tool .axb-result-card{
    grid-column: 1 / -1;
  }.tc-wp-tool-root .axb-matrix-tool .axb-size-select, .tc-wp-tool-root .axb-matrix-tool .axb-cell{
    width: 100%;
    max-width: 100%;
  }.tc-wp-tool-root .axb-matrix-tool .axb-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}@media (min-width: 1024px) and (max-width: 1199px) {.tc-wp-tool-root .axb-matrix-tool .axb-layout{
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }.tc-wp-tool-root .axb-matrix-tool .axb-output-stack{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root .axb-matrix-tool .axb-result-card{
    grid-column: 1 / -1;
  }.tc-wp-tool-root .axb-matrix-tool .axb-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}@media (min-width: 1200px) {.tc-wp-tool-root .axb-matrix-tool .axb-layout{
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }.tc-wp-tool-root .axb-matrix-tool .axb-output-stack{
    grid-template-columns: 1fr;
  }}@media (max-width: 299px) {.tc-wp-tool-root .axb-matrix-tool .axb-actions{
    grid-template-columns: 1fr;
  }}.tc-wp-tool-root{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  z-index: 0 !important;
}

.tc-wp-tool-root .axb-clear-btn {}
.tc-wp-tool-root .axb-input-card {}
.tc-wp-tool-root .axb-output-card {}
.tc-wp-tool-root .axb-sample-btn {}
.tc-wp-tool-root .axb-solve-btn {}