/* v172: isolated full-page weekly survey and authenticated report. */
.ws172{--ws-bg:#edf4f7;--ws-card:#fff;--ws-ink:#19384d;--ws-muted:#536b7c;--ws-line:#cbdce5;--ws-accent:#096c79;--ws-soft:#e4f3f3;--ws-warn:#945b06;--ws-danger:#a72846;--ws-good:#08724f;color-scheme:light;color:var(--ws-ink);font:16px/1.6 system-ui,-apple-system,"PingFang HK","PingFang TC",sans-serif;box-sizing:border-box}
html[data-t="dark"] .ws172{--ws-bg:#0b1724;--ws-card:#12263a;--ws-ink:#f0f6fc;--ws-muted:#b5c9da;--ws-line:#355369;--ws-accent:#78d4df;--ws-soft:#1b3b4b;--ws-warn:#ffd38b;--ws-danger:#ffabc0;--ws-good:#8ce1bd;color-scheme:dark}
.ws172 *{box-sizing:border-box}.ws172[hidden],.ws172 [hidden]{display:none!important}
.ws172 h1,.ws172 h2,.ws172 h3,.ws172 p{color:inherit;margin:0}.ws172 h1{font-size:clamp(23px,4vw,32px);line-height:1.35}.ws172 h2{font-size:22px;line-height:1.45}.ws172 h3{font-size:18px;line-height:1.5}.ws172 p{margin:8px 0}.ws172 a{color:var(--ws-accent);text-underline-offset:3px}.ws172 button,.ws172 input,.ws172 select,.ws172 textarea{font:inherit;color:var(--ws-ink)}.ws172 button,.ws172 .ws-link-button{min-height:48px;padding:10px 16px;border:1px solid var(--ws-line);border-radius:11px;background:var(--ws-card);cursor:pointer;line-height:1.4;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:650;white-space:normal}.ws172 button:disabled{opacity:.58;cursor:not-allowed}.ws172 button:focus-visible,.ws172 a:focus-visible,.ws172 input:focus-visible,.ws172 select:focus-visible,.ws172 textarea:focus-visible,.ws172 summary:focus-visible{outline:3px solid #e9ae40;outline-offset:3px}.ws172 .ws-primary{background:var(--ws-accent);color:#fff;border-color:transparent}html[data-t="dark"] .ws172 .ws-primary{color:#08212d}.ws172 .ws-muted{color:var(--ws-muted);font-size:14px}.ws172 .ws-eyebrow{font-size:12px;letter-spacing:.11em;font-weight:700;color:var(--ws-accent)}
#tdai-weekly-survey{position:relative;z-index:30;background:var(--ws-bg);min-height:calc(100dvh - 150px);padding:24px max(14px,env(safe-area-inset-left)) max(40px,env(safe-area-inset-bottom));width:100%;overflow-wrap:anywhere}.ws172 .ws-shell{width:min(100%,850px);margin:auto}.ws172 .ws-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}.ws172 .ws-top-actions{display:flex;flex-wrap:wrap;gap:8px}.ws172 .ws-top-actions button{font-size:14px;padding:8px 12px}.ws172 .ws-card{background:var(--ws-card);border:1px solid var(--ws-line);border-radius:18px;padding:clamp(18px,3vw,30px);box-shadow:0 8px 28px #0626390a}.ws172 .ws-progress-label{display:flex;justify-content:space-between;gap:8px;color:var(--ws-muted);font-size:14px;margin:18px 0 6px}.ws172 progress{width:100%;height:8px;display:block;accent-color:var(--ws-accent)}.ws172 .ws-question{font-size:20px;line-height:1.6;margin:18px 0}.ws172 fieldset{border:0;min-width:0;padding:0;margin:0}.ws172 legend{padding:0;width:100%;font-weight:750}.ws172 .ws-options{display:grid;gap:10px}.ws172 .ws-option{justify-content:flex-start;text-align:left;min-height:52px;padding:13px 16px;font-size:16px;font-weight:500}.ws172 .ws-option::before{content:"";width:18px;height:18px;border:2px solid var(--ws-muted);border-radius:50%;flex:0 0 auto}.ws172 .ws-options[data-type="multi"] .ws-option::before{border-radius:5px}.ws172 .ws-option[aria-checked="true"]{border:2px solid var(--ws-accent);padding:12px 15px;background:var(--ws-soft)}.ws172 .ws-option[aria-checked="true"]::before{border-color:var(--ws-accent);background:var(--ws-accent);box-shadow:inset 0 0 0 3px var(--ws-card)}.ws172 .ws-scale{grid-template-columns:repeat(6,minmax(0,1fr))}.ws172 .ws-scale[data-count="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}.ws172 .ws-scale .ws-option{justify-content:center;padding:12px 5px;font-weight:700}.ws172 .ws-scale .ws-option[aria-checked="true"]{padding:11px 4px}.ws172 .ws-scale .ws-option::before{display:none}.ws172 .ws-scale-labels{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:var(--ws-muted);margin:8px 0}.ws172 textarea,.ws172 input[type="text"],.ws172 input[type="date"],.ws172 input[type="number"],.ws172 select{width:100%;min-height:48px;border:1px solid var(--ws-line);background:var(--ws-card);border-radius:9px;padding:11px;font-size:16px}.ws172 textarea{min-height:110px;resize:vertical}.ws172 label{display:block}.ws172 .ws-input-label{display:block;font-size:15px;font-weight:650;margin:12px 0 6px}.ws172 .ws-status{min-height:26px;margin-top:12px;font-size:14px;color:var(--ws-muted)}.ws172 .ws-status[data-state="error"],.ws172 .ws-error{color:var(--ws-danger)}.ws172 .ws-status[data-state="saved"],.ws172 .ws-success{color:var(--ws-good)}.ws172 .ws-feedback{padding:14px 16px;border:1px solid var(--ws-line);background:var(--ws-soft);border-radius:11px;margin:14px 0}.ws172 .ws-feedback p{margin:4px 0}.ws172 .ws-controls{display:flex;justify-content:space-between;gap:10px;margin-top:20px;border-top:1px solid var(--ws-line);padding-top:18px}.ws172 .ws-controls button{min-width:110px}.ws172 .ws-notice{border-left:4px solid var(--ws-warn);padding:12px 14px;background:var(--ws-soft);border-radius:0 9px 9px 0;margin:12px 0}.ws172 .ws-done-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--ws-soft);color:var(--ws-good);font-size:30px;margin-bottom:16px}.ws172 .ws-change-list{padding-left:22px}.ws172 .ws-change-list li{margin:10px 0}.ws172 .ws-legal-content{font-size:15px;line-height:1.8;max-width:100%}.ws172 .ws-legal-content *{max-width:100%}.ws172 .ws-legal-content details{margin:14px 0}.ws172 .ws-legal-content summary{min-height:48px;padding:10px}
body.ws172-gated main.main,body.ws172-gated #simple,body.ws172-gated .n6-overlay,body.ws172-gated .bnav,body.ws172-gated #memTabs,body.ws172-gated #n147-dock,body.ws172-gated .n121-sidebar,body.ws172-gated #chatRobotFab,body.ws172-gated .n146-nav{display:none!important}
.ws172.ws-admin{background:var(--ws-bg);min-height:100dvh;padding:24px 16px}.ws172 .ws-admin-shell{max-width:1220px;margin:auto}.ws172 .ws-report-section{background:var(--ws-card);border:1px solid var(--ws-line);border-radius:15px;padding:20px;margin:16px 0}.ws172 .ws-report-section>h2{font-size:21px;margin-bottom:12px}.ws172 .ws-filters,.ws172 .ws-actions{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:14px 0}.ws172 .ws-filters label{min-width:160px;flex:1}.ws172 .ws-filters .ws-input-label{margin-top:0}.ws172 .ws-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ws172 .ws-metric{padding:16px;border:1px solid var(--ws-line);border-radius:11px;background:var(--ws-soft);min-width:0}.ws172 .ws-metric strong{font-size:28px;display:block;line-height:1.4;overflow-wrap:anywhere}.ws172 .ws-metric small{display:block;color:var(--ws-muted);font-size:12px}.ws172 .ws-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--ws-line);border-radius:10px}.ws172 table{border-collapse:collapse;width:100%;min-width:650px;font-size:14px}.ws172 th,.ws172 td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid var(--ws-line);white-space:normal;overflow-wrap:anywhere}.ws172 th{background:var(--ws-soft);font-weight:700}.ws172 tr:last-child td{border-bottom:0}.ws172 .ws-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ws172 .ws-chart{margin:0;padding:14px;border:1px solid var(--ws-line);border-radius:11px;min-width:0}.ws172 .ws-chart svg{display:block;width:100%;height:auto;overflow:visible;color:var(--ws-muted)}.ws172 .ws-chart figcaption{font-weight:700;font-size:15px;margin-bottom:8px}.ws172 .ws-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13px}.ws172 .ws-legend i{display:inline-block;width:20px;height:3px;margin-right:5px;vertical-align:middle}.ws172 .ws-tier-base{color:#148c9e}.ws172 .ws-tier-plus{color:#af6dc9}.ws172 .ws-tier-pro{color:#b97708}.ws172 .ws-empty{color:var(--ws-muted);padding:12px 0}.ws172 .ws-comments article{border-top:1px solid var(--ws-line);padding:14px 0}.ws172 blockquote{white-space:pre-wrap;margin:8px 0;overflow-wrap:anywhere}.ws172 .ws-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ws172 .ws-checklist{display:grid;gap:8px}.ws172 .ws-checklist label{display:flex;gap:10px;align-items:center;min-height:44px;padding:6px 0}.ws172 input[type="checkbox"]{width:20px;height:20px;accent-color:var(--ws-accent)}.ws172 .ws-inline{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.ws172 .ws-config-section{border-top:1px solid var(--ws-line);padding-top:16px;margin-top:16px}.ws172 summary{cursor:pointer;font-weight:650;min-height:44px;padding:8px 0}.ws172 .ws-report-error{padding:18px;border:1px solid var(--ws-danger);border-radius:12px;color:var(--ws-danger)}
@media(max-width:700px){#tdai-weekly-survey{padding-top:16px}.ws172 .ws-top-actions{width:100%}.ws172 .ws-top{margin-bottom:12px}.ws172 .ws-card{border-radius:14px}.ws172 .ws-question{font-size:20px}.ws172 .ws-grid{grid-template-columns:1fr 1fr}.ws172 .ws-chart-grid,.ws172 .ws-config-grid{grid-template-columns:1fr}.ws172 .ws-report-section{padding:16px}.ws172 .ws-filters{align-items:stretch}.ws172 .ws-filters label{min-width:130px}.ws172 .ws-controls{position:static}.ws172 .ws-controls button{min-width:0;flex:1}.ws172.ws-admin{padding:16px 12px}.ws172 .ws-metric strong{font-size:25px}}
@media(prefers-reduced-motion:reduce){.ws172 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
