/* V408: responsive extension notebook beside Cloud Voice user setup.
   Drawn in CSS; user details are dynamic text, not a static image. */
#v302-user-notepad { display:none !important; }
@media (min-width:1200px) and (min-height:550px) {
  body.v302-notepad-step .layout {
    max-width:none;
    grid-template-columns:clamp(11rem,14vw,15rem) minmax(0,42rem) minmax(14rem,18rem);
    column-gap:clamp(.9rem,1.5vw,2.25rem);
    padding-left:clamp(1rem,2vw,2.5rem);
    padding-right:clamp(1rem,2vw,2.5rem);
  }
  body.v302-notepad-step #v302-user-notepad:not([hidden]) {
    display:block !important;
    align-self:start;
    position:sticky;
    top:7rem;
    width:100%;
    max-height:min(27rem, calc(100vh - 12rem));
    overflow-y:auto;
    border-radius:5px 10px 10px 5px;
    background:#f7f8fa;
    border:1px solid #d7dce2;
    box-shadow:0 12px 28px rgba(29,53,74,.10),3px 4px 0 rgba(157,178,193,.14);
    scrollbar-width:thin;
    scrollbar-color:#a8bccb transparent;
  }
}
/* Below three-column width, preserve the notebook in the document flow.
   It follows the user form, avoiding overlap with the running quote total. */
@media (max-width:1199px) {
  body.v302-notepad-step #v302-user-notepad:not([hidden]) {
    display:block !important;
    grid-column:2;
    grid-row:auto;
    position:static;
    margin-top:.8rem;
    min-width:0;
    width:100%;
    max-height:15rem;
    overflow-y:auto;
    border:1px solid #d7dce2;
    border-radius:6px;
    box-shadow:0 8px 20px rgba(29,53,74,.1);
    background:#f7f8fa;
  }
}
@media (max-width:860px) {
  body.v302-notepad-step #v302-user-notepad:not([hidden]) {
    grid-column:1;
    max-height:13rem;
  }
}
#v302-user-notepad .v302-paper {
  position:relative;
  min-height:280px;
  padding:10px 10px 22px 0;
  /* Blue ruled lines drawn at exactly the height of each handwritten row. */
  background:repeating-linear-gradient(to bottom,
    #f8f8f4 0px,#f8f8f4 41px,#99bfe0 42px,#f8f8f4 43px);
}
#v302-user-notepad .v302-paper::before {
  content:'';
  position:absolute;left:19px;top:0;bottom:0;width:1px;
  background:rgba(207,137,143,.42);pointer-events:none;
}
#v302-user-notepad .v302-paper-head {
  display:flex;align-items:baseline;justify-content:space-between;
  height:43px;padding:2px 13px 0 29px;
  font-family:'Bradley Hand','Segoe Print','Chalkboard SE','Comic Sans MS',cursive;
  color:#27435c;line-height:36px;
}
#v302-user-notepad .v302-paper-head strong {font-size:1.35rem;font-weight:600;}
#v302-user-notepad .v302-paper-head span {font:600 .72rem/1.4 var(--font,system-ui);color:#536b7b;}
#v302-user-notepad .v302-paper-list {list-style:none;padding:0;margin:0;}
#v302-user-notepad .v302-paper-row {height:43px;padding:0;line-height:1;}
#v302-user-notepad .v302-paper-row button {
  width:100%;height:43px;border:0;background:transparent;
  display:grid;grid-template-columns:3.2rem minmax(0,1fr) 2rem;
  align-items:center;gap:.3rem;padding:0 4px 0 27px;
  color:#283448;text-align:left;cursor:pointer;
  font-family:'Bradley Hand','Segoe Print','Chalkboard SE','Comic Sans MS',cursive;
  font-weight:500;font-size:1.15rem;line-height:1.25;
  transition:background .16s ease;
}
#v302-user-notepad .v302-paper-row button:hover,
#v302-user-notepad .v302-paper-row button:focus-visible {background:rgba(86,168,214,.12);outline:2px solid #3a91c2;outline-offset:-2px;}
#v302-user-notepad .v302-paper-row.is-editing button {background:rgba(83,164,211,.09);}
#v302-user-notepad .v302-paper-ext {font-variant-numeric:tabular-nums;white-space:nowrap;}
#v302-user-notepad .v302-paper-name {overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
#v302-user-notepad .v302-paper-tick {font-size:1.65rem;transform:rotate(-7deg);color:#233a4d;justify-self:center;}
@media (prefers-reduced-motion:reduce) {
  #v302-user-notepad .v302-paper-row button {transition:none;}
}
@media print {#v302-user-notepad {display:none !important;}}
