/* Teamworkk — interaktive Schulung, Bereich auf der Shop-Startseite.
   Erzeugt aus schulung_vorlage.html. Alle Regeln sind auf #twk-schulung begrenzt,
   damit nichts in den Shop hineinwirkt. Nicht von Hand bearbeiten. */

#twk-schulung * { box-sizing: border-box; margin: 0; padding: 0; }
#twk-schulung { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f1f5f9; color: #111827; padding: 28px 16px 60px; }
#twk-schulung .intro { max-width: 980px; margin: 0 auto 14px; text-align: center; }
#twk-schulung .intro h1 { font-size: 1.55em; font-weight: 600; }
#twk-schulung .intro p { color: #6b7280; margin-top: 6px; font-size: .95em; }
#twk-schulung .langbar { max-width: 980px; margin: 0 auto 22px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
#twk-schulung .langbar button { border: 1px solid #d1d5db; background: #fff; color: #374151; border-radius: 999px; padding: 7px 14px; font-size: .85em; font-weight: 600; cursor: pointer; transition: all .15s; }
#twk-schulung .langbar button:hover { border-color: #10b981; color: #059669; }
#twk-schulung .langbar button.on { background: #10b981; border-color: #10b981; color: #fff; }
#twk-schulung .wrap { max-width: 980px; margin: 0 auto; display: flex; gap: 26px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
#twk-schulung .phone { position: relative; flex: 0 0 auto; width: min(360px, 92vw); border-radius: 34px; padding: 10px; background: #0f172a; box-shadow: 0 24px 60px rgba(15,23,42,.35); }
#twk-schulung /* Feste Bildschirmhöhe wie ein echtes Telefon (Seitenverhältnis 1280:2856) */
  .screen { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 1280 / 2856; background: #f1f5f9; }
#twk-schulung .layer { position: absolute; inset: 0; overflow: hidden; }
#twk-schulung .layer img { display: block; width: 100%; height: auto; }
#twk-schulung /* Scroll-Ebene für lange Ansichten (Aufgabe erstellen) */
  .layer.scroll { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
#twk-schulung .layer.scroll::-webkit-scrollbar { width: 5px; }
#twk-schulung .layer.scroll::-webkit-scrollbar-thumb { background: rgba(15,23,42,.28); border-radius: 3px; }
#twk-schulung .hidden { display: none; }
#twk-schulung .spotlight { position: absolute; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0,0,0,.55); pointer-events: none; z-index: 20; display: none; }
  @keyframes hintFade { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
#twk-schulung .hotspot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(245,158,11,.45); border: 2px solid rgba(255,255,255,.8); box-shadow: 0 2px 10px rgba(0,0,0,.3); cursor: pointer; z-index: 30; transition: transform .15s, opacity .2s; }
#twk-schulung .hotspot:hover { transform: scale(1.22); }
#twk-schulung .hotspot::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #f59e0b; animation: twkPulse 1.8s ease-out infinite; }
#twk-schulung .hotspot.active { background: rgba(16,185,129,.55); }
#twk-schulung .hotspot.active::before { border-color: #10b981; }
#twk-schulung .hotspot.seen:not(.active) { background: rgba(16,185,129,.45); }
#twk-schulung .hotspot.seen:not(.active)::before { border-color: #10b981; animation-duration: 3.4s; }
#twk-schulung .hotspot.hidden { display: none; }
#twk-schulung /* Kleinere Punkte fuer die Eintraege im geoeffneten Menue */
  .layer.scroll .inner { position: relative; }
#twk-schulung /* ---- Aufgaben-Tab: echtes HTML statt Screenshot, #twk-schulung Maße wie die Android-App ---- */
  .layer.htmlview { overflow: hidden; }
#twk-schulung .tw-app { position: absolute; top: 0; left: 0; width: 360px; height: 803px;
            transform-origin: top left; display: flex; flex-direction: column;
            background: #F2F2F7; color: #111827; font-size: 14px; }
#twk-schulung .tw-status { display: flex; align-items: center; justify-content: space-between;
               padding: 9px 16px 2px; font-size: 12px; font-weight: 600; color: #111827; }
#twk-schulung .tw-status .sig { display: flex; align-items: flex-end; gap: 2px; }
#twk-schulung .tw-status .sig i { display: block; width: 3px; background: #111827; border-radius: 1px; }
#twk-schulung .tw-batt { width: 22px; height: 11px; border-radius: 3px; background: #111827; }
#twk-schulung .tw-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 8px; }
#twk-schulung .tw-head h2 { font-size: 26px; font-weight: 600; letter-spacing: -.3px; }
#twk-schulung .tw-burger { display: flex; flex-direction: column; gap: 3px; }
#twk-schulung .tw-burger i:not(.hotspot) { display: block; width: 19px; height: 2px; background: #111827; border-radius: 1px; }
#twk-schulung .tw-body { position: relative; flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 16px 20px; }
#twk-schulung .tw-body::-webkit-scrollbar { width: 4px; }
#twk-schulung .tw-body::-webkit-scrollbar-thumb { background: rgba(15,23,42,.25); border-radius: 2px; }
#twk-schulung .tw-card { background: #fff; border-radius: 8px; padding: 14px; }
#twk-schulung .tw-stats { display: flex; }
#twk-schulung .tw-stat { flex: 1; text-align: center; }
#twk-schulung .tw-stat b { display: block; font-size: 24px; font-weight: 700; line-height: 1.15; }
#twk-schulung .tw-stat span { font-size: 12px; color: #6B7280; }
#twk-schulung .tw-sec { display: inline-block; font-size: 12px; font-weight: 600; color: #8E8E93;
            letter-spacing: .4px; text-transform: uppercase; padding: 16px 4px 6px; }
#twk-schulung .tw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#twk-schulung .tw-sheet { min-width: 0; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 3px;
              box-shadow: 0 2px 4px rgba(0,0,0,.12); padding: 13px; min-height: 210px;
              display: flex; flex-direction: column; }
#twk-schulung .tw-sheet h4 { font-size: 15px; font-weight: 600; line-height: 19px; overflow-wrap: normal;
                 display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
#twk-schulung .tw-sheet p { font-size: 12.5px; color: #6B7280; line-height: 18px; margin-top: 16px; overflow-wrap: normal;
                display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#twk-schulung .tw-sheet .grow { flex: 1; min-height: 16px; }
#twk-schulung .tw-time { font-size: 12px; font-weight: 500; color: #6B7280; margin-bottom: 6px;
             white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#twk-schulung .tw-time.od { color: #DC2626; font-weight: 600; }
#twk-schulung .tw-bar { height: 4px; border-radius: 2px; background: #E5E7EB; overflow: hidden; }
#twk-schulung .tw-bar i:not(.hotspot) { display: block; height: 4px; border-radius: 2px; background: #10B981; }
#twk-schulung .tw-bar.od i { background: #DC2626; }
#twk-schulung .tw-foot { display: flex; justify-content: space-between; margin-top: 6px;
             font-size: 11.5px; font-weight: 500; color: #8E8E93; }
#twk-schulung .tw-zone { margin-top: 18px; padding: 12px; }
#twk-schulung .tw-zone .zh { display: flex; align-items: center; height: 44px; font-size: 16px; font-weight: 500; }
#twk-schulung .tw-zone .zh span { flex: 1; }
#twk-schulung .tw-zone .chev { color: #6B7280; font-size: 13px; }
#twk-schulung .tw-drow { display: flex; align-items: center; gap: 10px; padding: 8px 0;
             border-bottom: 1px solid #E5E7EB; }
#twk-schulung .tw-drow .ok { color: #10B981; font-weight: 700; }
#twk-schulung .tw-drow .col { flex: 1; min-width: 0; }
#twk-schulung .tw-drow .col b { display: block; font-size: 14px; font-weight: 400;
                    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#twk-schulung .tw-drow .col span { font-size: 12px; color: #8E8E93; }
#twk-schulung .tw-drow .st { font-size: 12px; color: #8E8E93; }
#twk-schulung .tw-tabs { display: flex; background: #fff; border-top: 1px solid #E5E7EB; padding: 6px 0 18px; }
#twk-schulung .tw-tab { flex: 1; text-align: center; font-size: 11px; color: #8E8E93; }
#twk-schulung .tw-tab svg { display: block; margin: 0 auto 3px; }
#twk-schulung .tw-tab.on { color: #10B981; }
#twk-schulung .tw-tab.on .pill { background: #D6F5E8; border-radius: 999px; padding: 3px 14px; display: inline-block; }
#twk-schulung /* ---- Chat-Übersicht (ChatScreen.kt) ---- */
  .tw-clabel { font-size: 12px; color: #8E8E93; padding: 6px 0; margin-top: 10px; }
#twk-schulung .tw-clabel:first-child { margin-top: 0; }
#twk-schulung .tw-crow { display: flex; align-items: center; gap: 12px; background: #fff;
             border-radius: 8px; padding: 12px; margin-bottom: 8px; }
#twk-schulung .tw-av { width: 40px; height: 40px; border-radius: 8px; display: flex;
           align-items: center; justify-content: center; color: #fff;
           font-weight: 700; font-size: 17px; flex: 0 0 auto; }
