.control-label {display: none;}

html {
    font-size: 17px;
}

@media screen and (min-width: 480px) {
  .editor-typography{
		font-size: 17px;
	}
  .ce-block__content, .ce-toolbar__content { max-width:calc(100% - 5px) !important; } .cdx-block { max-width: 100% !important; }
  .ce-popover,.ce-popover--open-top, .ce-popover--opened {padding-bottom: 70px;}
}

@media screen and (min-width: 481px) and (max-width: 600px) {
	.editor-typography {
		font-size: 22px;
	}
  .ce-block__content, .ce-toolbar__content { max-width:calc(100% - 80px) !important; } .cdx-block { max-width: 100% !important; }
  .ce-popover,.ce-popover--open-top, .ce-popover--opened {padding-bottom: 70px;}
}

@media screen and (min-width: 601px) {
	.editor-typography{
		font-size: 26px;
	}
  .ce-block__content, .ce-toolbar__content { max-width:calc(100% - 100px) !important; } .cdx-block { max-width: 100% !important; }
  .ce-popover,.ce-popover--open-top, .ce-popover--opened {padding-bottom: 70px;}
}



.navbar {
    margin-bottom: 30px;
}
textarea{
    font-family: Consolas, Lucida Console, monospace; 
    font-size: large;
}

.loginFixed {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 1030;
    margin-top: 15px;
    }


a:hover, /* OPTIONAL*/
a:visited,
a:focus
{text-decoration: none !important;}

.askai-color{
    color: #306E92;
}

.askai-text-bg-color{
    color:#ffffff;
    background-color: #306E92;
}

.askai-button {
    background:url('https://livebookai.com/static/images/logo-long-color-40.png') no-repeat 2px center;
    padding:2px 2px 2px 2px;
}


.editor-post-inner{
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 5px;
}

.editor-typography{
  font-family: Segoe UI,SegoeUI,Helvetica Neue,Helvetica,Arial,sans-serif;
}

.askai-marker {
    background: #fcf8e3;
    padding: 0.2em;
  }

.askai-answer {
    background: #f4f4f4;
    padding: 3px 0;
}

.askai-more {
    background: #f4f4f4;
    padding: 3px 0;
}

.askai-complete-inline {
}

.askai-save {
}

.askai-rephrase {
}

.askai-summarize {
}

.askai-complete {
}

.askai-complete-inline {
}

.askai-complete-code {
}

.askai-force-link {
}

.askai-float{
	position:fixed;
	bottom:80px;
	right:40px;
  background-color: #fff;
  z-index: 100;
}

.askai-float-button{
	position:fixed;
	bottom:90px;
	right:40px;
  z-index: 100;
}

.askai-float-qrcode{
	position:fixed;
	bottom:80px;
	right:40px;
  z-index: 1030;
}

.askai-float-circle{
	position:fixed;
	width:50px;
	height:50;
	border-radius:50px;
	text-align:center;
	box-shadow: 2px 2px 3px #999;
  z-index: 100;
}


.askai-float-action-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  text-align:center;
  box-shadow: 2px 2px 3px #999;
  z-index: 2000;
}

.askai-spinner-loader {
  margin: auto;
  border: 20px solid #EAF0F6;
  border-radius: 50%;
  border-top: 20px solid red;
  width: 110px;
  height: 110px;
  animation: spinner 4s linear infinite;
  z-index: 1999;
}
@keyframes spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.askai-float-inside{
	margin-top:22px;
}

.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  border-radius: 35px;
  font-size: 24px;
  line-height: 1.33;
}

