@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#263c34;--muted:#758078;--paper:#f6f5f0;--line:#dddeda;--green:#315c47}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px 'DM Sans',sans-serif}header{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 6vw;background:#fafaf7}.brand{text-decoration:none;color:var(--ink);font-weight:700;font-size:21px;display:flex;align-items:center;gap:12px}.mark{display:grid;place-items:center;background:var(--green);color:white;width:38px;height:38px;border-radius:11px;font-size:28px}.header-note{color:var(--muted);margin-left:auto;font-size:13px}main{max-width:1170px;margin:0 auto;padding:58px 28px 90px;min-height:calc(100vh - 160px)}h1{font:600 clamp(34px,4vw,52px)/1.14 'Manrope',sans-serif;letter-spacing:-2px;margin:18px 0}h2{font:700 21px 'Manrope',sans-serif;letter-spacing:-.5px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#738475}.intro{color:var(--muted);font-size:16px;line-height:1.7}.overview{display:flex;justify-content:space-between;align-items:center;margin-bottom:58px}.button,button{border:0;border-radius:8px;background:var(--green);padding:14px 21px;color:white;font:600 14px 'DM Sans',sans-serif;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{filter:brightness(.94)}.secondary{background:#e7ebe3;color:var(--ink)}.text{background:none;color:var(--muted);padding:8px 0;font-size:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 20px;gap:12px}.section-heading>span{color:var(--muted);font-size:13px}.count{font-size:13px;background:#e5e9df;border-radius:50%;padding:5px 9px;margin-left:8px}.filters{display:flex;gap:5px}.filters button{background:transparent;color:var(--muted);padding:9px 14px;font-size:12px}.filters .active{background:#e1e8dc;color:var(--ink)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{border:1px solid var(--line);background:white;border-radius:14px;overflow:hidden;color:inherit;text-decoration:none;transition:transform .2s}.card:hover{transform:translateY(-3px)}.cover{height:210px;background:#e9e9df;display:grid;place-items:center}.cover>span{font-size:68px;color:#a8b3a3}.cover img{width:100%;height:100%;object-fit:cover}.card-body{padding:23px}.badge{display:inline-block;background:#f1eadb;color:#8c7240;border-radius:5px;padding:5px 9px;font-size:11px;font-weight:600}.badge.done{background:#e3edde;color:#4b704a}.card h2{font-size:20px;margin:16px 0 9px}.card p,.room{color:var(--muted)}.card-footer{border-top:1px solid #eceee8;margin-top:24px;padding-top:15px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.empty{text-align:center;border:1px dashed #cbd3c7;border-radius:15px;padding:56px 20px;background:#eeefe7}.empty>span{font-size:50px;color:#8fa08d}.empty p{color:var(--muted);line-height:1.8}.empty .button{margin-top:14px}.back{display:inline-block;color:var(--muted);text-decoration:none;margin-bottom:30px}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.detail-heading h1{max-width:830px}.description{background:white;border:1px solid var(--line);border-radius:12px;padding:28px;margin:28px 0}.description p{font-size:17px;line-height:1.8;margin-bottom:0}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.gallery img{width:100%;height:260px;object-fit:cover;border-radius:10px}.gallery label span{display:block;padding:10px 0;font-size:13px}.gallery input[type=checkbox]{width:auto;display:inline}.empty-photo{padding:36px;border:1px dashed var(--line);border-radius:10px;color:var(--muted)}.share{margin-top:42px;padding:28px;background:#e8eddf;border-radius:12px}.share h2{margin-top:0}.share p{color:#687762;line-height:1.6}.share-controls{display:flex;gap:10px}.share-controls input{margin:0}.share-controls button{white-space:nowrap}.delete{margin-top:22px}.delete button{color:#9e5650}label{display:block;font-weight:600;font-size:13px}input,textarea,select{display:block;width:100%;margin:9px 0 24px;padding:14px;border:1px solid #d1d7cb;background:#fff;border-radius:7px;font:15px 'DM Sans',sans-serif;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid #a0b598;outline-offset:2px}textarea{resize:vertical}.editor{max-width:800px;margin-top:35px}.row{display:grid;grid-template-columns:2fr 1fr;gap:20px}.upload{padding:24px;background:#e9ecdf;border-radius:10px;margin-bottom:24px}.upload input{margin-bottom:12px;background:transparent;border:0;padding:0}small{font-size:12px;color:var(--muted);font-weight:400;line-height:1.7}.login{max-width:530px;margin:25px auto}.login>p{color:var(--muted);font-size:17px;line-height:1.7}.login form{margin:35px 0 24px}.login button{width:100%;display:flex;justify-content:space-between}.error{padding:16px 20px;background:#f5e2dd;color:#954938;border-radius:8px;margin-bottom:22px}.footnote{margin-top:35px;color:var(--muted)}footer{border-top:1px solid var(--line);padding:24px 6vw;font-size:12px;color:var(--muted);display:flex;justify-content:space-between}[hidden]{display:none!important}@media(max-width:760px){header{height:74px;padding:0 20px}.header-note{display:none}header form{margin-left:auto}main{padding:34px 20px 60px}.overview{display:block;margin-bottom:35px}.overview .button{margin-top:15px}.cards{grid-template-columns:1fr 1fr}.gallery{grid-template-columns:1fr 1fr}.section-heading{align-items:flex-start;flex-direction:column}.detail-heading{display:block}.detail-heading .button{margin:12px 0}.share-controls{flex-direction:column}.row{grid-template-columns:1fr}.login{margin:15px auto}}@media(max-width:480px){.cards{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}.filters button{padding:9px 12px}.gallery img{height:300px}}

