/*
 * COMMUNITE MOBILE — Atelier 8 / Identity + Technician Desk.
 * Separate template families with shared brand and native functional controls.
 * Styles only; account security and technician permissions stay server-controlled.
 */

/* Login: memorable brand surface, legible secure form, restrained movement. */
.cm3-login.login-layout{font-family:Manrope,system-ui,"Segoe UI",sans-serif;}
.cm3-login .login-story{
  background:linear-gradient(145deg,#32101f 0%,#641d38 53%,#9c3456 100%)!important;
  border-right:1px solid rgba(255,255,255,.13);
  isolation:isolate;
}
.cm3-login .login-story::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 88% 5%,rgba(255,208,226,.11),transparent 46%),
    linear-gradient(110deg,rgba(255,255,255,.04),transparent 35%);
  z-index:0;
}
.cm3-login .login-story h1{
  font-size:clamp(32px,3.5vw,53px);
  font-weight:850;letter-spacing:-.06em;
  line-height:1.14;
  text-wrap:balance;
  text-shadow:0 1px 10px rgba(37,8,23,.14);
}
.cm3-login .login-story p{
  max-width:510px;
  font-size:clamp(12px,1vw,14px);
  line-height:1.85;
  color:#f6dbe5!important;
}
.cm3-login .login-tags{gap:8px;flex-wrap:wrap;}
.cm3-login .login-tags span{
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(255,255,255,.09);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  font-size:11px;font-weight:800;
}
.cm3-login .login-side{
  background:radial-gradient(ellipse 85% 75% at 90% 5%,#fff3f6,transparent 70%),
    linear-gradient(130deg,#fdfafa,#f5f1f2);
}
.cm3-login .login-card{
  border:1px solid #ebdce3!important;
  border-radius:25px!important;
  background:#fffefd!important;
  box-shadow:0 23px 66px rgba(86,30,60,.09),0 4px 14px rgba(86,30,60,.04)!important;
}
.cm3-login .login-card h2{
  font-size:clamp(23px,2.1vw,31px);
  letter-spacing:-.048em;
  font-weight:850;
  color:#382335;
}
.cm3-login .login-card p{font-size:12px;line-height:1.75;color:#745f6c;}
.cm3-login .login-card .field>label{
  font-size:11px;font-weight:800;
  color:#4d3243;
}
.cm3-login .login-card .field :is(input,select){
  border:1px solid #cbb8c3!important;
  background:#fff!important;
  color:#322431!important;
  border-radius:12px!important;
  min-height:47px;
  font-family:Manrope,system-ui,sans-serif;
}
.cm3-login .login-card .field input:focus-visible{
  outline:2px solid #9a3357;
  outline-offset:2px;
  border-color:#9a3357!important;
  box-shadow:0 0 0 3px rgba(157,50,88,.1);
}
.cm3-login .login-card .button{
  border-radius:12px;
  min-height:46px;
  font-weight:850;
}
.cm3-login .login-card button[type=submit]{
  background:linear-gradient(120deg,#a83255,#761b38);
  box-shadow:0 9px 21px rgba(123,32,64,.16);
}
.cm3-login .login-card .cm3-login-safe{
  color:#655362;
  font-size:10px;
}
.cm3-login .login-card .cm3-password-toggle{min-width:67px;min-height:39px;}
.cm3-login .login-card .notice.error{border-radius:12px;}
@media(max-width:800px){
  .cm3-login .login-story h1{font-size:clamp(28px,7vw,40px);}
  .cm3-login .login-card{border-radius:21px!important;}
  .cm3-login .login-card .field :is(input,select){min-height:45px;}
}

/* Technician desk: same quality without exposing management controls. */
body:has(.tech-page){
  margin:0;
  background:linear-gradient(155deg,#fcfaf9,#f6f2f3);
  color:#382936;
  font-family:Manrope,system-ui,"Segoe UI",sans-serif;
}
.tech-bar{
  position:sticky;top:0;z-index:30;
  background:linear-gradient(118deg,#381020,#67213e 56%,#81294a)!important;
  border-bottom:1px solid rgba(255,255,255,.14);
  box-shadow:0 6px 23px rgba(60,14,34,.14);
}
.tech-bar-inner{
  max-width:1340px;
  padding-block:13px;
  gap:14px;
}
.tech-brand{
  font-size:clamp(13px,1.2vw,17px);
  font-weight:850;letter-spacing:-.035em;
  color:#fff;line-height:1.4;
}
.tech-nav{gap:6px;align-items:center;}
.tech-nav :is(a,button){
  min-height:38px;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.21)!important;
  border-radius:10px!important;
  color:#fff!important;
  font-weight:750!important;
  transition:background-color .18s,border-color .18s;
}
.tech-nav :is(a,button):hover{
  background:rgba(255,255,255,.17)!important;
  border-color:rgba(255,255,255,.40)!important;
}
.tech-nav :is(a,button):focus-visible{
  outline:3px solid #ffb8d0;
  outline-offset:2px;
}
.tech-page{
  max-width:1240px;
  min-height:calc(100vh - 83px);
  padding:clamp(17px,2.4vw,35px);
}
.tech-page .page-heading h1{
  font-size:clamp(29px,2.9vw,40px);
  font-weight:850;
  letter-spacing:-.052em;
  color:#38233a;
}
.tech-page .page-heading p{
  color:#6c5a67;
  line-height:1.75;
  max-width:780px;
}
.tech-page .eyebrow{
  font-size:10px;font-weight:850;
  letter-spacing:.12em;color:#8d3155;
}
.tech-page .panel{
  border:1px solid #e7d7df!important;
  border-radius:18px!important;
  box-shadow:0 7px 25px rgba(69,25,46,.045);
  background:#fffefd;
  color:#3e2b3b;
}
.tech-page .panel :is(h2,h3,strong){color:#45253a;}
.tech-page .tech-note{font-size:11px;line-height:1.8;color:#74616e;}
.tech-page .button{
  border-radius:11px;
  min-height:37px;
  font-family:Manrope,system-ui,sans-serif;
  font-weight:800;
}
.tech-page .button:not(.secondary){
  background:linear-gradient(135deg,#a02d53,#75203d);
  color:#fff;
}
.tech-page .button.secondary{
  color:#642b45;
  background:#fff8fa;
  border:1px solid #e2ccd6;
}
.tech-page :is(input,select,textarea){
  border:1px solid #cdb4c1;
  background:#fff;
  color:#382538;
  border-radius:11px;
  min-height:42px;
}
.tech-page :is(input,select,textarea):focus-visible{
  outline:2px solid #a03761;outline-offset:2px;
}
.tech-page .cm8-tech-summary{
  display:grid;grid-template-columns:minmax(150px,.65fr) minmax(0,2.2fr);
  gap:0;
  overflow:hidden;
  margin:0 0 clamp(17px,2vw,25px);
  border-radius:20px;
  border:1px solid #e7d7df;
  background:#fffefd;
  box-shadow:0 13px 38px rgba(60,21,38,.08);
}
.tech-page .cm8-tech-highlight{
  display:flex;flex-direction:column;
  justify-content:center;align-items:flex-start;
  gap:8px;padding:clamp(20px,2.6vw,33px);
  color:white;
  background:linear-gradient(138deg,#5f1d36,#a4375a);
}
.tech-page .cm8-tech-highlight span{
  color:#f8cad9;font-size:10px;font-weight:850;letter-spacing:.11em;
}
.tech-page .cm8-tech-highlight strong{
  font-size:clamp(40px,4.5vw,64px);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.07em;line-height:1;
  color:#fff;
}
.tech-page .cm8-tech-highlight small{
  font-size:11px;color:#ffdfeb;font-weight:700;
}
.tech-page .cm8-tech-workflow{
  display:flex;flex-direction:column;justify-content:center;
  gap:7px;padding:clamp(18px,2.3vw,30px);
}
.tech-page .cm8-tech-workflow h2{
  color:#392539;font-weight:850;
  font-size:clamp(20px,2vw,27px);letter-spacing:-.04em;margin:0;
}
.tech-page .cm8-tech-workflow>p{
  color:#7b6470;font-size:11px;line-height:1.65;margin:0 0 5px;
}
.tech-page .cm8-tech-quicklinks{
  display:flex;flex-wrap:wrap;gap:8px;
}
.tech-page .cm8-tech-quicklinks>a{
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 12px;min-height:40px;
  background:#fff5f8;
  color:#843350;
  border:1px solid #ebd4dd;
  font-size:11px;font-weight:800;
  border-radius:10px;
}
.tech-page .cm8-tech-quicklinks>a:hover{
  background:#fce8ef;border-color:#a33f67;
}
.tech-page .cm8-tech-quicklinks>a>span{font-size:13px;}
.tech-page .tech-cards{gap:clamp(11px,1.6vw,18px);}
.tech-page .tech-item{
  border:1px solid #e7d6de!important;
  background:#fffefd!important;
  border-radius:17px!important;
  box-shadow:0 5px 19px rgba(60,27,42,.04);
  padding:clamp(15px,1.8vw,21px);
  transition:transform .18s,box-shadow .18s,border-color .18s;
}
.tech-page .tech-item:hover{
  box-shadow:0 12px 28px rgba(60,27,42,.12);
  border-color:#a14465!important;
}
.tech-page .tech-item:focus-visible{
  outline:3px solid #9c395e;outline-offset:3px;
}
.tech-page .tech-item strong{
  color:#4c2b3b;font-size:14px;line-height:1.45;
}
.tech-page .tech-item small{
  color:#765d6b;line-height:1.7;
}
.tech-page .tech-item .badge{
  background:#fcecf2;color:#793351;border-radius:999px;
  border:1px solid #eacbd8;
}
.tech-page .main-form .form-actions{
  border-top:1px solid #eadde2;
  background:#fff8fa;
  border-radius:0 0 13px 13px;
}
@media(max-width:800px){
  .tech-bar{position:relative;}
  .tech-bar-inner{padding:13px 14px;}
  .tech-page{padding:17px 13px 52px;}
  .tech-nav{gap:6px;}
  .tech-nav :is(a,button){min-height:41px;font-size:11px;}
  .tech-page .cm8-tech-summary{grid-template-columns:1fr;}
  .tech-page .cm8-tech-highlight{padding:17px 20px;}
  .tech-page .cm8-tech-highlight strong{font-size:48px;}
  .tech-page .cm8-tech-workflow{padding:18px;}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tech-page .tech-item:hover{transform:translateY(-2px);}
}
@media(prefers-reduced-motion:reduce){
  .tech-page .tech-item{transform:none!important;transition:none!important;}
  .cm3-login .login-card .field:focus-within{transform:none!important;}
}