#twk-schulung .tw-av.grp { background: rgba(16,185,129,.15); color: #10B981; }
#twk-schulung .tw-crow .col { flex: 1; min-width: 0; }
#twk-schulung .tw-crow .col b { display: block; font-size: 15px; font-weight: 500;
                    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#twk-schulung .tw-crow .col span { font-size: 12px; color: #6B7280; }
#twk-schulung .tw-unread { background: #10B981; color: #fff; font-size: 12px; font-weight: 700;
               border-radius: 6px; padding: 2px 7px; }
#twk-schulung /* ---- Chat-Fenster (ConversationScreen), #twk-schulung Farben aus ChatScreen.kt ---- */
  .cv-head { display: flex; align-items: center; gap: 10px; background: #008069;
             padding: 8px 10px; color: #fff; }
#twk-schulung .cv-back { font-size: 20px; line-height: 1; }
#twk-schulung .cv-av { width: 36px; height: 36px; border-radius: 50%; display: flex;
           align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
#twk-schulung .cv-head .nm { flex: 1; font-size: 17px; font-weight: 600; }
#twk-schulung .cv-panel { position: relative; flex: 1; overflow-y: auto; background: #EFEAE2; padding: 12px;
              display: flex; flex-direction: column; gap: 6px; }
#twk-schulung .cv-panel::-webkit-scrollbar { width: 4px; }
#twk-schulung .cv-panel::-webkit-scrollbar-thumb { background: rgba(15,23,42,.25); border-radius: 2px; }
#twk-schulung .cv-row { display: flex; }
#twk-schulung .cv-row.me { justify-content: flex-end; }
#twk-schulung .cv-bub { max-width: 290px; border-radius: 8px; padding: 6px 9px; background: #fff;
            font-size: 15px; color: #111B21; line-height: 20px; }
