/* A single visual language for the public site and workspaces. */
:root{--ink:#193b3b;--navy:#153d3e;--teal:#117d78;--teal-dark:#095e5b;--pale:#e9f7f5;--line:#dceae7;--muted:#607976}
body{background:#f5f9f8;color:var(--ink)}a{transition:color .18s ease}button,.button{border-radius:12px}button:hover,.button:hover{transform:translateY(-1px)}.card{border:1px solid #e0ebe8;box-shadow:0 8px 28px #1b51470a;border-radius:18px}input,textarea,select{border-color:#cfdfdb;background:#fbfdfc}input:focus,textarea:focus,select:focus{border-color:#348f86}.topbar,body>header{border-color:#e3eeeb}.shell h1,.shell h2{color:#173f3c}.shell .card{box-shadow:0 8px 28px #1b51470a}
/* Public home */
.home-page{background:#fff}.home-header{min-height:76px;padding-inline:max(5vw,calc((100vw - 1180px)/2));gap:25px}.home-header .brand{display:flex;align-items:center;gap:8px;color:#0d5c57;font-size:1.5rem}.home-header .brand img{max-width:135px;max-height:45px;object-fit:contain}.home-header .brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#d7f1ed;color:#0a8077;font-size:22px}.home-header nav{margin-inline:auto}.home-header nav a{font-size:.88rem;font-weight:700;color:#536d68}.home-header-action{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;color:#0b716b;font-size:.86rem;font-weight:700}.home-shell{max-width:1180px}.home-hero{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center;padding:70px 0 84px}.home-copy h1{font-size:clamp(2.3rem,4.5vw,4.05rem);line-height:1.42;letter-spacing:-.035em;color:#153f3d;max-width:16ch;margin:1.25rem 0}.home-copy>p{max-width:47ch;line-height:2.1;font-size:1.03rem}.home-kicker{display:inline-flex;gap:8px;align-items:center;padding:7px 13px;border:1px solid #d4eae5;border-radius:30px;background:#f4fbf9;font-size:.8rem;font-weight:700;color:#128179}.home-copy .actions{margin-top:2rem}.home-copy .button{min-height:52px;padding-inline:22px}.home-trust{display:flex;align-items:center;gap:12px;margin-top:48px;color:#3a625c}.home-trust>span{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d4ebe5;border-radius:50%;font-size:22px;color:#239a8f}.home-trust strong,.home-trust small{display:block}.home-trust strong{font-size:.83rem}.home-trust small{font-size:.75rem;color:#7a908c}.home-visual{position:relative;min-height:470px;border-radius:28px;overflow:hidden;background:radial-gradient(circle at 72% 20%,#258e82 0,transparent 34%),linear-gradient(140deg,#0d7169,#084c4b);padding:54px;display:flex;align-items:center;justify-content:center}.home-visual:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#ffffff40 1px,transparent 1px);background-size:20px 20px;opacity:.28}.visual-orbit{position:absolute;border:1px solid #ffffff26;border-radius:50%;width:340px;height:340px}.visual-orbit-one{top:-190px;left:-130px}.visual-orbit-two{bottom:-200px;right:-130px;width:400px;height:400px}.visual-chat{position:relative;width:min(100%,330px);padding:18px;border-radius:20px;background:#fff;box-shadow:0 20px 65px #003d3b55;transform:rotate(-2deg)}.visual-chat-head{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid #edf3f1}.visual-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#d7f4ed;color:#18887c;font-size:23px}.visual-chat-head strong,.visual-chat-head small{display:block}.visual-chat-head strong{font-size:.82rem}.visual-chat-head small{font-size:.66rem;color:#839692}.visual-online{width:8px;height:8px;background:#47bd8a;border-radius:50%;margin-right:auto}.visual-message{width:85%;padding:11px 13px;margin-top:16px;font-size:.72rem;line-height:1.8;border-radius:12px}.visual-message.visitor{background:#e1f6ef;margin-right:auto}.visual-message.assistant{background:#f3f7f5;margin-left:auto}.visual-chips{display:flex;gap:6px;margin:15px 0}.visual-chips span{font-size:.62rem;border:1px solid #d6eae4;border-radius:30px;padding:4px 9px;color:#278376}.visual-input{display:flex;justify-content:space-between;padding:10px;border:1px solid #e3edeb;border-radius:10px;color:#9aaba6;font-size:.7rem}.visual-input span{color:#168479}.visual-caption{position:absolute;bottom:20px;right:25px;color:#d5f2eb;font-size:.72rem;line-height:1.7}.visual-caption strong{color:white}.home-features{padding:15px 0 90px}.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.home-section-heading h2{font-size:1.9rem;margin:0}.home-section-heading p{max-width:43ch;font-size:.9rem;margin:0}.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home-feature{background:#f8fbfa;border:1px solid #e3efeb;border-radius:18px;padding:25px}.feature-icon{display:grid;place-items:center;width:42px;height:42px;background:#e1f3ee;color:#137f74;border-radius:13px;font-size:1.3rem}.home-feature h3{margin:18px 0 8px;font-size:1rem}.home-feature p{font-size:.86rem;line-height:2;margin:0}.home-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #e5efec;padding:30px max(5vw,calc((100vw - 1180px)/2));text-align:right}.home-footer>div{display:flex;gap:15px;align-items:center}.home-footer strong{font-size:1.1rem;color:#0d5c57}.home-footer .footer-nav{margin:0}
/* Entry */
.auth-page{background:#edf8f6}.auth-header{background:transparent;border:0;min-height:72px}.auth-layout{grid-template-columns:minmax(360px,1fr) minmax(0,.9fr);width:min(1010px,calc(100% - 48px));min-height:590px;margin:clamp(1.5rem,4vh,3.5rem) auto;border-radius:26px;box-shadow:0 24px 65px #194d4820}.auth-story{order:2;background:radial-gradient(circle at 25% 20%,#288e82,transparent 42%),linear-gradient(150deg,#116d67,#084b4b);color:#fff}.auth-story:after{border-color:#ffffff25;box-shadow:0 0 0 30px #ffffff08,0 0 0 60px #ffffff08}.auth-story h1{color:white}.auth-story>p:not(.auth-kicker),.auth-story-note{color:#d2eeea}.auth-kicker{color:#b5e6d9}.auth-symbol{background:#ffffff20;color:#fff}.auth-story-note span:first-child{color:#a7e2d1}.auth-panel{order:1}.auth-panel h2{color:#123e3b}.auth-tabs{background:#eff7f5!important;border-radius:12px}.auth-header .brand img{max-width:130px;max-height:45px;object-fit:contain}
/* Physician workspace */
.doctor-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);gap:26px;max-width:1320px;width:calc(100% - 48px);margin:auto;align-items:start}.doctor-sidebar{position:sticky;top:20px;padding:24px 12px;background:#fff;border:1px solid #e0ebe8;border-radius:18px;margin-top:30px}.doctor-sidebar-profile{padding:5px 12px 18px;border-bottom:1px solid #edf3f1;margin-bottom:12px}.doctor-sidebar-profile strong,.doctor-sidebar-profile small{display:block}.doctor-sidebar-profile small{color:#829994;font-size:.76rem}.doctor-sidebar .section-nav{display:flex;flex-direction:column;gap:3px;background:transparent;border:0;padding:0;margin:0}.doctor-sidebar .section-nav a{min-height:42px;padding:8px 12px;border-radius:10px;color:#526c67}.doctor-sidebar .section-nav a:hover,.doctor-sidebar .section-nav a:focus-visible{background:#eaf7f3;color:#0b766d}.doctor-workspace>.shell{width:100%;min-width:0;padding-top:30px}.doctor-workspace .page-heading{padding:24px 28px;border-radius:19px;background:linear-gradient(115deg,#0c7169,#105852);color:white}.doctor-workspace .page-heading h1,.doctor-workspace .page-heading p,.doctor-workspace .page-heading .eyebrow{color:white}.doctor-workspace .page-heading p{margin:0;color:#c5e7df}.doctor-workspace .page-heading .badge{background:#ffffff25;color:white}.doctor-workspace .doctor-tools{background:#f0faf6}.doctor-workspace .grid{gap:18px}.doctor-workspace .card{padding:24px}.doctor-workspace .shell [id]{scroll-margin-top:20px}
@media(max-width:760px){.home-header{flex-wrap:nowrap;padding:12px 16px;min-height:64px}.home-header nav{display:none}.home-header-action{font-size:.8rem}.home-hero{grid-template-columns:1fr;gap:32px;padding:38px 0 50px}.home-copy h1{font-size:clamp(2rem,8vw,2.9rem)}.home-copy>p{font-size:.93rem}.home-trust{margin-top:28px}.home-visual{min-height:360px;padding:35px}.visual-chat{max-width:300px}.home-section-heading{display:block}.home-section-heading p{margin-top:10px}.home-feature-grid{grid-template-columns:1fr;gap:10px}.home-feature{padding:19px}.home-feature h3{margin:10px 0 4px}.home-features{padding-bottom:50px}.home-footer{align-items:flex-start;flex-direction:column;padding:25px 18px}.home-footer>div{flex-direction:column;align-items:flex-start;gap:2px}.home-footer .footer-nav{justify-content:flex-start}.auth-layout{display:flex;flex-direction:column;width:min(100% - 24px,560px);margin:12px auto 28px}.auth-panel{order:1;padding:24px}.auth-story{order:2;padding:24px}.auth-story h1{font-size:1.4rem}.auth-story-note{margin-top:12px}.doctor-workspace{display:flex;flex-direction:column;gap:0;width:calc(100% - 28px)}.doctor-sidebar{position:static;width:100%;margin-top:14px;padding:8px;border-radius:14px}.doctor-sidebar-profile{display:none}.doctor-sidebar .section-nav{flex-direction:row;overflow-x:auto;flex-wrap:nowrap}.doctor-sidebar .section-nav a{white-space:nowrap;flex:none}.doctor-workspace>.shell{padding-top:14px}.doctor-workspace .page-heading{padding:20px}.doctor-workspace .card{padding:18px}.doctor-workspace .doctor-tools{grid-template-columns:1fr}.doctor-workspace .grid{grid-template-columns:1fr}}
@media(max-width:390px){.home-visual{padding:22px;min-height:320px}.home-copy .actions .button{width:100%}.auth-panel,.auth-story{padding:19px}}
@media(max-width:760px){.home-header{flex-wrap:wrap;gap:4px 12px}.home-header nav{display:flex;order:3;flex-wrap:nowrap;justify-content:flex-start;width:100%;margin:0;gap:18px;overflow-x:auto;scrollbar-width:none}.home-header nav::-webkit-scrollbar{display:none}.home-header nav a{white-space:nowrap;min-height:38px;display:inline-flex;align-items:center}.home-header nav:empty{display:none}}
/* Compact role-specific sign-in */
.auth-page .auth-layout{width:min(900px,calc(100% - 48px));min-height:500px;margin:clamp(1.25rem,4vh,3rem) auto;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)}
.auth-page .auth-panel{padding:clamp(1.75rem,3vw,2.75rem)}.auth-page .auth-panel-inner{max-width:365px}.auth-page .auth-back{margin-bottom:1.1rem}.auth-page .auth-panel h2{font-size:1.65rem}.auth-page .auth-lead{font-size:.88rem;margin-bottom:1rem}.auth-page .auth-story{padding:clamp(2rem,3vw,3rem)}.auth-page .auth-story h1{max-width:none;font-size:clamp(1.55rem,2.15vw,1.95rem);line-height:1.55}.auth-page .auth-story>p:not(.auth-kicker){font-size:.9rem;line-height:1.95}.auth-page .auth-symbol{width:48px;height:48px;font-size:1.5rem;border-radius:15px;margin-bottom:1.4rem}.auth-page .auth-story-note{margin-top:1.25rem;font-size:.8rem}.auth-page .auth-form input{min-height:48px}.auth-page .auth-form button{min-height:48px}.auth-page .auth-switch{margin-top:1.25rem;padding-top:.8rem}.auth-page .auth-tabs{margin:12px 0}.auth-page .auth-tabs button{min-height:42px;font-size:.9rem}
@media(max-width:760px){.auth-page .auth-layout{width:min(100% - 24px,500px);min-height:0;margin:12px auto 25px}.auth-page .auth-panel{padding:22px}.auth-page .auth-story{padding:22px}.auth-page .auth-story h1{font-size:1.35rem}.auth-page .auth-symbol{width:40px;height:40px;margin-bottom:.8rem}.auth-page .auth-story-note{margin-top:.75rem}.auth-page .auth-panel h2{font-size:1.45rem}}
.section-nav a[aria-current]{background:#e3f4ee;color:#096b60}.doctor-workspace .page-heading h1,.shell>h1{font-size:clamp(1.5rem,2vw,2rem)}
@media(max-width:760px){.doctor-sidebar{position:sticky;top:0;z-index:20;box-shadow:0 5px 18px #184d4410}.admin-section-nav{position:sticky;top:0;z-index:20;background:#f2faf7;box-shadow:0 5px 18px #184d4410}.doctor-workspace .page-heading h1{font-size:1.5rem}}
/* Typography shared with the Medissa appointment site; font files are local. */
@font-face{font-family:IRANSans;src:url('/fonts/IRANSansWeb_FaNum.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:IRANSans;src:url('/fonts/IRANSansWeb_FaNum_Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:IRANSans;src:url('/fonts/IRANSansWeb_FaNum_Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:IRANSans;src:url('/fonts/IRANSansWeb_FaNum_Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}
body{font-family:IRANSans,Vazirmatn,tahoma,sans-serif}
body h1{font-size:clamp(1.55rem,2.6vw,2.35rem)}body h2{font-size:1.12rem}body h3{font-size:.98rem}body h4{font-size:.93rem}body h5{font-size:.88rem}body h6{font-size:.84rem}
.home-page .home-copy h1{font-size:clamp(2rem,4vw,3.45rem)}.home-page .home-section-heading h2{font-size:1.65rem}.home-page .home-feature h3{font-size:.95rem}
.auth-page .auth-story h1{font-size:clamp(1.4rem,1.9vw,1.7rem)}.auth-page .auth-panel h2{font-size:1.45rem}
.doctor-panel .doctor-workspace .page-heading h1,body .shell>h1{font-size:clamp(1.35rem,1.8vw,1.75rem)}
.chat-page .doctor-identity h1{font-size:15px}.chat-page .login-card h2{font-size:18px}
.choice-grid .choice-card h2{font-size:1.1rem}.chat-page .chat-welcome h2{font-size:1.2rem}
@media(max-width:760px){.home-page .home-copy h1{font-size:clamp(1.75rem,7vw,2.45rem)}.home-page .home-section-heading h2{font-size:1.45rem}.auth-page .auth-story h1{font-size:1.2rem}.auth-page .auth-panel h2{font-size:1.3rem}.doctor-panel .doctor-workspace .page-heading h1,body .shell>h1{font-size:1.35rem}.chat-page .login-card h2{font-size:16px}}
