.thvd{--thvd-accent:#004680;--thvd-accent-hover:#00345f;--thvd-border:#dbe2ea;display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:1.5rem;max-width:1200px;margin:1rem auto}
.thvd *{box-sizing:border-box}.thvd__nav{display:flex;flex-direction:column;gap:.35rem}.thvd .thvd__nav>.thvd__nav-link,.thvd .thvd__tabs>a{padding:.7rem .85rem;border-radius:.45rem;text-decoration:none!important;color:#808080!important}
.thvd .thvd__nav>.thvd__nav-logout{margin-top:.5rem;border-top:1px solid var(--thvd-border);border-radius:0 0 .45rem .45rem}
.thvd .thvd__nav>.thvd__nav-link:hover,.thvd .thvd__tabs>a:hover{color:var(--thvd-accent)!important}.thvd .thvd__nav>.thvd__nav-link.is-active,.thvd .thvd__nav>.thvd__nav-link.is-active:hover,.thvd .thvd__tabs>a.is-active,.thvd .thvd__tabs>a.is-active:hover{background:var(--thvd-accent)!important;color:#fff!important}.thvd__content{min-width:0}
.thvd__dashboard-section{margin-bottom:2rem}.thvd__section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.thvd__section-heading h3{margin:0}.thvd__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.thvd__stat{display:flex;flex-direction:column;gap:.35rem;padding:1rem;border:1px solid var(--thvd-border);border-top:4px solid var(--thvd-accent);border-radius:.45rem;background:#fff}.thvd__stat>span{font-size:.85rem;color:#52606d}.thvd__stat strong{font-size:1.35rem;color:#172b3a}.thvd__stat small{color:#667784}.thvd__chart{display:flex;align-items:end;gap:.75rem;height:230px;margin-top:1rem;padding:1rem;border:1px solid var(--thvd-border);border-radius:.45rem;background:#fff}.thvd__chart-column{display:grid;grid-template-rows:auto 1fr auto;gap:.35rem;align-items:end;min-width:0;height:100%;flex:1;text-align:center}.thvd__chart-value{font-size:.72rem;overflow:hidden;text-overflow:ellipsis}.thvd__chart-track{display:flex;align-items:end;justify-content:center;height:100%;border-bottom:1px solid var(--thvd-border)}.thvd__chart-bar{display:block;width:min(38px,70%);min-height:0;background:var(--thvd-accent);border-radius:.25rem .25rem 0 0}.thvd__chart-label{font-size:.72rem;white-space:nowrap}
.thvd__stat--pending{border-color:#eadf69;border-top-color:#8a7d00;background:#f0e77a}.thvd__stat--accepted{border-color:#91bfa6;border-top-color:#397454;background:#a6cfb9}.thvd__stat--pending>span,.thvd__stat--pending strong{color:#514900}.thvd__stat--accepted>span,.thvd__stat--accepted strong{color:#244f37}.thvd__stat--completed{border-color:#aebfca;border-top-color:#2e4453;background:#c8d7e1}.thvd__stat--completed>span,.thvd__stat--completed strong{color:#2e4453}.thvd__stat--other{border-color:#d3d3d3;border-top-color:#777;background:#e5e5e5}
.thvd__table-wrap{overflow-x:auto}.thvd__table{width:100%;border-collapse:collapse}.thvd__table th,.thvd__table td{padding:.75rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--thvd-border)}.thvd__order-notes{min-width:180px;max-width:320px;white-space:normal;overflow-wrap:anywhere}
.thvd .thvd-order-status{display:inline-flex;align-items:center;min-height:2.25em;padding:0 .75em;border-radius:4px;background:#e5e5e5;color:#777;font-style:normal;line-height:1.2;white-space:nowrap}.thvd .thvd-order-status.status-pending{background:#f0e77a;color:#514900}.thvd .thvd-order-status.status-processing{background:#2196f3;color:#fff}.thvd .thvd-order-status.status-completed{background:#c8d7e1;color:#2e4453}.thvd .thvd-order-status.status-on-hold{background:#f8dda7;color:#94660c}.thvd .thvd-order-status.status-failed,.thvd .thvd-order-status.status-trash{background:#eba3a3;color:#761919}.thvd .thvd-order-status.status-accepted{background:#a6cfb9;color:#244f37}.thvd .thvd-order-status.status-declined{background:#ff9800;color:#fff}.thvd .thvd-order-status.status-withdrawn{background:#ffc107;color:#333}.thvd .thvd-order-status.status-finished{background:#8bc34a;color:#fff}
.thvd__tabs{display:flex;gap:.4rem;margin-bottom:1.25rem;border-bottom:1px solid var(--thvd-border);padding-bottom:.5rem}.thvd__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:760px}
.thvd__form label{display:flex;flex-direction:column;gap:.35rem}.thvd__form input,.thvd__form textarea,.thvd__form select,.thvd__inline-form select{width:100%;padding:.65rem;border:1px solid var(--thvd-border);border-radius:.35rem}.thvd__form button{justify-self:start;padding:.7rem 1rem;border:0;border-radius:.35rem}
.thvd-office-form{grid-template-columns:repeat(6,minmax(0,1fr));max-width:none}.thvd-office-form>label{grid-column:span 3}.thvd-office-form>label>span{font-weight:700}.thvd-office-form .thvd-office-form__wide{grid-column:1/-1}.thvd-office-form .thvd-office-form__third{grid-column:span 2}.thvd-office-form .thvd-office-form__country{grid-column:span 3}.thvd-office-form .thvd-office-form__new-row{grid-column:1/span 3}.thvd-office-form>button{grid-column:1/-1}.thvd-required{color:#b42318}
.thvd-office-form input:disabled{background:#f1f3f5;color:#667784;cursor:not-allowed;opacity:1}
.thvd__field-wide{grid-column:1/-1}.thvd__inline-form button{display:inline-block;padding:.7rem 1rem;border:0;border-radius:.35rem;background:var(--thvd-accent);color:#fff;text-decoration:none;cursor:pointer}
.thvd button,.thvd input[type=submit],.thvd .button,.thvd .th-std-stripe-btn-primary,.thvd .th-std-stripe-btn-secondary{background:var(--thvd-accent)!important;border-color:var(--thvd-accent)!important;color:#fff!important}.thvd button:hover,.thvd input[type=submit]:hover,.thvd .button:hover,.thvd .th-std-stripe-btn-primary:hover,.thvd .th-std-stripe-btn-secondary:hover{background:var(--thvd-accent-hover)!important;border-color:var(--thvd-accent-hover)!important}.thvd select:focus,.thvd input:focus,.thvd textarea:focus{border-color:var(--thvd-accent);outline:2px solid rgba(0,70,128,.18)}.thvd ::selection,.thvd-login ::selection{background:#004680;color:#fff}
.thvd__inline-form{display:flex;align-items:end;gap:.75rem;margin-top:1rem}.thvd__inline-form label{display:flex;flex-direction:column;gap:.35rem}
.thvd-order-detail{padding:1.25rem;border:1px solid var(--thvd-border);border-radius:.55rem;background:#fff}.thvd-order-detail__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--thvd-border)}.thvd-order-detail__header h3,.thvd-order-detail__header p{margin:0}.thvd-order-detail__header p{margin-top:.25rem;color:#808080}.thvd-order-detail__status{padding:.35rem .65rem;border-radius:999px;background:#eaf3f8;color:var(--thvd-accent);font-size:.8rem;font-weight:600}.thvd-order-addresses{display:grid;grid-template-columns:1fr;gap:1rem;margin:1.25rem 0}.thvd-order-addresses article{padding:1rem;border-radius:.45rem;background:#f8fafc}.thvd-order-addresses h4{margin:0 0 .75rem}.thvd-order-addresses p{min-height:4rem}.thvd-order-addresses dl{display:grid;grid-template-columns:auto 1fr;gap:.3rem .75rem;margin:0}.thvd-order-addresses dt{font-weight:600}.thvd-order-addresses dd{margin:0;overflow-wrap:anywhere}.thvd-order-items{margin-top:.5rem}.thvd-order-items tfoot th{text-align:right}.thvd-order-item{display:flex;align-items:flex-start;gap:.75rem;min-width:220px}.thvd-order-item__image{flex:0 0 52px}.thvd-order-item__image img{display:block;width:52px;height:52px;object-fit:cover;border-radius:.3rem}.thvd-order-item .wc-item-meta{margin:.35rem 0 0;padding:0;list-style:none;color:#666;font-size:.8rem}.thvd-order-notes{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--thvd-border)}.thvd-order-notes h4{margin-top:0}.thvd-order-notes article{margin-top:.75rem;padding:.75rem;border-left:3px solid var(--thvd-accent);background:#f8fafc}.thvd-order-notes article p{margin:0 0 .25rem}.thvd-order-notes small{color:#808080}.thvd-order-actions{display:grid;gap:1.25rem;margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--thvd-border)}.thvd-order-action-block{padding:1rem;border:1px solid var(--thvd-border);border-radius:.45rem;background:#f8fafc}.thvd-order-action-block h4{margin:0 0 1rem}.thvd-order-actions .thvd__inline-form{margin-top:0}.thvd-order-note-form form{display:grid;gap:.75rem;max-width:620px}.thvd-order-note-form p{margin:0;color:#666;font-size:.85rem}.thvd-order-note-form textarea{width:100%;padding:.65rem;border:1px solid var(--thvd-border);border-radius:.25rem;background:#fff}
.thvd-order-status-links{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.5rem;font-size:.85rem}.thvd-order-status-links a{color:#666;text-decoration:none}.thvd-order-status-links a:hover,.thvd-order-status-links a.is-active{color:var(--thvd-accent)}.thvd-order-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:2rem;padding:1rem;border:1px solid var(--thvd-border);border-radius:.45rem;background:#fff}.thvd-order-filters label{display:flex;flex-direction:column;gap:.4rem;font-size:.82rem;font-weight:600;color:#4a4a4a}.thvd-order-filters input,.thvd-order-filters select{width:100%;padding:.65rem;border:1px solid var(--thvd-border);border-radius:.25rem;background:#fff}.thvd-order-filters__search{grid-column:span 2}.thvd-order-filters__actions{display:flex;align-items:end;gap:.6rem}.thvd-order-filters__actions button{padding:.65rem 1rem;border:1px solid var(--thvd-accent);border-radius:.25rem}.thvd-order-filters__actions .thvd__outline-button{padding:.65rem 1rem}
.thvd-message{padding:.8rem 1rem;border-left:4px solid #64748b;background:#f1f5f9}.thvd-message--error{border-color:#b91c1c}.thvd-message--success{border-color:#15803d}.thvd-message--warning{border-color:#b45309;background:#fffbeb}.thvd-message--warning a{margin-left:.5rem;font-weight:600}
.thvd-security-block{max-width:760px;margin-bottom:1.25rem;padding:1.25rem;border:1px solid var(--thvd-border);border-radius:.55rem;background:#fff}.thvd-security-block h3{margin-top:0}.thvd-security-form{grid-template-columns:1fr;max-width:620px}.thvd-security-form__hint{margin:0;color:#666;font-size:.85rem}
.thvd-onboarding{display:block;max-width:920px;padding:1.5rem;border:1px solid var(--thvd-border);border-radius:.6rem;background:#fff}.thvd-onboarding--complete{max-width:760px;margin:2rem auto}.thvd-onboarding__steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1.5rem 0 2rem;padding:0;list-style:none}.thvd-onboarding__steps li{display:flex;align-items:center;gap:.55rem;padding:.75rem;border:1px solid var(--thvd-border);border-radius:.45rem;color:#667784}.thvd-onboarding__steps li>span{display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;background:#e8edf2;font-weight:700}.thvd-onboarding__steps li.is-active{border-color:var(--thvd-accent);color:var(--thvd-accent);font-weight:700}.thvd-onboarding__steps li.is-active>span,.thvd-onboarding__steps li.is-complete>span{background:var(--thvd-accent);color:#fff}.thvd-onboarding__steps li.is-complete{color:#36546b}.thvd-onboarding__panel{padding-top:.25rem}.thvd-onboarding__panel>h3{margin-top:0}.thvd-onboarding .thvd-office-form{max-width:none}.thvd-onboarding__skip{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--thvd-border)}.thvd-onboarding__skip-hint{margin:0 0 .75rem;color:#667784;font-size:.85rem}
.thvd-login{max-width:560px;margin:3rem auto;padding:1.5rem;border:1px solid var(--thvd-border,#dbe2ea);border-radius:.6rem;background:#fff}.thvd-login h2{margin-top:0}.thvd-login__form{display:grid;gap:1rem}.thvd-login__form>label:not(.thvd-login__remember){display:grid;gap:.35rem}.thvd-login__form input[type=text],.thvd-login__form input[type=password]{width:100%;padding:.75rem;border:1px solid #b8c2cc;border-radius:.35rem}.thvd-login__remember{display:flex;align-items:center;gap:.5rem}.thvd-login__remember input{width:auto}.thvd-login__form button{justify-self:start;padding:.75rem 1.25rem;border:0;border-radius:.35rem;background:#004680;color:#fff;cursor:pointer}.thvd-login__form button:hover{background:#00345f}
.thvd-product-form{max-width:920px}.thvd-product-form__section{margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--thvd-border)}.thvd-product-form__section>h3{margin:0 0 1.25rem;font-size:1.1rem}.thvd-product-form__hint{margin:-.75rem 0 1.25rem;color:#808080}.thvd-product-form__field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.25rem;font-size:.85rem;font-weight:600;color:#4a4a4a}.thvd-product-form__field input,.thvd-product-form__field textarea,.thvd-product-form__field select{width:100%;padding:.65rem;border:1px solid var(--thvd-border);border-radius:.2rem;background:#fff;font:inherit;font-weight:400;color:#333}.thvd-product-form__field--price input{max-width:160px;text-align:right}.thvd-product-image{width:180px;min-height:120px;margin-bottom:.8rem;border:1px dashed var(--thvd-border);border-radius:.5rem;background:#f8fafc}.thvd-product-image img{display:block;width:100%;height:auto;border-radius:.5rem}.thvd .thvd__outline-button{display:inline-block;padding:.55rem .85rem;border:1px solid var(--thvd-accent)!important;border-radius:.2rem;background:#fff!important;color:var(--thvd-accent)!important;text-decoration:none!important;cursor:pointer}.thvd .thvd__outline-button:hover{background:#f3f7fa!important;color:var(--thvd-accent-hover)!important}.thvd-product-form__actions{padding-top:.5rem}.thvd-product-form__actions button{min-width:150px;padding:.7rem 1rem;border:0;border-radius:.2rem}
.thvd-variation-tabs{display:flex;flex-wrap:wrap;gap:.45rem;margin:0;padding:0;list-style:none}.thvd-variation-tab{padding:.55rem .8rem;border:1px solid var(--thvd-border);border-radius:.2rem;background:#fff;color:#666;cursor:pointer;font-size:.8rem}.thvd-variation-tab:hover{border-color:var(--thvd-accent);color:var(--thvd-accent)}.thvd-variation-tab.is-active{border-color:var(--thvd-accent);background:var(--thvd-accent);color:#fff}.thvd-variation-tab--add{border-style:dashed;color:var(--thvd-accent);font-size:1rem;font-weight:700}.thvd-variation-panel{display:none;margin-top:.7rem;padding:1.25rem;border:1px solid var(--thvd-border);border-radius:.2rem}.thvd-variation-panel.is-active{display:block}.thvd-variation-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.thvd-variation-delete{display:flex;align-items:center;gap:.7rem;padding-top:1rem;border-top:1px solid var(--thvd-border);color:#b42318;font-size:.82rem}.thvd-variation-remove{margin-top:.25rem}
.thvd-toggle{position:relative;display:inline-block;width:44px;height:24px}.thvd-toggle input{width:0;height:0;opacity:0}.thvd-toggle>span{position:absolute;inset:0;border-radius:24px;background:#ccc;cursor:pointer;transition:.2s}.thvd-toggle>span:before{position:absolute;bottom:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;content:"";transition:.2s}.thvd-toggle input:checked+span{background:var(--thvd-accent)}.thvd-toggle input:checked+span:before{transform:translateX(20px)}.thvd-toggle--danger input:checked+span{background:#b42318}
.thvd-product-form .mce-btn button,.thvd-product-form .mce-toolbar button,.thvd-product-form .quicktags-toolbar input.ed_button{background:transparent!important;border-color:transparent!important;color:#333!important;box-shadow:none!important}.thvd-product-form .quicktags-toolbar input.ed_button{display:inline-block!important;width:auto!important;min-width:26px!important;height:26px!important;margin:2px 1px!important;padding:0 6px!important;border:1px solid #b8c2cc!important;border-radius:3px!important;background:#fff!important;color:#333!important;line-height:24px!important}.thvd-product-form .quicktags-toolbar input.ed_button:hover,.thvd-product-form .quicktags-toolbar input.ed_button:focus{border-color:var(--thvd-accent)!important;background:#f3f7fa!important;color:var(--thvd-accent)!important}.thvd-product-form .mce-toolbar-grp,.thvd-product-form .quicktags-toolbar{display:block!important;background:#f3f3f3!important}.thvd-product-form .wp-switch-editor{background:#f3f3f3!important;color:#333!important}.thvd-product-form .wp-editor-container{border-color:var(--thvd-border)}
@media(max-width:900px){.thvd__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.thvd-order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.thvd-order-filters__search{grid-column:auto}}@media(max-width:700px){.thvd{grid-template-columns:1fr}.thvd__nav{flex-direction:row;overflow-x:auto}.thvd__nav-link{white-space:nowrap}.thvd__form,.thvd-order-filters,.thvd-onboarding__steps{grid-template-columns:1fr}.thvd-office-form>*{grid-column:1!important}.thvd__chart{gap:.35rem;padding:.75rem}.thvd__chart-value{display:none}.thvd-variation-attributes,.thvd-order-addresses{grid-template-columns:1fr}}@media(max-width:480px){.thvd__stats{grid-template-columns:1fr}.thvd__section-heading,.thvd-order-detail__header{align-items:flex-start;flex-direction:column}}
