.jat-wrapper {
max-width: 640px;
margin: 1.5rem auto;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #1f2937;
}
.jat-form {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 1.25rem;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.jat-row {
margin-bottom: 0.85rem;
}
.jat-row label {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: #374151;
margin-bottom: 0.3rem;
}
.jat-hint {
font-weight: 500;
font-size: 0.78rem;
color: #dc2626;
margin-left: 0.25rem;
}
.jat-row input[type="text"] {
width: 100%;
box-sizing: border-box;
padding: 0.55rem 0.7rem;
border: 1px solid #d1d5db;
border-radius: 8px;
font-size: 0.95rem;
background: #fff;
transition: border-color 0.15s, box-shadow 0.15s;
}
.jat-row input[type="text"]:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.jat-convert-btn {
background: #2563eb;
color: #fff;
border: none;
border-radius: 8px;
padding: 0.7rem 1rem;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.15s;
width: 100%;
margin-top: 0.5rem;
}
.jat-convert-btn:hover {
background: #1d4ed8;
}
.jat-convert-btn:disabled {
background: #93c5fd;
cursor: not-allowed;
}
.jat-options {
display: flex;
flex-direction: column;
gap: 0.4rem;
margin: 0.85rem 0;
padding: 0.7rem;
background: #f9fafb;
border-radius: 8px;
font-size: 0.9rem;
}
.jat-options label {
display: flex;
align-items: center;
gap: 0.45rem;
cursor: pointer;
color: #374151;
}
.jat-results {
margin-top: 1.25rem;
display: flex;
flex-direction: column;
gap: 0.85rem;
}
.jat-result-block {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 1rem;
}
.jat-result-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.jat-result-header h4 {
margin: 0;
font-size: 0.9rem;
font-weight: 700;
color: #6b7280;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.jat-copy {
background: #f3f4f6;
border: 1px solid #d1d5db;
border-radius: 6px;
padding: 0.3rem 0.7rem;
font-size: 0.8rem;
font-weight: 600;
color: #374151;
cursor: pointer;
transition: background 0.15s;
white-space: nowrap;
}
.jat-copy:hover {
background: #e5e7eb;
}
.jat-result-block pre {
margin: 0;
padding: 0.7rem;
background: #f9fafb;
border-radius: 8px;
font-family: ui-monospace, SFMono-Regular, "Menlo", "Monaco", monospace;
font-size: 0.92rem;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-word;
color: #111827;
}
.jat-status {
margin-top: 0.7rem;
font-size: 0.88rem;
min-height: 1.2em;
color: #6b7280;
}
.jat-status[data-type="error"] {
color: #dc2626;
}
.jat-status[data-type="success"] {
color: #059669;
} .jat-variant-mini {
max-width: 760px;
}
.jat-form-mini {
padding: 1rem;
}
.jat-mini-inputs {
display: grid;
grid-template-columns: minmax(140px, 1fr) 2fr;
gap: 0.75rem;
margin-bottom: 0.75rem;
}
.jat-form-mini .jat-row {
margin-bottom: 0;
} .jat-jp-address {
margin-top: 0.7rem;
font-size: 0.95rem;
font-weight: 600;
color: #dc2626;
line-height: 1.4;
word-break: break-word;
}
.jat-jp-address-label {
margin-right: 0.25rem;
}
.jat-mini-results {
margin-top: 1rem;
display: flex;
flex-direction: column;
gap: 0.85rem;
}
.jat-cell {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 0.85rem 0.95rem;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.jat-cell-label {
font-size: 0.85rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 0.55rem;
line-height: 1.3;
}
.jat-cell-label .jat-en {
color: #6b7280;
font-weight: 500;
font-size: 0.78rem;
margin-left: 0.25rem;
}
.jat-cell-row {
display: flex;
align-items: center;
gap: 0.5rem;
background: #F3FAF7;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 0.5rem 0.6rem;
min-height: 2.1rem;
}
.jat-value {
flex: 1;
font-size: 0.95rem;
color: #111827;
word-break: break-word;
line-height: 1.4;
min-width: 0;
}
.jat-value:empty::before {
content: '—';
color: #9ca3af;
}
.jat-copy-mini {
padding: 0.2rem 0.55rem;
font-size: 0.75rem;
}
.jat-cell-grid2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.85rem;
align-items: stretch;
}
.jat-cell-grid2 .jat-cell {
display: flex;
flex-direction: column;
}
@media (max-width: 640px) {
.jat-cell-grid2 {
grid-template-columns: 1fr;
}
}
@media (max-width: 540px) {
.jat-mini-inputs {
grid-template-columns: 1fr;
}
}