/* =====================================================================
   SCOP Bireysel — report teaser inside the hero terminal + hand-off to the platform.
   The teaser borrows the look of the platform's "Gümrük ön değerlendirme raporu"
   (chat.usescop.com) so the jump from the site into the app feels like one screen growing.
   Works with personal-report.js. Remove both tags to switch it off.
   ===================================================================== */
.orep,.owarp{
  --r-bg:#060B12; --r-bg-alt:#0A111B; --r-surface:#0D1722;
  --r-text:#F5F7F9; --r-text-2:#BDC9D4; --r-muted:#8A9BA9;
  --r-border:rgba(206,230,246,.11); --r-border-2:rgba(206,230,246,.21);
  --r-primary:#3B82F6; --r-blue-bg:rgba(59,130,246,.12); --r-blue-border:rgba(59,130,246,.32);
  --r-green:#22C55E; --r-green-bg:rgba(34,197,94,.10);
  --r-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --r-ease:cubic-bezier(.22,1,.36,1);
}
.oterm__log.is-folded{ display:none; }
.orep{ margin-top:18px; font-family:var(--body,Inter,system-ui,sans-serif); font-size:15px; line-height:1.6; color:var(--r-text); }
.orep[hidden]{ display:none; }
.orep-run{ display:flex; align-items:center; gap:12px; margin-bottom:12px; animation:orepIn .4s var(--r-ease) both; }
.orep-logo{ flex:none; width:28px; height:28px; border-radius:8px; background:#0b0d14; display:grid; place-items:center; }
.orep-logo img{ height:17px; width:auto; display:block; }
.orep-runbox{ flex:1; min-width:0; display:flex; align-items:center; gap:10px; padding:9px 12px; border:1px solid var(--r-border); border-radius:12px; background:var(--r-surface); font-weight:600; }
.orep-ok{ flex:none; width:20px; height:20px; border-radius:6px; display:grid; place-items:center; background:var(--r-green-bg); color:var(--r-green); font-size:12px; }
.orep-runbox time{ font:400 12.5px/1 var(--r-mono); color:var(--r-muted); }

.orep-card{ position:relative; border:1px solid var(--r-border); border-radius:14px; background:var(--r-surface); overflow:hidden; animation:orepIn .5s var(--r-ease) .12s both; }
@keyframes orepIn{ from{ opacity:0; transform:translateY(10px); } }
.orep-brand{ display:flex; justify-content:space-between; gap:12px; padding:8px 16px; background:var(--r-blue-bg); font-size:12.5px; font-weight:600; color:#7fb0ff; }
.orep-brand span{ color:var(--r-text-2); font-weight:500; }
.orep-in{ padding:16px 18px 64px; }
.orep-head{ display:flex; gap:14px; align-items:center; }
.orep-icon{ flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-size:20px; font-weight:800; }
.orep-icon.is-ok{ background:var(--r-green); color:#04130a; box-shadow:0 0 0 5px var(--r-green-bg); }
.orep-icon.is-ask{ background:var(--r-primary); color:#fff; box-shadow:0 0 0 5px var(--r-blue-bg); }
.orep-title{ font-size:18px; font-weight:700; line-height:1.25; }
.orep-title.is-ok{ color:var(--r-green); }
.orep-sub{ color:var(--r-text-2); font-size:14px; }
.orep-sum{ margin:12px 0 4px; }
.orep-sec{ border-top:1px solid var(--r-border); padding:12px 0; }
.orep-h{ display:flex; align-items:center; gap:10px; margin:0; font-size:15px; font-weight:700; letter-spacing:0; line-height:1.4; color:var(--r-text); }
.orep-n{ flex:none; width:22px; height:22px; border-radius:6px; background:var(--r-blue-bg); color:#7fb0ff; display:grid; place-items:center; font:500 12px/1 var(--r-mono); }
.orep-val{ margin-left:auto; font-weight:600; font-variant-numeric:tabular-nums; filter:blur(6px); user-select:none; }
.orep-bar{ margin-left:auto; width:92px; height:10px; border-radius:5px; background:rgba(206,230,246,.14); }
.orep-body{ margin-top:10px; }
.orep-chip{ display:inline-block; padding:3px 9px; border-radius:7px; border:1px solid var(--r-blue-border); background:var(--r-blue-bg); font:600 13px/1.5 var(--r-mono); color:#9cc2ff; }
.orep-desc{ margin-left:10px; color:var(--r-text-2); }
.orep-sec.is-lock:nth-of-type(3){ opacity:.62; }
.orep-sec.is-lock:nth-of-type(4){ opacity:.4; }
.orep-sec.is-lock:nth-of-type(5),.orep-sec.is-lock:nth-of-type(6){ opacity:.22; }
.orep-veil{ position:absolute; left:0; right:0; bottom:0; height:232px; display:flex; align-items:flex-end; justify-content:center; padding:0 20px 20px; text-align:center;
  background:linear-gradient(180deg,rgba(13,23,34,0),rgba(13,23,34,.94) 46%,#0D1722 100%); animation:orepIn .5s ease .6s both; }
.orep-veil h4{ margin:0 0 4px; font-size:17px; font-weight:700; letter-spacing:0; color:var(--r-text); }
.orep-veil p{ margin:0 0 12px; color:var(--r-text-2); font-size:14px; }
.orep-open{ display:inline-flex; align-items:center; gap:8px; height:46px; padding:0 22px; border:0; border-radius:999px; cursor:pointer;
  background:var(--grad,linear-gradient(135deg,#22d3ee,#3b82f6 48%,#1d4ed8)); color:#fff; font:600 15px/1 var(--body,Inter,sans-serif); box-shadow:0 12px 30px -14px rgba(59,130,246,.9); transition:filter .18s ease, transform .18s ease; }
.orep-open:hover{ filter:brightness(1.08); }
.orep-open:active{ transform:scale(.98); }

/* hand-off: the terminal grows into the platform's chat frame, then the browser goes to the platform */
.owarp{ position:fixed; inset:0; z-index:9999; background:var(--r-bg); opacity:0; transition:opacity .35s ease;
  --o-text:#f4f4f7; --o-text-2:rgba(228,233,242,.74); --o-text-3:rgba(200,208,222,.5); --o-accent:#3b82f6; --o-blue:#3b82f6; --o-line:rgba(255,255,255,.1);
  --o-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--o-text); }
.owarp::before{ content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(206,230,246,.10) 1px,transparent 1.2px); background-size:22px 22px; }
.owarp.is-on{ opacity:1; }
.owarp-top{ position:absolute; left:0; right:0; top:0; height:56px; display:flex; align-items:center; gap:10px; padding:0 22px; border-bottom:1px solid var(--r-border); background:rgba(6,11,18,.9);
  font:600 16px/1 var(--body,Inter,sans-serif); transform:translateY(-100%); transition:transform .75s var(--r-ease); }
.owarp-top span{ color:var(--r-text-2); font-weight:400; }
.owarp-side,.owarp-cost{ position:absolute; top:76px; bottom:50px; border:1px solid var(--r-border); border-radius:16px; background:var(--r-bg-alt); opacity:0; transition:opacity .5s ease .1s, transform .75s var(--r-ease); }
.owarp-side{ left:22px; width:228px; transform:translateX(-46px); border-color:transparent; background:none; }
.owarp-side i{ display:block; height:40px; border-radius:999px; border:1px solid var(--r-blue-border); background:var(--r-surface); }
.owarp-side b{ display:block; height:58px; margin-top:44px; border-radius:12px; background:var(--r-surface); }
.owarp-cost{ right:20px; width:300px; transform:translateX(46px); }
.owarp.is-on .owarp-top{ transform:none; }
.owarp.is-on .owarp-side,.owarp.is-on .owarp-cost{ opacity:1; transform:none; }
.owarp .oterm{ position:fixed; margin:0; max-width:none; overflow:hidden;
  transition:left .75s var(--r-ease), top .75s var(--r-ease), width .75s var(--r-ease), height .75s var(--r-ease), border-radius .75s; }
.owarp .orep-veil{ transition:opacity .4s ease; }
.owarp.is-on .orep-veil{ opacity:0; }
@media (max-width:1100px){ .owarp-side,.owarp-cost{ display:none; } }
@media (max-width:760px){
  .orep{ font-size:14.5px; }
  .orep-in{ padding:14px 14px 64px; }
  .orep-desc{ display:block; margin:6px 0 0; }
  .orep-veil h4{ font-size:15.5px; }
  .orep-in{ padding-bottom:120px; }
  .orep-veil{ height:300px; padding:0 14px 16px; background:linear-gradient(180deg,rgba(13,23,34,0),rgba(13,23,34,.96) 30%,#0D1722 100%); }
}
@media (prefers-reduced-motion:reduce){ .orep-run,.orep-card,.orep-veil{ animation:none; } .owarp,.owarp *{ transition:none !important; } }

/* ask state: link to the sample tour further down the page */
.orep-sample{ display:block; margin-top:10px; font-size:13.5px; color:#9cc2ff; text-decoration:underline; text-underline-offset:4px; }
.orep-sample:hover{ color:#fff; }
.orep-card:has(.orep-sample) .orep-in{ padding-bottom:92px; }
.orep-card:has(.orep-sample) .orep-veil{ height:258px; }

/* canlı demo kartı (personal-demo.js) */
.orep-icon.is-warn{ background:#EAB308; color:#1a1300; box-shadow:0 0 0 5px rgba(234,179,8,.12); }
.orep-icon.is-ban{ background:#EF4444; color:#fff; box-shadow:0 0 0 5px rgba(239,68,68,.12); }
.orep-title.is-warn{ color:#EAB308; }
.orep-title.is-ban{ color:#F87171; }
.orep-note{ margin:10px 0 4px; font-size:14px; }
.orep-note b{ display:block; font-size:13px; color:var(--r-text-2); }
.orep-list{ margin:4px 0 0; padding-left:18px; color:var(--r-text); }
.orep-list li{ margin:2px 0; }
.orep-sec .orep-list{ margin:8px 0 2px; font-size:14px; }
.oterm__log li.is-wait{ color:var(--r-text-2,#BDC9D4); }
