.ogsm,.ogsm-dialog{color:#202124;background:#fff;font:14px/1.65 Arial,"PingFang SC","Microsoft YaHei",sans-serif;box-sizing:border-box;color-scheme:light}
.ogsm{max-width:1600px;margin:auto;min-width:0}.ogsm *,.ogsm-dialog *{box-sizing:border-box}.ogsm h2{font-size:23px;font-weight:500;margin:0}.ogsm h3{font-size:21px;font-weight:500;margin:4px 0}.ogsm h4{font-size:16px;font-weight:500;margin:0}.ogsm p{margin:6px 0 12px}.ogsm-heading,.ogsm-plan-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid #dadce0}.ogsm-heading p,.ogsm-plan-head p{color:#5f6368;font-size:12px;margin:3px 0}.ogsm-kicker{font-size:12px;color:#1967d2}.ogsm button,.ogsm-dialog button{border:1px solid #dadce0;border-radius:4px;background:#fff;color:#1967d2;cursor:pointer;min-height:36px;padding:7px 13px;font:500 13px/1.5 Arial,"PingFang SC",sans-serif;white-space:nowrap}.ogsm button:hover,.ogsm-dialog button:hover{background:#f1f6ff}.ogsm button:disabled,.ogsm-dialog button:disabled{opacity:.5;cursor:default}.ogsm button:focus-visible,.ogsm-dialog button:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}.ogsm .ogsm-primary,.ogsm-dialog .ogsm-primary{background:#1a73e8;color:#fff;border-color:#1a73e8}.ogsm .ogsm-primary:hover,.ogsm-dialog .ogsm-primary:hover{background:#1967d2}.ogsm .ogsm-link{border:0;padding:0;white-space:normal;text-align:left;font-size:14px}.ogsm-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.ogsm-toolbar label,.ogsm-field>label{display:grid;gap:6px;font-size:12px;color:#5f6368}.ogsm-toolbar input,.ogsm-toolbar select,.ogsm-field input,.ogsm-field select,.ogsm-field textarea,.ogsm-picker input{border:1px solid #dadce0;border-radius:4px;background:#fff;color:#202124;min-height:40px;padding:9px 11px;font:14px/1.5 Arial,"PingFang SC",sans-serif;max-width:100%;width:100%}.ogsm-field textarea{min-height:100px;resize:vertical}.ogsm-field input:focus,.ogsm-field textarea:focus,.ogsm-field select:focus,.ogsm-toolbar input:focus,.ogsm-toolbar select:focus{outline:2px solid #1a73e8;outline-offset:-1px}.ogsm-actions{display:flex;gap:8px;flex-wrap:wrap}.ogsm-tabs{display:flex;gap:20px;border-bottom:1px solid #dadce0;overflow-x:auto;margin-bottom:20px}.ogsm-tabs button{border:0;border-radius:0;position:relative;min-height:50px;padding:12px 0;color:#5f6368}.ogsm-tabs button[aria-pressed=true]{color:#1967d2}.ogsm-tabs button[aria-pressed=true]:after{position:absolute;content:"";height:3px;background:#1a73e8;bottom:0;left:0;right:0}.ogsm-objective{display:flex;gap:20px;border-bottom:1px solid #dadce0;padding:6px 0 20px}.ogsm-objective>span{font-size:35px;color:#1a73e8;line-height:1.4}.ogsm-objective p{white-space:pre-wrap;font-size:16px}.ogsm-objective small,.ogsm-objective summary{font-size:12px;color:#5f6368}.ogsm-objective details p{font-size:13px}.ogsm-selfcheck{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 0;color:#5f6368;font-size:12px}.ogsm-selfcheck strong{color:#202124;font-weight:500}.ogsm-selfcheck small{color:#80868b}.ogsm-section-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 12px}.ogsm-section-bar p{font-size:12px;color:#5f6368;margin:0;max-width:850px}.ogsm-section-bar>div{display:flex;gap:8px}.ogsm-sheet-section{margin:24px 0}.ogsm-sheet-section h4{border-left:3px solid #1a73e8;padding-left:10px}.ogsm-sheet-section:nth-of-type(3) h4{border-color:#ea4335}.ogsm-sheet-section:nth-of-type(4) h4{border-color:#fbbc04}.ogsm-sheet-section:nth-of-type(5) h4{border-color:#34a853}.ogsm-table-wrap{overflow:auto;max-width:100%;border-block:1px solid #dadce0}.ogsm table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;min-width:720px}.ogsm td,.ogsm th{padding:12px 14px;border-bottom:1px solid #e8eaed;vertical-align:top;max-width:340px;min-width:70px;white-space:pre-wrap;overflow-wrap:anywhere}.ogsm th{font-size:12px;color:#5f6368;background:#f8fafd;font-weight:500;white-space:nowrap}.ogsm td:last-child{white-space:nowrap;width:70px}.ogsm tr:last-child td{border-bottom:0}.ogsm tr:hover{background:#f8fafd}.ogsm td small{display:block;font-size:12px;color:#5f6368;max-width:600px;margin-top:3px}.ogsm-title-cell{min-width:190px;font-weight:500}.ogsm td button{border:0;padding:4px 7px;min-height:30px}.ogsm-check{display:inline-block;white-space:nowrap;border-radius:3px;padding:1px 8px;font-size:12px}.check-none{background:#f1f3f4;color:#5f6368}.check-green{background:#e6f4ea;color:#137333}.check-amber{background:#fef7e0;color:#8a5700}.check-red{background:#fce8e6;color:#a50e0e}.ogsm-pager{display:flex;justify-content:end;align-items:center;gap:12px;padding:12px 0;font-size:12px;color:#5f6368}.ogsm-pager button{min-height:32px;padding:5px 10px}.ogsm-note,.ogsm-footnote{font-size:12px;color:#5f6368;padding:8px 0}.ogsm-error{font-size:13px;color:#b3261e;white-space:pre-wrap}.ogsm-error:empty{display:none}.ogsm-empty{padding:30px 10px;color:#5f6368;text-align:center;font-size:13px}.ogsm-empty strong{font-size:18px;font-weight:500;color:#202124}.ogsm-guide{max-width:1000px}.ogsm-guide details{border-bottom:1px solid #e8eaed;padding:14px 0}.ogsm-guide summary{cursor:pointer;font-weight:500}.ogsm-guide p{white-space:pre-wrap;color:#3c4043}.ogsm-guide small{display:block;font-size:11px;color:#5f6368}.ogsm-guide li{margin:14px 0}.ogsm-guide ul{padding-left:20px}.ogsm-dialog{width:740px;max-width:calc(100vw - 28px);max-height:92vh;padding:0;border:0;border-radius:10px;box-shadow:0 12px 40px #20212444}.ogsm-dialog::backdrop{background:#20212466}.ogsm-dialog form{margin:0;display:flex;flex-direction:column;max-height:90vh}.ogsm-dialog header,.ogsm-dialog footer{padding:17px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #dadce0}.ogsm-dialog h3{font-size:20px;font-weight:500;margin:0}.ogsm-dialog header [data-close]{font-size:24px;border:0;padding:0;width:36px}.ogsm-form-body{padding:22px;display:grid;gap:18px;overflow:auto}.ogsm-dialog footer{border-top:1px solid #dadce0;border-bottom:0;justify-content:end}.ogsm-dialog [data-delete]{margin-right:auto;color:#b3261e;border-color:transparent}.ogsm-field small{font-size:11px;color:#5f6368;display:block;margin-top:4px}.ogsm-relation{border:1px solid #dadce0;border-radius:4px;padding:6px 10px;display:flex;align-items:center;gap:12px;min-width:0}.ogsm-relation span{flex:1;overflow-wrap:anywhere;color:#202124}.ogsm-relation button{flex-shrink:0}.ogsm-picker{width:600px}.ogsm-picker .ogsm-toolbar{padding:0 22px}.ogsm-picker .ogsm-toolbar input{flex:1;min-width:0;width:auto}.ogsm-picker-list{padding:0 22px;max-height:50vh;overflow:auto}.ogsm-picker-list>button{display:block;width:100%;text-align:left;white-space:normal;border:0;border-bottom:1px solid #e8eaed;border-radius:0;padding:14px 8px}.ogsm-picker-list small{display:block;color:#5f6368}.ogsm-picker [data-error]{color:#b3261e;padding:0 22px}.ogsm-dialog [data-conflict] dl{font-size:12px;max-height:220px;overflow:auto;background:#f8fafd;padding:12px}.ogsm-dialog [data-conflict] dt{font-weight:bold}.ogsm-dialog [data-conflict] dd{margin:0 0 10px;white-space:pre-wrap}.ogsm [aria-busy=true]{opacity:.65;pointer-events:none}.strategy-workspaces{display:flex;gap:22px;border-bottom:1px solid #dadce0;margin-bottom:12px}.strategy-workspaces button{font:500 14px/1.5 Arial,"PingFang SC",sans-serif;background:#fff;color:#5f6368;border:0;border-bottom:3px solid transparent;min-height:48px;padding:10px 0;cursor:pointer}.strategy-workspaces button[aria-pressed=true]{border-color:#1a73e8;color:#1967d2}
@media(max-width:700px){.ogsm-heading,.ogsm-plan-head{align-items:start;gap:10px}.ogsm-heading h2{font-size:20px}.ogsm-plan-head{flex-direction:column}.ogsm h3{font-size:19px}.ogsm-toolbar label{width:100%}.ogsm-toolbar button,.ogsm button{min-height:40px}.ogsm-tabs{gap:18px}.ogsm-tabs button{flex-shrink:0}.ogsm-section-bar{align-items:start;flex-direction:column;gap:10px}.ogsm-selfcheck{gap:8px 12px}.ogsm-pager{flex-wrap:wrap;gap:8px}.ogsm td,.ogsm th{padding:10px}.ogsm-objective{gap:14px}.ogsm-dialog header,.ogsm-dialog footer,.ogsm-form-body{padding:14px}.ogsm-dialog button{min-height:40px}.ogsm-relation{padding:5px 8px}.ogsm-dialog footer{flex-wrap:wrap}.ogsm-picker .ogsm-toolbar{padding:0 14px;flex-wrap:nowrap}.ogsm-picker-list{padding:0 14px}.ogsm-dialog [data-delete]{font-size:12px}.strategy-workspaces{gap:20px}}
@media(prefers-reduced-motion:reduce){.ogsm *,.ogsm-dialog *{scroll-behavior:auto}}

.ogsm-calculation{width:1200px}.ogsm-calculation table{min-width:950px}.ogsm-calculation .ogsm-form-body{max-height:70vh}.ogsm-calculation table{width:100%;border-collapse:collapse;font-size:12px}.ogsm-calculation td,.ogsm-calculation th{border:1px solid #dadce0;padding:9px;text-align:left;vertical-align:top}.ogsm-calculation th{background:#f8fafd}.ogsm-calculation td{max-width:340px;white-space:pre-wrap}.ogsm-calculation .ogsm-table-wrap{overflow:auto}.ogsm-dialog [inert]{opacity:.65}
.ogsm-connection{padding:28px 0;border-bottom:1px solid #dadce0;max-width:950px}.ogsm-connection h3{font-size:20px}.ogsm-connection p{color:#5f6368;line-height:1.8}.ogsm-connection .ogsm-actions{margin:20px 0 14px}.ogsm-connection small{font-size:12px;color:#5f6368}.ogsm-service-link{display:inline-flex;align-items:center;min-height:38px;padding:7px 14px;border-radius:4px;background:#1a73e8;color:#fff;text-decoration:none;font-size:13px;font-weight:500}.ogsm-service-link:hover{background:#1967d2}.ogsm-service-link:focus-visible{outline:2px solid #1a73e8;outline-offset:3px}.ogsm [data-local-guide-content]{margin:24px 0}.ogsm [data-local-guide-content][hidden]{display:none}

/* Planning center: shared hierarchy and controls with the company OKR workspace. */
.ogsm-center{background:transparent}.ogsm-center-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px;border:1px solid #dfe4ed;border-radius:10px;background:linear-gradient(110deg,#fff 55%,#f0f5ff);margin:8px 0 14px}.ogsm-center-header h2{font-size:26px;font-weight:600;letter-spacing:-.5px;margin:7px 0}.ogsm-center-header p{font-size:13px;color:#6b7280;margin:5px 0}.ogsm-center .ogsm-kicker{font-size:11px;font-weight:600;letter-spacing:.4px}.ogsm-cycle{min-width:300px;width:360px;max-width:44%;background:#ffffffc9;border:1px solid #e0e5ef;border-radius:8px;padding:13px 16px;display:grid;gap:8px}.ogsm-cycle label{font-size:12px;color:#5f6368;display:grid;gap:6px}.ogsm-cycle select{background:#fff;border:1px solid #dadce0;border-radius:5px;padding:8px 10px;width:100%;color:#202124;font:14px/1.5 Arial,"PingFang SC",sans-serif}.ogsm-cycle>div{display:flex;gap:10px;align-items:center;font-size:11px;color:#5f6368}.ogsm-cycle small{font-size:11px;color:#6b7280;overflow-wrap:anywhere}.ogsm-plan-status{background:#edf3ff;color:#1967d2;border:1px solid #dce6fd;border-radius:12px;padding:1px 8px}.ogsm-command-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:0 0 14px}.ogsm-command-bar>div{display:flex;gap:6px;flex-wrap:wrap}.ogsm-command-bar button{font-size:12px;min-height:32px;padding:5px 11px;background:#fff}.ogsm-primary-tabs{gap:7px;margin:0 0 22px;padding:5px;border:1px solid #e0e3e7;border-radius:7px;background:#fff}.ogsm-primary-tabs button{min-height:38px;border-radius:5px;padding:8px 16px;font-weight:500;font-size:13px}.ogsm-primary-tabs button[aria-pressed=true]{background:#356fdc;color:#fff;box-shadow:0 2px 5px #1a73e81a}.ogsm-primary-tabs button[aria-pressed=true]:after{display:none}.ogsm-list-switch{display:flex;gap:20px;border-bottom:1px solid #e0e3e7;margin-bottom:16px;overflow:auto}.ogsm-list-switch button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:8px 0;color:#5f6368;background:transparent;min-height:38px}.ogsm-list-switch button[aria-pressed=true]{color:#1967d2;border-bottom-color:#1a73e8}.ogsm-directory-head{display:flex;align-items:center;justify-content:space-between;padding:20px 0 4px}.ogsm-start{padding:48px 28px;background:#fff;border:1px solid #e0e3e7;border-radius:10px}.ogsm-start h3{font-size:24px;margin:8px 0}.ogsm-start p{max-width:680px;color:#6b7280}.ogsm-start ol{display:flex;list-style:none;padding:18px 0 28px;gap:26px;margin:0;flex-wrap:wrap}.ogsm-start li{font-size:13px;color:#5f6368;display:flex;align-items:center;gap:9px}.ogsm-start b{width:28px;height:28px;border-radius:5px;background:#edf3ff;color:#1967d2;text-align:center;line-height:28px}.ogsm-editor{width:820px}.ogsm-dialog header>div>small{font-size:11px;color:#6b7280;display:block;margin-top:4px}.ogsm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.ogsm-field.is-wide{grid-column:1/-1}.ogsm-form-grid .ogsm-field{min-width:0}.ogsm-editor .ogsm-form-body{gap:18px}.ogsm-extra-fields{border-top:1px solid #e0e3e7;padding-top:13px}.ogsm-extra-fields summary{cursor:pointer;color:#1967d2;font-size:12px;font-weight:500}.ogsm-extra-fields .ogsm-form-grid{margin-top:16px}.ogsm-editor textarea{min-height:78px}.ogsm-editor .ogsm-relation button:disabled{opacity:1;border:0;background:#f1f3f4;color:#6b7280;font-size:11px;min-height:27px}.ogsm-center [data-list-content] .ogsm-toolbar{margin:12px 0}.ogsm-center [data-list-content] td{padding:10px 12px}.ogsm-center [data-list-content] .ogsm-section-bar{margin-top:0}.ogsm-center [data-list-content] .ogsm-section-bar p{max-width:620px}
@media(max-width:900px){.ogsm-center-header{gap:18px;padding:20px}.ogsm-cycle{min-width:260px}.ogsm-center-header h2{font-size:23px}}
@media(max-width:700px){.ogsm-center-header{flex-direction:column;align-items:stretch;padding:16px;gap:15px}.ogsm-cycle{width:100%;max-width:none;min-width:0;padding:12px}.ogsm-center-header h2{font-size:23px}.ogsm-command-bar{align-items:start;gap:8px}.ogsm-command-bar>div{gap:4px}.ogsm-command-bar button{padding:5px 9px}.ogsm-primary-tabs{gap:2px;padding:4px}.ogsm-primary-tabs button{min-height:40px;padding:8px 12px}.ogsm-form-grid{grid-template-columns:minmax(0,1fr);gap:15px}.ogsm-start{padding:28px 18px}.ogsm-start ol{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ogsm-start h3{font-size:21px}.ogsm-command-bar [data-add-plan]{display:none}.ogsm-list-switch{gap:20px}.ogsm-directory-head{gap:10px}}

.ogsm-year-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 0 0 10px;
  color: #526174;
}
.ogsm-year-bar label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.ogsm-year-bar select {
  min-height: 34px;
  padding: 4px 9px;
  border: 1px solid #cad7eb;
  border-radius: 6px;
  background: #fff;
  color: #24364c;
  font: inherit;
}
.ogsm-year-bar select:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
.ogsm-year-bar small { font-size: 12px; }

.ogsm-department-picker { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.ogsm-department-picker label { min-width: 0; }
.ogsm .ogsm-department-picker button { padding-inline: 9px; }

.ogsm .ogsm-notice { color:#146c43; background:#e8f3ed; border-radius:6px; padding:8px 12px; }
.ogsm .ogsm-notice:empty { display:none; }
.ogsm-record-list { min-width:0; border:1px solid #d6e0ed; border-radius:8px; background:#fff; }
.ogsm-record { display:flex; align-items:flex-start; gap:10px 16px; padding:12px 16px; }
.ogsm-record + .ogsm-record { border-top:1px solid #e4eaf2; }
.ogsm-record:hover { background:#f8fafd; }
.ogsm-record-main { flex:1 1 auto; min-width:0; }
.ogsm-record-heading { display:flex; flex-wrap:wrap; align-items:center; gap:3px 9px; }
.ogsm-record-heading .ogsm-link { font-weight:600; min-height:28px; overflow-wrap:anywhere; }
.ogsm-record-heading small { color:#5f6368; }
.ogsm-record-facts { display:flex; flex-wrap:wrap; gap:4px 16px; color:#526174; font-size:12px; overflow-wrap:anywhere; }
.ogsm-record-facts b { font-weight:600; color:#3c4c60; }
.ogsm-record-facts details { min-width:0; max-width:100%; }
.ogsm-record-facts details[open] { flex-basis:100%; }
.ogsm-record-facts summary { cursor:pointer; color:#1967d2; }
.ogsm-record-facts p,.ogsm .ogsm-record-objective { margin:4px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.ogsm .ogsm-record-objective { color:#526174; font-size:12px; }
.ogsm-check-filters { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.ogsm .ogsm-check-filters button { min-height:32px; border-radius:18px; color:#4a596d; }
.ogsm .ogsm-check-filters button[aria-pressed="true"] { color:#185abc; border-color:#9fbcf6; background:#eaf2ff; font-weight:600; }
.ogsm-editor-hint { margin:0; color:#526174; font-size:13px; }
.ogsm-editor [data-form-error]:empty,.ogsm-editor [data-conflict]:empty { display:none; }
@media(max-width:700px){
 .ogsm .ogsm-command-bar { flex-wrap:wrap; }
 .ogsm .ogsm-command-bar [data-add-plan] { display:inline-block; }
 .ogsm-record { flex-wrap:wrap; padding:10px 12px; }
 .ogsm-record-main { flex-basis:100%; }
 .ogsm-record-facts { gap:4px 10px; }
 .ogsm .ogsm-check-filters button { min-height:36px; }
 .ogsm-section-bar>div { flex-wrap:wrap; }
}

.ogsm-tracking {
  --tracking-text: #24364c;
  --tracking-muted: #58677b;
  --tracking-divider: #d6e0ed;
  --tracking-line: #e4eaf2;
  container: ogsm-tracking / inline-size;
  min-width: 0;
}
.ogsm-tracking-toolbar,
.ogsm-tracking-controls,
.ogsm-tracking-buttons,
.ogsm-tracking-filters {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}
.ogsm-tracking-toolbar {
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 9px;
}
.ogsm .ogsm-tracking .ogsm-tracking-controls {
  flex: 1 1 410px;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
}
.ogsm-tracking-controls label {
  display: grid;
  flex: 0 1 auto;
  gap: 4px;
  min-width: 0;
  width: auto;
  color: var(--tracking-muted);
  font-size: 12px;
}
.ogsm .ogsm-tracking-controls label:has(input[name="q"]) {
  flex: 1 1 158px;
  max-width: 286px;
}
.ogsm .ogsm-tracking-controls :is(input, select) {
  min-width: 0;
  min-height: 36px;
  width: 100%;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #d5dce6;
  border-radius: 5px;
  background: #fff;
  color: var(--tracking-text);
  font: inherit;
  font-size: 13px;
}
.ogsm .ogsm-tracking-controls :is(input, select):focus {
  outline: 2px solid #1a73e8;
  outline-offset: -1px;
}
.ogsm-tracking-buttons {
  align-items: center;
  gap: 6px;
}
.ogsm .ogsm-tracking-toolbar button {
  min-height: 36px;
  padding: 6px 10px;
}
.ogsm-tracking-filters {
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.ogsm-tracking-filters .ogsm-check-filters { margin: 0; }
.ogsm .ogsm-tracking-filters .ogsm-check-filters button {
  min-height: 30px;
  padding: 4px 9px;
  font-size: 12px;
}
.ogsm-tracking-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-inline-start: auto;
}
.ogsm-tracking-count {
  color: var(--tracking-muted);
  font-size: 12px;
}
.ogsm .ogsm-tracking-summary button {
  min-height: 29px;
  padding: 3px 7px;
  border-color: transparent;
  background: transparent;
  font-size: 12px;
}
.ogsm .ogsm-tracking-summary button:hover { background: #edf4ff; }
.ogsm-action-group-controls {
  display: inline-flex;
  border: 1px solid var(--tracking-divider);
  border-radius: 5px;
  background: #fff;
}
.ogsm .ogsm-action-group-controls button + button {
  border-inline-start-color: var(--tracking-divider);
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

.ogsm-tracking-list {
  --tracking-columns: minmax(145px, 1.15fr) minmax(120px, 1fr) minmax(165px, 1.15fr) minmax(74px, .4fr);
  min-width: 0;
  border: 1px solid var(--tracking-divider);
  border-radius: 8px;
  background: #fff;
  color: var(--tracking-text);
  font-size: 13px;
  line-height: 1.5;
}
.ogsm-tracking-list[data-kind="actions"] {
  --tracking-columns: minmax(146px, 1.25fr) minmax(120px, 1fr) minmax(62px, .44fr) minmax(90px, .52fr) minmax(60px, .38fr) minmax(66px, .4fr) minmax(82px, .46fr);
}
.ogsm-tracking-list[data-kind="measures"] {
  --tracking-columns: minmax(140px, 1.12fr) minmax(100px, .82fr) minmax(120px, .94fr) minmax(62px, .4fr) minmax(60px, .37fr) minmax(66px, .4fr) minmax(82px, .47fr);
}
.ogsm-tracking-head { display: none; }
.ogsm-tracking-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: start;
  padding: 10px 12px;
}
.ogsm-tracking-row + .ogsm-tracking-row { border-top: 1px solid var(--tracking-line); }
.ogsm-tracking-row:hover,
.ogsm-tracking-row:focus-within { background: #f8fafd; }
.ogsm-tracking-row:last-child { border-radius: 0 0 7px 7px; }
.ogsm-tracking-row > [data-col],
.ogsm-tracking-head > [data-col] {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ogsm-tracking-row > [data-col="title"],
.ogsm-tracking-row > [data-col="relation"],
.ogsm-tracking-row > [data-col="info"],
.ogsm-tracking-row > [data-col="values"],
.ogsm-tracking-row > [data-col="controls"] { grid-column: 1 / -1; }
.ogsm-tracking-row > [data-col="controls"] {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}
.ogsm-tracking-row > [data-col="controls"]:empty { display: none; }
.ogsm-tracking-label {
  display: inline-block;
  margin-inline-end: 6px;
  color: var(--tracking-muted);
  font-size: 11px;
  font-weight: 500;
}
.ogsm-tracking-row [data-col="title"] > .ogsm-tracking-label,
.ogsm-tracking-row [data-col="controls"] > .ogsm-tracking-label { display: none; }
.ogsm-tracking-primary {
  color: var(--tracking-text);
  font-weight: 600;
}
.ogsm-tracking-sub,
.ogsm-tracking-empty {
  color: var(--tracking-muted);
  font-size: 12px;
}
.ogsm-tracking-sub { display: block; margin-top: 2px; }
.ogsm-tracking-linked-measures {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ogsm-tracking-metric {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 5px;
  color: var(--tracking-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.ogsm-tracking-metric b { color: var(--tracking-text); font-weight: 600; }
.ogsm-tracking-row [data-col="due"] { font-variant-numeric: tabular-nums; }
.ogsm-tracking-status {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: #f1f3f5;
  color: #4f5966;
  font-size: 12px;
  white-space: nowrap;
}
.ogsm-tracking-status[data-tone="active"] { background: #e8f0fe; color: #174ea6; }
.ogsm-tracking-status[data-tone="risk"] { background: #fce8e6; color: #a50e0e; }
.ogsm-tracking-status[data-tone="done"] { background: #e6f4ea; color: #137333; }
.ogsm-tracking-late {
  display: inline-block;
  margin: 3px 0 0 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fce8e6;
  color: #a50e0e;
  font-size: 11px;
}
.ogsm .ogsm-tracking-row .ogsm-link {
  max-width: 100%;
  min-height: 24px;
  padding: 0;
  background: transparent;
  color: var(--tracking-text);
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.ogsm .ogsm-tracking-row .ogsm-link:hover { color: #1967d2; text-decoration: underline; }
.ogsm-tracking-row details { margin-top: 4px; color: var(--tracking-muted); font-size: 12px; }
.ogsm-tracking-row details summary { color: #1967d2; cursor: pointer; }
.ogsm .ogsm-tracking-row details p {
  margin: 4px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ogsm .ogsm-tracking-row [data-col="controls"] button {
  max-width: 100%;
  min-height: 30px;
  padding: 4px 8px;
  border-color: #c9daf2;
  background: #f5f9ff;
  color: #185abc;
  font-size: 12px;
  white-space: normal;
}
.ogsm .ogsm-tracking-row [data-col="controls"] button:hover { background: #eaf2ff; }

@container ogsm-tracking (max-width: 520px) {
  .ogsm .ogsm-tracking-controls label:has(input[name="q"]) {
    flex-basis: 100%;
    max-width: none;
  }
  .ogsm-tracking-controls label:has(select) { flex: 1 1 94px; }
  .ogsm-tracking-toolbar { align-items: flex-start; }
  .ogsm-tracking-summary { margin-inline-start: 0; }
}
@container ogsm-tracking (min-width: 800px) {
  .ogsm-tracking-head,
  .ogsm-tracking-row {
    display: grid;
    grid-template-columns: var(--tracking-columns);
    gap: 10px;
    padding-inline: 13px;
  }
  .ogsm-tracking-head {
    padding-block: 8px;
    border-bottom: 1px solid var(--tracking-divider);
    border-radius: 7px 7px 0 0;
    background: #f4f7fc;
    color: var(--tracking-muted);
    font-size: 12px;
    font-weight: 650;
  }
  .ogsm-tracking-row > [data-col] { grid-column: auto; }
  .ogsm-tracking-label { display: none; }
  .ogsm-tracking-head > [data-col="controls"] { text-align: end; }
}

.ogsm-action-group-heading {
  border-bottom: 1px solid var(--tracking-line);
  color: var(--tracking-text);
  font-weight: 600;
}
.ogsm-action-group-heading > [role="cell"] {
  min-width: 0;
  border-radius: inherit;
}
.ogsm .ogsm-action-group-heading button[data-action-toggle] {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 5px 12px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  white-space: normal;
}
.ogsm .ogsm-action-group-heading button[data-action-toggle]:hover {
  background: rgb(25 103 210 / 7%);
}
.ogsm .ogsm-action-group-heading button[data-action-toggle]:focus-visible { outline-offset: -2px; }
.ogsm-action-group-heading.is-goal {
  background: #edf4ff;
  box-shadow: inset 3px 0 #427bd1;
  color: #174ea6;
}
.ogsm-action-goal + .ogsm-action-goal { border-top: 1px solid var(--tracking-divider); }
.ogsm-action-group-heading.is-strategy {
  background: #f7f9fc;
  font-size: 12px;
}
.ogsm .ogsm-action-group-heading.is-strategy button[data-action-toggle] { padding-inline-start: 22px; }
.ogsm-action-strategy + .ogsm-action-strategy { border-top: 1px solid var(--tracking-line); }
.ogsm-action-group-caret {
  align-self: flex-start;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: 6px 1px 0 2px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.ogsm-action-group-heading [aria-expanded="true"] .ogsm-action-group-caret {
  transform: rotate(135deg);
}
.ogsm-action-group-tag {
  flex: 0 0 auto;
  padding: 1px 5px;
  border-radius: 4px;
  background: #e8edf5;
  color: #465970;
  font-size: 11px;
  font-weight: 650;
}
.ogsm-action-group-heading.is-goal .ogsm-action-group-tag {
  background: #dce9fc;
  color: #174ea6;
}
.ogsm-action-group-heading [data-action-group-title] {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ogsm-action-group-count {
  flex: 0 0 auto;
  color: var(--tracking-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.ogsm-action-strategy-body > .ogsm-tracking-row:last-child { border-radius: 0; }
.ogsm-action-strategy-body > .ogsm-tracking-row { padding-block: 7px; }
.ogsm-action-title-line {
  display: flex;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
}
.ogsm-action-title-line > [data-ogsm-row-title] { min-width: 0; }
.ogsm .ogsm-action-title-line [data-action-standard] {
  flex: none;
  min-height: 24px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  font-size: 12px;
}
.ogsm .ogsm-action-title-line [data-action-standard]:hover { text-decoration: underline; }
.ogsm .ogsm-action-standard {
  margin: 4px 0 0;
  color: var(--tracking-muted);
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ogsm-action-goal:last-child > .ogsm-action-group-heading:has([aria-expanded="false"]),
.ogsm-action-goal:last-child > .ogsm-action-goal-body > .ogsm-action-strategy:last-child > .ogsm-action-group-heading:has([aria-expanded="false"]),
.ogsm-action-goal:last-child > .ogsm-action-goal-body > .ogsm-action-strategy:last-child > .ogsm-action-strategy-body > .ogsm-tracking-row:last-child {
  border-end-start-radius: 7px;
  border-end-end-radius: 7px;
}
@container ogsm-tracking (min-width: 800px) {
  .ogsm-action-strategy-body > .ogsm-tracking-row { align-items: center; padding-block: 5px; }
  .ogsm-action-strategy-body > .ogsm-tracking-row:has([data-action-standard][aria-expanded="true"]) { align-items: start; }
  .ogsm .ogsm-action-title-line > [data-ogsm-row-title],
  .ogsm-action-strategy .ogsm-tracking-row > [data-col="relation"] > .ogsm-tracking-primary {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@container ogsm-tracking (max-width: 799px) {
  .ogsm-tracking-head + .ogsm-action-goal > .ogsm-action-group-heading.is-goal {
    border-start-start-radius: 7px;
    border-start-end-radius: 7px;
  }
  .ogsm .ogsm-action-group-heading button[data-action-toggle] { min-height: 36px; }
  .ogsm .ogsm-action-group-heading.is-strategy button[data-action-toggle] { padding-inline-start: 17px; }
}
