.ivds-tn {
    --ivds-blue: #054DDD;
    --ivds-blue-dark: #073b91;
    --ivds-blue-soft: #edf3ff;
    --ivds-border: #dbe3ef;
    --ivds-border-strong: #c8d4e6;
    --ivds-text: #172033;
    --ivds-muted: #667085;
    --ivds-soft: #f7f9fc;
    --ivds-paper: #ffffff;
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px 40px 42px;
    border: 1px solid var(--ivds-border);
    border-radius: 18px;
    background: var(--ivds-paper);
    box-sizing: border-box;
    color: var(--ivds-text);
}

.ivds-tn *,
.ivds-tn *::before,
.ivds-tn *::after { box-sizing: border-box; }

.ivds-tn__title {
    margin: 0 0 8px;
    color: var(--ivds-blue);
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.12;
    font-weight: 500;
}

.ivds-tn__subtitle {
    margin: 0 0 28px;
    color: var(--ivds-text);
    line-height: 1.65;
}

.ivds-tn__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.ivds-tn__field--full { grid-column: 1 / -1; }

.ivds-tn__field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ivds-text);
    font-weight: 650;
}

.ivds-tn__optional,
.ivds-tn__field small,
.ivds-tn__privacy { color: var(--ivds-muted); font-weight: 400; }