#twk-schulung .cv-row.me .cv-bub { background: #D9FDD3; }
#twk-schulung .cv-meta { display: flex; align-items: center; justify-content: flex-end; gap: 3px;
             font-size: 10px; color: #667781; margin-top: 2px; }
#twk-schulung .cv-file { display: flex; align-items: center; gap: 5px; font-size: 12px;
             font-weight: 500; color: #667781; }
#twk-schulung .cv-tick { font-size: 10px; font-weight: 700; color: #9CA3AF; }
#twk-schulung .cv-tick.rd { color: #3B82F6; }
#twk-schulung .cv-input { display: flex; align-items: center; gap: 8px; background: #F0F0F0; padding: 8px; }
#twk-schulung .cv-plus { color: #008069; font-size: 26px; line-height: 1; }
#twk-schulung .cv-field { flex: 1; background: #fff; border-radius: 8px; padding: 10px 12px;
              font-size: 15px; color: #8E8E93; }
#twk-schulung .cv-send { width: 38px; height: 38px; border-radius: 50%; background: #008069;
             color: #fff; display: flex; align-items: center; justify-content: center;
             font-size: 17px; flex: 0 0 auto; }
#twk-schulung /* ---- Konto (AccountScreen.kt) ---- */
  .ac-prof { display: flex; align-items: center; gap: 14px; }
#twk-schulung .ac-prof .av { width: 46px; height: 46px; border-radius: 8px; color: #fff;
                 font-weight: 700; font-size: 19px; display: flex;
                 align-items: center; justify-content: center; flex: 0 0 auto; }
#twk-schulung .ac-prof b { display: block; font-size: 16px; font-weight: 600; }
#twk-schulung .ac-prof span { font-size: 13px; color: #6B7280; }
#twk-schulung .ac-kv { display: flex; padding: 7px 0; font-size: 15px; }
#twk-schulung .ac-kv span { flex: 1; }
#twk-schulung .ac-kv i { font-style: normal; color: #6B7280; }
#twk-schulung .ac-hr { height: 1px; background: #E5E7EB; margin: 6px 0; }
#twk-schulung .ac-nav { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 15px; }
#twk-schulung .ac-nav .ico { width: 22px; height: 22px; color: #10B981; flex: 0 0 auto; }
#twk-schulung .ac-nav .lb { flex: 1; }
#twk-schulung .ac-nav .tr { font-size: 14px; color: #6B7280; }
#twk-schulung .ac-nav .ch { color: #8E8E93; font-size: 18px; }
#twk-schulung .ac-nav.dg, #twk-schulung .ac-nav.dg .ico { color: #DC2626; }
#twk-schulung .ac-pick { display: flex; align-items: center; padding: 10px 0; font-size: 15px; }
#twk-schulung .ac-pick .lb { flex: 1; }
#twk-schulung .ac-pick .vl { font-size: 14px; color: #6B7280; }
#twk-schulung .ac-sw { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
#twk-schulung .ac-sw .col { flex: 1; }
#twk-schulung .ac-sw .col b { display: block; font-size: 15px; font-weight: 400; }
#twk-schulung .ac-sw .col span { font-size: 12px; color: #6B7280; line-height: 16px; }
#twk-schulung .ac-tog { width: 44px; height: 24px; border-radius: 999px; background: #E5E7EB;
            position: relative; flex: 0 0 auto; }
