.sheet-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:22px;margin-top:22px;align-items:start}.sheet-list{padding:10px;max-height:75vh;overflow:auto}.sheet-list-item{display:block;width:100%;border:0;background:white;border-radius:9px;text-align:left;padding:15px;margin-bottom:5px;color:#27354c;cursor:pointer}.sheet-list-item.active{background:#f0edfd;color:#6555bf}.sheet-list-item strong,.sheet-list-item small,.sheet-list-item span{display:block;overflow-wrap:anywhere;line-height:1.6}.sheet-list-item small{font-size:11px;color:#748197;margin-top:6px}.sheet-list-item span{font-size:10px;color:#7d78a1;margin-top:7px}.sheet-main{display:grid;gap:20px;min-width:0}.sheet-card{padding:25px;min-width:0}.sheet-card h2{font-size:18px;margin:0 0 10px;overflow-wrap:anywhere}.sheet-card form{margin-top:22px}.sheet-card fieldset{border:0;margin:0 0 20px;padding:0;min-width:0}.sheet-card textarea{min-height:120px;resize:vertical}.sheet-form-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.sheet-form-head select{max-width:190px}.sheet-rules{margin:20px 0;padding:16px;background:#f9f9fd;border:1px solid #eceaf4;border-radius:10px}.sheet-rules summary,.sheet-results summary{font-size:13px;font-weight:600;cursor:pointer;line-height:1.6}.sheet-rules[open]>summary{margin-bottom:18px}.sheet-check{display:flex;align-items:center;gap:10px;margin:15px 0;font-size:13px}.sheet-check input{width:18px}.sheet-actions{padding-bottom:22px;border-bottom:1px solid #eceef5;margin-bottom:22px}.sheet-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.sheet-counts>div{background:#f7f7fc;padding:14px;border-radius:9px;min-width:0}.sheet-counts strong,.sheet-counts span{display:block;line-height:1.6;overflow-wrap:anywhere}.sheet-counts strong{font-size:20px}.sheet-counts span{font-size:11px;color:#718096}.sheet-table-scroll{overflow:auto;max-height:420px;margin:15px 0}.sheet-result-table{border-collapse:collapse;width:100%;font-size:12px}.sheet-result-table th,.sheet-result-table td{padding:12px;text-align:left;border-bottom:1px solid #eceef5;vertical-align:top;min-width:90px;overflow-wrap:anywhere}.sheet-result-table th{color:#737d91;background:#f8f9fd;position:sticky;top:0}.sheet-results{padding:15px 0;border-bottom:1px solid #eceef5}.sheet-example{padding:16px 0;border-bottom:1px solid #eceef5;font-size:12px}.sheet-example pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 inherit;background:#f7f8fb;padding:14px;border-radius:8px}.sheet-unsaved{font-size:12px;color:#a56a24}.sheet-good{color:#3c8969;font-size:13px;line-height:1.7}.sheet-card .inline-notice ul{margin:0;padding-left:16px}.sheet-card .form-grid{align-items:start}.sheet-card .hint{overflow-wrap:anywhere}.sheet-card input:not([type=checkbox]),.sheet-card select,.sheet-card textarea{max-width:100%}@media(max-width:1100px){.sheet-layout{grid-template-columns:190px minmax(0,1fr)}.sheet-card{padding:20px}.sheet-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-form-head{flex-direction:column}}@media(max-width:800px){.sheet-layout{grid-template-columns:1fr}.sheet-list{display:flex;gap:10px;max-height:none;overflow:auto}.sheet-list-item{min-width:200px;flex:1;margin:0}.sheet-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-card{padding:20px 17px}.sheet-card .form-grid{grid-template-columns:1fr}.sheet-form-head select{max-width:100%;width:100%}}

.sheet-history-filters{align-items:end;margin:18px 0}.sheet-history-filters .form-field{display:grid;gap:6px;flex:1;min-width:170px}.sheet-history-filters input,.sheet-history-filters select{width:100%}.sheet-results pre{white-space:pre-wrap;overflow-wrap:anywhere}.sheet-result-table td{overflow-wrap:anywhere;max-width:360px}

.sheet-results li{margin:8px 0}
.sheet-automatic{padding:18px;border:1px solid #e2e5f4;background:#f7f8fe;border-radius:12px;margin:18px 0}.sheet-automatic h3{margin:0;font-size:15px}.sheet-automatic .hint{line-height:1.8}.sheet-oauth-uri{display:block;overflow-wrap:anywhere;white-space:normal;margin:8px 0;padding:10px;background:#f4f6fb;border-radius:7px;font-size:11px}#google-activity-form .hint{line-height:1.8}#google-activity-form li{margin:8px 0}#google-activity-form input[type=file]{max-width:100%}

.sheet-connect-help{padding:16px;background:#f5f6fd;border:1px solid #e3e6f2;border-radius:12px;margin:18px 0}.sheet-service-email{overflow-wrap:anywhere;white-space:normal;font-size:12px;min-width:0;flex:1}.sheet-connect-help .row{align-items:center}#sheet-connect-form textarea{min-height:140px;max-width:100%}#sheet-connect-form .hint{line-height:1.7}.sheet-work-stats .sheet-period{width:auto;min-width:120px}.sheet-work-stats h3{margin:0}.sheet-work-stats .sheet-counts{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.sheet-work-stats .sheet-counts{grid-template-columns:1fr}.sheet-connect-help .row{align-items:start;flex-direction:column}}

/* Employee view: task and results first, setup on its own tab. */
.sheet-page{max-width:1380px;margin:0 auto}.sheet-page .page-heading{align-items:center;margin-bottom:26px}.sheet-page .page-heading>.row{flex-wrap:wrap;justify-content:flex-end;gap:10px}.sheet-page .page-heading p{max-width:580px}.sheet-page .sheet-layout{grid-template-columns:225px minmax(0,1fr);gap:20px;margin-top:0}.sheet-page .sheet-list{padding:10px;position:sticky;top:22px;max-height:80vh}.sheet-list-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 10px 16px;font-size:12px;font-weight:600;color:#7c8493}.sheet-list-heading>span:last-child{font-size:11px;border-radius:6px;background:#f0f2f6;padding:2px 7px}.sheet-page .sheet-list-item{display:flex;gap:10px;align-items:flex-start;border-radius:9px;padding:13px 10px;margin:0 0 4px;line-height:1.4}.sheet-page .sheet-list-item.active{background:#f1effc;color:#5643aa}.sheet-file-mark{flex:none!important;color:#8a94a5;padding-top:2px}.sheet-list-item.active .sheet-file-mark{color:#6551bb}.sheet-file-mark svg{width:18px;height:18px}.sheet-list-text{min-width:0;flex:1}.sheet-page .sheet-list-item strong{font-size:12px;font-weight:600;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.sheet-page .sheet-list-item small{font-size:10px;margin-top:6px;font-weight:400;color:#8c91a0}.sheet-page .sheet-main{gap:18px}.sheet-page .sheet-card{padding:25px 28px;border-color:#e7eaf0;box-shadow:0 2px 4px #1b254003}.sheet-page .sheet-card h2{font-size:18px;line-height:1.5;letter-spacing:-.3px;margin:0}.sheet-selected{padding:24px 28px 0;min-width:0;border-color:#e7eaf0}.sheet-selected-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.sheet-title-group{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}.sheet-title-group>div{min-width:0}.sheet-selected h2{font-size:20px;line-height:1.45;letter-spacing:-.4px;margin:0;overflow-wrap:anywhere}.sheet-selected-head p{font-size:11px;line-height:1.6;color:#8a92a1;margin:8px 0 0}.sheet-google-mark{display:grid;place-items:center;flex:none;width:38px;height:42px;background:#eef8f1;color:#319765;border-radius:9px}.sheet-google-mark svg{width:21px;height:21px}.sheet-selected-head>a{flex:none;white-space:nowrap;font-size:11px}.sheet-tabs{display:flex;gap:28px;margin-top:23px;border-bottom:0;overflow-x:auto}.sheet-tab{border:0;border-bottom:2px solid transparent;color:#8a91a2;padding:12px 0;background:transparent;cursor:pointer;font-family:inherit;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap;display:flex;align-items:center;gap:7px}.sheet-tab.active{color:#6650bb;border-bottom-color:#7961d5}.sheet-tab:focus-visible,.sheet-list-item:focus-visible{outline:2px solid #a398d9;outline-offset:2px}.sheet-draft-dot{width:5px;height:5px;border-radius:50%;background:#bc8a4e}.sheet-section-title{display:flex;gap:13px;align-items:flex-start}.sheet-section-title .hint{margin:4px 0 0}.sheet-feature-icon{display:grid;place-items:center;background:#f3f0fd;color:#7760bf;border-radius:10px;width:36px;height:36px;flex:none}.sheet-feature-icon svg{width:18px;height:18px}.sheet-analysis-empty{padding:30px 0 25px}.sheet-analysis-empty p{font-size:15px;font-weight:600;color:#445066;margin:0 0 9px}.sheet-analysis-empty>span{display:block;color:#9097a6;font-size:12px;line-height:1.8;max-width:560px}.sheet-analysis-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.sheet-analysis-actions .btn{font-size:12px;padding:11px 16px}.sheet-analysis-actions .btn svg{width:16px;height:16px}.sheet-action-help{font-size:11px!important;margin:11px 0 0!important;line-height:1.7}.sheet-prompt-preview{border-top:1px solid #edf0f5;padding-top:19px;margin-top:22px}.sheet-prompt-preview h3{font-size:12px;font-weight:600;color:#6f7889;margin:0}.sheet-prompt-preview>.row .btn{font-size:11px;padding:5px 8px}.sheet-prompt-preview p{font-size:12px;color:#8b92a1;line-height:1.8;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.sheet-prompt-full>summary{font-size:11px;color:#8776b6;cursor:pointer;list-style:none;margin-top:7px}.sheet-prompt-full[open]>summary{margin-bottom:8px}.sheet-ai-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#8a92a2;font-size:11px;margin:22px 0 15px}.sheet-ai-answer{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.sheet-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:22px 0 18px}.sheet-overview-metrics>div{min-width:0}.sheet-overview-metrics strong{font-size:26px;font-weight:600;letter-spacing:-.7px;line-height:1.35;display:block;color:#334059}.sheet-overview-metrics span{display:block;font-size:11px;line-height:1.7;margin-top:5px;color:#9299a6;overflow-wrap:anywhere}.sheet-data-review>.hint{margin:14px 0 0}.sheet-detail-report{margin-top:21px;border-top:1px solid #edf0f5;padding-top:17px}.sheet-detail-report>summary,.sheet-methodology>summary{cursor:pointer;font-size:12px;font-weight:500;color:#7c8494;line-height:1.7}.sheet-detail-report[open]>summary{margin-bottom:22px}.sheet-detail-report .sheet-counts{gap:8px}.sheet-detail-report .sheet-counts>div{padding:12px;background:#fafbfe}.sheet-status-note{padding:12px 14px;font-size:11px;line-height:1.8;border:1px solid #efebe4;border-radius:8px;background:#fbf9f5;color:#9a835a;margin:14px 0}.sheet-empty-page{padding:50px 20px}.sheet-settings-card form{margin-top:0}.sheet-settings-card .sheet-form-head{gap:18px;align-items:center}.sheet-settings-card .sheet-form-head .hint{margin:6px 0 0}.sheet-settings-card .sheet-form-head{margin-bottom:24px}.sheet-settings-card #field-prompt{font-size:13px;line-height:1.9;min-height:175px;background:#fff;border-color:#e1e5ee}.sheet-settings-card .sheet-rules{background:#fafbfd;border-color:#edf0f5;margin:18px 0}.sheet-settings-card .sheet-rules>summary{font-size:12px;color:#737c8f}.sheet-settings-card .sheet-save-row{border-top:1px solid #edf0f5;padding-top:20px;margin-top:24px}.sheet-access-settings>summary,.sheet-tracking-settings>summary{font-size:13px;color:#6e788a;font-weight:500;cursor:pointer;line-height:1.7}.sheet-tracking-settings>summary small{font-size:10px;font-weight:400;color:#9b8b6c;margin-left:10px}.sheet-settings-tools,.sheet-tracking-settings-body{padding-top:18px}.sheet-setup-step{display:flex;gap:13px;padding:23px 0;border-top:1px solid #edf0f5}.sheet-setup-step>div:last-child{min-width:0;flex:1}.sheet-setup-step h3{font-size:13px;margin:0 0 5px;color:#515c71}.sheet-step-label{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid #e6e9ef;border-radius:50%;color:#a2a9b7;font-size:11px}.sheet-setup-step .hint{margin:6px 0 12px;font-size:11px;line-height:1.8}.sheet-setup-actions{margin:10px 0}.sheet-setup-instructions{margin-top:14px}.sheet-setup-instructions>summary{font-size:11px;line-height:1.7;color:#8c95a4;cursor:pointer}.sheet-setup-instructions ol{font-size:12px;line-height:1.9;color:#7d8798;padding-left:18px}.sheet-setup-instructions li{margin:9px 0}.sheet-activity-notice{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:9px;background:#faf8f3;border:1px solid #f0ebe1;margin-bottom:25px}.sheet-activity-notice strong{font-size:12px;font-weight:500;color:#8f7d59}.sheet-activity-notice p{font-size:11px;line-height:1.8;margin:5px 0 0;color:#a0947c}.sheet-activity-notice>div{flex:1;min-width:0}.sheet-activity-notice .btn{flex:none;font-size:11px}.sheet-notice-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#c4af7e;margin-top:7px}.sheet-activity-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.sheet-activity-heading .hint{margin:5px 0 0}.sheet-activity-heading .row{flex-wrap:nowrap;gap:8px}.sheet-work-stats .sheet-period{font-size:11px;width:125px;padding:9px 10px;height:36px}.sheet-activity-heading .btn{height:36px;font-size:11px;padding:8px 12px}.sheet-time-note{background:#f7f9fc;border-color:#ebeff6;color:#8d97a8}.sheet-activity-empty{text-align:center;padding:36px 22px 28px;max-width:440px;margin:0 auto}.sheet-empty-symbol{display:grid;place-items:center;background:#f5f6fa;color:#b3bbc9;border-radius:12px;width:44px;height:44px;margin:0 auto 16px}.sheet-empty-symbol svg{width:21px;height:21px}.sheet-activity-empty h3{font-size:14px;color:#616d81;font-weight:500;margin:0 0 10px}.sheet-activity-empty p{font-size:12px;line-height:1.9;color:#a0a7b4;margin:0}.sheet-methodology{margin-top:16px}.sheet-methodology .hint{margin:10px 0 0}.sheet-methodology>summary{font-size:11px;font-weight:400;color:#9ca4b2}.sheet-people-table{margin:18px 0}.sheet-people-table .sheet-result-table{font-size:12px}.sheet-people-table .sheet-result-table th{font-size:10px;background:#fafbfd;color:#9aa2b0;font-weight:500;padding:12px 9px;white-space:normal}.sheet-people-table .sheet-result-table td{font-size:11px;color:#758198;padding:16px 9px;min-width:85px}.sheet-people-table td:first-child{min-width:145px}.sheet-people-table td strong{font-size:12px;font-weight:500;color:#57647a;display:block}.sheet-people-table td small{display:block;font-size:10px;color:#a4abb8;line-height:1.7;margin-top:5px}.sheet-event-details{margin-top:25px}.sheet-journal-body .sheet-history-filters{gap:10px}.sheet-journal-body .sheet-history-filters .form-field{font-size:11px;min-width:130px}.sheet-journal-body .sheet-results summary{font-size:11px;color:#8690a3}.sheet-activity-loading{display:flex;gap:10px;align-items:center;font-size:12px;color:#9099aa;padding:20px 0}.sheet-connect-help-title{font-size:12px;font-weight:500;color:#58667a}.sheet-connect-help{background:#f8fafc;border-color:#e7edf3;margin:16px 0 21px;padding:14px 16px}.sheet-connect-help .hint{font-size:11px;margin:7px 0 12px}.sheet-service-email{font-size:11px;color:#8590a1}.sheet-connect-extra{margin-top:16px}.sheet-connect-extra>summary{font-size:11px;cursor:pointer;color:#9aa3b2}.sheet-connect-extra[open] .form-field{margin-top:14px}.sheet-connect-privacy{font-size:11px;line-height:1.8;color:#a1a8b4;margin-top:18px}#sheet-connect-form textarea{min-height:112px;font-size:12px;line-height:1.8}#dialog:has(#sheet-connect-form){width:min(550px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto}#sheet-connect-form .form-footer{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f5}
@media(max-width:1150px){.sheet-page .sheet-layout{grid-template-columns:185px minmax(0,1fr);gap:16px}.sheet-page .sheet-card{padding:22px}.sheet-selected{padding:22px 22px 0}.sheet-selected-head{flex-direction:column;gap:14px}.sheet-activity-heading{flex-direction:column;gap:14px}.sheet-settings-card .sheet-form-head{align-items:flex-start;flex-direction:column}}
@media(max-width:850px){.sheet-page .sheet-layout{grid-template-columns:1fr}.sheet-page .sheet-list{position:static;display:block;max-height:none;padding:6px}.sheet-list-heading{padding:7px 9px;font-size:11px}.sheet-list-items{display:flex;gap:6px;overflow:auto;padding:2px 0}.sheet-page .sheet-list-item{min-width:190px;max-width:280px;flex:0 0 auto;margin:0}.sheet-page .sheet-list-item strong{-webkit-line-clamp:2}.sheet-page .page-heading>.row{justify-content:flex-start}.sheet-page .sheet-card{padding:22px 20px}.sheet-selected{padding:20px 20px 0}.sheet-page .sheet-main{gap:14px}}
@media(max-width:520px){.sheet-page .page-heading{gap:17px;margin-bottom:18px}.sheet-page .page-heading h1{font-size:25px}.sheet-page .page-heading p{font-size:11px}.sheet-page .page-heading>.row .btn{font-size:11px;padding:9px 12px}.sheet-selected h2{font-size:16px}.sheet-google-mark{width:30px;height:35px;border-radius:7px}.sheet-selected-head p{font-size:10px}.sheet-tabs{margin-top:17px;gap:25px}.sheet-tab{font-size:12px}.sheet-page .sheet-card h2{font-size:16px}.sheet-analysis-empty{padding:24px 0 12px}.sheet-analysis-actions{gap:8px}.sheet-analysis-actions .btn{font-size:11px;padding:10px 12px}.sheet-prompt-preview{padding-top:16px;margin-top:18px}.sheet-overview-metrics{gap:12px}.sheet-overview-metrics strong{font-size:23px}.sheet-overview-metrics span{font-size:10px}.sheet-activity-notice{flex-wrap:wrap;padding:12px}.sheet-activity-notice>.btn{margin-left:16px}.sheet-activity-notice p{font-size:10px}.sheet-activity-empty{padding:28px 4px 18px}.sheet-activity-empty p{font-size:11px}.sheet-settings-card #field-prompt{font-size:12px;line-height:1.8;min-height:165px}.sheet-tracking-settings>summary small{display:block;margin:4px 0 0 16px}.sheet-page .sheet-card .form-grid{grid-template-columns:1fr}.sheet-setup-step{gap:10px}.sheet-step-label{width:21px;height:21px}.sheet-connect-help .row{align-items:flex-start;flex-direction:column}.sheet-service-email{line-height:1.8}.sheet-connect-help{padding:12px}#sheet-connect-form .form-footer{position:sticky;bottom:0;background:#fff;padding-bottom:3px}#dialog:has(#sheet-connect-form){padding:22px 18px}}

.sheet-activity-heading .sheet-work-controls{flex-wrap:wrap}
.sheet-work-controls input[hidden]{display:none}
