.glgc,.glgc *{box-sizing:border-box}
.glgc{color:#163c31;font-family:system-ui,-apple-system,'Noto Sans Thai',sans-serif;line-height:1.5;max-width:960px;margin:0 auto;padding:4px 0 32px}
.glgc-heading{padding:8px 2px 18px}.glgc-eyebrow{color:#128359;letter-spacing:.13em;font-size:10px;font-weight:900}.glgc-heading h2,.glgc-section-head h3{font-weight:850;color:#104335;margin:5px 0!important}.glgc-heading h2{font-size:clamp(23px,5vw,31px)}.glgc-heading p,.glgc-section-head p{margin:0!important;color:#648075;font-size:13px}.glgc-status{display:flex;align-items:center;gap:8px;padding:11px 14px;background:#e9f6ef;border:1px solid #cce8d6;color:#126448;font-size:12px;font-weight:650;border-radius:14px;margin-bottom:14px}.glgc-status-dot{width:9px;height:9px;border-radius:50%;background:#13a779}.glgc[data-online="0"] .glgc-status{background:#fff5df;border-color:#efdfb2;color:#8a6415}.glgc[data-online="0"] .glgc-status-dot{background:#e3a535}.glgc-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.glgc-action{background:#fff;border:1px solid #d3e5db;color:#19553d;display:flex;flex-direction:column;align-items:flex-start;gap:7px;border-radius:17px;padding:20px 18px;min-height:144px;box-shadow:0 8px 20px #0e48380c;cursor:pointer;text-align:left}.glgc-action svg{width:26px;height:26px;flex:none}.glgc-action strong{font-size:16px}.glgc-action small{font-size:11px;color:#789085}.glgc-action-main{background:linear-gradient(130deg,#0a7650,#139d72);color:white;border-color:#0f8b64}.glgc-action-main small{color:#dff8ec}.glgc-hidden{display:none!important}.glgc-privacy,.glgc-footnote{font-size:12px;color:#6e8079;line-height:1.7;margin:14px 0!important}.glgc-queue-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:20px 0 8px}.glgc-queue-head h3{font-size:15px;margin:0!important}.glgc-queue-head button,.glgc-outline-btn{background:#fff;border:1px solid #cfe3d5;color:#14664b;border-radius:11px;padding:10px 12px;font-size:12px;font-weight:750;cursor:pointer}.glgc-queue{border:1px solid #dce9e2;border-radius:13px;background:white;padding:7px}.glgc-empty{font-size:12px;color:#829489;padding:15px!important;margin:0!important}.glgc-queue-item,.glgc-list-item{display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf4ef;padding:11px 9px}.glgc-queue-item:last-child,.glgc-list-item:last-child{border-bottom:none}.glgc-queue-item>div,.glgc-list-item>div{flex:1;min-width:0}.glgc-queue-item strong,.glgc-list-item strong{font-size:13px;display:block;overflow-wrap:anywhere}.glgc-queue-item small,.glgc-list-item small{display:block;color:#7a8b82;font-size:11px}.glgc-queue-item button,.glgc-list-item button,.glgc-list-item a{border:1px solid #d3e7da;border-radius:8px;font-size:11px;font-weight:750;padding:7px;background:#f5fbf7;color:#137451;text-decoration:none;white-space:nowrap;cursor:pointer}.glgc-divider{border-top:1px solid #d6e7db;margin:28px 0}.glgc-link-section,.glgc-records{padding:19px;background:white;border:1px solid #d6e8dd;border-radius:18px}.glgc-section-head{margin-bottom:14px}.glgc-section-head h3{font-size:18px}.glgc-link-form{display:grid;gap:13px}.glgc-link-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750}.glgc-link-form input,.glgc-link-form select,.glgc-created input{width:100%;border:1px solid #d0e4d7!important;background:#fbfdfa!important;padding:12px!important;min-height:45px;border-radius:11px!important;color:#164734;font-size:14px!important}.glgc-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.glgc-primary-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#08764e;border:0;color:#fff;border-radius:12px;padding:14px;font-size:14px;font-weight:800;min-height:49px;cursor:pointer}.glgc-primary-btn:disabled{opacity:.65;cursor:wait}.glgc-primary-btn svg{width:20px;height:20px}.glgc-created{margin:16px 0;padding:13px;border:1px solid #b4dcc6;background:#edfaf2;border-radius:13px}.glgc-created[hidden]{display:none!important}.glgc-created>strong{font-size:14px}.glgc-created-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.glgc-created-actions button{border:1px solid #b4d8c7;background:white;border-radius:9px;padding:9px;color:#12654b;font-weight:750;cursor:pointer}.glgc-created small{font-size:10px;color:#687d71}.glgc-list{border:1px solid #e1ece5;border-radius:12px;padding:5px;margin-top:10px}.glgc-guest-capture{background:#f2f8f3;margin:0;padding:0;font-family:system-ui,-apple-system,'Noto Sans Thai',sans-serif}.glgc-guest-header{height:64px;background:#fff;border-bottom:1px solid #d6e8dd;display:flex;gap:10px;align-items:center;padding:9px 16px}.glgc-guest-header img{width:43px;height:43px;object-fit:contain}.glgc-guest-header span{display:flex;flex-direction:column}.glgc-guest-header b{font-size:15px;color:#064a39}.glgc-guest-header small{font-size:10px;color:#799183}.glgc-guest-capture>.glgc{padding:20px 15px 35px}.glgc-invalid{max-width:700px;margin:40px auto;padding:20px;text-align:center;color:#164c3e}
@media(max-width:600px){.glgc-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.glgc-action{padding:16px 13px;min-height:122px;border-radius:14px}.glgc-action-main{grid-column:1/-1;min-height:95px;display:grid;grid-template-columns:34px 1fr;gap:1px 12px;align-items:center}.glgc-action-main svg{grid-row:1/3}.glgc-action-main small{grid-column:2}.glgc-action strong{font-size:14px}.glgc-queue-head{align-items:start;flex-direction:column}.glgc-link-section,.glgc-records{padding:14px}.glgc-queue-item{flex-wrap:wrap}.glgc-queue-icon{width:18px}.glgc-guest-capture>.glgc{padding:16px 12px 32px}}

/* v1.2.0 camera-only capture — no system file picker in evidence workflow */
.glgc-camera-stage[hidden]{display:none!important}
.glgc-camera-stage{margin:16px 0 20px;border-radius:19px;overflow:hidden;background:#061b15;color:#e9fff3;border:1px solid #2e7558;box-shadow:0 20px 50px #002a1833}
.glgc-camera-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#0e3d2f}
.glgc-camera-head strong{font-size:12px;letter-spacing:.08em;color:#9af1c0}
.glgc-camera-head button{background:#ffffff12;border:1px solid #ffffff32;color:#fff;border-radius:9px;padding:7px 12px;font-size:12px;cursor:pointer}
.glgc-camera-viewport{aspect-ratio:4/3;background:#020a06;position:relative;min-height:180px}
.glgc-camera-viewport video{display:block;width:100%;height:100%;object-fit:contain;background:#010704}
.glgc-camera-viewport [data-glgc-live-label]{position:absolute;top:12px;left:12px;background:#001e15b8;border:1px solid #18a96b88;border-radius:8px;font-size:11px;padding:5px 9px;color:#bfffdc}
.glgc-camera-metadata{display:flex;flex-direction:column;gap:4px;padding:10px 14px;color:#c3e7d5;font-size:11px;background:#0a241b}
.glgc-camera-buttons{padding:13px;display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center}
.glgc-camera-buttons button{background:#163e31;border:1px solid #498667;border-radius:13px;color:#effff7;min-height:53px;font-weight:750;font-size:13px;cursor:pointer}
.glgc-camera-buttons .glgc-shutter{font-size:17px;background:#0db775;border-color:#41d69a;color:#002b1b;box-shadow:0 7px 23px #00a36b2f}
.glgc-camera-buttons button:disabled{opacity:.45;cursor:not-allowed}
.glgc-camera-feedback{padding:0 14px 15px;color:#ccf8df;font-size:12px;line-height:1.5}
.glgc-quick-live{grid-template-columns:2fr 1fr}
.glgc-quick-live .glgc-action{min-height:120px}
@media(max-width:600px){.glgc-quick-live{grid-template-columns:1fr 1fr}.glgc-quick-live .glgc-action-main{grid-column:auto;display:flex;align-items:flex-start;min-height:122px}.glgc-quick-live .glgc-action-main svg{grid-row:auto}.glgc-quick-live .glgc-action-main small{grid-column:auto}.glgc-camera-viewport{aspect-ratio:3/4;max-height:58dvh}.glgc-camera-buttons{grid-template-columns:92px 1fr;gap:8px}.glgc-camera-buttons button{font-size:12px}.glgc-camera-buttons .glgc-shutter{font-size:15px}}

/* v1.3.1 evidence preview: stays inside LINE webview */
.glgc-file-actions{display:flex;gap:8px;flex-wrap:wrap}.glgc-file-actions>*{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border:1px solid #b4dcc8;border-radius:10px;background:#fff;color:#096346;font-weight:700;cursor:pointer;text-decoration:none}.glgc-preview-dialog{border:0;border-radius:17px;max-width:min(760px,95vw);max-height:90dvh;box-shadow:0 12px 70px #0006;padding:18px;background:white}.glgc-preview-dialog::backdrop{background:#001b11bb}.glgc-preview-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}.glgc-preview-head button{padding:9px 12px;background:#e8f5ed;border:0;border-radius:9px;color:#064f38}.glgc-preview-dialog img,.glgc-preview-dialog video{display:block;max-width:100%;height:auto;margin:auto}.glgc-preview-dialog small{display:block;margin-top:12px;color:#627e6c}

/* v1.3.6 phone-first library: folders by staff link, own quick media isolated. */
.glgc [hidden]{display:none!important}
.glgc-mobile-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 17px}
.glgc-mobile-tabs button{border:1px solid #cbded2;border-radius:12px;background:white;color:#175541;min-height:59px;font-size:13px;font-weight:750;cursor:pointer;line-height:1.35;padding:8px 4px}
.glgc-mobile-tabs button[aria-selected="true"]{background:#087b54;color:white;border-color:#087b54;box-shadow:0 5px 13px #087b5420}
.glgc-job-list{display:grid;gap:10px}
.glgc-job-card{background:#fafffc;border:1px solid #cde4d6;border-radius:14px;padding:14px}
.glgc-job-card-head{display:flex;gap:10px;align-items:center;justify-content:space-between}
.glgc-job-card-head>div:first-child{min-width:0;flex:1}
.glgc-job-card strong{display:block;font-size:15px;line-height:1.45;color:#0d4632}
.glgc-job-card small{font-size:12px;color:#667e71;display:block;margin-top:4px;line-height:1.5}
.glgc-job-card button,.glgc-job-actions button{border:1px solid #bed9c8;color:#076246;border-radius:9px;background:#fff;padding:10px;font-size:12px;font-weight:700;cursor:pointer}
.glgc-job-card .glgc-job-open{background:#e5f5ec}
.glgc-job-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.glgc-job-gallery{margin-top:13px;padding-top:13px;border-top:1px solid #d8e9dd}
.glgc-job-gallery .glgc-evidence-card{background:#fff;margin-bottom:9px}
.glgc-evidence-card{border:1px solid #e0eae3;border-radius:11px;padding:12px;margin-top:9px}
.glgc-evidence-card strong{font-size:13px;color:#154633;display:block}
.glgc-evidence-card small{display:block;color:#658275;font-size:11px;line-height:1.6;margin:5px 0}
.glgc-evidence-actions{display:flex;gap:8px;flex-wrap:wrap}
.glgc-evidence-actions button,.glgc-evidence-actions a{display:inline-block;background:#eaf7f0;border:1px solid #c8e2d1;border-radius:8px;padding:8px 12px;font-size:12px;color:#096444;text-decoration:none;cursor:pointer}
.glgc-count-note{font-size:11px;color:#5a7768;line-height:1.5}
@media(max-width:460px){.glgc-mobile-tabs button{font-size:11px;min-height:55px}.glgc-job-card-head{align-items:flex-start;flex-direction:column}.glgc-job-open{width:100%}}
