.gct-single .gct-cdr { color:#30354a; background:#fcfcff; border:1px solid #dfe3ed; border-radius:20px; padding:16px; box-shadow:0 12px 36px #1e293b07; }
.gct-single .gct-cdr button { min-height:44px; padding:11px 16px; border:1px solid #dce1ed; border-radius:10px; background:#fff; color:#30354a; font:inherit; font-size:14px; line-height:1.4; font-weight:600; cursor:pointer; box-shadow:none; text-transform:none; letter-spacing:normal; }
.gct-single .gct-cdr button:hover { background:#f2f5ff; border-color:#b6c8eb; }
.gct-single .gct-cdr button:disabled { opacity:.45; cursor:default; }
.gct-single .gct-cdr .gct-cdr-primary { background:var(--gct-accent); border-color:var(--gct-accent); color:#fff; }
.gct-single .gct-cdr .gct-cdr-primary:hover { background:var(--gct-accent-hover); }
.gct-single .gct-cdr-input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; clip-path:inset(50%); overflow:hidden; }
.gct-single .gct-cdr-drop { padding:48px 20px 28px; border:2px dashed #d9e0f0; border-radius:14px; background:#fff; text-align:center; }
.gct-single .gct-cdr-drop.is-dragover { background:#eff6ff; border-color:var(--gct-accent); }
.gct-single .gct-cdr-document { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; width:76px; height:86px; border-radius:18px; background:#eff6ff; color:var(--gct-accent); font-size:14px; }
.gct-single .gct-cdr-document svg { width:32px; height:32px; }
.gct-single .gct-cdr-drop h2 { margin:20px 0 10px; font-size:26px; line-height:1.3; }
.gct-single .gct-cdr-drop p { margin:0 0 22px; color:#68748b; font-size:15px; }
.gct-single .gct-cdr-drop small { display:block; margin-top:14px; color:#68748b; font-size:13px; }
.gct-single .gct-cdr-drop .gct-cdr-limitation { max-width:580px; margin:24px auto 0; font-size:13px; }
.gct-single .gct-cdr-error { margin:16px 0; padding:14px 18px; border-radius:10px; background:#fff1f2; color:#9f1239; overflow-wrap:anywhere; }
.gct-single .gct-cdr-status { margin:0; font-size:14px; }
.gct-single .gct-cdr-status:not(:empty) { padding:10px; }
.gct-single .gct-cdr-viewer { overflow:hidden; border:1px solid #dfe3ed; border-radius:16px; background:#fff; }
.gct-single .gct-cdr-header { display:flex; gap:14px; align-items:center; padding:24px; }
.gct-single .gct-cdr-success { display:grid; flex-shrink:0; place-items:center; width:46px; height:46px; border-radius:50%; background:#e5f8ee; color:#218647; }
.gct-single .gct-cdr-success svg { width:26px; height:26px; }
.gct-single .gct-cdr-title { display:flex; flex-wrap:wrap; gap:6px 14px; align-items:baseline; overflow-wrap:anywhere; }
.gct-single .gct-cdr-title strong { color:#218647; font-size:18px; }
.gct-single .gct-cdr-title span { font-size:15px; }
.gct-single .gct-cdr-header p { margin:5px 0 0; color:#68748b; font-size:13px; }
.gct-single .gct-cdr-header > div { min-width:0; }
.gct-single .gct-cdr-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; margin:0 16px 16px; padding:10px; border:1px solid #dfe3ed; border-radius:13px; box-shadow:0 5px 20px #30354a05; }
.gct-single .gct-cdr-controls, .gct-single .gct-cdr-actions { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.gct-single .gct-cdr-controls button { padding:10px; min-width:44px; background:#f9faff; }
.gct-single .gct-cdr-controls output { min-width:57px; text-align:center; font-size:14px; font-weight:700; }
.gct-single .gct-cdr-divider { height:28px; border-left:1px solid #dfe3ed; margin:0 3px; }
.gct-single .gct-cdr-viewport { height:620px; max-height:72vh; min-height:280px; overflow:auto; padding:32px; background:#eceef4; overscroll-behavior:contain; }
.gct-single .gct-cdr-sheet { position:relative; margin:0 auto; background:#fff; box-shadow:0 8px 32px #1e293b20; }
.gct-single .gct-cdr-sheet img { position:absolute; top:50%; left:50%; max-width:none; max-height:none; display:block; transform-origin:center; user-select:none; }
.gct-single .gct-cdr-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:16px 20px; border-top:1px solid #dfe3ed; font-size:13px; color:#6b7084; }
.gct-single .gct-cdr-footer > :last-child { color:#287c50; }
@media(max-width:700px) {
    .gct-single .gct-cdr { padding:8px; border-radius:14px; }
    .gct-single .gct-cdr-header { padding:18px 12px; gap:10px; }
    .gct-single .gct-cdr-title { display:grid; }
    .gct-single .gct-cdr-title strong { font-size:16px; }
    .gct-single .gct-cdr-toolbar { margin:0 8px 10px; gap:10px; }
    .gct-single .gct-cdr-actions { width:100%; }
    .gct-single .gct-cdr-actions button { flex:1 1 160px; }
    .gct-single .gct-cdr-viewport { padding:16px; height:480px; max-height:65vh; }
    .gct-single .gct-cdr-footer { padding:14px; }
    .gct-single .gct-cdr-drop { padding:32px 12px 24px; }
}
