.cp-tutorial-library,.cp-tutorial-dialog{font-family:Arial,Helvetica,sans-serif;letter-spacing:0;color:#152d38;line-height:1.55}
.cp-tutorial-dialog:not([open]){display:none!important}
.cp-tutorial-library *,.cp-tutorial-dialog *{box-sizing:border-box}
.cp-tutorial-library [hidden],.cp-tutorial-dialog [hidden]{display:none!important}
.cp-tutorial-library{max-width:1220px;margin:0 auto;padding:48px 24px 64px}
.cp-tutorial-library h1,.cp-tutorial-library h2,.cp-tutorial-library h3,.cp-tutorial-dialog h2{color:#152d38;font-weight:700;letter-spacing:-.025em;line-height:1.12}
.cp-tutorial-hero{display:grid;grid-template-columns:1.7fr 1fr;gap:60px;align-items:center;padding:44px;background:#f3eee5;border:1px solid #e5ddcf;border-radius:24px;margin-bottom:56px}
.cp-tutorial-library .cp-tutorial-eyebrow,.cp-tutorial-dialog .cp-tutorial-eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;color:#755413;margin:0 0 12px}
.cp-tutorial-hero h1{font-size:clamp(34px,4vw,54px);margin:0 0 20px}
.cp-tutorial-hero p{max-width:590px;font-size:17px;color:#475f68;margin-bottom:24px}
.cp-tutorial-library .cp-tutorial-primary{display:inline-flex;align-items:center;gap:24px;min-height:48px;padding:12px 20px;background:#153b41;color:white;border-radius:8px;text-decoration:none;font-size:15px;font-weight:700}
.cp-tutorial-hero-note{border-left:1px solid #d6cabb;padding-left:40px}
.cp-tutorial-hero-note>span{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#e8c981;color:#153b41;margin-bottom:20px;font-size:21px}
.cp-tutorial-hero-note strong{display:block;font-size:26px;line-height:1.25;margin-bottom:16px}
.cp-tutorial-hero-note p{font-size:14px;margin:0}
.cp-tutorial-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.cp-tutorial-section-heading h2{font-size:28px;margin:0}
.cp-tutorial-section-heading>p{font-size:14px;color:#52676e;margin:0}
.cp-tutorial-tools{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}
.cp-tutorial-search{display:grid;gap:6px;max-width:420px;flex:1 1 260px;font-size:13px;font-weight:700;margin:0}
.cp-tutorial-search input,.cp-tutorial-selects select{width:100%;min-height:46px;border:1px solid #aebbc0;border-radius:7px;background:white;padding:10px 12px;color:#152d38;font:16px Arial}
.cp-tutorial-filters{display:flex;flex-wrap:wrap;gap:6px}
.cp-tutorial-filters button{padding:10px 13px;min-height:44px;border:1px solid #c9d3d6;border-radius:24px;background:white;font:700 13px Arial;color:#25434c;cursor:pointer}
.cp-tutorial-filters button[aria-pressed=true]{background:#153b41;color:white;border-color:#153b41}
.cp-tutorial-count{font-size:13px;color:#586e76;margin:16px 0}
.cp-tutorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.cp-tutorial-card{background:white;border:1px solid #dce2e4;border-radius:14px;overflow:hidden;scroll-margin-top:150px;box-shadow:0 5px 15px #142e3906}
.cp-tutorial-card:target{outline:3px solid #a67b29;outline-offset:4px}
.cp-tutorial-card-image{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;background:#eee8df}
.cp-tutorial-card-image img{width:100%;height:100%;object-fit:cover;object-position:center 35%}
.cp-tutorial-card-play{position:absolute;left:16px;bottom:16px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:#153b41;box-shadow:0 2px 12px #0003}
.cp-tutorial-duration{position:absolute;right:14px;bottom:18px;background:#102935e8;color:white;padding:3px 8px;border-radius:5px;font-size:13px;font-weight:700}
.cp-tutorial-card-body{padding:22px}
.cp-tutorial-card h3{font-size:22px;margin:0 0 12px}
.cp-tutorial-card-body>p:not(.cp-tutorial-eyebrow){font-size:14px;color:#4b646e;margin-bottom:16px}
.cp-tutorial-card-body>a{font-size:14px;font-weight:700;color:#14555c;text-decoration:underline;text-underline-offset:3px}
.cp-tutorial-card-steps{margin-top:16px;padding-top:12px;border-top:1px solid #e5e9eb;font-size:14px}
.cp-tutorial-card summary,.cp-tutorial-transcript summary{cursor:pointer;min-height:36px;color:#244d56;font-weight:700}
.cp-tutorial-card ol,.cp-tutorial-transcript ol{padding-left:24px;margin-top:12px}
.cp-tutorial-card li,.cp-tutorial-transcript li{margin:0 0 14px}
.cp-tutorial-card li p{font-size:14px;line-height:1.6;color:#425d67;margin:5px 0}
.cp-tutorial-bottom{margin-top:50px;padding:32px;border-radius:16px;background:#edf3f1;text-align:center}
.cp-tutorial-bottom h2{font-size:27px;margin:0 0 12px}
.cp-tutorial-bottom p{max-width:650px;margin:0 auto 20px;font-size:16px}
.cp-tutorial-example-note{font-size:12px;line-height:1.5;color:#5e7178;margin:20px 0 0}
.cp-tutorial-dialog{position:fixed;inset:0;width:min(960px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);height:fit-content;margin:auto;padding:24px;border:1px solid #d2dee2;border-radius:16px;background:#fff;box-shadow:0 25px 100px #0006;overflow:auto}
.cp-tutorial-dialog::backdrop{background:#081c29bd}
html.cp-tutorial-open{overflow:hidden}
.cp-tutorial-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:20px}
.cp-tutorial-dialog h2{font-size:26px;margin:0}
.cp-tutorial-dialog-head .cp-tutorial-eyebrow{margin-bottom:6px}
.cp-tutorial-dialog-head button,.cp-tutorial-dialog-foot button{min-height:44px;border:1px solid #bccbd0;border-radius:7px;background:#f5f8f9;color:#183d47;padding:9px 13px;cursor:pointer;font:700 14px Arial;white-space:nowrap}
.cp-tutorial-dialog-intro{font-size:14px;color:#526b75;margin:12px 0 18px}
.cp-tutorial-selects{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:16px}
.cp-tutorial-selects label{display:grid;gap:5px;font-size:12px;font-weight:700;margin:0}
.cp-tutorial-player{position:relative;display:grid;place-items:center;background:#102935;border-radius:9px;overflow:hidden;min-height:160px}
.cp-tutorial-player video{display:block;width:100%;max-height:52dvh;aspect-ratio:16/9;object-fit:contain;margin:0 auto;background:#102935}
.cp-tutorial-player[data-format=mobile] video{aspect-ratio:9/16;width:auto;height:52dvh;max-width:100%}
.cp-tutorial-start{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#00151f38;color:white;border:0;font:700 16px Arial;cursor:pointer;text-shadow:0 1px 4px #000}
.cp-tutorial-start span{display:grid;place-items:center;border-radius:50%;width:60px;height:60px;background:#e8c981;color:#153b41;font-size:24px;text-shadow:none;box-shadow:0 2px 12px #0003}
.cp-tutorial-player-caption{margin:12px 0;font-size:14px;color:#465f68}
.cp-tutorial-transcript{border-top:1px solid #dce5e8;padding-top:14px;font-size:15px}
.cp-tutorial-transcript p{font:15px/1.6 Arial;margin:6px 0;color:#425d67}
.cp-tutorial-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dce5e8;padding-top:18px;margin-top:20px}
.cp-tutorial-dialog-foot a{color:#14555c;font-size:14px;font-weight:700;text-decoration:underline}
.cp-tutorial-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cp-tutorial-library a:focus-visible,.cp-tutorial-library button:focus-visible,.cp-tutorial-library input:focus-visible,.cp-tutorial-library summary:focus-visible,.cp-tutorial-dialog :focus-visible{outline:3px solid #127f88;outline-offset:3px}
.wizard-app-actions .cp-tutorial-launch{display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:#14555c!important;white-space:nowrap}
.wizard-app-actions:has(.cp-tutorial-launch){flex-wrap:wrap}
@media(max-width:900px){.cp-tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-tutorial-hero{gap:30px;padding:30px}.cp-tutorial-hero-note{padding-left:24px}}
@media(max-width:600px){.cp-tutorial-library{padding:28px 16px 40px}.cp-tutorial-hero{display:block;padding:26px;margin-bottom:32px;border-radius:16px}.cp-tutorial-hero h1{font-size:36px}.cp-tutorial-hero-note{display:none}.cp-tutorial-section-heading{display:block}.cp-tutorial-section-heading h2{font-size:26px}.cp-tutorial-section-heading>p{margin-top:12px}.cp-tutorial-grid{grid-template-columns:1fr;gap:20px}.cp-tutorial-tools{display:block}.cp-tutorial-search{max-width:none;margin-bottom:14px}.cp-tutorial-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px;border-radius:12px}.cp-tutorial-dialog h2{font-size:22px}.cp-tutorial-selects{grid-template-columns:1fr;gap:10px}.cp-tutorial-selects select{min-height:44px}.cp-tutorial-player video{max-height:45dvh}.cp-tutorial-player[data-format=mobile] video{height:45dvh}.cp-tutorial-dialog-foot{align-items:start;gap:12px}.cp-tutorial-dialog-foot a{max-width:58%}.cp-tutorial-bottom{padding:24px}.wizard-app-actions .cp-tutorial-launch{font-size:11px!important;padding:5px 7px!important}}

/* Direct guides beside the opening AI Studio choices. Links are siblings of the workflow buttons. */
#intentGrid .cp-intent-choice{min-width:0;display:flex;flex-direction:column;align-self:start}
#intentGrid .cp-intent-choice>.intent-card{width:100%;flex:0 0 auto;text-align:left}
#intentGrid .cp-intent-tutorials{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:0 12px 8px 142px;font:13px/1.3 Arial,Helvetica,sans-serif;letter-spacing:0}
#intentGrid .cp-intent-tutorials-label{flex-basis:100%;font-size:11px;font-weight:700;color:#516773;margin:1px 0 3px}
#intentGrid .cp-intent-tutorials a{display:inline-flex;align-items:center;min-height:36px;padding:6px 10px;border:1px solid #c7dce0;border-radius:7px;background:#fff;color:#14555c;font-weight:700;text-decoration:none}
#intentGrid .cp-intent-tutorials a:hover{background:#eaf4f4;border-color:#14555c}
#intentGrid .cp-intent-tutorials a:focus-visible{outline:3px solid #127f88;outline-offset:3px}
@media(max-width:767px){#intentGrid .cp-intent-tutorials{padding:0 8px 8px 84px;gap:4px 6px;font-size:12px}#intentGrid .cp-intent-tutorials a{min-height:44px;padding:6px 9px}#intentGrid .cp-intent-choice{margin-bottom:8px}}


/* Keep navigation in flow and start choices at the top of their scroll area. */
body:not(.has-ai-result):has(#controls-card) {
  padding-bottom: 0 !important;
}
body:not(.has-ai-result) #controls-card .wizard-app-actions {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}
body:not(.has-ai-result) #controls-card .wizard-header-row {
  height: auto;
  grid-template-rows: auto;
}
body:not(.has-ai-result) #controls-card .wizard-screen[data-wizard-screen="1"].is-active {
  gap: 12px;
  padding: 12px 14px 0 !important;
}
body:not(.has-ai-result) #controls-card #intentGrid {
  align-content: start;
  grid-auto-rows: max-content;
  gap: 16px;
  padding-top: 2px;
  padding-bottom: 8px !important;
  scroll-padding-block: 8px;
}
body:not(.has-ai-result) #controls-card #intentGrid .cp-intent-choice {
  margin: 0;
}
body:not(.has-ai-result) #controls-card #intentGrid .intent-card {
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 96px;
  padding: 8px;
  gap: 3px 12px;
}
body:not(.has-ai-result) #controls-card #intentGrid .intent-card__image {
  width: 80px;
  height: 80px;
  min-height: 0;
  align-self: start;
}
body:not(.has-ai-result) #controls-card #intentGrid .cp-intent-tutorials {
  padding: 0 8px 4px 102px;
  gap: 6px;
}
body:not(.has-ai-result) #controls-card #intentGrid .cp-intent-tutorials-label {
  flex-basis: auto;
  margin: 0 2px 0 0;
}
body:not(.has-ai-result) #controls-card .wizard-screen[data-wizard-screen="1"] .wizard-screen__actions {
  position: static !important;
  width: auto !important;
  margin: 0 -14px !important;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
  align-self: stretch;
}
@media (max-width: 767px) {
  body:not(.has-ai-result) #controls-card .wizard-header-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }
  body:not(.has-ai-result) #controls-card .wizard-app-actions {
    gap: 6px;
    justify-content: stretch;
  }
  body:not(.has-ai-result) #controls-card .wizard-app-actions .wizard-app-action {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 6px 8px !important;
    font-size: 11px !important;
    line-height: 1.25;
  }
  body:not(.has-ai-result) #controls-card .wizard-screen[data-wizard-screen="1"].is-active {
    padding: 12px 8px 0 !important;
    gap: 10px;
  }
  body:not(.has-ai-result) #controls-card #intentGrid .intent-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 80px;
  }
  body:not(.has-ai-result) #controls-card #intentGrid .intent-card__image {
    width: 64px;
    height: 64px;
  }
  body:not(.has-ai-result) #controls-card #intentGrid .cp-intent-tutorials {
    padding: 0 8px 8px;
  }
  body:not(.has-ai-result) #controls-card #intentGrid .cp-intent-tutorials-label {
    flex-basis: 100%;
  }
  body:not(.has-ai-result) #controls-card .wizard-screen[data-wizard-screen="1"] .wizard-screen__actions {
    margin: 0 -8px !important;
    padding: 8px !important;
  }
}
