.clg-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* Unscribo mobile contrast refinement */
@media (max-width: 767px) {
  body .clg-wrapper {
    --clg-ink: #061735 !important;
    --clg-muted: #51617a !important;
    --clg-line: #cbd7ea !important;
    --clg-primary: #4857f4 !important;
    --clg-blue: #256ff0 !important;
  }

  body .clg-form-section,
  body .clg-preview-section,
  body .clg-checkout-section {
    background: #ffffff !important;
    border-color: #cfd9eb !important;
    box-shadow: 0 18px 46px rgba(16, 37, 74, .08) !important;
  }

  body .clg-step-heading {
    border-top-color: #d9e2f1 !important;
  }

  body .clg-step-heading > span {
    background: linear-gradient(135deg, #4857f4, #256ff0) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(72, 87, 244, .22) !important;
  }

  body .clg-step-heading strong,
  body #clg-generator-form > h2,
  body #clg-generator-form label,
  body .clg-date-title,
  body .clg-checkout-section > h3 {
    color: #061735 !important;
  }

  body .clg-step-heading small,
  body .clg-form-intro p,
  body .clg-field-help {
    color: #51617a !important;
  }

  body .clg-form-kicker,
  body .clg-story-kicker,
  body .clg-preview-live {
    color: #4857f4 !important;
  }

  body .clg-optional {
    background: #dfe5ff !important;
    color: #3847d9 !important;
    border: 1px solid #c6d0ff !important;
  }

  body #clg-generator-form input[type="text"],
  body #clg-generator-form input[type="email"],
  body #clg-generator-form input[type="tel"],
  body #clg-generator-form input[type="number"],
  body #clg-generator-form textarea,
  body #cancelDateCustomDisplay {
    background: #ffffff !important;
    border-color: #c8d4e6 !important;
    color: #061735 !important;
    box-shadow: 0 1px 0 rgba(6, 23, 53, .03) !important;
  }

  body #clg-generator-form input:focus,
  body #clg-generator-form textarea:focus,
  body #cancelDateCustomDisplay:focus {
    border-color: #256ff0 !important;
    box-shadow: 0 0 0 4px rgba(37, 111, 240, .14) !important;
  }
}

/* Unscribo mobile checkout alignment polish */
@media (max-width: 767px) {
  body .clg-checkout-section {
    padding: 26px 20px 20px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  body .clg-checkout-section > h3 {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #061735 !important;
    font-size: 22px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  body .clg-checkout-section #order_review,
  body .clg-checkout-section #payment {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body .clg-checkout-section table.shop_table {
    margin: 0 0 20px !important;
    overflow: hidden !important;
    border: 1px solid #d5dfef !important;
    border-radius: 18px !important;
    background: #ffffff !important;
  }

  body .clg-checkout-section table.shop_table th,
  body .clg-checkout-section table.shop_table td {
    padding: 14px 16px !important;
    border-color: #e7edf6 !important;
  }

  body .clg-checkout-section table.shop_table th {
    background: #f4f6fb !important;
    color: #596a83 !important;
    font-size: 12px !important;
    letter-spacing: .08em !important;
  }

  body .clg-checkout-section table.shop_table td,
  body .clg-checkout-section table.shop_table strong,
  body .clg-checkout-section table.shop_table bdi {
    color: #061735 !important;
  }

  body #payment ul.payment_methods {
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body #payment ul.payment_methods li {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 0 0 0 !important;
    border-bottom: 1px solid #e7edf6 !important;
  }

  body #payment ul.payment_methods li:last-child {
    border-bottom: 0 !important;
  }

  body #payment ul.payment_methods li input {
    margin: 0 !important;
  }

  body #payment ul.payment_methods li label {
    margin: 0 !important;
    color: #33445f !important;
    line-height: 1.25 !important;
  }

  body #payment div.place-order {
    padding-top: 0 !important;
  }

  body #place_order {
    min-height: 62px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  body .woocommerce-privacy-policy-text p {
    margin: 14px 0 0 !important;
    color: #596a83 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

.clg-form-section, .clg-preview-section {
    flex: 1;
    min-width: 300px;
    padding: 32px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px; /* Premium Card Radius */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb; /* Visible border */
}

.clg-form-section {
    border-right: none;
}

/* Override theme styles for the wrapper class to prevent shrinking */
.clg-container .clg-form-section.pt-order-review-wrapper {
    width: 100% !important;
    float: none !important;
    flex: 1;
    max-width: none !important;
}

.clg-preview-section {
    position: relative;
}

/* Download PDF Button */
.clg-download-btn {
    position: absolute;
    top: 90px;
    right: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    color: #374151;
    padding: 10px;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.clg-download-btn:hover {
    background-color: #f9fafb;
    color: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1; /* Darker border (Slate-300) */
    border-radius: 12px;
    font-size: 15px;
    box-sizing: border-box;
    background-color: #f9fafb;
    transition: all 0.2s;
    color: #1f2937;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4f46e5;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

h2, h3 {
    color: #111827;
    margin-top: 0;
    font-weight: 700;
}

h2 { margin-bottom: 24px; font-size: 24px; }
h3 { margin-bottom: 16px; font-size: 18px; }

/* Custom Search Styles */
.clg-search-container {
    position: relative;
    margin-bottom: 32px;
}

.clg-search-wrapper {
    display: flex;
    gap: 12px;
}

.clg-search-wrapper input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background-color: #f9fafb;
    transition: all 0.2s;
}

.clg-search-wrapper input:focus {
    border-color: #4f46e5;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.clg-search-wrapper button {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.3);
}

.clg-search-wrapper button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.4);
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.clg-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    padding: 8px 0;
}

.clg-search-results.active {
    display: block;
}

.clg-search-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.1s;
    font-size: 15px;
    color: #374151;
}

.clg-search-item:last-child {
    border-bottom: none;
}

