:root{--ink:#20302f;--muted:#71807e;--green:#173f3a;--green2:#236259;--mint:#e8f1ef;--line:#dfe5e3;--paper:#fff;--bg:#f5f7f6;--orange:#e58a45;--red:#b84e4b;--shadow:0 8px 30px rgba(25,55,50,.07)}
*{box-sizing:border-box}
html{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
body{margin:0;min-height:100vh}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.topbar{height:76px;background:var(--green);color:white;display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:20;box-shadow:0 3px 18px rgba(0,0,0,.12)}
.brand{display:flex;align-items:center;gap:12px;min-width:320px}.brand-mark{width:106px;height:56px;border-radius:7px;background:#fff;color:var(--green);display:grid;place-items:center;font-weight:900;font-size:14px;overflow:hidden}.brand-mark img{display:none;width:100%;height:100%;object-fit:contain}.brand-mark.has-logo>span{display:none}.brand-mark.has-logo img{display:block}.brand strong,.brand span{display:block}.brand strong{font-size:19px}.brand span{font-size:12px;color:#bfd1cd;margin-top:2px}
.save-state{margin:auto;font-size:13px;color:#d7e4e1;background:rgba(255,255,255,.08);padding:8px 14px;border-radius:20px}.icon-button{background:none;border:0;color:white;font-size:21px;letter-spacing:3px}
.app-shell{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 76px)}
.sidebar{background:white;border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:76px;height:calc(100vh - 76px);overflow:auto}
.project-card{background:var(--mint);padding:16px;border-radius:14px;margin-bottom:20px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.2px;color:var(--green2)}.project-card strong,.project-card>span{display:block}.project-card strong{font-size:14px;margin:7px 0 3px}.project-card>span:not(.eyebrow){color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress{height:5px;background:#d1dfdc;border-radius:6px;margin:14px 0 7px;overflow:hidden}.progress i{display:block;width:0;height:100%;background:var(--green2);transition:.3s}.project-card small{font-size:10px;color:var(--muted)}
nav{display:flex;flex-direction:column;gap:3px}nav button{border:0;background:transparent;color:#53615f;padding:10px 9px;display:grid;grid-template-columns:28px 1fr 12px;align-items:center;text-align:left;border-radius:9px;font-size:13px}nav button span{width:23px;height:23px;border-radius:50%;border:1px solid #cdd6d4;display:grid;place-items:center;font-size:10px}nav button i{font-style:normal;color:#a2aeac;font-size:20px}nav button.active{background:var(--mint);color:var(--green);font-weight:700}nav button.active span{background:var(--green);color:#fff;border-color:var(--green)}nav button.not-selected{opacity:.38}
.settings-button,.new-project,.list-button{border:1px solid var(--line);background:white;border-radius:9px;padding:11px;color:var(--green);font-size:12px;font-weight:700}.list-button{margin-top:14px;background:var(--mint);border-color:#bdd2cd}.settings-button{margin-top:auto;margin-bottom:7px}
main{padding:34px 44px 100px;max-width:1180px;width:100%;margin:0 auto}.step{display:none}.step.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px;gap:20px}.page-heading h1{font-size:30px;letter-spacing:-.7px;margin:5px 0}.page-heading p{margin:0;color:var(--muted);font-size:14px}.date-chip{border:1px solid var(--line);background:white;padding:10px 13px;border-radius:10px;font-size:12px;color:var(--muted)}
.card{background:var(--paper);border:1px solid #e6ebe9;border-radius:16px;padding:24px;margin-bottom:18px;box-shadow:var(--shadow)}.card h2{font-size:17px;margin:0 0 18px}.card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.card-title h2{margin-bottom:5px}.hint{color:var(--muted);font-size:12px;margin:-10px 0 17px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.wide{grid-column:1/-1}label{font-size:11px;font-weight:700;color:#52615f;position:relative}input,select,textarea{width:100%;margin-top:7px;border:1px solid #d7dfdd;border-radius:9px;padding:11px 12px;background:#fbfcfc;color:var(--ink);outline:none;transition:.15s}input:focus,select:focus,textarea:focus{border-color:var(--green2);box-shadow:0 0 0 3px rgba(35,98,89,.1);background:#fff}textarea{min-height:82px;resize:vertical}label em{position:absolute;right:12px;bottom:12px;font-style:normal;color:#899592;font-weight:400;font-size:11px}label:has(em) input{padding-right:80px}
.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.choice{border:1.5px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;min-height:126px}.choice input{position:absolute;opacity:0}.choice:has(input:checked){border-color:var(--green2);background:var(--mint);box-shadow:inset 0 0 0 1px var(--green2)}.choice-icon{font-size:25px;color:var(--green2);margin-bottom:12px}.choice b{color:var(--ink);font-size:13px}.choice small{color:var(--muted);font-size:10px;margin-top:4px;font-weight:400;line-height:1.35}
.toggle-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.toggle-row label{border:1px solid var(--line);border-radius:20px;padding:9px 14px;cursor:pointer}.toggle-row input{width:auto;margin:0 5px 0 0;accent-color:var(--green2)}
.status-row{display:flex;gap:10px;flex-wrap:wrap}.status-pill{border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--green);padding:10px 14px;font-size:12px;font-weight:800}.status-pill.active{background:var(--green);border-color:var(--green);color:#fff}.status-pill.archive{border-color:#dec5c4;color:var(--red)}.api-hint{margin:14px 0 0}.action-stack{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}
.primary,.secondary,.small-button,.top-list-button{border-radius:9px;padding:11px 16px;font-size:12px;font-weight:800}.primary{background:var(--green);color:white;border:1px solid var(--green)}.secondary,.small-button,.top-list-button{background:#fff;color:var(--green);border:1px solid var(--line)}.top-list-button{margin-left:auto;margin-right:10px;padding:9px 13px}.small-button{padding:8px 12px;white-space:nowrap}.hidden{display:none!important}.completion-card{border-color:#bdd2cd;background:linear-gradient(135deg,#eff8f5,#fff);display:flex;align-items:center;justify-content:space-between;gap:16px}.completion-card h2{margin:4px 0 4px}
.repeat-list{display:flex;flex-direction:column;gap:14px}.repeat-card{background:white;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow)}.repeat-head{display:flex;justify-content:space-between;margin-bottom:17px}.delete-row{border:0;background:#f7eeee;color:var(--red);border-radius:50%;width:27px;height:27px;font-size:18px}.empty-state{background:white;border:1px dashed #cbd6d3;border-radius:16px;text-align:center;padding:70px 20px;color:var(--muted)}.empty-state div{font-size:42px;color:var(--green2)}.empty-state h2{color:var(--ink);font-size:18px;margin:12px 0 5px}.empty-state p{font-size:12px;margin:0 0 20px}
.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.photo-placeholder,.photo-item{aspect-ratio:4/3;border:1px dashed #bdcbc8;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:#f8faf9}.photo-placeholder span{font-size:25px;color:var(--green2)}.photo-placeholder b{font-size:11px;color:var(--ink);margin-top:5px}.photo-placeholder small{font-size:9px;color:var(--muted);margin-top:3px}.upload input{position:absolute;width:1px;height:1px;opacity:0}.upload{cursor:pointer}.photo-item{position:relative}.photo-item img{width:100%;height:100%;object-fit:cover}.photo-item button{position:absolute;right:5px;top:5px;background:rgba(20,30,29,.7);color:white;border:0;border-radius:50%;width:25px;height:25px}
.sketch-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.tool{border:1px solid var(--line);background:white;border-radius:20px;padding:8px 11px;font-size:10px}.tool.active{background:var(--green);color:white;border-color:var(--green)}.canvas-wrap{height:420px;border:1px solid #d6dfdd;border-radius:12px;position:relative;overflow:hidden;background-color:#fcfdfd;background-image:linear-gradient(#e8edec 1px,transparent 1px),linear-gradient(90deg,#e8edec 1px,transparent 1px);background-size:25px 25px}.canvas-wrap canvas{width:100%;height:100%;touch-action:none;position:relative;z-index:2}.canvas-tip{position:absolute;inset:0;display:grid;place-items:center;color:#a0aaa8;font-size:12px;pointer-events:none}
.notes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.note-card{border-top:4px solid}.note-card>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-weight:900;margin-bottom:14px}.note-card h2{margin-bottom:5px}.note-card p{font-size:11px;color:var(--muted);min-height:28px}.note-card textarea{min-height:200px}.note-card.green{border-top-color:#4f8d75}.note-card.green>span{background:#e6f2ed;color:#3d7963}.note-card.amber{border-top-color:#db9c38}.note-card.amber>span{background:#fff3dc;color:#ad741c}.note-card.red{border-top-color:#c7615c}.note-card.red>span{background:#f8e7e6;color:#a44b47}.large-textarea{min-height:130px}
.step-footer{position:fixed;bottom:0;left:250px;right:0;height:72px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-top:1px solid var(--line);display:flex;justify-content:center;align-items:center;gap:22px;z-index:15}.step-footer span{font-size:11px;color:var(--muted);min-width:40px;text-align:center}
.project-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden}.project-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:12px 13px;background:#fff}.project-row:last-child{border-bottom:0}.project-row.active{background:var(--mint)}.project-open-area{appearance:none;border:0;background:transparent;text-align:left;padding:0;display:block;min-width:180px;flex:1;cursor:pointer}.project-row strong,.project-row span,.project-row small{display:block}.project-row strong{font-size:13px;color:var(--ink)}.project-row span{font-size:11px;color:var(--muted);margin-top:3px}.project-row small{font-size:10px;color:#78908a;margin-top:3px}.project-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.compact-actions{flex-wrap:nowrap}.status-select{border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font-size:11px;font-weight:700;padding:8px 9px;max-width:170px}.danger-light{color:var(--red);border-color:#e3cac8}.compact-empty{margin-top:14px;padding:18px}.compact-empty div{font-size:28px}.compact-empty h2{font-size:18px}
.summary-hero{background:var(--green);color:#fff;border-radius:16px;padding:28px;margin-bottom:18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:22px}.summary-hero h2{font-size:24px;margin:5px 0}.summary-hero p{color:#c9d8d5;margin:0;font-size:13px}.summary-company-logo{width:180px;height:111px;object-fit:contain;background:#fff;border-radius:7px}.summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.summary-card{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.summary-card h3{font-size:14px;margin:0 0 12px;color:var(--green)}.summary-card dl{margin:0;display:grid;grid-template-columns:130px 1fr;gap:7px;font-size:11px}.summary-card dt{color:var(--muted)}.summary-card dd{margin:0;font-weight:600;white-space:pre-wrap}.wide-summary{grid-column:1/-1}.row-summary{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.row-summary:first-of-type{border-top:0;padding-top:0;margin-top:0}.summary-image{width:100%;max-height:540px;object-fit:contain;border:1px solid var(--line);border-radius:10px}.summary-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.summary-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px;border:1px solid var(--line)}
.modal-backdrop{position:fixed;inset:0;background:rgba(15,30,28,.48);z-index:50;display:none;align-items:center;justify-content:center;padding:20px}.modal-backdrop.open{display:flex}.settings-modal{width:min(420px,100%);background:white;border-radius:18px;padding:26px;box-shadow:0 24px 70px rgba(0,0,0,.25);max-height:90vh;overflow:auto}.settings-modal h2{margin:5px 0 18px}.logo-preview{height:190px;background:#f4f7f6;border:1px dashed #bdcbc8;border-radius:13px;display:grid;place-items:center;margin:18px 0}.brand-mark.large{width:260px;height:160px;border-radius:8px;font-size:25px}.logo-upload,.remove-logo{display:block;width:100%;text-align:center;margin-top:10px}.remove-logo{padding:10px}.settings-separator{border:0;border-top:1px solid var(--line);margin:22px 0}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:30;left:0;top:76px;bottom:0;transform:translateX(-105%);transition:.25s;width:260px}.sidebar.open{transform:none}.brand{min-width:0}.save-state{display:none}.topbar{padding:0 18px}.top-list-button{margin-left:auto}.icon-button{margin-left:0}.choice-grid{grid-template-columns:repeat(2,1fr)}main{padding:26px 24px 95px}.step-footer{left:0}.notes-grid{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(3,1fr)}.project-row{align-items:flex-start;flex-direction:column}.project-actions{justify-content:flex-start}.compact-actions{flex-wrap:wrap}.status-select{max-width:none}.project-open-area{width:100%}}
@media(max-width:580px){main{padding-left:15px;padding-right:15px}.form-grid,.form-grid.three{grid-template-columns:1fr}.choice-grid{grid-template-columns:1fr 1fr}.choice{min-height:112px;padding:13px}.page-heading h1{font-size:25px}.date-chip{display:none}.photo-grid{grid-template-columns:repeat(2,1fr)}.summary-grid{grid-template-columns:1fr}.summary-photos{grid-template-columns:repeat(2,1fr)}.summary-hero{grid-template-columns:1fr}.card{padding:18px}.page-heading .primary{position:fixed;bottom:82px;right:15px;z-index:10}.canvas-wrap{height:350px}}
@media print{.topbar,.sidebar,.step-footer,.page-heading,.no-print{display:none!important}.app-shell{display:block}main{padding:0;max-width:none}.step{display:none!important}#overzicht{display:block!important}.summary-card,.summary-hero{break-inside:avoid;box-shadow:none}.summary-hero{background:#fff;color:#111;border:2px solid #173f3a}.summary-hero p{color:#555}}