.ivds-tn__field input[type="text"],
.ivds-tn__field input[type="date"],
.ivds-tn__field input[type="time"] {
    width: 100%;
    min-height: 52px;
    padding: 11px 14px;
    border: 1px solid var(--ivds-border-strong);
    border-radius: 9px;
    background: #fff;
    color: var(--ivds-text);
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ivds-tn__field input:focus {
    outline: none;
    border-color: var(--ivds-blue);
    box-shadow: 0 0 0 3px rgba(5, 77, 221, .11);
}

.ivds-tn__field small {
    display: block;
    margin-top: 7px;
    line-height: 1.45;
}

.ivds-tn__place-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.ivds-tn__search-button,
.ivds-tn__button {
    appearance: none;
    border: 0;
    border-radius: 9px;
    background: var(--ivds-blue);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ivds-tn__search-button {
    min-height: 52px;
    padding: 13px 19px;
    white-space: nowrap;
}

.ivds-tn__button {
    min-height: 50px;
    padding: 13px 24px;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.ivds-tn__search-button:hover,
.ivds-tn__search-button:focus,
.ivds-tn__button:hover,
.ivds-tn__button:focus {
    background: var(--ivds-blue-dark);
    box-shadow: 0 5px 14px rgba(5, 77, 221, .15);
}

.ivds-tn__search-button[disabled],
.ivds-tn__button[disabled] { opacity: .62; cursor: wait; box-shadow: none; }

.ivds-tn__location-results {
    margin-top: 10px;
    border: 1px solid var(--ivds-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(23, 32, 51, .07);
}

.ivds-tn__location-results[hidden],
.ivds-tn__selected-place[hidden],
.ivds-tn__preview[hidden],
.ivds-tn__astro[hidden] { display: none; }

.ivds-tn__location-option {
    width: 100%;
    display: block;
    padding: 11px 13px;
    border: 0;
    border-bottom: 1px solid var(--ivds-border);
    background: #fff;
    color: var(--ivds-text);
    text-align: left;
    font: inherit;
    line-height: 1.45;
    cursor: pointer;
}

.ivds-tn__location-option:last-child { border-bottom: 0; }
.ivds-tn__location-option:hover,
.ivds-tn__location-option:focus { background: var(--ivds-soft); }

.ivds-tn__selected-place {
    margin-top: 10px;
    padding: 11px 13px;
    border-left: 3px solid var(--ivds-blue);
    background: var(--ivds-blue-soft);
    color: var(--ivds-text);
    line-height: 1.45;
}

.ivds-tn__privacy {
    margin: 18px 0 16px;
    font-size: .89rem;
    line-height: 1.5;
}

.ivds-tn__privacy p { margin: 0 0 5px; }
.ivds-tn__privacy a { color: inherit; text-decoration: underline; }
.ivds-tn__attribution { font-size: .9em; }

.ivds-tn__message {
    min-height: 1.4em;
    margin-top: 12px;
    color: #a63328;
}

/* Risultato */
.ivds-tn__preview {
    display: block;
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--ivds-border);
}

.ivds-tn__result-head {
    margin-bottom: 20px;
}

.ivds-tn__eyebrow {
    margin: 0 0 4px !important;
    color: var(--ivds-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ivds-tn__result-head h3 {
    margin: 0 0 6px;
    color: var(--ivds-blue-dark);
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    line-height: 1.16;
    font-weight: 500;
}

.ivds-tn__result-head .ivds-tn__preview-data {
    margin: 0;
    color: var(--ivds-text);
    line-height: 1.55;
}

.ivds-tn__summary {
    display: grid;
    grid-template-columns: minmax(420px, 1.5fr) minmax(280px, .72fr);
    gap: 34px;
    align-items: center;
}

.ivds-tn__wheel-card {
    padding: 12px;
    border: 1px solid var(--ivds-border);
    border-radius: 14px;
    background: #fff;
}

.ivds-tn__wheel-chart {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.ivds-tn__wheel-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.ivds-tn__birth-card {
    padding: 22px 22px 20px;
    border: 1px solid var(--ivds-border);
    border-radius: 12px;
    background: var(--ivds-soft);
}

.ivds-tn__birth-card h4,
.ivds-tn__tables h4 {
    margin: 0 0 14px;
    color: var(--ivds-blue-dark);
    font-size: 1.12rem;
    font-weight: 700;
}

.ivds-tn__time-data {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
}

.ivds-tn__time-data > div {
    padding: 11px 0;
    border-bottom: 1px solid var(--ivds-border);
}

.ivds-tn__time-data > div:last-child { border-bottom: 0; }

.ivds-tn__time-data dt {
    margin: 0 0 3px;
    color: var(--ivds-muted);
    font-size: .78rem;
    letter-spacing: .02em;
}

.ivds-tn__time-data dd {
    margin: 0;
    color: var(--ivds-text);
    font-weight: 650;
    line-height: 1.35;
}

/* Ruota astrologica */
.ivds-wheel__outer {
    fill: #fff;
    stroke: var(--ivds-blue-dark);
    stroke-width: 1.65;
}

.ivds-wheel__zodiac-band {
    fill: #fbfcff;
    stroke: none;
}

.ivds-wheel__ring {
    fill: none;
    stroke: #7ea1e8;
    stroke-width: .9;
}

.ivds-wheel__inner {
    fill: #fff;
    stroke: #b9c9e7;
    stroke-width: .8;
}

.ivds-wheel__minor-tick {
    stroke: #d8e1f1;
    stroke-width: .7;
}

.ivds-wheel__major-tick,
.ivds-wheel__sign-line {
    stroke: #9eb4df;
    stroke-width: .95;
}

.ivds-wheel__house-line {
    stroke: #c0cbe0;
    stroke-width: .8;
}

.ivds-wheel__house-line--axis {
    stroke: var(--ivds-blue);
    stroke-width: 1.65;
}

.ivds-wheel__zodiac-glyph {
    fill: var(--ivds-blue-dark);
    font-size: 26px;
    font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif;
    font-weight: 500;
}


.ivds-wheel__zodiac-glyph--sign-0,
.ivds-wheel__zodiac-glyph--sign-4,
.ivds-wheel__zodiac-glyph--sign-8 { fill: #e14a3b; }

.ivds-wheel__zodiac-glyph--sign-1,
.ivds-wheel__zodiac-glyph--sign-5,
.ivds-wheel__zodiac-glyph--sign-9 { fill: #42a34b; }

.ivds-wheel__zodiac-glyph--sign-2,
.ivds-wheel__zodiac-glyph--sign-6,
.ivds-wheel__zodiac-glyph--sign-10 { fill: #f08c2a; }

.ivds-wheel__zodiac-glyph--sign-3,
.ivds-wheel__zodiac-glyph--sign-7,
.ivds-wheel__zodiac-glyph--sign-11 { fill: #315dff; }

.ivds-wheel__house-number {
    fill: #7b879b;
    font-size: 14px;
    font-weight: 600;
}

.ivds-wheel__planet-tick {
    stroke: #bfcbe1;
    stroke-width: .8;
}

.ivds-wheel__planet-glyph {
    font-size: 25px;
    font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif;
    font-weight: 600;
}

.ivds-wheel__planet-degree {
    fill: #657186;
    font-size: 10.5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.ivds-wheel__point-glyph {
    fill: #253047;
    font-size: 15px;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
}

.ivds-wheel__axis-label {
    fill: var(--ivds-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
}

.ivds-wheel__center-dot { fill: var(--ivds-blue); }

/* Pianeti e punti astrologici uniformati in nero */
.ivds-wheel__body--sun,
.ivds-wheel__body--moon,
.ivds-wheel__body--mercury,
.ivds-wheel__body--venus,
.ivds-wheel__body--mars,
.ivds-wheel__body--jupiter,
.ivds-wheel__body--saturn,
.ivds-wheel__body--uranus,
.ivds-wheel__body--neptune,
.ivds-wheel__body--pluto,
.ivds-wheel__body--node,
.ivds-wheel__body--lilith,
.ivds-wheel__body--chiron,
.ivds-wheel__body--vertex { fill: #111111; }

.ivds-tn__astro {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--ivds-border);
}

.ivds-tn__angles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.ivds-tn__angles > div {
    padding: 16px 17px;
    border: 1px solid var(--ivds-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(23, 32, 51, .035);
}

.ivds-tn__angles span,
.ivds-tn__house-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--ivds-muted);
    font-size: .78rem;
}

.ivds-tn__angles strong,
.ivds-tn__house-grid strong {
    color: var(--ivds-text);
    font-weight: 700;
}

.ivds-tn__tables {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, .78fr);
    gap: 30px;
    align-items: start;
}

.ivds-tn__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ivds-border);
    border-radius: 11px;
    background: #fff;
}

.ivds-tn__table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #fff;
}

.ivds-tn__table th,
.ivds-tn__table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e7ebf2;
    text-align: left;
    vertical-align: middle;
}

.ivds-tn__table tr:last-child td { border-bottom: 0; }

.ivds-tn__table th {
    background: #f8faff;
    color: #536176;
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.ivds-tn__planet-glyph {
    display: inline-block;
    min-width: 1.45em;
    color: var(--ivds-blue);
    font-size: 1.08em;
}

.ivds-tn__house-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.ivds-tn__house-grid > div {
    padding: 12px 13px;
    border: 1px solid var(--ivds-border);
    border-radius: 9px;
    background: #fff;
}

.ivds-tn__engine-note {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid #edf0f5;
    color: var(--ivds-muted);
    font-size: .88rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .ivds-tn__summary,
    .ivds-tn__tables { grid-template-columns: 1fr; }
    .ivds-tn__wheel-chart { max-width: 590px; }
    .ivds-tn__birth-card { max-width: 590px; margin: 0 auto; width: 100%; }
}

@media (max-width: 680px) {
    .ivds-tn { padding: 24px 18px 28px; border-radius: 13px; }
    .ivds-tn__grid { grid-template-columns: 1fr; }
    .ivds-tn__field--full { grid-column: auto; }
    .ivds-tn__place-row { grid-template-columns: 1fr; }
    .ivds-tn__search-button { width: 100%; }
    .ivds-tn__angles { grid-template-columns: 1fr; }
    .ivds-tn__summary { gap: 22px; }
    .ivds-tn__wheel-card { padding: 4px; border-radius: 10px; }
}

@media (max-width: 520px) {
    .ivds-tn__house-grid { grid-template-columns: 1fr; }
    .ivds-tn__table th,
    .ivds-tn__table td { padding: 9px 8px; }
}

/* Rifiniture ruota 0.8.0 */
.ivds-wheel__degree-tick {
    stroke: #e7edf7;
    stroke-width: .48;
}

.ivds-wheel__five-tick {
    stroke: #cbd8ee;
    stroke-width: .72;
}

.ivds-wheel__aspects {
    pointer-events: none;
}

.ivds-wheel__aspect {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.ivds-wheel__aspect--trine,
.ivds-wheel__aspect--sextile {
    stroke: #2d68d8;
    stroke-width: 1.15;
    opacity: .82;
}

.ivds-wheel__aspect--square,
.ivds-wheel__aspect--opposition {
    stroke: #c94a43;
    stroke-width: 1.2;
    opacity: .84;
}

.ivds-wheel__aspect--quincunx {
    stroke: #4f9a63;
    stroke-width: 1.05;
    stroke-dasharray: 5 4;
    opacity: .82;
}

.ivds-wheel__aspect--conjunction {
    stroke: #7b879b;
    stroke-width: 1.05;
    stroke-dasharray: 2.5 3;
    opacity: .74;
}

.ivds-wheel__axis-degree {
    fill: #4f5f77;
    font-size: 9.5px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}

.ivds-tn__aspect-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 8px 8px 2px;
    color: var(--ivds-muted);
    font-size: .75rem;
    line-height: 1.3;
}

.ivds-tn__aspect-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ivds-tn__aspect-swatch {
    display: inline-block;
    width: 22px;
    height: 0;
    border-top: 2px solid currentColor;
}

.ivds-tn__aspect-swatch--harmonic { color: #2d68d8; }
.ivds-tn__aspect-swatch--dynamic { color: #c94a43; }
.ivds-tn__aspect-swatch--quincunx {
    color: #4f9a63;
    border-top-style: dashed;
}
.ivds-tn__aspect-swatch--conjunction {
    color: #7b879b;
    border-top-style: dotted;
}

@media (max-width: 680px) {
    .ivds-tn__aspect-legend {
        gap: 7px 12px;
        font-size: .71rem;
    }
}
.ivds-wheel__planet-degree {
    font-size: 9.6px;
    letter-spacing: -.015em;
}


.ivds-wheel__zodiac-glyph--sign-0,
.ivds-wheel__zodiac-glyph--sign-4,
.ivds-wheel__zodiac-glyph--sign-8 { fill: #e14a3b; }

.ivds-wheel__zodiac-glyph--sign-1,
.ivds-wheel__zodiac-glyph--sign-5,
.ivds-wheel__zodiac-glyph--sign-9 { fill: #42a34b; }

.ivds-wheel__zodiac-glyph--sign-2,
.ivds-wheel__zodiac-glyph--sign-6,
.ivds-wheel__zodiac-glyph--sign-10 { fill: #f08c2a; }

.ivds-wheel__zodiac-glyph--sign-3,
.ivds-wheel__zodiac-glyph--sign-7,
.ivds-wheel__zodiac-glyph--sign-11 { fill: #315dff; }

.ivds-wheel__house-number {
    font-size: 13px;
}


/* 0.8.6 — notazione gradi/minuti più vicina ai grafici astrologici tradizionali */
.ivds-wheel__planet-degree {
    fill: #111827;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}
.ivds-wheel__planet-degree-degree { font-size: 10.2px; }
.ivds-wheel__planet-degree-minute {
    font-size: 6.8px;
    font-weight: 600;
}
.ivds-wheel__axis-degree-degree { font-size: 9.5px; }
.ivds-wheel__axis-degree-minute {
    font-size: 6.4px;
    font-weight: 700;
}


/* 0.8.7 — leggibilità e anti-sovrapposizione definitiva dei punti */
.ivds-wheel__planet-glyph {
    font-size: 27px;
    font-weight: 600;
}
.ivds-wheel__point-glyph {
    font-size: 17px;
}
.ivds-wheel__planet-degree-degree {
    font-size: 13.2px;
    font-weight: 700;
}
.ivds-wheel__planet-degree-minute {
    font-size: 8.8px;
    font-weight: 700;
}
.ivds-wheel__axis-degree-degree {
    font-size: 11.3px;
    font-weight: 700;
}
.ivds-wheel__axis-degree-minute {
    font-size: 7.8px;
    font-weight: 700;
}
.ivds-wheel__planet-tick {
    stroke: #aebbd1;
    stroke-width: .75;
}


/* 0.8.9 — rifinitura finale della ruota: fascia pianeti più compatta e notazione più equilibrata */
.ivds-wheel__planet-glyph {
    font-size: 24.5px;
    font-weight: 600;
}
.ivds-wheel__point-glyph {
    font-size: 15.5px;
    font-weight: 800;
}
.ivds-wheel__planet-degree-degree {
    font-size: 11.6px;
    font-weight: 700;
}
.ivds-wheel__planet-degree-minute {
    font-size: 7.3px;
    font-weight: 700;
}
.ivds-wheel__planet-degree {
    fill: #1c2738;
    letter-spacing: 0;
}
.ivds-wheel__planet-tick {
    stroke: #b9c4d6;
    stroke-width: .7;
}


/* 0.8.10 — migliore leggibilità dei quattro angoli */
.ivds-wheel__axis-label {
    font-size: 12.2px;
}
.ivds-wheel__axis-degree-degree {
    font-size: 11.8px;
}
.ivds-wheel__axis-degree-minute {
    font-size: 8px;
}


/* 0.8.11 — angoli del tema con maggiore respiro rispetto al bordo della ruota */
.ivds-wheel__axis-label {
    font-size: 12px;
    letter-spacing: .02em;
}
.ivds-wheel__axis-degree-degree {
    font-size: 11.4px;
}
.ivds-wheel__axis-degree-minute {
    font-size: 7.8px;
}


/* 0.8.12 — rifiniture finali della ruota */
.ivds-wheel__outer {
    stroke-width: 1.28;
}
.ivds-wheel__house-line {
    stroke: #aebcd7;
    stroke-width: .92;
}
.ivds-wheel__house-line--axis {
    stroke-width: 1.55;
}
.ivds-wheel__house-number {
    fill: #697891;
    font-weight: 700;
}


/* 0.8.13 — testata integrata nella carta */
.ivds-tn__result-head {
    margin-bottom: 10px;
}
.ivds-tn__summary {
    display: block;
}
.ivds-tn__wheel-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 18px 14px;
    overflow: hidden;
}
.ivds-tn__chart-header {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(190px, .75fr);
    column-gap: 26px;
    row-gap: 10px;
    margin: 0 -18px 14px;
    padding: 15px 18px 13px;
    border-bottom: 1px solid var(--ivds-border);
    background: #fbfcff;
}
.ivds-tn__chart-header-main,
.ivds-tn__chart-header-time {
    display: grid;
    gap: 4px;
}
.ivds-tn__chart-header-main > div,
.ivds-tn__chart-header-time > div {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 7px;
    align-items: baseline;
    min-width: 0;
}
.ivds-tn__chart-header span {
    color: #56657b;
    font-size: .82rem;
    font-weight: 600;
}
.ivds-tn__chart-header strong {
    min-width: 0;
    color: var(--ivds-text);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.ivds-tn__chart-summary {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding-top: 10px;
    border-top: 1px solid #e4e9f2;
}
.ivds-tn__chart-summary > div {
    display: flex;
    align-items: baseline;
    gap: 7px;
}
.ivds-tn__chart-summary span {
    color: var(--ivds-blue);
    font-weight: 750;
}
.ivds-tn__chart-summary strong {
    color: var(--ivds-blue-dark);
}
.ivds-tn__wheel-chart {
    max-width: 650px;
}
@media (max-width: 680px) {
    .ivds-tn__chart-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .ivds-tn__chart-summary {
        grid-column: 1;
        gap: 8px 18px;
    }
}


/* 0.8.14 — allineamento titolo e marchio della carta */
.ivds-tn__result-head {
    max-width: 900px;
    margin: 0 auto 10px;
    padding: 0 18px;
    box-sizing: border-box;
}
.ivds-tn__chart-header-side {
    display: grid;
    gap: 10px;
    align-content: start;
}
.ivds-tn__chart-brand {
    justify-self: end;
    min-width: 176px;
    padding: 8px 11px 7px;
    border: 1px solid #d6dfef;
    border-radius: 7px;
    background: #fff;
    text-align: center;
    line-height: 1.15;
}
.ivds-tn__chart-brand strong {
    display: block;
    color: var(--ivds-blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 600;
}
.ivds-tn__chart-brand span {
    display: block;
    margin-top: 3px;
    color: var(--ivds-blue);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .02em;
}
.ivds-tn__chart-header-side .ivds-tn__chart-header-time {
    width: 100%;
}
@media (max-width: 680px) {
    .ivds-tn__result-head {
        padding: 0 4px;
    }
    .ivds-tn__chart-brand {
        justify-self: start;
        min-width: 0;
    }
}


/* 0.8.15 — marchio allineato alla colonna dell'orario */
.ivds-tn__chart-header-side {
    width: 100%;
}
.ivds-tn__chart-brand {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
}
.ivds-tn__chart-brand strong,
.ivds-tn__chart-brand span {
    text-align: left;
}


/* 0.8.16 — testata della carta più sobria e integrata */
.ivds-tn__wheel-card {
    padding-top: 0;
}
.ivds-tn__chart-header {
    grid-template-columns: minmax(0, 1.35fr) minmax(215px, .65fr);
    column-gap: 34px;
    row-gap: 8px;
    padding: 16px 22px 12px;
    background: #fff;
}
.ivds-tn__chart-header-main {
    gap: 5px;
    align-content: start;
}
.ivds-tn__chart-header-side {
    gap: 8px;
    align-content: start;
}
.ivds-tn__chart-brand {
    width: auto;
    justify-self: end;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: right;
}
.ivds-tn__chart-brand strong,
.ivds-tn__chart-brand span {
    text-align: right;
}
.ivds-tn__chart-brand strong {
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.05;
}
.ivds-tn__chart-brand span {
    margin-top: 2px;
    font-size: .68rem;
}
.ivds-tn__chart-header-time {
    justify-self: end;
    width: auto;
    min-width: 215px;
    gap: 4px;
}
.ivds-tn__chart-header-time > div {
    grid-template-columns: 82px minmax(0, 1fr);
}
.ivds-tn__chart-header-main > div {
    grid-template-columns: 62px minmax(0, 1fr);
}
.ivds-tn__chart-summary {
    margin-top: 3px;
    padding-top: 9px;
    gap: 10px 32px;
}
.ivds-tn__chart-summary span,
.ivds-tn__chart-summary strong {
    font-size: .86rem;
}
@media (max-width: 680px) {
    .ivds-tn__chart-header {
        grid-template-columns: 1fr;
        padding: 14px 14px 11px;
    }
    .ivds-tn__chart-brand,
    .ivds-tn__chart-brand strong,
    .ivds-tn__chart-brand span {
        justify-self: start;
        text-align: left;
    }
    .ivds-tn__chart-header-time {
        justify-self: stretch;
        min-width: 0;
        width: 100%;
    }
}


/* 0.8.17 — testata interna riorganizzata con tempi e marchio affiancati */
.ivds-tn__chart-header {
    grid-template-columns: minmax(0, 1.3fr) minmax(210px, .8fr) minmax(170px, .62fr);
    column-gap: 28px;
    row-gap: 10px;
    align-items: start;
}
.ivds-tn__chart-header-main {
    grid-column: 1;
}
.ivds-tn__chart-header-time {
    grid-column: 2;
    justify-self: stretch;
    align-self: center;
    min-width: 0;
    width: 100%;
    gap: 6px;
}
.ivds-tn__chart-header-time > div {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
}
.ivds-tn__chart-brand {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    width: auto;
    min-width: 165px;
    text-align: right;
}
.ivds-tn__chart-brand strong,
.ivds-tn__chart-brand span {
    text-align: right;
}
.ivds-tn__chart-summary {
    grid-column: 1 / -1;
}
@media (max-width: 860px) {
    .ivds-tn__chart-header {
        grid-template-columns: minmax(0, 1fr) minmax(190px, .9fr);
    }
    .ivds-tn__chart-header-main {
        grid-column: 1;
    }
    .ivds-tn__chart-header-time {
        grid-column: 2;
    }
    .ivds-tn__chart-brand {
        grid-column: 2;
        justify-self: start;
        text-align: left;
        margin-top: 4px;
    }
    .ivds-tn__chart-brand strong,
    .ivds-tn__chart-brand span {
        text-align: left;
    }
}
@media (max-width: 680px) {
    .ivds-tn__chart-header {
        grid-template-columns: 1fr;
    }
    .ivds-tn__chart-header-main,
    .ivds-tn__chart-header-time,
    .ivds-tn__chart-brand,
    .ivds-tn__chart-summary {
        grid-column: 1;
    }
    .ivds-tn__chart-header-time > div,
    .ivds-tn__chart-header-main > div {
        grid-template-columns: 100px minmax(0, 1fr);
    }
    .ivds-tn__chart-brand,
    .ivds-tn__chart-brand strong,
    .ivds-tn__chart-brand span {
        justify-self: start;
        text-align: left;
    }
}


/* 0.8.19 — ora di nascita semplificata e marchio più visibile */
.ivds-tn__chart-header {
    grid-template-columns: minmax(0, 1.3fr) minmax(235px, .86fr) minmax(210px, .7fr);
    column-gap: 24px;
}
.ivds-tn__chart-header-time > div {
    grid-template-columns: 122px minmax(0, 1fr);
}
.ivds-tn__chart-brand {
    justify-self: center;
    align-self: center;
    min-width: 0;
    width: auto;
    margin-right: 16px;
    text-align: center;
}
.ivds-tn__chart-brand strong,
.ivds-tn__chart-brand span {
    text-align: center;
}
.ivds-tn__chart-brand strong {
    font-size: 1.12rem;
    line-height: 1.05;
}
.ivds-tn__chart-brand span {
    margin-top: 3px;
    font-size: .76rem;
    letter-spacing: .015em;
}
@media (max-width: 860px) {
    .ivds-tn__chart-brand {
        justify-self: start;
        margin-right: 0;
        text-align: left;
    }
    .ivds-tn__chart-brand strong,
    .ivds-tn__chart-brand span {
        text-align: left;
    }
}


/* 0.8.20 — marchio più grande e leggibile */
.ivds-tn__chart-brand strong {
    font-size: 1.38rem;
    line-height: 1.02;
}
.ivds-tn__chart-brand span {
    margin-top: 4px;
    font-size: .88rem;
    letter-spacing: .01em;
}


/* 0.8.21 — testata interna con tipografia più ampia */
.ivds-tn__chart-header span {
    font-size: .92rem;
    line-height: 1.35;
}
.ivds-tn__chart-header strong {
    font-size: 1.08rem;
    line-height: 1.38;
}
.ivds-tn__chart-header-main {
    gap: 9px;
}
.ivds-tn__chart-header-time {
    gap: 8px;
}
.ivds-tn__chart-header-main > div {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
}
.ivds-tn__chart-header-time > div {
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 12px;
}
.ivds-tn__chart-summary {
    gap: 12px 36px;
}
.ivds-tn__chart-summary span,
.ivds-tn__chart-summary strong {
    font-size: .98rem;
}
.ivds-tn__chart-brand strong {
    font-size: 1.62rem;
    line-height: 1.02;
}
.ivds-tn__chart-brand span {
    font-size: 1rem;
    margin-top: 4px;
}
@media (max-width: 680px) {
    .ivds-tn__chart-header-main > div,
    .ivds-tn__chart-header-time > div {
        grid-template-columns: 112px minmax(0, 1fr);
    }
    .ivds-tn__chart-header strong {
        font-size: 1rem;
    }
    .ivds-tn__chart-brand strong {
        font-size: 1.34rem;
    }
    .ivds-tn__chart-brand span {
        font-size: .9rem;
    }
}


/* 0.8.22 — legenda aspetti più leggibile */
.ivds-tn__aspect-legend {
    gap: 10px 24px;
    margin: 14px 10px 4px;
    font-size: .92rem;
    line-height: 1.35;
}
.ivds-tn__aspect-legend-item {
    gap: 8px;
}
.ivds-tn__aspect-swatch {
    width: 32px;
    border-top-width: 2.4px;
}
@media (max-width: 680px) {
    .ivds-tn__aspect-legend {
        gap: 8px 16px;
        font-size: .82rem;
    }
    .ivds-tn__aspect-swatch {
        width: 28px;
    }
}


/* 0.8.23 — proporzioni ottiche e distanze dei glifi */
.ivds-wheel__planet-glyph {
    font-size: 24px;
}
.ivds-wheel__body--sun,
.ivds-wheel__body--moon {
    font-size: 25.5px;
}
.ivds-wheel__body--node,
.ivds-wheel__body--chiron {
    font-size: 22.5px;
}
.ivds-wheel__body--lilith {
    font-size: 21.5px;
}
.ivds-wheel__point-glyph.ivds-wheel__body--vertex {
    font-size: 16px;
}
.ivds-wheel__planet-degree-degree {
    font-size: 11.8px;
}
.ivds-wheel__planet-degree-minute {
    font-size: 7.5px;
}


/* 0.8.27 — disposizione planetaria su una sola fascia, ispirata alla logica dei grafici astrologici tradizionali */
.ivds-wheel__planet-tick {
    stroke: #aebbd2;
    stroke-width: .72;
}
.ivds-wheel__planet-degree-degree {
    font-size: 11.4px;
    font-weight: 700;
}
.ivds-wheel__planet-degree-minute {
    font-size: 7.1px;
    font-weight: 700;
}
.ivds-wheel__planet-glyph {
    font-size: 24px;
}
.ivds-wheel__point-glyph {
    font-size: 15px;
}
.ivds-wheel__body--lilith {
    font-size: 22px;
}


/* 0.8.28 — gradi planetari più leggibili, sul modello dei grafici astrologici tradizionali */
.ivds-wheel__planet-degree-degree {
    font-size: 13.6px;
    font-weight: 750;
}
.ivds-wheel__planet-degree-minute {
    font-size: 8.9px;
    font-weight: 750;
}
.ivds-wheel__planet-degree {
    fill: #111827;
}

/* 0.9.4 — la testata e le coordinate occupano tutta la larghezza su telefono. */
@media (max-width: 680px) {
    .ivds-tn__chart-header { grid-template-columns: 1fr; }
}

/* 0.9.6 — lettura delle posizioni, aspetti e richiami interattivi. */
.ivds-tn .ivds-tn__zodiac-icon {
    display: inline-block;
    width: 1.35em;
    height: 1.5em;
    vertical-align: -.35em;
    overflow: visible;
}
.ivds-tn__zodiac-icon text {
    font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif;
    font-size: 26px;
    font-weight: 500;
}
.ivds-tn__planet-glyph {
    font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif;
}
.ivds-tn .ivds-tn__privacy,
.ivds-tn .ivds-tn__privacy p,
.ivds-tn .ivds-tn__engine-note,
.ivds-tn .ivds-tn__motion-note,
.ivds-tn .ivds-tn__aspects-note,
.ivds-tn .ivds-tn__scroll-hint,
.ivds-tn .ivds-tn__wheel-hint,
.ivds-tn .ivds-tn__wheel-selection {
    font-size: 14px;
    line-height: 1.65;
    color: #4b5b73;
}
.ivds-tn .ivds-tn__motion-note { margin: 12px 0 0; }
.ivds-tn .ivds-tn__aspects-note { margin: 0 0 16px; }
.ivds-tn__aspects-section { margin-top: 30px; min-width: 0; }
.ivds-tn .ivds-tn__aspects-section h4 {
    margin: 0 0 10px;
    color: var(--ivds-blue-dark);
    font-size: 1.12rem;
    font-weight: 700;
}
.ivds-tn__aspects-table { min-width: 590px; }
.ivds-tn .ivds-tn__scroll-hint { display: none; margin: 0 0 12px; }
@media (max-width: 680px) {
    .ivds-tn .ivds-tn__scroll-hint { display: block; }
}
.ivds-tn__aspects-table td:nth-child(n+3) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ivds-tn__aspects-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ivds-tn__table-wrap:focus-visible { outline: 2px solid var(--ivds-blue); outline-offset: 3px; }
.ivds-tn__planets-table abbr { text-decoration: none; cursor: help; }
.ivds-tn .ivds-tn__wheel-hint { margin: 16px 10px 0; text-align: center; }
.ivds-tn .ivds-tn__wheel-selection {
    min-height: 3.3em;
    margin: 4px 10px 0;
    text-align: center;
    color: var(--ivds-blue-dark);
    font-weight: 600;
}
.ivds-wheel__planet-group { cursor: pointer; }
.ivds-wheel__planet-group:focus { outline: none; }
.ivds-wheel__planet-group:focus-visible .ivds-wheel__body-hit-area {
    stroke: var(--ivds-blue);
    stroke-width: 1;
    stroke-dasharray: 2 2;
}
.ivds-wheel__body-hit-area { fill: transparent; stroke: none; pointer-events: all; }
.ivds-wheel__planet-group--active .ivds-wheel__body-hit-area {
    fill: rgba(5, 77, 221, .06);
    stroke: var(--ivds-blue);
    stroke-width: 1;
    stroke-linejoin: round;
}
.ivds-wheel__planet-tick--active { stroke: var(--ivds-blue); stroke-width: 1.8; }
.ivds-wheel__selected-anchor { fill: var(--ivds-blue); stroke: #fff; stroke-width: 1; pointer-events: none; }

/* 0.9.7 — moto nel blocco dei gradi, stampa e lettura testuale. */
.ivds-wheel__planet-degree-motion { font-size: 9.5px; font-weight: 650; }
.ivds-tn__motion { margin: 0 .12em; font-size: .85em; font-weight: 600; }
.ivds-tn__accessible-link {
    padding: 8px 0; background: transparent; border: 0; color: var(--ivds-blue-dark);
    text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer;
}
.ivds-tn__accessible-link:focus-visible { outline: 3px solid var(--ivds-blue); outline-offset: 2px; }
.ivds-tn .ivds-tn__output {
    margin-top: 30px; padding: 22px; border: 1px solid var(--ivds-border);
    border-radius: 12px; background: #f8faff;
}
.ivds-tn .ivds-tn__output h4 { margin: 0 0 12px; color: var(--ivds-blue-dark); font-size: 1.15rem; }
.ivds-tn .ivds-tn__output p { font-size: 15px; line-height: 1.65; }
.ivds-tn__output-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.ivds-tn__output-actions label { flex: 1 1 290px; font-weight: 600; min-width: 0; }
.ivds-tn__print-mode {
    display: block; width: 100%; min-height: 46px; padding: 10px; margin-top: 6px;
    border: 1px solid var(--ivds-border-strong); border-radius: 7px; background: #fff; color: var(--ivds-text); font: inherit;
}
.ivds-tn__print-button, .ivds-tn__text-button {
    min-height: 46px; padding: 11px 18px; border: 1px solid var(--ivds-blue); border-radius: 7px;
    background: var(--ivds-blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.ivds-tn__text-button { background: #fff; color: var(--ivds-blue-dark); }
.ivds-tn__print-button:focus-visible, .ivds-tn__text-button:focus-visible,
.ivds-tn__print-mode:focus-visible, .ivds-tn__accessible-details summary:focus-visible {
    outline: 3px solid var(--ivds-blue); outline-offset: 3px;
}
.ivds-tn__accessible-details { margin-top: 18px; }
.ivds-tn__accessible-details summary { padding: 10px 0; cursor: pointer; font-weight: 700; color: var(--ivds-blue-dark); }
.ivds-tn__accessible-report { overflow-wrap: anywhere; }
.ivds-tn .ivds-tn__accessible-report h5 { font-size: 1.05rem; margin: 22px 0 8px; }
.ivds-tn__accessible-report li { margin-bottom: 8px; line-height: 1.6; }
.ivds-tn .ivds-tn__output-status:empty { display: none; }
@media (max-width: 680px) {
    .ivds-tn .ivds-tn__output { padding: 16px; }
    .ivds-tn__print-mode { font-size: 14px; }
}


/* 0.9.8: local search combobox, optional coordinates and view filters. */
.ivds-tn .ivds-tn__location-results { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.ivds-tn .ivds-tn__location-option { white-space: normal; overflow-wrap: anywhere; min-height: 48px; }
.ivds-tn .ivds-tn__location-option[aria-selected="true"] { background: #e8efff; box-shadow: inset 4px 0 #054ddd; }
.ivds-tn__location-status { margin-top: 8px; font-size: 14px; color: #354d70; }
.ivds-tn__location-status:empty { display: none; }
.ivds-tn__manual-place { margin-top: 14px; font-size: 14px; }
.ivds-tn__manual-place summary { color: #174a9b; cursor: pointer; padding: 8px 0; }
.ivds-tn__manual-place p { font-size: 14px; line-height: 1.6; }
.ivds-tn__manual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.ivds-tn__manual-grid label { min-width: 0; }
.ivds-tn__aspect-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 18px 24px 0; }
.ivds-tn__aspect-filters label { flex: 1 1 160px; color: #28476f; font-size: 14px; }
.ivds-tn__aspect-filters select { display: block; width: 100%; min-height: 44px; padding: 8px; margin-top: 6px; border: 1px solid #bacce7; border-radius: 6px; background: white; color: #172033; font: inherit; }
.ivds-tn .ivds-tn__aspect-reset, .ivds-tn .ivds-tn__manual-select { min-height: 44px; min-width: 44px; padding: 8px 14px; border: 1px solid #bacce7; border-radius: 6px; background: white; color: #174a9b; font: inherit; font-size: 14px; cursor: pointer; }
.ivds-tn .ivds-tn__aspect-reset:disabled { opacity: .5; cursor: default; }
.ivds-tn .ivds-wheel__aspect[hidden] { display: none; }
.ivds-tn :is(.ivds-tn__place-input, .ivds-tn__manual-place summary, .ivds-tn__manual-select, .ivds-tn__aspect-filters select, .ivds-tn__aspect-reset):focus-visible { outline: 3px solid #174a9b; outline-offset: 3px; }
@media (max-width: 500px) {
    .ivds-tn__manual-grid { grid-template-columns: 1fr; }
    .ivds-tn__aspect-filters { padding: 14px 12px 0; }
}

/* Compact tables and the sole retrograde marker requested for 0.9.8. */
.ivds-tn .ivds-tn__motion { color: #c62828; text-transform: none; }
.ivds-tn .ivds-wheel__planet-degree-motion { fill: #c62828; text-transform: none; }
.ivds-tn .ivds-tn__houses-table { font-size: 14px; }
.ivds-tn .ivds-tn__houses-table th, .ivds-tn .ivds-tn__houses-table td { padding: 9px 10px; }
.ivds-tn .ivds-tn__houses-table tbody th { width: 48px; font-weight: 500; }
.ivds-tn .ivds-tn__houses-note { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: #354d70; }
.ivds-tn .ivds-tn__aspect-matrix { width: auto; min-width: 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.ivds-tn .ivds-tn__aspect-matrix th, .ivds-tn .ivds-tn__aspect-matrix td { height: 32px; min-width: 32px; padding: 0; border: 1px solid #d4dcea; text-align: center; vertical-align: middle; line-height: 1; white-space: nowrap; }
.ivds-tn .ivds-tn__aspect-matrix thead th { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif; font-size: 20px; font-weight: 500; background: #f7f9fc; color: #172033; text-transform: none; letter-spacing: 0; }
.ivds-tn .ivds-tn__aspect-matrix tr > th:first-child { min-width: 116px; padding: 5px 8px; text-align: left; font: 13px/1.2 Arial,sans-serif; letter-spacing: 0; text-transform: none; }
.ivds-tn .ivds-tn__aspect-matrix .ivds-tn__matrix-unused { border: 0; background: white; }
.ivds-tn .ivds-tn__matrix-diagonal { background: #f7f9fc; color: #172033; font: 20px/1 'Segoe UI Symbol','Noto Sans Symbols 2',sans-serif; }
.ivds-tn .ivds-tn__matrix-aspect { display: block; border: 0; border-radius: 0; background: white; width: 32px; height: 32px; min-width: 0; min-height: 0; padding: 0; margin: 0; font: 22px/32px 'Segoe UI Symbol','Noto Sans Symbols 2',sans-serif; cursor: pointer; box-shadow: none; }
.ivds-tn .ivds-tn__matrix-aspect:focus-visible { outline: 3px solid #174a9b; outline-offset: -3px; background: #edf3ff; }
.ivds-tn .ivds-tn__matrix-aspect:hover { background: #edf3ff; }
.ivds-tn .ivds-tn__matrix-aspect--conjunction { color: #59667c; }
.ivds-tn .ivds-tn__matrix-aspect--sextile, .ivds-tn .ivds-tn__matrix-aspect--trine { color: #245ecc; }
.ivds-tn .ivds-tn__matrix-aspect--square, .ivds-tn .ivds-tn__matrix-aspect--opposition { color: #c62828; }
.ivds-tn .ivds-tn__matrix-aspect--quincunx { color: #287343; }
.ivds-tn .ivds-tn__aspect-detail { font-size: 14px; line-height: 1.6; min-height: 2em; margin: 12px 0; color: #28476f; }
.ivds-tn__matrix-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.ivds-tn__matrix-legend > span { white-space: nowrap; }
.ivds-tn__matrix-legend > span > span { font: 20px 'Segoe UI Symbol','Noto Sans Symbols 2',sans-serif; vertical-align: middle; }
@media (pointer: coarse) {
    .ivds-tn .ivds-tn__matrix-aspect { width: 40px; height: 40px; line-height: 40px; }
    .ivds-tn .ivds-tn__aspect-matrix th, .ivds-tn .ivds-tn__aspect-matrix td { min-width: 40px; height: 40px; }
}

/* 0.9.9: cardinal cusps and clearly distinct dotted/dashed aspects. */
.ivds-tn .ivds-wheel__house-line--axis {
    stroke: #48628f;
    stroke-width: 2;
}
.ivds-tn .ivds-wheel__aspect--conjunction {
    stroke: #626e84;
    stroke-width: 1.9;
    stroke-dasharray: 0 5.2;
    stroke-linecap: round;
    opacity: .9;
}
.ivds-tn .ivds-wheel__aspect--quincunx {
    stroke-dasharray: 5 4;
    stroke-linecap: butt;
}
.ivds-tn .ivds-tn__aspect-swatch--conjunction {
    color: #626e84;
    border-top: 3px dotted #626e84;
}
