/* Minet Offertes — bouwer/dashboard + login. */

.mo-app, .mo-login, .mo-landing, body.mo-app-page { --mo-a:#153e35; --mo-a2:#cac61e; --mo-fresh:#2fae8a; --ink:#1c211d; --soft:#5f6660; --line:#e7e3d7; --bg:#f5f2ea; --card:#fff; }
.mo-app *, .mo-login *, .mo-landing *, .mo-modal-overlay *, .mo-menu * { box-sizing:border-box; }
/* Het [hidden]-attribuut moet ALTIJD verbergen, ook als een class later display:flex/grid zet
   (voorkomt dat verborgen tab-panes/knoppen toch verschijnen — zie fotokiezer). */
[hidden]{ display:none !important; }
.mo-app, .mo-login, .mo-landing { font-family:"DM Sans",system-ui,-apple-system,Segoe UI,Roboto,sans-serif; color:var(--ink); }

/* ---- Schermvullende app-pagina (zonder thema-chrome) ---- */
body.mo-app-page{ margin:0; min-height:100vh; font-family:"DM Sans",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
	background:#f2eede;
	background:radial-gradient(110% 72% at 12% -8%, rgba(202,198,30,.20), transparent 55%),
		radial-gradient(95% 78% at 100% -4%, rgba(183,154,30,.14), transparent 50%),
		linear-gradient(165deg, #f9f5e7 0%, #f4efdd 52%, #f0ebd9 100%); }
.mo-app-page-main{ box-sizing:border-box; min-height:100vh; display:flex; flex-direction:column; justify-content:center; padding:32px 24px; }
.mo-app-page .mo-landing{ width:100%; max-width:1060px; margin:0 auto; }
.mo-app-page .mo-app{ width:100%; max-width:1160px; margin:0 auto; }
.mo-app-page:has(.mo-app) .mo-app-page-main{ justify-content:flex-start; }
/* Hard resetten van formuliervelden tegen thema-stijlen + duidelijk zichtbaar randje */
.mo-app-page .mo-landing input, .mo-app-page .mo-app input, .mo-app-page .mo-app textarea, .mo-app-page .mo-app select{
	-webkit-appearance:none; appearance:none; background:#fff !important; color:var(--ink) !important;
	border:1px solid #cdc6b8 !important; border-radius:9px;
	box-shadow:0 1px 2px rgba(20,18,15,.08), 0 2px 6px rgba(20,18,15,.05) !important; max-width:100%;
}
.mo-app-page .mo-landing input:focus, .mo-app-page .mo-app input:focus, .mo-app-page .mo-app textarea:focus{
	border-color:var(--mo-a) !important; box-shadow:0 0 0 3px rgba(21,62,53,.16) !important; outline:none;
}
/* Knoppen leesbaar houden ondanks thema-stijlen */
.mo-app-page .mo-btn, .mo-app-page .mo-btn:hover, .mo-app-page .mo-btn:focus{
	background:var(--mo-a) !important; color:#fff !important; border:1px solid var(--mo-a) !important;
	font-weight:500; text-shadow:none; text-decoration:none;
}
.mo-app-page .mo-btn-ghost{ background:transparent !important; color:var(--mo-a) !important; }
.mo-landing .mo-btn-primary{ font-size:1rem; font-weight:500; letter-spacing:.02em; }

/* ---- Landing / Login ---- */
.mo-landing{ display:grid; grid-template-columns:1.1fr .9fr; min-height:620px; border-radius:18px; overflow:hidden; box-shadow:0 30px 80px -44px rgba(0,0,0,.5); border:1px solid var(--line); }
.mo-landing-hero{ position:relative; background:linear-gradient(140deg,var(--mo-a),#0d2b24); background-image:linear-gradient(140deg,rgba(21,62,53,.80),rgba(13,43,36,.88)),var(--mo-loginbg,none); background-size:cover; background-position:center; color:#fff; display:flex; align-items:center; padding:56px; }
.mo-landing-hero-inner{ max-width:420px; }
.mo-hero-logo{ display:inline-block; background:#fff; border-radius:12px; padding:14px 20px; margin-bottom:26px; box-shadow:0 12px 34px -20px rgba(0,0,0,.55); }
.mo-hero-logo img{ display:block; width:auto; max-width:220px; height:auto; }
.mo-landing-eyebrow{ display:inline-block; font-size:.78rem; letter-spacing:.2em; text-transform:uppercase; color:var(--mo-a2); margin-bottom:18px; }
.mo-landing-hero h1{ font-family:"Cormorant Garamond",serif; font-size:2.8rem; line-height:1.08; margin:0 0 14px; }
.mo-landing-hero p{ font-size:1.05rem; opacity:.92; line-height:1.6; margin:0 0 24px; font-weight:300; }
.mo-landing-feats{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.mo-landing-feats li{ position:relative; padding-left:28px; font-size:.95rem; opacity:.95; }
.mo-landing-feats li::before{ content:"✦"; position:absolute; left:0; color:var(--mo-a2); }
.mo-landing-panel{ background:var(--card); display:flex; align-items:center; justify-content:center; padding:48px 40px; }
.mo-login-card{ width:100%; max-width:360px; }
.mo-login-logo{ display:block; width:100%; max-width:230px; height:auto; margin:0 0 22px; mix-blend-mode:multiply; }
.mo-login-card h2{ font-family:"Cormorant Garamond",serif; font-size:2rem; margin:0 0 4px; color:var(--ink); }
.mo-login-sub{ color:var(--soft); margin:0 0 24px; font-size:.95rem; }
.mo-login-error{ background:#fdecec; color:#a4282b; padding:10px 14px; border-radius:8px; font-size:.9rem; margin-bottom:16px; }
.mo-landing form{ display:flex; flex-direction:column; gap:14px; }
.mo-landing label{ display:flex; flex-direction:column; gap:6px; font-size:.85rem; color:var(--soft); }
.mo-landing input{ padding:12px 14px; border:1px solid #cdc6b8; border-radius:9px; font-size:1rem; box-shadow:0 1px 2px rgba(20,18,15,.08), 0 2px 6px rgba(20,18,15,.05); }
.mo-landing input:focus{ outline:none; border-color:var(--mo-a); box-shadow:0 0 0 3px rgba(21,62,53,.16); }
.mo-login-foot a{ color:var(--mo-a); text-decoration:none; }
.mo-login-foot a:hover{ text-decoration:underline; }
.mo-landing .mo-btn-primary{ justify-content:center; margin-top:4px; padding:13px; }
.mo-login-foot{ margin:22px 0 0; font-size:.82rem; color:var(--soft); text-align:center; }
@media(max-width:760px){ .mo-landing{ grid-template-columns:1fr; } .mo-landing-hero{ padding:40px; min-height:280px; } .mo-landing-hero h1{ font-size:2.1rem; } }

/* ---- Buttons ---- */
.mo-btn{ display:inline-flex; align-items:center; gap:7px; border:1px solid var(--mo-a); background:var(--mo-a); color:#fff; padding:11px 20px; border-radius:11px; font:inherit; font-size:.9rem; font-weight:500; letter-spacing:.005em; cursor:pointer; text-decoration:none; transition:transform .14s ease, box-shadow .22s ease, background .2s, border-color .2s; }
.mo-btn:hover{ transform:translateY(-1px); box-shadow:0 12px 24px -12px rgba(21,62,53,.6); }
.mo-btn:active{ transform:translateY(0); box-shadow:0 4px 10px -6px rgba(21,62,53,.6); }
.mo-btn-primary{ box-shadow:0 8px 18px -10px rgba(21,62,53,.55); }
.mo-btn-ghost{ background:transparent; color:var(--mo-a); border-color:var(--line); }
.mo-btn-ghost:hover{ background:rgba(21,62,53,.05); border-color:rgba(21,62,53,.30); box-shadow:none; }
.mo-btn-sm{ padding:8px 15px; font-size:.84rem; border-radius:9px; }
.mo-btn-icon{ padding:8px 11px; }
.mo-link{ color:var(--soft); text-decoration:none; font-size:.85rem; letter-spacing:.01em; transition:color .2s; }
.mo-link:hover{ color:var(--mo-a); }

/* ---- Shell / list ---- */
.mo-shell{ background:linear-gradient(180deg,#fffdf6,#fcf9ef); border:1px solid #e8e8dc; border-radius:22px; padding:0 0 46px; overflow:hidden; box-shadow:0 1px 0 rgba(255,255,255,.8) inset, 0 44px 92px -58px rgba(21,62,53,.44); }
.mo-head{ position:relative; display:flex; justify-content:space-between; align-items:center; padding:20px 32px; background:var(--card); border-bottom:1px solid var(--line); }
.mo-head::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:2.5px; background:linear-gradient(90deg, var(--mo-a) 0%, #8a7f1e 26%, var(--mo-a2) 60%, rgba(202,198,30,0) 100%); opacity:.85; }
.mo-head-brand img{ max-height:42px; width:auto; }
.mo-head-brand strong{ font-family:"Cormorant Garamond",serif; font-size:1.6rem; font-weight:600; color:var(--mo-a); letter-spacing:.01em; }
.mo-head-user{ display:flex; align-items:center; gap:20px; font-size:.9rem; color:var(--soft); }
.mo-user-chip{ display:inline-flex; align-items:center; gap:10px; padding-left:20px; border-left:1px solid var(--line); }
.mo-avatar{ width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg, var(--mo-a), #0c2820); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:600; letter-spacing:.03em; box-shadow:0 5px 12px -5px rgba(21,62,53,.7); }
.mo-head-name{ font-size:.9rem; color:var(--ink); font-weight:500; }
.mo-listbar{ display:flex; justify-content:space-between; align-items:flex-end; padding:34px 32px 18px; flex-wrap:wrap; gap:16px; }
.mo-listbar-head{ display:flex; flex-direction:column; gap:6px; }
.mo-eyebrow{ font-size:.7rem; letter-spacing:.24em; text-transform:uppercase; color:#a89a2b; font-weight:600; }
.mo-listbar h1{ font-family:"Cormorant Garamond",serif; font-size:2.6rem; font-weight:500; line-height:.95; margin:0; color:var(--ink); letter-spacing:.005em; }
.mo-listbar-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.mo-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; padding:20px 32px 0; }
.mo-empty{ grid-column:1/-1; text-align:center; color:var(--soft); padding:72px 30px; background:linear-gradient(#fff,#fbfaf5); border:1px solid var(--line); border-radius:16px; font-size:.95rem; line-height:1.6; }
.mo-loadmore-wrap{ grid-column:1/-1; display:flex; justify-content:center; padding:6px 0 4px; }
.mo-ocard{ position:relative; background:var(--card); border:1px solid var(--line); border-radius:16px; padding:22px 22px 20px; display:flex; flex-direction:column; gap:9px; box-shadow:0 1px 2px rgba(21,62,53,.04), 0 16px 32px -24px rgba(21,62,53,.32); transition:box-shadow .25s ease, transform .18s ease, border-color .25s ease; }
.mo-ocard:hover{ transform:translateY(-3px); box-shadow:0 4px 10px rgba(21,62,53,.05), 0 28px 52px -26px rgba(21,62,53,.42); border-color:rgba(21,62,53,.18); }
.mo-ocard-top{ display:flex; align-items:center; gap:8px; }
.mo-ocard h3{ font-family:"Cormorant Garamond",serif; font-size:1.5rem; font-weight:500; line-height:1.14; margin:3px 0 0; color:var(--ink); }
.mo-ocard-meta{ color:var(--soft); font-size:.86rem; margin:0; flex:1; }
.mo-ocard-actions{ display:flex; gap:8px; margin-top:15px; padding-top:15px; border-top:1px solid var(--line); }
.mo-status{ display:inline-flex; align-items:center; gap:6px; font-size:.67rem; text-transform:uppercase; letter-spacing:.1em; padding:4px 11px; border-radius:999px; font-weight:600; }
.mo-status::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.mo-status-concept{ background:#eef1f0; color:#61706b; }
.mo-status-verzonden{ background:#f8efd9; color:#96731f; }
.mo-status-geaccepteerd{ background:#e4f1e8; color:#2f7d4a; }

/* ---- Editor ---- */
.mo-editor{ padding:0; }
.mo-ehead{ position:sticky; top:32px; z-index:20; display:flex; align-items:center; gap:14px; padding:17px 28px; background:var(--card); border-bottom:1px solid var(--line); border-radius:22px 22px 0 0; flex-wrap:wrap; box-shadow:0 12px 26px -24px rgba(21,62,53,.55); }
.mo-ehead::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:2.5px; background:linear-gradient(90deg, var(--mo-a) 0%, #8a7f1e 26%, var(--mo-a2) 60%, rgba(202,198,30,0) 100%); opacity:.8; }
/* Banner: klant heeft het voorstel geaccepteerd */
.mo-accepted-banner{ display:flex; align-items:flex-start; gap:14px; margin:14px 0 0; padding:16px 20px; background:linear-gradient(#eef6f0,#e6f1ea); border:1px solid #cfe6d9; border-radius:16px; }
.mo-accepted-ic{ font-size:1.5rem; line-height:1; flex:0 0 auto; }
.mo-accepted-banner strong{ display:block; color:var(--ink); font-size:1rem; }
.mo-accepted-when{ display:block; color:var(--soft); font-size:.85rem; margin-top:2px; }
.mo-accepted-msg{ margin-top:8px; padding:9px 13px; background:#fff; border:1px solid var(--line); border-radius:10px; font-style:italic; color:var(--ink); font-size:.92rem; }
.mo-title-input{ flex:1; min-width:180px; font-family:"Cormorant Garamond",serif; font-size:1.75rem; font-weight:500; border:none; border-bottom:2px solid transparent; padding:4px 0; background:transparent; color:var(--ink); }
.mo-title-input:focus{ outline:none; border-bottom-color:var(--mo-a2); }
.mo-ehead-right{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.mo-savestate{ font-size:.8rem; color:var(--soft); min-width:96px; }
.mo-status-sel{ padding:8px 11px; border:1px solid var(--line); border-radius:9px; font:inherit; font-size:.85rem; background:#fff; }
.mo-ebody{ padding:26px 28px; display:flex; flex-direction:column; gap:20px; }

/* Stapsgewijze werkomgeving (fase-navigatie links, inhoud rechts) */
.mo-estage{ display:flex; align-items:flex-start; }
.mo-steps{ position:sticky; top:104px; flex:0 0 250px; align-self:flex-start; padding:44px 14px 24px 22px; display:flex; flex-direction:column; gap:3px; background:linear-gradient(180deg,#f6f2e4,#f1ecdc); }
.mo-steps-title{ font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--soft); font-weight:600; padding:0 12px 12px; }
.mo-step{ display:flex; align-items:center; gap:12px; width:100%; text-align:left; background:none; border:0; border-radius:11px; padding:11px 12px; font:inherit; font-size:.92rem; color:var(--ink); cursor:pointer; transition:background .15s, color .15s, box-shadow .2s; }
.mo-step:hover{ background:rgba(21,62,53,.055); }
.mo-step.is-active{ background:var(--mo-a); color:#fff; box-shadow:0 10px 22px -12px rgba(21,62,53,.65); }
.mo-step-ico{ width:36px; height:36px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; border-radius:11px; background:var(--cbg,rgba(21,62,53,.08)); box-shadow:inset 0 0 0 1px rgba(20,40,30,.04); }
.mo-step-ico svg{ display:block; }
.mo-step.is-active{ color:#fff; }
.mo-step-label{ flex:1; min-width:0; }
.mo-step-mark{ width:20px; height:20px; border-radius:50%; border:1.5px solid var(--line); display:inline-flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:700; color:transparent; flex:0 0 auto; }
.mo-step-mark.is-done{ background:#e4f1e8; border-color:#bfe0c9; color:#2f7d4a; }
.mo-step.is-active .mo-step-mark{ border-color:rgba(255,255,255,.45); }
.mo-step.is-active .mo-step-mark.is-done{ background:#fff; border-color:#fff; color:var(--mo-a); }
.mo-econtent{ flex:1; min-width:0; padding:44px 28px 40px; display:flex; flex-direction:column; gap:20px; border-left:1px solid var(--line); }
.mo-step-head{ position:relative; padding:2px 2px 16px; border-bottom:1px solid var(--line); }
.mo-step-head::after{ content:""; position:absolute; left:0; bottom:-1px; width:54px; height:2.5px; border-radius:2px; background:var(--c,var(--mo-a)); }
.mo-step-head h2{ font-family:"Cormorant Garamond",serif; font-size:2rem; font-weight:500; color:var(--ink); margin:0; display:flex; align-items:center; gap:14px; letter-spacing:.004em; }
.mo-step-head-ico{ width:48px; height:48px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; background:var(--cbg,rgba(21,62,53,.08)); box-shadow:inset 0 0 0 1px rgba(20,40,30,.04); flex:0 0 auto; }
.mo-step-head-ico svg{ display:block; }
.mo-step-head p{ margin:8px 0 0; color:var(--soft); font-size:.92rem; line-height:1.55; max-width:70ch; }
.mo-step-flow{ display:flex; align-items:center; gap:12px; margin-top:6px; }
.mo-step-flow-sp{ flex:1; }
@media(max-width:860px){
	.mo-estage{ flex-direction:column; }
	.mo-steps{ position:static; flex-basis:auto; width:100%; flex-direction:row; overflow-x:auto; padding:14px 18px; gap:6px; -webkit-overflow-scrolling:touch; }
	.mo-steps-title{ display:none; }
	.mo-step{ flex:0 0 auto; border:1px solid var(--line); }
	.mo-step.is-active{ border-color:var(--mo-a); }
	.mo-step-label{ white-space:nowrap; }
	.mo-step-mark{ display:none; }
	.mo-econtent{ border-left:none; border-top:1px solid var(--line); padding:22px 20px 36px; }
}

/* ---- Panels ---- */
.mo-panel{ background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 1px 2px rgba(21,62,53,.03), 0 20px 36px -32px rgba(21,62,53,.32); }
.mo-panel-head{ padding:18px 24px; border-bottom:1px solid var(--line); background:linear-gradient(180deg,#fdfcf9,#fbfaf5); }
.mo-panel-head h2{ font-family:"Cormorant Garamond",serif; font-size:1.5rem; font-weight:500; margin:0; color:var(--mo-a); letter-spacing:.004em; }
.mo-panel-head p{ margin:4px 0 0; font-size:.85rem; color:var(--soft); line-height:1.5; }
.mo-panel-body{ padding:24px; display:flex; flex-direction:column; gap:16px; }

/* ---- Fields ---- */
.mo-f{ display:flex; flex-direction:column; gap:6px; font-size:.8rem; color:var(--soft); letter-spacing:.008em; }
.mo-f > span{ display:flex; justify-content:space-between; align-items:center; }
.mo-f input, .mo-f textarea, .mo-f select{ padding:11px 13px; border:1px solid var(--line); border-radius:9px; font:inherit; font-size:.95rem; color:var(--ink); background:#fff; transition:border-color .18s, box-shadow .18s; }
.mo-f input:focus, .mo-f textarea:focus{ outline:none; border-color:var(--mo-a); }
.mo-f input[type=color]{ height:42px; padding:4px; width:80px; }
.mo-row2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.mo-row3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.mo-row4{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.mo-color-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.mo-swatch{ width:30px; height:30px; border-radius:8px; border:1px solid rgba(0,0,0,.15); cursor:pointer; padding:0; box-shadow:0 1px 3px rgba(0,0,0,.12); transition:transform .12s; }
.mo-swatch:hover{ transform:scale(1.12); }
.mo-ai-btn{ background:linear-gradient(135deg,var(--mo-a),#2c7a5f); color:#fff; border:none; border-radius:999px; font-size:.72rem; padding:3px 10px; cursor:pointer; }
.mo-ai-btn:hover{ filter:brightness(1.1); }

/* repeatables */
.mo-rep{ display:flex; flex-direction:column; gap:14px; }
.mo-repitem{ border:1px solid var(--line); border-radius:13px; padding:18px; background:linear-gradient(180deg,#fdfcfa,#fbfaf6); display:flex; flex-direction:column; gap:12px; box-shadow:0 1px 2px rgba(21,62,53,.02); }
.mo-repitem-head{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.mo-repitem-head strong{ font-family:"Cormorant Garamond",serif; font-size:1.2rem; font-weight:500; color:var(--ink); }
/* Reisschema / vaarroute-editor */
.mo-to-itin-paste-wrap{ border:1px dashed var(--line); border-radius:11px; padding:10px 14px; margin:2px 0 12px; background:#fbfaf6; }
.mo-to-itin-paste-wrap summary{ cursor:pointer; font-weight:600; color:var(--ink); }
.mo-to-itin-hint{ margin:8px 0; }
.mo-to-itin-paste{ width:100%; }
.mo-to-itin{ display:flex; flex-direction:column; gap:10px; }
.mo-to-itin-row.is-sea{ background:linear-gradient(180deg,#f4f8fb,#eef3f8); border-color:#d6e2ec; }
.mo-to-itin-row.is-sea .mo-itin-k[data-k="name"],
.mo-to-itin-row.is-sea .mo-itin-k[data-k="arrival"],
.mo-to-itin-row.is-sea .mo-itin-k[data-k="departure"]{ opacity:.55; }
.mo-to-itin-day{ font-family:"Cormorant Garamond",serif; font-size:1.1rem !important; color:var(--accent) !important; }
.mo-to-itin-sea{ margin-left:auto; margin-right:8px; font-size:.85rem; color:var(--soft); display:inline-flex; align-items:center; gap:5px; }
.mo-to-itin-geocell{ font-size:.82rem; }
.mo-itin-geo-ok{ color:#1c7a4a; font-weight:600; }
.mo-itin-geo-warn{ display:block; color:#8a4b00; background:#fff6e6; border:1px solid #f0d9ae; border-radius:6px; padding:6px 9px; font-size:12.5px; line-height:1.45; }
.mo-to-itin-actions{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:10px; }
.mo-to-itin-geostatus{ font-size:.82rem; }
.mo-rm{ background:transparent; border:1px solid var(--line); color:var(--soft); width:28px; height:28px; border-radius:7px; cursor:pointer; }
.mo-rm:hover{ background:#fdecec; color:#a4282b; border-color:#f0c8c8; }
/* Herorden-knoppen (▲▼) — zelfde maat/stijl als de verwijder-knop */
.mo-ord{ background:transparent; border:1px solid var(--line); color:var(--soft); width:28px; height:28px; border-radius:7px; cursor:pointer; font-size:.68rem; line-height:1; padding:0; }
.mo-ord:hover:not([disabled]){ background:#eef3f0; color:var(--accent); border-color:var(--accent); }
.mo-ord[disabled]{ opacity:.32; cursor:default; }
.mo-import{ display:flex; gap:8px; background:#f3f6f9; border:1px solid #dce3ea; border-radius:9px; padding:8px; }
.mo-import input{ flex:1; padding:9px 11px; border:1px solid var(--line); border-radius:8px; font:inherit; }
.mo-import .mo-btn{ white-space:nowrap; }
.mo-inline-go{ display:flex; gap:8px; }
.mo-inline-go input{ flex:1; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font:inherit; }
.mo-inline-go .mo-btn{ white-space:nowrap; }
.mo-map-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.mo-sub{ border-top:1px dashed var(--line); padding-top:12px; }
.mo-sub-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.mo-list{ display:flex; flex-direction:column; gap:8px; }
.mo-liner{ display:flex; gap:8px; }
.mo-liner input{ flex:1; padding:9px 11px; border:1px solid var(--line); border-radius:8px; font:inherit; }

/* thumbnails */
.mo-thumbs{ display:flex; flex-wrap:wrap; gap:10px; }
.mo-thumb{ width:110px; height:78px; border-radius:9px; background-size:cover; background-position:center; position:relative; border:1px solid var(--line); }
.mo-thumb-rm{ position:absolute; top:4px; right:4px; width:22px; height:22px; border-radius:50%; border:none; background:rgba(0,0,0,.6); color:#fff; cursor:pointer; font-size:.7rem; }
.mo-thumb-add{ display:flex; align-items:center; justify-content:center; background:#f3f0ea; border:1px dashed var(--mo-a); color:var(--mo-a); cursor:pointer; font-size:.85rem; }

/* ---- Toast ---- */
.mo-toast{ position:fixed; bottom:24px; left:50%; transform:translate(-50%,20px); background:var(--ink); color:#fff; padding:12px 22px; border-radius:10px; font-size:.9rem; z-index:9999; opacity:0; transition:opacity .25s, transform .25s; font-family:"DM Sans",sans-serif; }
.mo-toast.show{ opacity:1; transform:translate(-50%,0); }
.mo-toast.err{ background:#a4282b; }
.mo-toast-undo{ display:flex; align-items:center; gap:16px; padding:11px 14px 11px 22px; }
.mo-undo-btn{ background:none; border:0; color:var(--mo-a2, #cac61e); font:inherit; font-size:.88rem; font-weight:700; cursor:pointer; padding:4px 8px; border-radius:6px; white-space:nowrap; }
.mo-undo-btn:hover{ background:rgba(255,255,255,.12); }

/* ---- Menu (dropdown) ---- */
.mo-menu{ position:absolute; z-index:9998; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 16px 40px -18px rgba(0,0,0,.5); padding:6px; min-width:170px; display:flex; flex-direction:column; }
.mo-menu button{ text-align:left; background:transparent; border:none; padding:9px 12px; border-radius:7px; cursor:pointer; font:inherit; font-size:.88rem; color:var(--ink); }
.mo-menu button:hover{ background:#f3f0ea; }
.mo-menu button.danger{ color:#a4282b; }

/* ---- Modal ---- */
.mo-modal-overlay{ position:fixed; inset:0; background:rgba(20,18,15,.5); display:flex; align-items:center; justify-content:center; z-index:9990; padding:20px; }
.mo-modal{ background:#fff; border-radius:16px; max-width:600px; width:100%; max-height:88vh; overflow:auto; box-shadow:0 30px 80px -30px rgba(0,0,0,.6); }
.mo-modal-head{ display:flex; justify-content:space-between; align-items:center; padding:18px 24px; border-bottom:1px solid var(--line); position:sticky; top:0; background:#fff; }
.mo-modal-head h3{ font-family:"Cormorant Garamond",serif; font-size:1.5rem; margin:0; color:var(--mo-a); }
.mo-modal-x{ background:transparent; border:none; font-size:1.1rem; cursor:pointer; color:var(--soft); }
.mo-modal-body{ padding:24px; display:flex; flex-direction:column; gap:14px; }
.mo-muted{ color:var(--soft); font-size:.9rem; }
.mo-tabs{ display:flex; gap:6px; border-bottom:1px solid var(--line); }
.mo-tabs button{ background:transparent; border:none; padding:8px 14px; cursor:pointer; font:inherit; color:var(--soft); border-bottom:2px solid transparent; }
.mo-tabs button.is-active{ color:var(--mo-a); border-bottom-color:var(--mo-a); }
.mo-file{ padding:14px; border:1px dashed var(--line); border-radius:10px; width:100%; }
.mo-unsres{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.mo-gal-res{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px; max-height:46vh; overflow-y:auto; padding-right:4px; }
.mo-gal-more{ text-align:center; margin-top:10px; }
.mo-gal-more button[hidden]{ display:none; }
.mo-unsimg{ position:relative; height:90px; border-radius:9px; background-size:cover; background-position:center; cursor:pointer; border:2px solid transparent; background-color:#eee; }
.mo-unsimg:hover{ border-color:#2f9e44; }
.mo-unsimg.is-sel{ border-color:#2f9e44; box-shadow:0 0 0 2px #2f9e44; }
.mo-unsimg.is-sel::after{ content:"✓"; position:absolute; top:6px; right:6px; width:22px; height:22px; border-radius:50%; background:#2f9e44; color:#fff; display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700; }
.mo-gal-foot{ display:flex; justify-content:flex-end; margin-top:14px; }
.mo-gal-hint{ margin:10px 0 0; }
.mo-loading{ padding:60px; text-align:center; color:var(--soft); }

@media(max-width:680px){
	.mo-row2,.mo-row3,.mo-row4{ grid-template-columns:1fr; }
	.mo-ehead{ top:0; }
	.mo-unsres{ grid-template-columns:repeat(2,1fr); }
}

/* --- Pakketreizen (DynpaX) --- */
.mo-pkg-search{ margin-bottom:12px; }
.mo-pkg-bar{ display:flex; align-items:center; gap:14px; margin:4px 0 14px; }
.mo-pkg-status{ font-size:.85rem; color:var(--soft); }
.mo-pkg-results{ display:flex; flex-direction:column; gap:10px; }
.mo-pkg-result{ display:flex; align-items:center; gap:14px; background:var(--card); border:1px solid var(--line); border-radius:11px; padding:10px 12px; }
.mo-pkg-result .mo-btn{ margin-left:auto; flex:none; }
.mo-pkg-more{ align-self:center; margin-top:4px; }
.mo-pkg-thumb{ flex:0 0 64px; width:64px; height:48px; border-radius:8px; background-size:cover; background-position:center; }
.mo-pkg-thumb-empty{ background:var(--bg); border:1px dashed var(--line); }
.mo-pkg-item-body{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.mo-pkg-item-body strong{ color:var(--ink); }
.mo-pkg-item-meta{ font-size:.82rem; color:var(--soft); }
.mo-pkg-h{ font-family:"Cormorant Garamond",serif; font-size:1.15rem; color:var(--mo-a); margin:22px 0 10px; }
.mo-pkg-added{ display:flex; flex-direction:column; gap:10px; }
.mo-pkg-item-main{ display:flex; align-items:center; gap:14px; }
.mo-pkg-item .mo-rm{ margin-left:auto; }
.mo-pkg-added .mo-empty{ padding:22px; }
.mo-pkg-note{ font-size:.85rem; color:var(--soft); background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:9px 12px; }
.mo-pkg-note-err{ color:#8a1f11; background:#fbeae8; border-color:#e6a79f; }
.mo-pkg-resultwrap{ display:flex; flex-direction:column; }
.mo-pkg-panel-host:not(:empty){ margin:-4px 0 8px; }
.mo-pkg-panel{ background:var(--bg); border:1px solid var(--line); border-radius:11px; padding:14px; display:flex; flex-direction:column; gap:10px; }
.mo-pkg-panel .mo-row2{ margin:0; }
.pp-price{ font-size:.95rem; color:var(--ink); }
.pp-price strong{ color:var(--mo-a); font-size:1.05rem; }
.pp-actions{ display:flex; }
.mo-pkg-price{ border-top:1px solid var(--line); margin-top:10px; padding-top:10px; display:flex; flex-direction:column; gap:6px; }
.mo-pkg-price .pp-show{ font-size:.88rem; font-weight:600; color:var(--ink); display:flex; align-items:center; gap:7px; }
.pp-modes{ display:flex; flex-direction:column; gap:5px; padding-left:2px; }
.pp-modes label{ font-size:.86rem; color:var(--soft); display:flex; align-items:center; gap:7px; }
.pp-own{ width:90px; padding:5px 8px; border:1px solid var(--line); border-radius:7px; font:inherit; font-size:.85rem; }
/* Autocomplete-dropdown */
.mo-ac-box{ position:absolute; left:0; right:0; top:100%; z-index:40; background:var(--card); border:1px solid var(--line); border-top:none; border-radius:0 0 9px 9px; box-shadow:0 10px 24px rgba(0,0,0,.10); max-height:280px; overflow-y:auto; }
.mo-ac-item{ display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; text-align:left; background:none; border:none; border-bottom:1px solid var(--line); padding:9px 12px; font:inherit; font-size:.9rem; color:var(--ink); cursor:pointer; }
.mo-ac-item:last-child{ border-bottom:none; }
.mo-ac-item:hover, .mo-ac-item.is-active{ background:var(--bg); }
.mo-ac-item.is-active{ box-shadow:inset 3px 0 0 var(--mo-a); }
.mo-ac-item em{ font-style:normal; font-size:.7rem; text-transform:uppercase; letter-spacing:.04em; color:var(--soft); flex:none; }

/* --- Teambeheer --- */
.mo-team{ max-width:820px; margin:0 auto; padding:0 24px 60px; display:flex; flex-direction:column; gap:20px; }
.mo-team-card{ background:var(--card); border:1px solid var(--line); border-radius:14px; padding:24px; }
.mo-team-card h2{ font-family:"Cormorant Garamond",serif; font-size:1.4rem; color:var(--mo-a); margin:0 0 4px; }
.mo-team-sub{ color:var(--soft); margin:0 0 16px; font-size:.9rem; }
.mo-tm-invite{ display:flex; align-items:center; gap:8px; margin-top:12px; font-size:.9rem; color:var(--ink); }
.mo-team-actions{ margin-top:16px; }
.mo-team-list{ display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.mo-team-row{ display:flex; align-items:center; gap:14px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.mo-team-who{ display:flex; flex-direction:column; min-width:0; }
.mo-team-who strong{ color:var(--ink); }
.mo-team-who span{ font-size:.82rem; color:var(--soft); }
.mo-team-role{ font-size:.72rem; font-weight:600; text-transform:uppercase; letter-spacing:.05em; padding:3px 9px; border-radius:20px; background:#eee; color:#555; }
.mo-team-role-beheerder{ background:#e7eef5; color:var(--mo-a); }
.mo-team-row-act{ margin-left:auto; }
.mo-team-you{ font-size:.8rem; color:var(--soft); font-style:italic; }

/* --- Documentimport (Word/PDF) --- */
.mo-import-row{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.mo-imp-file{ flex:1; min-width:200px; font-size:.88rem; }
.mo-imp-status{ font-size:.85rem; color:var(--soft); margin:8px 0 0; }
.mo-import-ai{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
.mo-import-ai .mo-f{ margin-bottom:8px; }

/* --- Import: voortgangsbalk --- */
.mo-imp-progress{ margin:12px 0 4px; }
.mo-imp-bar{ height:8px; background:var(--line); border-radius:5px; overflow:hidden; }
.mo-imp-fill{ display:block; height:100%; width:0; background:var(--mo-a); transition:width .25s ease; }
.mo-imp-pmeta{ display:flex; justify-content:space-between; font-size:.82rem; color:var(--soft); margin-top:6px; }
/* Accommodatie-kop: match-knop naast verwijderen */
.mo-repitem-head-act{ display:flex; align-items:center; gap:8px; }

.pp-saverow{ margin-top:8px; }

/* Highlights-editor + beoordelingsbadge per pakketreis */
.mo-pkg-extra{ border-top:1px solid var(--line); margin-top:10px; padding-top:10px; }
.mo-pkg-extra-head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.mo-pkg-extra-head strong{ color:var(--ink); font-size:.9rem; }
.mo-pkg-extra-head .mo-hl-add{ margin-left:auto; }
.mo-pkg-extra-hint{ font-size:.78rem; margin:3px 0 8px; }
.mo-pkg-rating-badge{ background:var(--accent,#153e35); color:#fff; border-radius:7px; padding:3px 9px; font-size:.82rem; font-weight:600; }
.mo-pkg-rating-badge small{ opacity:.8; font-weight:400; }
.mo-hl-list{ display:flex; flex-direction:column; gap:6px; }

/* --- Inklapbare offerte-categorieën --- */
.mo-group{ background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 1px 2px rgba(21,62,53,.03), 0 20px 36px -32px rgba(21,62,53,.32); }
.mo-group-head{ display:flex; align-items:center; gap:16px; width:100%; text-align:left; background:linear-gradient(180deg,#fdfcf9,#fbfaf5); border:none; padding:20px 24px; font:inherit; cursor:pointer; transition:background .2s; }
.mo-group-head:hover{ background:#f5f2ea; }
.mo-group:not(.is-collapsed) .mo-group-head{ border-bottom:1px solid var(--line); }
.mo-group-title{ font-family:"Cormorant Garamond",serif; font-size:1.5rem; color:var(--mo-a); font-weight:500; letter-spacing:.004em; }
.mo-group-sub{ color:var(--soft); font-size:.85rem; flex:1; line-height:1.5; }
.mo-group-chev{ margin-left:auto; color:var(--soft); font-size:.9rem; transition:transform .25s; }
.mo-group.is-collapsed .mo-group-chev{ transform:rotate(-90deg); }
.mo-group.is-collapsed .mo-group-body{ display:none; }
.mo-group-body{ padding:18px 22px 22px; display:flex; flex-direction:column; gap:16px; }
/* Panels binnen een groep: vlak weergeven (de groep is al de kaart) */
.mo-group-body > .mo-panel{ border:none; border-radius:0; background:transparent; overflow:visible; }
.mo-group-body > .mo-panel > .mo-panel-head{ background:transparent; padding:4px 0 10px; border-bottom:1px solid var(--line); }
.mo-group-body > .mo-panel > .mo-panel-body{ padding:14px 0 0; }
.mo-group-body > .mo-panel + .mo-panel{ border-top:1px solid var(--line); padding-top:6px; }

/* --- Plaats-spotlight (info over de plaats op de offerte) --- */
.mo-placeinfo{ margin-top:6px; border-top:1px solid var(--line); padding-top:12px; }
.mo-placeinfo-toggle{ display:flex; align-items:center; gap:8px; font-size:.92rem; font-weight:600; color:var(--ink); flex-wrap:wrap; cursor:pointer; }
.mo-placeinfo-toggle .hint{ font-weight:400; color:var(--soft); font-size:.82rem; }
.mo-placeinfo-body{ margin-top:12px; display:flex; flex-direction:column; gap:10px; }
.mo-pi-bar{ display:flex; align-items:center; gap:12px; }
.mo-pi-status{ font-size:.82rem; color:var(--soft); }
.mo-pi-text{ width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:9px; font:inherit; font-size:.92rem; resize:vertical; }

/* Badge voor automatisch gekoppelde pakketten (import → ons aanbod) */
.mo-pkg-auto{ display:inline-block; margin-left:8px; font-size:.7rem; font-weight:600; color:#8a6d00; background:#fcf3cd; border:1px solid #f0d97a; border-radius:12px; padding:2px 8px; vertical-align:middle; }

/* --- Klikbare naam in een zoekresultaat (opent de detail-pop-up) --- */
.mo-pkg-name{ display:inline-block; background:none !important; border:none !important; padding:0 !important; margin:0; font:inherit; font-weight:600; color:var(--mo-a) !important; text-align:left; cursor:pointer; text-decoration:none; box-shadow:none !important; }
.mo-pkg-name:hover{ text-decoration:underline; }
.mo-pkg-thumb-clk{ cursor:pointer; }

/* --- Detail-pop-up van een accommodatie (foto's, beschrijving, prijs) --- */
.mo-modal.mo-modal-pkg{ max-width:780px; }
.mo-pkg-detail-sub{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; color:var(--soft); font-size:.92rem; margin-bottom:14px; }
.mo-pkg-detail-stars{ color:var(--mo-a2); letter-spacing:1px; }
.mo-pkg-detail-gallery{ display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:8px; margin-bottom:18px; }
.mo-pkg-detail-photo{ aspect-ratio:4/3; background-size:cover; background-position:center; border-radius:9px; background-color:#eee; }
.mo-pkg-detail-reviews{ display:inline-flex; align-items:baseline; gap:4px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:8px 14px; margin-bottom:18px; font-size:.95rem; }
.mo-pkg-detail-reviews strong{ font-family:"Cormorant Garamond",serif; font-size:1.5rem; color:var(--mo-a); }
.mo-pkg-detail-sec{ margin:0 0 20px; }
.mo-pkg-detail-sec h4{ font-family:"Cormorant Garamond",serif; font-size:1.35rem; color:var(--mo-a); margin:0 0 10px; }
.mo-pkg-detail-block{ margin:0 0 12px; }
.mo-pkg-detail-block h5{ font-size:.95rem; margin:0 0 4px; color:var(--ink); }
.mo-pkg-detail-html{ font-size:.92rem; line-height:1.6; color:#403c37; }
.mo-pkg-detail-html ul{ margin:.3em 0; padding-left:1.2em; }
.mo-pkg-detail-html li{ margin:.12em 0; }
.mo-pkg-detail-html p{ margin:0 0 .6em; }
.mo-pkg-detail-pricesec{ border-top:1px solid var(--line); padding-top:16px; }
.mo-pkg-detail-pricehost .mo-pkg-panel{ background:var(--bg); border:1px solid var(--line); border-radius:11px; padding:14px; display:flex; flex-direction:column; gap:10px; }
.mo-pkg-detail-pricehost .pp-price{ font-size:1rem; color:var(--ink); }
.mo-pkg-detail-pricehost .pp-price strong{ color:var(--mo-a); }
.mo-pkg-detail-pricehost .pp-actions{ display:flex; }

/* --- Prijs-vergelijkingslijst (meerdere aanbieders/prijzen) --- */
.pp-list-intro{ font-size:.82rem; margin:2px 0 8px; }
.pp-list{ display:flex; flex-direction:column; gap:6px; max-height:300px; overflow-y:auto; margin-bottom:10px; }
.pp-opt{ display:flex; align-items:center; gap:14px; width:100%; text-align:left; background:var(--card); border:1px solid var(--line); border-radius:9px; padding:9px 12px; font:inherit; cursor:pointer; }
.pp-opt:hover{ border-color:var(--mo-a); }
.pp-opt.is-sel{ border-color:var(--mo-a); box-shadow:0 0 0 2px rgba(11,61,99,.15); background:#fbfaf7; }
.pp-opt-price{ font-weight:700; color:var(--mo-a); font-size:1.05rem; flex:0 0 auto; min-width:88px; }
.pp-opt-price small{ font-weight:400; color:var(--soft); font-size:.72rem; }
.pp-opt-info{ display:flex; flex-direction:column; gap:1px; min-width:0; }
.pp-opt-meta{ font-size:.88rem; color:var(--ink); }
.pp-opt-flights{ display:inline-block; margin-left:6px; font-size:.72rem; font-weight:600; color:#1c7a4a; background:#e7f4ec; border-radius:20px; padding:1px 8px; vertical-align:middle; }
.pp-opt-sub{ font-size:.78rem; color:var(--soft); }

/* --- Plaats-/landinfo (generatie + acties) --- */
.mo-placeinfo-head{ font-weight:600; color:var(--ink); margin-bottom:10px; }
.mo-placeinfo-head .hint{ font-weight:400; color:var(--soft); font-size:.82rem; }
.mo-pi-gen{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:8px; }
.mo-pi-kind{ flex:0 0 auto; }
.mo-pi-place{ flex:1; min-width:180px; }
.mo-pi-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:10px; }
.mo-pi-shown{ font-size:.82rem; color:var(--soft); }
.mo-app-page .mo-btn-danger, .mo-btn-danger{ background:#fff !important; color:#b3261e !important; border:1px solid #e3b6b2 !important; }
.mo-app-page .mo-btn-danger:hover, .mo-btn-danger:hover{ background:#fbeae8 !important; }
.mo-pi-genbtn{ margin-bottom:10px; }

/* Touroperator-editor: hotelrijen */
.mo-to-hotel{ border:1px solid var(--mo-line, #ddd); border-radius:10px; padding:12px; margin-bottom:10px; }
.mo-to-hotel-top{ display:flex; gap:12px; align-items:flex-start; }
.mo-to-hotel-fields{ flex:1; display:flex; flex-direction:column; gap:8px; }
.mo-to-hotel-r2{ display:flex; gap:8px; align-items:center; }
.mo-to-hotel-r2 input{ width:110px; }
.mo-to-hotel-r2 .mo-to-hotel-rm{ margin-left:auto; }
.mo-to-hotel textarea{ width:100%; margin-top:8px; }
.mo-to-hotel-photo .mo-thumb{ width:96px; height:72px; }

/* Rubriek-editor (Reisvoorstel bewerken): onderwerp + invoer op volle breedte, zoals Beschrijving.
   Zonder dit vielen de losse input/textarea terug op de kleine browser-standaardbreedte (~20 tekens). */
.mo-to-sections{ display:flex; flex-direction:column; gap:14px; margin:6px 0 10px; }
.mo-to-sec{ display:flex; flex-direction:column; gap:6px; }
.mo-to-sec-row{ display:flex; align-items:center; gap:8px; }
.mo-to-sec-title{ flex:1 1 auto; min-width:0; padding:10px 12px; font-size:.95rem; }
.mo-to-sec-text{ width:100%; padding:10px 12px; min-height:120px; font-size:.95rem; line-height:1.5; resize:vertical; }

/* Knoppenrij onder accommodaties */
.mo-acc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}

/* Locatie-picker: kaart met versleepbare pin */
.mo-modal.mo-modal-wide{ max-width:780px; }
.mo-acc-geobtns{ display:flex; gap:6px; flex-wrap:wrap; }
.mo-mp-map{ height:420px; border-radius:10px; overflow:hidden; border:1px solid #cdc6b8; margin:12px 0 8px; }
.mo-mp-coord{ font-size:.85rem; margin:0 0 12px; }
/* Leaflet binnen de app: tegels en markers niet door thema-/app-CSS laten vervormen */
.mo-mp-map img, .leaflet-container img{ max-width:none !important; box-shadow:none !important; border:0 !important; border-radius:0 !important; }
.leaflet-container{ font:inherit; }

/* Prominente "Hotelgegevens ophalen uit ons aanbod"-knop bij accommodaties */
.mo-acc-fetch{ margin:2px 0 12px; padding:13px 15px; background:var(--bg); border:1px solid var(--line); border-radius:10px; }
.mo-acc-fetch .mo-btn-primary{ width:100%; justify-content:center; font-size:.98rem; }
.mo-acc-fetch-hint{ margin:9px 0 0; font-size:.85rem; line-height:1.5; color:var(--soft); }

/* -------------------------------------------------- Herbruikbare bibliotheek */
/* Kleine ☆/📚-knopjes naast een tekstveld-label */
/* Knoppengroep rechts van een tekstveld-label (AI + bibliotheek), netjes op één lijn. */
.mo-f-actions{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.mo-lib-mini{ background:none; border:none; cursor:pointer; font-size:1rem; line-height:1.2; padding:0 2px; opacity:.75; display:inline-flex; align-items:center; }
.mo-lib-mini:hover{ opacity:1; }
/* Bewaar-dialoog: "delen met bureau"-vinkje */
.mo-check{ display:flex; align-items:center; gap:8px; margin:10px 0 2px; font-size:.92rem; cursor:pointer; }
.mo-check input{ width:16px; height:16px; }
/* Kiezer: lijst met blok-kaarten */
.mo-lib-res{ margin-top:12px; display:flex; flex-direction:column; gap:10px; max-height:60vh; overflow-y:auto; }
.mo-lib-card{ display:flex; align-items:center; gap:12px; padding:10px; border:1px solid var(--line); border-radius:10px; background:var(--bg); }
.mo-lib-thumb{ width:84px; height:60px; flex:0 0 auto; border-radius:8px; background-size:cover; background-position:center; border:1px solid var(--line); }
.mo-lib-thumb-empty{ display:flex; align-items:center; justify-content:center; font-size:1.4rem; background:#f3f0ea; }
.mo-lib-meta{ flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.mo-lib-meta strong{ font-size:.97rem; }
.mo-lib-sum{ font-size:.83rem; color:var(--soft); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mo-lib-tags{ font-size:.78rem; color:var(--soft); }
.mo-lib-act{ flex:0 0 auto; display:flex; gap:6px; }

/* -------------------------------------------------- Calculatie & marge (intern) */
.mo-calc-note{ margin:0 0 12px; font-size:.85rem; }
.mo-calc-persons{ max-width:340px; margin-bottom:14px; }
.mo-calc{ display:flex; flex-direction:column; gap:6px; overflow-x:auto; }
.mo-calc-row{ display:grid; grid-template-columns: minmax(160px,2fr) 72px 96px 150px 110px 30px; gap:8px; align-items:center; }
.mo-calc-head{ font-size:.75rem; text-transform:uppercase; letter-spacing:.03em; color:var(--soft); padding:0 2px; }
.mo-calc-row input, .mo-calc-row select{ padding:8px 9px; border:1px solid var(--line); border-radius:8px; font:inherit; width:100%; }
.mo-calc-row .cl-margin{ display:flex; gap:4px; }
.mo-calc-row .cl-margin .cl-mval{ flex:1; min-width:0; }
.mo-calc-row .cl-margin .cl-mtype{ width:56px; flex:0 0 auto; }
.mo-calc-row .cl-sell{ text-align:right; font-weight:600; font-variant-numeric:tabular-nums; }
.mo-calc-row .cl-rm{ justify-self:center; }
.mo-calc-tot{ margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.mo-calc-tot-grid{ display:flex; flex-wrap:wrap; gap:10px 26px; }
.mo-calc-tot-grid > div{ display:flex; flex-direction:column; gap:2px; }
.mo-calc-tot-grid span{ font-size:.78rem; color:var(--soft); }
.mo-calc-tot-grid strong{ font-size:1.05rem; font-variant-numeric:tabular-nums; }
.mo-calc-tot-grid em{ font-style:normal; font-size:.82rem; color:var(--soft); }
.mo-calc-tot-sell strong{ color:var(--mo-a); }
.mo-calc-apply{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }

/* -------------------------------------------------- Reisdocumenten (bouwer) */
.mo-doc-current{ margin-top:8px; min-height:1px; }
.mo-doc-file{ display:inline-block; font-size:.85rem; color:var(--soft); background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:5px 10px; word-break:break-all; }

/* -------------------------------------------------- Dashboard: tabbladen per status */
.mo-tabs-nav{ display:flex; gap:2px; flex-wrap:wrap; align-items:flex-end; padding:6px 32px 0; border-bottom:1px solid var(--line); margin-bottom:4px; }
/* Dashboard-statustabs. GESCOped op .mo-tabs-nav zodat ze NIET botsen met de gelijknamige
   .mo-tab content-panes van de fotokiezer (die anders zichtbaar bleven + kregen knop-opmaak). */
.mo-tabs-nav .mo-tab{ display:inline-flex; align-items:center; gap:8px; background:none; border:0; border-bottom:2.5px solid transparent; padding:12px 17px; margin-bottom:-1px; font:inherit; font-size:.9rem; letter-spacing:.01em; color:var(--soft); cursor:pointer; border-radius:9px 9px 0 0; transition:color .15s, background .15s; }
.mo-tabs-nav .mo-tab:hover{ color:var(--ink); background:rgba(21,62,53,.05); }
.mo-tabs-nav .mo-tab.is-active{ color:var(--mo-a); border-bottom-color:var(--mo-a); font-weight:600; }
.mo-tab-count{ font-size:.72rem; font-weight:600; background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:1px 8px; color:var(--soft); min-width:20px; text-align:center; }
.mo-tabs-nav .mo-tab.is-active .mo-tab-count{ background:var(--mo-a); color:#fff; border-color:var(--mo-a); }
.mo-tabs-nav .mo-tab.is-urgent{ color:#b5462f; }
.mo-tabs-nav .mo-tab.is-urgent .mo-tab-count{ background:#fbe9e2; color:#b5462f; border-color:#f0d0c4; }
.mo-tabs-nav .mo-tab.is-urgent.is-active{ color:#b5462f; border-bottom-color:#b5462f; }
.mo-tabs-nav .mo-tab.is-urgent.is-active .mo-tab-count{ background:#b5462f; color:#fff; border-color:#b5462f; }

/* Opvolging (mini-CRM) op de kaart + archief */
.mo-ocard-follow{ margin:6px 0 0; font-size:.82rem; color:var(--soft); }
.mo-ocard-follow.is-overdue{ color:#b5462f; font-weight:600; }
.mo-followup-date{ max-width:240px; }
.mo-ocard.is-archived{ opacity:.72; }
.mo-arch-badge{ margin-left:8px; font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color:var(--soft); background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:2px 8px; }
.mo-off-badge{ color:#b3261e; background:#fdecea; border-color:#f5c6c0; }
/* Klantnummer → klantpagina-link onder de basisgegevens. */
.mo-client-portal{ min-height:4px; }
.mo-portal-link{ display:inline-flex; align-items:center; gap:6px; font-size:.86rem; color:var(--mo-a); text-decoration:none; font-weight:600; padding:4px 0; }
.mo-portal-link:hover{ text-decoration:underline; }
/* Publiceren-knop in de editor-header: offline = rood accent. */
#mo-pub.is-offline{ color:#b3261e !important; border-color:#f5c6c0 !important; background:#fdecea !important; }

/* ---------- CRM (klantbeheer per reisbureau) ---------- */
.mo-head .mo-crm-link{ font-weight:600; }
.mo-crm-search{ position:relative; margin:18px 32px 8px; }
.mo-crm-search-ico{ position:absolute; left:15px; top:50%; transform:translateY(-50%); opacity:.5; font-size:.95rem; pointer-events:none; }
.mo-crm-q{ width:100%; padding:13px 16px 13px 42px; border:1px solid var(--line); border-radius:12px; font:inherit; font-size:1rem; background:var(--card); color:var(--ink); }
.mo-crm-q:focus{ outline:none; border-color:var(--mo-a); box-shadow:0 0 0 3px color-mix(in srgb,var(--mo-a) 18%,transparent); }
.mo-crm-list{ margin:8px 32px 44px; }
.mo-crm-rows{ display:flex; flex-direction:column; gap:8px; }
.mo-crm-row{ display:grid; grid-template-columns:130px 1fr 1.3fr auto 20px; align-items:center; gap:14px; width:100%; text-align:left; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px 18px; font:inherit; color:var(--ink); cursor:pointer; transition:border-color .15s, box-shadow .15s, transform .12s; }
.mo-crm-row:hover{ border-color:var(--mo-a); box-shadow:0 14px 30px -22px rgba(21,62,53,.5); transform:translateY(-1px); }
.mo-crm-num{ font-weight:700; color:var(--mo-a); font-size:.9rem; }
.mo-crm-name{ font-weight:600; }
.mo-crm-email{ color:var(--soft); font-size:.9rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mo-crm-count{ font-size:.78rem; color:var(--soft); background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:3px 11px; white-space:nowrap; }
.mo-crm-arrow{ color:var(--mo-a); opacity:.55; text-align:right; }
@media(max-width:720px){ .mo-crm-search,.mo-crm-list{ margin-left:18px; margin-right:18px; } .mo-crm-row{ grid-template-columns:1fr auto; row-gap:3px; } .mo-crm-email,.mo-crm-arrow{ display:none; } .mo-crm-num,.mo-crm-name{ grid-column:1; } .mo-crm-count{ grid-column:2; grid-row:1/3; align-self:center; } }

.mo-client-detail{ margin:16px 32px 46px; display:flex; flex-direction:column; gap:18px; }
.mo-client-card{ background:var(--card); border:1px solid var(--line); border-radius:16px; padding:22px 24px; box-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 30px 62px -52px rgba(21,62,53,.5); }
.mo-client-card h2{ font-family:"Cormorant Garamond",serif; font-weight:600; font-size:1.5rem; margin:0 0 14px; color:var(--ink); }
.mo-client-head{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.mo-avatar-lg{ width:52px; height:52px; font-size:1.1rem; flex:0 0 auto; }
.mo-client-head h2{ margin:0; }
.mo-client-sub{ color:var(--soft); font-size:.86rem; }
.mo-client-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.mo-client-offers-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.mo-client-offers-head h2{ margin:0; }
.mo-crm-offers{ display:flex; flex-direction:column; gap:8px; }
.mo-crm-offer{ display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid var(--line); border-radius:12px; padding:12px 16px; background:var(--bg); }
.mo-crm-offer-main{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-width:0; }
.mo-crm-offer-main strong{ font-weight:600; }
.mo-crm-offer-meta{ color:var(--soft); font-size:.85rem; }
.mo-crm-offer-act{ display:flex; gap:8px; flex:0 0 auto; }
@media(max-width:720px){ .mo-client-detail{ margin-left:18px; margin-right:18px; } .mo-crm-offer{ flex-direction:column; align-items:flex-start; } }

/* Klant-autofill (typeahead) in de basisgegevens. */
.mo-ac-dd{ position:absolute; z-index:9999; background:var(--card); border:1px solid var(--line); border-radius:12px; box-shadow:0 22px 48px -20px rgba(21,62,53,.5); overflow-y:auto; max-height:320px; }
.mo-ac-item{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; width:100%; text-align:left; background:none; border:0; border-top:1px solid var(--line); padding:10px 14px; font:inherit; color:var(--ink); cursor:pointer; }
.mo-ac-item:first-child{ border-top:0; }
.mo-ac-item:hover, .mo-ac-item.is-active{ background:color-mix(in srgb,var(--mo-a) 8%,var(--card)); }
.mo-ac-num{ font-weight:700; color:var(--mo-a); font-size:.85rem; white-space:nowrap; }
.mo-ac-name{ font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mo-ac-email{ color:var(--soft); font-size:.85rem; white-space:nowrap; }

/* -------------------------------------------------- Bibliotheek-beheerpagina */
.mo-lib-page-intro{ max-width:72ch; margin:0 0 20px; }
.mo-lib-page{ display:flex; flex-direction:column; gap:26px; }
.mo-lib-group h2{ font-size:1.05rem; font-weight:600; margin:0 0 12px; display:flex; align-items:center; gap:8px; }
.mo-lib-count{ font-size:.72rem; font-weight:600; background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:1px 9px; color:var(--soft); }
.mo-lib-items{ display:flex; flex-direction:column; gap:10px; }
.mo-lib-name-inp{ font-size:.97rem; font-weight:600; border:1px solid transparent; border-radius:7px; padding:5px 8px; background:transparent; color:var(--ink); width:100%; }
.mo-lib-name-inp:hover:not([disabled]){ border-color:var(--line); background:#fff; }
.mo-lib-name-inp:focus{ outline:none; border-color:var(--mo-a); background:#fff; }
.mo-lib-scope{ padding:6px 8px; border:1px solid var(--line); border-radius:8px; font:inherit; font-size:.82rem; background:#fff; cursor:pointer; }

/* ---------- Statistieken (per reisvoorstel) ---------- */
.mo-stats{ display:flex; flex-direction:column; gap:6px; }
.mo-stats-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:14px; }
@media (max-width:560px){ .mo-stats-cards{ grid-template-columns:repeat(2,1fr); } }
.mo-stat{ display:flex; flex-direction:column; gap:3px; padding:14px 16px; background:linear-gradient(180deg,#fdfcfa,#f7f5ef); border:1px solid var(--line); border-radius:13px; }
.mo-stat-val{ font-family:"Cormorant Garamond",serif; font-size:1.9rem; font-weight:600; color:var(--accent); line-height:1; }
.mo-stat-lbl{ font-size:.76rem; color:var(--soft); text-transform:uppercase; letter-spacing:.04em; }
.mo-stats-flag{ background:#fff7e6; border:1px solid #f0dca6; color:#8a6d12; border-radius:10px; padding:10px 14px; font-size:.9rem; font-weight:600; margin:4px 0 8px; }
.mo-stats-row{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:9px 2px; border-bottom:1px dotted var(--line); font-size:.92rem; }
.mo-stats-row span{ color:var(--soft); }
.mo-stats-row b{ color:var(--ink); font-weight:600; }
.mo-stats-sub{ margin:18px 0 8px; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; color:var(--accent); }
.mo-stats-chips{ display:flex; flex-wrap:wrap; gap:7px; }
.mo-chip{ background:#f3f1ea; border:1px solid var(--line); border-radius:20px; padding:4px 12px; font-size:.84rem; }
.mo-stats-bars{ display:flex; flex-direction:column; gap:7px; }
.mo-bar{ display:grid; grid-template-columns:minmax(120px,42%) 1fr auto; align-items:center; gap:10px; font-size:.88rem; }
.mo-bar-l{ color:var(--ink); }
.mo-bar-track{ height:9px; background:#efece4; border-radius:6px; overflow:hidden; }
.mo-bar-fill{ display:block; height:100%; background:linear-gradient(90deg,var(--accent),var(--mo-a,#3a7a63)); border-radius:6px; }
.mo-bar-n{ color:var(--soft); font-variant-numeric:tabular-nums; min-width:1.6em; text-align:right; }
.mo-stats-timeline{ display:flex; flex-direction:column; gap:0; max-height:260px; overflow-y:auto; border:1px solid var(--line); border-radius:11px; }
.mo-tl{ display:flex; justify-content:space-between; gap:12px; padding:8px 13px; border-bottom:1px solid #f1efe8; font-size:.85rem; }
.mo-tl:last-child{ border-bottom:0; }
.mo-tl-when{ color:var(--soft); font-variant-numeric:tabular-nums; white-space:nowrap; }
.mo-tl-what{ color:var(--ink); text-align:right; }
.mo-stats-empty{ text-align:center; padding:34px 20px; }
.mo-stats-empty-ico{ font-size:2.6rem; margin-bottom:8px; }
.mo-stats-empty p{ margin:4px 0; }

/* Profielfoto adviseur */
.mo-avatar--photo{ background-size:cover; background-position:center; color:transparent; font-size:0; }
.mo-user-chip{ border-radius:999px; transition:background .15s; }
.mo-user-chip:hover{ background:rgba(0,0,0,.04); }
.mo-profile-top{ display:flex; align-items:center; gap:18px; margin-bottom:8px; }
.mo-profile-av{ width:72px; height:72px; border-radius:50%; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-family:"Cormorant Garamond",serif; font-size:1.8rem; font-weight:600; flex:0 0 auto; }
.mo-profile-av.mo-avatar--photo{ font-size:0; }
.mo-profile-txt strong{ font-family:"Cormorant Garamond",serif; font-size:1.35rem; color:var(--ink); }
.mo-profile-txt p{ margin:4px 0 0; font-size:.9rem; }

/* ---------- Spoor B: overzicht-zoeken, compleetheid, dupliceren, pre-verzend ---------- */
.mo-list-searchrow{ margin:0 0 16px; }
.mo-list-search{ width:260px; max-width:100%; padding:9px 13px; border:1px solid var(--line); border-radius:9px; font:inherit; font-size:.88rem; background:#fff; }
.mo-list-search:focus{ outline:none; border-color:var(--mo-a); }

.mo-dup{ font-size:.82rem; }

.mo-send-warn{ background:#fff7e6; border:1px solid #f0dca6; border-radius:11px; padding:12px 16px; margin:0 0 14px; font-size:.9rem; color:#7a5f12; }
.mo-send-warn ul{ margin:6px 0 6px; padding-left:20px; }
.mo-send-warn li{ margin:2px 0; }
.mo-send-warn .mo-muted{ font-size:.82rem; }

/* ---------- Live-voorbeeld naast de editor ---------- */
#mo-livepreview.is-active{ background:var(--accent); color:#fff; border-color:var(--accent); }
.mo-app-page.mo-has-preview .mo-app{ max-width:min(1680px,97vw); display:flex; gap:18px; align-items:flex-start; }
.mo-app-page.mo-has-preview .mo-shell{ flex:1 1 55%; min-width:0; }
.mo-preview-pane{ flex:0 0 45%; position:sticky; top:24px; align-self:flex-start; display:flex; flex-direction:column; height:calc(100vh - 48px); background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:0 40px 90px -60px rgba(21,62,53,.55); }
.mo-preview-bar{ display:flex; align-items:center; gap:8px; padding:9px 14px; border-bottom:1px solid var(--line); background:#faf8f2; }
.mo-preview-bar strong{ font-family:"Cormorant Garamond",serif; font-size:1.1rem; color:var(--accent); }
.mo-preview-hint{ font-size:.74rem; }
.mo-preview-frame{ flex:1; width:100%; border:0; background:#fff; }
@media (max-width:1100px){
	.mo-app-page.mo-has-preview .mo-app{ display:block; max-width:1160px; }
	.mo-preview-pane{ position:fixed; inset:0; z-index:2000; height:100vh; border-radius:0; flex:none; }
}

/* Nieuw-op-basis-van (sjabloon) kiezer */
.mo-nc-list{ display:flex; flex-direction:column; gap:6px; max-height:340px; overflow-y:auto; margin-top:8px; }
.mo-nc-item{ display:flex; flex-direction:column; align-items:flex-start; gap:1px; text-align:left; padding:10px 14px; background:#fff; border:1px solid var(--line); border-radius:10px; cursor:pointer; font:inherit; }
.mo-nc-item:hover{ border-color:var(--accent); background:#f7faf8; }
.mo-nc-item-t{ font-weight:600; color:var(--ink); }
.mo-nc-item-m{ font-size:.82rem; color:var(--soft); }

/* Klant verwijderen — knop rechts in de actie-rij */
.mo-client-del{ margin-left:auto; }

/* Cruiseschip-verhaal in de reisvoorstel-editor (zelfde vorm als de plaats-/landinfo). */
.mo-shipinfo{ margin-top:14px; }
.mo-si-ship{ flex:1; min-width:220px; }

/* Vrije rubrieken binnen een accommodatie */
.mo-acc-secs-edit{ margin:10px 0 4px; }
.mo-acc-secs-list{ display:flex; flex-direction:column; gap:8px; margin-bottom:8px; }
.mo-repitem-sub{ background:rgba(0,0,0,.02); border-left:3px solid var(--mo-a2, #cac61e); }
