﻿/* Quy tắc CSS cho :root; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
:root{--ink:#112e3c;--text:#203543;--muted:#657783;--teal:#15998e;--teal-light:#d9f4ed;--gold:#f1b86a;--paper:#f7f9f9;--white:#fff;--border:#e1e9e8;--shadow:0 22px 60px rgba(17,46,60,.07);--radius:20px;--focus:#087b70}
/* Quy tắc CSS cho *; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:var(--paper);font-size:14px;line-height:1.65;margin:0}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em;font-weight:800;color:var(--ink)}h1{font-size:clamp(2.45rem,6vw,4.8rem);line-height:1.15}h2{font-size:clamp(1.65rem,3.2vw,2.7rem);line-height:1.2}h3{font-size:1.12rem;line-height:1.38}a{color:inherit;text-decoration:none}a:hover{color:var(--teal)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.container{max-width:1200px}.demo-ribbon{display:flex;align-items:center;justify-content:center;gap:9px;padding:9px 16px;background:#e6f4ed;color:#245c53;font-size:11px;text-align:center;line-height:1.4}.demo-ribbon strong{font-size:10px;letter-spacing:.12em;white-space:nowrap}.demo-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#24a983;flex-shrink:0}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--border);backdrop-filter:blur(18px)}.shell-top{min-height:80px;display:flex;align-items:center;gap:30px}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:22px;font-weight:800;letter-spacing:-.08em;white-space:nowrap}.brand:hover{color:var(--ink)}.brand-mark{width:37px;height:37px;display:grid;place-items:center;border-radius:13px;background:var(--ink);color:#fff;font-size:28px;line-height:1;position:relative;padding-bottom:3px}.brand-orbit{position:absolute;right:5px;top:1px;color:var(--gold);font-size:19px}.brand-stop{color:var(--teal)}.site-nav{display:flex;gap:24px;align-items:center;margin-left:auto}.site-nav a{font-weight:600;font-size:12px;color:#506474;white-space:nowrap;padding:9px 0;position:relative}.site-nav a:hover,.site-nav a.is-active{color:var(--ink)}.site-nav a.is-active:after{content:"";height:3px;border-radius:5px;background:var(--teal);position:absolute;bottom:0;left:0;right:0}.header-actions{display:flex;align-items:center;gap:12px}.session-indicator{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted)}.btn-header{border:1px solid var(--ink);border-radius:999px;padding:10px 16px;color:var(--ink);font-weight:700;font-size:12px;white-space:nowrap}.btn-header:hover{background:var(--ink);color:#fff}.mobile-menu{display:none;background:none;border:0;font-size:23px;color:var(--ink)}.app-root{min-height:65vh}.btn-main,.btn-quiet,.btn-outline,.btn-danger-soft{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 21px;border-radius:12px;font-weight:700;border:1px solid transparent;transition:transform .15s,background .15s,color .15s;min-height:46px}.btn-main{background:var(--teal);color:#fff}.btn-main:hover{background:#0e7d73;color:#fff;transform:translateY(-1px)}.btn-dark{background:var(--ink);color:white}.btn-dark:hover{background:#284757;color:#fff}.btn-outline{border-color:#c9d8d6;background:#fff;color:var(--ink)}.btn-outline:hover{border-color:var(--teal);color:var(--teal)}.btn-quiet{background:#eef6f4;color:#13756b}.btn-quiet:hover{background:#d6f1ea}.btn-danger-soft{background:#fff2f1;color:#b83c36}.btn-danger-soft:hover{background:#ffe0dd;color:#9d2622}.btn-small{padding:8px 13px;min-height:36px;font-size:12px;border-radius:9px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:800;color:var(--teal)}.muted{color:var(--muted)}.hero{position:relative;padding:82px 0 74px;overflow:hidden;background:radial-gradient(ellipse at 85% 35%,#e8f5f0 0%,transparent 45%),linear-gradient(150deg,#fcfdfc 0%,#f4f8f6 100%)}.hero-copy{padding-top:12px;padding-bottom:12px}.hero-copy h1{max-width:630px;margin:18px 0 23px}.hero-copy h1 em{font-style:normal;color:var(--teal)}.hero-lead{font-size:16px;color:#60717c;max-width:560px;line-height:1.9}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 28px}.hero-footnote{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.hero-footnote span{background:#dcf4ed;color:#197a68;padding:4px 8px;border-radius:6px;font-weight:800}.orbit-scene{position:relative;height:440px;border-radius:36px;background:#112e3c;overflow:hidden;box-shadow:0 30px 80px rgba(17,46,60,.2)}.orbit-scene:before,.orbit-scene:after{content:"";position:absolute;width:430px;height:430px;border:1px solid rgba(255,255,255,.12);border-radius:50%;top:8%;left:11%}.orbit-scene:after{width:300px;height:300px;top:23%;left:25%}.orbit-inner{width:170px;height:170px;border-radius:50%;border:1px dashed rgba(99,221,195,.45);position:absolute;top:38%;left:38%;display:grid;place-items:center}.scene-center{width:106px;height:106px;border-radius:28px;background:#1b7e77;display:grid;place-items:center;font-size:52px;box-shadow:0 12px 45px rgba(0,0,0,.25);transform:rotate(-8deg)}.float-tag{position:absolute;background:#fff;border-radius:17px;padding:13px 17px;box-shadow:0 13px 40px rgba(0,0,0,.12);font-weight:800;font-size:12px;color:var(--ink);display:flex;align-items:center;gap:12px}.float-tag .item-emoji{font-size:29px;background:#f3f8f7;padding:8px;border-radius:12px}.float-tag small{display:block;color:var(--muted);font-size:10px;font-weight:500}.tag-one{left:4%;top:16%;transform:rotate(-6deg)}.tag-two{right:3%;top:45%;transform:rotate(4deg)}.tag-three{left:7%;bottom:11%;transform:rotate(4deg)}.scene-label{position:absolute;color:#add5cf;font-size:11px;letter-spacing:.1em;text-transform:uppercase;right:23px;top:21px;font-weight:700}.scene-spark{position:absolute;color:var(--gold);font-size:36px;right:15%;bottom:12%}.stats-strip{background:#fff;border-block:1px solid var(--border);padding:24px 0}.stat-box{display:flex;align-items:center;gap:12px}.stat-num{font-size:30px;line-height:1;color:var(--ink);font-weight:800;letter-spacing:-.04em}.stat-label{color:var(--muted);font-size:12px}.section{padding:76px 0}.section-soft{background:#f0f5f3}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:28px}.section-heading h2{margin:8px 0 0}.section-subtitle{color:var(--muted);max-width:500px}.how-card{background:white;padding:27px;border:1px solid var(--border);border-radius:22px;height:100%;position:relative}.step-number{color:var(--teal);font-size:12px;font-weight:800}.how-icon{width:58px;height:58px;border-radius:18px;background:#e3f4ec;display:grid;place-items:center;font-size:28px;margin:15px 0}.how-card p{font-size:13px;color:var(--muted);margin:0}.section-cta{margin-top:25px}.page-header{background:linear-gradient(110deg,#f2f7f5,#fff);padding:48px 0 38px;border-bottom:1px solid var(--border)}.page-header h1{font-size:clamp(2.1rem,4vw,3.4rem);margin:8px 0}.page-header p{margin:0;color:var(--muted)}.page-body{padding:35px 0 80px}.surface{border:1px solid var(--border);background:#fff;border-radius:20px;box-shadow:0 6px 28px rgba(24,66,65,.025)}.surface-pad{padding:24px}.filter-panel{position:sticky;top:104px}.filter-panel label,.field label{display:block;font-size:12px;color:#34515c;font-weight:700;margin:0 0 7px}.field{margin-bottom:18px}.field-help{display:block;font-size:11px;margin-top:6px;color:var(--muted)}.field-error{font-size:11px;color:#ac302b;margin-top:6px;display:block}.input,.textarea,.select{display:block;width:100%;background:#fff;border:1px solid #d6e1df;border-radius:11px;color:#183744;padding:12px 13px;outline:none;min-height:45px}.input:focus,.textarea:focus,.select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #d9f4ed}.textarea{min-height:120px;resize:vertical}.search-line{display:flex;gap:10px;align-items:center;margin-bottom:25px}.search-line .input{flex:1;min-width:0}.segmented{display:flex;gap:7px;flex-wrap:wrap}.segmented a,.segmented button{background:#fff;border:1px solid var(--border);padding:10px 15px;border-radius:999px;font-weight:700;color:var(--muted);font-size:12px}.segmented a.active,.segmented button.active{background:var(--ink);color:#fff;border-color:var(--ink)}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{border:1px solid var(--border);background:white;border-radius:21px;overflow:hidden;transition:transform .2s,box-shadow .2s}.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card-art{height:170px;display:grid;place-items:center;position:relative;background:linear-gradient(135deg,#edf7f2,#d9eae6)}.art-lost{background:linear-gradient(135deg,#eaf3f8,#dbe7f4)}.art-found{background:linear-gradient(135deg,#fff3e6,#f5e5ce)}.card-art-icon{font-size:78px;filter:drop-shadow(0 14px 10px rgba(29,46,40,.15))}.art-grid{position:absolute;inset:0;background-image:radial-gradient(rgba(17,46,60,.09) .8px,transparent .8px);background-size:21px 21px;mask-image:linear-gradient(110deg,transparent,black)}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;font-weight:700;font-size:10px;padding:6px 10px;white-space:nowrap}.pill-lost{background:#eaf2fe;color:#3b69a0}.pill-found{background:#fff0dd;color:#a76a27}.pill-open{background:#e6f7ee;color:#15815e}.pill-resolved{background:#e8e9f7;color:#565e92}.pill-cancelled{background:#f2eeee;color:#797477}.card-type{position:absolute;left:14px;top:14px}.card-body-own{padding:19px}.card-body-own h3{min-height:45px;margin:10px 0}.meta-row{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-top:8px}.card-text{font-size:12px;color:#697c85;min-height:43px}.card-bottom{border-top:1px solid #edf1f0;padding-top:14px;margin-top:14px;display:flex;justify-content:space-between;align-items:center}.card-bottom a{font-weight:800;color:var(--teal);font-size:12px}.empty{padding:55px 20px;text-align:center;background:#fff;border:1px dashed #c8d9d5;border-radius:22px}.empty-icon{font-size:49px;margin-bottom:14px}.empty h3{margin-bottom:8px}.empty p{color:var(--muted)}.breadcrumbline{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:25px}.breadcrumbline a{color:var(--teal)}.form-top{padding:26px;border-bottom:1px solid var(--border)}.form-block{padding:26px}.form-section-title{font-size:15px;font-weight:800;margin-bottom:18px;display:flex;gap:9px;align-items:center}.form-section-number{width:29px;height:29px;border-radius:9px;background:var(--teal-light);color:#16776c;display:grid;place-items:center;font-size:12px}.form-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:10px}.notice{padding:15px 18px;background:#f0f8f6;border:1px solid #d0ebe4;border-radius:13px;color:#3d6a60;font-size:12px}.notice-warn{background:#fff8e9;border-color:#f7e5bd;color:#855f28}.detail-art{height:330px;border-radius:22px}.detail-art .card-art-icon{font-size:135px}.detail-box{padding:28px}.detail-box h1{font-size:clamp(2rem,4vw,3.15rem)}.detail-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:24px 0}.detail-meta dt{font-size:11px;color:var(--muted)}.detail-meta dd{margin:4px 0 0;font-weight:700}.score-ring{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#e4f5ed;border:5px solid #8adbc0;color:#186b5d;font-weight:800;flex-shrink:0}.match-row{display:flex;align-items:center;gap:18px;padding:17px;border:1px solid var(--border);border-radius:15px;margin-bottom:12px}.match-row .mini-art{font-size:30px;border-radius:13px;background:#edf5f0;padding:10px}.match-row-info{flex:1;min-width:0}.match-row h3{font-size:14px;margin:0 0 4px}.reason-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.reason-list span{font-size:10px;color:#438679;background:#eaf6f1;padding:5px 9px;border-radius:8px}.status-line{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid var(--border)}.status-dot{height:13px;width:13px;border:3px solid var(--teal);border-radius:50%;flex-shrink:0;margin-top:3px}.status-line strong{display:block}.status-line small{color:var(--muted)}.login-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:20px 0}.account-tile{text-align:left;border:1px solid var(--border);background:white;border-radius:16px;padding:17px}.account-tile:hover{border-color:var(--teal);background:#f6fbf9}.account-avatar{width:41px;height:41px;border-radius:12px;display:grid;place-items:center;background:#dff3ed;color:#256a5c;font-weight:800;margin-bottom:10px}.account-tile strong{display:block}.account-tile small{color:var(--muted)}.table-scroll{overflow-x:auto}.table-clean{width:100%;border-collapse:collapse;min-width:580px}.table-clean th,.table-clean td{text-align:left;padding:15px;border-bottom:1px solid var(--border);font-size:12px;vertical-align:middle}.table-clean th{font-size:11px;color:var(--muted);font-weight:800}.table-clean tbody tr:last-child td{border-bottom:0}.site-footer{background:#112e3c;color:#bad1d4;padding:36px 0}.footer-inner{display:flex;justify-content:space-between;align-items:start;gap:40px}.footer-inner>div{min-width:220px}.footer-inner>p{max-width:470px;font-size:11px}.footer-brand{font-size:25px;font-weight:800;color:white}.footer-inner a{color:#9be5d7;white-space:nowrap;font-size:12px}.footer-inner p{font-size:11px;line-height:1.9;margin:8px 0 0}#toast-root{position:fixed;bottom:18px;right:18px;z-index:100;max-width:min(370px,calc(100vw - 36px));pointer-events:none}.toast-msg{background:#193f4a;color:#fff;padding:15px 18px;border-radius:13px;box-shadow:0 20px 50px #102e4050;margin-top:8px}.list-actions{display:flex;gap:7px;flex-wrap:wrap}.tiny-note{font-size:11px;color:var(--muted)}.callout{background:var(--ink);padding:45px;border-radius:26px;color:#e4f6f3;display:flex;align-items:center;justify-content:space-between;gap:20px}.callout h2{color:#fff;margin-bottom:8px}.callout p{margin:0}.tagline{display:flex;align-items:center;gap:8px}.tagline:before{content:"";height:8px;width:8px;background:var(--teal);border-radius:50%}.my-heading{margin-bottom:18px}.action-stack{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.help-note{font-size:12px;color:var(--muted)}.divider{border-top:1px solid var(--border);margin:24px 0}.editor-title{font-size:15px;margin:0}.claim-box{border:1px solid var(--border);border-radius:18px;padding:20px;background:#fff;margin-bottom:16px}.claim-meta{font-size:11px;color:var(--muted)}.section-narrow{max-width:730px;margin:auto}.inline-error{border-radius:11px;background:#fff0ed;color:#a4322f;padding:12px 15px;margin-bottom:16px}.dashboard-card{background:#fff;border:1px solid var(--border);border-radius:17px;padding:20px}.dashboard-card b{font-size:29px;color:var(--ink)}.dashboard-card p{color:var(--muted);font-size:12px;margin:5px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(max-width:1100px){.shell-top{gap:15px}.site-nav{gap:14px}.site-nav a{font-size:11px}.hero{padding:65px 0}.orbit-scene{height:380px}.float-tag{padding:10px 12px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(max-width:860px){.shell-top{min-height:67px}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:14px 20px 20px;box-shadow:0 20px 35px #112e3c12;flex-direction:column;align-items:stretch;gap:0}.site-nav.is-open{display:flex}.site-nav a{font-size:13px;padding:12px}.site-nav a.is-active:after{height:0}.mobile-menu{display:block;margin-left:auto}.header-actions{margin-left:0}.hero-copy{padding-bottom:25px}.orbit-scene{max-width:620px;margin:auto}.section{padding:55px 0}.filter-panel{position:static}.footer-inner{flex-wrap:wrap;gap:20px}.header-actions .session-indicator{display:none}}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(max-width:575px){.demo-ribbon{font-size:9px;padding:8px 10px;gap:5px}.demo-ribbon strong{font-size:9px}.container{padding-left:18px;padding-right:18px}.brand{font-size:20px}.brand-mark{width:32px;height:32px;font-size:25px}.btn-header{padding:8px 10px;font-size:11px}.hero{padding:48px 0}.hero h1{font-size:2.75rem}.hero-lead{font-size:14px}.hero-actions .btn-main,.hero-actions .btn-outline{width:100%}.orbit-scene{height:290px;border-radius:22px}.orbit-scene:before{top:-28%;left:-22%}.orbit-scene:after{left:13%;top:6%}.orbit-inner{top:28%;left:32%;width:130px;height:130px}.scene-center{width:84px;height:84px;font-size:38px}.float-tag{font-size:9px;border-radius:10px;gap:5px;padding:6px 8px}.float-tag .item-emoji{font-size:18px;padding:5px}.float-tag small{font-size:8px}.tag-one{left:3%;top:10%}.tag-two{right:2%;top:50%}.tag-three{left:4%;bottom:9%}.stat-box{padding:9px 0}.stat-num{font-size:24px}.section-heading{align-items:start;flex-direction:column}.post-grid{grid-template-columns:1fr}.card-art{height:160px}.page-header{padding:37px 0 28px}.page-body{padding:24px 0 50px}.surface-pad,.form-block,.form-top{padding:19px}.detail-box{padding:20px}.detail-meta{grid-template-columns:1fr 1fr;gap:12px}.detail-art{height:250px}.search-line{flex-direction:column}.search-line .input,.search-line .btn-main{width:100%}.login-choice{grid-template-columns:1fr}.match-row{flex-wrap:wrap}.footer-inner{flex-direction:column}.callout{flex-direction:column;align-items:start;padding:27px}.callout .btn-main{width:100%}.form-actions>*{flex:1}.section{padding:47px 0}}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* FindBack v0.3: authentication mockups, validation, pagination and claim progress */
/* Quy tắc CSS cho .auth-tabs; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#e8f1ee;border-radius:15px;padding:6px;margin-bottom:18px}
/* Quy tắc CSS cho .auth-tabs a; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.auth-tabs a{padding:11px;text-align:center;border-radius:10px;color:#54716d;font-weight:800;font-size:13px}
/* Quy tắc CSS cho .auth-tabs a:hover; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.auth-tabs a:hover{color:var(--teal)}
/* Quy tắc CSS cho .auth-tabs a.is-active; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.auth-tabs a.is-active{background:#fff;color:var(--ink);box-shadow:0 4px 14px rgba(17,46,60,.06)}
/* Quy tắc CSS cho .big-avatar; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.big-avatar{width:64px;height:64px;font-size:28px;margin-bottom:20px}
/* Quy tắc CSS cho .readonly-field; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.readonly-field{border:1px dashed #c5d9d4;background:#f4f8f7;border-radius:12px;padding:12px;color:#5f7176;min-height:45px}
/* Quy tắc CSS cho .preview-panel; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.preview-panel{margin-top:22px;padding:22px;border:1px solid #a8d7c9;border-radius:16px;background:linear-gradient(120deg,#f2fbf8,#fff)}
/* Quy tắc CSS cho .preview-panel[hidden]; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.preview-panel[hidden]{display:none!important}
/* Quy tắc CSS cho .preview-panel h3; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.preview-panel h3{margin:6px 0 12px;overflow-wrap:anywhere}
/* Quy tắc CSS cho .preview-panel p; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.preview-panel p{margin:12px 0 0;color:#5a6d74;white-space:pre-wrap;overflow-wrap:anywhere}
/* Quy tắc CSS cho .preview-details; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.preview-details{color:#42877c;font-size:12px;font-weight:700}
/* Quy tắc CSS cho .input[aria-invalid="true"],.textarea[aria-invalid="true"],.select[aria-invalid="true"]; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.input[aria-invalid="true"],.textarea[aria-invalid="true"],.select[aria-invalid="true"]{border-color:#c45146;background:#fffafa;box-shadow:0 0 0 2px #ffe1dc}
/* Quy tắc CSS cho .field-error:empty; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.field-error:empty{display:none}
/* Quy tắc CSS cho .pager; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.pager{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:28px;flex-wrap:wrap}
/* Quy tắc CSS cho .pager button; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.pager button{border:1px solid var(--border);border-radius:11px;background:#fff;color:var(--ink);padding:9px 14px;font-weight:700}
/* Quy tắc CSS cho .pager button:hover:not(:disabled); các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.pager button:hover:not(:disabled){border-color:var(--teal)}
/* Quy tắc CSS cho .pager button:disabled; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.pager button:disabled{opacity:.4;cursor:not-allowed}
/* Quy tắc CSS cho .pager span; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.pager span{font-size:12px;color:var(--muted)}
/* Quy tắc CSS cho .claim-timeline; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.claim-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:22px 0 18px}
/* Quy tắc CSS cho .timeline-step; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;position:relative;font-size:10px;color:#72848d;font-weight:600;min-width:0;overflow-wrap:anywhere}
/* Quy tắc CSS cho .timeline-step:before; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-step:before{content:"";height:2px;position:absolute;left:-50%;width:100%;top:13px;background:#e2ece8;z-index:0}
/* Quy tắc CSS cho .timeline-step:first-child:before; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-step:first-child:before{display:none}
/* Quy tắc CSS cho .timeline-number; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-number{width:28px;height:28px;border-radius:50%;border:2px solid #dde6e2;color:#7d918e;background:#fff;display:grid;place-items:center;z-index:1;font-weight:800;font-size:11px}
/* Quy tắc CSS cho .timeline-step.done .timeline-number; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-step.done .timeline-number{border-color:#15998e;background:#15998e;color:#fff}
/* Quy tắc CSS cho .timeline-step.current .timeline-number; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-step.current .timeline-number{border-color:#15998e;color:#15998e;background:#e6f7ef}
/* Quy tắc CSS cho .timeline-step.done:before,.timeline-step.current:before; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-step.done:before,.timeline-step.current:before{background:#a5ddce}
/* Quy tắc CSS cho .timeline-step.done,.timeline-step.current; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.timeline-step.done,.timeline-step.current{color:#1c756c}
/* Quy tắc CSS cho .admin-user-form; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.admin-user-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin:14px 0 18px}
/* Quy tắc CSS cho .admin-user-form .input; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.admin-user-form .input{min-width:0}
/* Quy tắc CSS cho .admin-user-form .btn-main; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.admin-user-form .btn-main{white-space:nowrap}
/* Quy tắc CSS cho .skeleton-line; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.skeleton-line{height:15px;border-radius:999px;background:linear-gradient(90deg,#eaf1ef,#dcebe7,#eaf1ef);background-size:200% 100%;margin-top:14px;width:76%;animation:skeleton-shine 1.65s ease-in-out infinite}
/* Quy tắc CSS cho .skeleton-line.long; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.skeleton-line.long{width:100%}.skeleton-line.short{width:45%}
/* Quy tắc CSS cho @keyframes skeleton-shine; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
@keyframes skeleton-shine{0%{background-position:200% 0}100%{background-position:-200% 0}}
/* Quy tắc CSS cho .post-card h3,.card-body-own,.detail-box,.claim-box; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.post-card h3,.card-body-own,.detail-box,.claim-box{overflow-wrap:anywhere}
/* Quy tắc CSS cho .admin-link[hidden]; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.admin-link[hidden]{display:none!important}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(max-width:767px){.admin-user-form{grid-template-columns:1fr}.claim-timeline{gap:3px}.timeline-step{font-size:9px}.claim-box{padding:15px}.pager{gap:9px}}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(prefers-reduced-motion:reduce){.skeleton-line{animation:none!important}}
/* Razor-specific layout */
/* Quy tắc CSS cho .findback-form-container; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-form-container{max-width:780px;margin:0 auto}
/* Quy tắc CSS cho .findback-view h1; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-view h1{font-size:clamp(2rem,4vw,3.2rem)}
/* Quy tắc CSS cho .findback-form-fields; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-form-fields{padding:25px}
/* Quy tắc CSS cho .findback-form-fields .field-validation-error,.findback-form-fields .validation-summary-errors; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-form-fields .field-validation-error,.findback-form-fields .validation-summary-errors{color:#a4322f;font-size:12px}
/* Quy tắc CSS cho .findback-form-fields .input-validation-error; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-form-fields .input-validation-error{border-color:#c45146}
/* Quy tắc CSS cho .findback-form-actions; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-form-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
/* Quy tắc CSS cho .findback-display-grid; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-display-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
/* Quy tắc CSS cho .findback-display-grid dt; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-display-grid dt{color:#657783;font-size:12px}.findback-display-grid dd{font-weight:700;overflow-wrap:anywhere}
/* Quy tắc CSS cho .findback-photo-preview; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-photo-preview{max-width:250px;max-height:200px;object-fit:contain;display:block;border-radius:12px}
/* Quy tắc CSS cho .findback-brand-nav; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-brand-nav{display:flex;flex-wrap:wrap;align-items:center;gap:18px;justify-content:space-between}
/* Quy tắc CSS cho .findback-mobile-toggle; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-mobile-toggle{display:none}
/* Quy tắc CSS cho .findback-logout-form; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-logout-form{display:inline}
/* Quy tắc CSS cho .findback-footnote; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-footnote{font-size:12px;color:#657783}
/* Quy tắc CSS cho .findback-pagination; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:22px}
/* Quy tắc CSS cho .findback-pagination .btn-outline; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.findback-pagination .btn-outline{font-size:12px;padding:10px 13px}
/* Quy tắc CSS cho .validation-summary-errors ul; các khai báo bên trong điều khiển màu, kích thước và bố cục. */
.validation-summary-errors ul{margin:0;padding-left:15px}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(max-width:860px){.findback-mobile-toggle{display:block}.findback-main-nav{display:none;width:100%;flex-direction:column;align-items:stretch;order:10}.findback-main-nav.is-open{display:flex}.findback-brand-nav{gap:10px}}
/* Điều chỉnh giao diện theo kích thước màn hình hoặc giảm chuyển động. */
@media(max-width:575px){.findback-display-grid{grid-template-columns:1fr}.findback-form-fields{padding:18px}.findback-form-actions>*{flex:1}}

