:root{--nav:#061225;--nav2:#0f2745;--brand:#0f3b73;--brand2:#1d63b3;--bg:#f3f6fb;--card:#fff;--ink:#0f172a;--muted:#64748b;--line:#dbe5ef;--ok:#15803d;--att:#b45309;--bad:#b91c1c;--shadow:0 18px 40px rgba(15,23,42,.08)}
*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hide{display:none!important}.strong{font-weight:900}.small{font-size:12px;color:var(--muted)}.online{color:#22c55e!important}.full{width:100%}
.login-wrap{max-width:980px;margin:44px auto;padding:16px;display:grid;grid-template-columns:1fr 1.05fr;gap:20px}.login-hero{background:linear-gradient(135deg,#061225,#0f3b73);color:#fff;border-radius:30px;padding:28px;box-shadow:var(--shadow)}.login-hero h1{font-size:34px;margin:20px 0 8px}.login-hero p{color:#cbd5e1;line-height:1.55}.hero-note{margin-top:24px;padding:14px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(255,255,255,.08);color:#dbeafe}.login-card{align-self:stretch}.pin-row{display:grid;grid-template-columns:1fr 58px;gap:8px;margin-bottom:14px}.logoBox{width:54px;height:54px;border-radius:16px;background:#fff;display:grid;place-items:center;overflow:hidden}.logoBox.big{width:82px;height:82px}.logoBox img{max-width:100%;max-height:100%;object-fit:contain}
.app{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.sidebar{background:linear-gradient(180deg,var(--nav),#020817);color:#fff;padding:22px 18px;display:flex;flex-direction:column;gap:18px}.brand{display:flex;gap:12px;align-items:center;padding:8px 8px 18px;border-bottom:1px solid rgba(255,255,255,.08)}.brand h1{margin:0;font-size:16px;line-height:1.2}.brand p{margin:5px 0 0;color:#94a3b8;font-size:12px}.nav-title{padding:0 10px;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#64748b;font-weight:800}.nav{display:flex;flex-direction:column;gap:8px}.nav button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:14px;border:0;border-radius:18px;background:transparent;color:#cbd5e1;text-align:left}.nav button.active{background:#fff;color:#0f172a;font-weight:800}.nav button:hover{background:rgba(255,255,255,.08)}.user-card{margin-top:auto;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);border-radius:20px;padding:14px}.user-card .strong{margin-top:8px}.sidebar-backdrop{display:none}
.main{min-width:0}.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:10px 18px;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:64px;box-shadow:0 8px 22px rgba(15,23,42,.04)}.top-left{display:flex;align-items:center;gap:12px;min-width:0}.mobile-menu-btn{display:none;border:1px solid var(--line);background:#fff;border-radius:14px;width:42px;height:42px;font-size:20px;font-weight:900;color:#0f3b73}.topbar h2{margin:0 0 2px;font-size:21px;line-height:1.15}.topbar p{margin:0;color:var(--muted);font-size:13px;line-height:1.35}.top-actions{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}.top-user{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:7px 11px;box-shadow:0 6px 16px rgba(15,23,42,.05);max-width:240px;white-space:nowrap;overflow:hidden}.top-user .name{font-weight:900;color:#0f172a}.top-user .role{font-size:11px;color:var(--muted)}.top-user .dot{color:#16a34a;font-size:12px}.content{padding:16px 18px;display:flex;flex-direction:column;gap:16px;background:linear-gradient(180deg,#f8fbff 0%,#edf3fb 100%);min-height:calc(100vh - 64px)}.page{display:none}.page.active{display:block}
.card{background:var(--card);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);margin-bottom:16px}.card-head{padding:18px 22px 4px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.card-head h3{margin:0;font-weight:900;color:#0f172a}.card-head p{margin:6px 0 0;color:var(--muted);font-size:14px}.card-body{padding:20px}.compact-card .card-head{padding-bottom:18px}.btn{padding:12px 16px;border-radius:16px;border:1px solid var(--line);background:#fff;font-weight:800;text-decoration:none;color:#0f3b73;display:inline-flex;align-items:center;justify-content:center}.btn.primary{background:linear-gradient(180deg,var(--brand2),var(--brand));color:#fff;border:0}.btn.danger{background:#fef2f2;color:#991b1b}.btn:disabled{opacity:.5;cursor:not-allowed}label{display:block;font-size:12px;color:var(--muted);font-weight:800;margin:0 0 6px;text-transform:uppercase;letter-spacing:.04em}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #cfd8e3;border-radius:16px;background:#fff;outline:none}textarea{min-height:88px;resize:vertical}.msg{margin-top:12px;font-weight:800}.msg.err{color:#b91c1c}.msg.ok{color:#15803d}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.second-row{margin-top:14px}.load-box{display:flex;align-items:end}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.module{border:1px solid var(--line);background:#fff;border-radius:24px;padding:18px}.module .icon{width:48px;height:48px;border-radius:16px;background:#0f172a;color:#fff;display:grid;place-items:center;font-size:22px}.module h4{margin:12px 0 8px;font-size:18px}.module p{color:var(--muted);line-height:1.5;margin:0 0 14px}.pill{font-size:11px;border:1px solid #bae6fd;background:#ecfeff;color:#0369a1;border-radius:999px;padding:4px 8px;margin-left:8px}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.kpi{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 20px rgba(15,23,42,.04);padding:16px}.kpi .t{font-size:12px;color:var(--muted);font-weight:900;text-transform:uppercase}.kpi .v{margin-top:8px;font-size:30px;font-weight:900}.kpi.waiting{border-left:5px solid #f59e0b}.kpi.approved{border-left:5px solid #22c55e}.kpi.rejected,.kpi.failed{border-left:5px solid #ef4444}.kpi.total,.kpi.pdf{border-left:5px solid #2563eb}.kpi.pending{border-left:5px solid #f59e0b}.kpi.ack{border-left:5px solid #06b6d4}.kpi.fixed{border-left:5px solid #22c55e}
table{width:100%;border-collapse:separate;border-spacing:0}th,td{padding:11px 12px;border-top:1px solid #eef2f7;text-align:left;font-size:13px;vertical-align:top}th{background:#f8fafc;color:#475569;font-weight:900;border-top:0}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f8fafc}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:18px}.table-scroll.large{max-height:560px}.pdf-link{color:#0f3b73;font-weight:900;text-decoration:underline}.status{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900}.s-ok{background:#dcfce7;color:#166534}.s-att{background:#fef3c7;color:#92400e}.s-bad{background:#fee2e2;color:#991b1b}.s-na{background:#e7d6c6;color:#7c4a25}.s-pending{background:#fffbeb;color:#92400e}.s-ack{background:#cffafe;color:#155e75}.s-fixed{background:#dcfce7;color:#166534}.s-blank{background:#f8fafc;color:#64748b;border:1px dashed #cbd5e1}.actions{display:flex;gap:8px;flex-wrap:wrap}.op-status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;border:1px solid #dbe5ef;background:#f8fafc;color:#64748b;font-size:12px;font-weight:900}.op-status.ok{background:#dcfce7;color:#166534;border-color:#bbf7d0}.op-status.busy{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.op-status.err{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.item-list{display:flex;flex-direction:column;gap:14px}.item-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 10px 24px rgba(15,23,42,.04)}.item-main-row{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(170px,210px);gap:14px;padding:16px;border-bottom:1px solid var(--line);align-items:start}.item-no{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:#eef2ff;color:#0f3b73;font-weight:900;border:1px solid #dbeafe}.item-title{font-size:17px;font-weight:900;line-height:1.35}.item-meta{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.6}.step-panel{padding:16px 20px;background:#fbfdff;border-bottom:1px solid var(--line)}.step-panel h4{margin:0 0 10px;font-size:13px;color:#0f3b73;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.step-list{margin:0;padding-left:24px;line-height:1.65}.item-bottom-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px}.sticky-row{display:flex;gap:12px;align-items:center;margin-top:14px;flex-wrap:wrap}
.notify-accordion{margin-top:12px;border:1px solid #dbeafe;border-radius:18px;overflow:hidden}.notify-accordion-head{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:0;background:#eff6ff;color:#0f3b73;font-weight:900}.notify-accordion-head small{color:#64748b}.notify-accordion-body{padding:12px;background:#fff;overflow:auto}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.detail-box{border:1px solid var(--line);border-radius:16px;padding:12px;background:#f8fafc}.detail-box b{display:block;font-size:11px;color:#64748b;text-transform:uppercase;margin-bottom:4px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.comment-box{margin-top:10px}.line-comment{color:#475569;white-space:pre-wrap}.empty{padding:18px;color:#64748b;text-align:center}.sidebar.open{left:0}
@media(max-width:1300px){.kpis{grid-template-columns:repeat(2,1fr)}.grid4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.app{grid-template-columns:1fr}.sidebar{position:fixed;left:-290px;top:0;bottom:0;width:270px;z-index:60;transition:left .2s ease}.sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(2,8,23,.4);z-index:50}.sidebar.open+.sidebar-backdrop{display:block}.mobile-menu-btn{display:inline-grid;place-items:center}.topbar{align-items:flex-start;flex-direction:column}.top-actions{overflow-x:auto;width:100%;justify-content:flex-start}.login-wrap,.grid2,.grid4,.module-grid,.kpis,.detail-grid{grid-template-columns:1fr}.item-main-row,.item-bottom-row{grid-template-columns:1fr}.content{padding:12px}.top-user .role{display:none}}

/* v4.1 checklist-only notify color flags */
.s-notify-att{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.s-notify-comment{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.s-notify-bad{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.kpi.bad{border-left:5px solid #ef4444}

/* === v4.2 GAS-style checklist layout === */
#checklist .card:first-child{max-width:1320px;margin:0 auto 18px;border-radius:22px;}
#checklist .card:first-child .card-head{padding:20px 22px 6px;}
#checklist .card:first-child .card-head h3{font-size:22px;}
#checklist .card:first-child .card-head p{display:none;}
#checklist .card:first-child .card-head:after{content:'Course Checklist Setup';display:inline-flex;background:#061225;color:#fff;border-radius:999px;padding:10px 18px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;margin-top:10px;}
#checklist .card:first-child .card-body{margin:0 18px 18px;padding:26px 32px;background:linear-gradient(135deg,#ddebff,#c9ddfa);border:1px solid #99bdee;border-radius:20px;}
#checklist .card:first-child .grid4,#checklist .card:first-child .second-row{display:grid;grid-template-columns:minmax(0,760px);gap:0;}
#checklist .card:first-child .grid4>div,#checklist .card:first-child .second-row>div:not(.load-box){display:grid;grid-template-columns:210px minmax(320px,520px);gap:14px;align-items:center;margin-bottom:12px;}
#checklist .card:first-child label{height:44px;display:flex;align-items:center;background:#76dedc;color:#001b2d;border-radius:0;padding:0 14px;margin:0;font-size:13px;font-weight:900;text-transform:none;letter-spacing:.02em;}
#checklist .card:first-child select,#checklist .card:first-child input{border-radius:0;border:1px solid #64748b;background:#fff;min-height:44px;font-weight:700;}
#checklist .card:first-child .load-box{display:flex;justify-content:center;align-items:center;max-width:760px;margin-top:6px;}
#checklist .card:first-child .load-box .btn{width:auto;min-width:150px;border-radius:12px;padding:12px 24px;box-shadow:0 12px 28px rgba(15,59,115,.18);}
#itemsCard{max-width:1320px;margin:0 auto 16px;border-radius:22px;}
#itemsCard>.card-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 8px;}
#itemsCard>.card-head h3{font-size:22px;margin:0;}
#itemsCard>.card-head p{display:inline-flex;margin-left:10px;border:1px solid #67d9ff;color:#003b7a;background:#effcff;border-radius:999px;padding:7px 14px;font-weight:900;font-size:12px;}
#itemsCard>.card-head .actions .btn{border-radius:999px;font-size:12px;}
#itemsCard>.card-body{padding:0 16px 16px;}
.gas-checklist-sheet{border:2px solid #0f3b73;background:#fff;border-radius:0;overflow:hidden;box-shadow:0 12px 24px rgba(15,23,42,.04);}
.gas-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 10px;border-bottom:0;background:#fff;}
.gas-sheet-head h3{margin:0;font-size:22px;}
.code-pill,.item-loaded-pill{display:inline-flex;align-items:center;border:1px solid #22c5f3;border-radius:999px;background:#effcff;color:#063d75;font-weight:900;font-size:12px;padding:7px 14px;}
.gas-table-scroll{overflow-x:auto;}
.gas-check-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1050px;}
.gas-check-table th,.gas-check-table td{border:1.5px solid #0f3b73;vertical-align:top;}
.gas-check-table th{padding:12px 12px;background:#fff;color:#0a2a66;text-transform:uppercase;letter-spacing:.04em;font-weight:900;font-size:14px;text-align:left;}
.gas-check-table th:first-child,.gas-check-table th:last-child{text-align:center;}
.gas-check-table td{padding:14px 12px;background:#fff;}
.gas-check-table .col-no{width:70px}.gas-check-table .col-item{width:260px}.gas-check-table .col-tag{width:140px}.gas-check-table .col-steps{width:auto}.gas-check-table .col-status{width:130px}
.gas-no{text-align:center;font-size:18px;font-weight:900;color:#0f3b73;}
.gas-item-title{font-size:18px;font-weight:900;line-height:1.25;color:#0f172a;}
.gas-item-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:12px;font-weight:800;color:#0f172a;}
.gas-item-meta span{display:inline-flex;align-items:center;gap:4px;}
.qty-chip{border:1px solid #cbd5e1;border-radius:7px;padding:5px 9px;background:#fff;}
.tag-code-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #22c5f3;border-radius:999px;background:#effcff;color:#063d75;font-size:11px;font-weight:900;padding:7px 10px;max-width:100%;white-space:normal;line-height:1.2;}
.gas-step-list{margin:0;padding-left:24px;font-size:13.5px;line-height:1.58;color:#0f172a;}
.gas-step-list li{margin-bottom:6px;}
.gas-line-comment{border-top:1.5px solid #0f3b73;margin-top:14px;padding-top:12px;}
.gas-line-comment label,.gas-line-evidence label{background:transparent!important;color:#0f3b73!important;height:auto!important;padding:0!important;margin:0 0 6px!important;text-transform:uppercase!important;font-size:11px!important;letter-spacing:.04em!important;display:block!important;}
.gas-line-comment textarea{min-height:64px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;width:100%;}
.gas-line-evidence{margin-top:10px;}
.gas-line-evidence input{border-radius:12px;border:1px solid #cbd5e1;background:#fff;width:100%;min-height:40px;}
.gas-status-cell{text-align:center;vertical-align:middle!important;}
.status-select{border-radius:16px;min-height:44px;border:1px solid #cbd5e1;background:#fff;font-weight:900;color:#0f3b73;text-align:center;}
.status-select.ok{background:#ecfdf5;border-color:#22c55e;color:#166534;}
.status-select.comment{background:#ecfeff;border-color:#06b6d4;color:#0e7490;}
.status-select.att{background:#fffbeb;border-color:#f59e0b;color:#92400e;}
.status-select.bad{background:#fef2f2;border-color:#dc2626;color:#991b1b;}
.status-select.na{background:#f1f5f9;border-color:#94a3b8;color:#475569;}
#submitCard{max-width:1320px;margin:0 auto 22px;border-radius:0;border:2px solid #0f3b73;background:#fff;}
#submitCard .card-body{padding:16px;}
#submitCard label{color:#0f3b73;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
#submitCard textarea{min-height:58px;border-radius:12px;}
#submitCard input{border-radius:12px;}
#submitCard:before{content:'General Comments';display:block;padding:12px 16px 0;font-size:12px;color:#0f3b73;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.sticky-row{margin-top:14px;border:1px solid #cbd5e1;border-radius:16px;padding:10px;display:flex;align-items:center;gap:10px;justify-content:flex-end;background:#f8fbff;}
@media(max-width:900px){
  #checklist .card:first-child .card-body{padding:18px;margin:0 12px 14px;}
  #checklist .card:first-child .grid4>div,#checklist .card:first-child .second-row>div:not(.load-box){grid-template-columns:1fr;gap:6px;}
  #checklist .card:first-child label{border-radius:10px;}
  #checklist .card:first-child select,#checklist .card:first-child input{border-radius:10px;}
  .gas-check-table{min-width:900px;}
  .gas-item-title{font-size:16px;}
  .sticky-row{flex-wrap:wrap;justify-content:flex-start;}
  .notify-check{width:100%;margin-right:0;}
}

/* === v4.3 photo evidence + corrected tag code boxes === */
.gas-tag-cell{padding:10px!important;}
.tag-stack{display:flex;flex-direction:column;gap:6px;align-items:flex-start;max-width:100%;}
.tag-code-chip{display:inline-flex;align-items:center;justify-content:flex-start;border:1px solid #22c5f3;border-radius:10px;background:#effcff;color:#063d75;font-size:11px;font-weight:900;padding:6px 9px;max-width:100%;white-space:normal;line-height:1.15;word-break:break-word;text-align:left;box-shadow:0 1px 3px rgba(14,116,144,.08)}
.tag-code-chip.empty{color:#64748b;background:#f8fafc;border-color:#cbd5e1;}
.photo-evidence-box{border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;padding:12px;margin-bottom:12px;}
.photo-btn{border-color:#bfdbfe;background:#eff6ff;color:#0f3b73;border-radius:12px;padding:10px 14px;font-weight:900;}
.small-photo-btn{min-height:38px;padding:8px 12px;margin-right:10px;}
.hidden-file{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;}
.photo-count{display:inline-flex;align-items:center;margin-left:8px;color:#475569;font-size:12px;font-weight:800;}
.photo-preview-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.photo-preview-row img{width:76px;height:58px;object-fit:contain;border:1px solid #cbd5e1;border-radius:10px;background:#fff;}
.photo-link-chip{display:inline-flex;align-items:center;border:1px solid #bfdbfe;background:#eff6ff;color:#0f3b73;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900;}
.gas-line-evidence{margin-top:10px;border-top:1px dashed #cbd5e1;padding-top:10px;}
#submitCard .photo-evidence-box{margin-top:0;}

/* === v4.5 notify checkbox + review photo/approval layout === */
.notify-check{margin-right:auto!important;display:inline-flex!important;align-items:center!important;gap:9px!important;border:1px solid #bfdbfe;background:#eff6ff;color:#0f3b73;border-radius:12px;padding:10px 14px!important;font-weight:900;font-size:13px;text-transform:none!important;letter-spacing:0!important;height:auto!important;}
.notify-check input{width:18px!important;height:18px!important;min-height:auto!important;padding:0!important;accent-color:#1d63b3;}
.approval-box{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:14px;margin:14px 0;}
.approval-box textarea{min-height:70px;border-radius:12px;}
.approval-box .detail-actions{margin:10px 0 0;}
.review-general-box{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:12px;margin:0 0 14px;}
.review-general-box b,.review-photo-box b{display:block;color:#0f3b73;text-transform:uppercase;font-size:11px;margin-bottom:4px;}
.review-general-box p{margin:0;white-space:pre-wrap;}
.review-photo-box .photo-preview-row img{width:70px;height:56px;}
.review-detail-table th:nth-child(4),.review-detail-table td:nth-child(4){min-width:320px;}
.review-detail-table th:nth-child(7),.review-detail-table td:nth-child(7){min-width:160px;}
@media(max-width:900px){.review-general-box{grid-template-columns:1fr}.notify-check{width:100%;}}

/* === v4.7 tag-code cleanup + review auto-refresh support === */
.gas-tag-cell{padding:10px 8px!important;font-size:12px;line-height:1.28;color:#0f172a;word-break:normal;overflow-wrap:anywhere;}
.tag-code-lines{display:block;white-space:pre-line;font-size:11.5px;line-height:1.25;font-weight:800;color:#0f3b73;max-height:none;}
.tag-code-lines div{margin:0 0 2px;}
.tag-code-text{display:inline-block;border:0!important;background:transparent!important;color:#0f3b73!important;border-radius:0!important;padding:0!important;font-size:12px!important;font-weight:900;line-height:1.25;white-space:normal;word-break:normal;overflow-wrap:anywhere;box-shadow:none!important;}
.tag-code-text.empty{color:#64748b!important;}
.tag-stack,.tag-code-chip{box-shadow:none;}
.review-detail-table td:nth-child(2){white-space:pre-line;word-break:normal;overflow-wrap:anywhere;min-width:110px;}
.review-detail-table .tag-code-lines{font-size:11px;line-height:1.18;color:#0f172a;font-weight:700;}
.review-detail-table .line-comment{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-width:260px;}

/* === v4.8 Admin Edit UI === */
.admin-grid{display:grid;grid-template-columns:1fr;gap:16px;max-width:1720px;margin:0 auto;}
.admin-panel .card-head{align-items:flex-start;}
.admin-panel .card-head h3{margin-bottom:4px;}
.admin-panel .card-head p{margin:0;color:var(--muted);font-size:13px;}
.admin-form{border:1px solid #bfdbfe;background:#f8fbff;border-radius:18px;padding:14px;margin:0 0 14px;box-shadow:0 8px 20px rgba(15,23,42,.04);}
.admin-form label{color:#0f3b73;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.admin-form textarea{min-height:110px;border-radius:12px;}
.admin-checks{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;}
.admin-checks label{display:inline-flex!important;align-items:center;gap:7px;background:#fff;border:1px solid #dbeafe;border-radius:999px;padding:9px 12px!important;color:#0f3b73!important;text-transform:none!important;letter-spacing:0!important;height:auto!important;font-size:12px!important;}
.admin-checks input{width:16px!important;height:16px!important;min-height:auto!important;padding:0!important;accent-color:#1d63b3;}
.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;}
.btn.mini{padding:7px 10px;border-radius:10px;font-size:12px;min-height:32px;}
.admin-filter-row{display:grid;grid-template-columns:minmax(260px,1fr) 180px;gap:10px;margin-bottom:12px;}
.admin-table th,.admin-table td{font-size:13px;vertical-align:top;}
.admin-table td:last-child{white-space:nowrap;}
.admin-table .status{font-size:11px;}
@media(max-width:900px){.admin-filter-row{grid-template-columns:1fr}.admin-table{min-width:900px}.form-actions{align-items:stretch}.form-actions .btn{width:100%}}
