:root{font:14px/1.45 system-ui,sans-serif;color:#1b3433;background:#eef2f3}*{box-sizing:border-box}body{margin:0}main{max-width:1920px;margin:20px auto;padding:24px;background:#fff;border-radius:16px}header,.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}h1{font-size:27px;margin:4px 0}h2{font-size:19px}header small{letter-spacing:.13em;color:#526b66}small{display:block;font-size:11px;color:#657a77}#health{padding:8px 12px;background:#e7f2ed;border-radius:20px;font-weight:600}.notice{padding:9px 12px;background:#fff6df;border-radius:7px}input,select,button{font:inherit;padding:8px;border:1px solid #c8d5d1;border-radius:6px;background:white;color:inherit}input:focus,select:focus,button:focus-visible{outline:2px solid #1b7b70;outline-offset:2px}button{background:#17594d;color:white;cursor:pointer;font-weight:600}button:disabled{opacity:.5;cursor:default}label{display:block;font-size:11px;color:#536e67}form label{margin:12px 0}form input{display:block;width:100%;max-width:360px}section,details{margin-top:24px}.table-scroll{overflow:auto;border:1px solid #dbe5e1;border-radius:10px;max-height:76vh}table{border-collapse:separate;border-spacing:0;width:100%}#pairs{min-width:1570px;font-size:12px}th,td{text-align:left;padding:12px 8px;border-bottom:1px solid #e4ebe8;vertical-align:top}th{background:#f2f6f4;color:#4b655d;font-size:11px;text-transform:uppercase;letter-spacing:.04em}#pairs thead th{position:sticky;top:0;z-index:3}#pairs td:first-child,#pairs th:first-child{position:sticky;left:0;background:#fff;z-index:2;min-width:103px;max-width:140px}#pairs th:first-child{z-index:4;background:#f2f6f4}#pairs tr.selected td{background:#f1f8f4}#pairs tr.draft td:first-child{border-left:3px solid #c79735}.pair-name{padding:0;border:0;background:transparent;color:#174f46;font-size:14px;letter-spacing:.02em}.price-group{display:flex;gap:6px}.price-group label{flex:1;min-width:0}.price-group input{display:block;width:100%;margin-top:4px;font-variant-numeric:tabular-nums;font-size:12px;padding:7px 5px}.zone-cell{min-width:200px;width:200px}.fib-cell{min-width:300px;width:300px}#pairs td:nth-child(2){min-width:105px;width:105px}#pairs td:nth-child(2) input,#pairs td:nth-child(2) select{width:100%;margin-bottom:4px}#pairs td:nth-child(5){min-width:112px}#pairs td:nth-child(6){min-width:108px}#pairs td:nth-child(5) select,#pairs td:nth-child(6) select,#pairs td:nth-child(6) button{width:100%;margin-bottom:5px}#pairs td:nth-child(7){min-width:100px;font-weight:600}#pairs td:nth-child(8){min-width:148px;font-variant-numeric:tabular-nums}#pairs td:nth-child(9){min-width:155px}#pairs td small{margin-top:5px;overflow-wrap:anywhere}.fib-footer{display:flex;align-items:center;gap:8px;margin-top:7px}.fib-footer button{font-size:11px;padding:5px 8px}.secondary{background:white;color:#17594d}.text-button{background:transparent;border:0;color:#5b706b}.target-list{display:grid;grid-template-columns:1fr 1fr;gap:2px 8px;font-size:10px;color:#42615a;font-variant-numeric:tabular-nums}.targets{margin-top:6px}.positive{color:#08754c}.negative{color:#b13c3c}.neutral{color:#536d64}.activity:before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;border:1px solid #75877e}.activity.black:before{background:#171d19}.activity.amber:before{background:#e3a315}.activity.green:before{background:#159553}.activity.gray:before{background:#a1aaa7}.legend,.reference-note{font-size:12px;color:#526c64}.reference-note{margin-bottom:6px}.legend{margin-top:0}#results{display:none}#message{color:#805518;white-space:pre-wrap}#summary{overflow:auto}details{border-top:1px solid #dce5df;padding-top:14px}summary{cursor:pointer;font-weight:600}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}[hidden]{display:none!important}#setup-panel{background:#f4f7f5;padding:16px;border-radius:8px}#setup-symbols label{display:flex;gap:12px;margin:8px 0}@media(max-width:700px){main{margin:0;border-radius:0;padding:12px}header,.toolbar{flex-wrap:wrap}h1{font-size:23px}.table-scroll{max-height:72vh}}

/* MX_VISIBLE_CONFIRMATIONS_R1 */
#results {
    display:block; position:fixed; bottom:16px; right:16px;
    width:min(560px,calc(100vw - 32px)); max-height:28vh;
    overflow:auto; z-index:100; padding:14px;
    background:#fff; color:#183238; border:2px solid #286b78;
    border-radius:10px; box-shadow:0 5px 24px #0003;
}
#results:empty { display:none; }
#results div { padding:6px 0; border-bottom:1px solid #dce5df; }
/* 8.05: retain existing command-confirmation repairs. */
#entry-references{margin-block:1.5rem;padding:1.2rem;border:1px solid #526278;border-radius:10px}
.ref-form{display:flex;flex-wrap:wrap;gap:1rem;align-items:end;margin:1rem 0}.ref-form label{display:flex;flex-direction:column;gap:.35rem;max-width:25rem}.ref-form input{width:15rem;max-width:100%}
.reference-card{padding:1rem;margin:1rem 0;border:1px solid #53647a;border-radius:8px}.reference-card button{margin:.5rem .75rem .25rem 0}.reference-card p{overflow-wrap:anywhere}
#entry-references details{margin:1rem 0;padding:.8rem;border:1px solid #526278}#entry-references summary{font-weight:700;cursor:pointer}#ref-message{white-space:pre-wrap;overflow-wrap:anywhere}

/* Independent owner opportunities; editing remains stable during status refresh. */
.op-row{border:1px solid #bbc9c4;border-radius:8px;padding:12px;margin:12px 0}.op-fields{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.op-fields label{display:flex;flex-direction:column;gap:4px}.op-fields input{width:130px}.op-grid{display:flex;gap:10px;flex-wrap:wrap}.op-grid small{flex-basis:100%}.op-grid span{padding:5px;border:1px solid #d5ded9;border-radius:4px}.op-status{overflow-wrap:anywhere}.op-actions{display:flex;gap:12px;margin:12px 0}.op-advanced{margin-top:24px}.op-management{margin-top:20px;padding-top:8px;border-top:1px solid #d5ded9}

.edge-cell{min-width:245px;max-width:300px}.edge-footer{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.edge-cell small{display:block;white-space:normal;line-height:1.45;margin-top:6px}.edge-cell [data-edge=priority]{color:#46627d;font-size:11px}

#op-selection{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit}
