/*
 Projekt: Astronavigation – SHS Höhendifferenzverfahren
 Datei: astro.css | Version: 0.9.1 | Datum: 25.10.2026
 Ersteller: Andreas Konrad | Technische Umsetzung: OpenAI
 Aufgabe: Zentrale Styles für Container und alle künftigen astro-*.php-Boxen.
 Änderungshistorie:
 * 0.9 (25.10.2026): Deklinationsmodul, deutsche Datumsanzeige, kompakter Kalender und UT1-Ergebnisgestaltung.
 * 0.8 (25.10.2026): Lokale Berechnungsstände, sichtbare t-Ergebniszeile und uneingeschränkter Ephemeridenbereich.
 * 0.7 (25.10.2026): Fixsternauswahl, t = Grt + λ, Chronometerkorrektur und kompaktes Datum.
 * 0.5 (25.10.2026): Kräftigere Boxrahmen; Zeitwerte synchronisiert; Chronometer-Gang korrigiert. 0.4 (25.10.2026) – dreispaltiger Zeitblock und Feldsperre.
 0.3 (25.10.2026) – deaktivierte Ausgaben und Gestirn-Box.
 0.2 (25.10.2026) – kompaktere Box, dunkelblauer Titel.
 0.1 (25.10.2026) – Erstfassung, responsives Formular und Vier-Spalten-Raster.
*/
:root{--astro-blue:#002d5a;--astro-bright:#0056b3;--astro-light:#e3f2fd;--astro-bg:#f4f7f6;--astro-border:#d1d9e0;--astro-ink:#2d3436}
*{box-sizing:border-box}
body{margin:0;padding:15px;background:var(--astro-bg);color:var(--astro-ink);font:14px/1.5 'Segoe UI',Roboto,Helvetica,Arial,sans-serif}
.astro-wrapper{width:100%;max-width:950px;margin:0 auto}
.astro-container{background:white;border:1px solid var(--astro-border);border-radius:12px;padding:25px;box-shadow:0 10px 30px rgba(0,0,0,.05);margin-top:10px}
.astro-program-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 0 12px;margin-bottom:18px;border-bottom:2px solid var(--astro-bright)}
.astro-program-title h1{font-size:25px;line-height:1.1;margin:0;color:var(--astro-blue)}
.astro-version{font-size:10px;letter-spacing:.2px;color:#6e7781;margin-top:5px}
.astro-close{height:34px;width:34px;border-radius:50%;border:1px solid #dfe6e9;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05);font-size:22px;color:#636e72;cursor:pointer;line-height:1}
.astro-close:hover{background:var(--astro-light);color:var(--astro-blue)}
.astro-box{border:1px solid var(--astro-border);border-radius:8px;padding:16px;margin-bottom:12px}
.astro-box-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;background:var(--astro-light);padding:8px 12px;border-radius:6px;margin-bottom:16px}
.astro-box-heading h2{font-size:16px;color:var(--astro-blue);margin:0}
.astro-box-heading span{font-size:11px;color:#42617a}
.astro-subheading{font-size:13px;font-weight:700;color:var(--astro-blue);border-bottom:1px solid #dce8f4;padding:0 0 5px;margin:17px 0 10px}
.astro-topline{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}
.astro-field{min-width:0}
.astro-field>label{display:block;font-weight:600;font-size:12px;color:#444;margin-bottom:4px}
.astro-field input,.astro-field select{font:13px 'Segoe UI',Arial,sans-serif;border:1px solid #adbcc9;border-radius:5px;padding:8px 9px;min-height:36px;width:100%;max-width:100%;background:#fff;color:#23394e}
.astro-field input:focus,.astro-field select:focus{outline:2px solid #7bb8f5;outline-offset:1px}
.astro-field input[readonly]{background:#f4f8fc;color:#244967}
.astro-field input.astro-invalid{border-color:#c53737;background:#fff8f8}
.astro-input-unit{display:flex;align-items:center;max-width:260px;gap:7px}
.astro-input-unit span{min-width:16px;font-size:12px;font-weight:600;color:#536577}
.astro-topline .astro-field input[type=date]{max-width:260px}
.astro-fix-table{border:1px solid #cbd7e1;border-radius:6px;overflow:hidden;margin-top:18px}
.astro-fix-row{display:grid;grid-template-columns:165px minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px 12px;align-items:center;border-top:1px solid #e3e9ee}
.astro-fix-head{background:#edf4fb;color:#315476;font-weight:700;font-size:12px;border-top:0}
.astro-row-title{font-size:12px;color:#36516b}
.astro-row-title strong{font-size:14px;color:var(--astro-blue);margin-right:5px}
.astro-row-title span{font-size:11px}
.astro-delta-row{background:#fbfcfe}
.astro-delta-row .astro-field{display:flex;align-items:center;gap:8px}
.astro-delta-row .astro-field label{margin:0;min-width:22px}
.astro-time-grid{display:grid;grid-template-columns:1fr 1.35fr 1fr 1.65fr;gap:12px}
.astro-hint{font-size:11px;color:#607184;line-height:1.5;margin:12px 0 0}
.astro-message{font-size:12px;color:#a22626;white-space:pre-line;margin-top:8px}
.astro-message:empty{display:none}
.astro-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.astro-footer{text-align:center;font-size:13px;font-style:italic;color:var(--astro-blue);font-weight:600;margin:14px 0 8px}
/* Vorgesehenes vierteiliges Tabellenraster für die folgenden Gestirn-Boxen. */
.astro-four-columns{display:grid;grid-template-columns:180px repeat(3,minmax(0,1fr))}
.astro-four-columns>*{min-width:0;border-bottom:1px solid #d7e1ea;padding:7px 9px}
@media(max-width:750px){.astro-container{padding:15px}.astro-program-title h1{font-size:21px}.astro-time-grid{grid-template-columns:1fr 1fr}.astro-fix-row{grid-template-columns:105px minmax(0,1fr) minmax(0,1fr);gap:6px;padding:8px}.astro-row-title span{display:block}.astro-four-columns{grid-template-columns:110px repeat(3,minmax(90px,1fr));overflow-x:auto}}
@media(max-width:490px){body{padding:6px}.astro-container{padding:11px}.astro-box{padding:10px}.astro-topline{gap:10px}.astro-time-grid{grid-template-columns:1fr 1fr;gap:10px}.astro-fix-table{overflow-x:auto}.astro-fix-row{min-width:540px;grid-template-columns:115px 1fr 1fr}.astro-box-heading span{display:none}}

/* Version 0.2: verdichtetes Formblatt */
.astro-program-title h1{color:var(--astro-blue)}
.astro-title-icon{font-size:.92em;vertical-align:baseline;margin-right:3px}
.astro-container{padding:19px 22px}
.astro-program-header{margin-bottom:12px;padding-bottom:9px}
.astro-box{padding:11px 13px;margin-bottom:8px}
.astro-box-heading{padding:5px 9px;margin-bottom:10px}
.astro-subheading{margin:10px 0 6px;padding-bottom:3px}
.astro-topline{gap:8px 16px}
.astro-field>label{margin-bottom:2px}
.astro-field input,.astro-field select{padding:5px 8px;min-height:31px}
.astro-fix-table{margin-top:11px}
.astro-fix-row{padding:6px 9px;gap:8px}
.astro-row-title span:empty{display:none}
.astro-time-grid{grid-template-columns:1fr 1.2fr 1.8fr;gap:10px}
.astro-message{margin-top:5px}
@media(max-width:750px){.astro-container{padding:13px}.astro-time-grid{grid-template-columns:1fr 1fr 1.4fr}}
@media(max-width:490px){.astro-container{padding:9px}.astro-box{padding:8px}.astro-time-grid{grid-template-columns:1fr 1fr}.astro-time-grid>.astro-field:last-child{grid-column:1/-1}.astro-fix-row{padding:5px 7px}}

/* Version 0.3: Berechnungsausgaben und Gestirnwahl */
.astro-field input:disabled{background:#f0f4f8;color:#2d526e;border-color:#d7e0e8;opacity:1;cursor:default;-webkit-text-fill-color:#2d526e}
.astro-object-box{padding:8px 13px}
.astro-objects-row{align-items:center;gap:8px;grid-template-columns:165px repeat(3,minmax(0,1fr))}
.astro-objects-row>*{padding:0;border:0}
.astro-object-label{font-weight:700;color:var(--astro-blue);font-size:13px}
.astro-objects-row .astro-field select{font-size:12px;padding:5px 6px}
@media(max-width:750px){.astro-objects-row{grid-template-columns:105px repeat(3,minmax(0,1fr));gap:5px}}
@media(max-width:600px){.astro-object-box{overflow-x:auto}.astro-objects-row{min-width:650px;grid-template-columns:105px repeat(3,minmax(0,1fr))}}

/* Version 0.4: Formularraster der Beobachtungszeiten */
.astro-time-box{padding:9px 13px;overflow-x:auto}
.astro-time-row{grid-template-columns:165px repeat(3,minmax(0,1fr));align-items:center;gap:0}
.astro-time-row>*{padding:5px 7px;border-bottom:1px solid #d7e1ea}
.astro-time-row:last-of-type>*{border-bottom:none}
.astro-time-label{font-size:12px;font-weight:600;color:#34506a}
.astro-time-ut1{background:#edf4fb}
.astro-time-ut1 .astro-time-label{font-weight:700;color:var(--astro-blue)}
.astro-time-row .astro-field input{width:100%;min-height:31px;font-size:12px;font-variant-numeric:tabular-nums}
.astro-time-row input:disabled{background:#f0f4f8}
.astro-time-row input.astro-active-result:disabled{background:#e8f1fa;font-weight:700}
@media(max-width:750px){.astro-time-row{grid-template-columns:105px repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.astro-time-row{min-width:650px;grid-template-columns:105px repeat(3,minmax(0,1fr))}}

/* Version 0.5: abgesetzte Formularblöcke und gezielte Tab-Reihenfolge */
.astro-box{border:2px solid #8da5bb}
.astro-fix-table{border-color:#a8bbcc}
.astro-time-row>*{border-bottom-color:#b8cad9}
.astro-time-row .astro-field input:not(:disabled)[tabindex="-1"]{cursor:text}

/* V0.6: Stundenwinkel, Datums-Kurzeingabe */
.astro-grt-box{padding:9px 13px;overflow-x:auto}
.astro-grt-row{grid-template-columns:165px repeat(3,minmax(0,1fr));align-items:center;gap:0}
.astro-grt-row>*{padding:5px 7px;border-bottom:1px solid #b8cad9}
.astro-grt-row .astro-field input{width:100%;min-height:31px;font-size:12px;font-variant-numeric:tabular-nums}
.astro-grt-result{background:#edf4fb;font-weight:700}
.astro-grt-result>*{border-bottom:0}
.astro-grt-row input:disabled{background:#f0f4f8}
.astro-grt-row input.astro-manual{border-color:#52799c;background:#fffef0}
.astro-date-entry{display:flex;align-items:center;gap:5px}
.astro-date-entry #astro-date{min-width:115px;flex:1}
.astro-date-entry #astro-date-picker{width:40px;min-width:40px;padding:4px;cursor:pointer}
@media(max-width:750px){.astro-grt-row{grid-template-columns:105px repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.astro-grt-row{min-width:650px;grid-template-columns:105px repeat(3,minmax(0,1fr))}}

/* Version 0.8: schmales Datum; Resultate des Ortsstundenwinkels */
.astro-date-entry{max-width:210px;width:100%}
.astro-date-entry #astro-date{min-width:0;width:115px;max-width:115px;flex:0 0 115px}
.astro-date-entry #astro-date-picker{flex:0 0 40px}
.astro-grt-row:last-of-type{background:#e3f2fd;font-weight:700}
.astro-grt-row:last-of-type>*{border-bottom:0}

/* V0.8: besser erkennbare Ergebnisfelder und lokale Speicherdialoge */
.astro-grt-result{background:transparent;font-weight:normal}
.astro-grt-final{background:#dceefc;font-weight:700}
.astro-grt-final .astro-field input:not(.astro-manual){background:#f7fbff;border:2px solid #396b91;font-weight:700;color:#002d5a}
.astro-grt-row .astro-field input{border:1px solid #8fa8be;border-radius:4px}
.astro-grt-row .astro-field input.astro-manual{background:#fff8d6;border:2px solid #a27928}
.astro-header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
.astro-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid #c6d8e9;border-radius:50%;background:#f2f7fc;cursor:pointer;font-size:17px}
.astro-icon-btn:hover,.astro-icon-btn:focus-visible{background:#dcecfb;outline:2px solid #0056b3;outline-offset:2px}
.astro-storage-dialog{border:1px solid #aac4d9;border-radius:12px;padding:22px;width:min(450px,calc(100vw - 28px));box-shadow:0 14px 50px #002d5a40;color:#253a4a}
.astro-storage-dialog::backdrop{background:rgba(0,20,40,.45)}
.astro-storage-dialog h2{margin:0 0 10px;color:#002d5a;font-size:19px}
.astro-storage-dialog label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:13px;font-weight:600}
.astro-storage-dialog input,.astro-storage-dialog select{width:100%;padding:9px;min-height:37px;font-size:14px;border:1px solid #9db6cb;border-radius:6px}
.astro-storage-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:20px}
.astro-storage-buttons button{border:1px solid #8ba9c5;border-radius:7px;padding:8px 12px;background:#f2f7fc;color:#002d5a;cursor:pointer}
#astro-storage-confirm{background:#0056b3;color:white}
#astro-storage-error{color:#b02b2b;min-height:0}

/* V0.9 — deutsches Datum und kompaktes Kalenderfeld (Gesamtbreite wie rwK). */
.astro-date-entry{width:min(100%, 132px);max-width:132px;gap:3px}
.astro-date-entry #astro-date{flex:1 1 auto;width:100%;min-width:0;max-width:none;font-size:12px;padding-left:5px;padding-right:2px}
.astro-calendar-control{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 27px;width:27px;height:31px;border:1px solid #9ab2c8;border-radius:5px;background:#f2f7fc;overflow:hidden;font-size:16px}
.astro-calendar-control #astro-date-picker{position:absolute;inset:0;width:100%;min-width:0;max-width:none;height:100%;opacity:0;cursor:pointer;padding:0;border:0}
.astro-time-ut1{background:#dceefc;font-weight:700}
.astro-time-ut1 .astro-field input.astro-active-result:disabled{background:#f7fbff;border:2px solid #396b91;font-weight:700;color:#002d5a}
.astro-decl-box{padding:9px 13px;overflow-x:auto}
.astro-decl-row>*{border-bottom:1px solid #b8cad9;padding:5px 7px}
.astro-decl-row .astro-field input{width:100%;min-height:31px;font-size:12px;font-variant-numeric:tabular-nums;border:1px solid #8fa8be;border-radius:4px}
.astro-decl-row .astro-field input:disabled{background:#f0f4f8}
.astro-decl-final{background:#dceefc;font-weight:700}
.astro-decl-final .astro-field input:not(.astro-manual){background:#f7fbff;border:2px solid #396b91;font-weight:700;color:#002d5a}
.astro-decl-row .astro-field input.astro-manual{background:#fff8d6;border:2px solid #a27928}
@media(max-width:750px){.astro-decl-row{grid-template-columns:105px repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.astro-decl-row{min-width:650px;grid-template-columns:105px repeat(3,minmax(0,1fr))}}

/* Datum und Kurs haben dieselbe kompakte Außenbreite. */
.astro-sailing .astro-field:first-child .astro-input-unit{width:min(100%,132px)}
.astro-sailing .astro-field:first-child .astro-input-unit input{min-width:0;flex:1 1 auto;width:100%}

/* V0.10 – Sextantablesung, optisch identisch mit den übrigen Rechenboxen. */
.astro-sextant-box{padding:9px 13px;overflow-x:auto}
.astro-sextant-row>*{padding:5px 7px;border-bottom:1px solid #b8cad9}
.astro-sextant-row .astro-field input{width:100%;min-height:31px;font-size:12px;font-variant-numeric:tabular-nums;border:1px solid #8fa8be;border-radius:4px}
.astro-sextant-emphasis{background:#f0f6fc}
.astro-sextant-final{background:#dceefc;font-weight:700}
.astro-sextant-final .astro-field input:not(.astro-manual){background:#f7fbff;border:2px solid #396b91;font-weight:700;color:#002d5a}
.astro-sextant-row .astro-field input.astro-manual{background:#fff8d6;border:2px solid #a27928}
@media(max-width:750px){.astro-sextant-row{grid-template-columns:105px repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.astro-sextant-row{min-width:650px;grid-template-columns:105px repeat(3,minmax(0,1fr))}}

/* Version 0.11: deutliche Ergebnisfelder */
.astro-sextant-row .astro-field input:disabled{opacity:1}
.astro-sextant-row .astro-field input.astro-manual{background:#fff8d6}

/* 0.13: ausschließlich für PDF erzeugte, formularnahe A4-Ansicht */
#astro-pdf-sheet{position:fixed;left:0;top:0;width:720px;height:982px;background:#fff;color:#17232e;padding:15px 22px;font:12px/1.25 Arial,Helvetica,sans-serif;z-index:2147480000;box-sizing:border-box;overflow:hidden;box-shadow:0 0 0 100vmax rgba(255,255,255,.95)}
#astro-pdf-sheet .astro-pdf-heading{text-align:center;font-size:17px;font-weight:700;letter-spacing:.2px;margin:0 0 3px}
#astro-pdf-sheet .astro-pdf-subtitle{text-align:center;font-size:10px;margin-bottom:11px}
#astro-pdf-sheet table{border-collapse:collapse;width:100%;table-layout:fixed;margin:0 0 9px}
#astro-pdf-sheet td{border:1px solid #687e8d;padding:4px 7px;height:24px;white-space:nowrap;overflow:hidden;text-overflow:clip;vertical-align:middle}
#astro-pdf-sheet .astro-pdf-label{font-weight:600;background:#f2f6fa}
#astro-pdf-sheet .astro-pdf-meta td:nth-child(odd){width:19%;font-weight:bold;background:#f2f6fa}
#astro-pdf-sheet .astro-pdf-meta td:nth-child(even){width:31%}
#astro-pdf-sheet .astro-pdf-fixes td:first-child{width:22%}
#astro-pdf-sheet .astro-pdf-observations td:first-child{width:30%}
#astro-pdf-sheet .astro-pdf-observations td:not(:first-child){width:23.333%;text-align:center;font-variant-numeric:tabular-nums}
#astro-pdf-sheet .astro-pdf-observations td{height:25px;padding:3px 6px}
#astro-pdf-sheet .astro-pdf-result td{background:#e9f2fb;font-weight:bold;border-top:1.5px solid #003c74;border-bottom:1.5px solid #003c74}
#astro-pdf-sheet .astro-pdf-footer{text-align:center;border-top:1px solid #8fa4b7;padding-top:9px;margin-top:10px;font-size:10px;color:#315677}

/* V0.15 – Dateidialog für lokal gespeicherte Berechnungen */
.astro-storage-dialog{width:min(570px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto}
.astro-files-heading{font-size:13px;font-weight:700;color:#002d5a;margin:14px 0 6px}
#astro-storage-select{display:block;width:100%;height:clamp(128px,24vh,220px);min-height:128px;background:#fff;padding:4px 0;border:1px solid #91abc3;border-radius:6px;box-sizing:border-box;font-size:13px}
#astro-storage-select option{padding:8px 10px;white-space:normal;border-bottom:1px solid #ebeff4}
#astro-storage-select option:checked{background:#d8e9f8;color:#002d5a}
.astro-storage-details{min-height:21px;margin-top:7px;color:#66798c;font-size:12px}
#astro-storage-delete{margin-right:auto}
#astro-storage-delete:disabled{opacity:.4;cursor:not-allowed}
#astro-storage-name-label[hidden]{display:none}

/* 0.21: BV-Abschlussblock nach dem SHS-Formblatt */
.astro-bv-box{padding:9px 13px}
.astro-bv-grid{display:grid;grid-template-columns:180px repeat(2,minmax(0,1fr));align-items:center}
.astro-bv-grid>*{min-width:0;padding:5px 7px;border-bottom:1px solid #b8cad9}
.astro-bv-header{font-weight:700;background:#eef4fa;color:#002d5a}
.astro-bv-header span:not(:first-child){text-align:center}
.astro-bv-grid .astro-field input{width:100%;min-height:30px;border:1px solid #8fa8be;border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums}
.astro-bv-result{background:#dceefc;font-weight:700}
.astro-bv-result .astro-field input{border:2px solid #396b91;color:#002d5a;font-weight:700;background:#f7fbff;opacity:1}
@media(max-width:750px){.astro-bv-grid{grid-template-columns:105px repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.astro-bv-box{overflow-x:auto}.astro-bv-grid{min-width:380px}}

/* Version 0.22: Hilfe-PDF in eigenem Modal */
.astro-help-dialog { width:min(1100px,96vw);height:min(92vh,950px);padding:0;border:2px solid #315e83;border-radius:10px;box-shadow:0 18px 60px #10283d60; }
.astro-help-dialog::backdrop {background:rgba(11,28,46,.65)}
.astro-help-toolbar {display:flex;justify-content:space-between;align-items:center;gap:12px;background:#e8f2fa;color:#002d5a;padding:10px 14px;font:600 15px 'Segoe UI',sans-serif}
.astro-help-toolbar>div{display:flex;gap:8px}.astro-help-toolbar button{cursor:pointer;border:1px solid #a6bbcc;border-radius:5px;background:white;color:#002d5a;padding:5px 12px;font-size:15px}
.astro-help-dialog iframe {width:100%;height:calc(100% - 55px);border:0;display:block;background:white}
@media(max-width:550px){.astro-help-dialog{width:99vw;height:94vh}.astro-help-toolbar{font-size:13px}}

/* V0.24 – einheitliche Gestirnspalten für die Azimutbox */
.astro-azimuth-row{display:grid;grid-template-columns:180px repeat(3,minmax(0,1fr));align-items:center}
.astro-azimuth-row>*{min-width:0;padding:5px 7px;border-bottom:1px solid #b8cad9}
.astro-azimuth-row .astro-field input{width:100%;min-height:30px;border:1px solid #8fa8be;border-radius:4px;font-size:12px;text-align:center;font-variant-numeric:tabular-nums}
.astro-azimuth-result{background:#e2effc;font-weight:600}
@media(max-width:750px){.astro-azimuth-row{grid-template-columns:105px repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.astro-azimuth-box{overflow-x:auto}.astro-azimuth-row{min-width:460px}}


/* V0.26 – zeichnerische Lösung als responsives SVG */
.astro-chart-box{padding:8px 10px}
.astro-chart-stage{position:relative;width:100%;aspect-ratio:4/3;min-height:560px;border:0;border-radius:6px;background:#fff;overflow:hidden}
#astro-chart-svg{display:block;width:100%;height:100%}
.astro-chart-message{margin-top:8px;min-height:20px}
@media(max-width:900px){.astro-chart-stage{min-height:460px}}
@media(max-width:560px){.astro-chart-stage{aspect-ratio:1/1.05;min-height:320px}}

/* 0.38: Datei-Export/Import im Speicherdialog */
#astro-storage-file[hidden]{display:none!important}
#astro-storage-export,#astro-storage-export-all,#astro-storage-import{font-weight:600}

/* V0.39 – kompakter Speicher-/Ladedialog und linksbündige Kopfzeile */
.astro-program-title{min-width:0}
.astro-program-title h1{display:flex;align-items:center;gap:7px}
.astro-title-icon{display:inline-block;flex:0 0 auto}
.astro-version{margin-left:0;padding-left:0;text-align:left}
.astro-storage-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.astro-storage-topline h2{margin:0}
.astro-storage-gear{font-size:22px;min-width:42px;min-height:38px;border:1px solid #bdcfdd;border-radius:8px;background:#f4f8fc;cursor:pointer}
.astro-storage-active{font-size:13px;font-weight:600;color:#174d77;margin:9px 0 12px}
.astro-storage-settings{padding:12px;border:1px solid #d0dce7;border-radius:8px;background:#f5f9fd;margin:8px 0 12px}
.astro-storage-settings[hidden],#astro-storage-browser-fields[hidden]{display:none!important}
.astro-storage-settings label{margin:0 0 6px}
.astro-storage-settings p{font-size:12px;color:#647789;margin:6px 0 12px}
.astro-storage-advanced{display:flex;flex-wrap:wrap;gap:7px}
.astro-storage-advanced button{font-size:12px}
#astro-storage-delete[hidden]{display:none!important}

/* V0.40: Versionszeile unter dem Textbeginn (nicht unter dem Emoji), erweiterte Dialog-Buttons vertikal. */
.astro-program-title{--astro-title-offset:29px}
.astro-program-title .astro-version{margin-left:var(--astro-title-offset)}
.astro-storage-advanced{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap}
.astro-storage-advanced button{display:block;width:100%;text-align:left}
