:root{font-family:Segoe UI,Arial,sans-serif;color:#172746;background:#f3f6fc;font-size:15px}*{box-sizing:border-box}body{margin:0}aside{position:fixed;inset:0 auto 0 0;width:235px;background:#064789;color:#fff;padding:38px 24px;display:flex;flex-direction:column}.brand{font-size:34px;letter-spacing:-1.8px;font-weight:750;color:inherit;text-decoration:none}.brand span{display:block;font-size:9px;letter-spacing:2px;margin:10px 0 45px;color:#dbe5ff}nav{display:grid;gap:9px}button{cursor:pointer;font:inherit;border:1px solid #d3ded7;border-radius:8px;padding:10px 17px;background:white;color:#064789}button:hover{background:#edf2ff}button:disabled{opacity:.5;cursor:wait}nav button{text-align:left;border:0;background:transparent;color:#ffffff;padding:14px}nav .active{color:#fff;background:#fa8c16}.local{margin-top:auto;font-size:12px;color:#c5d8ce}.local small{display:block;margin-top:10px;line-height:1.6;color:#93b3a3}i{display:inline-block;width:7px;height:7px;background:#add5a3;border-radius:50%;margin-right:5px}main{margin-left:235px;padding:42px 44px;max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#3158a5}h1{font-size:32px;letter-spacing:-1px;margin:12px 0}h2{font-size:19px;margin:0 0 18px}h3{font-size:15px;margin:0 0 8px}p{color:#5e6b82;line-height:1.6;margin:8px 0 18px}.pill{font-size:11px;padding:8px 12px;border:1px solid #d1dbd1;border-radius:30px;white-space:nowrap;background:#f8faf7}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}article{background:white;border:1px solid #e0e6de;border-radius:12px}.cards article{padding:24px}.cards span{font-size:13px;color:#65776a}.cards strong{display:block;font-size:37px;font-weight:600;margin:14px 0}.cards small{font-size:11px;color:#829084}.grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px}.panel{padding:28px;margin-bottom:22px}.panel>.eyebrow{display:block;margin-bottom:12px}.step{display:flex;gap:18px;padding:22px 0;border-top:1px solid #edf0e9}.step b{color:#b75500;background:#fff0df;width:33px;height:33px;border-radius:50%;padding:9px;font-size:12px;flex-shrink:0}.step p{font-size:13px;margin-bottom:12px}.step button{font-size:12px;padding:7px 12px}.note{background:#fff3e5;border-radius:8px;padding:16px;margin-top:20px;font-size:12px;line-height:1.65;color:#765022}.muted{font-size:13px;color:#7b887e}footer{display:flex;justify-content:space-between;color:#8a948c;font-size:11px;margin-top:30px}input,select{padding:10px;border:1px solid #ccd7cd;border-radius:6px;max-width:100%;font:inherit;background:white}input[type=file]{font-size:13px;display:block;margin:12px 0 18px}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}label{font-size:13px}select{display:block;width:100%;margin-top:8px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid #edf0e9}th{font-weight:600;color:#6b796e;background:#edf2ff}.row{display:flex;justify-content:space-between;align-items:center;gap:15px}.primary{background:#064789;color:white;border-color:#064789}.primary:hover{background:#05376b}.actions{display:flex;gap:12px}code{display:block;word-break:break-all;margin-top:10px;color:#064789}#notice{padding:14px 18px;background:#e2efe3;border:1px solid #b7cdb5;border-radius:8px;margin-bottom:22px}#notice.error{background:#fff0e9;border-color:#e4b9a5;color:#864222}#import{margin-top:18px}.history{padding:13px 0;border-bottom:1px solid #edf0e9}.history small{display:block;margin-top:6px}.upload{display:block;margin-top:22px}[hidden]{display:none!important}@media(max-width:950px){aside{width:190px;padding:28px 18px}main{margin-left:190px;padding:28px 22px}.grid{grid-template-columns:1fr}.cards{gap:10px}.cards article{padding:15px}}@media(max-width:650px){aside{position:static;width:100%;padding:18px}.brand{font-size:26px}.brand span,.local{display:none}nav{display:flex;flex-wrap:wrap;margin-top:14px;gap:4px}nav button{font-size:12px;padding:9px}main{margin:0;padding:23px 15px}header{align-items:flex-start}h1{font-size:27px}.cards{grid-template-columns:1fr}.cards strong{font-size:28px}.panel{padding:20px}.fields{grid-template-columns:1fr}.row{align-items:flex-start;flex-direction:column}footer{gap:15px}}

.login{margin:8vh auto;padding:24px;max-width:540px}.login input{display:block;width:100%;margin:12px 0 20px}.login small{color:#718375;line-height:1.6}
#compositionForm table{table-layout:fixed;min-width:560px}#compositionForm th,#compositionForm td{padding:10px 6px;overflow-wrap:anywhere}#compositionForm th:nth-child(1){width:18%}#compositionForm th:nth-child(2){width:27%}#compositionForm th:nth-child(3){width:12%}#compositionForm th:nth-child(4){width:15%}#compositionForm th:nth-child(5){width:14%}#compositionForm th:nth-child(6){width:14%}#compositionForm input{width:100%;min-width:0;padding:8px 5px}#compositionForm td button{padding:7px;font-size:12px}#compositionForm .actions{flex-wrap:wrap;margin-top:16px}

/* Top navigation and compact listing rows. */
aside.topbar{position:sticky;inset:auto;top:0;z-index:20;width:100%;padding:16px 24px;display:flex;flex-direction:row;align-items:center;gap:26px;flex-wrap:wrap;box-shadow:0 3px 12px #173e8c22;border-bottom:4px solid #fa8c16}
.topbar .brand{font-size:30px;flex-shrink:0}.topbar .brand span{margin:5px 0 0;font-size:8px}.topbar nav{display:flex;flex-wrap:wrap;gap:5px;flex:1}.topbar nav button{padding:10px 12px;font-size:13px;white-space:nowrap;color:#fff}.topbar nav button:hover{background:#ffffff22}.topbar nav .active{background:#fa8c16;color:#192746;font-weight:700}.topbar .local{display:none}
main{margin:0 auto;padding:28px 32px;max-width:1800px}header{margin-bottom:20px}.primary{background:#064789;border-color:#064789}.primary:hover{background:#05376b}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #fa8c16;outline-offset:2px}.cards strong{color:#064789}.cards article{border-top:3px solid #fa8c16}
#adsTable{table-layout:fixed;min-width:850px}#adsTable th:nth-child(1){width:14%}#adsTable th:nth-child(2){width:29%}#adsTable th:nth-child(3){width:10%}#adsTable th:nth-child(4){width:25%}#adsTable th:nth-child(5){width:10%}#adsTable th:nth-child(6){width:12%}.one-line{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#adRows button{padding:8px 10px;white-space:nowrap;font-size:12px}#adRows td{padding:11px 8px}
@media(max-width:950px){main{margin:0;padding:24px 18px}.topbar .brand span{display:none}aside.topbar{gap:12px;padding:12px 16px}}
@media(max-width:650px){aside.topbar{position:static}.topbar nav{margin:0;gap:3px}.topbar nav button{padding:8px;font-size:12px}main{padding:20px 12px}}

.topbar .brand{display:flex;align-items:center;background:white;padding:8px 12px;border-radius:8px;line-height:0}.topbar .brand img{display:block;width:190px;height:auto;max-width:100%}@media(max-width:650px){.topbar .brand img{width:155px}}

.topbar .market-logo{width:64px;height:64px;object-fit:contain;flex-shrink:0;background:transparent}@media(max-width:650px){.topbar .market-logo{width:48px;height:48px}}

.topbar .brand{gap:14px}.topbar .brand .market-logo{width:55px;height:55px;object-fit:contain}@media(max-width:650px){.topbar .brand .market-logo{width:44px;height:44px}}

#adsTable{min-width:1100px}#adsTable th:nth-child(1){width:13%}#adsTable th:nth-child(2){width:25%}#adsTable th:nth-child(3){width:8%}#adsTable th:nth-child(4){width:22%}#adsTable th:nth-child(5),#adsTable th:nth-child(6){width:10%}#adsTable th:nth-child(7){width:12%}

#adsTable{min-width:1200px}#adsTable th:nth-child(1){width:12%}#adsTable th:nth-child(2){width:23%}#adsTable th:nth-child(3){width:7%}#adsTable th:nth-child(4){width:20%}#adsTable th:nth-child(5){width:10%}#adsTable th:nth-child(6){width:7%}#adsTable th:nth-child(7){width:10%}#adsTable th:nth-child(8){width:11%}

#adsTable th:nth-child(1){width:12%}#adsTable th:nth-child(2){width:25%}#adsTable th:nth-child(3){width:7%}#adsTable th:nth-child(4){width:10%}#adsTable th:nth-child(5){width:7%}#adsTable th:nth-child(6){width:10%}#adsTable th:nth-child(7){width:8%}#adsTable th:nth-child(8){width:21%}

#adsTable th:nth-child(8){width:100px}#adsTable th:nth-child(2){width:auto}
