*{box-sizing:border-box}body{margin:0;font:15px/1.5 system-ui,sans-serif;background:#f7f5f2;color:#332e30}header{display:flex;justify-content:space-between;align-items:center;padding:20px 5%;background:white;border-bottom:1px solid #e4ddd8}a{color:#861137}.brand{font-size:25px;font-weight:800;text-decoration:none}.brand span{color:#ef9933}main{max-width:1400px;margin:auto;padding:24px}.notice{padding:14px 18px;background:#fff0d9;border-radius:8px;font-size:13px}.box{background:white;border:1px solid #e4ddd8;padding:24px;border-radius:12px;margin:20px 0}.narrow{max-width:480px}.top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.top h1,.top h2{margin-right:auto}h1{font-size:26px}h2{font-size:21px}label{display:block;margin:12px 0;font-size:13px;font-weight:600}input,textarea,select{display:block;width:100%;padding:11px;border:1px solid #d7ced0;border-radius:6px;background:white;color:#332e30;font:inherit;margin-top:5px}textarea{min-height:80px}button{padding:11px 16px;border:1px solid #861137;border-radius:6px;background:#861137;color:white;font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #ef9933;outline-offset:3px}.check{display:flex;gap:10px;align-items:center}.check input{width:auto}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}nav{display:flex;gap:8px;overflow:auto;margin:20px 0}nav button{white-space:nowrap;background:white;color:#861137}nav button[aria-pressed=true]{background:#861137;color:white}.editor-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px}#tour-list{max-height:650px;overflow:auto}#tour-list button{display:block;width:100%;text-align:left;background:white;color:#332e30;border:0;border-bottom:1px solid #eee;padding:12px 4px}#tour-list small{display:block;color:#81766e}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:850px}th,td{padding:12px;text-align:left;border-bottom:1px solid #eee;font-size:13px;vertical-align:top}td small{display:block}td select{min-width:115px}details{margin-top:24px}summary{cursor:pointer;font-weight:600}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f5f2;padding:16px;border-radius:6px}#message{color:#861137;white-space:pre-wrap}.translation-row{display:grid;grid-template-columns:80px 1fr 100px;gap:10px;align-items:end;border-bottom:1px solid #eee;padding:10px 0}[hidden]{display:none!important}@media(max-width:760px){main{padding:14px}.box{padding:16px}.editor-layout{grid-template-columns:1fr}#tour-list{max-height:220px}.translation-row{grid-template-columns:50px 1fr}.translation-row button{grid-column:2}h1{font-size:22px}}
.coupon-item{display:block;margin:8px 0;background:white;color:#861137;max-width:100%;overflow-wrap:anywhere}input,select,textarea{min-height:44px}#tour-list button{min-height:48px}#message{overflow-wrap:anywhere}.tab,.editor-layout>*{min-width:0}@media(max-width:760px){input,select,textarea{font-size:16px}#sales .scroll{overflow:visible}#sales table,#sales tbody,#sales tr,#sales td{display:block;min-width:0;width:100%}#sales thead{display:none}#sales tr{border:1px solid #e4ddd8;border-radius:9px;padding:8px 12px;margin-bottom:14px}#sales td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;overflow-wrap:anywhere;padding:8px 0}#sales td:before{content:attr(data-label);font-weight:600;color:#81766e;white-space:normal}#sales td select{min-width:0;margin:0}.fields{grid-template-columns:1fr}header{gap:12px;flex-wrap:wrap}nav button{min-height:44px}}
.manifest-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 30px;max-height:460px;overflow:auto;padding:3px}.manifest-card{display:flex;flex-direction:column;gap:7px;align-items:flex-start;background:#fff;color:#332e30;border:1px solid #dfd2d6;text-align:left;padding:16px;min-width:0;overflow-wrap:anywhere}.manifest-card strong{font-size:17px}.manifest-card span,.manifest-card small{font-size:12px;color:#756b65}.manifest-card[aria-pressed=true]{border:2px solid #861137;background:#fff4f7;padding:15px}.manifest-actions{display:flex;gap:8px;flex-wrap:wrap}.manifest-disclaimer{padding:12px;background:#fff0d9;font-size:12px;border-radius:7px}#manifest-summary{font-weight:600;font-size:14px}#manifest-details{border-top:1px solid #e4ddd8;padding-top:20px}.manifest-table td{white-space:pre-line}.manifest-table td small{margin-top:6px;color:#80736b}.manifest-table{min-width:750px}@media(max-width:760px){.manifest-groups{grid-template-columns:1fr;max-height:370px}.manifest-actions{width:100%}.manifest-actions button{flex:1;font-size:13px;min-height:44px}#manifest-details .scroll{overflow:visible}.manifest-table,.manifest-table tbody,.manifest-table tr,.manifest-table td{display:block;min-width:0;width:100%}.manifest-table thead{display:none}.manifest-table tr{border:1px solid #e4ddd8;border-radius:8px;padding:10px 12px;margin-bottom:12px}.manifest-table td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;overflow-wrap:anywhere;padding:8px 0}.manifest-table td:before{content:attr(data-label);font-weight:600;color:#80736b}.manifest-table td small{grid-column:2}}
@media print{body.manifest-print{background:white;color:#000;font-size:10pt}body.manifest-print>header,body.manifest-print .notice,body.manifest-print #message,body.manifest-print #workspace>.top,body.manifest-print #tabs,body.manifest-print .manifest-controls,body.manifest-print .manifest-groups,body.manifest-print .manifest-actions{display:none!important}body.manifest-print main{padding:0;max-width:none}body.manifest-print #manifests{border:0;margin:0;padding:0}body.manifest-print #manifest-details{border:0;padding:0}body.manifest-print .manifest-table{display:table;min-width:0;table-layout:fixed;font-size:8pt}body.manifest-print .manifest-table thead{display:table-header-group}body.manifest-print .manifest-table tbody{display:table-row-group}body.manifest-print .manifest-table tr{display:table-row;break-inside:avoid}body.manifest-print .manifest-table th,body.manifest-print .manifest-table td{display:table-cell;padding:5px;overflow-wrap:anywhere;font-size:8pt}body.manifest-print .manifest-table td:before{display:none}body.manifest-print .scroll{overflow:visible}body.manifest-print .manifest-table td small{display:block}body.manifest-print .box{box-shadow:none}body.manifest-print #manifest-title{font-size:18pt}@page{size:A4 landscape;margin:12mm}}

.media-editor{border:1px solid #e4ddd8;border-radius:8px;padding:16px;margin:24px 0;min-width:0}.media-editor legend{font-weight:700}.media-editor p{font-size:13px;color:#756b65}.media-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;border-top:1px solid #eee;padding:14px 0}.media-card img{width:150px;height:100px;object-fit:cover;border-radius:6px}.media-card label{margin:0}.media-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.media-actions button{padding:8px 12px;font-size:13px;min-height:44px}.media-editor input[type=file]{max-width:100%;font-size:13px}@media(max-width:600px){.media-card{grid-template-columns:1fr}.media-card img{width:100%;height:160px}}
