/* AGRICOIN Hof-App – w17e Einstieg & Flächen-Datei (26.11.2026). Handy zuerst (360 px), Daumen-Bedienung, hell/dunkel über die App-Variablen. */
.w17e-wege h2 { margin: 0 0 .25rem; }
.w17e-btns { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-top: .6rem; }
@media (min-width: 640px) { .w17e-btns { grid-template-columns: repeat(3, 1fr); } }
.w17e-weg { display: grid; grid-template-columns: 2.4rem 1fr; grid-template-rows: auto auto; align-items: center; column-gap: .6rem; text-align: left;
  min-height: 64px; padding: .7rem .9rem; border-radius: 14px; border: 2px solid var(--line, #d9d4c7); background: var(--panel, #fff); color: inherit; font: inherit; cursor: pointer; width: 100%; }
.w17e-weg .i { grid-row: 1 / span 2; font-size: 1.7rem; line-height: 1; text-align: center; }
.w17e-weg b { font-size: 1.05rem; }
.w17e-weg small { opacity: .8; font-size: .85rem; line-height: 1.25; }
.w17e-weg.pri { background: var(--brand, #fbb900); border-color: var(--brand, #fbb900); color: #1f2328; }
.w17e-weg:hover, .w17e-weg:focus-visible { border-color: var(--acc-d, #b07f00); outline: none; box-shadow: 0 0 0 3px rgba(251, 185, 0, .35); }
.w17e-btns.kompakt .w17e-weg { min-height: 56px; padding: .5rem .8rem; }
.w17e-ok { background: #e6f4ea; color: #12512a; border-radius: 10px; padding: .5rem .7rem; margin: .5rem 0 0; font-weight: 600; }

.w17e-dlg { width: min(720px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 16px; background: var(--panel2, #f6f3ec); color: var(--ink, #1f2328); }
.w17e-dlg::backdrop { background: rgba(20, 22, 24, .55); }
@media (max-width: 640px) { .w17e-dlg { width: 100vw; height: 100dvh; border-radius: 0; } }
.w17e-in { padding: 0 16px 16px; box-sizing: border-box; }
.w17e-dh { position: sticky; top: 0; z-index: 1100; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 12px 0; background: var(--panel2, #f6f3ec); }
.w17e-dh h2 { margin: 0; font-size: 1.2rem; }
.w17e-x { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid var(--line, #d9d4c7); background: var(--panel, #fff); color: inherit; font-size: 1.1rem; cursor: pointer; }
.w17e-file { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; width: 100%; box-sizing: border-box; font-size: 1.1rem; cursor: pointer; }
.w17e-file input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.w17e-c { text-align: center; margin-top: .3rem; }
.w17e-det { margin: .6rem 0; background: var(--panel, #fff); border-radius: 12px; padding: .5rem .8rem; }
.w17e-det summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.w17e-det ul { padding-left: 1.1rem; margin: .4rem 0; }
.w17e-det li { margin: .25rem 0; }
.w17e-busy { font-weight: 600; }
.w17e-err { background: #fde8e8; color: #8a1c1c; border-radius: 10px; padding: .5rem .7rem; }
.w17e-fuss { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.w17e-fuss .btn { min-height: 48px; }
.w17e-fuss .btn.pri { flex: 1 1 100%; }

.w17e-urteil { display: flex; gap: .7rem; align-items: center; padding: .7rem .8rem; border-radius: 12px; background: var(--panel, #fff); border-left: 6px solid #d9a400; }
.w17e-urteil div { display: flex; flex-direction: column; }
.w17e-urteil.a-g { border-left-color: #1e8e3e; } .w17e-urteil.a-r { border-left-color: #c5221f; }
.w17e-amp { display: inline-flex; flex-direction: column; gap: 3px; background: #2b2f33; padding: 4px; border-radius: 8px; }
.w17e-amp i { width: 12px; height: 12px; border-radius: 50%; background: #555; }
.a-r .w17e-amp i:nth-child(1) { background: #e5483f; } .a-y .w17e-amp i:nth-child(2) { background: #fbb900; } .a-g .w17e-amp i:nth-child(3) { background: #34a853; }
.w17e-karte { height: 260px; margin: .6rem 0; border-radius: 12px; overflow: hidden; background: #dfe6dc; }
.w17e-karte > svg { width: 100%; height: 100%; }
@media (min-width: 640px) { .w17e-karte { height: 340px; } }
.w17e-warn { list-style: none; padding: 0; margin: .5rem 0; }
.w17e-warn li { padding: .45rem .6rem; border-radius: 10px; margin: .3rem 0; background: #fff7d6; }
.w17e-warn li.i { background: #e8f0fe; }
.w17e-info h3 { margin: .5rem 0 .3rem; font-size: 1rem; }
.w17e-sp { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: .25rem; }
@media (min-width: 640px) { .w17e-sp { grid-template-columns: 1fr 1fr; } }
.w17e-sp li { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem .5rem; border-radius: 8px; background: var(--panel, #fff); font-size: .9rem; }
.w17e-sp li.fehlt b { opacity: .6; font-weight: 400; }
.w17e-sp li b { overflow-wrap: anywhere; text-align: right; }
.w17e-tw { overflow-x: auto; }
.w17e-tab { border-collapse: collapse; width: 100%; font-size: .85rem; }
.w17e-tab th, .w17e-tab td { padding: .3rem .4rem; border-bottom: 1px solid var(--line, #e3ded2); text-align: left; white-space: nowrap; }
.w17e-tab tr.abw td:nth-child(2), .w17e-tab tr.abw td:nth-child(3) { background: #fff1c2; }
.w17e-tab tr.dup { opacity: .55; }
.w17e-vf { float: right; margin: -6px -4px 0 .5rem; }
.w17e-vf[open] { float: none; display: block; margin: 0 0 .4rem; }
.card.vfc .w17e-vf summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; border-radius: 50%; }
.card.vfc .w17e-vf summary::-webkit-details-marker { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .w17e-ok { background: #173d24; color: #cdeed6; } :root:not([data-theme="light"]) .w17e-warn li { background: #3a3218; } :root:not([data-theme="light"]) .w17e-warn li.i { background: #1d2a40; } :root:not([data-theme="light"]) .w17e-err { background: #4a1d1d; color: #ffd9d9; } }
:root[data-theme="dark"] .w17e-ok { background: #173d24; color: #cdeed6; } :root[data-theme="dark"] .w17e-warn li { background: #3a3218; } :root[data-theme="dark"] .w17e-warn li.i { background: #1d2a40; } :root[data-theme="dark"] .w17e-err { background: #4a1d1d; color: #ffd9d9; }