#twk-schulung .ac-tog.on { background: #10B981; }
#twk-schulung .ac-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px;
                   height: 20px; border-radius: 50%; background: #fff;
                   box-shadow: 0 1px 3px rgba(0,0,0,.3); }
#twk-schulung .ac-tog.on::after { left: auto; right: 2px; }
#twk-schulung .ac-note { font-size: 12px; color: #8E8E93; line-height: 16px; padding: 6px 4px; }
#twk-schulung .ac-qrow { display: flex; font-size: 15px; margin-top: 6px; }
#twk-schulung .ac-qrow span { flex: 1; }
#twk-schulung .ac-qrow i { font-style: normal; font-size: 14px; color: #6B7280; }
#twk-schulung .ac-qbar { height: 5px; border-radius: 3px; background: #E5E7EB; margin: 6px 0; overflow: hidden; }
#twk-schulung .ac-qbar i:not(.hotspot) { display: block; height: 5px; border-radius: 3px; background: #10B981; }
#twk-schulung .ac-qsub { font-size: 12px; color: #6B7280; }
#twk-schulung .ac-credit { font-size: 12px; color: #6B7280; margin-top: 2px; }
#twk-schulung /* ---- Hamburger-Menü als Bottom-Sheet + Unterseiten ---- */
  .bs-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.38); }
#twk-schulung .bs-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 86%;
              background: #F2F2F7; border-radius: 28px 28px 0 0;
              display: flex; flex-direction: column; }
#twk-schulung .bs-grip { width: 34px; height: 4px; border-radius: 2px; background: #C7C7CC;
             margin: 10px auto 4px; }
#twk-schulung .bs-prof { display: flex; align-items: center; gap: 14px; }
#twk-schulung .bs-prof .av { width: 48px; height: 48px; border-radius: 8px; color: #fff;
                 font-weight: 700; font-size: 20px; display: flex;
                 align-items: center; justify-content: center; flex: 0 0 auto; }
#twk-schulung .bs-prof .col { flex: 1; min-width: 0; }
#twk-schulung .bs-prof .col b { display: block; font-size: 17px; font-weight: 600; }
#twk-schulung .bs-prof .col span { font-size: 13px; color: #6B7280; }
#twk-schulung .bs-prof .tm { font-size: 12px; color: #6B7280; }
#twk-schulung .bs-mhead { display: flex; align-items: center; gap: 5px; padding: 16px 4px 6px;
              font-size: 12px; font-weight: 600; color: #8E8E93; letter-spacing: .4px; }
#twk-schulung .bs-mhead .lb { flex: 1; text-transform: uppercase; }
#twk-schulung .bs-mhead .on { color: #10B981; text-transform: none; }
#twk-schulung .bs-dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; }
#twk-schulung .bs-mem { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
#twk-schulung .bs-mem .av { width: 34px; height: 34px; border-radius: 8px; color: #fff;
                font-weight: 700; font-size: 14px; display: flex;
                align-items: center; justify-content: center; flex: 0 0 auto; }
#twk-schulung .bs-mem .nm { flex: 1; font-size: 15px; }
#twk-schulung .bs-mem .st { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB; }
#twk-schulung .bs-mem .st.on { background: #10B981; }
#twk-schulung /* Kopfzeile der Unterseiten (ScreenScaffold) */
  .sc-top { display: flex; align-items: center; gap: 12px; padding: 10px 12px;
            background: #F2F2F7; }
#twk-schulung .sc-top .bk { font-size: 20px; line-height: 1; }
#twk-schulung .sc-top h3 { font-size: 18px; font-weight: 600; }
#twk-schulung .pf-pal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
#twk-schulung .pf-sw { height: 36px; border-radius: 8px; display: flex; align-items: center;
           justify-content: center; color: #fff; font-weight: 700; font-size: 15px; }
#twk-schulung .pf-sw.sel { box-shadow: inset 0 0 0 2px #111827; }
#twk-schulung .pf-save { color: #10B981; font-size: 15px; font-weight: 500; padding: 12px 0 2px; }
#twk-schulung /* ---- Menü-Unterseiten ---- */
  .sc-top .act { color: #10B981; font-size: 15px; font-weight: 600; }
#twk-schulung .sc-top .plus { font-size: 22px; line-height: 1; }
#twk-schulung .sx-row { display: flex; align-items: center; gap: 12px; background: #fff;
            border-radius: 8px; padding: 12px; margin-bottom: 8px; }
#twk-schulung .sx-ico { width: 38px; height: 38px; border-radius: 8px; display: flex;
            align-items: center; justify-content: center; font-size: 15px;
            font-weight: 700; flex: 0 0 auto; }
