:root{font-family:'Leelawadee UI',Tahoma,system-ui,sans-serif;color:#19323c;background:#f3f6f8;font-size:16px;--green:#147d63;--line:#e0e7ea}*{box-sizing:border-box}body{margin:0}.sidebar{position:fixed;width:244px;inset:0 auto 0 0;background:#14262e;color:#d6e3e8;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;color:#6fe1bb;text-decoration:none;font-size:30px;padding:0 10px}.brand span{font-size:17px;letter-spacing:1px}.brand b{display:block;font-size:12px;color:#c0d3da;letter-spacing:3px}.side-caption{font-size:13px;color:#90a9b3;margin:35px 14px 10px}nav{overflow:auto;flex:1}nav button{border:0;width:100%;background:transparent;color:#b8cbd3;text-align:left;padding:10px 15px;font-weight:400;margin:2px 0;font-size:14px}nav button.active{background:#25463f;color:#8df0cb;border-left:3px solid #66dcb6;border-radius:5px}.side-foot{font-size:13px;padding:18px 12px 0;border-top:1px solid #30454e}.side-foot span{color:#8fa9b4;font-size:12px}main{margin-left:244px;padding:35px 40px 125px;max-width:1600px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:16px}h1{font-size:28px;margin:5px 0;font-weight:650}h2{font-size:20px;margin:0}.eyebrow{font-size:12px;letter-spacing:1px;color:#748995}.badge{border:1px solid #d6e2e8;background:white;border-radius:30px;padding:8px 14px;color:#4c6470;font-size:13px}.account-panel,.editor{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;box-shadow:0 3px 10px #18343f03}.account-title{display:flex;align-items:center;gap:12px}.account-title span{font-size:13px;color:#768a94}.account-inputs{display:flex;gap:20px;margin:20px 0 12px}.account-inputs label{flex:1}.account-select{flex:1.3!important}label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#4e6470}input,select{font:inherit;color:#213b46;border:1px solid #d6e0e5;background:#fff;border-radius:7px;padding:10px 12px;width:100%;min-width:0}input:focus,select:focus,button:focus-visible{outline:3px solid #8edcc5;outline-offset:2px}.muted{color:#7a8c95;font-size:13px}.notice{display:flex;gap:13px;background:#fff7e8;border:1px solid #eddfc4;padding:16px 20px;border-radius:9px;margin:22px 0;color:#785b28;font-size:14px}.notice p{margin:4px 0 0;line-height:1.7}.notice-icon{border:1px solid #ac8549;border-radius:50%;width:22px;height:22px;text-align:center;flex-shrink:0}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.editor-heading h2{margin-top:4px}.source-controls{display:flex;gap:15px;border-bottom:1px solid var(--line);padding:22px 0}.source-controls label{flex:1}.source-note{margin-top:16px;font-size:14px;color:#738894}.empty{text-align:center;padding:58px 20px;color:#738894}.empty .symbol{font-size:34px;color:#9aafb8;margin-bottom:15px}.empty h3{font-size:18px;color:#435e6a;font-weight:500}.empty p{max-width:570px;line-height:1.8;margin:0 auto}.group-title{font-size:14px;color:#426779;margin:24px 0 8px;border-bottom:1px solid var(--line);padding-bottom:10px}.field{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid #eef2f4}.field>div:first-child{flex:1;min-width:0}.field label{color:#2c4651}.field small{display:block;color:#879aa3;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.field input:not([type=checkbox]){max-width:220px;font-size:14px}.field input[type=checkbox]{appearance:none;flex-shrink:0;width:42px;height:24px;padding:0;border:0;border-radius:20px;background:#ccd7dc;position:relative;cursor:pointer}.field input[type=checkbox]:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:left .15s}.field input[type=checkbox]:checked{background:var(--green)}.field input[type=checkbox]:checked:after{left:21px}.field.changed{background:#f0faf6}.readonly{font-size:14px;color:#738894}.savebar{position:fixed;bottom:0;left:244px;right:0;background:#fff;border-top:1px solid var(--line);padding:18px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 -4px 16px #15343f06}.savebar strong{font-size:14px}.savebar span{display:block;font-size:12px;color:#84969e;margin-top:4px}.actions{display:flex;gap:10px}button{font-family:inherit;cursor:pointer;border:1px solid transparent;background:var(--green);color:white;border-radius:7px;font-size:14px;padding:11px 18px;font-weight:600}button.secondary{background:white;border-color:#d6e1e6;color:#47616c}button:disabled{opacity:.45;cursor:not-allowed}#toast{position:fixed;bottom:100px;right:30px;max-width:520px;background:#173a31;color:#e0fff4;padding:16px 22px;border-radius:9px;box-shadow:0 5px 25px #0002}details{border-bottom:1px solid var(--line);padding:12px 0}summary{cursor:pointer;color:#456475;font-size:14px}details .nested{padding-left:18px}[hidden]{display:none!important}@media(max-width:1000px){.sidebar{width:205px}main{margin-left:205px;padding:25px 20px 135px}.savebar{left:205px;padding:16px 20px}.account-inputs,.source-controls{flex-direction:column}}@media(max-width:700px){.sidebar{position:static;width:auto;padding:16px}.brand{font-size:24px}.brand span{font-size:15px}.brand b{display:inline;margin-left:6px}.side-caption,.side-foot{display:none}nav{display:flex;margin-top:14px;gap:6px;overflow:auto}nav button{white-space:nowrap;width:auto;padding:9px 13px}main{margin:0;padding:23px 15px 160px}header{align-items:flex-start;flex-direction:column}h1{font-size:25px}.account-panel,.editor{padding:18px}.savebar{left:0;padding:14px;flex-wrap:wrap}.actions{width:100%;justify-content:flex-end}.field{gap:12px;flex-wrap:wrap}.field input:not([type=checkbox]){max-width:100%}.badge{font-size:12px}#toast{left:15px;right:15px;bottom:140px}}
/* Customer portal: readable controls and a distinct administrator workspace. */
body{font-size:16px;line-height:1.6;color:#17333f}button,input,select{font-size:16px;min-height:46px}button{font-weight:600}main{max-width:1640px;padding-bottom:150px}h1{font-size:30px}h2{font-size:23px}h3{font-size:18px}label{font-size:16px;color:#294752}.eyebrow,.badge,.muted,.account-title span,.source-note{font-size:14px}.sidebar{width:244px}nav button{font-size:16px;padding:11px 14px}.side-foot{font-size:14px}.side-foot span{font-size:14px}.notice{font-size:16px;background:#fff8eb}.notice p{max-width:850px}.field{padding:22px 0;align-items:flex-start}.field label{font-weight:600;font-size:17px}.field input:not([type=checkbox]){font-size:17px;min-width:130px;width:210px}.field input[type=checkbox]{width:52px;height:30px;min-height:30px;margin-top:5px}.field input[type=checkbox]:after{width:24px;height:24px}.field input[type=checkbox]:checked:after{left:25px}.field-help{font-size:15px;color:#536b77;line-height:1.75;margin:6px 0 0;max-width:680px}.technical{padding:4px 0 0;border:0}.technical summary{font-size:13px;color:#718591}.technical small{font-size:13px}.group-title{font-size:19px}.source-controls{gap:20px}.savebar strong{font-size:16px}.savebar span{font-size:14px}.sync-row,.session-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.sync-row button{flex-shrink:0}#sync-result{font-size:14px;margin-bottom:0;color:#12694f}.admin-panel{border:1px solid #d4e0e6;border-radius:12px;background:#fff;padding:26px;margin-bottom:24px}.admin-title p{font-size:16px;color:#5f7580;margin:6px 0 24px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.admin-form{display:flex;flex-direction:column;gap:14px;background:#f6f9fa;border:1px solid #e2e9ed;border-radius:10px;padding:22px}.admin-form h3{margin:0 0 3px;color:#204b5d}.admin-form p{font-size:15px;margin:0}.admin-form button{margin-top:auto}.assigned-details{margin-top:20px}.assigned-details>summary{font-size:16px;font-weight:600}.assignment-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:18px;border-bottom:1px solid #e3eaee}.assignment-row p{font-size:14px;margin:4px 0;color:#596f7a}.assignment-row button{flex-shrink:0}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#edf3f5;padding:28px}.auth-card{background:white;border:1px solid #dce5e9;box-shadow:0 12px 50px #143a4b10;border-radius:16px;padding:42px;width:100%;max-width:520px}.auth-brand{color:#147d63;font-weight:700;letter-spacing:2px;margin-bottom:22px}.auth-card h1{font-size:28px}.auth-card>p{color:#536d79;font-size:16px}.auth-card form{display:flex;flex-direction:column;gap:18px;margin-top:28px}.auth-card form p{margin:0;font-size:14px}#auth-error{color:#b23636}.auth-card button{width:100%;margin-top:6px}.empty{padding:40px 20px}.empty h3{font-size:21px}.empty p{font-size:16px}summary{font-size:16px}.brand span{font-size:16px}.readonly{font-size:16px}@media(max-width:1100px){.admin-grid{grid-template-columns:1fr}.account-inputs{flex-direction:column}}@media(max-width:700px){.sidebar{width:auto}nav button{font-size:15px;min-height:44px}.auth-screen{padding:18px}.auth-card{padding:28px 24px}.admin-panel{padding:18px}.admin-form{padding:18px}.sync-row{align-items:flex-start;flex-direction:column}.session-actions{flex-wrap:wrap}.field input:not([type=checkbox]){width:100%;max-width:100%}.field>div:first-child{min-width:150px}.savebar{gap:8px}.savebar span{font-size:13px}.actions button{flex:1;padding:10px}.notice{padding:15px}.assignment-row{flex-wrap:wrap}.account-title{flex-wrap:wrap}}
.mobile-category{display:none}.technical{opacity:.85}.field{align-items:center}@media(min-width:701px){main{margin-left:244px}.savebar{left:244px}}@media(max-width:700px){.mobile-category{display:flex;color:#d7e7eb;font-size:14px;margin:16px 8px 0}.mobile-category select{background:#203c46;color:#fff;border-color:#4b6772}.sidebar nav{display:none}main{margin-left:0}.savebar{left:0}}@media(max-height:550px) and (max-width:700px){.savebar{position:static;margin:24px -15px -130px;box-shadow:none}.actions{flex-wrap:wrap}}
.bank-commands{margin-top:22px}.bank-commands>.group-title{margin-top:0}.command-table-wrap{margin-top:20px;overflow-x:auto;border:1px solid #dbe4e9;border-radius:9px}.command-table{width:100%;border-collapse:collapse;table-layout:fixed}.command-table th,.command-table td{padding:14px 16px;text-align:left;vertical-align:middle;border-bottom:1px solid #e3eaee}.command-table thead th{background:#eaf1f5;color:#244756;font-size:15px;font-weight:650}.command-table thead th:nth-child(1){width:27%}.command-table thead th:nth-child(2){width:33%}.command-table thead th:nth-child(3){width:18%}.command-table thead th:nth-child(4){width:22%}.command-table tbody th{font-size:15px;font-weight:600;overflow-wrap:anywhere}.command-table tbody tr:last-child>*{border-bottom:0}.command-table tbody tr.changed{background:#eef9f4}.command-table td.changed input:not([type=checkbox]),.command-table td.changed select{border-color:#239879}.command-table input:not([type=checkbox]),.command-table select{font-size:16px;min-width:0;padding:10px}.command-table .command-switch{appearance:none;position:relative;display:inline-block;vertical-align:middle;cursor:pointer;width:48px;height:28px;min-height:28px;padding:0;border:0;border-radius:20px;background:#9aaeb8;margin:0}.command-switch:after{content:'';position:absolute;width:22px;height:22px;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:left .15s}.command-table .command-switch:checked{background:#147d63}.command-switch:checked:after{left:23px}.command-state{margin-left:9px;font-size:14px;color:#345962;white-space:nowrap}.command-enabled{white-space:nowrap}.bank-other-settings{margin-top:28px}.bank-other-settings>summary{font-size:18px;font-weight:600;padding:7px 0}.command-table input:disabled{opacity:.5;cursor:not-allowed}@media(min-width:701px) and (max-width:1000px){.command-table th,.command-table td{padding:10px 8px}.command-state{display:none}.command-table{min-width:500px}}@media(max-width:700px){.command-table-wrap{border:0;overflow:visible}.command-table,.command-table tbody{display:block}.command-table thead{display:none}.command-table tbody tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dbe4e9;border-radius:10px;margin-bottom:14px;padding:12px;gap:12px;background:#fff}.command-table tbody th,.command-table tbody td{display:block;border:0;padding:0;min-width:0}.command-table .command-id{grid-column:1/-1;font-size:17px;background:#eff4f6;border-radius:6px;padding:8px 10px}.command-table td:nth-child(2){grid-column:1/-1}.command-table td:before{content:attr(data-label);display:block;font-size:14px;color:#536f7b;margin-bottom:6px}.command-table td.changed{background:transparent}.command-table select{width:100%}.command-table .command-enabled{align-self:center}.command-table input:not([type=checkbox]){width:100%}}
.settings-jump{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 20px}.settings-jump button{font-size:14px;padding:8px 12px}.settings-section{border:1px solid #d8e0eb;border-radius:12px;padding:0 20px 12px;margin-bottom:22px;scroll-margin-top:20px;background:#fff}.settings-section>.group-title{margin:0 -20px 6px;padding:18px 20px;background:#eef3fa;border-radius:12px 12px 0 0;color:#18375a;font-size:19px}.settings-group{margin:12px 0;border:1px solid #d8e0eb;border-radius:9px;background:#f8fafd}.settings-group>summary{padding:15px;font-size:16px;font-weight:600;cursor:pointer}.settings-group-body{padding:0 15px 15px}.setting-control{display:flex;align-items:center;gap:12px;min-width:0}.setting-control input:not([type=checkbox]){width:100%;min-width:0}.settings-field label{line-height:1.6}.source-note.stale{background:#fff1d8;color:#754200;padding:14px;border-radius:8px}.settings-field .readonly{overflow-wrap:anywhere}.settings-group-body>.secondary{margin-top:15px}@media(max-width:700px){.settings-section{padding:0 12px 12px}.settings-section>.group-title{margin-left:-12px;margin-right:-12px}.settings-field{grid-template-columns:1fr!important;gap:12px}.settings-group-body{padding:0 10px 10px}}
.gf-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:20px 0}.gf-control{display:flex;gap:8px}.gf-control input[type=checkbox]{appearance:none;position:relative;width:48px;height:28px;min-height:28px;padding:0;border:0;border-radius:20px;background:#9aaeb8;cursor:pointer}.gf-control input:checked{background:#147d63}.gf-control.changed{background:#eef9f4}.gf-tabs{display:flex;gap:10px;margin-top:24px}.gf-tabs [aria-selected=true]{background:#147d63;color:white;border-color:#147d63}.gf-missions>summary{font-size:18px;font-weight:600}.gf-search{max-width:480px;margin:20px 0}.gf-table{width:100%;border-collapse:collapse;min-width:740px}.gf-table th,.gf-table td{padding:14px;text-align:left;border-bottom:1px solid #e3eaee}.gf-table thead{background:#eaf1f5}.gf-table tbody th{width:38%;font-weight:500}.gf-table small{display:block;color:#738894;font-size:12px}.gf-table .gf-control>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.gf-table input[type=number]{width:115px}.gf-panel .command-table-wrap{margin-top:10px}.gf-table td:nth-last-child(3){width:90px}

.idle-gear-control{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:0 0 240px;max-width:100%;min-width:0}.idle-gear-control select{width:240px;max-width:100%}.idle-gear-control button{white-space:normal}@media(max-width:700px){.idle-gear-control{flex-basis:100%;width:100%}}

.pact-choices{display:flex;flex-wrap:wrap;gap:14px 24px;border:1px solid #d8e0eb;border-radius:8px;padding:16px;margin:16px 0}.pact-choices label{display:flex;flex-direction:row;align-items:center;gap:8px}.pact-choices input[type=checkbox],.familiar-table input[type=checkbox]{appearance:auto;width:20px;height:20px;min-width:20px;accent-color:#147d63;cursor:pointer}.familiar-table{min-width:1200px}.familiar-table thead th{white-space:normal;min-width:75px}.familiar-table tbody th{min-width:155px}.familiar-table td{text-align:center}.familiar-table .changed,.pact-choices .changed{background:#eef9f4}

/* Familiar columns must not inherit the bank table's four percentage widths. */
.familiar-table-wrap{overflow-x:auto;border:1px solid #dbe4e9}.command-table.familiar-table{display:table;table-layout:fixed;width:100%;min-width:980px}.command-table.familiar-table thead{display:table-header-group}.command-table.familiar-table tbody{display:table-row-group}.command-table.familiar-table tr{display:table-row}.command-table.familiar-table th,.command-table.familiar-table td{display:table-cell;padding:8px 6px;font-size:13px;line-height:1.4;text-align:center;vertical-align:middle;min-width:0;overflow-wrap:anywhere;border-bottom:1px solid #e3eaee}.command-table.familiar-table thead th:nth-child(n){width:auto;min-width:0;white-space:normal}.command-table.familiar-table thead th:first-child{width:148px;text-align:left}.command-table.familiar-table tbody th{min-width:0;text-align:left}.command-table.familiar-table td:before{display:none}.command-table.familiar-table input[type=checkbox]{display:inline-block;margin:0;padding:0;vertical-align:middle;width:19px;height:19px;min-width:19px}.command-table.familiar-table tbody tr{background:white}.command-table.familiar-table tbody tr:hover{background:#f4f9f8}

.owner-brand{font-size:15px;font-weight:600;letter-spacing:.4px;color:#147d63;margin:8px 0 20px}.sidebar-owner{color:#8df0cb;padding:0 10px;margin:14px 0 0}

/* Language controls remain reachable on login, desktop, and mobile. */
.language-switch{display:inline-flex;gap:3px;background:#eaf1f3;border:1px solid #cddce2;padding:3px;border-radius:9px;flex-shrink:0}.language-switch button{background:transparent;color:#34545f;border:0;padding:7px 11px;font-size:13px;white-space:nowrap}.language-switch button[aria-pressed=true]{background:#147d63;color:white}.auth-card>.language-switch{float:right;margin:0 0 16px 12px}.session-actions{flex-wrap:wrap}html[lang=en] .familiar-table th{overflow-wrap:normal;word-break:normal}

.contact-foot strong{display:inline-block;margin-top:6px;color:#8df0cb;font-size:14px;font-weight:600;user-select:text}.contact-foot .contact-title{color:#b8cbd3}@media(max-width:700px){.side-foot.contact-foot{display:block;margin-top:14px;padding:12px 10px 0}}
