/* FileSahi Tools — premium Orange + White visual system.
   Visual styling only: preserves page markup, artwork, JavaScript and routes. */
:root {
  color-scheme: light;
  --bg: #ffffff !important;
  --panel: #ffffff !important;
  --panel2: #fff4eb !important;
  --text: #29231f !important;
  --ink: #29231f !important;
  --muted: #6b625c !important;
  --line: #ffd3b5 !important;
  --green: #f47721 !important;
  --brand: #f47721 !important;
  --brand2: #d95d0b !important;
  --g: #f47721 !important;
  --g2: #ff984f !important;
  --g3: #fff4eb !important;
  --blue: #f47721 !important;
  --blue2: #d95d0b !important;
  --shadow: 0 14px 34px rgba(217, 93, 11, .10) !important;
}
html { background:#fff !important; scroll-behavior:smooth; }
body {
  color:#29231f !important;
  background:linear-gradient(180deg,#fff 0%,#fffaf6 56%,#fff 100%) !important;
  font-family:Inter,Manrope,"Segoe UI",Roboto,Arial,sans-serif !important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-kerning:normal;
}
button,input,select,textarea { font:inherit; }
h1,h2,h3,h4,h5,h6,.title,.heading,.section-title,.page-title {
  color:#29231f !important;
  font-family:Manrope,Inter,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-weight:800;
  letter-spacing:-.035em;
  text-shadow:none !important;
}
p,label,.muted,.sub,.description,.subtitle { color:inherit; }
/* Main surfaces: clean white, fine warm border, natural depth. */
.card,.panel,.tool-card,.tool,.free-tool,.plan-card,.metric,.dash-card,.faq-card,
.profile-box,.calc-input-card,.calc-output-card,.z-panel,.trust-card,.how-card,
.subscription-grid > *, .pro-plan-grid > *, .stat,.insight,.support-ticket,
.status-card,.feature,.step,.auth-panel,.auth-box,.auth-hero,.pass,.notice,
.section-card,.quick-filter,.table-wrap,.z-table-wrap {
  color:#29231f !important;
  background:linear-gradient(155deg,#fff 0%,#fff 74%,#fffaf6 100%) !important;
  border-color:#ffd3b5 !important;
  box-shadow:0 10px 28px rgba(100,54,25,.055),inset 0 1px 0 #fff !important;
}
.card,.panel,.tool-card,.tool,.plan-card,.z-panel,.auth-panel,.auth-box,.pass,.stat {
  border-radius:18px;
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
@media (hover:hover) {
 .card:hover,.panel:hover,.tool-card:hover,.tool:hover,.plan-card:hover,.z-panel:hover {
   border-color:#f47721 !important;
   box-shadow:0 17px 34px rgba(217,93,11,.12),inset 0 1px 0 #fff !important;
   transform:translateY(-3px);
 }
}
/* All primary actions share the approved orange. */
button,.btn,.primary,.go,.auth-submit,.z-primary,
.actions > a:not(.secondary):not(.outline):not(.danger),
.actions > button:not(.secondary):not(.outline):not(.danger),
button.primary,a.primary,.button-primary,.search-button,
.search button,.card button,.hero-actions .primary {
 color:#fff !important;
 border-color:rgba(217,93,11,.45) !important;
 background:linear-gradient(180deg,#ff9a50 0%,#f47721 52%,#e96612 100%) !important;
 box-shadow:0 4px 0 rgba(173,68,7,.10),0 8px 18px rgba(217,93,11,.15),inset 0 1px 0 rgba(255,255,255,.48) !important;
 text-shadow:0 1px 0 rgba(120,47,0,.14);
 transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
button:hover,.btn:hover,.primary:hover,.go:hover,.auth-submit:hover,.z-primary:hover,
.search button:hover,.card button:hover { filter:saturate(1.04) brightness(1.015); }
button:active,.btn:active,.primary:active,.go:active,.auth-submit:active,.z-primary:active {
 transform:translateY(1px); box-shadow:0 2px 0 rgba(173,68,7,.10),inset 0 2px 5px rgba(120,47,0,.10) !important;
}
button.secondary,.secondary,.outline,.btn.outline,.btn.secondary,a.secondary,
button.danger,.danger,.delete,.z-danger,.close,.icon-btn {
 color:#8e3b08 !important;
 background:linear-gradient(180deg,#fff 0%,#fff7f1 100%) !important;
 border-color:#ffd3b5 !important;
 box-shadow:0 4px 12px rgba(100,54,25,.045),inset 0 1px 0 #fff !important;
 text-shadow:none !important;
}
button.danger,.danger,.delete,.z-danger { color:#a82f3e !important;background:linear-gradient(180deg,#fffafa,#fff0f1) !important;border-color:#f2c9ce !important; }
/* Forms: crisp fields, orange focus ring and readable placeholder contrast. */
input,select,textarea,.field input,.field select,.field textarea,
.auth-input,.auth-field input,.z-field input,.z-field select,.z-field textarea {
 color:#29231f !important;
 background:#fff !important;
 border-color:#f2d7c5 !important;
 box-shadow:inset 0 1px 3px rgba(80,45,20,.025),0 1px 0 #fff !important;
}
input::placeholder,textarea::placeholder { color:#94867d !important;opacity:1; }
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible {
 outline:3px solid rgba(244,119,33,.22) !important;
 outline-offset:2px;border-color:#f47721 !important;
}
header,.topbar,.top,.nav,.navbar,.site-header,.top-nav,.toolbar {
 color:#29231f !important;background:rgba(255,255,255,.94) !important;
 border-color:#ffe0cd !important;box-shadow:0 5px 20px rgba(100,54,25,.045),inset 0 1px 0 #fff !important;
 backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
header a,.topbar a,.top a,.nav a,.navbar a,.site-header a,.top-nav a { color:#6b625c; }
header a:hover,.topbar a:hover,.top a:hover,.nav a:hover,.navbar a:hover,.site-header a:hover,.top-nav a:hover { color:#d95d0b; }
thead th,th,.z-table-wrap th,.table-wrap th {
 color:#74340e !important;background:linear-gradient(180deg,#fff8f2,#fff0e4) !important;border-color:#ffd3b5 !important;
}
td,tr,.z-table-wrap td,.table-wrap td { border-color:#f5e4d8 !important; }
hr,.divider { border-color:#ffe0cd !important; }
.badge,.chip,.pill,.free-badge,.premium-badge,.admin-chip {
 border-color:#ffd3b5 !important;
}
.badge,.pill,.free-badge,.premium-badge,.admin-chip { background:#fff1e6 !important;color:#a9470c !important; }
.chip { background:#fff !important;color:#6b625c !important; }
.chip.active,.chip[aria-pressed="true"] { background:#f47721 !important;color:#fff !important;border-color:#d95d0b !important; }
.logo { background:linear-gradient(135deg,#ff984f,#e96612) !important;box-shadow:0 8px 20px rgba(217,93,11,.18) !important; }
/* Keep the supplied 3D tool illustrations intact; only soften their shadow. */
.rich-illustration-icon,.tool-icon-svg,.real-illustration-icon { filter:drop-shadow(0 5px 5px rgba(100,54,25,.10)); }
img[src*="icons-orange-3d-v4"] { filter:drop-shadow(0 6px 7px rgba(100,54,25,.11)); }
img,svg,canvas,video { max-width:100%; }
/* Homepage-specific polish: premium spacing and typographic hierarchy. */
.topbar { padding-top:15px !important;padding-bottom:15px !important; }
.bname { font-weight:850 !important;letter-spacing:-.025em; }
.bdomain { color:#84766d !important;font-size:12px !important; }
.hero { position:relative;overflow:hidden;background:linear-gradient(115deg,#fffaf6 0%,#fff 48%,#fff0e4 100%) !important; }
.hero .badge,.hero .eyebrow { color:#c9550b !important;background:rgba(255,255,255,.9);border:1px solid #ffd3b5;border-radius:999px;padding:9px 13px; }
.hero h1 { letter-spacing:-.055em !important;line-height:1.04 !important;font-weight:850 !important; }
.hero h1 span { background:linear-gradient(100deg,#f47721,#d95d0b) !important;-webkit-background-clip:text !important;background-clip:text !important;color:transparent !important; }
.hero p { color:#6b625c !important;line-height:1.72 !important; }
.search { background:#fff !important;border-color:#ffd3b5 !important;box-shadow:0 12px 32px rgba(100,54,25,.08) !important; }
.search input { color:#29231f !important; }
.stats div { background:#fff !important;border-color:#ffd3b5 !important;box-shadow:0 8px 22px rgba(100,54,25,.045) !important; }
.stats strong { color:#29231f !important;letter-spacing:-.04em; }
.stats span { color:#6b625c !important; }
.section { padding-top:68px;padding-bottom:68px; }
.section h2,.feature h2 { letter-spacing:-.045em !important; }
.card { background:linear-gradient(160deg,#fff 0%,#fff 78%,#fff9f4 100%) !important; }
.card h3 { letter-spacing:-.025em;font-weight:800 !important; }
.card p { color:#6b625c !important; }
.feature { background:linear-gradient(125deg,#fff7f0,#fff 65%) !important;border-color:#ffd3b5 !important; }
.pricing,.roadmap div { background:#fff !important;border-color:#ffd3b5 !important; }
.invoice-preview { box-shadow:0 16px 38px rgba(100,54,25,.10) !important; }
.invoice-preview .ip-top span { background:#fff0e4 !important;color:#a9470c !important; }
footer { border-color:#ffe0cd !important; }
footer p { color:#6b625c !important; }
@media(max-width:760px) {
 body { background:#fff !important; }
 .card,.panel,.tool-card,.tool,.plan-card,.z-panel,.auth-panel,.auth-box,.pass,.stat { border-radius:15px; }
 button,.btn,.primary,.go,.auth-submit,.z-primary { min-height:42px; }
 input,select,textarea { max-width:100%; }
 table { max-width:100%; }
 .hero { padding-left:18px !important;padding-right:18px !important; }
 .hero h1 { letter-spacing:-.045em !important; }
 .section { padding-top:46px;padding-bottom:46px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration:.01ms !important;animation-duration:.01ms !important;scroll-behavior:auto !important; } }