#twk-schulung .sx-row .col { flex: 1; min-width: 0; }
#twk-schulung .sx-row .col b { display: block; font-size: 15px; font-weight: 500;
                   white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#twk-schulung .sx-row .col span { font-size: 12px; color: #6B7280; }
#twk-schulung .sx-chip { font-size: 11px; font-weight: 600; border-radius: 6px; padding: 3px 8px; color: #fff; }
#twk-schulung .sx-on { width: 9px; height: 9px; border-radius: 50%; background: #E5E7EB; }
#twk-schulung .sx-on.y { background: #10B981; }
#twk-schulung .sx-more { color: #8E8E93; font-size: 17px; letter-spacing: 1px; }
#twk-schulung .sx-wl { padding: 6px 0; }
#twk-schulung .sx-wl .hd { display: flex; align-items: center; gap: 10px; }
#twk-schulung .sx-wl .hd .nm { flex: 1; font-size: 15px; font-weight: 500; }
#twk-schulung .sx-wl .hd .pc { font-size: 13px; font-weight: 700; }
#twk-schulung .sx-bar { height: 7px; border-radius: 4px; background: #E5E7EB; margin-top: 6px; overflow: hidden; }
#twk-schulung .sx-bar i:not(.hotspot) { display: block; height: 7px; border-radius: 4px; }
#twk-schulung .sx-field { background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
              padding: 11px 12px; font-size: 15px; }
#twk-schulung .sx-seg { display: flex; background: #E9E9EB; border-radius: 8px; padding: 3px; }
#twk-schulung .sx-seg span { flex: 1; text-align: center; font-size: 13px; padding: 6px 0; border-radius: 6px; }
#twk-schulung .sx-seg span.on { background: #fff; font-weight: 600; }
#twk-schulung .sx-del { color: #DC2626; font-size: 17px; }
#twk-schulung /* ---- Dashboard als HTML (DashboardScreen.kt) ---- */
  .db-head { display: flex; align-items: center; gap: 6px; padding: 10px 16px; }
#twk-schulung .db-head h2 { font-size: 26px; font-weight: 400; }
#twk-schulung .db-chev { font-size: 15px; color: #111827; padding: 0 4px; }
#twk-schulung .db-slate { background: rgba(99,115,136,.13); color: #3F4D61; border-radius: 8px;
              padding: 7px 12px; font-size: 14px; font-weight: 500; white-space: nowrap; }
#twk-schulung .db-head .sp { flex: 1; }
#twk-schulung .db-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 16px 20px; position: relative; }
#twk-schulung .db-body::-webkit-scrollbar { width: 4px; }
#twk-schulung .db-body::-webkit-scrollbar-thumb { background: rgba(15,23,42,.25); border-radius: 2px; }
#twk-schulung .db-date { border-radius: 8px; padding: 28px 0; text-align: center;
             background: linear-gradient(135deg, #0B141A, #1C2B36); position: relative; overflow: hidden; }
#twk-schulung .db-date::before { content: ""; position: absolute; inset: 0;
                     background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.10), transparent 60%); }
#twk-schulung .db-date .wd { font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.55); }
#twk-schulung .db-date .d { font-size: 40px; font-weight: 300; color: rgba(255,255,255,.92); line-height: 1.15; }
#twk-schulung .db-date .y { font-size: 16px; color: rgba(255,255,255,.45); }
#twk-schulung .db-notes { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
              background: #2B3844; border-radius: 8px; padding: 10px 18px;
              color: rgba(255,255,255,.9); font-size: 15px; font-weight: 500; position: relative; }
#twk-schulung .db-zones { display: flex; margin-top: 14px; }
#twk-schulung .db-zones > div { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
#twk-schulung .db-badge { background: rgba(99,115,136,.13); color: #3F4D61; border-radius: 6px;
              padding: 1px 8px; font-size: 12px; font-weight: 700; }
#twk-schulung .db-ovhead { display: flex; align-items: center; gap: 10px; height: 30px; }
#twk-schulung .db-ovhead .t { flex: 1; font-size: 16px; font-weight: 500; }
#twk-schulung .db-ovhead .ic { color: #6B7280; font-size: 15px; }
#twk-schulung .db-sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
#twk-schulung .db-sheet { position: relative; padding-top: 12px; min-width: 0;
              display: flex; flex-direction: column; }
