html[data-theme="light"]{
 --cs-000:#fafafa;
 --cs-080808:#f3f3f3;
 --cs-092011:#e9e9e9;
 --cs-0b0b0b:#f0f0f0;
 --cs-0d0d0d:#efefef;
 --cs-0e0e0e:#eeeeee;
 --cs-0f0f0f:#ededed;
 --cs-101010:#ececec;
 --cs-111:#ebebeb;
 --cs-121212:#eaeaea;
 --cs-151515:#e8e8e8;
 --cs-161616:#e7e7e7;
 --cs-171717:#e6e6e6;
 --cs-1b1b1b:#e2e2e2;
 --cs-1c1c1c:#e1e1e1;
 --cs-1e1e1e:#e0e0e0;
 --cs-202020:#dedede;
 --cs-211515:#e4e4e4;
 --cs-211617:#e3e3e3;
 --cs-222:#dcdcdc;
 --cs-252525:#d9d9d9;
 --cs-262626:#d9d9d9;
 --cs-292929:#d6d6d6;
 --cs-2a2a2a:#d5d5d5;
 --cs-2b2b2b:#d4d4d4;
 --cs-2d2d2d:#d2d2d2;
 --cs-303030:#d0d0d0;
 --cs-333:#cdcdcd;
 --cs-343434:#cccccc;
 --cs-383838:#c9c9c9;
 --cs-393939:#c8c8c8;
 --cs-3c3c3c:#c5c5c5;
 --cs-454545:#bdbdbd;
 --cs-474747:#bcbcbc;
 --cs-494949:#bababa;
 --cs-737373:#959595;
 --cs-777:#919191;
 --cs-888:#828282;
 --cs-969696:#767676;
 --cs-999:#737373;
 --cs-aaa:#646464;
 --cs-bbb:#555555;
 --cs-c3c3c3:#4e4e4e;
 --cs-c9c9c9:#494949;
 --cs-d5d5d5:#3f3f3f;
 --cs-ddd:#383838;
 --cs-eee:#292929;
 --cs-fff:#1a1a1a;
 --red:#c52229;--red-dark:#a71b22;--green:#147840;--muted:#60636a;--shadow:0 16px 48px rgba(20,20,30,.10);
}
/* Shared appearance and input geometry, loaded after all page-specific styles. */
html{color-scheme:dark;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html[data-theme="light"]{color-scheme:light}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--white);font:600 13px/1.3 Montserrat,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.sidebar>.theme-toggle{margin:12px 0}.auth-theme{position:absolute;top:18px;right:18px}.nav>.theme-toggle{margin-left:auto;flex-shrink:0}.theme-toggle:focus-visible{outline:3px solid var(--red);outline-offset:3px}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{box-sizing:border-box;min-width:0;max-width:100%;font-size:16px!important;line-height:1.4!important;letter-spacing:normal;font-family:inherit;text-align:left;border-radius:10px}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),select{min-height:48px;padding:12px 14px!important}
textarea{padding:12px 14px!important;min-height:112px;resize:vertical}
input::placeholder,textarea::placeholder{font-size:inherit;line-height:inherit;color:var(--muted);opacity:1;letter-spacing:normal;text-indent:0}
input[type="checkbox"],input[type="radio"]{width:20px!important;height:20px;min-height:20px!important;padding:0!important;margin:2px 0;accent-color:var(--red);flex:0 0 20px}
input[type="file"]{padding:10px;line-height:1.6!important;overflow:hidden}
input::file-selector-button{padding:8px 10px;margin-right:10px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2);color:var(--white);font:inherit}
.gm-grid,.form-grid,.gm-sale-row,.gm-payment-row,.admin-filters,.address-grid{align-items:start}
.gm-grid>*,.form-grid>*,.gm-sale-row>*,.gm-payment-row>*,.admin-filters>*{min-width:0}
.gm-form label,.form-stack>label,.form-grid label,.admin-filters label,.cart-form>label,.address-grid label{display:flex;flex-direction:column;gap:8px;line-height:1.5}
.admin-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:end}
.admin-filters button,.admin-filters>a{min-height:48px}.gm-sale-row,.gm-payment-row{align-items:end}.gm-check,.switch-row,.cover-choice,.delete-choice{flex-direction:row!important;align-items:flex-start!important}
.gm-review{margin:0;min-width:0}.gm-review legend{max-width:100%;overflow-wrap:anywhere}
.gm-form small{line-height:1.6;color:var(--muted)}
.product-modal,.cart-modal,dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overscroll-behavior:contain;scrollbar-gutter:stable}
.cart-panel,.modal-copy{min-width:0}.cart-form fieldset{min-width:0}.cart-form fieldset label{align-items:center}.cart-form input[type="radio"]{margin:0}
html[data-theme="light"] .header,html[data-theme="light"] .mobile-admin-header,html[data-theme="light"] #navLinks{background:#fff;color:#202127;border-color:#d9dce2}
html[data-theme="light"] .sidebar,html[data-theme="light"] .footer{background:#f6f7f9;color:#202127}
html[data-theme="light"] .admin-brand img,html[data-theme="light"] .brand img,html[data-theme="light"] .auth-card>img,html[data-theme="light"] .footer img{background:#151515;border-radius:10px;padding:6px}
html[data-theme="light"] .button.primary,html[data-theme="light"] .nav-cta,html[data-theme="light"] .gm-steps span:first-child{color:#fff}
html[data-theme="light"] .photo-box{background:#fff4f4;border-color:#d9a7a7}
html[data-theme="light"] .alert.error{background:#fff0f0;color:#9e2028;border-color:#e9b1b5}
html[data-theme="light"] .alert.success{background:#eaf8ef;color:#126638;border-color:#a5d8b9}
html[data-theme="light"] .gm-warning{color:#875000!important}
html[data-theme="light"] .gm-shortcuts a:hover{background:#fff0f0}
html[data-theme="light"] .reminder-badge{color:#9e2028;border-color:#d9a7a7}
html[data-theme="light"] .modal-close{background:#fff;color:#242424;border-color:#d9dce2}
html[data-theme="light"] .product-modal,html[data-theme="light"] .cart-modal{box-shadow:0 24px 80px #0003}
html[data-theme="light"] .hero-arrow,html[data-theme="light"] .slider-arrow{color:#fff}
@media(max-width:760px){
 .gm-grid,.form-grid.two,.gm-sale-row,.gm-payment-row{grid-template-columns:minmax(0,1fr)}
 .gm-form button{width:100%;justify-self:stretch;min-height:48px}.gm-sale-row>button{grid-column:auto}
 .admin-main{padding:22px 16px}.form-card,.reminder-panel{padding:18px}.page-heading{gap:12px}
 .gm-review{padding:14px}.product-table-wrap{max-width:100%;overflow-x:auto}
 details .gm-form{min-width:0}.gm-check{gap:10px!important}
 .theme-toggle{min-height:44px;font-size:12px;padding:10px 12px}.nav{gap:10px}
 .nav .brand img{max-width:110px}.nav>.theme-toggle{margin-left:auto}
 .cart-panel,.modal-copy{padding:24px 18px}.cart-header{padding-right:34px}.modal-copy h2{overflow-wrap:anywhere}
 .product-modal,.cart-modal{width:calc(100% - 24px);border-radius:16px}.address-grid{grid-template-columns:1fr}.address-full{grid-column:auto}
}
html[data-theme="light"] .gm-total,html[data-theme="light"] .reminder-date,html[data-theme="light"] details summary{color:#25252a!important}
html[data-theme="light"] .reminder-form input,html[data-theme="light"] .reminder-form select,html[data-theme="light"] .reminder-filters input,html[data-theme="light"] .reminder-filters select{color:#25252a}
html[data-theme="light"] .reminder-form small,html[data-theme="light"] .photo-box p,html[data-theme="light"] .muted,html[data-theme="light"] .reminder-tools p,html[data-theme="light"] .reminder-item p{color:#62646a}
/* Revision 19/10: explicit account layout and visible appearance controls. */
.account-list{display:grid;gap:20px}.account-card{border:1px solid var(--line);border-radius:14px;padding:22px;background:var(--surface)}
.account-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.account-heading h3{margin:0;font-size:18px;overflow-wrap:anywhere}
.account-controls{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:20px;align-items:end}
.gm-form .account-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px;min-height:48px;white-space:nowrap;margin:0}
.account-check input{margin:0!important}.account-controls>.button{min-height:48px;white-space:nowrap}
.password-details{border-top:1px solid var(--line);padding-top:8px;margin-top:16px}.password-details summary{font-size:14px;font-weight:700;min-height:44px;display:list-item}
.password-details input{max-width:100%}.password-details>p{font-size:13px}.site-version{font-size:11px;line-height:1.5;color:var(--muted);padding:8px 10px;margin:0}
.appearance-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 20px}.appearance-toolbar .site-version{padding:0}
html[data-theme="light"] body{background:#f3f5f8;color:#20242c}
html[data-theme="light"] .form-card,html[data-theme="light"] .account-card,html[data-theme="light"] .reminder-panel,html[data-theme="light"] .auth-card{background:#fff;border-color:#d8dde5}
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]),html[data-theme="light"] select,html[data-theme="light"] textarea{background:#fff;color:#20242c;border-color:#b8c1ce}
html[data-theme="light"] .sidebar a,html[data-theme="light"] .mobile-admin-header a{color:#303846}
html[data-theme="light"] .sidebar a.active{background:#fce8e9;color:#a71b22}
html[data-theme="light"] .gm-shortcuts a{background:#fff;color:#20242c}
html[data-theme="light"] .product-modal,html[data-theme="light"] .cart-modal,html[data-theme="light"] .product-card{background:#fff;color:#20242c}
html[data-theme="light"] .button.secondary{background:#e9edf3;color:#263243;border-color:#c8d0dc}
html[data-theme="light"] .button.ghost{color:#424f61;border-color:#c8d0dc}
html[data-theme="light"] .status.on{background:#e7f6eb;color:#176a36}
@media(max-width:900px){.account-controls{grid-template-columns:1fr 1fr}.account-controls>label:first-child{grid-column:1/-1}.account-controls>.button{width:100%}.account-card{padding:16px}}
@media(max-width:520px){.account-controls{grid-template-columns:1fr;gap:12px}.account-controls>label:first-child{grid-column:auto}.account-heading{align-items:flex-start}.account-check{min-height:44px}.password-details .gm-grid{grid-template-columns:1fr}}

/* Revisão 10: contraste da navegação e validação dos formulários. */
html[data-theme="light"] .cart-nav-button{color:#20242c}
html[data-theme="light"] .cart-nav-button:hover{color:#a71b22}
html[data-theme="light"] .cart-nav-button span{color:#fff}
.field-error{display:block;margin-top:6px;color:#ffb4b8;font-size:13px;font-weight:500;line-height:1.45;white-space:normal;text-transform:none;letter-spacing:normal;overflow-wrap:anywhere}
[aria-invalid="true"]{border-color:#e0525a!important;outline-color:#e0525a}
html[data-theme="light"] .field-error{color:#a71b22}