.overview.compact{justify-content:flex-end;margin-bottom:18px}.cover.all-photos{height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;align-items:start}.cover.all-photos img{height:150px;object-fit:contain;background:#e9e9df}.cover.all-photos img:only-child{grid-column:1/-1;height:230px}

.cards{grid-template-columns:1fr}.card:hover{transform:none}.task-description{font-size:16px;line-height:1.7;white-space:normal;overflow-wrap:anywhere;margin:20px 0}.task-photos{display:flex;flex-wrap:wrap;gap:12px}.task-photos a{display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#eeeee7}.task-photos img{display:block;width:160px;height:130px;object-fit:contain}.card-footer a{color:var(--green);text-decoration:none}#photo-dialog{border:0;border-radius:12px;padding:48px 12px 12px;max-width:95vw;max-height:95vh;background:#fafaf7}#photo-dialog::backdrop{background:rgba(0,0,0,.8)}#photo-dialog img{display:block;max-width:88vw;max-height:80vh;object-fit:contain}.photo-close{position:absolute;right:12px;top:8px;padding:8px 12px}@media(max-width:480px){.task-photos img{width:120px;height:105px}.card-footer{gap:12px;flex-wrap:wrap}}

/* Kompakt opgaveoversigt */
header{height:62px;padding:0 24px;gap:16px}.brand{font-size:19px}.mark{width:32px;height:32px;font-size:24px}.header-note{font-size:12px}main{max-width:1280px;padding:20px 24px 32px;min-height:calc(100vh - 115px)}.task-toolbar{flex-direction:row;align-items:center;margin:0 0 16px}.task-toolbar h2{margin:0;font-size:19px}.task-toolbar .button{padding:11px 15px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.card{border-radius:10px;min-width:0}.card-body{padding:16px}.card h2{margin:0 0 8px;font-size:19px;overflow-wrap:anywhere}.task-description{font-size:15px;line-height:1.5;margin:0 0 12px}.task-photos{gap:8px}.task-photos img{width:120px;height:104px}.task-photos a{max-width:100%}footer{padding:16px 24px}.editor{margin-top:20px}.back{margin-bottom:18px}.description{margin:18px 0;padding:20px}@media(max-width:640px){header{height:56px;padding:0 12px;gap:12px}.brand{font-size:17px}.mark{width:28px;height:28px;font-size:22px}.header-note{display:none}.brand+ .header-note+ a{margin-left:auto}main{padding:14px 12px 24px;min-height:calc(100vh - 105px)}.cards{grid-template-columns:1fr;gap:10px}.card-body{padding:13px}.card h2{font-size:18px}.task-toolbar{margin-bottom:12px;gap:12px}.task-toolbar .button{margin:0;min-height:44px}.task-photos img{width:104px;height:96px}.task-description{margin-bottom:10px}.task-photos{gap:7px}footer{padding:14px 12px}.text{min-height:44px;display:inline-flex;align-items:center}.gallery img{height:220px}#photo-dialog{max-width:calc(100vw - 16px);padding:50px 8px 8px}#photo-dialog img{max-width:calc(100vw - 48px);max-height:75dvh}.login{margin:10px auto}.row{grid-template-columns:1fr}}
