/* Use blue shades for navigation, actions, values, and status. */
.blue-refined{--action:#3559c4;--action-hover:#2948a6;--action-soft:#ecf0fc;--amber:#1655a3;--amber-soft:#e0ecfb;--mint:#245d7b}
.blue-refined .ui-icon{width:21px;height:21px;flex:0 0 21px;display:inline-block;vertical-align:middle;pointer-events:none}
.blue-refined .focus-word{color:var(--action)}
.blue-refined .header{gap:24px}
.blue-refined .brand-nav{gap:7px;align-items:center;align-self:center;min-width:0}
.blue-refined .brand-nav a{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;min-width:0;width:auto;flex:none;padding:0 14px;font-size:15px;line-height:1.3;border-radius:10px;white-space:nowrap;color:#52697d}
.blue-refined .brand-nav a.active{background:#eaf3fc;color:#214e78}
.blue-refined .brand-nav a.active:after{left:14px;right:14px;bottom:0;height:3px;background:var(--action);border-radius:3px 3px 0 0}
.blue-refined .brand-nav .ui-icon{width:19px;height:19px;flex-basis:19px}
.blue-refined :is(.btn-reg,.a-submit,.pk-actions .pk-buy:not(.owned),.q-bar .primary,.redo-b,.u-form-submit){background:var(--action);color:white;box-shadow:0 4px 12px #3557bf1a;border-color:var(--action)}
.blue-refined :is(.btn-reg,.a-submit,.pk-actions .pk-buy:not(.owned),.q-bar .primary,.redo-b,.u-form-submit):hover:not(:disabled){background:var(--action-hover);color:white}
.blue-refined .auth-card .a-submit:disabled{background:#bdcfde;color:#fff;box-shadow:none;border-color:transparent}
.blue-refined .btn-reg{padding:11px 19px;border-radius:10px;line-height:1.3;font-size:14px}
.blue-refined .hub-result-h .t{display:flex;align-items:center;gap:10px}
.blue-refined .hub-result-h .t:before{content:'';width:4px;height:22px;background:var(--action);border-radius:4px}
.blue-refined .hub-search{background:#fff;border-color:#c7dcec;border-radius:10px}
.blue-refined .hs-ico{display:flex;align-items:center;justify-content:center;width:20px;color:#7390a9}
.blue-refined .hs-ico .ui-icon{width:18px;height:18px;flex-basis:18px}
.blue-refined .hub-reset{display:inline-flex;align-items:center;gap:7px;justify-content:center;min-height:38px;padding:8px 12px;line-height:1.3;border-radius:9px;color:#526b80;background:#edf4fb;white-space:nowrap}
.blue-refined .hub-reset .ui-icon{width:16px;height:16px;flex-basis:16px}
.blue-refined .hub-chip{min-height:34px;line-height:1.35;padding:7px 13px;font-size:13px;border-color:#d7e4ef}
.blue-refined .hub-chip.on{box-shadow:0 3px 8px #255b8618;background:#285f8f}
.blue-refined .hub-paper{border-color:#d6e4ef}
.blue-refined .hub-paper:hover{border-color:#96a9e2;box-shadow:0 12px 26px #3b4c8015}
.blue-refined .hub-paper .pprice{color:var(--amber)}
.blue-refined .hub-paper .pgo{background:var(--action);color:#fff;border:1px solid var(--action);box-shadow:none;padding:8px 14px;font-weight:600}
.blue-refined .hub-paper:hover .pgo{background:var(--action-hover);color:#fff;border-color:var(--action-hover)}
.blue-refined .hub-paper .pfoot{border-top-color:#e6edf4}
.blue-refined .hub-paper .pstat{color:#526b80}
/* Tabs must fit icon + label + count as one unit. Clear previous tab frame rules. */
.blue-refined .cq-tabs{display:inline-flex;align-items:stretch;align-self:flex-start;width:max-content;max-width:100%;flex-wrap:wrap;gap:4px;padding:6px;background:#eaf1f8;border:1px solid #d7e4ef;border-radius:14px;margin:0;box-shadow:inset 0 1px #fff}
.blue-refined .cq-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-width:max-content;width:auto;min-height:46px;height:auto;padding:11px 19px;margin:0;border:1px solid transparent;border-bottom:1px solid transparent;border-radius:9px;background:none;color:#506b82;line-height:1.4;white-space:nowrap;font-size:16px;font-weight:600;overflow:visible}
.blue-refined .cq-tab.on{background:#fff;border-color:#d8e4ee;border-bottom-color:#d8e4ee;color:#173f62;box-shadow:0 3px 8px #2852760c}
.blue-refined .cq-tab:hover{background:#ffffffa6;border-color:#d3e2ef;color:#214e78}
.blue-refined .cq-tab .num{margin:0 0 0 2px;padding:0;min-width:0;background:none;color:#6e8497;opacity:1;font-size:12px;font-weight:600;line-height:1.4}
.blue-refined .cq-tab .ui-icon{width:20px;height:20px;flex-basis:20px}
.blue-refined .cq-tab[data-icon-tone="coral"] .ui-icon{color:var(--action)}
.blue-refined .cq-tab[data-icon-tone="amber"] .ui-icon{color:var(--amber)}
.blue-refined .cq-tab[data-icon-tone="blue"] .ui-icon{color:#316f9e}
.blue-refined .cq-tab.on .num{color:var(--action)}
.blue-refined .cq-filter :is(input,select,button){height:40px;font-size:14px;border-radius:9px;border-color:#cfdfec}
.blue-refined .cq-item{border-left-color:#8aa1e5}
.blue-refined .cq-item .seq{background:var(--amber-soft);color:var(--amber)}
.blue-refined .cq-item .redo-b{background:var(--action);color:#fff;font-size:14px;border:0;line-height:1.4}
.blue-refined .cq-item .tag{color:var(--secondary)}
.blue-refined .pk-cats{gap:10px;align-items:stretch}
.blue-refined .pk-actions .pk-fav{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4}
.blue-refined .pk-cat{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;min-width:max-content;max-width:100%;width:auto;flex:0 1 auto;min-height:48px;height:auto;padding:12px 18px;line-height:1.4;font-size:15px;background:#f0f6fc;border:1px solid #dce8f2;color:#2c618c;border-radius:10px;white-space:normal}
.blue-refined .pk-cat.on{background:#214e78;color:#fff;border-color:#214e78;box-shadow:0 3px 8px #214e781a}
.blue-refined .pk-cat i{display:flex;align-items:center;justify-content:center;font-size:0;width:21px;flex:0 0 21px}
.blue-refined .pk-cat small{font-size:12px;line-height:1.6;color:#6d879c}
.blue-refined .pk-cat.on small{color:#dae8f3}
.blue-refined .pk-set .sgo{background:#edf5fc;color:#285c88;border:1px solid #ccdeed;box-shadow:none;min-height:38px;padding:9px 16px;line-height:1.4;font-size:13px}
.blue-refined .pk-set:hover{background:#f7fafe;border-color:#b4c1e8}
.blue-refined .pk-set:hover .sgo{background:var(--action);color:#fff;border-color:var(--action)}
.blue-refined .pk-set.pk-ai>.sgo{background:transparent;border:0;padding:0;min-height:0;box-shadow:none;color:inherit}
.blue-refined .pk-set.pk-ai:hover>.sgo{background:transparent;border:0;color:inherit}
.blue-refined .pk-cat.gold.on{background:#214e78;color:#fff;border-color:#214e78}
.blue-refined .pk-card-h:before{background:var(--action)}
.blue-refined .um>span:first-child{display:inline-flex;align-items:center;gap:10px;line-height:1.45;min-width:0}
.blue-refined .um .ui-icon{width:20px;height:20px;flex-basis:20px;color:#7290a9}
.blue-refined .um.on{background:#eaf3fc;color:#214e78;box-shadow:inset 3px 0 var(--action)}
.blue-refined .um.on .ui-icon{color:var(--action)}
.blue-refined .um[data-view="favs"] .ui-icon{color:var(--amber)}
.blue-refined .stat-card:nth-child(2){background:#eff5fd;border-color:#c5d8f0}
.blue-refined .stat-card:nth-child(2) .v{color:var(--amber)}
.blue-refined .stat-card:nth-child(3){background:#f1f4fd;border-color:#d0d8f0}
.blue-refined .stat-card:nth-child(3) .v{color:var(--action)}
.blue-refined .hd-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;line-height:1.35;padding:7px 10px;white-space:nowrap}
.blue-refined .hd-tool .ui-icon{width:17px;height:17px;flex-basis:17px}
.blue-refined .hd-tool b{margin-left:1px;color:var(--action)}
.blue-refined .q-bar .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;line-height:1.3}
.blue-refined .q-bar .btn .ui-icon{width:18px;height:18px;flex-basis:18px}
.blue-refined .btn-submit{background:#fff;color:#285c88;border:1px solid #b8d1e5;box-shadow:none}
.blue-refined .btn-submit:hover{background:#eef5fc;color:#173f62}
.blue-refined .exam-modes .em{min-width:0;min-height:42px;padding:10px 8px;border-radius:9px;line-height:1.4}
.blue-refined .exam-modes .em.on{background:#ecf0fc;border-color:#a2b2e3}
.blue-refined .exam-modes .em.on b{color:#314fa8}
.blue-refined .ans-grid .n.cur{border-color:var(--action);color:var(--action)}
.blue-refined .ans-grid .n.done{background:#285f8f;color:#fff}
.blue-refined .side-brand{border-left:3px solid #85b0e5}
.blue-refined .result-score strong{color:var(--action)}
.blue-refined .result-card{border-top-color:var(--action)}
.blue-refined .result-actions a:first-child{background:var(--action);color:#fff}
.blue-refined :is(button,a,[tabindex]):focus-visible{outline:3px solid #5b7ad7;outline-offset:3px}
@media(max-width:1100px){.blue-refined .header{gap:17px}.blue-refined .brand-nav{gap:4px}.blue-refined .brand-nav a{padding-inline:12px;font-size:14px}}
@media(max-width:760px){
 .blue-refined .header{gap:12px}
 .blue-refined .brand-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding-top:10px;align-self:auto;align-items:center}
 .blue-refined .brand-nav a{gap:5px;padding:10px 4px;height:auto;min-height:42px;min-width:0;font-size:13px;line-height:1.4;border-radius:8px}
 .blue-refined .brand-nav .ui-icon{width:17px;height:17px;flex-basis:17px}
 .blue-refined .brand-nav a.active:after{left:18px;right:18px}
 .blue-refined .btn-reg{padding:10px 15px;font-size:13px}
 .blue-refined .cq-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:3px;padding:4px;border-radius:12px;align-self:stretch}
 .blue-refined .cq-tab{padding:11px 4px;gap:4px;width:100%;min-width:0;min-height:44px;font-size:13px;line-height:1.4;border-radius:8px}
 .blue-refined .cq-tab .ui-icon{width:17px;height:17px;flex-basis:17px}
 .blue-refined .cq-tab .num{font-size:10px;margin-left:0}
 .blue-refined .cq-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:center}
 .blue-refined .cq-filter :is(input,select,button){font-size:13px}
 .blue-refined .cq-filter input{grid-column:1/-1;width:100%;min-width:0;max-width:none}
 .blue-refined .cq-filter select{width:100%;min-width:0;max-width:none}
 .blue-refined .cq-filter button{justify-self:start;min-width:86px}
 .blue-refined .cq-count{justify-self:end;margin:0}
 .blue-refined .pk-cat{padding:11px 13px;font-size:14px;gap:7px;min-height:44px}
 .blue-refined .pk-cat .ui-icon{width:18px;height:18px;flex-basis:18px}
 .blue-refined .hub-chip{min-height:33px;font-size:12px;padding:7px 11px}
 .blue-refined .hub-paper .pgo{font-size:12px;padding:8px}
 .blue-refined .um>span:first-child{gap:7px}.blue-refined .um .ui-icon{width:18px;height:18px;flex-basis:18px}
 .blue-refined .hd-tool{padding:6px;font-size:11px;gap:4px}.blue-refined .hd-tool .ui-icon{width:15px;height:15px;flex-basis:15px}
}
