/* SkilloPrint extracted presentation bundle. Order mirrors former inline styles. */

/* ===== turnstile-human-verification-ui ===== */
.human-verification-shell{margin:10px 0 8px;padding:10px;border:1px solid rgba(56,189,248,.35);border-radius:12px;background:rgba(15,23,42,.45);text-align:center;min-width:0}
    .human-verification-title{font-size:11px;font-weight:800;color:#bae6fd;margin-bottom:7px}
    .human-verification-widget{min-height:65px;display:flex;justify-content:center;align-items:center;max-width:100%;overflow:hidden}
    .human-verification-status{min-height:17px;margin-top:5px;font-size:10px;line-height:1.35;color:#93c5fd}
    body.op-light .human-verification-shell{background:#f7fbff;border-color:#b8d8ea}.op-light .human-verification-title{color:#075985}.op-light .human-verification-status{color:#475569}
    @media(max-width:430px){.human-verification-shell{padding:8px 6px}.human-verification-widget{transform-origin:top center}}

/* ===== inline-style-2 ===== */
:root {
      --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
      --card-bg: rgba(30, 41, 59, 0.88);
      --accent-blue: #38bdf8;
      --accent-purple: #818cf8;
      --btn-add: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      --btn-download: linear-gradient(135deg, #10b981 0%, #059669 100%);
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --border-color: rgba(255, 255, 255, 0.1);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }
    body { 
      background: var(--bg-gradient); 
      min-height: 100vh;
      padding: 15px 10px; 
      display: flex; 
      flex-direction: column; 
      align-items: center; 
      justify-content: center;
      color: var(--text-main);
    }
    .portal-main-heading {
      font-size: 24px;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      background: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #f43f5e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 10px;
      text-align: center;
    }
    .auth-box {
      background: var(--card-bg);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-color);
      padding: 20px 25px;
      border-radius: 20px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
      width: 100%;
      max-width: 580px;
      text-align: center;
    }
    .badge {
      display: inline-block;
      padding: 3px 12px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      background: rgba(56, 189, 248, 0.15);
      color: var(--accent-blue);
      border: 1px solid rgba(56, 189, 248, 0.3);
      border-radius: 20px;
      margin-bottom: 8px;
    }
    .slot-counter-badge {
      background: rgba(245, 158, 11, 0.15);
      color: #fbbf24;
      border: 1px solid rgba(245, 158, 11, 0.3);
      padding: 4px 16px;
      font-size: 12px;
      font-weight: 600;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 15px;
    }
    .login-input {
      width: 100%;
      padding: 11px 15px;
      margin-bottom: 12px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(56, 189, 248, 0.3);
      border-radius: 10px;
      color: #fff;
      font-size: 13px;
      outline: none;
    }
    .login-btn {
      width: 100%;
      padding: 12px;
      background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
      color: #fff;
      font-weight: 600;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-size: 14px;
      transition: 0.3s;
    }
    .auth-link {
      display: inline-block;
      margin-top: 10px;
      font-size: 12px;
      color: var(--accent-blue);
      cursor: pointer;
      text-decoration: underline;
    }
    .error-msg {
      color: #ef4444;
      font-size: 12px;
      margin-top: 10px;
      display: none;
    }
    .tab-nav {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-bottom: 15px;
      flex-wrap: wrap;
    }
    .tab-btn {
      padding: 9px 13px;
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      border-radius: 12px;
      cursor: pointer;
      font-weight: 600;
      font-size: 12px;
      transition: 0.3s;
    }
    .tab-btn.active {
      background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    }
    #mainApp {
      display: none;
      width: 100%;
      max-width: 1220px;
    }
    .container { 
      background: var(--card-bg); 
      backdrop-filter: blur(16px);
      border: 1px solid var(--border-color);
      padding: 25px 20px; 
      border-radius: 20px; 
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); 
      width: 100%; 
      text-align: center; 
      position: relative; 
    }
    .logout-btn {
      background: rgba(239, 68, 68, 0.2);
      border: 1px solid rgba(239, 68, 68, 0.4);
      color: #fca5a5;
      padding: 6px 14px;
      font-size: 12px;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.2s;
    }
    .logout-btn:hover {
      background: rgba(239, 68, 68, 0.4);
    }
    h1 { 
      background: linear-gradient(to right, #38bdf8, #a855f7, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 22px; 
      font-weight: 700;
      margin-bottom: 6px; 
    }
    .tab-content { display: none; }
    .tab-content.active { display: block; }
    .upload-section { 
      display: flex; 
      gap: 15px; 
      justify-content: center; 
      margin: 15px 0; 
      flex-wrap: wrap; 
    }
    .upload-box { 
      border: 2px dashed rgba(56, 189, 248, 0.4); 
      padding: 16px 14px; 
      border-radius: 14px; 
      cursor: pointer; 
      background: rgba(15, 23, 42, 0.6); 
      flex: 1; 
      min-width: 220px; 
      transition: 0.3s; 
    }
    .upload-box:hover { 
      border-color: var(--accent-blue);
      background: rgba(56, 189, 248, 0.08);
    }
    input[type="file"] { display: none; }
    .preview-container { 
      display: flex; 
      justify-content: center; 
      gap: 20px; 
      margin: 15px 0; 
      flex-wrap: wrap; 
    }
    .preview-box { 
      border: 1px solid var(--border-color); 
      padding: 10px; 
      background: rgba(15, 23, 42, 0.8); 
      border-radius: 12px; 
    }
    .preview-box h4 { 
      font-size: 12px; 
      color: var(--text-muted); 
      margin-bottom: 6px; 
    }
    canvas { 
      max-width: 100% !important; 
      height: auto !important; 
      display: block; 
      margin: 0 auto; 
      border-radius: 4px;
      background: #fff; 
      object-fit: contain;
    }
    .btn-group { 
      display: flex; 
      gap: 10px; 
      justify-content: center; 
      margin-top: 15px; 
      flex-wrap: wrap; 
    }
    .action-btn { 
      padding: 10px 22px; 
      font-size: 13px; 
      font-weight: 600; 
      border: none; 
      border-radius: 10px; 
      cursor: pointer; 
      transition: all 0.3s ease; 
      color: #fff;
    }
    .action-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }
    .btn-add { background: var(--btn-add); }
    .btn-download { background: var(--btn-download); }
    .btn-reset { background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
    .btn-manual-crop {
      background: rgba(56, 189, 248, 0.15);
      border: 1px solid var(--accent-blue);
      color: var(--accent-blue);
      padding: 4px 10px;
      font-size: 11px;
      border-radius: 6px;
      margin-top: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: 0.2s;
    }
    .btn-manual-crop:hover {
      background: var(--accent-blue);
      color: #0f172a;
    }
    .action-btn:disabled { 
      background: #334155; 
      color: #64748b; 
      cursor: not-allowed; 
    }
    .control-panel {
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid var(--border-color);
      border-radius: 14px;
      padding: 14px 18px;
      max-width: 600px;
      margin: 15px auto;
      text-align: center;
    }
    .qty-select-group {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 8px;
      flex-wrap: wrap;
    }
    .qty-input {
      width: 80px;
      padding: 6px 10px;
      border-radius: 8px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid var(--accent-blue);
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      text-align: center;
      outline: none;
    }
    .text-field-input {
      width: 100%;
      max-width: 260px;
      padding: 8px 12px;
      border-radius: 8px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid var(--accent-blue);
      color: #fff;
      font-size: 13px;
      outline: none;
      margin-bottom: 4px;
    }
    .quick-qty-btn {
      padding: 5px 12px;
      background: #334155;
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #fff;
      border-radius: 6px;
      font-size: 11px;
      cursor: pointer;
      font-weight: 600;
    }
    .slider-range {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 5px;
      background: #334155;
      outline: none;
      margin: 6px 0 8px 0;
    }
    .slider-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent-blue);
      cursor: pointer;
      box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    }
    .size-badge-box {
      display: flex;
      justify-content: space-around;
      background: rgba(15, 23, 42, 0.8);
      padding: 12px;
      border-radius: 10px;
      margin-top: 10px;
      border: 1px solid var(--border-color);
    }
    .file-gallery-list {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      justify-content: center;
      margin: 15px 0;
      max-height: 420px;
      overflow-y: auto;
      padding: 14px;
      background: rgba(15, 23, 42, 0.6);
      border-radius: 12px;
      border: 1px solid var(--border-color);
    }
    .draggable-card {
      position: relative;
      width: 125px;
      background: #0f172a;
      border: 2px solid rgba(56, 189, 248, 0.35);
      border-radius: 10px;
      padding: 6px 4px 8px 4px;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-shadow: 0 6px 14px rgba(0,0,0,0.5);
      cursor: grab;
      user-select: none;
      transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    }
    .draggable-card:active { cursor: grabbing; }
    .draggable-card.dragging { opacity: 0.4; transform: scale(0.92); border-color: #f59e0b; }
    .draggable-card.drag-over { border: 2px dashed #38bdf8; transform: scale(1.05); background: rgba(56, 189, 248, 0.12); }
    .draggable-card canvas, .draggable-card img {
      width: 100%;
      height: 135px;
      object-fit: contain;
      background: #ffffff;
      border-radius: 5px;
      pointer-events: none;
    }
    .draggable-card .file-label {
      font-size: 11px;
      color: #94a3b8;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 100%;
      margin: 6px 0 2px 0;
      font-weight: 600;
      text-align: center;
      pointer-events: none;
    }
    .card-tools-bar {
      display: flex;
      gap: 6px;
      justify-content: center;
      width: 100%;
      margin-top: 4px;
    }
    .mini-tool-btn {
      background: #334155;
      color: #f8fafc;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 4px;
      padding: 4px 8px;
      font-size: 11px;
      cursor: pointer;
      transition: 0.2s;
    }
    .mini-tool-btn:hover { background: #0284c7; }
    .mini-tool-btn.btn-del:hover { background: #ef4444; }
    .item-delete-btn {
      position: absolute;
      top: -6px;
      right: -6px;
      background: #ef4444;
      color: #ffffff;
      border: 2px solid #1e293b;
      border-radius: 50%;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
      z-index: 10;
      transition: 0.2s;
    }
    .item-delete-btn:hover { background: #dc2626; transform: scale(1.15); }
    .history-table-container {
      margin-top: 15px;
      overflow-x: auto;
      background: rgba(15, 23, 42, 0.7);
      border-radius: 12px;
      border: 1px solid var(--border-color);
    }
    .history-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
      text-align: left;
    }
    .history-table th, .history-table td {
      padding: 10px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .history-table th {
      background: rgba(30, 41, 59, 0.9);
      color: var(--accent-blue);
      font-weight: 600;
    }
    .history-table tr:hover { background: rgba(56, 189, 248, 0.05); }
    .history-download-btn {
      background: #0284c7;
      color: #fff;
      border: none;
      padding: 5px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 11px;
      font-weight: 600;
    }
    .history-delete-btn {
      background: rgba(239, 68, 68, 0.2);
      color: #fca5a5;
      border: 1px solid rgba(239, 68, 68, 0.4);
      padding: 5px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 11px;
      font-weight: 600;
      transition: 0.2s;
    }
    .history-delete-btn:hover { background: rgba(239, 68, 68, 0.4); }
    .history-msg-btn {
      background: rgba(245, 158, 11, 0.2);
      color: #fbbf24;
      border: 1px solid rgba(245, 158, 11, 0.4);
      padding: 5px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 11px;
      font-weight: 600;
      transition: 0.2s;
      margin-left: 5px;
    }
    .history-msg-btn:hover { background: rgba(245, 158, 11, 0.4); }
    .history-view-ss-btn {
      background: rgba(56, 189, 248, 0.25);
      color: #38bdf8;
      border: 1px solid rgba(56, 189, 248, 0.5);
      padding: 5px 10px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 11px;
      font-weight: 600;
      transition: 0.2s;
      margin-left: 5px;
    }
    .history-view-ss-btn:hover { background: rgba(56, 189, 248, 0.45); }
    #cropModal{
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.85);
      z-index: 10000;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      padding: 20px;
    }
    .crop-wrapper {
      max-width: 90vw;
      max-height: 70vh;
      background: #000;
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 15px;
    }
    .crop-wrapper img {
      max-width: 100%;
      max-height: 70vh;
      display: block;
    }
    .payment-link-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 280px;
      padding: 11px 16px;
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: #fff;
      border-radius: 9px;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    }
    .payment-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0 12px}
    .payment-plan-choice{min-height:70px;padding:10px;border:1px solid #67e8f966;border-radius:11px;background:linear-gradient(145deg,#10263a,#172554);color:#f8fafc;text-align:left;font:inherit;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}
    .payment-plan-choice strong{display:block;color:#fff;font-size:16px}.payment-plan-choice small{display:block;margin-top:3px;color:#bfdbfe;font-size:11px}
    .payment-plan-choice:hover,.payment-plan-choice[aria-pressed="true"]{border-color:#67e8f9;box-shadow:0 0 0 2px #22d3ee33,0 9px 20px #02061744;transform:translateY(-2px)}
    .payment-plan-choice[aria-pressed="true"]{background:linear-gradient(145deg,#0e7490,#2563eb)}
    .refund-agreement-surface{margin:10px 0 12px;padding:10px 11px;border:1px solid #67e8f966;border-radius:10px;background:#071a2bcc;color:#dbeafe}
    .refund-agreement-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:7px}.refund-agreement-head strong{font-size:11px;color:#e0f2fe}
    .refund-agreement-languages{display:flex;gap:4px;flex-wrap:wrap}.refund-agreement-languages button{padding:4px 7px;border:1px solid #67e8f966;border-radius:7px;background:#102936;color:#bae6fd;font-size:10px;font-weight:800;cursor:pointer}.refund-agreement-languages button[aria-pressed="true"],.refund-agreement-languages button:hover{background:#0e7490;color:#fff;border-color:#a5f3fc}
    .refund-agreement-text{margin:0;color:#cbd5e1;font-size:11px;line-height:1.5}
    .payment-failure-help{display:block;margin-top:9px;padding:9px 11px;border:1px solid #34d39999;border-radius:9px;background:linear-gradient(135deg,#075e54,#128c7e);color:#fff;font-size:11px;font-weight:800;text-align:center;text-decoration:none}
    .payment-failure-help:hover{filter:brightness(1.08);transform:translateY(-1px)}
    #signUpScreen .signup-policy-consent{display:flex;align-items:flex-start;gap:8px;width:100%;margin:12px 0 10px;padding:10px 11px;border:1px solid #60a5fa66;border-radius:10px;background:#0b1f36;color:#dbeafe;font-size:11px;line-height:1.5;text-align:left}
    #signUpScreen .signup-policy-consent input{margin:3px 0 0;flex:0 0 auto}
    #signUpScreen .signup-policy-consent a{color:#7dd3fc;font-weight:800}
    #signUpScreen .signup-paid-choice-row{display:grid;grid-template-columns:minmax(0,1fr) 138px minmax(0,1fr);gap:10px;align-items:stretch;margin:4px 0 10px}
    #signUpScreen .signup-paid-choice-row .payment-plan-choice{min-height:82px;margin:0;display:flex;flex-direction:column;justify-content:center}
    #signUpScreen .signup-plan-monthly{grid-column:1;grid-row:1}#signUpScreen .signup-checkout-btn{grid-column:2;grid-row:1}#signUpScreen .signup-plan-yearly{grid-column:3;grid-row:1}
    #signUpScreen .signup-checkout-btn{min-width:0!important;width:100%!important;margin:0!important;padding:10px 8px!important;align-self:stretch;background:linear-gradient(135deg,#2563eb,#16a34a)!important;font-size:12px!important;line-height:1.3}
    #signUpScreen .signup-plan-summary{margin:0 0 10px;text-align:center;font-weight:800;color:#f8fafc}
    #signUpScreen .signup-trial-separator{display:flex;align-items:center;gap:10px;margin:-2px 0 12px;color:#94a3b8;font-size:10px;font-weight:900;letter-spacing:.12em}
    #signUpScreen .signup-trial-separator::before,#signUpScreen .signup-trial-separator::after{content:'';height:1px;flex:1;background:#64748b66}
    #signUpScreen .signup-trial-btn{margin:0!important;background:linear-gradient(135deg,#10b981 0%,#0f766e 100%)!important}
    @media(max-width:680px){
      #signUpScreen .signup-paid-choice-row{grid-template-columns:repeat(2,minmax(0,1fr))}
      #signUpScreen .signup-plan-yearly{grid-column:2;grid-row:1}
      #signUpScreen .signup-checkout-btn{grid-column:1/-1;grid-row:2;min-height:46px!important}
    }
    @media(max-width:520px){.payment-plan-grid{grid-template-columns:1fr}}
      /* Opaque defaults keep host-site table styles from making rows white. */
    
    
    
    
    
    
    
    
    
    
    
    
    
#np-editor{background:#f4f6fa;color:#25334a;border:1px solid #d8e0eb;border-radius:14px;overflow:hidden;text-align:left;margin-bottom:20px}
#np-editor *{box-sizing:border-box}#np-editor button,#np-editor input,#np-editor select,#np-editor textarea{font-family:Arial,sans-serif;font-size:13px}
#np-editor #np-bold{width:100%;padding:0;accent-color:#087e8b;cursor:pointer;min-height:30px}#np-bold-value{float:right;color:#087e8b;font-weight:bold;font-size:11px}#np-editor #np-bold-help{font-size:10px}
#np-editor button{border:1px solid #c6d1df;background:#fff;color:#23344d;border-radius:6px;padding:9px 12px;cursor:pointer;width:auto;margin:0;font-weight:600}
#np-editor button:hover{background:#e8f1fb}#np-editor button:disabled{opacity:.45;cursor:not-allowed}#np-editor button:focus-visible,#np-editor input:focus-visible,#np-editor textarea:focus-visible,#np-editor select:focus-visible{outline:3px solid #3394d6;outline-offset:2px}
#np-editor .np-primary{background:#087e8b;color:#fff;border-color:#087e8b}#np-editor .np-primary:hover{background:#066470}
#np-editor .np-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;gap:16px;background:#fff}#np-editor h2{color:#18334c;font-size:25px;text-align:left;margin:3px 0;background:none;-webkit-text-fill-color:initial;border:0}#np-editor h2 small{font-size:12px;color:#a76608;background:#fff1d9;border-radius:4px;padding:4px 7px;vertical-align:middle}#np-editor p{font-size:12px;line-height:1.7;color:#566579;margin:0}
 #np-editor .np-tag{font-size:10px;letter-spacing:1.6px;color:#087e8b;font-weight:bold}#np-editor .np-filebar{display:flex;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid #dae2ed;background:#f8fafc}#np-name{flex:1;font-size:12px;overflow-wrap:anywhere}#np-editor .np-server-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 20px;border-top:1px solid #d6dfe9;background:#eef6fb}#np-editor .np-server-bar button{padding:6px 9px;font-size:11px}#np-editor .np-server-bar label{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#566579}#np-editor .np-server-bar input[type=file]{max-width:150px;font-size:10px}#np-editor .np-server-bar input[type=text]{width:92px;padding:5px 6px;border:1px solid #94a3b8;border-radius:5px;font-size:11px;background:#fff;color:#0f172a}#np-editor .np-server-divider{flex-basis:100%;border-top:1px solid #cbd5e1;padding-top:6px;margin-top:2px;font-size:10px;font-weight:800;letter-spacing:.5px;color:#334155}#np-editor .np-server-status{font-size:11px;font-weight:700;color:#566579;margin-right:3px}#np-editor .np-server-status[data-ok=true]{color:#087e8b}#np-editor .np-server-status[data-ok=false]{color:#b45309}
#np-editor .np-notice{background:#fff6df;color:#735310;padding:10px 20px;font-size:11px}#np-editor fieldset{border:0;min-width:0;padding:0;margin:0}
#np-editor .np-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:12px;background:#fff;border-bottom:1px solid #d6dfe9}#np-editor [aria-pressed=true]{background:#d9f0f1;border-color:#087e8b;color:#065b65}
#np-editor .np-body{display:grid;grid-template-columns:235px minmax(0,1fr)}#np-editor .np-panel{padding:17px;display:flex;flex-direction:column;gap:10px;border-right:1px solid #d6dfe9;background:#fff}#np-editor label{display:block;font-size:12px;color:#35475d}#np-editor input,#np-editor select,#np-editor textarea{background:#fff;color:#172a41;border:1px solid #bdcada;border-radius:5px;padding:8px;max-width:100%}#np-editor textarea{width:100%;resize:vertical;line-height:1.7;font-family:Arial,'Noto Sans Devanagari',sans-serif}#np-editor .np-fields{display:flex;gap:12px}#np-size{width:75px}#np-color{width:47px;height:34px}#np-editor hr{border:0;border-top:1px solid #d6dfe9}#np-editor .np-help{font-size:11px}#np-selection{font-size:11px!important}#np-results{display:flex;flex-direction:column;gap:5px;max-height:180px;overflow:auto}#np-results button{text-align:left;white-space:normal;overflow-wrap:anywhere;font-weight:400}#np-editor .np-original-style{display:block;min-height:16px;margin-top:-4px;color:#087e8b;font-size:10px;line-height:1.35}#np-editor .np-original-style[data-locked=true]{color:#0f766e;font-weight:700}#np-editor .np-original-style[data-locked=false]{color:#64748b}
#np-editor .np-pages{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px;background:#e9eef5;font-size:12px}#np-scroll{height:690px;overflow:auto;padding:24px;background:#dfe6ef;position:relative}#np-empty{text-align:center;padding:110px 10px}#np-empty>div{font-size:55px;color:#7894a9}#np-empty h3{font-size:20px;color:#203c51;margin:10px}#np-wrap{position:relative;margin:0 auto;box-shadow:0 5px 24px #132d4426}
#np-editor #np-canvas,#np-editor #np-gesture{display:block!important;max-width:none!important;max-height:none!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important}#np-canvas{background:white!important}#np-gesture{position:absolute;inset:0;background:transparent!important;touch-action:none;pointer-events:none}#np-hits{position:absolute;inset:0;pointer-events:none}#np-editor #np-hits button{position:absolute;background:#0396cc0a;border:1px dashed #168abb;padding:0;min-width:5px;min-height:7px;border-radius:0;pointer-events:auto}#np-editor #np-hits button:hover,#np-editor #np-hits button.chosen{background:#0ea5e933;border:2px solid #087e8b}#np-editor #np-hits button.np-placed-hit{z-index:3;background:#f59e0b0a;border:1px solid transparent}#np-editor #np-hits button.np-placed-hit.chosen{background:#f59e0b22;border:2px solid #f59e0b}#np-editor .np-resize-handle{position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#f59e0b;cursor:nwse-resize;box-sizing:border-box}#np-status{padding:12px 20px;background:#f8fafc;border-top:1px solid #cbd5e1;font-size:12px;color:#135a69;overflow-wrap:anywhere}
#np-password-dialog{margin:auto;max-width:420px;width:90%;padding:24px;border:1px solid #087e8b;border-radius:12px;background:#fff;color:#1e293b}#np-password-dialog::backdrop{background:#020617b0}#np-password-form{display:flex;flex-direction:column;gap:15px}#np-password-form>div{display:flex;gap:12px}
#np-editor .np-unlock-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 20px;border-top:1px solid #d6dfe9;background:#f4f8fc}#np-editor .np-unlock-tools button{padding:7px 10px;font-size:11px}#np-editor .np-unlock-status{font-size:11px;color:#566579;overflow-wrap:anywhere}
@media(max-width:740px){#np-editor .np-head{padding:16px;align-items:flex-start;flex-direction:column}#np-editor .np-panel{border-right:0;border-bottom:1px solid #cbd5e1}#np-editor .np-help{display:none}#np-scroll{height:500px;padding:12px}#np-editor .np-filebar{flex-wrap:wrap}#np-editor .np-toolbar button{font-size:11px;padding:8px}#np-editor h2{font-size:22px}}
#np-editor .np-document{min-width:0}
#np-editor .np-pages{flex-wrap:wrap}
#np-editor .np-view-actions{display:flex;gap:12px;align-items:center;padding:8px 12px;background:#e9eef5;font-size:12px}
#np-editor #np-scroll{height:calc(100dvh - 240px);min-height:320px;padding:12px}
#np-editor .np-document.np-expanded{position:fixed;inset:0;z-index:9999;background:#dfe6ef;display:flex;flex-direction:column}
#np-editor .np-document.np-expanded #np-scroll{height:auto;min-height:0;flex:1}
#np-editor .np-document.np-expanded .np-pages,#np-editor .np-document.np-expanded .np-view-actions{flex-shrink:0}
#np-editor[hidden]{display:none!important}
#np-editor .np-zoom-tools{display:inline-flex;align-items:center;gap:4px;margin-left:4px}
#np-editor .np-zoom-tools button{min-width:28px;padding:5px 8px;font-size:12px}
#np-editor .np-zoom-readout{min-width:48px;text-align:center;font-variant-numeric:tabular-nums;color:#135a69}
#np-editor #np-hits button.np-moving-hit{background:#f59e0b55;border:2px solid #d97706;cursor:grabbing}
#np-editor #np-scroll.np-wheel-zoom{cursor:zoom-in}
#np-editor #np-scroll.np-wheel-zoom.np-wheel-out{cursor:zoom-out}
#portal-image-view{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:16px;background:#101827;color:#fff}
#portal-image-view img{display:block;width:100%;height:calc(100dvh - 90px);object-fit:contain;background:#101827}
#portal-image-view::backdrop{background:#000c}
#np-editor #np-text[hidden]{display:none!important}
#np-editor #np-inline{position:absolute;z-index:20;display:block;margin:0;padding:2px;min-height:24px;max-width:none;border:1px solid #087e8b;border-radius:0;background:#fff;color:#111;resize:both;overflow:auto;line-height:1.15;font-family:Arial,'Noto Sans Devanagari',sans-serif;box-shadow:0 0 0 2px #087e8b22;touch-action:auto;white-space:pre-wrap}
#np-editor #np-inline[hidden]{display:none!important}
/* Compact PDF workspace */
#pdf-premium-card[hidden],#np-save-edit[hidden],#np-cancel-edit[hidden],#np-download-link[hidden],#np-recover[hidden],#np-discard-recovery[hidden]{display:none!important}
#np-download-link{color:#087e8b;font-size:12px;padding:8px}
#np-editor .np-tag,#np-editor .np-head p,#np-editor .np-inline-help,#np-editor .np-help,#np-editor .np-notice,#np-bold-help,#np-selection,#np-empty p{display:none!important}
#np-editor .np-head{padding:14px 18px;flex-wrap:wrap;gap:8px}
#np-editor .np-head>div{flex:1}#np-editor h2{font-size:22px;margin:0}
#np-editor .np-panel{padding:12px;gap:8px}
#np-editor .np-body{grid-template-columns:195px minmax(0,1fr)}
#np-editor #np-scroll{height:calc(100dvh - 205px)}
#np-editor #np-hits{z-index:2}#np-editor #np-gesture{z-index:1}
#np-editor #np-inline{border:0;border-bottom:1px solid #087e8b;border-radius:0;box-shadow:none;resize:none;outline:0!important;padding:0 1px;background:#fff}
#np-editor .np-view-actions span{display:none}
#np-editor .np-limit-help{font-size:11px;padding:6px 12px;background:#f8fafc;color:#475569}
@media(max-width:740px){#np-editor .np-body{grid-template-columns:1fr}#np-editor .np-panel{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}#np-editor .np-panel hr{display:none}#np-editor #np-results{width:100%}}
#np-editor #np-inline{background:transparent!important;opacity:1!important;box-shadow:none!important;border:0!important;outline:0!important}
#np-quota{font-size:12px;color:#475569;white-space:nowrap}
.tab-btn{min-height:54px!important;padding:14px 20px!important;font-size:15px!important}.tool-active{background:#2563eb!important;color:#fff!important;border-color:#60a5fa!important;box-shadow:0 8px 20px #2563eb66!important}.premium-crop-mode .basic-only{display:none!important}
/* Landing-page cleanup: remove the decorative vertical line and keep the access panel compact. */
.front-home .front-services h3{border-left:0!important;padding-left:0!important}
.universal-export-panel{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:14px auto 0;padding:12px;border:1px solid var(--border-color);border-radius:12px;background:rgba(15,23,42,.45)}.universal-export-panel label{font-size:12px;color:var(--text-muted)}.universal-export-size{margin-left:5px;padding:7px;border-radius:7px;background:#172338;color:#fff;border:1px solid #52637f}.universal-export-panel button{padding:8px 11px;border:1px solid #52637f;border-radius:8px;background:#24334b;color:#fff;cursor:pointer;font-size:11px}.universal-export-panel button:disabled{opacity:.45;cursor:not-allowed}.universal-export-panel button:not(:disabled):hover{background:#124951;border-color:#43c4d4}
.account-field-row{display:flex;align-items:center;gap:8px;margin-top:5px}.account-field-row .login-input{flex:1;margin:0!important}.account-field-row button{padding:8px 10px;border:1px solid #52637f;border-radius:8px;background:#24334b;color:#fff;cursor:pointer;white-space:nowrap}.account-field-row button:hover{background:#124951;border-color:#43c4d4}
.account-support-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:2px;padding:11px 12px;border:1px solid #38bdf866;border-radius:12px;background:#0f172a66}.account-support-actions small{color:var(--text-muted);font-size:11px}.account-chat-button{margin:0!important}
.account-chat-dialog{width:min(520px,calc(100% - 28px));border:1px solid #38bdf8aa;border-radius:16px;padding:0;background:linear-gradient(145deg,#172033,#0f172a);color:#e2e8f0;box-shadow:0 25px 80px #000b}.account-chat-dialog::backdrop{background:#020617aa;backdrop-filter:blur(4px)}.account-chat-dialog form{display:grid;gap:10px;padding:20px}.account-chat-dialog h3{margin:0;color:#bae6fd}.account-chat-dialog p{margin:0;color:#cbd5e1;font-size:12px}.account-chat-dialog label{font-size:12px;color:#bfdbfe;font-weight:700}.account-chat-dialog textarea{min-height:120px;width:100%;resize:vertical;padding:10px;border:1px solid #38bdf866;border-radius:9px;background:#07111f;color:#fff;font:inherit}.account-chat-dialog input[type=file]{width:100%;padding:8px;border:1px solid #38bdf866;border-radius:9px;background:#07111f;color:#cbd5e1;font-size:12px}.account-chat-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:3px}.account-chat-actions button{margin:0!important}.account-chat-dialog #accountChatStatus{min-height:18px;color:#a7f3d0;font-size:12px}
.refund-request-dialog{width:min(560px,calc(100% - 28px));border:1px solid #f59e0b99;border-radius:16px;padding:0;background:linear-gradient(145deg,#172033,#0f172a);color:#e2e8f0;box-shadow:0 25px 80px #000b}.refund-request-dialog::backdrop{background:#020617aa;backdrop-filter:blur(4px)}.refund-request-dialog form{display:grid;gap:10px;padding:20px}.refund-request-dialog h3{margin:0;color:#fde68a}.refund-request-dialog p{margin:0;color:#cbd5e1;font-size:12px;line-height:1.45}.refund-request-dialog label{font-size:12px;color:#bfdbfe;font-weight:700}.refund-request-dialog input,.refund-request-dialog select,.refund-request-dialog textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #38bdf866;border-radius:9px;background:#07111f;color:#fff;font:inherit}.refund-request-dialog textarea{min-height:110px;resize:vertical}.refund-request-dialog input[type=file]{padding:8px;color:#cbd5e1}.refund-request-dialog #refundRequestStatus{min-height:18px;font-size:12px}.refund-request-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:3px}.refund-request-actions button{margin:0!important}
.front-home .badge{margin-top:10px}
#loginScreen.front-home .front-showcase{grid-column:2;grid-row:2 / span 3;align-self:stretch;min-height:360px;position:relative;overflow:hidden;border-radius:22px;background:#172033;border:1px solid #ffffffaa;box-shadow:0 16px 35px #17203326}
.front-showcase img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .7s ease}.front-showcase img.active{opacity:1}.front-showcase .showcase-caption{position:absolute;left:16px;right:16px;bottom:14px;padding:10px 12px;border-radius:12px;background:#020617b8;color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(5px)}
#loginScreen.front-home>.badge,#loginScreen.front-home>h2,#loginScreen.front-home>p,#loginScreen.front-home>#loginEmail,#loginScreen.front-home>#loginPass,#loginScreen.front-home>#authBtn,#loginScreen.front-home>#errorMsg,#loginScreen.front-home>div[style]{grid-column:2;width:100%;margin-left:0;margin-right:0}
#loginScreen.front-home>.badge{text-align:left}
#loginScreen.front-home .front-services h3{border-left:4px solid #10b981!important;padding-left:10px!important}
@media(max-width:850px){#loginScreen.front-home{min-height:100vh;overflow-x:hidden}}

/* ===== workspace-reference-layout ===== */
/* Workspace shortcut interaction/theme rules only. */
  #mainApp .workspace-sidebar-links { display:grid; gap:7px; margin-top:12px; padding-top:12px; border-top:1px solid #ffffff2d; }
  #mainApp .workspace-sidebar-links button { display:flex; align-items:center; gap:10px; width:100%; min-height:40px; padding:9px 11px; border:1px solid transparent; border-radius:10px; background:transparent; color:#dbeafe; font:700 12px/1.2 inherit; text-align:left; cursor:pointer; transition:background .18s ease, color .18s ease, transform .18s ease; }
  #mainApp .workspace-sidebar-links button:hover, #mainApp .workspace-sidebar-links button:focus-visible { background:#ffffff18; color:#fff; transform:translateX(3px); outline:none; }
  body.op-light #mainApp .workspace-sidebar-links { border-color:#cbd5e1; }
  body.op-light #mainApp .workspace-sidebar-links button { color:#243b69; }
  body.op-light #mainApp .workspace-sidebar-links button:hover, body.op-light #mainApp .workspace-sidebar-links button:focus-visible { background:#eaf5ff; color:#12203a; }
  body.op-light #mainApp .workspace-tool-grid .dashboard-tool-launcher { background:linear-gradient(145deg,#f8fbff,#eef6ff) !important; border-color:#b8c7dc !important; }
  body.op-light #mainApp .workspace-tool-grid .dashboard-card { background:#fff !important; color:#172033 !important; border-color:#d7e0e8 !important; box-shadow:0 7px 16px #17203312 !important; }
  body.op-light #mainApp .workspace-tool-grid .dashboard-card:hover, body.op-light #mainApp .workspace-tool-grid .dashboard-card:focus-visible { background:#eaf5ff !important; border-color:#7bb9e8 !important; }

/* ===== portal-shared-ui ===== */
/* Shared behaviors still used by the current landing, workspace and policy UI. */
  .info-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px;background:#020617aa;backdrop-filter:blur(8px)}.info-modal[hidden]{display:none}.info-modal-card{position:relative;width:min(640px,100%);max-height:82vh;overflow:auto;padding:30px;border:1px solid #93c5fd66;border-radius:22px;background:linear-gradient(145deg,#172033f5,#312e81f2);color:#e2e8f0;box-shadow:0 25px 80px #0009;animation:portalModalIn .25s ease}.info-modal-card h2{margin:0 30px 18px 0;color:#bfdbfe}.info-modal-card p,.info-modal-card li{line-height:1.7;font-size:14px}.info-modal-card ul{padding-left:22px}.info-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer}.info-modal-close:hover{color:#67e8f9}
  @keyframes portalModalIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
  /* The expanded policy/metrics/footer surface belongs only to the public landing. */
  #loginScreen[style*="display: none"] ~ #landingPolicyStrip,
  #loginScreen[style*="display: none"] ~ #landingMetrics,
  #loginScreen[style*="display: none"] ~ .op-footer{display:none!important}
  .premium-upload-cta{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;padding:12px 22px;border:0;border-radius:12px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px #2563eb55;transition:transform .18s,box-shadow .18s}
  .upload-box:hover .premium-upload-cta{transform:translateY(-2px);box-shadow:0 12px 26px #2563eb77}

/* ===== inline-style-5 ===== */
/* Base visual system retained for compatibility; Skillo theme overrides it below. */
:root{--op-ink:#172033;--op-sky:#2563eb;--op-mint:#10b981;--op-surface:#f8fafc}
#mainApp{color:var(--op-surface)}

#mainApp .new-distributor-alert{display:none;margin:0 auto 14px;max-width:1180px;padding:11px 16px;border:1px solid #fbbf24;border-radius:12px;background:linear-gradient(90deg,#451a03,#78350f,#451a03);color:#fef3c7;font-weight:800;text-align:center;overflow:hidden}
#mainApp .new-distributor-alert span{display:inline-block;animation:opNoticeSlide 14s linear infinite;white-space:nowrap}
@keyframes opNoticeSlide{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
#mainApp .tab-nav{padding:10px;border:1px solid #ffffff22;border-radius:18px;background:#111c31aa;box-shadow:0 10px 30px #02061733}
#mainApp .tab-btn{border-radius:12px!important;background:#1d2b46;color:#dbeafe;border:1px solid #ffffff1f!important}
#mainApp .tab-btn.active,#mainApp .tab-btn:hover{background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;color:#fff;border-color:#7dd3fc!important}
.theme-toggle{padding:8px 12px;border:1px solid #7dd3fc66;border-radius:10px;background:#1d2b46;color:#e0f2fe;cursor:pointer;font-weight:700;font-size:12px}
.theme-toggle:hover{background:#2563eb;transform:translateY(-1px)}
body.op-light{background:linear-gradient(135deg,#eef6ff,#f8fafc 50%,#ecfdf5)!important}
body.op-light #mainApp{background:rgba(255,255,255,.82);color:#172033;border-color:#cbd5e1}
body.op-light #mainApp .tab-nav{background:#ffffffcc;border-color:#cbd5e1}
body.op-light #mainApp .tab-btn{background:#fff;color:#243b69;border-color:#cbd5e1!important}
body.op-light #mainApp .container,body.op-light #mainApp .tab-content>div{background:#fff;color:#172033;border-color:#dbe3f0}
.op-celebration{position:fixed;inset:0;z-index:9999;pointer-events:none;overflow:hidden}
.op-celebration i{position:absolute;left:50%;top:62%;width:7px;height:16px;border-radius:3px;background:var(--c);animation:opBlast 900ms ease-out forwards;transform:rotate(var(--r))}
@keyframes opBlast{0%{opacity:1;transform:translate(-50%,-50%) scale(.5) rotate(0)}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1) rotate(540deg)}}
/* Versatile in-app workspace: clear cards, grouped tools and responsive controls. */
#mainApp .container{max-width:1320px;margin:0 auto;padding:18px 20px;background:rgba(15,23,42,.28);border:1px solid #ffffff14;border-radius:22px}
#mainApp .tab-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}
#mainApp .tab-nav .tab-btn{width:100%;min-width:0;white-space:normal;line-height:1.25}
.my-account-corner{background:linear-gradient(135deg,#6d4bd6,#8b5cf6)!important;color:#fff!important;border-color:#c4b5fd!important;box-shadow:0 7px 18px #8b5cf644}
.my-account-corner:hover{background:linear-gradient(135deg,#7c3aed,#a78bfa)!important}
.added-cards-list{display:grid;gap:7px;max-width:620px;margin:12px auto 0;text-align:left}.added-card-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #52637f;border-radius:10px;background:#172338;color:#dbeafe;font-size:12px}.added-card-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.added-card-row button{padding:6px 10px;border:1px solid #fb7185;border-radius:8px;background:#7f1d1d;color:#fff;cursor:pointer;font-weight:700}.added-card-row button:hover{background:#dc2626}.added-card-row .added-card-manual-crop{border-color:#60a5fa;background:#1d4ed8}.added-card-row .added-card-manual-crop:hover{background:#2563eb}
#mainApp .tab-content>div,#mainApp .control-panel,#mainApp .upload-box{border-radius:18px!important;box-shadow:0 12px 28px #0206172b}
#mainApp .tab-content h1,#mainApp .tab-content h2,#mainApp .tab-content h3{letter-spacing:.1px}
#mainApp .action-btn{border-radius:12px!important;box-shadow:0 6px 16px #02061733}
#mainApp .action-btn:disabled{filter:saturate(.35);box-shadow:none}
#mainApp input[type=text],#mainApp input[type=email],#mainApp input[type=number],#mainApp input[type=file],#mainApp select,#mainApp textarea{border-radius:11px!important}
.front-tool-catalog{grid-column:1/-1;margin:22px 0 0;padding:22px;border:1px solid #cbd5e1;border-radius:22px;background:linear-gradient(135deg,#ffffffd9,#eff6ffcc);box-shadow:0 14px 32px #17203318;text-align:left}
.catalog-heading span{font-size:10px;letter-spacing:2px;color:#2563eb;font-weight:800}.catalog-heading h3{margin:4px 0;color:#172033;font-size:24px}.catalog-heading p{color:#64748b;font-size:13px;margin-bottom:16px}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.catalog-tool{display:flex;align-items:center;gap:9px;min-height:52px;padding:10px 12px;border:1px solid #dbeafe;border-radius:14px;background:#fff;color:#243b69;font-weight:700;font-size:12px;text-align:left;cursor:pointer;text-decoration:none;transition:.2s}.catalog-tool span{font-size:21px}.catalog-tool-copy{display:grid;gap:3px}.catalog-tool-copy strong{font-size:12px}.catalog-tool-copy small{font-size:10px;line-height:1.3;font-weight:600;color:#64748b}.catalog-tool:hover{transform:translateY(-3px);border-color:#60a5fa;box-shadow:0 8px 18px #2563eb24}.catalog-footer-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.catalog-footer-links button{border:0;background:transparent;color:#2563eb;font-size:12px;font-weight:700;cursor:pointer}.catalog-footer-links button:hover{text-decoration:underline}
body:not(.op-light) .front-tool-catalog{background:linear-gradient(135deg,#16243bdd,#172554dd);border-color:#ffffff24}.front-home .catalog-heading h3{color:#172033}.front-home .catalog-tool{background:#fff}
.front-tool-catalog .catalog-secure-note{margin:14px 0 0;color:#64748b;font-size:12px}.front-tool-catalog .catalog-tool[hidden]{display:none}
@media(max-width:720px){#mainApp .container{padding:12px 10px;border-radius:16px}#mainApp .tab-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#mainApp .tab-btn{min-height:48px!important;padding:10px 8px!important;font-size:12px!important}#mainApp .theme-toggle{order:3}#mainApp .container>div:first-child{align-items:stretch!important}}
@media(max-width:850px){.front-tool-catalog{margin-top:16px;padding:16px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== inline-style-6 ===== */
html.session-bootstrap #loginScreen{display:none!important}
  html.session-bootstrap #mainApp{display:block!important}
  /* The route guard runs before the page body is painted. Keep an unauthenticated
     workspace request from flashing the landing page while it is redirected. */
  html.workspace-route:not(.session-bootstrap) body{visibility:hidden}
  html.workspace-route:not(.session-bootstrap)::after{content:'Checking secure session…';position:fixed;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#f2f9fc,#fff8f1);color:#087d8a;font:700 14px Poppins,Arial,sans-serif;z-index:2147483647}
  html.session-bootstrap-fallback body{visibility:visible!important}
  html.session-bootstrap-fallback #mainApp{display:none!important}
  html.session-bootstrap-fallback #loginScreen{display:block!important}
  html.session-bootstrap-fallback::after{content:none!important;display:none!important}

/* ===== inline-style-7 ===== */
/* Light mode contrast: dark ink on light glass, readable controls and statuses. */
body.op-light{--text-main:#12203a;--text-muted:#42526a;--accent-blue:#075985;--accent-purple:#5b21b6;--border-color:#b8c7dc;--card-bg:rgba(255,255,255,.86)}
body.op-light #mainApp{color:#12203a!important;background:rgba(248,250,252,.9)!important}
body.op-light #mainApp .container,body.op-light #mainApp .tab-content>div,body.op-light #mainApp .control-panel,body.op-light #mainApp .upload-box{color:#12203a!important;background:rgba(255,255,255,.92)!important;border-color:#b8c7dc!important}
body.op-light #mainApp .tab-content h1,body.op-light #mainApp .tab-content h2,body.op-light #mainApp .tab-content h3,body.op-light #mainApp .tab-content h4,body.op-light #mainApp .tab-content p,body.op-light #mainApp .tab-content label,body.op-light #mainApp .tab-content small,body.op-light #mainApp .tab-content td,body.op-light #mainApp .tab-content th,body.op-light #mainApp .tab-content output{color:#12203a!important}
body.op-light #mainApp .tab-content p,body.op-light #mainApp .tab-content small,body.op-light #mainApp .tab-content label{color:#42526a!important}
body.op-light #mainApp input,body.op-light #mainApp select,body.op-light #mainApp textarea{background:#fff!important;color:#12203a!important;border-color:#91a4bf!important}
body.op-light #mainApp input::placeholder,body.op-light #mainApp textarea::placeholder{color:#64748b!important}
body.op-light #mainApp .tab-btn{background:#eef4ff!important;color:#243b69!important;border-color:#9fb2cc!important}.op-light #mainApp .tab-btn.active,.op-light #mainApp .tab-btn:hover{color:#fff!important}
body.op-light #mainApp .theme-toggle{background:#fff!important;color:#243b69!important;border-color:#91a4bf!important;text-shadow:none!important}body.op-light #mainApp .theme-toggle:hover{background:#e7edff!important;color:#1e3a8a!important}
body:not(.op-light) #mainApp .theme-toggle{color:#f8fbff!important;text-shadow:0 1px 2px #020617}
body.op-light #mainApp .universal-export-panel,body.op-light #mainApp .added-card-row{background:#eef4ff!important;color:#12203a!important;border-color:#9fb2cc!important}
body.op-light #loginScreen.front-home .front-auth-panel{background:rgba(255,255,255,.78)!important;border-color:#b8c7dc!important;color:#12203a!important}.op-light .front-auth-panel h2,.op-light .front-auth-panel>p{color:#12203a!important}.op-light .front-auth-panel .login-input{background:#fff!important;color:#12203a!important;border-color:#91a4bf!important}.op-light .front-auth-panel .login-input::placeholder{color:#64748b!important}.op-light .front-home .front-highlight,.op-light .front-home .service-tile{color:#12203a!important;background:#ffffff70!important;border-color:#b8c7dc!important}.op-light .front-home .front-search{background:#fff!important;color:#12203a!important;border-color:#91a4bf!important}.op-light .front-home .front-search::placeholder{color:#64748b!important}

/* ===== inline-style-8 ===== */
/* Logged-in workspace launcher: large category cards with the existing working
   onclick procedures preserved on every button. */
#mainApp .dashboard-tool-launcher{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;padding:20px!important;border:1px solid #ffffff2d!important;border-radius:22px!important;background:linear-gradient(145deg,#07152fcc,#172554cc)!important;box-shadow:0 18px 42px #02061755!important}
#mainApp .dashboard-group-title{grid-column:1/-1;margin-top:6px;padding:7px 2px 3px;border-bottom:1px solid #ffffff30;color:#fff;font-size:13px;font-weight:800;letter-spacing:.2px}
#mainApp .dashboard-group-title:before{content:'•';display:inline-block;margin-right:7px;color:#67e8f9;font-size:18px;line-height:0;vertical-align:-1px}
#mainApp .pdf-group-title:before{color:#6ee7b7}#mainApp .image-group-title:before{color:#c4b5fd}
#mainApp .dashboard-card{position:relative;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-height:82px!important;padding:16px 46px 16px 16px!important;border-radius:14px!important;background:#0f1b31e8!important;color:#f8fbff!important;text-align:left!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;white-space:normal!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease!important}
#mainApp .dashboard-card:after{content:var(--i18n-open-label,"Open →");position:absolute;right:13px;bottom:11px;font-size:10px;font-weight:700;letter-spacing:.2px;color:#cbd5e1;opacity:.9}
#mainApp .dashboard-card:hover,#mainApp .dashboard-card:focus-visible{transform:translateY(-3px)!important;background:#17243def!important;outline:none!important}
#mainApp .dashboard-card.active{transform:none!important}
#mainApp .id-tool-card{border:1px solid #22d3eeaa!important;box-shadow:0 0 0 1px #0e749044 inset,0 8px 20px #0891b233!important}
#mainApp .id-tool-card:hover,#mainApp .id-tool-card:focus-visible,#mainApp .id-tool-card.active{border-color:#67e8f9!important;box-shadow:0 0 0 1px #22d3ee inset,0 12px 26px #0891b255!important}
#mainApp .pdf-tool-card{border:1px solid #6ee7b7aa!important;box-shadow:0 0 0 1px #04785744 inset,0 8px 20px #0596692e!important}
#mainApp .pdf-tool-card:hover,#mainApp .pdf-tool-card:focus-visible{border-color:#86efac!important;box-shadow:0 0 0 1px #34d399 inset,0 12px 26px #05966955!important}
#mainApp .image-tool-card{border:1px solid #c4b5fdaa!important;box-shadow:0 0 0 1px #6d28d944 inset,0 8px 20px #7c3aed2e!important}
#mainApp .image-tool-card:hover,#mainApp .image-tool-card:focus-visible{border-color:#ddd6fe!important;box-shadow:0 0 0 1px #a78bfa inset,0 12px 26px #7c3aed55!important}
#mainApp .utility-tool-card{border:1px solid #67e8f9aa!important;box-shadow:0 0 0 1px #0e749044 inset,0 8px 20px #0891b233!important}
body.op-light #mainApp .dashboard-tool-launcher{background:linear-gradient(145deg,#f8fbff,#eaf2ff)!important;border-color:#9fb2cc!important}body.op-light #mainApp .dashboard-group-title{color:#12203a;border-color:#b8c7dc}
body.op-light #mainApp .dashboard-card{background:#fff!important;color:#243b69!important}
body.op-light #mainApp .dashboard-card:after{color:#52637f}
@media(max-width:1050px){#mainApp .dashboard-tool-launcher{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){#mainApp .dashboard-tool-launcher{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:14px!important}#mainApp .dashboard-group-title{grid-column:1/-1}#mainApp .dashboard-card{min-height:78px!important;padding:13px 36px 13px 12px!important;font-size:12px!important}#mainApp .dashboard-card:after{right:9px;bottom:8px;font-size:9px}}
@media(max-width:430px){#mainApp .dashboard-tool-launcher{grid-template-columns:1fr!important}#mainApp .dashboard-card{min-height:68px!important}}

/* ===== premium-card-a4-editor ===== */
/* Premium Auto ID: optional A4-card overlay editor. Crop profiles remain untouched. */
#premiumCardEditorOpen{display:block;margin:14px auto 0}
#premiumCardEditor[hidden]{display:none!important}
.pvc-side-download-actions{display:none;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px auto 0}
.premium-crop-mode .pvc-side-download-actions{display:flex!important}
.pvc-side-download-actions button{min-width:210px}
.pvc-side-download-actions button:disabled{opacity:.45;cursor:not-allowed}
.basic-pvc-side-download-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px auto 0}
.basic-pvc-side-download-actions button{min-width:210px}
.basic-pvc-side-download-actions button:disabled{opacity:.45;cursor:not-allowed}
.basic-pvc-download-status{flex-basis:100%;min-height:18px;margin:0;text-align:center;font-size:12px;color:var(--accent-blue);overflow-wrap:anywhere}
.premium-card-editor{margin:14px auto 0;padding:14px;border:1px solid #38bdf8aa;border-radius:16px;background:linear-gradient(145deg,#07152fee,#172554ee);color:#e0f2fe;text-align:left;box-shadow:0 14px 32px #02061755}
.premium-card-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.premium-card-editor-head h3{margin:0;color:#bae6fd;font-size:15px}.premium-card-editor-head p{margin:4px 0 0;color:#cbd5e1;font-size:11px;line-height:1.45}
 .premium-card-editor-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.premium-card-editor-toolbar label{display:flex;align-items:center;gap:5px;color:#cbd5e1;font-size:11px}.premium-card-editor-toolbar select,.premium-card-editor-toolbar input[type=text],.premium-card-editor-toolbar input[type=number]{min-height:34px;padding:7px 9px;border:1px solid #38bdf899;border-radius:8px;background:#081923;color:#e9fdff;font:inherit}.premium-card-editor-toolbar input[type=text]{min-width:180px}.premium-card-editor-toolbar input[type=number]{width:72px}.premium-card-editor-toolbar button{min-height:34px;padding:7px 10px;border:1px solid #5eead4;border-radius:8px;background:#0f766e;color:#ecfeff;font-size:11px;font-weight:800;cursor:pointer}.premium-card-editor-toolbar button:hover{background:#115e59;border-color:#a7f3d0}.premium-card-editor-toolbar button:disabled{opacity:.45;cursor:not-allowed}.premium-card-editor-toolbar button[data-history]{background:#334155;border-color:#94a3b8}.premium-card-editor-toolbar button[data-whiteout]{background:#475569;border-color:#f8fafc;color:#fff}
 .premium-card-editor-surface{position:relative;width:min(100%,760px);margin:0 auto;aspect-ratio:1013/638;overflow:hidden;border:1px solid #67e8f9;border-radius:10px;background:#fff;box-shadow:0 10px 25px #0008;touch-action:none}.premium-card-editor-surface canvas{display:block;width:100%;height:100%;background:#fff}.premium-card-editor-layers{position:absolute;inset:0}.premium-editor-layer{position:absolute;display:block;min-width:22px;min-height:22px;border:1px dashed #0e7490;background:#ffffff10;cursor:move;touch-action:none;user-select:none}.premium-editor-layer.selected{border:2px solid #f59e0b;background:#fef3c722;box-shadow:0 0 0 2px #f59e0b55}.premium-editor-layer.premium-editor-whiteout{background:#fff;border-color:#64748b}.premium-editor-layer.premium-editor-whiteout.selected{background:#ffffffdd}.premium-editor-handle{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:3px;background:#f59e0b;box-shadow:0 0 0 1px #78350f;z-index:2}.premium-editor-handle.nw{left:-9px;top:-9px;cursor:nwse-resize}.premium-editor-handle.n{left:50%;top:-9px;transform:translateX(-50%);cursor:ns-resize}.premium-editor-handle.ne{right:-9px;top:-9px;cursor:nesw-resize}.premium-editor-handle.e{right:-9px;top:50%;transform:translateY(-50%);cursor:ew-resize}.premium-editor-handle.se{right:-9px;bottom:-9px;cursor:nwse-resize}.premium-editor-handle.s{left:50%;bottom:-9px;transform:translateX(-50%);cursor:ns-resize}.premium-editor-handle.sw{left:-9px;bottom:-9px;cursor:nesw-resize}.premium-editor-handle.w{left:-9px;top:50%;transform:translateY(-50%);cursor:ew-resize}.premium-card-editor-help{display:none!important}.premium-card-editor-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:10px}.premium-card-editor-actions button{min-height:36px;padding:8px 12px;border-radius:9px;border:1px solid #38bdf8;background:#0c4a6e;color:#e0f2fe;font-weight:800;cursor:pointer}.premium-card-editor-actions button:first-child{background:linear-gradient(135deg,#06b6d4,#4f46e5);border-color:#a5f3fc;color:#fff}.premium-card-editor-actions button:hover{filter:brightness(1.15)}
@media(max-width:700px){.premium-card-editor-toolbar input[type=text]{min-width:140px}.premium-card-editor-toolbar{gap:6px}.premium-card-editor-toolbar button{font-size:10px;padding:7px 8px}}

/* ===== targeted-preview-zoom ===== */
/* Preview zoom stays inside a stable scroll viewport; the portal layout never scales. */
  .portal-preview-zoom-target{position:relative;max-width:100%;max-height:min(72vh,680px);overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-x pan-y;}
  .portal-preview-zoom-target canvas[data-portal-preview-zoom]{display:block!important;max-width:none!important;max-height:none!important;margin:0!important;}
  .portal-preview-zoom-toolbar{display:flex;align-items:center;justify-content:center;gap:5px;margin:0 0 7px;padding:4px;border:1px solid #ffffff22;border-radius:8px;background:#0b1622cc;color:#dbeafe;white-space:nowrap;}
  .portal-preview-zoom-label{margin-right:2px;color:#e0f2fe;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
  .portal-preview-zoom-toolbar button{min-width:26px!important;min-height:26px!important;padding:3px 7px!important;border:1px solid #67e8f9aa!important;border-radius:6px!important;background:#102936!important;color:#e9fdff!important;font-size:12px!important;font-weight:800!important;line-height:1;cursor:pointer;}
  .portal-preview-zoom-toolbar button:hover{background:#164e63!important;border-color:#a5f3fc!important;}
  .portal-preview-zoom-readout{min-width:48px;text-align:center;color:#bae6fd;font-size:10px;font-variant-numeric:tabular-nums;}
  /* Auto ID Front/Back previews stay complete, centered and fixed-fit. */
  #basicCardPreview .preview-box{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;text-align:center;}
  #basicCardPreview .preview-box canvas#canvas1,
  #basicCardPreview .preview-box canvas#canvas2{display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0 auto!important;object-fit:contain;}
  /* Large A4/sheet previews: fixed viewport, larger fit width, real scrollbars. */
  .portal-preview-zoom-target.portal-a4-preview-viewport{
    display:block!important;width:min(100%,680px)!important;max-width:680px!important;
    height:min(78vh,860px)!important;max-height:min(78vh,860px)!important;min-height:420px;
    margin:10px auto!important;padding:8px!important;box-sizing:border-box!important;
    overflow:auto!important;background:#111827!important;border:1px solid #475569!important;border-radius:10px!important;
    box-shadow:0 10px 28px #02061733!important;scrollbar-gutter:stable both-edges;
  }
  .portal-a4-preview-viewport .portal-preview-zoom-toolbar{position:sticky;top:0;z-index:5;margin:0 0 8px!important;box-shadow:0 4px 12px #02061733;}
  .portal-a4-preview-viewport canvas[data-portal-preview-zoom]{background:#fff!important;box-shadow:0 4px 14px #0206173d;margin:0 auto!important;}
  body.op-light .portal-preview-zoom-target.portal-a4-preview-viewport{background:#e8eef5!important;border-color:#9fb2c8!important;}
  #tab-4x6 .portal-preview-zoom-target.portal-a4-preview-viewport{width:min(100%,760px)!important;max-width:760px!important;}
  @media(max-width:720px){
    .portal-preview-zoom-target{max-height:62vh}
    .portal-preview-zoom-target.portal-a4-preview-viewport{width:100%!important;max-width:100%!important;height:min(70vh,720px)!important;max-height:min(70vh,720px)!important;min-height:320px;padding:6px!important;}
    .portal-preview-zoom-toolbar{position:sticky;top:0;z-index:4}.portal-preview-zoom-toolbar button{min-width:30px!important;min-height:30px!important;}
  }

/* ===== landing-navigation-layout ===== */
/* Keep Home + Free Tools together in the header and move the secondary links to one footer corner. */
#loginScreen.front-home .front-nav-links{display:flex!important;align-items:center;gap:14px;margin-left:24px;flex:0 0 auto;white-space:nowrap}
#loginScreen.front-home .front-nav-links a{display:inline-flex;align-items:center;color:#d9f8ff!important;font-size:11px;font-weight:800;text-decoration:none;text-transform:uppercase;letter-spacing:.7px}
#loginScreen.front-home .front-nav-links a:hover{color:#6dffff!important;text-shadow:0 0 10px #00eaff}
.op-footer .landing-corner-nav{display:flex;justify-content:flex-end;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid #ffffff1c}
.op-footer .landing-corner-nav a{display:inline-flex;align-items:center;margin:0;color:#bae6fd;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.op-footer .landing-corner-nav a:hover{color:#67e8f9;transform:translateY(-1px)}
@media(max-width:850px){#loginScreen.front-home .front-nav-links{gap:8px;margin-left:10px}#loginScreen.front-home .front-nav-links a{font-size:9px;letter-spacing:.25px}.op-footer .landing-corner-nav{justify-content:flex-end;gap:10px}.op-footer .landing-corner-nav a{font-size:11px}}

/* ===== pdf-editor-phase4 ===== */
#np-editor #np-dropzone{display:inline-block;margin-top:12px;border:1px dashed #087e8b;background:#e6f7f8;color:#065b65;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}#np-editor #np-dropzone:hover,#np-editor #np-dropzone.np-drop-active{background:#c7f0f2;border-color:#065b65;box-shadow:0 0 0 3px #087e8b22}

/* ===== landing-tool-clarity ===== */
/* Keep public tools compact without clipping their names or disabling their click targets. */
#loginScreen.front-home .front-tool-catalog .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#loginScreen.front-home .front-tool-catalog .catalog-tool{min-height:48px;padding:8px 10px;font-size:11px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}
#loginScreen.front-home .front-tool-catalog .catalog-tool span{flex:0 0 auto;font-size:18px}
#loginScreen.front-home .catalog-secure-note{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #67e8f9aa;border-radius:10px;background:#082f4933;color:#d9f8ff;font-size:11px;font-weight:700;line-height:1.25;animation:secureAccessPulse 2.8s ease-in-out infinite}
#loginScreen.front-home .catalog-secure-note::after{content:' ';width:6px;height:6px;border-radius:50%;background:#86efac;box-shadow:0 0 0 4px #86efac22;animation:secureAccessDot 1.8s ease-in-out infinite}
@keyframes secureAccessPulse{0%,100%{box-shadow:0 0 0 0 #22d3ee22;transform:translateY(0)}50%{box-shadow:0 0 0 4px #22d3ee18;transform:translateY(-1px)}}
@keyframes secureAccessDot{0%,100%{opacity:.65;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}
@media(max-width:1050px){#loginScreen.front-home .front-tool-catalog .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#loginScreen.front-home .front-tool-catalog .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== pdf-editor-phase5 ===== */
#np-editor #np-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:9px 12px;background:#cbd5e1;border-bottom:1px solid #94a3b8;scrollbar-width:thin}#np-editor #np-thumbnails:empty{display:none}#np-editor .np-thumb{flex:0 0 78px;display:grid;gap:4px;place-items:center;padding:5px;border:1px solid #94a3b8;border-radius:7px;background:#f8fafc;color:#334155;cursor:pointer;font-size:10px}#np-editor .np-thumb:hover{border-color:#087e8b;background:#e6f7f8}#np-editor .np-thumb.np-thumb-active{border:2px solid #087e8b;background:#d9f0f1;color:#065b65;font-weight:700}#np-editor .np-thumb canvas{display:block;width:68px;height:88px;object-fit:contain;background:#fff;box-shadow:0 1px 3px #0f172a33}
@media(max-width:740px){#np-editor .np-thumb{flex-basis:66px}#np-editor .np-thumb canvas{width:56px;height:72px}}

/* ===== pdf-editor-phase6-7 ===== */
#np-editor .np-page-actions{display:inline-flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-left:8px}#np-editor .np-page-actions button{padding:6px 8px;font-size:11px}#np-editor .np-page-actions button[data-page-action="delete"]{color:#9f1239;border-color:#fb7185}#np-editor .np-page-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:740px){#np-editor .np-page-actions{width:100%;margin:4px 0 0}.np-pages{gap:6px!important}}
#np-editor .np-ocr-button{border-color:#7c3aed;color:#5b21b6;background:#f5f3ff}#np-editor .np-ocr-button:hover{background:#ede9fe;border-color:#6d28d9}

/* ===== workspace-navigation-controls ===== */
/* Logged-in portal navigation controls. */
#mainApp .portal-sidebar-heading{display:flex;flex-direction:column;gap:3px;padding:3px 4px 10px;border-bottom:1px solid #ffffff2d;color:#f8fbff}
#mainApp .portal-sidebar-heading span{font-size:10px;letter-spacing:2px;color:#67e8f9;font-weight:800}
#mainApp .customize-tools-btn{width:100%;padding:9px 11px;border:1px solid #67e8f9aa;border-radius:9px;background:#0e3344;color:#d9f8ff;font-size:11px;font-weight:800;cursor:pointer}
#mainApp .customize-tools-btn:hover,#mainApp .customize-tools-btn:focus-visible{border-color:#b5fbff;background:#164e63;outline:none}
body.op-light #mainApp .portal-sidebar-heading{border-color:#b8c7dc}body.op-light #mainApp .portal-sidebar-heading span{color:#0369a1}
.customize-tools-dialog{width:min(460px,calc(100% - 28px));border:1px solid #38bdf8;border-radius:16px;padding:0;background:#0f1b31;color:#f8fafc;box-shadow:0 24px 70px #000b}
.customize-tools-dialog::backdrop{background:#020617aa;backdrop-filter:blur(3px)}
.customize-tools-panel{padding:20px}.customize-tools-panel h2{margin:0 0 6px;font-size:20px}.customize-tools-panel p{margin:0 0 14px;color:#cbd5e1;font-size:12px;line-height:1.5}.customize-tools-list{display:grid;gap:7px;max-height:55vh;overflow:auto;padding-right:3px}.customize-tool-row{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #334155;border-radius:9px;background:#17243d}.customize-tool-row strong{flex:1;min-width:0;font-size:12px;line-height:1.25}.customize-tool-row small{color:#93c5fd;font-size:10px}.customize-tool-row button{width:28px;height:28px;padding:0;border:1px solid #64748b;border-radius:6px;background:#0f172a;color:#e0f2fe;cursor:pointer}.customize-tool-row button:disabled{opacity:.35;cursor:not-allowed}.customize-tools-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}
body.op-light .customize-tools-dialog{background:#f8fbff;color:#12203a}.op-light .customize-tools-panel p{color:#42526a}.op-light .customize-tool-row{background:#eaf2ff;border-color:#b8c7dc}.op-light .customize-tool-row button{background:#fff;color:#243b69;border-color:#9fb2cc}
.pp-enhancer-shell{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:16px;padding:18px;border:1px solid #c4b5fd66;border-radius:18px;background:linear-gradient(145deg,#172554cc,#1e1b4bcc);box-shadow:0 14px 32px #02061744}
.pp-enhancer-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;text-align:center}
.pp-enhancer-preview{display:flex;align-items:center;justify-content:center;min-height:230px;padding:14px;border:1px solid #67e8f966;border-radius:16px;background:#02061766;overflow:hidden}
.pp-enhancer-preview img{display:block;max-width:100%;max-height:310px;border-radius:10px;object-fit:contain;box-shadow:0 10px 25px #0008}
.pp-enhancer-controls{display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:15px}
.pp-server-pool{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.pp-server-slot{padding:10px 11px;border:1px solid #64748b88;border-radius:10px;background:#0f172acc;color:#cbd5e1;font-size:12px;font-weight:700}
.pp-server-slot[data-state="working"]{border-color:#fbbf24;color:#fef3c7;background:#451a03}
.pp-server-slot[data-state="success"]{border-color:#34d399;color:#a7f3d0;background:#064e3b}
.pp-server-slot[data-state="failed"]{border-color:#fb7185;color:#fecdd3;background:#4c0519}
.pp-enhancer-note{margin:12px 0 0;padding:10px 12px;border:1px solid #fbbf2466;border-radius:10px;background:#451a0333;color:#fde68a;font-size:12px;line-height:1.5}
body.op-light .pp-enhancer-shell{background:linear-gradient(145deg,#eef2ff,#f5f3ff);border-color:#a78bfa}
body.op-light .pp-enhancer-preview{background:#e0f2fe;border-color:#7dd3fc}
body.op-light .pp-server-slot{background:#fff;color:#243b69;border-color:#9fb2cc}
@media(max-width:760px){.pp-enhancer-shell{grid-template-columns:1fr}.pp-server-pool{grid-template-columns:1fr}}
#mainApp[style*="display: block"].workspace-tool-focused{display:block!important;max-width:1480px!important}
#mainApp[style*="display: block"].workspace-tool-focused>.container{grid-column:auto!important;width:100%!important;max-width:none!important;margin:0!important}
#mainApp.workspace-tool-focused .workspace-header-row{margin-bottom:14px!important}
#mainApp.workspace-tool-focused #tab-tools-home{display:none!important}
#mainApp:not(.workspace-tool-focused) #workspaceBackBtn{display:none!important}

/* ===== pdf-unlock-workspace ===== */
#tab-pdf-unlock .pdf-unlock-shell,#tab-office-conversion .pdf-office-shell{max-width:900px;margin:0 auto;padding:24px;border:1px solid #38bdf8;border-radius:16px;background:#172338;color:#e8eef8;box-shadow:0 14px 32px #02061755}
#tab-pdf-unlock .pdf-unlock-heading h1,#tab-office-conversion .pdf-office-shell h1{margin:4px 0 8px;color:#f8fafc;font-size:28px}
#tab-pdf-unlock .pdf-unlock-eyebrow,#tab-office-conversion .pdf-office-eyebrow{font-size:11px;letter-spacing:1.8px;color:#67e8f9;font-weight:800}
#tab-pdf-unlock .pdf-unlock-heading p,#tab-office-conversion .pdf-office-shell p{color:#bdc9dc;font-size:13px;line-height:1.7}
#tab-pdf-unlock .pdf-unlock-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
#tab-pdf-unlock .pdf-unlock-step{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #52637f;border-radius:12px;background:#111b2d}
#tab-pdf-unlock .pdf-unlock-step b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#087e8b;color:#fff}
#tab-pdf-unlock .pdf-unlock-step label,#tab-pdf-unlock .pdf-unlock-password label{font-size:12px;color:#dce8f8;font-weight:700}
#tab-pdf-unlock .pdf-unlock-step span{color:#cbd5e1;font-size:12px;line-height:1.55}
#tab-pdf-unlock .pdf-unlock-upload-button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #43c4d4;border-radius:10px;background:linear-gradient(135deg,#087e8b,#2563eb);color:#fff;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 7px 16px #02061755;transition:transform .15s,filter .15s}
#tab-pdf-unlock .pdf-unlock-upload-button:hover{filter:brightness(1.12);transform:translateY(-1px)}
#tab-pdf-unlock .pdf-unlock-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
#tab-pdf-unlock .pdf-unlock-password{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(220px,1fr);align-items:center;gap:8px 14px;padding:16px;border:1px solid #52637f;border-radius:12px;background:#111b2d}
#tab-pdf-unlock .pdf-unlock-password small{grid-column:2;color:#a9bcd4;font-size:11px}
#tab-pdf-unlock .pdf-unlock-password input{width:100%;box-sizing:border-box;min-height:42px;padding:10px 12px;background:#081923;border:1px solid #438d9d;border-radius:10px;color:#e9fdff;font-size:13px}
#tab-pdf-unlock .pdf-unlock-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
#tab-pdf-unlock .pdf-unlock-actions button{padding:11px 15px}
#tab-pdf-unlock .pdf-unlock-actions .pdf-unlock-primary{background:#087e8b;border-color:#43c4d4;color:#fff;font-weight:700}
#tab-pdf-unlock .pdf-unlock-actions .pdf-unlock-download{background:#166534;border-color:#4ade80;color:#fff;font-weight:700}
#tab-pdf-unlock .pdf-unlock-review{margin-top:16px;padding:14px;border:1px solid #4ade80;border-radius:10px;background:#052e1b;color:#bbf7d0;line-height:1.7;font-size:12px}
#tab-pdf-unlock .pdf-unlock-status{margin-top:14px;padding:12px;border-radius:9px;background:#0f1b2d;color:#cbd5e1;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#tab-pdf-unlock .pdf-unlock-status[data-error="true"]{background:#451a03;color:#fed7aa;border:1px solid #f59e0b}
#tab-office-conversion .pdf-office-note{margin-top:18px;padding:16px;border:1px solid #f59e0b;border-radius:10px;background:#451a03;color:#fde68a;line-height:1.7;font-size:13px}
body.op-light #tab-pdf-unlock .pdf-unlock-shell,body.op-light #tab-office-conversion .pdf-office-shell{background:#fff;color:#172033;border-color:#7dd3fc}body.op-light #tab-pdf-unlock .pdf-unlock-heading h1,body.op-light #tab-office-conversion .pdf-office-shell h1{color:#172033}body.op-light #tab-pdf-unlock .pdf-unlock-step,body.op-light #tab-pdf-unlock .pdf-unlock-password{background:#f8fafc;border-color:#b8c7dc}body.op-light #tab-pdf-unlock .pdf-unlock-step label,body.op-light #tab-pdf-unlock .pdf-unlock-password label{color:#243b69}body.op-light #tab-pdf-unlock .pdf-unlock-status{background:#f1f5f9;color:#334155}
@media(max-width:700px){#tab-pdf-unlock .pdf-unlock-shell,#tab-office-conversion .pdf-office-shell{padding:17px}#tab-pdf-unlock .pdf-unlock-flow{grid-template-columns:1fr}.pdf-unlock-password{grid-template-columns:1fr!important}.pdf-unlock-password small{grid-column:auto!important}}

/* ===== skillo-pdf-filebar-responsive ===== */
/* Keep the PDF filename readable and give the server tools their own full row. */
#np-editor .np-filebar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}
#np-editor .np-filebar>#np-name{min-width:0;width:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#np-editor .np-filebar>.np-server-bar{grid-column:1/-1;grid-row:2;width:100%;min-width:0;box-sizing:border-box;display:flex;align-items:center;gap:6px;flex-wrap:wrap;overflow:visible}
#np-editor .np-server-bar button,#np-editor .np-server-bar label{flex:0 0 auto;white-space:nowrap}
#np-editor .np-server-bar .np-server-status{flex:0 0 auto;white-space:nowrap}
@media(max-width:620px){#np-editor .np-filebar{grid-template-columns:auto minmax(0,1fr) auto;gap:7px;padding:10px 12px}#np-editor .np-filebar>#np-name{font-size:11px}#np-editor .np-server-bar{padding:8px 0!important}#np-editor .np-server-bar button{font-size:10px!important;padding:6px 7px!important}}

/* ===== skillo-refresh-layout-stability ===== */
/* Keep the logged-in portal layout identical while an existing session is restored. */
html.session-bootstrap #mainApp{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
  width:100%!important;
  max-width:1480px!important;
  box-sizing:border-box!important;
  font-size:16px!important;
  zoom:1!important;
  transform:none!important;
  transform-origin:top left!important;
}
html.session-bootstrap #mainApp>.container{
  grid-column:1/-1!important;
  grid-row:auto!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}
@media(max-width:920px){
  html.session-bootstrap #mainApp{display:block!important;width:100%!important;max-width:none!important}
  html.session-bootstrap #mainApp>.container{width:100%!important;margin-top:0!important}
}
.resume-preview{background:#fff;color:#172033;max-width:820px;min-height:var(--resume-a4-height,1160px);margin:0 auto;padding:42px 48px;border-radius:8px;box-shadow:0 12px 28px rgba(2,6,23,.22);font-family:Arial,Helvetica,sans-serif;outline:none;line-height:1.42}
.resume-preview:focus{box-shadow:0 0 0 3px #38bdf866,0 12px 28px rgba(2,6,23,.22)}
.resume-preview .resume-head{border-bottom:3px solid #2563eb;padding-bottom:18px;margin-bottom:22px}
.resume-preview .resume-name{font-size:32px;line-height:1.1;font-weight:800;color:#0f172a;margin:0 0 5px}
.resume-preview .resume-headline{font-size:16px;color:#2563eb;font-weight:700;margin:0 0 10px}
.resume-preview .resume-contact{font-size:12px;color:#475569;display:flex;gap:10px;flex-wrap:wrap}
.resume-preview .resume-section{margin:0 0 20px}.resume-preview .resume-section h3{font-size:13px;text-transform:uppercase;letter-spacing:1.2px;color:#1d4ed8;border-bottom:1px solid #bfdbfe;padding-bottom:5px;margin:0 0 8px}.resume-preview .resume-section p{font-size:13px;margin:0 0 6px}.resume-preview .resume-item{margin:0 0 12px}.resume-preview .resume-item-title{font-size:14px;font-weight:800;color:#172033}.resume-preview .resume-item-meta{font-size:12px;color:#64748b;margin:2px 0 5px}.resume-preview .resume-item ul{margin:4px 0 0;padding-left:19px;font-size:13px}.resume-preview .resume-skills{display:flex;gap:6px;flex-wrap:wrap}.resume-preview .resume-skill{background:#dbeafe;color:#1e3a8a;border-radius:14px;padding:4px 9px;font-size:11px;font-weight:700}.resume-preview .resume-photo{float:right;width:105px;height:130px;object-fit:cover;border-radius:4px;margin-left:18px;border:1px solid #cbd5e1}
.resume-preview.resume-template-2{font-family:Georgia,'Times New Roman',serif}.resume-preview.resume-template-2 .resume-head{text-align:center;border-bottom:1px solid #64748b}.resume-preview.resume-template-2 .resume-headline,.resume-preview.resume-template-2 .resume-section h3{color:#334155}.resume-preview.resume-template-2 .resume-section h3{border-bottom:0;letter-spacing:0;font-size:15px;text-transform:none}
.resume-preview.resume-template-3{font-family:Verdana,Arial,sans-serif;border-left:10px solid #0f766e;border-radius:0}.resume-preview.resume-template-3 .resume-head{border-bottom-color:#0f766e}.resume-preview.resume-template-3 .resume-headline,.resume-preview.resume-template-3 .resume-section h3{color:#0f766e}
.resume-preview.resume-template-4{font-family:Tahoma,Arial,sans-serif}.resume-preview.resume-template-4 .resume-head{background:#eff6ff;padding:18px;border:0;border-left:5px solid #2563eb}.resume-preview.resume-template-4 .resume-section{border-left:2px solid #dbeafe;padding-left:12px}
.resume-preview.resume-template-5{font-family:'Trebuchet MS',Arial,sans-serif}.resume-preview.resume-template-5 .resume-head{text-align:left;border-bottom-color:#7c3aed}.resume-preview.resume-template-5 .resume-headline,.resume-preview.resume-template-5 .resume-section h3{color:#7c3aed}.resume-preview.resume-template-5 .resume-skill{background:#ede9fe;color:#5b21b6}
.resume-preview.resume-template-6{border-top:10px solid #334155;padding-top:30px}.resume-preview.resume-template-6 .resume-head{background:#334155;color:#fff;border:0;padding:20px;border-radius:4px}.resume-preview.resume-template-6 .resume-name,.resume-preview.resume-template-6 .resume-contact{color:#fff}.resume-preview.resume-template-6 .resume-headline,.resume-preview.resume-template-6 .resume-section h3{color:#334155}.resume-preview.resume-template-6 .resume-photo{border-radius:50%;border:4px solid #fff}
.resume-preview.resume-template-7{border:7px solid #0ea5e9;padding:34px 42px}.resume-preview.resume-template-7 .resume-head{border-bottom:0;background:#e0f2fe;padding:18px;border-radius:4px}.resume-preview.resume-template-7 .resume-headline,.resume-preview.resume-template-7 .resume-section h3{color:#0369a1}.resume-preview.resume-template-7 .resume-section h3{border-bottom:3px solid #38bdf8;padding-bottom:6px}
.resume-preview.resume-template-8{font-family:Georgia,'Times New Roman',serif;background:#fbfffc}.resume-preview.resume-template-8 .resume-head{border-bottom:2px solid #65a30d}.resume-preview.resume-template-8 .resume-headline,.resume-preview.resume-template-8 .resume-section h3{color:#65a30d}.resume-preview.resume-template-8 .resume-section h3{border-bottom:1px solid #bef264;text-transform:none;letter-spacing:.3px}
.resume-preview.resume-template-9{background:linear-gradient(90deg,#263238 0 29%,#fff 29%);padding-left:calc(48px + 8%);border-radius:0}.resume-preview.resume-template-9 .resume-head{border-bottom-color:#475569}.resume-preview.resume-template-9 .resume-headline,.resume-preview.resume-template-9 .resume-section h3{color:#37474f}.resume-preview.resume-template-9 .resume-photo{border-radius:2px}
.resume-preview.resume-template-10{background:linear-gradient(150deg,#fff 0 78%,#e5e7eb 78%);border:1px solid #6b7280}.resume-preview.resume-template-10 .resume-head{border-bottom:1px solid #6b7280}.resume-preview.resume-template-10 .resume-headline,.resume-preview.resume-template-10 .resume-section h3{color:#374151}.resume-preview.resume-template-10 .resume-section h3{background:#f3f4f6;padding:6px 9px;border:0;border-left:4px solid #4b5563}
.resume-preview.resume-template-11{border:8px solid #22c1dc;padding:36px 44px}.resume-preview.resume-template-11 .resume-head{border-bottom:2px solid #0891b2}.resume-preview.resume-template-11 .resume-name,.resume-preview.resume-template-11 .resume-headline,.resume-preview.resume-template-11 .resume-section h3{color:#0e7490}.resume-preview.resume-template-11 .resume-photo{border-radius:50%;border-color:#67e8f9}
.resume-preview.resume-template-12{font-family:Arial,Helvetica,sans-serif;border:2px solid #4b5563;padding:36px 48px}.resume-preview.resume-template-12 .resume-head{text-align:center;border-bottom:0;background:#f3f4f6;padding:18px}.resume-preview.resume-template-12 .resume-name{font-size:30px;letter-spacing:.04em;text-transform:uppercase}.resume-preview.resume-template-12 .resume-headline,.resume-preview.resume-template-12 .resume-section h3{color:#111827}.resume-preview.resume-template-12 .resume-section h3{background:#d1d5db;border:0;padding:5px 8px;text-transform:none;letter-spacing:0}
.resume-template-picker{max-width:900px;margin:0 auto 12px;padding:14px;text-align:left;background:#17283a;border:1px solid #41637a;border-radius:12px}.resume-template-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.resume-template-picker-head strong{color:#7dd3fc;font-size:13px}.resume-template-picker-head span{color:#cbd5e1;font-size:12px}.resume-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.resume-template-card{border:1px solid #4b6b80;border-radius:9px;background:#0d1d2c;color:#dbeafe;padding:7px;cursor:pointer;text-align:left;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.resume-template-card:hover{transform:translateY(-2px);border-color:#7dd3fc}.resume-template-card[aria-pressed="true"]{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf855;background:#163a52}.resume-template-card small{display:block;margin-top:6px;font-size:11px;color:#dbeafe;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resume-mini-preview{height:132px;box-sizing:border-box;overflow:hidden;position:relative;background:#fff;color:#1f2937;border:1px solid #cbd5e1;padding:10px;font:6px Arial,sans-serif}.resume-mini-preview .mini-name{font-size:13px;font-weight:800;letter-spacing:.06em}.resume-mini-preview .mini-role{font-size:7px;margin:3px 0}.resume-mini-preview .mini-contact{font-size:5px;padding:3px 4px;background:#e5e7eb}.resume-mini-preview .mini-columns{display:grid;grid-template-columns:31% 1fr;gap:7px;margin-top:8px}.resume-mini-preview .mini-columns span{display:block;font-weight:800;font-size:7px;margin:5px 0 3px}.resume-mini-preview .mini-columns i{display:block;height:3px;background:#cbd5e1;margin:3px 0;border-radius:3px}.resume-mini-preview .mini-photo{position:absolute;right:10px;top:10px;width:25px;height:30px;background:#d1d5db;border-radius:2px}.resume-template-mini-1{border-top:6px solid #2563eb}.resume-template-mini-1 .mini-role,.resume-template-mini-1 .mini-columns span{color:#1d4ed8}.resume-template-mini-2{font-family:Georgia,serif;text-align:center}.resume-template-mini-2 .mini-columns{text-align:left}.resume-template-mini-2 .mini-role{color:#475569}.resume-template-mini-3{border-left:8px solid #0f766e}.resume-template-mini-3 .mini-columns span{color:#0f766e}.resume-template-mini-4 .mini-name,.resume-template-mini-4 .mini-role{color:#0369a1}.resume-template-mini-4 .mini-contact{background:#bae6fd}.resume-template-mini-5{border-top:5px solid #7c3aed}.resume-template-mini-5 .mini-columns span{color:#7c3aed}.resume-template-mini-6{border-top:8px solid #334155}.resume-template-mini-6 .mini-name{background:#334155;color:#fff;padding:6px;margin:-10px -10px 4px}.resume-template-mini-6 .mini-photo{border-radius:50%;border:2px solid #fff}.resume-template-mini-7{border:4px solid #0ea5e9}.resume-template-mini-7 .mini-contact{background:#bae6fd}.resume-template-mini-7 .mini-columns span{color:#0369a1}.resume-template-mini-8{font-family:Georgia,serif;border-top:3px solid #65a30d}.resume-template-mini-8 .mini-columns span{color:#65a30d}.resume-template-mini-9{background:linear-gradient(90deg,#263238 0 30%,#fff 30%);border:0}.resume-template-mini-9 .mini-name{color:#37474f}.resume-template-mini-10{background:linear-gradient(145deg,#fff 0 76%,#e5e7eb 76%);border-color:#6b7280}.resume-template-mini-10 .mini-columns span{background:#e5e7eb;padding:2px;color:#374151}.resume-template-mini-11{border:4px solid #22c1dc}.resume-template-mini-11 .mini-name,.resume-template-mini-11 .mini-columns span{color:#0e7490}.resume-template-mini-11 .mini-photo{border-radius:50%}.resume-template-mini-12{border:2px solid #4b5563}.resume-template-mini-12 .mini-name{text-align:center}.resume-template-mini-12 .mini-contact{background:#d1d5db}.resume-template-mini-12 .mini-columns{grid-template-columns:1fr}.resume-template-mini-12 .mini-columns span{background:#d1d5db;padding:2px}
.resume-voice-btn{border:1px solid #38bdf8;background:#0f2c46;color:#bae6fd;border-radius:7px;padding:2px 6px;margin-left:4px;font-size:12px;cursor:pointer;line-height:1.1}.resume-voice-btn:hover{background:#164e73}.resume-voice-btn.is-listening{background:#b91c1c;border-color:#fecaca;color:#fff;animation:resumeMicPulse 1s infinite}@keyframes resumeMicPulse{50%{box-shadow:0 0 0 4px #ef444466}}
.resume-voice-editor{margin-top:14px;background:#101f30!important;border:1px solid #38bdf8!important;border-radius:12px;padding:14px}.resume-voice-editor textarea{display:block;width:100%;min-height:66px;box-sizing:border-box;resize:vertical;margin:8px 0;background:#081923;color:#e8f5ff;border:1px solid #468aa5;border-radius:8px;padding:9px;font:inherit;font-size:12px;line-height:1.5}.resume-voice-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.resume-voice-row label{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:5px}.resume-voice-row select{min-height:34px!important;max-width:170px!important;margin:0!important;padding:6px 8px!important}.resume-voice-editor small{color:var(--text-muted);font-size:11px;line-height:1.5}.resume-voice-editor .is-listening{background:#b91c1c!important;border-color:#fecaca!important}
.resume-chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.resume-chat-head span{font-size:11px;color:var(--text-muted)}.resume-chat-log{display:flex;flex-direction:column;gap:7px;max-height:190px;overflow:auto;margin-top:9px;padding:8px;background:#0a1724;border:1px solid #294b60;border-radius:9px}.resume-chat-message{max-width:88%;padding:7px 9px;border-radius:10px;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.resume-chat-message.assistant{align-self:flex-start;background:#17354b;color:#dff6ff}.resume-chat-message.user{align-self:flex-end;background:#24536a;color:#fff}.resume-chat-message.error{background:#4b2431;color:#ffe4e6}.resume-chat-compose{display:flex;align-items:center;gap:8px}.resume-chat-compose #resumeVoiceCommand{flex:1;margin:8px 0}.resume-chat-icon,.resume-chat-send{display:inline-grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border:1px solid #55c8ed;border-radius:10px;cursor:pointer;font:inherit;font-weight:800}.resume-chat-icon{background:#12334a;color:#bff2ff;font-size:18px}.resume-chat-send{background:linear-gradient(135deg,#49bfd6,#655eea);color:#fff;font-size:24px;line-height:1}.resume-chat-icon:hover,.resume-chat-send:hover{filter:brightness(1.12)}.resume-chat-icon.is-listening{background:#a83245!important;border-color:#fecaca!important;color:#fff;animation:resumeMicPulse 1s infinite}.resume-chat-icon:disabled,.resume-chat-send:disabled{opacity:.5;cursor:not-allowed;filter:none}
@media(max-width:650px){#resumeBasicFields>div{grid-template-columns:1fr!important}.resume-preview{padding:26px 22px;min-height:var(--resume-a4-height,860px)}.resume-preview .resume-name{font-size:25px}.resume-preview .resume-photo{width:82px;height:102px}}
.pro-pdf-editor{padding:24px;border:1px solid #38bdf8;border-radius:14px;background:#172338;color:#e5eef8;box-shadow:0 12px 30px rgba(2,6,23,.18)}
.pro-pdf-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.pro-pdf-head h2{margin:8px 0;font-size:28px;color:#a78bfa}.pro-pdf-head p{margin:0;color:#aab8ca;line-height:1.55}.pro-pdf-tag{display:inline-block;border:1px solid #38bdf8;border-radius:999px;padding:5px 10px;color:#7dd3fc;font-size:11px;font-weight:800;letter-spacing:.08em}
.pro-pdf-notice{margin:16px 0;padding:12px 14px;border:1px solid #f59e0b;border-radius:10px;background:#422006;color:#fde68a;font-size:12px;line-height:1.55}
.pro-pdf-filebar,.pro-pdf-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px;margin-top:12px;border:1px solid #36536c;border-radius:11px;background:#102131}.pro-pdf-filebar{justify-content:flex-start}.pro-pdf-upload,.pro-pdf-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #60a5fa;border-radius:9px;background:linear-gradient(135deg,#45b4d7,#6366e8);color:#fff;font:inherit;font-weight:800;cursor:pointer}.pro-pdf-toolbar button:disabled,.pro-pdf-filebar button:disabled{opacity:.45;cursor:not-allowed}.pro-pdf-toolbar button.pro-secondary{background:#263b50;border-color:#6b8da5}.pro-pdf-filebar button{min-height:34px;padding:5px 10px;border:1px solid #6b8da5;border-radius:8px;background:#1b3346;color:#e5eef8;cursor:pointer}.pro-pdf-filebar span{color:#b8c6d5;font-size:12px;overflow-wrap:anywhere}.pro-pdf-page-controls{display:flex;align-items:center;gap:7px;margin-left:auto}.pro-pdf-page-controls select{min-height:34px;background:#0b1c29;color:#e5eef8;border:1px solid #5f86a0;border-radius:8px;padding:5px 8px}
.pro-pdf-stage{min-height:500px;margin-top:14px;padding:18px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;border:1px dashed #6b8da5;border-radius:13px;background:#0b1622}.pro-pdf-empty{width:100%;min-height:420px;display:grid;place-items:center;text-align:center;color:#aab8ca}.pro-pdf-viewport{position:relative;display:inline-block;background:#fff;box-shadow:0 10px 26px rgba(0,0,0,.35)}.pro-pdf-viewport canvas{display:block}.pro-pdf-overlays{position:absolute;inset:0;pointer-events:none}.pro-pdf-overlay{position:absolute;box-sizing:border-box;pointer-events:auto;touch-action:none;border:1px dashed transparent;cursor:move;user-select:none}.pro-pdf-overlay.selected{border:2px solid #38bdf8;box-shadow:0 0 0 2px #38bdf833}.pro-pdf-overlay.pro-text-overlay{padding:3px;background:#ffffffd9;color:#111827;overflow:hidden;white-space:pre-wrap;word-break:break-word;line-height:1.15;user-select:text;cursor:text}.pro-pdf-overlay.pro-text-overlay[contenteditable="true"]{outline:none}.pro-pdf-image-wrap{width:100%;height:100%;position:relative;overflow:visible}.pro-pdf-image-wrap img{width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}.pro-pdf-resize{position:absolute;right:-7px;bottom:-7px;width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#2563eb;cursor:nwse-resize;padding:0}.pro-pdf-preview{margin-top:14px;padding:14px;border:1px solid #38bdf8;border-radius:11px;background:#0b1622}.pro-pdf-preview h3{margin:0 0 10px;color:#bae6fd;font-size:15px}.pro-pdf-preview canvas{display:block;width:min(100%,760px);height:auto;margin:auto;background:#fff;box-shadow:0 8px 20px #0006}.pro-pdf-status{min-height:22px;margin:12px 0 0;color:#7dd3fc;font-size:13px;line-height:1.45}
.pro-pdf-gemini-text-layer{position:absolute;inset:0;pointer-events:none;z-index:3}.pro-pdf-gemini-text{position:absolute;box-sizing:border-box;pointer-events:auto;overflow:hidden;white-space:pre-wrap;word-break:break-word;padding:0;margin:0;border:0;outline:0;line-height:1.08;cursor:text;user-select:text;background:transparent!important;box-shadow:none!important;caret-color:#38bdf8}.pro-pdf-gemini-text:not(.editing){color:transparent!important}.pro-pdf-gemini-text:focus{outline:0;border:0;box-shadow:none}.pro-pdf-gemini-text.selected{text-shadow:0 0 1px #38bdf8}.pro-pdf-font-select{min-height:36px;background:#0b1c29;color:#e5eef8;border:1px solid #5f86a0;border-radius:8px;padding:6px 8px}
@media(max-width:700px){.pro-pdf-editor{padding:15px}.pro-pdf-head h2{font-size:23px}.pro-pdf-page-controls{margin-left:0}.pro-pdf-stage{padding:8px;min-height:360px}.pro-pdf-empty{min-height:300px}.pro-pdf-toolbar button{flex:1 1 145px}}

/* ===== premium-pdf-editor-refresh ===== */
/* Premium editor: neutral slate workspace with compact, task-focused controls. */
  .pro-pdf-editor{background:#111827;color:#e5e7eb;border-color:#475569;box-shadow:0 18px 45px #02061755}
  .pro-pdf-head h2{color:#f8fafc;text-shadow:none}.pro-pdf-tag{color:#cbd5e1;border-color:#64748b;background:#1e293b}.pro-pdf-head p{color:#cbd5e1}
  .pro-pdf-notice{background:#292524;border-color:#a16207;color:#fde68a}
  .pro-pdf-filebar,.pro-pdf-toolbar{background:#1f2937;border-color:#475569}
  .pro-pdf-toolbar{align-items:stretch;gap:10px}.pro-pdf-tool-group{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:5px 8px;border:1px solid #475569;border-radius:9px;background:#273449}.pro-pdf-tool-label{width:100%;color:#94a3b8;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pro-pdf-action-group{margin-left:auto}
  .pro-pdf-upload,.pro-pdf-toolbar button{min-height:36px;border-color:#64748b;border-radius:7px;background:#334155;color:#f8fafc;box-shadow:none}.pro-pdf-upload:hover,.pro-pdf-toolbar button:hover:not(:disabled){background:#475569}.pro-pdf-toolbar button.pro-secondary{background:#273449;border-color:#64748b}.pro-pdf-toolbar button:focus-visible,.pro-pdf-upload:focus-visible,.pro-pdf-toolbar input:focus-visible,.pro-pdf-toolbar select:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}
  .pro-pdf-toolbar input,.pro-pdf-toolbar select{box-sizing:border-box;min-height:36px;background:#0f172a!important;color:#f8fafc!important;border:1px solid #64748b!important;border-radius:7px;padding:7px 9px}.pro-pdf-toolbar input[type="text"]{min-width:170px;flex:1 1 180px}.pro-pdf-toolbar input[type="number"]{width:64px}.pro-pdf-font-select{min-width:142px}.pro-icon-button{width:34px;min-width:34px;padding:4px!important;font-size:18px;line-height:1}.pro-pdf-toolbar button:disabled,.pro-pdf-filebar button:disabled{opacity:.42}
  .pro-pdf-selection-info{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;margin-top:10px;padding:9px 12px;border:1px solid #64748b;border-radius:9px;background:#172033;color:#e2e8f0}.pro-pdf-selection-copy{display:grid;gap:3px}.pro-pdf-selection-copy strong{font-size:13px;color:#f8fafc}.pro-pdf-selection-copy span{font-size:12px;color:#aebaca}.pro-pdf-selection-thumb{width:52px;height:42px;object-fit:contain;border:1px solid #94a3b8;border-radius:5px;background:#fff}
  .pro-pdf-engine-state{margin-left:auto;padding:6px 9px;border:1px solid #475569;border-radius:999px;color:#aebaca;font-size:11px;white-space:nowrap}.pro-pdf-engine-state[data-ready="true"]{border-color:#15803d;color:#86efac}.pro-pdf-engine-state[data-error="true"]{border-color:#b91c1c;color:#fca5a5}
  .pro-pdf-workspace-layout{display:grid;grid-template-columns:176px minmax(0,1fr);gap:12px;margin-top:14px}.pro-pdf-main-workspace{min-width:0}.pro-pdf-sidebar{min-width:0;padding:10px;border:1px solid #475569;border-radius:10px;background:#172033;max-height:760px;overflow:auto}.pro-pdf-sidebar-head{display:flex;justify-content:space-between;align-items:center;padding:2px 3px 9px;color:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.pro-pdf-sidebar-head span{color:#aebaca}.pro-pdf-thumbnails{display:grid;gap:9px}.pro-pdf-thumb{display:grid;gap:5px;width:100%;padding:5px;border:1px solid #475569;border-radius:7px;background:#0f172a;color:#cbd5e1;cursor:pointer}.pro-pdf-thumb:hover{border-color:#cbd5e1}.pro-pdf-thumb.active{border:2px solid #f59e0b;padding:4px;background:#292524;color:#fef3c7}.pro-pdf-thumb canvas{display:block;width:100%;height:auto;background:#fff;border-radius:3px}.pro-pdf-thumb span{font-size:11px;text-align:center}.pro-pdf-stage{background:#0f172a;border-color:#64748b}.pro-pdf-empty{gap:7px;padding:28px}.pro-pdf-empty-icon{display:grid;place-items:center;width:56px;height:70px;border:1px solid #64748b;border-radius:6px;background:#1e293b;color:#cbd5e1;font-size:29px}.pro-pdf-empty strong{color:#f8fafc;font-size:16px}.pro-pdf-empty span,.pro-pdf-empty small{max-width:360px;line-height:1.55;color:#aebaca}.pro-pdf-empty small{font-size:11px}.pro-pdf-viewport{box-shadow:0 14px 35px #02061799}.pro-pdf-overlay.selected{border:2px solid #f59e0b;box-shadow:0 0 0 3px #f59e0b44}.pro-pdf-overlay.pro-text-overlay{background:#fff0;color:#111827;padding:3px}.pro-pdf-resize{width:13px;height:13px;border:2px solid #fff;border-radius:3px;background:#f59e0b;box-shadow:0 1px 4px #02061799}.pro-pdf-resize[data-handle="nw"]{left:-7px;top:-7px;right:auto;bottom:auto;cursor:nwse-resize}.pro-pdf-resize[data-handle="ne"]{right:-7px;top:-7px;bottom:auto;cursor:nesw-resize}.pro-pdf-resize[data-handle="sw"]{left:-7px;bottom:-7px;right:auto;cursor:nesw-resize}.pro-pdf-resize[data-handle="se"]{right:-7px;bottom:-7px;cursor:nwse-resize}.pro-pdf-resize[data-handle="n"],.pro-pdf-resize[data-handle="s"]{left:50%;right:auto;transform:translateX(-50%);cursor:ns-resize}.pro-pdf-resize[data-handle="n"]{top:-6px;bottom:auto}.pro-pdf-resize[data-handle="s"]{bottom:-6px;top:auto}.pro-pdf-resize[data-handle="w"],.pro-pdf-resize[data-handle="e"]{top:50%;bottom:auto;transform:translateY(-50%);cursor:ew-resize}.pro-pdf-resize[data-handle="w"]{left:-6px;right:auto}.pro-pdf-resize[data-handle="e"]{right:-6px;left:auto}
  .pro-pdf-image-wrap img{object-fit:contain}.pro-pdf-preview{background:#172033;border-color:#64748b}.pro-pdf-preview-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px}.pro-pdf-preview-head h3{margin:2px 0 0;color:#e2e8f0}.pro-pdf-preview-head>span{color:#aebaca;font-size:11px}.pro-pdf-preview-kicker{color:#fbbf24;font-size:10px;font-weight:800;letter-spacing:.1em}.pro-pdf-status{color:#cbd5e1}.pro-pdf-status.error{color:#fda4af}
  @media(max-width:900px){.pro-pdf-action-group{margin-left:0}.pro-pdf-workspace-layout{grid-template-columns:1fr}.pro-pdf-sidebar{max-height:132px}.pro-pdf-thumbnails{display:flex;overflow:auto}.pro-pdf-thumb{min-width:86px;width:86px}}

/* ===== no-assets-preview-style ===== */
#loginScreen.front-home .no-assets-preview{display:flex;align-items:center;justify-content:center;text-align:center;}
  #loginScreen.front-home .showcase-empty-content{position:relative;z-index:2;display:grid;gap:12px;place-items:center;padding:28px;color:#e2f8ff;}
  #loginScreen.front-home .showcase-empty-icon{font-size:62px;filter:drop-shadow(0 0 12px #38dfff99);}
  #loginScreen.front-home .showcase-empty-content strong{font-size:clamp(18px,2.4vw,28px);letter-spacing:.3px;}
  #loginScreen.front-home .showcase-empty-content>span:last-child{font-size:13px;color:#b8d5df;}

/* ===== workspace-routing-ui ===== */
/* Keep the authenticated role actions reachable while users scroll through
     the long tool workspace. Visibility is still controlled by the role-aware
     inline styles; sticky positioning only changes where the controls live. */
  #mainApp .workspace-header-row{position:sticky;top:10px;z-index:40;isolation:isolate;overflow:visible;scroll-margin-top:10px}
  #mainApp .workspace-header-row::after{content:'';position:absolute;inset:0;border-radius:14px;pointer-events:none;z-index:-1}
  .workspace-back-btn{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:8px 12px;border:1px solid #67e8f9;border-radius:10px;background:linear-gradient(135deg,#0e7490,#2563eb);color:#fff;font-weight:800;font-size:12px;cursor:pointer;box-shadow:0 7px 18px #0e749044;transition:transform .18s ease,filter .18s ease}
  .workspace-back-btn:hover,.workspace-back-btn:focus-visible{transform:translateY(-2px);filter:brightness(1.1);outline:0}
  .workspace-back-btn[hidden]{display:none!important}
    #mainApp .dashboard-card[aria-current="page"]{outline:2px solid #b6ffff;outline-offset:2px}
  @media(max-width:720px){#mainApp .workspace-header-row{top:6px;align-items:stretch!important}.workspace-back-btn{order:4;width:100%;justify-content:center}.workspace-header-row>strong{width:100%}}

/* ===== user-marked-cleanup ===== */
/* Keep only the useful landing controls without reintroducing legacy overlays. */
  #loginScreen.front-home .front-nav .skillo-brand::before{display:none!important;content:none!important}
  #loginScreen.front-home .front-services::after{content:'🔒\A Secure access';display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:74px;border:2px solid #51ddeb;border-radius:10px;background:linear-gradient(145deg,#405661,#102532);color:#d8fbff;font-size:14px;line-height:1.2;font-weight:900;white-space:pre-line;box-shadow:inset 0 1px #ffffff33,0 8px 16px #0007}
  /* Keep the fourth access tile as one real element; avoid duplicated generated text. */
  #loginScreen.front-home .front-services .service-tile:first-of-type{display:flex!important}
  #loginScreen.front-home .front-services::after{display:none!important;content:none!important}
  /* Native PDF text remains the source of truth. Hit areas stay clickable but
     never paint dashed/white boxes over the original page. */
  #np-editor #np-hits button,
  #np-editor #np-hits button:hover,
  #np-editor #np-hits button.chosen{background:transparent!important;border:0!important;box-shadow:none!important}
  #np-editor:has(#np-inline:not([hidden])) #np-hits{display:none!important}
  #np-editor #np-inline{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:inherit;caret-color:currentColor;letter-spacing:0;line-height:1.05;resize:none;overflow:hidden;padding:0!important;text-shadow:none!important}
  #np-editor .np-bold-toggle{font-weight:900;letter-spacing:.02em}
  #np-editor .np-bold-toggle[aria-pressed="true"]{background:#f59e0b!important;border-color:#fbbf24!important;color:#111827!important}
  @media(min-width:851px){
    #loginScreen.front-home .front-hero{grid-column:1!important;grid-row:2!important}
    #loginScreen.front-home .front-auth-panel{grid-column:2!important;grid-row:2!important}
    #loginScreen.front-home .front-highlights{grid-row:3!important}
    #loginScreen.front-home .front-services{grid-row:5!important}
    #loginScreen.front-home .front-tool-catalog{grid-row:6!important}
  }
  @media(max-width:850px){
    #loginScreen.front-home .front-hero{grid-row:2!important}
    #loginScreen.front-home .front-auth-panel{grid-row:3!important}
    #loginScreen.front-home .front-highlights{grid-row:4!important}
    #loginScreen.front-home .front-services{grid-row:6!important}
    #loginScreen.front-home .front-tool-catalog{grid-row:7!important}
  }
  #mainApp.public-free-mode #validityCounterBadge,
  #mainApp.public-free-mode #myAccountTabBtn,
  #mainApp.public-free-mode #logoutBtn{display:none!important}
#mainApp.public-free-mode .workspace-header-row>strong::after{content:var(--i18n-free-tools," · Free Tools");color:#67e8f9;font-size:12px;letter-spacing:1px;margin-left:8px}
  #mainApp.public-free-mode .tab-content:not(#tab-tools-home):not(#tab-arranger):not(#tab-jpg-to-pdf):not(#tab-pdf-to-jpg):not(#tab-pdf-compressor):not(#tab-pdf-unlock):not(#tab-resizer){display:none!important}

/* ===== inline-style-25 ===== */
/* Audience-facing landing content: CSC, cyber/fiber cafe, xerox and photo studios. */
  #loginScreen.front-home .landing-audience-section{grid-column:1/-1;display:grid;gap:18px;margin-top:4px;padding:24px;border:1px solid #ffffff38;border-radius:22px;background:linear-gradient(135deg,#07152fcf,#172554b8);box-shadow:0 18px 40px #02061744;color:#e8f7ff}
  .landing-audience-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
  .landing-audience-kicker{margin:0 0 7px;color:#7dd3fc;font-size:11px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase}
  .landing-audience-intro h2{margin:0;color:#f8fbff;font-size:clamp(22px,3vw,34px);line-height:1.15}
  .landing-audience-intro p{max-width:760px;margin:10px 0 0;color:#cbd5e1;font-size:14px;line-height:1.55}
  .landing-audience-badges{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;justify-content:flex-end}
  .landing-audience-badges span{display:inline-flex;align-items:center;min-height:32px;padding:7px 11px;border:1px solid #67e8f966;border-radius:999px;background:#ffffff12;color:#dff9ff;font-size:12px;font-weight:700;white-space:nowrap}
  .landing-service-search{display:grid;gap:7px}
  .landing-service-search label{color:#bae6fd;font-size:12px;font-weight:800}
  .landing-service-search input{width:100%;box-sizing:border-box;padding:13px 15px;border:1px solid #67e8f966;border-radius:12px;background:#07152fcc;color:#fff;font-size:14px;outline:0}
  .landing-service-search input:focus{border-color:#67e8f9;box-shadow:0 0 0 3px #67e8f933}
  .landing-service-search input::placeholder{color:#cbd5e199}
  .landing-audience-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px}
  .landing-faq-card,.landing-contact-card{padding:18px;border:1px solid #ffffff2b;border-radius:16px;background:#0b1723b8}
  .landing-faq-card h3,.landing-contact-card h3{margin:0 0 12px;color:#f8fbff;font-size:18px}
  .landing-faq-card details{border-top:1px solid #ffffff1f;padding:10px 0}
  .landing-faq-card details:first-of-type{border-top:0;padding-top:0}
  .landing-faq-card summary{cursor:pointer;color:#e0f2fe;font-size:13px;font-weight:700;list-style-position:inside}
  .landing-faq-card details p{margin:8px 0 0;color:#cbd5e1;font-size:12px;line-height:1.5}
  .landing-contact-card p{margin:0 0 10px;color:#cbd5e1;font-size:12px;line-height:1.55}
  .landing-contact-card .contact-detail{color:#e0f2fe;font-weight:700}
  .landing-contact-card form{display:grid;gap:8px;margin-top:12px}
  .landing-contact-card input,.landing-contact-card select,.landing-contact-card textarea{box-sizing:border-box;width:100%;padding:10px 11px;border:1px solid #ffffff35;border-radius:9px;background:#07152fcc;color:#fff;font:inherit;font-size:12px;outline:0}
  .landing-contact-card textarea{min-height:80px;resize:vertical}
  .landing-contact-card input:focus,.landing-contact-card select:focus,.landing-contact-card textarea:focus{border-color:#67e8f9;box-shadow:0 0 0 3px #67e8f922}
  .landing-contact-card button,.landing-contact-card .contact-email-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid #67e8f9;border-radius:9px;background:linear-gradient(135deg,#38bdf8,#6366f1);color:#fff;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}
  .landing-contact-card .contact-email-link{margin-top:2px;background:#ffffff12}
  .landing-contact-card small{color:#94a3b8;font-size:10px;line-height:1.4}
  .landing-feedback-only{grid-column:1/-1;max-width:920px;width:100%;justify-self:center}
  #loginScreen.front-home .landing-audience-columns{display:block;text-align:left}
  #loginScreen.front-home .landing-feedback-only{margin:0 auto}
  #loginScreen.front-home .landing-feedback-only form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  #loginScreen.front-home .landing-feedback-only textarea{grid-column:1/-1;min-height:76px}
  #loginScreen.front-home .landing-feedback-only button{grid-column:1/-1;justify-self:center;min-width:210px}
  .landing-feedback-block{margin-top:18px;padding-top:16px;border-top:1px solid #ffffff24}
  .landing-feedback-block h4{margin:0 0 6px;color:#f8fbff;font-size:15px}
  .landing-feedback-block p{margin-bottom:8px}
  #loginScreen.front-home .landing-privacy-section{display:grid!important}
  .landing-policy-strip{width:min(1480px,calc(100% - 32px));margin:14px auto 0;padding:12px 14px;border-top:1px solid #67e8f966;border-bottom:1px solid #67e8f966;color:#e8f7ff;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#07152f66;border-radius:10px}
  .landing-policy-kicker{margin:0 0 3px;color:#7dd3fc;font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
  #landingPolicyTitle{margin:0;color:#f8fbff;font-size:14px;line-height:1.25}
  #landingPolicyDescription{margin:4px 0 0;color:#cbd5e1;font-size:11px;line-height:1.35}
  .landing-policy-links{display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:wrap;min-width:0;text-align:center}
  .landing-policy-links a{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;color:#bfdbfe;font-size:10px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;border-right:1px solid #ffffff26}
  .landing-policy-links a:first-child{padding-left:0}.landing-policy-links a:last-child{border-right:0}.landing-policy-links a:hover{color:#67e8f9;text-decoration:underline}
  .landing-privacy-heading{max-width:860px;margin:0 auto}
  .landing-privacy-kicker{margin:0 0 7px;color:#7dd3fc;font-size:11px;font-weight:800;letter-spacing:1.8px}
  .landing-privacy-heading h3{margin:0;color:#f8fbff;font-size:clamp(22px,3vw,34px);line-height:1.15}
  .landing-privacy-heading p:last-child{margin:10px 0 0;color:#cbd5e1;font-size:14px;line-height:1.55}
  .landing-privacy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .landing-privacy-grid article{min-height:126px;padding:15px;border:1px solid #ffffff2b;border-radius:14px;background:#ffffff10;display:grid;align-content:start;justify-items:center;gap:7px}
  .landing-privacy-grid article>span{font-size:25px}.landing-privacy-grid strong{color:#f8fbff;font-size:13px}.landing-privacy-grid p{margin:0;color:#cbd5e1;font-size:11px;line-height:1.45}
  /* Portal activity is a compact, always-visible strip directly above the footer. */
  .landing-metrics-section{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;width:min(1480px,calc(100% - 32px));margin:12px auto 0;padding:6px 10px;border-top:1px solid #67e8f966;border-bottom:1px solid #67e8f966;color:#e8f7ff;text-align:center;visibility:visible;opacity:1}
  .landing-metrics-heading{margin:0;color:#f8fbff;font-size:11px;line-height:1.2;letter-spacing:.2px}.landing-metrics-subtitle{margin:0;color:#94a3b8;font-size:10px;line-height:1.2}
  .landing-metrics-grid{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;width:auto;margin:0}
  .landing-metric-card{min-height:0;padding:0 9px;border:0;border-left:1px solid #ffffff26;border-radius:0;background:transparent;display:inline-flex;align-items:center;gap:4px}
  .landing-metric-card:first-child{border-left:0}.landing-metric-card strong{color:#f8fbff;font-size:12px;line-height:1;font-variant-numeric:tabular-nums}.landing-metric-card span{color:#bae6fd;font-size:10px;font-weight:700;white-space:nowrap}.landing-metrics-status{min-height:0;margin:0;color:#94a3b8;font-size:9px;line-height:1.2}
  #loginScreen.front-home .landing-audience-section{text-align:center}
  #loginScreen.front-home .landing-audience-intro{justify-content:center}
  #loginScreen.front-home .landing-audience-intro>div:first-child{max-width:880px}
  #loginScreen.front-home .landing-audience-badges{justify-content:center}
  #loginScreen.front-home .landing-service-search{max-width:860px;margin:0 auto;width:100%;text-align:left}
  #loginScreen.front-home .landing-audience-columns{text-align:left}
  @media(max-width:1050px){.landing-privacy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(max-width:900px){.landing-metrics-section{gap:6px 8px}.landing-metric-card{padding:0 6px}}
  @media(max-width:520px){.landing-privacy-grid{grid-template-columns:1fr}.landing-metrics-section{width:calc(100% - 20px);gap:6px;padding:5px 6px!important}.landing-metrics-subtitle{display:none}.landing-metric-card{padding:0 5px}.landing-metric-card span{font-size:9px}.landing-metrics-status{display:none}.landing-privacy-section{padding:18px!important}.landing-policy-strip{width:calc(100% - 20px);display:block;text-align:center}.landing-policy-links{justify-content:center;margin-top:8px}.landing-policy-links a{font-size:9px;padding:3px 6px}}
  @media(max-width:620px){#loginScreen.front-home .landing-feedback-only form{grid-template-columns:1fr}#loginScreen.front-home .landing-feedback-only textarea,#loginScreen.front-home .landing-feedback-only button{grid-column:auto}}
  /* Reference-led visual system: colorful glass surfaces, orbiting accents and motion-rich feedback. */
  body:has(#loginScreen.front-home){background:
    radial-gradient(circle at 7% 10%,#22d3ee35,transparent 25%),
    radial-gradient(circle at 92% 14%,#f472b635,transparent 24%),
    radial-gradient(circle at 50% 92%,#8b5cf635,transparent 32%),
    #080d1b!important;}
  #loginScreen.front-home{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#101a2dF2,#171b3dE8 48%,#24133eF2)!important;border-color:#67e8f955!important;box-shadow:0 30px 110px #020617aa!important;}
  #loginScreen.front-home::before,#mainApp::before{content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;background:conic-gradient(from 0deg at 50% 50%,#22d3ee14,#8b5cf61f,#f472b61b,#22d3ee14);filter:blur(25px);animation:referenceAurora 18s linear infinite;}
  #loginScreen.front-home .front-nav{background:linear-gradient(100deg,#0b1729e8,#1e1b4be8,#082f49e8)!important;border-bottom-color:#67e8f955!important;color:#effcff!important;box-shadow:0 8px 30px #02061744;}
  #loginScreen.front-home .front-nav strong{color:#f8fbff!important;text-shadow:0 0 18px #22d3ee55;}
  #loginScreen.front-home .front-nav strong:before{content:'SI'!important;background:linear-gradient(135deg,#22d3ee,#8b5cf6 55%,#f472b6)!important;box-shadow:0 0 24px #22d3ee88!important;}
  #loginScreen.front-home .front-hero{background:linear-gradient(120deg,#0e7490E8 0%,#4338a8E8 44%,#be185DE8 100%)!important;border:1px solid #a5f3fc66!important;box-shadow:0 22px 60px #02061788, inset 0 1px #ffffff44!important;}
  #loginScreen.front-home .front-hero::after{color:#ffffff18!important;animation:referenceDrift 16s linear infinite;}
  #loginScreen.front-home .front-auth-panel{background:linear-gradient(155deg,#172554F2,#312e81E8 52%,#701a75D9)!important;border-color:#a5f3fc99!important;box-shadow:0 22px 60px #02061799, inset 0 1px #ffffff44, 0 0 35px #8b5cf633!important;}
  #loginScreen.front-home .front-auth-panel .login-input{border-color:#67e8f9aa!important;background:#050d18cc!important;transition:border-color .2s,box-shadow .2s,transform .2s!important;}
  #loginScreen.front-home .front-auth-panel .login-input:focus{border-color:#f0abfc!important;box-shadow:0 0 0 3px #f472b633,0 0 22px #22d3ee33!important;transform:translateY(-1px);}
  #loginScreen.front-home .front-highlights .front-highlight{background:linear-gradient(135deg,#0e749055,#312e8177,#83184366)!important;border-color:#ffffff3d!important;box-shadow:inset 0 1px #ffffff35,0 12px 26px #02061755!important;animation:referenceFloat 7s ease-in-out infinite;}
  #loginScreen.front-home .front-highlights .front-highlight:nth-child(2){animation-delay:-2.2s}.front-home .front-highlights .front-highlight:nth-child(3){animation-delay:-4.4s}
  #loginScreen.front-home .front-tool-catalog{background:linear-gradient(145deg,#071a2ed9,#1e1b4bd9,#3b0764b8)!important;border-color:#c4b5fdaa!important;box-shadow:0 18px 55px #02061788,inset 0 1px #ffffff33!important;}
  #loginScreen.front-home .front-tool-catalog .catalog-tool{background:linear-gradient(135deg,#0e749044,#312e8166,#9d174d44)!important;border-color:#67e8f999!important;box-shadow:inset 0 1px #ffffff2b,0 8px 22px #02061755!important;transition:transform .25s,filter .25s,box-shadow .25s!important;}
  #loginScreen.front-home .front-tool-catalog .catalog-tool:hover{transform:translateY(-5px) rotateX(2deg)!important;filter:brightness(1.14);box-shadow:0 16px 30px #22d3ee44,0 0 22px #c084fc33!important;}
  #loginScreen.front-home .front-showcase{background:linear-gradient(145deg,#071827,#111c35 45%,#301345)!important;border-color:#67e8f9bb!important;box-shadow:inset 0 1px #ffffff3d,0 24px 70px #020617aa!important;}
  #loginScreen.front-home .showcase-empty-content{z-index:4;text-shadow:0 2px 15px #020617;}
  .reference-dashboard-surface{position:absolute;inset:22px;z-index:1;overflow:hidden;border:1px solid #ffffff3b;border-radius:18px;background:linear-gradient(135deg,#0b2947a8,#312e81a8 52%,#83184366);box-shadow:inset 0 1px #ffffff36;}
  .reference-dashboard-surface::before{content:"";position:absolute;inset:18% 24%;border:3px solid transparent;border-radius:50%;background:conic-gradient(from 0deg,#22d3ee,#a78bfa,#f472b6,#22d3ee) border-box;-webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:drop-shadow(0 0 13px #22d3ee);animation:referenceOrbit 12s linear infinite;}
  .reference-dashboard-surface::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 44px,#67e8f914 45px 46px),repeating-linear-gradient(0deg,transparent 0 44px,#67e8f90d 45px 46px);opacity:.5;animation:referenceGrid 15s linear infinite;}
  .reference-orbit{position:absolute;left:50%;top:50%;width:22px;height:22px;transform:translate(-50%,-50%);border:2px solid #fef08a;border-radius:50%;box-shadow:0 0 24px #fbbf24,0 0 0 7px #fbbf2422;animation:referenceCore 2.8s ease-in-out infinite;}
  .reference-floating-card{position:absolute;z-index:2;width:31%;min-height:46px;padding:10px;border:1px solid #ffffff55;border-radius:12px;background:linear-gradient(135deg,#ffffff1e,#22d3ee16);backdrop-filter:blur(8px);color:#e8fbff;font-size:10px;font-weight:800;box-shadow:0 10px 25px #02061766;animation:referenceFloat 6s ease-in-out infinite;}
  .reference-floating-card::before{content:"";display:block;width:45%;height:4px;margin-bottom:8px;border-radius:99px;background:linear-gradient(90deg,#22d3ee,#f472b6);box-shadow:0 0 10px #22d3ee88;}
  .reference-floating-card.card-a{left:6%;top:13%}.reference-floating-card.card-b{right:6%;top:27%;animation-delay:-2s}.reference-floating-card.card-c{left:10%;bottom:14%;animation-delay:-4s}.reference-floating-card.card-d{right:9%;bottom:12%;animation-delay:-1s}
  .reference-spark{position:absolute;z-index:3;width:5px;height:5px;border-radius:50%;background:#fef08a;box-shadow:0 0 14px #fef08a;animation:referenceSpark 4s ease-in-out infinite;}.reference-spark.s1{left:22%;top:38%}.reference-spark.s2{right:21%;top:64%;animation-delay:-1.4s}.reference-spark.s3{left:61%;bottom:22%;animation-delay:-2.6s}
  #mainApp{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#071827F2,#111c35F2 45%,#2b1247F2)!important;border-color:#67e8f966!important;box-shadow:0 30px 100px #020617aa,inset 0 1px #ffffff2d!important;}
  #mainApp .dashboard-tool-launcher{background:linear-gradient(145deg,#0b1d2be8,#172554e8,#4c1d95bb)!important;border-color:#a78bfa88!important;box-shadow:0 18px 50px #02061788,inset 0 1px #ffffff2b!important;}
  #mainApp .dashboard-card{background:linear-gradient(135deg,#0e3344e8,#172554e8 54%,#701a75b8)!important;border-color:#67e8f988!important;box-shadow:inset 0 1px #ffffff22,0 8px 22px #02061766!important;transition:transform .25s ease,filter .25s ease,box-shadow .25s ease!important;}
  #mainApp .dashboard-card:nth-of-type(3n){background:linear-gradient(135deg,#064e3be8,#164e63e8,#312e81c8)!important;border-color:#6ee7b7aa!important}.dashboard-card:nth-of-type(4n){background:linear-gradient(135deg,#4c1d95e8,#701a75e8,#9f1239c8)!important;border-color:#f0abfc99!important;}
  #mainApp .dashboard-card:hover,#mainApp .dashboard-card:focus-visible{filter:brightness(1.16) saturate(1.15);box-shadow:0 0 0 1px #ffffff55,0 16px 35px #22d3ee44!important;}
  #mainApp .container{background:linear-gradient(145deg,#0b1726d9,#172554b8,#3b0764a8)!important;border-color:#67e8f966!important;box-shadow:0 18px 45px #02061766,inset 0 1px #ffffff22!important;}
  .ui-action-spin{animation:uiActionPulse .58s cubic-bezier(.2,.8,.2,1)!important;}
  @keyframes referenceAurora{to{transform:rotate(360deg) scale(1.08)}}
  @keyframes referenceOrbit{to{transform:rotate(360deg)}}
  @keyframes referenceGrid{to{background-position:44px 44px}}
  @keyframes referenceCore{0%,100%{transform:translate(-50%,-50%) scale(.82);opacity:.65}50%{transform:translate(-50%,-50%) scale(1.2);opacity:1}}
  @keyframes referenceFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-7px,0)}}
  @keyframes referenceSpark{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1.5)}}
  @keyframes referenceDrift{to{transform:translateX(44px)}}
  @keyframes referenceStatus{to{background-position:220% 0}}
  @keyframes uiActionPulse{0%{filter:brightness(1);box-shadow:0 0 0 0 #67e8f988}35%{filter:brightness(1.35) saturate(1.3);box-shadow:0 0 0 7px #67e8f933}70%{filter:brightness(1.12);box-shadow:0 0 0 2px #f0abfc55}100%{filter:brightness(1);box-shadow:none}}
  @media(prefers-reduced-motion:reduce){#loginScreen.front-home::before,#mainApp::before,.reference-dashboard-surface::before,.reference-dashboard-surface::after,.reference-floating-card,.reference-spark,.reference-orbit,.front-highlight,.ui-action-spin{animation:none!important}}
  @media(max-width:850px){#loginScreen.front-home .landing-audience-section{margin-top:18px;padding:18px}.landing-audience-columns{grid-template-columns:1fr}.landing-audience-badges{justify-content:center}}

/* ===== inline-style-26 ===== */
/* Keep the public landing copy centered and in normal sentence case. */
  #loginScreen.front-home .landing-audience-kicker{text-transform:none!important}
  #loginScreen.front-home .landing-audience-intro>div:first-child{width:100%;max-width:880px;margin:0 auto;text-align:center}
  #loginScreen.front-home #landingAudienceTitle,#loginScreen.front-home #landingAudienceDescription{text-align:center}
  #loginScreen.front-home .front-hero{text-align:center!important}
  #loginScreen.front-home .front-hero h1,#loginScreen.front-home .front-hero p{text-align:center!important}
  #loginScreen.front-home .front-hero p{display:block!important;width:fit-content;max-width:100%;margin:13px auto 0!important}

/* ===== premium-editor-handle-compact ===== */
/* Keep resize controls usable without covering the selected number/photo/signature. */
  .premium-card-editor .premium-editor-handle{width:8px;height:8px;border:1px solid rgba(255,255,255,.72);border-radius:2px;background:rgba(245,158,11,.42);box-shadow:0 0 0 1px rgba(120,53,15,.28);opacity:.62;z-index:2}
  .premium-card-editor .premium-editor-handle.nw{left:-5px;top:-5px}
  .premium-card-editor .premium-editor-handle.n{top:-5px}
  .premium-card-editor .premium-editor-handle.ne{right:-5px;top:-5px}
  .premium-card-editor .premium-editor-handle.e{right:-5px}
  .premium-card-editor .premium-editor-handle.se{right:-5px;bottom:-5px}
  .premium-card-editor .premium-editor-handle.s{bottom:-5px}
  .premium-card-editor .premium-editor-handle.sw{left:-5px;bottom:-5px}
  .premium-card-editor .premium-editor-handle.w{left:-5px}
  .premium-card-editor .premium-editor-handle:hover,.premium-card-editor .premium-editor-handle:focus-visible{opacity:.92;background:rgba(245,158,11,.78)}

/* ===== public-footer-compact ===== */
/* Compact public footer: one intentional line on the landing page, not a copied multi-column template. */
  .op-footer{width:min(1480px,calc(100% - 32px));margin:18px auto 0;padding:0 16px 12px;border:1px solid #2f5263;border-radius:16px 16px 0 0;background:linear-gradient(110deg,#0b1723f2,#142c3bf2 55%,#10212df2);color:#dbeafe;box-shadow:0 -10px 28px #0006;backdrop-filter:blur(14px)}
  .op-footer-grid{display:flex;align-items:center;gap:16px;min-width:0;padding:13px 0 11px}
  .op-footer-brand{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;color:#f8fbff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap;text-decoration:none!important}
  .op-footer-brand:hover{transform:none!important;color:#67e8f9!important}
  .op-footer-brand-mark{display:inline-grid;place-items:center;width:26px;height:26px;border:1px solid #67e8f9aa;border-radius:8px;background:linear-gradient(135deg,#155eaa,#7c3aed);color:#fff;font-size:9px;font-weight:900;box-shadow:0 4px 12px #0ea5e933}
  .op-footer-links{display:flex;align-items:center;justify-content:center;gap:0;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#38bdf866 transparent;text-align:center}
  .op-footer-links a,.op-footer-links .op-footer-link-button{display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;padding:0 10px!important;border:0!important;border-right:1px solid #ffffff26!important;border-radius:0!important;background:transparent!important;color:#bfdbfe!important;font:inherit!important;font-size:10px!important;font-weight:700!important;line-height:1.2;white-space:nowrap;text-align:center;text-decoration:none;cursor:pointer}
  .op-footer-links a:first-child,.op-footer-links .op-footer-link-button:first-child{padding-left:0!important}.op-footer-links a:hover,.op-footer-links .op-footer-link-button:hover{color:#67e8f9!important;transform:none!important;text-decoration:underline}
  .op-footer-social{display:flex;align-items:center;gap:6px;flex:0 0 auto}
  .op-social-icon{display:inline-grid!important;place-items:center;width:24px;height:24px;margin:0!important;border:1px solid #67e8f977;border-radius:7px;background:#0f2433;color:#bae6fd!important;transition:transform .18s ease,background .18s ease,color .18s ease}
  .op-social-icon:hover{transform:translateY(-2px)!important;background:#164e63;color:#fff!important}
  .op-social-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.op-social-icon.youtube svg{fill:currentColor;stroke:none}.op-social-icon.youtube path{fill:#0f2433}
  .op-footer-bottom{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0;padding:9px 0 0;border-top:1px solid #ffffff1c;text-align:center;color:#93a9b8;font-size:10px}.op-footer-bottom span+span:before{content:'·';margin-right:8px;color:#67e8f9}
  @media(max-width:850px){.op-footer{width:calc(100% - 20px);padding:0 10px 10px}.op-footer-grid{gap:10px;align-items:center}.op-footer-brand span:last-child{display:none}.op-footer-links a,.op-footer-links .op-footer-link-button{padding:0 8px!important;font-size:9px!important}.op-footer-social{gap:4px}.op-social-icon{width:22px;height:22px}.op-footer-bottom{font-size:9px}}

/* ===== seo-mobile-polish ===== */
/* Public content is intentionally landing-only; the workspace remains focused. */
  #landingArticles{display:none;grid-column:1/-1;width:100%;margin:10px 0 0;padding:22px;border:1px solid #cbdde7;border-radius:20px;background:linear-gradient(145deg,#fff,#f5fbfc 58%,#fff8f2);color:#17233e;box-shadow:0 14px 32px #17324d14}
  #landingArticles .landing-articles-heading{margin:0 0 14px;text-align:left}
  #landingArticles .landing-articles-heading span{display:block;color:#087d8a;font-size:10px;font-weight:900;letter-spacing:1.8px;text-transform:uppercase}
  #landingArticles .landing-articles-heading h2{margin:4px 0;color:#14213d;font-size:clamp(20px,2.4vw,30px)}
  #landingArticles .landing-articles-heading p{margin:0;color:#52637f;font-size:12px}
  #landingArticles .landing-articles-link{display:inline-flex;margin-top:10px;color:#1f6cc4;font-size:12px;font-weight:800;text-decoration:none}
  #landingArticles .landing-articles-link:hover{text-decoration:underline}
  html:not(.workspace-route) body:has(#loginScreen.front-home:not([style*="display: none"])) #landingArticles{display:block}
  html.workspace-route #landingArticles,body:has(#mainApp[style*="display: block"]) #landingArticles,body:has(#signUpScreen[style*="display: block"]) #landingArticles,body:has(#signUpScreen[style*="display: grid"]) #landingArticles{display:none!important}
  @media(max-width:850px){
    body:has(#loginScreen.front-home){align-items:stretch!important;padding:0 8px 14px!important;overflow-x:hidden!important}
    #loginScreen.front-home{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;gap:12px!important;width:100%!important;max-width:none!important;padding:12px!important;overflow:visible!important}
    #loginScreen.front-home>.front-nav,#loginScreen.front-home>.front-showcase,#loginScreen.front-home>.front-hero,#loginScreen.front-home>.front-auth-panel,#loginScreen.front-home>.front-status-banner,#loginScreen.front-home>.front-highlights,#loginScreen.front-home>.front-tool-catalog,#loginScreen.front-home>#landingPolicyStrip,#loginScreen.front-home>#landingMetrics,#loginScreen.front-home>#landingArticles,#loginScreen.front-home>.op-footer{grid-column:1!important;grid-row:auto!important;width:100%!important;min-width:0!important}
    #loginScreen.front-home .front-nav{margin:0!important;padding:10px 12px!important;min-height:58px!important;flex-wrap:wrap!important}
    #loginScreen.front-home .front-nav .front-auth-nav-actions{width:100%;justify-content:flex-end;order:3}
    #loginScreen.front-home .front-showcase{height:240px!important;min-height:220px!important}
    #loginScreen.front-home .front-hero{min-height:0!important;padding:20px 16px!important}
    #loginScreen.front-home .front-hero h1{font-size:clamp(24px,7vw,38px)!important}
    #loginScreen.front-home .front-hero p{font-size:13px!important}
    #loginScreen.front-home .front-auth-panel{padding:22px 16px!important}
    #loginScreen.front-home .front-highlights{grid-template-columns:1fr!important;gap:8px!important}
    #loginScreen.front-home .front-tool-catalog{padding:14px!important}
    #loginScreen.front-home .front-tool-catalog .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
    #landingArticles{padding:16px!important;margin-top:0}
  }
  @media(max-width:480px){
    #loginScreen.front-home .front-nav .front-language{order:2!important}
    #loginScreen.front-home .front-nav .front-auth-nav-actions{order:3;justify-content:stretch}
    #loginScreen.front-home .front-nav .front-auth-nav-actions button{flex:1;min-width:0;padding:8px 7px;font-size:10px}
    #loginScreen.front-home .front-tool-catalog .catalog-grid{grid-template-columns:1fr!important}
    #loginScreen.front-home .front-tool-catalog .catalog-tool{min-height:46px!important}
    #landingPolicyStrip .landing-policy-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px!important}
    #landingPolicyStrip .landing-policy-links a{text-align:center;font-size:10px!important}
  }

/* ===== simple-readable-ui ===== */
/* Final readability layer: compact light UI by default, with the existing
     dark theme preserved behind the working Dark mode toggle. */
  body:not(.op-light){--simple-ink:#f8fafc;--simple-muted:#cbd5e1}
  body.op-light{--simple-ink:#111827;--simple-muted:#374151;background:#eef2f7!important;color:var(--simple-ink)!important}
  body.op-light #loginScreen.front-home{background:#eef2f7!important;color:var(--simple-ink)!important;gap:12px!important}
  body.op-light #loginScreen.front-home .front-nav{background:#111827!important;color:#fff!important;box-shadow:0 8px 18px #11182722!important}
  body.op-light #loginScreen.front-home .front-hero,
  body.op-light #loginScreen.front-home .front-auth-panel,
  body.op-light #loginScreen.front-home .front-highlights,
  body.op-light #loginScreen.front-home .front-services,
  body.op-light #loginScreen.front-home .front-tool-catalog,
  body.op-light #loginScreen.front-home .landing-audience-section{background:#fff!important;color:var(--simple-ink)!important;border-color:#cbd5e1!important;box-shadow:0 8px 20px #11182712!important}
  body.op-light #loginScreen.front-home .front-hero h1,
  body.op-light #loginScreen.front-home .front-hero h2,
  body.op-light #loginScreen.front-home .front-auth-panel h2,
  body.op-light #loginScreen.front-home .front-auth-panel p,
  body.op-light #loginScreen.front-home .front-highlights h3,
  body.op-light #loginScreen.front-home .front-services h3,
  body.op-light #loginScreen.front-home .catalog-heading h3,
  body.op-light #loginScreen.front-home .landing-audience-intro h2{color:var(--simple-ink)!important;text-shadow:none!important}
  body.op-light #loginScreen.front-home .front-hero p,
  body.op-light #loginScreen.front-home .front-auth-panel label,
  body.op-light #loginScreen.front-home .front-auth-panel small,
  body.op-light #loginScreen.front-home .catalog-heading p,
  body.op-light #loginScreen.front-home .landing-audience-intro p{color:var(--simple-muted)!important}
  body.op-light #loginScreen.front-home .login-input,
  body.op-light #loginScreen.front-home .front-search{background:#fff!important;color:#111827!important;border:1px solid #64748b!important;box-shadow:none!important}
  body.op-light #loginScreen.front-home .login-input::placeholder,
  body.op-light #loginScreen.front-home .front-search::placeholder{color:#4b5563!important}
  body.op-light #loginScreen.front-home .front-showcase{min-height:220px!important;background:#e5e7eb!important;border-color:#9ca3af!important}
  body.op-light #mainApp{color:#111827!important;background:#eef2f7!important}
  body.op-light #mainApp .container,
  body.op-light #mainApp .tab-content>div,
  body.op-light #mainApp .control-panel,
  body.op-light #mainApp .upload-box{color:#111827!important;background:#fff!important;border-color:#cbd5e1!important}
  body.op-light #mainApp .tab-content h1,
  body.op-light #mainApp .tab-content h2,
  body.op-light #mainApp .tab-content h3,
  body.op-light #mainApp .tab-content h4,
  body.op-light #mainApp .tab-content p,
  body.op-light #mainApp .tab-content label,
  body.op-light #mainApp .tab-content small,
  body.op-light #mainApp .tab-content td,
  body.op-light #mainApp .tab-content th{color:#111827!important;text-shadow:none!important}
  #loginScreen.front-home .front-hero,#loginScreen.front-home .front-auth-panel{min-height:0!important}
  #loginScreen.front-home .front-hero{padding:20px!important}
  #loginScreen.front-home .front-auth-panel{padding:20px!important}
  #loginScreen.front-home .front-tool-catalog{margin-top:10px!important;padding:16px!important}
  @media(max-width:850px){#loginScreen.front-home .front-showcase{min-height:180px!important}}

/* ===== landing-screenshot-area-cleanup ===== */
/* The public landing keeps the account entry experience focused. The
     decorative status/highlight/free-tool strip is intentionally removed;
     authenticated tools remain available inside the workspace. */
  #loginScreen.front-home > .front-status-banner,
  #loginScreen.front-home > .front-highlights,
  #loginScreen.front-home > #freeTools{display:none!important}
  #loginScreen.front-home{padding-top:26px!important}
  #loginScreen.front-home > .front-nav{margin-top:8px!important}

/* ===== workspace-reference-layout-final ===== */
  #mainApp .workspace-tool-grid .dashboard-tool-launcher { display:grid !important; grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:12px !important; padding:18px !important; } #mainApp .workspace-tool-grid .dashboard-group-title { grid-column:1/-1 !important; }
  #mainApp .workspace-tool-grid .dashboard-card { min-height:92px !important; padding:17px 42px 17px 16px !important; border-radius:12px !important; font-size:13px !important; }
  #mainApp.workspace-tool-focused .workspace-tool-grid { display:none !important; }
  @media(max-width:1100px){#mainApp .workspace-tool-grid .dashboard-tool-launcher{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
  @media(max-width:650px){#mainApp .workspace-tool-grid .dashboard-tool-launcher{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:12px!important}#mainApp .workspace-tool-grid .dashboard-card{min-height:78px!important;padding:13px 34px 13px 12px!important;font-size:12px!important}}
  @media(max-width:430px){#mainApp .workspace-tool-grid .dashboard-tool-launcher{grid-template-columns:1fr!important}}

/* ===== expired-trial-renewal-lock-style ===== */
#expiredTrialInteractionBlocker{position:fixed;inset:0;z-index:19999;background:transparent;touch-action:none}
  #expiredTrialInteractionBlocker[hidden]{display:none!important}
  body.expired-trial-renewal-lock #renewalScreen{
    position:fixed!important;top:50%!important;left:50%!important;
    transform:translate(-50%,-50%)!important;z-index:20000!important;
    width:min(580px,calc(100vw - 24px))!important;max-height:calc(100vh - 24px)!important;
    overflow:auto!important;margin:0!important;box-sizing:border-box!important;
    box-shadow:0 0 0 100vmax rgba(2,6,23,.82),0 25px 60px rgba(0,0,0,.6)!important;
  }
  body.expired-trial-renewal-lock #infoModal{z-index:20050!important}

/* ===== inline-style-34 ===== */
#mainApp .portal-quick-utilities{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:2px 0 2px;padding:8px;border:1px solid #ffffff24;border-radius:12px;background:linear-gradient(135deg,#0b1d2b,#17255499);box-shadow:inset 0 1px #ffffff18}
  #mainApp .quick-utility-btn{width:36px;height:36px;flex:0 0 36px;padding:0;border:1px solid #72e4ed99;border-radius:9px;background:linear-gradient(145deg,#203f50,#16243a);color:#f8fbff;font-size:18px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 5px 12px #02061755;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
  #mainApp .quick-utility-btn:hover,#mainApp .quick-utility-btn:focus-visible{transform:translateY(-2px);border-color:#a5f3fc;background:linear-gradient(145deg,#256477,#3730a3);box-shadow:0 8px 18px #22d3ee44;outline:none}
  #mainApp .quick-bookmark-edit{font-size:17px;border-color:#fbbf2488;color:#fde68a}
  #mainApp .portal-bookmark-scroll-shell{display:grid;grid-template-rows:auto auto;gap:3px;flex:1;min-width:0}#mainApp .portal-bookmark-slots{display:flex;align-items:center;gap:5px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:1px;scrollbar-width:none;overscroll-behavior-inline:contain;scroll-behavior:smooth}#mainApp .portal-bookmark-slots::-webkit-scrollbar{display:none}#mainApp .portal-bookmark-slider{display:block;width:100%;height:10px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:ew-resize}#mainApp .portal-bookmark-slider::-webkit-slider-runnable-track{height:3px;border-radius:999px;background:#526b82}#mainApp .portal-bookmark-slider::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;margin-top:-4px;border:0;border-radius:50%;background:#22b8c7;box-shadow:0 0 0 2px #0b1726}#mainApp .portal-bookmark-slider::-moz-range-track{height:3px;border:0;border-radius:999px;background:#526b82}#mainApp .portal-bookmark-slider::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#22b8c7}#mainApp .portal-bookmark-slider[hidden]{display:none!important}
  #mainApp .portal-bookmark-slot{position:relative;width:31px;height:31px;flex:0 0 31px;padding:0;border:1px dashed #8ca7bf99;border-radius:8px;background:#0b1726;color:#cbd5e1;font-size:14px;font-weight:800;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #mainApp .portal-bookmark-slot.empty{color:#67e8f9;border-color:#67e8f999;font-size:17px}
  #mainApp .portal-bookmark-slot:hover,#mainApp .portal-bookmark-slot:focus-visible{border-color:#f8fafc;background:#1e3a4a;outline:none}
  .quick-utility-dialog{width:min(430px,calc(100vw - 28px));padding:0;border:1px solid #67e8f999;border-radius:18px;background:#0b1726;color:#effaff;box-shadow:0 24px 70px #020617cc}
  .quick-utility-dialog::backdrop{background:#020617aa;backdrop-filter:blur(6px)}
  .quick-utility-panel{padding:20px}.quick-utility-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.utility-kicker{display:block;color:#67e8f9;font-size:10px;font-weight:800;letter-spacing:.16em}.quick-utility-header h2{margin:3px 0 0;color:#f8fbff;font-size:24px}.utility-close-btn{width:32px;height:32px;border:1px solid #94a3b899;border-radius:8px;background:#17263a;color:#fff;font-size:24px;line-height:1;cursor:pointer}.utility-close-btn:hover{border-color:#fda4af;background:#4c1d2b}.utility-helper{margin:0 0 14px;color:#b9cadb;font-size:12px;line-height:1.5}.calculator-display{width:100%;box-sizing:border-box;margin-bottom:12px;padding:13px 12px;border:1px solid #67e8f999;border-radius:10px;background:#050d18;color:#f8fbff;text-align:right;font-size:28px;font-weight:700;letter-spacing:.03em}.calculator-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.calculator-grid button{min-height:46px;border:1px solid #5c7890;border-radius:9px;background:#16283a;color:#effaff;font-size:18px;font-weight:700;cursor:pointer}.calculator-grid button:hover,.calculator-grid button:focus-visible{border-color:#67e8f9;background:#1d4b5c;outline:none}.calculator-grid button.operator{background:#26336b;border-color:#818cf899;color:#e0e7ff}.calculator-grid button.equals{background:linear-gradient(135deg,#2563eb,#7c3aed);border-color:#a5b4fc}.cash-tally-rows{display:grid;gap:8px}.cash-tally-row{display:grid;grid-template-columns:70px 1fr 90px;align-items:center;gap:9px}.cash-tally-row strong{color:#f8fbff;font-size:14px}.cash-tally-row input{width:100%;box-sizing:border-box;padding:9px;border:1px solid #5c7890;border-radius:8px;background:#071321;color:#fff;font:inherit;text-align:center}.cash-tally-row output{color:#a7f3d0;text-align:right;font-size:13px}.cash-tally-total{display:flex;justify-content:space-between;margin:16px 0 12px;padding-top:12px;border-top:1px solid #ffffff24;color:#cbd5e1}.cash-tally-total strong{color:#fef08a;font-size:22px}.utility-primary-btn,.utility-secondary-btn{min-height:38px;padding:9px 14px;border:1px solid #67e8f999;border-radius:9px;background:#16334a;color:#effaff;font:inherit;font-weight:700;cursor:pointer}.utility-primary-btn{background:linear-gradient(135deg,#2563eb,#7c3aed);border-color:#a5b4fc}.utility-primary-btn:hover,.utility-secondary-btn:hover{border-color:#fff}.bookmark-editor-rows{display:grid;gap:8px;max-height:48vh;overflow:auto;padding-right:2px}.bookmark-editor-row{display:grid;grid-template-columns:28px minmax(100px,.75fr) minmax(150px,1.25fr);gap:6px;align-items:center}.bookmark-editor-row span{color:#67e8f9;font-size:12px;font-weight:800;text-align:center}.bookmark-editor-row input{min-width:0;padding:8px;border:1px solid #526b82;border-radius:7px;background:#071321;color:#f8fbff;font:inherit;font-size:12px}.bookmark-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.utility-status{min-height:18px;margin:10px 0 0;color:#a7f3d0;font-size:12px}.utility-status[data-error="true"]{color:#fca5a5}
  @media(max-width:520px){#mainApp .portal-quick-utilities{gap:5px}#mainApp .portal-bookmark-scroll-shell{order:3;flex-basis:100%;width:100%}.quick-utility-panel{padding:16px}.bookmark-editor-row{grid-template-columns:24px 1fr 1fr}.cash-tally-row{grid-template-columns:60px 1fr 78px}}

/* ===== inline-style-35 ===== */
/* Latest utility surface: keep the three requested controls above search. */
  #mainApp .portal-quick-utilities{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;order:0;visibility:visible!important;opacity:1!important}
  #mainApp .portal-quick-utilities .quick-utility-btn{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important}
  #mainApp .portal-quick-utilities .portal-bookmark-scroll-shell{display:grid!important;visibility:visible!important;opacity:1!important}#mainApp .portal-quick-utilities .portal-bookmark-slots{display:flex!important;visibility:visible!important;opacity:1!important}

/* ===== inline-style-36 ===== */
.referral-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
  .referral-stat-card{min-width:0;padding:10px 8px;border:1px solid #67e8f966;border-radius:10px;background:linear-gradient(145deg,#0f2d3d,#172554);text-align:center;box-shadow:inset 0 1px #ffffff18,0 7px 16px #02061733}
  .referral-stat-card small{display:block;color:#bfdbfe;font-size:10px;line-height:1.25;font-weight:700}
  .referral-stat-card strong{display:block;margin-top:4px;color:#f8fbff;font-size:22px;line-height:1}
  .referral-stat-card.reward-stat strong{color:#fde68a}
  @media(max-width:520px){.referral-stat-grid{gap:5px}.referral-stat-card{padding:9px 4px}.referral-stat-card small{font-size:9px}.referral-stat-card strong{font-size:19px}}

  /* Landing-only Mission experience. Kept isolated from workspace/tool coordinates. */
  #loginScreen.front-home .front-brand-mission{display:flex;align-items:center;gap:10px;min-width:0;flex:0 0 auto;margin-right:auto}
  #loginScreen.front-home .front-brand-mission .skillo-brand{margin-right:0!important}
  #loginScreen.front-home .landing-info-actions{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap}
  #loginScreen.front-home .landing-mission-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:6px 10px;border:1px solid rgba(255,255,255,.76);border-radius:999px;background:rgba(255,255,255,.18);color:#fff;font-size:10px;font-weight:900;line-height:1;letter-spacing:.15px;white-space:nowrap;cursor:pointer;text-decoration:none;box-shadow:0 4px 12px rgba(15,23,42,.12);backdrop-filter:blur(8px);transition:background .18s ease,border-color .18s ease,transform .18s ease}
  #loginScreen.front-home .landing-mission-btn:hover{background:rgba(255,255,255,.30);border-color:#fff;transform:translateY(-1px)}
  #loginScreen.front-home .landing-mission-btn:focus-visible{outline:3px solid rgba(255,255,255,.42);outline-offset:2px}
  .mission-dialog{position:fixed;inset:0;margin:auto;width:min(820px,calc(100vw - 28px));max-height:min(88vh,860px);padding:0;border:1px solid #d7e1ea;border-radius:18px;background:rgba(255,255,255,.985);color:#172033;box-shadow:0 24px 70px rgba(15,23,42,.24);overflow:hidden}
  .mission-dialog::backdrop{background:rgba(15,23,42,.28);backdrop-filter:blur(2px)}
  .mission-shell{display:flex;flex-direction:column;max-height:min(88vh,860px);background:rgba(255,255,255,.985)}
  .mission-head{position:relative;padding:25px 58px 18px 26px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#fff,#fbfdff)}
  .mission-head-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:2px}
  .mission-language-control{display:inline-flex;align-items:center;gap:7px;color:#52637f;font-size:10px;font-weight:800;white-space:nowrap}
  .mission-language-control select{min-width:104px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;padding:6px 26px 6px 9px;font:inherit;font-size:11px;font-weight:800;cursor:pointer;box-shadow:0 2px 7px rgba(15,23,42,.06)}
  .mission-language-control select:focus-visible{outline:3px solid rgba(14,165,168,.16);outline-offset:2px;border-color:#0ea5a8}
  .mission-kicker{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #b7dfe3;border-radius:999px;background:#effcfd;color:#087d8a;font-size:10px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}
  .mission-head h2{margin:12px 0 8px;color:#14213d;font-size:clamp(23px,3.3vw,34px);line-height:1.16;letter-spacing:-.4px}
  .mission-tagline{margin:0;color:#52637f;font-size:14px;line-height:1.65}
  .mission-x{position:absolute;right:16px;top:15px;width:36px;height:36px;border:1px solid #cbd5e1;border-radius:50%;background:#fff;color:#475569;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 3px 10px #0f172a12}
  .mission-x:hover{border-color:#0ea5a8;color:#0f766e;background:#f0fdfa}
  .mission-body{overflow:auto;padding:22px 26px 4px;background:rgba(255,255,255,.985)}
  .mission-letter{display:grid;gap:13px}
  .mission-letter p{margin:0;color:#334155;font-size:14px;line-height:1.78}
  .mission-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
  .mission-value{padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
  .mission-value strong{display:block;margin-bottom:5px;color:#172033;font-size:13px}
  .mission-value span{display:block;color:#52637f;font-size:12px;line-height:1.55}
  .mission-promise{margin:4px 0 16px;padding:16px 18px;border-left:4px solid #0ea5a8;border-radius:0 14px 14px 0;background:#f0fdfa;color:#164e63;font-size:14px;font-weight:750;line-height:1.65}
  .mission-footer{padding:15px 26px 19px;border-top:1px solid #e2e8f0;background:rgba(248,250,252,.96)}
  .mission-pref-row{display:flex;align-items:flex-start;gap:9px;color:#475569;font-size:12px;line-height:1.45;cursor:pointer}
  .mission-pref-row input{width:17px;height:17px;margin-top:1px;accent-color:#0f9f73;cursor:pointer}
  .mission-foot-note{margin:7px 0 0 26px;color:#64748b;font-size:10px;line-height:1.4}
  .mission-footer-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px}
  .mission-close-btn{width:38px;height:38px;border:1px solid #0f9fa6;border-radius:10px;background:#fff;color:#087d8a;padding:0;font-size:26px;line-height:1;font-weight:850;cursor:pointer;box-shadow:0 3px 10px #0f172a0d;display:inline-grid;place-items:center}
  .mission-close-btn:hover{background:#effcfd}
  @media(max-width:850px){#loginScreen.front-home .front-brand-mission{gap:6px}#loginScreen.front-home .landing-info-actions{gap:4px}#loginScreen.front-home .landing-mission-btn{padding:6px 8px;font-size:9px}.mission-head-tools{align-items:flex-start;flex-direction:column;gap:9px}.mission-language-control{align-self:flex-start}}
  @media(max-width:620px){
    #loginScreen.front-home .front-brand-mission{gap:5px}
    #loginScreen.front-home .landing-info-actions{gap:4px}
    #loginScreen.front-home .landing-mission-btn{min-width:28px;min-height:28px;padding:5px 7px;font-size:0}
    #loginScreen.front-home .landing-mission-btn::before{content:attr(data-mobile-icon);font-size:14px}
    .mission-dialog{width:calc(100vw - 16px);max-height:92vh;border-radius:15px}
    .mission-shell{max-height:92vh}
    .mission-head{padding:20px 50px 16px 18px}
    .mission-body{padding:18px 18px 2px}
    .mission-values{grid-template-columns:1fr}
    .mission-footer{padding:14px 18px 18px}
    .mission-footer-actions{align-items:stretch;flex-direction:column}
    .mission-close-btn{width:100%}
  }

/* ===== resume-template-compact-layout ===== */
#resumeTemplatePicker{padding:9px 10px;border-radius:10px}
        #resumeTemplatePicker .resume-template-picker-head{margin-bottom:7px;gap:6px;justify-content:center;text-align:center}
        #resumeTemplatePicker .resume-template-picker-head strong{font-size:12px}
        #resumeTemplatePicker .resume-template-picker-head span{font-size:11px}
        #resumeTemplatePicker .resume-template-grid{display:flex;flex-wrap:nowrap;justify-content:center;gap:7px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}
        #resumeTemplatePicker .resume-template-card{flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:0!important;display:grid;place-items:center;text-align:center;border-radius:8px}
        #resumeTemplatePicker .resume-template-card .resume-mini-preview,#resumeTemplatePicker .resume-template-card small{display:none!important}
        #resumeTemplatePicker .resume-template-code{display:block;font-size:13px;line-height:1;font-weight:900;letter-spacing:.2px}
        #resumeTemplatePicker .resume-template-card[aria-pressed="true"]{transform:translateY(-1px)}
        .resume-preview .resume-photo{display:block;object-position:center;box-sizing:border-box}
        .resume-preview.resume-template-2.has-resume-photo .resume-head,.resume-preview.resume-template-12.has-resume-photo .resume-head{text-align:center}
        .resume-preview.resume-template-2.has-resume-photo .resume-photo,.resume-preview.resume-template-12.has-resume-photo .resume-photo{float:none;margin:0 auto 12px}
        .resume-preview.resume-template-3.has-resume-photo .resume-photo,.resume-preview.resume-template-8.has-resume-photo .resume-photo{float:left;margin:0 18px 8px 0}
        .resume-preview.resume-template-4.has-resume-photo .resume-head,.resume-preview.resume-template-6.has-resume-photo .resume-head,.resume-preview.resume-template-7.has-resume-photo .resume-head,.resume-preview.resume-template-11.has-resume-photo .resume-head{display:grid;grid-template-columns:92px minmax(0,1fr);column-gap:18px;align-items:center}
        .resume-preview.resume-template-4.has-resume-photo .resume-photo,.resume-preview.resume-template-6.has-resume-photo .resume-photo,.resume-preview.resume-template-7.has-resume-photo .resume-photo,.resume-preview.resume-template-11.has-resume-photo .resume-photo{float:none;grid-column:1;grid-row:1 / span 3;width:92px;height:112px;margin:0}
        .resume-preview.resume-template-4.has-resume-photo .resume-name,.resume-preview.resume-template-4.has-resume-photo .resume-headline,.resume-preview.resume-template-4.has-resume-photo .resume-contact,.resume-preview.resume-template-6.has-resume-photo .resume-name,.resume-preview.resume-template-6.has-resume-photo .resume-headline,.resume-preview.resume-template-6.has-resume-photo .resume-contact,.resume-preview.resume-template-7.has-resume-photo .resume-name,.resume-preview.resume-template-7.has-resume-photo .resume-headline,.resume-preview.resume-template-7.has-resume-photo .resume-contact,.resume-preview.resume-template-11.has-resume-photo .resume-name,.resume-preview.resume-template-11.has-resume-photo .resume-headline,.resume-preview.resume-template-11.has-resume-photo .resume-contact{grid-column:2}
        .resume-preview.resume-template-9.has-resume-photo .resume-head{position:relative;min-height:125px}
        .resume-preview.resume-template-9.has-resume-photo .resume-photo{position:absolute;left:calc(-48px - 8%);top:0;float:none;width:82px;height:105px;margin:0}
        @media(max-width:650px){#resumeTemplatePicker .resume-template-grid{justify-content:flex-start}#resumeTemplatePicker .resume-template-card{flex-basis:38px;width:38px;height:38px;min-height:38px}#resumeTemplatePicker .resume-template-code{font-size:12px}.resume-preview.resume-template-4.has-resume-photo .resume-head,.resume-preview.resume-template-6.has-resume-photo .resume-head,.resume-preview.resume-template-7.has-resume-photo .resume-head,.resume-preview.resume-template-11.has-resume-photo .resume-head{grid-template-columns:76px minmax(0,1fr);column-gap:12px}.resume-preview.resume-template-4.has-resume-photo .resume-photo,.resume-preview.resume-template-6.has-resume-photo .resume-photo,.resume-preview.resume-template-7.has-resume-photo .resume-photo,.resume-preview.resume-template-11.has-resume-photo .resume-photo{width:76px;height:96px}}

/* ===== resume-reference-layouts ===== */
#resumePreviewPanel{width:100%;max-width:100%;box-sizing:border-box}
        #resumeTemplatePicker{text-align:center}
        #resumePreviewPanel .resume-preview{width:100%;max-width:820px;box-sizing:border-box;overflow-wrap:anywhere}
        .resume-preview.resume-template-13,.resume-preview.resume-template-14,.resume-preview.resume-template-15,.resume-preview.resume-template-16{display:grid;align-content:start;padding:0;border-radius:0;min-height:var(--resume-a4-height,1160px);overflow:hidden}
        .resume-preview.resume-template-13{grid-template-columns:36% 64%;background:linear-gradient(90deg,#686665 0 36%,#f7f6f3 36%);color:#4d4b4a}
        .resume-preview.resume-template-13.has-resume-photo .resume-head{grid-column:1/-1;display:grid;grid-template-columns:36% 64%;align-items:center;min-height:180px;margin:0;padding:38px 44px 20px;border:0;background:#f7f6f3;box-sizing:border-box}
        .resume-preview.resume-template-13.has-resume-photo .resume-photo{float:none;grid-column:1;grid-row:1/span 3;width:170px;height:170px;margin:-4px auto 0;border:4px solid #686665;border-radius:50%}
        .resume-preview.resume-template-13.has-resume-photo .resume-name,.resume-preview.resume-template-13.has-resume-photo .resume-headline,.resume-preview.resume-template-13.has-resume-photo .resume-contact{grid-column:2}
        .resume-preview.resume-template-13 .resume-section{margin:0;padding:19px 34px 0;break-inside:avoid}
        .resume-preview.resume-template-13 .resume-section[data-resume-section="summary"],.resume-preview.resume-template-13 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-13 .resume-section[data-resume-section="languages"]{grid-column:1;padding-left:40px;padding-right:28px;color:#fff}
        .resume-preview.resume-template-13 .resume-section[data-resume-section="experience"],.resume-preview.resume-template-13 .resume-section[data-resume-section="education"],.resume-preview.resume-template-13 .resume-section[data-resume-section="certifications"],.resume-preview.resume-template-13 .resume-section[data-resume-section="achievements"]{grid-column:2;padding-left:32px;padding-right:40px}
        .resume-preview.resume-template-13 .resume-section[data-resume-section="summary"] h3,.resume-preview.resume-template-13 .resume-section[data-resume-section="skills"] h3,.resume-preview.resume-template-13 .resume-section[data-resume-section="languages"] h3{color:#fff;border-bottom-color:#ffffff66}
        .resume-preview.resume-template-13 .resume-section[data-resume-section="summary"] p,.resume-preview.resume-template-13 .resume-section[data-resume-section="skills"] .resume-skill,.resume-preview.resume-template-13 .resume-section[data-resume-section="languages"] li{color:#fff}
        .resume-preview.resume-template-13 .resume-section[data-resume-section="summary"] .resume-item-title,.resume-preview.resume-template-13 .resume-section[data-resume-section="skills"] .resume-item-title,.resume-preview.resume-template-13 .resume-section[data-resume-section="languages"] .resume-item-title{color:#fff}
        .resume-preview.resume-template-13 .resume-section[data-resume-section="skills"] .resume-skill{background:#ffffff1c;border:1px solid #ffffff66}
        .resume-preview.resume-template-14{grid-template-columns:38% 62%;background:linear-gradient(90deg,#f2dfe0 0 38%,#fff 38%);color:#2d2b2d}
        .resume-preview.resume-template-14.has-resume-photo .resume-head{grid-column:1/-1;display:grid;grid-template-columns:38% 62%;align-items:center;min-height:250px;margin:0;padding:42px 48px 24px;border:0;background:transparent;box-sizing:border-box}
        .resume-preview.resume-template-14.has-resume-photo .resume-photo{float:none;grid-column:1;grid-row:1/span 3;width:226px;height:226px;margin:0 auto;border:8px solid #fff;outline:2px solid #b98d78;border-radius:0}
        .resume-preview.resume-template-14.has-resume-photo .resume-name,.resume-preview.resume-template-14.has-resume-photo .resume-headline,.resume-preview.resume-template-14.has-resume-photo .resume-contact{grid-column:2}
        .resume-preview.resume-template-14 .resume-name{font-family:'Brush Script MT','Segoe Script',cursive;font-size:48px;line-height:.94;letter-spacing:0;color:#262426}
        .resume-preview.resume-template-14 .resume-headline{font-family:Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:4px;color:#2d2b2d}
        .resume-preview.resume-template-14 .resume-section{margin:0;padding:18px 32px 0;break-inside:avoid}
        .resume-preview.resume-template-14 .resume-section[data-resume-section="summary"],.resume-preview.resume-template-14 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-14 .resume-section[data-resume-section="languages"]{grid-column:1;padding-left:38px;padding-right:30px}
        .resume-preview.resume-template-14 .resume-section[data-resume-section="experience"],.resume-preview.resume-template-14 .resume-section[data-resume-section="education"],.resume-preview.resume-template-14 .resume-section[data-resume-section="certifications"],.resume-preview.resume-template-14 .resume-section[data-resume-section="achievements"]{grid-column:2;padding-left:30px;padding-right:42px}
        .resume-preview.resume-template-14 .resume-section[data-resume-section="summary"] h3,.resume-preview.resume-template-14 .resume-section[data-resume-section="skills"] h3,.resume-preview.resume-template-14 .resume-section[data-resume-section="languages"] h3{background:#fff;border:0;padding:6px;text-align:center;color:#2d2b2d;letter-spacing:1px}
        .resume-preview.resume-template-14 .resume-section[data-resume-section="experience"] h3,.resume-preview.resume-template-14 .resume-section[data-resume-section="education"] h3,.resume-preview.resume-template-14 .resume-section[data-resume-section="certifications"] h3,.resume-preview.resume-template-14 .resume-section[data-resume-section="achievements"] h3{background:#f2dfe0;border:0;padding:6px 10px;color:#2d2b2d;letter-spacing:1px}
        .resume-preview.resume-template-15{grid-template-columns:36% 64%;background:linear-gradient(90deg,#4b5054 0 36%,#fff 36%);color:#4a4f53}
        .resume-preview.resume-template-15.has-resume-photo .resume-head{grid-column:1/-1;display:grid;grid-template-columns:36% 64%;align-items:center;min-height:205px;margin:0;padding:36px 44px 24px;border:0;background:transparent;box-sizing:border-box}
        .resume-preview.resume-template-15.has-resume-photo .resume-photo{float:none;grid-column:1;grid-row:1/span 3;width:150px;height:150px;margin:0 auto;border:4px solid #fff;border-radius:50%}
        .resume-preview.resume-template-15.has-resume-photo .resume-name,.resume-preview.resume-template-15.has-resume-photo .resume-headline,.resume-preview.resume-template-15.has-resume-photo .resume-contact{grid-column:2}
        .resume-preview.resume-template-15 .resume-name{font-size:38px;letter-spacing:.11em;text-transform:uppercase;color:#4b5054}
        .resume-preview.resume-template-15 .resume-headline{font-size:17px;letter-spacing:.2em;color:#4b5054}
        .resume-preview.resume-template-15 .resume-section{margin:0;padding:18px 32px 0;break-inside:avoid}
        .resume-preview.resume-template-15 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-15 .resume-section[data-resume-section="education"],.resume-preview.resume-template-15 .resume-section[data-resume-section="languages"]{grid-column:1;padding-left:38px;padding-right:28px;color:#fff}
        .resume-preview.resume-template-15 .resume-section[data-resume-section="summary"],.resume-preview.resume-template-15 .resume-section[data-resume-section="experience"],.resume-preview.resume-template-15 .resume-section[data-resume-section="certifications"],.resume-preview.resume-template-15 .resume-section[data-resume-section="achievements"]{grid-column:2;padding-left:32px;padding-right:40px}
        .resume-preview.resume-template-15 .resume-section[data-resume-section="skills"] h3,.resume-preview.resume-template-15 .resume-section[data-resume-section="education"] h3,.resume-preview.resume-template-15 .resume-section[data-resume-section="languages"] h3{color:#fff;border-bottom-color:#ffffff66}
        .resume-preview.resume-template-15 .resume-section[data-resume-section="skills"] p,.resume-preview.resume-template-15 .resume-section[data-resume-section="education"] p,.resume-preview.resume-template-15 .resume-section[data-resume-section="languages"] p,.resume-preview.resume-template-15 .resume-section[data-resume-section="skills"] li,.resume-preview.resume-template-15 .resume-section[data-resume-section="education"] li,.resume-preview.resume-template-15 .resume-section[data-resume-section="languages"] li{color:#fff}
        .resume-preview.resume-template-15 .resume-section[data-resume-section="skills"] .resume-item-title,.resume-preview.resume-template-15 .resume-section[data-resume-section="education"] .resume-item-title,.resume-preview.resume-template-15 .resume-section[data-resume-section="languages"] .resume-item-title{color:#fff}
        .resume-preview.resume-template-15 .resume-section[data-resume-section="skills"] .resume-skill{background:#ffffff1c;color:#fff;border:1px solid #ffffff66}
        .resume-preview.resume-template-16{grid-template-columns:40% 60%;background:linear-gradient(90deg,#709b9a 0 40%,transparent 40%),linear-gradient(180deg,#edc6b5 0 29%,#fff 29%);color:#2b2a2a}
        .resume-preview.resume-template-16.has-resume-photo .resume-head{grid-column:1/-1;display:grid;grid-template-columns:40% 60%;align-items:center;min-height:260px;margin:0;padding:54px 52px 26px;border:0;background:transparent;box-sizing:border-box}
        .resume-preview.resume-template-16.has-resume-photo .resume-photo{float:none;grid-column:1;grid-row:1/span 3;width:188px;height:188px;margin:28px auto 0;border:5px solid #fff;border-radius:50%}
        .resume-preview.resume-template-16.has-resume-photo .resume-name,.resume-preview.resume-template-16.has-resume-photo .resume-headline,.resume-preview.resume-template-16.has-resume-photo .resume-contact{grid-column:2}
        .resume-preview.resume-template-16 .resume-name{font-family:Georgia,'Times New Roman',serif;font-size:41px;line-height:1.08;letter-spacing:.08em;text-transform:uppercase;color:#222}
        .resume-preview.resume-template-16 .resume-headline{font-family:Georgia,'Times New Roman',serif;font-size:19px;font-style:italic;font-weight:400;color:#222}
        .resume-preview.resume-template-16 .resume-section{margin:0;padding:18px 32px 0;break-inside:avoid}
        .resume-preview.resume-template-16 .resume-section[data-resume-section="summary"]{grid-column:1;padding-left:40px;padding-right:30px;color:#fff}
        .resume-preview.resume-template-16 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-16 .resume-section[data-resume-section="experience"],.resume-preview.resume-template-16 .resume-section[data-resume-section="education"],.resume-preview.resume-template-16 .resume-section[data-resume-section="certifications"],.resume-preview.resume-template-16 .resume-section[data-resume-section="languages"],.resume-preview.resume-template-16 .resume-section[data-resume-section="achievements"]{grid-column:2;padding-left:32px;padding-right:42px}
        .resume-preview.resume-template-16 .resume-section[data-resume-section="summary"] h3{color:#fff;border-bottom-color:#ffffff66}
        .resume-preview.resume-template-16 .resume-section[data-resume-section="summary"] p,.resume-preview.resume-template-16 .resume-section[data-resume-section="summary"] li{color:#fff}
        .resume-preview.resume-template-16 .resume-section[data-resume-section="summary"] .resume-item-title{color:#fff}
        .resume-preview.resume-template-16 .resume-section[data-resume-section="summary"] .resume-skill{background:#ffffff1c;color:#fff;border:1px solid #ffffff66}
         .resume-preview.resume-template-16 .resume-section:not([data-resume-section="summary"]) h3{border:0;color:#2b2a2a;letter-spacing:1.5px}
         .resume-preview.resume-template-16 .resume-section:not([data-resume-section="summary"]) h3::before{content:'›';display:inline-block;margin-right:9px;color:#709b9a;font-size:26px;line-height:12px;vertical-align:-2px}
         /* Keep side-column resume text readable instead of clipping or stacking lines. */
         .resume-preview.resume-template-13,.resume-preview.resume-template-14,.resume-preview.resume-template-15,.resume-preview.resume-template-16{overflow:visible}
         .resume-preview.resume-template-13>*,.resume-preview.resume-template-14>*,.resume-preview.resume-template-15>*,.resume-preview.resume-template-16>*{min-width:0}
         .resume-preview.resume-template-13 .resume-section,.resume-preview.resume-template-14 .resume-section,.resume-preview.resume-template-15 .resume-section,.resume-preview.resume-template-16 .resume-section{min-width:0;overflow-wrap:anywhere}
         .resume-preview.resume-template-13 .resume-section p,.resume-preview.resume-template-13 .resume-section li,.resume-preview.resume-template-13 .resume-item,.resume-preview.resume-template-14 .resume-section p,.resume-preview.resume-template-14 .resume-section li,.resume-preview.resume-template-14 .resume-item,.resume-preview.resume-template-15 .resume-section p,.resume-preview.resume-template-15 .resume-section li,.resume-preview.resume-template-15 .resume-item,.resume-preview.resume-template-16 .resume-section p,.resume-preview.resume-template-16 .resume-section li,.resume-preview.resume-template-16 .resume-item{line-height:1.58;overflow-wrap:anywhere;word-break:break-word}
         .resume-preview.resume-template-13 .resume-section h3,.resume-preview.resume-template-14 .resume-section h3,.resume-preview.resume-template-15 .resume-section h3,.resume-preview.resume-template-16 .resume-section h3{line-height:1.35;margin-bottom:12px}
         .resume-preview.resume-template-13 .resume-section+.resume-section,.resume-preview.resume-template-14 .resume-section+.resume-section,.resume-preview.resume-template-15 .resume-section+.resume-section,.resume-preview.resume-template-16 .resume-section+.resume-section{padding-top:24px}
         #resumeBasicFields textarea{min-height:120px;line-height:1.6;padding:10px;box-sizing:border-box}
         #resumeBasicFields #resumeEducation{min-height:200px}
         .resume-preview.resume-template-13.no-resume-photo .resume-head,.resume-preview.resume-template-14.no-resume-photo .resume-head,.resume-preview.resume-template-15.no-resume-photo .resume-head,.resume-preview.resume-template-16.no-resume-photo .resume-head{grid-column:1/-1;display:block;min-height:0;padding:42px 48px 24px;margin:0;border:0;background:transparent}
        @media(max-width:650px){
          #resumePreviewPanel .resume-preview.resume-template-13,#resumePreviewPanel .resume-preview.resume-template-14,#resumePreviewPanel .resume-preview.resume-template-15,#resumePreviewPanel .resume-preview.resume-template-16{display:block;min-height:0;background:#fff}
          .resume-preview.resume-template-13.has-resume-photo .resume-head,.resume-preview.resume-template-14.has-resume-photo .resume-head,.resume-preview.resume-template-15.has-resume-photo .resume-head,.resume-preview.resume-template-16.has-resume-photo .resume-head{display:block;padding:28px 22px 18px;min-height:0;background:#fff}
          .resume-preview.resume-template-13.has-resume-photo .resume-photo,.resume-preview.resume-template-14.has-resume-photo .resume-photo,.resume-preview.resume-template-15.has-resume-photo .resume-photo,.resume-preview.resume-template-16.has-resume-photo .resume-photo{display:block;width:118px;height:118px;margin:0 auto 14px}
          .resume-preview.resume-template-13 .resume-section,.resume-preview.resume-template-14 .resume-section,.resume-preview.resume-template-15 .resume-section,.resume-preview.resume-template-16 .resume-section{padding:16px 22px!important;margin:0}
          .resume-preview.resume-template-13 .resume-section[data-resume-section="summary"],.resume-preview.resume-template-13 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-13 .resume-section[data-resume-section="languages"],.resume-preview.resume-template-15 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-15 .resume-section[data-resume-section="education"],.resume-preview.resume-template-15 .resume-section[data-resume-section="languages"],.resume-preview.resume-template-16 .resume-section[data-resume-section="summary"]{background:#686665;color:#fff}
          .resume-preview.resume-template-14 .resume-section[data-resume-section="summary"],.resume-preview.resume-template-14 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-14 .resume-section[data-resume-section="languages"]{background:#f2dfe0}
          .resume-preview.resume-template-15 .resume-section[data-resume-section="skills"],.resume-preview.resume-template-15 .resume-section[data-resume-section="education"],.resume-preview.resume-template-15 .resume-section[data-resume-section="languages"]{background:#4b5054}
          .resume-preview.resume-template-16 .resume-name{font-size:31px}.resume-preview.resume-template-14 .resume-name{font-size:39px}.resume-preview.resume-template-15 .resume-name{font-size:30px}
        }
        /* Conversational resume layout overrides. These classes are generated from the
           chatbot's structured layout state and intentionally take precedence over a
           template's default photo/alignment rules. */
        .resume-preview.layout-photo-left .resume-head,
        .resume-preview.layout-photo-center .resume-head,
        .resume-preview.layout-photo-right .resume-head{display:block!important;min-height:0!important;grid-template-columns:none!important}
        .resume-preview.layout-photo-left .resume-photo{float:left!important;position:static!important;grid-column:auto!important;grid-row:auto!important;margin:0 18px 8px 0!important}
        .resume-preview.layout-photo-right .resume-photo{float:right!important;position:static!important;grid-column:auto!important;grid-row:auto!important;margin:0 0 8px 18px!important}
        .resume-preview.layout-photo-center .resume-photo{float:none!important;position:static!important;display:block!important;grid-column:auto!important;grid-row:auto!important;margin:0 auto 12px!important}
        .resume-preview.layout-photo-hidden .resume-photo{display:none!important}
        .resume-preview.layout-photo-left .resume-head:after,
        .resume-preview.layout-photo-right .resume-head:after{content:'';display:block;clear:both}
        .resume-preview.name-align-left .resume-name{text-align:left!important}
        .resume-preview.name-align-center .resume-name{text-align:center!important}
        .resume-preview.name-align-right .resume-name{text-align:right!important}
        .resume-preview.headline-align-left .resume-headline{text-align:left!important}
        .resume-preview.headline-align-center .resume-headline{text-align:center!important}
        .resume-preview.headline-align-right .resume-headline{text-align:right!important}
        .resume-preview.contact-align-left .resume-contact{justify-content:flex-start!important;text-align:left!important}
        .resume-preview.contact-align-center .resume-contact{justify-content:center!important;text-align:center!important}
        .resume-preview.contact-align-right .resume-contact{justify-content:flex-end!important;text-align:right!important}

/* ===== ai-resume-a4-auto-density-v1 ===== */
.resume-preview.resume-fit-relaxed:not(.resume-template-13):not(.resume-template-14):not(.resume-template-15):not(.resume-template-16),
.resume-preview.resume-fit-spacious:not(.resume-template-13):not(.resume-template-14):not(.resume-template-15):not(.resume-template-16){display:flex;flex-direction:column;justify-content:space-between}
.resume-preview.resume-fit-spacious .resume-head{padding-bottom:22px;margin-bottom:26px}
.resume-preview.resume-fit-spacious .resume-section p,
.resume-preview.resume-fit-spacious .resume-item ul{line-height:1.55}
.resume-preview.resume-fit-spacious .resume-item{margin-bottom:15px}
.resume-preview.resume-fit-compact{line-height:1.32}
.resume-preview.resume-fit-compact .resume-head{padding-bottom:12px;margin-bottom:14px}
.resume-preview.resume-fit-compact .resume-headline{margin-bottom:7px}
.resume-preview.resume-fit-compact .resume-section{margin-bottom:13px}
.resume-preview.resume-fit-compact .resume-section h3{padding-bottom:3px;margin-bottom:6px}
.resume-preview.resume-fit-compact .resume-section p{margin-bottom:4px;line-height:1.32}
.resume-preview.resume-fit-compact .resume-item{margin-bottom:8px}
.resume-preview.resume-fit-compact .resume-item ul{margin-top:2px;line-height:1.3}
.resume-preview.resume-fit-tight{line-height:1.24}
.resume-preview.resume-fit-tight .resume-head{padding-bottom:9px;margin-bottom:10px}
.resume-preview.resume-fit-tight .resume-name{font-size:29px}
.resume-preview.resume-fit-tight .resume-headline{font-size:14px;margin-bottom:6px}
.resume-preview.resume-fit-tight .resume-contact{font-size:11px;gap:7px}
.resume-preview.resume-fit-tight .resume-section{margin-bottom:9px}
.resume-preview.resume-fit-tight .resume-section h3{font-size:12px;padding-bottom:2px;margin-bottom:4px}
.resume-preview.resume-fit-tight .resume-section p,
.resume-preview.resume-fit-tight .resume-item ul{font-size:12px;line-height:1.24}
.resume-preview.resume-fit-tight .resume-item{margin-bottom:6px}
.resume-preview.resume-fit-tight .resume-item-title{font-size:13px}
.resume-preview.resume-fit-tight .resume-item-meta{font-size:11px;margin:1px 0 3px}
.resume-preview.resume-fit-tight .resume-skill{padding:3px 7px;font-size:10px}
.resume-preview.resume-template-13.resume-fit-relaxed,
.resume-preview.resume-template-14.resume-fit-relaxed,
.resume-preview.resume-template-15.resume-fit-relaxed,
.resume-preview.resume-template-16.resume-fit-relaxed,
.resume-preview.resume-template-13.resume-fit-spacious,
.resume-preview.resume-template-14.resume-fit-spacious,
.resume-preview.resume-template-15.resume-fit-spacious,
.resume-preview.resume-template-16.resume-fit-spacious{align-content:space-between}
.resume-preview.resume-template-13.resume-fit-spacious .resume-section,
.resume-preview.resume-template-14.resume-fit-spacious .resume-section,
.resume-preview.resume-template-15.resume-fit-spacious .resume-section,
.resume-preview.resume-template-16.resume-fit-spacious .resume-section{padding-top:26px}
.resume-preview.resume-template-13.resume-fit-compact .resume-section,
.resume-preview.resume-template-14.resume-fit-compact .resume-section,
.resume-preview.resume-template-15.resume-fit-compact .resume-section,
.resume-preview.resume-template-16.resume-fit-compact .resume-section,
.resume-preview.resume-template-13.resume-fit-compact .resume-section+.resume-section,
.resume-preview.resume-template-14.resume-fit-compact .resume-section+.resume-section,
.resume-preview.resume-template-15.resume-fit-compact .resume-section+.resume-section,
.resume-preview.resume-template-16.resume-fit-compact .resume-section+.resume-section{padding-top:12px}
.resume-preview.resume-template-13.resume-fit-tight .resume-section,
.resume-preview.resume-template-14.resume-fit-tight .resume-section,
.resume-preview.resume-template-15.resume-fit-tight .resume-section,
.resume-preview.resume-template-16.resume-fit-tight .resume-section,
.resume-preview.resume-template-13.resume-fit-tight .resume-section+.resume-section,
.resume-preview.resume-template-14.resume-fit-tight .resume-section+.resume-section,
.resume-preview.resume-template-15.resume-fit-tight .resume-section+.resume-section,
.resume-preview.resume-template-16.resume-fit-tight .resume-section+.resume-section{padding-top:8px}

/* ===== ai-resume-live-document-editor-v1 ===== */
.resume-preview.resume-document-flow{display:block!important;align-content:initial!important;position:relative;overflow:visible!important;background:#fff!important;color:#172033!important}
.resume-preview.resume-document-flow .resume-doc-block{position:relative;box-sizing:border-box;width:var(--resume-block-width,100%);max-width:100%;min-width:0;break-inside:avoid;transition:width .12s ease,margin .12s ease,outline-color .12s ease}
.resume-preview.resume-document-flow .resume-doc-block[data-block-align="left"]{margin-left:0;margin-right:auto}
.resume-preview.resume-document-flow .resume-doc-block[data-block-align="center"]{margin-left:auto;margin-right:auto}
.resume-preview.resume-document-flow .resume-doc-block[data-block-align="right"]{margin-left:auto;margin-right:0}
.resume-preview.resume-document-flow .resume-doc-table{width:100%;border-collapse:collapse;table-layout:auto;margin:5px 0 8px;font-size:11px;line-height:1.35}
.resume-preview.resume-document-flow .resume-doc-table th,
.resume-preview.resume-document-flow .resume-doc-table td{border:1px solid #94a3b8;padding:5px 6px;vertical-align:top;text-align:left;overflow-wrap:anywhere;word-break:normal}
.resume-preview.resume-document-flow .resume-doc-table thead th{background:#e8eef6;color:#172033;font-weight:800}
.resume-preview.resume-document-flow .resume-doc-keyvalue th{width:34%;background:#f1f5f9;color:#334155;font-weight:800}
.resume-preview.resume-document-flow .resume-doc-text{white-space:pre-wrap}
.resume-preview.resume-document-flow .resume-doc-list{margin:4px 0 6px;padding-left:20px}
.resume-preview.resume-document-flow .resume-doc-list li{margin:0 0 4px}
.resume-document-tools{float:right;display:inline-flex;align-items:center;gap:6px;margin-left:10px}
.resume-document-tool{min-height:28px!important;margin:0!important;padding:4px 8px!important;border:1px solid #94a3b8!important;border-radius:7px!important;background:#f8fafc!important;color:#1e293b!important;font-size:10px!important;font-weight:800!important;cursor:pointer}
.resume-document-tool[aria-pressed="true"]{background:#0f766e!important;border-color:#0f766e!important;color:#fff!important}
.resume-doc-block-tools,.resume-doc-resize{display:none}
.resume-layout-editing .resume-doc-block{outline:2px dashed #0ea5e9;outline-offset:3px;cursor:text}
.resume-layout-editing .resume-doc-block:hover{outline-color:#2563eb;background:#eff6ff2e}
.resume-layout-editing .resume-doc-block.is-dragging{opacity:.58;outline-style:solid}
.resume-layout-editing .resume-doc-block-tools{display:flex;position:absolute;z-index:8;right:0;top:-28px;gap:3px;padding:3px;border:1px solid #94a3b8;border-radius:7px;background:#fff;box-shadow:0 4px 12px #0f172a22}
.resume-layout-editing .resume-doc-block-tools button{display:grid;place-items:center;min-width:25px;height:22px;margin:0;padding:1px 5px;border:1px solid #cbd5e1;border-radius:5px;background:#f8fafc;color:#172033;font:700 10px/1 Arial,sans-serif;cursor:pointer}
.resume-layout-editing .resume-doc-block-tools button:hover{background:#dbeafe;border-color:#60a5fa}
.resume-layout-editing .resume-doc-drag{cursor:grab!important}
.resume-layout-editing .resume-doc-drag:active{cursor:grabbing!important}
.resume-layout-editing .resume-doc-resize{display:block;position:absolute;z-index:8;right:-7px;bottom:-7px;width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#2563eb;box-shadow:0 1px 5px #0f172a66;cursor:ew-resize;touch-action:none}
.resume-layout-editing .resume-doc-block[data-block-align="right"] .resume-doc-resize{right:auto;left:-7px}
@media(max-width:650px){
  .resume-preview.resume-document-flow:not(.resume-source-layout) .resume-doc-block{width:100%!important;margin-left:0!important;margin-right:0!important}
  .resume-layout-editing .resume-doc-resize{display:none}
  .resume-layout-editing .resume-doc-block-tools{position:sticky;top:0;justify-content:flex-end;margin:-22px 0 4px auto;width:max-content}
  .resume-document-tools{float:none;display:flex;margin:8px 0 0;clear:both}
}

/* ===== ai-resume-source-fidelity-editor-v1 ===== */
.resume-coverage-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border:1px solid #94a3b8;border-radius:999px;background:#f8fafc;color:#334155;font-size:10px;font-weight:800;white-space:nowrap}
.resume-coverage-badge[data-state="verified"]{border-color:#16a34a;background:#f0fdf4;color:#166534}
.resume-coverage-badge[data-state="partial"]{border-color:#d97706;background:#fffbeb;color:#92400e}
.resume-preview.resume-source-layout{display:grid!important;gap:18px!important;padding:0!important;min-height:0!important;max-width:820px!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.resume-preview.resume-source-layout .resume-source-page{position:relative;width:100%;aspect-ratio:210/297;box-sizing:border-box;background:#fff;color:#172033;overflow:hidden;border:1px solid #cbd5e1;box-shadow:0 12px 28px rgba(2,6,23,.18);isolation:isolate}
.resume-source-page-label{display:none;position:absolute;z-index:100;left:6px;top:6px;padding:3px 6px;border-radius:999px;background:#0f172acc;color:#fff;font:700 9px/1.2 Arial,sans-serif;pointer-events:none}
.resume-layout-editing .resume-source-page-label{display:block}
.resume-preview.resume-source-layout .resume-source-block{position:absolute!important;box-sizing:border-box!important;margin:0!important;padding:0!important;max-width:none!important;min-width:0!important;overflow:visible;transform:none!important;break-inside:avoid}
.resume-preview.resume-source-layout .resume-source-block>h3{margin:0 0 .22em!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font:inherit!important;font-weight:800!important;letter-spacing:normal!important;text-transform:none!important;line-height:inherit!important}
.resume-preview.resume-source-layout .resume-source-block>.resume-doc-text{margin:0!important;padding:0!important;font:inherit!important;color:inherit!important;line-height:inherit!important;white-space:pre-wrap}
.resume-preview.resume-source-layout .resume-source-block .resume-doc-list{margin:0!important;padding-left:1.25em!important;font:inherit!important;line-height:inherit!important}
.resume-preview.resume-source-layout .resume-source-block .resume-doc-list li{margin:0 0 .12em!important}
.resume-preview.resume-source-layout .resume-source-block .resume-doc-table{width:100%!important;height:auto;margin:0!important;border-collapse:collapse!important;table-layout:fixed;font:inherit!important;line-height:inherit!important;color:inherit!important;background:transparent}
.resume-preview.resume-source-layout .resume-source-block .resume-doc-table th,
.resume-preview.resume-source-layout .resume-source-block .resume-doc-table td{padding:.28em .38em!important;border:1px solid currentColor!important;background:transparent!important;color:inherit!important;font:inherit!important;vertical-align:top;overflow-wrap:anywhere}
.resume-preview.resume-source-layout .resume-doc-rule{min-height:0!important;height:0!important;border:0!important;border-top:1px solid currentColor!important}
.resume-preview.resume-source-layout .resume-doc-box{min-height:1px}
.resume-preview.resume-source-layout .resume-doc-block-tools [data-block-move],
.resume-preview.resume-source-layout .resume-doc-block-tools [data-block-align-cycle]{display:none!important}
.resume-preview.resume-source-layout.resume-layout-editing .resume-source-block{outline:1.5px dashed #0284c7!important;outline-offset:2px;cursor:text}
.resume-preview.resume-source-layout.resume-layout-editing .resume-doc-drag{cursor:move!important}
.resume-preview.resume-source-layout.resume-layout-editing .resume-doc-resize{display:block!important;right:-7px!important;left:auto!important;bottom:-7px!important;cursor:nwse-resize!important}
@media(max-width:650px){
  .resume-preview.resume-source-layout{width:100%!important;max-width:100%!important;gap:10px!important}
  .resume-preview.resume-source-layout .resume-source-block{margin:0!important}
  .resume-preview.resume-source-layout.resume-layout-editing .resume-doc-resize{display:block!important}
  .resume-document-tools{flex-wrap:wrap}
  .resume-coverage-badge{width:100%;justify-content:center}
}
@media print{
  @page{size:A4 portrait;margin:0}
  body.resume-printing{background:#fff!important}
  body.resume-printing *{visibility:hidden!important}
  body.resume-printing #resumePreviewPanel,
  body.resume-printing #resumePreviewPanel *,
  body.resume-printing #resumePreview,
  body.resume-printing #resumePreview *{visibility:visible!important}
  body.resume-printing #resumePreviewPanel{display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important}
  body.resume-printing #resumePreviewPanel>:not(#resumePreview){display:none!important}
  body.resume-printing #resumePreview{display:block!important;width:210mm!important;max-width:210mm!important;min-height:297mm!important;margin:0 auto!important;padding:10mm 12mm!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
  body.resume-printing #resumePreview.resume-source-layout{padding:0!important;min-height:0!important;background:#fff!important}
  body.resume-printing #resumePreview.resume-source-layout .resume-source-page{width:210mm!important;height:297mm!important;aspect-ratio:auto!important;margin:0!important;border:0!important;box-shadow:none!important;break-after:page;page-break-after:always}
  body.resume-printing #resumePreview.resume-source-layout .resume-source-page:last-child{break-after:auto;page-break-after:auto}
  body.resume-printing .resume-doc-block-tools,
  body.resume-printing .resume-doc-resize,
  body.resume-printing .resume-source-page-label,
  body.resume-printing .resume-document-tools{display:none!important}
}

/* ===== public-landing-policy-visibility ===== */
/* Public policy links belong only to the visible public landing screen. */
  #landingPolicyStrip,
  #landingMetrics,
  .op-footer { display: none !important; }
  html:not(.workspace-route) body:has(#loginScreen.front-home:not([style*="display: none"])) #landingPolicyStrip { display: flex !important; }
  html:not(.workspace-route) body:has(#loginScreen.front-home:not([style*="display: none"])) #landingMetrics { display: flex !important; }
  html:not(.workspace-route) body:has(#loginScreen.front-home:not([style*="display: none"])) .op-footer { display: block !important; }

/* ===== reference-led-ui-final ===== */
/* Reference-led final UI. This layer owns presentation only; existing IDs,
     handlers, upload flows and portal permissions remain unchanged. */
  :root {
    --ref-navy: #14213d;
    --ref-ink: #17233e;
    --ref-muted: #66758d;
    --ref-line: #d7e2eb;
    --ref-surface: #ffffff;
    --ref-soft: #f4f8fb;
    --ref-teal: #10aeb7;
    --ref-blue: #2b78e4;
    --ref-orange: #ff7a2f;
    --ref-green: #13c77a;
    --ref-shadow: 0 16px 36px rgba(35, 55, 79, .12);
  }
  html { background: #f4f8fb !important; }
  body,
  body.op-light {
    min-height: 100vh;
    background: linear-gradient(135deg, #f2f9fc 0%, #ffffff 47%, #fff5ed 100%) !important;
    color: var(--ref-ink) !important;
    padding: 0 0 30px !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .45;
    background: radial-gradient(circle at 8% 8%, rgba(16,174,183,.12), transparent 28%), radial-gradient(circle at 95% 18%, rgba(255,122,47,.12), transparent 30%);
    z-index: -1;
  }
  body:has(#loginScreen.front-home),
  body:has(#mainApp[style*="display: block"]),
  body:has(#mainApp[style*="display: grid"]) {
    background: linear-gradient(135deg, #f2f9fc 0%, #ffffff 48%, #fff5ed 100%) !important;
  }
  .portal-main-heading { display: none !important; }
  /* Public landing and sign-in shell. */
  body:has(#loginScreen.front-home) { padding: 0 0 28px !important; }
  #loginScreen.front-home {
    position: relative;
    width: min(1560px, 100%) !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 auto !important;
    padding: 0 30px 34px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr) !important;
    grid-template-rows: auto auto auto auto auto auto auto auto !important;
    gap: 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ref-ink) !important;
    overflow: visible !important;
  }
  #loginScreen.front-home .front-nav {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    min-height: 76px;
    margin: 0 -30px !important;
    padding: 12px 30px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.35) !important;
    border-radius: 0 !important;
    background: linear-gradient(100deg, #06aebd 0%, #28b79b 42%, #ff8a36 100%) !important;
    box-shadow: 0 8px 22px rgba(24, 86, 111, .16) !important;
    color: #fff !important;
  }
  #loginScreen.front-home .front-nav .skillo-brand,
  #loginScreen.front-home .front-nav-links a,
  #loginScreen.front-home .front-language { color: #fff !important; text-shadow: none !important; }
  #loginScreen.front-home .front-nav .skillo-brand { font-size: 17px !important; }
  #loginScreen.front-home .skillo-logo-box,
  #loginScreen.front-home .skillo-brand > img {
    border: 2px solid rgba(255,255,255,.82) !important;
    background: linear-gradient(145deg, #fff, #c9eef0) !important;
    box-shadow: 0 5px 14px rgba(10, 67, 86, .22) !important;
  }
  #loginScreen.front-home .skillo-logo-fallback { color: var(--ref-navy) !important; }
  #loginScreen.front-home .skillo-brand small { color: #eaffff !important; }
  #loginScreen.front-home .front-nav-links a { font-size: 12px !important; text-transform: none !important; }
  #loginScreen.front-home .front-nav-links a:hover { color: #fff !important; opacity: .78; text-shadow: none !important; }
  #loginScreen.front-home .front-language { right: 78px !important; top: 17px !important; margin: 0 !important; }
  #loginScreen.front-home .front-language select {
    min-height: 38px;
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.7) !important;
    color: #fff !important;
  }
  #loginScreen.front-home .front-language select option { color: var(--ref-ink); background: #fff; }
  #loginScreen.front-home .front-menu-btn {
    background: rgba(255,255,255,.17) !important;
    border: 1px solid rgba(255,255,255,.75) !important;
    color: #fff !important;
    box-shadow: none !important;
  }
  #loginScreen.front-home .front-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    z-index: 60 !important;
    display: none !important;
    min-width: 220px !important;
    padding: 8px !important;
    border-radius: 14px !important;
    background: #fff !important;
    border: 1px solid var(--ref-line) !important;
    box-shadow: 0 18px 42px rgba(20,33,61,.18) !important;
  }
  #loginScreen.front-home .front-menu.open {
    display: grid !important;
    gap: 6px !important;
  }
  #loginScreen.front-home .front-menu-wrap { position: relative !important; }
  #loginScreen.front-home .front-menu button { color: var(--ref-ink) !important; }
  #loginScreen.front-home .front-menu button:hover { background: #edf8fa !important; color: #087d8a !important; }
  #loginScreen.front-home .front-hero,
  #loginScreen.front-home .front-showcase,
  #loginScreen.front-home .front-auth-panel,
  #loginScreen.front-home .front-status-banner,
  #loginScreen.front-home .front-highlight,
  #loginScreen.front-home .front-tool-catalog,
  #loginScreen.front-home .landing-audience-section {
    border: 1px solid var(--ref-line) !important;
    color: var(--ref-ink) !important;
    box-shadow: var(--ref-shadow) !important;
  }
  #loginScreen.front-home .front-showcase {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 360px !important;
    height: clamp(360px, 36vw, 520px) !important;
    margin: 0 !important;
    padding: 18px !important;
    border-radius: 22px !important;
    background: linear-gradient(145deg, #e8f9fa 0%, #ffffff 52%, #fff1e8 100%) !important;
    overflow: hidden !important;
  }
  #loginScreen.front-home .front-showcase::before {
    inset: 14px !important;
    border: 1px solid rgba(16,174,183,.34) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 0 35px rgba(16,174,183,.08) !important;
    background: linear-gradient(135deg, rgba(16,174,183,.08), transparent 42%, rgba(255,122,47,.08)) !important;
  }
  #loginScreen.front-home .showcase-empty-content,
  #loginScreen.front-home .reference-dashboard-surface { color: var(--ref-ink) !important; }
  #loginScreen.front-home .reference-dashboard-surface {
    background: linear-gradient(140deg, rgba(255,255,255,.94), rgba(219,247,247,.92) 48%, rgba(255,238,224,.94)) !important;
    border: 1px solid rgba(16,174,183,.28) !important;
    box-shadow: inset 0 0 35px rgba(43,120,228,.08), 0 14px 30px rgba(26,74,99,.12) !important;
  }
  #loginScreen.front-home .reference-floating-card {
    background: rgba(255,255,255,.84) !important;
    border-color: rgba(43,120,228,.3) !important;
    color: var(--ref-ink) !important;
    box-shadow: 0 12px 22px rgba(24,68,89,.12) !important;
  }
  #loginScreen.front-home .reference-orbit { border-color: rgba(16,174,183,.55) !important; box-shadow: 0 0 22px rgba(16,174,183,.25) !important; }
  #loginScreen.front-home .reference-spark { background: var(--ref-orange) !important; box-shadow: 0 0 14px rgba(255,122,47,.75) !important; }
  #loginScreen.front-home .front-hero {
    grid-column: 1 !important;
    grid-row: 3 !important;
    min-height: 142px !important;
    margin: 0 !important;
    padding: 26px 30px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #ffffff 0%, #effafb 56%, #fff3eb 100%) !important;
  }
  #loginScreen.front-home .front-hero h1 { color: var(--ref-navy) !important; text-shadow: none !important; font-size: clamp(27px, 3.2vw, 48px) !important; }
  #loginScreen.front-home .front-hero p { color: var(--ref-muted) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; font-weight: 500 !important; font-size: 14px !important; }
  #loginScreen.front-home .front-auth-panel {
    grid-column: 2 !important;
    grid-row: 2 / span 2 !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 30px 28px !important;
    border-radius: 22px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbfc 52%, #fff8f2 100%) !important;
    color: var(--ref-ink) !important;
  }
  #loginScreen.front-home .front-auth-panel::before { color: var(--ref-navy) !important; text-shadow: none !important; border-color: rgba(16,174,183,.34) !important; }
  #loginScreen.front-home .front-auth-panel > p { color: var(--ref-muted) !important; }
  #loginScreen.front-home .front-auth-panel .login-input {
    height: 48px !important;
    margin: 9px 0 !important;
    background: #f8fbfd !important;
    border: 1px solid #bcd2de !important;
    border-radius: 10px !important;
    color: var(--ref-ink) !important;
    box-shadow: none !important;
  }
  #loginScreen.front-home .front-auth-panel .login-input::placeholder { color: #8a98ab !important; }
  #loginScreen.front-home .front-auth-panel .login-btn,
  #signUpScreen .login-btn {
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(100deg, #267ce2, #4e75df) !important;
    color: #fff !important;
    box-shadow: 0 9px 18px rgba(43,120,228,.22) !important;
  }
  #loginScreen.front-home .front-auth-panel .login-btn:hover,
  #signUpScreen .login-btn:hover { filter: brightness(1.06); transform: translateY(-2px) !important; }
  #loginScreen.front-home .front-auth-panel .auth-link { color: #1e6cc6 !important; }
  #loginScreen.front-home .front-status-banner {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    padding: 11px 16px !important;
    border-radius: 8px !important;
    background: #effcf8 !important;
    border-color: #96e4c7 !important;
    color: #087b65 !important;
    box-shadow: none !important;
  }
  #loginScreen.front-home .front-highlights { grid-column: 1 / -1 !important; grid-row: 5 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  #loginScreen.front-home .front-highlight { padding: 13px !important; border-radius: 10px !important; background: linear-gradient(135deg, #edf8ff, #fff) !important; color: #294563 !important; box-shadow: none !important; border-color: #c9dce9 !important; }
  #loginScreen.front-home .front-tool-catalog {
    grid-column: 1 / -1 !important;
    grid-row: 7 !important;
    margin-top: 0 !important;
    padding: 22px !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbfc 52%, #fff8f2 100%) !important;
    border-color: #cbdde7 !important;
    box-shadow: var(--ref-shadow) !important;
  }
  #loginScreen.front-home .front-tool-catalog .catalog-heading span { color: #0b9b9f !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-heading h3 { color: var(--ref-navy) !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-heading p { color: var(--ref-muted) !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-tool { min-height: 66px; background: #fff !important; border-color: #d5e1e8 !important; color: var(--ref-ink) !important; border-radius: 12px !important; box-shadow: 0 7px 16px rgba(35,55,79,.08) !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-tool:hover { transform: translateY(-3px); border-color: #41bfc3 !important; box-shadow: 0 12px 22px rgba(16,174,183,.15) !important; }
  #loginScreen.front-home .landing-audience-section { grid-column: 1 / -1 !important; grid-row: 8 !important; background: linear-gradient(145deg, #ffffff 0%, #f5fbfc 62%, #fff7ef 100%) !important; border-radius: 20px !important; }
  #loginScreen.front-home .landing-audience-section h2 { color: var(--ref-navy) !important; }
  #loginScreen.front-home .landing-audience-section p { color: var(--ref-muted) !important; }
  /* Public policy/info line remains a landing-only surface and now matches the sample. */
  #landingPolicyStrip,
  #landingMetrics,
  .op-footer {
    color: var(--ref-ink) !important;
    background: rgba(255,255,255,.94) !important;
    border-color: var(--ref-line) !important;
    box-shadow: 0 8px 20px rgba(35,55,79,.07) !important;
  }
  #landingPolicyStrip a,
  #landingPolicyStrip button,
  .op-footer a,
  .op-footer button { color: #1f6cc4 !important; }
  /* Logged-in layout: sample-like sidebar plus spacious content canvas. */
  #mainApp[style*="display: block"],
  #mainApp[style*="display: grid"] {
    display: grid !important;
    grid-template-columns: 268px minmax(0, 1fr) !important;
    grid-template-rows: auto auto 1fr !important;
    gap: 16px !important;
    width: min(1560px, 100%) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 18px 22px 34px !important;
    background: linear-gradient(135deg, #f4fafc 0%, #ffffff 54%, #fff8f1 100%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--ref-ink) !important;
  }
  #mainApp[style*="display: block"] > .container,
  #mainApp[style*="display: grid"] > .container {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #mainApp .portal-sidebar-heading { padding: 4px 6px 14px !important; border-bottom: 1px solid var(--ref-line) !important; color: var(--ref-muted) !important; }
  #mainApp .portal-sidebar-heading span { font-size: 10px; letter-spacing: 1.4px; color: #8090a5 !important; }
  #mainApp .portal-quick-utilities { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 0 !important; border-bottom: 1px solid var(--ref-line) !important; }
  #mainApp .quick-utility-btn { width: 38px; height: 38px; padding: 0 !important; display: inline-grid; place-items: center; border-radius: 10px !important; background: #eef8ff !important; border: 1px solid #afd0e5 !important; color: #2268a3 !important; box-shadow: none !important; }
  #mainApp .quick-utility-btn:hover { background: #dff4f5 !important; border-color: var(--ref-teal) !important; transform: translateY(-2px); }
  #mainApp .customize-tools-btn { width: 100%; border-radius: 9px !important; background: #fff6ee !important; border: 1px solid #f4bc91 !important; color: #c55d23 !important; }
  #mainApp .workspace-header-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 10px !important;
    min-height: 70px;
    margin: 0 0 14px !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
    background: linear-gradient(100deg, #0aafbd 0%, #37b995 43%, #ff893b 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(35,55,79,.12) !important;
  }
  #mainApp .workspace-header-row > strong { color: #fff !important; text-shadow: none !important; font-size: 18px !important; }
  #mainApp .workspace-header-row label { color: #fff !important; }
  #mainApp .workspace-header-row select { background: rgba(255,255,255,.16) !important; color: #fff !important; border-color: rgba(255,255,255,.65) !important; }
  #mainApp .workspace-header-row select option { color: var(--ref-ink); background: #fff; }
  #mainApp .theme-toggle,
  #mainApp .workspace-back-btn,
  #mainApp .logout-btn,
  #mainApp .my-account-corner{ min-height: 36px !important; padding: 8px 12px !important; border: 1px solid rgba(255,255,255,.58) !important; border-radius: 9px !important; background: rgba(255,255,255,.16) !important; color: #fff !important; box-shadow: none !important; }
  #mainApp .theme-toggle:hover,
  #mainApp .workspace-back-btn:hover,
  #mainApp .logout-btn:hover,
  #mainApp .my-account-corner:hover{ background: rgba(255,255,255,.28) !important; transform: translateY(-1px); }
  #mainApp .my-account-corner { background: rgba(43,120,228,.28) !important; }
  
  #mainApp #validityCounterBadge { color: #fff !important; }
  #mainApp .new-distributor-alert,
  #mainApp #distributorNoticeBanner { background: #fffaf1 !important; border: 1px solid #f2c48c !important; color: #81511c !important; box-shadow: 0 8px 18px rgba(255,122,47,.08) !important; }
  #mainApp #distributorNoticeBanner strong { color: #c76124 !important; }
  #mainApp #distributorNoticeImg { border-color: #f2c48c !important; }
  /* All tools, account, admin and operation views use the same surface grammar. */
  #mainApp .tab-content.active {
    position: relative;
    width: 100% !important;
    min-width: 0;
    min-height: 420px;
    padding: 24px !important;
    border: 1px solid var(--ref-line) !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbfd 62%, #fff8f2 100%) !important;
    color: var(--ref-ink) !important;
    box-shadow: var(--ref-shadow) !important;
  }
  #mainApp .tab-content.active::before { content: ""; display: block; width: 54px; height: 3px; margin: 0 0 16px; border-radius: 99px; background: linear-gradient(90deg, var(--ref-teal), var(--ref-orange)); }
  #mainApp .tab-content h1,
  #mainApp .tab-content h2,
  #mainApp .tab-content h3,
  #mainApp .tab-content h4 { color: var(--ref-navy) !important; text-shadow: none !important; }
  #mainApp .tab-content p,
  #mainApp .tab-content label,
  #mainApp .tab-content small { color: var(--ref-muted) !important; }
  #mainApp .tab-content .badge { background: #eaf9f7 !important; border: 1px solid #a9ded8 !important; color: #087d78 !important; }
  #mainApp .tab-content .control-panel,
  #mainApp .tab-content .upload-box,
  #mainApp .tab-content .preview-box,
  #mainApp .tab-content .premium-card-editor,
  #mainApp .tab-content .pdf-unlock-shell,
  #mainApp .tab-content .pdf-office-shell,
  #mainApp .tab-content .pp-enhancer-shell,
  #mainApp .tab-content .history-table-container,
  #mainApp .tab-content .file-gallery-list,
  #mainApp .tab-content .size-badge-box {
    background: linear-gradient(145deg, #f8fbfd 0%, #ffffff 70%, #fff8f2 100%) !important;
    border-color: #cddde5 !important;
    color: var(--ref-ink) !important;
    box-shadow: 0 8px 18px rgba(35,55,79,.07) !important;
  }
  #mainApp .tab-content .upload-box { border-style: dashed !important; border-color: #62bdc1 !important; }
  #mainApp .tab-content .upload-box:hover { background: #effafa !important; border-color: var(--ref-teal) !important; }
  #mainApp input:not([type="file"]),
  #mainApp select,
  #mainApp textarea,
  #mainApp input[type="file"] {
    background: #fff !important;
    color: var(--ref-ink) !important;
    border-color: #b9ceda !important;
  }
  #mainApp input::placeholder,
  #mainApp textarea::placeholder { color: #8795a8 !important; }
  #mainApp input:focus,
  #mainApp select:focus,
  #mainApp textarea:focus { border-color: var(--ref-teal) !important; box-shadow: 0 0 0 3px rgba(16,174,183,.12) !important; outline: none !important; }
  #mainApp .action-btn,
  #mainApp .login-btn,
  #mainApp .history-msg-btn,
  #mainApp .history-download-btn,
  #mainApp .history-view-ss-btn,
  #mainApp .btn-add,
  #mainApp .btn-download,
  #mainApp .btn-reset,
  #mainApp .payment-link-btn { border: 0 !important; border-radius: 9px !important; color: #fff !important; box-shadow: 0 7px 15px rgba(43,120,228,.15) !important; }
  #mainApp .action-btn,
  #mainApp .login-btn,
  #mainApp .btn-add,
  #mainApp .history-download-btn,
  #mainApp .history-view-ss-btn { background: linear-gradient(100deg,#267ce2,#4e75df) !important; }
  #mainApp .btn-download { background: linear-gradient(100deg,#11aeb5,#20b878) !important; }
  #mainApp .btn-reset { background: linear-gradient(100deg,#78869a,#5d6b80) !important; }
  #mainApp .history-msg-btn { background: linear-gradient(100deg,#ff9a3d,#f06d32) !important; }
  #mainApp .action-btn:hover,
  #mainApp .login-btn:hover,
  #mainApp .history-msg-btn:hover,
  #mainApp .history-download-btn:hover,
  #mainApp .history-view-ss-btn:hover { filter: brightness(1.06); transform: translateY(-2px); }
  #mainApp canvas { border-color: #cddde5 !important; box-shadow: 0 8px 18px rgba(35,55,79,.1); }
  #mainApp .draggable-card { background: #fff !important; border-color: #c4d8e2 !important; color: var(--ref-ink) !important; box-shadow: 0 7px 14px rgba(35,55,79,.1) !important; }
  #mainApp .draggable-card .file-label { color: var(--ref-muted) !important; }
  #mainApp .mini-tool-btn { background: #eaf5fb !important; color: #1f6393 !important; border-color: #b7d2e1 !important; }
  #mainApp .history-table-container { overflow-x: auto; }
  #mainApp .history-table { background: #fff !important; color: var(--ref-ink) !important; }
  #mainApp .history-table th { background: #eef8fa !important; color: #0c7f84 !important; border-color: #d7e4ea !important; }
  #mainApp .history-table td { color: var(--ref-ink) !important; border-color: #e1e9ee !important; }
  #mainApp .history-table tr:hover { background: #f2fbfb !important; }
  /* Admin and distributor management cards/tables. */
  
  
  
  
  
  
  
  #mainApp #tab-my-account #referralPanel,
  #mainApp #tab-my-account .account-support-actions { background: #f1fbfb !important; border-color: #afdeda !important; color: var(--ref-ink) !important; }
  #mainApp #tab-my-account #referralPanel label,
  #mainApp #tab-my-account #referralPanel small { color: var(--ref-muted) !important; }
  #mainApp #tab-my-account #referralPanel strong { color: #087d84 !important; }
  /* Modal and operational editor surfaces inherit the same white workspace. */
  #mainApp dialog,
  .account-chat-dialog,
  .refund-request-dialog,
  #accountRecoveryDialog,
  #adminTwoFactorDialog {
    background: linear-gradient(145deg, #ffffff 0%, #f7fbfd 65%, #fff7ef 100%) !important;
    color: var(--ref-ink) !important;
    border: 1px solid #c3d8e2 !important;
    box-shadow: 0 22px 60px rgba(20,33,61,.22) !important;
  }
  #mainApp dialog h2,
  #mainApp dialog h3,
  .account-chat-dialog h3,
  .refund-request-dialog h3 { color: var(--ref-navy) !important; }
  .account-chat-dialog p,
  .refund-request-dialog p { color: var(--ref-muted) !important; }
  .account-chat-dialog textarea,
  .account-chat-dialog input[type="file"],
  .refund-request-dialog input,
  .refund-request-dialog select,
  .refund-request-dialog textarea { background: #f8fbfd !important; color: var(--ref-ink) !important; border-color: #b9ceda !important; }
  /* Registration is intentionally landscape and uses the same public palette. */
  #signUpScreen {
    width: min(1080px, calc(100% - 36px)) !important;
    max-width: 1080px !important;
    margin: 32px auto !important;
    padding: 28px 30px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px 16px;
    border: 1px solid #cddde5 !important;
    border-radius: 22px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbfc 62%, #fff7ef 100%) !important;
    color: var(--ref-ink) !important;
    box-shadow: var(--ref-shadow) !important;
  }
  #loginScreen.front-home[style*="display: none"],
  #loginScreen.front-home[style*="display:none"],
  #signUpScreen[style*="display: none"],
  #signUpScreen[style*="display:none"] { display: none !important; }
  #signUpScreen[style*="display: block"],
  #signUpScreen[style*="display:block"] { display: grid !important; }
  #signUpScreen > .badge,
  #signUpScreen > h2,
  #signUpScreen > p,
  #signUpScreen > div,
  #signUpScreen > a { grid-column: 1 / -1 !important; }
  #signUpScreen > h2 { color: var(--ref-navy) !important; font-size: 30px !important; }
  #signUpScreen > p { color: var(--ref-muted) !important; }
  #signUpScreen > input.login-input { width: 100%; height: 50px; margin: 0 !important; background: #f8fbfd !important; color: var(--ref-ink) !important; border: 1px solid #b9ceda !important; border-radius: 10px !important; }
  #signUpScreen > input.login-input::placeholder { color: #8795a8 !important; }
  #signUpScreen #registrationOtpGate,
  #signUpScreen #registrationPaymentSection { background: #f8fbfd !important; border-color: #c3d8e2 !important; color: var(--ref-muted) !important; }
  @media (max-width: 980px) {
    #loginScreen.front-home { grid-template-columns: 1fr !important; }
    #loginScreen.front-home .front-nav,
    #loginScreen.front-home .front-showcase,
    #loginScreen.front-home .front-hero,
    #loginScreen.front-home .front-auth-panel,
    #loginScreen.front-home .front-status-banner,
    #loginScreen.front-home .front-highlights,
    #loginScreen.front-home .front-tool-catalog,
    #loginScreen.front-home .landing-audience-section { grid-column: 1 !important; }
    #loginScreen.front-home .front-nav { grid-row: 1 !important; margin-left: -30px !important; margin-right: -30px !important; }
    #loginScreen.front-home .front-showcase { grid-row: 2 !important; }
    #loginScreen.front-home .front-hero { grid-row: 3 !important; }
    #loginScreen.front-home .front-auth-panel { grid-row: 4 !important; }
    #loginScreen.front-home .front-status-banner { grid-row: 5 !important; }
    #loginScreen.front-home .front-highlights { grid-row: 6 !important; }
    #loginScreen.front-home .front-tool-catalog { grid-row: 8 !important; }
    #loginScreen.front-home .landing-audience-section { grid-row: 9 !important; }
    #mainApp[style*="display: block"], #mainApp[style*="display: grid"] { display: block !important; padding: 14px !important; }
    #mainApp[style*="display: block"] > .container,
    #mainApp[style*="display: grid"] > .container { width: 100% !important; margin: 0 0 14px !important; }
  }
  @media (max-width: 620px) {
    #loginScreen.front-home { padding: 0 12px 22px !important; }
    #loginScreen.front-home .front-nav { margin-left: -12px !important; margin-right: -12px !important; padding-left: 14px !important; padding-right: 14px !important; }
    #loginScreen.front-home .front-auth-panel { padding: 22px 16px !important; }
    #loginScreen.front-home .front-highlights { grid-template-columns: 1fr !important; }
    #mainApp[style*="display: block"], #mainApp[style*="display: grid"] { padding: 10px !important; }
    #mainApp .tab-content.active { padding: 16px !important; }
    #signUpScreen { width: min(100% - 20px, 560px) !important; grid-template-columns: 1fr; padding: 22px 16px !important; margin: 18px auto !important; }
    #signUpScreen > input.login-input { grid-column: 1 / -1 !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    #loginScreen.front-home .reference-dashboard-surface::before { animation: none !important; }
  }

/* ===== bulk-auto-id-review-ui ===== */
#bulkAutoReviewPanel,#bulkAutoReviewList,#bulkAutoReviewList .bulk-auto-review-row{min-width:0;box-sizing:border-box}
  #bulkAutoReviewList{width:100%}
  #bulkAutoReviewList .bulk-auto-review-row{display:grid;grid-template-columns:68px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:7px 9px;align-items:start;width:100%;min-width:0;padding:9px;border:1px solid var(--border-color);border-radius:9px;background:rgba(15,23,42,.18);overflow:visible}
  .bulk-auto-page-thumb{grid-column:1;grid-row:1 / span 4;width:68px;height:88px;display:block;object-fit:contain;border:1px solid #94a3b8;border-radius:7px;background:#fff;box-shadow:0 3px 9px #02061722}
  .bulk-auto-review-page{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
  #bulkAutoReviewList .bulk-auto-review-row>select,.bulk-auto-direct-badge{grid-column:2;grid-row:2;width:100%!important;min-width:0;box-sizing:border-box}
  .bulk-auto-review-actions{grid-column:2;grid-row:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;justify-content:stretch;gap:8px;width:100%;min-width:0}
  .bulk-auto-review-actions.bulk-auto-review-actions-direct{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bulk-auto-review-actions>button{width:100%;min-width:0;box-sizing:border-box}
  .bulk-auto-review-actions>button:only-child{grid-column:1 / -1}
  .bulk-auto-review-meta{grid-column:2;grid-row:4;min-width:0;text-align:left!important;overflow-wrap:anywhere}
  .bulk-auto-manual-btn,.bulk-auto-delete-btn,.bulk-auto-done-btn{min-height:40px;padding:8px 10px;border-radius:10px;font:800 11px/1.15 inherit;cursor:pointer;white-space:normal;touch-action:manipulation;box-shadow:0 2px 6px #02061714;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
  .bulk-auto-manual-btn:hover:not(:disabled),.bulk-auto-delete-btn:hover:not(:disabled),.bulk-auto-done-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 12px #02061722}
  .bulk-auto-manual-btn{border:1px solid #60a5fa;background:#eaf5ff;color:#174b78}
  .bulk-auto-manual-btn:hover:not(:disabled){background:#dbeafe;border-color:#2563eb}.bulk-auto-manual-btn:disabled{opacity:.48;cursor:not-allowed}
  .bulk-auto-delete-btn{border:1px solid #ef4444;background:#fff1f2;color:#991b1b}
  .bulk-auto-delete-btn:hover:not(:disabled){background:#fee2e2;border-color:#dc2626}.bulk-auto-delete-btn:disabled{opacity:.48;cursor:not-allowed}
  .bulk-auto-done-btn{border:1px solid #16a34a;background:#f0fdf4;color:#166534}.bulk-auto-done-btn:hover:not(:disabled){background:#dcfce7;border-color:#15803d}.bulk-auto-done-btn:disabled{opacity:.48;cursor:not-allowed}
  .bulk-auto-preview-toolbar{width:min(100%,820px);margin:4px auto 10px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
  .bulk-auto-preview-toolbar>label{display:inline-flex;align-items:center;gap:6px}
  .bulk-auto-preview-toolbar>.action-btn{width:auto!important;min-width:132px;margin:0!important}
  .bulk-auto-preview-scroll{width:min(100%,820px);height:min(72vh,720px);min-height:360px;margin:8px auto 0;padding:10px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #cbd5e1;border-radius:12px;background:rgba(148,163,184,.12)}
  .bulk-auto-preview-frame{width:430px;max-width:none!important;min-width:220px;min-height:1px;margin:0 auto;background:#fff;border:1px solid #475569;border-radius:8px;overflow:hidden;box-shadow:0 7px 18px #02061728;flex:0 0 auto}
  #bulkAutoCanvas{display:block;max-width:none!important;background:#fff}
  .bulk-auto-preview-actions{width:min(100%,820px);margin:8px auto 0;display:grid;gap:7px}
  .bulk-auto-preview-cards-btn{width:100%!important;margin:0!important}
  .bulk-auto-download-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .bulk-auto-download-actions>.action-btn{width:100%!important;min-width:0!important;margin:0!important}
  @media(max-width:720px){.bulk-auto-preview-toolbar{gap:6px}.bulk-auto-preview-toolbar>.action-btn{min-width:118px}.bulk-auto-preview-scroll{width:100%;height:min(68vh,620px);min-height:320px;padding:6px}.bulk-auto-preview-frame{max-width:none!important}.bulk-auto-download-actions{grid-template-columns:1fr}}
  .bulk-auto-manual-dialog{width:min(1080px,calc(100% - 24px));max-height:92vh;padding:0;border:0;border-radius:16px;background:transparent}.bulk-auto-manual-dialog::backdrop{background:#020617c7;backdrop-filter:blur(5px)}
  .bulk-auto-manual-card{max-height:92vh;overflow:auto;padding:16px;border:1px solid #93c5fd;border-radius:16px;background:#f8fbfd;color:#172033;box-shadow:0 24px 70px #0008}.bulk-auto-manual-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.bulk-auto-manual-head strong{display:block;font-size:16px;color:#12345a}.bulk-auto-manual-head small{display:block;margin-top:3px;color:#52637f;font-size:11px}.bulk-auto-manual-head>button{border:0;background:transparent;color:#334155;font-size:28px;line-height:1;cursor:pointer}
  .bulk-auto-manual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bulk-auto-manual-grid section{min-width:0;padding:10px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.bulk-auto-manual-grid h4{margin:0 0 8px;color:#172033}.bulk-auto-manual-image-wrap{height:min(52vh,430px);min-height:270px;overflow:hidden;border:1px solid #94a3b8;border-radius:9px;background:#0b1220}.bulk-auto-manual-image-wrap img{display:block;width:100%;height:100%;object-fit:contain}.bulk-auto-manual-image-wrap .cropper-container{width:100%!important;height:100%!important}.bulk-auto-manual-grid .mini-tool-btn{margin-top:8px}
  #bulkAutoManualCropStatus{min-height:20px;margin:10px 0 0;color:#475569;font-size:11px;text-align:center}.bulk-auto-manual-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:10px}
  body.op-light #bulkAutoReviewList .bulk-auto-review-row{background:#fff;color:#172033;border-color:#cbd5e1}body.op-light #bulkAutoReviewList .bulk-auto-review-meta{color:#475569}body.op-light .bulk-auto-manual-btn{background:#eaf5ff;color:#174b78}body.op-light .bulk-auto-delete-btn{background:#fff1f2;color:#991b1b;border-color:#ef4444}
  .bulk-auto-add-more-dialog{width:min(760px,calc(100% - 24px));padding:0;border:0;border-radius:18px;background:transparent;color:inherit}.bulk-auto-add-more-dialog::backdrop{background:#020617aa;backdrop-filter:blur(5px)}
  .bulk-auto-add-more-card{padding:18px;border:1px solid #38bdf8aa;border-radius:18px;background:linear-gradient(145deg,#f8fbff,#eef7ff);color:#172033;box-shadow:0 24px 70px #02061766}.bulk-auto-add-more-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.bulk-auto-add-more-head strong{display:block;color:#075985;font-size:16px}.bulk-auto-add-more-head small{display:block;margin-top:4px;color:#52637f;font-size:11px;line-height:1.45}.bulk-auto-add-more-head>button{border:0;background:transparent;color:#334155;font-size:28px;line-height:1;cursor:pointer}.bulk-auto-add-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.bulk-auto-add-more-grid section{padding:14px;border:1px solid #bfd4e6;border-radius:13px;background:#fff}.bulk-auto-add-more-grid h4{margin:0 0 7px;color:#0f4f78}.bulk-auto-add-more-grid p{margin:0 0 10px;color:#52637f;font-size:11px;line-height:1.5}.bulk-auto-add-more-grid section>small{display:block;margin-top:8px;color:#64748b;font-size:10px;overflow-wrap:anywhere}.bulk-auto-single-file{display:grid;gap:5px;margin:8px 0;color:#334155;font-size:11px;font-weight:700}.bulk-auto-single-file input{width:100%;padding:7px;border:1px solid #c3d3e3;border-radius:8px;background:#f8fafc;color:#172033;font:inherit}.bulk-auto-add-more-grid .action-btn{margin-top:5px}#bulkAutoAddMoreStatus{min-height:18px;margin:12px 0 0;text-align:center;color:#075985;font-size:11px}#bulkAutoAddMoreStatus[data-error="true"]{color:#b91c1c}.bulk-auto-review-source{display:block;margin-top:2px;color:var(--text-muted);font-size:9px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.bulk-auto-direct-badge{display:flex;align-items:center;min-height:34px;padding:6px 8px;border:1px solid #7dd3fc;border-radius:8px;background:#ecfeff;color:#155e75;font-size:10px;font-weight:800}
  html.op-theme-dark .bulk-auto-add-more-card{background:#111b2b;color:#f1f5f9;border-color:#52657d}html.op-theme-dark .bulk-auto-add-more-head strong,html.op-theme-dark .bulk-auto-add-more-grid h4{color:#e0f2fe}html.op-theme-dark .bulk-auto-add-more-head small,html.op-theme-dark .bulk-auto-add-more-grid p,html.op-theme-dark .bulk-auto-add-more-grid section>small{color:#cbd5e1}html.op-theme-dark .bulk-auto-add-more-head>button{color:#f8fafc}html.op-theme-dark .bulk-auto-add-more-grid section{background:#172337;border-color:#475569}html.op-theme-dark .bulk-auto-single-file{color:#dbeafe}html.op-theme-dark .bulk-auto-single-file input{background:#0f172a;color:#fff;border-color:#52657d}html.op-theme-dark .bulk-auto-direct-badge{background:#164e63;color:#e0f2fe;border-color:#22d3ee}
  @media(max-width:680px){.bulk-auto-add-more-grid{grid-template-columns:1fr}}
  html.op-theme-dark #bulkAutoReviewList .bulk-auto-review-row{background:#172337;color:#f1f5f9;border-color:#475569}html.op-theme-dark #bulkAutoReviewList .bulk-auto-review-meta{color:#cbd5e1}html.op-theme-dark .bulk-auto-manual-btn{background:#22324a;color:#dbeafe;border-color:#52657d}html.op-theme-dark .bulk-auto-delete-btn{background:#451a1a;color:#fecaca;border-color:#ef4444}html.op-theme-dark .bulk-auto-done-btn{background:#123c2a;color:#bbf7d0;border-color:#22c55e}html.op-theme-dark .bulk-auto-preview-scroll{background:#111b2b;border-color:#475569}html.op-theme-dark .bulk-auto-manual-card{background:#111b2b;color:#f1f5f9;border-color:#52657d}html.op-theme-dark .bulk-auto-manual-head strong,html.op-theme-dark .bulk-auto-manual-grid h4{color:#f8fafc}html.op-theme-dark .bulk-auto-manual-head small,html.op-theme-dark #bulkAutoManualCropStatus{color:#cbd5e1}html.op-theme-dark .bulk-auto-manual-grid section{background:#172337;border-color:#475569}html.op-theme-dark .bulk-auto-manual-head>button{color:#f8fafc}
  @media(max-width:760px){#bulkAutoReviewList .bulk-auto-review-row{grid-template-columns:62px minmax(0,1fr);padding:8px;gap:6px 8px}.bulk-auto-page-thumb{width:62px;height:82px}.bulk-auto-review-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.bulk-auto-review-actions.bulk-auto-review-actions-direct{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-auto-manual-btn,.bulk-auto-delete-btn,.bulk-auto-done-btn{min-height:38px;padding:7px 6px;font-size:10px}.bulk-auto-manual-grid{grid-template-columns:1fr}.bulk-auto-manual-image-wrap{height:340px}}

/* ===== landing-shell-update ===== */
/* Public landing shell: compact desktop canvas, two account actions and a
     fixed support dock. This layer intentionally leaves portal operations and
     their existing handlers untouched. */
  #loginScreen.front-home {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    gap: 10px !important;
    padding: 0 24px 10px !important;
    grid-template-rows: auto minmax(210px, 27vh) minmax(68px, auto) auto auto auto !important;
  }
  #loginScreen.front-home .front-nav {
    min-height: 64px !important;
    margin: 0 -24px !important;
    padding: 8px 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  #loginScreen.front-home .front-nav-links,
  #loginScreen.front-home .front-menu-wrap,
  #loginScreen.front-home .front-menu-btn { display: none !important; }
  #loginScreen.front-home .skillo-brand {
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    font-size: clamp(18px, 1.65vw, 27px) !important;
    line-height: 1 !important;
    letter-spacing: .2px !important;
    animation: landingBrandFloat 4.8s ease-in-out infinite !important;
  }
  #loginScreen.front-home .skillo-brand small { font-size: .48em !important; letter-spacing: 1.4px !important; }
  #loginScreen.front-home .skillo-logo-box {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
  }
  #loginScreen.front-home .front-language { order: 1 !important; margin: 0 !important; right: auto !important; top: auto !important; flex: 0 0 auto !important; }
  #loginScreen.front-home .front-language select { min-height: 36px !important; padding: 6px 10px !important; }
  .front-auth-nav-actions { order: 2; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; animation: landingNavFloat 5.4s ease-in-out infinite; }
  .front-nav-action { min-height: 36px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.72); border-radius: 10px; background: rgba(255,255,255,.16); color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 5px 15px rgba(20,33,61,.12); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
  .front-nav-action:hover, .front-nav-action:focus-visible { transform: translateY(-2px); background: rgba(255,255,255,.3); box-shadow: 0 9px 20px rgba(20,33,61,.18); outline: none; }
  .front-nav-action-primary { background: linear-gradient(100deg, #ff8a36, #ef5b44); border-color: #fff1e8; }
  @keyframes landingBrandFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  @keyframes landingNavFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
  #loginScreen.front-home .front-showcase { min-height: 210px !important; height: 27vh !important; margin: 0 !important; }
  #loginScreen.front-home .front-hero { min-height: 68px !important; padding: 14px 22px !important; }
  #loginScreen.front-home .front-hero h1 { font-size: clamp(22px, 2.5vw, 36px) !important; }
  #loginScreen.front-home .front-hero p { margin-top: 7px !important; font-size: 12px !important; }
  #loginScreen.front-home .front-highlights { gap: 8px !important; }
  #loginScreen.front-home .front-highlight { padding: 9px 10px !important; font-size: 11px !important; }
  #loginScreen.front-home .front-tool-catalog { grid-row: 6 !important; margin-top: 0 !important; padding: 14px 16px !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-heading h3 { font-size: 18px !important; margin: 2px 0 !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-heading p { display: none !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-tool { min-height: 48px !important; padding: 7px 9px !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-tool span { font-size: 17px !important; }
  #loginScreen.front-home .front-tool-catalog .catalog-tool-copy small { display: none !important; }
  #loginScreen.front-home .catalog-secure-note,
  #loginScreen.front-home .catalog-footer-links { display: none !important; }
  /* The requested public order is policy links, compact activity metrics and
     the copyright line. The larger audience/workflow box is intentionally gone. */
  #landingPolicyStrip { margin-top: 6px !important; padding: 6px 12px !important; justify-content: center !important; border-radius: 8px !important; }
  #landingPolicyStrip > div { display: none !important; }
  #landingPolicyStrip .landing-policy-links { width: 100%; justify-content: center !important; gap: 0 !important; }
  #landingPolicyStrip .landing-policy-links a { font-size: 10px !important; padding: 2px 8px !important; }
  #landingMetrics { margin-top: 6px !important; padding: 5px 8px !important; }
  #landingMetrics .landing-metrics-subtitle, #landingMetrics .landing-metrics-status { display: none !important; }
  .op-footer { margin-top: 6px !important; padding: 0 12px 7px !important; border-radius: 10px 10px 0 0 !important; }
  .op-footer .op-footer-grid { display: none !important; }
  .op-footer .op-footer-bottom { padding-top: 6px !important; border-top: 0 !important; font-size: 10px !important; }
  .landing-float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 2147483000; display: flex; align-items: flex-end; gap: 8px; }
  .landing-float-btn { min-height: 34px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: linear-gradient(100deg, #1f6cc4, #6d4bd6); color: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(20,33,61,.22); transition: transform .2s ease, filter .2s ease; }
  .landing-float-btn:hover, .landing-float-btn:focus-visible { transform: translateY(-3px); filter: brightness(1.08); outline: none; }
  .whatsapp-float-btn { position: relative; isolation: isolate; background: linear-gradient(105deg,#0b9f50,#25d366); box-shadow: 0 10px 26px rgba(37,211,102,.34); animation: landingWhatsAppPulse 1.9s ease-in-out infinite; }
  .whatsapp-float-btn::after { content:""; position:absolute; inset:-4px; border:2px solid rgba(37,211,102,.42); border-radius:999px; z-index:-1; animation:landingWhatsAppRing 1.9s ease-out infinite; }
  .feedback-float-btn { animation: landingFeedbackGlow 2.6s ease-in-out infinite; }
  @keyframes landingWhatsAppPulse { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-2px) scale(1.035)} }
  @keyframes landingWhatsAppRing { 0%{opacity:.72;transform:scale(.96)} 75%,100%{opacity:0;transform:scale(1.13)} }
  @keyframes landingFeedbackGlow { 0%,100%{box-shadow:0 10px 24px rgba(20,33,61,.22)} 50%{box-shadow:0 10px 30px rgba(109,75,214,.48)} }
  .landing-whatsapp-dialog { border-color:#a7e8c1; background:linear-gradient(145deg,#ffffff 0%,#f0fff6 70%,#eafff1 100%); }
  .landing-whatsapp-dialog h3 { color:#087a3d; }
  .landing-whatsapp-dialog .landing-audience-kicker { color:#0b9f50; }
  .landing-whatsapp-dialog form { grid-template-columns:1fr; }
  .landing-whatsapp-dialog .whatsapp-message-preview { min-height:124px; resize:none; white-space:pre-wrap; background:#f5fff8; border-color:#b8e8ca; }
  .landing-whatsapp-dialog form button[type="submit"] { width:100%; min-height:42px; border:0; border-radius:12px; background:linear-gradient(105deg,#0b9f50,#25d366); color:#fff; font-weight:800; cursor:pointer; box-shadow:0 9px 22px rgba(37,211,102,.25); }
  .landing-whatsapp-dialog form button[type="submit"]:hover,.landing-whatsapp-dialog form button[type="submit"]:focus-visible { filter:brightness(1.06); transform:translateY(-1px); outline:0; }
  @media (prefers-reduced-motion: reduce) { .whatsapp-float-btn,.whatsapp-float-btn::after,.feedback-float-btn { animation:none!important; } }
  /* Visibility follows the actual workspace state rather than brittle inline
     display strings, so the fixed buttons remain present on the public page. */
  body:not(:has(#mainApp[style*="display: block"])):not(:has(#signUpScreen[style*="display: grid"])):not(:has(#signUpScreen[style*="display: block"])) .landing-float-actions { display: flex !important; }
  body:not(:has(#mainApp[style*="display: block"])):not(:has(#signUpScreen[style*="display: grid"])):not(:has(#signUpScreen[style*="display: block"])) #landingPolicyStrip,
  body:not(:has(#mainApp[style*="display: block"])):not(:has(#signUpScreen[style*="display: grid"])):not(:has(#signUpScreen[style*="display: block"])) #landingMetrics,
  body:not(:has(#mainApp[style*="display: block"])):not(:has(#signUpScreen[style*="display: grid"])):not(:has(#signUpScreen[style*="display: block"])) .op-footer { display: block !important; }
  body:has(#mainApp[style*="display: block"]) #landingPolicyStrip,
  body:has(#mainApp[style*="display: block"]) #landingMetrics,
  body:has(#mainApp[style*="display: block"]) .op-footer { display: none !important; }
  .landing-feedback-dialog {
    position: fixed; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; box-sizing: border-box;
    width: min(520px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain;
    padding: 0; border: 1px solid #cddde5; border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbfc 62%, #fff7ef 100%);
    color: #172033; box-shadow: 0 24px 70px rgba(20,33,61,.28);
  }
  .landing-feedback-dialog::backdrop { background: rgba(20,33,61,.48); backdrop-filter: blur(5px); }
  .landing-feedback-dialog .landing-contact-card { padding: 20px; border: 0; border-radius: inherit; background: transparent; color: #172033; box-shadow: none; }
  .landing-feedback-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .landing-feedback-dialog h3 { margin: 0; color: #17345f; font-size: 22px; }
  .landing-feedback-dialog .landing-audience-kicker { margin: 0 0 4px; color: #0b7f8c; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
  .landing-feedback-close { border: 0; background: transparent; color: #66758d; font-size: 26px; line-height: 1; cursor: pointer; }
  .landing-feedback-close:hover, .landing-feedback-close:focus-visible { color: #1d4ed8; outline: 0; }
  .landing-feedback-dialog form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .landing-feedback-dialog form input, .landing-feedback-dialog form select, .landing-feedback-dialog form textarea { width: 100%; padding: 10px; border: 1px solid #b9ceda; border-radius: 10px; background: #f8fbfd; color: #172033; font: inherit; font-size: 12px; box-sizing: border-box; outline: 0; }
  .landing-feedback-dialog form input::placeholder, .landing-feedback-dialog form textarea::placeholder { color: #8795a8; }
  .landing-feedback-dialog form input:focus, .landing-feedback-dialog form select:focus, .landing-feedback-dialog form textarea:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(37,124,226,.14); }
  .landing-feedback-dialog form .feedback-full-row { grid-column: 1 / -1; box-sizing: border-box; }
  .landing-feedback-dialog form textarea { grid-column: 1 / -1; min-height: 110px; resize: vertical; }
  .landing-feedback-dialog .feedback-screenshot-field { display: grid; gap: 6px; padding: 9px 10px; border: 1px dashed #9bbdcc; border-radius: 10px; background: #f8fbfd; color: #52627a; font-size: 11px; font-weight: 700; }
  .landing-feedback-dialog .feedback-screenshot-field input[type="file"] { display: block; padding: 6px 0 0; border: 0; border-radius: 0; background: transparent; color: #475569; font-size: 11px; box-shadow: none; }
  .landing-feedback-dialog .feedback-privacy-note { margin: 0; color: #64748b; font-size: 10px; line-height: 1.45; }
  .landing-feedback-dialog form button[type="submit"] { grid-column: 1 / -1; justify-self: end; min-height: 40px; padding: 9px 18px; border: 0; border-radius: 11px; background: linear-gradient(100deg, #267ce2, #4e75df); color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 9px 18px rgba(43,120,228,.22); }
  .landing-feedback-dialog form button[type="submit"]:hover, .landing-feedback-dialog form button[type="submit"]:focus-visible { filter: brightness(1.06); outline: 0; }
  @media (min-width: 1100px) { body:has(#loginScreen.front-home:not([style*="display: none"])) { overflow: hidden !important; } }
  @media (max-width: 850px) { #loginScreen.front-home { overflow: visible !important; grid-template-rows: auto auto auto auto auto auto !important; } #loginScreen.front-home .front-showcase { height: 220px !important; } .front-auth-nav-actions { gap: 5px; } .front-nav-action { padding: 7px 9px; font-size: 10px; } .landing-float-actions { right: 10px; bottom: 10px; } }
  @media (max-width: 620px) { #loginScreen.front-home .front-tool-catalog .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } .landing-feedback-dialog form { grid-template-columns: 1fr; } .landing-feedback-dialog form textarea, .landing-feedback-dialog form .feedback-full-row, .landing-feedback-dialog form button[type="submit"] { grid-column: auto; } }
  @media (min-width: 1100px) {
    #loginScreen.front-home { gap: 7px !important; padding-bottom: 6px !important; grid-template-rows: auto minmax(150px, 20vh) minmax(58px, auto) auto auto auto !important; }
    #loginScreen.front-home .front-nav { min-height: 56px !important; padding-top: 6px !important; padding-bottom: 6px !important; }
    #loginScreen.front-home .front-showcase { min-height: 150px !important; height: 20vh !important; }
    #loginScreen.front-home .front-showcase .showcase-empty-content { gap: 5px !important; padding: 12px !important; }
    #loginScreen.front-home .front-showcase .showcase-empty-icon { font-size: 34px !important; }
    #loginScreen.front-home .front-showcase .showcase-caption { bottom: 7px !important; padding: 5px 8px !important; font-size: 10px !important; }
    #loginScreen.front-home .front-hero { min-height: 58px !important; padding: 9px 16px !important; }
    #loginScreen.front-home .front-hero h1 { font-size: clamp(19px, 2vw, 29px) !important; }
    #loginScreen.front-home .front-hero p { margin-top: 4px !important; font-size: 10px !important; }
    #loginScreen.front-home .front-auth-panel { padding: 16px 18px !important; }
    #loginScreen.front-home .front-auth-panel .badge { margin-top: 0 !important; margin-bottom: 4px !important; padding: 3px 9px !important; font-size: 9px !important; }
    #loginScreen.front-home .front-auth-panel h2 { font-size: 18px !important; margin-bottom: 3px !important; }
    #loginScreen.front-home .front-auth-panel > p { margin-bottom: 5px !important; font-size: 10px !important; }
    #loginScreen.front-home .front-auth-panel .login-input { height: 36px !important; margin: 5px 0 !important; padding: 7px 10px !important; font-size: 11px !important; }
    #loginScreen.front-home .front-auth-panel .login-btn { min-height: 36px !important; padding: 7px 10px !important; font-size: 12px !important; }
    #loginScreen.front-home .landing-auth-links { margin-top: 4px !important; }
    #loginScreen.front-home .front-highlights { gap: 6px !important; }
    #loginScreen.front-home .front-highlight { min-height: 30px !important; padding: 6px 8px !important; font-size: 10px !important; }
    #loginScreen.front-home .front-tool-catalog { padding: 9px 12px !important; }
    #loginScreen.front-home .front-tool-catalog .catalog-heading h3 { font-size: 15px !important; }
    #loginScreen.front-home .front-tool-catalog .catalog-tool { min-height: 39px !important; padding: 5px 7px !important; font-size: 10px !important; }
    #loginScreen.front-home .front-tool-catalog .catalog-tool span { font-size: 14px !important; }
    #landingPolicyStrip { margin-top: 3px !important; padding: 4px 8px !important; }
    #landingPolicyStrip .landing-policy-links a { font-size: 9px !important; padding: 1px 6px !important; }
    #landingMetrics { margin-top: 3px !important; padding: 3px 6px !important; }
    #landingMetrics .landing-metrics-heading { font-size: 10px !important; }
    #landingMetrics .landing-metric-card { padding: 0 6px !important; }
    #landingMetrics .landing-metric-card strong { font-size: 11px !important; }
    #landingMetrics .landing-metric-card span { font-size: 9px !important; }
    .op-footer { margin-top: 3px !important; padding-bottom: 3px !important; }
    .op-footer .op-footer-bottom { padding-top: 3px !important; font-size: 9px !important; }
  }
  .landing-float-actions { display: flex !important; visibility: visible !important; opacity: 1 !important; }
  body:has(#mainApp[style*="display: block"]) .landing-float-actions,
  body:has(#signUpScreen[style*="display: grid"]) .landing-float-actions,
  body:has(#signUpScreen[style*="display: block"]) .landing-float-actions { display: none !important; }
  body.public-landing-active #landingPolicyStrip,
  body.public-landing-active #landingMetrics,
  body.public-landing-active .op-footer { display: block !important; }
  body.public-landing-active .landing-float-actions { display: flex !important; }
  body:not(.public-landing-active) .landing-float-actions,
  body:not(.public-landing-active) #landingPolicyStrip,
  body:not(.public-landing-active) #landingMetrics,
  body:not(.public-landing-active) .op-footer { display: none !important; }
  /* Final public-state defaults; the existing login/app sibling rules still
     suppress these surfaces when the login screen is actually hidden. */
   #landingPolicyStrip { display: flex !important; }
   #landingMetrics { display: flex !important; }
   .op-footer { display: block !important; }
   .landing-float-actions { display: flex !important; }
   #loginScreen.front-home > #landingPolicyStrip { grid-column: 1 / -1 !important; grid-row: 8 !important; }
   #loginScreen.front-home > #landingMetrics { grid-column: 1 / -1 !important; grid-row: 9 !important; }
   #loginScreen.front-home > .op-footer { grid-column: 1 / -1 !important; grid-row: 10 !important; }
   #loginScreen.front-home > .landing-float-actions { position: fixed !important; }
   /* Never leave the sign-in card trapped in its decorative entrance animation. */
   #loginScreen.front-home .front-auth-panel {
     opacity: 1 !important;
     visibility: visible !important;
     transform: none !important;
     animation: none !important;
   }
   /* Desktop viewport contract: use the available 100% CSS viewport without
      horizontal spill or the old narrow-canvas behavior. The browser's own
      zoom setting remains user-controlled; this keeps the site native at 100%. */
   html, body { overflow-x: hidden !important; }
   body:has(#loginScreen.front-home) {
     min-width: 0 !important;
     padding: 0 0 10px !important;
   }
   #loginScreen.front-home {
     width: 100% !important;
     max-width: 1920px !important;
     min-width: 0 !important;
     box-sizing: border-box !important;
   }
   #loginScreen.front-home > * { min-width: 0 !important; }
   #loginScreen.front-home .front-nav,
   #loginScreen.front-home .front-showcase,
   #loginScreen.front-home .front-auth-panel,
   #loginScreen.front-home .front-hero,
   #loginScreen.front-home .front-status-banner,
   #loginScreen.front-home .front-highlights,
   #loginScreen.front-home .front-tool-catalog,
   #loginScreen.front-home #landingPolicyStrip,
   #loginScreen.front-home #landingMetrics,
   #loginScreen.front-home .op-footer { max-width: 100% !important; }
   @media (min-width: 1100px) {
     #loginScreen.front-home { padding-left: clamp(16px, 1.55vw, 30px) !important; padding-right: clamp(16px, 1.55vw, 30px) !important; }
     #loginScreen.front-home .front-nav { margin-left: calc(-1 * clamp(16px, 1.55vw, 30px)) !important; margin-right: calc(-1 * clamp(16px, 1.55vw, 30px)) !important; padding-left: clamp(16px, 1.55vw, 30px) !important; padding-right: clamp(16px, 1.55vw, 30px) !important; }
   }

/* ===== workspace-tool-order ===== */
/* Keep tool-group ordering and labels stable. */
  #mainApp .dashboard-group-title { order: 0 !important; }
  #mainApp .dashboard-group-title.paid-group-title { color: #a85a17 !important; border-color: #f3c98a !important; }
  #mainApp .dashboard-group-title.paid-group-title::before { color: #f59e0b !important; }
  #mainApp .dashboard-group-title.pdf-group-title { color: #087b65 !important; border-color: #a9e8ca !important; }
  #mainApp .dashboard-group-title.pdf-group-title::before { color: #10b981 !important; }
  #mainApp .dashboard-group-title.utility-group-title { color: #52637f !important; border-color: #cbd8e2 !important; }
  #mainApp .dashboard-group-title.utility-group-title::before { color: #8291a5 !important; }

/* ===== session-and-mobile-final-fix ===== */
/* JS normally adds session-bootstrap-fallback. This CSS failsafe prevents a
     stalled script/runtime from leaving /app blank forever. */
  @keyframes workspace-route-failsafe-visible { to { visibility: visible; } }
  @keyframes workspace-route-failsafe-overlay { to { opacity: 0; visibility: hidden; } }
  html.workspace-route:not(.session-bootstrap):not(.session-bootstrap-fallback) body {
    animation: workspace-route-failsafe-visible 0s 82s forwards !important;
  }
  html.workspace-route:not(.session-bootstrap):not(.session-bootstrap-fallback)::after {
    animation: workspace-route-failsafe-overlay 0s 82s forwards !important;
  }
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .front-nav,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .front-showcase,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .front-hero,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .front-status-banner,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .front-highlights,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .front-tool-catalog,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > #landingPolicyStrip,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > #landingMetrics,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > #landingArticles,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .op-footer,
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .landing-float-actions {
    display: none !important;
  }
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    width: min(100%,620px) !important;
    min-width: 0 !important;
    max-width: 620px !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    padding: 28px 18px !important;
    align-content: center !important;
    gap: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html.workspace-route:not(.session-bootstrap) #loginScreen.front-home > .front-auth-panel {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }
  /* /app is a workspace route. If its cookie bootstrap cannot complete, show
     only the recovery login card; never leak public landing sections into it. */
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .front-nav,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .front-showcase,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .front-hero,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .front-status-banner,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .front-highlights,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .front-tool-catalog,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > #landingPolicyStrip,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > #landingMetrics,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > #landingArticles,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .op-footer,
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .landing-float-actions,
  html.workspace-route.session-bootstrap-fallback > body > .landing-float-actions,
  html.workspace-route.session-bootstrap-fallback > body > #landingPolicyStrip,
  html.workspace-route.session-bootstrap-fallback > body > #landingMetrics,
  html.workspace-route.session-bootstrap-fallback > body > .op-footer {
    display: none !important;
  }
  html.workspace-route:not(.session-bootstrap) #landingPolicyStrip,
  html.workspace-route:not(.session-bootstrap) #landingMetrics,
  html.workspace-route:not(.session-bootstrap) .op-footer,
  html.workspace-route:not(.session-bootstrap) .landing-float-actions {
    display: none !important;
  }
  /* These surfaces are public-landing-only in every /app state, including a
     stale body class or an in-flight session transition. */
  html.workspace-route #landingPolicyStrip,
  html.workspace-route #landingMetrics,
  html.workspace-route .op-footer,
  html.workspace-route .landing-float-actions {
    display: none !important;
  }
  html.workspace-route.session-bootstrap-fallback body {
    min-width: 0 !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    background: linear-gradient(135deg,#eef8fb,#fff8f1) !important;
  }
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    width: min(100%, 620px) !important;
    min-width: 0 !important;
    max-width: 620px !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    padding: 28px 18px !important;
    align-content: center !important;
    gap: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home > .front-auth-panel {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    padding: clamp(24px,5vw,42px) clamp(18px,5vw,42px) !important;
    border: 1px solid #c7dce6 !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 18px 50px rgba(32,67,96,.16) !important;
  }
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home .front-auth-panel > * {
    max-width: 100% !important;
  }
  html.workspace-route.session-bootstrap-fallback #loginScreen.front-home .session-retry-btn {
    display: block !important;
    margin-top: 12px !important;
  }
  /* Public landing: every grid item must be allowed to shrink inside the
     mobile viewport instead of preserving the old desktop canvas width. */
  html:not(.workspace-route),
  html:not(.workspace-route) body {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  html:not(.workspace-route) #loginScreen.front-home {
    width: 100% !important;
    max-width: 1920px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  html:not(.workspace-route) #loginScreen.front-home > *,
  html:not(.workspace-route) #loginScreen.front-home .front-nav,
  html:not(.workspace-route) #loginScreen.front-home .front-showcase,
  html:not(.workspace-route) #loginScreen.front-home .front-hero,
  html:not(.workspace-route) #loginScreen.front-home .front-auth-panel,
  html:not(.workspace-route) #loginScreen.front-home .front-status-banner,
  html:not(.workspace-route) #loginScreen.front-home .front-highlights,
  html:not(.workspace-route) #loginScreen.front-home .front-tool-catalog,
  html:not(.workspace-route) #loginScreen.front-home #landingPolicyStrip,
  html:not(.workspace-route) #loginScreen.front-home #landingMetrics,
  html:not(.workspace-route) #loginScreen.front-home .op-footer {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  html:not(.workspace-route) #loginScreen.front-home .front-showcase,
  html:not(.workspace-route) #loginScreen.front-home .front-tool-catalog,
  html:not(.workspace-route) #loginScreen.front-home .front-auth-panel {
    overflow: hidden !important;
  }
  @media (max-width: 850px) {
    html:not(.workspace-route) body:has(#loginScreen.front-home) {
      padding: 0 8px 14px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home {
      grid-template-columns: minmax(0,1fr) !important;
      gap: 12px !important;
      padding: 12px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-nav {
      margin: 0 !important;
      padding: 10px 12px !important;
      flex-wrap: wrap !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-nav .front-auth-nav-actions {
      width: 100% !important;
      justify-content: flex-end !important;
      order: 3 !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-showcase {
      height: min(240px, 58vw) !important;
      min-height: 200px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-highlights {
      grid-template-columns: repeat(3,minmax(0,1fr)) !important;
      gap: 8px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-tool-catalog {
      padding: 14px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-tool-catalog .catalog-grid {
      grid-template-columns: repeat(2,minmax(0,1fr)) !important;
      gap: 8px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-tool-catalog .catalog-tool {
      min-width: 0 !important;
    }
  }
  @media (max-width: 520px) {
    html:not(.workspace-route) #loginScreen.front-home .front-nav .front-auth-nav-actions {
      justify-content: stretch !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-nav .front-auth-nav-actions button {
      flex: 1 1 0 !important;
      min-width: 0 !important;
      padding: 8px 6px !important;
      font-size: 10px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-showcase {
      height: 210px !important;
      min-height: 190px !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-highlights {
      grid-template-columns: 1fr !important;
    }
    html:not(.workspace-route) #loginScreen.front-home .front-tool-catalog .catalog-grid {
      grid-template-columns: 1fr !important;
    }
    html:not(.workspace-route) #loginScreen.front-home #landingPolicyStrip .landing-policy-links {
      grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
  }
    @media(max-width:900px){}

/* ===== workspace-top-header-final ===== */
/* Role guard: CSS must not resurrect admin controls after inline role setup. */
  
  #mainApp #tab-tools-home{display:none!important;min-height:0!important;height:0!important;overflow:hidden!important}
  #mainApp .workspace-header-row{
    display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;
    width:100%!important;min-height:70px!important;margin:0!important;padding:12px 14px!important;
    box-sizing:border-box!important;border:1px solid #67e8f9aa!important;border-radius:16px!important;
    background:linear-gradient(100deg,#0e7490,#4338a8 52%,#c2410c)!important;
    box-shadow:0 14px 30px #02061755,inset 0 1px #ffffff55!important;
  }
  #mainApp .workspace-header-row>strong{
    flex:1 1 230px!important;min-width:190px!important;color:#fff!important;
    font-size:clamp(18px,2vw,25px)!important;line-height:1.15!important;white-space:normal!important;
  }
  #mainApp .workspace-header-row>.theme-toggle,
  #mainApp .workspace-header-row>.logout-btn{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:36px!important;padding:8px 11px!important;border:1px solid #ffffff99!important;
    border-radius:9px!important;background:#ffffff1c!important;color:#fff!important;
    font:700 11px/1.2 inherit!important;white-space:nowrap!important;cursor:pointer!important;
    text-shadow:0 1px 2px #020617!important;box-shadow:0 5px 12px #0206172b!important;
  }
  #mainApp .workspace-header-row>.theme-toggle:hover,#mainApp .workspace-header-row>.theme-toggle:focus-visible,
  #mainApp .workspace-header-row>.logout-btn:hover,#mainApp .workspace-header-row>.logout-btn:focus-visible{
    background:#fff!important;color:#172554!important;text-shadow:none!important;outline:none!important;
  }
  #mainApp .workspace-header-row>label{order:1!important;margin-left:auto!important;color:#fff!important;white-space:nowrap!important}
  #mainApp .workspace-header-row>label select{min-height:36px!important;background:#fff!important;color:#172554!important;border-color:#fff!important}
  #mainApp .workspace-header-row>#validityCounterBadge{order:3!important;color:#064e3b!important;background:#bbf7d0!important;border-color:#34d399!important}
  #mainApp .workspace-header-row>#themeToggleBtn{order:5!important}
  #mainApp .workspace-header-row>#myAccountTabBtn{order:6!important}
  
  #mainApp .workspace-header-row>#logoutBtn{order:8!important;background:#b91c1c!important;border-color:#fecaca!important}
  #mainApp .workspace-tool-grid .dashboard-tool-launcher{min-width:0!important}
  @media(max-width:1050px){
    #mainApp[style*="display: block"],#mainApp[style*="display: grid"]{grid-template-columns:minmax(190px,220px) minmax(0,1fr)!important}
  }
  @media(max-width:850px){
    #mainApp[style*="display: block"],#mainApp[style*="display: grid"]{display:block!important;width:calc(100% - 16px)!important;max-width:none!important}
    #mainApp[style*="display: block"]>.container{margin-bottom:12px!important}
    #mainApp[style*="display: block"]>.workspace-tool-grid{width:100%!important}
    #mainApp .workspace-header-row{padding:10px!important}
    #mainApp .workspace-header-row>strong{flex-basis:100%!important}
    #mainApp .workspace-header-row>label{margin-left:0!important}
  }
  @media(max-width:520px){
    #mainApp .workspace-header-row>.theme-toggle,#mainApp .workspace-header-row>.logout-btn,
    #mainApp .workspace-header-row>#validityCounterBadge{font-size:10px!important;padding:7px 8px!important}
  }



/* ===== maintenance-gift-fullscreen-reveal ===== */
body.gift-reveal-open{overflow:hidden!important}
.gift-reveal-overlay[hidden]{display:none!important}
.gift-reveal-overlay{
  position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;
  padding:22px;background:rgba(2,6,23,.72);backdrop-filter:blur(7px)
}
.gift-reveal-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.gift-confetti-piece{
  position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);
  border-radius:2px;opacity:0;will-change:transform,opacity;
  animation:skilloGiftPaperBlast var(--duration) cubic-bezier(.14,.74,.31,1) var(--delay) forwards;
  box-shadow:0 1px 2px rgba(15,23,42,.15)
}
@keyframes skilloGiftPaperBlast{
  0%{opacity:0;transform:translate3d(0,0,0) rotate(0deg) scale(.2)}
  8%{opacity:1;transform:translate3d(0,-18px,0) rotate(120deg) scale(1.15)}
  28%{opacity:1;transform:translate3d(10px,20px,0) rotate(360deg) scale(1)}
  100%{opacity:0;transform:translate3d(var(--dx),var(--dy),0) rotate(var(--r)) scale(.8)}
}
.gift-reveal-card{
  position:relative;z-index:2;width:min(560px,calc(100vw - 32px));max-height:min(78vh,620px);overflow:auto;
  padding:34px 30px 30px;border:1px solid rgba(255,255,255,.72);border-radius:26px;text-align:center;
  background:linear-gradient(145deg,#fff 0%,#fff8ef 48%,#effafa 100%);color:#172033;
  box-shadow:0 32px 90px rgba(2,6,23,.45),0 0 0 8px rgba(255,255,255,.12)
}
.gift-reveal-close{
  position:absolute;top:13px;right:14px;width:38px;height:38px;border:0;border-radius:50%;
  display:grid;place-items:center;background:#172033;color:#fff;font-size:27px;line-height:1;cursor:pointer;
  box-shadow:0 8px 20px rgba(15,23,42,.18)
}
.gift-reveal-close:hover,.gift-reveal-close:focus-visible{transform:scale(1.06);outline:3px solid rgba(37,99,235,.28)}
.gift-reveal-icon{font-size:58px;line-height:1;margin-bottom:9px;filter:drop-shadow(0 9px 14px rgba(245,158,11,.22))}
.gift-reveal-eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#c76124;margin-bottom:7px}
.gift-reveal-card h2{margin:0;color:#17324d!important;font-size:clamp(24px,5vw,36px)!important;line-height:1.12}
.gift-reveal-tokens{
  display:inline-flex;align-items:center;justify-content:center;margin:18px auto 14px;padding:10px 18px;
  border-radius:999px;background:linear-gradient(100deg,#0f766e,#2563eb);color:#fff;font-size:18px;font-weight:900;
  box-shadow:0 12px 26px rgba(37,99,235,.2)
}
.gift-reveal-message{margin:0 auto;max-width:470px;color:#334155!important;font-size:16px!important;line-height:1.65!important;font-weight:650;white-space:pre-wrap;overflow-wrap:anywhere}
.gift-reveal-hint{margin:16px 0 0;color:#64748b!important;font-size:12px!important;line-height:1.5!important}
@media(max-width:520px){
  .gift-reveal-overlay{padding:14px}
  .gift-reveal-card{width:calc(100vw - 24px);padding:31px 19px 24px;border-radius:21px}
  .gift-reveal-icon{font-size:50px}.gift-reveal-message{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){
  .gift-confetti-piece{animation:none!important;display:none!important}
  .gift-reveal-close{transition:none!important}
}


/* ===== ai-resume-intelligence-live-edit-v2 ===== */
.resume-preview [data-resume-live-editable="true"]{cursor:text;outline:none;min-width:.35em}
.resume-preview [data-resume-live-editable="true"]:hover{box-shadow:inset 0 -1px rgba(14,165,233,.28)}
.resume-preview [data-resume-live-editable="true"]:focus{box-shadow:0 0 0 2px rgba(14,165,233,.28);background:rgba(240,249,255,.72)!important;border-radius:3px}
.resume-preview.resume-source-layout [data-resume-live-editable="true"]{pointer-events:auto;position:relative;z-index:3}
.resume-chat-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.resume-chat-suggestions button{min-height:30px;padding:5px 9px;border:1px solid #7dd3fc;border-radius:999px;background:#0c4a6e;color:#e0f2fe;font:800 10px/1.2 Arial,sans-serif;cursor:pointer}
.resume-chat-suggestions button:hover,.resume-chat-suggestions button:focus-visible{background:#075985;outline:2px solid #38bdf8;outline-offset:1px}
.resume-voice-editor{border:1px solid #38bdf866!important;box-shadow:0 8px 24px rgba(2,132,199,.12)}
.resume-preview.resume-template-17{font-family:Arial,Helvetica,sans-serif;border:1px solid #cbd5e1;border-radius:0;box-shadow:0 8px 22px rgba(15,23,42,.12)}
.resume-preview.resume-template-17 .resume-head{border-bottom:2px solid #111827;text-align:left}
.resume-preview.resume-template-17 .resume-headline,.resume-preview.resume-template-17 .resume-section h3{color:#111827;text-transform:uppercase;letter-spacing:.7px}
.resume-preview.resume-template-17 .resume-section h3{border-bottom:1px solid #94a3b8}
.resume-preview.resume-template-17 .resume-skill{background:#fff;border:1px solid #cbd5e1;color:#111827}
.resume-preview.resume-template-18{font-family:Arial,Helvetica,sans-serif;border-top:14px solid #173b63;border-radius:0}
.resume-preview.resume-template-18 .resume-head{background:#eef4fa;border:0;border-left:6px solid #173b63;padding:18px 20px}
.resume-preview.resume-template-18 .resume-headline,.resume-preview.resume-template-18 .resume-section h3{color:#173b63}
.resume-preview.resume-template-18 .resume-section h3{border-bottom:2px solid #bfd0e2}
.resume-preview.resume-template-18 .resume-skill{background:#e8f0f8;color:#173b63}
.resume-preview.resume-template-19{font-family:Arial,Helvetica,sans-serif;border-left:9px solid #0f6b54;border-radius:0}
.resume-preview.resume-template-19 .resume-head{border-bottom:3px solid #0f6b54}
.resume-preview.resume-template-19 .resume-name{color:#103d34}
.resume-preview.resume-template-19 .resume-headline,.resume-preview.resume-template-19 .resume-section h3{color:#0f6b54}
.resume-preview.resume-template-19 .resume-skill{background:#e8f7f1;color:#0b5d47;border:1px solid #b7e2d2}
.resume-preview.resume-template-20{font-family:Georgia,'Times New Roman',serif;border-top:8px solid #7f1d2d;border-radius:0}
.resume-preview.resume-template-20 .resume-head{text-align:center;border-bottom:1px solid #7f1d2d}
.resume-preview.resume-template-20 .resume-name{letter-spacing:.4px}
.resume-preview.resume-template-20 .resume-headline,.resume-preview.resume-template-20 .resume-section h3{color:#7f1d2d}
.resume-preview.resume-template-20 .resume-section h3{font-variant:small-caps;border-bottom:1px solid #d8b4bb}
.resume-preview.resume-template-21{font-family:Arial,Helvetica,sans-serif;padding:32px 40px;line-height:1.28;border-top:10px solid #4338ca}
.resume-preview.resume-template-21 .resume-head{padding-bottom:10px;margin-bottom:12px;border-bottom:3px solid #4338ca}
.resume-preview.resume-template-21 .resume-name{font-size:30px}
.resume-preview.resume-template-21 .resume-headline,.resume-preview.resume-template-21 .resume-section h3{color:#4338ca}
.resume-preview.resume-template-21 .resume-section{margin-bottom:10px}
.resume-preview.resume-template-21 .resume-section h3{margin-bottom:5px}
.resume-preview.resume-template-21 .resume-item{margin-bottom:7px}
.resume-preview.resume-template-22{font-family:'Trebuchet MS',Arial,sans-serif;border-radius:14px;border:1px solid #f3c477}
.resume-preview.resume-template-22 .resume-head{background:linear-gradient(135deg,#fff7e6,#ffedd5);border:0;border-left:7px solid #d97706;padding:20px;border-radius:10px}
.resume-preview.resume-template-22 .resume-name{color:#78350f}
.resume-preview.resume-template-22 .resume-headline,.resume-preview.resume-template-22 .resume-section h3{color:#b45309}
.resume-preview.resume-template-22 .resume-section{padding:10px 12px;border:1px solid #fde2b7;border-radius:9px;background:#fffbf5}
.resume-preview.resume-template-22 .resume-skill{background:#fef3c7;color:#92400e}
.resume-preview.resume-template-23{font-family:Arial,Helvetica,sans-serif;border-left:10px solid #334155;border-radius:0}
.resume-preview.resume-template-23 .resume-head{background:#f1f5f9;border-bottom:2px solid #334155;padding:18px}
.resume-preview.resume-template-23 .resume-name{font-family:'Courier New',monospace;color:#0f172a}
.resume-preview.resume-template-23 .resume-headline,.resume-preview.resume-template-23 .resume-section h3{color:#334155}
.resume-preview.resume-template-23 .resume-section h3{font-family:'Courier New',monospace;border-bottom:1px dashed #64748b}
.resume-preview.resume-template-23 .resume-skill{font-family:'Courier New',monospace;background:#e2e8f0;color:#1e293b}
.resume-preview.resume-template-24{font-family:Arial,Helvetica,sans-serif;border:2px solid #111;border-radius:0;box-shadow:none}
.resume-preview.resume-template-24 .resume-head{border-bottom:3px double #111}
.resume-preview.resume-template-24 .resume-name,.resume-preview.resume-template-24 .resume-headline,.resume-preview.resume-template-24 .resume-section h3{color:#111}
.resume-preview.resume-template-24 .resume-section h3{border-bottom:1px solid #111}
.resume-preview.resume-template-24 .resume-skill{background:#fff;color:#111;border:1px solid #555}
@media print{
  .resume-chat-suggestions{display:none!important}
  .resume-preview [data-resume-live-editable="true"]{box-shadow:none!important;background:transparent!important}
}

/* ===== selectable-output-dpi-v1 ===== */
.output-dpi-control{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #38bdf866;border-radius:10px;background:#0f172a99;color:#cbd5e1;font-size:11px;font-weight:800;white-space:nowrap}
.output-dpi-control select{min-width:68px;padding:6px 8px;border:1px solid #52637f;border-radius:8px;background:#111c2e;color:#fff;font:inherit;font-weight:800;cursor:pointer}
body.op-light .output-dpi-control{background:#f8fafc;color:#334155;border-color:#94a3b8}
body.op-light .output-dpi-control select{background:#fff;color:#0f172a;border-color:#94a3b8}
@media(max-width:720px){.output-dpi-control{order:4}.output-dpi-control select{min-width:64px}}

/* ===== ai-resume-copilot-20261005 =====
   Resume-only presentation upgrades: multi-page overflow safety, 8 additional
   templates and a more usable conversational editor. No other portal surface
   is intentionally affected. */
#tab-resume .resume-preview.resume-flow-multipage{
  min-height:var(--resume-flow-height,var(--resume-a4-height,1160px))!important;
  overflow:visible!important;
}
#tab-resume .resume-preview.resume-flow-multipage:is(.resume-template-13,.resume-template-14,.resume-template-15,.resume-template-16){
  overflow:visible!important;
}
#tab-resume .resume-preview.resume-flow-multipage::after{
  content:attr(data-page-label);
  display:block;
  margin:18px 0 -22px;
  padding-top:10px;
  border-top:1px dashed #cbd5e1;
  color:#64748b;
  font-size:10px;
  font-weight:700;
  text-align:center;
}
#resumeTemplatePicker .resume-template-card{position:relative}
@media (hover:hover) and (pointer:fine){
  #resumeTemplatePicker .resume-template-card:hover::after,
  #resumeTemplatePicker .resume-template-card:focus-visible::after{
    content:attr(data-template-name);
    position:absolute;
    left:50%;
    bottom:calc(100% + 7px);
    z-index:20;
    transform:translateX(-50%);
    min-width:max-content;
    max-width:180px;
    padding:5px 8px;
    border-radius:7px;
    background:#0f172a;
    color:#fff;
    box-shadow:0 6px 18px #02061755;
    font:700 10px/1.2 Arial,sans-serif;
    white-space:nowrap;
    pointer-events:none;
  }
}
#tab-resume .resume-preview.resume-template-25{font-family:Inter,"Segoe UI",Arial,sans-serif;border-top:7px solid #0891b2;background:#fbfeff}
#tab-resume .resume-preview.resume-template-25 .resume-head{border-bottom:2px solid #67e8f9}
#tab-resume .resume-preview.resume-template-25 .resume-headline,
#tab-resume .resume-preview.resume-template-25 .resume-section h3{color:#0e7490}
#tab-resume .resume-preview.resume-template-25 .resume-skill{background:#cffafe;color:#155e75}
#tab-resume .resume-preview.resume-template-26{font-family:"Segoe UI",Arial,sans-serif;border-left:18px solid #334155;background:linear-gradient(90deg,#f1f5f9 0 9%,#fff 9%)}
#tab-resume .resume-preview.resume-template-26 .resume-head{padding:18px 20px;background:#e2e8f0;border-bottom:0;border-radius:5px}
#tab-resume .resume-preview.resume-template-26 .resume-section h3{color:#334155;border-bottom:2px solid #cbd5e1}
#tab-resume .resume-preview.resume-template-27{font-family:Arial,Helvetica,sans-serif;border:1px solid #64748b;border-radius:0;line-height:1.32}
#tab-resume .resume-preview.resume-template-27 .resume-head{border-bottom:2px solid #111827;padding-bottom:12px;margin-bottom:14px}
#tab-resume .resume-preview.resume-template-27 .resume-name{font-size:29px}
#tab-resume .resume-preview.resume-template-27 .resume-section{margin-bottom:12px}
#tab-resume .resume-preview.resume-template-27 .resume-section h3{color:#111827;border-bottom:1px solid #111827;letter-spacing:.6px}
#tab-resume .resume-preview.resume-template-27 .resume-skill{padding:2px 0;background:transparent;color:#111827;border-radius:0}
#tab-resume .resume-preview.resume-template-28{font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif;border:5px solid #1d4ed8}
#tab-resume .resume-preview.resume-template-28 .resume-head{margin:-10px -12px 20px;padding:20px 22px;background:#1e3a8a;border:0;color:#fff}
#tab-resume .resume-preview.resume-template-28 .resume-name,
#tab-resume .resume-preview.resume-template-28 .resume-headline,
#tab-resume .resume-preview.resume-template-28 .resume-contact{color:#fff}
#tab-resume .resume-preview.resume-template-28 .resume-section h3{padding:6px 9px;background:#dbeafe;color:#1e3a8a;border:0}
#tab-resume .resume-preview.resume-template-29{font-family:Georgia,"Times New Roman",serif;border:1px solid #111827;border-radius:0}
#tab-resume .resume-preview.resume-template-29 .resume-head{text-align:center;border-top:3px double #111827;border-bottom:3px double #111827;padding:14px 0}
#tab-resume .resume-preview.resume-template-29 .resume-section h3{color:#111827;border-bottom:1px solid #111827;text-transform:uppercase;letter-spacing:.8px}
#tab-resume .resume-preview.resume-template-29 .resume-skill{background:#f3f4f6;color:#111827;border:1px solid #d1d5db}
#tab-resume .resume-preview.resume-template-30{font-family:"Segoe UI",Arial,sans-serif;border-top:8px solid #22c55e;background:#fcfffd}
#tab-resume .resume-preview.resume-template-30 .resume-head{background:#ecfdf5;border-bottom:0;border-left:5px solid #16a34a;padding:18px}
#tab-resume .resume-preview.resume-template-30 .resume-headline,
#tab-resume .resume-preview.resume-template-30 .resume-section h3{color:#15803d}
#tab-resume .resume-preview.resume-template-30 .resume-section[data-resume-section="education"]{order:-1}
#tab-resume .resume-preview.resume-template-31{font-family:"Segoe UI",Arial,sans-serif;border:1px solid #0f172a;background:#f8fafc}
#tab-resume .resume-preview.resume-template-31 .resume-head{margin:-2px -2px 20px;padding:20px;background:#0f172a;border-bottom:4px solid #22d3ee}
#tab-resume .resume-preview.resume-template-31 .resume-name{color:#f8fafc}
#tab-resume .resume-preview.resume-template-31 .resume-headline{color:#67e8f9}
#tab-resume .resume-preview.resume-template-31 .resume-contact{color:#cbd5e1}
#tab-resume .resume-preview.resume-template-31 .resume-section h3{color:#0e7490;border-bottom:2px solid #67e8f9}
#tab-resume .resume-preview.resume-template-31 .resume-skill{background:#cffafe;color:#164e63}
#tab-resume .resume-preview.resume-template-32{font-family:Georgia,"Times New Roman",serif;border-top:9px solid #172554;background:#fffdf7}
#tab-resume .resume-preview.resume-template-32 .resume-head{border-bottom:2px solid #c49a39}
#tab-resume .resume-preview.resume-template-32 .resume-name{color:#172554}
#tab-resume .resume-preview.resume-template-32 .resume-headline,
#tab-resume .resume-preview.resume-template-32 .resume-section h3{color:#7c5b13}
#tab-resume .resume-preview.resume-template-32 .resume-section h3{border-bottom:1px solid #d6b45a;text-transform:none;letter-spacing:.4px}
#tab-resume .resume-preview.resume-template-32 .resume-skill{background:#fff7d6;color:#61450b;border:1px solid #ecd58a}

#tab-resume #resumeVoiceEditor.resume-voice-editor{
  margin-top:14px;
  padding:14px;
  border:1px solid #bfd7ea;
  border-radius:16px;
  background:linear-gradient(180deg,#f8fcff,#f2f7fb);
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}
#tab-resume .resume-chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#tab-resume .resume-chat-log{min-height:130px;max-height:280px;overflow:auto;margin:10px 0;padding:10px;border:1px solid #dbe5ee;border-radius:12px;background:#fff;scrollbar-gutter:stable}
#tab-resume .resume-chat-message{max-width:88%;margin:6px 0;padding:8px 10px;border-radius:11px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.45}
#tab-resume .resume-chat-message.assistant{margin-right:auto;background:#eef6ff;color:#17345f}
#tab-resume .resume-chat-message.user{margin-left:auto;background:#17345f;color:#fff}
#tab-resume .resume-chat-message.error{margin-right:auto;background:#fff1f2;color:#9f1239}
#tab-resume .resume-chat-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
#tab-resume .resume-chat-suggestions button{min-height:30px;padding:5px 9px;border:1px solid #9fc4dc;border-radius:999px;background:#fff;color:#245a85;font-size:10px;font-weight:800;cursor:pointer}
#tab-resume #resumeVoiceCommand{width:100%;min-height:78px;box-sizing:border-box;margin-top:6px;padding:11px 48px 11px 12px;border:1px solid #94a3b8;border-radius:14px;background:#fff;color:#172033;resize:vertical}
#tab-resume .resume-chat-compose{display:flex;justify-content:flex-end;gap:7px;margin-top:-43px;padding:0 7px 8px;position:relative;pointer-events:none}
#tab-resume .resume-chat-compose button{pointer-events:auto;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;border:0;cursor:pointer}
#tab-resume .resume-chat-send{background:#17345f;color:#fff}
#tab-resume .resume-chat-icon{background:#e2e8f0;color:#17345f}
@media(max-width:650px){
  #tab-resume .resume-chat-message{max-width:96%}
  #tab-resume #resumeVoiceEditor.resume-voice-editor{padding:10px}
}

/* Public free-tool routes only: replace authenticated workspace shortcuts with
   crawlable, compact tool navigation. Never changes /app or payment/auth UI. */
#mainApp .public-free-tools-nav{display:none!important}
#mainApp.public-free-mode .portal-tool-sidebar{display:none!important}
#mainApp.public-free-mode .public-free-tools-nav{
  display:flex!important;align-items:center;gap:8px;overflow-x:auto;
  overflow-y:hidden;overscroll-behavior-x:contain;white-space:nowrap;
  width:100%;box-sizing:border-box;padding:7px 2px 12px;margin:4px 0 8px;
  scrollbar-width:thin;-webkit-overflow-scrolling:touch;
}
#mainApp.public-free-mode .public-free-tools-nav a{
  flex:0 0 auto;display:inline-flex;align-items:center;min-height:38px;
  box-sizing:border-box;padding:8px 13px;border:1px solid #cbd5e1;
  border-radius:11px;background:#f8fafc;color:#243b63!important;
  -webkit-text-fill-color:#243b63!important;text-decoration:none!important;
  font:750 12px/1.3 system-ui,sans-serif;box-shadow:0 2px 6px #0f172a0c;
}
#mainApp.public-free-mode .public-free-tools-nav a:hover,
#mainApp.public-free-mode .public-free-tools-nav a:focus-visible{
  border-color:#60a5fa;background:#eff6ff;
  outline:2px solid #bfdbfe;outline-offset:1px;
}
#mainApp.public-free-mode .public-free-tools-nav a[aria-current="page"]{
  background:#dbeafe;border-color:#3b82f6;color:#1e40af!important;
  -webkit-text-fill-color:#1e40af!important;font-weight:800;
}
@media(max-width:650px){
  #mainApp.public-free-mode .public-free-tools-nav{gap:6px;padding-bottom:10px}
  #mainApp.public-free-mode .public-free-tools-nav a{min-height:36px;font-size:11px;padding:8px 10px}
}

/* Server-rendered SEO guidance shown only for public /tools/ pages. */
#mainApp.public-free-mode .public-tool-seo-intro{
  width:100%;box-sizing:border-box;margin:0 0 12px;padding:13px 16px;
  border:1px solid #d9e5f2;border-radius:12px;background:#f8fbff;
  color:#1e293b;text-align:left;
}
#mainApp.public-free-mode .public-tool-seo-intro h2{
  margin:0 0 5px;font:800 clamp(16px,1.4vw,20px)/1.3 system-ui,sans-serif;
  color:#102a53;-webkit-text-fill-color:#102a53;
}
#mainApp.public-free-mode .public-tool-seo-intro p{
  margin:0;font:500 12px/1.55 system-ui,sans-serif;color:#475569;
  -webkit-text-fill-color:#475569;
}
#mainApp.public-free-mode .public-tool-seo-intro .public-tool-seo-steps{
  margin-top:4px;font-size:11px;color:#64748b;-webkit-text-fill-color:#64748b;
}
@media(max-width:650px){
  #mainApp.public-free-mode .public-tool-seo-intro{padding:10px 12px;margin-bottom:9px}
  #mainApp.public-free-mode .public-tool-seo-intro h2{font-size:16px}
}

/* PDF Editor only: show native text-box bounds and collision state. */
#np-editor #np-inline:not([hidden]){outline:1px solid #0d9488!important;outline-offset:1px!important;max-width:100%!important}
#np-editor #np-inline[data-overlap="true"]{outline:2px solid #dc2626!important;outline-offset:2px!important;background:rgba(254,226,226,.70)!important}
#np-editor .np-inline-help{display:block!important;color:#475569;font-size:12px;line-height:1.45;margin:5px 0 9px}
#np-editor #np-print{background:#fff;color:#086b73;border-color:#087e8b;font-weight:700}
#np-editor #np-print:hover{background:#e6f7f8}

/* Native-only PDF Editor field modes; no new text/whiteout overlays. */
#np-editor #np-field-mode-hint{display:block;padding:8px 10px;margin:10px 0;border:1px solid #cbd5e1;border-radius:7px;background:var(--surface,#f8fafc);color:inherit;font-size:12px;line-height:1.4}
#np-editor [data-np-native-field][aria-pressed="true"]{outline:2px solid #0d9488;outline-offset:1px}
#np-editor #np-hits button.np-native-field-match{outline:2px solid #0891b2!important;outline-offset:-2px!important;box-shadow:inset 0 0 0 2px rgba(14,165,233,.25)!important}
#pro-pdf-editor #proPdfAddText,#pro-pdf-editor #proPdfTextValue{display:none!important}

/* Owner-authorized real print resolution choices for three photo tools. */
.photo-dpi-choice{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0 12px;padding:10px 12px;border:1px solid #64748b88;border-radius:10px;background:var(--card-bg,#19243b);color:var(--text-primary,#e5e7eb)}
.photo-dpi-choice>button{cursor:pointer;border:1px solid #64748b;border-radius:8px;background:#334155;color:#fff;font-weight:750;padding:7px 13px;min-width:58px}
.photo-dpi-choice>button[aria-pressed="true"]{background:#0369a1;border-color:#7dd3fc;box-shadow:0 0 0 2px #38bdf833}
.photo-dpi-choice small{flex-basis:100%;font-size:11px;color:var(--text-muted,#94a3b8)}
body.op-light .photo-dpi-choice{background:#f8fafc;color:#0f172a}