.clg-search-item:hover {
    background-color: #f9fafb;
    color: #4f46e5;
}

/* Preview Styles */
.clg-letter-header {
    background: linear-gradient(135deg, #4285f4 0%, #3b82f6 100%);
    color: white;
    padding: 24px 32px;
    margin: -32px -32px 32px -32px;
    border-radius: 20px 20px 0 0;
}

.clg-letter-header h2 {
    color: white;
    margin: 0;
    font-size: 18px;
}

.clg-letter-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.clg-recipient-address {
    margin-bottom: 20px;
    white-space: pre-line;
}

.clg-date {
    margin-bottom: 20px;
}

.clg-subject {
    margin-bottom: 20px;
}

.clg-salutation {
    margin-bottom: 15px;
}

.clg-body p {
    margin-bottom: 15px;
}

.clg-summary {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.summary-row {
    margin-bottom: 5px;
}

.clg-signature {
    margin-top: 30px;
    font-family: 'Brush Script MT', cursive;
    font-size: 24px;
    color: #4285f4;
}

.terms-checkbox {
    margin: 20px 0;
    font-size: 14px;
}

.terms-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.terms-checkbox a {
    color: #4285f4;
    text-decoration: none;
}

/* WooCommerce Checkout Integration Styles */
.clg-checkout-section {
    margin-top: 40px;
    background: #fff;
    padding: 32px;
    border-radius: 20px; /* Premium Card Radius */
    clear: both;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}

.clg-checkout-section h3 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
}

/* Hide fields we sync (Billing) */
.clg-checkout-section .woocommerce-billing-fields {
    display: none;
}

/* Hide Additional Fields (Order Notes) */
.clg-checkout-section .woocommerce-additional-fields {
    display: none;
}

/* Hide Coupon */
.clg-checkout-section .woocommerce-form-coupon-toggle,
.clg-checkout-section .woocommerce-form-coupon {
    display: none !important;
}

/* Style Order Review / Payment Section */
#order_review_heading {
    display: none;
}

#order_review {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    width: 100% !important;
    box-sizing: border-box;
}

/* Table styling for "Je Bestelling" */
#order_review table.shop_table {
    border: none;
    width: 100% !important;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 24px;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
    border-bottom: 1px solid #f3f4f6;
    padding: 16px 0;
    color: #374151;
    font-size: 15px;
}

#order_review table.shop_table th {
    font-weight: 600;
}

/* Payment Methods Styling */
#payment {
    background: transparent !important;
}

#payment ul.payment_methods {
    border-bottom: none !important;
    padding: 0 !important;
}

#payment div.place-order {
    padding: 20px 0 0 0 !important;
    background: transparent !important;
}

/* Place Order Button */
#place_order {
    width: 100% !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: white !important;
    padding: 18px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    transition: all 0.3s !important;
    white-space: normal !important;
    display: block !important;
    border: none !important;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

#place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4) !important;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

#place_order:hover {
    background-color: #4a00b0 !important;
}

@media (max-width: 768px) {
    .clg-container {
        flex-direction: column;
    }
    .clg-form-section {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

/* Preview Tabs - SaaS Style */
.clg-preview-tabs-container {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 8px;
    margin: -32px -32px 32px -32px;
    border-radius: 20px 20px 0 0;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.clg-preview-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.clg-preview-tabs::-webkit-scrollbar {
    display: none;
}

.clg-tab {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    color: #3b82f6;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    position: relative;
    font-size: 14px;
}

.clg-tab.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.clg-tab .clg-remove-tab {
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 2px;
}

.clg-tab .clg-remove-tab:hover {
    opacity: 1;
}

.clg-add-tab-btn {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border: none;
    border-radius: 12px;
    color: #3b82f6;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.clg-add-tab-btn:hover {
    background: #bfdbfe;
    transform: scale(1.05);
}

/* Modal SaaS Style */
.clg-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.clg-modal-content {
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: clg-modal-fadein 0.3s ease-out;
}

@keyframes clg-modal-fadein {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.clg-modal-header {
    padding: 32px;
    border-bottom: 1px solid #f1f5f9;
}

.clg-modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
}

.clg-modal-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.clg-close-modal {
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    margin-top: -40px;
}

.clg-modal-search {
    padding: 20px 32px;
    background: #f8fafc;
}

.clg-modal-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.clg-modal-search-wrapper svg {
    position: absolute;
    left: 16px;
    color: #94a3b8;
}

.clg-modal-search-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.clg-modal-body {
    padding: 32px;
    max-height: 400px;
    overflow-y: auto;
}

.clg-modal-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.clg-modal-category-group h4 {
    font-size: 16px;
    color: #3b82f6;
    margin: 0 0 12px 0;
}

.clg-modal-company-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}

.clg-modal-company-item:hover {
    background: #f1f5f9;
}

.clg-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.clg-modal-selected-chips {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.clg-selected-chip {
    padding: 4px 12px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
}

.clg-modal-primary-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.clg-modal-primary-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Category Browser Styles */
.clg-browser-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 40px 0;
}

.clg-view h3 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
}

/* Category Grid */
.clg-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px; /* Increased gap */
}

.clg-category-btn {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px; /* Squircle */
    padding: 24px;
    text-align: center;
    cursor: pointer;
    font-size: 25px;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 140px; /* Uniform Height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.clg-category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s;
}

.clg-category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    color: #4f46e5;
    background: #fff;
    border-color: rgba(79, 70, 229, 0.1);
}

.clg-category-btn:hover::before {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

/* Company List */
.clg-company-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px; /* Increased gap */
}

.clg-company-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px; /* Squircle */
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 140px; /* Uniform Height */
}

.clg-company-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s;
    z-index: 1;
}

.clg-company-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    color: #4f46e5;
    background: #fff;
    border-color: rgba(79, 70, 229, 0.1);
}

