:root{font-family:Noto Sans Thai,Tahoma,sans-serif;color:#203a36;background:#f6f5f0;font-synthesis:none;line-height:1.65;font-weight:400;--teal: #17665d;--line: #dce2db;--muted: #637570}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{min-height:46px;border:1px solid var(--line);border-radius:11px;background:#fffefa;padding:10px 17px;font-weight:600;cursor:pointer;transition:background .15s}button:hover:not(:disabled){background:#e6efea;border-color:var(--teal)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--teal);border-color:var(--teal);color:#fff}button.primary:hover:not(:disabled){background:#104f48}input,textarea,select{display:block;width:100%;min-height:48px;background:#fff;border:1px solid #a7b6af;border-radius:9px;padding:10px 12px}input[readonly]{background:#f0f2ed;color:#536963}input:disabled,select:disabled{background:#eef0eb}input[type=file]{font-size:14px;overflow:hidden}input[type=checkbox]{display:inline-block;width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:var(--teal)}textarea{min-height:100px;resize:vertical}label{display:block;font-size:14px;font-weight:600;margin:19px 0 6px}.check{display:flex;align-items:flex-start;gap:12px;font-size:15px;padding:12px 0;cursor:pointer}.check input{margin-top:4px}fieldset{border:0;padding:0;margin:0;min-width:0}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4;letter-spacing:-.5px}h2{font-size:22px;line-height:1.5}h3{font-size:17px}p+p{margin-top:8px}a{color:var(--teal);text-underline-offset:4px}code{overflow-wrap:anywhere}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 ui-monospace,monospace;max-height:400px;overflow:auto;background:#eef2ec;padding:14px;border-radius:8px}:focus-visible{outline:3px solid #cd8d28;outline-offset:3px}.shell{max-width:1000px;margin:auto;padding:25px 30px 50px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--line)}.brand{font:700 36px/1.1 Georgia,serif;letter-spacing:-2px}.brand span{color:var(--teal)}.small{font-size:13px}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;color:var(--teal);margin-bottom:9px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 22px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.heading .actions{margin:0}nav{display:flex;gap:7px;overflow-x:auto;margin:0 0 24px;padding-bottom:4px}nav button{white-space:nowrap;background:transparent}nav button[aria-current=page]{background:var(--teal);color:#fff;border-color:var(--teal)}.panel{background:#fffefa;border:1px solid var(--line);border-radius:17px;padding:27px;margin:20px 0;box-shadow:0 3px 14px #243c3505}.panel>p.muted{margin-top:5px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.auth{max-width:520px;margin:52px auto}.auth h1{margin-bottom:14px}.auth>p:last-child{margin-top:22px}.note{border-radius:10px;background:#e7eee7;padding:14px 17px;margin:18px 0;font-size:14px;border:1px solid #d7e1d6}.note.warm{background:#f7edda;border-color:#e8d6ad;color:#74501a}.error{color:#a13b35;background:#fff1ed;padding:13px 16px;border:1px solid #efc9be;border-radius:9px;margin:15px 0;overflow-wrap:anywhere}.submit{margin-top:23px;min-width:220px}.row,.stock-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.amount{font-size:27px;font-weight:700;text-align:right}.amount small{font-size:13px;font-weight:400;color:var(--muted)}.quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.section-title{margin-top:28px}.rules,.history{margin-top:17px;padding:13px 0;border-top:1px solid var(--line)}summary{cursor:pointer;font-weight:600;min-height:35px}.badge{font-size:12px;border-radius:30px;padding:5px 12px;background:#e6ece7;white-space:nowrap;align-self:center}.badge.pending{background:#f4e8ca;color:#80551a}.badge.correction_requested{background:#f9dfd9;color:#933b2d}.badge.approved{background:#dceee2;color:#176044}.request-list-item{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;margin-top:14px;padding:17px;font-weight:400}.request-list-item.selected{border-color:var(--teal);background:#edf3ed}.block{display:block}.empty{padding:30px 0;color:var(--muted);text-align:center}.preview{display:block;max-width:100%;max-height:430px;object-fit:contain;border-radius:9px;margin:12px 0;background:#edf0ea}.evidence-card{margin-top:15px;border:1px solid var(--line);padding:16px;border-radius:12px}.evidence-card button{margin-top:10px}.review{margin-top:25px;border-top:2px solid var(--line);padding-top:22px}.recovery{border:2px solid #b17d34;background:#fff8e9}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.wrap{overflow-wrap:anywhere}footer{margin-top:38px;border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:var(--muted)}@media(min-width:800px){main>.panel:first-child:has(form){max-width:750px;margin-left:auto;margin-right:auto}}@media(max-width:600px){.shell{padding:19px 16px 35px}.site-header>span{font-size:10px;max-width:95px;text-align:right}.brand{font-size:32px}.heading{align-items:flex-start;flex-direction:column;gap:12px;margin-top:23px}.heading .actions{width:100%;justify-content:flex-end}.heading .actions button{font-size:12px;padding:7px 12px;min-height:40px}h1{font-size:27px}h2{font-size:20px}.panel{padding:20px 17px;border-radius:13px;margin:15px 0}.auth{margin-top:30px}.submit{width:100%;min-width:0}.request-list-item{align-items:flex-start;flex-direction:column;gap:10px}.request-list-item .badge{align-self:flex-start}.panel-heading{align-items:flex-start}.quantity-grid{gap:0 12px}.amount{font-size:23px}.actions button{flex-grow:1}nav{margin-bottom:15px}nav button{font-size:14px;padding:8px 13px}.note{padding:12px}.row button{font-size:12px;padding:8px}.check{font-size:14px}.site-header{padding-bottom:18px}}.public-shell{max-width:860px;padding:20px 24px 48px;overflow-wrap:anywhere}.public-shell .site-header{align-items:flex-start;padding-bottom:14px}.public-shell .site-header>*{min-width:0}.public-shell .site-header h1{font-size:24px}.public-shell .site-header a{display:flex;align-items:center;min-height:44px;max-width:50%}.public-portal>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px;gap:6px;margin:18px 0;background:#edf2ee;border:0;border-radius:12px;box-shadow:none;overflow:visible}.public-portal nav button{white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:44px;padding:10px 8px;border-color:transparent}.public-portal nav button[aria-pressed=true]{color:#fff;background:var(--teal);border-color:var(--teal)}.public-portal .panel{border-radius:12px;box-shadow:none;padding:24px}.public-portal h2{margin-bottom:10px}.public-portal h3{margin:18px 0 8px}.public-portal p{margin-bottom:10px}.public-portal .note{margin:12px 0}.public-portal .store-balances{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#f4f7f3}.public-portal .store-balances h3{margin-top:0}.public-portal .stock-row{gap:12px;flex-wrap:wrap}.public-portal input,.public-portal select,.public-portal textarea{min-width:0;max-width:100%}.public-portal details{margin-top:12px}.public-portal summary,.copy-settings summary{cursor:pointer;min-height:44px;padding:10px 0}.copy-multiline{white-space:pre-wrap;overflow-wrap:anywhere}.announcement{margin:16px 0;padding:12px;border-left:3px solid var(--teal)}.copy-settings,.copy-preview{overflow-wrap:anywhere;min-width:0}.copy-preview{margin-top:24px;padding:18px;border:1px dashed var(--teal)}.copy-preview section{margin:16px 0}@media(max-width:480px){.public-shell{padding:16px 12px 36px}.public-portal .panel{padding:16px}.public-portal>nav{padding:4px}.public-portal nav button{font-size:14px}}
