/* GLG Photo Proof v0.7.4 — scoped UI, embedded inside GLG Employee Portal */
.glg-ep-proof-integration{margin:20px auto;max-width:1200px;font:inherit;color:#183327}
.glg-ep-proof-integration>details{border:1px solid #b9d8c5;border-radius:19px;background:#fff;box-shadow:0 12px 35px rgba(5,48,25,.07);overflow:hidden}
.glg-ep-proof-integration>details>summary{padding:20px 22px;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:18px;font-weight:750;background:linear-gradient(120deg,#0d3d2b,#176846);color:white;list-style:none}
.glg-ep-proof-integration>details>summary::-webkit-details-marker{display:none}
.glg-ep-proof-integration summary small{margin-left:auto;font-size:13px;color:#d7ede0;font-weight:500}
.glg-ep-proof-symbol{background:#e1f2e8;color:#16452d;width:36px;height:36px;display:grid;place-items:center;border-radius:11px}
.glg-ep-proof-integration .glg-portal{background:#f3f8f5;max-width:none;margin:0;border-radius:0}
.glg-ep-proof-integration .glg-portal h2{font-size:24px}
.glg-ep-proof-integration .glg-portal button,.glg-ep-proof-integration .glg-portal .glg-btn{font:inherit;font-size:14px;font-weight:700}
.glg-capture-v071{box-sizing:border-box;max-width:760px;width:calc(100% - 24px);margin:24px auto 32px;border:1px solid #d7e9de;border-radius:24px;overflow:hidden;background:#fff;color:#163a2a;box-shadow:0 24px 60px rgba(12,60,34,.12);font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.glg-capture-v071 *{box-sizing:border-box}
.glg-capture-v071 .glg-capture-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 20px;background:#0b3c29;color:#fff}
.glg-capture-brand{display:flex;align-items:center;gap:10px}.glg-capture-brand img{width:49px;height:49px;object-fit:contain}.glg-capture-brand strong{font-size:15px;display:block;letter-spacing:.04em}.glg-capture-brand small{font-size:12px;color:#d4eddf}
.glg-capture-badge{font-size:10px;letter-spacing:.08em;font-weight:800;color:#e4f8ec;background:#235b40;border-radius:999px;padding:8px 10px;white-space:nowrap}
.glg-capture-job{padding:19px 20px 14px}.glg-job-label{color:#57806b;font-size:12px;font-weight:750}.glg-capture-job h2{margin:4px 0 6px;font-size:21px;line-height:1.4;color:#123b29}.glg-capture-job p{color:#5b7165;font-size:13px;margin:0}
.glg-capture-camera{margin:0 20px 14px;position:relative;background:linear-gradient(135deg,#10251e,#08150f);border-radius:17px;overflow:hidden;min-height:260px;display:flex;flex-direction:column;justify-content:center;color:#eef8f0}
.glg-camera-top{z-index:1;position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;gap:12px;padding:12px 16px;font-size:11px;color:#c5d9ca;background:linear-gradient(to bottom,rgba(0,0,0,.55),transparent)}.glg-camera-live{font-weight:800;color:#d6f8e3}
.glg-capture-v071 #glg-video{width:100%;max-height:62vh;object-fit:contain;background:#09190e}
.glg-capture-camera:has(#glg-video[style*="block"]) .glg-camera-idle{display:none}.glg-camera-idle{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#eef9f2;text-align:center;padding:55px 18px 28px;pointer-events:none}
.glg-camera-idle .glg-camera-icon{font-size:65px;line-height:1;color:#8ccfac}.glg-camera-idle small{font-size:12px;color:#b7d4c4}
.glg-capture-panel{padding:0 20px 20px}.glg-capture-panel>label{font-size:14px;font-weight:750;display:flex;justify-content:space-between;gap:6px}.glg-capture-panel>label span{color:#759485;font-size:11px;font-weight:400}
.glg-capture-v071 input#glg-evidence-title{width:100%;display:block;max-width:none;border:1px solid #bcd7c6;background:#fafdfa;border-radius:12px;padding:14px;margin:7px 0 16px;color:#1c4230;font-size:16px}
.glg-capture-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0}.glg-capture-actions .glg-capture-btn{border:1px solid #c9dacf;background:#eaf2ec;color:#19452e;border-radius:12px;padding:12px 9px;font-size:13px;font-weight:800;min-height:48px;cursor:pointer;line-height:1.35}
.glg-capture-actions .glg-primary{background:#125d3d;color:#fff;border-color:#125d3d}.glg-capture-actions .glg-photo{background:#177a4b;color:#fff;border-color:#177a4b}.glg-capture-actions .glg-submit{background:#ecf8ef;color:#135b38;border-color:#a6dec0}.glg-capture-actions .glg-danger{background:#fff1ec;color:#a03528;border-color:#f4bfb1}.glg-capture-actions .glg-capture-btn:disabled{opacity:.43;cursor:not-allowed}
.glg-capture-status{border-radius:12px;border:1px solid #c7e5d2;background:#eef8f0;color:#175338;padding:12px 14px;font-size:13px;line-height:1.5;margin:16px 0}
.glg-capture-preview{display:grid;gap:10px}.glg-capture-preview img,.glg-capture-preview video{max-width:100%;width:100%;max-height:65vh;object-fit:contain;border-radius:12px;background:#f4f6f5}
.glg-capture-sync{border-top:1px solid #e2eee5;margin-top:17px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.glg-capture-sync span{font-size:12px;color:#5a7566}.glg-capture-sync button{flex-shrink:0;border:1px solid #c6ddcd;background:white;color:#1c6341;font-size:12px;font-weight:700;padding:11px;border-radius:10px;cursor:pointer}
.glg-capture-footer{border-top:1px solid #e1e9e4;padding:11px;text-align:center;font-size:11px;color:#799285;background:#f6f9f7}
@media(max-width:580px){.glg-ep-proof-integration summary small{display:none}.glg-capture-v071{margin:10px auto;width:calc(100% - 10px);border-radius:17px}.glg-capture-v071 .glg-capture-head{padding:13px 12px}.glg-capture-brand img{width:38px;height:38px}.glg-capture-brand strong{font-size:11px}.glg-capture-brand small{font-size:10px}.glg-capture-badge{font-size:9px;padding:7px}.glg-capture-job{padding:15px}.glg-capture-camera{margin:0 12px 12px;min-height:230px}.glg-capture-panel{padding:0 12px 15px}.glg-capture-actions{gap:6px}.glg-capture-actions .glg-capture-btn{font-size:12px;padding:9px 4px}.glg-capture-job h2{font-size:18px}}

/* v0.7.3 — Verified GLG Employee Portal bridge + Staff Field Evidence dashboard */
body:has(.glg-staff-app) .entry-title,body:has(.glg-staff-app) .page-title{display:none}
.glg-ep-proof-integration{max-width:1150px;margin:22px auto;padding:0 12px}
.glg-ep-proof-shortcut{display:flex;align-items:center;gap:14px;max-width:100%;background:linear-gradient(115deg,#093c2d,#087b4a);border:1px solid rgba(255,255,255,.2);border-radius:17px;padding:17px 20px;color:#fff!important;text-decoration:none!important;box-shadow:0 10px 27px rgba(7,70,44,.13)}
.glg-ep-proof-shortcut:hover{filter:brightness(1.05);transform:translateY(-1px)}
.glg-ep-proof-shortcut .glg-ep-proof-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;font-size:29px;background:#e5f5e8;color:#0e6545;flex-shrink:0}
.glg-ep-proof-shortcut span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}.glg-ep-proof-shortcut strong{font-size:18px}.glg-ep-proof-shortcut small{font-size:12px;line-height:1.55;color:#cae5d6}.glg-ep-proof-shortcut span:last-child{font-size:28px;line-height:1}
.glg-staff-app{--glg-green:#075c3b;--glg-dark:#092f24;--glg-border:#dae8e0;--glg-soft:#f5faf7;--glg-muted:#667c70;box-sizing:border-box;max-width:1270px;width:calc(100% - 30px);margin:16px auto 44px;padding:0!important;background:transparent!important;border:0!important;color:#14392b;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.55}
.glg-staff-app *{box-sizing:border-box}
.glg-staff-app .glg-staff-hero{position:relative;overflow:hidden;min-height:225px;border-radius:23px;background:linear-gradient(115deg,#062d23 0%,#096743 70%,#0d9961 100%);padding:23px 30px 28px;color:#fff;box-shadow:0 14px 30px rgba(4,60,35,.13)}
.glg-staff-app .glg-staff-hero:before{content:"";position:absolute;width:300px;height:300px;right:-70px;top:-175px;border:60px solid rgba(157,243,177,.08);border-radius:50%;pointer-events:none}
.glg-staff-app .glg-staff-hero:after{content:"";position:absolute;width:220px;height:220px;right:10%;bottom:-190px;border:47px solid rgba(184,237,203,.08);border-radius:50%;pointer-events:none}
.glg-staff-brand{display:flex;align-items:center;gap:11px;position:relative;z-index:1}.glg-staff-brand img{width:55px;height:55px;object-fit:contain;border-radius:14px;background:#fff;padding:3px}.glg-staff-brand span{display:grid;gap:2px}.glg-staff-brand strong{letter-spacing:.045em;font-size:15px;color:#fff}.glg-staff-brand small{letter-spacing:.16em;font-size:10px;color:#bbdfcc}
.glg-staff-back{position:absolute;top:28px;right:30px;color:#fff!important;font-weight:650;font-size:13px;text-decoration:none!important;border:1px solid rgba(255,255,255,.37);border-radius:10px;padding:8px 13px;background:rgba(255,255,255,.12);z-index:2}
.glg-staff-hero-text{position:relative;z-index:1;margin:15px 0 0}.glg-staff-kicker{display:block;color:#a5f3c6;font-size:13px;font-weight:700;letter-spacing:.025em}.glg-staff-hero-text h1{font-size:clamp(23px,3vw,34px)!important;color:#fff!important;margin:5px 0 6px!important;line-height:1.28!important;letter-spacing:-.025em;font-weight:800}.glg-staff-hero-text p{color:#d7eee0;font-size:14px;line-height:1.6;margin:0 0 10px}.glg-staff-user{font-size:12px;color:#d1f2db;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);border-radius:30px;padding:5px 10px;display:inline-block}
.glg-staff-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:17px 0}.glg-staff-stats>div{background:#fff;border:1px solid var(--glg-border);border-radius:16px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 5px 17px rgba(12,74,45,.04)}.glg-staff-stats span{font-size:13px;color:var(--glg-muted);font-weight:650}.glg-staff-stats strong{font-size:28px;color:var(--glg-dark);font-weight:850;line-height:1}
.glg-staff-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:start;gap:17px}
.glg-staff-app .glg-staff-card{min-width:0;border-radius:18px;border:1px solid var(--glg-border);background:#fff;padding:23px;box-shadow:0 8px 24px rgba(18,71,40,.045)}
.glg-staff-heading{display:flex;align-items:center;gap:11px;border-bottom:1px solid #ebf0ec;padding-bottom:17px;margin-bottom:18px}.glg-staff-heading-icon{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;background:#e8f5ed;color:#0e7249;border-radius:14px;font-size:25px;font-weight:800}.glg-staff-app .glg-staff-heading h2{color:var(--glg-dark);font-size:20px;line-height:1.3;margin:0 0 3px;font-weight:800}.glg-staff-heading p{font-size:12px;color:#728579;margin:0}
.glg-staff-app .glg-staff-fields{display:grid;gap:13px}.glg-staff-app .glg-staff-fields label{display:grid;gap:6px;font-size:13px;font-weight:750;color:#233f32;margin:0;line-height:1.5}.glg-required{color:#c73d42}
.glg-staff-app .glg-staff-fields input,.glg-staff-app .glg-staff-fields textarea,.glg-staff-app .glg-staff-fields select{width:100%;max-width:100%;border:1px solid #cbdbd1!important;border-radius:11px!important;box-shadow:none!important;background:#fff!important;color:#13392a!important;font:inherit;font-size:14px;min-height:45px;padding:12px 13px;margin:0!important;outline:0}.glg-staff-app .glg-staff-fields textarea{min-height:85px;resize:vertical}.glg-staff-app .glg-staff-fields input:focus,.glg-staff-app .glg-staff-fields select:focus,.glg-staff-app .glg-staff-fields textarea:focus{border-color:#0d8d59!important;box-shadow:0 0 0 3px rgba(18,153,93,.13)!important}.glg-staff-app input::placeholder,.glg-staff-app textarea::placeholder{color:#9aa9a0}
.glg-staff-app .glg-staff-submit{display:block;width:100%;margin:19px 0 8px!important;border-radius:12px;border:0!important;background:linear-gradient(110deg,#0a774a,#075937)!important;color:#fff!important;padding:15px;font:inherit;font-size:15px;font-weight:800;min-height:50px;cursor:pointer;box-shadow:0 7px 17px rgba(14,114,67,.14)}.glg-staff-app .glg-staff-submit:hover{filter:brightness(1.05)}.glg-staff-app .glg-staff-submit:disabled{opacity:.5;cursor:not-allowed}.glg-staff-hint{color:var(--glg-muted);font-size:12px;text-align:center;margin:8px 0 0}
.glg-staff-app .glg-staff-job{border:1px solid #e0e9e2;border-radius:15px;padding:17px;margin:0 0 12px;background:#fff;transition:border-color .15s ease}.glg-staff-job:hover{border-color:#abd2b9}.glg-job-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.glg-job-number{font-size:12px;font-weight:750;color:#528267}.glg-job-badge{padding:5px 9px;border-radius:99px;font-size:11px;font-weight:800;white-space:nowrap}.glg-job-badge.active{background:#e4f8e8;color:#147446}.glg-job-badge.expired{background:#fff2df;color:#96621c}.glg-job-badge.revoked{background:#f1f2f4;color:#788189}.glg-staff-app .glg-staff-job h3{font-size:18px;color:var(--glg-dark);line-height:1.35;margin:9px 0 2px;font-weight:800}.glg-job-sub{font-size:12px;color:#708378;margin:0 0 10px}.glg-job-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;border-top:1px solid #eff2f0;padding:10px 0 13px;color:#617669;font-size:12px}.glg-job-meta span{overflow-wrap:anywhere}.glg-job-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.glg-job-actions form{margin:0}.glg-staff-app .glg-btn,.glg-staff-app .glg-job-actions button,.glg-staff-app .glg-link-ready button{border:1px solid #d4e4d8;border-radius:10px;padding:9px 12px;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;min-height:40px;white-space:normal;font-size:12px;line-height:1.4;font-weight:800;cursor:pointer;font-family:inherit}.glg-staff-app .glg-primary{background:#0b6743!important;color:#fff!important;border-color:#0b6743!important}.glg-staff-app .glg-secondary{background:#f5faf7!important;color:#0a6040!important}.glg-staff-app .glg-danger{background:#fff3f1!important;color:#b23f3e!important;border-color:#ffd1cc!important}.glg-staff-app .glg-job-actions button:hover,.glg-staff-app .glg-btn:hover{filter:brightness(.97)}.glg-legacy-tip{font-size:11px;color:#758b7e}
.glg-staff-flash{background:#eefaf2;border:1px solid #c5e7d1;color:#0b603f;border-radius:15px;padding:17px;margin:15px 0}.glg-staff-flash p{margin:4px 0 9px}.glg-staff-flash.glg-error{background:#fff5f1;border-color:#f4cbbb;color:#a44433}.glg-link-ready{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.glg-link-ready input{flex:1;min-width:180px;max-width:100%;border:1px solid #d6e7dc;border-radius:10px;padding:10px;font-size:12px;background:white}.glg-link-ready button{background:#096b42!important;color:#fff!important}.glg-staff-empty{text-align:center;padding:38px 12px;color:#6e8075}.glg-staff-empty>span{font-size:44px;color:#8faf9c;display:block}.glg-staff-empty strong{display:block;color:#1a4930;font-size:17px}.glg-staff-empty p{font-size:13px}
.glg-staff-evidence{margin-top:17px}.glg-evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:13px}.glg-evidence-grid article{min-width:0;background:#f8faf9;border:1px solid #e2ebe4;border-radius:13px;padding:10px}.glg-evidence-grid img,.glg-evidence-grid video{height:180px;width:100%;object-fit:contain;background:#f0f4f1;border-radius:9px}.glg-evidence-grid strong{font-size:13px;display:block;padding:8px 2px 0;overflow-wrap:anywhere}.glg-evidence-grid small{font-size:11px;color:#738779;display:block;padding:2px}
.glg-access-notice{background:#f5faf6;border:1px solid #d4e8dc;padding:25px;border-radius:16px;margin:20px auto;max-width:720px;color:#17442d}.glg-access-notice h2{font-size:21px;margin:0 0 8px}.glg-access-notice .glg-btn{background:#136942;color:#fff;text-decoration:none;padding:12px 16px;border-radius:9px;display:inline-block}
@media(max-width:800px){.glg-staff-layout{grid-template-columns:minmax(0,1fr)}.glg-staff-app{width:calc(100% - 20px)}.glg-staff-app .glg-staff-card{padding:18px}}
@media(max-width:540px){.glg-staff-app{width:calc(100% - 14px);margin:8px auto 26px}.glg-staff-app .glg-staff-hero{padding:16px 17px 20px;border-radius:16px;min-height:230px}.glg-staff-brand img{width:42px;height:42px}.glg-staff-brand strong{font-size:12px}.glg-staff-back{right:13px;top:18px;font-size:11px;padding:7px}.glg-staff-hero-text{margin-top:22px}.glg-staff-hero-text h1{font-size:23px!important}.glg-staff-hero-text p{font-size:12px}.glg-staff-stats{gap:6px}.glg-staff-stats>div{display:grid;align-content:center;gap:6px;padding:11px 8px;border-radius:12px;min-height:75px;text-align:center}.glg-staff-stats span{font-size:10px}.glg-staff-stats strong{font-size:23px}.glg-staff-app .glg-staff-card{padding:15px;border-radius:15px}.glg-staff-heading-icon{width:40px;height:40px}.glg-staff-app .glg-staff-heading h2{font-size:18px}.glg-staff-app .glg-staff-job{padding:13px}.glg-job-meta{grid-template-columns:1fr}.glg-job-actions{gap:6px}.glg-staff-app .glg-job-actions button,.glg-staff-app .glg-btn{flex-grow:1}.glg-ep-proof-integration{margin:12px auto}.glg-ep-proof-shortcut{padding:13px}.glg-ep-proof-shortcut strong{font-size:16px}}

/* v0.7.4 — refined mobile form and capture polish */
.glg-auto-note{display:inline-block;margin-left:6px;font-size:11px;font-weight:600;color:#5a7e6b}
.glg-staff-app .glg-staff-fields{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
.glg-staff-app .glg-staff-fields label:nth-child(1),.glg-staff-app .glg-staff-fields label:nth-child(2),.glg-staff-app .glg-staff-fields label:nth-child(7){grid-column:1/-1}
.glg-staff-app .glg-staff-fields input,.glg-staff-app .glg-staff-fields textarea,.glg-staff-app .glg-staff-fields select{background:#fcfefd!important}
.glg-capture-v071{border-radius:26px;overflow:hidden}
.glg-capture-job h2{letter-spacing:-.02em}
.glg-capture-status{font-weight:600}
.glg-capture-preview img,.glg-capture-preview video{border:1px solid #dfebe3;box-shadow:0 7px 20px rgba(15,70,43,.06)}
@media(max-width:700px){.glg-staff-app .glg-staff-fields{grid-template-columns:1fr}.glg-staff-app .glg-staff-fields label{grid-column:1/-1}}
@media(max-width:580px){.glg-capture-sync{display:grid;grid-template-columns:1fr;align-items:stretch}.glg-capture-sync button{width:100%}.glg-capture-v071 input#glg-evidence-title{font-size:15px}.glg-auto-note{display:block;margin:2px 0 0}}