#twk-schulung .db-sheet > .tw-sheet { flex: 1; }
#twk-schulung .db-note { position: absolute; left: -4px; top: 2px; z-index: 2; transform: rotate(-5deg);
             background: linear-gradient(#FFDF59, #F8C93F); padding: 5px 16px 5px 20px;
             font-family: "Snell Roundhand", "Brush Script MT", cursive; font-weight: 700;
             font-size: 13px; color: #1C1C1E; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
#twk-schulung .db-clip { position: absolute; left: -6px; top: -7px; z-index: 3; font-size: 17px;
             transform: rotate(24deg); color: #3F434B; }
#twk-schulung .db-chip { display: inline-block; background: #FDEAEA; color: #C02424; border-radius: 6px;
             padding: 3px 8px; font-size: 11px; font-weight: 600; }
#twk-schulung /* ---- Dashboard-Menü (Aktionen-Panel) ---- */
  .db-menu { margin-top: 4px; }
#twk-schulung .db-menu .rw { display: flex; gap: 10px; margin-bottom: 10px; }
#twk-schulung .db-act { flex: 1; background: rgba(229,231,235,.55); border-radius: 8px; padding: 12px 8px;
            text-align: center; font-size: 14.5px; position: relative; white-space: nowrap;
            overflow: hidden; text-overflow: ellipsis; }
#twk-schulung .db-mini { display: flex; gap: 8px; }
#twk-schulung .db-mini .tm { flex: 1; background: rgba(229,231,235,.55); border-radius: 8px; padding: 10px;
                 text-align: center; font-size: 14px; font-weight: 600; position: relative; }
#twk-schulung .db-mini .ic3 { background: rgba(229,231,235,.55); border-radius: 8px; padding: 6px 12px;
                  display: flex; align-items: center; gap: 6px; font-size: 16px; }
#twk-schulung /* ---- Aufgabe erstellen als HTML (CreateViews.swift / CreateTaskScreen.kt) ---- */
  .cr-field { background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
              padding: 12px; font-size: 15px; color: #8E8E93; display: flex;
              align-items: center; gap: 8px; margin-top: 10px; }
#twk-schulung .cr-field .mic { margin-left: auto; background: #EFEFF2; border-radius: 6px;
                   padding: 5px 8px; color: #3F434B; font-size: 13px; }
#twk-schulung .cr-field.tall { align-items: flex-start; min-height: 74px; }
#twk-schulung .cr-dict { background: #EFEFF2; border-radius: 8px; padding: 12px; text-align: center;
             font-size: 15px; font-weight: 500; color: #111827; }
#twk-schulung .cr-add { background: #10B981; color: #fff; width: 26px; height: 26px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 17px; flex: 0 0 auto; }
#twk-schulung .cr-radio { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; }
#twk-schulung .cr-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8E8E93; flex: 0 0 auto; }
#twk-schulung .cr-dot.on { border-color: #10B981; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px #10B981; }
#twk-schulung .cr-av { width: 26px; height: 26px; border-radius: 6px; color: #fff; font-size: 12px;
           font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
#twk-schulung .cr-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; }
#twk-schulung .cr-line .lb { flex: 1; }
#twk-schulung .cr-pill { background: #EFEFF2; border-radius: 7px; padding: 7px 12px; font-size: 14px; font-weight: 500; }
#twk-schulung .cr-step { background: #EFEFF2; border-radius: 7px; width: 34px; height: 30px;
             display: flex; align-items: center; justify-content: center; font-size: 17px; }
#twk-schulung /* ---- Geraete-Umschalter ---- */
  .devbar { max-width: 980px; margin: 0 auto 18px; display: flex; justify-content: center; gap: 8px; }
#twk-schulung .devbar button { border: 1px solid #d1d5db; background: #fff; color: #374151; border-radius: 999px;
                   padding: 7px 18px; font-size: .85em; font-weight: 600; cursor: pointer;
                   display: inline-flex; align-items: center; gap: 7px; transition: all .15s; }
#twk-schulung .devbar button:hover { border-color: #10b981; color: #059669; }
#twk-schulung .devbar button.on { background: #0f172a; border-color: #0f172a; color: #fff; }
#twk-schulung /* ---- iPhone: Gehaeuse, #twk-schulung Dynamic Island, #twk-schulung Home-Leiste ---- */
  .phone.ios { border-radius: 54px; padding: 11px; }
#twk-schulung .phone.ios .screen { border-radius: 44px; aspect-ratio: 1290 / 2796; }
#twk-schulung .phone.ios .tw-app { height: 780px; }
#twk-schulung .tw-status.ios { padding: 14px 22px 6px; font-size: 13px; }
#twk-schulung .tw-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
               width: 104px; height: 30px; border-radius: 999px; background: #000; z-index: 40; }
#twk-schulung .tw-home { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
             width: 134px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.32); z-index: 40; }
#twk-schulung /* iOS-Tab-Leiste: Haarlinie, #twk-schulung kein gruenes Kissen hinter dem aktiven Symbol */
  .tw-tabs.ios { background: rgba(249,249,249,.94); border-top: .5px solid rgba(0,0,0,.2);
                 padding: 8px 0 24px; }
