@font-face{font-family:system;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f5f7f8;color:#1f343b;font:16px/1.5 system,'Segoe UI',sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid #cbd4d8;border-radius:7px;background:#fff;color:#243a42;padding:8px 13px;font-size:14px;font-weight:600}button:hover{background:#edf3f4;border-color:#8dabae}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #1878b6;outline-offset:3px}[hidden]{display:none!important}a{color:inherit}h1,h2,p{margin:0}h1{font-size:32px;font-weight:550;letter-spacing:-1px;line-height:1.2;margin:8px 0 10px}h2{font-size:18px;line-height:1.3;font-weight:650}.topbar{background:#173d37;color:white;padding:18px 4%;display:flex;justify-content:space-between;gap:20px;align-items:center}.brand{text-decoration:none;display:flex;gap:12px;align-items:center;font-size:19px;letter-spacing:-.3px}.brand strong{font-weight:650}.brandmark{background:#dcecaa;color:#173d37;width:34px;height:34px;border-radius:7px;display:grid;place-items:center;font-size:27px;font-weight:700}.top-actions{display:flex;align-items:center;gap:18px}.top-actions button{background:transparent;border-color:#65867e;color:white}.local-note{font-size:13px;color:#d1e1d9}main{max-width:1560px;margin:auto;padding:36px 4% 18px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.intro p:not(.eyebrow){color:#65767e}.eyebrow{font-size:12px;font-weight:750;letter-spacing:1.5px;color:#56746c}.primary{background:#173d37;color:#fff;border-color:#173d37;padding:12px 20px}.primary:hover{background:#28554b;color:white}.primary span{margin-left:20px}.stylebar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border:1px solid #dce2e5;border-radius:9px;padding:13px 16px;margin-bottom:25px}.style-picker,.style-actions{display:flex;align-items:center;gap:9px}.style-picker label{font-size:14px;font-weight:600;margin-right:8px}select,input{border:1px solid #cbd4d8;border-radius:6px;background:white;padding:8px 11px;min-width:0;color:#203c46;font-size:14px}select{max-width:260px}.workspace{display:grid;grid-template-columns:minmax(250px,.8fr) 90px minmax(500px,1.6fr);align-items:start;position:relative}.panel{border:1px solid #d2dce3;border-radius:11px;overflow:hidden;background:white}.source-panel{background:#f0f6fc}.target-panel{border-color:#e2dac2;background:#fffef9}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:19px 18px;border-bottom:1px solid #d2dce3;background:#e3effc}.target-panel .panel-heading{background:#fff0bd;border-color:#e2dac2}.panel-heading>div{display:flex;gap:10px;align-items:center}.panel-heading button{font-size:13px;background:#ffffffa0;padding:6px 9px}.step{font-size:12px;color:#5a7ca0;font-weight:750}.target-panel .step{color:#88723d}.count{font-size:12px;color:#587187}.upload-area{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:354px;margin:18px;width:calc(100% - 36px);background:repeating-linear-gradient(0deg,#ffffff70,#ffffff70 30px,#dfe9f270 31px),repeating-linear-gradient(90deg,transparent,transparent 80px,#dfe9f280 81px);border:1.5px dashed #a7bfd5;border-radius:8px;padding:30px 18px;text-align:center}.upload-area>span:not(.excel-icon){font-size:13px;color:#607587;font-weight:400}.upload-area strong{font-size:18px}.upload-area .upload-foot{margin-top:20px}.excel-icon{display:flex;align-items:center;justify-content:center;border-radius:8px;background:#21734b;color:white;font-size:29px;width:69px;height:62px;box-shadow:6px 6px 0 #dcece1}.excel-icon span{font-size:32px;font-weight:400;margin-left:4px}.source-footer{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d8e4ed;font-size:13px;color:#617a8e;gap:10px}.source-footer button{font-size:13px;background:transparent}.bridge{text-align:center;padding-top:210px;color:#7c9298}.bridge>span{font-size:27px}.bridge p{font-size:12px;line-height:1.5;margin-top:8px}.target-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;border-bottom:1px solid #eee8d8;font-size:13px;color:#81754e}.target-toolbar button{padding:3px 8px;border:0;background:transparent;font-size:13px}.target-labels,.target-row{display:grid;grid-template-columns:180px minmax(0,1fr)}.target-labels{font-size:11px;font-weight:750;letter-spacing:.6px;padding:12px 18px 9px;color:#837b61;gap:14px}.combine-note{font-weight:400;letter-spacing:0}.target-row{min-height:51px;border-top:1px solid #eee9db;padding:7px 18px;gap:14px;align-items:center}.target-name{font-size:14px;font-weight:550}.dropzone{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:35px;border:1px dashed #ddd8c8;border-radius:5px;padding:4px 7px;position:relative;z-index:2}.dropzone .drop-hint{color:#9e9a8c;font-size:12px;font-weight:400;cursor:pointer;border:0;background:transparent;padding:3px;width:100%;text-align:left}.dropzone.over{border-color:#328966;background:#e0f5e7}.image-divider{font-size:12px;color:#80754b;background:#f5efdd;padding:10px 18px;font-weight:650}.source-list{padding:10px 15px;display:flex;flex-direction:column;gap:8px}.source-list:empty{display:none}.source-tile{padding:11px 12px;border:1px solid #b9cee0;border-left:3px solid var(--tile-color,#498ca8);background:white;border-radius:6px;display:flex;align-items:center;gap:10px;cursor:grab;position:relative;z-index:2;text-align:left}.source-tile .tile-title{font-size:14px;font-weight:650;display:block;overflow-wrap:anywhere}.source-tile .sample{font-size:12px;color:#74828b;font-weight:400;display:block;max-width:240px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.source-tile .grip{font-size:17px;color:#9aabb7}.source-tile .column-code{margin-left:auto;font-size:11px;font-weight:600;color:#8497a6}.source-tile.assigned{background:#e5ebef;border-style:dashed;opacity:.65;cursor:pointer}.source-tile.selected{outline:3px solid #4f91bc}.filename-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 10px}.filename-row strong{font-size:14px;overflow-wrap:anywhere;min-width:0}.filename-row button{font-size:12px;padding:4px 8px}.sheet-controls{display:flex;gap:12px;padding:0 18px 12px}.sheet-controls label{font-size:12px;display:flex;flex-direction:column;gap:4px;min-width:0}.sheet-controls label:first-child{flex:1}.sheet-controls input{width:83px}.mapped-chip{display:inline-flex;align-items:center;gap:5px;background:#e9f1fa;border:1px solid #c4d6e6;border-left:3px solid var(--tile-color);border-radius:4px;padding:4px 5px 4px 8px;cursor:grab;max-width:100%;font-size:13px}.mapped-chip span{overflow-wrap:anywhere}.mapped-chip button{border:0;background:transparent;padding:0 3px;font-size:15px;line-height:1.4}.mapped-chip .order{font-size:13px;color:#5b6e7a}#connections{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible}.preview-section{margin-top:30px;background:white;border:1px solid #dce2e5;border-radius:10px;overflow:hidden}.preview-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:19px 22px;border-bottom:1px solid #e3e8ea}.preview-heading h2{margin-top:5px}.preview-heading>span{font-size:13px;color:#798990}.preview-empty{padding:42px;text-align:center;color:#87969d;font-size:14px}.preview-table{overflow:auto;max-height:390px}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:11px 15px;border-bottom:1px solid #e4e9eb;border-right:1px solid #e4e9eb;text-align:left;vertical-align:top;min-width:150px;max-width:300px;overflow-wrap:anywhere}th{background:#f0f5f5;position:sticky;top:0;font-size:12px;white-space:nowrap;color:#47605f}td img{max-width:90px;max-height:70px;object-fit:contain}footer{display:flex;justify-content:space-between;gap:15px;padding-top:23px;color:#708087;font-size:12px}footer a{font-size:13px}.muted{color:#93a0a6}#notice{border:1px solid #ddcf9e;border-radius:7px;background:#fff8df;padding:11px 16px;margin-bottom:18px;font-size:14px;white-space:pre-line}#notice.error{border-color:#deb8b6;background:#fff0ef;color:#852f2f}dialog{border:1px solid #cbd5d5;border-radius:12px;max-width:600px;width:calc(100% - 32px);padding:28px;color:#243b42;box-shadow:0 20px 100px #162d3550}dialog::backdrop{background:#1b303b77}dialog .close{float:right;border:0;font-size:24px;line-height:1;padding:0 4px}dialog h2{margin-bottom:18px}dialog p,dialog li{font-size:14px;margin-bottom:12px}dialog label{display:block;font-size:14px;margin-bottom:5px}dialog input{width:100%;margin-bottom:18px}.dialog-actions{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}.style-item{display:flex;align-items:center;gap:8px;border-top:1px solid #dce3e4;padding:12px 0}.style-item strong{flex:1;font-size:14px;overflow-wrap:anywhere}.style-item button{font-size:12px;padding:5px 8px}.busy{cursor:progress}.busy .workspace,.busy .stylebar{pointer-events:none;opacity:.6}.pill{font-size:11px;background:#deeee6;padding:2px 5px;border-radius:3px;color:#376e59}.source-warning{padding:8px 18px;color:#86683b;font-size:12px}.picker-list{display:flex;flex-direction:column;gap:8px;max-height:50vh;overflow:auto}.picker-list button{text-align:left}.empty-style{color:#718087}.preview-note{padding:8px 18px;color:#77867d;font-size:12px}
@media(min-width:1500px){.workspace{grid-template-columns:360px 110px minmax(500px,1fr)}}@media(max-width:1100px){main{padding:28px 24px}.workspace{grid-template-columns:minmax(230px,.8fr) 35px minmax(420px,1.5fr)}.bridge p{display:none}.target-labels,.target-row{grid-template-columns:145px minmax(0,1fr);gap:10px}.combine-note{display:none}.stylebar{flex-wrap:wrap}.topbar{padding:16px 24px}.local-note{display:none}}@media(max-width:760px){.topbar{padding:14px 18px}.brand{font-size:16px}.top-actions{gap:6px}.top-actions button{font-size:12px;padding:6px 9px}main{padding:24px 16px}.intro{align-items:flex-start;flex-direction:column;gap:17px}h1{font-size:28px}.intro p:not(.eyebrow){font-size:14px}.intro .primary{width:100%}.stylebar{padding:12px}.style-picker{width:100%;flex-wrap:wrap}.style-picker select{flex:1;max-width:100%;width:140px}.style-picker label{width:100%}.style-actions{flex-wrap:wrap}.style-actions button{font-size:12px}.workspace{grid-template-columns:1fr;gap:20px}.bridge{display:none}#connections{display:none}.source-list{max-height:340px;overflow:auto}.upload-area{min-height:220px}.target-labels,.target-row{grid-template-columns:130px minmax(0,1fr);padding-left:12px;padding-right:12px;gap:8px}.target-name{font-size:13px}.panel-heading{padding:16px 12px}.panel-heading h2{font-size:16px}.preview-heading{align-items:flex-start;flex-direction:column;gap:8px;padding:16px}.preview-empty{padding:30px 20px}footer{flex-direction:column}.muted{display:none}}
#target-list{max-height:650px;overflow-y:auto;scrollbar-width:thin}.source-list{max-height:620px;overflow-y:auto;scrollbar-width:thin}.file-over{outline:3px solid #498ca8}.image-divider span{font-weight:400}.dropzone:has(.mapped-chip) .drop-hint{width:auto}.mapped-chip+.drop-hint{font-size:11px}.excel-icon{height:62px}

.drag-ghost{position:fixed;z-index:1000;pointer-events:none;background:#e3effc;border:1px solid #749bbb;border-radius:6px;padding:9px 13px;font-size:14px;box-shadow:0 4px 15px #173d3733}.grip{touch-action:none}.source-tile,.mapped-chip{user-select:none}
.topbar{display:block;padding:14px 4% 16px}.header-inner{max-width:1435px;margin:auto}.header-row{display:grid;grid-template-columns:minmax(235px,1fr) minmax(340px,1.6fr) auto;gap:28px;align-items:center}.brand{font-size:21px;white-space:nowrap}.header-copy{color:#e0eae5;min-width:0}.header-copy .eyebrow{color:#bdd3c8;font-size:11px;letter-spacing:1.2px}.header-copy p:last-child{font-size:14px;line-height:1.35;margin-top:2px}.header-controls{border-top:1px solid #55756e;margin-top:12px;padding-top:12px;display:flex;align-items:center;gap:25px}.header-controls .stylebar{flex:1;margin:0;padding:0;border:0;border-radius:0;background:transparent;min-width:0;gap:22px}.header-controls .style-picker label{color:#edf4ef;white-space:nowrap}.header-controls .style-picker select{min-width:150px}.header-controls .style-actions button,.header-controls #apply-style{background:transparent;border-color:#65867e;color:#f1f5f2}.header-controls .style-actions button:hover,.header-controls #apply-style:hover{background:#2a554b}.header-controls .primary{background:#e5ed9e;color:#173d37;border-color:#e5ed9e;white-space:nowrap}.header-controls .primary:hover{background:#f2f8c8;color:#173d37}.header-controls .primary:disabled{background:#9eafa0;color:#244139;border-color:#9eafa0}.header-controls .primary span{margin-left:12px}main{padding-top:22px}
@media(max-width:1250px){.header-row{grid-template-columns:minmax(220px,1fr) minmax(280px,1.3fr) auto;gap:16px}.header-controls{gap:14px}.header-controls .stylebar{gap:12px}.header-controls .style-picker label{margin-right:0}.header-controls .style-picker select{min-width:120px}.header-controls .style-actions button{padding:8px 9px}}
@media(max-width:1030px){.topbar{padding:14px 24px 16px}.header-row{grid-template-columns:1fr auto}.header-copy{grid-column:1/-1;grid-row:2}.header-controls{align-items:stretch}.header-controls .stylebar{flex-wrap:wrap}.header-controls .style-actions{justify-content:flex-start}.header-controls .primary{align-self:end}.local-note{display:inline}}
@media(max-width:760px){.topbar{padding:14px 16px 16px}.brand{font-size:18px}.header-row{gap:10px}.header-copy .eyebrow{font-size:11px}.header-copy p:last-child{font-size:13px}.local-note{display:none}.header-controls{flex-direction:column;align-items:stretch;gap:12px}.header-controls .stylebar{display:flex;flex-direction:column;align-items:stretch;gap:10px}.header-controls .style-picker{width:100%;flex-wrap:nowrap}.header-controls .style-picker label{width:auto}.header-controls .style-picker select{flex:1;width:auto;max-width:none}.header-controls .style-actions{justify-content:flex-start;flex-wrap:wrap}.header-controls .primary{align-self:stretch;width:100%}main{padding-top:17px}}

/* Desktop workspace: keep the full workflow in one compact header row. */
.topbar{padding:9px clamp(24px,2vw,40px);min-height:68px;display:block}
.header-inner{max-width:none;width:100%;display:flex;align-items:center;justify-content:space-between;gap:clamp(10px,1vw,20px)}
.brand{flex:none;font-size:21px;white-space:nowrap}
.header-copy{flex:0 1 280px;min-width:210px;color:#e0eae5}
.header-copy .eyebrow{color:#bdd3c8;font-size:10px;letter-spacing:1px;white-space:nowrap}
.header-copy p:last-child{font-size:13px;line-height:1.2;margin-top:2px}
.topbar .stylebar{flex:none;display:flex;align-items:center;gap:14px;margin:0;padding:0;background:transparent;border:0;border-radius:0;white-space:nowrap}
.topbar .style-picker,.topbar .style-actions{gap:6px;flex-wrap:nowrap}
.topbar .style-picker label{color:#edf4ef;font-size:12px;margin:0 3px 0 0;white-space:nowrap}
.topbar .style-picker select{width:140px;max-width:140px;padding:7px 9px;font-size:13px}
.topbar .stylebar button,.topbar .top-actions button{padding:7px 9px;font-size:12px;white-space:nowrap;background:transparent;border-color:#65867e;color:#f1f5f2}
.topbar .stylebar button:hover,.topbar .top-actions button:hover{background:#2a554b}
.topbar #export{flex:none;padding:8px 12px;background:#e5ed9e;color:#173d37;border-color:#e5ed9e;font-size:12px;white-space:nowrap}
.topbar #export:hover{background:#f2f8c8;color:#173d37}
.topbar #export:disabled{background:#9eafa0;color:#244139;border-color:#9eafa0}
.topbar #export span{margin-left:7px}
.topbar .top-actions{flex:none;gap:12px}
.topbar .local-note{font-size:12px;white-space:nowrap}
main{max-width:none;margin:auto;padding:22px clamp(24px,2vw,40px) 18px}
.workspace{grid-template-columns:minmax(320px,31fr) minmax(60px,7fr) minmax(560px,62fr)}
.target-labels,.target-row{grid-template-columns:200px minmax(0,1fr)}
@media(max-width:1650px){.topbar .local-note{display:none}.header-copy{flex-basis:250px}}
@media(max-width:1350px){.topbar{padding-inline:20px}.header-inner{gap:9px}.brand{font-size:18px}.brandmark{width:30px;height:30px}.header-copy{flex-basis:220px;min-width:190px}.topbar .stylebar{gap:8px}.topbar .style-picker select{width:125px}.topbar .stylebar button{padding-inline:7px}main{padding-inline:20px}.workspace{grid-template-columns:minmax(290px,31fr) minmax(50px,6fr) minmax(500px,63fr)}}
@media(max-width:1120px){.topbar{padding-block:12px}.header-inner{flex-wrap:wrap;justify-content:flex-start}.topbar .top-actions{margin-left:auto}.header-copy{flex:1 1 300px}.topbar .stylebar{order:2;flex:1 1 auto}.topbar #export{order:3}.workspace{grid-template-columns:minmax(240px,32fr) minmax(35px,5fr) minmax(440px,63fr)}}
@media(max-width:760px){.header-inner{gap:10px}.header-copy{flex-basis:100%;order:1}.topbar .stylebar{flex-wrap:wrap}.topbar .style-picker,.topbar .style-actions{flex-wrap:wrap}.topbar #export{order:3}.workspace{grid-template-columns:1fr}.target-labels,.target-row{grid-template-columns:130px minmax(0,1fr)}}

/* Show the plant-data fields in two columns; image targets stay at the end. */
.target-panel{overflow:visible}
.target-panel .panel-heading{min-height:64px;padding:12px 16px;border-radius:10px 10px 0 0}
.target-title,.target-heading-actions{display:flex;align-items:center;gap:12px;min-width:0}
.target-title h2,.target-title .step,#mapping-count{white-space:nowrap}
#mapping-count{font-size:12px;font-weight:400;color:#766b48;margin-left:10px}
.target-heading-actions{gap:8px;flex:none}
.target-heading-actions #clear{background:transparent;border:0;color:#6e664e;font-size:12px;padding:5px}
.target-heading-actions #clear:hover{background:#fff7d9}
.target-columns,.image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.target-field-group{min-width:0}
.target-field-group+.target-field-group,.image-grid .target-row:nth-child(even){border-left:1px solid #eee8d8}
.target-labels,.target-row{grid-template-columns:minmax(115px,35%) minmax(0,1fr);gap:8px;padding-left:12px;padding-right:12px}
.target-labels{min-height:34px;align-items:center;padding-top:7px;padding-bottom:7px}
.target-row{position:relative;min-height:40px;padding-top:3px;padding-bottom:3px}
.target-row:has(.target-name:hover),.target-row:has(.target-name:focus-visible){z-index:10}
.target-name{position:relative;z-index:2;font-size:13px;cursor:help;outline-offset:2px}
.target-name::after{content:attr(data-tooltip);position:absolute;left:0;top:calc(100% + 7px);width:max-content;max-width:250px;white-space:normal;line-height:1.35;padding:8px 10px;border-radius:6px;background:#183d37;color:white;font-size:12px;font-weight:400;box-shadow:0 5px 18px #183d3740;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease .45s,visibility 0s linear .6s}
.target-name:hover::after,.target-name:focus-visible::after{opacity:1;visibility:visible;transition-delay:.45s,0s}
.target-row .dropzone{min-height:30px;padding:2px 5px;gap:4px}
.target-row .mapped-chip{padding:3px 4px 3px 6px;font-size:12px}
.target-row .drop-hint{font-size:11px;padding:2px}
.image-divider{padding:7px 12px}
.image-grid .target-row:nth-child(-n+2){border-top:0}
#target-list{max-height:none;overflow:visible}
@media(max-width:1600px){.combine-note{display:none}}
@media(max-width:1200px){.target-columns,.image-grid{grid-template-columns:1fr}.target-field-group+.target-field-group,.image-grid .target-row:nth-child(even){border-left:0}.target-labels,.target-row{grid-template-columns:145px minmax(0,1fr)}.target-title,.target-heading-actions{gap:6px}#mapping-count{margin-left:2px}}

.source-heading-actions{display:flex;align-items:center;gap:8px}.source-heading-actions #copy-sheets{font-size:12px;white-space:nowrap}#sheet-note{font-size:12px;line-height:1.4;color:#607587;padding:0 18px 12px}.sheet-transfer-list{max-height:320px;overflow:auto}.sheet-transfer-list label{display:flex;gap:10px;align-items:center;padding:10px;border-top:1px solid #e0e5e7}.sheet-transfer-list input{width:auto;margin:0}.sheet-transfer-list small{display:block;color:#718087}

#notice{position:relative;padding-right:52px}#notice-content{white-space:pre-line}#notice-toggle{position:absolute;top:7px;right:8px;width:30px;height:30px;padding:0;background:transparent;border-color:#d8ca99;color:#6e6137;font-size:21px;line-height:1}#notice-toggle:hover{background:#f3e8b9}#notice.minimized{display:table;padding:0;margin-bottom:14px}#notice.minimized #notice-toggle{position:static;width:auto;height:auto;padding:6px 11px;border:0;font-size:12px;line-height:1.4}#notice.error #notice-toggle{color:#852f2f;border-color:#deb8b6}

.field-label{display:flex;align-items:center;gap:6px;min-width:0}.unit-warning{position:relative;z-index:3;display:inline-grid;place-items:center;flex:none;width:17px;height:17px;border:1px solid #b42318;border-radius:50%;color:#b42318;font-size:12px;font-weight:800;cursor:help}.unit-warning::after{content:attr(data-tooltip);position:absolute;left:0;top:24px;width:260px;padding:9px 11px;background:#183d37;color:#fff;border-radius:6px;font-size:12px;font-weight:400;line-height:1.4;visibility:hidden;opacity:0;transition:opacity .15s .45s,visibility 0s .45s;pointer-events:none}.unit-warning:hover::after,.unit-warning:focus-visible::after{visibility:visible;opacity:1}.target-row:has(.unit-warning:hover),.target-row:has(.unit-warning:focus-visible){z-index:12}.export-file-list{max-height:350px;overflow:auto}.export-file-row{padding:8px 0;border-top:1px solid #dce3e4}.export-file-row label{display:flex;align-items:center;gap:8px}.export-file-row input[type=checkbox]{width:auto;margin:0}.export-file-row input:not([type=checkbox]){margin:4px 0 0}#export-name-error{color:#a52a20}

.manual-add{flex:none;display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border:1px solid #56786b;border-radius:50%;color:#245640;background:#f4f8e6;font-size:15px;line-height:1}.manual-add:disabled{color:#a3aaa4;border-color:#c8cec8;background:transparent;opacity:.65}.fixed-chip{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;padding:3px 5px;border:1px solid #a0b890;border-radius:4px;background:#edf4e2;font-size:12px}.fixed-value{overflow-wrap:anywhere}.fixed-chip small{font-size:9px;color:#5e7050;white-space:nowrap}.fixed-chip button{padding:1px 3px;background:transparent;border:0;font-size:11px}.topbar .top-actions{gap:7px}#category-error,#manual-error{color:#a52a20}
/* Plant Relay colour system: the reference palettes inform the accents, while the mapping grid stays legible. */
:root{--ink:#202739;--plum:#46357a;--orange:#ff552e;--gold:#f2a815;--butter:#fed170;--lilac:#b6ace4;--rose:#ffc1c6;--leaf:#abcF82;--cyan:#83e3ef;--green:#139a65}
body{color:var(--ink);background:radial-gradient(ellipse at 7% 8%,#b6e8ca 0,transparent 34%),radial-gradient(ellipse at 91% 17%,#d4c8fa 0,transparent 38%),radial-gradient(ellipse at 52% 73%,#ffddd8 0,transparent 45%),linear-gradient(125deg,#fff2e2,#e9f6ed 47%,#fff4e7);background-attachment:fixed;font-family:'Trebuchet MS','Segoe UI',sans-serif;min-height:100vh}
.leaf-scene{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;filter:blur(9px);opacity:.2}.falling-leaf{position:absolute;top:0;left:0;will-change:transform}.falling-leaf svg{width:100%;display:block}body>header,body>main,body>dialog{position:relative;z-index:1}
.topbar{background:radial-gradient(circle at 76% -20%,#7654c0 0,transparent 42%),linear-gradient(105deg,#2f245e,#46357a 62%,#34245c);min-height:72px;padding:10px clamp(22px,2vw,40px);border-bottom:3px solid var(--ink);box-shadow:0 4px 0 #ffb74f85}
.header-inner{justify-content:flex-start;gap:clamp(12px,1.1vw,22px);flex-wrap:nowrap}.header-identity{display:flex;align-items:center;gap:clamp(13px,1.2vw,24px);flex:0 0 auto;min-width:0}.brand{gap:8px;font-size:23px;font-weight:650;letter-spacing:-.8px;color:#fff8ef}.brand strong{color:#fed170;font-weight:800}.brand-symbol{width:43px;height:43px;flex:none;filter:drop-shadow(3px 3px 0 #202739)}.header-copy{flex:0 0 auto;min-width:0;width:auto;color:#fff7e8}.header-copy .eyebrow{color:#ffcf81;font-size:10px;letter-spacing:1.1px}.header-copy p:last-child{font-size:12px;white-space:nowrap;line-height:1.1;margin-top:3px}.topbar .stylebar{gap:10px;margin-left:auto}.topbar .style-picker,.topbar .style-actions{gap:5px}.topbar .style-picker label{color:#fff3e6}.topbar .style-picker select{width:126px;max-width:126px;border:2px solid var(--ink);border-radius:11px 11px 11px 4px;background:#fff9ec;font-weight:650;color:var(--ink);padding:6px 8px}.topbar .top-actions{margin-left:auto;gap:7px}.topbar .local-note{color:#e9e0ff}
button{border:2px solid var(--ink);border-radius:14px 14px 14px 5px;box-shadow:2px 2px 0 var(--ink);transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}button:not(:disabled):hover{transform:translate(-1px,-2px);box-shadow:3px 4px 0 var(--ink)}button:not(:disabled):active{transform:translate(2px,2px);box-shadow:0 0 0 var(--ink)}button:disabled{box-shadow:none}.topbar .stylebar button,.topbar .top-actions button{border:1.5px solid #d9c7ff;color:#fff7ed;background:#59468f;box-shadow:2px 2px 0 #21183e;border-radius:12px 12px 12px 4px;padding:7px 9px}.topbar .stylebar button:not(:disabled):hover,.topbar .top-actions button:hover{background:#7559b7;box-shadow:3px 4px 0 #21183e}.topbar #save-style{background:#139a65}.topbar #manage-styles{background:#008fdc}.topbar #import-style{background:#f85c68}.topbar #export{margin-left:7px;background:var(--butter);color:var(--ink);border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);border-radius:16px 16px 16px 5px;font-weight:800;padding:7px 10px}.topbar #export:not(:disabled):hover{background:#fff0a6;color:var(--ink);box-shadow:4px 5px 0 var(--ink)}.topbar #export:disabled{background:#c9c2bd;color:#524d52;border-color:#7a7283;box-shadow:none}
main{padding-top:25px}.panel{border:2px solid var(--ink);border-radius:18px;box-shadow:5px 6px 0 #27314835}.source-panel{background:#effbfa}.target-panel{border-color:var(--ink);background:#fffdfa}.source-panel .panel-heading{background:#9de6ec;border-color:var(--ink)}.target-panel .panel-heading{background:#fed170;border-color:var(--ink);border-radius:16px 16px 0 0}.panel-heading h2{font-weight:800;letter-spacing:-.3px}.step{color:var(--plum);font-weight:900}.target-panel .step{color:#75410d}#mapping-count{color:#685237}.count{color:#24495d}.source-footer{background:#dbf6ee;border-top:1px solid #92cbbf}.upload-area{border:2px dashed #44b7c6;border-radius:17px;background:linear-gradient(135deg,#f4fffdc9,#e6f5ffb0),repeating-linear-gradient(90deg,#9de6ec48 0 1px,transparent 1px 42px);box-shadow:3px 4px 0 #a4ded9}.upload-area:hover{background:#d9faf5;border-color:var(--ink)}.excel-icon{background:#139a65;border:2px solid var(--ink);border-radius:14px;box-shadow:5px 5px 0 #f2a815}.source-tile{border:1.5px solid var(--ink);border-left:5px solid var(--tile-color,#008fdc);border-radius:10px 10px 10px 3px;box-shadow:2px 2px 0 #20273940;background:#fffdf8}.source-tile:hover{background:#fff3dd}.source-tile.assigned{background:#e0ecec;box-shadow:none}.source-tile.selected{outline:3px solid var(--orange)}.target-labels{color:#705339}.target-row{border-top-color:#e9d9c9}.target-row .dropzone{border-color:#d7c9b9;border-radius:8px;background:#fffdfa}.target-row .dropzone.over{border:2px solid var(--green);background:#dcf7e5}.target-row .mapped-chip{background:#def8fb;border-color:#60b5d0;border-radius:8px}.target-row .fixed-chip{border-color:#6caf77;background:#e4f7db}.target-row .drop-hint{color:#827b77}.image-divider{background:#fcd4dd;color:#71445b;border-block:1px solid #e2a6b7}.preview-section{border:2px solid var(--ink);border-radius:18px;box-shadow:5px 6px 0 #27314835;background:#fffefb}.preview-heading{background:#ffc1c6;border-bottom:2px solid var(--ink)}.preview-heading .eyebrow{color:#633953}.preview-heading h2{font-weight:800}.preview-table th{background:#fff1de;color:#5f4350}.preview-note{background:#fff9ed}.pill{background:#ffd7a1;color:#664321;border-radius:6px}#notice{border:2px solid var(--ink);background:#fff4d7;border-radius:13px;box-shadow:3px 3px 0 #27314835}#notice.error{background:#ffe6e4;border-color:#b54a4b}dialog{border:2px solid var(--ink);border-radius:20px;box-shadow:8px 10px 0 #20273965;background:#fffdf6}dialog::backdrop{background:#30245fb0}dialog h2{color:var(--plum);font-weight:800}.dialog-actions .primary,.primary{background:var(--plum);color:white;border:2px solid var(--ink);border-radius:14px 14px 14px 4px;box-shadow:3px 3px 0 var(--ink)}.dialog-actions .primary:hover,.primary:hover{background:#6549b4;color:white}.bridge{color:var(--plum)}.bridge>span{color:var(--orange)}
/* The markers sit in the gap immediately before each destination box. */
.target-row .field-label{position:relative;padding-right:24px;overflow:visible}.target-row .unit-warning,.target-row .manual-add{position:absolute;right:-16px;top:50%;transform:translateY(-50%);z-index:5;border:0;background:transparent;box-shadow:none;padding:0;line-height:1}.target-row .unit-warning{font-size:25px;font-weight:1000;color:#e13439;width:24px;height:28px;text-shadow:1px 1px 0 #fff}.target-row .manual-add{font-size:27px;font-weight:900;color:var(--plum);width:26px;height:28px}.target-row .manual-add:disabled{color:#a2a0a8;opacity:.65}.target-row .manual-add:not(:disabled):hover{transform:translateY(-50%) scale(1.16);box-shadow:none;color:#f85c68}.target-row .unit-warning::after{top:30px;left:-120px;z-index:20}.target-row:has(.manual-add:hover),.target-row:has(.manual-add:focus-visible){z-index:12}
@media(max-width:1750px){.topbar .local-note{display:none}.header-inner{gap:11px}.header-identity{gap:12px}.header-copy p:last-child{font-size:11px}.topbar .stylebar{gap:6px}.topbar .style-picker select{width:120px;max-width:120px}}
@media(max-width:1400px){.header-inner{flex-wrap:wrap}.header-identity{flex:1 1 auto}.topbar .stylebar{margin-left:0}.topbar .top-actions{margin-left:auto}.header-copy p:last-child{white-space:nowrap}.topbar{padding-block:10px}}
@media(max-width:760px){.topbar .stylebar{flex-wrap:wrap}.header-identity{flex-wrap:wrap}.header-copy{flex-basis:100%}.header-copy p:last-child{white-space:normal}.target-row .field-label{padding-right:22px}}
@media(prefers-reduced-motion:reduce){button{transition:none}.leaf-scene{opacity:.1}.falling-leaf{will-change:auto}}
@media (min-width:1201px) and (max-width:1400px){.topbar{padding-inline:20px}.header-inner{flex-wrap:nowrap;gap:7px}.header-identity{flex:none;gap:9px}.topbar .stylebar{margin-left:auto;gap:3px}.topbar .top-actions{margin-left:0;gap:3px}.topbar .style-picker,.topbar .style-actions{gap:3px}.topbar .style-picker select{width:110px;max-width:110px}.topbar .stylebar button,.topbar .top-actions button{padding-inline:6px}.topbar #export{margin-left:2px;padding-inline:8px}}
@media (max-width:1200px){.header-inner{flex-wrap:wrap}.topbar .top-actions{margin-left:auto}}
/* Compact inline controls do not use the raised-button treatment. */
.target-row .drop-hint,.mapped-chip button,.fixed-chip button,.target-heading-actions #clear,#notice-toggle{box-shadow:none;border:0}
.target-row .drop-hint:not(:disabled):hover,.mapped-chip button:not(:disabled):hover,.fixed-chip button:not(:disabled):hover,.target-heading-actions #clear:not(:disabled):hover,#notice-toggle:hover{transform:none;box-shadow:none}
.topbar .style-picker select{width:140px;max-width:140px}
@media (min-width:1201px) and (max-width:1400px){.topbar .style-picker select{width:140px;max-width:140px}}
/* Stacked wordmark and the veined leaf mark share the button silhouette. */
.brand{gap:8px;align-items:center}.brand-symbol{width:53px;height:42px;filter:drop-shadow(3px 3px 0 #202739)}.brand-words{display:flex;flex-direction:column;justify-content:center;font-size:21px;line-height:.88;letter-spacing:-.6px}.brand-words>span{color:#fed170}.brand-words>strong{color:#fff8ef;font-weight:800}
.target-row .field-label{padding-right:34px}.target-row .unit-warning,.target-row .manual-add{right:-4px}.target-row .unit-warning{font-size:17.5px;font-weight:1000;width:22px;height:24px}.target-row .manual-add{font-size:32.4px;font-weight:900;width:31px;height:32px}

.brand-symbol{width:49px;height:42px}

/* Share the header button silhouette exactly. */
.brand-mark{display:grid;place-items:center;flex:none;width:49px;height:42px;overflow:hidden;background:#fed170;border:1.5px solid #d9c7ff;border-radius:12px 12px 12px 4px;box-shadow:2px 2px 0 #21183e}.brand-leaf{display:block;width:100%;height:100%}

/* One tile flips edge-on; each face changes only when its edge is hidden. */
.brand-mark{position:relative;isolation:isolate;transform-origin:center;transform-style:preserve-3d;animation:relay-flip 10.8s linear infinite;will-change:transform}
.logo-page{position:absolute;inset:0;display:grid;place-items:center;opacity:0;background:#fed170}
.logo-page svg{display:block;width:100%;height:100%}
.logo-page img{display:block;width:33px;height:33px;object-fit:contain}
.logo-vectorworks img{mix-blend-mode:multiply}
.logo-leaf{opacity:1;animation:relay-face-leaf 10.8s steps(1,end) infinite}
.logo-excel{animation:relay-face-excel 10.8s steps(1,end) infinite}
.logo-vectorworks{animation:relay-face-vectorworks 10.8s steps(1,end) infinite}
@keyframes relay-flip{
  0%,12%{transform:perspective(180px) rotateY(0);animation-timing-function:cubic-bezier(.72,0,.5,1)}
  16%{transform:perspective(180px) rotateY(89deg)}
  16.01%{transform:perspective(180px) rotateY(-89deg);animation-timing-function:cubic-bezier(.22,0,.25,1)}
  20%{transform:perspective(180px) rotateY(7deg);animation-timing-function:ease-out}
  22%,42%{transform:perspective(180px) rotateY(0);animation-timing-function:cubic-bezier(.72,0,.5,1)}
  46%{transform:perspective(180px) rotateX(89deg)}
  46.01%{transform:perspective(180px) rotateX(-89deg);animation-timing-function:cubic-bezier(.22,0,.25,1)}
  50%{transform:perspective(180px) rotateX(7deg);animation-timing-function:ease-out}
  52%,72%{transform:perspective(180px) rotateX(0);animation-timing-function:cubic-bezier(.72,0,.5,1)}
  76%{transform:perspective(180px) rotateY(89deg)}
  76.01%{transform:perspective(180px) rotateY(-89deg);animation-timing-function:cubic-bezier(.22,0,.25,1)}
  80%{transform:perspective(180px) rotateY(7deg);animation-timing-function:ease-out}
  82%,100%{transform:perspective(180px) rotateY(0)}
}
@keyframes relay-face-leaf{0%,16%{opacity:1}16.01%,76%{opacity:0}76.01%,100%{opacity:1}}
@keyframes relay-face-excel{0%,16%{opacity:0}16.01%,46%{opacity:1}46.01%,100%{opacity:0}}
@keyframes relay-face-vectorworks{0%,46%{opacity:0}46.01%,76%{opacity:1}76.01%,100%{opacity:0}}
/* Align the two lines of copy with the two-line wordmark and equalize controls. */
.brand-words{height:42px;font-size:21px;line-height:1;justify-content:space-between}
.header-copy{height:42px;display:flex;flex-direction:column;justify-content:flex-end;padding-top:6px}
.header-copy .eyebrow{font-size:12px;line-height:1.1}
.header-copy p:last-child{font-size:14px;line-height:1.1;margin:0}
.topbar .style-picker label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar .style-picker select,.topbar .stylebar button,.topbar .top-actions button{box-sizing:border-box;height:40px;line-height:1.1}
.topbar .style-picker select{padding-block:0}
@media(max-width:1200px){.header-copy{flex:0 0 auto}}
@media(max-width:760px){.header-copy{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.brand-mark,.logo-page{animation:none!important;will-change:auto}.logo-leaf{opacity:1}.logo-excel,.logo-vectorworks{opacity:0}}

/* Match the mapping controls to the start of the destination column below. */
@media(min-width:1000px){
  .header-inner{display:grid;grid-template-columns:38% minmax(0,1fr) auto;column-gap:0}
  .topbar .stylebar{margin-left:0;justify-self:start;order:0}
  .topbar .top-actions{margin-left:0;justify-self:end;order:0}
  .topbar #export{order:0}
}
@media(min-width:1000px) and (max-width:1350px){.header-inner{grid-template-columns:37% minmax(0,1fr) auto}}