.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px 0px;
  border-radius: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 1.42857;
}


  .post{
      height: 80px;

  }

  .fa-google {
    background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 73% 55%/150% 150% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .blink_me {
    animation: blinker 3s linear infinite;
  }
  
  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }
  
  /* Navbar dropdown submenu */

  .dropdown-menu li {
    position: relative;
    }
    .dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
    }
    .dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
    }
    .dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
    }

    .anyButtonContainer .toggle-switch{
      display:none; 
    }

    .grecaptcha-badge { visibility: hidden; }

    .offcanvas { z-index: 1060; }
    .offcanvas-backdrop { z-index: 1059; }
    
    .editor-container {
      max-width: 100vw;
      word-wrap: break-word;
    }
    
     @media print {
            .scorecard-card {
                break-inside: avoid !important;
                page-break-inside: avoid !important;
                page-break-before: auto !important;
                page-break-after: avoid !important;
                margin-bottom: 20px !important;
                display: block !important;
                max-height: none !important;
                overflow: visible !important;
                box-sizing: border-box !important;
            }
            
            .scorecard-card .chart-container {
                aspect-ratio: 1/1 !important;
                max-height: 350px !important;
                max-width: 350px !important;
                margin: 5px auto 10px auto !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
                flex-shrink: 0 !important;
            }
            
            .scorecard-card .chart-canvas-container {
                aspect-ratio: 1/1 !important;
                max-height: 350px !important;
                max-width: 350px !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
            }
            
            .scorecard-card h4,
            .scorecard-card h5 {
                margin-top: 10px !important;
                margin-bottom: 8px !important;
                padding-top: 5px !important;
                font-size: 1.1rem !important;
                line-height: 1.3 !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
                page-break-after: avoid !important;
                min-height: 1.3em !important;
            }
            
            .scorecard-card p,
            .scorecard-card .card-text {
                margin-bottom: 6px !important;
                font-size: 0.9rem !important;
                line-height: 1.1 !important;
            }
            
            .scorecard-card .metrics-container {
                display: flex !important;
                flex-wrap: wrap !important;
                gap: 2px !important;
                margin-bottom: 10px !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
            }
            
            .scorecard-card .metric-item {
                display: flex !important;
                justify-content: space-between !important;
                width: calc(50% - 1px) !important;
                min-width: 120px !important;
                padding: 1px 3px !important;
                margin-bottom: 1px !important;
                font-size: 0.75rem !important;
                line-height: 1.1 !important;
                border-bottom: 1px dotted #ccc !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
            }
            
            .scorecard-card .metric-name {
                font-weight: 500 !important;
                margin-right: 5px !important;
                flex: 1 !important;
            }
            
            .scorecard-card .metric-value {
                font-weight: bold !important;
                text-align: right !important;
                flex-shrink: 0 !important;
            }
            
            .scorecard-card .row {
                margin-bottom: 2px !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
            }
            
            .scorecard-card .col {
                padding: 2px 5px !important;
                font-size: 0.85rem !important;
            }
            
            .scorecard-card .card-text {
                margin-bottom: 10px !important;
                margin-top: 8px !important;
                padding: 5px 0 !important;
                font-size: 0.85rem !important;
                line-height: 1.3 !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
                min-height: 1.3em !important;
                word-wrap: break-word !important;
                overflow-wrap: break-word !important;
            }
            
            .scorecard-card .mb-3,
            .scorecard-card div:last-child {
                margin-bottom: 5px !important;
            }
            
            .scorecard-card small {
                font-size: 0.7rem !important;
            }
            
            .scorecard-card img {
                height: 20px !important;
            }
            
            .scorecard-card .scorecard-comment {
                margin: 15px 0 20px 0 !important;
                padding: 8px 5px !important;
                font-size: 0.9rem !important;
                line-height: 1.4 !important;
                border-top: 1px solid #ddd !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
                page-break-before: avoid !important;
                min-height: 2em !important;
                word-wrap: break-word !important;
                overflow-wrap: break-word !important;
                display: block !important;
            }
            
            .scorecard-card .scorecard-header {
                margin-bottom: 15px !important;
                padding: 10px 0 !important;
                break-inside: avoid !important;
                page-break-inside: avoid !important;
                page-break-after: avoid !important;
                border-bottom: 1px solid #eee !important;
            }
            
            .scorecard-card .scorecard-header h4 {
                margin-top: 0 !important;
                margin-bottom: 5px !important;
            }
            
            .scorecard-card .scorecard-header h5 {
                margin-top: 0 !important;
                margin-bottom: 0 !important;
                color: #666 !important;
            }
            
            /* Force page break before periods/rounds section */
            .periods-section {
                page-break-before: always !important;
                break-before: page !important;
                margin-top: 20px !important;
                padding-top: 20px !important;
            }
            
            /* Ensure periods header starts on new page */
            #insights-section-periods {
                page-break-before: always !important;
                break-before: page !important;
                margin-top: 0 !important;
                padding-top: 20px !important;
            }
        }

  /* Product Ribbon Styles */
  .product-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: inherit;
  }

  .product-ribbon1 {
    width: 80px;
    height: 16px;
    line-height: 16px;
    position: absolute;
    top: 10px;
    right: -20px;
    z-index: 2;
    overflow: hidden;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 1px dashed #1e7e34;
    box-shadow: 0 0 0 2px #28a745, 0px 8px 3px -6px rgba(0,0,0,0.6);
    background: #28a745;
    text-align: center;
    font-size: 8px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
  }

  /* Additional ribbon styles for product wrap decorations */
  .product-wrap:before, .product-wrap:after {
    content: "";
    position: absolute;
  }

  .product-wrap:before {
    width: 15px;
    height: 4px;
    right: 35px;
    background: #1e7e34;
    border-radius: 4px 4px 0px 0px;
  }

  .product-wrap:after {
    width: 4px;
    height: 15px;
    right: 0px;
    top: 35px;
    background: #1e7e34;
    border-radius: 0px 4px 4px 0px;
  }

  /* Blue shipping ribbon */
  .product-ribbon5 {
    display: block;
    width: calc(100% + 10px);
    height: 24px;
    line-height: 24px;
    text-align: center;
    margin-left: -5px;
    margin-right: -5px;
    background: #007bff;
    position: absolute;
    bottom: 0;
    font-size: 10px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
  }

  .product-ribbon5:before, .product-ribbon5:after {
    content: "";
    position: absolute;
  }

  .product-ribbon5:before {
    height: 0;
    width: 0;
    bottom: -6px;
    left: 0;
    border-top: 6px solid #0056b3;
    border-left: 6px solid transparent;
  }

  .product-ribbon5:after {
    height: 0;
    width: 0;
    right: 0;
    bottom: -6px;
    border-top: 6px solid #0056b3;
    border-right: 6px solid transparent;
  }