@import url('../client-panel.css?v=9');
body{font-size:16px}.skip-link{position:absolute;left:12px;top:-100px;background:#d5b582;color:#261b0e;padding:12px;z-index:100}.skip-link:focus{top:12px}#panel-notice{position:fixed;bottom:20px;right:20px;max-width:min(480px,calc(100vw - 40px));padding:18px;background:#e5d6bc;color:#312619;border:1px solid #a48754;z-index:100;box-shadow:0 8px 40px #0003}.account-shell{min-height:100dvh}.account-sidebar .brand{margin:0 0 32px}.account-sidebar nav a{display:flex;align-items:center;gap:12px;text-decoration:none;min-height:48px;padding:12px;color:#c6bba9;font-size:14px;border:1px solid transparent}.account-sidebar nav a[aria-current]{background:#2b2319;border-color:#a4875455;color:#f4dfb7}.account-sidebar nav a:hover{border-color:#a48754}.account-sidebar .sidebar-bottom a{font-size:14px}.account-top{font-size:12px}.quiet-panel p{font-size:14px;line-height:1.65}.button,.text-button{font-size:14px}.brand img{display:block;max-width:100%;height:auto}.auth-layout{max-width:780px;margin:0 auto;padding:48px 24px}.auth-layout .brand{display:block;max-width:220px;margin-bottom:40px}.auth-tabs{display:flex;gap:20px;flex-wrap:wrap;margin:24px 0}.auth-tabs a{padding:10px 0;color:#d5b582}.field{display:block;margin:18px 0}.field input,.field textarea,.field select,select,input[type=search]{display:block;width:100%;padding:12px;background:#fffdf9;color:#35271f;border:1px solid #b79b79;margin-top:7px;min-height:48px;font-size:16px}.field textarea{min-height:110px;resize:vertical}.check{display:flex;align-items:start;gap:12px;margin:18px 0;font-size:14px}.check input{width:20px;height:20px;flex-shrink:0}.quiet-panel{overflow-wrap:anywhere}.contact-list{margin:0 0 24px}.contact-list dt{font-size:12px;color:#a9967c;margin-top:14px}.contact-list dd{margin:3px 0;overflow-wrap:anywhere}.voucher-grid{display:grid;gap:20px}.live-voucher{padding:28px;background:#e5d6bc;color:#312619;border:1px solid #f5e6cb}.live-voucher h2,.live-voucher h3{color:#312619}.live-voucher p{color:#57432a;font-size:14px}.live-voucher .button{background:#34291c;color:#f0ddba;border-color:#34291c}.live-voucher .button.outline{background:transparent;color:#34291c}.live-voucher .field{color:#34291c}.live-voucher summary{color:#34291c}.voucher-code{font-size:18px;letter-spacing:.12em;font-weight:700}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.stats .stat span{font-size:14px}.order-table{font-size:14px}.table-wrap{overflow-x:auto}.order-table td{overflow-wrap:anywhere}.order-table th{font-size:12px}.order-table button{white-space:nowrap}.client-search{display:flex;gap:12px;align-items:end;max-width:800px;margin:24px 0}.client-search .field{flex:1;margin:0}.muted{color:#b8ad9a}.form-error{padding:14px;border:1px solid #d5b582;margin:16px 0;color:#f4dfb7}.empty-state{padding:30px 0;color:#b8ad9a}.pending{color:#d5b582}.message{border-bottom:1px solid #89704655;padding:18px 0}.message time{font-size:12px;color:#a9967c}.private-note{border-left:3px solid #b89560;padding-left:18px}.security-secret{overflow-wrap:anywhere;font-family:monospace;padding:16px;border:1px solid #89704680}.security-secret code{color:inherit}details{margin-top:20px;border-top:1px solid #89704655;padding-top:14px}summary{cursor:pointer;min-height:44px;font-size:14px;font-weight:600}.live-voucher .field input{border-color:#94764f}.standalone-admin{background:#f5f0e8;color:#35271f}.standalone-admin .account-sidebar{background:#20272c}.standalone-admin .account-top,.standalone-admin .muted,.standalone-admin .quiet-panel p,.standalone-admin .contact-list dt,.standalone-admin .empty-state{color:#69584c}.standalone-admin .quiet-panel{background:#fffdf9;border-color:#d9cabc}.standalone-admin h1,.standalone-admin h2,.standalone-admin h3{color:#35271f}.standalone-admin .button{background:#6b4d40;color:#fffdf9;border-color:#6b4d40}.standalone-admin .button.outline{background:transparent;color:#6b4d40}.standalone-admin .text-button,.standalone-admin .eyebrow{color:#6b4d40}.standalone-admin .stats strong{color:#6b4d40}.standalone-admin .stats span,.standalone-admin .order-table th{color:#69584c}.standalone-admin .notice,.standalone-admin .form-error{background:#fffdf9;color:#35271f}.standalone-admin input,.standalone-admin textarea,.standalone-admin select{background:#fffdf9;color:#35271f}.standalone-admin footer{color:#69584c}.standalone-admin .contact-list dd{color:#35271f}main{min-width:0}h1,h2{text-wrap:balance}input,textarea,select{font-size:16px}.field small{display:block;font-size:12px;margin-top:6px}.session-row{padding:16px 0;border-bottom:1px solid #89704655}.twofa-result{margin-top:24px}.hp{position:absolute;left:-10000px}@media(max-width:760px){.account-sidebar nav{display:flex;overflow-x:auto;padding-bottom:10px}.account-sidebar nav a{white-space:nowrap;flex-shrink:0}.account-sidebar .brand{max-width:170px}.account-sidebar .sidebar-bottom{display:flex;gap:18px;flex-wrap:wrap;padding-top:20px}.account-sidebar .sidebar-bottom p{display:none}.client-search{display:block}.client-search button{margin-top:12px}.stats{grid-template-columns:1fr}.stat+.stat{border-left:0;border-top:1px solid #947c5138;padding-left:0}.live-voucher{padding:20px}.content-columns,.settings-grid{grid-template-columns:1fr}.auth-layout{padding:30px 20px}.account-top{font-size:10px;letter-spacing:0}}

.order-detail-link,.voucher-detail-link{text-decoration:underline;text-underline-offset:.25em;text-decoration-color:#b9975d88}.order-detail-link:hover,.voucher-detail-link:hover{color:#bd9557}.dedication-copy{white-space:pre-wrap}

.voucher-table td{vertical-align:top}.voucher-table td p{margin:7px 0}.voucher-table-actions{display:grid;justify-items:start;gap:8px;min-width:180px}.voucher-table-actions .button{padding:10px 16px;min-height:42px}.voucher-table-actions .text-button{margin:0}.pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.auth-tabs a[aria-current="page"]{color:#b28b4f;border-bottom:2px solid currentColor}

/* Keep administration readable independently of the dark customer theme. */
.standalone-admin label,.standalone-admin .check{color:#554538}
.standalone-admin .account-sidebar .sidebar-bottom a{color:#d9c9ae}
.standalone-admin .account-sidebar .sidebar-bottom p{color:#b9ad9c}
.standalone-admin .status{color:#625035;background:#ede3d3;border-color:#d5c2a1}
.standalone-admin .auth-tabs a{color:#695243}
.standalone-admin .auth-tabs a[aria-current]{color:#754c2b}
.account-shell>main{width:100%;padding-bottom:24px}
.client-search{align-items:flex-end;gap:12px;margin:24px 0 28px}
.client-search input[type=search]{margin-bottom:0}
.client-search>.button{flex-shrink:0;min-height:48px}
.table-wrap{max-width:100%;border:1px solid #d9cabc;background:#fffdf9;padding:0 20px}
.voucher-table{table-layout:fixed}
.voucher-table th:nth-child(1){width:17%}
.voucher-table th:nth-child(2){width:32%}
.voucher-table th:nth-child(3){width:13%}
.voucher-table th:nth-child(4){width:13%}
.voucher-table th:nth-child(5){width:25%}
.voucher-table td{line-height:1.55;padding-block:20px}
.voucher-table-actions{min-width:0;max-width:100%;gap:6px}
.voucher-table-actions a{max-width:100%}
.voucher-table td:nth-child(3),.voucher-table td:nth-child(4){font-variant-numeric:tabular-nums}
.client-row-actions{display:grid;gap:12px;justify-items:start;min-width:130px}
.consent-badge{display:inline-block;padding:5px 9px;border:1px solid #cfc3b6;font-size:12px;line-height:1.5;white-space:normal}
.consent-yes{background:#eaf0e5;color:#35522a;border-color:#bdcfb2}
.consent-no{background:#f2eeea;color:#6a5e52}
#customer-discount{scroll-margin-block-start:24px}
.content-columns>aside{min-width:0}
@media(max-width:1100px){
 .table-wrap:has(.voucher-table),.table-wrap:has(.customer-table){border:0;background:transparent;padding:0;overflow:visible}
 .voucher-table,.customer-table,.voucher-table tbody,.customer-table tbody{display:block;width:100%}
 .voucher-table thead,.customer-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .voucher-table tr,.customer-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;padding:22px;margin-bottom:16px;border:1px solid #d9cabc;background:#fffdf9}
 .voucher-table td,.customer-table td{display:block;border:0;padding:0!important;min-width:0}
 .voucher-table td::before,.customer-table td::before{content:attr(data-label);display:block;margin-bottom:7px;color:#76624f;font-size:11px;letter-spacing:.04em}
 .voucher-table td:last-child,.customer-table td:last-child{grid-column:1/-1;padding-top:14px!important;border-top:1px solid #e9ded1}
 .voucher-table-actions,.client-row-actions{display:flex;gap:12px 20px;flex-wrap:wrap;align-items:center}
}
@media(max-width:900px){
 .account-shell{display:block}
 .account-sidebar{padding:20px 24px;border-inline-end:0;border-bottom:1px solid #a78b5c26}
 .account-sidebar .brand{max-width:180px;margin-bottom:20px}
 .account-sidebar .sidebar-caption{display:none}
 .account-sidebar nav{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px}
 .account-sidebar nav a{white-space:nowrap;flex-shrink:0}
 .account-sidebar .sidebar-bottom{display:flex;flex-wrap:wrap;gap:10px 20px;padding:14px 0 0;margin-top:0}
 .account-sidebar .sidebar-bottom p,.account-sidebar .sidebar-bottom>a[href^="tel:"]{display:none}
}
@media(max-width:480px){
 .account-sidebar{padding-inline:18px}
 .account-top{gap:12px;flex-wrap:wrap;letter-spacing:.04em}
 .voucher-table tr,.customer-table tr{padding:18px;gap:16px}
 .voucher-table td:nth-child(2),.customer-table td:nth-child(2){grid-column:1/-1}
 .voucher-table-actions{display:grid;justify-items:stretch}
 .voucher-table-actions .button{width:100%}
 .voucher-table-actions .text-button{min-height:44px;display:flex;align-items:center}
 .pagination{flex-wrap:wrap;font-size:13px}
 .pagination .button{padding-inline:12px}
}

.account-shell{max-width:none;width:100%}
.standalone-admin .page-heading p{color:#69584c}
.standalone-admin dialog[data-discount-dialog]{background:#fffaf3;color:#35271f;width:min(620px,calc(100% - 32px));padding:32px;margin:auto;border:1px solid #b59a72;max-height:90dvh;overflow:auto}
.standalone-admin dialog::backdrop{background:#14110ec4}
.standalone-admin dialog .dialog-close{color:#6b4d40}
.standalone-admin dialog h2{padding-inline-end:28px}
.standalone-admin dialog p{font-size:14px;line-height:1.6}

/* Keep consent prose in one flow; links are not separate flex columns. */
.check{display:flex;align-items:flex-start;gap:12px;line-height:1.65;max-width:100%}
.check input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:3px 0 0;padding:0;accent-color:#c6a16a}
.check-copy{display:block;flex:1;min-width:0;overflow-wrap:break-word}
.check-copy a{display:inline;white-space:normal;text-decoration:underline;text-underline-offset:3px}
.required-marker{color:#d5b582;font-weight:700}
.standalone-admin .required-marker{color:#785236}
.required-hint{font-size:12px!important;margin-top:18px}
.security-prompt{margin-block:20px 28px}