#twk-schulung .tw-tabs.ios .tw-tab { font-size: 10px; }
#twk-schulung .tw-tabs.ios .tw-tab.on .pill { background: none; padding: 0; }
#twk-schulung /* iOS-Navigationsleiste: Titel mittig, #twk-schulung „‹“ mit Beschriftung links */
  .sc-top.ios { justify-content: center; position: relative; padding: 12px 12px 10px; }
#twk-schulung .sc-top.ios h3 { flex: 0 1 auto !important; font-size: 17px; text-align: center; }
#twk-schulung .sc-top.ios .bk { position: absolute; left: 12px; color: #10B981; font-size: 15px;
                    display: inline-flex; align-items: center; gap: 2px; }
#twk-schulung .sc-top.ios .bk b { font-size: 21px; font-weight: 400; line-height: 1; }
#twk-schulung .sc-top.ios .act, #twk-schulung .sc-top.ios .plus { position: absolute; right: 14px; }
#twk-schulung /* Android-Schalter: kleinerer Knopf im Aus-Zustand, #twk-schulung wie Material 3 */
  .plat-android .ac-tog:not(.on)::after { width: 14px; height: 14px; top: 5px; left: 5px;
                                          background: #79747E; box-shadow: none; }
#twk-schulung .plat-android .ac-tog:not(.on) { box-shadow: inset 0 0 0 2px #79747E; }
#twk-schulung /* ---- iOS: gruppierte Listen statt Karten mit umrandeten Feldern ----
     Auf iOS sind „Aufgabe erstellen“, #twk-schulung das Menü und die meisten Unterseiten
     SwiftUI-Form/List: randlose Zeilen, #twk-schulung Haarlinien dazwischen, #twk-schulung 17 pt Schrift.
     Android nutzt an denselben Stellen Karten mit umrandeten Feldern. */
  .phone.ios .tw-card { border-radius: 10px; box-shadow: none; }
#twk-schulung .phone.ios .tw-sec { font-size: 13px; color: #6D6D72; letter-spacing: 0; padding-left: 20px; }
#twk-schulung .phone.ios .ac-hr { display: none; }
#twk-schulung .phone.ios .cr-field { background: transparent; border: 0; border-radius: 0; margin-top: 0;
                         padding: 12px 0; font-size: 17px; box-shadow: inset 0 -.5px 0 #C6C6C8; }
#twk-schulung .phone.ios .cr-field .mic, #twk-schulung .phone.ios .cr-pill, #twk-schulung .phone.ios .cr-step { background: rgba(118,118,128,.12); }
#twk-schulung .phone.ios .cr-line, #twk-schulung .phone.ios .cr-radio { font-size: 17px; padding: 11px 0;
                         box-shadow: inset 0 -.5px 0 #C6C6C8; }
#twk-schulung .phone.ios .cr-dot { border-color: #C7C7CC; }
#twk-schulung .phone.ios .ac-nav, #twk-schulung .phone.ios .ac-kv, #twk-schulung .phone.ios .ac-pick, #twk-schulung .phone.ios .ac-sw, #twk-schulung .phone.ios .tw-crow, #twk-schulung .phone.ios .sx-row { box-shadow: inset 0 -.5px 0 #C6C6C8; }
#twk-schulung .phone.ios .ac-nav, #twk-schulung .phone.ios .ac-kv, #twk-schulung .phone.ios .ac-pick { font-size: 17px; }
#twk-schulung .phone.ios .ac-sw .col b, #twk-schulung .phone.ios .sx-row .col b, #twk-schulung .phone.ios .tw-crow .col b { font-size: 17px; }
#twk-schulung .phone.ios .ac-nav .ch, #twk-schulung .phone.ios .ac-pick .ch, #twk-schulung .phone.ios .cr-line .ch { color: #C7C7CC; }
#twk-schulung /* Die jeweils letzte Zeile einer Gruppe traegt keine Trennlinie */
  .phone.ios .tw-card > *:last-child { box-shadow: none; }
#twk-schulung /* Zeilen liegen im Formular direkt aneinander, #twk-schulung die Karte gibt den Rand */
  .phone.ios .tw-crow, #twk-schulung .phone.ios .sx-row { border-radius: 0; margin-bottom: 0; }
#twk-schulung /* iOS-Stepper: ein Bedienelement mit Trennstrich, #twk-schulung nicht zwei Knoepfe */
  .cr-steps { display: flex; background: rgba(118,118,128,.12); border-radius: 7px; overflow: hidden; }
#twk-schulung .cr-steps span { width: 38px; height: 31px; display: flex; align-items: center;
                   justify-content: center; font-size: 18px; color: #111827; }
#twk-schulung .cr-steps i { width: 1px; background: rgba(60,60,67,.22); }
#twk-schulung /* Haken statt Radio-Kreis — so sieht die Auswahl in einem iOS-Picker aus */
  .cr-check { margin-left: auto; color: #10B981; font-size: 16px; font-weight: 700; }
#twk-schulung .phone.ios .cr-radio { gap: 0; }
#twk-schulung /* Anker fuer die Erklaerpunkte im HTML-Nachbau */
  .tw-anchor { position: relative; }
#twk-schulung .tw-anchor > .hotspot { position: absolute; }
#twk-schulung .hotspot.msub { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: rgba(245,158,11,.28); border-width: 1px; }
#twk-schulung .hotspot.msub:hover { background: rgba(245,158,11,.6); }
#twk-schulung .hotspot.msub.active { background: rgba(16,185,129,.5); }
#twk-schulung .hotspot.msub.seen:not(.active) { background: rgba(16,185,129,.3); }
#twk-schulung /* Schließen-Punkt in geöffneten Ansichten (rot getönt) */
  .hotspot.closer { background: rgba(239,68,68,.42); z-index: 40; }
#twk-schulung .hotspot.closer::before { border-color: #ef4444; }
  @keyframes twkPulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
#twk-schulung .panel { flex: 1 1 300px; max-width: 380px; position: sticky; top: 20px; }
#twk-schulung .pcard { background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(15,23,42,.12); padding: 22px; }
#twk-schulung .pcard .p-step { font-size: .72em; font-weight: 700; color: #f59e0b; letter-spacing: 1.5px; text-transform: uppercase; }
#twk-schulung .pcard h3 { font-size: 1.15em; margin: 6px 0 8px; }
#twk-schulung .pcard p { font-size: .92em; color: #4b5563; line-height: 1.6; min-height: 110px; }
#twk-schulung .pcard .p-tip { margin-top: 10px; background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; border-radius: 9px; padding: 9px 12px; font-size: .82em; display: none; }
#twk-schulung .pcard .p-row { display: flex; align-items: center; justify-content: flex-end; margin-top: 16px; }
#twk-schulung .pcard button { background: #10b981; color: #fff; border: none; border-radius: 9px; padding: 10px 18px; font-size: .9em; font-weight: 600; cursor: pointer; }
#twk-schulung .pcard button:disabled { background: #d1d5db; cursor: default; }
#twk-schulung .progress { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
#twk-schulung .progress .pbar { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
#twk-schulung .progress .pbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #10b981, #34d399); transition: width .3s; }
#twk-schulung .progress span { font-size: .8em; color: #6b7280; white-space: nowrap; }
#twk-schulung .donebox { display: none; margin-top: 12px; background: #ecfdf5; border: 1px solid #6ee7b7; color: #047857; border-radius: 10px; padding: 12px 14px; font-size: .9em; font-weight: 600; text-align: center; }
  @media (max-width: 820px) {
#twk-schulung .panel { position: static; max-width: none; } 
}


/* --- Einbettung in die Shop-Seite --- */
#twk-schulung { padding: 60px 20px 70px; background: #f8fafc; }
#twk-schulung .langbar { margin: 0 auto 24px; }
#twk-schulung .langbar button { font-size: .82em; padding: 8px 16px; }
#twk-schulung .intro { max-width: 820px; margin: 0 auto 26px; }
#twk-schulung .intro h1 { font-size: 2.2em; font-weight: 400; color: #111827; line-height: 1.25; }
#twk-schulung .intro p { font-size: 1.1em; font-weight: 300; color: #4b5563; margin-top: 12px; }
#twk-schulung .twk-eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 14px;
  border-radius: 999px; background: rgba(16,185,129,.12); color: #059669;
  font-size: .8em; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
#twk-schulung .twk-load { max-width: 980px; margin: 0 auto; text-align: center;
  color: #9ca3af; font-size: .9em; padding: 60px 0; }
#twk-schulung.ready .twk-load { display: none; }
#twk-schulung .wrap { display: none; }
#twk-schulung.ready .wrap { display: flex; }

/* --- Kopfleiste tritt zur Seite, solange die Schulung im Bild ist ---
   Einzige Regeln dieser Datei ausserhalb von #twk-schulung. Die Leiste liegt
   sonst ueber dem Telefon und verdeckt die obersten Erklaerpunkte. */
.navbar { transition: transform .35s ease; }
body.twk-nav-away .navbar { transform: translateY(-110%); }
/* Bei geoeffnetem Offcanvas-Menue bleibt sie stehen, sonst waere der
   Schliessen-Knopf nicht erreichbar. */
body.twk-nav-away.offcanvas-open .navbar { transform: none; }
@media (prefers-reduced-motion: reduce) { .navbar { transition: none; } }
