.ec-shell{max-width:1260px;margin:0 auto;padding:30px 24px 72px}.ec-crumb{font-size:13px;color:#667b8d}.ec-crumb a{color:#245f83}.ec-hero{padding:24px 0 28px;max-width:850px}.ec-kicker{display:inline-block;color:#a76332;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ec-hero h1{font-family:Georgia,serif;font-size:clamp(2.3rem,5vw,4.3rem);line-height:1.08;margin:10px 0}.ec-hero p{font-size:1.08rem;color:#42586a;line-height:1.6}.ec-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px;align-items:start}.ec-main{min-width:0}.ec-form,.ec-guide,.ec-side,.ec-report{background:#fff;border:1px solid #d9e3ea;box-shadow:0 10px 32px rgba(35,65,85,.06);border-radius:18px;padding:26px}.ec-form h2,.ec-guide h2{font-family:Georgia,serif;margin:0 0 12px}.ec-form p,.ec-guide p,.ec-guide li,.ec-side p{line-height:1.6;color:#455a68}.ec-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.ec-fields label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:13px;color:#263e50}.ec-fields input,.ec-fields select{width:100%;min-width:0;border:1px solid #b8cbd7;border-radius:9px;padding:11px;background:#fff;color:#15344a;font:inherit}.ec-fields input:focus,.ec-fields select:focus{outline:3px solid #b4dded;outline-offset:1px}.ec-form button,.ec-report-head button{border:0;background:#1c607f;color:#fff;padding:12px 20px;border-radius:9px;font-weight:800;cursor:pointer}.ec-form button{margin-top:20px}.ec-note{font-size:13px}.ec-side{position:sticky;top:20px}.ec-side h2{font-size:17px;margin:0 0 12px}.ec-side ul{padding-left:20px;line-height:1.9}.ec-side a,.ec-guide a{color:#17648a}.ec-guide{margin-top:22px}.ec-report{margin-top:25px}.ec-report-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.ec-report-head h2{font-family:Georgia,serif;margin:6px 0}.ec-report-head p{color:#536774}.ec-chart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:22px;align-items:center}.ec-chart-layout figure{margin:0;min-width:0}.ec-chart-layout svg{display:block;width:100%;max-width:600px;height:auto;margin:auto}.ec-chart-layout figcaption{text-align:center;font-size:12px;color:#60747f}.ec-chart-summary{background:#eef5f8;border-radius:14px;padding:18px}.ec-chart-summary h3{margin-top:0}.ec-chart-summary dl{margin:0}.ec-chart-summary dl div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #cddde5}.ec-chart-summary dt{color:#506a7b}.ec-chart-summary dd{margin:0;font-weight:700;text-align:right}.ec-chart-summary p{line-height:1.5;font-size:13px}.ec-data-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:24px}.ec-report section{min-width:0}.ec-report h3{font-family:Georgia,serif;font-size:21px;margin:24px 0 10px}.ec-scroll{overflow-x:auto}.ec-scroll table{width:100%;border-collapse:collapse;font-size:13px}.ec-scroll th,.ec-scroll td{padding:8px 9px;text-align:left;border-bottom:1px solid #dfe7eb;white-space:nowrap}.ec-scroll thead{background:#eaf2f5}.ec-scroll tbody tr:nth-child(even){background:#f7fafb}.ec-method{background:#f5f8fa;padding:2px 18px 12px;border-radius:12px;margin-top:24px;line-height:1.6}.ec-error{padding:16px;border:1px solid #c76262;background:#fff3f3;color:#872c2c;border-radius:10px}.ec-night{background:#102a39;color:#f0f7fa;border-color:#2e576b}.ec-night .ec-report-head p,.ec-night figcaption{color:#b5d1de}.ec-night .ec-chart-summary,.ec-night .ec-method{background:#1c3c4e;color:#eaf5fa}.ec-night .ec-chart-summary dl div,.ec-night .ec-scroll th,.ec-night .ec-scroll td{border-color:#3b6072}.ec-night .ec-chart-summary dt{color:#bdd8e4}.ec-night .ec-scroll thead{background:#24495c}.ec-night .ec-scroll tbody tr:nth-child(even){background:#19394b}.ec-night .chart-wheel rect{fill:#102a39}.ec-night .chart-wheel circle{stroke:#8ab3c5}.ec-night .chart-wheel line[stroke="#a4b6c4"]{stroke:#66899b}.ec-night .chart-wheel line[stroke="#6f90a8"]{stroke:#a7cbd9}.ec-night .chart-wheel text[fill="#315f83"]{fill:#bde7ff}.ec-night .chart-wheel text[fill="#4c6a80"]{fill:#d2e7ef}.ec-night .chart-wheel text[fill="#ac5b63"]{fill:#ffc3bc}.ec-night .chart-wheel text[fill="#a84e5a"]{fill:#ffb2a9}@media(max-width:900px){.ec-layout{grid-template-columns:1fr}.ec-side{position:static}.ec-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ec-shell{padding:20px 15px 55px}.ec-form,.ec-guide,.ec-side,.ec-report{padding:18px}.ec-fields,.ec-chart-layout,.ec-data-grid{grid-template-columns:1fr}.ec-report-head{display:block}.ec-report-head button{margin-bottom:10px}.ec-scroll table{font-size:12px}}@media print{.site-header,.site-footer,.ec-form,.ec-side,.ec-guide,.ec-report-head button{display:none!important}.ec-layout{display:block}.ec-report{box-shadow:none;border:0;margin:0}.ec-night{background:#fff;color:#000}}
.ec-night h2,.ec-night h3{color:#f0f7fa}
.ec-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:20px}.ec-form-actions .ec-secondary{margin-top:0;background:#fff;color:#245f7e;border:1px solid #9bb9ca}.ec-form-actions>button{margin-top:0}.ec-settings-status{min-height:1.4em;margin:8px 0 0;font-size:12px;color:#506979}.ec-sky{background:#f4f9fc;border-color:#bad4e2}.ec-sky .ec-chart-summary,.ec-sky .ec-method{background:#e3f0f6}.ec-sky .chart-wheel rect{fill:#eef7fb}.ec-sky .chart-wheel circle{stroke:#326888}.ec-sky .chart-wheel line[stroke="#a4b6c4"]{stroke:#88aebe}.ec-sky .chart-wheel line[stroke="#6f90a8"]{stroke:#5b88a0}.ec-sky .chart-wheel text[fill="#315f83"]{fill:#174e6d}.ec-sky .chart-wheel text[fill="#4c6a80"]{fill:#3c667a}.ec-ink{background:#fff;color:#111;border-color:#bbb}.ec-ink .ec-chart-summary,.ec-ink .ec-method{background:#f5f5f3}.ec-ink .chart-wheel [stroke]{stroke:#444}.ec-ink .chart-wheel text{fill:#111}.ec-ink .ec-aspect-line{stroke:#444}.ec-ink .ec-scroll thead{background:#eee}.ec-ink .ec-scroll tbody tr:nth-child(even){background:#f7f7f7}@media(max-width:600px){.ec-form-actions{align-items:stretch}.ec-form-actions button{flex:1 1 100%}}
@media print{.ec-night h2,.ec-night h3,.ec-night .ec-report-head p,.ec-night .ec-chart-summary dt,.ec-night figcaption{color:#000}.ec-night .ec-chart-summary,.ec-night .ec-method,.ec-night .ec-scroll thead,.ec-night .ec-scroll tbody tr:nth-child(even){background:#fff;color:#000}.ec-night .ec-scroll th,.ec-night .ec-scroll td{border-color:#999}.ec-night .chart-wheel rect{fill:#fff}.ec-night .chart-wheel circle{stroke:#555}.ec-night .chart-wheel text[fill]{fill:#111}}
.ec-aspect-grid{margin-top:14px;max-width:100%}.ec-aspect-grid table{min-width:730px;text-align:center}.ec-aspect-grid caption{text-align:left;caption-side:bottom;color:#627582;font-size:12px;padding:10px 0}.ec-aspect-grid th,.ec-aspect-grid td{text-align:center;min-width:54px;padding:8px 4px}.ec-aspect-grid th:first-child{text-align:left;min-width:80px}.ec-aspect-grid td strong,.ec-aspect-grid td small{display:block}.ec-aspect-grid td strong{font-size:12px;color:#224e66}.ec-aspect-grid td small{font-size:10px;color:#617784}.ec-aspect-grid .ec-grid-self{background:#dae5eb}.ec-aspect-grid .ec-grid-empty{color:#a2b2bd}.ec-night .ec-aspect-grid td strong{color:#d8edf6}.ec-night .ec-aspect-grid td small,.ec-night .ec-aspect-grid caption{color:#b5d1de}.ec-night .ec-aspect-grid .ec-grid-self{background:#355263}@media print{.ec-night .ec-aspect-grid td strong,.ec-night .ec-aspect-grid td small,.ec-night .ec-aspect-grid caption{color:#000}.ec-night .ec-aspect-grid .ec-grid-self{background:#e4e4e4}}
.ec-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:410px}.ec-actions button{font-size:12px;white-space:nowrap}.ec-actions button:not(:first-child){background:#e8f1f6;color:#245a78;border:1px solid #b9d0df}.ec-actions button:focus-visible{outline:3px solid #ef9c5e;outline-offset:2px}@media(max-width:600px){.ec-actions{justify-content:flex-start;max-width:none}.ec-actions button{margin:0 0 8px;white-space:normal}}

.ec-birth-record{margin:18px 0 24px;padding:15px 18px;border:1px solid #d6e2e9;background:#f6f9fa;border-radius:10px}.ec-birth-record h3{margin:0 0 10px;font-size:17px}.ec-birth-record dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;margin:0}.ec-birth-record dt{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#5a6f7c}.ec-birth-record dd{margin:3px 0 0;font-size:13px;font-weight:700}.ec-birth-record p{margin:12px 0 0;font-size:12px;line-height:1.5;color:#465f6e}.ec-night .ec-birth-record{background:#1c3c4e;border-color:#3b6072}.ec-night .ec-birth-record dt,.ec-night .ec-birth-record p{color:#bdd8e4}
@media(max-width:600px){.ec-birth-record dl{grid-template-columns:1fr}}
.ec-form>h2:not(:first-child){margin-top:30px;padding-top:24px;border-top:1px solid #dce6eb}.ec-birth-fields{grid-template-columns:repeat(5,minmax(0,1fr))}.ec-star-field{grid-column:span 2}.ec-star-field span{font-weight:400;color:#617583}.ec-star-field select{min-height:154px}.ec-record-tools{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto;gap:10px;align-items:end;margin:16px 0 20px;padding:14px;border:1px solid #d5e2e8;border-radius:12px;background:#f4f8fa}.ec-record-tools>div{display:flex;flex-direction:column;gap:5px}.ec-record-tools label{font-size:12px;font-weight:800;color:#2b4658}.ec-record-tools input,.ec-record-tools select{min-width:0;border:1px solid #b8cbd7;border-radius:8px;padding:9px;background:#fff;color:#15344a}.ec-record-tools button{margin:0;padding:10px 14px}.ec-record-tools a{align-self:center;color:#17648a;font-weight:700;font-size:13px}.ec-preset-library{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:9px;align-items:end;margin-top:20px;padding-top:18px;border-top:1px solid #dce6eb}.ec-preset-library label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#263e50}.ec-preset-library input{border:1px solid #b8cbd7;border-radius:9px;padding:11px;font:inherit}.ec-preset-library button{margin:0}.ec-declinations{margin-top:26px;padding-top:4px;border-top:1px solid #dce5ea}.ec-declinations>p{color:#526977;line-height:1.55}.ec-declinations .ec-data-grid{grid-template-columns:minmax(190px,.8fr) minmax(0,1.7fr)}
@media(max-width:1080px){.ec-birth-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.ec-record-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-record-tools button,.ec-record-tools a{align-self:end}}
@media(max-width:700px){.ec-record-tools,.ec-preset-library{grid-template-columns:1fr}.ec-record-tools button,.ec-record-tools a{align-self:stretch}.ec-record-tools a{padding:8px 0}.ec-star-field{grid-column:auto}.ec-birth-fields{grid-template-columns:1fr}.ec-declinations .ec-data-grid{grid-template-columns:1fr}}
@media print{
  @page{size:A4 portrait;margin:12mm}
  html,body{width:auto!important;min-width:0!important;margin:0!important;background:#fff!important;color:#111!important}
  .site-header,.site-footer,.ec-crumb,.ec-hero,.ec-form,.ec-side,.ec-guide,.ec-actions{display:none!important}
  .ec-shell,.ec-layout,.ec-main,#ec-result,.ec-report{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
  .ec-report,.ec-night,.ec-night h2,.ec-night h3,.ec-night p,.ec-night dt,.ec-night dd{background:#fff!important;color:#111!important}
  .ec-report{font:10pt/1.35 Arial,sans-serif!important}
  .ec-report-head{display:block!important;border-bottom:1px solid #566b77;padding-bottom:4mm;margin-bottom:4mm}
  .ec-report-head h2{font-size:18pt;margin:1mm 0}
  .ec-report-head p{margin:0;color:#333!important}
  .ec-birth-record,.ec-night .ec-birth-record{break-inside:avoid;margin:0 0 5mm;padding:3mm 4mm;border:1px solid #9baab2;border-radius:0;background:#fff!important}
  .ec-birth-record h3{font-size:11pt;margin:0 0 2mm}
  .ec-birth-record dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5mm 5mm}
  .ec-birth-record dt,.ec-night .ec-birth-record dt{font-size:7.5pt;color:#3c525e!important}
  .ec-birth-record dd{font-size:9pt;margin:0}
  .ec-birth-record p,.ec-night .ec-birth-record p{font-size:8pt;margin:2mm 0 0;color:#222!important}
  .ec-chart-layout{display:grid!important;grid-template-columns:minmax(0,120mm) minmax(0,52mm);gap:6mm;align-items:start;break-inside:avoid}
  .ec-chart-layout svg{width:116mm!important;max-width:100%!important;height:auto!important}
  .ec-chart-layout figcaption{font-size:8pt;color:#333!important}
  .ec-chart-summary,.ec-night .ec-chart-summary{padding:2mm;border:1px solid #b2bfc5;border-radius:0;background:#fff!important;color:#111!important}
  .ec-chart-summary h3{font-size:11pt;margin:0 0 2mm}
  .ec-chart-summary dl div{padding:1mm 0;border-color:#b2bfc5}
  .ec-chart-summary dt,.ec-chart-summary dd,.ec-chart-summary p{font-size:8pt;color:#111!important}
  .ec-print-positions{break-before:page;display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:7mm;align-items:start}
  .ec-print-aspects{break-before:page}
  .ec-report h3{font-size:13pt;margin:0 0 3mm}
  .ec-report section{break-inside:auto}
  .ec-scroll{overflow:visible!important;width:100%!important;max-width:none!important}
  .ec-scroll table{width:100%!important;max-width:100%!important;min-width:0!important;border-collapse:collapse;font-size:8.5pt}
  .ec-scroll th,.ec-scroll td{padding:1.4mm 1.5mm!important;white-space:normal!important;border-color:#aeb8be!important}
  .ec-scroll thead{display:table-header-group;background:#fff!important}
  .ec-scroll tr{break-inside:avoid}
  .ec-aspect-grid{break-inside:avoid}
  .ec-aspect-grid table{table-layout:fixed!important;font-size:7pt!important}
  .ec-aspect-grid th,.ec-aspect-grid td{min-width:0!important;padding:1mm .5mm!important;word-break:normal}
  .ec-aspect-grid th:first-child{width:17mm;min-width:0!important}
  .ec-aspect-grid td strong,.ec-aspect-grid td small{font-size:7pt;color:#111!important}
  .ec-aspect-grid caption{font-size:8pt;color:#333!important}
  .ec-method,.ec-night .ec-method{break-inside:avoid;margin-top:5mm;padding:3mm 0;border-top:1px solid #9baab2;border-radius:0;background:#fff!important;color:#111!important}
  .ec-declinations{break-before:page}
}
