:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203148;background:#eff3f9;font-size:15px;--blue:#245b99;--deep:#163d6b;--muted:#64748b;--line:#d9e1eb;--purple:#79519b;--purple-bg:#f3e8f8;--green:#217b53;--green-bg:#e2f3e8;--radius:12px}*{box-sizing:border-box}body{margin:0;min-width:310px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.app-shell{max-width:1650px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column}.topbar{background:linear-gradient(108deg,#173e71,#24619f);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 25px;min-height:78px;box-shadow:0 2px 9px #15355020}.brand{display:flex;align-items:center;gap:13px;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:#fff;color:#1a4d83;font-weight:900;font-size:23px;width:42px;height:42px;border-radius:11px}.brand strong{display:block;font-size:18px;letter-spacing:.2px}.brand small{display:block;font-size:11px;opacity:.82;margin-top:3px}.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.top-actions select{width:190px;max-width:29vw;color:#142d4b;background:#fff;border:1px solid #acc5e4;border-radius:9px;height:39px;padding:0 9px}.storage-status{display:inline-flex;align-items:center;gap:7px;min-width:130px;font-size:12px;font-weight:650}.status-light{width:9px;height:9px;border-radius:50%;background:#e8c05d;flex:none}.storage-status.saved .status-light{background:#62dc9f}.storage-status.error .status-light{background:#ff7878}.tabs{display:flex;background:#fff;padding:0 25px;border-bottom:1px solid var(--line);gap:3px;overflow-x:auto}.tab{border:0;background:transparent;color:#485c71;font-weight:680;padding:15px 19px;white-space:nowrap;min-height:53px;border-bottom:3px solid transparent}.tab span{font-size:12px;color:#7991ad;display:inline-grid;place-items:center;margin-right:6px;width:21px;height:21px;border-radius:50%;background:#ecf2f8}.tab.active{border-color:var(--blue);color:var(--deep)}.tab.active span{background:#215990;color:#fff}.tab:hover:not(.active){background:#f4f7fb}main{flex:1;width:100%;padding:24px 26px 34px}.footer{border-top:1px solid var(--line);padding:13px 26px;color:#77879b;background:#fff;font-size:12px;display:flex;justify-content:space-between;gap:12px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.page-head h1{font-size:24px;color:#203a59;line-height:1.25;margin:0 0 5px}.page-head p{font-size:13px;color:#667b92;margin:0;line-height:1.5}.page-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;min-height:42px;padding:10px 15px;font-size:13px;font-weight:730;border:1px solid #a5b9d1;color:#205183;background:#fff;text-decoration:none;text-align:center}.btn:active{transform:translateY(1px)}.btn:hover:not(:disabled){filter:brightness(.975)}.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 3px 7px #1a538122}.btn-ghost{border-color:transparent;background:#e8eff8}.btn-light{background:#ffffffec;border-color:#ffffff;color:#1c5086}.btn-danger{color:#a33542;border-color:#edc6ce}.btn-small{min-height:34px;padding:6px 11px;font-size:12px}.btn-large{min-height:47px;padding:10px 21px;font-size:15px}.panel{background:#fff;border:1px solid #dfe6ef;border-radius:13px;box-shadow:0 2px 8px #25436708}.panel-pad{padding:21px}.section-title{font-size:16px;color:#243e5b;font-weight:760;margin:0 0 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.hint{font-size:12px;color:#76889b;line-height:1.5}.muted{color:var(--muted)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:16px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field-grid.one{grid-template-columns:minmax(0,1fr)}.field{display:block;min-width:0}.field > span,.field-title{display:block;font-weight:700;color:#43576c;font-size:12px;margin-bottom:6px}.field input,.field select,.field textarea,.control{display:block;width:100%;background:#fff;color:#293d55;min-height:43px;padding:9px 11px;border-radius:8px;border:1px solid #cdd7e2;outline-color:#1d65ae;transition:border .1s}.field textarea{min-height:78px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#a0adbd}.field input:disabled{background:#f3f5f8;color:#99a2ae}.field select{padding-right:25px}.field-help{font-size:11px;color:#8a98a8;margin-top:5px;line-height:1.5}.field .field-status{font-size:12px;margin-top:3px;color:#6e7f93}.field-required:after{content:' · verplicht';font-weight:500;color:#a65e7f}.asset-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:16px}.side-stack{display:flex;flex-direction:column;gap:16px}.inline-note{padding:12px 14px;background:#eef4fb;border-radius:9px;color:#4c6580;font-size:12px;line-height:1.55}.asset-choice{display:flex;flex-wrap:wrap;gap:12px}.radio-card{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d0deeb;border-radius:9px;min-height:46px;flex:1;min-width:190px;font-size:13px;font-weight:650}.radio-card:has(input:checked){border-color:#2d69a9;background:#eef5fd}.badge-status{display:inline-flex;gap:6px;align-items:center;border-radius:24px;padding:5px 9px;font-size:12px;font-weight:760;white-space:nowrap}.badge-status.green{color:var(--green);background:var(--green-bg)}.badge-status.purple{color:var(--purple);background:var(--purple-bg)}.badge-status.gray{color:#63768b;background:#edf1f5}.pill{display:inline-flex;align-items:center;padding:5px 9px;background:#eff4f9;border-radius:15px;font-size:12px;color:#4f6780}.summary-list{display:flex;flex-direction:column;gap:11px}.summary-list > div{display:flex;gap:10px;justify-content:space-between;border-bottom:1px solid #ecf0f4;padding-bottom:10px;font-size:13px}.summary-list > div:last-child{border:0;padding:0}.summary-list strong{color:#344962}.summary-list span{color:#647b91;text-align:right;overflow-wrap:anywhere}.component-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px}.component-main,.component-side{display:flex;flex-direction:column;gap:16px}.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:8px}.crumb{border:0;background:transparent;color:#386da1;padding:5px 3px;font-weight:600;font-size:12px}.crumb:last-child{color:#405975}.crumb-divider{color:#a8b2bc}.level-strip{display:flex;gap:8px;overflow-x:auto;padding:6px 1px 11px;scrollbar-width:thin}.level-item{flex:none;display:flex;align-items:center;gap:7px;min-height:43px;padding:8px 12px;border:1px solid #d3dfec;border-radius:10px;background:#fff;color:#38516b;min-width:115px;max-width:220px}.level-item.selected{background:#eaf2fa;border-color:#4178ac;box-shadow:0 0 0 1px #4178ac}.level-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.level-item i{width:8px;height:8px;border-radius:50%;flex:none;background:var(--purple)}.level-item i.green{background:var(--green)}.component-section-title{font-size:14px;color:#254362;font-weight:750;border-bottom:1px solid #e8edf4;padding-bottom:9px;margin:4px 0 15px}.field-spec{border:1px solid #e0e6ee;border-radius:10px;padding:12px;background:#fcfdff}.spec-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.75fr);gap:9px}.spec-title{font-weight:750;font-size:12px;display:block;margin-bottom:8px;color:#40546b}.narrow-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.narrow-row .field{flex:1;min-width:120px}.narrow-row input[type=checkbox]{width:18px;height:18px}.photo-upload{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:140px;border:2px dashed #cad8e7;background:#f8fbfd;border-radius:12px;padding:13px;text-align:center}.photo-upload strong{font-size:14px;color:#3a5879}.photo-upload p{margin:0;font-size:12px;color:#8493a3}.photo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}.photo-tile{border:1px solid #e0e6ef;border-radius:10px;overflow:hidden;background:#f8fafc}.photo-tile img{display:block;width:100%;height:139px;object-fit:cover;cursor:zoom-in}.photo-tile small{display:block;padding:6px 8px;font-size:10px;color:#6c7f92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-tile .btn{width:100%;border:0;border-top:1px solid #e2e8ee;border-radius:0}.missing-list{display:flex;flex-direction:column;gap:6px;margin:8px 0 0;padding-left:19px;color:#73528b;font-size:12px}.sibling-nav{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.deepen-box{border:1px solid #c6d9ec;background:#f2f7fc;border-radius:12px;padding:14px;margin-top:12px}.deepen-row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.deepen-row .field{width:135px}.subtle-banner{display:flex;align-items:center;gap:8px;background:#e6f2e9;color:#376b4d;padding:10px 13px;border-radius:9px;font-size:12px}.warning-banner{background:#fff6eb;color:#95653a}.library-search{max-width:560px;margin-bottom:18px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:11px}.library-card{background:#fff;border:1px solid #dce5ee;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:85px}.library-card strong{display:block;color:#2c4057;font-size:14px}.library-card small{display:block;color:#7b8ba0;margin-top:5px}.tree-header-meta{font-size:12px;color:#6a7d90;line-height:1.6;margin-bottom:12px}.origin-banner{text-align:center;color:#2d435b;font-size:14px;font-weight:760;padding:9px;margin:0}.tree-scroll{border:1px solid #d9e3ed;background:radial-gradient(circle at 15px 15px,#e6ecf4 1px,transparent 1.5px) 0 0 / 22px 22px,#fafcff;border-radius:13px;width:100%;max-height:min(66vh,680px);min-height:355px;overflow:auto;padding:14px 25px 25px;scrollbar-width:auto}.tree-root{width:max-content;min-width:100%;margin:0 auto;padding:0 36px 12px;zoom:var(--tree-zoom,1)}.tree-list,.tree-list ul{padding:0;margin:0;display:flex;justify-content:center}.tree-list ul{position:relative;padding-top:29px}.tree-list li{position:relative;list-style:none;text-align:center;padding:29px 12px 0;flex:none}.tree-list > li{padding-top:0}.tree-list ul > li::before,.tree-list ul > li::after{content:'';position:absolute;top:0;right:50%;border-top:2px solid #9cabbc;width:50%;height:29px}.tree-list ul > li::after{right:auto;left:50%;border-left:2px solid #9cabbc}.tree-list ul > li:only-child::after,.tree-list ul > li:only-child::before{display:none}.tree-list ul > li:first-child::before,.tree-list ul > li:last-child::after{border:0}.tree-list ul > li:last-child::before{border-right:2px solid #9cabbc;border-radius:0 8px 0 0}.tree-list ul > li:first-child::after{border-radius:8px 0 0 0}.tree-list li > ul::before{content:'';position:absolute;top:0;left:50%;border-left:2px solid #9cabbc;width:0;height:29px}.node-card{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;word-break:break-word;width:173px;height:78px;border:2px solid var(--purple);border-radius:12px;background:var(--purple-bg);color:#302d46;box-shadow:0 2px 5px #34495c18;padding:8px;position:relative}.node-card.green{background:var(--green-bg);border-color:#50a57b}.node-card.selected{outline:3px solid #317bbf;outline-offset:3px}.node-card strong{max-width:100%;font-size:15px;font-weight:800;line-height:1.15}.node-card span{font-size:12px;color:#556679}.node-card:hover{box-shadow:0 5px 12px #375c7e26}.tree-controls{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap;margin:16px 0 10px}.legend{display:flex;align-items:center;gap:17px;flex-wrap:wrap;font-size:12px;color:#586d83}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--purple);margin-right:6px}.dot.green{background:var(--green)}.zoom-controls{display:flex;gap:5px;align-items:center}.zoom-value{font-size:13px;font-weight:760;color:#4b6076;min-width:50px;text-align:center}.tree-selected{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:15px 18px;margin-top:12px}.tree-selected p{font-size:12px;color:#718196;margin:3px 0 0}.empty{display:grid;place-items:center;text-align:center;min-height:320px;padding:28px}.empty h1{font-size:25px;color:#26486c;margin:12px 0 6px}.empty p{color:#697b8f;line-height:1.6;margin:0 0 22px;max-width:560px}.empty-icon{display:grid;place-items:center;font-size:40px;background:#e2edfa;color:#265b91;width:83px;height:83px;border-radius:22px}.modal-backdrop{position:fixed;inset:0;z-index:500;background:#152d46a6;display:grid;place-items:center;padding:16px}.modal{background:#fff;border-radius:15px;box-shadow:0 20px 70px #08192b45;width:min(570px,100%);max-height:90vh;overflow:auto;padding:23px}.modal h2{font-size:21px;color:#203d5a;margin:0 0 10px}.modal p{font-size:13px;line-height:1.6;color:#61748a}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;flex-wrap:wrap}.modal .field{margin-top:14px}.modal .radio-card{width:100%}.modal .field-grid{margin-top:9px}.modal img{display:block;max-height:73vh;max-width:100%;margin:0 auto;object-fit:contain}.toast{position:fixed;z-index:650;bottom:20px;left:50%;transform:translateX(-50%);background:#183b66;color:#fff;box-shadow:0 8px 24px #122c4a35;padding:12px 19px;border-radius:10px;font-size:13px;max-width:calc(100vw - 20px)}.toast.error{background:#973f4b}.danger-zone{border-color:#f0dce0}.accordion{width:100%;display:flex;justify-content:space-between;align-items:center;color:#355576;font-weight:700;border:0;background:#f0f5fb;border-radius:9px;padding:10px 12px}.advanced-content{margin-top:13px}.limit-note{font-size:11px;color:#8090a1;margin-top:7px}.link-button{background:transparent;border:0;text-decoration:underline;color:var(--blue);padding:4px}.split-actions{display:flex;gap:7px;flex-wrap:wrap}.badge-inline{font-size:12px;color:#805a93;background:#f5eefa;padding:3px 6px;border-radius:5px}details summary{cursor:pointer;color:#365575;font-weight:690;padding:5px 0}details .field-grid{margin-top:10px}@media(max-width:1040px){.topbar{padding:12px 18px}.tabs{padding:0 16px}main{padding:18px}.component-layout{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)}.asset-layout{grid-template-columns:minmax(0,1fr) minmax(245px,.6fr)}}@media(max-width:760px){.topbar{align-items:flex-start;flex-direction:column}.top-actions{width:100%}.top-actions select{max-width:none;width:min(50vw,260px)}.tabs{padding:0 8px}.tab{padding:13px 12px;font-size:13px}main{padding:15px 11px 27px}.asset-layout,.component-layout{display:flex;flex-direction:column}.field-grid,.field-grid.three{grid-template-columns:1fr}.page-head{flex-direction:column}.panel-pad{padding:16px}.photo-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tree-scroll{padding:12px 7px}.footer{padding:12px}.sibling-nav{align-items:flex-start}.storage-status{min-width:0}.field-grid .field{min-width:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Every tree branch owns the full width of its descendants, keeping each
   parent centered above its complete child row, independently of zoom. */
.tree-list li{display:flex;flex-direction:column;align-items:center;width:max-content}
.tree-list ul{width:max-content}
