.dcsn-am {
    --dcsn-primary: #0f5bff;
    --dcsn-primary-dark: #0847cc;
    --dcsn-border: #e5e7eb;
    --dcsn-bg: #ffffff;
    --dcsn-soft: #f8fafc;
    --dcsn-text: #111827;
    --dcsn-muted: #6b7280;
    font-family: inherit;
    color: var(--dcsn-text);
    margin: 24px 0;
}

.dcsn-am-card {
    background: var(--dcsn-bg);
    border: 1px solid var(--dcsn-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.dcsn-am-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.25;
}

.dcsn-am-header p {
    margin: 0 0 20px;
    color: var(--dcsn-muted);
    font-size: 15px;
}

.dcsn-am-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.dcsn-am-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dcsn-am-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dcsn-am label span {
    display: block;
    font-weight: 650;
    margin-bottom: 7px;
    font-size: 14px;
}

.dcsn-am label b {
    color: #dc2626;
}

.dcsn-am input,
.dcsn-am select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--dcsn-border);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
    box-sizing: border-box;
}

.dcsn-am input:focus,
.dcsn-am select:focus {
    outline: none;
    border-color: var(--dcsn-primary);
    box-shadow: 0 0 0 3px rgba(15, 91, 255, 0.14);
}

.dcsn-am select:disabled,
.dcsn-am button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dcsn-am-button,
.dcsn-am-copy {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}

.dcsn-am-button {
    background: var(--dcsn-primary);
    color: #fff;
    min-height: 48px;
    margin-top: 2px;
}

.dcsn-am-button:hover,
.dcsn-am-copy:hover {
    background: var(--dcsn-primary-dark);
}

.dcsn-am-result {
    margin-top: 18px;
}

.dcsn-am-alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.dcsn-am-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.dcsn-am-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.dcsn-am-loading {
    color: var(--dcsn-muted);
    font-size: 14px;
}

.dcsn-am-result-card {
    background: var(--dcsn-soft);
    border: 1px solid var(--dcsn-border);
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
}

.dcsn-am-result-title {
    font-size: 13px;
    color: var(--dcsn-muted);
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.dcsn-am-address-line {
    background: #fff;
    border: 1px solid var(--dcsn-border);
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0 10px;
    font-weight: 700;
    word-break: break-word;
}

.dcsn-am-copy {
    background: #111827;
    color: #fff;
    font-size: 14px;
}

.dcsn-am-note {
    color: var(--dcsn-muted);
    font-size: 14px;
    margin-top: 10px;
}

.dcsn-am-multiple-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

@media (max-width: 760px) {
    .dcsn-am-card {
        padding: 18px;
        border-radius: 16px;
    }
    .dcsn-am-header h2 {
        font-size: 22px;
    }
    .dcsn-am-grid-2,
    .dcsn-am-grid-3 {
        grid-template-columns: 1fr;
    }
    .dcsn-am-button,
    .dcsn-am-copy {
        width: 100%;
    }
}