.clg-company-item:hover::before {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.clg-company-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px;
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
    font-size: 25px;
    text-align: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 2;
}

/* Back Button */
#clg-back-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#clg-back-btn:hover {
    color: #111827;
    background: transparent;
    border: none;
}

/* Mobile Adjustments for Categories */
@media (max-width: 600px) {
    .clg-category-grid {
        grid-template-columns: 1fr; /* Full width cards on mobile */
        gap: 16px;
    }
    
    .clg-company-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .clg-category-btn {
        padding: 20px;
        font-size: 18px; /* Standard size for mobile */
    }

    .clg-company-item a {
        padding: 20px;
        font-size: 18px; /* Standard size for mobile */
    }
}

/* Hide WordPress Notices on CLG Pages */
div.notice, div.updated, div.error, .is-dismissible {
    display: none !important;
}

/* =========================================
   Mega Premium SaaS Dashboard Styles
   ========================================= */

.clg-dashboard-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111827;
    background-color: #f9fafb; /* Light gray background */
    padding: 32px;
    border-radius: 24px;
    margin-top: 20px;
}

/* Header Section */
.clg-dashboard-header {
    background: #fff;
    padding: 32px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clg-header-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.clg-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-radius: 20px; /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.clg-user-info h2 {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
    letter-spacing: -0.025em;
}

.clg-user-email {
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
}

/* Metrics Grid */
.clg-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.clg-metric-card {
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.clg-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s;
}

.clg-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.clg-metric-card:hover::before {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.clg-metric-content {
    display: flex;
    flex-direction: column;
}

.clg-metric-label {
    font-size: 13px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.clg-metric-value {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.025em;
    line-height: 1;
}

.clg-metric-sub {
    font-size: 18px;
    color: #9ca3af;
    font-weight: 500;
}

/* Icons */
.clg-metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.clg-metric-card:hover .clg-metric-icon {
    transform: scale(1.1) rotate(5deg);
}

.clg-metric-icon svg {
    width: 28px;
    height: 28px;
}

.clg-icon-blue { background: #e0e7ff; color: #4338ca; }
.clg-icon-purple { background: #ede9fe; color: #7c3aed; }
.clg-icon-green { background: #dcfce7; color: #15803d; }
.clg-icon-orange { background: #ffedd5; color: #c2410c; }

/* Content Card */
.clg-content-card {
    background: transparent; 
    border-radius: 20px;
    border: none;
    overflow: visible; 
}

/* Header for the List Section (Replacing Card Header) */
.clg-list-section-header {
    margin-bottom: 24px;
}

.clg-list-section-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

/* New List Layout (Flex Cards) */
.clg-list-header {
    display: flex;
    padding: 0 28px;
    margin-bottom: 16px;
}

.clg-list-header-item {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.clg-list-card {
    background: #fff;
    padding: 24px 28px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clg-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* List Columns */
.clg-col-company { flex: 2; min-width: 0; padding-right: 15px; }
.clg-col-address { flex: 2; min-width: 0; padding-right: 15px; }
.clg-col-date { flex: 1; min-width: 0; padding-right: 15px; }
.clg-col-status { flex: 0.8; min-width: 0; text-align: right; display: flex; justify-content: flex-end; }

/* Admin Columns Extensions */
.clg-col-customer { flex: 2; min-width: 0; padding-right: 15px; }
.clg-col-email { flex: 2; min-width: 0; padding-right: 15px; overflow: hidden; text-overflow: ellipsis; }
.clg-col-time { flex: 1; min-width: 0; padding-right: 15px; }
.clg-col-action { flex: 1; min-width: 0; text-align: right; display: flex; justify-content: flex-end; }
.clg-col-count { flex: 1; min-width: 0; padding-right: 15px; }
.clg-col-rank { flex: 0.5; min-width: 0; font-weight: bold; color: #9ca3af; padding-right: 15px; }
.clg-col-category { flex: 1; min-width: 0; padding-right: 15px; }
.clg-col-order { flex: 1; min-width: 0; font-weight: bold; padding-right: 15px; }
.clg-col-total { flex: 1; min-width: 0; font-weight: bold; padding-right: 15px; }

/* Company Cell Styles */
.clg-company-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.clg-company-icon {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    font-size: 18px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.clg-list-card:hover .clg-company-icon {
    background: #e0e7ff;
    color: #4f46e5;
}

.clg-company-name {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}

.clg-address-text {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.clg-date-text {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.clg-status-badge {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    letter-spacing: 0.025em;
    display: inline-block;
}

.clg-status-badge.ready {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #d1fae5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* WooCommerce Account Forms Overrides */
.woocommerce-account .woocommerce-EditAccountForm fieldset,
.woocommerce-account form.woocommerce-EditAccountForm {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    margin-top: 20px;
}

.woocommerce-account form .form-row {
    margin-bottom: 24px;
}

.woocommerce-account form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.woocommerce-account form .form-row input.input-text,
.woocommerce-account form .form-row textarea {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    font-size: 15px;
    color: #111827;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-sizing: border-box; /* Ensure padding doesn't break width */
}

.woocommerce-account form .form-row input.input-text:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.woocommerce-account form fieldset {
    margin-top: 32px;
}

.woocommerce-account form legend {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.woocommerce-account .button {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: white !important;
    border-radius: 99px !important;
    padding: 16px 40px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3) !important;
    transition: transform 0.2s !important;
    margin-top: 20px;
    display: inline-block;
}

.woocommerce-account .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .clg-dashboard-wrapper { padding: 15px; margin-top: 0; border-radius: 0; }
    .clg-dashboard-header { flex-direction: column; text-align: center; gap: 20px; padding: 24px; }
    .clg-header-content { flex-direction: column; }
    .clg-metrics-grid { grid-template-columns: 1fr; gap: 15px; }
    .clg-metric-card { padding: 20px; }
    
    /* Update Mobile Styles for List Cards */
    .clg-list-header { display: none; }
    .clg-list-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
    .clg-col-company, .clg-col-address, .clg-col-date, .clg-col-status { width: 100%; padding-right: 0; }
    .clg-col-status { text-align: left; justify-content: flex-start; }

    /* Admin Columns Mobile */
    .clg-col-customer, .clg-col-email, .clg-col-time, .clg-col-action, 
    .clg-col-count, .clg-col-rank, .clg-col-category, .clg-col-order, .clg-col-total { 
        width: 100%; padding-right: 0; text-align: left; justify-content: flex-start; 
    }
    
    .woocommerce-account .woocommerce-EditAccountForm fieldset,
    .woocommerce-account form.woocommerce-EditAccountForm { padding: 20px; }
}


/* Add-more favorite indicators */
.clg-modal-company-item {
    gap: 12px;
}
.clg-modal-company-item > span:not(.clg-favorite-pill) {
    flex: 1;
}
.clg-favorite-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-left: auto;
    padding: 4px 10px;
    border: 1px solid #cfd8ff;
    border-radius: 999px;
    background: #eef1ff;
    color: #5258e8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
}
.clg-favorite-company-item {
    border-color: #d9ddff;
    background: #f8f8ff;
}


/* ==========================
   UNSCRIBO SAAS FORM
   ========================== */
.clg-wrapper {
    --clg-ink: #0b1b35;
    --clg-muted: #687892;
    --clg-line: #dce5f2;
    --clg-soft: #f5f7fc;
    --clg-primary: #5462f6;
    --clg-blue: #3478f6;
    --clg-success: #15b873;
    max-width: 1500px;
    margin: 0 auto;
    padding: 26px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 8% 2%, rgba(84, 98, 246, .10), transparent 26%),
        linear-gradient(180deg, #f9faff 0%, #f4f7fc 100%);
}
.clg-container {
    display: grid;
    grid-template-columns: minmax(410px, .88fr) minmax(560px, 1.12fr);
    gap: 24px;
    align-items: start;
}
.clg-form-section,
.clg-preview-section {
    border: 1px solid rgba(211, 221, 237, .9);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 60px rgba(20, 42, 82, .09);
}
.clg-form-section {
    padding: 28px;
}
#clg-generator-form > h2 {
    margin: 0;
    color: var(--clg-ink);
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.08;
    letter-spacing: -.035em;
}
.clg-form-intro {
    margin: 10px 0 26px;
}
.clg-form-intro p {
    margin: 8px 0 0;
    color: var(--clg-muted);
    font-size: 14px;
    line-height: 1.55;
}
.clg-form-kicker,
.clg-story-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--clg-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.clg-form-kicker::before,
.clg-story-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clg-success);
    box-shadow: 0 0 0 5px rgba(21,184,115,.11);
}
.clg-step-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 14px;
    padding-top: 22px;
    border-top: 1px solid #edf1f7;
}
.clg-step-heading > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8ebff, #f3f5ff);
    color: var(--clg-primary);
    font-size: 12px;
    font-weight: 800;
}
.clg-step-heading div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.clg-step-heading strong {
    color: var(--clg-ink);
    font-size: 15px;
    line-height: 1.2;
}
.clg-step-heading small {
    color: #8a97aa;
    font-size: 11px;
}
#clg-generator-form .form-group {
    margin-bottom: 15px;
}
#clg-generator-form label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #24344e;
    font-size: 12px;
    font-weight: 700;
}
#clg-generator-form input[type="text"],
#clg-generator-form input[type="email"],
#clg-generator-form textarea {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #d8e1ee;
    border-radius: 12px;
    background: #fbfcff;
    box-shadow: 0 1px 2px rgba(13,31,61,.02);
    color: var(--clg-ink);
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
#clg-generator-form textarea {
    min-height: 105px;
    resize: vertical;
}
#clg-generator-form input::placeholder,
#clg-generator-form textarea::placeholder {
    color: #9aa7b9;
}
#clg-generator-form input:focus,
#clg-generator-form textarea:focus {
    border-color: var(--clg-blue);
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(52,120,246,.12), 0 8px 24px rgba(52,120,246,.08);
}
#clg-generator-form .form-row {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 12px;
}
.clg-optional {
    padding: 3px 7px;
    border-radius: 999px;
    background: #eef1ff;
    color: var(--clg-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.clg-help-tip {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
    border: 1px solid #d4dded;
    border-radius: 50%;
    background: #fff;
    color: #65738a;
    font-size: 11px;
    line-height: 1;
    cursor: help;
}
.clg-field-help {
    display: block;
    margin-top: 7px;
    color: #8c98aa;
    font-size: 10px;
}
.clg-date-title {
    margin: 23px 0 11px !important;
    color: var(--clg-ink);
    font-size: 14px !important;
}
#clg-generator-form .radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
#clg-generator-form .radio-group label {
    position: relative;
    min-height: 54px;
    margin: 0;
    padding: 16px 14px 16px 44px;
    border: 1px solid #dbe3ef;
    border-radius: 13px;
    background: #fbfcff;
    cursor: pointer;
    transition: .18s ease;
}
#clg-generator-form .radio-group label:has(input:checked) {
    border-color: #aeb8ff;
    background: #f0f2ff;
    color: #3847d9;
    box-shadow: 0 6px 18px rgba(84,98,246,.08);
}
#clg-generator-form .radio-group input {
    position: absolute;
    left: 15px;
    top: 17px;
    width: 18px;
    height: 18px;
    accent-color: var(--clg-primary);
}
.clg-checkout-section {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #e9eef6;
}
.clg-checkout-section > h3 {
    color: var(--clg-ink);
    font-size: 16px;
}
.clg-checkout-section #place_order,
.clg-checkout-section button[type="submit"] {
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--clg-primary), var(--clg-blue));
    box-shadow: 0 12px 28px rgba(61, 91, 235, .24);
    font-weight: 800;
    text-transform: none;
}
.clg-preview-section {
    position: sticky;
    top: 24px;
    overflow: hidden;
    padding: 30px;
}
.clg-preview-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 11px;
    border: 1px solid #d9e8e1;
    border-radius: 999px;
    background: #f1fbf6;
    color: #128558;
    font-size: 11px;
    font-weight: 800;
}
.clg-preview-live span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #19bf78;
    box-shadow: 0 0 0 5px rgba(25,191,120,.12);
}
.clg-preview-section .clg-preview-content,
.clg-preview-section .letter-preview {
    border-color: #e2e8f2;
    border-radius: 18px;
    background: #fff;
}
.clg-ghost-text {
    color: #aeb8c8 !important;
    background: linear-gradient(90deg, rgba(84,98,246,.08), transparent) !important;
    border-radius: 4px;
    transition: color .2s ease, background .2s ease;
}
#clg-open-modal {
    border: 1px solid #d7e0ef;
    background: #fff;
    color: var(--clg-primary);
    box-shadow: 0 8px 24px rgba(22,44,84,.10);
}
#clg-open-modal:hover {
    border-color: #b8c3ff;
    background: #f2f4ff;
    transform: translateY(-1px);
}
.clg-story-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    margin-top: 24px;
    padding: clamp(32px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid #d7dfff;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 20%, rgba(84,98,246,.18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f3f4ff 58%, #eef1ff 100%);
    box-shadow: 0 24px 70px rgba(35, 53, 105, .11);
}
.clg-story-card::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(84,98,246,.15);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(84,98,246,.035), 0 0 0 75px rgba(84,98,246,.025);
}
.clg-story-copy {
    position: relative;
    z-index: 1;
}
.clg-story-copy h2 {
    max-width: 720px;
    margin: 13px 0 16px;
    color: var(--clg-ink);
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -.045em;
}
#clg-story-company {
    color: var(--clg-primary);
}
.clg-story-copy > p {
    max-width: 680px;
    margin: 0;
    color: #596a83;
    font-size: 16px;
    line-height: 1.7;
}
.clg-story-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.clg-story-points span {
    padding: 9px 12px;
    border: 1px solid #dfe5f2;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    color: #32415b;
    font-size: 11px;
    font-weight: 750;
}
.clg-story-flow {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 20px;
    border: 1px solid rgba(211,220,240,.95);
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 18px 45px rgba(35,51,97,.10);
    backdrop-filter: blur(12px);
}
.clg-story-flow > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border-radius: 14px;
    background: #fff;
}
.clg-story-flow b {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8ebff, #f5f6ff);
    color: var(--clg-primary);
    font-size: 13px;
}
.clg-story-flow span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.clg-story-flow strong {
    color: var(--clg-ink);
    font-size: 14px;
}
.clg-story-flow small {
    color: #8491a5;
    font-size: 11px;
}
.clg-story-flow > i {
    display: block;
    width: 1px;
    height: 18px;
    margin: 4px 0 4px 34px;
    background: linear-gradient(#b9c1ff, #dbe1ef);
}

@media (max-width: 1050px) {
    .clg-container {
        grid-template-columns: 1fr;
    }
    .clg-preview-section {
        position: relative;
        top: auto;
    }
    .clg-story-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
@media (max-width: 640px) {
    .clg-wrapper {
        padding: 12px;
        border-radius: 20px;
    }
    .clg-form-section,
    .clg-preview-section {
        padding: 20px;
        border-radius: 18px;
    }
    #clg-generator-form .form-row,
    #clg-generator-form .radio-group {
        grid-template-columns: 1fr;
    }
    .clg-story-card {
        margin-top: 14px;
        padding: 26px 20px;
        border-radius: 20px;
    }
    .clg-story-copy h2 {
        font-size: 34px;
    }
    .clg-story-points {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Subscription value capture */
.clg-money-input {
    position: relative;
}
.clg-money-input .clg-currency-symbol {
    position: absolute;
    z-index: 2;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #526078;
    font-size: 14px;
    font-weight: 800;
    pointer-events: none;
}
#clg-generator-form .clg-money-input input[type="number"] {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px 13px 38px;
    border: 1px solid #d8e1ee;
    border-radius: 12px;
    background: #fbfcff;
    color: var(--clg-ink);
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
#clg-generator-form .clg-money-input input[type="number"]:focus {
    border-color: var(--clg-blue);
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(52,120,246,.12), 0 8px 24px rgba(52,120,246,.08);
}
.clg-story-detail {
    margin-top: 10px !important;
    font-size: 14px !important;
}
.clg-story-saving {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px 15px;
    border: 1px solid #cfe9dd;
    border-radius: 13px;
    background: #f0fbf6;
    color: #476457;
}
.clg-story-saving[hidden] {
    display: none;
}
.clg-story-saving span {
    font-size: 11px;
    font-weight: 700;
}
.clg-story-saving strong {
    color: #0b9a60;
    font-size: 14px;
}
.clg-col-amount {
    width: 13%;
    min-width: 105px;
    color: #0f766e;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
    .clg-col-amount {
        width: 100%;
        min-width: 0;
    }
}


#clg-generator-form input[type="tel"] {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #d8e1ee;
    border-radius: 12px;
    background: #fbfcff;
    color: var(--clg-ink);
    font-size: 14px;
}
#clg-generator-form input[type="tel"]:focus {
    border-color: var(--clg-blue);
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(52,120,246,.12), 0 8px 24px rgba(52,120,246,.08);
}


