/* Original SimTrade edit windows, isolated from the helper application UI. */
.platform-window{max-width:100%;min-width:0;margin:18px 0 24px;color:#173044}
.pw-scroll{width:fit-content;max-width:100%;overflow:auto;border:1px solid #c6d3df;border-radius:7px;background:#dbeaf5;overscroll-behavior-x:contain}
.pw-panel{color:#172d3c;font:12px/1.5 Arial,'Microsoft YaHei',sans-serif;background:#dbeaf5;width:max-content;min-width:453px;padding:0 12px 12px;box-sizing:content-box}
.pw-dialog{width:453px}.pw-profile{width:750px}.pw-profile[data-window='profile-export_bank'],.pw-profile[data-window='profile-import_bank']{width:700px}
.pw-mail{width:760px}.pw-business{min-width:750px;width:750px}
.pw-title{margin:0 -12px 12px;padding:7px 12px;background:linear-gradient(#d8eafa,#a9c6e3);border-bottom:1px solid #7999b6;color:#264e71;font-size:13px;font-weight:700;letter-spacing:0;line-height:1.6}
.pw-panel table{border-collapse:separate;max-width:none!important;table-layout:fixed;letter-spacing:normal;font:inherit;line-height:1.5}
.pw-panel table table{width:100%}.pw-panel td,.pw-panel th{font:inherit;vertical-align:middle;padding:3px 2px;line-height:1.5;box-sizing:border-box;word-break:normal;overflow-wrap:break-word}
.pw-panel td[align='right']{text-align:right;white-space:normal}.pw-panel td[align='center']{text-align:center}.pw-panel td[align='left']{text-align:left}
.pw-panel td[valign='top']{vertical-align:top}.pw-panel td[height]{height:auto;min-height:24px}
.pw-value{display:inline-block;min-height:24px;min-width:24px;max-width:100%;width:100%;box-sizing:border-box;padding:3px 6px;color:#123f6b;background:#f3faff;border:1px solid #a8bfd4;box-shadow:inset 0 1px 2px #1b4d7010;border-radius:2px;cursor:copy;font:12px/1.5 Arial,'Microsoft YaHei',sans-serif;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;vertical-align:middle}
.pw-value:hover{background:#e4f4ff;border-color:#558eb8}.pw-value:focus-visible{outline:2px solid #15849b;outline-offset:2px}.pw-value.copied{background:#ddf3e8;border-color:#5f9d7b}
.pw-value:empty:before{content:'留空';color:#8493a0;font-size:11px}.pw-platform-owned{color:#657786;background:#e9eff3;border-color:#bdcbd5;box-shadow:none;cursor:default}
.pw-multiline{min-height:100px;padding:8px;line-height:1.75;white-space:pre-wrap}.pw-mail-body{min-height:260px;width:100%;font:14px/1.8 Arial,'Microsoft YaHei',sans-serif}
.pw-editor-toolbar{padding:5px;background:#d3ddeb;border:1px solid #a8b7c5;border-bottom:0;color:#253c4e;font:12px/1.5 Arial,sans-serif}
.pw-choice{min-width:16px;width:auto!important;display:inline-block;vertical-align:middle;padding:1px 3px;line-height:1.4;cursor:default;color:#28648b;background:#f4f8fb;border:1px solid #bdcbd5}
.pw-panel label{display:inline;font:inherit;color:inherit;margin:0}.pw-panel label + span{margin-left:3px}.pw-panel .pw-logo-placeholder{width:135px;height:120px;display:flex;align-items:center;justify-content:center;border:1px solid #a8b7c5;background:#e5edf2;color:#748997;font-size:12px}
.pw-upload-note{display:block;font-size:11px;color:#697f90;padding:4px;line-height:1.4}.pw-platform-button{display:inline-block;padding:4px 12px;margin:4px 3px;border:1px solid #819eb9;border-radius:3px;color:#1e4e76;background:linear-gradient(white,#cbdde9);font:12px/1.5 Arial,'Microsoft YaHei',sans-serif;cursor:default;white-space:nowrap}
.pw-footnote,.pw-context,.pw-mail-explanation{color:#617582;font-size:12px;line-height:1.75;margin:8px 0}.pw-panel>.pw-context{padding:7px 4px}.pw-mail-explanation{background:#eaf5f8;border-left:3px solid #4e97a6;padding:8px 12px;color:#285a65}
.pw-business-actions{padding:2px 0 8px}.pw-business-table{width:100%;table-layout:fixed;border:1px solid #a8b7c5;border-spacing:1px;background:#a8b7c5}.pw-business-table th{background:#c9ddeb;text-align:center;font-weight:700}.pw-business-table td{background:#f8fcff;text-align:center}.pw-business-table th:first-child{width:42px}.pw-business-table th:nth-child(2){width:145px}.pw-business-table th:nth-child(3){width:125px}.pw-business-table th:nth-child(4){width:80px}.pw-business-table th:nth-child(6){width:100px}
.pw-required-docs{padding:8px;line-height:2;background:#e8f1f7}.pw-required-docs span{display:inline-block;margin:0 12px 0 0}
.pw-panel .t1,.pw-panel .t2,.pw-panel .text,.pw-panel .O{font:inherit}.pw-content{max-width:100%}.pw-content>table{max-width:100%}.pw-dialog .pw-content>table{width:453px}.pw-mail .pw-content>table{width:760px}
.pw-dialog .pw-content table td:first-child{white-space:normal}.pw-dialog .pw-content table td{min-height:26px}
@media(max-width:780px){.platform-window{margin:14px 0 18px}.pw-scroll{border-radius:4px}.pw-footnote{font-size:11px}}
.pw-business{width:756px;min-width:756px;padding:10px 10px 14px}.pw-original-menu{width:756px}.pw-original-menu>div{width:756px!important}
.pw-original-menu table{width:100%}.pw-original-menu [data-slot='main']{width:240px;min-height:277px;background:#e9f0f5;border:1px solid #a7bfd3;padding:2px;box-sizing:border-box}
.pw-original-menu [data-slot='main'] table{width:100%;table-layout:fixed}.pw-original-menu [data-slot='main']>table>tbody>tr:first-child>td,.pw-original-menu [data-slot='main']>table>tr:first-child>td{background:#5c8bb1;color:white!important}
.pw-original-menu [data-slot='main'] .pw-value{width:auto;max-width:100%;min-height:21px;padding:1px 3px;font-size:11px;line-height:1.5;margin:2px 0}
.pw-original-menu [data-slot='action']{width:453px;min-height:297px;box-sizing:border-box}
.pw-original-menu td[height],.pw-original-menu [style*='height:']{height:auto!important;overflow:visible!important}
.pw-menu-link{display:inline-block;padding:4px 7px;margin:3px 2px;background:#eaf2f8;border:1px solid #9db6ca;color:#355d7a;line-height:1.5;border-radius:2px;font-size:12px;white-space:nowrap}
.pw-menu-active{background:#d5eff3;border-color:#5599a4;color:#155760;font-weight:700}
.pw-embedded-dialog>table{width:453px;table-layout:fixed}.pw-embedded-dialog>table td{padding:5px 3px}.pw-action-instructions{min-height:260px;background:#eaf2f7;padding:10px 14px;border:1px solid #b2c6d6;color:#456174;font-size:12px;line-height:1.8;box-sizing:border-box}
.pw-action-instructions p{margin:9px 0}.pw-operation-title{font-size:14px;font-weight:700;color:#285b7e}.pw-action-instructions .pw-value{width:auto;max-width:100%}
.pw-business-slots{display:grid;grid-template-columns:240px 453px;gap:25px}.pw-note-list{width:453px;box-sizing:border-box;line-height:1.5;padding:2px}.pw-note-table{width:100%;border-spacing:1px;background:#a7bfd3;border:1px solid #a7bfd3;table-layout:fixed}.pw-note-table th{background:#bed9eb;text-align:center;font-weight:700;font-size:11px}.pw-note-table td{background:#f8fcff;text-align:center;font-size:11px;padding:4px 2px;overflow-wrap:anywhere}.pw-note-table th:first-child{width:30px}.pw-note-table th:nth-child(2){width:48px}.pw-note-table th:nth-child(3){width:118px}.pw-note-table th:nth-child(4){width:auto}.pw-note-table th:nth-child(n+5){width:30px}.pw-note-table .pw-value{font-size:11px}
.pw-bank{width:700px;min-width:700px}.pw-bank-filters{font-size:12px;line-height:1.75;margin:8px 0 12px}.pw-bank-filters strong{margin-right:10px}.pw-bank-table{width:100%;table-layout:fixed;background:#a7bfd3;border:1px solid #a7bfd3;border-spacing:1px}.pw-bank-table th{background:#bed9eb;font-weight:700;text-align:center}.pw-bank-table td{background:#f7fbfd;text-align:center;overflow-wrap:anywhere}.pw-bank-table th:first-child{width:38px}.pw-bank-table th:nth-child(2){width:62px}.pw-bank-table th:nth-child(3){width:120px}
.pw-bank-filter{width:170px;min-height:25px;cursor:default}
/* Role colors match the real platform's Profile section bars. */
.pw-profile[data-window='profile-exporter']>.pw-title{background:linear-gradient(#d3e8f8,#97bddc);border-color:#709bbf;color:#245475}
.pw-profile[data-window='profile-importer']>.pw-title{background:linear-gradient(#e1f1d8,#a9cf98);border-color:#7daa6e;color:#325d28}
.pw-profile[data-window='profile-factory']>.pw-title{background:linear-gradient(#fff6cf,#e7d17b);border-color:#b8a34c;color:#6b571e}
.pw-profile[data-window='profile-export_bank']>.pw-title{background:linear-gradient(#f8e0e1,#d99ca2);border-color:#b57079;color:#763b46}
.pw-profile[data-window='profile-import_bank']>.pw-title{background:linear-gradient(#ffecd7,#e8bc86);border-color:#bd955d;color:#79552b}
.pw-short-list th{width:auto!important}.pw-short-list th:first-child{width:32px!important}.pw-short-list td,.pw-short-list th{padding:5px 3px}
.pw-safe-portal{width:1000px;min-width:1000px;box-sizing:border-box;border:2px solid #276bc8;background:#fff;color:#499cde}.pw-safe-user{text-align:right;padding:8px 20px;background:#eaf2f8}.pw-safe-apps{min-height:250px;padding:45px 105px;font-size:14px;font-weight:700}.pw-safe-apps p{padding:8px 20px}.pw-safe-portal .pw-context{padding:10px 24px}
