/* Đại Tài Lộc — warranty and admin design system */
:root{--ink:#25362e;--muted:#758078;--green:#2A724A;--green-hover:#1f523d;--green-soft:#eaf2e9;--paper:#f7f8f5;--line:#e4e9e2;--ease:cubic-bezier(.2,.7,.2,1);font-family:'Be Vietnam Pro',sans-serif;color:var(--ink);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);line-height:1.6}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:wait}input,button,a,summary{-webkit-tap-highlight-color:transparent}button,a,input,summary{transition:background-color .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease)}button:active,.button:active{transform:translateY(1px)}:focus-visible{outline:3px solid #91b6a0;outline-offset:4px}[hidden]{display:none!important}.icon{flex-shrink:0;vertical-align:middle}h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}.skip-link{position:fixed;top:10px;left:10px;z-index:5;padding:12px 20px;background:var(--green);color:white;transform:translateY(-150%);border-radius:8px}.skip-link:focus{transform:translateY(0)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;min-height:44px;border-radius:8px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}.button-primary{background:var(--green);color:white;border:1px solid var(--green)}.button-primary:hover{background:var(--green-hover);border-color:var(--green-hover)}.button-secondary{background:white;border:1px solid #dce3da}.button-secondary:hover{background:#f0f4ed;border-color:#bdcdbb}.button-quiet{color:#536258;border:1px solid transparent}.button-quiet:hover{background:#eff3ed}.button-small{min-height:32px;padding:7px 12px;font-size:11px}.text-link{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--green)}.text-link:hover{color:var(--green-hover)}.text-link .icon{width:17px;height:17px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:7px;color:#728077;flex-shrink:0}.icon-button:hover{background:var(--green-soft);color:var(--green)}.icon-button .icon{width:17px;height:17px}.eyebrow{display:flex;align-items:center;gap:8px;color:var(--green);font-size:11px;letter-spacing:.04em;font-weight:600}.green-dot{width:6px;height:6px;border-radius:50%;background:var(--green)}.small-label{display:block;color:var(--muted);font-size:11px;font-weight:400}.record-id{font-size:10px;font-variant-numeric:tabular-nums;color:#8a958b;display:block;line-height:1.6}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:600;color:#5b675f;position:relative}.field input{width:100%;min-width:0;min-height:44px;background:#fff;border:1px solid #dfe5dc;border-radius:7px;padding:10px 12px;color:var(--ink);font-size:12px;outline:none}.field input::placeholder{color:#96a097;font-weight:400}.field input:focus{border-color:#6b957e;box-shadow:0 0 0 3px #e8f0e7}.required{color:#9f4945;position:absolute;right:0;top:0}.field-help{font-size:11px;color:var(--muted);display:flex;align-items:flex-start;gap:6px}.field-help .icon{width:14px;height:14px;margin-top:2px}.inline-error{display:flex;align-items:flex-start;gap:8px;color:#984940;background:#fcf0ed;border:1px solid #eed4ce;padding:12px;border-radius:8px;font-size:12px}.toast{position:fixed;z-index:4;right:24px;bottom:24px;max-width:min(440px,calc(100vw - 32px));padding:16px 20px;border-radius:10px;background:var(--ink);color:white;box-shadow:0 8px 30px #273c2820;font-size:12px;animation:toast-in .2s var(--ease)}.toast.error{background:#87443c}.toast.success{background:var(--green)}
/* Navigation */
.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{max-width:1264px;min-height:86px;margin:auto;padding:0 32px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}.brand img{width:45px;height:45px;object-fit:contain}.brand-text{display:flex;flex-direction:column;gap:2px}.brand-text strong{font-size:13px;letter-spacing:.08em;font-weight:800;color:#2d694f}.brand-text>span{font-size:9px;color:var(--muted);letter-spacing:.015em}.header-nav{margin-left:auto;display:flex;gap:30px;align-self:stretch}.nav-link{display:flex;align-items:center;font-size:11px;color:#7c867e;border-bottom:2px solid transparent;padding-top:2px}.nav-link.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.nav-link:hover{color:var(--green)}.header-website{display:flex;align-items:center;gap:7px;padding-left:25px;border-left:1px solid var(--line);font-size:11px}.header-website .icon{width:16px;height:16px}
/* Warranty lookup */
.public-main{max-width:1264px;margin:auto;padding:0 32px}.warranty-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:64px;align-items:center;padding:72px 0 56px}.hero-copy h1{font-size:clamp(32px,3.9vw,51px);line-height:1.25;font-weight:700;letter-spacing:-.055em;margin:18px 0 23px}.hero-copy h1>span{color:var(--green)}.hero-description{color:#7a837c;font-size:12px;line-height:1.9}.serial-form{margin-top:33px}.serial-form>label{font-size:11px;font-weight:600;display:flex;justify-content:space-between;margin-bottom:10px}.serial-form>label>span{font-size:10px;color:#8f9a91;letter-spacing:.1em}.search-field{display:flex;gap:12px;align-items:center;background:white;border:1px solid #d6dfd3;padding:7px 7px 7px 16px;border-radius:10px;box-shadow:0 5px 18px #304e3505}.search-field:focus-within{border-color:#759c82;box-shadow:0 0 0 3px #e9efe5}.search-field>.icon{color:#7c9080;width:22px;height:22px}.search-field input{border:0;background:transparent;flex:1;min-width:0;padding:9px 0;outline:none;font-size:12px;letter-spacing:.01em;color:var(--ink);height:43px}.search-field input::placeholder{color:#a0a99f}.search-field .button{height:43px;min-height:43px;padding:10px 18px;border-radius:7px;font-size:11px}.search-field .button .icon{width:17px;height:17px}.serial-form .field-help{margin-top:12px}.search-trust{display:flex;gap:22px;margin-top:27px;font-size:9px;color:#7d8b7f}.search-trust>span{display:flex;align-items:center;gap:5px}.search-trust .icon{width:13px;height:13px;color:#51866a}
.service-visual{min-height:390px;position:relative;border-radius:18px;background:#e9efe3;overflow:hidden;padding:28px;isolation:isolate}.visual-grid{position:absolute;inset:0;opacity:.3;background-image:linear-gradient(#b2c8ab50 1px,transparent 1px),linear-gradient(90deg,#b2c8ab50 1px,transparent 1px);background-size:35px 35px;z-index:-1}.visual-top{display:flex;justify-content:space-between;color:#6e856c;font-size:8px;letter-spacing:.1em}.visual-top>span:first-child{font-weight:700}.visual-orbit{position:absolute;border:1px solid #bfceb760;border-radius:50%;z-index:-1}.orbit-one{width:440px;height:440px;top:0;left:-18px}.orbit-two{width:330px;height:330px;top:56px;left:37px}.warranty-pass{position:relative;width:100%;max-width:304px;padding:23px 24px;margin:39px auto 32px;background:#fffefb;box-shadow:0 14px 32px #53684c12,0 1px 2px #53684c0a;border:1px solid #fff;border-radius:12px;transform:rotate(-6deg);animation:pass-reveal .65s var(--ease) both}.pass-top{display:flex;gap:9px;align-items:center;font-size:8px;font-weight:600;color:#526d56}.pass-symbol{width:31px;height:31px;display:grid;place-items:center;background:#edf2e8;border-radius:8px;color:var(--green)}.pass-symbol .icon{width:19px;height:19px}.pass-top small{display:block;color:#9caa9a;font-size:7px;font-weight:400;margin-top:2px}.pass-check{display:grid;place-items:center;margin-left:auto;width:23px;height:23px;border:1px solid #e0e8dc;border-radius:50%;color:var(--green)}.pass-check .icon{width:12px;height:12px}.pass-caption{font-size:20px;line-height:1.5;letter-spacing:-.055em;font-weight:600;margin:20px 0 18px;color:#36523e}.pass-lines{display:flex;flex-direction:column;gap:6px;padding-bottom:19px;border-bottom:1px dashed #dce4d8}.pass-lines span{height:4px;background:#eff2e9;border-radius:3px;width:73%}.pass-lines span:last-child{width:47%}.pass-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:17px;gap:8px}.barcode{height:24px;width:77px;background:repeating-linear-gradient(90deg,#677e63 0 1px,transparent 1px 3px,#677e63 3px 5px,transparent 5px 7px,#677e63 7px 8px,transparent 8px 11px)}.pass-bottom>span{font-size:7px;letter-spacing:.045em;font-weight:700;color:#72916e;text-align:right}.pass-bottom small{font-size:6px;font-weight:400;letter-spacing:0}.visual-bottom{display:flex;align-items:center;gap:12px;color:#71836a;margin-top:2px}.visual-stamp{font-size:22px;font-weight:800;letter-spacing:-.075em}.visual-bottom p{font-size:8px;line-height:1.6;padding-left:12px;border-left:1px solid #c6d4be}.lookup-guide{display:flex;gap:12px;align-items:center;padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#819080}.guide-number{font-size:10px;font-weight:600;letter-spacing:.04em;color:#6b8b6d}.lookup-guide p{font-size:10px;flex:1}.guide-divider{height:17px;width:1px;background:#dee6d9;margin:0 20px}
.warranty-result{margin:0 0 18px;background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;scroll-margin-top:25px}.result-heading{padding:24px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.result-heading h2{font-size:20px;font-weight:600;letter-spacing:-.035em;margin-top:6px}.status-tag{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce8d8;background:#f0f5ec;color:var(--green);border-radius:5px;padding:6px 9px;font-size:9px;white-space:nowrap}.status-tag .icon{width:12px;height:12px}.result-content{display:grid;grid-template-columns:1fr 1.1fr;gap:42px;padding:30px 28px}.result-product{display:flex;gap:16px}.product-symbol{width:56px;height:56px;display:grid;place-items:center;background:var(--green-soft);color:var(--green);border-radius:10px;flex-shrink:0}.product-symbol .icon{width:27px;height:27px}.result-product h3{font-size:18px;font-weight:600;line-height:1.7;letter-spacing:-.02em;margin:7px 0}.result-details{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:22px 25px}.result-details dt,.detail-list dt{font-size:10px;color:var(--muted);margin-bottom:6px}.result-details dd{font-size:12px;margin:0;font-weight:500;overflow-wrap:anywhere}.serial-value{color:var(--green);display:flex;align-items:center;gap:6px}.serial-value .icon-button{height:22px;width:22px}.serial-value .icon-button .icon{width:13px;height:13px}.result-note{padding:16px 28px;display:flex;align-items:center;gap:9px;background:#f9faf7;font-size:13px;font-weight:700;color:#000;border-top:1px solid #edf0e8}.result-note>.icon{width:15px;height:15px}.result-note a{margin-left:auto;white-space:nowrap;color:var(--green);font-weight:500}.lookup-error{display:flex;align-items:center;gap:18px;border:1px solid #e5e4d5;background:#faf9f0;border-radius:14px;padding:25px;margin-bottom:18px}.state-icon{width:48px;height:48px;display:grid;place-items:center;color:#6b815b;background:#ecf0e5;border-radius:10px;flex-shrink:0}.lookup-error h2{font-size:16px;margin-bottom:4px}.lookup-error p{font-size:11px;color:#8c907c;max-width:65ch}.lookup-error .text-link{margin-left:auto;white-space:nowrap}
.support-section{display:grid;grid-template-columns:1fr 1.9fr;gap:70px;padding:65px 0 70px;scroll-margin-top:40px}.support-intro h2{font-size:27px;line-height:1.45;letter-spacing:-.05em;font-weight:600;margin:14px 0 15px}.support-intro>p{font-size:11px;color:#8b9388;max-width:32ch;line-height:1.95}.support-intro .text-link{margin-top:24px;font-size:10px}.center-list{display:flex;flex-direction:column}.center-row{display:flex;gap:19px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line)}.center-row:first-child{padding-top:4px}.center-row:last-child{border-bottom:0;padding-bottom:0}.center-code{display:grid;place-items:center;flex-shrink:0;width:41px;height:41px;font-size:9px;color:#8d9f86;border:1px solid #dde5d7;border-radius:8px;letter-spacing:.04em;background:#f5f7f1}.center-info{flex:1;min-width:0}.center-info h3{font-size:12px;font-weight:600;margin-bottom:5px}.center-info p{font-size:10px;color:#7d887b;line-height:1.8}.center-info>span{font-size:9px;color:#a0a898}.center-phone{display:flex;align-items:center;gap:7px;color:var(--green);font-size:10px;font-weight:600;white-space:nowrap}.center-phone .icon{width:14px;height:14px}.center-phone .icon:last-child{margin-left:5px;width:12px}.site-footer{max-width:1200px;margin:auto;border-top:1px solid var(--line);padding:25px 0;display:flex;justify-content:space-between;gap:20px;color:#8c9688;font-size:9px}.site-footer a{display:flex;align-items:center;gap:6px}.site-footer .icon{width:12px;height:12px}
/* Admin workspace */
.admin-header .header-inner{max-width:1500px;min-height:75px;padding:0 40px;gap:25px}.admin-header .brand img{width:37px;height:37px}.admin-header .brand-text strong{font-size:11px}.admin-header .brand-text>span{font-size:8px}.console-label{font-size:10px;color:#869080;border-left:1px solid var(--line);padding-left:25px}.admin-header-right{margin-left:auto;display:flex;align-items:center;gap:12px}.admin-header-right .text-link{font-size:10px;color:#657463}.header-separator{height:23px;width:1px;background:var(--line);margin:0 13px}.admin-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#e9f0e4;font-size:10px;font-weight:600;color:var(--green)}.admin-profile{font-size:10px;font-weight:500;line-height:1.4}.admin-profile small{display:block;font-size:8px;color:#8b9586;font-weight:400;margin-top:3px}.admin-main{max-width:1500px;padding:26px 40px 0;margin:auto}.admin-breadcrumb{display:flex;align-items:center;gap:8px;font-size:9px;color:#97a18f}.admin-breadcrumb .icon{width:10px;height:10px}.admin-breadcrumb span{color:#62745f}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 30px}.admin-heading h1{font-size:30px;font-weight:600;letter-spacing:-.055em;margin:7px 0 9px;line-height:1.4}.heading-dot{color:var(--green)}.admin-heading p{font-size:11px;color:#8a9485}.admin-heading>.button{font-size:11px;align-self:center}.data-overview{display:grid;grid-template-columns:1.15fr 1fr .8fr;border:1px solid var(--line);border-radius:14px;background:#f1f4ec;margin-bottom:28px;padding:24px 26px;gap:35px;align-items:center}.overview-main{display:flex;align-items:center;gap:15px}.overview-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:10px;background:#e1eadb;color:var(--green);flex-shrink:0}.overview-icon .icon{width:24px;height:24px}.data-overview .small-label{font-size:10px;color:#86957f}.data-overview strong{display:flex;align-items:baseline;gap:8px;font-size:26px;font-weight:600;line-height:1.3;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:4px}.data-overview strong small{font-size:9px;font-weight:400;color:#8b9a84;letter-spacing:0}.overview-secondary{border-left:1px solid #dce4d6;padding-left:35px}.overview-secondary strong{font-size:22px;color:#4e6148}.overview-secondary strong small{font-size:10px}.data-panel{border:1px solid var(--line);border-radius:14px;background:white;overflow:visible}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;gap:18px;border-bottom:1px solid #e8ece5}.panel-title{display:flex;align-items:center;gap:14px}.panel-tab{display:flex;align-items:center;gap:8px;color:var(--green)}.panel-tab .icon{width:16px;height:16px}.panel-title h2{font-size:12px;font-weight:600}.row-count{font-size:9px;color:#8b9781;border:1px solid #e5ebdf;background:#f7f9f3;border-radius:4px;padding:2px 7px;white-space:nowrap}.toolbar-actions{display:flex;align-items:center;gap:6px}.toolbar-actions .button{font-size:10px;min-height:36px;padding:9px 12px}.toolbar-actions .button .icon{width:15px;height:15px}.more-dots{font-size:20px;letter-spacing:1px;line-height:1;margin-top:-7px}.action-menu{position:relative}.action-menu>summary{list-style:none}.action-menu>summary::-webkit-details-marker{display:none}.action-menu-content{position:absolute;right:0;top:43px;z-index:2;padding:5px;border:1px solid var(--line);border-radius:9px;background:white;box-shadow:0 8px 25px #3b503016;min-width:210px}.action-menu-content>button{display:flex;gap:10px;align-items:center;padding:11px 12px;width:100%;text-align:left;font-size:11px;border-radius:5px}.action-menu-content>button:hover{background:var(--green-soft)}.action-menu-content .icon{width:15px;height:15px}.filter-form{display:grid;grid-template-columns:minmax(210px,1fr) 155px 155px auto;gap:16px;align-items:end;padding:22px}.filter-form .field{font-size:10px;gap:7px}.filter-form .field input{min-height:40px;font-size:10px;border-color:#e3e8df;padding:9px 11px;border-radius:6px}.filter-search{min-width:0}.input-with-icon{position:relative;display:flex;align-items:center}.input-with-icon>.icon{position:absolute;left:12px;width:15px;height:15px;color:#9aa793;pointer-events:none}.input-with-icon input{padding-left:35px!important}.filter-submit{font-size:10px;min-height:40px;padding:10px 15px;border-radius:6px}.filter-submit .icon{width:15px;height:15px}.filter-reset{grid-column:1/-1;font-size:10px;color:#7a8e73;text-decoration:underline;text-underline-offset:3px;margin-top:-6px;width:max-content}.edit-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f0f5e9;padding:12px 22px;border-top:1px solid #e3ebda;font-size:10px;color:#638153}.edit-banner>span{display:flex;gap:7px;align-items:center}.edit-banner .icon{width:15px;height:15px}.edit-banner .text-link{font-size:10px}
.table-wrapper{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#cdd8c5 #f9faf6}.product-table{border-collapse:collapse;width:100%;min-width:980px;table-layout:fixed;text-align:left}.product-table th{font-size:9px;letter-spacing:.015em;font-weight:500;color:#96a18d;background:#f8faf5;padding:12px 16px;border-top:1px solid #e7ece1;border-bottom:1px solid #e7ece1;white-space:nowrap}.product-table th:first-child{padding-left:22px;width:34%}.product-table th:nth-child(2){width:19%}.product-table th:nth-child(3){width:14%}.product-table th:nth-child(4){width:11%}.product-table th:nth-child(5){width:11%}.product-table th:last-child{width:11%;text-align:right;padding-right:25px}.product-table td{padding:13px 16px;border-bottom:1px solid #f0f2eb;vertical-align:middle;font-size:11px;height:71px}.product-table td:first-child{padding-left:22px}.product-table tr:last-child td{border-bottom:0}.product-table tbody tr[data-id]{cursor:pointer;transition:background-color .2s}.product-table tbody tr[data-id]:hover{background:#fafcf7}.product-name-cell{display:flex;align-items:center;gap:11px}.product-name-cell>div{min-width:0;flex:1}.table-product-mark{height:32px;width:32px;display:grid;place-items:center;background:#f3f6ee;border:1px solid #eaf0e2;border-radius:6px;flex-shrink:0;color:#819576}.table-product-mark .icon{height:17px;width:17px}.row-input{width:100%;border:1px solid transparent;background:transparent;color:#4d6349;font-size:10px;min-height:25px;padding:3px 0;font-variant-numeric:tabular-nums;border-radius:4px;outline:none;text-overflow:ellipsis;opacity:1;-webkit-text-fill-color:currentColor}.row-input:disabled{pointer-events:none;opacity:1}.product-name{font-size:10px;font-weight:500;color:#44533f}.date-input{color:#6e7a66;font-size:10px}.date-input:disabled::-webkit-calendar-picker-indicator{display:none}.warranty-input{color:#769065;font-size:9px}.old-serial{font-size:9px;color:#abb3a3;overflow-wrap:anywhere}.product-table .record-id{font-size:8px;color:#a4ae9b;padding-top:1px}.row-actions{padding-right:17px!important}.row-default-actions,.row-edit-actions{display:flex;justify-content:flex-end;align-items:center;gap:2px}.row-default-actions .icon-button{height:28px;width:28px}.row-default-actions .icon{height:14px;width:14px}.row-edit-actions{gap:3px;flex-wrap:wrap}.row-delete{color:#a35d4d;font-size:9px;padding:5px}.product-table tr.is-editing{background:#fbfcf6}.is-editing .row-input{border:1px solid #c5d7bc;background:white;padding:5px;min-height:32px}.is-editing .row-input:focus{border-color:#82a675;box-shadow:0 0 0 2px #e9f0e2}.is-editing .table-product-mark{display:none}.table-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:50px 20px;min-height:270px;text-align:center}.table-empty h3{font-size:15px;font-weight:500}.table-empty p{font-size:11px;color:#8a9780}.table-empty .button{margin-top:7px;font-size:11px}.table-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:17px 22px;gap:20px}.table-footer>p{font-size:9px;color:#718568;font-variant-numeric:tabular-nums}.table-footer>p>span{color:#9caa93}.pagination{display:flex;align-items:center;gap:4px}.pagination a,.pagination>span{display:grid;place-items:center;min-width:29px;height:29px;padding:0 7px;border-radius:5px;font-size:9px;font-variant-numeric:tabular-nums;color:#839477}.pagination a:hover{background:#f0f5e9;color:var(--green)}.pagination a.active{background:var(--green);color:#fff}.pagination .page-arrow{border:1px solid #e5ecde;margin:0 5px;width:29px;padding:0}.page-arrow .icon{height:13px;width:13px}.pagination .disabled{color:#c0cbb6}.admin-footer{display:flex;align-items:center;justify-content:space-between;padding:22px 0 25px;font-size:8px;color:#9eaa93}
/* Native, keyboard-accessible dialogs */
.modal{width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;padding:28px;border:1px solid #e4e9df;border-radius:16px;background:white;color:var(--ink);box-shadow:0 20px 60px #21371e25}.modal::backdrop{background:#24362660;backdrop-filter:blur(3px)}.modal[open]{animation:dialog-in .2s var(--ease)}.dialog-heading{display:flex;justify-content:center;align-items:center;margin-bottom:20px}.dialog-heading .icon-button{align-self:flex-start}.modal h2{font-size:23px;line-height:1.5;font-weight:600;letter-spacing:-.045em}.dialog-description{font-size:11px;line-height:1.9;color:#929c89;margin:10px 0 24px}.modal form>.field{margin-bottom:17px}.modal .field{font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:21px;border-top:1px solid var(--line)}.dialog-actions .button{font-size:11px}.upload-zone{border:1px dashed #b9ccac;border-radius:10px;display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;padding:27px 15px;background:#fafcf7;cursor:pointer}.upload-zone>.icon{width:27px;height:27px;color:#72985d;margin-bottom:8px}.upload-zone strong{font-size:12px;font-weight:500}.upload-zone span{font-size:10px;color:#929f85}.upload-zone input{margin:16px auto 0;display:block;max-width:100%}.upload-zone input::file-selector-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d6e1cc;border-radius:8px;background:var(--green);font-family:inherit;font-size:12px;font-weight:600;min-height:42px;padding:10px 18px;color:white;margin-right:10px;cursor:pointer;transition:background-color .2s var(--ease)}.upload-zone input::file-selector-button:hover{background:var(--green-hover)}.upload-zone:has(input:focus-visible){border-color:#6b957e;box-shadow:0 0 0 3px #e8f0e7}.file-selection{font-size:11px;color:var(--green);overflow-wrap:anywhere;margin:10px 0}.template-link{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--green);margin-top:15px}.template-link .icon{width:14px;height:14px}.detail-dialog .eyebrow{margin-bottom:10px}.detail-dialog h2{font-size:21px;overflow-wrap:anywhere}.detail-list{margin:25px 0 0}.detail-list>div{display:grid;grid-template-columns:140px 1fr;gap:18px;border-bottom:1px solid #edf1e6;padding:13px 0;align-items:baseline}.detail-list dt{margin:0;font-size:11px}.detail-list dd{margin:0;font-size:12px;overflow-wrap:anywhere}.confirm-dialog{max-width:440px}.button-danger{background:#9c5549;border-color:#9c5549}.button-danger:hover{background:#83463c;border-color:#83463c}
/* Login */
.login-page{min-height:100dvh}.login-header{max-width:1264px;padding:30px 32px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.login-layout{display:grid;grid-template-columns:1.1fr .9fr;max-width:1150px;gap:100px;margin:65px auto 75px;padding:0 32px;align-items:center}.login-story h1{font-size:42px;line-height:1.35;letter-spacing:-.06em;margin:22px 0;font-weight:600}.login-story h1 span{color:var(--green)}.login-story>p{font-size:12px;color:#829179;line-height:1.9}.login-story-mark{display:flex;align-items:center;gap:20px;margin-top:55px;color:#93a785}.login-story-mark>span{font-size:45px;font-weight:800;letter-spacing:-.07em}.login-story-mark>div{font-size:10px;border-left:1px solid #d7e1cf;padding-left:20px}.login-story-mark small{font-size:8px;color:#a2b099}.login-form-section{background:white;border:1px solid var(--line);border-radius:16px;padding:37px 32px}.login-lock{display:grid;place-items:center;width:40px;height:40px;background:#eff4e9;color:var(--green);border-radius:9px;margin-bottom:20px}.login-form-section h2{font-size:23px;font-weight:600;letter-spacing:-.04em;margin-bottom:8px}.login-form-section>p{color:#95a18a;font-size:11px}.login-form-section form{margin-top:26px}.login-form-section .field{margin-bottom:20px}.login-form-section .inline-error{margin-top:18px}.password-field{position:relative}.password-field input{padding-right:43px}.password-field .icon-button{position:absolute;right:4px;top:4px}.login-submit{width:100%;justify-content:space-between;margin-top:4px}.login-form-section .login-help{font-size:9px;line-height:1.8;text-align:center;margin:21px 0 0}.login-footer{font-size:9px;color:#9ead93;text-align:center;padding:20px 24px 30px}
@keyframes pass-reveal{from{opacity:0;transform:translateY(12px) rotate(-3deg)}to{opacity:1;transform:translateY(0) rotate(-6deg)}}@keyframes dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
/* Responsive layouts */
@media(min-width:1500px){.public-main,.header-inner{max-width:1330px}.warranty-hero{gap:100px;padding-top:90px;padding-bottom:70px}.hero-copy h1{font-size:56px}.service-visual{min-height:420px}.warranty-pass{margin-top:51px;margin-bottom:40px}.site-footer{max-width:1266px}}
@media(max-width:1100px){.warranty-hero{gap:35px;grid-template-columns:1.2fr .85fr;padding-top:55px}.hero-copy h1{font-size:38px}.service-visual{padding:22px;min-height:365px}.warranty-pass{padding:20px;margin:37px auto 30px}.pass-caption{font-size:18px}.support-section{gap:35px;grid-template-columns:1fr 2fr}.center-row{gap:13px}.center-phone .icon:last-child{display:none}.center-phone{font-size:9px}.center-code{width:35px;height:35px}.header-inner{gap:22px}.header-nav{gap:20px}.header-website{padding-left:18px;font-size:10px}.admin-main{padding:25px 24px 0}.admin-header .header-inner{padding:0 24px}.data-overview{gap:25px}.overview-secondary{padding-left:25px}.filter-form{grid-template-columns:minmax(180px,1fr) 135px 135px auto;gap:12px}.login-layout{gap:50px}.login-story h1{font-size:36px}.site-footer{margin:0 32px}.lookup-guide{gap:9px}.guide-divider{margin:0 8px}.search-trust{gap:13px;font-size:8px}}
@media(max-width:800px){.header-inner{padding:0 24px;min-height:76px}.header-website{display:none}.header-nav{gap:22px}.public-main{padding:0 24px}.warranty-hero{gap:28px;grid-template-columns:minmax(0,1fr);padding:45px 0 30px}.hero-copy h1{font-size:clamp(35px,6vw,47px);line-height:1.3}.hero-description{font-size:12px}.service-visual{display:none}.serial-form{margin-top:26px}.search-trust{font-size:10px;gap:20px;margin-top:20px}.lookup-guide{margin-top:5px;padding:24px 0;gap:8px;flex-wrap:wrap}.lookup-guide p{font-size:9px}.guide-divider{margin:0 4px}.support-section{grid-template-columns:minmax(0,1fr);gap:30px;padding:45px 0}.support-intro h2{font-size:27px}.support-intro>p{max-width:55ch}.support-intro .text-link{margin-top:16px}.center-row:first-child{padding-top:0}.center-row{padding:21px 0}.center-info h3{font-size:13px}.center-info p{font-size:10px}.center-phone{font-size:11px}.center-code{width:42px;height:42px}.center-phone .icon:last-child{display:block}.site-footer{margin:0 24px;padding:22px 0;font-size:8px}.result-content{grid-template-columns:minmax(0,1fr);gap:27px}.result-heading h2{font-size:18px}.result-note{flex-wrap:wrap;font-size:9px}.result-note p{flex:1}.result-note a{margin-left:24px}.lookup-error{flex-wrap:wrap}.lookup-error>div{flex:1;min-width:170px}.lookup-error .text-link{margin-left:66px;font-size:10px}.console-label{display:none}.admin-header-right .text-link{font-size:9px}.admin-heading h1{font-size:27px}.admin-heading p{max-width:42ch;line-height:1.9}.admin-heading>.button{font-size:10px}.data-overview{grid-template-columns:1.2fr 1fr;gap:20px;padding:22px}.data-overview>div:last-child{display:none}.data-overview strong{font-size:24px}.overview-secondary strong{font-size:20px}.panel-toolbar{padding:16px}.panel-title{gap:8px}.row-count{display:none}.toolbar-actions{gap:2px}.toolbar-actions .button{padding:8px;font-size:9px}.filter-form{grid-template-columns:1fr 1fr;gap:14px;padding:20px 16px}.filter-search{grid-column:1/-1}.filter-submit{grid-column:1/-1;justify-content:center}.filter-form .field input{font-size:11px}.table-footer{padding:18px 16px;flex-direction:column;align-items:flex-start;gap:14px}.table-footer p{font-size:10px}.pagination{align-self:flex-end}.admin-footer{font-size:8px;gap:15px;align-items:flex-start}.admin-footer span:last-child{max-width:32ch;text-align:right}.login-layout{grid-template-columns:minmax(0,1fr);max-width:470px;gap:35px;margin:25px auto 40px;padding:0 24px}.login-story h1{font-size:29px}.login-story>p{font-size:11px}.login-story-mark{display:none}.login-story .eyebrow{font-size:10px}.login-header{padding:24px}.login-header .text-link{font-size:10px}.login-form-section{padding:28px}.login-form-section h2{font-size:22px}.login-form-section .field input{font-size:13px}}
@media(max-width:480px){.header-inner{padding:0 20px;min-height:74px}.brand img{width:37px;height:37px}.brand{gap:8px}.brand-text strong{font-size:11px}.brand-text>span{font-size:8px}.header-nav{margin-left:auto;gap:0}.header-nav .nav-link{font-size:10px}.header-nav .nav-link:last-child{display:none}.public-main{padding:0 20px}.warranty-hero{padding-top:37px;padding-bottom:28px}.hero-copy h1{font-size:33px;letter-spacing:-.06em;line-height:1.35;margin:15px 0 18px}.hero-copy .eyebrow{font-size:10px}.hero-description{font-size:11px;line-height:1.85}.desktop-break{display:none}.serial-form>label{font-size:11px}.search-field{gap:8px;padding-left:11px}.search-field>.icon{width:17px;height:17px}.search-field input{font-size:10px}.search-field .button{padding:10px 12px;font-size:10px;gap:6px}.search-field .button .icon{width:14px;height:14px}.field-help{font-size:9px}.search-trust{font-size:8px;gap:15px}.lookup-guide{display:grid;grid-template-columns:23px 1fr;gap:11px}.lookup-guide p{font-size:10px}.guide-divider{display:none}.guide-number{font-size:10px}.support-section{padding:36px 0;gap:25px}.support-intro h2{font-size:25px}.center-row{flex-wrap:wrap;gap:9px 12px;align-items:flex-start}.center-code{width:36px;height:36px;font-size:8px;margin-top:3px}.center-info{flex:1}.center-info h3{font-size:12px}.center-info p{font-size:10px}.center-phone{margin-left:48px;font-size:11px}.center-phone .icon:last-child{display:none}.site-footer{margin:0 20px;flex-direction:column;gap:12px;font-size:9px}.result-heading{padding:20px;align-items:flex-start;flex-direction:column;gap:12px}.result-heading h2{font-size:17px}.result-content{padding:23px 20px}.result-product{gap:12px}.product-symbol{height:43px;width:43px}.result-product h3{font-size:15px}.result-details{gap:20px 18px;grid-template-columns:1fr}.result-details dt{font-size:10px}.result-details dd{font-size:12px}.result-note{padding:17px 20px;font-size:9px}.lookup-error{padding:20px;gap:12px}.lookup-error h2{font-size:14px}.lookup-error p{font-size:10px}.lookup-error .state-icon{width:35px;height:35px}.lookup-error .text-link{margin-left:47px}.admin-header .header-inner{padding:0 18px;min-height:68px;gap:8px}.admin-header .brand img{width:33px;height:33px}.admin-header .brand-text strong{font-size:10px}.admin-header-right{gap:8px}.admin-header-right .text-link{font-size:8px;gap:2px}.admin-header-right .text-link .icon{height:13px;width:13px}.header-separator,.admin-profile{display:none}.admin-avatar{width:28px;height:28px;font-size:8px;margin-left:3px}.admin-main{padding:21px 16px 0}.admin-heading{margin:22px 0;flex-wrap:wrap;gap:17px}.admin-heading h1{font-size:27px;margin-top:6px}.admin-heading p{font-size:10px}.admin-heading>.button{min-height:40px;padding:10px 14px;font-size:10px}.data-overview{gap:13px;padding:18px 15px;margin-bottom:20px;grid-template-columns:1.2fr 1fr;border-radius:10px}.overview-main{gap:9px}.overview-icon{height:32px;width:32px;border-radius:7px}.overview-icon .icon{height:17px;width:17px}.data-overview .small-label{font-size:8px}.data-overview strong{font-size:21px;flex-wrap:wrap;gap:4px;margin-top:6px}.data-overview strong small{font-size:8px}.overview-secondary{padding-left:14px}.overview-secondary strong{font-size:16px;gap:4px}.overview-secondary strong small{font-size:8px}.data-panel{border-radius:10px}.panel-toolbar{flex-wrap:wrap;gap:14px;padding:17px 14px}.panel-title h2{font-size:11px}.toolbar-actions{width:100%;gap:6px;justify-content:flex-start}.toolbar-actions .button{font-size:9px;padding:8px 10px;border:1px solid #e3ebdd;min-height:35px}.toolbar-actions .button-quiet{border-color:transparent}.action-menu{margin-left:auto}.filter-form{padding:17px 14px;gap:12px}.filter-form .field input{font-size:10px;min-height:42px}.filter-submit{font-size:10px;min-height:41px}.edit-banner{padding:12px 14px;align-items:flex-start;font-size:9px}.edit-banner>span{max-width:29ch}.edit-banner .text-link{font-size:9px;white-space:nowrap}.product-table{min-width:970px}.table-footer{padding:17px 14px}.table-footer p{font-size:9px}.pagination{align-self:flex-start;gap:3px;flex-wrap:wrap}.pagination a,.pagination>span{font-size:9px;min-width:27px;height:28px}.pagination .page-arrow{margin:0 2px}.admin-footer{font-size:7px;gap:10px}.modal{padding:23px 20px}.modal h2{font-size:21px}.modal .field input{font-size:13px}.dialog-description{font-size:11px}.form-grid{grid-template-columns:1fr;gap:17px}.detail-list>div{grid-template-columns:110px 1fr;gap:14px}.detail-list dt{font-size:10px}.detail-list dd{font-size:11px}.dialog-actions .button{font-size:10px;padding:10px 13px}.login-header{padding:20px}.login-header .text-link{font-size:9px}.login-layout{padding:0 20px;gap:28px}.login-story h1{font-size:27px}.login-form-section{padding:26px 22px}.login-story>p br{display:none}.login-form-section h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Comfortable reading sizes, including Vietnamese labels and long product names. */
.hero-description{font-size:14px}.serial-form>label{font-size:12px}.search-field input{font-size:13px}.search-field .button{font-size:12px}.field-help{font-size:11px}.search-trust{font-size:10px}.lookup-guide p{font-size:11px}.header-nav .nav-link,.header-website{font-size:12px}.support-intro>p{font-size:12px}.support-intro .text-link{font-size:11px}.center-info h3{font-size:14px}.center-info p{font-size:12px}.center-info>span{font-size:10px}.center-phone{font-size:12px}.site-footer{font-size:10px}.admin-heading p{font-size:12px}.panel-title h2{font-size:13px}.toolbar-actions .button{font-size:11px}.filter-form .field{font-size:11px}.filter-form .field input{font-size:12px}.filter-submit{font-size:11px}.product-table th{font-size:11px}.row-input,.product-name,.date-input{font-size:12px}.warranty-input,.old-serial{font-size:11px}.product-table .record-id{font-size:9px}.table-footer>p,.pagination a,.pagination>span{font-size:11px}.modal .field input{font-size:13px}.dialog-description{font-size:12px}.login-form-section>p{font-size:12px}.login-form-section .field{font-size:12px}.login-form-section .field input{font-size:14px}.login-form-section .login-help{font-size:11px}.login-story>p{font-size:14px}
@media(max-width:800px){.hero-description{font-size:13px}.search-field input{font-size:12px}.center-info p{font-size:12px}.center-phone{font-size:12px}.admin-heading p{font-size:11px}.filter-form .field input{font-size:12px}.table-footer>p,.pagination a,.pagination>span{font-size:10px}.login-story>p{font-size:12px}}
@media(max-width:480px){.hero-description{font-size:12px}.header-nav .nav-link{font-size:10px}.search-field input{font-size:11px}.search-field .button{font-size:10px}.field-help{font-size:10px}.search-trust{font-size:9px;gap:9px}.support-intro>p{font-size:12px}.support-intro .text-link{font-size:11px}.center-info h3{font-size:13px}.center-info p{font-size:11px}.center-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px 12px}.center-code{grid-column:1;grid-row:1}.center-info{grid-column:2;grid-row:1}.center-phone{grid-column:2;grid-row:2;margin-left:0;width:max-content;font-size:12px}.site-footer{font-size:9px}.toolbar-actions .button{font-size:10px}.filter-form .field input{font-size:12px}.panel-title h2{font-size:12px}.modal .field input{font-size:14px}}
.mobile-table-hint{display:none}
@media(max-width:800px){.mobile-table-hint{display:flex;align-items:center;gap:6px;color:#6e8064;font-size:10px;padding:0 16px 13px}.mobile-table-hint .icon{width:13px;height:13px}}
/* Secondary text stays legible on the pale surfaces. */
.hero-description,.field-help{color:#667266}.search-trust{color:#677762}.support-intro>p,.center-info p{color:#687663}.center-info>span{color:#738269}.site-footer{color:#6f7c68}.data-overview .small-label{color:#697c61}.data-overview strong small{color:#738469}.product-table th{color:#63765b}.product-table .record-id{color:#76866c}.old-serial{color:#76866c}.table-footer>p>span{color:#7a8a70}.admin-heading p{color:#718067}.admin-breadcrumb{color:#77866b}.login-form-section>p,.login-form-section .login-help,.dialog-description{color:#73816a}.login-story>p{color:#6d7d64}.login-footer,.admin-footer{color:#78886e}
/* Larger content and controls for daily use. */
.dialog-heading .icon-button{margin-left:auto}
#uploadExcelModal .upload-zone{position:relative}
#uploadExcelModal .file-picker{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;max-width:100%;margin:16px auto 0;font-size:14px;color:var(--ink)}
#uploadExcelModal .file-picker-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;border-radius:8px;background:var(--green);color:white;font-size:14px;font-weight:600;white-space:nowrap}
#uploadExcelModal .upload-zone:hover .file-picker-button{background:var(--green-hover)}
#uploadExcelModal .file-picker-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:var(--ink)}
#uploadExcelModal .file-picker-input{position:absolute;width:1px;height:1px;max-width:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%)}
#uploadExcelModal .file-selection{text-align:center}
.dialog-feedback{margin:0 0 18px;padding:12px 14px;background:#f2f5ee;border:1px solid #dbe3d2;border-radius:7px;color:#53644a;font-size:14px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;max-height:220px;overflow-y:auto}.dialog-feedback.error{background:#fcf0ec;border-color:#e6c6be;color:#8e4337}.dialog-feedback.success{background:#eff6e9;border-color:#cbdcc2;color:#28523b}
.confirm-dialog .dialog-description{white-space:pre-line}
.action-feedback{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;margin:0 0 25px;border:1px solid #cbdcc2;border-left:4px solid #2A724A;border-radius:10px;background:#eff6e9;color:#28523b}.action-feedback>div{min-width:0;flex:1}.action-feedback strong{display:block;font-size:17px;font-weight:600;line-height:1.6}.action-feedback p{margin-top:5px;font-size:15px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;max-height:240px;overflow-y:auto}.action-feedback.error{border-color:#e6c6be;border-left-color:#a05a4c;background:#fcf0ec;color:#8e4337}.action-feedback.info{border-color:#dbe3d2;border-left-color:#7a9270;background:#f2f5ee;color:#53644a}.action-feedback .icon-button{color:inherit}.action-feedback .icon-button:hover{background:#273c2810}@media(max-width:480px){.action-feedback{padding:17px 16px;gap:10px}.action-feedback strong{font-size:16px}.action-feedback p{font-size:14px}}
.field{min-width:0}
:root{font-size:16px;--muted:#606e61}
.brand img{width:54px;height:54px}.brand-text strong{font-size:16px}.brand-text>span{font-size:12px}
.header-inner{min-height:100px}.header-nav .nav-link,.header-website{font-size:15px}.header-nav{gap:24px}
.eyebrow,.small-label{font-size:14px}.text-link{font-size:15px}.button{font-size:15px;min-height:48px;padding:13px 20px}.button .icon{width:20px;height:20px}.icon-button{width:42px;height:42px}.icon-button .icon{width:20px;height:20px}
.hero-copy h1{font-size:clamp(44px,4.2vw,60px);line-height:1.22}.hero-description{font-size:18px;line-height:1.8}.warranty-hero{gap:48px}
.serial-form>label{font-size:16px}.serial-form>label>span{font-size:13px}.search-field{min-height:76px;padding:9px 9px 9px 18px}.search-field input{height:52px;font-size:17px}.search-field .button{height:54px;min-height:54px;font-size:16px;padding:13px 21px}.field-help{font-size:14px;line-height:1.75}.field-help .icon{height:18px;width:18px;margin-top:3px}.search-trust{font-size:13px;gap:20px}.search-trust .icon{width:17px;height:17px}
.visual-top{font-size:11px}.pass-top{font-size:11px}.pass-top small{font-size:9px}.pass-caption{font-size:23px}.pass-bottom>span{font-size:9px}.pass-bottom small{font-size:8px}.visual-bottom p{font-size:11px}.visual-stamp{font-size:28px}
.lookup-guide{gap:15px;padding:30px 0}.lookup-guide p{font-size:14px}.guide-number{font-size:13px}.guide-divider{margin:0 10px}
.support-intro h2{font-size:35px;line-height:1.4}.support-intro>p{font-size:16px;line-height:1.85}.support-intro .text-link{font-size:14px}.support-section{gap:48px}.center-info h3{font-size:18px}.center-info p{font-size:15px}.center-info>span{font-size:13px}.center-phone{font-size:16px;gap:8px}.center-phone .icon{width:18px;height:18px}.center-code{font-size:12px;width:49px;height:49px}.center-row{gap:18px;padding:25px 0}.site-footer{font-size:13px;padding:29px 0}
.result-heading h2{font-size:28px}.status-tag{font-size:13px;padding:8px 11px}.status-tag .icon{width:17px;height:17px}.result-product h3{font-size:22px}.result-product .small-label{font-size:14px}.record-id{font-size:13px}.result-details dt{font-size:14px}.result-details dd{font-size:17px;line-height:1.65}.result-details{gap:25px}.result-note{font-size:14px;line-height:1.8;align-items:flex-start}.result-note>.icon{width:19px;height:19px;margin-top:3px}.lookup-error h2{font-size:21px}.lookup-error p{font-size:15px;line-height:1.8}.lookup-error .text-link{font-size:14px}
.admin-header .header-inner{min-height:90px}.admin-header .brand img{width:46px;height:46px}.admin-header .brand-text strong{font-size:14px}.admin-header .brand-text>span{font-size:11px}.console-label{font-size:13px}.admin-header-right .text-link{font-size:14px}.admin-avatar{width:40px;height:40px;font-size:13px}.admin-profile{font-size:13px}.admin-profile small{font-size:11px}.admin-breadcrumb{font-size:13px;gap:10px}.admin-breadcrumb .icon{width:14px;height:14px}.admin-main{padding-top:32px}
.admin-heading h1{font-size:38px}.admin-heading p{font-size:16px;line-height:1.75}.admin-heading>.button{font-size:15px}.data-overview{padding:28px;gap:28px}.data-overview .small-label{font-size:14px}.data-overview strong{font-size:34px;gap:9px}.data-overview strong small{font-size:14px}.overview-secondary strong{font-size:28px}.overview-secondary strong small{font-size:14px}.overview-icon{width:56px;height:56px}.overview-icon .icon{width:29px;height:29px}
.panel-toolbar{padding:22px}.panel-title h2{font-size:17px}.panel-tab .icon{width:21px;height:21px}.row-count{font-size:12px;padding:4px 8px}.toolbar-actions .button{font-size:14px;min-height:44px;padding:11px 14px}.toolbar-actions .button .icon{width:19px;height:19px}.action-menu-content{min-width:250px}.action-menu-content>button{font-size:14px;padding:13px}.action-menu-content .icon{width:19px;height:19px}
.filter-form{grid-template-columns:minmax(220px,1fr) 180px 180px auto;gap:18px;padding:26px 22px}.filter-form .field{font-size:14px;gap:10px}.filter-form .field input{font-size:16px;min-height:50px;padding:12px}.input-with-icon>.icon{height:19px;width:19px}.input-with-icon input{padding-left:40px!important}.filter-submit{font-size:14px;min-height:50px;padding:12px 20px}.filter-submit .icon{width:19px;height:19px}.filter-reset{font-size:14px}.edit-banner,.edit-banner .text-link{font-size:14px}.edit-banner .icon{width:19px;height:19px}
@media(max-width:800px){.filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar-actions{flex-wrap:wrap}}
@media(max-width:480px){.filter-form{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:360px){.admin-header .brand img{width:32px!important;height:32px!important}.admin-header .brand-text strong{font-size:11px!important}.admin-header .brand-text>span{font-size:9px!important}.admin-header-right{gap:5px}.admin-avatar{display:none}}
.product-table{min-width:1250px}.product-table th{font-size:14px;font-weight:600;padding-top:17px;padding-bottom:17px}.product-table td{font-size:16px;height:94px;padding-top:18px;padding-bottom:18px}.row-input,.product-name{font-size:16px;line-height:1.6;min-height:32px}.date-input,.warranty-input,.old-serial{font-size:14px}.old-serial{overflow-wrap:anywhere}.product-table .record-id{font-size:12px;padding-top:4px}.table-product-mark{width:40px;height:40px}.table-product-mark .icon{width:22px;height:22px}.product-name-cell{gap:12px;height:auto!important;min-height:94px;align-items:center}.product-name-text{display:block;font-size:16px;line-height:1.6;font-weight:500;color:#344731;overflow-wrap:anywhere}.serial-display{display:block;font-size:16px;line-height:1.6;letter-spacing:.01em;color:#3d633e;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.product-name:disabled{display:none}.is-editing .product-name-text{display:none}.is-editing .row-input{min-height:42px;padding:7px}.row-default-actions{gap:5px}.row-default-actions .icon-button{width:38px;height:38px}.row-default-actions .icon{width:20px;height:20px}.row-edit-actions .button{font-size:13px;min-height:36px}.row-delete{font-size:13px;padding:8px}.table-footer{padding:23px 22px}.table-footer>p,.pagination a,.pagination>span{font-size:14px}.pagination a,.pagination>span{height:39px;min-width:39px;padding:0 9px}.pagination .page-arrow{height:39px;width:39px}.page-arrow .icon{width:18px;height:18px}.admin-footer{font-size:12px;padding:27px 0}.table-empty h3{font-size:22px}.table-empty p{font-size:16px}.table-empty .button{font-size:15px}
.modal{width:min(570px,calc(100vw - 32px));padding:32px}.modal h2,.detail-dialog h2{font-size:28px;line-height:1.5}.dialog-description{font-size:16px;line-height:1.75}.modal .field{font-size:15px;gap:10px}.modal .field input{font-size:16px;min-height:50px;padding:12px}.dialog-actions .button{font-size:15px;min-height:48px}.detail-list>div{grid-template-columns:160px minmax(0,1fr);gap:22px;padding:17px 0}.detail-list dt{font-size:14px}.detail-list dd{font-size:16px}.upload-zone strong{font-size:17px}.upload-zone span,.upload-zone input,.file-selection,.template-link{font-size:14px}.upload-zone input::file-selector-button{font-size:13px;padding:9px 13px}.toast{font-size:15px}
@media(max-width:1100px){.header-inner{gap:18px}.header-nav{gap:18px}.header-nav .nav-link,.header-website{font-size:13px}.header-website{padding-left:15px}.brand-text strong{font-size:14px}.hero-copy h1{font-size:44px}.hero-description{font-size:16px}.warranty-hero{gap:30px}.search-field input{font-size:15px}.search-field .button{font-size:14px;padding:12px 16px}.center-row{flex-wrap:wrap}.center-info{flex:1}.center-phone{margin-left:67px}.support-section{grid-template-columns:1fr 1.7fr;gap:35px}.lookup-guide p{font-size:13px}.guide-divider{margin:0 5px}.filter-form{grid-template-columns:minmax(180px,1fr) 160px 160px auto;gap:14px}.filter-form .field input{font-size:14px}.filter-submit{font-size:13px}.data-overview .small-label{font-size:13px}.overview-secondary{padding-left:22px}.overview-secondary strong{font-size:26px}}
@media(max-width:800px){.header-inner{min-height:86px}.header-nav .nav-link{font-size:13px}.hero-copy h1{font-size:44px}.hero-description{font-size:17px}.serial-form>label{font-size:16px}.search-field input{font-size:16px}.field-help{font-size:13px}.search-trust{font-size:12px;gap:18px}.lookup-guide p{font-size:13px}.support-section{grid-template-columns:minmax(0,1fr);gap:32px}.support-intro h2{font-size:34px}.support-intro>p{font-size:16px}.center-row{display:grid;grid-template-columns:49px minmax(0,1fr);gap:10px 17px}.center-code{grid-column:1;grid-row:1}.center-info{grid-column:2;grid-row:1}.center-phone{grid-column:2;grid-row:2;margin-left:0;width:max-content;font-size:16px}.center-info p{font-size:15px}.site-footer{font-size:12px}.result-heading h2{font-size:25px}.result-content{gap:30px}.result-note{font-size:13px}.lookup-error .text-link{font-size:14px}.admin-heading h1{font-size:34px}.admin-heading p{font-size:15px}.admin-heading>.button{font-size:14px}.data-overview{padding:24px 20px;gap:20px}.data-overview strong{font-size:30px}.overview-secondary strong{font-size:24px}.filter-form{grid-template-columns:1fr 1fr;gap:18px;padding:24px 18px}.filter-search,.filter-submit{grid-column:1/-1}.filter-form .field input{font-size:16px;min-height:50px}.filter-submit{font-size:15px}.panel-toolbar{flex-wrap:wrap;padding:20px 18px}.toolbar-actions .button{font-size:13px}.mobile-table-hint{font-size:13px;padding:0 18px 17px}.edit-banner,.edit-banner .text-link{font-size:13px}.table-footer{padding:22px 18px}.table-footer>p{font-size:13px}.pagination a,.pagination>span{font-size:13px}.admin-footer{font-size:11px}.modal .field input{font-size:16px}.detail-list dt{font-size:14px}.detail-list dd{font-size:16px}}
@media(max-width:480px){.header-inner{min-height:84px;padding:0 18px;gap:10px}.brand img{width:42px;height:42px}.brand-text strong{font-size:13px}.brand-text>span{font-size:10px}.header-nav .nav-link{font-size:11px}.hero-copy .eyebrow,.eyebrow{font-size:13px}.hero-copy h1{font-size:36px;letter-spacing:-.05em;line-height:1.3}.hero-description{font-size:16px;line-height:1.8}.serial-form>label{font-size:15px}.serial-form>label>span{font-size:12px}.search-field{flex-wrap:wrap;gap:8px;padding:12px;min-height:0}.search-field>.icon{width:21px;height:21px}.search-field input{height:42px;font-size:16px;flex-basis:calc(100% - 40px)}.search-field .button{width:100%;font-size:16px;min-height:48px;height:48px;gap:10px}.search-field .button .icon{width:20px;height:20px}.field-help{font-size:13px}.search-trust{flex-direction:column;gap:8px;font-size:12px}.search-trust .icon{height:17px;width:17px}.lookup-guide{gap:15px;padding:26px 0;grid-template-columns:27px minmax(0,1fr)}.lookup-guide p,.guide-number{font-size:13px}.support-intro h2{font-size:30px}.support-intro>p{font-size:16px}.support-intro .text-link{font-size:14px}.center-row{grid-template-columns:43px minmax(0,1fr);gap:12px 14px;padding:25px 0}.center-code{width:43px;height:43px;font-size:11px}.center-info h3{font-size:17px}.center-info p{font-size:14px;line-height:1.85}.center-info>span{font-size:12px}.center-phone{font-size:16px}.site-footer{font-size:12px;line-height:1.8;gap:17px}.result-heading h2{font-size:24px}.result-product h3{font-size:20px}.result-details dt{font-size:14px}.result-details dd{font-size:17px}.result-note{font-size:13px}.status-tag{font-size:12px;white-space:normal}.lookup-error h2{font-size:19px}.lookup-error p{font-size:14px}.lookup-error .text-link{font-size:14px}.admin-header .header-inner{min-height:80px;padding:0 16px}.admin-header .brand img{width:39px;height:39px}.admin-header .brand-text strong{font-size:12px}.admin-header .brand-text>span{font-size:10px}.admin-header-right .text-link{font-size:11px}.admin-header-right .text-link .icon{width:16px;height:16px}.admin-avatar{width:32px;height:32px;font-size:11px}.admin-main{padding:25px 16px 0}.admin-breadcrumb{font-size:12px}.admin-heading h1{font-size:31px}.admin-heading p{font-size:15px;line-height:1.8}.admin-heading>.button{font-size:15px;min-height:48px}.data-overview{grid-template-columns:minmax(0,1fr);padding:21px;gap:18px}.overview-main{gap:14px}.overview-icon{height:48px;width:48px}.overview-icon .icon{height:26px;width:26px}.data-overview .small-label{font-size:13px}.data-overview strong{font-size:32px;gap:9px}.data-overview strong small{font-size:13px}.overview-secondary{border-left:0;border-top:1px solid #dce4d6;padding:17px 0 0}.overview-secondary strong{font-size:24px}.overview-secondary strong small{font-size:13px}.panel-toolbar{padding:21px 16px;gap:17px}.panel-title h2{font-size:16px}.toolbar-actions{gap:6px}.toolbar-actions .button{font-size:13px;min-height:44px;padding:10px 12px}.toolbar-actions .button .icon{height:18px;width:18px}.filter-form{padding:22px 16px;gap:17px 12px}.filter-form .field{font-size:14px}.filter-form .field input{font-size:16px;min-height:50px;padding:12px 8px}.filter-submit{font-size:15px;min-height:50px}.mobile-table-hint{font-size:12px;padding:0 16px 18px}.edit-banner{flex-direction:column;padding:15px 16px;gap:10px;font-size:13px}.edit-banner>span{max-width:none}.edit-banner .text-link{font-size:13px}.table-footer{padding:22px 16px;gap:17px}.table-footer>p{font-size:12px;line-height:1.8}.pagination{gap:3px}.pagination a,.pagination>span{font-size:12px;height:38px;min-width:32px;padding:0 7px}.pagination .page-arrow{width:35px;height:38px}.admin-footer{font-size:11px;flex-direction:column;gap:8px}.admin-footer span:last-child{max-width:none;text-align:left}.modal{padding:26px 22px}.modal h2,.detail-dialog h2{font-size:26px}.dialog-description{font-size:15px}.modal .field{font-size:15px}.modal .field input{font-size:16px;min-height:50px}.dialog-actions .button{font-size:14px;min-height:48px;padding:12px 15px}.detail-list>div{grid-template-columns:minmax(0,1fr);gap:5px}.detail-list dt{font-size:14px}.detail-list dd{font-size:17px}.toast{font-size:14px}}

/* Emphasize the manufacturer's warranty terms on every screen size. */
.result-note>p{color:#000;font-weight:700;font-size:16px;line-height:1.8}
@media(max-width:800px){.result-note>p{font-size:14px}}

/* Keep every admin dialog title next to its top edge. */
.admin-page .modal .dialog-heading{position:absolute;top:32px;right:32px;margin:0}
.admin-page .modal>h2,.admin-page .detail-dialog>.eyebrow{padding-inline-end:56px}
@media(max-width:480px){.admin-page .modal .dialog-heading{top:26px;right:22px}}

/* Shared Ministry of Industry and Trade notice badge. */
.login-footer{display:flex;flex-direction:column;align-items:center;gap:16px}
.site-footer,.admin-footer{align-items:center;flex-wrap:wrap}
.footer-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px 24px}
.commerce-badge{display:inline-flex;flex:none;align-items:center;border-radius:4px}
.commerce-badge img{display:block;width:150px;height:57px;object-fit:contain}
.commerce-badge:focus-visible{outline:2px solid var(--green);outline-offset:5px}
@media(max-width:800px){.site-footer,.admin-footer{align-items:flex-start}.footer-actions{justify-content:flex-start;gap:16px 24px}}
@media(max-width:480px){.footer-actions{width:100%;flex-direction:column;align-items:flex-start;gap:16px}.admin-footer .footer-actions>span{max-width:none;text-align:left}}

/* Admin tracking numbers stay on one line without widening the page. */
.admin-page .action-feedback.warning,.admin-page .dialog-feedback.warning{border-color:#e5cd94;background:#fff8e8;color:#7a501b}.admin-page .action-feedback.warning{border-left-color:#b5802f}.admin-page .toast.warning{background:#80591f}
.admin-page .product-table th:first-child{width:20%}.admin-page .product-table th:nth-child(2){width:15%}.admin-page .product-table th:nth-child(3){width:11%}.admin-page .product-table th:nth-child(4){width:8%}.admin-page .product-table th:nth-child(5){width:8%}.admin-page .product-table th.tracking-column{width:14%}.admin-page .product-table th.phieu-column{width:12%}.admin-page .product-table th:last-child{width:12%}
.admin-page .product-table{min-width:1380px}.admin-page .tracking-column{width:230px}.admin-page .tracking-cell{min-width:200px;max-width:280px}.admin-page .tracking-display{display:block;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;white-space:nowrap;font-size:14px;line-height:1.6}.admin-page .tracking-input{width:100%;min-width:180px}.admin-page .tracking-input:disabled,.admin-page .is-editing .tracking-display{display:none}.admin-page #detail-tracking{overflow-wrap:anywhere;white-space:pre-wrap}
.admin-page .phieu-cell{min-width:110px;max-width:220px}.admin-page .phieu-display{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.6}.admin-page .phieu-input{width:100%;min-width:100px}.admin-page .phieu-input:disabled,.admin-page .is-editing .phieu-display{display:none}.admin-page #detail-phieu-lien-ket{overflow-wrap:anywhere;white-space:pre-wrap}

/* Reserve space for row actions and keep them inside their table cell. */
.admin-page .product-table th:first-child{width:20%}
.admin-page .product-table th:nth-child(2){width:15%}
.admin-page .product-table th:nth-child(3){width:11%}
.admin-page .product-table th:nth-child(4){width:8%}
.admin-page .product-table th:nth-child(5){width:8%}
.admin-page .product-table th.tracking-column{width:14%}
.admin-page .product-table th.phieu-column{width:12%}
.admin-page .product-table th:last-child{width:12%}
.admin-page .is-editing .row-input{height:42px;text-overflow:clip}
.admin-page .is-editing .product-name-cell>div{position:relative;display:flex;align-items:center}
.admin-page .is-editing .product-name-cell .product-name{width:100%;min-width:0}
.admin-page .is-editing td{padding-bottom:24px}
.admin-page .is-editing .product-name-cell .record-id{position:absolute;top:calc(100% + 8px);left:0;padding-top:0;line-height:1.2;white-space:nowrap}
.admin-page textarea.row-input{height:32px;resize:none;overflow:hidden;white-space:nowrap}
.admin-page .is-editing textarea.row-input{display:block;box-sizing:border-box;min-height:42px;max-height:180px;overflow-x:hidden;overflow-y:auto;resize:none;padding:7px;font-family:inherit;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.admin-page .row-edit-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px;white-space:nowrap}
.admin-page .row-edit-actions .row-save{flex:0 0 auto;padding-inline:10px}
.admin-page .row-edit-actions .row-cancel{flex:0 0 34px;width:34px;height:34px}
.admin-page .row-edit-actions .row-delete{flex:0 0 auto;padding:4px 3px;font-size:12px;white-space:nowrap}

/* Expandable serial audit history in the admin product details. */
.admin-page .serial-history-dropdown{margin-top:22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.admin-page .serial-history-dropdown>summary{display:flex;align-items:center;gap:12px;min-height:52px;cursor:pointer;list-style:none;color:#44533f;font-size:14px;font-weight:600}
.admin-page .serial-history-dropdown>summary::-webkit-details-marker{display:none}
.admin-page .serial-history-dropdown>summary::after{content:"+";margin-left:auto;color:#6f8a63;font-size:20px;font-weight:400}
.admin-page .serial-history-dropdown[open]>summary::after{content:"−"}
.admin-page .serial-history-dropdown>summary:focus-visible{outline:2px solid #8aa57d;outline-offset:3px;border-radius:4px}
.admin-page .serial-history-count{color:#78886e;font-size:12px;font-weight:500}
.admin-page .serial-history-status{margin:0;padding:0 0 15px;color:#73816a;font-size:13px;line-height:1.6}
.admin-page .serial-history-list{list-style:none;margin:0;padding:0}
.admin-page .serial-history-item{padding:14px 0;border-top:1px solid #edf0e8}
.admin-page .serial-history-change{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0;color:#657569;font-size:12px}
.admin-page .serial-history-change code{max-width:100%;overflow-wrap:anywhere;padding:4px 7px;border:1px solid #e5ebdf;border-radius:5px;background:#f8faf5;color:#456148;font-family:inherit;font-size:12px}
.admin-page .serial-history-arrow{color:#6f8a63;font-size:16px}
.admin-page .serial-history-meta{display:flex;flex-wrap:wrap;gap:5px 14px;margin:9px 0 0;color:#78886e;font-size:11px;line-height:1.6}
.admin-page .toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.admin-page .count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--green);color:#fff;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1}.admin-page .button-zero-import{border-color:#bdcdbb;background:#f3f7f0}.admin-page .button:disabled{opacity:.55;cursor:not-allowed}.admin-page .button-zero-import:disabled .count-badge{background:#8a958b}
.data-overview.has-zero{grid-template-columns:1.15fr 1fr .95fr .8fr}
.data-overview a.overview-zero{color:inherit;text-decoration:none;border-radius:8px;transition:background-color .2s,color .2s}
.data-overview a.overview-zero strong{color:#a8650a}
.data-overview a.overview-zero:hover strong,.data-overview a.overview-zero:focus-visible strong{text-decoration:underline;text-underline-offset:4px}
.data-overview a.overview-zero.is-active strong{color:var(--green,#2A724A)}
.filter-form .filter-check{grid-column:1/-1;display:inline-flex;align-items:center;gap:8px;width:max-content;font-size:12px;color:#4e6148;cursor:pointer;margin-top:-4px}
.filter-form .filter-check input{width:16px;height:16px;margin:0;accent-color:var(--green,#2A724A);cursor:pointer}
.product-table tbody tr.row-zero-warranty{background:#fff8e8}
.product-table tbody tr.row-zero-warranty:hover{background:#fff1d2}
.product-table tbody tr.row-zero-warranty .warranty-input{color:#a8650a;font-weight:600}
@media(max-width:800px){.data-overview.has-zero{grid-template-columns:1.2fr 1fr}.data-overview.has-zero .overview-zero{grid-column:1/-1;border-left:0;border-top:1px solid #dce4d6;padding:14px 0 0}}
@media(max-width:480px){.data-overview.has-zero{grid-template-columns:minmax(0,1fr)}.filter-form .filter-check{font-size:14px}}