/* Visible Add more action in live preview */
.clg-preview-section .clg-add-tab-btn {
    width: auto !important;
    min-width: 124px;
    height: 42px;
    padding: 0 18px;
    gap: 8px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(89, 99, 234, .14);
}
.clg-preview-section .clg-add-tab-btn span { font-size: 20px; line-height: 1; }


/* Temporarily hide PDF download action */
#downloadPdfBtn { display: none !important; }


/* Unscribo 1.4.3 — unified mobile card gutter */
@media (max-width: 680px) {
  body.page-id-292 #main,
  body.page-id-292 #main > .row,
  body.page-id-292 #main > .row > .col,
  body.page-id-292 .page-wrapper,
  body.page-id-292 .page-inner {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  body.page-id-292 .uns-form-intro,
  body.page-id-292 .clg-wrapper {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    box-sizing: border-box !important;
  }
  body.page-id-292 .clg-wrapper,
  body.page-id-292 .clg-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.page-id-292 .clg-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  body.page-id-292 .clg-form-section,
  body.page-id-292 .clg-preview-section,
  body.page-id-292 .clg-story-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* UNSCRIBO MOBILE SYSTEM 2026-08-06 */
@media (max-width:767px){
 html,body{max-width:100%;overflow-x:hidden}
 .clg-wrapper,.clg-account-app,.clg-browser-container{width:calc(100% - 40px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
 .clg-container{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;width:100%!important;max-width:none!important;margin:0!important}
 .clg-form-section,.clg-preview-section,.clg-story-card,.clg-checkout-section{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;transform:none!important}
 .clg-form-section{padding:28px 20px!important}
 .clg-preview-section{position:relative!important;top:auto!important;min-width:0!important}
 .clg-form-section input,.clg-form-section select,.clg-form-section textarea,.clg-checkout-section{max-width:100%!important;box-sizing:border-box!important}
 .form-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .clg-story-card{padding:28px 20px!important}
 .clg-modal-content{width:calc(100% - 32px)!important;max-width:none!important;margin:16px auto!important}
 .clg-modal-categories,.clg-category-grid,.clg-company-list{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;width:100%!important}
 .clg-category-btn,.clg-company-item{width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body.woocommerce-account .woocommerce{width:100%!important;max-width:100%!important;padding:0 20px!important;box-sizing:border-box!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation,
 body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:8px!important;scrollbar-width:none}
 body.woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto!important;margin:0!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation a{display:block!important;white-space:nowrap!important;padding:12px 14px!important;font-size:13px!important}
 .clg-dashboard-header,.clg-account-header,.clg-content-card,.clg-account-company-picker{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
 .clg-account-header,.clg-header-content,.clg-account-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:center!important;gap:16px!important}
 .clg-account-primary-action{width:100%!important;justify-content:center!important;box-sizing:border-box!important}
 .clg-metrics-grid,.clg-account-metrics{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;width:100%!important}
 .clg-metric-card{width:100%!important;min-height:138px!important;margin:0!important;box-sizing:border-box!important}
 .clg-list-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;width:100%!important;padding:20px!important;box-sizing:border-box!important}
 .clg-list-header{display:none!important}
 .clg-company-cell,.clg-col-amount,.clg-col-address,.clg-col-date,.clg-col-status{width:100%!important;min-width:0!important;text-align:left!important}
}


/* UNSCRIBO MOBILE PASS 2 2026-08-06 */
@media(max-width:767px){
 body #header .header-main,body #header .header-inner{height:72px!important;min-height:72px!important}
 body #header #logo{width:min(220px,calc(100vw - 118px))!important;max-width:min(220px,calc(100vw - 118px))!important;margin:0 auto!important}
 body #header #logo img{width:100%!important;height:auto!important;max-height:54px!important;object-fit:contain!important}

 .clg-browser-container,.clg-account-app,.clg-wrapper{width:calc(100% - 40px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
 .clg-browser-container{padding:24px 16px!important;border-radius:22px!important;overflow:hidden!important}
 .clg-search-container,.clg-search-wrapper{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 .clg-search-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .clg-search-wrapper input,.clg-search-wrapper button{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
 .clg-search-wrapper input{height:58px!important;padding:0 18px!important;font-size:16px!important}
 .clg-search-wrapper button{height:58px!important;border-radius:16px!important}
 .clg-view>h3{font-size:clamp(34px,10vw,46px)!important;line-height:1.02!important;margin:36px 0 24px!important}
 .clg-category-grid,.clg-company-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;width:100%!important}
 .clg-category-btn,.clg-company-btn,.clg-company-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important}
 .clg-category-btn{min-height:138px!important;padding:22px!important;border-radius:20px!important;text-align:left!important}

 .woocommerce-account .row.row-divided{display:block!important}
 .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%!important;max-width:none!important;padding:0!important;border:0!important}
 .woocommerce-account .woocommerce-MyAccount-navigation{width:calc(100% - 40px)!important;margin:18px auto 28px!important}
 .woocommerce-account #my-account-nav{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;width:100%!important;padding:6px!important;overflow-x:auto!important;border:1px solid #dce5f1!important;border-radius:18px!important;background:#fff!important;box-sizing:border-box!important}
 .woocommerce-account #my-account-nav li{flex:0 0 auto!important;margin:0!important;border:0!important}
 .woocommerce-account #my-account-nav li:after,.woocommerce-account #my-account-nav li:before{display:none!important}
 .woocommerce-account #my-account-nav a{display:flex!important;align-items:center!important;min-height:44px!important;padding:0 14px!important;border-radius:13px!important;font-size:12px!important;white-space:nowrap!important}
 .woocommerce-account #my-account-nav .is-active a,.woocommerce-account #my-account-nav .active a{background:linear-gradient(135deg,#5662f6,#3478f6)!important;color:#fff!important;box-shadow:0 8px 20px rgba(52,120,246,.22)!important}

 .clg-account-header{width:100%!important;padding:28px 20px!important;border-radius:22px!important;box-sizing:border-box!important}
 .clg-header-content,.clg-account-actions{width:100%!important;min-width:0!important}
 .clg-header-content{flex-direction:column!important;text-align:center!important;gap:14px!important}
 .clg-user-info h2{font-size:26px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
 .clg-account-primary-action{width:100%!important;justify-content:center!important;box-sizing:border-box!important;padding:16px!important;text-align:center!important}
 .clg-metrics-grid.clg-account-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;width:100%!important}
 .clg-metric-card{position:relative!important;width:100%!important;min-width:0!important;min-height:174px!important;padding:20px 16px!important;display:block!important;box-sizing:border-box!important;border-radius:20px!important;overflow:hidden!important}
 .clg-metric-content{max-width:calc(100% - 42px)!important}
 .clg-metric-label{font-size:11px!important;line-height:1.25!important;letter-spacing:.08em!important}
 .clg-metric-value{font-size:26px!important;line-height:1.08!important;margin-top:14px!important;overflow-wrap:anywhere!important}
 .clg-metric-sub{font-size:13px!important;display:block!important;margin-top:5px!important}
 .clg-metric-icon{position:absolute!important;top:16px!important;right:14px!important;width:42px!important;height:42px!important}
 .clg-account-saved-card .clg-metric-value{font-size:25px!important}
}
@media(max-width:390px){
 .clg-browser-container,.clg-account-app,.clg-wrapper{width:calc(100% - 32px)!important}
 .woocommerce-account .woocommerce-MyAccount-navigation{width:calc(100% - 32px)!important}
 .clg-metric-card{min-height:164px!important;padding:18px 14px!important}
 .clg-metric-value{font-size:23px!important}
}

/* UNSCRIBO FIXED MOBILE GUTTER 2026-08-06 */
@media(max-width:767px){
 .clg-browser-container,.clg-account-app,.clg-wrapper{width:calc(100% - 40px)!important;margin-inline:auto!important}
 .woocommerce-account .woocommerce-MyAccount-navigation{width:calc(100% - 40px)!important;margin-inline:auto!important}
}
/* Unscribo CLG mobile global rhythm and width fix */
@media (max-width: 767px) {
  body .clg-wrapper,
  body .clg-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body .clg-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  body .clg-container > *,
  body .clg-form-section,
  body .clg-checkout-section,
  body .clg-preview-section,
  body .clg-story-card,
  body .clg-account-app,
  body .clg-browser-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body .clg-form-section + .clg-preview-section,
  body .clg-form-section + .clg-checkout-section,
  body .clg-preview-section + .clg-story-card,
  body .clg-checkout-section + .clg-story-card,
  body .clg-story-card + .clg-story-card {
    margin-top: 20px !important;
  }

  body .clg-preview-section,
  body .clg-story-card,
  body .clg-form-section,
  body .clg-checkout-section {
    margin-bottom: 0 !important;
    border-radius: 22px !important;
  }

  body .clg-container > * + *,
  body .clg-letter-content + .clg-story-card,
  body .letter-preview + .clg-story-card,
  body .clg-preview-content + .clg-story-card,
  body .clg-preview-section + .clg-story-card,
  body .clg-form-section + .clg-story-card,
  body .clg-checkout-section + .clg-story-card {
    margin-top: 20px !important;
  }

  body .clg-story-card:first-child {
    margin-top: 0 !important;
  }

  body .clg-story-card {
    margin-top: 20px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  body .clg-preview-section .clg-story-card,
  body .letter-preview ~ .clg-story-card,
  body .clg-preview-content ~ .clg-story-card,
  body .clg-preview-section > .clg-story-card {
    margin-top: 20px !important;
  }

  body .clg-preview-section .letter-preview,
  body .clg-preview-section .clg-preview-content {
    margin-bottom: 20px !important;
  }

  body .clg-form-section {
    padding-bottom: 20px !important;
  }

  body .clg-checkout-section {
    margin-top: 20px !important;
    padding: 24px 20px 20px !important;
  }

  body .clg-checkout-section h3 {
    margin: 0 0 20px !important;
    line-height: 1.15 !important;
  }

  body .clg-date {
    margin-bottom: 20px !important;
  }

  body .clg-date + .clg-checkout-section,
  body .clg-cancel-options + .clg-checkout-section {
    margin-top: 20px !important;
  }

  body .clg-preview-section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  body .clg-preview-live {
    margin: 0 0 20px !important;
  }

  body .clg-preview-live ~ .clg-preview-tabs-container {
    margin-top: 0 !important;
  }

  body .clg-form-section > *:last-child,
  body .clg-checkout-section > *:last-child,
  body .clg-preview-section > *:last-child,
  body .clg-letter-content > *:last-child {
    margin-bottom: 0 !important;
  }

  body .clg-letter-content {
    padding-bottom: 28px !important;
  }

  body .clg-preview-tabs-container {
    gap: 8px !important;
    padding: 12px 14px !important;
    margin: 0 0 20px !important;
    overflow: hidden !important;
  }

  body .clg-story-points {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-top: 20px !important;
    align-items: start !important;
  }

  body .clg-story-points span {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body #clg-generator-form > h2 {
    margin: 0 0 20px !important;
    font-size: 32px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  body .clg-form-intro {
    margin: 0 0 20px !important;
  }

  body .clg-form-intro p {
    margin-top: 10px !important;
  }

  body .clg-step-heading {
    margin: 20px 0 12px !important;
    padding-top: 20px !important;
    gap: 10px !important;
  }

  body .clg-form-intro + .clg-step-heading {
    margin-top: 20px !important;
  }

  body .clg-step-heading > span {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  body #clg-generator-form .radio-group {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body #clg-generator-form .radio-group label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 64px !important;
    padding: 14px 16px 14px 52px !important;
    box-sizing: border-box !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  body #clg-generator-form .radio-group input {
    top: 50% !important;
    left: 18px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }

  body #clg-generator-form .radio-group .clg-radio-mark {
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }

  body .clg-date-picker {
    margin: 16px 0 20px !important;
  }

  body .clg-date-picker label {
    display: none !important;
  }

  body .clg-date-picker[hidden] {
    display: none !important;
  }

  body #cancelDateCustom {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    line-height: 52px !important;
  }

  body .clg-date-input-wrap {
    display: none !important;
  }

  body #cancelDateCustomDisplay {
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 50px 0 16px !important;
    border: 1px solid #d8e1ee !important;
    border-radius: 16px !important;
    background: #fbfcff !important;
    color: #061735 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  body .clg-date-icon {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    width: 18px !important;
    height: 18px !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
  }

  body .clg-date-icon::before,
  body .clg-date-icon::after {
    content: "" !important;
    position: absolute !important;
    box-sizing: border-box !important;
  }

  body .clg-date-icon::before {
    inset: 2px 1px 1px !important;
    border: 2px solid #061735 !important;
    border-radius: 3px !important;
  }

  body .clg-date-icon::after {
    left: 4px !important;
    right: 4px !important;
    top: 6px !important;
    border-top: 2px solid #061735 !important;
  }

  body .clg-date-calendar {
    width: 100% !important;
    margin-top: 0 !important;
    padding: 14px !important;
    border: 1px solid #d8e1ee !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(22, 44, 84, .13) !important;
    box-sizing: border-box !important;
  }

  body .clg-date-calendar[hidden] {
    display: none !important;
  }

  body .clg-calendar-head,
  body .clg-calendar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  body .clg-calendar-head strong {
    color: #061735 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  body .clg-calendar-head div {
    display: flex !important;
    gap: 8px !important;
  }

  body .clg-calendar-head button,
  body .clg-calendar-actions button {
    border: 1px solid #dbe3ff !important;
    border-radius: 12px !important;
    background: #f5f7ff !important;
    color: #5662f6 !important;
    font-weight: 800 !important;
    min-height: 38px !important;
    padding: 0 13px !important;
  }

  body .clg-calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 14px !important;
  }

  body .clg-calendar-days span {
    color: #71809a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: center !important;
  }

  body .clg-calendar-days button {
    aspect-ratio: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #061735 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  body .clg-calendar-days button.is-muted {
    color: #9aa7b9 !important;
  }

  body .clg-calendar-days button.is-today {
    background: #eef2ff !important;
    color: #5662f6 !important;
  }

  body .clg-calendar-days button.is-selected {
    background: linear-gradient(135deg, #5662f6, #3478f6) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(52, 120, 246, .24) !important;
  }

  body .clg-calendar-actions {
    margin-top: 12px !important;
  }

  body .clg-modal-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 20px !important;
    align-items: stretch !important;
  }

  body .clg-modal-footer > div {
    width: 100% !important;
    min-width: 0 !important;
  }

  body .clg-modal-selected-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  body .clg-modal-primary-btn,
  body #clg-modal-add-btn {
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body .clg-preview-tabs {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 48px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  body .clg-preview-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body .clg-tab {
    flex: 0 1 auto !important;
    max-width: 190px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body .clg-add-tab-btn {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body .clg-add-tab-btn span {
    display: block !important;
    font-size: 24px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
}

/* Unscribo final mobile checkout simplification */
@media (max-width: 767px) {
  body .clg-form-section {
    padding-bottom: 0 !important;
  }

  body .clg-container {
    gap: 20px !important;
  }

  body .clg-form-section + .clg-preview-section {
    margin-top: 0 !important;
  }

  body .clg-checkout-section {
    margin-top: 20px !important;
    padding: 30px 20px 20px !important;
    border: 1px solid #d4deee !important;
    border-radius: 24px !important;
    box-shadow: 0 16px 40px rgba(16, 37, 74, .07) !important;
  }

  body .clg-checkout-section > h3 {
    margin: 0 0 22px !important;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 1.12 !important;
  }

  body .clg-checkout-section table.shop_table {
    margin: 0 0 20px !important;
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 0 0 1px #d8e1ee !important;
    overflow: hidden !important;
  }

  body .clg-checkout-section #payment {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  body .clg-checkout-section .woocommerce-privacy-policy-text p {
    margin: 14px 0 0 !important;
  }
}

/* Unscribo mobile story background cleanup */
@media (max-width: 767px) {
  body .clg-story-card {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%) !important;
    border-color: #d4deee !important;
    box-shadow: 0 16px 40px rgba(16, 37, 74, .07) !important;
    overflow: hidden !important;
  }

  body .clg-story-card::after {
    display: none !important;
  }
}

/* Unscribo mobile checkout top spacing */
@media (max-width: 767px) {
  body .clg-checkout-section {
    margin-top: 28px !important;
    padding-top: 34px !important;
  }

  body .clg-checkout-section > h3 {
    margin-bottom: 24px !important;
  }
}

/* Unscribo mobile story points final alignment */
@media (max-width: 767px) {
  html body .clg-story-card .clg-story-points {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
  }

  html body .clg-story-card .clg-story-points span {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #51617a !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }
}

/* Smooth flow focus: keep programmatic scroll targets from drawing browser outlines. */
.clg-flow-focus-target,
.clg-flow-focus-target:focus,
.clg-wrapper:focus,
#clg-generator-form:focus,
#clg-companies-view:focus,
#clg-categories-view:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* Live preview: helper labels disappear once a user has typed a value. */
.clg-summary-progressive-labels .summary-row {
    display: block;
}
.clg-summary-progressive-labels .summary-row strong {
    display: inline;
    transition: opacity .18s ease, max-width .18s ease, margin .18s ease;
}
.clg-summary-progressive-labels .summary-row.clg-has-value strong {
    display: none;
}
.clg-summary-progressive-labels .summary-row.clg-has-value span {
    color: inherit !important;
    background: transparent !important;
}

