
    /* ===== FÄRGTEMA – ändra här så ändras hela appen ===== */
    /* Tema "Hustomten" – färger och typsnitt från hustomtenvemdalen.se (Poppins + Playfair Display, turkos/petrol).
       SaaS: varje företag väljer sitt eget tema under Admin → Utseende. */
    :root {
      --bakgrund: #edf3f3;      /* Sidans bakgrund: ljus grå-turkos            */
      --kort:     #f9fbfb;      /* Kort och rutor                              */
      --linje:    #dbe5e6;      /* Tunna linjer                                */
      --falt:     #ffffff;      /* Inmatningsfält                              */
      --mork:     #2a3c3e;      /* Mörk text, toppmeny och aktiva flikar       */
      --mork-2:   #395b5f;
      --ljus-text:#f4f8f8;      /* Text på mörk bakgrund                       */
      --primar:   #4f8a8f;      /* Huvudknappar (hemsidans turkos, lite mörkare för läsbarhet) */
      --primar-mork: #395b5f;   /* Text på ljus turkos, hover                  */
      --primar-ljus: #d4ebed;   /* Ljus turkos                                 */
      --accent:   #71b6bd;      /* Hemsidans "Boka städ"-turkos                */
      --text-dampad: #5e6c6e;
      --tabellhuvud: #e3eeef;
      --hover:    #e8f3f4;
      --typsnitt: 'Poppins', -apple-system, Helvetica, Arial, sans-serif;
      --rubrik-typsnitt: 'Playfair Display', Georgia, serif;
    }
    /* Tema "Klassisk" (sparas som "pastell") – gråskala, lugnt och sakligt som en advokatbyrå. Bara varningar (rött/gult) har färg kvar. */
    :root[data-tema="pastell"] {
      --bakgrund: #f8f8f6; --kort: #ffffff; --linje: #ebebe7; --falt: #ffffff; --mork: #555b61; --mork-2: #6c7278; --ljus-text: #fcfcfa;
      --primar: #7f858b; --primar-mork: #646a70; --primar-ljus: #f2f2f0; --accent: #b0b4b8; --text-dampad: #7c8084; --tabellhuvud: #f3f3f1; --hover: #fafaf8;
    }
    :root[data-tema="pastell"] .k-dagens, :root[data-tema="pastell"] .k-alla, :root[data-tema="pastell"] .k-vilka,
    :root[data-tema="pastell"] .k-meddelanden, :root[data-tema="pastell"] .k-arbetstid, :root[data-tema="pastell"] .k-uppgifter,
    :root[data-tema="pastell"] .kp-meny button { background: #ffffff; border: 1px solid #ebebe7; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
    :root[data-tema="pastell"] .meny button:nth-child(even) { background: #fafaf8; }
    :root[data-tema="pastell"] .kp-meny { background: #f3f3f1; }
    :root[data-tema="pastell"] .meny .ikon, :root[data-tema="pastell"] .kp-meny .kp-ikon { filter: grayscale(0.85) contrast(1.1); }
    :root[data-tema="pastell"] .kort { border-left-color: #dcdee0; }
    :root[data-tema="pastell"] .b-bla, :root[data-tema="pastell"] .b-orange { background: #f3f3f1; color: #4a5056; }
    :root[data-tema="pastell"] .b-gra { background: #f1f1ee; color: #7c8084; }
    :root[data-tema="pastell"] .tillbaka, :root[data-tema="pastell"] [style*="#1565c0"] { color: #7f858b !important; }
    :root[data-tema="pastell"] .etikett, :root[data-tema="pastell"] .avd-chip { filter: saturate(0.25); }
    :root[data-tema="pastell"] .avd-chip, :root[data-tema="pastell"] .avd-person { background: #f3f3f1; color: #4a5056; }
    :root[data-tema="pastell"] .avd-tavla { background: #f3f3f1; }
    :root[data-tema="pastell"] .avd-antal { background: #7f858b; }
    :root[data-tema="pastell"] .avd-lada.vald { border-color: #7f858b; box-shadow: 0 0 0 3px #7f858b22; }
    :root[data-tema="pastell"] h1, :root[data-tema="pastell"] h2, :root[data-tema="pastell"] h3 { letter-spacing: 0.2px; }
    /* Gråskala: alla dekorativa pastellfärger (blå, persika, lavendel, rosa, citron, mint) blir grå. Varningar (röd/gul) och klart-grönt är kvar. */
    :root[data-tema="pastell"] .b-bla:not([style*="background"]),
    :root[data-tema="pastell"] .b-orange:not([style*="background"]),
    :root[data-tema="pastell"] .avatar:not([style*="background"]),
    :root[data-tema="pastell"] .liten-knapp:not([style*="background"]),
    :root[data-tema="pastell"] .statusval .vald-inaktiv:not([style*="background"]),
    :root[data-tema="pastell"] .undantag:not([style*="background"]),
    :root[data-tema="pastell"] .instr-ny:not([style*="background"]),
    :root[data-tema="pastell"] .tjanst-detalj-knapp.oppen:not([style*="background"]), :root[data-tema="pastell"] .tjanst-detalj-knapp:hover:not([style*="background"]),
    :root[data-tema="pastell"] .om-tjansten:not([style*="background"]),
    :root[data-tema="pastell"] .bil-arbete:not([style*="background"]),
    :root[data-tema="pastell"] .bil-lista button:not([style*="background"]),
    :root[data-tema="pastell"] .kor-status.bekraftad:not([style*="background"]),
    :root[data-tema="pastell"] .r-rost:not([style*="background"]),
    :root[data-tema="pastell"] .meddela-knapp:not([style*="background"]),
    :root[data-tema="pastell"] .ej-andra button:not([style*="background"]),
    :root[data-tema="pastell"] .bk-medd:not([style*="background"]),
    :root[data-tema="pastell"] .ej-huvud:not([style*="background"]),
    :root[data-tema="pastell"] .verk-ikon:not([style*="background"]),
    :root[data-tema="pastell"] .las-banner:not([style*="background"]),
    :root[data-tema="pastell"] .hus-chip.rot:not([style*="background"]),
    :root[data-tema="pastell"] .media-rost:not([style*="background"]),
    :root[data-tema="pastell"] .vb-ruta:not([style*="background"]),
    :root[data-tema="pastell"] .lage-pers .ut:not([style*="background"]),
    :root[data-tema="pastell"] .at-justerad:not([style*="background"]),
    :root[data-tema="pastell"] .pm-bubbla:not([style*="background"]),
    :root[data-tema="pastell"] .pm-bubbla.egen:not([style*="background"]),
    :root[data-tema="pastell"] .avd-chip:not([style*="background"]),
    :root[data-tema="pastell"] .avd-person:not([style*="background"]),
    :root[data-tema="pastell"] .px-import:not([style*="background"]),
    :root[data-tema="pastell"] .fran-kund:not([style*="background"]),
    :root[data-tema="pastell"] .fran-oss:not([style*="background"]),
    :root[data-tema="pastell"] .fonster.fast:not([style*="background"]),
    :root[data-tema="pastell"] .idag-knapp:not([style*="background"]),
    :root[data-tema="pastell"] .st-vantar .drift-status:not([style*="background"]),
    :root[data-tema="pastell"] .vantar-ruta:not([style*="background"]),
    :root[data-tema="pastell"] .ej-bekraftad:not([style*="background"]),
    :root[data-tema="pastell"] .st-pagar .drift-status:not([style*="background"]),
    :root[data-tema="pastell"] .ansvar:not([style*="background"]) { background: #f3f3f1 !important; }
    :root[data-tema="pastell"] .b-bla:not([style*="background"]),
    :root[data-tema="pastell"] .b-orange:not([style*="background"]),
    :root[data-tema="pastell"] .avatar:not([style*="background"]),
    :root[data-tema="pastell"] .liten-knapp:not([style*="background"]),
    :root[data-tema="pastell"] .instr-ny:not([style*="background"]),
    :root[data-tema="pastell"] .bil-arbete:not([style*="background"]),
    :root[data-tema="pastell"] .bil-lista button:not([style*="background"]),
    :root[data-tema="pastell"] .kor-status.bekraftad:not([style*="background"]),
    :root[data-tema="pastell"] .meddela-knapp:not([style*="background"]),
    :root[data-tema="pastell"] .ej-andra button:not([style*="background"]),
    :root[data-tema="pastell"] .ej-huvud:not([style*="background"]),
    :root[data-tema="pastell"] .las-banner:not([style*="background"]),
    :root[data-tema="pastell"] .hus-chip.rot:not([style*="background"]),
    :root[data-tema="pastell"] .avd-chip:not([style*="background"]),
    :root[data-tema="pastell"] .px-import:not([style*="background"]),
    :root[data-tema="pastell"] .idag-knapp:not([style*="background"]),
    :root[data-tema="pastell"] .st-pagar .drift-status:not([style*="background"]),
    :root[data-tema="pastell"] .ansvar:not([style*="background"]) { color: #4a5056 !important; }
    /* Knappar: ljusgrå med mörk text (lättläst) */
    :root[data-tema="pastell"] .gron,
    :root[data-tema="pastell"] .b-gron,
    :root[data-tema="pastell"] .bil-ja,
    :root[data-tema="pastell"] .kp-status.ny,
    :root[data-tema="pastell"] .fv-vd button.vald,
    :root[data-tema="pastell"] .b-slutfor,
    :root[data-tema="pastell"] .am-att,
    :root[data-tema="pastell"] .nk-lage button.vald,
    :root[data-tema="pastell"] .obj-chips button.vald,
    :root[data-tema="pastell"] .av-skift.ok,
    :root[data-tema="pastell"] .svara-knapp,
    :root[data-tema="pastell"] .notis-oppna,
    :root[data-tema="pastell"] .knapp-liten,
    :root[data-tema="pastell"] .kal-pil.pil-aktiv,
    :root[data-tema="pastell"] .ny-markering,
    :root[data-tema="pastell"] [style*="background:var(--primar)"],
    :root[data-tema="pastell"] [style*="background: var(--primar)"] { background: #e6e7e8 !important; color: #2f3439 !important; box-shadow: inset 0 0 0 1px #d4d6d8; }
    :root[data-tema="pastell"] .gron:hover, :root[data-tema="pastell"] .b-gron:hover, :root[data-tema="pastell"] .knapp-liten:hover { background: #dcdddf !important; }
    :root[data-tema="pastell"] .avd-ny { color: #6c7278; }
    :root[data-tema="pastell"] .avd-lada { border-color: #dcdedf; }
    :root[data-tema="pastell"] .avd-tavla { background: #f1f1ef; }
    /* Team- och tjänstfärger blir nästan grå (en svag ton finns kvar så man kan skilja dem åt) */
    :root[data-tema="pastell"] .plan-huvud, :root[data-tema="pastell"] .etikett, :root[data-tema="pastell"] .ej-bekraftad,
    :root[data-tema="pastell"] .plan-kort, :root[data-tema="pastell"] .kort[style*="border-left"], :root[data-tema="pastell"] [class*="uppdrag"][style*="border"] { filter: saturate(0.15); }
    :root[data-tema="pastell"] .plan-huvud { filter: saturate(0.12) brightness(1.12); }
    :root[data-tema="pastell"] .plan-huvud.ej-huvud { background: #f3f3f1 !important; color: #4a5056; filter: none; }
    :root[data-tema="pastell"] .plan-jobb { border-left-color: #dfe1e3 !important; }
    :root[data-tema="pastell"] .liten-knapp[style*="cfe3fa"], :root[data-tema="pastell"] .k-flik.vald { background: #f3f3f1 !important; }
    h1, h2, .flytt-titel b { font-family: var(--rubrik-typsnitt); }
    html { -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      font-family: var(--typsnitt);
      background: var(--bakgrund);
      color: var(--mork);
    }
    button, textarea, input { font-family: inherit; }
    button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
    button:active { transform: scale(0.97); }

    .app {
      max-width: 480px; margin: 0 auto; padding: 16px;
      padding-top: max(16px, env(safe-area-inset-top));
      padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
    h1 { font-size: 24px; font-weight: 800; margin: 4px 0 2px; }
    h2 { font-size: 22px; font-weight: 800; margin: 4px 0 14px; }
    .datum { color: var(--text-dampad); margin-bottom: 16px; }
    .dold { display: none !important; }

    /* ---------- STARTSIDAN ---------- */
    .stampla {
      width: 100%; min-height: 84px; padding: 20px 12px; border: none; border-radius: 16px;
      font-size: 22px; font-weight: 800; letter-spacing: 0.5px; color: white;
    }
    .gron { background: var(--primar); }
    .rod  { background: #c0392b; }
    .stampla-info { text-align: center; color: var(--text-dampad); margin: 8px 0 18px; min-height: 20px; }

    .viktig {
      background: #fff4d6; border: 2px solid #e0a800; border-radius: 14px;
      padding: 14px; margin-bottom: 18px;
    }
    .viktig strong { display: block; margin-bottom: 6px; }
    .svart-knapp {
      width: 100%; min-height: 48px; margin-top: 10px; padding: 12px 16px; border: none;
      border-radius: 10px; background: var(--mork); color: white; font-size: 16px; font-weight: 700;
    }

    .meny { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .meny button {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 8px; min-height: 120px; padding: 14px 8px; border: none; border-radius: 18px;
      font-size: 15px; font-weight: 800; letter-spacing: 0.4px; line-height: 1.2; color: var(--mork);
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    .meny .ikon { font-size: 34px; }
    .k-dagens       { background: #cfe3fa; }  /* Pastellblå */
    .k-alla         { background: #e3d5f5; }  /* Lavendel   */
    .k-vilka        { background: #cdeee6; }  /* Mint       */
    .k-meddelanden  { background: #fde2cc; }  /* Persika    */
    .k-arbetstid    { background: #fbf1c4; }  /* Citron     */
    .k-uppgifter    { background: #f8d7e3; }  /* Rosa       */
    /* Kundportalens startmeny: sex kort med ikon, rubrik och undertext */
    .kp-meny { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; background: #f4f4f3; border-radius: 22px; margin-top: 14px; }
    .kp-meny button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
      min-height: 150px; padding: 18px 10px; border: none; border-radius: 20px; color: #1f2b27; text-align: center; cursor: pointer; box-shadow: none; }
    .kp-meny .kp-ikon svg { width: 40px; height: 40px; fill: none; stroke: #2f3d38; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .kp-meny .kp-titel { font-size: 19px; font-weight: 700; margin-top: 8px; letter-spacing: 0; line-height: 1.2; }
    .kp-meny .kp-under { font-size: 13.5px; font-weight: 400; color: #5c6762; line-height: 1.3; }
    .kp-meny .flik-antal { position: absolute; top: 10px; right: 12px; }
    .kp-meny .kp-vant { font-size: 12px; font-weight: 600; color: #7a5a10; margin-top: 2px; }
    .kp-c1 { background: #cfe3fa; } .kp-c2 { background: #d6efd9; } .kp-c3 { background: #cdeee6; }   /* samma färger som tidigare knappar */
    .kp-c4 { background: #fde2cc; } .kp-c5 { background: #fbe7c6; } .kp-c6 { background: #f8d7e3; }
    .kp-c7 { background: #e5e0f6; } .kp-meny .kp-bred { grid-column: 1 / -1; }

    /* ---------- TILLBAKA-KNAPP ---------- */
    .tillbaka {
      border: none; background: none; font-size: 17px; font-weight: 700; color: #1565c0;
      padding: 8px 0; margin-bottom: 4px;
    }

    /* ---------- DAGENS UPPDRAG: LISTAN ---------- */
    .kort {
      display: block; width: 100%; text-align: left; border: none; border-radius: 16px;
      background: var(--kort); padding: 16px; margin-bottom: 12px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08); color: var(--mork); font-size: 16px;
      border-left: 10px solid #cfe3fa;
    }
    .kort .tid { font-size: 20px; font-weight: 800; }
    .etiketter { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
    .etikett {
      display: inline-block; padding: 4px 10px; border-radius: 20px;
      font-size: 13px; font-weight: 800; color: var(--mork);
    }
    .etiketter .status { margin-top: 0; }
    .kort .titel { font-weight: 700; margin: 2px 0; }
    .kort .adress { color: var(--text-dampad); }
    .status {
      display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 20px;
      font-size: 13px; font-weight: 800;
    }
    .s-ej    { background: #eceff1; color: #455a64; }
    .s-pagar { background: #fff4d6; color: #8a6100; }
    .s-klar  { background: var(--primar-ljus); color: var(--primar-mork); }
    .kort.klar { opacity: 0.6; border-left-color: #8fd1a6; }

    /* ---------- ETT UPPDRAG I DETALJ ---------- */
    .sektion {
      background: var(--kort); border-radius: 16px; padding: 16px; margin-bottom: 12px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    .sektion h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--text-dampad); letter-spacing: 0.4px; }
    .stor-knapp {
      display: block; width: 100%; min-height: 56px; border: none; border-radius: 14px;
      font-size: 17px; font-weight: 800; text-align: center; text-decoration: none;
      line-height: 56px; padding: 0 12px; box-sizing: border-box; margin-top: 10px;
    }
    .b-bla   { background: #cfe3fa; color: #0d3c78; }
    .b-gron  { background: var(--primar); color: white; }
    .b-gra   { background: #d5dbd8; color: #7b8781; }
    .b-orange{ background: #fde2cc; color: #7a3410; }

    .kod {
      font-size: 34px; font-weight: 800; letter-spacing: 8px; text-align: center;
      background: var(--bakgrund); border-radius: 12px; padding: 12px; margin-top: 8px;
    }
    .liten { font-size: 13px; color: var(--text-dampad); margin-top: 6px; }

    .check {
      display: flex; align-items: center; gap: 14px; padding: 12px 4px;
      border-bottom: 1px solid var(--linje); font-size: 17px;
    }
    .check:last-child { border-bottom: none; }
    .check input { width: 28px; height: 28px; accent-color: var(--primar); flex-shrink: 0; }
    .check.gjord span { text-decoration: line-through; color: #8a9690; }
    .rakna { font-weight: 800; color: var(--primar); }

    textarea {
      width: 100%; box-sizing: border-box; min-height: 90px; border: 2px solid var(--linje); background: var(--falt);
      border-radius: 12px; padding: 10px; font-size: 16px;
    }

    /* Litet meddelande som glider upp nertill */
    .toast {
      position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom));
      transform: translateX(-50%); background: var(--mork); color: white;
      padding: 12px 18px; border-radius: 12px; font-weight: 700; max-width: 90%;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 10;
    }

    /* ---------- ROLLVÄXLARE (bara i prototypen) ---------- */
    .rollvaxlare {
      display: flex; gap: 6px; align-items: center; justify-content: center;
      background: var(--mork); color: #cfd8d3; font-size: 12px; font-weight: 700;
      padding: 8px; padding-top: max(8px, env(safe-area-inset-top));
    }
    .rollvaxlare button {
      border: none; border-radius: 20px; padding: 6px 12px; font-size: 13px; font-weight: 800;
      background: var(--mork-2); color: #cfd8d3;
    }
    .rollvaxlare button.aktiv { background: var(--ljus-text); color: var(--mork); }

    /* ---------- ADMIN: FÄRGINSTÄLLNINGAR ---------- */
    .rad {
      display: flex; align-items: center; gap: 10px; padding: 10px 0;
      border-bottom: 1px solid var(--linje);
    }
    .rad:last-of-type { border-bottom: none; }
    .rad .ikon-ruta {
      font-size: 24px; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
      border: 2px dashed var(--linje); background: transparent; padding: 0;
    }
    .ta-bort {
      width: 40px; height: 40px; flex-shrink: 0; border: none; border-radius: 10px;
      background: transparent; font-size: 20px; opacity: 0.55;
    }
    .ta-bort.bekrafta {
      width: auto; padding: 0 10px; opacity: 1; background: #c0392b; color: white;
      font-size: 13px; font-weight: 800;
    }
    .emojier { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; padding: 4px 0 14px; }
    .emojier button {
      height: 44px; font-size: 24px; border: none; border-radius: 10px; background: var(--bakgrund);
    }
    .emoji-grupp {
      grid-column: 1 / -1; font-size: 12px; font-weight: 800; color: var(--text-dampad);
      letter-spacing: 0.5px; text-transform: uppercase; margin-top: 8px;
    }
    .emojier input {
      grid-column: 1 / -1; min-height: 44px; border: 2px solid var(--linje); border-radius: 10px;
      background: var(--falt); font-size: 16px; padding: 0 10px;
    }
    .rad input[type=text] {
      flex: 1; min-width: 0; border: 2px solid transparent; background: transparent;
      font-size: 17px; font-weight: 700; padding: 6px; border-radius: 8px; color: var(--mork);
    }
    .rad input[type=text]:focus { border-color: var(--linje); background: var(--falt); outline: none; }
    .fargprick {
      width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--falt);
      box-shadow: 0 0 0 2px var(--linje); flex-shrink: 0;
    }
    .palett {
      display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 14px 42px;
    }
    .palett button {
      width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.08);
    }
    .palett label {
      display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-dampad);
    }
    .palett input[type=color] { width: 36px; height: 36px; border: none; background: none; padding: 0; }
    .medlemmar { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 12px 54px; align-items: center; }
    .medlem {
      display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px;
      border-radius: 20px; font-size: 14px; font-weight: 800;
    }
    .medlem button {
      border: none; background: rgba(255,255,255,0.55); border-radius: 50%;
      width: 24px; height: 24px; font-size: 12px; font-weight: 800; padding: 0;
    }
    .lagg-medlem {
      border: 2px dashed var(--linje); background: transparent; border-radius: 20px;
      padding: 4px 12px; font-size: 14px; font-weight: 800; color: var(--text-dampad); min-height: 32px;
    }
    .valj-person { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 14px 54px; }
    .valj-person button {
      border: none; border-radius: 12px; background: var(--bakgrund); padding: 10px 14px;
      font-size: 15px; font-weight: 700; min-height: 44px;
    }
    .avatar {
      display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
      border-radius: 50%; object-fit: cover; background: #cfe3fa; color: #0d3c78;
      font-weight: 800; border: 2px solid var(--falt); box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    }
    .profil-topp { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
    .kp-klago-knapp { display: block; margin-top: 10px; }
    .liten-knapp {
      display: inline-block; margin: 8px 6px 0 0; padding: 6px 12px; border: none; border-radius: 20px;
      background: #cfe3fa; color: #0d3c78; font-size: 13px; font-weight: 800; text-decoration: none;
      cursor: pointer; font-family: inherit;
    }
    .statusval { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
    .statusval button {
      min-height: 52px; border: 2px solid var(--linje); border-radius: 14px; background: transparent;
      font-size: 15px; font-weight: 800; color: var(--text-dampad);
    }
    .statusval .vald-aktiv   { background: var(--primar-ljus); border-color: #8fd1a6; color: var(--primar-mork); }
    .statusval .vald-inaktiv { background: #fbf1c4; border-color: #e0c45c; color: #7a5c00; }
    .farozon {
      margin-top: 20px; padding: 14px; border: 2px dashed #e8a49c; border-radius: 14px;
    }
    .rollvaxlare select {
      max-width: 210px; min-height: 32px; border: none; border-radius: 20px; padding: 0 10px;
      background: var(--mork-2); color: var(--ljus-text); font-size: 13px; font-weight: 800; font-family: inherit;
    }
    .rollvaxlare { flex-wrap: wrap; }
    /* Mobil: menyerna blir en rad man sveper i sidled, och notisen hamnar längst ner så att den inte täcker menyn */
    @media (max-width: 700px) {
      .rollvaxlare { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
      .rollvaxlare::-webkit-scrollbar { display: none; }
      .rollvaxlare > * { flex: 0 0 auto; white-space: nowrap; }
      .rollvaxlare select { max-width: 170px; }
      .ledar-flikar { width: 100% !important; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scrollbar-width: none; }
      .ledar-flikar::-webkit-scrollbar { display: none; }
      .ledar-flikar button { flex: 0 0 auto !important; white-space: nowrap; }
      .notis-ruta { top: auto !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-height: 60vh; overflow-y: auto; }
    }
    .roll-kort {
      background: var(--bakgrund); border-radius: 14px; padding: 4px 12px; margin-bottom: 8px;
    }
    .roll-kort summary {
      display: flex; flex-direction: column; padding: 10px 0; cursor: pointer; list-style: none; font-size: 17px;
    }
    .ratt {
      display: flex; justify-content: space-between; align-items: center; gap: 10px;
      padding: 10px 0; border-top: 1px solid var(--linje); font-size: 15px; font-weight: 600;
    }
    .ratt.last { opacity: 0.6; }
    .undantag {
      display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px;
      background: #fbf1c4; color: #7a5c00; font-size: 11px; font-weight: 800;
    }
    /* Strömbrytare (av/på) */
    .vaxel {
      appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 52px; height: 30px;
      border-radius: 30px; background: #cfd6d2; position: relative; cursor: pointer; transition: background 0.2s;
    }
    .vaxel::after {
      content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
      background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: left 0.2s;
    }
    .vaxel:checked { background: var(--primar); }
    .vaxel:checked::after { left: 25px; }
    .vaxel:disabled { cursor: not-allowed; }
    .last-falt {
      min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px;
      background: var(--bakgrund); color: var(--text-dampad); font-weight: 700; font-size: 14px;
    }
    .kontakt-knappar { display: inline-flex; gap: 8px; align-items: center; flex-shrink: 0; }
    .kontakt-knappar .ring-knapp { margin: 0; }
    .ring-knapp {
      width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
      border-radius: 50%; background: var(--primar-ljus); font-size: 22px; text-decoration: none; flex-shrink: 0;
    }
    .roll-val { display: flex; flex-wrap: wrap; gap: 8px; }
    .ny-anst { margin-top: 12px; padding: 16px; border: 1px solid var(--linje); border-radius: 14px; background: var(--falt); }
    .ny-anst h4 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
    .ny-anst-namn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    @media (max-width: 520px) { .ny-anst-namn { grid-template-columns: 1fr; } }
    .inbj-rubrik { margin: 16px 0 6px; font-size: 13px; font-weight: 600; color: var(--text-dampad); }
    #lista-inbjudna .inbj-rad:first-child { border-top: 1px solid var(--linje); }
    .inbj-namn { font-weight: 800; font-size: 17px; }
    /* Anställda: samma tunna stil som resten av appen */
    :root:not([data-stil="gammal"]) #sek-personal .rad [style*="font-weight:800"], :root:not([data-stil="gammal"]) #sek-personal .inbj-namn { font-weight: 500 !important; }
    :root:not([data-stil="gammal"]) #sek-personal .etikett, :root:not([data-stil="gammal"]) #sek-personal .inbj-chip, :root:not([data-stil="gammal"]) #sek-personal .inbj-knappar button,
    :root:not([data-stil="gammal"]) #sek-personal .rad .liten b, :root:not([data-stil="gammal"]) #sek-personal .rad [style*="color:#1565c0"] { font-weight: 400 !important; }
    .inbj-chip { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #8a5a00; background: #fff1cc; border-radius: 20px; padding: 4px 12px; }
    .avatar.inbj-avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff1cc; color: #8a5a00; font-weight: 800; border: 2px dashed #e0b84d; box-sizing: border-box; flex-shrink: 0; }
    .inbj-skickat { font-size: 13px; font-weight: 600; color: #2e7d4f; background: #cdebd8; border-radius: 20px; padding: 5px 12px; white-space: nowrap; }
    .inbj-knappar { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
    .roll-chip { cursor: pointer; }
    .roll-chip input { position: absolute; opacity: 0; pointer-events: none; }
    .roll-chip span {
      display: inline-block; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--linje);
      background: var(--falt); font-size: 15px; font-weight: 800; color: var(--text-dampad); min-height: 24px;
    }
    .roll-chip input:checked + span { background: var(--primar-ljus); border-color: var(--primar); color: var(--primar-mork); }
    .roll-chip input:checked + span::before { content: "✓ "; }
    .dra-handtag {
      flex-shrink: 0; width: 28px; min-height: 44px; display: flex; align-items: center; justify-content: center;
      font-size: 22px; color: #8a9690; cursor: grab; touch-action: none; user-select: none;
      border-radius: 8px; margin: -4px 0 -4px -6px;
    }
    .dra-handtag:hover { background: var(--bakgrund); color: var(--mork); }
    .drag-klon {
      position: fixed; z-index: 50; pointer-events: none; opacity: 0.92; transform: rotate(2deg) scale(1.02);
      box-shadow: 0 10px 28px rgba(0,0,0,0.25); cursor: grabbing;
    }
    .plan-jobb.drar { opacity: 0.3; }
    @media (hover: hover) { .plan-jobb { cursor: grab; } .plan-jobb:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.12); } }
    body.drar-nu, body.drar-nu * { cursor: grabbing !important; user-select: none !important; }
    .slapp-linje { height: 6px; border-radius: 6px; background: var(--primar); margin: 4px 0 8px; box-shadow: 0 0 0 3px var(--primar-ljus); }
    .flytt-titel { font-size: 18px; margin-bottom: 10px; }
    .tid-redigera { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .tid-redigera label:first-child { grid-column: 1 / -1; }
    .tid-redigera.tva label:first-child { grid-column: auto; }
    .tid-redigera.tre { grid-template-columns: 1fr 1fr 1fr; margin-top: 8px; }
    .kod-fran { background: #f3f7f7; border-radius: 6px; padding: 10px 12px; margin: 8px 0; }
    .kod-fran input { max-width: 160px; }
    .tid-redigera.tre label:first-child { grid-column: auto; }
    .tid-redigera label span { display: block; font-size: 12px; font-weight: 800; color: var(--text-dampad); margin-bottom: 4px; }
    .tid-redigera input, .tid-redigera select {
      width: 100%; box-sizing: border-box; min-height: 48px; border: 2px solid var(--linje); border-radius: 12px;
      background: var(--falt); font-size: 16px; padding: 0 8px; font-family: inherit; color: var(--mork);
    }
    .las-tid { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; margin-top: 10px; }
    .las-tid input { width: 22px; height: 22px; accent-color: var(--primar); flex-shrink: 0; }
    .flytt-panel { max-height: 90vh; overflow-y: auto; }
    .person-mal {
      display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border-radius: 12px;
      border: 2px dashed var(--linje); background: var(--falt); transition: background 0.15s;
    }
    .plan-person.over { outline: 3px solid var(--primar); outline-offset: 1px; background: var(--primar-ljus); }
    /* Dra uppdrag till personal: uppdraget krymper, personens namn växer tills man släpper */
    .drag-klon { transition: transform .18s ease, opacity .18s ease; }
    .drag-klon.krymp { transform-origin: 0 0; transform: translate(var(--dx, 14px), var(--dy, 14px)) scale(.38); opacity: .8; }
    .plan-person, .person-mal, .plan-kolumn[data-person] .plan-huvud > span:first-child { transition: transform .18s ease; }
    .plan-person.over { transform: scale(1.3); position: relative; z-index: 5; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
    .person-mal.over { transform: scale(1.06); }
    .plan-kolumn.kol-over .plan-huvud > span:first-child { display: inline-flex; transform: scale(1.18); transform-origin: left center; }
    .plan-kolumn.kol-over { outline: 3px dashed var(--primar); outline-offset: -3px; }
    @media (prefers-reduced-motion: reduce) { .drag-klon, .plan-person, .person-mal { transition: none; } }
    .plan-jobb.person-over { outline: 3px dashed var(--primar); }
    .person-mal.over { background: var(--primar-ljus); border-color: var(--primar); border-style: solid; }
    .flytt-knappar .person-knapp {
      display: flex; align-items: center; gap: 8px; justify-content: flex-start; background: #fbe6d2; padding: 0 12px;
    }
    .plan-omraden { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
    .omrade-chip {
      display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 8px; border-radius: 12px;
      background: rgba(255,255,255,0.65); font-size: 12px; font-weight: 800; color: var(--mork);
    }
    .omrade-chip button {
      border: none; background: rgba(0,0,0,0.08); border-radius: 50%; width: 18px; height: 18px;
      font-size: 10px; padding: 0; line-height: 18px; font-family: inherit;
    }
    .omrade-chip.stor { font-size: 14px; padding: 6px 6px 6px 12px; background: var(--bakgrund); }
    .omrade-chip small { font-weight: 600; color: var(--text-dampad); }
    .omrade-lista { display: flex; flex-wrap: wrap; gap: 6px; }
    .omrade-falt {
      border: 2px dashed rgba(0,0,0,0.2); background: rgba(255,255,255,0.5); border-radius: 12px; font-size: 13px;
      font-weight: 700; padding: 3px 8px; font-family: inherit; color: var(--mork); width: 120px; min-height: 26px;
    }
    .omrade-falt:focus { outline: none; border-style: solid; border-color: var(--primar); background: var(--falt); }
    .omrade-val {
      border: 2px dashed rgba(0,0,0,0.18); background: transparent; border-radius: 12px; font-size: 12px;
      font-weight: 800; padding: 2px 6px; font-family: inherit; color: var(--mork); max-width: 110px;
    }
    .jobb-omrade { font-size: 13px; font-weight: 400; color: var(--text-dampad); margin-top: 2px; }
    .jobb-omrade.utanfor { color: #8a5a00; background: #fff4d6; border-radius: 8px; padding: 2px 6px; display: inline-block; }
    .summa-knapp { border: none; font-family: inherit; font-size: 14px; cursor: pointer; border-radius: 20px; padding: 6px 12px; }
    .bekr-ruta { margin: 0 0 14px; }
    .bekr-ruta.vantar { background: #fff4d6; border-radius: 14px; padding: 10px; }
    .bekr-status { font-size: 14px; font-weight: 800; color: #7a5c00; }
    .besked-val { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 4px; }
    .besked-val button {
      min-height: 48px; border: 2px solid var(--linje); background: var(--falt); border-radius: 12px; font-size: 15px;
      font-weight: 800; color: var(--mork); text-align: left; padding: 0 14px; font-family: inherit;
    }
    .besked-val button.vald { background: var(--primar-ljus); border-color: var(--primar); }
    .besked-val button.rod.vald { background: #f6d4d0; border-color: #c0392b; color: #8e2418; }
    button.bekr-saknas { border: none; cursor: pointer; font-family: inherit; }
    button.bekr-saknas:hover { background: #fbe39a; }
    .bekr-saknas {
      display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; padding: 2px 8px;
      border-radius: 10px; background: #fff4d6; color: #7a5c00;
    }
    .avbokat-kort {
      background: #e11d2e; color: #fff; border-radius: 12px; padding: 10px 12px; margin: 8px 0;
      box-shadow: 0 2px 8px rgba(225,29,46,0.35); border: 3px solid #b5121f;
    }
    .avbokat-kort .plan-titel, .avbokat-kort .plan-tid { color: #fff; }
    .avbokat-rubrik { font-size: 13px; font-weight: 900; letter-spacing: 1px; margin-bottom: 2px; }
    .ateraktivera {
      margin-top: 8px; width: 100%; min-height: 40px; border: none; border-radius: 10px; background: #fff;
      color: #b5121f; font-weight: 900; font-size: 14px; font-family: inherit; cursor: pointer;
    }
    .instr-ruta { background: var(--bakgrund); border-radius: 14px; padding: 10px 12px; margin: 0 0 14px; }
    .instr-ruta summary { cursor: pointer; font-weight: 800; font-size: 15px; }
    .instr-punkt {
      display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px;
      background: var(--falt); border-radius: 10px; margin-bottom: 4px; font-size: 15px;
    }
    .instr-punkt button { border: none; background: #f6d4d0; color: #8e2418; border-radius: 50%; width: 26px; height: 26px; font-weight: 800; }
    .instr-ny { margin-top: 8px; font-size: 13px; font-weight: 800; color: #0d3c78; background: #cfe3fa; border-radius: 10px; padding: 6px 10px; display: inline-block; }
    .kal-boka {
      width: 100%; margin-top: 6px; min-height: 34px; border: 2px dashed var(--linje); background: transparent;
      border-radius: 8px; font-size: 13px; font-weight: 800; color: var(--primar); font-family: inherit; cursor: pointer;
    }
    .kal-boka:hover { background: var(--primar-ljus); border-color: var(--primar); }
    .manad-plus {
      position: absolute; top: 4px; left: 26px; width: 22px; height: 22px; border-radius: 50%; border: none;
      background: var(--primar-ljus); color: var(--primar-mork); font-weight: 900; font-size: 14px; line-height: 22px; padding: 0;
      cursor: pointer; opacity: 0; transition: opacity 0.15s;
    }
    .manad-dag:hover .manad-plus { opacity: 1; }
    @media (hover: none) { .manad-plus { opacity: 1; } }
    .nb-inp {
      width: 100%; box-sizing: border-box; min-height: 48px; border: 2px solid var(--linje); border-radius: 12px;
      background: var(--falt); font-size: 16px; padding: 0 10px; font-family: inherit; color: var(--mork);
    }
    .nb-ny { background: var(--bakgrund); border-radius: 12px; padding: 10px 10px 2px; margin: -4px 0 12px; }
    .tj-lista { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 10px; }
    .tj-kort { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--kort, #fff); color: inherit; border: 1px solid var(--linje); border-left: 8px solid #d5dbd8; border-radius: 14px; padding: 12px; cursor: pointer; font: inherit; }
    .tj-kort.tj-av { opacity: .6; }
    .tj-kort .tj-ikon { font-size: 28px; }
    .tj-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    .tj-text > span { font-size: 13px; opacity: .8; }
    .tj-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; opacity: 1 !important; }
    .tj-chips i { font-style: normal; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
    .tj-chips i.pa { background: #e2f3e7; color: #23663b; }
    .tj-chips i.av { background: #eef0ef; color: #5d6563; }
    .tj-pil { font-size: 24px; opacity: .4; }
    .tj-ny { border: 2px dashed rgba(0,0,0,.15); border-radius: 14px; padding: 12px; }
    .tj-std { display: flex; flex-wrap: wrap; gap: 6px; }
    .tj-std button { border: 1px solid var(--linje); background: var(--kort, #fff); color: inherit; border-radius: 999px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; }
    .tj-stegrad { flex-wrap: wrap; }
    .tj-modeller { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .tj-modeller button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 2px solid rgba(0,0,0,.1); background: var(--kort, #fff); color: inherit; border-radius: 14px; padding: 10px; font: inherit; cursor: pointer; }
    .tj-modeller button span:last-child { font-size: 12px; opacity: .75; }
    .tj-modeller button.vald { border-color: var(--primar, #2f7a55); background: var(--primar-ljus, #e6f3ec); }
    .tj-modeller .tj-ikon { font-size: 22px; }
    .tj-moms { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; }
    .tj-moms button { border: 1px solid rgba(0,0,0,.15); background: var(--kort, #fff); color: inherit; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }
    .tj-moms button.aktiv { background: var(--primar, #2f7a55); color: #fff; border-color: transparent; }
    .pm-rad.tj-rad3 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
    .kp-tjbeskr { background: var(--primar-ljus, #e6f3ec); border-radius: 12px; padding: 10px 12px; margin: -2px 0 10px; font-size: 14px; line-height: 1.45; }
    .kp-tjbeskr b { display: block; margin-bottom: 4px; }
    .pm-rad.tj-rad4 { grid-template-columns: 1.4fr 1fr 1fr 1fr 28px; }
    .avtal-kund { border: 2px solid var(--primar, #2f7a55); }
    .avtal-intern { background: #f6f1e6; }
    .behorig-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 12px; }
    .behorig-lista .check span { display: flex; align-items: center; gap: 8px; }
    .avtal-rad { display: grid; grid-template-columns: minmax(140px, 1fr) 70px 110px 90px 40px 90px 32px; gap: 6px; align-items: center; margin-bottom: 6px; }
    .avtal-rad.ftg { grid-template-columns: minmax(140px, 1fr) 70px 110px 90px 90px 32px; }
    .avtal-rad .nb-inp { margin: 0; padding: 8px; min-width: 0; }
    .avtal-rad > b { text-align: right; white-space: nowrap; }
    .avtal-rubrik { font-size: 12px; font-weight: 700; color: var(--mjuk, #667); margin-bottom: 2px; }
    .avtal-rubrik span:nth-child(6) { text-align: right; }
    .avtal-rut { display: flex; justify-content: center; }
    .avtal-rut input { width: 20px; height: 20px; }
    .avtal-mob { display: none; }
    .avtal-bort { border: none; background: #fbebeb; color: #9a2a2a; border-radius: 8px; height: 32px; cursor: pointer; font-weight: 700; }
    .avtal-summa { display: flex; justify-content: space-between; border-top: 1px solid var(--linje); padding-top: 6px; margin-top: 4px; }
    .avtal-knappar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 4px; }
    .avtal-knappar select { flex: 1 1 240px; margin: 0; }
    @media (max-width: 640px) {
      .avtal-rad, .avtal-rad.ftg { grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--linje); border-radius: 10px; padding: 8px; }
      .avtal-rad > input:first-child { grid-column: 1 / -1; }
      .avtal-rubrik { display: none; }
      .avtal-mob { display: inline; margin-left: 6px; font-weight: 700; }
      .avtal-rut { justify-content: flex-start; align-items: center; }
    }
    .avtal-kund > div, .avtal-intern > div { margin: 2px 0; }
    .tj-tillagg { border: 1px solid var(--linje); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
    .tj-dagar { display: flex; gap: 4px; flex-wrap: wrap; }
    .tj-dagar button { border: 1px solid var(--linje); background: var(--kort, #fff); color: inherit; border-radius: 10px; padding: 8px 10px; font: inherit; font-weight: 700; cursor: pointer; min-width: 48px; }
    .tj-dagar button.aktiv { background: var(--primar, #2f7a55); color: #fff; border-color: transparent; }
    .tj-tabort { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--linje); }
    .tj-varning { background: #fdf1dc; color: #7a4a0a; border-radius: 10px; padding: 8px 10px; margin: 8px 0; font-size: 13px; font-weight: 700; }
    .tj-gemensamt summary { cursor: pointer; list-style: none; }
    .fargprick.vald { outline: 3px solid var(--mork, #222); outline-offset: 2px; }
    @media (max-width: 520px) { .tj-modeller { grid-template-columns: 1fr; } }
    .nb-checklista { font-size: 13px; font-weight: 700; color: var(--primar-mork); background: var(--primar-ljus); border-radius: 10px; padding: 8px 10px; margin: 4px 0 6px; }
    .tjanst-detalj-knapp {
      align-self: flex-start; border: none; background: var(--bakgrund); border-radius: 10px; padding: 4px 10px;
      font-size: 12px; font-weight: 800; color: #0d3c78; margin: 2px 0 0 6px; font-family: inherit; cursor: pointer;
    }
    .tjanst-detalj-knapp.oppen, .tjanst-detalj-knapp:hover { background: #cfe3fa; }
    .tjanst-detalj { background: var(--falt); border-radius: 12px; padding: 12px; margin: 0 0 12px; }
    .om-tjansten { background: #cfe3fa; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; font-size: 15px; color: var(--mork); }
    .pack-ruta {
      background: var(--kort); border-radius: 16px; padding: 14px; margin-bottom: 18px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08); border-left: 8px solid #f2b880;
    }
    .pack-ruta.klar { border-left-color: #8fd1a6; }
    .pack-topp { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
    .pack-rakna { font-weight: 800; color: var(--primar); background: var(--primar-ljus); border-radius: 12px; padding: 2px 10px; }
    .pack-klar { background: var(--primar-ljus); color: var(--primar-mork); border-radius: 10px; padding: 8px 10px; font-weight: 800; margin-bottom: 6px; }
    .saknas { margin-top: 8px; }
    .saknas summary { cursor: pointer; font-weight: 800; color: #7a3410; padding: 6px 0; }
    .bil-fraga { position: fixed; inset: 0; z-index: 60; background: rgba(29,43,37,0.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
    .bil-fraga-ruta { background: var(--kort); border-radius: 22px; padding: 26px 22px; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
    .bil-knappar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .bil-knappar button { min-height: 72px; border: none; border-radius: 16px; font-size: 26px; font-weight: 900; font-family: inherit; cursor: pointer; }
    .bil-knappar.tre { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .bil-knappar button small { display: block; font-size: 12px; font-weight: 800; margin-top: 2px; opacity: 0.85; }
    .bil-arbete { background: #cfe3fa; color: #0d3c78; }
    .bil-lista { display: grid; gap: 8px; }
    .bil-lista button { min-height: 56px; border: none; border-radius: 14px; background: #cfe3fa; color: #0d3c78; font-size: 20px; font-weight: 900; font-family: inherit; cursor: pointer; }
    .bil-ja { background: var(--primar); color: white; }
    .bil-nej { background: #d5dbd8; color: var(--mork); }
    .kor-ruta { background: var(--kort); border-radius: 16px; padding: 14px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); border-left: 8px solid #8fbbe8; }
    .kor-ruta.kort { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
    .kor-andra { margin-left: auto; border: none; background: var(--bakgrund); border-radius: 10px; padding: 4px 10px; font-weight: 800; font-family: inherit; cursor: pointer; }
    .kor-strecka { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--linje); font-size: 15px; }
    .kor-strecka small { color: var(--text-dampad); }
    .kor-summa { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0 6px; font-size: 15px; flex-wrap: wrap; }
    .kor-status { font-size: 12px; font-weight: 800; border-radius: 10px; padding: 2px 10px; background: #fff4d6; color: #7a5c00; }
    .kor-status.bekraftad { background: #cfe3fa; color: #0d3c78; }
    .kor-status.attesterad { background: var(--primar-ljus); color: var(--primar-mork); }
    .ut-ruta {
      background: #fff4d6; border: 2px solid #e0a800; border-radius: 16px; padding: 16px; margin-bottom: 14px;
      box-shadow: 0 2px 8px rgba(224,168,0,0.2);
    }
    .ut-rubrik { font-weight: 900; font-size: 16px; letter-spacing: 0.5px; margin-bottom: 6px; }
    .ut-text { font-size: 17px; line-height: 1.45; }
    .kp-nasta { background: var(--kort); border-radius: 14px; padding: 12px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); font-size: 15px; }
    .betyg-kort { border-top: 1px solid #edf1f1; padding: 12px 0 4px; }
    .betyg-kort:first-of-type { border-top: none; padding-top: 4px; }
    .stjarnor { display: flex; gap: 4px; margin: 8px 0 4px; }
    .stjarnor button { border: none; background: none; font-size: 30px; line-height: 1; color: #d5dbd8; cursor: pointer; padding: 2px; }
    .stjarnor button.pa { color: var(--primar); }
    .betyg-fragor { display: grid; grid-template-columns: minmax(150px, auto) 1fr; align-items: center; gap: 2px 14px; margin: 10px 0 6px; }
    .betyg-fragor .bf-namn { font-size: 15px; display: flex; align-items: center; gap: 8px; }
    .betyg-fragor .bf-namn .bf-ikon { font-size: 22px; width: 28px; text-align: center; }
    .betyg-fragor .bf-namn.huvud { font-weight: 700; }
    .betyg-fragor .stjarnor { margin: 0; }
    .betyg-fragor .stjarnor button { font-size: 28px; }
    @media (max-width: 600px) { .betyg-fragor { grid-template-columns: 1fr; } .betyg-fragor .stjarnor { margin: 0 0 8px 36px; } }
    .betyg-delar { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 14px; margin: 6px 0; font-size: 13px; }
    .betyg-delar .berom-stj { font-size: 14px; }
    .betyg-rad { display: flex; align-items: stretch; gap: 6px; margin: 0 0 8px; }
    .betyg-rad .betyg-lank { margin: 0; flex: 1; min-width: 0; }
    .betyg-nej { border: 1px solid var(--linje); background: var(--kort); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 13px; color: var(--text-dampad); cursor: pointer; white-space: nowrap; }
    .betyg-lank { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid var(--linje); background: var(--kort); border-radius: 10px; padding: 9px 12px; margin: 0 0 8px; font: inherit; color: var(--mork); text-align: left; cursor: pointer; }
    .betyg-lank .bl-stj { color: #e0a800; font-size: 18px; line-height: 1; }
    .betyg-lank .bl-text { flex: 1; min-width: 0; font-size: 14px; }
    .betyg-lank .bl-knapp { font-size: 13.5px; font-weight: 600; color: var(--primar-mork); white-space: nowrap; }
    .betyg-hoppa { border: none; background: none; color: var(--text-dampad); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
    .berom-rad { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid #edf1f1; }
    .berom-rad:first-of-type { border-top: none; }
    .berom-rad.ny { background: #f1f8f8; margin: 0 -10px; padding: 10px; border-radius: 6px; }
    .berom-stj { color: var(--primar); letter-spacing: 1px; white-space: nowrap; } .berom-stj span { color: #d5dbd8; }
    .berom-text { margin-top: 3px; font-style: italic; }
    .betyg-tab { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
    .betyg-tab h4 { margin: 0 0 4px; font-size: 13px; color: var(--text-dampad); }
    @media (max-width: 600px) { .betyg-tab { grid-template-columns: 1fr; } }
    .falt-fel { border-color: #b3261e !important; box-shadow: 0 0 0 3px rgba(179,38,30,.15) !important; background: #fdf6f5 !important; }
    .falt-fel-text { color: #b3261e; font-size: 12.5px; font-weight: 600; margin-top: 4px; }
    .obj-huvud { display: flex; gap: 14px; align-items: flex-start; }
    .obj-bild { position: relative; width: 112px; flex: 0 0 112px; }
    .obj-tumme { width: 112px; height: 112px; object-fit: cover; border-radius: 8px; display: block; cursor: zoom-in; }
    .obj-bild-knapp { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--primar-mork); cursor: pointer; margin-top: 6px; }
    .obj-bild-knapp.tom { width: 112px; height: 112px; margin: 0; border: 1.5px dashed #bcd3d5; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #f4f9f9; line-height: 1.4; }
    .obj-bild-vant { position: absolute; left: 4px; right: 4px; top: 82px; background: rgba(42,60,62,.82); color: #fff; font-size: 10.5px; border-radius: 4px; padding: 2px 4px; text-align: center; }
    @media (max-width: 420px) { .obj-bild, .obj-tumme, .obj-bild-knapp.tom { width: 84px; flex-basis: 84px; height: auto; } .obj-tumme, .obj-bild-knapp.tom { height: 84px; } .obj-bild-vant { top: 56px; } }
    .media-bild.huvud img { outline: 3px solid var(--primar); outline-offset: -3px; }
    .media-huvud { position: static !important; display: block; width: 100%; margin-top: 4px; border: none; background: none; font: inherit; font-size: 11.5px; color: var(--primar-mork); cursor: pointer; padding: 0; transform: none !important; height: auto !important; }
    .bok-bild { display: flex; gap: 10px; align-items: center; margin: 4px 0; }
    .bok-tumme { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; cursor: zoom-in; }
    .uppdrag-bild { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; cursor: zoom-in; display: block; }
    .panel-bild { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; cursor: zoom-in; display: block; }
    .kl-lage { display: flex; gap: 6px; margin-top: 4px; }
    .kl-lage button { flex: 1; border: 1px solid #dfe7e7; background: #fff; color: var(--text-dampad); border-radius: 6px; padding: 10px; font: inherit; font-weight: 600; cursor: pointer; }
    .kl-lage button.vald { background: var(--primar-ljus); color: var(--primar-mork); border-color: transparent; }
    .kl-lage button:disabled { opacity: .45; cursor: default; }
    .kl-uppdrag { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; max-height: 320px; overflow-y: auto; }
    .kl-uppdrag button { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; text-align: left; border: 1px solid #dfe7e7; background: #fff; border-radius: 6px; padding: 10px 12px; font: inherit; cursor: pointer; color: var(--mork); }
    .kl-uppdrag button small { grid-column: 1 / -1; color: var(--text-dampad); }
    .kl-uppdrag button.vald { border: 2px solid var(--primar); background: #f1f8f8; }
    .kp-kort { background: var(--kort); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.08);
               border-left: 8px solid #d5dbd8; font-size: 15px; line-height: 1.5; }
    .kp-kort-topp { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
    .kp-status { display: inline-block; font-size: 13.5px; font-weight: 800; padding: 4px 12px; border-radius: 12px; }
    .husdjur-krav { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 12px 14px; text-align: left; cursor: pointer;
      background: #fdecea; color: #8e1f17; border: 2px solid #c0392b; border-radius: 14px; font: inherit; font-size: 15px; }
    .husdjur-krav small { display: block; font-size: 13px; font-weight: 400; margin-top: 2px; color: #8e1f17; }
    .husdjur-krav .hk-ikon { font-size: 26px; } .husdjur-krav .hk-pil { margin-left: auto; font-size: 26px; font-weight: 800; }
    .husdjur-krav:hover { background: #fbdedb; }
    .kp-status.gron { background: var(--primar-ljus); color: var(--primar-mork); }
    .std-tj { border-top: 1px solid #edf1f1; padding: 4px 0 8px; } .std-tj:first-of-type { border-top: none; }
    .std-rader { display: grid; gap: 6px; margin: 0 0 4px 38px; }
    .std-rad { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .std-rad > span:first-child { width: 150px; font-size: 14px; }
    .std-rad .pm-tid input { width: 120px; }
    .lon-mil summary { cursor: pointer; list-style: none; } .lon-mil summary::-webkit-details-marker { display: none; }
    .lon-mil[open] summary .art { visibility: hidden; }
    .lon-mil-dag { padding-left: 18px; font-size: 13px; opacity: .9; }
    #kpKvm[readonly] { background: #eef3f3; color: var(--mork); }
    .kp-prisrader { margin-top: 6px; } .kp-prisrader > div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 14px; }
    .kp-prisrader .summa { border-top: 1px solid #dfe7e7; margin-top: 4px; padding-top: 6px; } .kp-prisrader .summa.att { border-top: none; margin-top: 0; font-size: 16px; }
    .sm-val { border: 1.5px solid #d5e3e4; border-radius: 12px; padding: 10px 12px; margin-top: 8px; background: #fff; }
    .sm-val > summary { cursor: pointer; font-size: 16px; }
    .kp-status.ny { background: var(--primar); color: #fff; margin-right: 4px; }
    .kp-kort.ny-bok { box-shadow: 0 0 0 2px var(--primar); }
    .kp-status.gul { background: #e7f1fb; color: #1f4f7a; }   /* Väntar: ljusblå, inte gul */
    .kp-status.rod { background: #e11d2e; color: #fff; }
    .kp-steg { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; font-weight: 700; color: #8a9690; }
    .kp-steg .klar { color: var(--primar-mork); }
    .falt { display: block; margin-bottom: 12px; }
    .falt span { display: block; font-size: 13px; font-weight: 800; color: var(--text-dampad); margin-bottom: 4px; }
    .falt input, .falt select, .falt textarea {
      width: 100%; box-sizing: border-box; min-height: 48px; border: 2px solid var(--linje);
      border-radius: 12px; background: var(--falt); font-size: 16px; padding: 0 12px; color: var(--mork);
      font-family: inherit;
    }
    .falt textarea { padding: 10px 12px; }
    .falt input:focus, .falt select:focus, .falt textarea:focus { outline: none; border-color: #8fbbe8; }
    .prototyp-varning {
      background: #fff4d6; border: 2px solid #e0a800; border-radius: 12px; padding: 10px 12px;
      font-size: 14px; margin-bottom: 4px;
    }
    .lagg-till {
      width: 100%; min-height: 48px; margin-top: 8px; border: 2px dashed var(--linje);
      background: transparent; border-radius: 12px; font-size: 16px; font-weight: 800; color: var(--text-dampad);
    }
    .forhandsvisning { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

    /* ---------- ALLA MINA UPPDRAG ---------- */
    .vecka-nav { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
    .vecka-nav button { border: none; background: var(--kort); border-radius: 14px; min-width: 52px; min-height: 52px; font-size: 24px; font-weight: 900; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
    .vecka-nav .mitt { flex: 1; text-align: center; }
    .vecka-nav .mitt b { display: block; font-size: 20px; }
    .vecka-summa { background: #dfeee4; border-radius: 14px; padding: 10px 14px; font-weight: 800; margin-bottom: 12px; text-align: center; }
    .dag-rubrik { display: flex; justify-content: space-between; align-items: baseline; font-weight: 900; font-size: 16px; margin: 16px 2px 6px; }
    .dag-rubrik.idag { color: var(--primar); }
    button.dag-rubrik { width: 100%; border: none; background: none; padding: 0; color: inherit; font-family: inherit; text-align: left; }
    .lage-val { display: flex; background: #d3e0d8; border-radius: 16px; padding: 4px; gap: 4px; margin-bottom: 12px; }
    .lage-val button { flex: 1; border: none; background: none; border-radius: 12px; min-height: 46px; font-size: 15px; font-weight: 400; color: var(--mork); font-family: inherit; }
    .lage-val button.vald { background: var(--mork); color: var(--ljus-text); }
    .man-grid { display: grid; grid-template-columns: 24px repeat(7, 1fr); gap: 4px; margin-bottom: 10px; }
    .man-h { text-align: center; font-size: 12px; font-weight: 800; color: var(--text-dampad); padding: 2px 0; }
    .man-v { font-size: 11px; font-weight: 800; color: #8a9790; display: flex; align-items: center; justify-content: center; }
    .man-cell { min-height: 62px; border: none; border-radius: 12px; background: var(--kort); padding: 4px 2px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-family: inherit; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .man-cell.annan { background: transparent; box-shadow: none; opacity: 0.35; }
    .man-cell.idag { outline: 3px solid var(--primar); }
    .man-cell.har .man-dag { color: var(--mork); }
    .man-dag { font-weight: 900; font-size: 15px; color: #8a9790; }
    .man-prickar { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
    .man-p { width: 18px; height: 18px; border-radius: 6px; font-size: 11px; display: flex; align-items: center; justify-content: center; }
    .man-mer { font-size: 10px; font-weight: 900; color: var(--mork); }
    .dag-ledig { background: rgba(255,255,255,0.35); border: 2px dashed #c9d3ce; border-radius: 14px; padding: 10px 14px; color: var(--text-dampad); font-weight: 700; }
    .alla-detalj { background: var(--ljus-text); border-radius: 0 0 16px 16px; margin: -10px 0 12px; padding: 14px; font-size: 15px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

    /* ---------- TILLGÄNGLIGHET OCH FRÅNVARO ---------- */
    .fv-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 14px; padding: 6px 12px; font-weight: 900; font-size: 15px; color: var(--mork); }
    .fv-chip.liten { padding: 2px 8px; font-size: 12px; border-radius: 10px; }
    .fv-chip.vantar { outline: 2px dashed #b08a00; }
    .fv-chip.avslagen { text-decoration: line-through; opacity: 0.7; }
    .fv-ruta { background: var(--kort); border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
    .fv-val { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
    .fv-val button { border: 3px solid transparent; border-radius: 16px; min-height: 64px; font-size: 15px; font-weight: 900; color: var(--mork); font-family: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
    .fv-val button span { font-size: 24px; }
    .fv-upprepa { margin: 4px 0 10px; }
    .fv-andra { margin: 8px 0; padding: 12px; border: 1px solid var(--linje); border-radius: 14px; background: var(--falt); }
    .fv-andra-del { padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid var(--linje); }
    .fv-andra-titel { font-weight: 600; font-size: 15px; margin: 0 0 8px; }
    .attest-ok { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 4px 12px 4px 4px; border-radius: 20px; background: #e3f3e8; color: #2e7d4f; font-size: 14px; font-weight: 600; }
    .attest-bock { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #2e9e5b; color: #fff; font-size: 13px; line-height: 1; }
    /* Alla mina uppdrag – År */
    .ar-vy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0 12px; }
    @media (min-width: 700px) { .ar-vy { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    .ar-man { background: var(--kort); border-radius: 14px; padding: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
    .ar-man.nu { outline: 2px solid var(--primar); }
    .ar-rubrik { min-height: 0; margin: 0; box-shadow: none; display: flex; justify-content: space-between; align-items: baseline; width: 100%; border: none; background: none; font: inherit; color: var(--mork); padding: 0 2px 6px; cursor: pointer; }
    .ar-rubrik b { font-weight: 600; font-size: 15px; } .ar-rubrik span { font-size: 11px; color: var(--text-dampad); }
    .amar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
    .ar-h { font-size: 10px; text-align: center; color: var(--text-dampad); }
    .ar-cell { border: none; background: transparent; font: inherit; font-size: 11px; height: 24px; min-height: 0; width: auto; margin: 0; line-height: 24px; border-radius: 6px; padding: 0; color: var(--mork); cursor: pointer; position: relative; box-shadow: none; }
    .ar-cell.tom { cursor: default; }
    .ar-cell.har::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--primar-mork); }
    .ar-cell.idag { outline: 2px solid var(--primar); font-weight: 600; }
    .ar-cell.fv-vantar { opacity: 0.6; }
    .fv-ny-knapp { margin: 0 0 12px; }
    .man-cell.fv-vald, .ar-cell.fv-vald { outline: 3px solid var(--primar); outline-offset: -3px; }
    .fv-ny { margin: 0 0 14px; background: var(--kort); border-radius: 16px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
    .fv-ny .fv-ruta { margin: 0; padding: 0; background: transparent; box-shadow: none; border: none; }
    .fv-vd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
    .fv-vd button { border: 2px solid var(--linje); background: var(--kort); border-radius: 12px; min-height: 44px; font: inherit; font-size: 14px; color: var(--mork); cursor: pointer; padding: 0; }
    .fv-vd button.vald { background: var(--primar); border-color: var(--primar); color: #fff; font-weight: 600; }
    .fv-val button.vald { border-color: var(--mork); box-shadow: 0 0 0 2px var(--ljus-text) inset; }
    .fv-knapp { width: 100%; border: 2px dashed #9bb5a6; background: rgba(255,255,255,0.45); border-radius: 16px; min-height: 56px; font-size: 16px; font-weight: 900; color: var(--mork); font-family: inherit; margin-bottom: 12px; }
    .man-fv { font-size: 13px; line-height: 1; }
    .man-cell.fv-vantar .man-fv { opacity: 0.55; }

    /* ---------- STARTA OCH SLUTFÖR OBJEKT ---------- */
    .pagar-ruta { background: #fff4d6; border: 3px solid #e6b800; border-radius: 18px; padding: 14px; margin-bottom: 14px; text-align: center; }
    .pagar-ruta .klocka-tid { font-size: 30px; font-weight: 900; color: #8a6100; }
    .klar-ruta { background: var(--primar-ljus); border: 3px solid var(--primar); border-radius: 18px; padding: 14px; margin-bottom: 14px; text-align: center; }
    .klar-ruta b { font-size: 20px; color: var(--primar-mork); }
    .slutfor-ruta { background: var(--kort); border: 3px solid var(--primar); border-radius: 18px; padding: 14px; margin-bottom: 14px; }
    .saknas-lista { background: #f6d4d0; border-radius: 12px; padding: 10px 12px; margin: 8px 0; color: #8e2418; font-weight: 700; }
    .b-slutfor { background: var(--primar); color: white; font-size: 20px !important; min-height: 68px; }

    /* ---------- RAPPORT MED BILD OCH RÖST ---------- */
    .rapport-typ { display: flex; gap: 8px; margin-bottom: 10px; }
    .rapport-typ button { flex: 1; border: 3px solid transparent; border-radius: 14px; min-height: 50px; font-size: 15px; font-weight: 900; font-family: inherit; color: var(--mork); }
    .rapport-typ button.vald { border-color: var(--mork); }
    .rapport-knappar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
    .rapport-knappar > * { border: none; border-radius: 16px; min-height: 76px; font-size: 16px; font-weight: 900; font-family: inherit; color: var(--mork);
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
    .rapport-knappar span { font-size: 28px; }
    .r-bild { background: #d7ecf7; }
    .r-rost { background: #f8d7e3; }
    .r-rost.spelar { background: #c0392b; color: white; animation: markePuls 1.2s ease-in-out infinite; }
    .kp-status.gra { background: #e6e9e7; color: #4b5852; }
    .mejl-forhand { margin-top: 10px; background: #eef3f0; border-radius: 14px; padding: 10px; }
    .mejl { background: var(--falt); border: 2px dashed #b9c7bf; border-radius: 12px; padding: 12px; font-size: 15px; }
    .inbj-val { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 110px; }
    .inbj-val span { font-size: 34px; } .inbj-val small { font-weight: 600; font-size: 13px; opacity: .85; text-transform: none; }
    .boende-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .boende-ruta { background: var(--bakgrund); border-radius: 14px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .boende-ruta span { font-size: 24px; } .boende-ruta b { font-size: 18px; } .boende-ruta small { font-size: 12px; color: var(--text-dampad); font-weight: 700; }
    .boende-rad { display: flex; gap: 10px; align-items: flex-start; background: var(--bakgrund); border-radius: 14px; padding: 10px 12px; margin-top: 8px; }
    .stor-text { min-height: 170px !important; font-size: 17px !important; line-height: 1.45; padding: 12px 14px !important; }
    .instr-stor { background: #fff4d6; border: 2px solid #f2c46b; border-radius: 16px; padding: 12px; margin: 10px 0; }
    .instr-stor-rubrik { font-weight: 900; font-size: 16px; color: #6b4e00; margin-bottom: 8px; }
    .instr-stor textarea { width: 100%; box-sizing: border-box; border: 2px solid #e5c77a; border-radius: 12px; background: var(--falt); font-family: inherit; }
    .flytt-botten { border-top: 2px solid var(--linje); margin-top: 14px; padding-top: 12px; }
    .storlek-rad { margin: -2px 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--primar-ljus, #e6f1ef); font-size: 15px; font-weight: 400; color: var(--mork); }
    .storlek-rad b { font-weight: 600; }
    .art-linne { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: var(--bakgrund, #f3f6f5); }
    .art-linne-rubrik { font-weight: 500; margin-bottom: 4px; }
    .fel-ruta { background: #fde2e2; border: 2px solid #c0392b; color: #7a1d14; border-radius: 14px; padding: 12px 14px; font-weight: 800; margin: 10px 0 4px; font-size: 16px; }
    .meddela-knapp { display: block; width: 100%; margin-top: 6px; border: none; border-radius: 12px; background: #cfe3fa; color: #0d3c78;
      font: inherit; font-size: 15px; font-weight: 800; line-height: 1.25; padding: 10px 12px; cursor: pointer; text-align: center; }
    .avboka-knapp { margin-top: 18px; background: #c0392b; color: #fff; border: none; }
    .avboka-ja { background: #c0392b; color: #fff; }
    .avboka-fraga { text-align: center; padding: 8px 4px 14px; }
    .avboka-fraga h3 { margin: 4px 0 8px; }
    .meddela-knapp span { display: block; font-size: 12px; font-weight: 700; opacity: .8; }
    .kn-ruta { background: #fff4d6; border-radius: 14px; padding: 10px 12px; margin: 8px 0; }
    .nyckel-ruta { background: #fff4d6; border: 2px solid #f2c46b; }
    .nyckel-kontor { background: #fff4d6; border-radius: 12px; padding: 8px 10px; margin-bottom: 6px; font-weight: 800; }
    .bk-andra { background: var(--bakgrund); border-radius: 14px; padding: 10px 12px; margin: 6px 0 10px; }
    .od-kort { background: var(--bakgrund); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
    .od-kort summary { cursor: pointer; }
    .od { margin-top: 8px; }
    .od-rad { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--linje); font-size: 15px; }
    .od-rad b { text-align: right; }
    .od-text { background: var(--falt); border-radius: 12px; padding: 8px 10px; margin-top: 8px; font-size: 15px; }
    .ej-andra { width: 100%; font-size: 14px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
    .plan-summa .ej-andra .ej-antal { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: #c0392b; color: white; font-size: 12px; text-align: center; box-shadow: none; }
    .ej-andra button { border: none; border-radius: 20px; background: #fde2cc; color: #7a3410; font: inherit; font-size: 13px; font-weight: 800; padding: 5px 10px; cursor: pointer; }
    .bk-medd { background: #e8f1fb; border-radius: 14px; padding: 10px 12px; margin: 6px 0 10px; }
    .bk-medd textarea { width: 100%; box-sizing: border-box; border: 2px solid var(--linje); border-radius: 12px; background: var(--falt); font: inherit; font-size: 15px; padding: 10px; }
    .ej-huvud { background: #fde2cc !important; color: #7a3410; }
    .ej-rakna { display: inline-block; min-width: 26px; padding: 1px 8px; margin-left: 6px; border-radius: 14px; background: #c0392b; color: white; font-size: 13px; font-weight: 600; text-align: center; }
    .ej-grupp { font-weight: 400; font-size: 13px; border-radius: 10px; padding: 6px 10px; margin: 2px 0 8px; }
    .ej-grupp.gron { background: var(--primar-ljus); color: var(--primar-mork); } .ej-grupp.gul { background: #fff4d6; color: #7a5c00; }
    .ej-tom { text-align: center; padding: 16px 10px; font-weight: 800; color: var(--primar-mork); background: var(--primar-ljus); border-radius: 12px; }
    .lediga-ruta { background: var(--falt); border: 2px dashed #cfd8d3; border-radius: 14px; padding: 10px 12px; margin-top: 14px; }
    .lediga-rubrik { font-weight: 400; font-size: 14px; margin-bottom: 2px; }
    .lediga-rubrik span { display: inline-block; min-width: 22px; padding: 0 7px; margin-left: 4px; border-radius: 12px; background: #e6efe9; font-size: 13px; text-align: center; }
    .tp-ruta { background: var(--falt); border: 2px solid var(--linje); border-radius: 16px; padding: 12px; margin: 10px 0; }
    .tp-rubrik { font-weight: 900; font-size: 15px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .tp-team { border-radius: 20px; padding: 3px 10px; font-size: 13px; }
    .tp-rad { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--linje); }
    .tp-rad b { flex: 1; }
    .tp-bort { border: none; border-radius: 10px; background: #f7d4d4; color: #8a1f1f; font: inherit; font-weight: 800; font-size: 13px; padding: 8px 10px; cursor: pointer; }
    .tp-lagg-knapp { width: 100%; margin-top: 8px; border: 2px dashed #9bc4a8; border-radius: 12px; background: #e9f5ec; color: var(--primar-mork); font: inherit; font-weight: 900; font-size: 15px; padding: 12px; cursor: pointer; }
    .tp-lagg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
    .tp-lagg button { display: flex; align-items: center; gap: 8px; border: none; border-radius: 12px; background: #f8e7d7; font: inherit; font-weight: 800; padding: 8px; cursor: pointer; }
    .ds-ruta { font-size: 12px; line-height: 1.3; margin: 4px 0 6px; }
    .ds-till-rad { background: var(--primar-ljus); color: var(--primar-mork); border-radius: 8px; padding: 4px 6px; margin-bottom: 3px; }
    .ds-borta-rad { background: #f6e1df; color: #7a1d14; border-radius: 8px; padding: 4px 6px; }
    .ds-kort { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 2px; }
    .ds-kort span { font-size: 11px; font-weight: 800; border-radius: 8px; padding: 1px 5px; }
    .ds-till { background: var(--primar-ljus); color: var(--primar-mork); } .ds-borta { background: #f6e1df; color: #7a1d14; }
    .ds-grupp { font-size: 12.5px; font-weight: 400; color: var(--primar-mork); margin: 6px 0 4px; }
    .ds-grupp.gra { color: var(--text-dampad); } .ds-grupp.ds-rod { color: #8a1f1f; margin-top: 12px; }
    .plan-personer.vill .plan-person { outline: 3px solid var(--primar); background: var(--primar-ljus); }
    .ds-borta-lista { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; color: #7a1d14; }
    .kp-pris { background: #e9f5ec; border-radius: 14px; padding: 10px 12px; margin-top: 10px; font-size: 15px; }
    .pm-tabell { margin: 6px 0; } .pm-rad { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 28px; gap: 4px; align-items: center; margin-bottom: 4px; }
    .pm-huvud { font-size: 12px; font-weight: 800; color: var(--text-dampad); }
    .pm-rad input, .pm-rad2 input, .pm-grid input { width: 100%; box-sizing: border-box; min-height: 38px; border: 2px solid var(--linje); border-radius: 10px; background: var(--falt); font: inherit; font-size: 14px; padding: 0 6px; }
    .pm-kvm { display: flex; gap: 2px; align-items: center; } .pm-kvm input { padding: 0 3px !important; font-size: 13px !important; text-align: center; }
    .pm-rad input { padding: 0 4px; }
    .pm-rad2 { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; } .pm-rad2 input[type=text] { flex: 1; } .pm-rad2 input[type=number] { width: 90px; }
    .pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; } .pm-grid label span { display: block; font-size: 12px; font-weight: 800; color: var(--text-dampad); margin-bottom: 2px; }
    .pm-tid { display: flex !important; gap: 4px; align-items: center; font-size: 14px !important; color: inherit !important; }
    .kp-pristabell .pt-rad { display: grid; grid-template-columns: 1.2fr 1fr 1fr; padding: 6px 0; border-bottom: 1px solid var(--linje); }
    .kp-pristabell .pt-huvud { font-size: 12px; font-weight: 800; color: var(--text-dampad); }
    .fk-rad { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--linje); }
    .fk-rad input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--primar); margin-top: 2px; }
    .fk-rad.fel { background: #fff7f6; }
    .fk-summa { font-weight: 900; margin: 10px 0 0; }
    .verk-meny { position: absolute; z-index: 60; box-sizing: border-box; width: 340px; max-width: calc(100vw - 16px); background: var(--falt); border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px 8px 8px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .adress-lista { margin: -6px 0 10px; border: 1px solid var(--linje, #d8e0dc); border-radius: 12px; background: var(--falt, #fff); box-shadow: 0 6px 18px rgba(0,0,0,.10); overflow: hidden; }
    .adress-lista button { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; border: none; background: none; padding: 9px 12px; font: inherit; color: var(--mork); cursor: pointer; border-top: 1px solid var(--linje, #eef1f0); }
    .adress-lista button:first-child { border-top: none; }
    .adress-lista button:hover, .adress-lista button:focus { background: #eef3f0; }
    .adress-lista b { display: block; font-size: 15px; } .adress-lista small { display: block; color: var(--text-dampad); font-size: 12.5px; }
    .adress-lista .adress-egen { background: #f6f8f7; }
    .verk-grupp + .verk-grupp { border-top: 1px solid var(--linje, #e1e7e4); margin-top: 4px; padding-top: 4px; }
    .verk-grupp-rubrik { font-size: 11.5px; font-weight: 700; color: var(--text-dampad); letter-spacing: .06em; text-transform: uppercase; padding: 8px 8px 3px; }
    .verk-punkt { display: flex; gap: 10px; align-items: center; width: 100%; border: none; background: none; text-align: left; padding: 6px 8px; border-radius: 12px; cursor: pointer; font: inherit; color: var(--mork); }
    .verk-punkt:hover, .verk-punkt:focus { background: #eef3f0; }
    .verk-punkt.aktiv { background: var(--primar-ljus, #e3f0ec); box-shadow: inset 3px 0 0 var(--primar, #3f8f7e); }
    .verk-punkt.aktiv .verk-text b { color: var(--primar-mork, var(--mork)); }
    .verk-ikon { width: 34px; height: 34px; border-radius: 10px; background: #e3ecf7; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
    .verk-text { display: flex; flex-direction: column; min-width: 0; } .verk-text b { font-size: 15px; } .verk-text small { color: var(--text-dampad); font-size: 12.5px; line-height: 1.3; }
    .verk-antal { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #c0392b; color: white; font-size: 12px; text-align: center; margin-left: 4px; }
    .nk-rad { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--linje); }
    .nk-rad.ute { background: #fff7f6; }
    .nk-krok { min-width: 40px; height: 40px; border-radius: 12px; background: #fff4d6; color: #6b4e00; display: flex; align-items: center; justify-content: center; font-weight: 900; }
    .am-tabell { display: grid; min-width: 1500px; }
    .am-tabell > div { border-right: 1px solid #e6e0d2; border-bottom: 1px solid #e6e0d2; padding: 6px 4px; font-size: 12px; }
    .am-huvud { background: #eef2ef; font-weight: 800; text-align: center; color: var(--text-dampad); position: sticky; top: 0; }
    .am-huvud b { display: block; font-size: 14px; color: var(--mork); }
    .am-huvud.idag, .am-cell.idag { box-shadow: inset 0 0 0 2px var(--primar); }
    .am-namn { display: flex; align-items: center; gap: 6px; position: sticky; left: 0; background: var(--kort); z-index: 1; }
    .am-namn span { display: flex; flex-direction: column; gap: 2px; }
    .am-att { border: none; border-radius: 8px; background: var(--primar); color: white; font: inherit; font-size: 11px; font-weight: 800; padding: 2px 6px; cursor: pointer; }
    .am-cell { text-align: center; font-weight: 800; cursor: pointer; min-height: 34px; display: flex; align-items: center; justify-content: center; }
    .am-cell.helg, .am-huvud.helg, .am-fot.helg { background: #f9ecea; }
    .am-cell.ok { background: var(--primar-ljus); color: var(--primar-mork); } .am-cell.stamp { background: var(--falt); } .am-cell.varn { background: #f7d4d4; color: #8a1f1f; }
    .am-summa { text-align: right; } .am-summa small { display: block; color: var(--text-dampad); font-size: 11px; }
    .am-fot { background: #eef2ef; font-weight: 800; text-align: center; }
    .kp-lage { margin: 4px 0 10px; } .kp-lage button { padding-left: 4px; padding-right: 4px; }
    .kk-topp { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; flex-wrap: wrap; } .kk-topp b { font-size: 18px; flex: 1; text-align: center; }
    .kk-topp button { border: 2px solid var(--linje); background: var(--kort); border-radius: 12px; min-height: 44px; min-width: 44px; font: inherit; font-weight: 900; font-size: 16px; cursor: pointer; }
    .kk-topp .kk-idag { padding: 0 12px; }
    .kk-vecka { display: flex; flex-direction: column; gap: 6px; }
    .kk-vdag { background: var(--kort); border-radius: 14px; padding: 8px 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .kk-vdag.idag { box-shadow: inset 0 0 0 2px var(--primar); }
    .kk-vrubrik { border: none; background: none; font: inherit; font-weight: 800; color: var(--text-dampad); width: 60px; text-align: left; cursor: pointer; } .kk-vrubrik b { font-size: 18px; color: var(--mork); }
    .kk-chip { border: none; border-left: 5px solid; border-radius: 10px; background: var(--falt); font: inherit; font-weight: 800; font-size: 14px; padding: 6px 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; }
    .kk-chip small { font-weight: 700; color: var(--text-dampad); } .kk-chip.avb { text-decoration: line-through; opacity: .6; } .kk-chip.klar { opacity: .75; } .kk-chip.vant { background: #fff4d6; }
    .kk-manad { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
    .kk-vd { text-align: center; font-size: 12px; font-weight: 800; color: var(--text-dampad); }
    .kk-mdag { border: none; border-radius: 12px; background: var(--kort); min-height: 58px; padding: 4px; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
    .kk-mdag.annan { opacity: .35; } .kk-mdag.idag { box-shadow: inset 0 0 0 2px var(--primar); } .kk-mdag.har { background: #e9f5ec; }
    .foretag-logga { display: block; max-height: 56px; max-width: 70%; object-fit: contain; margin: 2px 0 10px; }
    .utseende-forhands { display: flex; align-items: center; justify-content: center; min-height: 72px; background: var(--falt); border: 1px dashed var(--linje); border-radius: 10px; padding: 10px; margin: 6px 0 8px; }
    .utseende-forhands img { max-height: 64px; max-width: 100%; object-fit: contain; }
    .farg-val { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
    .farg-val button { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; padding: 0; }
    .farg-val button.vald { border-color: var(--mork); }
    .farg-val input[type=color] { width: 48px; height: 40px; border: none; background: none; padding: 0; }
    .foretag-knapp { border: none; background: var(--falt); border-radius: 20px; font: inherit; font-weight: 800; font-size: 14px; padding: 6px 12px; margin: -4px 0 8px; cursor: pointer; }
    .instr-steg { margin: 8px 0 0; padding-left: 20px; } .instr-steg li { margin-bottom: 4px; }
    .login-val { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
    .login-val small { display: block; font-weight: 700; font-size: 13px; opacity: .8; }
    .ord-filter { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; align-items: end; }
    .ord-filter label span { display: block; font-size: 12px; font-weight: 800; color: var(--text-dampad); margin-bottom: 2px; }
    .ord-filter input, .ord-filter select { width: 100%; box-sizing: border-box; min-height: 44px; border: 2px solid var(--linje); border-radius: 12px; background: var(--falt); font: inherit; font-size: 15px; padding: 0 8px; }
    .ord-tabell { background: var(--kort); border-radius: 18px; overflow: hidden; }
    .ord-rad { display: grid; grid-template-columns: 70px 112px 1.1fr 1.2fr 1.2fr 120px 110px; gap: 8px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--linje); cursor: pointer; font-size: 15px; }
    .ord-rad:hover { background: var(--hover); } .ord-rad.huvud { cursor: default; background: var(--tabellhuvud); font-size: 12px; font-weight: 900; color: var(--text-dampad); letter-spacing: .04em; }
    .ord-rad.huvud:hover { background: var(--tabellhuvud); }
    .ord-titel { display: inline-block; border-radius: 20px; padding: 3px 10px; font-weight: 800; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .ord-status { font-size: 12px; font-weight: 800; border-radius: 20px; padding: 3px 9px; white-space: nowrap; }
    .ord-status::before { content: "● "; }
    .os-klar { background: var(--primar-ljus); color: var(--primar-mork); } .os-avb { background: #f8d7d3; color: #8a1f1f; } .os-forfr { background: #fde9c8; color: #8a5a12; }
    .os-ej { background: #e3e7f6; color: #3d4a8a; } .os-plan { background: #dfeefa; color: #23577f; } .os-pag { background: #fff1c9; color: #7a5c00; }
    .ord-kund-kort { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
    @media (max-width: 760px) {
      .ord-filter { grid-template-columns: 1fr 1fr; } .ord-filter label:first-child { grid-column: 1 / -1; }
      .ord-rad.huvud { display: none; }
      .ord-rad { grid-template-columns: 1fr auto; gap: 2px 8px; }
      .ord-rad > .o-id { grid-column: 1; font-size: 12px; color: var(--text-dampad); } .ord-rad > .o-status { grid-column: 2; grid-row: 1; justify-self: end; }
      .ord-rad > .o-datum { grid-column: 1 / -1; font-weight: 800; } .ord-rad > .o-titel, .ord-rad > .o-kund, .ord-rad > .o-obj, .ord-rad > .o-vem { grid-column: 1 / -1; }
    }
    .utch-kort { background: #fff4e3; border-left: 6px solid #f0a64a; border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; }
    .utch-kort.bokad { background: #e3f3e8; border-left-color: #3f9a62; }
    .utch-kort.forv { background: #eef0fb; border-left-color: #7d86c9; }
    .utch-kort .utch-topp { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
    .utch-kort .utch-kalla { font-size: 12px; font-weight: 800; border-radius: 20px; padding: 1px 8px; background: var(--falt); }
    .utch-kort .stor-knapp { margin: 8px 0 0; min-height: 50px; }
    .kk-chip.utch { border-left-color: #f0a64a; background: #fff4e3; } .kk-chip.utch.bokad { border-left-color: #3f9a62; background: #e3f3e8; }
    .kk-utch { font-size: 11px; border-radius: 8px; padding: 0 4px; background: #fde2bd; } .kk-utch.bokad { background: #cdebd8; }
    .kal-lank { display: flex; gap: 8px; align-items: center; background: var(--bakgrund); border-radius: 12px; padding: 8px 10px; margin-bottom: 6px; }
    .kal-lank b { flex: 1; }
    .uth-rad { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--linje); }
    .uth-rad:last-child { border-bottom: 0; } .uth-rad > div { flex: 1; min-width: 200px; }
    .kk-nr { font-weight: 900; font-size: 14px; } .kk-prick { border-radius: 8px; font-size: 12px; padding: 0 4px; min-width: 20px; } .kk-fler { font-size: 11px; font-weight: 800; color: var(--text-dampad); }
    .kk-ar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .kk-arm { border: none; border-radius: 14px; background: var(--kort); padding: 12px 6px; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
    .kk-arm.idag { box-shadow: inset 0 0 0 2px var(--primar); } .kk-arantal { font-size: 26px; font-weight: 900; color: var(--primar-mork); } .kk-arm small { color: var(--text-dampad); font-size: 12px; }
    .plan-huvud { position: relative; }
    .team-bort { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: none; border-radius: 50%; background: rgba(255,255,255,.55); color: #5d2b25; font-weight: 900; font-size: 14px; cursor: pointer; }
    .team-bort:hover { background: #f7d4d4; }
    .plan-kolumn.slapp-hit { outline: 3px dashed var(--primar); outline-offset: -3px; }
    .nk-lage { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
    .nk-lage button { flex: 1 1 200px; min-height: 40px; border: 1px solid var(--linje, #cfd8d3); border-radius: 10px; background: transparent; color: var(--mork); font: inherit; font-size: 14.5px; cursor: pointer; }
    .nk-lage button.vald { background: var(--primar); border-color: var(--primar); color: #fff; }
    .led-slutfor-knapp { width: 100%; margin-top: 10px; min-height: 48px; border: 2px dashed var(--linje, #cfd8d3); border-radius: 12px; background: transparent; color: var(--mork); font: inherit; font-size: 15px; cursor: pointer; }
    .led-slutfor { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--bakgrund); display: grid; gap: 8px; }
    .led-slutfor-rubrik { font-size: 15px; color: var(--mork); }
    .led-slutfor-rad { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
    .led-slutfor-rad .stor-knapp { margin: 0; }
    .led-slutfor.ar-klar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; background: #e3f3e8; color: #22663d; }
    .led-slutfor.ar-klar .liten-knapp { margin: 0; }
    /* Uppdragspanelen: bred och kompakt – allt på en skärm på datorn (Kay 13 nov) */
    @media (min-width: 900px) {
      .flytt-panel.bred { max-width: 1100px; top: 3vh; bottom: auto; max-height: 94vh; border-radius: 18px; padding: 18px 24px; }
      .flytt-panel.bred .up-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: start; }
    }
    .flytt-panel.bred .flytt-rubrik { font-size: 15px; margin-bottom: 6px; }
    .flytt-panel.bred .flytt-titel { font-size: 18px; margin: 2px 0 8px; }
    .flytt-panel.bred .flytt-titel b { font-weight: 400; }
    .flytt-panel.bred .panel-bild { max-height: 120px; }
    .flytt-panel.bred .falt { margin: 6px 0; }
    .flytt-panel.bred .falt span, .flytt-panel.bred .tid-redigera label span { font-size: 12.5px !important; font-weight: 400 !important; margin-bottom: 3px; }
    .flytt-panel.bred .nb-inp, .flytt-panel.bred .tid-redigera input, .flytt-panel.bred .tid-redigera select, .flytt-panel.bred select.nb-inp { min-height: 40px !important; height: 40px; font-size: 15px !important; border-width: 1px !important; border-radius: 9px !important; padding-top: 0; padding-bottom: 0; }
    .flytt-panel.bred .tid-redigera { gap: 8px; }
    .flytt-panel.bred .kn-ruta { padding: 8px 12px; margin: 6px 0; border-radius: 10px; font-size: 14px; }
    .flytt-panel.bred .kn-ruta [style*="font-weight:700"] { font-weight: 400 !important; font-size: 14px; }
    .flytt-panel.bred .kn-ruta .liten-knapp { min-height: 40px !important; }
    .flytt-panel.bred .check input, .flytt-panel.bred .las-tid input { width: 18px; height: 18px; }
    .flytt-panel.bred .las-tid { font-size: 13.5px; font-weight: 400 !important; margin-top: 6px; }
    .flytt-panel.bred .kod-fran { padding: 8px 12px; margin: 6px 0; border-radius: 10px; }
    .flytt-panel.bred .kod-fran input { max-width: 140px; }
    .flytt-panel.bred .liten { font-size: 12.5px; }
    .flytt-panel.bred .instr-stor { margin: 6px 0; padding: 10px 12px; border-radius: 10px; }
    .flytt-panel.bred .instr-stor-rubrik { font-size: 13px !important; font-weight: 400 !important; }
    .flytt-panel.bred .instr-stor textarea { min-height: 80px; font-size: 15px; }
    .flytt-panel.bred .instr-ruta { margin: 6px 0; padding: 8px 12px; border-radius: 10px; }
    .flytt-panel.bred .instr-ruta summary { font-size: 14px; font-weight: 400 !important; }
    .flytt-panel.bred .tp-ruta { margin: 6px 0; padding: 8px 12px; border-radius: 10px; }
    .flytt-panel.bred .tp-rubrik { font-size: 13px; font-weight: 400 !important; }
    .flytt-panel.bred .tp-rad { padding: 4px 0; }
    .flytt-panel.bred .tp-rad b { font-weight: 400; font-size: 15px; }
    .flytt-panel.bred .tp-bort { padding: 4px 10px; font-size: 13px; }
    .flytt-panel.bred .tp-lagg-knapp { min-height: 38px; font-size: 14px; }
    :root:not([data-stil="gammal"]) #flyttPanel.bred .las-tid, :root:not([data-stil="gammal"]) #flyttPanel.bred .instr-ruta summary, :root:not([data-stil="gammal"]) #flyttPanel.bred .tp-rubrik, :root:not([data-stil="gammal"]) #flyttPanel.bred .instr-stor-rubrik { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) #flyttPanel.bred .instr-ruta summary .liten { font-weight: 400 !important; }
    #flyttPanel.bred .kn-ruta .check { padding: 2px 0 6px; min-height: 0; font-size: 15px; gap: 10px; }
    #flyttPanel.bred .kn-ruta .check input { width: 20px; height: 20px; }
    #flyttPanel.bred .kn-ruta .falt span { margin-bottom: 2px; }
    #flyttPanel.bred .instr-stor textarea { height: 110px; min-height: 80px; }
    /* Knappraden längst ner (dator): en rad med små knappar i stället för breda block. Gå tillbaka = ta bort det här blocket. */
    @media (min-width: 900px) {
      #flyttPanel.bred { display: grid; grid-template-columns: auto auto 1fr auto auto auto; column-gap: 8px; align-items: center; }
      #flyttPanel.bred > .flytt-rubrik, #flyttPanel.bred > .flytt-knappar { grid-column: 1 / -1; }
      #flyttPanel.bred > .flytt-rubrik { border-bottom: 1px solid var(--linje, #dfe6e4); padding-bottom: 12px; margin-bottom: 12px; }
      #flyttPanel.bred > .flytt-knappar:empty { display: none; }
      #flyttPanel.bred .flytt-botten { display: contents; }
      #flyttPanel.bred .flytt-botten > .stor-knapp.b-gron { grid-row: 4; grid-column: 6; width: auto; min-width: 120px; padding: 0 22px; margin: 0 !important; }
      #flyttPanel.bred .flytt-botten > .bekr-ruta { grid-row: 4; grid-column: 5; margin: 0 !important; }
      #flyttPanel.bred .flytt-botten .meddela-knapp { width: auto; margin: 0; min-height: 40px; padding: 0 16px; white-space: nowrap; }
      #flyttPanel.bred .flytt-botten .meddela-knapp span { display: none; }
      #flyttPanel.bred .flytt-botten .bekr-status { font-size: 12px; margin-bottom: 4px; }
      #flyttPanel.bred > .stor-knapp.b-gra { grid-row: 4; grid-column: 4; width: auto; max-width: none; padding: 0 18px; margin: 0 !important; }
      #flyttPanel.bred > .avboka-knapp { grid-row: 4; grid-column: 1; width: auto; max-width: none; margin: 0 !important; padding: 0 14px; border: none !important; text-decoration: none; }
      #flyttPanel.bred > .avboka-knapp:hover { background: #fbecea !important; }
      #flyttPanel.bred .flytt-botten > .led-slutfor-knapp { grid-row: 4; grid-column: 2; width: auto; margin: 0 !important; padding: 0 14px; min-height: 40px; white-space: nowrap; }
      #flyttPanel.bred .flytt-botten > .led-slutfor.ar-klar { grid-row: 4; grid-column: 2 / 4; margin: 0 !important; padding: 6px 8px 6px 12px; justify-self: start; }
      #flyttPanel.bred .flytt-botten > .led-slutfor:not(.ar-klar) { grid-row: 3; grid-column: 1 / -1; margin: 0 0 12px !important; }
      #flyttPanel.bred .led-slutfor-rad { display: flex; justify-content: flex-end; gap: 8px; }
      #flyttPanel.bred .led-slutfor-rad .stor-knapp { width: auto; padding: 0 20px; }
      #flyttPanel.bred #ledSlutKomm { height: 40px; min-height: 40px; }
    }
    @media (min-width: 900px) {
      #flyttPanel.bred .tid-redigera { grid-template-columns: 1.4fr 1fr 1fr; }
      #flyttPanel.bred .tid-redigera label:first-child { grid-column: auto; }
      #flyttPanel.bred .tid-redigera.tva { grid-template-columns: 1fr 1fr; }
      #flyttPanel.bred .kod-fran .falt { display: flex; align-items: center; gap: 10px; }
      #flyttPanel.bred .kod-fran .falt span { margin: 0; }
      #flyttPanel.bred .kod-fran .liten { margin-top: 2px !important; }
    }
    /* Uppdragspanelen: mindre och lugnare knappar (Kay 13 nov) */
    :root:not([data-stil="gammal"]) #flyttPanel .stor-knapp { min-height: 44px !important; line-height: 44px !important; font-size: 14.5px !important; font-weight: 600 !important; border-radius: 10px !important; margin-top: 8px; letter-spacing: .2px; }
    :root:not([data-stil="gammal"]) #flyttPanel .stor-knapp.b-gra { background: transparent !important; border: 1px solid var(--linje, #cfd8d3) !important; color: var(--mork) !important; line-height: 42px !important; }
    :root:not([data-stil="gammal"]) #flyttPanel .avboka-knapp { background: transparent !important; border: 1px solid #e3b3ad !important; color: #a8322a !important; line-height: 42px !important; margin-top: 14px; }
    :root:not([data-stil="gammal"]) #flyttPanel .meddela-knapp { border-radius: 10px; padding: 7px 12px; font-size: 14.5px; font-weight: 600 !important; }
    :root:not([data-stil="gammal"]) #flyttPanel .meddela-knapp span { font-size: 12px; font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) #flyttPanel .flytt-botten { border-top-width: 1px; margin-top: 12px; padding-top: 10px; }
    :root:not([data-stil="gammal"]) #flyttPanel .led-slutfor-knapp { min-height: 40px; border-width: 1px; border-radius: 10px; font-size: 14.5px; margin-top: 8px; }
    :root:not([data-stil="gammal"]) #flyttPanel .led-slutfor { border-radius: 10px; padding: 8px 10px 8px 12px; margin-top: 8px; font-size: 14px; }
    :root:not([data-stil="gammal"]) #flyttPanel .led-slutfor.ar-klar .liten-knapp { padding: 5px 12px !important; font-size: 13px !important; border-radius: 8px !important; }
    :root:not([data-stil="gammal"]) #flyttPanel .led-slutfor-rad .stor-knapp { margin: 0; }
    .nytt-team-yta { border: 2px dashed var(--linje, #cfd8d3); background: transparent !important; box-shadow: none !important; }
    .nytt-team-yta.slapp-hit { background: rgba(79,138,139,.08) !important; border-color: var(--primar); outline: none; }
    .nytt-team-yta.liten-yta { flex: 0 0 200px !important; max-width: 220px; cursor: pointer; align-self: flex-start; }
    .nytt-team-yta.liten-yta .plan-innehall { padding: 22px 12px; }
    .nytt-team-yta b { font-weight: 400 !important; color: var(--mork); font-size: 16px; }
    .flytt-knappar .nytt-team-knapp { background: transparent; border: 2px dashed var(--linje, #cfd8d3); color: var(--mork); }
    .ov-sektion { background: var(--kort); border-radius: 18px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
    .ov-sektion h3 { margin: 0 0 10px; font-size: 14px; color: var(--text-dampad); letter-spacing: .3px; }
    .ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
    @media (max-width: 480px) { .ov-tal { font-size: 24px; } .ov-kort { padding: 10px 12px; } .ov-hrad { grid-template-columns: 120px 1fr 30px; } }
    .ov-kort { border: none; text-align: left; background: #f0f4f1; border-radius: 16px; padding: 12px 14px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--mork); }
    .ov-kort:hover { box-shadow: 0 0 0 2px #cfd8d3; }
    .ov-kort.gul { background: #fff4d6; } .ov-kort.rod { background: #fde2e2; }
    .ov-ikon { font-size: 22px; } .ov-tal { font-size: 30px; font-weight: 900; line-height: 1.1; } .ov-rubrik { font-weight: 800; font-size: 15px; }
    .ov-under { font-size: 12.5px; color: var(--text-dampad); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ov-legend { display: flex; gap: 14px; font-size: 13px; font-weight: 700; color: var(--text-dampad); margin-bottom: 6px; }
    .ov-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
    .ov-stapel { display: flex; align-items: flex-end; gap: 4px; height: 190px; }
    .ov-stapel.liten-h { height: 150px; }
    .ov-dag { flex: 1; border: none; background: none; font: inherit; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0; cursor: pointer; min-width: 0; }
    .ov-dag.helg .ov-etikett { color: #a3443a; }
    .ov-stack { width: 70%; max-width: 34px; display: flex; flex-direction: column; gap: 2px; min-height: 2px; }
    .ov-stack i { display: block; border-radius: 4px 4px 0 0; min-height: 3px; } .ov-stack i + i { border-radius: 0; }
    .ov-tot { font-size: 12px; font-weight: 800; color: var(--mork); margin-bottom: 2px; }
    .ov-etikett { font-size: 11px; font-weight: 700; color: var(--text-dampad); text-align: center; margin-top: 4px; line-height: 1.15; }
    .ov-två { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
    .ov-hrad { display: grid; grid-template-columns: 150px 1fr 34px; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 14px; }
    .ov-hnamn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ov-hspar { background: #eef2ef; border-radius: 6px; height: 14px; overflow: hidden; } .ov-hspar i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
    .ov-hrad b { text-align: right; }
    .bara-las button[data-lxo-click*="attestera"], .bara-las button[data-lxo-click*="sparaJustering"], .bara-las button[data-lxo-click*="attestForm='"],
    .bara-las button[data-lxo-click*="angraAttest"], .bara-las .am-att { display: none !important; }
    .bara-las select[data-lxo-change*="sattRast"] { pointer-events: none; opacity: .6; }
    .las-banner { background: #e3ecf7; color: #0d3c78; border-radius: 12px; padding: 10px 12px; font-weight: 800; margin-bottom: 10px; }
    .hus-chip { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 20px; padding: 2px 9px; margin-left: 4px; }
    .hus-chip.rut { background: var(--primar-ljus); color: var(--primar-mork); } .hus-chip.rot { background: #fde2cc; color: #7a3410; } .hus-chip.ovr { background: #e6e9e7; color: #4b5852; }
    .art-rad { background: var(--bakgrund); border-radius: 14px; padding: 10px; margin-bottom: 8px; }
    .art-rad select, .art-rad input { width: 100%; min-height: 44px; border: 2px solid var(--linje); border-radius: 12px; background: var(--falt); font: inherit; font-size: 15px; padding: 0 8px; box-sizing: border-box; }
    .art-rad > input { margin-top: 6px; }
    .art-rad-topp { display: flex; gap: 6px; align-items: center; }
    .art-sok-wrap { position: relative; flex: 1; }
    .art-forslag { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--falt); border: 2px solid var(--linje); border-radius: 14px; box-shadow: 0 8px 24px rgba(40,60,50,.18); max-height: 320px; overflow-y: auto; }
    .art-forslag:empty { display: none; }
    .art-forslag button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--linje); font: inherit; font-size: 15px; padding: 11px 14px; cursor: pointer; min-height: 44px; }
    .art-forslag button:last-child { border-bottom: 0; }
    .art-forslag button:hover, .art-forslag button.aktiv { background: #e6f1ea; }
    .art-forslag .af-ny { color: #3d6b8f; font-weight: 800; }
    .art-forslag .af-pris { float: right; font-weight: 800; color: #3f5a4b; margin-left: 8px; }
    .art-forslag .af-nr { color: var(--text-dampad); font-size: 13px; }
    .fx-chip { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 20px; padding: 1px 8px; margin-left: 4px; background: var(--primar-ljus); color: var(--primar-mork); }
    .fx-chip.vantar { background: #fde9c8; color: #8a5a12; }
    .fx-chip.lokal { background: #ece6f5; color: #5b4a80; }
    .art-rad-tal { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; margin-top: 6px; }
    .art-rad label span { display: block; font-size: 12px; font-weight: 800; color: var(--text-dampad); margin: 0 0 2px; }
    .art-hus { display: block; margin-top: 6px; }
    .art-rad-summa { text-align: right; font-weight: 800; margin-top: 6px; }
    .art-summa { background: var(--falt); border-radius: 14px; padding: 10px 14px; margin-top: 8px; }
    .art-summa div { display: flex; justify-content: space-between; padding: 3px 0; }
    .art-summa .art-att { border-top: 2px solid var(--linje); margin-top: 4px; padding-top: 6px; font-size: 18px; }
    .obj-kort { background: var(--kort); border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); border-left: 6px solid #8fc1a5; }
    .obj-rubrik { background: #dcefe3; border-radius: 14px; padding: 10px 14px; margin: 18px 0 8px; font-weight: 800; }
    .obj-rubrik .liten { margin: 2px 0 0; font-weight: 600; }
    .obj-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
    .obj-chips button { border: none; border-radius: 20px; padding: 8px 14px; font: inherit; font-weight: 800; background: #e6efe9; color: var(--mork); cursor: pointer; }
    .obj-chips button.vald { background: var(--primar); color: white; }
    .kod-rad { display: flex; gap: 8px; align-items: flex-end; }
    .kod-rad .falt { flex: 1; margin-bottom: 0; }
    .kod-rad button { min-height: 48px; margin-bottom: 0; }
    .media-rad { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
    .media-bild { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #ddd; }
    .media-bild img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
    .media-bild button { position: absolute; top: 3px; right: 3px; border: none; border-radius: 50%; width: 26px; height: 26px; background: rgba(0,0,0,0.6); color: white; font-size: 13px; }
    .media-rost { display: flex; align-items: center; gap: 8px; background: #f8d7e3; border-radius: 14px; padding: 6px 10px; width: 100%; box-sizing: border-box; margin: 6px 0; }
    .media-rost audio { flex: 1; min-width: 0; height: 40px; }
    .media-rost button { border: none; background: none; font-size: 20px; }
    .bild-visare { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 16px; }
    .bild-visare img { max-width: 100%; max-height: 100%; border-radius: 12px; }
    .vb-ruta { background: #e8f1fb; border: 2px solid #8fbbe8; border-radius: 16px; padding: 12px; margin-top: 10px; }
    .vb-ruta textarea { min-height: 170px; }
    .vb-bild { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin: 4px; font-size: 13px; font-weight: 700; }
    .vb-bild img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
    .bubbla .bubbla-bilder { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
    .bubbla .bubbla-bilder img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }

    /* ---------- INSTRUKTIONER FÖRST ---------- */
    .instr-topp { background: #fff4d6; border: 3px solid #e6b800; border-radius: 18px; padding: 16px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
    .instr-topp .instr-rubrik { font-weight: 900; font-size: 15px; letter-spacing: 0.5px; color: #8a6100; margin-bottom: 6px; }
    .instr-topp .instr-text { font-size: 20px; font-weight: 800; line-height: 1.35; color: var(--mork); }
    .instr-topp.tom { background: var(--kort); border: 2px dashed #cfc8b6; box-shadow: none; }
    .instr-topp.tom .instr-text { font-size: 15px; font-weight: 600; color: var(--text-dampad); }

    /* ---------- LÄGET JUST NU (planering) ---------- */
    .lage { background: var(--mork); color: var(--ljus-text); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
    .lage-topp { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
    .lage-topp b { font-size: 17px; }
    .lage-topp .liten { color: #cfd8d3; margin: 0; }
    .lage-topp button { margin-left: auto; border: none; background: var(--mork-2); color: var(--ljus-text); border-radius: 12px; padding: 6px 12px; font-weight: 800; font-family: inherit; }
    .lage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
    .lage-kort { background: var(--ljus-text); color: var(--mork); border-radius: 14px; padding: 12px; border-top: 8px solid #d5dbd8; }
    .lage-kort.mest { box-shadow: 0 0 0 3px #e74c3c; }
    .lage-kort.klara { box-shadow: 0 0 0 3px var(--primar); }
    .lage-namn { font-weight: 900; font-size: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .lage-pill { font-size: 12px; font-weight: 900; border-radius: 10px; padding: 2px 8px; }
    .lage-pill.rod { background: #f6d4d0; color: #8e2418; }
    .lage-pill.gron { background: var(--primar-ljus); color: var(--primar-mork); }
    .lage-pill.gul { background: #fff4d6; color: #8a6100; }
    .lage-pers { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
    .lage-pers span { font-size: 12px; font-weight: 800; border-radius: 10px; padding: 3px 8px; background: #eceff1; }
    .lage-pers .in { background: var(--primar-ljus); color: var(--primar-mork); }
    .lage-pers .ut { background: #e3dcf5; color: #4a3a7a; }
    .lage-pers .borta { background: #f6d4d0; color: #8e2418; }
    .lage-stapel { height: 12px; background: #e2e6e4; border-radius: 6px; overflow: hidden; margin: 6px 0 4px; }
    .lage-stapel div { height: 100%; background: var(--primar); }
    .lage-rad { font-size: 14px; margin-top: 3px; }
    .lage-tips { background: #f2c94c; color: var(--mork); border-radius: 12px; padding: 10px 12px; font-weight: 800; margin-top: 10px; }
    .plan-status { display: inline-block; font-size: 12px; font-weight: 900; border-radius: 10px; padding: 2px 8px; margin-top: 4px; }
    .plan-status.klar { background: var(--primar-ljus); color: var(--primar-mork); }
    .plan-status.pagar { background: #fff4d6; color: #8a6100; }
    .plan-jobb.ar-klar { opacity: 0.6; }

    /* ---------- ATTEST AV TIDER ---------- */
    .at-summa { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
    .at-summa span { background: var(--kort); border-radius: 12px; padding: 6px 12px; font-weight: 800; font-size: 14px; }
    .at-kort { background: var(--kort); border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); border-left: 8px solid #d5dbd8; }
    .at-kort.ok { border-left-color: var(--primar); }
    .at-kort.varn { border-left-color: #e6b800; }
    .at-kort.klar { border-left-color: var(--primar); background: #eef7f1; }
    .at-topp { display: flex; align-items: center; gap: 10px; }
    .at-topp .namn { font-weight: 900; font-size: 17px; flex: 1; min-width: 0; }
    .at-timmar { font-size: 22px; font-weight: 900; text-align: right; }
    .at-timmar small { display: block; font-size: 12px; font-weight: 700; color: var(--text-dampad); }
    .at-detalj { font-size: 14px; margin-top: 8px; display: grid; gap: 3px; }
    .at-varning { background: #fff4d6; color: #8a6100; border-radius: 10px; padding: 6px 10px; font-weight: 800; font-size: 13px; margin-top: 6px; }
    .at-justerad { background: #e3dcf5; color: #4a3a7a; border-radius: 10px; padding: 6px 10px; font-size: 13px; margin-top: 6px; }
    .at-rad { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
    .at-rad select { min-height: 44px; border-radius: 12px; border: 2px solid var(--linje); padding: 0 8px; font-family: inherit; font-weight: 700; background: var(--falt); }
    .at-rad .drift-knapp { flex: 1; min-width: 140px; }
    .at-stampel { display: inline-block; background: var(--primar-ljus); color: var(--primar-mork); border-radius: 10px; padding: 3px 10px; font-weight: 900; font-size: 13px; }

    /* ---------- ATTEST – VECKA PER ANSTÄLLD ---------- */
    .av-topp { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
    .av-topp b { font-size: 20px; }
    .av-topp .vecka-chip { margin: 0; }
    .av-topp button { border: 2px solid var(--linje); background: var(--kort); border-radius: 12px; min-height: 44px; min-width: 44px; font-weight: 900; font-family: inherit; font-size: 16px; padding: 0 12px; }
    .av-ram { overflow-x: auto; border-radius: 16px; background: var(--kort); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
    .av-tabell { display: grid; grid-template-columns: 220px repeat(7, minmax(150px, 1fr)); min-width: 1270px; }
    .av-tabell > div { border-right: 1px solid #e6e0d2; border-bottom: 1px solid #e6e0d2; padding: 8px; }
    .av-huvud { background: #eef2ef; font-weight: 900; font-size: 13px; position: sticky; top: 0; }
    .av-huvud small { display: block; font-weight: 700; color: var(--text-dampad); }
    .av-huvud.helg, .av-cell.helg { background: #f9ecea; }
    .av-huvud.idag { box-shadow: inset 0 4px 0 var(--primar); }
    .av-person { position: sticky; left: 0; background: var(--kort); z-index: 1; }
    .av-person .namn { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 15px; }
    .av-summa-rad { display: flex; justify-content: space-between; font-size: 13px; margin-top: 4px; }
    .av-summa-rad b { font-weight: 900; }
    .av-cell { display: flex; flex-direction: column; gap: 5px; min-height: 90px; cursor: pointer; }
    .av-cell:hover { background: #f1efe6; }
    .av-skift { background: #dff2e6; border: 2px solid #9fd3b2; border-radius: 10px; padding: 5px 7px; font-size: 13px; }
    .av-skift.ok { background: var(--primar); border-color: var(--primar); color: white; }
    .av-skift.varn { background: #fff4d6; border-color: #e6b800; }
    .av-skift .rubrik { font-size: 10px; font-weight: 900; letter-spacing: 0.5px; opacity: 0.8; }
    .av-jobb { background: #fff; border-radius: 10px; padding: 5px 7px; font-size: 12px; border-left: 5px solid #d5dbd8; }
    .av-jobb .titel { font-weight: 900; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .av-jobb .fakt { color: var(--primar-mork); font-weight: 800; }
    .av-jobb .fakt.pagar { color: #8a6100; }
    .av-jobb .fakt.ej { color: #8a9790; font-weight: 700; }
    .av-overlapp { background: #f6d4d0; color: #8e2418; border-radius: 8px; padding: 3px 7px; font-size: 11px; font-weight: 900; }
    .av-km { font-size: 12px; font-weight: 800; color: #4a3a7a; }
    .av-fot { background: #eef2ef; font-weight: 900; font-size: 14px; }

    /* ---------- STÄMPLADE TIDER I PLANERINGEN ---------- */
    .plan-person > span { display: inline-flex; flex-direction: column; line-height: 1.15; }
    .plan-stampel { display: block; font-size: 11px; font-weight: 800; color: var(--primar-mork); white-space: nowrap; }
    .plan-stampel.inne { color: var(--primar); }
    .plan-stampel.att { color: #4a3a7a; }
    .vecka-stampel { background: #dff2e6; border-radius: 10px; padding: 5px 7px; margin: 4px 0 6px; font-size: 12px; }
    .vecka-stampel .rubrik { font-size: 10px; font-weight: 900; color: var(--primar-mork); letter-spacing: 0.5px; }
    .vecka-stampel .plan-stampel { display: inline; }

    /* ---------- MIN ARBETSTID ---------- */
    .mt-summa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
    .mt-summa div { background: var(--kort); border-radius: 14px; padding: 10px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .mt-summa b { display: block; font-size: 20px; font-weight: 900; }
    .mt-summa span { font-size: 12px; font-weight: 800; color: var(--text-dampad); }
    .mt-dag { background: var(--kort); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; border-left: 7px solid #d5dbd8; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .mt-dag.att { border-left-color: var(--primar); }
    .mt-dag.vantar { border-left-color: #e6b800; }
    .mt-dag.tom { background: rgba(255,255,255,0.35); box-shadow: none; border-left-color: transparent; color: var(--text-dampad); padding: 8px 14px; }
    .mt-rad { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
    .mt-rad .dag { font-weight: 900; }
    .mt-rad .tim { font-weight: 900; font-size: 18px; }
    .mt-status { display: inline-block; font-size: 12px; font-weight: 900; border-radius: 10px; padding: 2px 8px; margin-top: 4px; }
    .mt-status.att { background: var(--primar-ljus); color: var(--primar-mork); }
    .mt-status.vantar { background: #fff4d6; color: #8a6100; }
    .mt-status.pagar { background: #dff2e6; color: var(--primar); }
    .mt-vecka { display: flex; justify-content: space-between; background: var(--kort); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; font-weight: 800; cursor: pointer; }

    /* ---------- MEDDELANDEN MED PERSONALEN ---------- */
    .pm-utskick { background: #fff4d6; border: 2px solid #e6b800; border-radius: 16px; padding: 12px; margin-bottom: 10px; }
    .pm-utskick.kvitterad { background: var(--kort); border-color: #cfe3d6; }
    .pm-utskick .till { font-size: 12px; font-weight: 900; color: #8a6100; letter-spacing: 0.5px; }
    .pm-trad { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
    .pm-citat { border-left: 3px solid var(--primar); background: rgba(0,0,0,0.05); border-radius: 8px; padding: 6px 10px; margin: 2px 0 6px; font-size: 13px; cursor: pointer; }
    .pm-citat-vem { font-weight: 700; color: var(--primar-mork); font-size: 12px; }
    .pm-citat-text { color: var(--text-dampad); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pm-blink { box-shadow: 0 0 0 3px var(--primar); transition: box-shadow 0.3s; }
    .pm-bubbla { max-width: 85%; border-radius: 16px; padding: 10px 12px; background: #fde2cc; align-self: flex-start; }
    .pm-bubbla.egen { background: #cfe3fa; align-self: flex-end; }
    .pm-bubbla .info { font-size: 12px; color: var(--text-dampad); font-weight: 700; margin-top: 4px; }
    .kund-citat { background: #fff1c9; border-left: 6px solid #e0a43a; border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: 17px; font-weight: 700; color: #3b2a07; white-space: pre-wrap; word-break: break-word; }
    .kund-citat .kc-rubrik { display: block; font-size: 12px; font-weight: 900; letter-spacing: .03em; color: #8a5a12; margin-bottom: 4px; white-space: normal; }
    .svara-knapp { display: block; width: 100%; margin-top: 8px; min-height: 48px; border: none; border-radius: 14px; background: var(--primar); color: #fff; font: inherit; font-weight: 900; font-size: 16px; cursor: pointer; }
    .pm-skriv.svarslage { box-shadow: 0 0 0 3px var(--primar); }
    .svar-rubrik { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #dff1e5; color: var(--primar-mork); font-weight: 900; border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; }
    .svar-rubrik button { border: none; background: var(--falt); border-radius: 10px; font: inherit; font-weight: 800; padding: 6px 10px; cursor: pointer; }
    .vidare-klar { display: flex; gap: 10px; align-items: flex-start; background: #e3eefb; border-left: 6px solid #4a7fc1; border-radius: 12px; padding: 10px 12px; margin: 8px 0; color: var(--mork); }
    .vidare-klar .vk-bock { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #4a7fc1; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
    .vk-knapp small { display: block; font-size: 12px; font-weight: 600; opacity: .85; margin-top: 2px; text-transform: none; letter-spacing: 0; }
    .vk-till { background: #fff; border: 1px solid #dfe7e7; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
    .vk-till > span { display: block; font-size: 13px; font-weight: 700; color: var(--text-dampad); margin-bottom: 6px; }
    .vk-till.vk-ingen { background: #fff6e0; border-color: #e0a43a; } .vk-till.vk-ingen > span { margin: 0; color: #7a5a10; }
    .vk-chip { display: inline-block; background: var(--primar-ljus); color: var(--primar-mork); border-radius: 999px; padding: 5px 12px; margin: 0 6px 6px 0; font-size: 14px; }
    .vk-ovr { margin: 6px 0 4px; } .vk-ovr summary { cursor: pointer; font-weight: 700; color: var(--primar-mork); padding: 4px 0; }
    .betyg-summa { display: flex; gap: 14px; align-items: center; background: #fff8e1; border-radius: 14px; padding: 12px 14px; margin: 4px 0 6px; }
    .betyg-summa .bs-stor { font-size: 34px; font-weight: 800; color: #8a5a12; line-height: 1; white-space: nowrap; }
    .betyg-summa .bs-stor span { font-size: 26px; color: #e0a43a; margin-left: 2px; }
    .personal-svar { background: #dff1e5; border-left: 6px solid #3f9a62; border-radius: 12px; padding: 8px 12px; margin: 6px 0; }
    .pm-bubbla .vem { font-size: 13px; font-weight: 900; color: #3f5a4b; margin-bottom: 3px; }
    .pm-bubbla.ny { box-shadow: 0 0 0 3px #f0a64a; }
    .pm-aldre { display: block; margin: 0 auto 8px; }
    .pm-skriv { background: var(--kort); border-radius: 16px; padding: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
    .pm-person { display: flex; align-items: center; gap: 10px; background: var(--kort); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; border: none; width: 100%; text-align: left; font-family: inherit; }
    .pm-person .mitt { flex: 1; min-width: 0; }
    .pm-person.olast { background: #fff6e8; box-shadow: inset 4px 0 0 #f0a64a; }
    .pm-person.olast .senast { color: var(--text, #24393b); font-weight: 500; }
    .ny-avdelare span { background: #f0a64a !important; color: #fff !important; }
    .pm-person .senast { font-size: 13px; color: var(--text-dampad); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* ---------- LÖNEUNDERLAG ---------- */
    .lon-summa { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
    .lon-summa div { background: var(--kort); border-radius: 14px; padding: 10px; text-align: center; }
    .lon-summa b { display: block; font-size: 20px; font-weight: 900; }
    .lon-summa span { font-size: 12px; font-weight: 800; color: var(--text-dampad); }
    .lon-kort { background: var(--kort); border-radius: 16px; padding: 14px; margin-bottom: 10px; border-left: 8px solid var(--primar); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
    .lon-kort.varn { border-left-color: #e6b800; }
    .lon-rad { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 6px 0; border-bottom: 1px solid #e6e0d2; font-size: 14px; align-items: baseline; }
    .lon-rad:last-child { border-bottom: none; }
    .lon-rad .art { font-size: 11px; color: #8a9790; font-weight: 800; }
    .lon-rad .bel { font-weight: 900; text-align: right; min-width: 90px; }
    .lon-export { background: var(--mork); color: var(--ljus-text); border-radius: 16px; padding: 14px; margin-top: 12px; }
    .lon-export .stor-knapp { margin-top: 8px; }

    /* ---------- RÖDA DAGAR OCH STORHELG I KALENDRARNA ---------- */
    .helg-chip { display: inline-block; font-size: 11px; font-weight: 900; border-radius: 8px; padding: 1px 6px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; vertical-align: middle; }
    .helg-chip.stor { background: #fbe7b8; color: #7a4f00; }
    .helg-chip.rod { background: #f6d4d0; color: #8e2418; }
    .vecka-dag .helg-chip, .manad-dag .helg-chip { display: block; margin: 2px 0; }
    .manad-dag.storhelg { box-shadow: inset 0 0 0 3px #f2c94c; }
    .manad-dag.roddag .manad-nr, .vecka-dag.roddag .vecka-huvud b { color: #c0392b; }

    /* ---------- TYST LÄGE ---------- */
    #tystKnapp.aktiv { background: #f6d4d0; color: #8e2418; }

    /* ---------- NOTISER ---------- */
    #roll-ledare .flik-antal:not(:empty) { margin-left: 4px; animation: markePuls 1.2s ease-in-out infinite; box-shadow: 0 0 0 2px var(--mork); }
    @keyframes markePuls { 50% { transform: scale(1.18); background: #e74c3c; } }
    /* Nytt och ändrat i personalens uppdrag – bilder i stället för text (alla kan inte läsa).
       🆕 nytt = grön ram, ändrat = orange ram, stora ikoner i hörnet (🕐 tid, 🏠 boende, 📝 instruktioner, ☑️ checklista, 👥 kollegor), ❌ borttaget = rött. */
    .kort.lx-ny, .kort.lx-andrat { position: relative; padding-right: 64px !important; }
    .kort.lx-ny { box-shadow: 0 0 0 3px #27ae60, 0 4px 14px rgba(39,174,96,.2) !important; }
    .kort.lx-andrat { box-shadow: 0 0 0 3px #e67e22, 0 4px 14px rgba(230,126,34,.2) !important; }
    .lx-andr-marke { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
    .lx-andr-ikon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
    .lx-andr-marke.ny .lx-andr-ikon { background: #27ae60; animation: nyPuls 1.4s ease-in-out infinite; }
    @keyframes nyPuls { 50% { transform: scale(1.12); } }
    .lx-andr-marke.andrat .lx-andr-ikon { background: #fdebd0; border: 2px solid #e67e22; }
    .lx-andr-etikett { display: none !important; }   /* ersatt av ikonerna – texten finns i uppdraget */
    .lx-gammal-tid { margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: #fdebd0; font-size: 15px; }
    .lx-gammal-tid s { color: #a3201b; text-decoration-thickness: 2px; }
    .lx-andr-ruta.ny { border-left: 8px solid #27ae60; background: #eafaf1; }
    .lx-andr-ruta.andrat { border-left: 8px solid #e67e22; background: #fff8e6; }
    .lx-andr-stora { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
    .lx-andr-stor { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 70px; }
    .lx-andr-stor span { font-size: 40px; line-height: 1; }
    .lx-andr-stor small { font-size: 12px; color: var(--text-dampad); text-align: center; }
    .lx-bort-ikon { font-size: 44px; line-height: 1; margin-bottom: 4px; }
    .imp-sum { display: flex; flex-wrap: wrap; gap: 8px; }
    .imp-sum span { background: var(--bakgrund, #eef4f4); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
    .imp-sum span.fel { background: #fdecea; color: #a3201b; }
    tr.imp-fel td { background: #fdecea; }
    .imp-tab table { min-width: 0 !important; }
    .avd-valjare { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
    .avd-valjare select { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--linje); background: var(--kort); font: inherit; }
    .avd-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e3ecf6; color: #2f4f6f; font-size: 13px; margin: 2px 4px 2px 0; }
    .avd-rad { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .avd-tavla { margin: 4px 0 16px; padding: 12px; border-radius: 16px; background: #eef3f2; }
    .avd-tavla-topp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; font-size: 16px; }
    .avd-tavla-topp b { font-weight: 600 !important; }
    .avd-lador { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
    @media (min-width: 700px) { .avd-lador { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; } }
    .avd-lada { background: var(--kort, #fff); border: 2px dashed #c5d3d0; border-radius: 14px; padding: 8px 10px; min-height: 84px; min-width: 0; transition: border-color .15s, background .15s, transform .15s; }
    .avd-lada.vald { border-style: solid; border-color: #5b8a8f; box-shadow: 0 0 0 3px #5b8a8f33; }
    .avd-lada.over { border-style: solid; border-color: #2e7d32; background: #e7f5e8; transform: scale(1.02); }
    .avd-lada-topp { display: flex; align-items: center; gap: 4px; }
    .avd-lada-namn { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; overflow-wrap: anywhere; text-align: left; background: none; border: 0; padding: 4px 2px; font: inherit; font-weight: 600 !important; font-size: 16px; line-height: 1.3; cursor: pointer; color: inherit; }
    .avd-lada-ikon { font-size: 18px; line-height: 1; }
    .avd-antal { display: inline-block; min-width: 20px; padding: 0 7px; border-radius: 999px; background: #5b8a8f; color: #fff; font-size: 12px; font-weight: 500 !important; line-height: 19px; text-align: center; }
    .avd-mini { background: none; border: 0; font-size: 15px; padding: 4px; cursor: pointer; border-radius: 8px; opacity: .75; }
    .avd-mini:hover { opacity: 1; }
    .avd-mini:hover { background: #0000000d; }
    .avd-medl { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
    .avd-person { display: inline-flex; align-items: center; gap: 5px; padding: 3px 4px 3px 3px; border-radius: 999px; background: #e3ecf6; font-size: 14px; font-weight: 400; cursor: grab; touch-action: none; user-select: none; }
    .avd-person .avatar { margin: 0; }
    .avd-person button { background: none; border: 0; padding: 0 6px; font-size: 13px; cursor: pointer; color: #6b7c7a; }
    .avd-inbj { background: #fdf2d6; padding-left: 9px; }
    .avd-tom { color: #8a9a97; font-size: 14px; padding: 6px 2px; }
    .avd-ny { display: flex; align-items: center; justify-content: center; font: inherit; font-weight: 500 !important; font-size: 15px; color: #5b8a8f; cursor: pointer; }
    .avd-ny:hover { background: #f4f8f7; }
    .avd-red { margin: 6px 0; display: grid; gap: 6px; }
    .avd-ikoner { display: flex; flex-wrap: wrap; gap: 4px; }
    .avd-ikoner button { font-size: 18px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--linje, #d5dbd8); background: #fff; cursor: pointer; }
    .avd-ikoner button.vald { border: 2px solid #5b8a8f; background: #e7f0ef; }
    .avd-visar { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .avd-drabar { cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
    .avd-drabar img { -webkit-user-drag: none; }
    .avd-lyft { background: #e7f5e8 !important; box-shadow: 0 4px 14px #0002; transform: scale(1.01); transition: transform .15s; }
    .avd-dra { align-self: center; font-size: 22px; color: #8a9a97; padding: 10px 4px; cursor: grab; touch-action: none; user-select: none; line-height: 1; }
    .avd-dra:hover { color: #3c5a57; }
    body.avd-drar, body.avd-drar * { cursor: grabbing !important; user-select: none; }
    .avd-spoke { position: fixed; z-index: 9999; pointer-events: none; transform: translate(-50%, -130%); padding: 8px 14px; border-radius: 999px; background: #2f4f4f; color: #fff; font-weight: 500; box-shadow: 0 6px 18px #0004; white-space: nowrap; }
    .avd-valj-lista { display: grid; gap: 8px; }
    .avd-valj-lista button { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linje, #d5dbd8); background: #fff; font: inherit; font-size: 16px; font-weight: 400; cursor: pointer; }
    .avd-valj-lista button.vald { border: 2px solid #2e7d32; background: #e7f5e8; }
    .avd-rad .nb-inp { flex: 1; min-width: 140px; }
    .avd-ikon { padding: 6px; border-radius: 10px; border: 1px solid var(--linje); font-size: 18px; }
    .px-import { margin-top: 8px; background: #e3ecf6 !important; color: #2f4f6f !important; display: block; text-align: center; cursor: pointer; }
    .imp-tab td, .imp-tab th { padding: 8px 10px !important; }
    /* Startsidan: något nytt på ett kort syns tydligt – stor röd siffra i hörnet som pulserar, och kortet får en ram */
    .meny button { position: relative; }
    .meny button .flik-antal:not(:empty) { position: absolute; top: 8px; right: 10px; font-size: 15px; min-width: 28px; height: 28px; line-height: 28px; padding: 0 8px; border-radius: 14px; animation: markePuls 1.2s ease-in-out infinite; box-shadow: 0 2px 6px rgba(192,57,43,.35); }
    .meny button:has(.flik-antal:not(:empty)) { box-shadow: 0 0 0 3px #e74c3c, 0 4px 14px rgba(231,76,60,.25); }
    .notis-ruta {
      position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 9000;
      width: min(92vw, 460px); background: var(--mork); color: var(--ljus-text); border-radius: 20px;
      padding: 14px 14px 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); animation: notisIn .35s ease-out;
    }
    @keyframes notisIn { from { transform: translate(-50%, -30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
    .notis-topp { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 15px; margin-bottom: 8px; }
    .notis-topp .klocka { font-size: 22px; animation: ring 0.9s ease-in-out 2; display: inline-block; }
    @keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(18deg); } 40% { transform: rotate(-16deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-6deg); } }
    .notis-topp button { margin-left: auto; border: none; background: var(--mork-2); color: var(--ljus-text); border-radius: 12px; min-width: 40px; min-height: 36px; font-size: 16px; }
    .notis-topp button + button { margin-left: 0; }
    .notis-rad { display: flex; gap: 10px; align-items: center; background: #2b3c35; border-radius: 14px; padding: 9px 10px; margin-bottom: 6px; }
    .notis-rad .avatar, .notis-rad .kund-ikon { flex-shrink: 0; }
    .notis-rad .kund-ikon { width: 36px; height: 36px; border-radius: 50%; background: #fbe3c8; display: flex; align-items: center; justify-content: center; font-size: 19px; }
    .notis-vem { font-weight: 900; font-size: 15px; color: #fff; }
    .notis-vad { font-size: 13px; color: #cfd8d3; }
    .fokus-puls { animation: fokusPuls 1.3s ease-in-out 2; }
    @keyframes fokusPuls { 0%, 100% { box-shadow: 0 0 0 0 rgba(79,138,143,0); } 50% { box-shadow: 0 0 0 4px rgba(79,138,143,.45); } }
    .hantera-bar:empty { display: none; }
    .hantera-inner { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border-left: 3px solid #b3261e; border-radius: 6px; padding: 10px 14px; margin: -8px 0 18px; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
    .hantera-inner b { color: #b3261e; margin-right: 4px; }
    .hantera-inner button.ny { border-color: #e7b9b4; }
    .ny-prick { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #b3261e; margin-right: 6px; vertical-align: 1px; }
    .hantera-inner button { border: 1px solid #ecd9d7; background: #fff; color: var(--mork); border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
    .at-vantar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border-left: 3px solid var(--primar); border-radius: 6px; padding: 12px 14px; margin: 0 0 16px; font-size: 13px; }
    .at-vantar button { border: 1px solid #dfe7e7; background: #fff; color: var(--primar-mork); border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
    .at-vantar button.vald { background: var(--primar-ljus); border-color: transparent; }
    .bil-avbryt { display: block; width: 100%; margin-top: 14px; border: none; border-radius: 12px; background: #c0392b; color: #fff; font: inherit; font-weight: 700; font-size: 16px; min-height: 50px; cursor: pointer; }
    .fv-just { background: #f3f7f7; border-radius: 6px; padding: 12px; margin-top: 8px; }
    .notis-oppna { width: 100%; border: none; border-radius: 6px; background: var(--primar); color: #fff; font-weight: 900; font-size: 15px; min-height: 48px; margin-top: 4px; }
    .avsandare { display: flex; align-items: center; gap: 8px; background: #fdf3d0; border-radius: 12px; padding: 6px 10px; margin: 6px 0; font-size: 14px; }
    .avsandare b { font-weight: 900; }
    .drift-kort.ny-puls { box-shadow: 0 0 0 3px #f2c94c, 0 1px 4px rgba(0,0,0,0.08); animation: puls 1.4s ease-in-out 3; }
    @keyframes puls { 50% { box-shadow: 0 0 0 6px rgba(113,182,189,0.35), 0 1px 4px rgba(0,0,0,0.06); } }

    /* ---------- MINA UPPGIFTER ---------- */
    .info-rad { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e6e0d2; }
    /* Mina uppgifter: det Admin har ändrat lyser gult tills personen tryckt "Jag har sett" */
    .nytt-rad { background: #fff1b8; border-radius: 10px; padding-left: 10px; padding-right: 10px; margin: 2px -10px; font-weight: 700; border-bottom-color: transparent; }
    .nytt-rad > span:first-child::before { content: "🆕 "; }
    label.falt.nytt-falt > span::before { content: "🆕 "; }
    label.falt.nytt-falt input { background: #fff1b8; border-color: #e0b400; }
    .nytt-ruta { background: #fff1b8; border: 2px solid #e0b400; border-radius: 16px; padding: 14px; margin: 10px 0 14px; font-size: 17px; text-align: center; }
    .nytt-ruta .stor-ikon { font-size: 40px; display: block; line-height: 1.1; }
    .nytt-sektion > h3::after { content: " 🆕"; }
    .info-rad:last-child { border-bottom: none; }
    .info-rad span:first-child { color: var(--text-dampad); font-weight: 700; }
    .info-rad span:last-child { font-weight: 800; text-align: right; overflow-wrap: anywhere; }
    .vantar-ruta { background: #fdf3d0; border: 2px solid #e6b800; border-radius: 16px; padding: 14px; margin: 10px 0; }

    /* ---------- PLANERING ---------- */
    .app.bred { max-width: 1400px; }
    .app.bred.lasbredd { max-width: 920px; }
    .app.bred.helsida { max-width: none; }   /* Planering: hela skärmen så att alla team och hela veckan syns */
    .app.bred.lasbredd .ledar-flikar button { padding: 7px 9px; font-size: 13px; }   /* Alla verktyg får plats även på smalare sidor */
    .app.lasbredd .drift-text, .app.lasbredd .bubbla, .app.lasbredd .pm-bubbla { line-height: 1.55; }
    .app.lasbredd .bubbla { max-width: 78%; }
    /* Backoffice på dator: mer luft överallt */
    @media (min-width: 761px) {
      .app.bred { padding: 32px 48px 48px; }
      .app.bred .sektion { padding: 22px 26px; margin-bottom: 20px; border-radius: 20px; }
      .app.bred h2 { margin-bottom: 20px; }
      .app.bred .ledar-flikar { margin-bottom: 28px; }
      .app.bred .ord-filter { gap: 16px; }
      .app.bred .ord-rad { padding: 15px 22px; gap: 14px; }
      .app.bred .ord-tabell { margin-bottom: 20px; }
      .app.bred .drift-rad { gap: 12px; }
      .app.bred .kund-rad, .app.bred .info-rad { padding-top: 10px; padding-bottom: 10px; }
    }
    .knapp-liten { border: none; border-radius: 20px; background: var(--primar); color: #fff; font: inherit; font-weight: 800; font-size: 13px; padding: 5px 12px; min-height: 0; line-height: 1.3; cursor: pointer; white-space: nowrap; }
    .knapp-liten:hover { background: var(--primar-mork); }
    .plan-topp { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
    .plan-summa { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
    .plan-summa span {
      background: var(--kort); border-radius: 20px; padding: 6px 12px; font-size: 14px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    .plan-summa .summa-varn { background: #fff4d6; color: #7a5c00; }
    .plan-summa .summa-ok   { background: var(--primar-ljus); color: var(--primar-mork); }
    .plan-tips { margin: 0 0 10px; }
    .plan-kolumner {
      display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px;
      scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    }
    .plan-kolumn {
      flex: 0 0 270px; scroll-snap-align: start; background: var(--kort); border-radius: 16px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08); overflow: hidden; min-height: 300px;
    }
    .plan-huvud { padding: 12px 14px; font-weight: 400; font-size: 15px; color: var(--mork); }
    .plan-antal { display: block; font-size: 12.5px; font-weight: 400; opacity: 0.8; }
    .plan-innehall { padding: 10px; }
    .plan-personer { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
    .plan-person {
      display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px;
      background: var(--bakgrund); border-radius: 20px; font-weight: 400; font-size: 13.5px;
      cursor: grab; user-select: none;
    }
    .plan-jobb {
      background: var(--falt); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
      border-left: 8px solid #d5dbd8; box-shadow: 0 1px 3px rgba(0,0,0,0.08); cursor: grab;
      user-select: none;
    }
    .plan-jobb:active, .plan-person:active { cursor: grabbing; transform: scale(0.98); }
    .plan-tid { font-weight: 400; font-size: 12.5px; }
    .plan-titel { font-weight: 400; font-size: 14px; color: var(--mork); }
    .plan-rubrik { font-size: 13px; font-weight: 800; color: var(--text-dampad); margin: 14px 0 6px; }
    .plan-varning {
      background: #fff4d6; border: 1px solid #e0a800; border-radius: 10px; padding: 6px 10px;
      font-size: 13px; font-weight: 700; margin-bottom: 8px;
    }
    .flytt-bakgrund { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 20; }
    .flytt-panel {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; background: var(--kort);
      border-radius: 20px 20px 0 0; padding: 18px 16px; max-width: 520px; margin: 0 auto;
      padding-bottom: max(18px, env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    }
    .flytt-rubrik { font-size: 17px; margin-bottom: 12px; }
    @media (min-width: 761px) { .flytt-panel.mitt { top: 50%; bottom: auto; transform: translateY(-50%); border-radius: 20px; max-width: 760px; padding: 26px 30px; } }
    /* Artikeltabell (som i BOS) */
    .art-verktyg { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
    .art-verktyg input[type=search] { flex: 1; min-width: 220px; max-width: 420px; min-height: 42px; border: 2px solid var(--linje); border-radius: 12px; background: var(--falt); font: inherit; padding: 0 12px; }
    .art-tab { background: var(--kort); border-radius: 18px; overflow-x: auto; }
    .art-tab table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 980px; }
    .art-tab th { text-align: left; font-size: 12px; font-weight: 900; color: var(--text-dampad); letter-spacing: .04em; background: var(--tabellhuvud); padding: 12px 12px; white-space: nowrap; cursor: pointer; }
    .art-tab td { padding: 12px 12px; border-bottom: 1px solid var(--linje); white-space: nowrap; }
    .art-tab tr.art-r:hover td { background: var(--hover); cursor: pointer; }
    .art-tab td.namn { white-space: normal; min-width: 220px; font-weight: 700; }
    .art-tab td.tal { text-align: right; font-variant-numeric: tabular-nums; }
    .art-tab tr.inaktiv td { opacity: .45; }
    .art-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
    @media (max-width: 760px) { .art-modal-grid { grid-template-columns: 1fr; } }
    .flytt-knappar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .flytt-knappar button {
      min-height: 52px; border: none; border-radius: 14px; font-size: 15px; font-weight: 800; color: var(--mork);
    }
    .flytt-knappar button:disabled { opacity: 0.4; }

    /* ---------- KUNDER OCH MEDDELANDEN ---------- */
    .kund-chip {
      display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 20px;
      background: #fde2cc; color: #7a3410; font-weight: 800; font-size: 14px; padding: 6px 12px;
      margin: 2px 0 8px; font-family: inherit;
    }
    .kund-chip span { font-weight: 600; font-size: 12px; opacity: 0.85; }
    .kundnummer {
      display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 10px;
      background: var(--mork); color: var(--ljus-text); font-size: 13px; font-weight: 800; letter-spacing: 0.5px;
    }
    .kund-rad {
      display: flex; justify-content: space-between; align-items: center; gap: 10px;
      padding: 10px 0; border-bottom: 1px solid var(--linje);
    }
    .kund-rad:last-child { border-bottom: none; }
    .trad { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 8px; }
    .bubbla { max-width: 85%; padding: 10px 12px; border-radius: 16px; font-size: 15px; line-height: 1.35; }
    .fran-kund { align-self: flex-start; background: #fde2cc; border-bottom-left-radius: 4px; }
    .fran-oss  { align-self: flex-end; background: #cfe3fa; border-bottom-right-radius: 4px; }
    .bubbla-info { font-size: 11px; font-weight: 700; color: var(--text-dampad); margin-top: 4px; }
    .snabbsvar { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0; }
    .snabbsvar button {
      flex-shrink: 0; border: 2px solid var(--linje); background: var(--kort); border-radius: 16px;
      padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--mork);
    }

    /* ---------- ORDNING INOM TIDSFÖNSTER ---------- */
    .ordning-nr {
      width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--mork); color: var(--ljus-text);
      display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
    }
    .ordning-pilar { display: flex; flex-direction: column; gap: 4px; }
    .ordning-pilar button {
      width: 36px; height: 32px; border: none; border-radius: 8px; background: var(--bakgrund);
      font-size: 13px; color: var(--mork);
    }
    .ordning-pilar button:disabled { opacity: 0.3; }
    .fonster-rad { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
    .fonster { font-size: 11px; font-weight: 800; background: var(--bakgrund); border-radius: 8px; padding: 2px 7px; color: var(--text-dampad); }
    .fonster.fast { background: #e3d5f5; color: #4a2a78; }
    .plan-jobb.for-sent { background: #fff1ee; box-shadow: 0 0 0 2px #e8a49c; }
    .sent-varning { font-size: 12px; font-weight: 800; color: #c0392b; margin-top: 4px; }
    .plan-jobb.slapp-har { box-shadow: 0 -4px 0 0 var(--primar); }
    .restid { text-align: center; font-size: 11px; font-weight: 700; color: #8a9690; margin: -4px 0 4px; }
    .team-start { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400; color: var(--text-dampad); margin-bottom: 8px; flex-wrap: wrap; }
    .team-start select {
      border: 2px solid var(--linje); border-radius: 8px; background: var(--falt); font-family: inherit;
      font-size: 13px; font-weight: 800; padding: 2px 4px;
    }

    /* ---------- KALENDER ---------- */
    .kal-vyer { display: flex; width: fit-content; gap: 2px; background: var(--kort); padding: 3px; border-radius: 999px; margin: 0 auto 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .kal-vyer button { border-radius: 999px !important; min-height: 34px !important; padding: 0 16px !important; font-size: 14px !important; }
    .kal-vyer button {
      border: none; background: transparent; border-radius: 9px; padding: 8px 14px;
      font-size: 15px; font-weight: 800; color: var(--text-dampad); min-height: 40px;
    }
    .kal-vyer button.vald { background: var(--mork); color: var(--ljus-text); }
    .kal-topp { display: flex; align-items: center; gap: 10px; margin: 0 auto 12px; max-width: 620px; }
    .kal-pil {
      width: 48px; height: 48px; flex-shrink: 0; border: none; border-radius: 50%;
      background: var(--kort); font-size: 28px; font-weight: 800; color: var(--mork);
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .kal-titel { flex: 1; text-align: center; font-size: 20px; font-weight: 800; }
    .kal-titel > div:first-child::first-letter { text-transform: uppercase; }
    .kal-under { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
    .vecka-chip { background: var(--mork); color: var(--ljus-text); border-radius: 10px; padding: 2px 10px; font-size: 13px; }
    .idag-chip  { background: var(--primar-ljus); color: var(--primar-mork); border-radius: 10px; padding: 2px 10px; font-size: 13px; }
    .idag-knapp { border: none; background: #cfe3fa; color: #0d3c78; border-radius: 10px; padding: 2px 10px; font-size: 13px; font-weight: 800; }
    .kal-forklaring { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text-dampad); margin-bottom: 10px; }
    .kal-forklaring i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 5px; vertical-align: -2px; }

    /* Vecka */
    .vecka-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 10px; }
    .vecka-grid.rulla { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max(150px, calc((100% - 48px) / 7)); scroll-snap-type: x proximity; padding-top: 4px; padding-left: 3px; }
    .vecka-grid.rulla > .vecka-dag { scroll-snap-align: start; position: relative; }
    .vecka-dag.veckostart { box-shadow: -5px 0 0 -1px rgba(47,122,85,.35), 0 1px 3px rgba(0,0,0,0.06); }
    .vecka-nr { position: absolute; top: 4px; left: 8px; font-size: 11px; font-weight: 800; color: var(--primar, #2f7a55); }
    .vecka-dag { background: var(--kort); border-radius: 14px; padding: 8px; min-height: 220px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .vecka-dag.helg { background: #efeae0; }
    .vecka-dag.ar-idag { outline: 3px solid var(--primar); }
    .vecka-huvud {
      width: 100%; display: flex; align-items: baseline; justify-content: center; gap: 6px;
      border: none; background: transparent; padding: 4px; font-size: 14px; font-weight: 700; color: var(--text-dampad);
    }
    .vecka-huvud b { font-size: 24px; color: var(--mork); }
    .vecka-antal { text-align: center; font-size: 12px; color: var(--text-dampad); margin-bottom: 6px; }
    .vecka-kap { text-align: center; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 2px 6px; margin: -2px 0 6px; }
    .vecka-kap.gron { background: #e3f3e8; color: #22663d; } .vecka-kap.gul { background: #fdf1c8; color: #7a5c00; }
    .vecka-kap.rod { background: #f8dcd8; color: #9a2a1f; } .vecka-kap.gra { background: #e7ebe9; color: #66706b; }
    .vk-over { font-size: 11px; font-weight: 900; }
    .kap-prick { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-left: 5px; vertical-align: 1px; }
    .kap-prick.gron { background: #3f9a62; } .kap-prick.gul { background: #e2b33a; } .kap-prick.rod { background: #c8442f; } .kap-prick.gra { background: #a9b2ad; }
    .plan-beraknad { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-dampad); }
    .kort-rad { font-size: 13px; margin-top: 2px; color: var(--text); }
    .kort-plan { text-align: left; }
    .kort-plan .plan-titel { font-size: 15px; }
    .kort-plan .plan-tid { margin-top: 4px; }
    .kort-plan .etiketter { margin-top: 8px; }
    .kort-plan .etikett, .kort-plan .status { font-weight: 600; font-size: 12px; }
    .plan-jobb .plan-tid { margin-top: 3px; }
    .plan-oversikt { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
    .ps-chip { background: var(--kort); border-radius: 10px; padding: 5px 10px; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: var(--text-dampad); }
    .ps-chip b { color: var(--mork); }
    .ps-chip.varn b { color: #c0392b; }
    .ps-chip.kap.gron { background: #e3f3e8; } .ps-chip.kap.gul { background: #fdf1c8; } .ps-chip.kap.rod { background: #f8dcd8; } .ps-chip.kap.gra { background: #e7ebe9; }
    .ps-inst { border: none; background: transparent; font-size: 16px; cursor: pointer; padding: 4px; }
    .plan-inst { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; background: var(--kort); border-radius: 12px; padding: 10px; margin: -4px 0 10px; }
    .plan-inst label span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
    .plan-kolumn[data-team]:not([data-team=""]), .plan-kolumn[data-person], .plan-kolumn.plan-tom { flex: 1 0 270px; max-width: 460px; }
    @media (min-width: 900px) {   /* Ej tilldelade ligger kvar till vänster när man rullar bland många team */
      .plan-kolumner > .plan-kolumn[data-team=""] { position: sticky; left: 0; z-index: 4; box-shadow: 4px 0 10px rgba(0,0,0,.08); }
    }
    button.ps-chip { border: none; font-family: inherit; cursor: pointer; }
    .pd-rad { display: flex; flex-direction: column; } .pd-rad span { font-size: 12px; font-weight: 700; } .pd-rad b { font-size: 18px; } .pd-rad small { font-size: 11px; color: var(--text-dampad); }
    .plan-koll { background: #fdf1c8; border-radius: 12px; padding: 8px 12px; margin: -4px 0 10px; font-size: 13px; color: #5c4600; }
    .plan-koll.ok { background: #e3f3e8; color: #22663d; }
    .pk-rubrik { border: none; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; text-align: left; }
    .plan-koll ul { margin: 6px 0 0; padding-left: 20px; } .plan-koll li { margin: 2px 0; } .plan-koll li.ok { color: #22663d; }
    .plan-koll a { color: inherit; }
    .info-i { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; margin-left: 6px; vertical-align: 2px;
      background: rgba(0,0,0,.08); color: inherit; font: 600 11px/1 var(--typsnitt); font-style: italic; cursor: help; opacity: .75; }
    .pm-till { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; } .pm-till span { font-weight: 600; font-size: 13px; } .pm-till select { flex: 1; margin: 0; }
    /* Planering: mindre, stilrena knappar och nyckeltal */
    .plan-verktyg .liten-knapp { padding: 4px 10px !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.4; }
    .plan-verktyg .flik-antal { font-size: 10.5px !important; padding: 0 6px !important; min-width: 0 !important; line-height: 16px !important; height: 16px; margin-left: 4px; }
    .plan-oversikt { gap: 5px !important; }
    .plan-oversikt .ps-chip { padding: 4px 10px; font-size: 12.5px; border-radius: 14px; }
    .plan-oversikt .ps-chip b { font-weight: 600; }
    .plan-koll { padding: 6px 12px !important; font-size: 12.5px !important; }
    .plan-koll b { font-weight: 600; }
    .berom-knapp { display: inline-flex; align-items: center; gap: 6px; border: none; background: #fff6dc; color: #6b4e00; border-radius: 20px; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 10px; }
    .berom-knapp b { font-weight: 600; } .berom-pil { opacity: .6; font-size: 12px; }
    .berom-stang { margin-left: auto; border: none; background: rgba(0,0,0,.06); color: inherit; border-radius: 14px; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; }
    .info-i:hover, .info-i:focus { opacity: 1; outline: none; background: rgba(0,0,0,.15); }
    .lediga-rubrik span.info-i { min-width: 0; padding: 0; width: 17px; height: 17px; border-radius: 50%; margin-left: 6px; background: rgba(0,0,0,.08); font-size: 11px; }
    .info-ruta { position: fixed; z-index: 9999; display: none; background: #2a3a35; color: #fff; font-size: 12.5px; font-weight: 400; line-height: 1.4; padding: 8px 11px; border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.2); pointer-events: none; }
    .plan-tom .plan-innehall { text-align: center; padding: 30px 16px; color: var(--text-dampad); }
    .vecka-jobb { border-radius: 8px; padding: 6px 8px; margin-bottom: 5px; font-size: 13px; cursor: pointer; line-height: 1.25; }

    /* Månad */
    .manad-grid { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 4px; }
    .manad-vd, .manad-v { text-align: center; font-size: 12px; font-weight: 800; color: var(--text-dampad); padding: 4px 0; }
    .manad-v { display: flex; align-items: center; justify-content: center; background: var(--mork); color: var(--ljus-text); border-radius: 8px; }
    .manad-v.rubrik { background: transparent; color: var(--text-dampad); }
    .manad-dag {
      position: relative; min-height: 76px; border: none; border-radius: 10px; background: var(--kort);
      padding: 6px; text-align: left; display: flex; flex-direction: column; gap: 4px; font-family: inherit;
    }
    .manad-dag.annan { opacity: 0.4; }
    .manad-dag.ar-idag { outline: 3px solid var(--primar); }
    .manad-nr { font-weight: 800; font-size: 15px; }
    .manad-antal { position: absolute; top: 6px; right: 6px; font-size: 11px; font-weight: 800; background: var(--bakgrund); border-radius: 8px; padding: 0 6px; }
    .manad-staplar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; margin-top: auto; }
    .manad-staplar i { display: block; }
    .manad-dag { cursor: pointer; }
    .manad-jobb {
      display: block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 5px; color: var(--mork);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: grab; user-select: none;
    }
    .manad-fler { font-size: 10px; font-weight: 800; color: var(--text-dampad); }
    .vecka-jobb { user-select: none; }
    @media (hover: hover) { .vecka-jobb { cursor: grab; } }
    .slapp-dag { outline: 3px dashed var(--primar) !important; outline-offset: -3px; background: var(--primar-ljus) !important; }
    .kal-pil.pil-aktiv { background: var(--primar); color: white; transform: scale(1.12); }
    .manad-ej { font-size: 10px; font-weight: 800; color: #c0392b; }
    .vecka-linne { background: #fff; border-left: 3px solid var(--primar); border-radius: 6px; padding: 6px 9px; margin-bottom: 6px; font-size: 12px; cursor: pointer; line-height: 1.35; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
    .vecka-linne .vl-text { color: var(--text-dampad); font-size: 11px; }
    .vl-lev { color: #b3261e; font-weight: 600; } .vl-hamt { color: #2e7d4f; font-weight: 600; }
    .vj-linne { font-size: 11px; margin-top: 3px; padding-top: 3px; border-top: 1px solid rgba(0,0,0,.08); color: rgba(0,0,0,.65); }
    .manad-linne { font-size: 10px; color: var(--text-dampad); }

    /* År */
    .ar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
    .mini-manad { background: var(--kort); border-radius: 14px; padding: 10px; }
    .mini-rubrik { border: none; background: none; font-size: 16px; font-weight: 800; padding: 0 0 6px; color: var(--mork); }
    .mini-grid { display: grid; grid-template-columns: 22px repeat(7, 1fr); gap: 2px; text-align: center; }
    .mini-vd { font-size: 10px; font-weight: 800; color: var(--text-dampad); }
    .mini-v { font-size: 9px; font-weight: 800; color: #8a9690; display: flex; align-items: center; justify-content: center; }
    .mini-dag { border: none; border-radius: 6px; font-size: 11px; padding: 4px 0; background: transparent; font-family: inherit; color: var(--mork); }
    .mini-dag.annan { opacity: 0.25; }
    .niva1 { background: var(--primar-ljus) !important; }
    .niva2 { background: #a8dcb8 !important; }
    .niva3 { background: #6fbf8a !important; color: white; }
    .mini-dag.ar-idag { outline: 2px solid var(--mork); font-weight: 800; }

    @media (max-width: 600px) {
      .manad-grid { grid-template-columns: 26px repeat(7, 1fr); gap: 2px; }
      .manad-dag { min-height: 58px; padding: 4px; }
      .manad-nr { font-size: 13px; }
      .manad-antal { top: 3px; right: 3px; }
      .manad-ej { display: none; }
      .kal-titel { font-size: 17px; }
    }

    /* ---------- BOKNINGSFÖRFRÅGNINGAR ---------- */
    .st-vantar { border-left-color: #b39ddb; }
    .st-vantar .drift-status { background: #e3d5f5; color: #4a2a7a; }
    .bokning-ruta { background: var(--bakgrund); border-radius: 12px; padding: 10px 12px; margin: 4px 0 6px; font-size: 15px; }
    .mallar { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
    .mallar button {
      text-align: left; border: 2px solid var(--linje); background: var(--kort); border-radius: 12px;
      padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--mork); font-family: inherit;
    }
    .vantar-ruta { background: #e3d5f5; color: #4a2a7a; border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 700; }
    .simulera { margin-top: 8px; font-size: 14px; }
    .simulera summary { cursor: pointer; color: var(--text-dampad); font-weight: 700; padding: 6px 0; }
    .ej-bekraftad {
      display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; padding: 2px 8px;
      border-radius: 10px; background: #e3d5f5; color: #4a2a7a;
    }
    .villkor-ruta { margin-top: 10px; background: #fff4d6; border-radius: 12px; padding: 10px 12px; font-size: 15px; }

    /* ---------- KONVERSATIONER ---------- */
    .datum-avdelare { text-align: center; margin: 8px 0 2px; }
    .datum-avdelare span {
      display: inline-block; font-size: 12px; font-weight: 800; color: var(--text-dampad);
      background: var(--bakgrund); padding: 3px 12px; border-radius: 12px;
    }
    .bubbla-vem { font-size: 12px; font-weight: 700; margin-bottom: 3px; opacity: .85; }
    .bubbla-arende { font-size: 11px; font-weight: 800; color: #7a3410; opacity: 0.8; margin-bottom: 2px; }
    .konv-topp { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
    .konv-fonster { max-height: 60vh; overflow-y: auto; }
    /* Alla konversationer fungerar som SMS: äldst överst, det senaste längst ner direkt ovanför skrivfältet */
    .sms-fonster { max-height: 60vh; overflow-y: auto; }
    /* En ruta med allt: vem man skriver med överst, meddelandena i mitten, skrivfältet längst ner */
    .sms-kort { background: var(--kort); border-radius: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); margin: 8px 0 12px; overflow: hidden; }
    .sms-kort .sms-topp { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--linje); }
    .sms-kort .sms-topp.konv-topp { justify-content: space-between; margin: 0; }
    .sms-kort .sms-topp .pm-till { flex: 1; margin: 0; }
    .sms-tillbaka { border: none; background: var(--falt); color: var(--primar-mork); font: inherit; font-size: 22px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; flex: none; }
    .sms-tillbaka:hover { background: var(--primar-ljus); }
    /* Meddelanden: flikarna Kunder / Personal hör ihop med konversationen under – samma bredd, tätt ovanför */
    #medLageVal .med-lage { max-width: none; margin: 0 0 8px; }
    #medLageVal .stor-knapp { max-width: 420px; }
    .sms-kort .sms-fonster, .sms-kort .konv-fonster { max-height: max(200px, calc(100vh - 500px)); overflow-y: auto; margin: 0; padding: 12px 16px; background: transparent; box-shadow: none; border-radius: 0; }
    .sms-kort .pm-skriv, .sms-kort .sms-skriv { border-top: 1px solid var(--linje); border-radius: 0; box-shadow: none; padding: 12px 16px; margin: 0; background: transparent; }
    .sms-kort .sms-skriv textarea { margin-top: 0; }
    /* Emoji i meddelanden – som i SMS: 😊 i skrivfältet öppnar en ruta med emojis */
    .emoji-falt { position: relative; }
    .emoji-falt textarea { padding-right: 48px; }
    .emoji-knapp { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
    .emoji-knapp:hover, .emoji-knapp.oppen { background: rgba(0,0,0,.07); }
    .emoji-ruta { margin: 4px 0 8px; background: var(--kort, #fff); border: 1px solid var(--linje); border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.08); overflow: hidden; }
    .emoji-flikar { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--linje); overflow-x: auto; }
    .emoji-flikar button { flex: 0 0 auto; font-size: 20px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; padding: 0; }
    .emoji-lista { position: relative; max-height: 240px; overflow-y: auto; padding: 0 8px 8px; }
    .emoji-grupp-rubrik { font-size: 12px; color: var(--dampad, #6b7b7d); padding: 10px 4px 4px; }
    .emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
    .emoji-grid button { font-size: 24px; line-height: 1; min-height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; padding: 0; }
    .emoji-grid button:hover, .emoji-flikar button:hover { background: rgba(0,0,0,.07); }
    @media (max-width: 420px) { .emoji-grid { grid-template-columns: repeat(7, 1fr); } }
    .bara-emoji { font-size: 40px; line-height: 1.2; letter-spacing: 2px; }
    .sokfalt {
      width: 100%; box-sizing: border-box; min-height: 46px; border: 2px solid var(--linje); border-radius: 12px;
      background: var(--falt); font-size: 16px; padding: 0 12px; margin-bottom: 12px; font-family: inherit;
    }
    .inkorg-rad {
      display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: none;
      background: var(--kort); border-radius: 16px; padding: 12px; margin-bottom: 8px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08); font-family: inherit; color: var(--mork);
    }
    .inkorg-rad.vantar { border-left: 6px solid #e0a800; }
    .inkorg-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    .inkorg-topp { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
    .inkorg-tid { margin-left: auto; font-size: 12px; color: var(--text-dampad); font-weight: 700; }
    .inkorg-forhand { font-size: 14px; color: var(--text-dampad); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .vantar-svar {
      align-self: flex-start; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 10px;
      background: #fff4d6; color: #7a5c00;
    }

    /* ---------- DRIFTÖVERSIKT ---------- */
    .ledar-flikar { display: flex; width: fit-content; max-width: 100%; gap: 2px; margin: 0 auto 14px; background: var(--kort); padding: 3px;
      border-radius: 999px; flex-wrap: nowrap; overflow-x: auto; box-shadow: 0 1px 3px rgba(0,0,0,0.06); scrollbar-width: none; }
    .ledar-flikar::-webkit-scrollbar { display: none; }
    .ledar-flikar button {
      flex: 0 0 auto; min-height: 36px; border: none; border-radius: 999px; background: transparent; white-space: nowrap;
      font-size: 14px; font-weight: 400; color: var(--text-dampad); padding: 0 14px; cursor: pointer; font-family: inherit;
    }
    .ledar-flikar button:hover { color: var(--mork); }
    .ledar-flikar button.aktiv { background: var(--mork); color: var(--ljus-text); }
    @media (max-width: 480px) { .ledar-flikar { width: 100%; } .ledar-flikar button { flex: 1 1 auto; padding: 0 6px; font-size: 12.5px; } }
    .flik-antal:not(:empty) {
      display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 10px;
      background: #c0392b; color: white; font-size: 12px;
    }
    .drift-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 6px; }
    .drift-filter button {
      flex-shrink: 0; border: 2px solid var(--linje); background: var(--kort); border-radius: 20px;
      padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--mork); min-height: 36px;
    }
    .drift-filter button.vald { background: var(--mork); color: var(--ljus-text); border-color: var(--mork); }
    .drift-kort {
      background: var(--kort); border-radius: 16px; padding: 14px; margin-bottom: 12px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08); border-left: 8px solid #d5dbd8;
    }
    .st-atgarda { border-left-color: #e0a800; }
    .st-pagar   { border-left-color: #8fbbe8; }
    .st-klar    { border-left-color: #8fd1a6; opacity: 0.85; }
    .st-info    { border-left-color: #d5dbd8; }
    .drift-topp { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
    .drift-status { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 12px; background: var(--bakgrund); }
    .st-atgarda .drift-status { background: #fff4d6; color: #7a5c00; }
    .st-pagar .drift-status   { background: #cfe3fa; color: #0d3c78; }
    .st-klar .drift-status    { background: var(--primar-ljus); color: var(--primar-mork); }
    .ny-markering { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 10px; background: #c0392b; color: white; }
    .drift-rubrik { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
    .drift-text { font-size: 15px; margin-bottom: 8px; }
    .drift-rad { display: flex; gap: 8px; flex-wrap: wrap; }
    .drift-knapp {
      flex: 1; min-height: 48px; border: none; border-radius: 12px; padding: 8px 12px;
      font-size: 15px; font-weight: 800; margin-top: 8px; text-align: center;
    }
    .b-rod { background: #c0392b; color: white; }
    .b-rodljus { background: #f6d4d0; color: #8e2418; }
    .b-gronljus { background: var(--primar-ljus); color: var(--primar-mork); width: 100%; }
    .drift-kort textarea { margin-top: 8px; }
    .drift-villkor { font-size: 14px; background: var(--bakgrund); border-radius: 10px; padding: 8px 10px; margin-bottom: 4px; }
    .drift-andrat {
      background: #fff4d6; border: 2px solid #e0a800; border-radius: 12px; padding: 10px;
      font-size: 14px; margin: 8px 0;
    }
    .granskat { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 800; }
    .granskat input { width: 24px; height: 24px; accent-color: var(--primar); }
    .ansvar { font-size: 14px; background: #cfe3fa; color: #0d3c78; border-radius: 10px; padding: 8px 10px; margin-bottom: 4px; }
    .atgardat { background: var(--primar-ljus); border-radius: 12px; padding: 10px; font-size: 14px; color: var(--mork); }
    .historik-knapp { border: none; background: none; color: #1565c0; font-weight: 700; font-size: 14px; padding: 10px 0 0; }
    .historik { margin-top: 6px; border-left: 3px solid var(--linje); padding-left: 10px; font-size: 13px; }
    .historik div { margin-bottom: 8px; }

    @media (max-width: 360px) {
      .kp-meny button { min-height: 124px; } .kp-meny .kp-titel { font-size: 16px; } .kp-meny .kp-under { font-size: 12px; }
      .meny button { min-height: 104px; font-size: 14px; }
      .meny .ikon { font-size: 28px; }
    }
  
    /* ===== STILRENT: kundens bubblor ljusgrå, våra i Hustomtens turkos, inga gula rutor ===== */
    .fran-kund, .pm-bubbla { background: #eceff0; color: var(--mork); }
    .fran-oss, .pm-bubbla.egen { background: #dbeaf7; color: var(--mork); }   /* Våra meddelanden: ljusblå */
    .fran-oss .bubbla-info, .pm-bubbla.egen .info, .pm-bubbla.egen .vem { color: #4a6378; }
    .fran-oss a, .pm-bubbla.egen a { color: #1f5f8f; }
    .avsandare { background: transparent; padding: 0; margin: 2px 0 6px; color: var(--text-dampad); font-size: 13px; }
    .kund-chip { background: #eceff0; color: var(--mork); }
    .vantar-ruta { background: #eef4f5; border: 1px solid var(--linje); color: var(--mork); border-radius: 14px; }
    .vantar-svar { background: #eceff0; color: var(--text-dampad); }
    .drift-kort { border-left-width: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .st-atgarda { border-left-color: var(--accent); }
    .st-pagar   { border-left-color: #9db4c2; }
    .st-klar    { border-left-color: #c5d6d3; }
    .st-info    { border-left-color: #dfe5e5; }
    .st-atgarda .drift-status { background: var(--primar-ljus); color: var(--primar-mork); }
    .st-pagar .drift-status { background: #e6edf1; color: #3b5566; }
    .st-vantar .drift-status { background: #eceff0; color: var(--text-dampad); }
    .drift-kort.ny-puls { box-shadow: 0 0 0 2px var(--accent), 0 1px 3px rgba(0,0,0,0.06); }
    .ny-markering { background: var(--primar); }
    .kund-citat { background: #eceff0; border-left-color: var(--accent); color: var(--mork); }
    .kund-citat .kc-rubrik { color: var(--primar-mork); }
    .pm-bubbla.ny { box-shadow: 0 0 0 2px var(--accent); }
    /* Knappar i ärenden: lugna och enhetliga – bara huvudvalet i turkos */
    .drift-kort .b-orange, .drift-kort .b-bla, .drift-kort .b-gra, .drift-kort .b-gronljus { background: #eceff0; color: var(--mork); }
    .drift-kort .b-rodljus { background: #f5eceb; color: #8e2418; }
    .drift-kort .drift-knapp:hover, .drift-kort .stor-knapp:hover { filter: brightness(.97); }

    /* ===== TYPOGRAFI EXAKT SOM HUSTOMTENVEMDALEN.SE =====
       Poppins 200 för text och 600 för fetstil (bara de två vikterna laddas – allt annat faller på närmaste),
       Playfair Display 600 för rubriker, radavstånd 1.45, inga versaler, normalt teckenavstånd, knappar med 4 px hörn. */
    :root:not([data-stil="gammal"]) body { font-weight: 200; line-height: 1.45; color: #2a2a2a; }
    :root:not([data-stil="gammal"]) * { letter-spacing: normal !important; text-transform: none !important; }
    :root:not([data-stil="gammal"]) b, :root:not([data-stil="gammal"]) strong { font-weight: 600; }
    :root:not([data-stil="gammal"]) h1 { font-family: var(--rubrik-typsnitt); font-weight: 600; color: var(--accent); line-height: 1.15; font-size: 30px; margin: 6px 0 6px; }
    :root:not([data-stil="gammal"]) h2 { font-family: var(--rubrik-typsnitt); font-weight: 600; color: var(--accent); line-height: 1.15; font-size: 28px; }
    :root:not([data-stil="gammal"]) .sektion h3, :root:not([data-stil="gammal"]) .flytt-titel { font-family: var(--rubrik-typsnitt); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--accent); margin-bottom: 12px; }
    :root:not([data-stil="gammal"]) .stor-knapp, :root:not([data-stil="gammal"]) .drift-knapp, :root:not([data-stil="gammal"]) .liten-knapp,
    :root:not([data-stil="gammal"]) .knapp-liten, :root:not([data-stil="gammal"]) .svart-knapp, :root:not([data-stil="gammal"]) .stampla { border-radius: 4px; font-weight: 600; }
    :root:not([data-stil="gammal"]) .stor-knapp { font-size: 15px; }
    :root:not([data-stil="gammal"]) input, :root:not([data-stil="gammal"]) select, :root:not([data-stil="gammal"]) textarea, :root:not([data-stil="gammal"]) .nb-inp { border-radius: 4px !important; font-weight: 200; }
    :root:not([data-stil="gammal"]) .sektion, :root:not([data-stil="gammal"]) .drift-kort, :root:not([data-stil="gammal"]) .kp-kort { border-radius: 8px; }
    .kor-liten { display: flex; align-items: center; gap: 10px; width: 100%; border: none; text-align: left; font: inherit; cursor: pointer; }
    .kor-liten > span:first-child { flex: 1; }
    .kor-pil { color: var(--text-dampad); }
    .mt-kor { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--bakgrund); font-size: 14px; cursor: pointer; }
    .mt-kor .mt-rad { gap: 8px; flex-wrap: wrap; }
    .mt-kor-detalj { margin-top: 6px; }
    .mt-korsumma { background: var(--kort); border-radius: 8px; padding: 10px 14px; margin: -4px 0 12px; font-size: 14px; }
    /* Sänglinne */
    .ln-kort { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-bottom: 30px; }
    .ln-art { background: var(--kort); border-radius: 8px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
    .ln-art .ln-stor { font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--primar-mork); }
    .ln-art .ln-rad { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-dampad); padding: 3px 0; }
    .ln-art .ln-stor { margin: 6px 0 8px; }
    .ln-tid { background: var(--kort); border-radius: 8px; overflow-x: auto; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
    .ln-tid table { border-collapse: collapse; font-size: 12px; min-width: 100%; }
    .ln-tid th, .ln-tid td { padding: 14px 8px; text-align: center; border-bottom: 1px solid var(--linje); white-space: nowrap; }
    .ln-tid th.art, .ln-tid td.art { text-align: left; padding-left: 12px; position: sticky; left: 0; background: var(--kort); min-width: 150px; width: 26%; font-weight: 600; padding-left: 20px; }
    .ln-tid th.idag { color: var(--primar-mork); }
    .ln-artval { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 10px; }
    .ln-artval button { border: 1px solid #dfe7e7; background: #fff; color: var(--text-dampad); border-radius: 6px; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; }
    .ln-artval button.vald { background: var(--primar-ljus); color: var(--primar-mork); border-color: transparent; font-weight: 600; }
    .ln-ror { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 6px; font-size: 11px; font-weight: 600; line-height: 1.25; }
    .ln-levfalt { display: table; margin: 0 auto 7px; font-size: 11px; font-weight: 600; color: #b3261e; background: #fbeeed; border-radius: 4px; padding: 1px 7px; white-space: nowrap; }
    .ln-forklaring .ln-levfalt { display: inline-block; margin: 0; }
    .ln-levfalt.tom { visibility: hidden; }
    .ln-ute { color: var(--primar-mork); font-weight: 400; }
    .ln-lev { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #edf1f1; }
    .ln-lev:first-of-type { border-top: none; }
    .ln-ut { color: #b3261e; } .ln-in { color: #2e7d4f; } .ln-tv { color: var(--text-dampad); font-weight: 400; }
    .ln-forklaring { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: 12px; color: var(--text-dampad); margin: 4px 0 30px; padding: 0 4px; }
    .ln-forklaring > span { display: inline-flex; align-items: center; gap: 7px; }
    .ln-forklaring .ln-cell { min-width: 26px; padding: 2px 0; text-align: center; }
    .ln-kvar { font-size: 10px; color: var(--text-dampad); margin-top: -2px; }
    .ln-koppla { max-width: 230px; height: 34px; border: 1px solid #dfe7e7; border-radius: 4px; font: inherit; font-size: 12px; padding: 0 6px; }
    .ln-cell { display: inline-block; min-width: 24px; border-radius: 4px; padding: 3px 0; font-weight: 600; }
    .ln-ok { background: var(--primar-ljus); color: var(--primar-mork); } .ln-lag { background: #f9e6df; color: #a2401f; } .ln-slut { background: #f5dcd8; color: #8e2418; }
    .ln-bok { display: grid; grid-template-columns: 1.1fr 1.5fr auto auto auto; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--linje); background: var(--kort); }
    .ln-bok:first-child { border-radius: 8px 8px 0 0; } .ln-bok:last-child { border-radius: 0 0 8px 8px; border-bottom: 0; }
    @media (max-width: 760px) { .ln-bok { grid-template-columns: 1fr; gap: 4px; } }
    .ln-antal { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--linje); }
    /* Språk: översätt, läs upp och tala in */
    .sprak-verktyg { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
    .sprak-verktyg button, .sprak-mik { border: 1px solid var(--linje); background: var(--kort); color: var(--mork); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; cursor: pointer; min-height: 30px; }
    .sprak-verktyg button:hover, .sprak-mik:hover { background: var(--primar-ljus); }
    .sprak-mik { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
    .sprak-skriv { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
    .sprak-tips { flex-basis: 100%; font-size: 13px; color: var(--gra, #5f6b66); line-height: 1.6; padding-top: 2px; }
    .sprak-mik.lyssnar { background: #fde2e1; border-color: #e8a49c; animation: markePuls 1.2s ease-in-out infinite; }
    .oversatt { margin: 2px 0; }
    .oversatt-rub { font-size: 12px; color: var(--text-dampad); margin-top: 3px; }
    .visar-oversattning .orig-text { display: none !important; }
    .ln-pris { background: #f6f3ea; border-radius: 10px; padding: 6px 12px; margin: 8px 0; }
    .ln-pris .info-rad { padding: 5px 0; }
    .ln-antal input { width: 70px; min-height: 40px; border: 2px solid var(--linje); border-radius: 4px; font: inherit; text-align: center; }
    /* Lugnare markeringar: valda flikar och chips i mycket svag turkos i stället för mörk bakgrund */
    :root:not([data-stil="gammal"]) .ledar-flikar button.aktiv,
    :root:not([data-stil="gammal"]) .lage-val button.vald,
    :root:not([data-stil="gammal"]) .kal-vyer button.vald { background: #e3f0f1; color: var(--primar-mork); box-shadow: none; }
    :root:not([data-stil="gammal"]) .ledar-flikar, :root:not([data-stil="gammal"]) .lage-val, :root:not([data-stil="gammal"]) .kal-vyer { background: #f6f9f9; box-shadow: none; border: 1px solid #e3eaeb; }
    :root:not([data-stil="gammal"]) .vecka-chip { background: transparent; color: var(--text-dampad); border: 1px solid #dbe5e6; font-weight: 600; }
    :root:not([data-stil="gammal"]) .idag-chip { background: transparent; color: var(--primar-mork); border: 1px solid #c9e0e2; }
    /* Verktygsrad (som BOS): vy, bläddring, datum och Idag på en rad – sammanfattning till höger */
    .vrad { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: var(--kort); border: 1px solid #e3eaeb; border-radius: 10px; margin: 0 0 16px; }
    .vrad .seg { display: inline-flex; background: #eef3f3; border-radius: 8px; padding: 3px; }
    .vrad .seg button { border: 0; background: none; font: inherit; font-weight: 400; font-size: 14px; padding: 6px 12px; border-radius: 6px; color: var(--text-dampad); min-height: 0; }
    .vrad .seg button.vald { background: #fff; color: var(--mork); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
    .vrad .pil { width: 34px; height: 34px; border: 1px solid #dbe5e6; background: #fff; border-radius: 6px; font-size: 18px; color: var(--mork); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
    .vrad .vtitel { font-weight: 600; font-size: 17px; color: var(--mork); white-space: nowrap; }
    .vrad .vchip { font-size: 12px; font-weight: 600; color: var(--primar-mork); background: #e3f0f1; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
    .vrad .vknapp { height: 34px; border: 1px solid #dbe5e6; background: #fff; border-radius: 6px; font: inherit; font-weight: 400; font-size: 14px; padding: 0 14px; color: var(--mork); }
    .vrad .vknapp:disabled { opacity: .45; }
    .vrad .vhoger { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-dampad); font-size: 14px; }
    .vrad .vhoger b { color: var(--mork); font-weight: 600; }
    .vrad .seg button:active, .vrad .pil:active, .vrad .vknapp:active { transform: none; }
    /* Tider: stilrena kort som ärendena */
    .at-kort { border-left-width: 4px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
    .at-kort.varn { border-left-color: #d9a441; }
    .at-kort.klar { background: var(--kort); border-left-color: var(--primar); }
    .at-varning { background: #faf3e6; color: #7a5c00; font-weight: 600; }
    .at-kort .b-bla, .at-kort .b-gra, .at-kort .b-gronljus { background: #eceff0; color: var(--mork); }
    .vrad .vhoger { gap: 14px; }
    .nara-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; width: 100%; text-align: left; border: 1px solid #bfdcdf; background: #eaf5f6; color: var(--primar-mork); border-radius: 6px; font: inherit; font-size: 12px; padding: 5px 8px; margin-top: 6px; cursor: pointer; }
    .nara-chip span { margin-left: auto; font-weight: 600; }
    .nara-chip:hover { background: #dcefF1; }
    .restid-nara { color: var(--primar-mork); font-weight: 600; }
    .restid-langt { color: #a0382b; font-weight: 600; }

    /* Hustomten Look: genomgående lättare typografi (Kays önskan 2026-11-12) – vanlig vikt för text och rubriker, halvfet bara för siffror, märken och knappar */
    :root:not([data-stil="gammal"]) .art-forslag .af-ny,
    :root:not([data-stil="gammal"]) .art-forslag .af-pris,
    :root:not([data-stil="gammal"]) .art-rad label span,
    :root:not([data-stil="gammal"]) .art-tab td.namn,
    :root:not([data-stil="gammal"]) .at-rad select,
    :root:not([data-stil="gammal"]) .at-stampel,
    :root:not([data-stil="gammal"]) .at-topp .namn,
    :root:not([data-stil="gammal"]) .ateraktivera,
    :root:not([data-stil="gammal"]) .av-jobb .fakt,
    :root:not([data-stil="gammal"]) .av-jobb .fakt.ej,
    :root:not([data-stil="gammal"]) .av-jobb .titel,
    :root:not([data-stil="gammal"]) .av-person .namn,
    :root:not([data-stil="gammal"]) .av-skift .rubrik,
    :root:not([data-stil="gammal"]) .avbokat-rubrik,
    :root:not([data-stil="gammal"]) .avtal-bort,
    :root:not([data-stil="gammal"]) .avtal-mob,
    :root:not([data-stil="gammal"]) .avtal-rubrik,
    :root:not([data-stil="gammal"]) .betyg-fragor .bf-namn.huvud,
    :root:not([data-stil="gammal"]) .bil-avbryt,
    :root:not([data-stil="gammal"]) .boende-ruta small,
    :root:not([data-stil="gammal"]) .bubbla-arende,
    :root:not([data-stil="gammal"]) .bubbla-info,
    :root:not([data-stil="gammal"]) .bubbla-vem,
    :root:not([data-stil="gammal"]) .dag-ledig,
    :root:not([data-stil="gammal"]) .dag-rubrik,
    :root:not([data-stil="gammal"]) .datum-avdelare span,
    :root:not([data-stil="gammal"]) .drift-rubrik,
    :root:not([data-stil="gammal"]) .ds-borta-lista,
    :root:not([data-stil="gammal"]) .ds-kort span,
    :root:not([data-stil="gammal"]) .ej-andra,
    :root:not([data-stil="gammal"]) .ej-tom,
    :root:not([data-stil="gammal"]) .falt span,
    :root:not([data-stil="gammal"]) .granskat,
    :root:not([data-stil="gammal"]) .husdjur-krav .hk-pil,
    :root:not([data-stil="gammal"]) .info-rad span:first-child,
    :root:not([data-stil="gammal"]) .info-rad span:last-child,
    :root:not([data-stil="gammal"]) .inkorg-tid,
    :root:not([data-stil="gammal"]) .instr-ny,
    :root:not([data-stil="gammal"]) .instr-stor-rubrik,
    :root:not([data-stil="gammal"]) .instr-topp .instr-rubrik,
    :root:not([data-stil="gammal"]) .instr-topp .instr-text,
    :root:not([data-stil="gammal"]) .kal-forklaring,
    :root:not([data-stil="gammal"]) .kal-pil,
    :root:not([data-stil="gammal"]) .kal-titel,
    :root:not([data-stil="gammal"]) .kk-fler,
    :root:not([data-stil="gammal"]) .kk-vrubrik,
    :root:not([data-stil="gammal"]) .kor-andra,
    :root:not([data-stil="gammal"]) .kort .tid,
    :root:not([data-stil="gammal"]) .kort .titel,
    :root:not([data-stil="gammal"]) .kp-meny .kp-titel,
    :root:not([data-stil="gammal"]) .kp-pristabell .pt-huvud,
    :root:not([data-stil="gammal"]) .kp-steg,
    :root:not([data-stil="gammal"]) .kund-citat,
    :root:not([data-stil="gammal"]) .kund-citat .kc-rubrik,
    :root:not([data-stil="gammal"]) .lage-namn,
    :root:not([data-stil="gammal"]) .lage-pers span,
    :root:not([data-stil="gammal"]) .lage-tips,
    :root:not([data-stil="gammal"]) .lagg-medlem,
    :root:not([data-stil="gammal"]) .las-banner,
    :root:not([data-stil="gammal"]) .last-falt,
    :root:not([data-stil="gammal"]) .lon-rad .art,
    :root:not([data-stil="gammal"]) .lon-rad .bel,
    :root:not([data-stil="gammal"]) .man-dag,
    :root:not([data-stil="gammal"]) .man-mer,
    :root:not([data-stil="gammal"]) .man-v,
    :root:not([data-stil="gammal"]) .manad-ej,
    :root:not([data-stil="gammal"]) .manad-fler,
    :root:not([data-stil="gammal"]) .manad-jobb,
    :root:not([data-stil="gammal"]) .manad-plus,
    :root:not([data-stil="gammal"]) .manad-v,
    :root:not([data-stil="gammal"]) .medlem,
    :root:not([data-stil="gammal"]) .mini-rubrik,
    :root:not([data-stil="gammal"]) .mini-v,
    :root:not([data-stil="gammal"]) .mt-rad .dag,
    :root:not([data-stil="gammal"]) .mt-rad .tim,
    :root:not([data-stil="gammal"]) .mt-vecka,
    :root:not([data-stil="gammal"]) .nb-checklista,
    :root:not([data-stil="gammal"]) .nk-krok,
    :root:not([data-stil="gammal"]) .notis-oppna,
    :root:not([data-stil="gammal"]) .notis-topp,
    :root:not([data-stil="gammal"]) .notis-vem,
    :root:not([data-stil="gammal"]) .nyckel-kontor,
    :root:not([data-stil="gammal"]) .obj-rubrik,
    :root:not([data-stil="gammal"]) .omrade-falt,
    :root:not([data-stil="gammal"]) .omrade-val,
    :root:not([data-stil="gammal"]) .ord-filter label span,
    :root:not([data-stil="gammal"]) .ord-rad > .o-datum,
    :root:not([data-stil="gammal"]) .ord-rad.huvud,
    :root:not([data-stil="gammal"]) .ord-titel,
    :root:not([data-stil="gammal"]) .ov-legend,
    :root:not([data-stil="gammal"]) .ov-rubrik,
    :root:not([data-stil="gammal"]) .pack-klar,
    :root:not([data-stil="gammal"]) .palett label,
    :root:not([data-stil="gammal"]) .pd-rad span,
    :root:not([data-stil="gammal"]) .plan-inst label span,
    :root:not([data-stil="gammal"]) .plan-rubrik,
    :root:not([data-stil="gammal"]) .plan-stampel,
    :root:not([data-stil="gammal"]) .pm-bubbla .info,
    :root:not([data-stil="gammal"]) .pm-bubbla .vem,
    :root:not([data-stil="gammal"]) .pm-grid label span,
    :root:not([data-stil="gammal"]) .pm-huvud,
    :root:not([data-stil="gammal"]) .pm-utskick .till,
    :root:not([data-stil="gammal"]) .rad input[type=text],
    :root:not([data-stil="gammal"]) .restid,
    :root:not([data-stil="gammal"]) .rollvaxlare,
    :root:not([data-stil="gammal"]) .rollvaxlare select,
    :root:not([data-stil="gammal"]) .saknas-lista,
    :root:not([data-stil="gammal"]) .sektion h3,
    :root:not([data-stil="gammal"]) .stampla,
    :root:not([data-stil="gammal"]) .svar-rubrik,
    :root:not([data-stil="gammal"]) .ta-bort.bekrafta,
    :root:not([data-stil="gammal"]) .team-bort,
    :root:not([data-stil="gammal"]) .team-start select,
    :root:not([data-stil="gammal"]) .tid-redigera label span,
    :root:not([data-stil="gammal"]) .tillbaka,
    :root:not([data-stil="gammal"]) .toast,
    :root:not([data-stil="gammal"]) .tp-bort,
    :root:not([data-stil="gammal"]) .tp-rubrik,
    :root:not([data-stil="gammal"]) .undantag,
    :root:not([data-stil="gammal"]) .ut-rubrik,
    :root:not([data-stil="gammal"]) .utch-kort .utch-kalla,
    :root:not([data-stil="gammal"]) .vantar-ruta,
    :root:not([data-stil="gammal"]) .vantar-svar,
    :root:not([data-stil="gammal"]) .vb-bild,
    :root:not([data-stil="gammal"]) .vecka-huvud,
    :root:not([data-stil="gammal"]) .vecka-kap,
    :root:not([data-stil="gammal"]) .vecka-stampel .rubrik,
    :root:not([data-stil="gammal"]) .vidare-klar .vk-bock,
    :root:not([data-stil="gammal"]) .vk-over,
    :root:not([data-stil="gammal"]) .vk-till > span,
    :root:not([data-stil="gammal"]) h1,
    :root:not([data-stil="gammal"]) h2 { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) .am-att,
    :root:not([data-stil="gammal"]) .am-cell,
    :root:not([data-stil="gammal"]) .am-fot,
    :root:not([data-stil="gammal"]) .am-huvud,
    :root:not([data-stil="gammal"]) .art-rad-summa,
    :root:not([data-stil="gammal"]) .art-tab th,
    :root:not([data-stil="gammal"]) .at-summa span,
    :root:not([data-stil="gammal"]) .at-timmar,
    :root:not([data-stil="gammal"]) .at-timmar small,
    :root:not([data-stil="gammal"]) .at-varning,
    :root:not([data-stil="gammal"]) .av-fot,
    :root:not([data-stil="gammal"]) .av-huvud,
    :root:not([data-stil="gammal"]) .av-huvud small,
    :root:not([data-stil="gammal"]) .av-km,
    :root:not([data-stil="gammal"]) .av-overlapp,
    :root:not([data-stil="gammal"]) .av-summa-rad b,
    :root:not([data-stil="gammal"]) .av-topp button,
    :root:not([data-stil="gammal"]) .avatar,
    :root:not([data-stil="gammal"]) .avsandare b,
    :root:not([data-stil="gammal"]) .bekr-saknas,
    :root:not([data-stil="gammal"]) .bekr-status,
    :root:not([data-stil="gammal"]) .besked-val button,
    :root:not([data-stil="gammal"]) .betyg-summa .bs-stor,
    :root:not([data-stil="gammal"]) .bil-knappar button,
    :root:not([data-stil="gammal"]) .bil-knappar button small,
    :root:not([data-stil="gammal"]) .bil-lista button,
    :root:not([data-stil="gammal"]) .drift-filter button,
    :root:not([data-stil="gammal"]) .drift-knapp,
    :root:not([data-stil="gammal"]) .drift-status,
    :root:not([data-stil="gammal"]) .ej-andra button,
    :root:not([data-stil="gammal"]) .ej-bekraftad,
    :root:not([data-stil="gammal"]) .emoji-grupp,
    :root:not([data-stil="gammal"]) .etikett,
    :root:not([data-stil="gammal"]) .fel-ruta,
    :root:not([data-stil="gammal"]) .fk-summa,
    :root:not([data-stil="gammal"]) .flytt-knappar button,
    :root:not([data-stil="gammal"]) .fonster,
    :root:not([data-stil="gammal"]) .foretag-knapp,
    :root:not([data-stil="gammal"]) .fv-chip,
    :root:not([data-stil="gammal"]) .fv-knapp,
    :root:not([data-stil="gammal"]) .fv-val button,
    :root:not([data-stil="gammal"]) .fx-chip,
    :root:not([data-stil="gammal"]) .helg-chip,
    :root:not([data-stil="gammal"]) .historik-knapp,
    :root:not([data-stil="gammal"]) .hus-chip,
    :root:not([data-stil="gammal"]) .idag-knapp,
    :root:not([data-stil="gammal"]) .instr-punkt button,
    :root:not([data-stil="gammal"]) .instr-ruta summary,
    :root:not([data-stil="gammal"]) .kal-boka,
    :root:not([data-stil="gammal"]) .kal-vyer button,
    :root:not([data-stil="gammal"]) .kk-arantal,
    :root:not([data-stil="gammal"]) .kk-chip,
    :root:not([data-stil="gammal"]) .kk-chip small,
    :root:not([data-stil="gammal"]) .kk-nr,
    :root:not([data-stil="gammal"]) .kk-topp button,
    :root:not([data-stil="gammal"]) .kk-vd,
    :root:not([data-stil="gammal"]) .knapp-liten,
    :root:not([data-stil="gammal"]) .kod,
    :root:not([data-stil="gammal"]) .kor-status,
    :root:not([data-stil="gammal"]) .kp-status,
    :root:not([data-stil="gammal"]) .kund-chip,
    :root:not([data-stil="gammal"]) .kundnummer,
    :root:not([data-stil="gammal"]) .lage-pill,
    :root:not([data-stil="gammal"]) .lage-topp button,
    :root:not([data-stil="gammal"]) .lagg-till,
    :root:not([data-stil="gammal"]) .las-tid,
    :root:not([data-stil="gammal"]) .liten-knapp,
    :root:not([data-stil="gammal"]) .login-val small,
    :root:not([data-stil="gammal"]) .lon-summa b,
    :root:not([data-stil="gammal"]) .lon-summa span,
    :root:not([data-stil="gammal"]) .man-h,
    :root:not([data-stil="gammal"]) .manad-antal,
    :root:not([data-stil="gammal"]) .manad-nr,
    :root:not([data-stil="gammal"]) .manad-vd,
    :root:not([data-stil="gammal"]) .meddela-knapp,
    :root:not([data-stil="gammal"]) .meddela-knapp span,
    :root:not([data-stil="gammal"]) .medlem button,
    :root:not([data-stil="gammal"]) .meny button,
    :root:not([data-stil="gammal"]) .mini-dag.ar-idag,
    :root:not([data-stil="gammal"]) .mini-vd,
    :root:not([data-stil="gammal"]) .mt-status,
    :root:not([data-stil="gammal"]) .mt-summa b,
    :root:not([data-stil="gammal"]) .mt-summa span,
    :root:not([data-stil="gammal"]) .ny-markering,
    :root:not([data-stil="gammal"]) .obj-chips button,
    :root:not([data-stil="gammal"]) .omrade-chip,
    :root:not([data-stil="gammal"]) .ord-status,
    :root:not([data-stil="gammal"]) .ordning-nr,
    :root:not([data-stil="gammal"]) .ov-etikett,
    :root:not([data-stil="gammal"]) .ov-tal,
    :root:not([data-stil="gammal"]) .ov-tot,
    :root:not([data-stil="gammal"]) .pack-rakna,
    :root:not([data-stil="gammal"]) .pagar-ruta .klocka-tid,
    :root:not([data-stil="gammal"]) .plan-status,
    :root:not([data-stil="gammal"]) .plan-varning,
    :root:not([data-stil="gammal"]) .rakna,
    :root:not([data-stil="gammal"]) .rapport-knappar > *,
    :root:not([data-stil="gammal"]) .rapport-typ button,
    :root:not([data-stil="gammal"]) .roll-chip span,
    :root:not([data-stil="gammal"]) .rollvaxlare button,
    :root:not([data-stil="gammal"]) .saknas summary,
    :root:not([data-stil="gammal"]) .sent-varning,
    :root:not([data-stil="gammal"]) .simulera summary,
    :root:not([data-stil="gammal"]) .snabbsvar button,
    :root:not([data-stil="gammal"]) .status,
    :root:not([data-stil="gammal"]) .statusval button,
    :root:not([data-stil="gammal"]) .stor-knapp,
    :root:not([data-stil="gammal"]) .svar-rubrik button,
    :root:not([data-stil="gammal"]) .svara-knapp,
    :root:not([data-stil="gammal"]) .svart-knapp,
    :root:not([data-stil="gammal"]) .tj-chips i,
    :root:not([data-stil="gammal"]) .tj-dagar button,
    :root:not([data-stil="gammal"]) .tj-std button,
    :root:not([data-stil="gammal"]) .tj-varning,
    :root:not([data-stil="gammal"]) .tjanst-detalj-knapp,
    :root:not([data-stil="gammal"]) .tp-lagg button,
    :root:not([data-stil="gammal"]) .tp-lagg-knapp,
    :root:not([data-stil="gammal"]) .valj-person button,
    :root:not([data-stil="gammal"]) .vecka-nav button,
    :root:not([data-stil="gammal"]) .vecka-nr,
    :root:not([data-stil="gammal"]) .vecka-summa,
    :root:not([data-stil="gammal"]) .vk-ovr summary { font-weight: 600 !important; }
    :root:not([data-stil="gammal"]) [style*="font-weight:700"], :root:not([data-stil="gammal"]) [style*="font-weight: 700"], :root:not([data-stil="gammal"]) [style*="font-weight:800"], :root:not([data-stil="gammal"]) [style*="font-weight: 800"], :root:not([data-stil="gammal"]) [style*="font-weight:900"], :root:not([data-stil="gammal"]) [style*="font-weight: 900"] { font-weight: 600 !important; }
    :root:not([data-stil="gammal"]) .drift-rubrik { font-size: 16px; color: var(--mork); }
    :root:not([data-stil="gammal"]) b, :root:not([data-stil="gammal"]) strong { font-weight: 600; }
    :root:not([data-stil="gammal"]) .drift-filter button { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) .drift-filter button b { font-weight: 600; }
    :root:not([data-stil="gammal"]) .rollvaxlare button { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) .rollvaxlare button.aktiv { font-weight: 600 !important; }
    :root:not([data-stil="gammal"]) .drift-status { font-weight: 600 !important; }
    :root:not([data-stil="gammal"]) .drift-knapp, :root:not([data-stil="gammal"]) .historik-knapp, :root:not([data-stil="gammal"]) .snabbsvar button, :root:not([data-stil="gammal"]) .kund-chip, :root:not([data-stil="gammal"]) .kund-chip span, :root:not([data-stil="gammal"]) .drift-kort summary b, :root:not([data-stil="gammal"]) .drift-kort summary, :root:not([data-stil="gammal"]) .bokning-ruta b, :root:not([data-stil="gammal"]) .bokning-ruta .liten, :root:not([data-stil="gammal"]) .avsandare b, :root:not([data-stil="gammal"]) .fonster { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) .drift-knapp.b-gron { font-weight: 600 !important; }
    :root:not([data-stil="gammal"]) .meny button { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) .tj-text b, :root:not([data-stil="gammal"]) .tj-chips i, :root:not([data-stil="gammal"]) .lagg-till, :root:not([data-stil="gammal"]) .sektion summary b, :root:not([data-stil="gammal"]) #kaLista .sektion b:first-child, :root:not([data-stil="gammal"]) .sektion h3, :root:not([data-stil="gammal"]) .sektion h2 { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) .tj-text b { font-size: 16px; color: var(--mork); }
    :root:not([data-stil="gammal"]) #vy-kundadmin .knapp-liten, :root:not([data-stil="gammal"]) #vy-kundadmin .liten-knapp, :root:not([data-stil="gammal"]) #vy-kundadmin .kp-status, :root:not([data-stil="gammal"]) #vy-kundadmin .nk-rad b, :root:not([data-stil="gammal"]) #vy-kundadmin .nk-rad div, :root:not([data-stil="gammal"]) #vy-kundadmin .tj-text b, :root:not([data-stil="gammal"]) #vy-kundadmin .tj-chips i { font-weight: 400 !important; }
    :root:not([data-stil="gammal"]) .hantera-inner button, :root:not([data-stil="gammal"]) .vrad .vtitel, :root:not([data-stil="gammal"]) .nara-chip span, :root:not([data-stil="gammal"]) .lage-topp b, :root:not([data-stil="gammal"]) .at-varning, :root:not([data-stil="gammal"]) .at-timmar small, :root:not([data-stil="gammal"]) .roll-kort summary b, :root:not([data-stil="gammal"]) .ratt span, :root:not([data-stil="gammal"]) .drift-knapp b, :root:not([data-stil="gammal"]) .drift-knapp small, :root:not([data-stil="gammal"]) .r-rost, :root:not([data-stil="gammal"]) .r-bild, :root:not([data-stil="gammal"]) .pm-till span, :root:not([data-stil="gammal"]) .vecka-nav .mitt b, :root:not([data-stil="gammal"]) .mt-dag .at-varning { font-weight: 400 !important; }
  