/* Detailed interactive previews: OneNote, OneDrive and Access. */
.pd-demo,
.od-demo {
  --content-zoom: 1;
  width: 1319px;
  height: 624px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  color: #242424;
  border: 1px solid rgba(29, 36, 43, .3);
  border-radius: 3px 3px 0 0;
  background: #f3f3f3;
  box-shadow: 0 24px 52px rgba(25, 34, 42, .22), inset 0 1px rgba(255, 255, 255, .7);
  font-family: "Segoe UI", Arial, sans-serif;
  transform: scale(var(--app-demo-scale, 1));
  transform-origin: top left;
  user-select: none;
}
.pd-onenote { --app-accent: #7719aa; --app-accent-rgb: 119, 25, 170; }
.pd-access { --app-accent: #a4373a; --app-accent-rgb: 164, 55, 58; }
.od-demo { --app-accent: #0078d4; --app-accent-rgb: 0, 120, 212; }
.pd-demo button,
.pd-demo input,
.pd-demo select,
.pd-demo [contenteditable],
.od-demo button,
.od-demo input { font: inherit; }
.pd-demo [contenteditable] { user-select: text; }
.pd-demo [data-on-page][hidden],
.pd-demo [data-ac-object][hidden] { display: none !important; }

/* Shared Office chrome */
.pd-titlebar {
  height: 39px;
  display: grid;
  grid-template-columns: 325px minmax(250px, 1fr) 520px;
  align-items: center;
  color: #fff;
  background: radial-gradient(500px 100px at 70% -20%, rgba(255,255,255,.13), transparent 72%), linear-gradient(90deg, color-mix(in srgb, var(--app-accent) 92%, #20212a), var(--app-accent));
}
.pd-quick,
.pd-document-title,
.pd-window { min-width: 0; display: flex; align-items: center; }
.pd-quick { gap: 5px; padding-left: 13px; }
.pd-quick > span { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.79); font-size: 10px; }
.pd-quick > button,
.pd-window > button { width: 25px; height: 25px; padding: 0; color: #fff; border: 0; background: transparent; font-size: 13px; }
.pd-switch { width: 32px; height: 16px; padding: 0; border: 1px solid rgba(255,255,255,.57); border-radius: 10px; background: rgba(255,255,255,.1); }
.pd-switch::after { content: ""; width: 10px; height: 10px; display: block; margin: 2px; border-radius: 50%; background: #fff; transition: margin-left .15s; }
.pd-switch[aria-checked="true"]::after { margin-left: 18px; }
.pd-document-title { justify-content: center; gap: 6px; }
.pd-document-title img { width: 18px; height: 18px; }
.pd-document-title strong { max-width: 300px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.pd-document-title small { padding-left: 7px; color: rgba(255,255,255,.72); border-left: 1px solid rgba(255,255,255,.25); font-size: 8px; }
.pd-window { justify-content: flex-end; gap: 4px; padding-right: 4px; }
.pd-window > label { width: 177px; height: 25px; display: flex; align-items: center; gap: 5px; padding: 0 7px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: rgba(255,255,255,.12); }
.pd-window > label span { font-size: 12px; }
.pd-window > label input { min-width: 0; width: 100%; color: #fff; border: 0; outline: 0; background: transparent; font-size: 9px; }
.pd-window > label input::placeholder { color: rgba(255,255,255,.72); }
.pd-window .pd-share { width: auto; min-width: 91px; padding: 0 8px; border: 1px solid rgba(255,255,255,.58); border-radius: 3px; background: rgba(255,255,255,.08); font-size: 9px; font-weight: 650; }
.pd-window > i { width: 23px; height: 23px; display: grid; place-items: center; margin: 0 3px; color: var(--app-accent); border-radius: 50%; background: #fff; font-size: 7px; font-style: normal; font-weight: 750; }
.pd-tabs { height: 35px; display: flex; align-items: stretch; gap: 0; padding: 0 8px; overflow: hidden; border-bottom: 1px solid #cacaca; background: #fff; }
.pd-tabs button { height: 35px; flex: 0 0 auto; padding: 0 12px; color: #2c2c2c; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 10px; }
.pd-tabs button.active { color: var(--app-accent); border-bottom-color: var(--app-accent); background: #fafafa; font-weight: 650; }
.pd-ribbon { height: 106px; box-sizing: border-box; overflow: hidden; border-bottom: 1px solid #c8c8c8; background: #f7f7f7; }
.pd-ribbon-panel { height: 105px; display: flex; align-items: stretch; overflow: hidden; background: linear-gradient(#fbfbfb, #f4f4f4); }
.pd-ribbon-panel[hidden] { display: none !important; }
.pd-ribbon-group { min-width: 54px; position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 5px 8px 19px; box-sizing: border-box; border-right: 1px solid #d2d2d2; }
.pd-ribbon-group > em { position: absolute; right: 7px; bottom: 3px; left: 7px; overflow: hidden; color: #626262; font-size: 8px; font-style: normal; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.pd-tool,
.pd-mini,
.pd-style-cards button { color: #282828; border: 1px solid transparent; border-radius: 2px; background: transparent; }
.pd-tool:hover,
.pd-tool.active,
.pd-mini:hover,
.pd-mini.active,
.pd-style-cards button:hover { border-color: rgba(var(--app-accent-rgb), .28); background: color-mix(in srgb, var(--app-accent) 9%, #fff); }
.pd-tool { min-height: 25px; display: flex; align-items: center; gap: 5px; padding: 3px 6px; font-size: 8px; line-height: 1.12; text-align: left; }
.pd-tool b { color: var(--app-accent); font-size: 14px; font-weight: 550; }
.pd-tool.large { min-width: 43px; max-width: 67px; height: 71px; flex-direction: column; justify-content: center; gap: 3px; padding: 4px; text-align: center; }
.pd-tool.large b { min-height: 27px; display: grid; place-items: center; font-size: 22px; }
.pd-tool.large span { max-width: 61px; font-size: 8px; line-height: 1.12; }
.pd-stack { display: grid; align-content: center; gap: 1px; }
.pd-stack.wide .pd-tool { min-width: 74px; height: 22px; min-height: 22px; }
.pd-mini { min-width: 25px; height: 24px; padding: 0 5px; font-size: 9px; }
.pd-mini.strong { font-weight: 800; }
.pd-mini.italic { font-style: italic; }
.pd-mini.underline { text-decoration: underline; }
.pd-controls { width: 218px; display: grid; gap: 2px; }
.pd-controls > div { display: flex; align-items: center; gap: 1px; }
.pd-controls select { height: 23px; padding: 0 17px 0 5px; border: 1px solid #bdbdbd; background: #fff; font-size: 8px; }
.pd-controls select:first-child { width: 95px; }
.pd-controls select:nth-child(2) { width: 47px; }
.pd-style-cards { width: 216px; display: flex; gap: 3px; }
.pd-style-cards button { width: 69px; height: 58px; padding: 6px; border-color: #d5d5d5; background: #fff; text-align: left; }
.pd-style-cards b,
.pd-style-cards small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-style-cards b { color: #2b2451; font-family: Georgia, serif; font-size: 9px; }
.pd-style-cards small { margin-top: 5px; color: #777; font-size: 7px; }
.pd-pens { display: flex; gap: 7px; padding: 0 6px; }
.pd-pens button { width: 25px; height: 64px; border: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--pen) 72%, #fff), var(--pen)); clip-path: polygon(22% 0, 78% 0, 78% 72%, 92% 72%, 50% 100%, 8% 72%, 22% 72%); }
.pd-status { height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 10px; color: #565656; border-top: 1px solid #c7c7c7; background: #f7f7f7; font-size: 8px; }
.pd-status > div,
.pd-status label { display: flex; align-items: center; gap: 12px; }
.pd-view-buttons { margin-left: auto; gap: 1px !important; }
.pd-view-buttons button,
.pd-status label > button { width: 22px; height: 22px; padding: 0; color: #555; border: 0; background: transparent; }
.pd-view-buttons button.active,
.pd-view-buttons button:hover { color: var(--app-accent); background: color-mix(in srgb, var(--app-accent) 8%, #fff); }
.pd-status input[type="range"] { width: 92px; height: 3px; accent-color: var(--app-accent); }
.pd-status output { min-width: 29px; }
.pd-toast { position: absolute; right: 18px; bottom: 38px; z-index: 20; padding: 8px 12px; color: #fff; border-radius: 4px; background: #252b31; box-shadow: 0 7px 18px rgba(0,0,0,.22); font-size: 9px; }
.pd-toast[hidden] { display: none !important; }

/* Shared backstage */
.pd-backstage { position: absolute; z-index: 12; top: 39px; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); color: #252525; background: #fff; }
.pd-backstage[hidden] { display: none !important; }
.pd-backstage > aside { position: relative; padding: 11px 0 75px; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--app-accent) 92%, #25232a), var(--app-accent)); }
.pd-backstage > aside > strong { display: block; padding: 8px 18px 14px 51px; font-size: 17px; font-weight: 500; }
.pd-back { width: 32px; height: 32px; position: absolute; top: 13px; left: 12px; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: transparent; font-size: 18px; }
.pd-backstage > aside nav { display: grid; }
.pd-backstage > aside nav button,
.pd-backstage > aside footer button { min-height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 18px; color: #fff; border: 0; background: transparent; font-size: 10px; text-align: left; }
.pd-backstage > aside nav button.active,
.pd-backstage > aside nav button:hover,
.pd-backstage > aside footer button:hover { background: rgba(255,255,255,.16); }
.pd-backstage > aside footer { position: absolute; right: 0; bottom: 13px; left: 0; display: grid; }
.pd-backstage > main { overflow: auto; padding: 38px 58px; background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--app-accent) 4%, #fff)); }
.pd-backstage > main > header { display: flex; align-items: center; gap: 15px; }
.pd-backstage > main > header img { width: 43px; height: 43px; }
.pd-backstage > main > header h2 { margin: 0; font-size: 23px; font-weight: 520; }
.pd-backstage > main > header p { margin: 4px 0 0; color: #666; font-size: 10px; }
.pd-backstage-actions { display: grid; grid-template-columns: 230px 230px; gap: 10px; margin: 28px 0 31px; }
.pd-backstage-actions button { min-height: 82px; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: 1fr 1fr; align-items: center; padding: 11px; border: 1px solid #d2d2d2; background: #fff; text-align: left; }
.pd-backstage-actions button:hover { border-color: rgba(var(--app-accent-rgb), .55); background: color-mix(in srgb, var(--app-accent) 5%, #fff); }
.pd-backstage-actions i { width: 42px; height: 42px; grid-row: 1/3; display: grid; place-items: center; color: #fff; background: var(--app-accent); font-size: 22px; font-style: normal; }
.pd-backstage-actions strong { align-self: end; font-size: 11px; }
.pd-backstage-actions small { align-self: start; margin-top: 3px; color: #777; font-size: 8px; }
.pd-backstage > main > section { max-width: 770px; }
.pd-backstage > main > section h3 { margin: 0 0 9px; padding-bottom: 8px; border-bottom: 1px solid #d6d6d6; font-size: 13px; }
.pd-backstage > main > section > button { width: 100%; min-height: 49px; display: grid; grid-template-columns: 31px minmax(0, 1fr) 25px; align-items: center; gap: 10px; padding: 5px 8px; border: 0; border-bottom: 1px solid #e5e5e5; background: transparent; text-align: left; }
.pd-backstage > main > section > button:hover { background: color-mix(in srgb, var(--app-accent) 6%, #fff); }
.pd-backstage > main > section img { width: 28px; height: 28px; }
.pd-backstage > main > section strong,
.pd-backstage > main > section small { display: block; }
.pd-backstage > main > section strong { font-size: 10px; }
.pd-backstage > main > section small { margin-top: 3px; color: #777; font-size: 8px; }

/* OneNote */
.on-body { height: 416px; display: grid; grid-template-columns: 44px 180px 210px minmax(0, 1fr); overflow: hidden; background: #eee; }
.on-app-rail { display: grid; grid-template-rows: repeat(4, 42px) 1fr 42px; padding: 6px 4px; box-sizing: border-box; border-right: 1px solid #d1d1d1; background: #f5f5f5; }
.on-app-rail button { width: 35px; height: 35px; place-self: center; color: #5b5b5b; border: 0; border-radius: 3px; background: transparent; font-size: 13px; }
.on-app-rail button.active { color: #fff; background: var(--app-accent); font-weight: 750; }
.on-sections { min-width: 0; overflow: hidden; border-right: 1px solid #d1d1d1; background: #fff; }
.on-sections > header { min-height: 54px; display: grid; grid-template-columns: 27px minmax(0, 1fr) 22px; align-items: center; gap: 7px; padding: 7px 6px 7px 10px; box-sizing: border-box; border-bottom: 1px solid #e0e0e0; }
.on-sections > header img { width: 25px; height: 25px; }
.on-sections > header strong,
.on-sections > header small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.on-sections > header strong { font-size: 9px; }
.on-sections > header small { margin-top: 2px; color: #777; font-size: 7px; }
.on-sections > header button { width: 21px; height: 21px; padding: 0; border: 0; background: transparent; }
.on-sections > nav { display: grid; padding: 7px 5px; }
.on-sections > nav button { min-height: 40px; display: grid; grid-template-columns: 8px minmax(0, 1fr) 23px; align-items: center; gap: 8px; padding: 5px 8px; color: #333; border: 0; border-radius: 3px; background: transparent; font-size: 9px; text-align: left; }
.on-sections > nav button i { width: 7px; height: 27px; border-radius: 2px; background: var(--section); }
.on-sections > nav button span { color: #888; font-size: 7px; text-align: right; }
.on-sections > nav button.active { color: var(--app-accent); background: color-mix(in srgb, var(--app-accent) 8%, #fff); font-weight: 650; }
.on-new-section { margin: 5px 10px; padding: 7px; color: var(--app-accent); border: 1px dashed rgba(var(--app-accent-rgb), .35); background: transparent; font-size: 8px; }
.on-page-list { min-width: 0; overflow: hidden; border-right: 1px solid #cacaca; background: #f7f7f7; }
.on-page-list > header { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px 0 12px; border-bottom: 1px solid #ddd; }
.on-page-list > header strong { font-size: 11px; }
.on-page-list > header button { width: 25px; height: 25px; color: #fff; border: 0; border-radius: 3px; background: var(--app-accent); }
.on-page-list > label { height: 31px; display: flex; align-items: center; gap: 5px; margin: 7px 8px; padding: 0 7px; box-sizing: border-box; border: 1px solid #bbb; background: #fff; }
.on-page-list > label span { color: #777; }
.on-page-list > label input { min-width: 0; width: 100%; border: 0; outline: 0; font-size: 8px; }
.on-page-list > div { display: grid; padding: 0 7px; }
.on-page-list > div > button { min-height: 64px; position: relative; display: block; padding: 9px 9px; color: #333; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid #e3e3e3; background: transparent; text-align: left; }
.on-page-list > div > button b,
.on-page-list > div > button span,
.on-page-list > div > button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.on-page-list > div > button b { font-size: 9px; }
.on-page-list > div > button span { margin-top: 5px; color: #666; font-size: 7px; }
.on-page-list > div > button small { margin-top: 4px; color: #999; font-size: 7px; }
.on-page-list > div > button.active { border-left-color: var(--app-accent); background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.06); }
.on-canvas { min-width: 0; display: grid; grid-template-rows: 30px minmax(0, 1fr); overflow: hidden; background: #fff; }
.on-section-tabs { display: flex; align-items: stretch; gap: 1px; padding: 0 8px; border-bottom: 1px solid #d2d2d2; background: #fafafa; }
.on-section-tabs button { min-width: 76px; padding: 0 12px; color: #555; border: 0; border-top: 3px solid transparent; background: transparent; font-size: 8px; }
.on-section-tabs button.active { color: var(--app-accent); border-top-color: var(--app-accent); background: #fff; font-weight: 650; }
.on-page-scroll { --content-zoom: 1; position: relative; overflow: auto; background: #fff; }
.on-note-page { min-height: 690px; padding: 35px 55px 80px; box-sizing: border-box; outline: 0; background: #fff; zoom: var(--content-zoom); }
.on-note-page[hidden] { display: none !important; }
.on-note-page > header { padding-bottom: 14px; border-bottom: 1px solid #ddd; }
.on-note-page > header h1 { margin: 0; color: #262626; font-size: 25px; font-weight: 500; }
.on-note-page > header p { margin: 5px 0 0; color: #888; font-size: 8px; }
.on-note-page h2 { margin: 23px 0 10px; color: var(--app-accent); font-size: 13px; }
.on-note-page p,
.on-note-page li { color: #444; font-size: 9px; line-height: 1.55; }
.on-checklist { padding: 0; list-style: none; }
.on-checklist li { display: flex; align-items: center; gap: 9px; margin: 8px 0; }
.on-checklist button { width: 18px; height: 18px; padding: 0; color: #fff; border: 1px solid var(--app-accent); border-radius: 2px; background: #fff; font-size: 10px; }
.on-checklist button[aria-pressed="true"] { background: var(--app-accent); }
.on-checklist button[aria-pressed="true"] + span { color: #777; text-decoration: line-through; }
.on-note-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.on-note-columns > div { padding: 13px; border: 1px solid #e0d7e8; border-radius: 3px; background: color-mix(in srgb, var(--app-accent) 4%, #fff); }
.on-note-columns h2 { margin-top: 0; }
.on-ink { width: 420px; margin-top: 24px; position: relative; color: #563d68; font-family: "Segoe Print", cursive; transform: rotate(-1.5deg); }
.on-ink svg { width: 380px; height: 90px; overflow: visible; }
.on-ink path { fill: none; stroke: var(--app-accent); stroke-width: 3; stroke-linecap: round; }
.on-ink span { position: absolute; top: 67px; left: 30px; font-size: 10px; }
.on-meeting-card { padding: 15px; border-left: 4px solid #6264a7; background: #f4f3fb; }
.on-meeting-card span { color: #6264a7; font-size: 8px; font-weight: 700; }
.on-meeting-card h2 { margin: 7px 0 4px; color: #333; }
.on-meeting-card p { margin: 0; }
.on-meeting-card button { margin-top: 10px; padding: 7px 11px; color: #fff; border: 0; border-radius: 3px; background: #6264a7; font-size: 8px; }
.on-note-page table { width: 100%; border-collapse: collapse; font-size: 8px; }
.on-note-page th,
.on-note-page td { padding: 8px; border: 1px solid #d9d0df; text-align: left; }
.on-note-page th { color: #fff; background: var(--app-accent); }
.on-sticky-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.on-sticky-grid > div { min-height: 135px; padding: 18px; background: var(--sticky); box-shadow: 0 4px 10px rgba(0,0,0,.12); transform: rotate(-1deg); }
.on-sticky-grid > div:nth-child(even) { transform: rotate(1.5deg); }
.on-sticky-grid b { font-size: 12px; }
.on-chart { height: 190px; display: flex; align-items: end; gap: 22px; padding: 22px 24px 0; border-left: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.on-chart i { width: 56px; height: var(--v); position: relative; border-radius: 4px 4px 0 0; background: linear-gradient(var(--app-accent), color-mix(in srgb, var(--app-accent) 65%, #fff)); }
.on-chart span { position: absolute; bottom: -20px; left: 0; width: 100%; color: #555; font-size: 8px; font-style: normal; text-align: center; }

/* Access */
.ac-body { height: 416px; display: grid; grid-template-columns: 228px minmax(0, 1fr); overflow: hidden; background: #e8e8e8; }
.ac-navigation { min-width: 0; overflow: auto; border-right: 1px solid #bdbdbd; background: #f4f4f4; }
.ac-navigation > header { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 12px; color: #fff; background: color-mix(in srgb, var(--app-accent) 86%, #29292c); }
.ac-navigation > header strong { font-size: 10px; }
.ac-navigation > header button { width: 24px; height: 24px; color: #fff; border: 0; background: transparent; }
.ac-navigation > label { height: 31px; display: flex; align-items: center; gap: 5px; margin: 7px 8px; padding: 0 7px; box-sizing: border-box; border: 1px solid #aaa; background: #fff; }
.ac-navigation > label input { min-width: 0; width: 100%; border: 0; outline: 0; font-size: 8px; }
.ac-navigation details { border-bottom: 1px solid #ddd; }
.ac-navigation summary { height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; color: #4b4b4b; background: #e8e8e8; font-size: 8px; font-weight: 700; cursor: pointer; }
.ac-navigation summary span { color: #888; font-weight: 400; }
.ac-navigation details > button { width: 100%; min-height: 41px; display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: center; gap: 8px; padding: 5px 10px 5px 14px; color: #333; border: 0; border-left: 3px solid transparent; background: transparent; text-align: left; }
.ac-navigation details > button.active { color: var(--app-accent); border-left-color: var(--app-accent); background: #fff; }
.ac-navigation details > button i { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; border-radius: 2px; background: var(--app-accent); font-size: 10px; font-style: normal; }
.ac-navigation details > button b,
.ac-navigation details > button small { display: block; }
.ac-navigation details > button b { font-size: 8px; }
.ac-navigation details > button small { margin-top: 2px; color: #888; font-size: 7px; }
.ac-workspace { min-width: 0; position: relative; overflow: hidden; }
.ac-view { height: 100%; display: grid; grid-template-rows: 31px minmax(0, 1fr) 29px; }
.ac-view[hidden] { display: none !important; }
.ac-object-tabs { display: flex; align-items: end; padding: 0 4px; border-bottom: 1px solid #aaa; background: #d9d9d9; }
.ac-object-tabs button { height: 28px; min-width: 145px; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0 8px; color: #444; border: 1px solid #b8b8b8; border-bottom: 0; background: #ececec; font-size: 8px; }
.ac-object-tabs button.active { color: var(--app-accent); background: #fff; font-weight: 650; }
.ac-object-tabs button span { color: var(--app-accent); }
.ac-object-tabs button b { color: #777; font-weight: 400; }
.ac-datasheet-wrap { overflow: auto; background: #fff; zoom: var(--content-zoom, 1); }
.ac-datasheet { min-width: 1050px; width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 8px; }
.ac-datasheet th,
.ac-datasheet td { height: 32px; box-sizing: border-box; padding: 5px 7px; overflow: hidden; border: 1px solid #cfcfcf; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.ac-datasheet th { height: 30px; color: #3d3d3d; background: linear-gradient(#f9f9f9, #e8e8e8); font-weight: 650; }
.ac-datasheet th:first-child,
.ac-datasheet td:first-child { width: 24px; padding: 0; color: var(--app-accent); background: #ececec; text-align: center; }
.ac-datasheet th:nth-child(2) { width: 76px; }
.ac-datasheet th:nth-child(3) { width: 155px; }
.ac-datasheet th:nth-child(4) { width: 150px; }
.ac-datasheet tr.active td { background: color-mix(in srgb, var(--app-accent) 8%, #fff); }
.ac-datasheet td[contenteditable]:focus { outline: 2px solid rgba(var(--app-accent-rgb), .48); outline-offset: -2px; background: #fff; }
.ac-status { display: inline-block; padding: 3px 7px; border-radius: 9px; font-size: 7px; }
.ac-status.active { color: #0d6c36; background: #dff5e7; }
.ac-status.new { color: #185abd; background: #e1ecfb; }
.ac-status.review { color: #9a6200; background: #fff0c4; }
.ac-record-nav { display: flex; align-items: center; gap: 4px; padding: 0 8px; border-top: 1px solid #c9c9c9; background: #f4f4f4; font-size: 8px; }
.ac-record-nav button { width: 23px; height: 21px; padding: 0; border: 1px solid #ccc; background: #fff; }
.ac-record-nav > input { width: 31px; height: 20px; box-sizing: border-box; text-align: center; }
.ac-record-nav label { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.ac-record-nav label input { width: 170px; height: 21px; box-sizing: border-box; border: 1px solid #bbb; }
.ac-query-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 15px; border-bottom: 1px solid #ccc; background: #fff; }
.ac-query-head strong,
.ac-query-head small { display: block; }
.ac-query-head strong { font-size: 12px; }
.ac-query-head small { margin-top: 2px; color: #777; font-size: 7px; }
.ac-query-head button { padding: 6px 10px; color: #fff; border: 0; background: var(--app-accent); font-size: 8px; }
.ac-view[data-ac-view="orders"] { grid-template-rows: 31px 47px minmax(0, 1fr); }
.ac-form { overflow: auto; padding: 18px 28px 40px; background: #f8f8f8; }
.ac-view[data-ac-view="client-form"],
.ac-view[data-ac-view="sales-report"] { grid-template-rows: 31px minmax(0, 1fr); }
.ac-form > header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; color: #fff; background: linear-gradient(115deg, color-mix(in srgb, var(--app-accent) 90%, #23242a), var(--app-accent)); }
.ac-form > header p { margin: 0; color: rgba(255,255,255,.72); font-size: 7px; letter-spacing: .15em; }
.ac-form > header h2 { margin: 5px 0 2px; color: #fff; font-size: 21px; }
.ac-form > header span { color: rgba(255,255,255,.75); font-size: 8px; }
.ac-form > header i { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(255,255,255,.16); font-size: 16px; font-style: normal; }
.ac-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; margin-top: 18px; }
.ac-form-grid label { color: #666; font-size: 7px; }
.ac-form-grid input,
.ac-form-grid select { width: 100%; height: 28px; display: block; margin-top: 4px; padding: 0 8px; box-sizing: border-box; border: 1px solid #bbb; background: #fff; font-size: 8px; }
.ac-form > section h3 { margin: 20px 0 8px; color: #333; font-size: 10px; }
.ac-form > section > div { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 8px; border-top: 1px solid #ddd; }
.ac-form > section span { color: var(--app-accent); font-size: 8px; font-weight: 700; }
.ac-form > section p,
.ac-form > section b { display: block; margin: 0; font-size: 8px; }
.ac-form > section p { color: #777; }
.ac-form > footer { display: flex; gap: 7px; margin-top: 15px; }
.ac-form > footer button { min-width: 85px; padding: 7px; color: #fff; border: 0; background: var(--app-accent); font-size: 8px; }
.ac-form > footer button:last-child { color: #444; border: 1px solid #bbb; background: #fff; }
.ac-report { width: 760px; min-height: 350px; margin: 16px auto; padding: 28px 36px; box-sizing: border-box; background: #fff; box-shadow: 0 4px 17px rgba(0,0,0,.15); }
.ac-report > header { display: flex; justify-content: space-between; border-bottom: 2px solid var(--app-accent); padding-bottom: 14px; }
.ac-report > header p { margin: 0; color: var(--app-accent); font-size: 7px; font-weight: 750; letter-spacing: .16em; }
.ac-report > header h1 { margin: 4px 0; font-size: 22px; }
.ac-report > header span { color: #777; font-size: 8px; }
.ac-report > header > strong { color: var(--app-accent); font-size: 19px; text-align: right; }
.ac-report > header small { display: block; margin-top: 5px; color: #168348; font-size: 7px; }
.ac-report-chart { height: 210px; display: flex; align-items: end; gap: 23px; padding: 20px 22px 0; border-left: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.ac-report-chart i { width: 48px; height: var(--v); position: relative; background: linear-gradient(var(--app-accent), color-mix(in srgb, var(--app-accent) 58%, #fff)); }
.ac-report-chart span { position: absolute; bottom: -18px; left: 0; width: 100%; color: #666; font-size: 7px; font-style: normal; text-align: center; }

/* OneDrive */
.od-topbar { height: 49px; display: grid; grid-template-columns: 44px 250px minmax(330px, 1fr) 250px; align-items: center; color: #fff; background: linear-gradient(90deg, #075aa7, var(--app-accent)); }
.od-waffle { width: 35px; height: 35px; margin-left: 6px; color: #fff; border: 0; background: rgba(255,255,255,.08); font-size: 20px; }
.od-brand { display: flex; align-items: center; gap: 8px; }
.od-brand img { width: 27px; height: 27px; }
.od-brand strong { font-size: 14px; }
.od-brand span { padding-left: 8px; color: rgba(255,255,255,.72); border-left: 1px solid rgba(255,255,255,.3); font-size: 8px; }
.od-global-search { width: 410px; height: 31px; justify-self: center; display: flex; align-items: center; gap: 7px; padding: 0 10px; box-sizing: border-box; color: #4b4b4b; border-radius: 3px; background: #fff; }
.od-global-search input { width: 100%; border: 0; outline: 0; font-size: 9px; }
.od-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 3px; padding-right: 10px; }
.od-top-actions button { width: 30px; height: 30px; color: #fff; border: 0; background: transparent; }
.od-top-actions i { width: 27px; height: 27px; display: grid; place-items: center; margin-left: 5px; color: var(--app-accent); border-radius: 50%; background: #fff; font-size: 8px; font-style: normal; font-weight: 750; }
.od-shell { height: 547px; display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; background: #fff; }
.od-sidebar { min-width: 0; position: relative; padding: 12px 9px 100px; box-sizing: border-box; border-right: 1px solid #e1e1e1; background: #fafafa; }
.od-new { width: 100%; height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; color: #fff; border: 0; border-radius: 3px; background: var(--app-accent); font-size: 9px; font-weight: 650; }
.od-sidebar > nav { display: grid; margin-top: 10px; }
.od-sidebar > nav button,
.od-sidebar > section button { min-height: 38px; display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: center; gap: 6px; padding: 4px 8px; color: #3d3d3d; border: 0; border-left: 3px solid transparent; background: transparent; font-size: 9px; text-align: left; }
.od-sidebar > nav button.active,
.od-sidebar > section button.active { color: var(--app-accent); border-left-color: var(--app-accent); background: #fff; font-weight: 650; }
.od-sidebar > nav i { color: var(--app-accent); font-size: 14px; font-style: normal; text-align: center; }
.od-sidebar > section { margin-top: 15px; padding-top: 8px; border-top: 1px solid #e1e1e1; }
.od-sidebar > section h3 { margin: 0 8px 6px; color: #666; font-size: 8px; font-weight: 650; }
.od-sidebar .team { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; border-radius: 3px; background: #107c41; font-size: 7px; font-style: normal; }
.od-sidebar .team.blue { background: #185abd; }
.od-sidebar > section b,
.od-sidebar > section small { display: block; }
.od-sidebar > section b { font-size: 8px; }
.od-sidebar > section small { margin-top: 2px; color: #888; font-size: 7px; }
.od-sidebar > footer { position: absolute; right: 15px; bottom: 13px; left: 15px; }
.od-sidebar > footer div { display: flex; justify-content: space-between; color: #666; font-size: 7px; }
.od-sidebar > footer div strong { color: #333; }
.od-sidebar > footer > i { height: 4px; display: block; margin: 7px 0; overflow: hidden; border-radius: 3px; background: #ddd; }
.od-sidebar > footer > i b { height: 100%; display: block; background: var(--app-accent); }
.od-sidebar > footer button { padding: 0; color: var(--app-accent); border: 0; background: transparent; font-size: 7px; }
.od-main { min-width: 0; display: grid; grid-template-rows: 62px 42px 32px minmax(0, 1fr); overflow: hidden; }
.od-main > header { display: flex; align-items: center; justify-content: space-between; padding: 8px 15px 6px 19px; border-bottom: 1px solid #eee; }
.od-main > header h1 { margin: 0; font-size: 20px; font-weight: 560; }
.od-main > header p { margin: 3px 0 0; color: #777; font-size: 8px; }
.od-view-actions { display: flex; gap: 2px; }
.od-view-actions button { width: 29px; height: 29px; color: #555; border: 1px solid transparent; background: transparent; }
.od-view-actions button.active,
.od-view-actions button:hover { color: var(--app-accent); border-color: #c8dced; background: #f0f7fd; }
.od-commandbar { display: flex; align-items: center; gap: 3px; padding: 4px 15px; border-bottom: 1px solid #e5e5e5; }
.od-commandbar button { height: 29px; padding: 0 9px; color: #333; border: 1px solid transparent; border-radius: 2px; background: transparent; font-size: 8px; }
.od-commandbar button:hover { border-color: #ccc; background: #f5f5f5; }
.od-commandbar button.primary { color: #fff; border-color: var(--app-accent); background: var(--app-accent); }
.od-breadcrumb { display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid #e7e7e7; font-size: 8px; }
.od-breadcrumb button { padding: 0; color: var(--app-accent); border: 0; background: transparent; }
.od-breadcrumb button:last-child { margin-left: auto; }
.od-breadcrumb span { color: #999; }
.od-file-area { min-width: 0; overflow: auto; padding: 0 12px 20px; }
.od-file-list { min-width: 750px; }
.od-file-head { height: 30px; display: grid; grid-template-columns: 29px minmax(230px, 1.6fr) 1fr 1fr 90px 28px; align-items: center; color: #666; border-bottom: 1px solid #ddd; font-size: 7px; }
.od-file-head button { height: 100%; padding: 0 5px; color: #666; border: 0; background: transparent; text-align: left; }
.od-file-row { width: 100%; min-height: 45px; display: grid; grid-template-columns: 29px 31px minmax(199px, 1.6fr) 1fr 1fr 90px 28px; align-items: center; padding: 0; color: #333; border: 0; border-bottom: 1px solid #ececec; background: #fff; font-size: 8px; text-align: left; }
.od-file-row:hover,
.od-file-row.active { background: #edf6fc; }
.od-file-row[hidden] { display: none !important; }
.od-file-row > span,
.od-file-row > strong { overflow: hidden; padding: 0 5px; text-overflow: ellipsis; white-space: nowrap; }
.od-file-row > b { color: #888; font-size: 8px; }
.od-select { text-align: center; }
.od-select input { pointer-events: none; accent-color: var(--app-accent); }
.od-file-icon { width: 25px; height: 25px; display: grid; place-items: center; color: #fff; border-radius: 3px; font-size: 8px; font-style: normal; font-weight: 750; }
.od-file-icon.folder { color: #705500; background: #f5c844; }
.od-file-icon.word { background: #185abd; }
.od-file-icon.excel { background: #107c41; }
.od-file-icon.powerpoint { background: #d24726; }
.od-file-icon.pdf { background: #d13438; font-size: 6px; }
.od-file-icon.photo { color: #0f6cbd; border: 1px solid #9ec9e8; background: linear-gradient(145deg, #dff4ff, #a9ddf5); }
.od-file-area.compact-view .od-file-row { min-height: 32px; }
.od-file-area.compact-view .od-file-icon { width: 20px; height: 20px; font-size: 7px; }
.od-file-area.grid-view .od-file-head { display: none; }
.od-file-area.grid-view .od-file-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding-top: 10px; min-width: 0; }
.od-file-area.grid-view .od-file-row { min-height: 112px; display: grid; grid-template-columns: 34px 1fr 22px; grid-template-rows: 55px 24px 18px; padding: 8px; box-sizing: border-box; border: 1px solid #ddd; }
.od-file-area.grid-view .od-file-row .od-select { align-self: start; }
.od-file-area.grid-view .od-file-icon { width: 42px; height: 42px; grid-column: 2; justify-self: center; font-size: 14px; }
.od-file-area.grid-view .od-file-row > strong { grid-column: 1/4; text-align: center; }
.od-file-area.grid-view .od-file-row > span:not(.od-select) { display: none; }
.od-file-area.grid-view .od-file-row > b { grid-column: 3; grid-row: 1; }
.od-details { min-width: 0; overflow: auto; border-left: 1px solid #ddd; background: #fff; }
.od-details[hidden] { display: none !important; }
.od-demo.details-open .od-shell { grid-template-columns: 220px minmax(0, 1fr) 265px; }
.od-details > header { height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; border-bottom: 1px solid #ddd; }
.od-details > header strong { font-size: 11px; }
.od-details > header button { width: 25px; height: 25px; border: 0; background: transparent; }
.od-detail-preview { padding: 18px; text-align: center; }
.od-detail-preview i { width: 61px; height: 52px; display: grid; place-items: center; margin: 0 auto 9px; color: #795d00; border-radius: 4px; background: #f5c844; font-size: 28px; font-style: normal; }
.od-detail-preview h2 { margin: 0; overflow-wrap: anywhere; font-size: 12px; }
.od-detail-preview span { display: block; margin-top: 4px; color: #777; font-size: 7px; }
.od-details > nav { display: flex; padding: 0 10px; border-bottom: 1px solid #ddd; }
.od-details > nav button { flex: 1; height: 31px; color: #555; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 8px; }
.od-details > nav button.active { color: var(--app-accent); border-bottom-color: var(--app-accent); }
.od-details > section { padding: 12px 15px; }
.od-details > section h3 { font-size: 9px; }
.od-details dl { display: grid; grid-template-columns: 82px 1fr; gap: 8px; font-size: 7px; }
.od-details dt { color: #777; }
.od-details dd { margin: 0; color: #333; }
.od-details > section button { margin-top: 13px; padding: 7px 9px; color: var(--app-accent); border: 1px solid #b8d8ef; background: #f4faff; font-size: 8px; }
.od-status { height: 28px; display: flex; align-items: center; gap: 16px; padding: 0 12px; box-sizing: border-box; color: #666; border-top: 1px solid #ddd; background: #fafafa; font-size: 8px; }
.od-status > div { display: flex; gap: 4px; margin-left: auto; }
.od-status button { height: 22px; padding: 0 7px; color: #555; border: 0; background: transparent; font-size: 8px; }
.od-create-menu { width: 280px; position: absolute; z-index: 15; top: 57px; left: 11px; padding: 7px; box-sizing: border-box; border: 1px solid #c7c7c7; border-radius: 3px; background: #fff; box-shadow: 0 9px 25px rgba(0,0,0,.2); }
.od-create-menu[hidden] { display: none !important; }
.od-create-menu > header { height: 31px; display: flex; align-items: center; justify-content: space-between; padding: 0 4px 5px 7px; border-bottom: 1px solid #ddd; }
.od-create-menu > header strong { font-size: 11px; }
.od-create-menu > header button { width: 23px; height: 23px; border: 0; background: transparent; }
.od-create-menu > button { width: 100%; min-height: 50px; display: grid; grid-template-columns: 33px 1fr; align-items: center; gap: 8px; padding: 6px 7px; color: #333; border: 0; background: #fff; text-align: left; }
.od-create-menu > button:hover { background: #f3f7fb; }
.od-create-menu > button i { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; border-radius: 3px; font-style: normal; font-weight: 750; }
.od-create-menu i.folder { color: #705500; background: #f5c844; }
.od-create-menu i.word { background: #185abd; }
.od-create-menu i.excel { background: #107c41; }
.od-create-menu i.powerpoint { background: #d24726; }
.od-create-menu > button b,
.od-create-menu > button small { display: block; }
.od-create-menu > button b { font-size: 8px; }
.od-create-menu > button small { margin-top: 3px; color: #777; font-size: 7px; }

@media (prefers-reduced-motion: reduce) {
  .pd-switch::after { transition: none; }
}
