/* Standalone application base styles. No theme or WordPress admin CSS is needed. */
:root{color-scheme:light;--tpq-navy:#16334e;--tpq-blue:#145d92;--tpq-text:#172e43;--tpq-muted:#415b71;--tpq-border:#afc1d0;--tpq-page:#edf2f7}
*{box-sizing:border-box}
html{min-height:100%;background:var(--tpq-page)}
body.tpq-app{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--tpq-page);color:var(--tpq-text);font:400 16px/1.55 "Segoe UI",Arial,sans-serif}
.tpq-app a{color:#11598d;text-underline-offset:3px}
.tpq-app a:hover{color:#083b61}
.tpq-app :focus-visible{outline:3px solid #086aab;outline-offset:3px}
.tpq-app-skip{position:fixed;z-index:20;left:16px;top:8px;transform:translateY(-180%);padding:10px 18px;background:#fff;color:#16334e;border:2px solid #145d92;border-radius:5px}
.tpq-app-skip:focus{transform:none}
.tpq-app-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px max(28px,calc((100% - 1600px)/2));background:var(--tpq-navy);color:#fff;border-bottom:4px solid #42b7e6}
.tpq-app-brand{display:flex;align-items:center;gap:25px;min-width:0}
.tpq-app-logo{display:flex;align-items:center;flex:0 0 auto;width:232px;height:78px;padding:4px 10px;background:#fff;border:1px solid #d1dee7;border-radius:6px}
.tpq-app-logo img{display:block;width:100%;height:100%;object-fit:contain}
.tpq-app-product strong{display:block;color:#fff;font-size:21px;font-weight:600;line-height:1.4}
.tpq-app-product span{display:block;margin-top:4px;color:#d5e5f2;font-size:15px}
.tpq-app-header-note{max-width:250px;color:#e0edf6;font-size:15px;text-align:right}
.tpq-app-account{display:flex;align-items:center;justify-content:flex-end;gap:16px;color:#fff;min-width:0}
.tpq-app-account>span{max-width:260px;overflow-wrap:anywhere}
.tpq-app .tpq-app-account a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:6px 15px;flex:0 0 auto;border:1px solid #bfdaed;border-radius:5px;color:#fff;text-decoration:none}
.tpq-app .tpq-app-account a:hover{background:#2c526f;color:#fff}
.tpq-app-header :focus-visible,.tpq-app-navigation :focus-visible{outline-color:#7edcff}
.tpq-app-navigation{background:#22465f;color:#fff;border-bottom:1px solid #9bb4c7}
.tpq-app-navigation>div{display:flex;gap:6px;max-width:1656px;margin:0 auto;padding:10px 28px}
.tpq-app .tpq-app-navigation a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 20px;border-radius:5px;color:#fff;text-decoration:none;font-weight:600;border:1px solid transparent}
.tpq-app .tpq-app-navigation a:hover{background:#345d7b;color:#fff}
.tpq-app .tpq-app-navigation a[aria-current=page]{background:#fff;border-color:#fff;color:#153d5b}
.tpq-app-main{flex:1;width:100%;max-width:1656px;margin:0 auto;padding:32px 28px 48px;min-width:0}
.tpq-app-main:focus{outline:none}
.tpq-app-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:19px max(28px,calc((100% - 1600px)/2));background:#fff;border-top:1px solid var(--tpq-border);font-size:13px;color:#39546a}
.tpq-app-kicker{margin:0 0 10px;color:#0e5c8b;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.tpq-app-welcome{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.85fr);max-width:1120px;margin:38px auto 48px;gap:70px;align-items:start}
.tpq-app-introduction{padding:22px 0}
.tpq-app-introduction h1{font-size:43px;line-height:1.14;letter-spacing:-.025em;margin:0 0 26px;color:#16334e;font-weight:600;max-width:510px}
.tpq-app-lead{font-size:20px;line-height:1.65;max-width:540px;margin:0;color:#2a485f}
.tpq-app-customer-note{margin-top:38px;padding:23px 25px;background:#fff;border:1px solid var(--tpq-border);border-left:5px solid #145d92;border-radius:5px}
.tpq-app-customer-note h2{margin:0 0 9px;font-size:21px;font-weight:600;color:#183950}
.tpq-app-customer-note p{margin:0;color:#314d63}
.tpq-app-login{padding:30px 32px 33px;background:#fff;border:1px solid #a9bece;border-radius:8px;box-shadow:0 10px 25px rgba(24,52,78,.08)}
.tpq-app-login h2{margin:0 0 12px;font-size:26px;line-height:1.3;font-weight:600;color:#18374f}
.tpq-app-login>p:not(.tpq-app-kicker){margin:0 0 22px;color:#415a70}
.tpq-app #tpq-login-form{margin:0}
.tpq-app #tpq-login-form p{margin:0 0 20px}
.tpq-app #tpq-login-form label{display:block;margin-bottom:7px;font-weight:600;color:#19374d}
.tpq-app #tpq-login-form input[type=text],.tpq-app #tpq-login-form input[type=password]{display:block;width:100%;height:46px;padding:9px 11px;border:1px solid #7892a7;border-radius:4px;background:#fff;color:#172e43;font:inherit}
.tpq-app #tpq-login-form .login-remember label{display:flex;align-items:center;gap:9px;margin:0;font-weight:400}
.tpq-app #tpq-login-form .login-remember input{width:18px;height:18px;margin:0;accent-color:#145d92}
.tpq-app #tpq-login-form .login-submit{margin:25px 0 16px}
.tpq-app #tpq-login-submit{width:100%;min-height:46px;font-size:16px}
.tpq-app-password-link{display:inline-block;margin-top:3px;font-size:15px}
.tpq-app-message{max-width:720px;margin:42px auto;padding:34px;background:#fff;border:1px solid var(--tpq-border);border-top:5px solid #145d92;border-radius:7px}
.tpq-app-message h1{font-size:30px;line-height:1.3;color:#16334e;margin:0 0 18px;font-weight:600}
.tpq-app-message p{color:#314d63}
.tpq-app-message-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
/* These classes replace the small portion of admin base CSS used by staff views. */
.tpq-app .button,.tpq-app .page-title-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 15px;gap:7px;border:1px solid #67849b;border-radius:4px;background:#fff;color:#16476b;font:600 15px/1.4 "Segoe UI",Arial,sans-serif;text-decoration:none;text-align:center;cursor:pointer;box-shadow:none;vertical-align:middle}
.tpq-app .button:hover,.tpq-app .page-title-action:hover{background:#e8f1f8;color:#103b5c;border-color:#145d92}
.tpq-app .button-primary,.tpq-app input[type=submit]{background:#145d92;color:#fff;border:1px solid #145d92}
.tpq-app .button-primary:hover,.tpq-app input[type=submit]:hover{background:#0d4773;color:#fff;border-color:#0d4773}
.tpq-app .button:disabled,.tpq-app input:disabled,.tpq-app select:disabled,.tpq-app textarea:disabled{cursor:default;opacity:1;background:#e0e7ee;color:#43586b;border-color:#9bafbf}
.tpq-app #tpq-admin{max-width:none;margin:0;color:#182e42;font-size:16px;line-height:1.55}
.tpq-app #tpq-admin .tpq-heading,.tpq-app #tpq-admin .tpq-footer{display:none}
.tpq-app #tpq-admin h1{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 26px;font-size:29px;font-weight:600;line-height:1.4;color:#18364d}
.tpq-app #tpq-admin h1 .page-title-action{font-size:14px;font-weight:600}
.tpq-app #tpq-admin h2{color:#18364d;line-height:1.4}
.tpq-app #tpq-admin h3{font-size:19px;line-height:1.45;color:#18364d}
.tpq-app #tpq-admin p{margin:0 0 18px}
.tpq-app #tpq-admin .tpq-actions{margin:22px 0 0}
.tpq-app #tpq-admin .tpq-actions form{margin:0}
.tpq-app #tpq-admin input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.tpq-app #tpq-admin select,.tpq-app #tpq-admin textarea{min-height:40px;padding:8px 10px;border:1px solid #7892a7;border-radius:4px;background:#fff;color:#172e43;font:400 16px/1.4 "Segoe UI",Arial,sans-serif;max-width:100%}
.tpq-app #tpq-admin select option{background:#fff;color:#172e43}
.tpq-app #tpq-admin input[type=checkbox],.tpq-app #tpq-admin input[type=radio]{width:18px;height:18px;accent-color:#145d92;vertical-align:middle;margin:0 7px 0 0}
.tpq-app #tpq-admin input[readonly],.tpq-app #tpq-admin textarea[readonly]{background:#edf3f8;color:#28465c}
.tpq-app #tpq-admin .tpq-settings label{line-height:1.5}
.tpq-app #tpq-admin .tpq-settings fieldset:disabled{opacity:1}
.tpq-app #tpq-admin .tpq-filters{border-radius:6px;gap:16px}
.tpq-app #tpq-admin .tpq-filters label{min-width:0}
.tpq-app #tpq-admin .tpq-filters input[type=number]{width:115px}
.tpq-app #tpq-admin .tpq-stats span{color:#29475e}
.tpq-app #tpq-admin .tpq-card,.tpq-app #tpq-admin .tpq-filters,.tpq-app #tpq-admin .tpq-stats>div{box-shadow:0 2px 5px rgba(25,51,74,.035)}
.tpq-app #tpq-admin .widefat{width:100%;border-collapse:collapse;background:#fff;border:1px solid #a9bdcc;border-radius:5px;font-size:15px;table-layout:auto}
.tpq-app #tpq-admin .widefat thead{background:#dee9f2;color:#173a56}
.tpq-app #tpq-admin .widefat th{text-align:left;font-weight:600;line-height:1.4;white-space:normal;border-bottom:1px solid #9db4c6}
.tpq-app #tpq-admin .widefat th a{color:#164f7a}
.tpq-app #tpq-admin .widefat td{border-bottom:1px solid #c5d3df;overflow-wrap:anywhere;line-height:1.5}
.tpq-app #tpq-admin .widefat.striped tbody tr:nth-child(even){background:#eef4f9}
.tpq-app #tpq-admin .widefat .button{white-space:nowrap;min-height:36px;padding:6px 11px;font-size:14px}
.tpq-app #tpq-admin .notice{padding:14px 18px;margin:0 0 24px;background:#fff;border:1px solid #acbfce;border-left:5px solid #145d92;color:#17384f;border-radius:4px}
.tpq-app #tpq-admin .notice p{margin:0}
.tpq-app #tpq-admin .notice-error{background:#fff0ef;border-left-color:#a52f31;color:#812125}
.tpq-app #tpq-admin .notice-success{background:#edf8f0;border-left-color:#267143;color:#18532f}
.tpq-app #tpq-admin .notice-warning{background:#fff5dc;border-left-color:#94620b;color:#6f4708}
.tpq-app #tpq-admin code{padding:3px 7px;border:1px solid #c2d0dc;border-radius:4px;background:#edf3f7;color:#173c58;font:15px/1.5 Consolas,monospace}
.tpq-app #tpq-admin .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;margin:0 5px 7px 0;padding:5px 10px;border:1px solid #8ea8bb;border-radius:4px;background:#fff;color:#154c77;text-decoration:none}
.tpq-app #tpq-admin .page-numbers.current{background:#145d92;color:#fff;border-color:#145d92}
.tpq-app #tpq-admin .page-numbers.dots{background:transparent;border-color:transparent;color:#304e65}
@media(max-width:1100px){.tpq-app-brand{gap:18px}.tpq-app-product strong{font-size:19px}.tpq-app-header-note{display:none}.tpq-app-welcome{gap:36px}.tpq-app-introduction h1{font-size:37px}.tpq-app #tpq-admin .widefat{display:block;overflow-x:auto}.tpq-app #tpq-admin .tpq-register th,.tpq-app #tpq-admin .tpq-register td{min-width:130px}.tpq-app #tpq-admin .tpq-register td:first-child,.tpq-app #tpq-admin .tpq-register th:first-child{min-width:200px}}
@media(max-width:760px){.tpq-app-header{align-items:flex-start;gap:16px;padding:18px 20px;flex-wrap:wrap}.tpq-app-logo{width:200px;height:68px}.tpq-app-product strong{font-size:18px}.tpq-app-product span{font-size:14px}.tpq-app-account{width:100%;justify-content:space-between;padding-top:12px;border-top:1px solid #56758e;font-size:15px}.tpq-app-account>span{max-width:calc(100% - 105px)}.tpq-app-navigation>div{padding:10px 20px;flex-wrap:wrap;gap:6px}.tpq-app .tpq-app-navigation a{padding:8px 14px;font-size:15px}.tpq-app-main{padding:26px 20px 36px}.tpq-app-welcome{grid-template-columns:1fr;gap:27px;max-width:560px;margin:0 auto 20px}.tpq-app-introduction{padding:4px 0 0}.tpq-app-introduction h1{max-width:450px;font-size:35px;margin-bottom:18px}.tpq-app-lead{font-size:18px;line-height:1.6}.tpq-app-customer-note{margin-top:24px;padding:19px 20px}.tpq-app-login{padding:26px}.tpq-app-footer{padding:17px 20px}.tpq-app-message{margin:12px auto;padding:26px}.tpq-app-message h1{font-size:26px}.tpq-app #tpq-admin .tpq-card{padding:20px}.tpq-app #tpq-admin .tpq-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tpq-app #tpq-admin .tpq-stats div{padding:13px 10px}.tpq-app #tpq-admin .tpq-stats strong{font-size:25px}.tpq-app #tpq-admin .tpq-stats span{font-size:14px}.tpq-app #tpq-admin .tpq-field-grid{gap:18px}}
@media(max-width:500px){.tpq-app-header{padding:16px}.tpq-app-brand{gap:12px;width:100%}.tpq-app-logo{width:158px;height:54px;padding:3px 7px}.tpq-app-product{min-width:0}.tpq-app-product strong{font-size:16px;line-height:1.35}.tpq-app-product span{font-size:13px;margin-top:3px}.tpq-app-navigation>div{padding:10px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tpq-app .tpq-app-navigation a{padding:8px 9px;font-size:14px;min-height:42px}.tpq-app-main{padding:24px 16px 30px}.tpq-app-introduction h1{font-size:32px}.tpq-app-customer-note{padding:17px 18px}.tpq-app-login{padding:23px 20px}.tpq-app-login h2{font-size:24px}.tpq-app-footer{padding:16px;font-size:12px}.tpq-app-message{padding:23px 20px}.tpq-app #tpq-admin h1{font-size:25px;gap:10px}.tpq-app #tpq-admin .tpq-card{padding:17px}.tpq-app #tpq-admin .tpq-filters{padding:17px;gap:14px}.tpq-app #tpq-admin .tpq-filters label,.tpq-app #tpq-admin .tpq-filters input,.tpq-app #tpq-admin .tpq-filters select,.tpq-app #tpq-admin .tpq-filters .button{width:100%}.tpq-app #tpq-admin .tpq-filters input[type=search]{min-width:0}.tpq-app #tpq-admin .tpq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tpq-app #tpq-admin .tpq-stats span{font-size:15px}.tpq-app #tpq-admin .tpq-actions>.button,.tpq-app #tpq-admin .tpq-actions>form{max-width:100%}.tpq-app #tpq-admin .tpq-smtp-grid{grid-template-columns:1fr}.tpq-app #tpq-admin .tpq-smtp-grid select{min-width:0;width:100%}}
