@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/portal/fonts/manrope-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/portal/fonts/manrope-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap; src: url(/portal/fonts/manrope-latin-ext-500.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap; src: url(/portal/fonts/manrope-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/portal/fonts/manrope-latin-ext-600.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/portal/fonts/manrope-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url(/portal/fonts/manrope-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url(/portal/fonts/manrope-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/portal/fonts/manrope-latin-ext-800.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/portal/fonts/manrope-latin-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* DucoBook: samma designsprak som Ducovera. Morkt sidofalt, indigo + mint, Manrope, rundade kort. */
:root {
  --accent: #4c654d; --accent-deep: #3a4f3b; --mint: #c7d8a7; --peach: #d4a264; --olive: #4c654d; --ochre: #d4a264; --lavender: #e2e9dc;
  --night: #203128; --bg: #f4f1e7; --card: #fffdf7; --ink: #1d2b22; --muted: #6b746b;
  --line: rgba(29,43,34,.14); --line-dark: rgba(255,255,255,.11);
  --ok: #3f7a4a; --warn: #a76818; --warn-bg: #fbf1de; --err: #b63d42; --err-bg: #fbeaeb;
  --radius-sm: 10px; --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(29,43,34,.05), 0 8px 22px rgba(29,43,34,.06);
  --ease: cubic-bezier(.2,.75,.25,1);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif; color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(900px 420px at 88% -8%, rgba(120,144,108,.14), transparent 70%), radial-gradient(700px 360px at -5% 105%, rgba(212,162,100,.07), transparent 70%), var(--bg); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
a { color: var(--accent-deep); text-decoration: none; }
::selection { color: var(--night); background: var(--mint); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1 { margin: 0 0 12px; font-size: clamp(24px, 2.35vw, 34px); font-weight: 650; line-height: 1.1; letter-spacing: -.05em; }
h2 { margin: 0 0 13px; font-size: 19px; font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
p.hint, .hint { color: var(--muted); font-size: 13px; margin: 0 0 20px; max-width: 66ch; }

/* ---- skal: sidofalt + innehall ---- */
#app { display: flex; min-height: 100vh; }
.sidebar { width: 252px; height: 100vh; flex: none; display: flex; flex-direction: column; position: sticky; top: 0; overflow-y: auto; color: #fff;
  background: radial-gradient(circle at 12% -4%, rgba(120,144,108,.30), transparent 35%), linear-gradient(180deg, #24372c 0%, #1a2820 100%);
  border-right: 1px solid rgba(255,255,255,.06); }
.sidebar .brand { padding: 22px 16px 17px; border-bottom: 1px solid var(--line-dark); }
.platform-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.025em; }
.platform-mark { width: 28px; height: 28px; position: relative; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; flex: none; }
.platform-mark::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--mint); border-right-color: transparent; border-radius: 50%; transform: rotate(-36deg); }
.platform-mark i { width: 3px; height: 3px; position: absolute; right: 4px; top: 5px; border-radius: 50%; background: var(--mint); }
.workspace { margin-top: 18px; padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.055); }
.workspace span { color: rgba(255,255,255,.42); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.workspace strong { color: rgba(255,255,255,.88); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar nav { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 15px 10px; }
.sidebar nav .group { margin: 12px 11px 4px; color: rgba(255,255,255,.34); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sidebar nav a, .sidebar nav button { min-height: 39px; padding: 9px 11px; display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; border: 0; border-radius: 10px; color: rgba(255,255,255,.62); background: transparent; font-size: 13px; font-weight: 500; cursor: pointer; transition: color .2s, background .2s, transform .2s var(--ease); }
.sidebar nav svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.sidebar nav a:hover, .sidebar nav button:hover { color: #fff; background: rgba(255,255,255,.065); transform: translateX(2px); }
.sidebar nav a.on, .sidebar nav button.active { color: #fff; background: rgba(120,144,108,.26); box-shadow: inset 0 0 0 1px rgba(199,216,167,.12); font-weight: 650; }
.sidebar nav a.on svg, .sidebar nav button.active svg { stroke: var(--mint); opacity: 1; }
.sidebar nav .badge { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--mint); color: var(--night); font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; }
.side-foot { padding: 12px 10px 16px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 3px; }
.side-foot .who { padding: 4px 11px 8px; color: rgba(255,255,255,.5); font-size: 12px; }
.side-foot a, .side-foot button { min-height: 36px; padding: 8px 11px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 10px; color: rgba(255,255,255,.62); background: transparent; font-size: 13px; cursor: pointer; width: 100%; text-align: left; }
.side-foot a:hover, .side-foot button:hover { color: #fff; background: rgba(255,255,255,.065); }
.main { flex: 1; min-width: 0; }
.mobilebar { display: none; }
main { max-width: 1040px; margin: 0 auto; padding: 38px 32px 90px; }
section.panel { display: none; } section.panel.active { display: block; }
@media (max-width: 860px) {
  .sidebar { position: fixed; z-index: 35; left: -290px; width: min(272px, 88vw); transition: left .3s var(--ease); box-shadow: 20px 0 50px rgba(0,0,0,.28); }
  body.menu-open .sidebar { left: 0; }
  .mobilebar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; font-weight: 700; }
  .mobilebar button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 12px; font-weight: 700; }
  main { padding: 24px 16px 80px; }
}

/* ---- komponenter ---- */
.card { margin-bottom: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.card.attn { border-left: 3px solid var(--peach); }
.row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 3px; }
.prop { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-deep); font-weight: 800; }
.dates { font-family: Manrope, "Helvetica Neue", Arial, sans-serif; font-size: 18px; font-weight: 600; }
.meta { font-size: 13px; color: var(--muted); }
.amount { font-family: Manrope, "Helvetica Neue", Arial, sans-serif; font-size: 18px; font-weight: 600; white-space: nowrap; }
.actions { display: flex; gap: 8px; }
.btn { min-height: 38px; padding: 8px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { color: var(--accent-deep); border-color: rgba(76,101,77,.35); background: #eef2e6; }
.btn.primary { color: #fff; border-color: var(--accent); background: var(--accent); box-shadow: 0 7px 18px rgba(76,101,77,.22); }
.btn.primary:hover { color: #fff; border-color: var(--accent-deep); background: var(--accent-deep); box-shadow: 0 10px 24px rgba(76,101,77,.28); transform: translateY(-1px); }
.btn.danger { color: var(--err); border-color: rgba(182,61,66,.3); background: var(--err-bg); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.badge-status, .pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: #ebe8dc; color: var(--muted); }
.badge-status.confirmed, .pill.ok { background: #e4eedb; color: var(--ok); }
.badge-status.pending_approval, .pill.warn { background: var(--warn-bg); color: var(--warn); }
.badge-status.hold { background: #e2e9dc; color: var(--accent-deep); }
.pill.bad { background: var(--err-bg); color: var(--err); }
.empty { color: var(--muted); font-size: 14px; padding: 28px 0; text-align: center; }
table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: #f7f4ea; }
tr:last-child td { border-bottom: 0; }
.layout-split { display: grid; grid-template-columns: 270px 1fr; gap: 16px; align-items: start; }
@media (max-width: 720px) { .layout-split { grid-template-columns: 1fr; } }
.conv-list { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow-y: auto; }
.conv-item { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; cursor: pointer; }
.conv-item.active { border-color: rgba(120,144,108,.5); background: #eef2e6; }
.conv-item .name { font-weight: 700; font-size: 13px; }
.conv-item .snippet { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; padding: 4px 2px; }
.msg { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: 13px; }
.msg.guest { background: #ebe8dc; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.host { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.system { background: none; color: var(--muted); font-style: italic; align-self: center; font-size: 12px; }
textarea, input[type="text"], input[type="email"], input[type="date"], select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(120,144,108,.16); }
.field { margin-bottom: 12px; } .field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.reply-row { display: flex; gap: 8px; margin-top: 10px; } .reply-row textarea { flex: 1; min-height: 44px; resize: vertical; }
form.inline-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; } .checks label { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.sync-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.sync-dot.ok { background: var(--ok); } .sync-dot.error { background: var(--err); } .sync-dot.unknown { background: var(--muted); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--night); color: #fff; padding: 11px 20px; border-radius: 12px; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: 0 16px 40px rgba(0,0,0,.25); z-index: 50; }
.toast.show { opacity: 1; }
.sec { margin-top: 32px; }
.imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-sm); }
.img img { width: 100%; height: 126px; object-fit: cover; border-radius: 10px; display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } }
.langtabs { display: flex; gap: 6px; margin-bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.stat small { display: block; color: var(--muted); font-size: 12px; } .stat strong { display: block; margin-top: 4px; font-family: Manrope, "Helvetica Neue", Arial, sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }

.side-foot svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.side-foot button { white-space: nowrap; }

/* kalender, grafer, kanaler */
.legend, .lg-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); } .lg-row { margin-bottom: 6px; }
.lg { display: inline-flex; align-items: center; gap: 6px; } .lg i, .dotc { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dotc { margin-right: 8px; }
.calhead, .calgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calhead span { padding: 8px 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.calgrid { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.day { min-height: 92px; padding: 5px 0 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.day:nth-child(7n) { border-right: 0; } .day:nth-last-child(-n+7) { border-bottom: 0; }
.day:hover { background: #eef2e6; } .day.out { background: #f7f4ea; color: #b3b5a8; } .day.sel { background: #e2e9dc; }
.day.today .dn { background: var(--accent); color: #fff; }
.dn { display: inline-block; margin: 0 0 3px 6px; min-width: 22px; padding: 1px 5px; border-radius: 11px; font-size: 12px; font-weight: 700; text-align: center; }
.chip { margin: 2px 0; padding: 2px 6px; height: 20px; font-size: 11px; font-weight: 700; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chip.cs { margin-left: 6px; border-radius: 10px 0 0 10px; } .chip.ce { margin-right: 6px; border-radius: 0 10px 10px 0; } .chip.cs.ce { border-radius: 10px; }
.rules { margin: 0; padding-left: 18px; font-size: 13px; } .rules li { margin: 0 0 9px; }
.chrow { padding: 14px 0; border-top: 1px solid var(--line); } .chrow:first-of-type { border-top: 0; }
@media (max-width: 720px) { .day { min-height: 64px; } .chip { font-size: 0; } }

/* Nedrullningslistor: egen pil med luft fran kanten (standardpilen ligger klistrad mot hogerkanten) */
select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23747480' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }

/* bildredigerare (portad fran Emelies studio) */
.bildred { position: fixed; inset: 0; z-index: 80; background: #0c0c12; color: #fff; display: grid; grid-template-columns: 100%; grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-areas: "topp" "scen" "panel" "flikar"; }
.bildred .topp { grid-area: topp; } .bildred .scen { grid-area: scen; } .bildred .panel { grid-area: panel; } .bildred .flikar { grid-area: flikar; }
/* Liggande telefon, surfplatta och dator: bilden till vänster, reglagen i en spalt till höger. */
@media (orientation: landscape) and (min-width: 600px) {
  .bildred { grid-template-columns: minmax(0, 1fr) min(360px, 42vw); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "topp topp" "scen panel" "scen flikar"; }
  .bildred .panel { overflow-y: auto; align-self: center; max-height: 100%; }
  .bildred .panel .reglage-lista { max-height: none; overflow: visible; }
  .bildred .panel .filterrad { flex-wrap: wrap; justify-content: center; overflow: visible; }
  .bildred .flikar { border-left: 1px solid #262626; }
}
.bildred .topp { display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
.bildred .topp button { color: #fff; font-weight: 600; padding: 8px 4px; min-width: 64px; text-align: left; }
.bildred .topp .klar { color: #c7d8a7; text-align: right; }
.bildred .scen { display: flex; align-items: center; justify-content: center; min-height: 0; min-width: 0; padding: 8px 12px; overflow: hidden; }
.bildred canvas.stor { display: block; touch-action: none; }
.bildred .panel { min-height: 0; }
.bildred .filterrad { display: flex; gap: 10px; overflow-x: auto; padding: 14px; }
.bildred .filterrad button { flex: none; width: 74px; text-align: center; font-size: .72rem; color: #aaa; }
.bildred .filterrad canvas { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 5px; border: 2px solid transparent; }
.bildred .filterrad button.vald { color: #fff; font-weight: 600; }
.bildred .filterrad button.vald canvas { border-color: #fff; }
.bildred .reglage-lista { padding: 8px 18px 8px; display: grid; gap: 4px; max-height: 30vh; overflow-y: auto; }
@media (max-height: 700px) { .bildred .reglage-lista label { font-size: .78rem; } .bildred .filterrad { padding: 10px 14px; } .bildred .filterrad canvas { width: 60px; height: 60px; } .bildred .filterrad button { width: 60px; } }
.bildred .reglage-lista label { display: grid; grid-template-columns: 84px 1fr 34px; align-items: center; gap: 10px; font-size: .82rem; }
.bildred .reglage-lista output { text-align: right; color: #aaa; font-size: .78rem; }
.bildred input[type=range] { width: 100%; accent-color: #78906c; }
.bildred .format { display: flex; gap: 8px; padding: 14px 14px 6px; justify-content: center; flex-wrap: wrap; }
.bildred .format button { padding: 10px 14px; border-radius: 99px; background: #262626; color: #ccc; font-size: .85rem; }
.bildred .format button.vald { background: #fff; color: #111; }
.bildred .hint { text-align: center; color: #888; font-size: .78rem; padding: 4px 14px 10px; }
.bildred .aterstall { display: block; margin: 0 auto 8px; color: #aaa; font-size: .8rem; text-decoration: underline; }
.bildred .flikar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #262626; padding-bottom: env(safe-area-inset-bottom); }
.bildred .flikar button { padding: 15px 0; color: #777; font-weight: 600; font-size: .92rem; }
.bildred .flikar button.vald { color: #fff; }
.bildred .sparar { position: absolute; inset: 0; background: rgba(0,0,0,.65); display: grid; place-items: center; font-size: 1rem; }
.bildred { font-family: Manrope, sans-serif; }
.bildred button { background: none; border: 0; font: inherit; cursor: pointer; }
/* visuell redigering: forhandsgranskning + sidopanel */
.pv-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.pv-bar select { width: auto; min-width: 200px; } .seg { display: inline-flex; gap: 4px; }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: start; }
.pv-frame { background: #ebe8dc; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; justify-content: center; box-shadow: var(--shadow-sm); }
.pv-frame iframe { width: 100%; height: 72vh; min-height: 520px; border: 0; background: #fff; }
.pv-frame.mobile iframe { width: 390px; max-width: 100%; }
.pv-side { position: sticky; top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.pv-side h3 { font-size: 16px; margin: 0; } .pv-thumb { width: 100%; max-height: 190px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
@media (max-width: 980px) { .pv-grid { grid-template-columns: 1fr; } .pv-side { position: static; } }

/* DucoBook-markering: huset med mintgron dorr (samma som ducobook.com) */
.platform-mark { width: 30px !important; height: 30px !important; border: 0 !important; border-radius: 8px !important; background: url("/portal/logo-mark.svg") center / contain no-repeat !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.platform-mark::before, .platform-mark i { display: none !important; }
.platform-brand { font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.greeting { font-weight: 600; font-size: 16px; color: var(--accent-deep); margin: 0 0 14px; }
.lg i, .dotc { border-radius: 50%; }
