/* MISCHEL 23 October 2026 — targeted consistency, customer account and inbox. */
:root{--mischel-r2-border:#d8c5aa;--mischel-r2-gold:#ac8549;--mischel-r2-brown:#33271e}
/* Registration is a direct flow, not a second account/guest choice. */
#shop-checkout-dialog.account-entry:has(#checkout-register-panel:not([hidden])) #checkout-mode-section>legend,
#shop-checkout-dialog.account-entry:has(#checkout-register-panel:not([hidden])) .checkout-account-options,
#shop-checkout-dialog.account-entry:has(#checkout-register-panel:not([hidden])) #checkout-dialog-title,
#shop-checkout-dialog.account-entry #test-profile-register,
#shop-checkout-dialog.account-entry #checkout-register-to-login,
#shop-checkout-dialog.account-entry #checkout-register-panel .checkout-go-guest,
#shop-checkout-dialog.account-entry #checkout-register-panel .account-close-page,
#shop-checkout-dialog.account-entry #checkout-register-label-preview,
#shop-checkout-dialog.account-entry #checkout-register-panel .checkout-preview-warning,
#shop-checkout-dialog.account-entry #checkout-register-panel .shop-demo-notice,
#shop-checkout-dialog.account-entry #mischel-checkout-up,
#shop-checkout-dialog.mischel-login-compact #mischel-checkout-up,
#shop-checkout-dialog #checkout-login-panel #checkout-forgot-password~button[hidden]{display:none!important}
#shop-checkout-dialog.account-entry #checkout-register-panel{margin-top:0;padding-top:0}
#shop-checkout-dialog.account-entry #checkout-register-title{margin:0 0 23px;font:normal clamp(28px,4vw,38px)/1.2 Georgia,serif}
#shop-checkout-dialog.account-entry #checkout-register-panel .checkout-account-actions{justify-content:center}
#shop-checkout-dialog.account-entry #checkout-register-demo{min-width:160px;max-width:max-content}
#shop-checkout-dialog #checkout-login-panel .checkout-account-actions{justify-content:center}
/* Precise eye positioning: same for login, register, reset, profile. */
#shop-checkout-form .checkout-password-input,
#mischel-account-page .checkout-password-input{position:relative;display:block;width:100%;box-sizing:border-box}
#shop-checkout-form .checkout-password-input>input,
#mischel-account-page .checkout-password-input>input{width:100%;box-sizing:border-box;padding-right:55px!important}
#shop-checkout-form .checkout-password-input>.checkout-password-toggle,
#mischel-account-page .checkout-password-input>.checkout-password-toggle{
 position:absolute!important;top:50%!important;right:8px!important;bottom:auto!important;
 transform:translateY(-50%)!important;width:38px!important;height:38px!important;
 padding:7px!important;display:flex!important;align-items:center;justify-content:center;
 background:transparent!important;border:0!important;border-radius:8px!important;box-shadow:none!important;
 margin:0!important;line-height:1!important;min-width:0!important;min-height:0!important
}
#shop-checkout-form .checkout-password-toggle:hover,
#mischel-account-page .checkout-password-toggle:hover{color:var(--mischel-r2-gold)!important;background:transparent!important}
#shop-checkout-form .checkout-password-toggle svg,
#mischel-account-page .checkout-password-toggle svg{display:block;width:22px!important;height:22px!important}
/* One admin action button family, with width according to the label. */
.footer-admin-bar .footer-editors>button:not(.icon),
.footer-admin-bar .footer-editors>.marketing-menu>summary,
#catalog-admin :is(.catalog-actions,.catalog-bulk) :is(button.secondary,label.secondary),
#catalog-admin .catalog-actions label.import-label,
.mischel-test-controls button,.mischel-test-tools button,
.mischel-order-documents button{
 display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;
 min-height:41px!important;padding:9px 15px!important;
 background:#fffdf9!important;color:var(--mischel-r2-brown)!important;
 border:1px solid var(--mischel-r2-border)!important;border-radius:11px!important;
 box-shadow:0 3px 11px #24170d16!important;font:inherit;line-height:1.25!important;
 cursor:pointer;transition:box-shadow .15s,transform .15s,background-color .15s;
}
.footer-admin-bar .footer-editors>.marketing-menu>summary:hover,
.footer-admin-bar .footer-editors>button:not(.icon):hover,
#catalog-admin :is(.catalog-actions,.catalog-bulk) :is(button.secondary,label.secondary):hover,
.mischel-order-documents button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 15px #24170d26!important;background:#f9f3e9!important}
#catalog-admin #catalog-restore-start{border-color:#b47f72!important;color:#833c30!important}
#catalog-admin .catalog-actions input[type=file]{position:absolute!important;width:1px;height:1px;opacity:0;overflow:hidden}
#catalog-admin .catalog-actions label.import-label{position:relative}
#catalog-admin .catalog-actions label.import-label:focus-within{outline:2px solid #ad8649;outline-offset:3px}
/* Quiet text links stay underlined; every interactive real action remains a button. */
.mischel-order-catalog-link,.mischel-mailbox a,.mischel-ordered-product a{color:#35281d!important;text-decoration:underline!important;text-decoration-color:#ad8649!important;text-underline-offset:4px}
.mischel-order-catalog-link:hover,.mischel-mailbox a:hover,.mischel-ordered-product a:hover{color:#ad8649!important}
/* Administrative test-order photo list & documents */
.mischel-admin-order-item{display:flex;gap:15px;align-items:center;border-bottom:1px solid #e8ded0;padding:11px 2px;margin:0 0 8px;max-width:850px}
.mischel-admin-order-item>div{min-width:0;display:grid;gap:5px}
.mischel-admin-order-item strong{font-size:14px}
.mischel-admin-order-item small,.mischel-admin-order-item a{font-size:12px}
.mischel-admin-order-image,.mischel-admin-order-placeholder{width:82px;height:82px;object-fit:contain;flex:0 0 82px;border-radius:9px;background:#fff;border:1px solid #e8daca}
.mischel-admin-order-placeholder{display:grid;place-items:center;color:#987044;font:28px Georgia,serif}
.mischel-order-documents{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:24px 0}
.mischel-order-documents small{display:block;flex-basis:100%;color:#796959;font-size:12px}
.mischel-order-documents button:disabled{opacity:.5;cursor:not-allowed}
/* Conversations: a mailbox inside only the messages route. */
.mischel-mailbox-top{display:flex;justify-content:flex-end;margin:2px 0 16px}
.mischel-mailbox-top button{padding:11px 17px;border-radius:11px}
.mischel-mailbox{display:grid;grid-template-columns:minmax(170px,205px) minmax(0,1fr);min-height:390px;background:#fffdfa;border:1px solid #e3d9ca;border-radius:12px;overflow:hidden;box-shadow:0 3px 18px #3427170b}
.mischel-mailbox-sidebar{display:flex;flex-direction:column;gap:2px;border-right:1px solid #eae0d5;padding:16px 9px;background:#fbf9f5}
.mischel-mailbox-sidebar button{display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:0;border-radius:8px;text-align:left;padding:11px 12px;min-height:38px;cursor:pointer;color:#43352b;font-size:13px}
.mischel-mailbox-sidebar button.current{background:#f1e7d7;color:#553b22;font-weight:700}
.mischel-mailbox-sidebar button:hover{background:#f5ecdf}
.mischel-mailbox-sidebar small{background:#bc9357;color:#fff;border-radius:50px;padding:2px 6px}
.mischel-mailbox-main{min-width:0}
.mischel-mailbox-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 18px;border-bottom:1px solid #e8ded0}
.mischel-mailbox-toolbar strong{font:normal 22px Georgia,serif}
.mischel-mailbox-search{width:min(100%,340px);padding:10px 12px;border:1px solid #d8c5aa;border-radius:22px;min-width:0;font-size:13px;background:white}
.mischel-mailbox-row{display:flex;border-bottom:1px solid #eee6dc;background:#fffdf9}
.mischel-mailbox-row.unread{background:#f8efdd}
.mischel-mailbox-row.selected{box-shadow:inset 3px 0 #ad8649}
.mischel-mailbox-row:hover{background:#f9f4ec}
.mischel-mailbox-row button{box-shadow:none!important;border:0!important;border-radius:0!important;transform:none!important;background:transparent!important}
.mischel-mailbox-star{flex:0 0 41px;cursor:pointer;color:#a58145;font-size:21px!important}
.mischel-mailbox-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;text-align:left;padding:13px 16px 12px 2px!important;cursor:pointer;color:#342a1f}
.mischel-mailbox-row-top{display:flex;justify-content:space-between;gap:9px;font-size:13px}
.mischel-mailbox-row-top time{font-size:11px;color:#826f5d;white-space:nowrap}
.mischel-mailbox-subject{font-size:13px;color:#3f3227;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mischel-mailbox-row.unread .mischel-mailbox-subject{font-weight:700}
.mischel-mailbox-preview{font-size:12px;color:#887b6e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mischel-mailbox-context{display:block;color:#806339!important;font-size:12px}
.mischel-mailbox-empty{padding:22px;margin:0;color:#736352}
.mischel-mailbox-detail{border-top:2px solid #d4b685;padding:20px 22px}
.mischel-mailbox-detail[hidden],.mischel-mailbox-compose[hidden]{display:none!important}
.mischel-mailbox-detail-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:15px;margin:0 0 18px}
.mischel-mailbox-detail h3{font:normal 24px Georgia,serif;margin:0}
.mischel-mailbox-actions{display:flex;flex-wrap:wrap;gap:8px}
.mischel-mailbox-actions button{font-size:11px;border-bottom:1px solid #ad8649;padding:5px!important;border-radius:0!important;box-shadow:none!important}
.mischel-mailbox-posts{display:grid;gap:10px;padding:0 0 22px}
.mischel-mailbox-posts .mischel-post{padding:13px 17px;border:1px solid #eadfcd;border-radius:10px;background:#fbf7ef}
.mischel-mailbox-posts .mischel-post strong{display:inline-block;margin-right:10px}
.mischel-mailbox-posts .mischel-post p{white-space:pre-wrap;overflow-wrap:anywhere}
.mischel-mailbox-compose{margin:0 0 20px;padding:20px 24px;background:#fffdfa;border:1px solid #e4d9ca;border-radius:12px}
.mischel-mailbox-compose h3{font:normal 25px Georgia,serif;margin:0 0 18px}
.mischel-scope-choice{border:1px solid #e2d4bf;padding:12px 16px;margin:16px 0;display:grid;gap:9px}
.mischel-scope-choice legend{padding:0 6px;font-size:13px}
.mischel-scope-choice label{display:flex;gap:6px;align-items:center;font-size:13px}
.mischel-scope-choice input{width:auto;min-width:0}
.mischel-mailbox-compose .mischel-inline-form{display:grid;gap:13px}
.mischel-mailbox-compose .mischel-inline-form>label{display:grid;gap:7px}
.mischel-mailbox-compose input:not([type=radio]),.mischel-mailbox-compose textarea{padding:12px;width:100%;box-sizing:border-box}
.mischel-mailbox-compose button.button{justify-self:start}
.mischel-community-admin .mischel-mailbox{min-width:min(900px,75vw)}
@media(max-width:740px){.mischel-mailbox{grid-template-columns:1fr}.mischel-mailbox-sidebar{flex-flow:row nowrap;overflow-x:auto;border-right:0;border-bottom:1px solid #eae0d5}.mischel-mailbox-sidebar button{white-space:nowrap;padding:9px 12px}.mischel-mailbox-toolbar{flex-wrap:wrap}.mischel-mailbox-detail{padding:16px 12px}.mischel-community-admin .mischel-mailbox{min-width:0}.mischel-order-documents button{flex:1}}
.mischel-scope-thumb{width:45px;height:45px;object-fit:contain;border-radius:6px;background:white;margin:0 5px}

#checkout-login-panel>button[hidden]{display:none!important}

.mischel-inbox-product-thumb{width:60px;height:60px;object-fit:contain;border:1px solid #e7d8c3;border-radius:8px;background:white;margin-right:13px;vertical-align:middle}
.mischel-mailbox-context a{margin-left:12px}

/* Restore: explicit confirmation BEFORE choosing the JSON file.
   The actual input receives the trusted click, avoiding Chromium gesture loss. */
#catalog-restore-confirm.mischel-restore-confirm{
 width:min(500px,calc(100vw - 36px));max-width:calc(100vw - 36px);
 box-sizing:border-box;margin:auto;padding:26px 27px 25px;
 background:#fffdf9;color:#382c20;border:1px solid #d7bfa2;border-radius:14px;
 box-shadow:0 22px 65px #271a1290
}
#catalog-restore-confirm::backdrop{background:rgba(30,23,17,.56)}
#catalog-restore-confirm h2{font:normal 27px/1.2 Georgia,serif;margin:0 0 17px;color:#33271e}
#catalog-restore-confirm p{font-size:14px;line-height:1.5;margin:0 0 15px}
#catalog-restore-confirm .mischel-restore-warning{color:#8b4033}
#catalog-restore-confirm .mischel-restore-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px}
#catalog-restore-confirm .mischel-restore-actions button,
#catalog-restore-confirm .mischel-restore-choose{
 display:inline-flex;align-items:center;justify-content:center;
 font:inherit;font-size:13px;line-height:1.35;min-height:42px;padding:9px 15px;
 box-sizing:border-box;border:1px solid #c9ad88;border-radius:11px;
 background:#fffdf9;color:#33271e;cursor:pointer;
 box-shadow:0 3px 11px #24170d16
}
#catalog-restore-confirm .mischel-restore-choose{position:relative;background:#382c22;color:white;border-color:#382c22;overflow:hidden}
#catalog-restore-confirm .mischel-restore-choose:hover{background:#5b4533}
#catalog-restore-confirm .mischel-restore-choose:focus-within{outline:2px solid #b88944;outline-offset:3px}
#catalog-restore-confirm .mischel-restore-choose input[type=file]{
 position:absolute;inset:0;width:100%;height:100%;min-width:100%;opacity:0;
 cursor:pointer;z-index:1;font-size:80px
}

/* 2026-10-23: compact, horizontal product-choice rows in customer order enquiries.
   The older .mischel-inline-form label rule uses flex-direction:column;
   changing only display:flex was insufficient. Scope this fix to the fieldset. */
#mischel-account-page .mischel-mailbox-compose .mischel-scope-choice {
  width:100%;
  max-width:680px;
  min-width:0;
  box-sizing:border-box;
  padding:10px 12px 12px;
  margin:12px 0 15px;
  gap:3px;
}
#mischel-account-page .mischel-mailbox-compose .mischel-scope-choice > label {
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
  padding:3px 6px;
  font-size:13px;
  line-height:1.35;
  letter-spacing:0;
  cursor:pointer;
}
#mischel-account-page .mischel-mailbox-compose .mischel-scope-choice > label > input[type=radio] {
  display:block;
  flex:0 0 18px;
  width:18px;
  height:18px;
  min-width:18px;
  min-height:18px;
  margin:0;
  padding:0;
  accent-color:#a98042;
}
#mischel-account-page .mischel-mailbox-compose .mischel-scope-choice .mischel-scope-thumb {
  display:block;
  flex:0 0 36px;
  width:36px;
  height:36px;
  margin:0;
  object-fit:contain;
  background:#fff;
  border-radius:6px;
}
@media(max-width:480px){
  #mischel-account-page .mischel-mailbox-compose .mischel-scope-choice {padding:8px;}
  #mischel-account-page .mischel-mailbox-compose .mischel-scope-choice > label {font-size:12px;gap:8px;}
}

/* Password visibility icon: inside input, no floating square or offset. */
.checkout-password-input{position:relative!important;display:block!important;}
.checkout-password-input input{width:100%!important;box-sizing:border-box!important;padding-right:56px!important;}
.checkout-password-input .checkout-password-toggle{position:absolute!important;top:50%!important;right:8px!important;left:auto!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;padding:8px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:8px!important;}
.checkout-password-toggle svg{display:block!important;width:21px!important;height:21px!important;}
/* Condense order inquiry choice rows across routed customer pages. */
#mischel-account-page .mischel-scope-options label,#mischel-account-page .mischel-order-scope-options label{display:flex!important;align-items:center!important;gap:10px!important;min-height:46px!important;margin:0!important;padding:4px 8px!important;}
#mischel-account-page .mischel-scope-options img,#mischel-account-page .mischel-order-scope-options img{width:36px!important;height:36px!important;object-fit:contain!important;}

.mischel-promo-overview{padding:12px 0 26px;border-bottom:1px solid #dbccbb;margin-bottom:26px;}
.mischel-promo-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.mischel-promo-list-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:13px 0;border-bottom:1px solid #e3d7c9;}
.mischel-promo-list-row>span{flex:1 1 340px;}
.mischel-promo-list-row>button{min-height:38px;}


/* 2026-10-23: actual outline-eye SVG (not a black filled rhombus).
   Keep this confined to password visibility buttons; do not restyle other icons. */
#shop-checkout-form .checkout-password-input > .checkout-password-toggle svg,
#mischel-account-page .checkout-password-input > .checkout-password-toggle svg {
  display:block!important;
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#shop-checkout-form .checkout-password-input > .checkout-password-toggle svg path,
#shop-checkout-form .checkout-password-input > .checkout-password-toggle svg circle,
#mischel-account-page .checkout-password-input > .checkout-password-toggle svg path,
#mischel-account-page .checkout-password-input > .checkout-password-toggle svg circle {
  fill:none!important;
  stroke:currentColor!important;
}
#shop-checkout-form .checkout-password-input > .checkout-password-toggle .eye-slash,
#mischel-account-page .checkout-password-input > .checkout-password-toggle .eye-slash {
  display:none!important;
}
#shop-checkout-form .checkout-password-input > .checkout-password-toggle[aria-pressed="true"] .eye-slash,
#mischel-account-page .checkout-password-input > .checkout-password-toggle[aria-pressed="true"] .eye-slash {
  display:block!important;
}