.notification-badge{display:inline-flex;align-items:center;justify-content:center;background:#d71920;color:white;border-radius:50%;min-width:24px;height:24px;padding:2px;font-size:12px;font-weight:bold}.post-photo{width:100%;height:100%;object-fit:cover}.detail-art .post-photo{object-fit:contain}.card-art{overflow:hidden}.site-nav{flex-wrap:wrap}.site-header .shell-top{flex-wrap:wrap}.table-responsive{overflow-x:auto}
/* Community features (ranking, gratitude, opt-in email). */
.finder-periods{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.finder-filter{display:inline-block;border:1px solid #c7d9d2;border-radius:999px;padding:8px 16px;text-decoration:none;font-weight:700;color:#1b615a;background:#fff}
.finder-filter.is-selected,.finder-filter:hover{color:#fff;background:#16796e;border-color:#16796e}
.finder-board td,.finder-board th{vertical-align:middle;padding:13px 12px}
.finder-board tr:first-child td{background:#edf8f5}
.finder-rank{font-size:1.1rem;white-space:nowrap}
.finder-title{display:inline-block;background:#eef3f1;border:1px solid #dce8e4;border-radius:999px;padding:5px 10px;font-size:.85rem;white-space:nowrap}
.community-panel{height:100%}
.community-panel h2{font-size:1.3rem}
.community-panel .field{margin:16px 0}
.community-panel .textarea{width:100%;min-height:110px}

/* Optional VietQR quick link for website support. The QR never indicates payment success. */
.vietqr-card { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; border: 1px solid #c8e8dd; border-radius: 1rem; padding: 1rem; margin: 1rem 0; background: #f5fffc; }
.vietqr-image { flex: 0 1 270px; }
.vietqr-image img { display: block; width: 100%; max-width: 270px; height: auto; border-radius: .7rem; background: white; }
.vietqr-instructions { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.vietqr-instructions h3 { font-size: 1.1rem; }
.vietqr-instructions p { margin: 0 0 .5rem; }
.vietqr-instructions code { white-space: normal; }
.vietqr-expander { margin: 1rem 0; }
.vietqr-expander summary { cursor: pointer; font-weight: 700; }
.vietqr-image img:not([src]) { display: none; }
.vietqr-image p { margin-top: .5rem; }

/* FindBack community discovery: features remain visible to signed-out visitors. */
.community-feature {height:100%;display:flex;flex-direction:column;gap:12px;border:1px solid var(--border);border-radius:18px}
.community-feature h3 {font-size:1.25rem;margin:0}
.community-feature p {flex:1;margin:0;color:var(--muted);line-height:1.65}
.community-feature .btn-outline {align-self:flex-start;margin-top:auto;text-align:center}
.community-feature-icon {font-size:2rem;line-height:1.3}
.findback-brand-nav {flex-wrap:wrap;gap:12px 20px;padding-top:12px;padding-bottom:12px}
.findback-main-nav {display:flex;flex:1;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:2px 13px}
.findback-main-nav a {font-size:11px;padding:7px 3px}
.findback-main-nav a.nav-community-link {color:var(--teal);font-weight:800}
@media (max-width:860px) {
  .findback-main-nav {display:none;position:absolute;top:100%;left:0;right:0;width:100%;background:#fff;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;box-shadow:0 20px 35px #112e3c12;padding:14px 20px 20px}
  .findback-main-nav.is-open {display:flex}
  .findback-main-nav a {font-size:13px;padding:12px}
}
@media (max-width:575px) {.community-feature {padding:22px!important}.community-feature .btn-outline {width:100%}}

/* AI Matching (server-rendered): side-by-side uncalibrated AI/rule ranking scores */
.ai-match-mode{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.ai-match-mode a{text-decoration:none}
.match-score-comparison{display:flex;align-items:center;justify-content:flex-end;gap:.85rem;flex-wrap:wrap;margin-left:auto}
.ai-match-label{display:block;font-size:.7rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;text-align:center}
.ai-match-score{min-width:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.08rem;padding:.5rem .65rem;border:1px solid #8cb8b3;border-radius:1rem;background:#e7f4f1;color:#12564f}
.ai-match-score strong{font-size:1.65rem;line-height:1.15;font-variant-numeric:tabular-nums}
.ai-match-score small{font-size:.68rem}
.match-rule-score{text-align:center}
@media(max-width:600px){.match-score-comparison{width:100%;margin-left:0;justify-content:flex-start}.ai-match-score{min-width:70px}.ai-match-mode a{font-size:.85rem}}

.ai-lab-form{padding:1.5rem;margin-bottom:1.25rem}
.ai-lab-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.ai-lab-column{display:flex;flex-direction:column;gap:.48rem;min-width:0}
.ai-lab-column h2{font-size:1.2rem;margin:0 0 .65rem}
.ai-lab-column label,.ai-lab-actions label{font-weight:600;margin-top:.5rem;font-size:.87rem}
.ai-lab-column input,.ai-lab-column textarea,.ai-lab-column select{max-width:100%;min-width:0}
.ai-lab-actions{display:flex;gap:1.5rem;align-items:end;justify-content:space-between;margin-top:1.5rem}
.ai-lab-actions>div:first-child{max-width:310px}
.ai-lab-buttons{display:flex;flex-wrap:wrap;gap:.7rem}
.ai-lab-result{padding:1.5rem;border:1px solid #8bbeb7}
.ai-lab-result h2{font-size:1.4rem}
@media(max-width:760px){.ai-lab-columns{grid-template-columns:1fr}.ai-lab-actions{flex-direction:column;align-items:stretch}.ai-lab-actions>div:first-child{max-width:100%}.ai-lab-buttons button{flex:1}}

/* FindBack conversational assistant: independent from legacy Lost/Found rule search. */
.ai-chat-page{max-width:950px}
.ai-chat-heading p{max-width:52rem}
.ai-chat-shell{background:#fff;border:1px solid #d5e7e3;border-radius:22px;box-shadow:0 14px 45px rgba(19,62,64,.09);overflow:hidden}
.ai-chat-bar{display:flex;align-items:center;gap:12px;background:#eef9f6;padding:16px 20px;border-bottom:1px solid #dae9e6}
.ai-chat-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#147365;color:#fff;font-size:23px}
.ai-chat-bar>div:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column}
.ai-chat-bar strong{font-size:1rem}
.ai-chat-bar span{font-size:.77rem;color:#4c6c69}
.ai-chat-restart{border:1px solid #c2d9d3;background:#fff;border-radius:10px;padding:8px 12px;color:#245f58;cursor:pointer;white-space:nowrap}
.ai-chat-history{min-height:310px;max-height:530px;overflow-y:auto;overscroll-behavior:contain;padding:23px 18px;display:flex;flex-direction:column;gap:18px;scroll-behavior:smooth}
.ai-message{display:flex;max-width:100%}
.ai-message-bot{justify-content:flex-start}
.ai-message-user{justify-content:flex-end}
.ai-message-bubble{padding:12px 16px;line-height:1.6;max-width:min(620px,88%);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:17px}
.ai-message-bot .ai-message-bubble{background:#eff6f4;color:#193c39;border-bottom-left-radius:4px}
.ai-message-user .ai-message-bubble{background:#166e63;color:#fff;border-bottom-right-radius:4px}
.ai-chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 14px}
.ai-chat-suggestions button{border:1px solid #b7d8d2;border-radius:999px;background:#fff;color:#205e55;font-size:.84rem;padding:7px 12px;cursor:pointer}
.ai-chat-suggestions button:hover,.ai-chat-suggestions button:focus-visible{background:#e7f5f1;outline-offset:2px}
.ai-chat-compose{padding:12px 16px;border-top:1px solid #e7efed;display:flex;align-items:flex-end;gap:12px}
.ai-chat-compose textarea{flex:1;width:100%;min-height:52px;max-height:150px;resize:vertical;padding:14px;border:1px solid #b8d3ce;border-radius:13px;background:#fff;font:inherit;line-height:1.5}
.ai-chat-compose .btn-main{min-height:52px;white-space:nowrap}
.ai-chat-bottom{padding:0 18px 15px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#5d7671;font-size:.74rem}
.ai-chat-results{width:min(670px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ai-chat-result-card{display:flex;flex-direction:column;gap:7px;border:1px solid #d2e4de;border-radius:14px;background:#fff;padding:14px;min-width:0}
.ai-chat-result-meta{font-size:.76rem;color:#526e67}
.ai-chat-result-card strong{overflow-wrap:anywhere;color:#163e36}
.ai-chat-result-score{font-size:.8rem;color:#216f63}
.ai-chat-result-link{font-size:.84rem;font-weight:700;margin-top:auto}
.ai-chat-result-footnote{margin:0;font-size:.88rem}
.ai-chat-disclaimer{font-size:.83rem;line-height:1.7;color:#536761;margin:22px 2px 30px}
.ai-chat-disclaimer p{margin:7px 0}
@media(max-width:650px){.ai-chat-shell{border-radius:14px}.ai-chat-bar{padding:12px}.ai-chat-history{padding:15px 12px;min-height:300px;max-height:58vh}.ai-message-bubble{max-width:94%}.ai-chat-results{grid-template-columns:1fr}.ai-chat-compose{padding:10px;gap:7px}.ai-chat-compose .btn-main{padding:9px 12px;font-size:.85rem}.ai-chat-bottom{padding:0 10px 12px}.ai-chat-suggestions{padding:0 10px 12px}.ai-chat-restart{padding:7px 9px;font-size:.82rem}}

/* Developer QR is sized through the stylesheet because the public CSP rejects inline styles. */
.dev-donation-qr{display:block;width:100%;max-width:350px;height:auto;margin:20px auto;image-rendering:pixelated}
.dev-donation-bank{text-align:left;overflow-wrap:anywhere;min-width:0}


.ai-chat-photo-label{display:inline-block;padding:.55rem .7rem;cursor:pointer;white-space:nowrap}
#ai-chat-photo{max-width:170px;font-size:.8rem}
.ai-chat-result-photo{display:block;max-width:140px;max-height:110px;object-fit:contain;margin:.5rem 0;border-radius:.4rem}
