:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263a35;background:#f5f7f6;font-size:14px;font-synthesis:none;--green:#326840;--border:#e3e8e5;--muted:#7c8a83}
*{box-sizing:border-box}body{margin:0}h1,h2,p{margin:0}button,input,textarea,select{font:inherit}button,summary,select{cursor:pointer}button,input,textarea,select,summary,a{outline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #82af8a}input:focus,textarea:focus,select:focus{outline:2px solid #b2d2b9;outline-offset:1px;border-color:#75a381}a{color:inherit;text-decoration:none}.icon{vertical-align:middle;flex-shrink:0}button{transition:background .15s}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}
.site-header{height:92px;background:white;border-bottom:1px solid var(--border)}.header-inner{max-width:1216px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center;gap:24px}.brand{display:block;width:216px;flex-shrink:0}.brand-logo{display:block;position:relative;width:100%;aspect-ratio:1040 / 280;overflow:hidden;background:white}.brand-logo img{display:block;position:absolute;width:117.211538%;height:auto;max-width:none;left:-5.769231%;top:-71.428571%}.header-label{font-size:10px;font-weight:550;letter-spacing:1.8px;color:#8c9c92;border-left:1px solid var(--border);padding-left:24px}.backup-menu{position:relative;margin-left:auto}.backup-menu summary{list-style:none;display:flex;align-items:center;gap:7px;font-size:12px;padding:10px 12px;color:#698071;border:1px solid var(--border);border-radius:7px}.backup-menu summary::-webkit-details-marker{display:none}.backup-menu summary:hover{background:#f3f7f3}.backup-options{position:absolute;right:0;top:46px;width:160px;background:white;border:1px solid var(--border);box-shadow:0 10px 25px #21493415;border-radius:8px;padding:6px;z-index:5}.backup-options button{display:flex;gap:9px;align-items:center;width:100%;border:0;background:none;padding:11px 9px;color:#4e6556;border-radius:5px;font-size:12px}.backup-options button:hover{background:#eef4ee}
main{max-width:1216px;padding:35px 28px 20px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}h1{font-size:26px;font-weight:650;letter-spacing:-.8px}.heading p{color:var(--muted);font-size:12px;margin-top:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:10px 15px;min-height:39px;font-size:12px;font-weight:550;white-space:nowrap}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#245232}.button.secondary{background:white;border-color:#dbe3dd;color:#576a5e}.button.secondary:hover{background:#f3f7f3}.button.danger-button{color:#af615a;background:transparent;padding-left:0}.button .icon{width:16px;height:16px}
.request-panel{border:1px solid var(--border);background:white;border-radius:10px;overflow:hidden;box-shadow:0 3px 9px #2d513005}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 17px}.panel-top>div{display:flex;gap:9px;align-items:center}.panel-top strong{font-size:14px;font-weight:600}.count{background:#edf3ed;color:#608063;padding:3px 6px;font-size:10px;border-radius:4px}.open-count{font-size:11px;color:#98a39c;margin-left:3px}.legend{display:flex;align-items:center;gap:6px;font-size:10px;color:#91a095}.legend i{width:6px;height:6px;border-radius:50%;margin-left:9px}.working-dot{background:#dbb24e}.delivered-dot{background:#79ac74}.filters{display:flex;align-items:center;gap:9px;padding:0 22px 20px}.search{position:relative;flex:1;min-width:180px}.search .icon{position:absolute;left:10px;top:10px;color:#a0ada3;width:16px;height:16px}.search input{padding-left:33px}.filters select{width:145px;font-size:11px}.filters #priority-filter{width:139px}.filters input{font-size:11px}.reset-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid var(--border);background:white;width:35px;height:36px;border-radius:6px;color:#8c9c91}.reset-button:hover{background:#eff4ef;color:#44644c}.reset-button .icon{width:15px;height:15px}
input,select,textarea{width:100%;min-width:0;border:1px solid #dfe6e0;border-radius:6px;padding:10px;background:white;color:#3e5346;min-height:36px;font-size:12px}input::placeholder,textarea::placeholder{color:#a2afa5}textarea{line-height:1.65;resize:vertical}.request-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left}.request-table th{font-size:10px;font-weight:500;color:#8c9b91;padding:12px 14px;background:#fafcfb;border-top:1px solid #edf1ed;border-bottom:1px solid #edf1ed;white-space:nowrap}.request-table th:first-child{width:17%;padding-left:22px}.request-table th:nth-child(2){width:12%}.request-table th:nth-child(3){width:24%}.request-table th:nth-child(4){width:16%}.request-table th:nth-child(5){width:15%}.request-table th:nth-child(6){width:11%}.request-table th:last-child{width:5%;padding:0}.request-table td{padding:17px 14px;border-bottom:1px solid #edf1ed;vertical-align:middle;font-size:12px;overflow-wrap:anywhere}.request-table tr:last-child td{border-bottom:0}.request-table td:first-child{padding-left:20px;border-left:3px solid #c9d0cb}.request-table tr.row-working{background:#fffcf4}.request-table tr.row-working td:first-child{border-left-color:#dcbb63}.request-table tr.row-delivered{background:#f6fbf4}.request-table tr.row-delivered td:first-child{border-left-color:#82b37c}.request-table tr.row-cancelled{background:#fdf7f6}.request-table tr.row-cancelled td:first-child{border-left-color:#d69993}.request-table tbody tr:hover{filter:brightness(.985)}.vessel-name{font-size:11px;font-weight:600;line-height:1.65}.request-number{font-size:11px;color:#6e8274;font-variant-numeric:tabular-nums}.description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-line;line-height:1.6;font-size:12px}.supplier{font-size:11px;line-height:1.7}.muted{color:#a0aca4}.request-table select{padding:8px 6px;min-height:34px;font-size:10px;font-weight:500;border-radius:5px}.status-select.waiting{background:#f0f3f1;border-color:#e1e6e2;color:#708076}.status-select.working{background:#fbf0cf;border-color:#eee0af;color:#98731e}.status-select.delivered{background:#e9f3e3;border-color:#d6e6cc;color:#528043}.status-select.cancelled{background:#f8e8e6;border-color:#ecd1cd;color:#ad6760}.priority-select.normal{background:transparent;border-color:#e2e7e3;color:#819088}.priority-select.high{background:#fff5df;border-color:#eddfbc;color:#a17e32}.priority-select.urgent{background:#fff0eb;border-color:#efc9bd;color:#c2684e}.edit-button{background:transparent;border:0;color:#8a9b8e;padding:6px;border-radius:5px}.edit-button:hover{background:#e7eee7;color:#3a6a46}.edit-button .icon{width:16px;height:16px}.edit-button>span{display:none}.request-table .row-action{padding:12px 6px}.panel-footer{border-top:1px solid #e9eeea;padding:14px 22px;display:flex;justify-content:space-between;gap:10px;color:#92a095;font-size:10px}.page-footer{display:flex;justify-content:space-between;gap:10px;padding-top:19px;font-size:10px;color:#9caaa0}.empty{padding:54px 20px 58px;border-top:1px solid #eaf0ea;text-align:center}.empty-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#f0f5ef;color:#84a184;margin-bottom:19px}.empty-icon .icon{width:28px;height:28px}.empty h2{font-size:18px;font-weight:600}.empty p{font-size:12px;color:#91a094;line-height:1.7;margin:10px auto 22px;max-width:400px}.notice{padding:12px 15px;margin-bottom:18px;border:1px solid #dfebdd;background:#f2f8ef;border-radius:7px;color:#67855c;font-size:11px;line-height:1.7}.notice.error{background:#fff2ef;color:#ae6053;border-color:#f0d5ce}
dialog{padding:0;border:1px solid #dce5dd;border-radius:12px;color:#2c4333;background:white;box-shadow:0 22px 80px #183b3040}dialog::backdrop{background:#15302666;backdrop-filter:blur(2px)}#editor{width:560px;max-width:94vw;max-height:94vh}#request-form{display:flex;flex-direction:column;max-height:calc(94vh - 2px)}.modal-header{padding:23px 25px 19px;display:flex;justify-content:space-between;gap:15px;align-items:flex-start;border-bottom:1px solid var(--border)}.modal-header h2{font-size:20px;font-weight:600;letter-spacing:-.5px}.modal-header p{font-size:11px;color:#93a094;margin-top:7px}.modal-header .reset-button{border:0}.modal-body{padding:22px 25px;overflow:auto;min-height:0;flex:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}.form-grid label{font-size:11px;color:#6f8375;display:block;line-height:1.4}.form-grid input,.form-grid textarea,.form-grid select{display:block;margin-top:8px;font-size:12px}.form-grid .wide{grid-column:1/-1}.required{color:#b9c3bc}.form-help{margin-top:17px;color:#9ba89e;font-size:10px;line-height:1.6}.modal-footer{padding:17px 25px;border-top:1px solid var(--border);background:#fbfdfb;display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-footer>div:last-child{display:flex;gap:8px}.confirm-content{padding:25px;width:420px;max-width:90vw}.confirm-content h2{font-size:19px;font-weight:600}.confirm-content p{font-size:12px;line-height:1.8;color:#7d8e80;margin:14px 0 23px}.confirm-content>div{display:flex;justify-content:flex-end;gap:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;max-width:90vw;background:#2a5636;color:white;padding:13px 18px;border-radius:8px;font-size:12px;box-shadow:0 5px 25px #2b4d3820;transition:.18s;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1020px) and (min-width:761px){.request-table th,.request-table td{padding-left:9px;padding-right:9px}.request-table th:first-child,.request-table td:first-child{padding-left:16px}.request-table select{font-size:9px;padding-left:4px;padding-right:1px}.filters{gap:7px}.filters select{width:125px}.filters #priority-filter{width:123px}.search{min-width:140px}.filters input{font-size:10px}.vessel-name{font-size:10px}.description{font-size:11px}}
@media(max-width:760px){.site-header{height:81px}.header-inner{padding:0 20px;gap:12px}.brand{width:191px}.header-label{display:none}.backup-menu summary{font-size:11px;padding:9px}.backup-menu summary .icon{width:15px;height:15px}main{padding:28px 20px 20px}.heading{margin-bottom:23px}h1{font-size:24px}.heading p{font-size:11px}.heading .button{font-size:11px;padding:10px 12px}.panel-top{padding:18px}.legend{font-size:9px;gap:4px}.filters{flex-wrap:wrap;padding:0 18px 18px;gap:8px}.search{flex-basis:100%}.filters select,.filters #priority-filter{width:auto;flex:1;min-width:0;font-size:10px}.filters .reset-button{width:30px}.request-table,.request-table tbody{display:block}.request-table thead{display:none}.request-table tbody{padding:0 14px 14px;display:grid;gap:12px}.request-table tr{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:14px;padding:16px;border:1px solid var(--border);border-radius:8px;border-left:3px solid #c9d0cb;background:#fcfdfc}.request-table tr.row-working{border-left-color:#dcbb63}.request-table tr.row-delivered{border-left-color:#82b37c}.request-table tr.row-cancelled{border-left-color:#d69993}.request-table td{display:block;padding:0;border:0;min-width:0}.request-table td:first-child{padding:0;border:0}.request-table td::before{content:attr(data-label);display:block;font-size:9px;color:#91a096;margin-bottom:6px}.request-table .description-cell{grid-column:1/-1}.request-table .description{-webkit-line-clamp:3;font-size:12px}.request-table td:nth-child(4){grid-column:1/-1}.request-table td:nth-child(5),.request-table td:nth-child(6){grid-row:4}.request-table select{font-size:11px;min-height:36px;padding:8px}.vessel-name{font-size:12px}.request-number{font-size:12px}.supplier{font-size:12px}.request-table .row-action{grid-column:1/-1;padding:0;border-top:1px solid #e5ebe580;padding-top:9px;text-align:right}.row-action::before{display:none!important}.edit-button{display:inline-flex;align-items:center;gap:6px;font-size:10px;padding:4px}.edit-button>span{display:inline}.panel-footer{padding:13px 18px;font-size:9px}.panel-footer>span:last-child{max-width:190px;text-align:right;line-height:1.5}.page-footer{font-size:9px}.empty{padding:42px 18px}.empty p{font-size:11px}}
@media(max-width:420px){.header-inner{padding:0 15px}.brand{width:174px}main{padding:23px 14px 16px}.heading{gap:10px}h1{font-size:21px}.heading p{font-size:10px;max-width:195px;line-height:1.6}.heading .button{padding:9px 10px;font-size:10px;gap:5px}.heading .button .icon{width:14px}.panel-top{padding:17px 15px}.panel-top strong{font-size:12px}.panel-top>div{gap:6px}.legend{display:none}.filters{padding:0 15px 16px;gap:6px}.filters select,.filters #priority-filter{font-size:9px;padding:9px 4px}.filters .reset-button{width:27px}.request-table tbody{padding:0 11px 12px}.request-table tr{padding:14px;column-gap:12px}.form-grid{grid-template-columns:1fr;gap:16px}.modal-header{padding:20px}.modal-header h2{font-size:19px}.modal-body{padding:20px}.modal-footer{padding:15px 20px}.page-footer{gap:6px;font-size:8px}.notice{font-size:10px}.confirm-content .button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.heading-actions{display:flex;align-items:center;gap:8px}.heading-actions .button{min-height:39px}.row-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:10px;color:#8a927e;line-height:1.6;margin-top:7px;white-space:pre-line}.row-note strong{font-weight:550;color:#778369}.notes-field{display:block;margin-top:19px;font-size:11px;color:#6f8375}.notes-field textarea{display:block;margin-top:8px;font-size:12px}.form-grid select[name=vessel]{font-size:11px}
@media(max-width:760px){.heading{flex-wrap:wrap}.heading-actions{margin-left:auto}.row-note{font-size:11px}}
@media(max-width:500px){.heading-actions{width:100%;margin-left:0;justify-content:flex-end}.heading-actions .button{flex:1}.heading>div:first-child{width:100%}.heading p{max-width:none}}
/* Shared workspace and account controls */
:root{font-size:16px;--muted:#67786e}.header-inner,main{max-width:1376px}.site-header{height:auto;min-height:92px}.header-inner{min-height:92px;justify-content:space-between}.header-tools{display:flex;align-items:center;gap:20px;min-width:0}.language-control select{font-size:14px;width:108px}.account-button{display:flex;flex-direction:column;gap:5px;border:0;background:none;color:#345540;text-align:right;padding:6px;max-width:270px;overflow-wrap:anywhere}.account-button strong{font-size:14px;font-weight:600}.account-button span{font-size:12px;color:#687e6f}.tabs{display:flex;gap:7px;margin:-12px 0 27px;padding-bottom:14px;border-bottom:1px solid var(--border)}.tabs button,.bank-tabs button{border:0;background:none;padding:10px 17px;border-radius:7px;font-size:14px;color:#667a6d}.tabs button[aria-current=page],.bank-tabs button[aria-pressed=true]{background:#e6efe6;color:#326840;font-weight:600}.tabs button:hover,.bank-tabs button:hover{background:#eef4ee}.heading p{font-size:14px;line-height:1.65}.button,input,select,textarea,.form-grid input,.form-grid textarea,.form-grid select,.form-grid select[name=vesselId],.backup-menu summary,.backup-options button{font-size:14px}.button{min-height:40px}.form-grid label,.notes-field{font-size:14px}.form-help{font-size:12px;color:#697e70;line-height:1.8}.modal-header h2{font-size:22px}.modal-body{padding-top:20px}.filters input,.filters select,.filters #priority-filter{font-size:14px}.filters select{width:165px}.filters #priority-filter{width:130px}.search input{padding-right:8px}.request-table th{font-size:12px;color:#677e6e}.request-table td,.description,.vessel-name,.supplier,.request-number{font-size:14px}.request-table select{font-size:13px;min-height:36px}.request-table th:first-child{width:16%}.request-table th:nth-child(2){width:10%}.request-table th:nth-child(3){width:28%}.request-table th:nth-child(4){width:15%}.request-table th:nth-child(5){width:15%}.request-table th:nth-child(6){width:11%}.row-note,.row-person{font-size:12px;color:#647762;line-height:1.6;margin-top:7px}.row-person{color:#78867d}.row-person strong{font-weight:500}.panel-footer,.page-footer,.open-count,.count{font-size:12px;color:#687e6f}.panel-top strong{font-size:16px}.list-tools{display:flex;align-items:center;gap:8px}.backup-options{width:230px}.person-details{margin-top:22px;padding:15px;background:#f5f8f5;border:1px solid #e6ede5;border-radius:7px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.person-details h3{margin:0;grid-column:1/-1;font-size:14px;font-weight:600}.person-details div{display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.person-details span,.person-details small{font-size:12px;color:#708071;line-height:1.5}.person-details strong{font-size:14px;font-weight:500}.account-gate{max-width:500px;margin:36px auto;padding:30px;background:white;border:1px solid var(--border);border-radius:10px}.account-gate h1{font-size:25px;line-height:1.4}.account-gate p{font-size:16px;line-height:1.7;color:#6e8173;margin:14px 0 24px}.account-gate label{display:block;font-size:14px;margin:18px 0;color:#65786b}.account-gate input{display:block;margin-top:8px}.account-gate form>.button{width:100%;margin-top:8px}.text-link{display:inline-block;font-size:14px;margin:20px 12px}.notice{font-size:14px;line-height:1.7}.notice p{margin:5px 0 12px}.migration>div{display:flex;gap:8px;flex-wrap:wrap}.confirm-content p{font-size:14px;color:#667b6b}.confirm-content h2{font-size:21px}.bank-tabs{display:flex;gap:8px}.bank-tabs button{padding:8px 12px}.bank-tabs span{font-size:12px;background:#dde9df;padding:2px 5px;border-radius:4px;margin-left:5px}.catalog-list{padding:0 22px 10px}.catalog-row{display:flex;align-items:center;gap:18px;padding:17px 0;border-top:1px solid var(--border)}.catalog-row>div{flex:1;display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}.catalog-row strong{font-size:14px;font-weight:550}.catalog-row small{font-size:12px;color:#718373}.state-tag{padding:6px 9px;border-radius:5px;font-size:12px;line-height:1.4;background:#eef2ee;color:#657b6a;white-space:nowrap}.state-tag.active{background:#e7f1e2;color:#497239}.state-tag.pending,.state-tag.invited{background:#fbf1d8;color:#8b6b23}.state-tag.disabled{background:#f2eae8;color:#9c665d}.heading-count{font-size:16px;font-weight:500;color:#6d8173;margin-left:12px;letter-spacing:0}.user-list{padding:0 22px}.user-row{display:flex;align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid var(--border)}.user-row:last-child{border:0}.avatar{height:44px;width:44px;flex-shrink:0;display:grid;place-items:center;background:#edf4eb;color:#668e59;border-radius:50%;font-size:15px}.user-details{flex:1;min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:7px}.user-details strong{font-size:16px;font-weight:550}.user-details span{font-size:14px;color:#6d7e72}.user-details small{font-size:12px;color:#718474}.empty p{font-size:14px;color:#6a806f}#toast{font-size:14px}.form-grid input[readonly]{background:#f6f8f6;color:#738074}
@media(max-width:1100px) and (min-width:761px){.request-table th,.request-table td{padding-left:8px;padding-right:8px}.request-table th{font-size:11px;white-space:normal}.request-table select{font-size:12px;padding-left:3px}.vessel-name,.description,.supplier,.request-number{font-size:13px}.filters{flex-wrap:wrap}.filters .search{flex-basis:100%}.filters select,.filters #priority-filter{flex:1;width:auto}}
@media(max-width:760px){.header-inner{min-height:90px;gap:10px;flex-wrap:wrap;padding:15px 20px}.brand{width:172px}.header-tools{gap:10px;flex:1;justify-content:flex-end}.account-button{max-width:180px}.account-button strong{font-size:13px}.account-button span{font-size:12px}.language-control select{font-size:14px;width:100px}.tabs{margin:0 0 24px;gap:3px}.tabs button{font-size:14px;padding:10px 12px}.heading p{font-size:14px}.heading .button{font-size:14px}.filters select,.filters #priority-filter{font-size:13px;padding:9px 6px}.request-table td::before{font-size:12px;color:#718674}.request-table .description,.request-table .vessel-name,.request-table .supplier,.request-table .request-number{font-size:14px}.request-table select{font-size:14px}.row-note{font-size:12px}.request-table td:nth-child(5),.request-table td:nth-child(6){grid-row:4}.edit-button{font-size:14px}.panel-footer,.page-footer{font-size:12px;line-height:1.6}.page-footer{gap:20px}.panel-footer>span:last-child{max-width:200px}.person-details{grid-template-columns:1fr}.catalog-list{padding:0 16px 10px}.catalog-row{gap:10px}.bank-tabs{gap:0}.bank-tabs button{padding:8px;font-size:14px}.panel-top>.muted{font-size:12px}.catalog-row .button{padding:8px 10px}.catalog-row .state-tag{font-size:12px}.user-list{padding:0 16px}.user-row{gap:12px;flex-wrap:wrap}.user-details{flex-basis:65%}.user-row>.state-tag{margin-left:56px}.user-row>.button{margin-left:auto}.account-gate{padding:24px;margin:15px auto}.account-gate p{font-size:16px}.confirm-content .button{font-size:14px}.notice{font-size:14px}}
@media(max-width:500px){.header-tools{flex-basis:100%;justify-content:space-between;flex-direction:row-reverse}.account-button{text-align:left;max-width:240px}.header-inner{padding:13px 16px}.brand{width:177px}.site-header{min-height:140px}.heading h1{font-size:25px}.heading p{font-size:14px}.form-grid{grid-template-columns:1fr}.form-grid label{font-size:14px}.panel-top{padding:16px}.panel-top strong{font-size:14px}.panel-footer{flex-wrap:wrap}.panel-footer>span:last-child{max-width:none;text-align:left}.catalog-row{flex-wrap:wrap}.catalog-row>div{flex-basis:100%}.catalog-row>.button{margin-left:auto}.catalog-row strong{font-size:14px}.modal-footer{padding:15px}.modal-footer .button{font-size:14px}.tabs button{flex:1}.confirm-content{padding:22px}.confirm-content>div{flex-wrap:wrap}.person-details{grid-template-columns:1fr}}
@media(max-width:500px){.filters #vessel-filter{flex-basis:100%;width:100%;font-size:14px}.filters #status-filter,.filters #priority-filter{font-size:14px}.filters .reset-button{width:35px;height:40px}}
#editor-form{display:flex;flex-direction:column;max-height:calc(94vh - 2px)}
.attachments-panel{margin-top:22px;border:1px solid #dce7dd;border-radius:8px;padding:16px;background:#fcfdfc}.attachments-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.attachments-heading h3{font-size:15px;margin:0}.attachments-heading h3 span{font-size:12px;font-weight:400;color:#738577;margin-left:6px}.file-picker{position:relative;overflow:hidden;cursor:pointer}.file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;padding:0;width:100%;height:100%}.file-picker:focus-within{outline:2px solid #82af8a}.file-picker:has(input:disabled){opacity:.5;cursor:default}.attachment-help,.attachment-empty{font-size:12px;color:#6c7f70;line-height:1.7;margin:12px 0 0}.attachment-list{display:grid;gap:9px;margin-top:12px}.attachment-row{display:flex;align-items:center;gap:10px;border:1px solid #e1e8e1;border-radius:6px;padding:12px;background:white;flex-wrap:wrap}.file-kind{font-size:10px;font-weight:650;letter-spacing:.3px;display:grid;place-items:center;background:#edf3eb;border:1px solid #dde8d9;border-radius:5px;min-width:42px;height:38px;padding:4px;color:#577b4c}.file-info{flex:1;min-width:120px;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.file-info strong{font-size:13px;line-height:1.5;font-weight:550}.file-info small{font-size:12px;color:#778676;line-height:1.5}.file-info .file-warning{color:#af7332}.file-actions{width:100%;display:flex;justify-content:flex-end;gap:12px}.file-actions button,.file-remove{border:0;background:none;color:#55785a;font-size:12px;padding:4px;min-height:30px}.file-actions [data-file-delete],.file-remove{color:#a96e62}.queued-file{background:#f5f9f3;border-style:dashed}.attachment-count{display:inline-flex;background:#eef3ec;border:1px solid #dbe6d7;color:#5d7854;border-radius:5px;font-size:12px;padding:4px 8px;margin-top:8px}.attachment-count:hover{background:#e4ecdf}#file-preview{width:900px;max-width:94vw;max-height:92vh;padding:20px}#file-preview img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;object-fit:contain;margin:18px auto 0}.file-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.file-preview-heading h2{font-size:16px;overflow-wrap:anywhere}.backup-options .backup-note{display:block;padding:9px;font-size:12px;color:#798779;line-height:1.6}
@media(max-width:500px){.attachments-panel{padding:13px}.attachments-heading{flex-wrap:wrap}.file-picker{font-size:13px;padding:8px 12px}.file-info strong{font-size:14px}.file-actions button,.file-remove{font-size:14px}.file-info{min-width:100px}.attachment-row{gap:8px}.file-preview-heading{align-items:flex-start}.attachments-heading h3{font-size:16px}}

/* Site-owned sign-in */
.account-gate input{font-size:16px}.account-gate .remember-option{display:flex;align-items:center;gap:10px}.account-gate .remember-option input{width:auto;margin:0}.account-gate .password-hint{font-size:14px;margin:0 0 18px}.login-help{margin-top:24px;font-size:14px;line-height:1.6}.login-help summary{cursor:pointer;color:#326840}.login-help p{font-size:14px;margin:14px 0}.login-help small{display:block;color:#667b6b;margin-top:8px}.text-button{border:0;background:none;color:#326840;font:inherit;cursor:pointer}.user-actions{display:flex;flex-wrap:wrap;gap:8px}.activation-link-label{display:block;font-size:14px;margin-top:20px}.activation-link-label input{margin-top:8px;font-size:14px}.activation-link-label+ .form-help{margin-bottom:18px}
@media(max-width:760px){.user-actions{flex-basis:100%;justify-content:flex-end}.account-gate{margin-top:16px}.account-gate h1{font-size:24px}}

.request-table tr.row-purchased{background:#f2f7fd}.request-table tr.row-purchased td:first-child{border-left-color:#689bcc}.status-select.purchased{background:#e3effc;border-color:#b9d4f0;color:#285b89}
@media(max-width:760px){.request-table tr.row-purchased{border-left-color:#689bcc}}

.offers-panel{border-top:1px solid var(--border);padding-top:18px}.offers-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.offers-heading h3{font-size:16px;margin:0}.offer-rows{display:grid;gap:12px}.offer-entry{min-width:0;border:1px solid #dbe4df;border-radius:8px;padding:14px;margin:0;background:#fafcfb}.offer-entry legend{font-size:14px;padding:0 5px;color:#48624f}.offer-entry label{font-size:14px}.offer-entry input,.offer-entry select{font-size:16px}.offer-money{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px;margin-top:12px}.offer-money [data-other-label]{grid-column:1/-1}.offer-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.offer-approval{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600}.offer-approval input{width:18px;min-height:18px;accent-color:#237745}.offer-entry.approved{background:#edf8ef;border:2px solid #31854b;padding:13px}.offer-entry.approved legend,.offer-entry.approved .offer-approval{color:#216536}.offer-summaries{display:grid;gap:8px}.offer-mini{display:grid;gap:4px;padding:8px;border:1px solid #e1e8e3;border-radius:6px;font-size:13px;background:white}.offer-mini strong{font-size:14px;line-height:1.35}.offer-mini span{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.offer-mini.approved{background:#e5f5e9;border:1px solid #40945b;color:#205d34}.offer-mini.approved>.offer-amount{font-weight:700;font-size:14px}.offer-approved-label{font-size:12px;font-weight:600}.offer-controls .text-button,[data-clear-approval]{font-size:14px}.offers-panel [data-clear-approval]{margin-top:10px}@media(max-width:480px){.offer-money{grid-template-columns:minmax(0,1fr) 100px}.offer-controls{align-items:flex-start;gap:8px}.offers-heading .button{font-size:14px;padding:9px}.offer-entry{padding:12px}.offer-entry.approved{padding:11px}}

.offer-entry .offer-approval{display:flex}.offer-entry .offer-approval input{margin:0;flex-shrink:0}.offers-panel>.form-help{margin:12px 0 16px;font-size:14px;color:#607566}

.offer-payment{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.offer-payment-text{font-size:13px;line-height:1.4}@media(max-width:480px){.offer-payment{grid-template-columns:1fr}}

.date-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:0 22px 20px;font-size:14px}.date-filters>span:first-child{font-weight:600;color:#48624f}.date-filters label{display:grid;gap:6px;min-width:170px}.date-filters input{font-size:16px;min-height:42px;width:190px}.date-range-hint{color:#657b6b;line-height:1.5;flex:1;min-width:180px}.date-range-error{margin:0 22px 18px}.date-filters input[aria-invalid=true]{border-color:#ae6053}@media(max-width:760px){.date-filters{padding:0 18px 18px;gap:12px}.date-filters>span:first-child{width:100%}.date-filters label{flex:1;min-width:160px}.date-filters input{width:100%}.date-range-hint{flex-basis:100%}.date-range-error{margin:0 18px 18px}}

.request-table.with-tsi th:first-child{width:15%}.request-table.with-tsi th:nth-child(2){width:10%}.request-table.with-tsi th:nth-child(3){width:22%}.request-table.with-tsi th:nth-child(4){width:16%}.request-table.with-tsi th:nth-child(5){width:10%}.request-table.with-tsi th:nth-child(6){width:12%}.request-table.with-tsi th:nth-child(7){width:10%}.request-table.with-tsi th:last-child{width:5%}.tsi-cell{line-height:1.6;overflow-wrap:anywhere}#tsi-help{display:block;margin-top:6px}@media(max-width:760px){.request-table.with-tsi td:nth-child(5){grid-column:1/-1;grid-row:auto}.request-table.with-tsi td:nth-child(6),.request-table.with-tsi td:nth-child(7){grid-row:auto}}

.bank-tabs{flex-wrap:wrap}.request-panel .panel-top:has(.bank-tabs){flex-wrap:wrap}

/* Compact offers: one horizontal comparison strip per request. */
.offer-summaries{display:flex;gap:0;align-items:stretch;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #dfe7e1;border-radius:6px;scrollbar-width:thin;scrollbar-color:#b6c6ba transparent}
.offer-summaries:focus-visible{outline:2px solid #82af8a;outline-offset:3px}
.offer-mini{display:flex;flex-direction:column;flex:1 0 168px;min-width:0;gap:7px;padding:10px 12px;border:0;border-radius:0;background:#ffffffb3}
.offer-mini+.offer-mini{border-left:1px solid #dfe7e1}
.offer-mini strong{min-height:2.7em;flex:1;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.offer-mini-details{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.offer-mini .offer-amount{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.offer-mini .offer-payment-text{font-size:13px;color:#63796b}
.offer-mini.approved{border:0;background:#e5f5e9;box-shadow:inset 0 2px #40945b;color:#205d34}
.offer-mini.approved+.offer-mini,.offer-mini+.offer-mini.approved{border-left:1px solid #dfe7e1}
.offer-mini.approved .offer-amount{font-weight:700}
.offer-mini.approved .offer-payment-text{color:#386d49}
.offer-approved-label{font-size:12px;line-height:1.4;font-weight:600}
@media(min-width:761px){
 .request-table.with-tsi th:first-child{width:13%}
 .request-table.with-tsi th:nth-child(2){width:9%}
 .request-table.with-tsi th:nth-child(3){width:18%}
 .request-table.with-tsi th:nth-child(4){width:28%}
 .request-table.with-tsi th:nth-child(5){width:9%}
 .request-table.with-tsi th:nth-child(6){width:11%}
 .request-table.with-tsi th:nth-child(7){width:9%}
 .request-table.with-tsi th:last-child{width:3%}
 .request-table.with-tsi th,.request-table.with-tsi td{padding:12px 10px}
 .request-table.with-tsi th:first-child,.request-table.with-tsi td:first-child{padding-left:18px}
 .request-table.with-tsi th+th,.request-table.with-tsi td+td{border-left:1px solid #e3e9e5}
 .request-table.with-tsi th{white-space:normal;line-height:1.4}
 .request-table.with-tsi td{border-bottom-color:#e3e9e5}
 .request-table.with-tsi .offers-cell{padding:10px}
 .request-table.with-tsi .row-action{padding:6px 2px;text-align:center}
}
@media(max-width:760px){
 .request-table.with-tsi .offers-cell,.request-table.with-tsi .tsi-cell{border-top:1px solid #e3e9e5;padding-top:12px}
 .offer-mini{flex-basis:168px}
}

/* Attachment drop area and private, local file preview. */
.attachment-dropzone{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:74px;margin-top:16px;padding:14px;border:1px dashed #a8bfaf;border-radius:7px;background:#f4f8f4;color:#476f53;font-size:14px;line-height:1.5}
.attachment-dropzone>span:first-child{font-size:24px}.attachment-dropzone:hover{background:#eaf3ea}
.attachments-panel.drag-active{border-color:#47865a;background:#eff8ef;outline:2px solid #8bb296;outline-offset:2px}
.drag-active .attachment-dropzone{border-color:#326840;background:#deefdf}
.file-name-button{display:block;border:0;background:none;padding:0;color:#345d41;font-size:14px;font-weight:600;line-height:1.5;text-align:left;overflow-wrap:anywhere;cursor:pointer}
.file-name-button:hover{text-decoration:underline;text-underline-offset:3px}
#file-preview{width:1080px;max-width:96vw;max-height:94vh;padding:0;overflow:hidden}
#file-preview[open]{display:flex;flex-direction:column}
#file-preview .file-preview-heading{padding:16px 20px;border-bottom:1px solid var(--border);flex-shrink:0;align-items:center}
.file-preview-heading>div{display:flex;gap:8px;flex-shrink:0}.file-preview-heading h2{min-width:0;line-height:1.4}
.preview-body{overflow:auto;min-height:180px;min-width:0;padding:16px;overscroll-behavior:contain}
.preview-message{padding:22px 12px;color:#617768;line-height:1.7}
.preview-note{font-size:13px;line-height:1.6;color:#6a7d6d;margin-bottom:14px}
.preview-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px;font-size:14px}
.preview-toolbar label{display:flex;align-items:center;gap:8px;min-width:0}.preview-toolbar input{width:72px;font-size:16px}
.preview-toolbar select{width:auto;max-width:320px;font-size:14px}.preview-toolbar .button{padding:8px 12px}
.preview-page{overflow:auto;background:#edf0ed;border:1px solid #dce4dd;border-radius:5px;max-height:66vh;padding:16px;text-align:center}
.preview-page canvas{display:block;margin:0 auto;background:white;max-width:none;box-shadow:0 1px 6px #1d382b20}
#file-preview .preview-body>img{margin:0 auto;max-height:72vh}
.preview-text{margin:0;padding:20px;background:#fafcfb;border:1px solid var(--border);border-radius:5px;font:15px/1.75 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}
.preview-sheet-scroll{overflow:auto;max-height:62vh;border:1px solid var(--border);border-radius:5px}
.preview-sheet-table{border-collapse:separate;border-spacing:0;font-size:13px;min-width:100%;text-align:left}
.preview-sheet-table td,.preview-sheet-table th{border-right:1px solid #e3e9e5;border-bottom:1px solid #e3e9e5;padding:8px 12px;min-width:90px;max-width:380px;white-space:pre-wrap;overflow-wrap:anywhere}
.preview-sheet-table th{background:#edf3ee;color:#567460;font-weight:500;position:sticky;top:0;z-index:1}
.preview-sheet-table th:first-child{left:0;min-width:42px}.preview-sheet-table thead th:first-child{z-index:2}
@media(max-width:600px){
 #file-preview .file-preview-heading{padding:13px;flex-wrap:wrap;gap:12px}.file-preview-heading h2{flex-basis:100%}.file-preview-heading>div{margin-left:auto}
 .preview-body{padding:12px}.preview-toolbar{gap:7px}.preview-toolbar label{flex-wrap:wrap}.preview-toolbar select{max-width:220px}
 .preview-page{padding:8px;max-height:58vh}.preview-text{padding:12px;font-size:14px}.attachment-dropzone{font-size:14px}
}
