.gurtes-public-form,.gurtes-front-crm{max-width:900px;margin:30px auto;padding:28px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 10px 30px rgba(15,23,42,.06);box-sizing:border-box}.gurtes-form-head h2,.gurtes-front-crm h2{margin:0 0 6px}.gurtes-form-head p{margin:0 0 20px;color:#64748b}.gurtes-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.gurtes-form-grid label{font-weight:600}.gurtes-form-grid input,.gurtes-form-grid textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #cbd5e1;border-radius:10px}.gurtes-form-grid .full{grid-column:1/-1}.gurtes-form-grid small{display:block;color:#64748b;margin-top:5px}.gurtes-form-grid .consent{display:flex;align-items:flex-start;gap:8px;font-weight:400}.gurtes-form-grid .consent input{width:auto;margin:3px 0}.gurtes-public-form button,.gurtes-open-crm{display:inline-block;margin-top:18px;background:#111827;color:#fff;border:0;border-radius:10px;padding:12px 20px;text-decoration:none;cursor:pointer}.gurtes-alert{max-width:900px;margin:20px auto;padding:14px 18px;border-radius:10px}.gurtes-alert.success{background:#ecfdf3;color:#027a48}.gurtes-alert.error{background:#fef3f2;color:#b42318}.front-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.front-kpis>div{padding:18px;background:#f8fafc;border-radius:12px}.front-kpis span{display:block;color:#64748b;font-size:13px}.front-kpis b{display:block;font-size:26px;margin-top:5px}@media(max-width:700px){.gurtes-form-grid,.front-kpis{grid-template-columns:1fr}.gurtes-form-grid .full{grid-column:auto}}

/* V2.2.1 Kurumsal Gurtes Kimligi */
.gurtes-form-logo{display:block;width:170px;max-width:60%;height:auto;margin:0 0 18px}.gurtes-front-brand{display:flex;align-items:center;gap:16px;margin-bottom:20px}.gurtes-front-brand img{width:140px;max-width:42%;height:auto}.gurtes-front-brand h2{margin:0}.gurtes-open-crm{background:#d95f00!important}.gurtes-form-head{border-top:4px solid #d95f00;padding-top:18px}


/* Gürtes CRM V3 Portal */
.gportal-shell{--orange:#d85b00;--ink:#18252e;--muted:#66737d;--line:#e4e8eb;--soft:#f5f7f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f0f3f5;min-height:760px;border-radius:22px;overflow:hidden;box-shadow:0 18px 60px rgba(20,34,43,.12)}
.gportal-shell *{box-sizing:border-box}.gportal-hero{min-height:255px;padding:44px 52px;background:linear-gradient(120deg,#fff 0%,#fff 55%,#f4e2d5 100%);display:flex;align-items:center;gap:38px;border-bottom:4px solid var(--orange)}
.gportal-hero img{width:180px;max-height:150px;object-fit:contain}.gportal-hero h1{font-size:36px;line-height:1.1;margin:7px 0 12px;letter-spacing:-.03em}.gportal-hero p{font-size:17px;color:var(--muted);margin:0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.16em;color:var(--orange)}
.gportal-alert{margin:20px auto 0;max-width:920px;padding:13px 18px;border:1px solid #efc7ad;background:#fff4ec;color:#9a3d00;border-radius:10px}.gportal-login-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:980px;margin:34px auto;padding:0 24px 24px}.gportal-login-card{background:#fff;padding:30px;border-radius:18px;border:1px solid var(--line);box-shadow:0 7px 20px rgba(20,34,43,.05)}
.gportal-login-card .icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:#fff1e7;color:var(--orange);font-weight:900;font-size:20px}.gportal-login-card.staff .icon{background:#eaf0f3;color:var(--ink)}.gportal-login-card h2{margin:18px 0 8px;font-size:23px}.gportal-login-card p{color:var(--muted);min-height:52px}.gportal-login-card label{display:block;font-size:13px;font-weight:700;margin:15px 0}.gportal-login-card input[type=email],.gportal-login-card input[type=text],.gportal-login-card input[type=password],.gportal-login-card input:not([type]){display:block;width:100%;margin-top:7px;border:1px solid #ccd4d9;border-radius:10px;padding:12px 13px;background:#fff;min-height:46px}.gportal-login-card .check{display:flex;gap:8px;align-items:center;font-weight:500}.gportal-login-card button,.gportal-shell .primary{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#fff!important;border:0;border-radius:10px;padding:12px 18px;font-weight:800;text-decoration:none;cursor:pointer}.gportal-login-card button{width:100%;margin-top:6px}.gportal-footer{text-align:center;color:#7c878f;padding:0 20px 28px;font-size:13px}
.gportal-top{height:78px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.gportal-top .brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink)}.gportal-top .brand img{width:76px;height:54px;object-fit:contain}.gportal-top .brand b,.gportal-top .brand span{display:block}.gportal-top .brand b{font-size:18px}.gportal-top .brand span{font-size:12px;color:var(--muted)}.gportal-nav{display:flex;gap:5px;align-items:center}.gportal-nav a{padding:10px 12px;border-radius:9px;text-decoration:none;color:#4d5a63;font-size:13px;font-weight:700}.gportal-nav a.active{background:#fff0e6;color:var(--orange)}.gportal-main{padding:32px}.gportal-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.gportal-title h1{font-size:30px;margin:4px 0 0}.gportal-title p{color:var(--muted);margin:8px 0 0}.gportal-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:22px}.gportal-kpis>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}.gportal-kpis span,.customer-summary span,.proposal-total span{display:block;color:var(--muted);font-size:12px;font-weight:700}.gportal-kpis strong{display:block;font-size:28px;margin-top:8px}.gportal-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.gportal-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;box-shadow:0 4px 16px rgba(20,34,43,.035)}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panel-head h2{margin:0;font-size:18px}.panel-head a,.text-link{color:var(--orange);text-decoration:none;font-weight:750}.table-scroll{overflow:auto}.gportal-table{width:100%;border-collapse:collapse;font-size:13px;min-width:640px}.gportal-table th{text-align:left;color:#76838b;font-size:11px;letter-spacing:.05em;text-transform:uppercase;border-bottom:1px solid var(--line);padding:10px}.gportal-table td{border-bottom:1px solid #edf0f2;padding:12px 10px;vertical-align:top}.pill{display:inline-block;border-radius:999px;background:#f0f3f5;padding:5px 9px;font-size:11px;font-weight:750}.ghost,.ghost-link{background:#fff;border:1px solid #d9e0e4;border-radius:9px;padding:9px 13px;color:var(--ink);text-decoration:none;cursor:pointer}
.customer-summary{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:14px;margin-bottom:20px}.customer-summary section{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px}.customer-summary strong{display:block;font-size:20px;margin:8px 0}.customer-summary p{color:var(--muted);margin:0;line-height:1.55}.quote-cards{display:grid;gap:10px}.quote-card{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--line);padding:15px;border-radius:12px;text-decoration:none;color:var(--ink);transition:.16s}.quote-card:hover{border-color:#e7a06f;transform:translateY(-1px)}.quote-card span,.quote-card small,.quote-card b{display:block}.quote-card span,.quote-card small{color:var(--muted);font-size:11px}.quote-card b{margin:4px 0}.request-text{line-height:1.7;color:#44515a}.timeline-head{margin-top:24px}.timeline>div{position:relative;padding:0 0 18px 22px;border-left:1px solid #e2e7ea}.timeline i{position:absolute;left:-5px;top:3px;width:9px;height:9px;border-radius:50%;background:var(--orange)}.timeline span{display:block;font-size:10px;color:#8a959d}.timeline b{display:block;font-size:13px;margin:4px 0}.timeline p{margin:0;color:var(--muted);font-size:12px}
.proposal-cover{background:linear-gradient(120deg,#17252e,#243743);color:#fff;border-radius:18px;padding:32px;margin-bottom:20px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:5px solid var(--orange)}.proposal-cover>div>span{font-size:12px;letter-spacing:.16em;color:#f4a56c}.proposal-cover h1{font-size:32px;margin:5px 0}.proposal-cover p{margin:0;color:#d7dfe4}.proposal-total{text-align:right}.proposal-total strong{display:block;font-size:31px;margin:6px 0}.proposal-total small{color:#cbd5db}.proposal-section{margin-bottom:18px}.proposal-section h2,.response-box h2{margin-top:0}.proposal-section p{line-height:1.72;color:#43515a}.proposal-totals{width:min(420px,100%);margin:22px 0 0 auto;border-top:1px solid var(--line)}.proposal-totals div{display:flex;justify-content:space-between;padding:10px 4px;border-bottom:1px solid var(--line)}.proposal-totals .grand{font-size:18px;color:var(--orange);font-weight:800}.response-box textarea{width:100%;border:1px solid #ccd5da;border-radius:10px;padding:12px}.response-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:12px}.response-actions button{border:0;border-radius:10px;padding:12px;font-weight:800;color:#fff;cursor:pointer}.response-actions .accept{background:#26834a}.response-actions .revision{background:#d17821}.response-actions .reject{background:#b94343}.response-done{border-left:4px solid var(--orange);background:#faf5f1;padding:18px;border-radius:8px}.response-done b{font-size:18px}.response-done small{color:var(--muted)}
@media(max-width:900px){.gportal-login-grid,.gportal-columns{grid-template-columns:1fr}.gportal-kpis{grid-template-columns:repeat(2,1fr)}.customer-summary{grid-template-columns:1fr}.gportal-nav{display:none}.gportal-hero{padding:30px;min-height:auto}.gportal-hero img{width:120px}.gportal-hero h1{font-size:28px}.proposal-cover{align-items:flex-start;flex-direction:column}.proposal-total{text-align:left}.response-actions{grid-template-columns:1fr}.gportal-main{padding:20px}.gportal-title{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.gportal-hero{flex-direction:column;align-items:flex-start}.gportal-login-grid{padding:0 12px}.gportal-kpis{grid-template-columns:1fr 1fr}.gportal-top{padding:0 15px}.gportal-top .brand span{display:none}.gportal-main{padding:14px}.gportal-panel{padding:16px}}
.project-progressbar,.mini-progress{height:10px;background:#eceff2;border-radius:999px;overflow:hidden}.project-progressbar{height:14px;margin:10px 0 22px}.project-progressbar i,.mini-progress i{display:block;height:100%;background:#ef7d00;border-radius:999px}.project-view .gportal-table td{vertical-align:top}.project-view .proposal-cover{margin-bottom:18px}

/* V4.4 directory: shared admin and staff portal layout. */
.directory-v44 .g-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.directory-v44 .g-form .full{grid-column:1/-1}
.directory-v44 label{display:block;font-weight:600;margin-bottom:6px}
.directory-v44 input:not([type=checkbox]),.directory-v44 select,.directory-v44 textarea{display:block;box-sizing:border-box;width:100%;padding:10px;border:1px solid #ccd5df;border-radius:6px;background:#fff;color:#172534;font:inherit}
.directory-v44 input[type=checkbox]{width:auto}
.directory-v44 .g-card{background:#fff;border:1px solid #dce3eb;border-radius:10px;padding:22px;margin:18px 0}
.directory-v44 .gportal-nav{display:flex;gap:18px;flex-wrap:wrap;padding:12px 0}
.directory-v44 details{margin:16px 0}.directory-v44 summary{cursor:pointer;font-weight:700;margin-bottom:12px}
.directory-v44 .table-scroll{overflow-x:auto}.directory-v44 table{width:100%;border-collapse:collapse}
.directory-v44 th,.directory-v44 td{text-align:left;padding:12px;border-bottom:1px solid #e3e8ed}
.directory-v44 button{cursor:pointer;padding:10px 18px}.directory-v44 a{color:#155a8a}
@media(max-width:680px){.directory-v44 .g-form{grid-template-columns:1fr}.directory-v44 .g-card{padding:14px}}

/* Prefabricated building request */
.gurtes-building-request {grid-column:1/-1;min-width:0}
.gurtes-building-request h3 {font-size:22px;margin:8px 0 16px}
.gurtes-building-request>fieldset {min-width:0;margin:0;padding:20px;border:1px solid #d4dee8;border-radius:12px;background:#f8fafc}
.gurtes-building-request>fieldset>legend {font-size:18px;font-weight:700;padding:0 8px}
.gurtes-request-row {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #e2e8f0}
.gurtes-request-row[hidden] {display:none}
.gurtes-request-row:last-child {border-bottom:0}
.gurtes-request-row>label {margin:0}
.gurtes-request-choice {grid-column:1/-1;min-width:0;border:0;padding:0;margin:0}
.gurtes-request-choice legend {float:left;width:58%;font-weight:600;padding:8px 12px 8px 0;box-sizing:border-box}
.gurtes-request-choice>div {display:flex;gap:12px;flex-wrap:wrap}
.gurtes-public-form .gurtes-request-choice label {display:flex;align-items:center;gap:8px;margin:0;padding:10px 16px;background:white;border:1px solid #cbd5e1;border-radius:8px;cursor:pointer}
.gurtes-public-form .gurtes-request-choice input {width:auto;margin:0;accent-color:#0f766e}
.gurtes-request-choice label:has(input:checked) {border-color:#0f766e;background:#e6f5f0}
.gurtes-request-choice label:focus-within {outline:2px solid #0f766e;outline-offset:2px}
@media(max-width:640px){.gurtes-request-row{grid-template-columns:1fr;gap:8px}.gurtes-request-choice legend{float:none;width:100%;margin-bottom:8px}.gurtes-building-request>fieldset{padding:14px}}

.gurtes-building-request>fieldset+fieldset {margin-top:24px}

/* V4.5.9: shared readable type for ERP screens only. */
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#18252e}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(p,label,li,td,th,input,select,textarea,button,.button){font-family:inherit;font-size:1rem;line-height:1.6;letter-spacing:normal}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(h1,h2,h3,h4){font-family:inherit;line-height:1.3;letter-spacing:-.015em;text-wrap:balance;overflow-wrap:anywhere}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) h1{font-size:clamp(1.65rem,3vw,2.25rem)}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) h2{font-size:clamp(1.35rem,2.4vw,1.75rem)}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) h3{font-size:clamp(1.15rem,2vw,1.4rem)}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(small,.muted,.g-badge,.pill,.eyebrow){font-size:.875rem;line-height:1.5}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(p,label,td,th,a,legend){overflow-wrap:anywhere;word-break:normal}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(input,select,textarea){box-sizing:border-box;max-width:100%;min-width:0;font-size:16px}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(input:not([type=checkbox]):not([type=radio]),select,button,.button){min-height:44px}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) textarea{line-height:1.65;resize:vertical}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(.table-scroll,.g-quote-table){max-width:100%;overflow-x:auto}
:is(.gurtes-crm,.gportal-shell) :is(.g-card,.gportal-panel){min-width:0;overflow-x:auto}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form) :is(.g-form,.gurtes-form-grid)>*{min-width:0}
:is(.gurtes-crm,.gportal-shell,.gurtes-public-form,.gurtes-front-crm) :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #126c82;outline-offset:3px}
.gurtes-building-request .gurtes-system-panel{margin:14px 0;border:1px solid #ccd6df;border-radius:12px;background:#fff;overflow:hidden}
.gurtes-building-request .gurtes-system-panel>summary{cursor:pointer;padding:18px 20px;font-size:clamp(1.05rem,2vw,1.25rem);font-weight:700;line-height:1.45;color:#243646;background:#f1f5f8;overflow-wrap:anywhere;list-style-position:outside;margin-left:26px}
.gurtes-building-request .gurtes-system-panel[open]>summary{color:#923d00;background:#fff4eb;border-bottom:1px solid #e7d6c7}
.gurtes-building-request .gurtes-system-body{padding:8px 20px 18px}
.gurtes-building-request .gurtes-system-body>p{color:#465666;font-size:.95rem}
.gurtes-building-request .gurtes-request-choice legend{font-size:1rem;line-height:1.6}
@media(max-width:700px){
 .gurtes-public-form,.gurtes-front-crm{padding:16px;margin:16px auto;max-width:100%}
 :is(.gurtes-crm,.gportal-shell) :is(.g-head,.g-brand,.g-filter){flex-wrap:wrap;gap:12px}
 :is(.gurtes-crm,.gportal-shell) :is(.g-form,.g-grid,.gportal-columns){grid-template-columns:minmax(0,1fr)}
 :is(.gurtes-crm,.gportal-shell) .g-form .full{grid-column:1/-1}
 .gportal-shell .gportal-main{padding:16px}
 .gurtes-building-request .gurtes-system-panel>summary{padding:16px 12px}
 .gurtes-building-request .gurtes-system-body{padding:4px 12px 14px}
 .gurtes-building-request .gurtes-request-row{grid-template-columns:minmax(0,1fr);gap:8px}
 .gurtes-building-request .gurtes-request-choice legend{float:none;width:100%;margin-bottom:8px}
}
@media print{.gurtes-system-panel>.gurtes-system-body{display:block!important}.gurtes-system-panel{break-inside:avoid}}


/* V4.6: shared contact hub and quote workspace */
.contacts-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr) auto;gap:16px;align-items:end}
.contacts-search label{display:flex;flex-direction:column;gap:6px;font-weight:600}
.contacts-hub table td{padding:18px 14px;vertical-align:top;border-bottom:1px solid #e1e7ed}
.contacts-hub table th{background:#edf3f7;padding:14px;text-align:left}
.contacts-hub .g-inline form{margin:0}.contacts-hub details{margin-top:18px}.contacts-hub summary{cursor:pointer;font-weight:600}.contact-call{font-weight:650}
.quote-heading{padding:24px 28px;border-radius:16px;background:#182d3d;color:white;margin:20px 0}.quote-heading h1{color:white}.quote-heading .eyebrow{color:#ffbd87}.quote-heading p{margin-bottom:0;color:#e1ebf3}
.quote-workspace #gurtes-quote-form{padding:28px;border:1px solid #d8e2e9;box-shadow:0 6px 24px #182d3d0a}
.quote-workspace .g-form{max-width:none;gap:20px}.quote-workspace .g-form input,.quote-workspace .g-form select,.quote-workspace .g-form textarea{padding:10px 12px;border:1px solid #b8c7d4;border-radius:8px;background:#fff}
.quote-workspace .quote-section-title{padding:14px 0;border-bottom:2px solid #e3eaf0;margin-top:28px}
.quote-workspace #quote-items{border-collapse:separate;border-spacing:0;border:1px solid #d7e2ea;border-radius:10px;overflow:hidden}
.quote-workspace #quote-items th{background:#edf3f7;padding:14px 12px;color:#273f52}.quote-workspace #quote-items td{padding:12px;vertical-align:top;border-bottom:1px solid #e1e8ee}
.quote-workspace #quote-items tbody tr:nth-child(even){background:#f8fafc}.quote-workspace #quote-items input,.quote-workspace #quote-items textarea{padding:10px;border:1px solid #bdcbd7;border-radius:6px}
.quote-workspace .g-quote-summary{border-color:#cedce7;background:#f9fbfd;font-variant-numeric:tabular-nums}.quote-workspace .g-quote-summary>div:last-child{background:#182d3d;color:#fff;font-size:1.25rem}
.quote-save-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px;background:#edf3f7;border-radius:10px;margin-top:20px}
@media(max-width:700px){.contacts-search{grid-template-columns:1fr}.contacts-hub table{min-width:620px}.quote-heading,.quote-workspace #gurtes-quote-form{padding:16px}.quote-save-bar{flex-direction:column;align-items:stretch}.quote-workspace .g-quote-table table{min-width:0}.quote-workspace #quote-items,.quote-workspace #quote-items tbody{display:block;width:100%}.quote-workspace #quote-items thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.quote-workspace #quote-items tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px;border-bottom:2px solid #d0dce5}.quote-workspace #quote-items td{display:block;border:0;min-width:0;padding:8px}.quote-workspace #quote-items td:first-child{grid-column:1/-1}.quote-workspace #quote-items td[data-label]:before{content:attr(data-label);display:block;font-size:.875rem;font-weight:650;margin-bottom:6px}.quote-workspace .g-quote-summary{max-width:none}}

.contacts-hub table{width:100%;border-collapse:collapse}.contacts-hub input,.contacts-hub select{padding:10px 12px;border:1px solid #b8c7d4;border-radius:8px;background:#fff}.contacts-hub .button-primary{color:#fff}
